diff --git a/app.js b/app.js index fd08bdb..4d23c74 100644 --- a/app.js +++ b/app.js @@ -1,16735 +1 @@ -/* Generated by the Nim Compiler v2.0.2 */ -var framePtr = null; -var excHandler = 0; -var lastJSError = null; -var NTI1426070160 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426063905 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426063484 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI1426063485 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426071461 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426071236 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426071212 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426071205 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI754975002 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI721420297 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI805306404 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI805306405 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI754974826 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI754974825 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI754974728 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI754974815 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI754974811 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI754974818 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI754974817 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI754974723 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI754974816 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI754974813 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI721420295 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI721420296 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426067175 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426066550 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI134217753 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1459617826 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426068752 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1677721740 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426063959 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426064688 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426064612 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426064493 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI33555179 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI134217746 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1426065065 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1426065064 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1073741903 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1073741909 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI33554447 = {size: 0,kind: 36,base: null,node: null,finalizer: null}; -var NTI1426065073 = {size: 0, kind: 16, base: null, node: null, finalizer: null}; -var NTI922746949 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI134217742 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1426063439 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1728053251 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI33555150 = {size: 0,kind: 41,base: null,node: null,finalizer: null}; -var NTI1426063382 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426063380 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1426063376 = {size: 0, kind: 20, base: null, node: null, finalizer: null}; -var NTI1426063375 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI1426063374 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426063373 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426063372 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426063371 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426063364 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426063368 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426063367 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1459617857 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1459617821 = {size: 0, kind: 20, base: null, node: null, finalizer: null}; -var NTI33554439 = {size: 0,kind: 35,base: null,node: null,finalizer: null}; -var NTI1459617824 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI704643165 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643164 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643163 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643162 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643161 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643160 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643159 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643158 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643157 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643156 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643155 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643154 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643153 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643152 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643151 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643150 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643149 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643148 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643147 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643146 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643145 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643144 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643143 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643142 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643141 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643214 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643102 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643261 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643258 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI704643257 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI704643137 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643260 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI704643138 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643207 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643096 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643196 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643208 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643097 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643195 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643194 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643213 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643101 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643193 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643192 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643209 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643098 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643191 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643190 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643089 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643087 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI704643189 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643188 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643088 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643187 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643186 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643199 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643210 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643099 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643198 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643212 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI704643211 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643100 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI33554466 = {size: 0,kind: 1,base: null,node: null,finalizer: null}; -var NTI704643183 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643086 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI704643197 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI704643090 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI33555183 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1442840657 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI1442840649 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI1426063369 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI33554435 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI1426063365 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426063370 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI1426063366 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1694498889 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI1426063363 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI33554445 = {size: 0,kind: 36,base: null,node: null,finalizer: null}; -var NTI1677721603 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI872415638 = {size: 0, kind: 24, base: null, node: null, finalizer: null}; -var NTI134217745 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI134217749 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI134217751 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555173 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555181 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI33554449 = {size: 0,kind: 28,base: null,node: null,finalizer: null}; -var NTI33554450 = {size: 0,kind: 29,base: null,node: null,finalizer: null}; -var NTI33555180 = {size: 0, kind: 22, base: null, node: null, finalizer: null}; -var NTI33555177 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI33555178 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI134217741 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI134217743 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NNI134217743 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217743.node = NNI134217743; -var NNI134217741 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217741.node = NNI134217741; -var NNI33555178 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555178.node = NNI33555178; -NTI33555180.base = NTI33555177; -NTI33555181.base = NTI33555177; -var NNI33555177 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555180, name: "parent", sons: null}, -{kind: 1, offset: "name", len: 0, typ: NTI33554450, name: "name", sons: null}, -{kind: 1, offset: "message", len: 0, typ: NTI33554449, name: "msg", sons: null}, -{kind: 1, offset: "trace", len: 0, typ: NTI33554449, name: "trace", sons: null}, -{kind: 1, offset: "up", len: 0, typ: NTI33555181, name: "up", sons: null}]}; -NTI33555177.node = NNI33555177; -var NNI33555173 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555173.node = NNI33555173; -NTI33555177.base = NTI33555173; -NTI33555178.base = NTI33555177; -NTI134217741.base = NTI33555178; -NTI134217743.base = NTI134217741; -var NNI134217751 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217751.node = NNI134217751; -NTI134217751.base = NTI33555178; -var NNI134217749 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217749.node = NNI134217749; -NTI134217749.base = NTI33555178; -var NNI134217745 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217745.node = NNI134217745; -NTI134217745.base = NTI33555178; -NTI872415638.base = NTI33554449; -var NNI1677721603 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554445, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554445, name: "Field1", sons: null}]}; -NTI1677721603.node = NNI1677721603; -var NNI1426063363 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "angleDeg", len: 0, typ: NTI33554445, name: "angleDeg", sons: null}, -{kind: 1, offset: "angleRad", len: 0, typ: NTI33554445, name: "angleRad", sons: null}, -{kind: 1, offset: "speed", len: 0, typ: NTI33554445, name: "speed", sons: null}, -{kind: 1, offset: "height", len: 0, typ: NTI33554445, name: "height", sons: null}, -{kind: 1, offset: "vel", len: 0, typ: NTI1677721603, name: "vel", sons: null}, -{kind: 1, offset: "gravity", len: 0, typ: NTI1677721603, name: "gravity", sons: null}]}; -NTI1426063363.node = NNI1426063363; -var NNI1694498889 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554445, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554445, name: "Field1", sons: null}]}; -NTI1694498889.node = NNI1694498889; -var NNI1426063365 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "pos", len: 0, typ: NTI1677721603, name: "pos", sons: null}, -{kind: 1, offset: "vel", len: 0, typ: NTI1677721603, name: "vel", sons: null}, -{kind: 1, offset: "time", len: 0, typ: NTI33554445, name: "time", sons: null}, -{kind: 1, offset: "speed", len: 0, typ: NTI33554445, name: "speed", sons: null}]}; -NTI1426063365.node = NNI1426063365; -NTI1426063370.base = NTI1426063365; -var NNI1426063366 = {kind: 2, len: 7, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "state", len: 0, typ: NTI1426063363, name: "state", sons: null}, -{kind: 1, offset: "points", len: 0, typ: NTI1426063370, name: "points", sons: null}, -{kind: 1, offset: "highestPoint", len: 0, typ: NTI33554435, name: "highestPoint", sons: null}, -{kind: 1, offset: "closestPoint", len: 0, typ: NTI33554435, name: "closestPoint", sons: null}, -{kind: 1, offset: "extraPoint", len: 0, typ: NTI33554435, name: "extraPoint", sons: null}, -{kind: 1, offset: "pinnedPoint", len: 0, typ: NTI33554435, name: "pinnedPoint", sons: null}, -{kind: 1, offset: "color", len: 0, typ: NTI33554435, name: "color", sons: null}]}; -NTI1426063366.node = NNI1426063366; -var NNI1442840657 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI1442840657.node = NNI1442840657; -var NNI33555183 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555183.node = NNI33555183; -NTI33555183.base = NTI33555173; -NTI1442840657.base = NTI33555183; -NTI1442840649.base = NTI1442840657; -var NNI704643183 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI704643183.node = NNI704643183; -NTI704643183.base = NTI33555173; -NTI704643086.base = NTI704643183; -NTI704643212.base = NTI704643090; -var NNI704643211 = {kind: 2, len: 10, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "acceptCharset", len: 0, typ: NTI33554450, name: "acceptCharset", sons: null}, -{kind: 1, offset: "action", len: 0, typ: NTI33554450, name: "action", sons: null}, -{kind: 1, offset: "autocomplete", len: 0, typ: NTI33554450, name: "autocomplete", sons: null}, -{kind: 1, offset: "elements", len: 0, typ: NTI704643212, name: "elements", sons: null}, -{kind: 1, offset: "encoding", len: 0, typ: NTI33554450, name: "encoding", sons: null}, -{kind: 1, offset: "enctype", len: 0, typ: NTI33554450, name: "enctype", sons: null}, -{kind: 1, offset: "length", len: 0, typ: NTI33554435, name: "length", sons: null}, -{kind: 1, offset: "method", len: 0, typ: NTI33554450, name: "method", sons: null}, -{kind: 1, offset: "noValidate", len: 0, typ: NTI33554466, name: "noValidate", sons: null}, -{kind: 1, offset: "target", len: 0, typ: NTI33554450, name: "target", sons: null}]}; -NTI704643211.node = NNI704643211; -NTI704643211.base = NTI704643197; -NTI704643100.base = NTI704643211; -var NNI704643210 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "defaultSelected", len: 0, typ: NTI33554466, name: "defaultSelected", sons: null}, -{kind: 1, offset: "selected", len: 0, typ: NTI33554466, name: "selected", sons: null}, -{kind: 1, offset: "selectedIndex", len: 0, typ: NTI33554435, name: "selectedIndex", sons: null}, -{kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, -{kind: 1, offset: "value", len: 0, typ: NTI33554450, name: "value", sons: null}]}; -NTI704643210.node = NNI704643210; -NTI704643210.base = NTI704643197; -NTI704643099.base = NTI704643210; -NTI704643198.base = NTI704643099; -NTI704643199.base = NTI704643099; -var NNI704643197 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "className", len: 0, typ: NTI33554450, name: "className", sons: null}, -{kind: 1, offset: "classList", len: 0, typ: NTI704643086, name: "classList", sons: null}, -{kind: 1, offset: "checked", len: 0, typ: NTI33554466, name: "checked", sons: null}, -{kind: 1, offset: "defaultChecked", len: 0, typ: NTI33554466, name: "defaultChecked", sons: null}, -{kind: 1, offset: "defaultValue", len: 0, typ: NTI33554450, name: "defaultValue", sons: null}, -{kind: 1, offset: "disabled", len: 0, typ: NTI33554466, name: "disabled", sons: null}, -{kind: 1, offset: "form", len: 0, typ: NTI704643100, name: "form", sons: null}, -{kind: 1, offset: "name", len: 0, typ: NTI33554450, name: "name", sons: null}, -{kind: 1, offset: "readOnly", len: 0, typ: NTI33554466, name: "readOnly", sons: null}, -{kind: 1, offset: "options", len: 0, typ: NTI704643198, name: "options", sons: null}, -{kind: 1, offset: "selectedOptions", len: 0, typ: NTI704643199, name: "selectedOptions", sons: null}, -{kind: 1, offset: "clientWidth", len: 0, typ: NTI33554435, name: "clientWidth", sons: null}, -{kind: 1, offset: "clientHeight", len: 0, typ: NTI33554435, name: "clientHeight", sons: null}, -{kind: 1, offset: "contentEditable", len: 0, typ: NTI33554450, name: "contentEditable", sons: null}, -{kind: 1, offset: "isContentEditable", len: 0, typ: NTI33554466, name: "isContentEditable", sons: null}, -{kind: 1, offset: "dir", len: 0, typ: NTI33554450, name: "dir", sons: null}, -{kind: 1, offset: "offsetHeight", len: 0, typ: NTI33554435, name: "offsetHeight", sons: null}, -{kind: 1, offset: "offsetWidth", len: 0, typ: NTI33554435, name: "offsetWidth", sons: null}, -{kind: 1, offset: "offsetLeft", len: 0, typ: NTI33554435, name: "offsetLeft", sons: null}, -{kind: 1, offset: "offsetTop", len: 0, typ: NTI33554435, name: "offsetTop", sons: null}]}; -NTI704643197.node = NNI704643197; -NTI704643088.base = NTI704643186; -NTI704643187.base = NTI704643088; -NTI704643188.base = NTI704643088; -NTI704643189.base = NTI704643088; -var NNI704643087 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI704643087, name: "ElementNode", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI704643087, name: "AttributeNode", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI704643087, name: "TextNode", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI704643087, name: "CDATANode", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI704643087, name: "EntityRefNode", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI704643087, name: "EntityNode", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI704643087, name: "ProcessingInstructionNode", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI704643087, name: "CommentNode", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI704643087, name: "DocumentNode", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI704643087, name: "DocumentTypeNode", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI704643087, name: "DocumentFragmentNode", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI704643087, name: "NotationNode", len: 0, sons: null}}}; -NTI704643087.node = NNI704643087; -var NNI704643209 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, -{kind: 1, offset: "x", len: 0, typ: NTI33554435, name: "x", sons: null}, -{kind: 1, offset: "y", len: 0, typ: NTI33554435, name: "y", sons: null}]}; -NTI704643209.node = NNI704643209; -NTI704643209.base = NTI704643197; -NTI704643098.base = NTI704643209; -NTI704643191.base = NTI704643098; -NTI704643192.base = NTI704643100; -var NNI704643213 = {kind: 2, len: 8, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "border", len: 0, typ: NTI33554435, name: "border", sons: null}, -{kind: 1, offset: "complete", len: 0, typ: NTI33554466, name: "complete", sons: null}, -{kind: 1, offset: "height", len: 0, typ: NTI33554435, name: "height", sons: null}, -{kind: 1, offset: "hspace", len: 0, typ: NTI33554435, name: "hspace", sons: null}, -{kind: 1, offset: "lowsrc", len: 0, typ: NTI33554450, name: "lowsrc", sons: null}, -{kind: 1, offset: "src", len: 0, typ: NTI33554450, name: "src", sons: null}, -{kind: 1, offset: "vspace", len: 0, typ: NTI33554435, name: "vspace", sons: null}, -{kind: 1, offset: "width", len: 0, typ: NTI33554435, name: "width", sons: null}]}; -NTI704643213.node = NNI704643213; -NTI704643213.base = NTI704643197; -NTI704643101.base = NTI704643213; -NTI704643193.base = NTI704643101; -NTI704643194.base = NTI704643090; -var NNI704643208 = {kind: 2, len: 6, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "height", len: 0, typ: NTI33554435, name: "height", sons: null}, -{kind: 1, offset: "hspace", len: 0, typ: NTI33554435, name: "hspace", sons: null}, -{kind: 1, offset: "src", len: 0, typ: NTI33554450, name: "src", sons: null}, -{kind: 1, offset: "width", len: 0, typ: NTI33554435, name: "width", sons: null}, -{kind: 1, offset: "type", len: 0, typ: NTI33554450, name: "type", sons: null}, -{kind: 1, offset: "vspace", len: 0, typ: NTI33554435, name: "vspace", sons: null}]}; -NTI704643208.node = NNI704643208; -NTI704643208.base = NTI704643197; -NTI704643097.base = NTI704643208; -NTI704643195.base = NTI704643097; -var NNI704643207 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "target", len: 0, typ: NTI33554450, name: "target", sons: null}, -{kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, -{kind: 1, offset: "x", len: 0, typ: NTI33554435, name: "x", sons: null}, -{kind: 1, offset: "y", len: 0, typ: NTI33554435, name: "y", sons: null}]}; -NTI704643207.node = NNI704643207; -NTI704643207.base = NTI704643197; -NTI704643096.base = NTI704643207; -NTI704643196.base = NTI704643096; -var NNI704643257 = {kind: 1, offset: "then", len: 0, typ: NTI704643258, name: "then", sons: null}; -NTI704643257.node = NNI704643257; -NTI704643137.base = NTI704643257; -var NNI704643260 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "ready", len: 0, typ: NTI704643137, name: "ready", sons: null}, -{kind: 1, offset: "onloadingdone", len: 0, typ: NTI704643261, name: "onloadingdone", sons: null}]}; -NTI704643260.node = NNI704643260; -NTI704643138.base = NTI704643260; -var NNI704643190 = {kind: 2, len: 25, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "activeElement", len: 0, typ: NTI704643090, name: "activeElement", sons: null}, -{kind: 1, offset: "documentElement", len: 0, typ: NTI704643090, name: "documentElement", sons: null}, -{kind: 1, offset: "alinkColor", len: 0, typ: NTI33554450, name: "alinkColor", sons: null}, -{kind: 1, offset: "bgColor", len: 0, typ: NTI33554450, name: "bgColor", sons: null}, -{kind: 1, offset: "body", len: 0, typ: NTI704643090, name: "body", sons: null}, -{kind: 1, offset: "charset", len: 0, typ: NTI33554450, name: "charset", sons: null}, -{kind: 1, offset: "cookie", len: 0, typ: NTI33554450, name: "cookie", sons: null}, -{kind: 1, offset: "defaultCharset", len: 0, typ: NTI33554450, name: "defaultCharset", sons: null}, -{kind: 1, offset: "fgColor", len: 0, typ: NTI33554450, name: "fgColor", sons: null}, -{kind: 1, offset: "head", len: 0, typ: NTI704643090, name: "head", sons: null}, -{kind: 1, offset: "hidden", len: 0, typ: NTI33554466, name: "hidden", sons: null}, -{kind: 1, offset: "lastModified", len: 0, typ: NTI33554450, name: "lastModified", sons: null}, -{kind: 1, offset: "linkColor", len: 0, typ: NTI33554450, name: "linkColor", sons: null}, -{kind: 1, offset: "referrer", len: 0, typ: NTI33554450, name: "referrer", sons: null}, -{kind: 1, offset: "title", len: 0, typ: NTI33554450, name: "title", sons: null}, -{kind: 1, offset: "URL", len: 0, typ: NTI33554450, name: "URL", sons: null}, -{kind: 1, offset: "visibilityState", len: 0, typ: NTI33554450, name: "visibilityState", sons: null}, -{kind: 1, offset: "vlinkColor", len: 0, typ: NTI33554450, name: "vlinkColor", sons: null}, -{kind: 1, offset: "anchors", len: 0, typ: NTI704643191, name: "anchors", sons: null}, -{kind: 1, offset: "forms", len: 0, typ: NTI704643192, name: "forms", sons: null}, -{kind: 1, offset: "images", len: 0, typ: NTI704643193, name: "images", sons: null}, -{kind: 1, offset: "applets", len: 0, typ: NTI704643194, name: "applets", sons: null}, -{kind: 1, offset: "embeds", len: 0, typ: NTI704643195, name: "embeds", sons: null}, -{kind: 1, offset: "links", len: 0, typ: NTI704643196, name: "links", sons: null}, -{kind: 1, offset: "fonts", len: 0, typ: NTI704643138, name: "fonts", sons: null}]}; -NTI704643190.node = NNI704643190; -NTI704643190.base = NTI704643186; -NTI704643089.base = NTI704643190; -var NNI704643214 = {kind: 2, len: 368, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "alignContent", len: 0, typ: NTI33554450, name: "alignContent", sons: null}, -{kind: 1, offset: "alignItems", len: 0, typ: NTI33554450, name: "alignItems", sons: null}, -{kind: 1, offset: "alignSelf", len: 0, typ: NTI33554450, name: "alignSelf", sons: null}, -{kind: 1, offset: "all", len: 0, typ: NTI33554450, name: "all", sons: null}, -{kind: 1, offset: "animation", len: 0, typ: NTI33554450, name: "animation", sons: null}, -{kind: 1, offset: "animationDelay", len: 0, typ: NTI33554450, name: "animationDelay", sons: null}, -{kind: 1, offset: "animationDirection", len: 0, typ: NTI33554450, name: "animationDirection", sons: null}, -{kind: 1, offset: "animationDuration", len: 0, typ: NTI33554450, name: "animationDuration", sons: null}, -{kind: 1, offset: "animationFillMode", len: 0, typ: NTI33554450, name: "animationFillMode", sons: null}, -{kind: 1, offset: "animationIterationCount", len: 0, typ: NTI33554450, name: "animationIterationCount", sons: null}, -{kind: 1, offset: "animationName", len: 0, typ: NTI33554450, name: "animationName", sons: null}, -{kind: 1, offset: "animationPlayState", len: 0, typ: NTI33554450, name: "animationPlayState", sons: null}, -{kind: 1, offset: "animationTimingFunction", len: 0, typ: NTI33554450, name: "animationTimingFunction", sons: null}, -{kind: 1, offset: "backdropFilter", len: 0, typ: NTI33554450, name: "backdropFilter", sons: null}, -{kind: 1, offset: "backfaceVisibility", len: 0, typ: NTI33554450, name: "backfaceVisibility", sons: null}, -{kind: 1, offset: "background", len: 0, typ: NTI33554450, name: "background", sons: null}, -{kind: 1, offset: "backgroundAttachment", len: 0, typ: NTI33554450, name: "backgroundAttachment", sons: null}, -{kind: 1, offset: "backgroundBlendMode", len: 0, typ: NTI33554450, name: "backgroundBlendMode", sons: null}, -{kind: 1, offset: "backgroundClip", len: 0, typ: NTI33554450, name: "backgroundClip", sons: null}, -{kind: 1, offset: "backgroundColor", len: 0, typ: NTI33554450, name: "backgroundColor", sons: null}, -{kind: 1, offset: "backgroundImage", len: 0, typ: NTI33554450, name: "backgroundImage", sons: null}, -{kind: 1, offset: "backgroundOrigin", len: 0, typ: NTI33554450, name: "backgroundOrigin", sons: null}, -{kind: 1, offset: "backgroundPosition", len: 0, typ: NTI33554450, name: "backgroundPosition", sons: null}, -{kind: 1, offset: "backgroundRepeat", len: 0, typ: NTI33554450, name: "backgroundRepeat", sons: null}, -{kind: 1, offset: "backgroundSize", len: 0, typ: NTI33554450, name: "backgroundSize", sons: null}, -{kind: 1, offset: "blockSize", len: 0, typ: NTI33554450, name: "blockSize", sons: null}, -{kind: 1, offset: "border", len: 0, typ: NTI33554450, name: "border", sons: null}, -{kind: 1, offset: "borderBlock", len: 0, typ: NTI33554450, name: "borderBlock", sons: null}, -{kind: 1, offset: "borderBlockColor", len: 0, typ: NTI33554450, name: "borderBlockColor", sons: null}, -{kind: 1, offset: "borderBlockEnd", len: 0, typ: NTI33554450, name: "borderBlockEnd", sons: null}, -{kind: 1, offset: "borderBlockEndColor", len: 0, typ: NTI33554450, name: "borderBlockEndColor", sons: null}, -{kind: 1, offset: "borderBlockEndStyle", len: 0, typ: NTI33554450, name: "borderBlockEndStyle", sons: null}, -{kind: 1, offset: "borderBlockEndWidth", len: 0, typ: NTI33554450, name: "borderBlockEndWidth", sons: null}, -{kind: 1, offset: "borderBlockStart", len: 0, typ: NTI33554450, name: "borderBlockStart", sons: null}, -{kind: 1, offset: "borderBlockStartColor", len: 0, typ: NTI33554450, name: "borderBlockStartColor", sons: null}, -{kind: 1, offset: "borderBlockStartStyle", len: 0, typ: NTI33554450, name: "borderBlockStartStyle", sons: null}, -{kind: 1, offset: "borderBlockStartWidth", len: 0, typ: NTI33554450, name: "borderBlockStartWidth", sons: null}, -{kind: 1, offset: "borderBlockStyle", len: 0, typ: NTI33554450, name: "borderBlockStyle", sons: null}, -{kind: 1, offset: "borderBlockWidth", len: 0, typ: NTI33554450, name: "borderBlockWidth", sons: null}, -{kind: 1, offset: "borderBottom", len: 0, typ: NTI33554450, name: "borderBottom", sons: null}, -{kind: 1, offset: "borderBottomColor", len: 0, typ: NTI33554450, name: "borderBottomColor", sons: null}, -{kind: 1, offset: "borderBottomLeftRadius", len: 0, typ: NTI33554450, name: "borderBottomLeftRadius", sons: null}, -{kind: 1, offset: "borderBottomRightRadius", len: 0, typ: NTI33554450, name: "borderBottomRightRadius", sons: null}, -{kind: 1, offset: "borderBottomStyle", len: 0, typ: NTI33554450, name: "borderBottomStyle", sons: null}, -{kind: 1, offset: "borderBottomWidth", len: 0, typ: NTI33554450, name: "borderBottomWidth", sons: null}, -{kind: 1, offset: "borderCollapse", len: 0, typ: NTI33554450, name: "borderCollapse", sons: null}, -{kind: 1, offset: "borderColor", len: 0, typ: NTI33554450, name: "borderColor", sons: null}, -{kind: 1, offset: "borderEndEndRadius", len: 0, typ: NTI33554450, name: "borderEndEndRadius", sons: null}, -{kind: 1, offset: "borderEndStartRadius", len: 0, typ: NTI33554450, name: "borderEndStartRadius", sons: null}, -{kind: 1, offset: "borderImage", len: 0, typ: NTI33554450, name: "borderImage", sons: null}, -{kind: 1, offset: "borderImageOutset", len: 0, typ: NTI33554450, name: "borderImageOutset", sons: null}, -{kind: 1, offset: "borderImageRepeat", len: 0, typ: NTI33554450, name: "borderImageRepeat", sons: null}, -{kind: 1, offset: "borderImageSlice", len: 0, typ: NTI33554450, name: "borderImageSlice", sons: null}, -{kind: 1, offset: "borderImageSource", len: 0, typ: NTI33554450, name: "borderImageSource", sons: null}, -{kind: 1, offset: "borderImageWidth", len: 0, typ: NTI33554450, name: "borderImageWidth", sons: null}, -{kind: 1, offset: "borderInline", len: 0, typ: NTI33554450, name: "borderInline", sons: null}, -{kind: 1, offset: "borderInlineColor", len: 0, typ: NTI33554450, name: "borderInlineColor", sons: null}, -{kind: 1, offset: "borderInlineEnd", len: 0, typ: NTI33554450, name: "borderInlineEnd", sons: null}, -{kind: 1, offset: "borderInlineEndColor", len: 0, typ: NTI33554450, name: "borderInlineEndColor", sons: null}, -{kind: 1, offset: "borderInlineEndStyle", len: 0, typ: NTI33554450, name: "borderInlineEndStyle", sons: null}, -{kind: 1, offset: "borderInlineEndWidth", len: 0, typ: NTI33554450, name: "borderInlineEndWidth", sons: null}, -{kind: 1, offset: "borderInlineStart", len: 0, typ: NTI33554450, name: "borderInlineStart", sons: null}, -{kind: 1, offset: "borderInlineStartColor", len: 0, typ: NTI33554450, name: "borderInlineStartColor", sons: null}, -{kind: 1, offset: "borderInlineStartStyle", len: 0, typ: NTI33554450, name: "borderInlineStartStyle", sons: null}, -{kind: 1, offset: "borderInlineStartWidth", len: 0, typ: NTI33554450, name: "borderInlineStartWidth", sons: null}, -{kind: 1, offset: "borderInlineStyle", len: 0, typ: NTI33554450, name: "borderInlineStyle", sons: null}, -{kind: 1, offset: "borderInlineWidth", len: 0, typ: NTI33554450, name: "borderInlineWidth", sons: null}, -{kind: 1, offset: "borderLeft", len: 0, typ: NTI33554450, name: "borderLeft", sons: null}, -{kind: 1, offset: "borderLeftColor", len: 0, typ: NTI33554450, name: "borderLeftColor", sons: null}, -{kind: 1, offset: "borderLeftStyle", len: 0, typ: NTI33554450, name: "borderLeftStyle", sons: null}, -{kind: 1, offset: "borderLeftWidth", len: 0, typ: NTI33554450, name: "borderLeftWidth", sons: null}, -{kind: 1, offset: "borderRadius", len: 0, typ: NTI33554450, name: "borderRadius", sons: null}, -{kind: 1, offset: "borderRight", len: 0, typ: NTI33554450, name: "borderRight", sons: null}, -{kind: 1, offset: "borderRightColor", len: 0, typ: NTI33554450, name: "borderRightColor", sons: null}, -{kind: 1, offset: "borderRightStyle", len: 0, typ: NTI33554450, name: "borderRightStyle", sons: null}, -{kind: 1, offset: "borderRightWidth", len: 0, typ: NTI33554450, name: "borderRightWidth", sons: null}, -{kind: 1, offset: "borderSpacing", len: 0, typ: NTI33554450, name: "borderSpacing", sons: null}, -{kind: 1, offset: "borderStartEndRadius", len: 0, typ: NTI33554450, name: "borderStartEndRadius", sons: null}, -{kind: 1, offset: "borderStartStartRadius", len: 0, typ: NTI33554450, name: "borderStartStartRadius", sons: null}, -{kind: 1, offset: "borderStyle", len: 0, typ: NTI33554450, name: "borderStyle", sons: null}, -{kind: 1, offset: "borderTop", len: 0, typ: NTI33554450, name: "borderTop", sons: null}, -{kind: 1, offset: "borderTopColor", len: 0, typ: NTI33554450, name: "borderTopColor", sons: null}, -{kind: 1, offset: "borderTopLeftRadius", len: 0, typ: NTI33554450, name: "borderTopLeftRadius", sons: null}, -{kind: 1, offset: "borderTopRightRadius", len: 0, typ: NTI33554450, name: "borderTopRightRadius", sons: null}, -{kind: 1, offset: "borderTopStyle", len: 0, typ: NTI33554450, name: "borderTopStyle", sons: null}, -{kind: 1, offset: "borderTopWidth", len: 0, typ: NTI33554450, name: "borderTopWidth", sons: null}, -{kind: 1, offset: "borderWidth", len: 0, typ: NTI33554450, name: "borderWidth", sons: null}, -{kind: 1, offset: "bottom", len: 0, typ: NTI33554450, name: "bottom", sons: null}, -{kind: 1, offset: "boxDecorationBreak", len: 0, typ: NTI33554450, name: "boxDecorationBreak", sons: null}, -{kind: 1, offset: "boxShadow", len: 0, typ: NTI33554450, name: "boxShadow", sons: null}, -{kind: 1, offset: "boxSizing", len: 0, typ: NTI33554450, name: "boxSizing", sons: null}, -{kind: 1, offset: "breakAfter", len: 0, typ: NTI33554450, name: "breakAfter", sons: null}, -{kind: 1, offset: "breakBefore", len: 0, typ: NTI33554450, name: "breakBefore", sons: null}, -{kind: 1, offset: "breakInside", len: 0, typ: NTI33554450, name: "breakInside", sons: null}, -{kind: 1, offset: "captionSide", len: 0, typ: NTI33554450, name: "captionSide", sons: null}, -{kind: 1, offset: "caretColor", len: 0, typ: NTI33554450, name: "caretColor", sons: null}, -{kind: 1, offset: "clear", len: 0, typ: NTI33554450, name: "clear", sons: null}, -{kind: 1, offset: "clip", len: 0, typ: NTI33554450, name: "clip", sons: null}, -{kind: 1, offset: "clipPath", len: 0, typ: NTI33554450, name: "clipPath", sons: null}, -{kind: 1, offset: "color", len: 0, typ: NTI33554450, name: "color", sons: null}, -{kind: 1, offset: "colorAdjust", len: 0, typ: NTI33554450, name: "colorAdjust", sons: null}, -{kind: 1, offset: "columnCount", len: 0, typ: NTI33554450, name: "columnCount", sons: null}, -{kind: 1, offset: "columnFill", len: 0, typ: NTI33554450, name: "columnFill", sons: null}, -{kind: 1, offset: "columnGap", len: 0, typ: NTI33554450, name: "columnGap", sons: null}, -{kind: 1, offset: "columnRule", len: 0, typ: NTI33554450, name: "columnRule", sons: null}, -{kind: 1, offset: "columnRuleColor", len: 0, typ: NTI33554450, name: "columnRuleColor", sons: null}, -{kind: 1, offset: "columnRuleStyle", len: 0, typ: NTI33554450, name: "columnRuleStyle", sons: null}, -{kind: 1, offset: "columnRuleWidth", len: 0, typ: NTI33554450, name: "columnRuleWidth", sons: null}, -{kind: 1, offset: "columnSpan", len: 0, typ: NTI33554450, name: "columnSpan", sons: null}, -{kind: 1, offset: "columnWidth", len: 0, typ: NTI33554450, name: "columnWidth", sons: null}, -{kind: 1, offset: "columns", len: 0, typ: NTI33554450, name: "columns", sons: null}, -{kind: 1, offset: "contain", len: 0, typ: NTI33554450, name: "contain", sons: null}, -{kind: 1, offset: "content", len: 0, typ: NTI33554450, name: "content", sons: null}, -{kind: 1, offset: "counterIncrement", len: 0, typ: NTI33554450, name: "counterIncrement", sons: null}, -{kind: 1, offset: "counterReset", len: 0, typ: NTI33554450, name: "counterReset", sons: null}, -{kind: 1, offset: "counterSet", len: 0, typ: NTI33554450, name: "counterSet", sons: null}, -{kind: 1, offset: "cursor", len: 0, typ: NTI33554450, name: "cursor", sons: null}, -{kind: 1, offset: "direction", len: 0, typ: NTI33554450, name: "direction", sons: null}, -{kind: 1, offset: "display", len: 0, typ: NTI33554450, name: "display", sons: null}, -{kind: 1, offset: "emptyCells", len: 0, typ: NTI33554450, name: "emptyCells", sons: null}, -{kind: 1, offset: "filter", len: 0, typ: NTI33554450, name: "filter", sons: null}, -{kind: 1, offset: "flex", len: 0, typ: NTI33554450, name: "flex", sons: null}, -{kind: 1, offset: "flexBasis", len: 0, typ: NTI33554450, name: "flexBasis", sons: null}, -{kind: 1, offset: "flexDirection", len: 0, typ: NTI33554450, name: "flexDirection", sons: null}, -{kind: 1, offset: "flexFlow", len: 0, typ: NTI33554450, name: "flexFlow", sons: null}, -{kind: 1, offset: "flexGrow", len: 0, typ: NTI33554450, name: "flexGrow", sons: null}, -{kind: 1, offset: "flexShrink", len: 0, typ: NTI33554450, name: "flexShrink", sons: null}, -{kind: 1, offset: "flexWrap", len: 0, typ: NTI33554450, name: "flexWrap", sons: null}, -{kind: 1, offset: "cssFloat", len: 0, typ: NTI33554450, name: "cssFloat", sons: null}, -{kind: 1, offset: "font", len: 0, typ: NTI33554450, name: "font", sons: null}, -{kind: 1, offset: "fontFamily", len: 0, typ: NTI33554450, name: "fontFamily", sons: null}, -{kind: 1, offset: "fontFeatureSettings", len: 0, typ: NTI33554450, name: "fontFeatureSettings", sons: null}, -{kind: 1, offset: "fontKerning", len: 0, typ: NTI33554450, name: "fontKerning", sons: null}, -{kind: 1, offset: "fontLanguageOverride", len: 0, typ: NTI33554450, name: "fontLanguageOverride", sons: null}, -{kind: 1, offset: "fontOpticalSizing", len: 0, typ: NTI33554450, name: "fontOpticalSizing", sons: null}, -{kind: 1, offset: "fontSize", len: 0, typ: NTI33554450, name: "fontSize", sons: null}, -{kind: 1, offset: "fontSizeAdjust", len: 0, typ: NTI33554450, name: "fontSizeAdjust", sons: null}, -{kind: 1, offset: "fontStretch", len: 0, typ: NTI33554450, name: "fontStretch", sons: null}, -{kind: 1, offset: "fontStyle", len: 0, typ: NTI33554450, name: "fontStyle", sons: null}, -{kind: 1, offset: "fontSynthesis", len: 0, typ: NTI33554450, name: "fontSynthesis", sons: null}, -{kind: 1, offset: "fontVariant", len: 0, typ: NTI33554450, name: "fontVariant", sons: null}, -{kind: 1, offset: "fontVariantAlternates", len: 0, typ: NTI33554450, name: "fontVariantAlternates", sons: null}, -{kind: 1, offset: "fontVariantCaps", len: 0, typ: NTI33554450, name: "fontVariantCaps", sons: null}, -{kind: 1, offset: "fontVariantEastAsian", len: 0, typ: NTI33554450, name: "fontVariantEastAsian", sons: null}, -{kind: 1, offset: "fontVariantLigatures", len: 0, typ: NTI33554450, name: "fontVariantLigatures", sons: null}, -{kind: 1, offset: "fontVariantNumeric", len: 0, typ: NTI33554450, name: "fontVariantNumeric", sons: null}, -{kind: 1, offset: "fontVariantPosition", len: 0, typ: NTI33554450, name: "fontVariantPosition", sons: null}, -{kind: 1, offset: "fontVariationSettings", len: 0, typ: NTI33554450, name: "fontVariationSettings", sons: null}, -{kind: 1, offset: "fontWeight", len: 0, typ: NTI33554450, name: "fontWeight", sons: null}, -{kind: 1, offset: "gap", len: 0, typ: NTI33554450, name: "gap", sons: null}, -{kind: 1, offset: "grid", len: 0, typ: NTI33554450, name: "grid", sons: null}, -{kind: 1, offset: "gridArea", len: 0, typ: NTI33554450, name: "gridArea", sons: null}, -{kind: 1, offset: "gridAutoColumns", len: 0, typ: NTI33554450, name: "gridAutoColumns", sons: null}, -{kind: 1, offset: "gridAutoFlow", len: 0, typ: NTI33554450, name: "gridAutoFlow", sons: null}, -{kind: 1, offset: "gridAutoRows", len: 0, typ: NTI33554450, name: "gridAutoRows", sons: null}, -{kind: 1, offset: "gridColumn", len: 0, typ: NTI33554450, name: "gridColumn", sons: null}, -{kind: 1, offset: "gridColumnEnd", len: 0, typ: NTI33554450, name: "gridColumnEnd", sons: null}, -{kind: 1, offset: "gridColumnStart", len: 0, typ: NTI33554450, name: "gridColumnStart", sons: null}, -{kind: 1, offset: "gridRow", len: 0, typ: NTI33554450, name: "gridRow", sons: null}, -{kind: 1, offset: "gridRowEnd", len: 0, typ: NTI33554450, name: "gridRowEnd", sons: null}, -{kind: 1, offset: "gridRowStart", len: 0, typ: NTI33554450, name: "gridRowStart", sons: null}, -{kind: 1, offset: "gridTemplate", len: 0, typ: NTI33554450, name: "gridTemplate", sons: null}, -{kind: 1, offset: "gridTemplateAreas", len: 0, typ: NTI33554450, name: "gridTemplateAreas", sons: null}, -{kind: 1, offset: "gridTemplateColumns", len: 0, typ: NTI33554450, name: "gridTemplateColumns", sons: null}, -{kind: 1, offset: "gridTemplateRows", len: 0, typ: NTI33554450, name: "gridTemplateRows", sons: null}, -{kind: 1, offset: "hangingPunctuation", len: 0, typ: NTI33554450, name: "hangingPunctuation", sons: null}, -{kind: 1, offset: "height", len: 0, typ: NTI33554450, name: "height", sons: null}, -{kind: 1, offset: "hyphens", len: 0, typ: NTI33554450, name: "hyphens", sons: null}, -{kind: 1, offset: "imageOrientation", len: 0, typ: NTI33554450, name: "imageOrientation", sons: null}, -{kind: 1, offset: "imageRendering", len: 0, typ: NTI33554450, name: "imageRendering", sons: null}, -{kind: 1, offset: "inlineSize", len: 0, typ: NTI33554450, name: "inlineSize", sons: null}, -{kind: 1, offset: "inset", len: 0, typ: NTI33554450, name: "inset", sons: null}, -{kind: 1, offset: "insetBlock", len: 0, typ: NTI33554450, name: "insetBlock", sons: null}, -{kind: 1, offset: "insetBlockEnd", len: 0, typ: NTI33554450, name: "insetBlockEnd", sons: null}, -{kind: 1, offset: "insetBlockStart", len: 0, typ: NTI33554450, name: "insetBlockStart", sons: null}, -{kind: 1, offset: "insetInline", len: 0, typ: NTI33554450, name: "insetInline", sons: null}, -{kind: 1, offset: "insetInlineEnd", len: 0, typ: NTI33554450, name: "insetInlineEnd", sons: null}, -{kind: 1, offset: "insetInlineStart", len: 0, typ: NTI33554450, name: "insetInlineStart", sons: null}, -{kind: 1, offset: "isolation", len: 0, typ: NTI33554450, name: "isolation", sons: null}, -{kind: 1, offset: "justifyContent", len: 0, typ: NTI33554450, name: "justifyContent", sons: null}, -{kind: 1, offset: "justifyItems", len: 0, typ: NTI33554450, name: "justifyItems", sons: null}, -{kind: 1, offset: "justifySelf", len: 0, typ: NTI33554450, name: "justifySelf", sons: null}, -{kind: 1, offset: "left", len: 0, typ: NTI33554450, name: "left", sons: null}, -{kind: 1, offset: "letterSpacing", len: 0, typ: NTI33554450, name: "letterSpacing", sons: null}, -{kind: 1, offset: "lineBreak", len: 0, typ: NTI33554450, name: "lineBreak", sons: null}, -{kind: 1, offset: "lineHeight", len: 0, typ: NTI33554450, name: "lineHeight", sons: null}, -{kind: 1, offset: "listStyle", len: 0, typ: NTI33554450, name: "listStyle", sons: null}, -{kind: 1, offset: "listStyleImage", len: 0, typ: NTI33554450, name: "listStyleImage", sons: null}, -{kind: 1, offset: "listStylePosition", len: 0, typ: NTI33554450, name: "listStylePosition", sons: null}, -{kind: 1, offset: "listStyleType", len: 0, typ: NTI33554450, name: "listStyleType", sons: null}, -{kind: 1, offset: "margin", len: 0, typ: NTI33554450, name: "margin", sons: null}, -{kind: 1, offset: "marginBlock", len: 0, typ: NTI33554450, name: "marginBlock", sons: null}, -{kind: 1, offset: "marginBlockEnd", len: 0, typ: NTI33554450, name: "marginBlockEnd", sons: null}, -{kind: 1, offset: "marginBlockStart", len: 0, typ: NTI33554450, name: "marginBlockStart", sons: null}, -{kind: 1, offset: "marginBottom", len: 0, typ: NTI33554450, name: "marginBottom", sons: null}, -{kind: 1, offset: "marginInline", len: 0, typ: NTI33554450, name: "marginInline", sons: null}, -{kind: 1, offset: "marginInlineEnd", len: 0, typ: NTI33554450, name: "marginInlineEnd", sons: null}, -{kind: 1, offset: "marginInlineStart", len: 0, typ: NTI33554450, name: "marginInlineStart", sons: null}, -{kind: 1, offset: "marginLeft", len: 0, typ: NTI33554450, name: "marginLeft", sons: null}, -{kind: 1, offset: "marginRight", len: 0, typ: NTI33554450, name: "marginRight", sons: null}, -{kind: 1, offset: "marginTop", len: 0, typ: NTI33554450, name: "marginTop", sons: null}, -{kind: 1, offset: "mask", len: 0, typ: NTI33554450, name: "mask", sons: null}, -{kind: 1, offset: "maskBorder", len: 0, typ: NTI33554450, name: "maskBorder", sons: null}, -{kind: 1, offset: "maskBorderMode", len: 0, typ: NTI33554450, name: "maskBorderMode", sons: null}, -{kind: 1, offset: "maskBorderOutset", len: 0, typ: NTI33554450, name: "maskBorderOutset", sons: null}, -{kind: 1, offset: "maskBorderRepeat", len: 0, typ: NTI33554450, name: "maskBorderRepeat", sons: null}, -{kind: 1, offset: "maskBorderSlice", len: 0, typ: NTI33554450, name: "maskBorderSlice", sons: null}, -{kind: 1, offset: "maskBorderSource", len: 0, typ: NTI33554450, name: "maskBorderSource", sons: null}, -{kind: 1, offset: "maskBorderWidth", len: 0, typ: NTI33554450, name: "maskBorderWidth", sons: null}, -{kind: 1, offset: "maskClip", len: 0, typ: NTI33554450, name: "maskClip", sons: null}, -{kind: 1, offset: "maskComposite", len: 0, typ: NTI33554450, name: "maskComposite", sons: null}, -{kind: 1, offset: "maskImage", len: 0, typ: NTI33554450, name: "maskImage", sons: null}, -{kind: 1, offset: "maskMode", len: 0, typ: NTI33554450, name: "maskMode", sons: null}, -{kind: 1, offset: "maskOrigin", len: 0, typ: NTI33554450, name: "maskOrigin", sons: null}, -{kind: 1, offset: "maskPosition", len: 0, typ: NTI33554450, name: "maskPosition", sons: null}, -{kind: 1, offset: "maskRepeat", len: 0, typ: NTI33554450, name: "maskRepeat", sons: null}, -{kind: 1, offset: "maskSize", len: 0, typ: NTI33554450, name: "maskSize", sons: null}, -{kind: 1, offset: "maskType", len: 0, typ: NTI33554450, name: "maskType", sons: null}, -{kind: 1, offset: "maxBlockSize", len: 0, typ: NTI33554450, name: "maxBlockSize", sons: null}, -{kind: 1, offset: "maxHeight", len: 0, typ: NTI33554450, name: "maxHeight", sons: null}, -{kind: 1, offset: "maxInlineSize", len: 0, typ: NTI33554450, name: "maxInlineSize", sons: null}, -{kind: 1, offset: "maxWidth", len: 0, typ: NTI33554450, name: "maxWidth", sons: null}, -{kind: 1, offset: "minBlockSize", len: 0, typ: NTI33554450, name: "minBlockSize", sons: null}, -{kind: 1, offset: "minHeight", len: 0, typ: NTI33554450, name: "minHeight", sons: null}, -{kind: 1, offset: "minInlineSize", len: 0, typ: NTI33554450, name: "minInlineSize", sons: null}, -{kind: 1, offset: "minWidth", len: 0, typ: NTI33554450, name: "minWidth", sons: null}, -{kind: 1, offset: "mixBlendMode", len: 0, typ: NTI33554450, name: "mixBlendMode", sons: null}, -{kind: 1, offset: "objectFit", len: 0, typ: NTI33554450, name: "objectFit", sons: null}, -{kind: 1, offset: "objectPosition", len: 0, typ: NTI33554450, name: "objectPosition", sons: null}, -{kind: 1, offset: "offset", len: 0, typ: NTI33554450, name: "offset", sons: null}, -{kind: 1, offset: "offsetAnchor", len: 0, typ: NTI33554450, name: "offsetAnchor", sons: null}, -{kind: 1, offset: "offsetDistance", len: 0, typ: NTI33554450, name: "offsetDistance", sons: null}, -{kind: 1, offset: "offsetPath", len: 0, typ: NTI33554450, name: "offsetPath", sons: null}, -{kind: 1, offset: "offsetRotate", len: 0, typ: NTI33554450, name: "offsetRotate", sons: null}, -{kind: 1, offset: "opacity", len: 0, typ: NTI33554450, name: "opacity", sons: null}, -{kind: 1, offset: "order", len: 0, typ: NTI33554450, name: "order", sons: null}, -{kind: 1, offset: "orphans", len: 0, typ: NTI33554450, name: "orphans", sons: null}, -{kind: 1, offset: "outline", len: 0, typ: NTI33554450, name: "outline", sons: null}, -{kind: 1, offset: "outlineColor", len: 0, typ: NTI33554450, name: "outlineColor", sons: null}, -{kind: 1, offset: "outlineOffset", len: 0, typ: NTI33554450, name: "outlineOffset", sons: null}, -{kind: 1, offset: "outlineStyle", len: 0, typ: NTI33554450, name: "outlineStyle", sons: null}, -{kind: 1, offset: "outlineWidth", len: 0, typ: NTI33554450, name: "outlineWidth", sons: null}, -{kind: 1, offset: "overflow", len: 0, typ: NTI33554450, name: "overflow", sons: null}, -{kind: 1, offset: "overflowAnchor", len: 0, typ: NTI33554450, name: "overflowAnchor", sons: null}, -{kind: 1, offset: "overflowBlock", len: 0, typ: NTI33554450, name: "overflowBlock", sons: null}, -{kind: 1, offset: "overflowInline", len: 0, typ: NTI33554450, name: "overflowInline", sons: null}, -{kind: 1, offset: "overflowWrap", len: 0, typ: NTI33554450, name: "overflowWrap", sons: null}, -{kind: 1, offset: "overflowX", len: 0, typ: NTI33554450, name: "overflowX", sons: null}, -{kind: 1, offset: "overflowY", len: 0, typ: NTI33554450, name: "overflowY", sons: null}, -{kind: 1, offset: "overscrollBehavior", len: 0, typ: NTI33554450, name: "overscrollBehavior", sons: null}, -{kind: 1, offset: "overscrollBehaviorBlock", len: 0, typ: NTI33554450, name: "overscrollBehaviorBlock", sons: null}, -{kind: 1, offset: "overscrollBehaviorInline", len: 0, typ: NTI33554450, name: "overscrollBehaviorInline", sons: null}, -{kind: 1, offset: "overscrollBehaviorX", len: 0, typ: NTI33554450, name: "overscrollBehaviorX", sons: null}, -{kind: 1, offset: "overscrollBehaviorY", len: 0, typ: NTI33554450, name: "overscrollBehaviorY", sons: null}, -{kind: 1, offset: "padding", len: 0, typ: NTI33554450, name: "padding", sons: null}, -{kind: 1, offset: "paddingBlock", len: 0, typ: NTI33554450, name: "paddingBlock", sons: null}, -{kind: 1, offset: "paddingBlockEnd", len: 0, typ: NTI33554450, name: "paddingBlockEnd", sons: null}, -{kind: 1, offset: "paddingBlockStart", len: 0, typ: NTI33554450, name: "paddingBlockStart", sons: null}, -{kind: 1, offset: "paddingBottom", len: 0, typ: NTI33554450, name: "paddingBottom", sons: null}, -{kind: 1, offset: "paddingInline", len: 0, typ: NTI33554450, name: "paddingInline", sons: null}, -{kind: 1, offset: "paddingInlineEnd", len: 0, typ: NTI33554450, name: "paddingInlineEnd", sons: null}, -{kind: 1, offset: "paddingInlineStart", len: 0, typ: NTI33554450, name: "paddingInlineStart", sons: null}, -{kind: 1, offset: "paddingLeft", len: 0, typ: NTI33554450, name: "paddingLeft", sons: null}, -{kind: 1, offset: "paddingRight", len: 0, typ: NTI33554450, name: "paddingRight", sons: null}, -{kind: 1, offset: "paddingTop", len: 0, typ: NTI33554450, name: "paddingTop", sons: null}, -{kind: 1, offset: "pageBreakAfter", len: 0, typ: NTI33554450, name: "pageBreakAfter", sons: null}, -{kind: 1, offset: "pageBreakBefore", len: 0, typ: NTI33554450, name: "pageBreakBefore", sons: null}, -{kind: 1, offset: "pageBreakInside", len: 0, typ: NTI33554450, name: "pageBreakInside", sons: null}, -{kind: 1, offset: "paintOrder", len: 0, typ: NTI33554450, name: "paintOrder", sons: null}, -{kind: 1, offset: "perspective", len: 0, typ: NTI33554450, name: "perspective", sons: null}, -{kind: 1, offset: "perspectiveOrigin", len: 0, typ: NTI33554450, name: "perspectiveOrigin", sons: null}, -{kind: 1, offset: "placeContent", len: 0, typ: NTI33554450, name: "placeContent", sons: null}, -{kind: 1, offset: "placeItems", len: 0, typ: NTI33554450, name: "placeItems", sons: null}, -{kind: 1, offset: "placeSelf", len: 0, typ: NTI33554450, name: "placeSelf", sons: null}, -{kind: 1, offset: "pointerEvents", len: 0, typ: NTI33554450, name: "pointerEvents", sons: null}, -{kind: 1, offset: "position", len: 0, typ: NTI33554450, name: "position", sons: null}, -{kind: 1, offset: "quotes", len: 0, typ: NTI33554450, name: "quotes", sons: null}, -{kind: 1, offset: "resize", len: 0, typ: NTI33554450, name: "resize", sons: null}, -{kind: 1, offset: "right", len: 0, typ: NTI33554450, name: "right", sons: null}, -{kind: 1, offset: "rotate", len: 0, typ: NTI33554450, name: "rotate", sons: null}, -{kind: 1, offset: "rowGap", len: 0, typ: NTI33554450, name: "rowGap", sons: null}, -{kind: 1, offset: "scale", len: 0, typ: NTI33554450, name: "scale", sons: null}, -{kind: 1, offset: "scrollBehavior", len: 0, typ: NTI33554450, name: "scrollBehavior", sons: null}, -{kind: 1, offset: "scrollMargin", len: 0, typ: NTI33554450, name: "scrollMargin", sons: null}, -{kind: 1, offset: "scrollMarginBlock", len: 0, typ: NTI33554450, name: "scrollMarginBlock", sons: null}, -{kind: 1, offset: "scrollMarginBlockEnd", len: 0, typ: NTI33554450, name: "scrollMarginBlockEnd", sons: null}, -{kind: 1, offset: "scrollMarginBlockStart", len: 0, typ: NTI33554450, name: "scrollMarginBlockStart", sons: null}, -{kind: 1, offset: "scrollMarginBottom", len: 0, typ: NTI33554450, name: "scrollMarginBottom", sons: null}, -{kind: 1, offset: "scrollMarginInline", len: 0, typ: NTI33554450, name: "scrollMarginInline", sons: null}, -{kind: 1, offset: "scrollMarginInlineEnd", len: 0, typ: NTI33554450, name: "scrollMarginInlineEnd", sons: null}, -{kind: 1, offset: "scrollMarginInlineStart", len: 0, typ: NTI33554450, name: "scrollMarginInlineStart", sons: null}, -{kind: 1, offset: "scrollMarginLeft", len: 0, typ: NTI33554450, name: "scrollMarginLeft", sons: null}, -{kind: 1, offset: "scrollMarginRight", len: 0, typ: NTI33554450, name: "scrollMarginRight", sons: null}, -{kind: 1, offset: "scrollMarginTop", len: 0, typ: NTI33554450, name: "scrollMarginTop", sons: null}, -{kind: 1, offset: "scrollPadding", len: 0, typ: NTI33554450, name: "scrollPadding", sons: null}, -{kind: 1, offset: "scrollPaddingBlock", len: 0, typ: NTI33554450, name: "scrollPaddingBlock", sons: null}, -{kind: 1, offset: "scrollPaddingBlockEnd", len: 0, typ: NTI33554450, name: "scrollPaddingBlockEnd", sons: null}, -{kind: 1, offset: "scrollPaddingBlockStart", len: 0, typ: NTI33554450, name: "scrollPaddingBlockStart", sons: null}, -{kind: 1, offset: "scrollPaddingBottom", len: 0, typ: NTI33554450, name: "scrollPaddingBottom", sons: null}, -{kind: 1, offset: "scrollPaddingInline", len: 0, typ: NTI33554450, name: "scrollPaddingInline", sons: null}, -{kind: 1, offset: "scrollPaddingInlineEnd", len: 0, typ: NTI33554450, name: "scrollPaddingInlineEnd", sons: null}, -{kind: 1, offset: "scrollPaddingInlineStart", len: 0, typ: NTI33554450, name: "scrollPaddingInlineStart", sons: null}, -{kind: 1, offset: "scrollPaddingLeft", len: 0, typ: NTI33554450, name: "scrollPaddingLeft", sons: null}, -{kind: 1, offset: "scrollPaddingRight", len: 0, typ: NTI33554450, name: "scrollPaddingRight", sons: null}, -{kind: 1, offset: "scrollPaddingTop", len: 0, typ: NTI33554450, name: "scrollPaddingTop", sons: null}, -{kind: 1, offset: "scrollSnapAlign", len: 0, typ: NTI33554450, name: "scrollSnapAlign", sons: null}, -{kind: 1, offset: "scrollSnapStop", len: 0, typ: NTI33554450, name: "scrollSnapStop", sons: null}, -{kind: 1, offset: "scrollSnapType", len: 0, typ: NTI33554450, name: "scrollSnapType", sons: null}, -{kind: 1, offset: "scrollbar3dLightColor", len: 0, typ: NTI33554450, name: "scrollbar3dLightColor", sons: null}, -{kind: 1, offset: "scrollbarArrowColor", len: 0, typ: NTI33554450, name: "scrollbarArrowColor", sons: null}, -{kind: 1, offset: "scrollbarBaseColor", len: 0, typ: NTI33554450, name: "scrollbarBaseColor", sons: null}, -{kind: 1, offset: "scrollbarColor", len: 0, typ: NTI33554450, name: "scrollbarColor", sons: null}, -{kind: 1, offset: "scrollbarDarkshadowColor", len: 0, typ: NTI33554450, name: "scrollbarDarkshadowColor", sons: null}, -{kind: 1, offset: "scrollbarFaceColor", len: 0, typ: NTI33554450, name: "scrollbarFaceColor", sons: null}, -{kind: 1, offset: "scrollbarHighlightColor", len: 0, typ: NTI33554450, name: "scrollbarHighlightColor", sons: null}, -{kind: 1, offset: "scrollbarShadowColor", len: 0, typ: NTI33554450, name: "scrollbarShadowColor", sons: null}, -{kind: 1, offset: "scrollbarTrackColor", len: 0, typ: NTI33554450, name: "scrollbarTrackColor", sons: null}, -{kind: 1, offset: "scrollbarWidth", len: 0, typ: NTI33554450, name: "scrollbarWidth", sons: null}, -{kind: 1, offset: "shapeImageThreshold", len: 0, typ: NTI33554450, name: "shapeImageThreshold", sons: null}, -{kind: 1, offset: "shapeMargin", len: 0, typ: NTI33554450, name: "shapeMargin", sons: null}, -{kind: 1, offset: "shapeOutside", len: 0, typ: NTI33554450, name: "shapeOutside", sons: null}, -{kind: 1, offset: "tabSize", len: 0, typ: NTI33554450, name: "tabSize", sons: null}, -{kind: 1, offset: "tableLayout", len: 0, typ: NTI33554450, name: "tableLayout", sons: null}, -{kind: 1, offset: "textAlign", len: 0, typ: NTI33554450, name: "textAlign", sons: null}, -{kind: 1, offset: "textAlignLast", len: 0, typ: NTI33554450, name: "textAlignLast", sons: null}, -{kind: 1, offset: "textCombineUpright", len: 0, typ: NTI33554450, name: "textCombineUpright", sons: null}, -{kind: 1, offset: "textDecoration", len: 0, typ: NTI33554450, name: "textDecoration", sons: null}, -{kind: 1, offset: "textDecorationColor", len: 0, typ: NTI33554450, name: "textDecorationColor", sons: null}, -{kind: 1, offset: "textDecorationLine", len: 0, typ: NTI33554450, name: "textDecorationLine", sons: null}, -{kind: 1, offset: "textDecorationSkipInk", len: 0, typ: NTI33554450, name: "textDecorationSkipInk", sons: null}, -{kind: 1, offset: "textDecorationStyle", len: 0, typ: NTI33554450, name: "textDecorationStyle", sons: null}, -{kind: 1, offset: "textDecorationThickness", len: 0, typ: NTI33554450, name: "textDecorationThickness", sons: null}, -{kind: 1, offset: "textEmphasis", len: 0, typ: NTI33554450, name: "textEmphasis", sons: null}, -{kind: 1, offset: "textEmphasisColor", len: 0, typ: NTI33554450, name: "textEmphasisColor", sons: null}, -{kind: 1, offset: "textEmphasisPosition", len: 0, typ: NTI33554450, name: "textEmphasisPosition", sons: null}, -{kind: 1, offset: "textEmphasisStyle", len: 0, typ: NTI33554450, name: "textEmphasisStyle", sons: null}, -{kind: 1, offset: "textIndent", len: 0, typ: NTI33554450, name: "textIndent", sons: null}, -{kind: 1, offset: "textJustify", len: 0, typ: NTI33554450, name: "textJustify", sons: null}, -{kind: 1, offset: "textOrientation", len: 0, typ: NTI33554450, name: "textOrientation", sons: null}, -{kind: 1, offset: "textOverflow", len: 0, typ: NTI33554450, name: "textOverflow", sons: null}, -{kind: 1, offset: "textRendering", len: 0, typ: NTI33554450, name: "textRendering", sons: null}, -{kind: 1, offset: "textShadow", len: 0, typ: NTI33554450, name: "textShadow", sons: null}, -{kind: 1, offset: "textTransform", len: 0, typ: NTI33554450, name: "textTransform", sons: null}, -{kind: 1, offset: "textUnderlineOffset", len: 0, typ: NTI33554450, name: "textUnderlineOffset", sons: null}, -{kind: 1, offset: "textUnderlinePosition", len: 0, typ: NTI33554450, name: "textUnderlinePosition", sons: null}, -{kind: 1, offset: "top", len: 0, typ: NTI33554450, name: "top", sons: null}, -{kind: 1, offset: "touchAction", len: 0, typ: NTI33554450, name: "touchAction", sons: null}, -{kind: 1, offset: "transform", len: 0, typ: NTI33554450, name: "transform", sons: null}, -{kind: 1, offset: "transformBox", len: 0, typ: NTI33554450, name: "transformBox", sons: null}, -{kind: 1, offset: "transformOrigin", len: 0, typ: NTI33554450, name: "transformOrigin", sons: null}, -{kind: 1, offset: "transformStyle", len: 0, typ: NTI33554450, name: "transformStyle", sons: null}, -{kind: 1, offset: "transition", len: 0, typ: NTI33554450, name: "transition", sons: null}, -{kind: 1, offset: "transitionDelay", len: 0, typ: NTI33554450, name: "transitionDelay", sons: null}, -{kind: 1, offset: "transitionDuration", len: 0, typ: NTI33554450, name: "transitionDuration", sons: null}, -{kind: 1, offset: "transitionProperty", len: 0, typ: NTI33554450, name: "transitionProperty", sons: null}, -{kind: 1, offset: "transitionTimingFunction", len: 0, typ: NTI33554450, name: "transitionTimingFunction", sons: null}, -{kind: 1, offset: "translate", len: 0, typ: NTI33554450, name: "translate", sons: null}, -{kind: 1, offset: "unicodeBidi", len: 0, typ: NTI33554450, name: "unicodeBidi", sons: null}, -{kind: 1, offset: "verticalAlign", len: 0, typ: NTI33554450, name: "verticalAlign", sons: null}, -{kind: 1, offset: "visibility", len: 0, typ: NTI33554450, name: "visibility", sons: null}, -{kind: 1, offset: "whiteSpace", len: 0, typ: NTI33554450, name: "whiteSpace", sons: null}, -{kind: 1, offset: "widows", len: 0, typ: NTI33554450, name: "widows", sons: null}, -{kind: 1, offset: "width", len: 0, typ: NTI33554450, name: "width", sons: null}, -{kind: 1, offset: "willChange", len: 0, typ: NTI33554450, name: "willChange", sons: null}, -{kind: 1, offset: "wordBreak", len: 0, typ: NTI33554450, name: "wordBreak", sons: null}, -{kind: 1, offset: "wordSpacing", len: 0, typ: NTI33554450, name: "wordSpacing", sons: null}, -{kind: 1, offset: "writingMode", len: 0, typ: NTI33554450, name: "writingMode", sons: null}, -{kind: 1, offset: "zIndex", len: 0, typ: NTI33554450, name: "zIndex", sons: null}]}; -NTI704643214.node = NNI704643214; -NTI704643214.base = NTI33555173; -NTI704643102.base = NTI704643214; -var NNI704643186 = {kind: 2, len: 22, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI704643187, name: "attributes", sons: null}, -{kind: 1, offset: "childNodes", len: 0, typ: NTI704643188, name: "childNodes", sons: null}, -{kind: 1, offset: "children", len: 0, typ: NTI704643189, name: "children", sons: null}, -{kind: 1, offset: "data", len: 0, typ: NTI33554450, name: "data", sons: null}, -{kind: 1, offset: "firstChild", len: 0, typ: NTI704643088, name: "firstChild", sons: null}, -{kind: 1, offset: "lastChild", len: 0, typ: NTI704643088, name: "lastChild", sons: null}, -{kind: 1, offset: "nextSibling", len: 0, typ: NTI704643088, name: "nextSibling", sons: null}, -{kind: 1, offset: "nodeName", len: 0, typ: NTI33554450, name: "nodeName", sons: null}, -{kind: 1, offset: "nodeType", len: 0, typ: NTI704643087, name: "nodeType", sons: null}, -{kind: 1, offset: "nodeValue", len: 0, typ: NTI33554450, name: "nodeValue", sons: null}, -{kind: 1, offset: "parentNode", len: 0, typ: NTI704643088, name: "parentNode", sons: null}, -{kind: 1, offset: "content", len: 0, typ: NTI704643088, name: "content", sons: null}, -{kind: 1, offset: "previousSibling", len: 0, typ: NTI704643088, name: "previousSibling", sons: null}, -{kind: 1, offset: "ownerDocument", len: 0, typ: NTI704643089, name: "ownerDocument", sons: null}, -{kind: 1, offset: "innerHTML", len: 0, typ: NTI33554450, name: "innerHTML", sons: null}, -{kind: 1, offset: "outerHTML", len: 0, typ: NTI33554450, name: "outerHTML", sons: null}, -{kind: 1, offset: "innerText", len: 0, typ: NTI33554450, name: "innerText", sons: null}, -{kind: 1, offset: "textContent", len: 0, typ: NTI33554450, name: "textContent", sons: null}, -{kind: 1, offset: "style", len: 0, typ: NTI704643102, name: "style", sons: null}, -{kind: 1, offset: "baseURI", len: 0, typ: NTI33554450, name: "baseURI", sons: null}, -{kind: 1, offset: "parentElement", len: 0, typ: NTI704643090, name: "parentElement", sons: null}, -{kind: 1, offset: "isConnected", len: 0, typ: NTI33554466, name: "isConnected", sons: null}]}; -NTI704643186.node = NNI704643186; -var NNI704643141 = {kind: 2, len: 24, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI704643142, name: "onabort", sons: null}, -{kind: 1, offset: "onblur", len: 0, typ: NTI704643143, name: "onblur", sons: null}, -{kind: 1, offset: "onchange", len: 0, typ: NTI704643144, name: "onchange", sons: null}, -{kind: 1, offset: "onclick", len: 0, typ: NTI704643145, name: "onclick", sons: null}, -{kind: 1, offset: "ondblclick", len: 0, typ: NTI704643146, name: "ondblclick", sons: null}, -{kind: 1, offset: "onerror", len: 0, typ: NTI704643147, name: "onerror", sons: null}, -{kind: 1, offset: "onfocus", len: 0, typ: NTI704643148, name: "onfocus", sons: null}, -{kind: 1, offset: "onkeydown", len: 0, typ: NTI704643149, name: "onkeydown", sons: null}, -{kind: 1, offset: "onkeypress", len: 0, typ: NTI704643150, name: "onkeypress", sons: null}, -{kind: 1, offset: "onkeyup", len: 0, typ: NTI704643151, name: "onkeyup", sons: null}, -{kind: 1, offset: "onload", len: 0, typ: NTI704643152, name: "onload", sons: null}, -{kind: 1, offset: "onmousedown", len: 0, typ: NTI704643153, name: "onmousedown", sons: null}, -{kind: 1, offset: "onmousemove", len: 0, typ: NTI704643154, name: "onmousemove", sons: null}, -{kind: 1, offset: "onmouseout", len: 0, typ: NTI704643155, name: "onmouseout", sons: null}, -{kind: 1, offset: "onmouseover", len: 0, typ: NTI704643156, name: "onmouseover", sons: null}, -{kind: 1, offset: "onmouseup", len: 0, typ: NTI704643157, name: "onmouseup", sons: null}, -{kind: 1, offset: "onreset", len: 0, typ: NTI704643158, name: "onreset", sons: null}, -{kind: 1, offset: "onselect", len: 0, typ: NTI704643159, name: "onselect", sons: null}, -{kind: 1, offset: "onstorage", len: 0, typ: NTI704643160, name: "onstorage", sons: null}, -{kind: 1, offset: "onsubmit", len: 0, typ: NTI704643161, name: "onsubmit", sons: null}, -{kind: 1, offset: "onunload", len: 0, typ: NTI704643162, name: "onunload", sons: null}, -{kind: 1, offset: "onloadstart", len: 0, typ: NTI704643163, name: "onloadstart", sons: null}, -{kind: 1, offset: "onprogress", len: 0, typ: NTI704643164, name: "onprogress", sons: null}, -{kind: 1, offset: "onloadend", len: 0, typ: NTI704643165, name: "onloadend", sons: null}]}; -NTI704643141.node = NNI704643141; -NTI704643141.base = NTI33555173; -NTI704643186.base = NTI704643141; -NTI704643197.base = NTI704643186; -NTI704643090.base = NTI704643197; -NTI1459617821.base = NTI1459617857; -var NNI1459617824 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "seconds", len: 0, typ: NTI33554439, name: "seconds", sons: null}, -{kind: 1, offset: "nanosecond", len: 0, typ: NTI1459617821, name: "nanosecond", sons: null}]}; -NTI1459617824.node = NNI1459617824; -var NNI1426063368 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "body", len: 0, typ: NTI1442840649, name: "body", sons: null}, -{kind: 1, offset: "imgSize", len: 0, typ: NTI1677721603, name: "imgSize", sons: null}]}; -NTI1426063368.node = NNI1426063368; -var NNI1426063364 = {kind: 2, len: 4, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "body", len: 0, typ: NTI1442840649, name: "body", sons: null}, -{kind: 1, offset: "dragging", len: 0, typ: NTI33554466, name: "dragging", sons: null}, -{kind: 1, offset: "dragOffset", len: 0, typ: NTI33554445, name: "dragOffset", sons: null}, -{kind: 1, offset: "imgSize", len: 0, typ: NTI1677721603, name: "imgSize", sons: null}]}; -NTI1426063364.node = NNI1426063364; -NTI1426063371.base = NTI1442840649; -NTI1426063372.base = NTI33554435; -var NNI1426063367 = {kind: 2, len: 15, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "platform", len: 0, typ: NTI1426063368, name: "platform", sons: null}, -{kind: 1, offset: "base", len: 0, typ: NTI1426063364, name: "base", sons: null}, -{kind: 1, offset: "body", len: 0, typ: NTI1442840649, name: "body", sons: null}, -{kind: 1, offset: "pivot", len: 0, typ: NTI1677721603, name: "pivot", sons: null}, -{kind: 1, offset: "dragOffset", len: 0, typ: NTI33554445, name: "dragOffset", sons: null}, -{kind: 1, offset: "bullets", len: 0, typ: NTI1426063371, name: "bullets", sons: null}, -{kind: 1, offset: "bulletOptions", len: 0, typ: NTI1442840649, name: "bulletOptions", sons: null}, -{kind: 1, offset: "flyingBullets", len: 0, typ: NTI1426063372, name: "flyingBullets", sons: null}, -{kind: 1, offset: "bulletRadius", len: 0, typ: NTI33554435, name: "bulletRadius", sons: null}, -{kind: 1, offset: "bulletsLimit", len: 0, typ: NTI33554435, name: "bulletsLimit", sons: null}, -{kind: 1, offset: "dragging", len: 0, typ: NTI33554466, name: "dragging", sons: null}, -{kind: 1, offset: "imgSize", len: 0, typ: NTI1677721603, name: "imgSize", sons: null}, -{kind: 1, offset: "showVxArrow", len: 0, typ: NTI33554466, name: "showVxArrow", sons: null}, -{kind: 1, offset: "showVyArrow", len: 0, typ: NTI33554466, name: "showVyArrow", sons: null}, -{kind: 1, offset: "showVArrow", len: 0, typ: NTI33554466, name: "showVArrow", sons: null}]}; -NTI1426063367.node = NNI1426063367; -NTI1426063373.base = NTI1442840649; -NTI1426063374.base = NTI1426063366; -NTI1426063376.base = NTI1426063380; -NTI1426063382.base = NTI33555150; -var NNI1728053251 = {kind: 2, offset: 0, typ: null, name: null, len: 2, sons: {"0": {kind: 1, offset: 0, typ: NTI1728053251, name: "English", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI1728053251, name: "Espa\xC3\xB1ol", len: 0, sons: null}}}; -NTI1728053251.node = NNI1728053251; -var NNI1426063369 = {kind: 2, len: 29, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "engine", len: 0, typ: NTI1442840649, name: "engine", sons: null}, -{kind: 1, offset: "render", len: 0, typ: NTI1442840649, name: "render", sons: null}, -{kind: 1, offset: "runner", len: 0, typ: NTI1442840649, name: "runner", sons: null}, -{kind: 1, offset: "canvas", len: 0, typ: NTI704643090, name: "canvas", sons: null}, -{kind: 1, offset: "canvasSize", len: 0, typ: NTI1677721603, name: "canvasSize", sons: null}, -{kind: 1, offset: "paused", len: 0, typ: NTI33554466, name: "paused", sons: null}, -{kind: 1, offset: "frozen", len: 0, typ: NTI33554466, name: "frozen", sons: null}, -{kind: 1, offset: "mouse", len: 0, typ: NTI1442840649, name: "mouse", sons: null}, -{kind: 1, offset: "mouseCons", len: 0, typ: NTI1442840649, name: "mouseCons", sons: null}, -{kind: 1, offset: "timeAtClick", len: 0, typ: NTI1459617824, name: "timeAtClick", sons: null}, -{kind: 1, offset: "canon", len: 0, typ: NTI1426063367, name: "canon", sons: null}, -{kind: 1, offset: "ground", len: 0, typ: NTI1442840649, name: "ground", sons: null}, -{kind: 1, offset: "blocks", len: 0, typ: NTI1426063373, name: "blocks", sons: null}, -{kind: 1, offset: "trajectories", len: 0, typ: NTI1426063374, name: "trajectories", sons: null}, -{kind: 1, offset: "currentTrajectory", len: 0, typ: NTI33554435, name: "currentTrajectory", sons: null}, -{kind: 1, offset: "draggingPoint", len: 0, typ: NTI33554466, name: "draggingPoint", sons: null}, -{kind: 1, offset: "followBullet", len: 0, typ: NTI33554466, name: "followBullet", sons: null}, -{kind: 1, offset: "onMousedown", len: 0, typ: NTI1426063375, name: "onMousedown", sons: null}, -{kind: 1, offset: "onMouseup", len: 0, typ: NTI1426063375, name: "onMouseup", sons: null}, -{kind: 1, offset: "onMousemove", len: 0, typ: NTI1426063375, name: "onMousemove", sons: null}, -{kind: 1, offset: "onMouseleave", len: 0, typ: NTI1426063375, name: "onMouseleave", sons: null}, -{kind: 1, offset: "onWheel", len: 0, typ: NTI1426063375, name: "onWheel", sons: null}, -{kind: 1, offset: "floatPrecision", len: 0, typ: NTI1426063376, name: "floatPrecision", sons: null}, -{kind: 1, offset: "startedRendering", len: 0, typ: NTI33554466, name: "startedRendering", sons: null}, -{kind: 1, offset: "studentMode", len: 0, typ: NTI33554466, name: "studentMode", sons: null}, -{kind: 1, offset: "showFormulaResults", len: 0, typ: NTI33554466, name: "showFormulaResults", sons: null}, -{kind: 1, offset: "showFormulaProc", len: 0, typ: NTI33554466, name: "showFormulaProc", sons: null}, -{kind: 1, offset: "lastUsed", len: 0, typ: NTI1426063382, name: "lastUsed", sons: null}, -{kind: 1, offset: "lang", len: 0, typ: NTI1728053251, name: "lang", sons: null}]}; -NTI1426063369.node = NNI1426063369; -var NNI1426063439 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI33554445, name: "a", sons: null}, -{kind: 1, offset: "b", len: 0, typ: NTI33554445, name: "b", sons: null}]}; -NTI1426063439.node = NNI1426063439; -var NNI134217742 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217742.node = NNI134217742; -NTI134217742.base = NTI134217741; -var NNI922746949 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI33554435, name: "a", sons: null}, -{kind: 1, offset: "b", len: 0, typ: NTI33554435, name: "b", sons: null}]}; -NTI922746949.node = NNI922746949; -NTI1426065073.base = NTI33554447; -var NNI1073741909 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "a", len: 0, typ: NTI1073741903, name: "a", sons: null}, -{kind: 1, offset: "b", len: 0, typ: NTI33554435, name: "b", sons: null}]}; -NTI1073741909.node = NNI1073741909; -var NNI1426065064 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1426065065, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554447, name: "Field1", sons: null}]}; -NTI1426065064.node = NNI1426065064; -var NNI134217746 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217746.node = NNI134217746; -var NNI33555179 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI33555179.node = NNI33555179; -NTI33555179.base = NTI33555177; -NTI134217746.base = NTI33555179; -var NNI1426064493 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554449, name: "Field1", sons: null}]}; -NTI1426064493.node = NNI1426064493; -var NNI1426064612 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554466, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI1426063365, name: "Field1", sons: null}]}; -NTI1426064612.node = NNI1426064612; -var NNI1426064688 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554449, name: "Field1", sons: null}]}; -NTI1426064688.node = NNI1426064688; -var NNI1426063959 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554449, name: "Field1", sons: null}]}; -NTI1426063959.node = NNI1426063959; -var NNI1677721740 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554445, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554445, name: "Field1", sons: null}]}; -NTI1677721740.node = NNI1677721740; -NTI1426068752.base = NTI1442840649; -var NNI1459617826 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "seconds", len: 0, typ: NTI33554439, name: "seconds", sons: null}, -{kind: 1, offset: "nanosecond", len: 0, typ: NTI1459617821, name: "nanosecond", sons: null}]}; -NTI1459617826.node = NNI1459617826; -var NNI134217753 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI134217753.node = NNI134217753; -NTI134217753.base = NTI33555178; -var NNI1426066550 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554466, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI1677721603, name: "Field1", sons: null}]}; -NTI1426066550.node = NNI1426066550; -NTI1426067175.base = NTI1442840649; -var NNI721420295 = {kind: 2, offset: 0, typ: null, name: null, len: 6, sons: {"0": {kind: 1, offset: 0, typ: NTI721420295, name: "pkReplace", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI721420295, name: "pkRemove", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI721420295, name: "pkAppend", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI721420295, name: "pkInsertBefore", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI721420295, name: "pkDetach", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI721420295, name: "pkSame", len: 0, sons: null}}}; -NTI721420295.node = NNI721420295; -var NNI754974723 = {kind: 2, offset: 0, typ: null, name: null, len: 213, sons: {"0": {kind: 1, offset: 0, typ: NTI754974723, name: "#text", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI754974723, name: "#int", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI754974723, name: "#bool", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI754974723, name: "#vthunk", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI754974723, name: "#dthunk", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI754974723, name: "#component", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI754974723, name: "#verbatim", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI754974723, name: "html", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI754974723, name: "head", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI754974723, name: "title", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI754974723, name: "base", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI754974723, name: "link", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI754974723, name: "meta", len: 0, sons: null}, -"13": {kind: 1, offset: 13, typ: NTI754974723, name: "style", len: 0, sons: null}, -"14": {kind: 1, offset: 14, typ: NTI754974723, name: "script", len: 0, sons: null}, -"15": {kind: 1, offset: 15, typ: NTI754974723, name: "noscript", len: 0, sons: null}, -"16": {kind: 1, offset: 16, typ: NTI754974723, name: "body", len: 0, sons: null}, -"17": {kind: 1, offset: 17, typ: NTI754974723, name: "section", len: 0, sons: null}, -"18": {kind: 1, offset: 18, typ: NTI754974723, name: "nav", len: 0, sons: null}, -"19": {kind: 1, offset: 19, typ: NTI754974723, name: "article", len: 0, sons: null}, -"20": {kind: 1, offset: 20, typ: NTI754974723, name: "aside", len: 0, sons: null}, -"21": {kind: 1, offset: 21, typ: NTI754974723, name: "h1", len: 0, sons: null}, -"22": {kind: 1, offset: 22, typ: NTI754974723, name: "h2", len: 0, sons: null}, -"23": {kind: 1, offset: 23, typ: NTI754974723, name: "h3", len: 0, sons: null}, -"24": {kind: 1, offset: 24, typ: NTI754974723, name: "h4", len: 0, sons: null}, -"25": {kind: 1, offset: 25, typ: NTI754974723, name: "h5", len: 0, sons: null}, -"26": {kind: 1, offset: 26, typ: NTI754974723, name: "h6", len: 0, sons: null}, -"27": {kind: 1, offset: 27, typ: NTI754974723, name: "hgroup", len: 0, sons: null}, -"28": {kind: 1, offset: 28, typ: NTI754974723, name: "header", len: 0, sons: null}, -"29": {kind: 1, offset: 29, typ: NTI754974723, name: "footer", len: 0, sons: null}, -"30": {kind: 1, offset: 30, typ: NTI754974723, name: "address", len: 0, sons: null}, -"31": {kind: 1, offset: 31, typ: NTI754974723, name: "main", len: 0, sons: null}, -"32": {kind: 1, offset: 32, typ: NTI754974723, name: "p", len: 0, sons: null}, -"33": {kind: 1, offset: 33, typ: NTI754974723, name: "hr", len: 0, sons: null}, -"34": {kind: 1, offset: 34, typ: NTI754974723, name: "pre", len: 0, sons: null}, -"35": {kind: 1, offset: 35, typ: NTI754974723, name: "blockquote", len: 0, sons: null}, -"36": {kind: 1, offset: 36, typ: NTI754974723, name: "ol", len: 0, sons: null}, -"37": {kind: 1, offset: 37, typ: NTI754974723, name: "ul", len: 0, sons: null}, -"38": {kind: 1, offset: 38, typ: NTI754974723, name: "li", len: 0, sons: null}, -"39": {kind: 1, offset: 39, typ: NTI754974723, name: "dl", len: 0, sons: null}, -"40": {kind: 1, offset: 40, typ: NTI754974723, name: "dt", len: 0, sons: null}, -"41": {kind: 1, offset: 41, typ: NTI754974723, name: "dd", len: 0, sons: null}, -"42": {kind: 1, offset: 42, typ: NTI754974723, name: "figure", len: 0, sons: null}, -"43": {kind: 1, offset: 43, typ: NTI754974723, name: "figcaption", len: 0, sons: null}, -"44": {kind: 1, offset: 44, typ: NTI754974723, name: "div", len: 0, sons: null}, -"45": {kind: 1, offset: 45, typ: NTI754974723, name: "a", len: 0, sons: null}, -"46": {kind: 1, offset: 46, typ: NTI754974723, name: "em", len: 0, sons: null}, -"47": {kind: 1, offset: 47, typ: NTI754974723, name: "strong", len: 0, sons: null}, -"48": {kind: 1, offset: 48, typ: NTI754974723, name: "small", len: 0, sons: null}, -"49": {kind: 1, offset: 49, typ: NTI754974723, name: "s", len: 0, sons: null}, -"50": {kind: 1, offset: 50, typ: NTI754974723, name: "cite", len: 0, sons: null}, -"51": {kind: 1, offset: 51, typ: NTI754974723, name: "quote", len: 0, sons: null}, -"52": {kind: 1, offset: 52, typ: NTI754974723, name: "dfn", len: 0, sons: null}, -"53": {kind: 1, offset: 53, typ: NTI754974723, name: "abbr", len: 0, sons: null}, -"54": {kind: 1, offset: 54, typ: NTI754974723, name: "data", len: 0, sons: null}, -"55": {kind: 1, offset: 55, typ: NTI754974723, name: "time", len: 0, sons: null}, -"56": {kind: 1, offset: 56, typ: NTI754974723, name: "code", len: 0, sons: null}, -"57": {kind: 1, offset: 57, typ: NTI754974723, name: "var", len: 0, sons: null}, -"58": {kind: 1, offset: 58, typ: NTI754974723, name: "samp", len: 0, sons: null}, -"59": {kind: 1, offset: 59, typ: NTI754974723, name: "kbd", len: 0, sons: null}, -"60": {kind: 1, offset: 60, typ: NTI754974723, name: "sub", len: 0, sons: null}, -"61": {kind: 1, offset: 61, typ: NTI754974723, name: "sup", len: 0, sons: null}, -"62": {kind: 1, offset: 62, typ: NTI754974723, name: "i", len: 0, sons: null}, -"63": {kind: 1, offset: 63, typ: NTI754974723, name: "b", len: 0, sons: null}, -"64": {kind: 1, offset: 64, typ: NTI754974723, name: "u", len: 0, sons: null}, -"65": {kind: 1, offset: 65, typ: NTI754974723, name: "mark", len: 0, sons: null}, -"66": {kind: 1, offset: 66, typ: NTI754974723, name: "ruby", len: 0, sons: null}, -"67": {kind: 1, offset: 67, typ: NTI754974723, name: "rt", len: 0, sons: null}, -"68": {kind: 1, offset: 68, typ: NTI754974723, name: "rp", len: 0, sons: null}, -"69": {kind: 1, offset: 69, typ: NTI754974723, name: "bdi", len: 0, sons: null}, -"70": {kind: 1, offset: 70, typ: NTI754974723, name: "dbo", len: 0, sons: null}, -"71": {kind: 1, offset: 71, typ: NTI754974723, name: "span", len: 0, sons: null}, -"72": {kind: 1, offset: 72, typ: NTI754974723, name: "br", len: 0, sons: null}, -"73": {kind: 1, offset: 73, typ: NTI754974723, name: "wbr", len: 0, sons: null}, -"74": {kind: 1, offset: 74, typ: NTI754974723, name: "ins", len: 0, sons: null}, -"75": {kind: 1, offset: 75, typ: NTI754974723, name: "del", len: 0, sons: null}, -"76": {kind: 1, offset: 76, typ: NTI754974723, name: "img", len: 0, sons: null}, -"77": {kind: 1, offset: 77, typ: NTI754974723, name: "iframe", len: 0, sons: null}, -"78": {kind: 1, offset: 78, typ: NTI754974723, name: "embed", len: 0, sons: null}, -"79": {kind: 1, offset: 79, typ: NTI754974723, name: "object", len: 0, sons: null}, -"80": {kind: 1, offset: 80, typ: NTI754974723, name: "param", len: 0, sons: null}, -"81": {kind: 1, offset: 81, typ: NTI754974723, name: "video", len: 0, sons: null}, -"82": {kind: 1, offset: 82, typ: NTI754974723, name: "audio", len: 0, sons: null}, -"83": {kind: 1, offset: 83, typ: NTI754974723, name: "source", len: 0, sons: null}, -"84": {kind: 1, offset: 84, typ: NTI754974723, name: "track", len: 0, sons: null}, -"85": {kind: 1, offset: 85, typ: NTI754974723, name: "canvas", len: 0, sons: null}, -"86": {kind: 1, offset: 86, typ: NTI754974723, name: "map", len: 0, sons: null}, -"87": {kind: 1, offset: 87, typ: NTI754974723, name: "area", len: 0, sons: null}, -"88": {kind: 1, offset: 88, typ: NTI754974723, name: "animate", len: 0, sons: null}, -"89": {kind: 1, offset: 89, typ: NTI754974723, name: "animateMotion", len: 0, sons: null}, -"90": {kind: 1, offset: 90, typ: NTI754974723, name: "animateTransform", len: 0, sons: null}, -"91": {kind: 1, offset: 91, typ: NTI754974723, name: "circle", len: 0, sons: null}, -"92": {kind: 1, offset: 92, typ: NTI754974723, name: "clipPath", len: 0, sons: null}, -"93": {kind: 1, offset: 93, typ: NTI754974723, name: "defs", len: 0, sons: null}, -"94": {kind: 1, offset: 94, typ: NTI754974723, name: "desc", len: 0, sons: null}, -"95": {kind: 1, offset: 95, typ: NTI754974723, name: "discard", len: 0, sons: null}, -"96": {kind: 1, offset: 96, typ: NTI754974723, name: "ellipse", len: 0, sons: null}, -"97": {kind: 1, offset: 97, typ: NTI754974723, name: "feBlend", len: 0, sons: null}, -"98": {kind: 1, offset: 98, typ: NTI754974723, name: "feColorMatrix", len: 0, sons: null}, -"99": {kind: 1, offset: 99, typ: NTI754974723, name: "feComponentTransfer", len: 0, sons: null}, -"100": {kind: 1, offset: 100, typ: NTI754974723, name: "feComposite", len: 0, sons: null}, -"101": {kind: 1, offset: 101, typ: NTI754974723, name: "feConvolveMatrix", len: 0, sons: null}, -"102": {kind: 1, offset: 102, typ: NTI754974723, name: "feDiffuseLighting", len: 0, sons: null}, -"103": {kind: 1, offset: 103, typ: NTI754974723, name: "feDisplacementMap", len: 0, sons: null}, -"104": {kind: 1, offset: 104, typ: NTI754974723, name: "feDistantLight", len: 0, sons: null}, -"105": {kind: 1, offset: 105, typ: NTI754974723, name: "feDropShadow", len: 0, sons: null}, -"106": {kind: 1, offset: 106, typ: NTI754974723, name: "feFlood", len: 0, sons: null}, -"107": {kind: 1, offset: 107, typ: NTI754974723, name: "feFuncA", len: 0, sons: null}, -"108": {kind: 1, offset: 108, typ: NTI754974723, name: "feFuncB", len: 0, sons: null}, -"109": {kind: 1, offset: 109, typ: NTI754974723, name: "feFuncG", len: 0, sons: null}, -"110": {kind: 1, offset: 110, typ: NTI754974723, name: "feFuncR", len: 0, sons: null}, -"111": {kind: 1, offset: 111, typ: NTI754974723, name: "feGaussianBlur", len: 0, sons: null}, -"112": {kind: 1, offset: 112, typ: NTI754974723, name: "feImage", len: 0, sons: null}, -"113": {kind: 1, offset: 113, typ: NTI754974723, name: "feMerge", len: 0, sons: null}, -"114": {kind: 1, offset: 114, typ: NTI754974723, name: "feMergeNode", len: 0, sons: null}, -"115": {kind: 1, offset: 115, typ: NTI754974723, name: "feMorphology", len: 0, sons: null}, -"116": {kind: 1, offset: 116, typ: NTI754974723, name: "feOffset", len: 0, sons: null}, -"117": {kind: 1, offset: 117, typ: NTI754974723, name: "fePointLight", len: 0, sons: null}, -"118": {kind: 1, offset: 118, typ: NTI754974723, name: "feSpecularLighting", len: 0, sons: null}, -"119": {kind: 1, offset: 119, typ: NTI754974723, name: "feSpotLight", len: 0, sons: null}, -"120": {kind: 1, offset: 120, typ: NTI754974723, name: "feTile", len: 0, sons: null}, -"121": {kind: 1, offset: 121, typ: NTI754974723, name: "feTurbulence", len: 0, sons: null}, -"122": {kind: 1, offset: 122, typ: NTI754974723, name: "filter", len: 0, sons: null}, -"123": {kind: 1, offset: 123, typ: NTI754974723, name: "foreignObject", len: 0, sons: null}, -"124": {kind: 1, offset: 124, typ: NTI754974723, name: "g", len: 0, sons: null}, -"125": {kind: 1, offset: 125, typ: NTI754974723, name: "image", len: 0, sons: null}, -"126": {kind: 1, offset: 126, typ: NTI754974723, name: "line", len: 0, sons: null}, -"127": {kind: 1, offset: 127, typ: NTI754974723, name: "linearGradient", len: 0, sons: null}, -"128": {kind: 1, offset: 128, typ: NTI754974723, name: "marker", len: 0, sons: null}, -"129": {kind: 1, offset: 129, typ: NTI754974723, name: "mask", len: 0, sons: null}, -"130": {kind: 1, offset: 130, typ: NTI754974723, name: "metadata", len: 0, sons: null}, -"131": {kind: 1, offset: 131, typ: NTI754974723, name: "mpath", len: 0, sons: null}, -"132": {kind: 1, offset: 132, typ: NTI754974723, name: "path", len: 0, sons: null}, -"133": {kind: 1, offset: 133, typ: NTI754974723, name: "pattern", len: 0, sons: null}, -"134": {kind: 1, offset: 134, typ: NTI754974723, name: "polygon", len: 0, sons: null}, -"135": {kind: 1, offset: 135, typ: NTI754974723, name: "polyline", len: 0, sons: null}, -"136": {kind: 1, offset: 136, typ: NTI754974723, name: "radialGradient", len: 0, sons: null}, -"137": {kind: 1, offset: 137, typ: NTI754974723, name: "rect", len: 0, sons: null}, -"138": {kind: 1, offset: 138, typ: NTI754974723, name: "set", len: 0, sons: null}, -"139": {kind: 1, offset: 139, typ: NTI754974723, name: "stop", len: 0, sons: null}, -"140": {kind: 1, offset: 140, typ: NTI754974723, name: "svg", len: 0, sons: null}, -"141": {kind: 1, offset: 141, typ: NTI754974723, name: "switch", len: 0, sons: null}, -"142": {kind: 1, offset: 142, typ: NTI754974723, name: "symbol", len: 0, sons: null}, -"143": {kind: 1, offset: 143, typ: NTI754974723, name: "text", len: 0, sons: null}, -"144": {kind: 1, offset: 144, typ: NTI754974723, name: "textPath", len: 0, sons: null}, -"145": {kind: 1, offset: 145, typ: NTI754974723, name: "tspan", len: 0, sons: null}, -"146": {kind: 1, offset: 146, typ: NTI754974723, name: "unknown", len: 0, sons: null}, -"147": {kind: 1, offset: 147, typ: NTI754974723, name: "use", len: 0, sons: null}, -"148": {kind: 1, offset: 148, typ: NTI754974723, name: "view", len: 0, sons: null}, -"149": {kind: 1, offset: 149, typ: NTI754974723, name: "maction", len: 0, sons: null}, -"150": {kind: 1, offset: 150, typ: NTI754974723, name: "math", len: 0, sons: null}, -"151": {kind: 1, offset: 151, typ: NTI754974723, name: "menclose", len: 0, sons: null}, -"152": {kind: 1, offset: 152, typ: NTI754974723, name: "merror", len: 0, sons: null}, -"153": {kind: 1, offset: 153, typ: NTI754974723, name: "mfenced", len: 0, sons: null}, -"154": {kind: 1, offset: 154, typ: NTI754974723, name: "mfrac", len: 0, sons: null}, -"155": {kind: 1, offset: 155, typ: NTI754974723, name: "mglyph", len: 0, sons: null}, -"156": {kind: 1, offset: 156, typ: NTI754974723, name: "mi", len: 0, sons: null}, -"157": {kind: 1, offset: 157, typ: NTI754974723, name: "mlabeledtr", len: 0, sons: null}, -"158": {kind: 1, offset: 158, typ: NTI754974723, name: "mmultiscripts", len: 0, sons: null}, -"159": {kind: 1, offset: 159, typ: NTI754974723, name: "mn", len: 0, sons: null}, -"160": {kind: 1, offset: 160, typ: NTI754974723, name: "mo", len: 0, sons: null}, -"161": {kind: 1, offset: 161, typ: NTI754974723, name: "mover", len: 0, sons: null}, -"162": {kind: 1, offset: 162, typ: NTI754974723, name: "mpadded", len: 0, sons: null}, -"163": {kind: 1, offset: 163, typ: NTI754974723, name: "mphantom", len: 0, sons: null}, -"164": {kind: 1, offset: 164, typ: NTI754974723, name: "mroot", len: 0, sons: null}, -"165": {kind: 1, offset: 165, typ: NTI754974723, name: "mrow", len: 0, sons: null}, -"166": {kind: 1, offset: 166, typ: NTI754974723, name: "ms", len: 0, sons: null}, -"167": {kind: 1, offset: 167, typ: NTI754974723, name: "mspace", len: 0, sons: null}, -"168": {kind: 1, offset: 168, typ: NTI754974723, name: "msqrt", len: 0, sons: null}, -"169": {kind: 1, offset: 169, typ: NTI754974723, name: "mstyle", len: 0, sons: null}, -"170": {kind: 1, offset: 170, typ: NTI754974723, name: "msub", len: 0, sons: null}, -"171": {kind: 1, offset: 171, typ: NTI754974723, name: "msubsup", len: 0, sons: null}, -"172": {kind: 1, offset: 172, typ: NTI754974723, name: "msup", len: 0, sons: null}, -"173": {kind: 1, offset: 173, typ: NTI754974723, name: "mtable", len: 0, sons: null}, -"174": {kind: 1, offset: 174, typ: NTI754974723, name: "mtd", len: 0, sons: null}, -"175": {kind: 1, offset: 175, typ: NTI754974723, name: "mtext", len: 0, sons: null}, -"176": {kind: 1, offset: 176, typ: NTI754974723, name: "mtr", len: 0, sons: null}, -"177": {kind: 1, offset: 177, typ: NTI754974723, name: "munder", len: 0, sons: null}, -"178": {kind: 1, offset: 178, typ: NTI754974723, name: "munderover", len: 0, sons: null}, -"179": {kind: 1, offset: 179, typ: NTI754974723, name: "semantics", len: 0, sons: null}, -"180": {kind: 1, offset: 180, typ: NTI754974723, name: "table", len: 0, sons: null}, -"181": {kind: 1, offset: 181, typ: NTI754974723, name: "caption", len: 0, sons: null}, -"182": {kind: 1, offset: 182, typ: NTI754974723, name: "colgroup", len: 0, sons: null}, -"183": {kind: 1, offset: 183, typ: NTI754974723, name: "col", len: 0, sons: null}, -"184": {kind: 1, offset: 184, typ: NTI754974723, name: "tbody", len: 0, sons: null}, -"185": {kind: 1, offset: 185, typ: NTI754974723, name: "thead", len: 0, sons: null}, -"186": {kind: 1, offset: 186, typ: NTI754974723, name: "tfoot", len: 0, sons: null}, -"187": {kind: 1, offset: 187, typ: NTI754974723, name: "tr", len: 0, sons: null}, -"188": {kind: 1, offset: 188, typ: NTI754974723, name: "td", len: 0, sons: null}, -"189": {kind: 1, offset: 189, typ: NTI754974723, name: "th", len: 0, sons: null}, -"190": {kind: 1, offset: 190, typ: NTI754974723, name: "form", len: 0, sons: null}, -"191": {kind: 1, offset: 191, typ: NTI754974723, name: "fieldset", len: 0, sons: null}, -"192": {kind: 1, offset: 192, typ: NTI754974723, name: "legend", len: 0, sons: null}, -"193": {kind: 1, offset: 193, typ: NTI754974723, name: "label", len: 0, sons: null}, -"194": {kind: 1, offset: 194, typ: NTI754974723, name: "input", len: 0, sons: null}, -"195": {kind: 1, offset: 195, typ: NTI754974723, name: "button", len: 0, sons: null}, -"196": {kind: 1, offset: 196, typ: NTI754974723, name: "select", len: 0, sons: null}, -"197": {kind: 1, offset: 197, typ: NTI754974723, name: "datalist", len: 0, sons: null}, -"198": {kind: 1, offset: 198, typ: NTI754974723, name: "optgroup", len: 0, sons: null}, -"199": {kind: 1, offset: 199, typ: NTI754974723, name: "option", len: 0, sons: null}, -"200": {kind: 1, offset: 200, typ: NTI754974723, name: "textarea", len: 0, sons: null}, -"201": {kind: 1, offset: 201, typ: NTI754974723, name: "keygen", len: 0, sons: null}, -"202": {kind: 1, offset: 202, typ: NTI754974723, name: "output", len: 0, sons: null}, -"203": {kind: 1, offset: 203, typ: NTI754974723, name: "progress", len: 0, sons: null}, -"204": {kind: 1, offset: 204, typ: NTI754974723, name: "meter", len: 0, sons: null}, -"205": {kind: 1, offset: 205, typ: NTI754974723, name: "details", len: 0, sons: null}, -"206": {kind: 1, offset: 206, typ: NTI754974723, name: "summary", len: 0, sons: null}, -"207": {kind: 1, offset: 207, typ: NTI754974723, name: "command", len: 0, sons: null}, -"208": {kind: 1, offset: 208, typ: NTI754974723, name: "menu", len: 0, sons: null}, -"209": {kind: 1, offset: 209, typ: NTI754974723, name: "bdo", len: 0, sons: null}, -"210": {kind: 1, offset: 210, typ: NTI754974723, name: "dialog", len: 0, sons: null}, -"211": {kind: 1, offset: 211, typ: NTI754974723, name: "slot", len: 0, sons: null}, -"212": {kind: 1, offset: 212, typ: NTI754974723, name: "template", len: 0, sons: null}}}; -NTI754974723.node = NNI754974723; -NTI754974817.base = NTI754974813; -NTI754974818.base = NTI33554450; -var NNI754974728 = {kind: 2, offset: 0, typ: null, name: null, len: 37, sons: {"0": {kind: 1, offset: 0, typ: NTI754974728, name: "onclick", len: 0, sons: null}, -"1": {kind: 1, offset: 1, typ: NTI754974728, name: "oncontextmenu", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI754974728, name: "ondblclick", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI754974728, name: "onkeyup", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI754974728, name: "onkeydown", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI754974728, name: "onkeypressed", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI754974728, name: "onfocus", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI754974728, name: "onblur", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI754974728, name: "onchange", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI754974728, name: "onscroll", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI754974728, name: "onmousedown", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI754974728, name: "onmouseenter", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI754974728, name: "onmouseleave", len: 0, sons: null}, -"13": {kind: 1, offset: 13, typ: NTI754974728, name: "onmousemove", len: 0, sons: null}, -"14": {kind: 1, offset: 14, typ: NTI754974728, name: "onmouseout", len: 0, sons: null}, -"15": {kind: 1, offset: 15, typ: NTI754974728, name: "onmouseover", len: 0, sons: null}, -"16": {kind: 1, offset: 16, typ: NTI754974728, name: "onmouseup", len: 0, sons: null}, -"17": {kind: 1, offset: 17, typ: NTI754974728, name: "ondrag", len: 0, sons: null}, -"18": {kind: 1, offset: 18, typ: NTI754974728, name: "ondragend", len: 0, sons: null}, -"19": {kind: 1, offset: 19, typ: NTI754974728, name: "ondragenter", len: 0, sons: null}, -"20": {kind: 1, offset: 20, typ: NTI754974728, name: "ondragleave", len: 0, sons: null}, -"21": {kind: 1, offset: 21, typ: NTI754974728, name: "ondragover", len: 0, sons: null}, -"22": {kind: 1, offset: 22, typ: NTI754974728, name: "ondragstart", len: 0, sons: null}, -"23": {kind: 1, offset: 23, typ: NTI754974728, name: "ondrop", len: 0, sons: null}, -"24": {kind: 1, offset: 24, typ: NTI754974728, name: "onsubmit", len: 0, sons: null}, -"25": {kind: 1, offset: 25, typ: NTI754974728, name: "oninput", len: 0, sons: null}, -"26": {kind: 1, offset: 26, typ: NTI754974728, name: "onanimationstart", len: 0, sons: null}, -"27": {kind: 1, offset: 27, typ: NTI754974728, name: "onanimationend", len: 0, sons: null}, -"28": {kind: 1, offset: 28, typ: NTI754974728, name: "onanimationiteration", len: 0, sons: null}, -"29": {kind: 1, offset: 29, typ: NTI754974728, name: "onkeyupenter", len: 0, sons: null}, -"30": {kind: 1, offset: 30, typ: NTI754974728, name: "onkeyuplater", len: 0, sons: null}, -"31": {kind: 1, offset: 31, typ: NTI754974728, name: "onload", len: 0, sons: null}, -"32": {kind: 1, offset: 32, typ: NTI754974728, name: "ontransitioncancel", len: 0, sons: null}, -"33": {kind: 1, offset: 33, typ: NTI754974728, name: "ontransitionend", len: 0, sons: null}, -"34": {kind: 1, offset: 34, typ: NTI754974728, name: "ontransitionrun", len: 0, sons: null}, -"35": {kind: 1, offset: 35, typ: NTI754974728, name: "ontransitionstart", len: 0, sons: null}, -"36": {kind: 1, offset: 36, typ: NTI754974728, name: "onwheel", len: 0, sons: null}}}; -NTI754974728.node = NNI754974728; -var NNI754974815 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI754974728, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI754974825, name: "Field1", sons: null}, -{kind: 1, offset: "Field2", len: 0, typ: NTI754974826, name: "Field2", sons: null}]}; -NTI754974815.node = NNI754974815; -NTI754974811.base = NTI754974815; -var NNI805306404 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI805306404.node = NNI805306404; -NTI805306405.base = NTI805306404; -var NNI754974816 = {kind: 2, len: 11, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "kind", len: 0, typ: NTI754974723, name: "kind", sons: null}, -{kind: 1, offset: "index", len: 0, typ: NTI33554435, name: "index", sons: null}, -{kind: 1, offset: "id", len: 0, typ: NTI33554450, name: "id", sons: null}, -{kind: 1, offset: "class", len: 0, typ: NTI33554450, name: "class", sons: null}, -{kind: 1, offset: "text", len: 0, typ: NTI33554450, name: "text", sons: null}, -{kind: 1, offset: "kids", len: 0, typ: NTI754974817, name: "kids", sons: null}, -{kind: 1, offset: "attrs", len: 0, typ: NTI754974818, name: "attrs", sons: null}, -{kind: 1, offset: "events", len: 0, typ: NTI754974811, name: "events", sons: null}, -{kind: 1, offset: "style", len: 0, typ: NTI805306405, name: "style", sons: null}, -{kind: 1, offset: "styleVersion", len: 0, typ: NTI33554435, name: "styleVersion", sons: null}, -{kind: 1, offset: "dom", len: 0, typ: NTI704643088, name: "dom", sons: null}]}; -NTI754974816.node = NNI754974816; -NTI754974816.base = NTI33555173; -NTI754974813.base = NTI754974816; -var NNI721420296 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "k", len: 0, typ: NTI721420295, name: "k", sons: null}, -{kind: 1, offset: "parent", len: 0, typ: NTI704643088, name: "parent", sons: null}, -{kind: 1, offset: "current", len: 0, typ: NTI704643088, name: "current", sons: null}, -{kind: 1, offset: "newNode", len: 0, typ: NTI754974813, name: "newNode", sons: null}, -{kind: 1, offset: "oldNode", len: 0, typ: NTI754974813, name: "oldNode", sons: null}]}; -NTI721420296.node = NNI721420296; -var NNI721420297 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI754974813, name: "parent", sons: null}, -{kind: 1, offset: "newChild", len: 0, typ: NTI754974813, name: "newChild", sons: null}, -{kind: 1, offset: "pos", len: 0, typ: NTI33554435, name: "pos", sons: null}]}; -NTI721420297.node = NNI721420297; -NTI754975002.base = NTI33554450; -var NNI1426071205 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1426071205.node = NNI1426071205; -var NNI1426071212 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1426071212.node = NNI1426071212; -var NNI1426071236 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1426071236.node = NNI1426071236; -var NNI1426071461 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1426071461.node = NNI1426071461; -var NNI1426063485 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554449, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554447, name: "Field1", sons: null}]}; -NTI1426063485.node = NNI1426063485; -NTI1426063484.base = NTI1426063485; -var NNI1426063905 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554435, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI33554466, name: "Field1", sons: null}]}; -NTI1426063905.node = NNI1426063905; -NTI1426070160.base = NTI1426063365; - -function mnewString(len_33557003) { - var result = new Array(len_33557003); - for (var i = 0; i < len_33557003; i++) {result[i] = 0;} - return result; - - - -} - -function toJSStr(s_33556901) { - var result_33556902 = null; - - var res_33556943 = newSeq_33556919((s_33556901).length); - var i_33556944 = 0; - var j_33556945 = 0; - Label1: { - Label2: while (true) { - if (!(i_33556944 < (s_33556901).length)) break Label2; - var c_33556946 = s_33556901[i_33556944]; - if ((c_33556946 < 128)) { - res_33556943[j_33556945] = String.fromCharCode(c_33556946); - i_33556944 += 1; - } - else { - var helper_33556959 = newSeq_33556919(0); - Label3: { - Label4: while (true) { - if (!true) break Label4; - var code_33556960 = c_33556946.toString(16); - if ((((code_33556960) == null ? 0 : (code_33556960).length) == 1)) { - helper_33556959.push("%0");; - } - else { - helper_33556959.push("%");; - } - - helper_33556959.push(code_33556960);; - i_33556944 += 1; - if ((((s_33556901).length <= i_33556944) || (s_33556901[i_33556944] < 128))) { - break Label3; - } - - c_33556946 = s_33556901[i_33556944]; - } - }; -++excHandler; - try { - res_33556943[j_33556945] = decodeURIComponent(helper_33556959.join("")); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - res_33556943[j_33556945] = helper_33556959.join(""); - lastJSError = prevJSError; - } finally { - } - } - - j_33556945 += 1; - } - }; - if (res_33556943.length < j_33556945) { for (var i = res_33556943.length ; i < j_33556945 ; ++i) res_33556943.push(null); } - else { res_33556943.length = j_33556945; }; - result_33556902 = res_33556943.join(""); - - return result_33556902; - -} - -function raiseException(e_33556653, ename_33556654) { - e_33556653.name = ename_33556654; - if ((excHandler == 0)) { - unhandledException(e_33556653); - } - - throw e_33556653; - - -} - -function addInt(a_33557050, b_33557051) { - var result = a_33557050 + b_33557051; - checkOverflowInt(result); - return result; - - - -} - -function chckRange(i_33557324, a_33557325, b_33557326) { - var result_33557327 = 0; - - BeforeRet: { - if (((a_33557325 <= i_33557324) && (i_33557324 <= b_33557326))) { - result_33557327 = i_33557324; - break BeforeRet; - } - else { - raiseRangeError(); - } - - }; - - return result_33557327; - -} - -function setConstr() { - var result = {}; - for (var i = 0; i < arguments.length; ++i) { - var x = arguments[i]; - if (typeof(x) == "object") { - for (var j = x[0]; j <= x[1]; ++j) { - result[j] = true; - } - } else { - result[x] = true; - } - } - return result; - - - -} -var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21); - -function nimCopy(dest_33557268, src_33557269, ti_33557270) { - var result_33557279 = null; - - switch (ti_33557270.kind) { - case 21: - case 22: - case 23: - case 5: - if (!(isFatPointer_33557259(ti_33557270))) { - result_33557279 = src_33557269; - } - else { - result_33557279 = [src_33557269[0], src_33557269[1]]; - } - - break; - case 19: - if (dest_33557268 === null || dest_33557268 === undefined) { - dest_33557268 = {}; - } - else { - for (var key in dest_33557268) { delete dest_33557268[key]; } - } - for (var key in src_33557269) { dest_33557268[key] = src_33557269[key]; } - result_33557279 = dest_33557268; - - break; - case 18: - case 17: - if (!((ti_33557270.base == null))) { - result_33557279 = nimCopy(dest_33557268, src_33557269, ti_33557270.base); - } - else { - if ((ti_33557270.kind == 17)) { - result_33557279 = (dest_33557268 === null || dest_33557268 === undefined) ? {m_type: ti_33557270} : dest_33557268; - } - else { - result_33557279 = (dest_33557268 === null || dest_33557268 === undefined) ? {} : dest_33557268; - } - } - nimCopyAux(result_33557279, src_33557269, ti_33557270.node); - break; - case 4: - case 16: - if(ArrayBuffer.isView(src_33557269)) { - if(dest_33557268 === null || dest_33557268 === undefined || dest_33557268.length != src_33557269.length) { - dest_33557268 = new src_33557269.constructor(src_33557269); - } else { - dest_33557268.set(src_33557269, 0); - } - result_33557279 = dest_33557268; - } else { - if (src_33557269 === null) { - result_33557279 = null; - } - else { - if (dest_33557268 === null || dest_33557268 === undefined || dest_33557268.length != src_33557269.length) { - dest_33557268 = new Array(src_33557269.length); - } - result_33557279 = dest_33557268; - for (var i = 0; i < src_33557269.length; ++i) { - result_33557279[i] = nimCopy(result_33557279[i], src_33557269[i], ti_33557270.base); - } - } - } - - break; - case 24: - case 27: - if (src_33557269 === null) { - result_33557279 = null; - } - else { - if (dest_33557268 === null || dest_33557268 === undefined || dest_33557268.length != src_33557269.length) { - dest_33557268 = new Array(src_33557269.length); - } - result_33557279 = dest_33557268; - for (var i = 0; i < src_33557269.length; ++i) { - result_33557279[i] = nimCopy(result_33557279[i], src_33557269[i], ti_33557270.base); - } - } - - break; - case 28: - if (src_33557269 !== null) { - result_33557279 = src_33557269.slice(0); - } - - break; - default: - result_33557279 = src_33557269; - break; - } - - return result_33557279; - -} - -function chckIndx(i_33557319, a_33557320, b_33557321) { - var result_33557322 = 0; - - BeforeRet: { - if (((a_33557320 <= i_33557319) && (i_33557319 <= b_33557321))) { - result_33557322 = i_33557319; - break BeforeRet; - } - else { - raiseIndexError(i_33557319, a_33557320, b_33557321); - } - - }; - - return result_33557322; - -} - -function makeNimstrLit(c_33556895) { - var result = []; - for (var i = 0; i < c_33556895.length; ++i) { - result[i] = c_33556895.charCodeAt(i); - } - return result; - - - -} - -function nimMax(a_33557108, b_33557109) { - var Temporary1; - - var result_33557110 = 0; - - BeforeRet: { - if ((b_33557109 <= a_33557108)) { - Temporary1 = a_33557108; - } - else { - Temporary1 = b_33557109; - } - - result_33557110 = Temporary1; - break BeforeRet; - }; - - return result_33557110; - -} - -function subInt(a_33557054, b_33557055) { - var result = a_33557054 - b_33557055; - checkOverflowInt(result); - return result; - - - -} - -function nimMin(a_33557104, b_33557105) { - var Temporary1; - - var result_33557106 = 0; - - BeforeRet: { - if ((a_33557104 <= b_33557105)) { - Temporary1 = a_33557104; - } - else { - Temporary1 = b_33557105; - } - - result_33557106 = Temporary1; - break BeforeRet; - }; - - return result_33557106; - -} -var ConstSet2 = setConstr(32, 9, 11, 13, 10, 12); -var ConstSet3 = setConstr(32, 9, 11, 13, 10, 12); - var speedLimit_1426063605 = {a: 125.0, b: 422.5}; - -function divInt(a_33557062, b_33557063) { - if (b_33557063 == 0) raiseDivByZero(); - if (b_33557063 == -1 && a_33557062 == 2147483647) raiseOverflow(); - return Math.trunc(a_33557062 / b_33557063); - - - -} -var ConstSet4 = setConstr(60, 62, 94); -var ConstSet5 = setConstr(60, 62, 94); -var ConstSet6 = setConstr(45, 43, 32); -var ConstSet7 = setConstr([48, 57]); -var ConstSet8 = setConstr([48, 57]); -var ConstSet9 = setConstr([48, 57]); - -function mulInt(a_33557058, b_33557059) { - var result = a_33557058 * b_33557059; - checkOverflowInt(result); - return result; - - - -} -var ConstSet10 = setConstr([65, 90], [97, 122]); - -function cstrToNimstr(c_33556898) { - var ln = c_33556898.length; - var result = new Array(ln); - var r = 0; - for (var i = 0; i < ln; ++i) { - var ch = c_33556898.charCodeAt(i); - - if (ch < 128) { - result[r] = ch; - } - else { - if (ch < 2048) { - result[r] = (ch >> 6) | 192; - } - else { - if (ch < 55296 || ch >= 57344) { - result[r] = (ch >> 12) | 224; - } - else { - ++i; - ch = 65536 + (((ch & 1023) << 10) | (c_33556898.charCodeAt(i) & 1023)); - result[r] = (ch >> 18) | 240; - ++r; - result[r] = ((ch >> 12) & 63) | 128; - } - ++r; - result[r] = ((ch >> 6) & 63) | 128; - } - ++r; - result[r] = (ch & 63) | 128; - } - ++r; - } - return result; - - - -} -var ConstSet11 = setConstr(46, 44); - -function nimCharToStr(x_33556441) { - var result_33556442 = []; - - result_33556442 = nimCopy(null, mnewString(1), NTI33554449); - result_33556442[0] = x_33556441; - - return result_33556442; - -} -var ConstSet12 = setConstr([65, 90]); -var ConstSet13 = setConstr([97, 122]); - -function addChar(x_33557415, c_33557416) { - x_33557415.push(c_33557416); - - -} - var unitWeights_1459617942 = new BigInt64Array([1n, 1000n, 1000000n, 1000000000n, 60000000000n, 3600000000000n, 86400000000000n, 604800000000000n]); - -function divInt64(a_33557084, b_33557085) { - if (b_33557085 == 0n) raiseDivByZero(); - if (b_33557085 == -1n && a_33557084 == 9223372036854775807n) raiseOverflow(); - return a_33557084 / b_33557085; - - - -} - -function modInt(a_33557066, b_33557067) { - if (b_33557067 == 0) raiseDivByZero(); - if (b_33557067 == -1 && a_33557066 == 2147483647) raiseOverflow(); - return Math.trunc(a_33557066 % b_33557067); - - - -} - -function modInt64(a_33557088, b_33557089) { - if (b_33557089 == 0n) raiseDivByZero(); - if (b_33557089 == -1n && a_33557088 == 9223372036854775807n) raiseOverflow(); - return a_33557088 % b_33557089; - - - -} - -function addInt64(a_33557072, b_33557073) { - var result = a_33557072 + b_33557073; - checkOverflowInt64(result); - return result; - - - -} - -function subInt64(a_33557076, b_33557077) { - var result = a_33557076 - b_33557077; - checkOverflowInt64(result); - return result; - - - -} - -function isObj(obj_33557398, subclass_33557399) { - var result_33557400 = false; - - BeforeRet: { - var x_33557401 = obj_33557398; - if ((x_33557401 == subclass_33557399)) { - result_33557400 = true; - break BeforeRet; - } - - Label1: { - Label2: while (true) { - if (!!((x_33557401 == subclass_33557399))) break Label2; - if ((x_33557401 == null)) { - result_33557400 = false; - break BeforeRet; - } - - x_33557401 = x_33557401.base; - } - }; - result_33557400 = true; - break BeforeRet; - }; - - return result_33557400; - -} - -function rawEcho() { - var buf = ""; - for (var i = 0; i < arguments.length; ++i) { - buf += toJSStr(arguments[i]); - } - console.log(buf); - - - -} - -function reraiseException() { - if ((lastJSError == null)) { - raiseException({message: [110,111,32,101,120,99,101,112,116,105,111,110,32,116,111,32,114,101,114,97,105,115,101], parent: null, m_type: NTI134217753, name: null, trace: [], up: null}, "ReraiseDefect"); - } - else { - if ((excHandler == 0)) { - if (isNimException_33556443()) { - unhandledException(lastJSError); - } - - } - - throw lastJSError; - } - - - -} - var trajectoryStrokeStyles_1426063558 = [[79,114,97,110,103,101], [75,104,97,107,105], [71,111,108,100], [89,101,108,108,111,119,71,114,101,101,110], [76,105,103,104,116,83,101,97,71,114,101,101,110], [114,103,98,40,50,48,48,44,32,50,48,48,44,32,50,53,48,41], [83,107,121,66,108,117,101], [67,111,114,110,102,108,111,119,101,114,66,108,117,101], [83,108,97,116,101,66,108,117,101], [68,97,114,107,79,114,99,104,105,100], [86,105,111,108,101,116], [80,105,110,107], [72,111,116,80,105,110,107], [67,114,105,109,115,111,110], [79,114,97,110,103,101,82,101,100], [83,97,108,109,111,110]]; -var ConstSet14 = setConstr([48, 57]); -var ConstSet15 = setConstr([48, 57]); -var ConstSet16 = setConstr([65, 90]); - var timeSteps_1426063536 = new Float64Array([0.25, 0.5, 1.0, 2.0, 3.0]); - var bulletsLimitRange_1426063613 = {a: 1, b: 100}; -var ConstSet17 = setConstr([88, 148]); - var toTag_754975044 = ["#text", "#int", "#bool", "#vthunk", "#dthunk", "#component", "#verbatim", "html", "head", "title", "base", "link", "meta", "style", "script", "noscript", "body", "section", "nav", "article", "aside", "h1", "h2", "h3", "h4", "h5", "h6", "hgroup", "header", "footer", "address", "main", "p", "hr", "pre", "blockquote", "ol", "ul", "li", "dl", "dt", "dd", "figure", "figcaption", "div", "a", "em", "strong", "small", "s", "cite", "quote", "dfn", "abbr", "data", "time", "code", "var", "samp", "kbd", "sub", "sup", "i", "b", "u", "mark", "ruby", "rt", "rp", "bdi", "dbo", "span", "br", "wbr", "ins", "del", "img", "iframe", "embed", "object", "param", "video", "audio", "source", "track", "canvas", "map", "area", "animate", "animateMotion", "animateTransform", "circle", "clipPath", "defs", "desc", "discard", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "set", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "unknown", "use", "view", "maction", "math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msubsup", "msup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "semantics", "table", "caption", "colgroup", "col", "tbody", "thead", "tfoot", "tr", "td", "th", "form", "fieldset", "legend", "label", "input", "button", "select", "datalist", "optgroup", "option", "textarea", "keygen", "output", "progress", "meter", "details", "summary", "command", "menu", "bdo", "dialog", "slot", "template"]; -var ConstSet18 = setConstr([149, 179]); -var ConstSet19 = setConstr([88, 148]); - var toEventName_754975121 = ["click", "contextmenu", "dblclick", "keyup", "keydown", "keypressed", "focus", "blur", "change", "scroll", "mousedown", "mouseenter", "mouseleave", "mousemove", "mouseout", "mouseover", "mouseup", "drag", "dragend", "dragenter", "dragleave", "dragover", "dragstart", "drop", "submit", "input", "animationstart", "animationend", "animationiteration", "keyupenter", "keyuplater", "load", "transitioncancel", "transitionend", "transitionrun", "transitionstart", "wheel"]; -var ConstSet20 = setConstr([88, 148]); -var ConstSet21 = setConstr([48, 57]); -var ConstSet22 = setConstr(0, 125); -var ConstSet23 = setConstr([48, 57]); -var ConstSet24 = setConstr([65, 90]); -var ConstSet25 = setConstr([97, 122], [65, 90], [48, 57], [128, 255], 95); - -function reprEnum(e_33557576, typ_33557577) { - var result_33557578 = []; - - var tmp_33557579 = false; - var item_33557580 = typ_33557577.node.sons[e_33557576]; - tmp_33557579 = item_33557580 !== undefined - if (tmp_33557579) { - result_33557578 = nimCopy(null, makeNimstrLit(item_33557580.name), NTI33554449); - } - else { - result_33557578 = nimCopy(null, (HEX24_385875976(e_33557576) || []).concat([32,40,105,110,118,97,108,105,100,32,100,97,116,97,33,41] || []), NTI33554449); - } - - - return result_33557578; - -} - -function nimBoolToStr(x_33556438) { - var result_33556439 = []; - - if (x_33556438) { - result_33556439 = nimCopy(null, [116,114,117,101], NTI33554449); - } - else { - result_33556439 = nimCopy(null, [102,97,108,115,101], NTI33554449); - } - - - return result_33556439; - -} -var ConstSet26 = setConstr(32, 9, 11, 13, 10, 12); -var ConstSet27 = setConstr(32, 9, 11, 13, 10, 12); -var ConstSet28 = setConstr(32, 9, 11, 13, 10, 12); - var passwordRange_1426063619 = {a: 4, b: 20}; - var cb64safe_1627389957 = new Uint8Array([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 45, 95]); - var cb64_1627389956 = new Uint8Array([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47]); -var ConstSet29 = setConstr(32, 9, 11, 13, 10, 12); -var ConstSet30 = setConstr(32, 9, 11, 13, 10, 12); -var ConstSet31 = setConstr(32, 9, 11, 13, 10, 12); -var ConstSet32 = setConstr([97, 122], [65, 90], [48, 57], 95); -var ConstSet33 = setConstr([97, 122], [65, 90], [48, 57], 95); -var ConstSet34 = setConstr([48, 57]); -var ConstSet35 = setConstr([48, 57]); -var ConstSet36 = setConstr(101, 69); -var ConstSet37 = setConstr([48, 57]); -var ConstSet38 = setConstr([48, 57]); - -function nimParseBiggestFloat(s_33557448, number_33557449, number_33557449_Idx) { - var Temporary1; - - var result_33557450 = 0; - - BeforeRet: { - var sign_33557451 = false; - var i_33557452 = 0; - if ((s_33557448[i_33557452] == 43)) { - i_33557452 += 1; - } - else { - if ((s_33557448[i_33557452] == 45)) { - sign_33557451 = true; - i_33557452 += 1; - } - } - if (((s_33557448[i_33557452] == 78) || (s_33557448[i_33557452] == 110))) { - if (((s_33557448[(i_33557452 + 1)] == 65) || (s_33557448[(i_33557452 + 1)] == 97))) { - if (((s_33557448[(i_33557452 + 2)] == 78) || (s_33557448[(i_33557452 + 2)] == 110))) { - if (!((ConstSet32[s_33557448[(i_33557452 + 3)]] != undefined))) { - number_33557449[number_33557449_Idx] = NaN; - result_33557450 = (i_33557452 + 3); - break BeforeRet; - } - - } - - } - - result_33557450 = 0; - break BeforeRet; - } - - if (((s_33557448[i_33557452] == 73) || (s_33557448[i_33557452] == 105))) { - if (((s_33557448[(i_33557452 + 1)] == 78) || (s_33557448[(i_33557452 + 1)] == 110))) { - if (((s_33557448[(i_33557452 + 2)] == 70) || (s_33557448[(i_33557452 + 2)] == 102))) { - if (!((ConstSet33[s_33557448[(i_33557452 + 3)]] != undefined))) { - if (sign_33557451) { - Temporary1 = -Infinity; - } - else { - Temporary1 = Infinity; - } - - number_33557449[number_33557449_Idx] = Temporary1; - result_33557450 = (i_33557452 + 3); - break BeforeRet; - } - - } - - } - - result_33557450 = 0; - break BeforeRet; - } - - var buf_33557471 = []; - if (sign_33557451) { - addChar(buf_33557471, 45);; - } - - Label2: { - Label3: while (true) { - if (!(ConstSet34[s_33557448[i_33557452]] != undefined)) break Label3; - addChar(buf_33557471, s_33557448[i_33557452]);; - i_33557452 += 1; - Label4: { - Label5: while (true) { - if (!(s_33557448[i_33557452] == 95)) break Label5; - i_33557452 += 1; - } - }; - } - }; - if ((s_33557448[i_33557452] == 46)) { - addChar(buf_33557471, s_33557448[i_33557452]);; - i_33557452 += 1; - Label6: { - Label7: while (true) { - if (!(ConstSet35[s_33557448[i_33557452]] != undefined)) break Label7; - addChar(buf_33557471, s_33557448[i_33557452]);; - i_33557452 += 1; - Label8: { - Label9: while (true) { - if (!(s_33557448[i_33557452] == 95)) break Label9; - i_33557452 += 1; - } - }; - } - }; - } - - if (((buf_33557471).length == (sign_33557451 ? 1 : 0))) { - result_33557450 = 0; - break BeforeRet; - } - - if ((ConstSet36[s_33557448[i_33557452]] != undefined)) { - addChar(buf_33557471, s_33557448[i_33557452]);; - i_33557452 += 1; - if ((s_33557448[i_33557452] == 43)) { - i_33557452 += 1; - } - else { - if ((s_33557448[i_33557452] == 45)) { - addChar(buf_33557471, s_33557448[i_33557452]);; - i_33557452 += 1; - } - } - if (!((ConstSet37[s_33557448[i_33557452]] != undefined))) { - result_33557450 = 0; - break BeforeRet; - } - - Label10: { - Label11: while (true) { - if (!(ConstSet38[s_33557448[i_33557452]] != undefined)) break Label11; - addChar(buf_33557471, s_33557448[i_33557452]);; - i_33557452 += 1; - Label12: { - Label13: while (true) { - if (!(s_33557448[i_33557452] == 95)) break Label13; - i_33557452 += 1; - } - }; - } - }; - } - - number_33557449[number_33557449_Idx] = parseFloatNative_33557428(buf_33557471); - result_33557450 = i_33557452; - }; - - return result_33557450; - -} -var svgNamespace_754974946 = [[104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,50,48,48,48,47,115,118,103]]; -var mathNamespace_754974947 = [[104,116,116,112,58,47,47,119,119,119,46,119,51,46,111,114,103,47,49,57,57,56,47,77,97,116,104,47,77,97,116,104,77,76]]; -var gid_754975436 = [0]; -var objectID_1308623025 = [0]; -var vcomponents_788529165 = [{}]; -var kxi__ = null; -if (globalThis.utcInstance_1459619445 === undefined) { - globalThis.utcInstance_1459619445 = [null]; -} -if (globalThis.localInstance_1459619446 === undefined) { - globalThis.localInstance_1459619446 = [null]; -} -function getCircularReplacer() { - const ancestors = []; - return function (key, value) { - if (typeof value !== "object" || value === null) { - return value; - } - // this is the object that value is contained in, - // i.e., its direct parent. - while (ancestors.length > 0 && ancestors.at(-1) !== this) { - ancestors.pop(); - } - if (ancestors.includes(value)) { - return "[Circular]"; - } - ancestors.push(value); - return value; - }; -} - -function drawArrow(ctx, fromx, fromy, tox, toy, arrowWidth, color){ - //variables to be used when creating the arrow - var headlen = 10; - var angle = Math.atan2(toy-fromy,tox-fromx); - - //ctx.save(); - ctx.strokeStyle = color; - ctx.fillStyle = color; - - //starting path of the arrow from the start square to the end square - //and drawing the stroke - ctx.beginPath(); - ctx.moveTo(fromx, fromy); - ctx.lineTo(tox, toy); - ctx.lineWidth = arrowWidth; - ctx.stroke(); - - //starting a new path from the head of the arrow to one of the sides of - //the point - ctx.beginPath(); - ctx.moveTo(tox, toy); - ctx.lineTo(tox-headlen*Math.cos(angle-Math.PI/7), - toy-headlen*Math.sin(angle-Math.PI/7)); - - //path from the side point of the arrow, to the other side point - ctx.lineTo(tox-headlen*Math.cos(angle+Math.PI/7), - toy-headlen*Math.sin(angle+Math.PI/7)); - - //path from the side point back to the tip of the arrow, and then - //again to the opposite side point - ctx.lineTo(tox, toy); - ctx.lineTo(tox-headlen*Math.cos(angle-Math.PI/7), - toy-headlen*Math.sin(angle-Math.PI/7)); - - //draws the paths created above - ctx.stroke(); - //ctx.restore(); -} - - -function add_33556373(x_33556374, x_33556374_Idx, y_33556375) { - if (x_33556374[x_33556374_Idx] === null) { x_33556374[x_33556374_Idx] = []; } - var off = x_33556374[x_33556374_Idx].length; - x_33556374[x_33556374_Idx].length += y_33556375.length; - for (var i = 0; i < y_33556375.length; ++i) { - x_33556374[x_33556374_Idx][off+i] = y_33556375.charCodeAt(i); - } - - - -} - -function newSeq_33556919(len_33556921) { - var result_33556922 = []; - - result_33556922 = new Array(len_33556921); for (var i = 0 ; i < len_33556921 ; ++i) { result_33556922[i] = null; } - return result_33556922; - -} - -function unhandledException(e_33556649) { - var buf_33556650 = [[]]; - if (!(((e_33556649.message).length == 0))) { - buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110,58,32]);; - buf_33556650[0].push.apply(buf_33556650[0], e_33556649.message);; - } - else { - buf_33556650[0].push.apply(buf_33556650[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110]);; - } - - buf_33556650[0].push.apply(buf_33556650[0], [32,91]);; - add_33556373(buf_33556650, 0, e_33556649.name); - buf_33556650[0].push.apply(buf_33556650[0], [93,10]);; - var cbuf_33556651 = toJSStr(buf_33556650[0]); - if (typeof(Error) !== "undefined") { - throw new Error(cbuf_33556651); - } - else { - throw cbuf_33556651; - } - - - -} - -function raiseOverflow() { - raiseException({message: [111,118,101,114,45,32,111,114,32,117,110,100,101,114,102,108,111,119], parent: null, m_type: NTI134217743, name: null, trace: [], up: null}, "OverflowDefect"); - - -} - -function checkOverflowInt(a_33557048) { - if (a_33557048 > 2147483647 || a_33557048 < -2147483648) raiseOverflow(); - - - -} - -function raiseRangeError() { - raiseException({message: [118,97,108,117,101,32,111,117,116,32,111,102,32,114,97,110,103,101], parent: null, m_type: NTI134217751, name: null, trace: [], up: null}, "RangeDefect"); - - -} - -function addChars_301990090(result_301990092, result_301990092_Idx, x_301990093, start_301990094, n_301990095) { - var Temporary1; - - var old_301990096 = (result_301990092[result_301990092_Idx]).length; - if (result_301990092[result_301990092_Idx].length < (Temporary1 = chckRange(addInt(old_301990096, n_301990095), 0, 2147483647), Temporary1)) { for (var i = result_301990092[result_301990092_Idx].length; i < Temporary1; ++i) result_301990092[result_301990092_Idx].push(0); } - else {result_301990092[result_301990092_Idx].length = Temporary1; }; - Label2: { - var iHEX60gensym4_301990110 = 0; - var i_1711276634 = 0; - Label3: { - Label4: while (true) { - if (!(i_1711276634 < n_301990095)) break Label4; - iHEX60gensym4_301990110 = i_1711276634; - result_301990092[result_301990092_Idx][chckIndx(addInt(old_301990096, iHEX60gensym4_301990110), 0, (result_301990092[result_301990092_Idx]).length - 1)] = x_301990093.charCodeAt(chckIndx(addInt(start_301990094, iHEX60gensym4_301990110), 0, (x_301990093).length - 1)); - i_1711276634 = addInt(i_1711276634, 1); - } - }; - }; - - -} - -function addChars_301990086(result_301990088, result_301990088_Idx, x_301990089) { - addChars_301990090(result_301990088, result_301990088_Idx, x_301990089, 0, ((x_301990089) == null ? 0 : (x_301990089).length)); - - -} - -function addInt_301990111(result_301990112, result_301990112_Idx, x_301990113) { - addChars_301990086(result_301990112, result_301990112_Idx, ((x_301990113) + "")); - - -} - -function addInt_301990129(result_301990130, result_301990130_Idx, x_301990131) { - addInt_301990111(result_301990130, result_301990130_Idx, BigInt(x_301990131)); - - -} - -function HEX24_385875976(x_385875977) { - var result_385875978 = [[]]; - - addInt_301990129(result_385875978, 0, x_385875977); - - return result_385875978[0]; - -} - -function isFatPointer_33557259(ti_33557260) { - var result_33557261 = false; - - BeforeRet: { - result_33557261 = !((ConstSet1[ti_33557260.base.kind] != undefined)); - break BeforeRet; - }; - - return result_33557261; - -} - -function nimCopyAux(dest_33557272, src_33557273, n_33557274) { - switch (n_33557274.kind) { - case 0: - break; - case 1: - dest_33557272[n_33557274.offset] = nimCopy(dest_33557272[n_33557274.offset], src_33557273[n_33557274.offset], n_33557274.typ); - - break; - case 2: - for (var i = 0; i < n_33557274.sons.length; i++) { - nimCopyAux(dest_33557272, src_33557273, n_33557274.sons[i]); - } - - break; - case 3: - dest_33557272[n_33557274.offset] = nimCopy(dest_33557272[n_33557274.offset], src_33557273[n_33557274.offset], n_33557274.typ); - for (var i = 0; i < n_33557274.sons.length; ++i) { - nimCopyAux(dest_33557272, src_33557273, n_33557274.sons[i][1]); - } - - break; - } - - -} - -function raiseIndexError(i_33556812, a_33556813, b_33556814) { - var Temporary1; - - if ((b_33556814 < a_33556813)) { - Temporary1 = [105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,44,32,116,104,101,32,99,111,110,116,97,105,110,101,114,32,105,115,32,101,109,112,116,121]; - } - else { - Temporary1 = ([105,110,100,101,120,32] || []).concat(HEX24_385875976(i_33556812) || [],[32,110,111,116,32,105,110,32] || [],HEX24_385875976(a_33556813) || [],[32,46,46,32] || [],HEX24_385875976(b_33556814) || []); - } - - raiseException({message: nimCopy(null, Temporary1, NTI33554449), parent: null, m_type: NTI134217749, name: null, trace: [], up: null}, "IndexDefect"); - - -} - -function jsVec_1711276266(x_1711276269, y_1711276270) { - -function innerHEX60gensym56_1711276274() { - var result_1711276275 = null; - - BeforeRet: { - var a_1711276276 = null; - a_1711276276 = {}; - a_1711276276.x = x_1711276269; - a_1711276276.y = y_1711276270; - result_1711276275 = a_1711276276; - break BeforeRet; - }; - - return result_1711276275; - - } - - var result_1711276271 = null; - - result_1711276271 = innerHEX60gensym56_1711276274(); - - return result_1711276271; - -} - -function sysFatal_268435501(message_268435504) { - raiseException({message: nimCopy(null, message_268435504, NTI33554449), m_type: NTI134217745, parent: null, name: null, trace: [], up: null}, "AssertionDefect"); - - -} - -function raiseAssert_268435499(msg_268435500) { - sysFatal_268435501(msg_268435500); - - -} - -function failedAssertImpl_268435541(msg_268435542) { - raiseAssert_268435499(msg_268435542); - - -} - -function HEX3Aanonymous_1711276038(mouseCons_1711276039, bodies_1711276040) { - var Temporary4; - var Temporary5; - -function innerHEX60gensym83_1711276363() { - var result_1711276364 = null; - - BeforeRet: { - var a_1711276365 = null; - a_1711276365 = {}; - a_1711276365.mouse = mouse_1711276044; - a_1711276365.body = b_1711276086; - result_1711276364 = a_1711276365; - break BeforeRet; - }; - - return result_1711276364; - - } - - var mouse_1711276044 = mouseCons_1711276039.mouse; - var cons_1711276048 = mouseCons_1711276039.constraint; - var body_1711276052 = mouseCons_1711276039.body; - if (((!cons_1711276048.bodyB))) { - Label1: { - var b_1711276086 = null; - var colontmp__1711276625 = []; - colontmp__1711276625 = (bodies_1711276040); - var i_1711276627 = 0; - var L_1711276628 = (colontmp__1711276625).length; - Label2: { - Label3: while (true) { - if (!(i_1711276627 < L_1711276628)) break Label3; - b_1711276086 = colontmp__1711276625[chckIndx(i_1711276627, 0, (colontmp__1711276625).length - 1)]; - if (!(Matter.Bounds.contains((b_1711276086.bounds), (mouse_1711276044.position)))) Temporary4 = false; else { Temporary4 = (Matter.Detector.canCollide((b_1711276086.collisionFilter), (mouseCons_1711276039.collisionFilter))); } if (Temporary4) { - if ((1 < (b_1711276086.parts.length))) { - Temporary5 = 1; - } - else { - Temporary5 = 0; - } - - var i_1711276161 = Temporary5; - Label6: { - Label7: while (true) { - if (!(i_1711276161 < (b_1711276086.parts.length))) break Label7; - var part_1711276175 = b_1711276086.parts[i_1711276161]; - if ((Matter.Vertices.contains((part_1711276175.vertices), (mouse_1711276044.position)))) { - cons_1711276048.pointA = mouse_1711276044.position; - mouseCons_1711276039.body = b_1711276086; - cons_1711276048.bodyB = mouseCons_1711276039.body; - cons_1711276048.pointB = jsVec_1711276266((mouse_1711276044.position.x - b_1711276086.position.x), (mouse_1711276044.position.y - b_1711276086.position.y)); - cons_1711276048.angleB = b_1711276086.angle; - Matter.Sleeping.set((b_1711276086), (false)); - Matter.Events.trigger((mouseCons_1711276039), ("startdrag"), (innerHEX60gensym83_1711276363())); - break Label6; - } - - i_1711276161 = addInt(i_1711276161, 1); - } - }; - } - - i_1711276627 = addInt(i_1711276627, 1); - if (!(((colontmp__1711276625).length == L_1711276628))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - } - - - -} - -function HEX3Aanonymous_1711276438(mouseCons_1711276439) { - -function innerHEX60gensym113_1711276506() { - var result_1711276507 = null; - - BeforeRet: { - var a_1711276508 = null; - a_1711276508 = {}; - a_1711276508.mouse = mouse_1711276443; - a_1711276508.body = body_1711276451; - result_1711276507 = a_1711276508; - break BeforeRet; - }; - - return result_1711276507; - - } - - var mouse_1711276443 = mouseCons_1711276439.mouse; - var cons_1711276447 = mouseCons_1711276439.constraint; - var body_1711276451 = mouseCons_1711276439.body; - mouseCons_1711276439.body = null; - cons_1711276447.bodyB = mouseCons_1711276439.body; - cons_1711276447.pointB = null; - if ((body_1711276451)) { - Matter.Events.trigger((mouseCons_1711276439), ("enddrag"), (innerHEX60gensym113_1711276506())); - } - - - -} - -function HEX3Aanonymous_1711276560(mouseCons_1711276561) { - var mouse_1711276565 = mouseCons_1711276561.mouse; - var cons_1711276569 = mouseCons_1711276561.constraint; - if ((cons_1711276569.bodyB)) { - Matter.Sleeping.set((cons_1711276569.bodyB), (false)); - cons_1711276569.pointA = mouse_1711276565.position; - } - - - -} -Matter.MouseConstraint.onmousedown = HEX3Aanonymous_1711276038; -Matter.MouseConstraint.onmouseup = HEX3Aanonymous_1711276438; -Matter.MouseConstraint.update = HEX3Aanonymous_1711276560; - -function substrEq_872415487(s_872415488, pos_872415489, substr_872415490) { - var Temporary1; - - var result_872415491 = false; - - var length_872415492 = (substr_872415490).length; - if ((0 < length_872415492)) { - var i_872415493 = 0; - Label2: { - Label3: while (true) { - if (!(((i_872415493 < length_872415492) && (addInt(pos_872415489, i_872415493) < (s_872415488).length)) && (s_872415488[chckIndx(addInt(pos_872415489, i_872415493), 0, (s_872415488).length - 1)] == substr_872415490[chckIndx(i_872415493, 0, (substr_872415490).length - 1)]))) break Label3; - i_872415493 = addInt(i_872415493, 1); - } - }; - Temporary1 = (i_872415493 == length_872415492); - } - else { - Temporary1 = false; - } - - result_872415491 = Temporary1; - - return result_872415491; - -} - -function substr_33558079(s_33558080, first_33558081, last_33558082) { - var result_33558083 = []; - - var first_33558084 = nimMax(first_33558081, 0); - var L_33558085 = nimMax(addInt(subInt(nimMin(last_33558082, (s_33558080).length - 1), first_33558084), 1), 0); - result_33558083 = nimCopy(null, mnewString(chckRange(L_33558085, 0, 2147483647)), NTI33554449); - Label1: { - var i_33558090 = 0; - var colontmp__1862270995 = 0; - colontmp__1862270995 = subInt(L_33558085, 1); - var res_1862270996 = 0; - Label2: { - Label3: while (true) { - if (!(res_1862270996 <= colontmp__1862270995)) break Label3; - i_33558090 = res_1862270996; - result_33558083[chckIndx(i_33558090, 0, (result_33558083).length - 1)] = s_33558080[chckIndx(addInt(i_33558090, first_33558084), 0, (s_33558080).length - 1)]; - res_1862270996 = addInt(res_1862270996, 1); - } - }; - }; - - return result_33558083; - -} - -function nsuStrip(s_872417754, leading_872417755, trailing_872417756, chars_872417757) { - var result_872417758 = []; - - var first_872417759 = 0; - var last_872417760 = subInt((s_872417754).length, 1); - if (leading_872417755) { - Label1: { - Label2: while (true) { - if (!((first_872417759 <= last_872417760) && (chars_872417757[s_872417754[chckIndx(first_872417759, 0, (s_872417754).length - 1)]] != undefined))) break Label2; - first_872417759 = addInt(first_872417759, 1); - } - }; - } - - if (trailing_872417756) { - Label3: { - Label4: while (true) { - if (!((first_872417759 <= last_872417760) && (chars_872417757[s_872417754[chckIndx(last_872417760, 0, (s_872417754).length - 1)]] != undefined))) break Label4; - last_872417760 = subInt(last_872417760, 1); - } - }; - } - - result_872417758 = nimCopy(null, substr_33558079(s_872417754, first_872417759, last_872417760), NTI33554449); - - return result_872417758; - -} - -function nsuSplitString(s_872415807, sep_872415808, maxsplit_872415809) { - var Temporary2; - - var result_872415810 = []; - - result_872415810 = nimCopy(null, [], NTI872415638); - Label1: { - var xHEX60gensym69_872415816 = []; - if (((sep_872415808).length == 0)) { - Temporary2 = 1; - } - else { - Temporary2 = (sep_872415808).length; - } - - var sepLen_1426074242 = Temporary2; - var lastHEX60gensym41_1426074243 = 0; - var splitsHEX60gensym41_1426074244 = maxsplit_872415809; - Label3: { - Label4: while (true) { - if (!(lastHEX60gensym41_1426074243 <= (s_872415807).length)) break Label4; - var firstHEX60gensym41_1426074246 = lastHEX60gensym41_1426074243; - Label5: { - Label6: while (true) { - if (!((lastHEX60gensym41_1426074243 < (s_872415807).length) && !(substrEq_872415487(s_872415807, lastHEX60gensym41_1426074243, sep_872415808)))) break Label6; - lastHEX60gensym41_1426074243 = addInt(lastHEX60gensym41_1426074243, 1); - } - }; - if ((splitsHEX60gensym41_1426074244 == 0)) { - lastHEX60gensym41_1426074243 = (s_872415807).length; - } - - xHEX60gensym69_872415816 = substr_33558079(s_872415807, firstHEX60gensym41_1426074246, subInt(lastHEX60gensym41_1426074243, 1)); - var Temporary7 = nimCopy(null, xHEX60gensym69_872415816, NTI33554449); - result_872415810.push(Temporary7);; - if ((splitsHEX60gensym41_1426074244 == 0)) { - break Label3; - } - - splitsHEX60gensym41_1426074244 = subInt(splitsHEX60gensym41_1426074244, 1); - lastHEX60gensym41_1426074243 = addInt(lastHEX60gensym41_1426074243, sepLen_1426074242); - } - }; - }; - - return result_872415810; - -} - -function setAttr_822083896(s_822083897, a_822083898, value_822083899) { - BeforeRet: { - s_822083897.__version = addInt((s_822083897.__version || 0), 1);; - var i_822083900 = 0; - Label1: { - Label2: while (true) { - if (!(i_822083900 < s_822083897.length)) break Label2; - if ((s_822083897[i_822083900] == a_822083898)) { - s_822083897[addInt(i_822083900, 1)] = value_822083899; - break BeforeRet; - } - else { - if ((a_822083898 < s_822083897[i_822083900])) { - s_822083897.push(""); - s_822083897.push(""); - Label3: { - var j_822083941 = 0; - var colontmp__1426074250 = 0; - var colontmp__1426074251 = 0; - colontmp__1426074250 = subInt(s_822083897.length, 1); - colontmp__1426074251 = addInt(i_822083900, 3); - var res_1426074252 = colontmp__1426074250; - Label4: { - Label5: while (true) { - if (!(colontmp__1426074251 <= res_1426074252)) break Label5; - j_822083941 = res_1426074252; - s_822083897[j_822083941] = s_822083897[subInt(j_822083941, 2)]; - s_822083897[subInt(j_822083941, 1)] = s_822083897[subInt(j_822083941, 3)]; - res_1426074252 = subInt(res_1426074252, 2); - } - }; - }; - s_822083897[i_822083900] = a_822083898; - s_822083897[addInt(i_822083900, 1)] = value_822083899; - break BeforeRet; - } - } - i_822083900 = addInt(i_822083900, 2); - } - }; - s_822083897.push(a_822083898); - s_822083897.push(value_822083899); - }; - - -} - -function toCss_822084081(a_822084082) { - var result_822084083 = null; - - result_822084083 = new Array(0); - Label1: { - var ai_822084087 = []; - var sepLen_1426074232 = 1; - var lastHEX60gensym41_1426074233 = 0; - var splitsHEX60gensym41_1426074234 = (-1); - Label2: { - Label3: while (true) { - if (!(lastHEX60gensym41_1426074233 <= (a_822084082).length)) break Label3; - var firstHEX60gensym41_1426074236 = lastHEX60gensym41_1426074233; - Label4: { - Label5: while (true) { - if (!((lastHEX60gensym41_1426074233 < (a_822084082).length) && !(substrEq_872415487(a_822084082, lastHEX60gensym41_1426074233, [59])))) break Label5; - lastHEX60gensym41_1426074233 = addInt(lastHEX60gensym41_1426074233, 1); - } - }; - if ((splitsHEX60gensym41_1426074234 == 0)) { - lastHEX60gensym41_1426074233 = (a_822084082).length; - } - - ai_822084087 = substr_33558079(a_822084082, firstHEX60gensym41_1426074236, subInt(lastHEX60gensym41_1426074233, 1)); - Label6: { - var ai_822084088 = nsuStrip(ai_822084087, true, true, ConstSet2); - if (((ai_822084088).length == 0)) { - break Label6; - } - - var aj_822084089 = nsuSplitString(nsuStrip(ai_822084088, true, true, ConstSet3), [58], 1); - setAttr_822083896(result_822084083, toJSStr(aj_822084089[chckIndx(0, 0, (aj_822084089).length - 1)]), toJSStr(aj_822084089[chckIndx(1, 0, (aj_822084089).length - 1)])); - }; - if ((splitsHEX60gensym41_1426074234 == 0)) { - break Label2; - } - - splitsHEX60gensym41_1426074234 = subInt(splitsHEX60gensym41_1426074234, 1); - lastHEX60gensym41_1426074233 = addInt(lastHEX60gensym41_1426074233, sepLen_1426074232); - } - }; - }; - - return result_822084083; - -} -var formulaAccordionBodyStyle_1426063623 = toCss_822084081([112,97,100,100,105,110,103,45,108,101,102,116,58,32,48,46,53,101,109,59,32,111,118,101,114,102,108,111,119,58,32,97,117,116,111,59,32,115,99,114,111,108,108,98,97,114,45,119,105,100,116,104,58,32,116,104,105,110,59]); - -function radToDeg_1426063740(d_1426063742) { - var result_1426063743 = 0.0; - - result_1426063743 = (d_1426063742 / 0.017453292519943295); - - return result_1426063743; - -} - -function degToRad_1694498964(d_1694498966) { - var result_1694498967 = 0.0; - - result_1694498967 = (d_1694498966 * 0.017453292519943295); - - return result_1694498967; - -} - -function nimFloatToString_402653337(a_402653338) { - var result_402653339 = null; - - function nimOnlyDigitsOrMinus(n) { - return n.toString().match(/^-?\d+$/); - } - if (Number.isSafeInteger(a_402653338)) - result_402653339 = a_402653338 === 0 && 1 / a_402653338 < 0 ? "-0.0" : a_402653338+".0" - else { - result_402653339 = a_402653338+"" - if(nimOnlyDigitsOrMinus(result_402653339)){ - result_402653339 = a_402653338+".0" - } - } - - - return result_402653339; - -} - -function addFloat_33557563(result_33557565, result_33557565_Idx, x_33557566) { - add_33556373(result_33557565, result_33557565_Idx, nimFloatToString_402653337(x_33557566)); - - -} - -function addQuoted_1426063697(s_1426063699, s_1426063699_Idx, x_1426063700) { - addFloat_33557563(s_1426063699, s_1426063699_Idx, x_1426063700); - - -} - -function HEX24_1426063668(x_1426063670) { - var result_1426063671 = [[]]; - - result_1426063671[0] = nimCopy(null, [40], NTI33554449); - var countHEX60gensym0_1426063682 = 0; - if ((0 < countHEX60gensym0_1426063682)) { - result_1426063671[0].push.apply(result_1426063671[0], [44,32]);; - } - - countHEX60gensym0_1426063682 += 1; - addQuoted_1426063697(result_1426063671, 0, x_1426063670["Field0"]); - if ((0 < countHEX60gensym0_1426063682)) { - result_1426063671[0].push.apply(result_1426063671[0], [44,32]);; - } - - countHEX60gensym0_1426063682 += 1; - addQuoted_1426063697(result_1426063671, 0, x_1426063670["Field1"]); - if ((countHEX60gensym0_1426063682 == 1)) { - result_1426063671[0].push.apply(result_1426063671[0], [44]);; - } - - result_1426063671[0].push.apply(result_1426063671[0], [41]);; - - return result_1426063671[0]; - -} - -function clamp_1426063727(x_1426063729, a_1426063730, b_1426063731) { - var result_1426063732 = 0.0; - - BeforeRet: { - if ((x_1426063729 < a_1426063730)) { - result_1426063732 = a_1426063730; - break BeforeRet; - } - - if ((b_1426063731 < x_1426063729)) { - result_1426063732 = b_1426063731; - break BeforeRet; - } - - result_1426063732 = x_1426063729; - break BeforeRet; - }; - - return result_1426063732; - -} - -function clamp_1426063663(val_1426063665, bounds_1426063666) { - var result_1426063667 = 0.0; - - if (!((bounds_1426063666.a <= bounds_1426063666.b))) { - failedAssertImpl_268435541(([109,97,116,104,46,110,105,109,40,49,50,57,57,44,32,51,41,32,96,98,111,117,110,100,115,46,97,32,60,61,32,98,111,117,110,100,115,46,98,96,32] || []).concat(HEX24_1426063668({Field0: bounds_1426063666.a, Field1: bounds_1426063666.b}) || [])); - } - - result_1426063667 = clamp_1426063727(val_1426063665, bounds_1426063666.a, bounds_1426063666.b); - - return result_1426063667; - -} - -function speedToVelRad_1694498977(speed_1694498978, angleRad_1694498979) { - var result_1694498982 = {Field0: 0.0, Field1: 0.0}; - - var colontmp__570425474 = (Math.cos(angleRad_1694498979) * speed_1694498978); - var colontmp__570425475 = (Math.sin(angleRad_1694498979) * speed_1694498978); - result_1694498982 = nimCopy(result_1694498982, {Field0: colontmp__570425474, Field1: colontmp__570425475}, NTI1694498889); - - return result_1694498982; - -} - -function setSpeed_1426063660(state_1426063661, speed_1426063662) { - state_1426063661.speed = clamp_1426063663(speed_1426063662, speedLimit_1426063605); - state_1426063661.vel = nimCopy(state_1426063661.vel, speedToVelRad_1694498977(state_1426063661.speed, state_1426063661.angleRad), NTI1677721603); - - -} - -function initCanonState_1426063733(angle_1426063734, deg_1426063735, speed_1426063736, gravity_1426063737, height_1426063738) { - var Temporary1; - var Temporary2; - - var result_1426063739 = [({angleDeg: 0.0, angleRad: 0.0, speed: 0.0, height: 0.0, vel: {Field0: 0.0, Field1: 0.0}, gravity: {Field0: 0.0, Field1: 0.0}})]; - - if (deg_1426063735) { - Temporary1 = angle_1426063734; - } - else { - Temporary1 = radToDeg_1426063740(angle_1426063734); - } - - var angleDeg_1426063744 = Temporary1; - if (deg_1426063735) { - Temporary2 = degToRad_1694498964(angle_1426063734); - } - else { - Temporary2 = angle_1426063734; - } - - var angleRad_1426063748 = Temporary2; - result_1426063739[0] = nimCopy(result_1426063739[0], {angleDeg: angleDeg_1426063744, angleRad: angleRad_1426063748, gravity: nimCopy(null, gravity_1426063737, NTI1677721603), height: height_1426063738, speed: 0.0, vel: {Field0: 0.0, Field1: 0.0}}, NTI1426063363); - setSpeed_1426063660(result_1426063739[0], speed_1426063736); - - return result_1426063739[0]; - -} - -function vec_1677721936(x_1677721937, y_1677721938) { - var result_1677721939 = {Field0: 0.0, Field1: 0.0}; - - var colontmp__570425476 = x_1677721937; - var colontmp__570425477 = y_1677721938; - result_1677721939 = nimCopy(result_1677721939, {Field0: colontmp__570425476, Field1: colontmp__570425477}, NTI1677721603); - - return result_1677721939; - -} - -function initTrajectory_1426063772() { - var result_1426063773 = ({state: ({angleDeg: 0.0, angleRad: 0.0, speed: 0.0, height: 0.0, vel: {Field0: 0.0, Field1: 0.0}, gravity: {Field0: 0.0, Field1: 0.0}}), points: [], highestPoint: 0, closestPoint: 0, extraPoint: 0, pinnedPoint: 0, color: 0}); - - result_1426063773 = nimCopy(result_1426063773, {closestPoint: (-1), highestPoint: (-1), pinnedPoint: (-1), extraPoint: (-1), state: initCanonState_1426063733(0.0, true, 250.0, vec_1677721936(0.0, 0.3515053763440861), 0.0), points: [], color: 0}, NTI1426063366); - - return result_1426063773; - -} - -function initParabolaState_1426066231() { - -function innerHEX60gensym465_1426066235() { - -function innerHEX60gensym481_1426066308() { - var result_1426066309 = null; - - BeforeRet: { - var a_1426066310 = null; - a_1426066310 = {}; - a_1426066310.mask = 0; - result_1426066309 = a_1426066310; - break BeforeRet; - }; - - return result_1426066309; - - } - - var result_1426066236 = null; - - BeforeRet: { - var a_1426066237 = null; - a_1426066237 = {}; - a_1426066237.zIndex = 0; - a_1426066237.isStatic = false; - a_1426066237.frictionAir = 0; - a_1426066237.friction = 1; - a_1426066237.frictionStatic = 1; - a_1426066237.collisionFilter = innerHEX60gensym481_1426066308(); - a_1426066237.sleepThreshold = 0.5; - a_1426066237.label = "bullet"; - result_1426066236 = a_1426066237; - break BeforeRet; - }; - - return result_1426066236; - - } - - var result_1426066232 = ({engine: null, render: null, runner: null, canvas: null, canvasSize: {Field0: 0.0, Field1: 0.0}, paused: false, frozen: false, mouse: null, mouseCons: null, timeAtClick: ({seconds: 0n, nanosecond: 0}), canon: ({platform: ({body: null, imgSize: {Field0: 0.0, Field1: 0.0}}), base: ({body: null, dragging: false, dragOffset: 0.0, imgSize: {Field0: 0.0, Field1: 0.0}}), body: null, pivot: {Field0: 0.0, Field1: 0.0}, dragOffset: 0.0, bullets: [], bulletOptions: null, flyingBullets: [], bulletRadius: 0, bulletsLimit: 0, dragging: false, imgSize: {Field0: 0.0, Field1: 0.0}, showVxArrow: false, showVyArrow: false, showVArrow: false}), ground: null, blocks: [], trajectories: [], currentTrajectory: 0, draggingPoint: false, followBullet: false, onMousedown: null, onMouseup: null, onMousemove: null, onMouseleave: null, onWheel: null, floatPrecision: 0, startedRendering: false, studentMode: false, showFormulaResults: false, showFormulaProc: false, lastUsed: [], lang: 0}); - - result_1426066232 = nimCopy(result_1426066232, {floatPrecision: 2, showFormulaResults: true, showFormulaProc: true, canon: {bulletRadius: 20, bulletsLimit: 7, showVArrow: true, showVxArrow: true, showVyArrow: true, bulletOptions: innerHEX60gensym465_1426066235(), platform: ({body: null, imgSize: {Field0: 0.0, Field1: 0.0}}), base: ({body: null, dragging: false, dragOffset: 0.0, imgSize: {Field0: 0.0, Field1: 0.0}}), body: null, pivot: {Field0: 0.0, Field1: 0.0}, dragOffset: 0.0, bullets: [], flyingBullets: [], dragging: false, imgSize: {Field0: 0.0, Field1: 0.0}}, trajectories: [initTrajectory_1426063772()], lang: 0, engine: null, render: null, runner: null, canvas: null, canvasSize: {Field0: 0.0, Field1: 0.0}, paused: false, frozen: false, mouse: null, mouseCons: null, timeAtClick: ({seconds: 0n, nanosecond: 0}), ground: null, blocks: [], currentTrajectory: 0, draggingPoint: false, followBullet: false, onMousedown: null, onMouseup: null, onMousemove: null, onMouseleave: null, onWheel: null, startedRendering: false, studentMode: false, lastUsed: []}, NTI1426063369); - - return result_1426066232; - -} - -function wrapObject_1426063895(state_1426063896) { - state_1426063896 = nimCopy(null, state_1426063896, NTI1426063369); - -function innerHEX60gensym15_1426063900() { - -function innerHEX60gensym23_1426063908() { - var result_1426063909 = null; - - BeforeRet: { - var a_1426063910 = null; - a_1426063910 = {}; - a_1426063910.x = 0; - a_1426063910.y = undefined; - result_1426063909 = a_1426063910; - break BeforeRet; - }; - - return result_1426063909; - - } - -function innerHEX60gensym36_1426063952() { - var result_1426063953 = null; - - BeforeRet: { - var a_1426063954 = null; - a_1426063954 = {}; - a_1426063954.x = state_1426063896.canvasSize.Field0; - a_1426063954.y = undefined; - result_1426063953 = a_1426063954; - break BeforeRet; - }; - - return result_1426063953; - - } - - var result_1426063901 = null; - - BeforeRet: { - var a_1426063902 = null; - a_1426063902 = {}; - a_1426063902.min = innerHEX60gensym23_1426063908(); - a_1426063902.max = innerHEX60gensym36_1426063952(); - result_1426063901 = a_1426063902; - break BeforeRet; - }; - - return result_1426063901; - - } - - var result_1426063897 = null; - - result_1426063897 = innerHEX60gensym15_1426063900(); - - return result_1426063897; - -} - -function HEX2EHEX2E_1426063562(a_1426063565, b_1426063566) { - var result_1426063569 = ({a: 0.0, b: 0.0}); - - result_1426063569 = nimCopy(result_1426063569, {a: a_1426063565, b: b_1426063566}, NTI1426063439); - - return result_1426063569; - -} - -function rotationLimit_1426064202(state_1426064203) { - var Temporary1; - - var result_1426064205 = ({a: 0.0, b: 0.0}); - - if ((state_1426064203.canon.imgSize.Field0 < state_1426064203.trajectories[chckIndx(state_1426064203.currentTrajectory, 0, (state_1426064203.trajectories).length - 1)].state.height)) { - Temporary1 = HEX2EHEX2E_1426063562(0.0, 360.0); - } - else { - if (((state_1426064203.canon.imgSize.Field1 / 2.0) < state_1426064203.trajectories[chckIndx(state_1426064203.currentTrajectory, 0, (state_1426064203.trajectories).length - 1)].state.height)) { - Temporary1 = HEX2EHEX2E_1426063562(0.0, 180.0); - } - else { - Temporary1 = HEX2EHEX2E_1426063562(0.0, 180.0); - } - } - result_1426064205 = nimCopy(result_1426064205, Temporary1, NTI1426063439); - - return result_1426064205; - -} - -function HEX2DHEX3D_1426064176(x_1426064178, x_1426064178_Idx, y_1426064179) { - x_1426064178[x_1426064178_Idx] = (x_1426064178[x_1426064178_Idx] - y_1426064179); - - -} - -function round_1426064172(x_1426064174) { - var result_1426064175 = [0.0]; - - if ((0.0 <= x_1426064174)) { - result_1426064175[0] = Math.round(x_1426064174); - } - else { - result_1426064175[0] = Math.ceil(x_1426064174); - if ((0.5 <= (result_1426064175[0] - x_1426064174))) { - HEX2DHEX3D_1426064176(result_1426064175, 0, 1.0); - } - - } - - - return result_1426064175[0]; - -} - -function round_1426064167(x_1426064169, places_1426064170) { - var result_1426064171 = 0.0; - - if ((places_1426064170 == 0)) { - result_1426064171 = round_1426064172(x_1426064169); - } - else { - var mult_1426064180 = Math.pow(10.0, places_1426064170); - result_1426064171 = (round_1426064172((x_1426064169 * mult_1426064180)) / mult_1426064180); - } - - - return result_1426064171; - -} - -function raiseDivByZero() { - raiseException({message: [100,105,118,105,115,105,111,110,32,98,121,32,122,101,114,111], parent: null, m_type: NTI134217742, name: null, trace: [], up: null}, "DivByZeroDefect"); - - -} - -function abs_905969874(x_905969876) { - var result_905969877 = 0.0; - - result_905969877 = Math.abs(x_905969876); - - return result_905969877; - -} - -function normalizeAngle_1426064160(rad_1426064161, p_1426064162) { - var Temporary1; - - var result_1426064163 = [0.0]; - - result_1426064163[0] = round_1426064167(radToDeg_1426063740(rad_1426064161), 0); - HEX2DHEX3D_1426064176(result_1426064163, 0, (divInt(((result_1426064163[0]) | 0), 360) * 360.0)); - if ((result_1426064163[0] < 0.0)) { - Temporary1 = abs_905969874(result_1426064163[0]); - } - else { - if ((0.0 < result_1426064163[0])) { - Temporary1 = (360.0 - result_1426064163[0]); - } - else { - Temporary1 = result_1426064163[0]; - } - } - result_1426064163[0] = Temporary1; - - return result_1426064163[0]; - -} - -function normalizedAngleDeg_1426064191(canon_1426064192, extraRad_1426064193) { - var result_1426064194 = 0.0; - - result_1426064194 = normalizeAngle_1426064160(((canon_1426064192.body.angle) + extraRad_1426064193), false); - - return result_1426064194; - -} - -function contains_1426064233(s_1426064237, value_1426064238) { - var result_1426064239 = false; - - result_1426064239 = ((s_1426064237.a <= value_1426064238) && (value_1426064238 <= s_1426064237.b)); - - return result_1426064239; - -} - -function jsVec_1677721758(v_1677721759) { - v_1677721759 = nimCopy(null, v_1677721759, NTI1677721603); - -function innerHEX60gensym44_1677721773() { - var result_1677721774 = null; - - BeforeRet: { - var a_1677721775 = null; - a_1677721775 = {}; - a_1677721775.x = v_1677721759.Field0; - a_1677721775.y = v_1677721759.Field1; - result_1677721774 = a_1677721775; - break BeforeRet; - }; - - return result_1677721774; - - } - - var result_1677721760 = null; - - result_1677721760 = innerHEX60gensym44_1677721773(); - - return result_1677721760; - -} - -function rotateCanon_1426064221(state_1426064222, rad_1426064226, limit_1426064227) { - var Temporary1; - - BeforeRet: { - if ((rad_1426064226 == 0.0)) { - break BeforeRet; - } - - var rad_1426064228 = rad_1426064226; - if (limit_1426064227) { - var rotationLimit_1426064229 = rotationLimit_1426064202(state_1426064222); - var desiredAngleDeg_1426064230 = normalizedAngleDeg_1426064191(state_1426064222.canon, rad_1426064228); - if (!(contains_1426064233(rotationLimit_1426064229, desiredAngleDeg_1426064230))) { - if ((180.0 < desiredAngleDeg_1426064230)) { - Temporary1 = (360.0 + rotationLimit_1426064229.a); - } - else { - Temporary1 = rotationLimit_1426064229.a; - } - - var lowerLimit_1426064240 = Temporary1; - if ((abs_905969874((desiredAngleDeg_1426064230 - lowerLimit_1426064240)) < abs_905969874((desiredAngleDeg_1426064230 - rotationLimit_1426064229.b)))) { - rad_1426064228 = degToRad_1694498964((normalizedAngleDeg_1426064191(state_1426064222.canon, 0.0) - rotationLimit_1426064229.a)); - } - else { - rad_1426064228 = degToRad_1694498964((normalizedAngleDeg_1426064191(state_1426064222.canon, 0.0) - rotationLimit_1426064229.b)); - } - - } - - } - - Matter.Body.rotate((state_1426064222.canon.body), (rad_1426064228), (jsVec_1677721758(state_1426064222.canon.pivot))); - state_1426064222.trajectories[chckIndx(state_1426064222.currentTrajectory, 0, (state_1426064222.trajectories).length - 1)].state.angleDeg = normalizedAngleDeg_1426064191(state_1426064222.canon, 0.0); - state_1426064222.trajectories[chckIndx(state_1426064222.currentTrajectory, 0, (state_1426064222.trajectories).length - 1)].state.angleRad = degToRad_1694498964(state_1426064222.trajectories[chckIndx(state_1426064222.currentTrajectory, 0, (state_1426064222.trajectories).length - 1)].state.angleDeg); - state_1426064222.trajectories[chckIndx(state_1426064222.currentTrajectory, 0, (state_1426064222.trajectories).length - 1)].state.vel = nimCopy(state_1426064222.trajectories[chckIndx(state_1426064222.currentTrajectory, 0, (state_1426064222.trajectories).length - 1)].state.vel, speedToVelRad_1694498977(state_1426064222.trajectories[chckIndx(state_1426064222.currentTrajectory, 0, (state_1426064222.trajectories).length - 1)].state.speed, state_1426064222.trajectories[chckIndx(state_1426064222.currentTrajectory, 0, (state_1426064222.trajectories).length - 1)].state.angleRad), NTI1677721603); - }; - - -} - -function canonYDiff_1426065254(state_1426065255) { - var result_1426065256 = 0.0; - - result_1426065256 = (state_1426065255.canon.base.imgSize.Field1 * 0.15); - - return result_1426065256; - -} - -function baseYRange_1426065257(state_1426065258) { - var result_1426065260 = ({a: 0.0, b: 0.0}); - - result_1426065260 = nimCopy(result_1426065260, HEX2EHEX2E_1426063562((state_1426065258.canon.imgSize.Field0 + canonYDiff_1426065254(state_1426065258)), ((state_1426065258.canvasSize.Field1 - 80.0) + canonYDiff_1426065254(state_1426065258))), NTI1426063439); - - return result_1426065260; - -} - -function getY_1677721829(body_1677721830) { - var result_1677721831 = 0.0; - - result_1677721831 = (body_1677721830.position.y); - - return result_1677721831; - -} - -function setY_1426065293(body_1426065295, y_1426065296) { - -function innerHEX60gensym248_1426065308() { - var result_1426065309 = null; - - BeforeRet: { - var a_1426065310 = null; - a_1426065310 = {}; - a_1426065310.x = body_1426065295.position.x; - a_1426065310.y = y_1426065296; - result_1426065309 = a_1426065310; - break BeforeRet; - }; - - return result_1426065309; - - } - - Matter.Body.setPosition((body_1426065295), (innerHEX60gensym248_1426065308())); - - -} - -function canonYRange_1426065266(state_1426065267) { - var result_1426065269 = ({a: 0.0, b: 0.0}); - - result_1426065269 = nimCopy(result_1426065269, HEX2EHEX2E_1426063562(state_1426065267.canon.imgSize.Field0, (baseYRange_1426065257(state_1426065267).b - canonYDiff_1426065254(state_1426065267))), NTI1426063439); - - return result_1426065269; - -} - -function getX_1677721816(body_1677721817) { - var result_1677721818 = 0.0; - - result_1677721818 = (body_1677721817.position.x); - - return result_1677721818; - -} - -function setPos_1426065360(body_1426065363, x_1426065364, y_1426065365) { - -function innerHEX60gensym267_1426065377() { - var result_1426065378 = null; - - BeforeRet: { - var a_1426065379 = null; - a_1426065379 = {}; - a_1426065379.x = x_1426065364; - a_1426065379.y = y_1426065365; - result_1426065378 = a_1426065379; - break BeforeRet; - }; - - return result_1426065378; - - } - - Matter.Body.setPosition((body_1426065363), (innerHEX60gensym267_1426065377())); - - -} - -function moveCanonTo_1426065275(state_1426065276, y_1426065277, first_1426065278) { - var Temporary1; - var Temporary2; - - var canonPrevAngle_1426065286 = (state_1426065276.canon.body.angle); - rotateCanon_1426064221(state_1426065276, -(canonPrevAngle_1426065286), false); - if ((y_1426065277 < 0.0)) { - if (first_1426065278) { - Temporary2 = baseYRange_1426065257(state_1426065276).b; - } - else { - Temporary2 = getY_1677721829(state_1426065276.canon.base.body); - } - - Temporary1 = Temporary2; - } - else { - Temporary1 = y_1426065277; - } - - var desiredBaseY_1426065287 = Temporary1; - var baseY_1426065292 = clamp_1426063663(desiredBaseY_1426065287, baseYRange_1426065257(state_1426065276)); - setY_1426065293(state_1426065276.canon.base.body, baseY_1426065292); - var canonY_1426065358 = clamp_1426063663((baseY_1426065292 - canonYDiff_1426065254(state_1426065276)), canonYRange_1426065266(state_1426065276)); - var canonX_1426065359 = (getX_1677721816(state_1426065276.canon.base.body) + (state_1426065276.canon.imgSize.Field0 / 3.0)); - setPos_1426065360(state_1426065276.canon.body, canonX_1426065359, canonY_1426065358); - state_1426065276.canon.pivot = nimCopy(state_1426065276.canon.pivot, vec_1677721936(getX_1677721816(state_1426065276.canon.base.body), canonY_1426065358), NTI1677721603); - state_1426065276.trajectories[chckIndx(state_1426065276.currentTrajectory, 0, (state_1426065276.trajectories).length - 1)].state.height = ((state_1426065276.canvasSize.Field1 - 80.0) - canonY_1426065358); - var platformY_1426065417 = ((baseY_1426065292 * 1.02) + (state_1426065276.canon.platform.imgSize.Field1 / 2.0)); - setY_1426065293(state_1426065276.canon.platform.body, platformY_1426065417); - rotateCanon_1426064221(state_1426065276, canonPrevAngle_1426065286, false); - - -} - -function HEX2A_1677721966(v1_1677721967, a_1677721968) { - var result_1677721969 = {Field0: 0.0, Field1: 0.0}; - - var colontmp__570425505 = (v1_1677721967.Field0 * a_1677721968); - var colontmp__570425506 = (v1_1677721967.Field1 * a_1677721968); - result_1677721969 = nimCopy(result_1677721969, {Field0: colontmp__570425505, Field1: colontmp__570425506}, NTI1677721603); - - return result_1677721969; - -} - -function contains_1459619435(s_1459619439, value_1459619440) { - var result_1459619441 = false; - - result_1459619441 = ((s_1459619439.a <= value_1459619440) && (value_1459619440 <= s_1459619439.b)); - - return result_1459619441; - -} - -function HEX2EHEX2E_1157627952(a_1157627955, b_1157627956) { - var result_1157627957 = ({a: 0, b: 0}); - - result_1157627957 = nimCopy(result_1157627957, {a: a_1157627955, b: b_1157627956}, NTI922746949); - - return result_1157627957; - -} - -function contains_1426064861(a_1426064863, index_1426064864) { - var result_1426064865 = false; - - result_1426064865 = contains_1459619435(HEX2EHEX2E_1157627952(0, (a_1426064863).length - 1), index_1426064864); - - return result_1426064865; - -} - -function HEX2AHEX3D_872417553(x_872417555, x_872417555_Idx, y_872417556) { - x_872417555[x_872417555_Idx] = (x_872417555[x_872417555_Idx] * y_872417556); - - -} - -function HEX5E_1677721994(x_1677721996, y_1677721997) { - var result_1677721998 = [0.0]; - - switch (y_1677721997) { - case 0: - result_1677721998[0] = 1.0; - break; - case 1: - result_1677721998[0] = x_1677721996; - break; - case 2: - result_1677721998[0] = (x_1677721996 * x_1677721996); - break; - case 3: - result_1677721998[0] = ((x_1677721996 * x_1677721996) * x_1677721996); - break; - default: - var x_1677721999 = [x_1677721996]; - var y_1677722000 = y_1677721997; - result_1677721998[0] = 1.0; - Label1: { - Label2: while (true) { - if (!true) break Label2; - if (!(((y_1677722000 & 1) == 0))) { - HEX2AHEX3D_872417553(result_1677721998, 0, x_1677721999[0]); - } - - y_1677722000 = chckRange((y_1677722000 >> 1), 0, 2147483647); - if ((y_1677722000 == 0)) { - break Label1; - } - - HEX2AHEX3D_872417553(x_1677721999, 0, x_1677721999[0]); - } - }; - break; - } - - return result_1677721998[0]; - -} - -function calcTotalTime_1426063464(initialState_1426063465) { - var result_1426063466 = 0.0; - - result_1426063466 = ((initialState_1426063465.vel.Field1 + Math.sqrt((HEX5E_1677721994(initialState_1426063465.vel.Field1, 2) + ((2.0 * initialState_1426063465.gravity.Field1) * initialState_1426063465.height)))) / initialState_1426063465.gravity.Field1); - - return result_1426063466; - -} - -function HEX5BHEX5D_1694499019(s_1694499023, x_1694499024) { - var result_1694499025 = []; - - var a_1694499027 = x_1694499024.a; - var L_1694499033 = addInt(subInt(subInt((s_1694499023).length, x_1694499024.b), a_1694499027), 1); - result_1694499025 = new Array(chckRange(L_1694499033, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1694499033, 0, 2147483647) ; ++i) { result_1694499025[i] = 0.0; } Label1: { - var i_1694499042 = 0; - var i_570425509 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425509 < L_1694499033)) break Label3; - i_1694499042 = i_570425509; - result_1694499025[chckIndx(i_1694499042, 0, (result_1694499025).length - 1)] = s_1694499023[chckIndx(addInt(i_1694499042, a_1694499027), 0, (s_1694499023).length - 1)]; - i_570425509 = addInt(i_570425509, 1); - } - }; - }; - - return result_1694499025; - -} - -function HEX2EHEX2E_1073741928(a_1073741931, b_1073741932) { - var result_1073741935 = ({a: 0, b: 0}); - - result_1073741935 = nimCopy(result_1073741935, {a: a_1073741931, b: b_1073741932}, NTI1073741909); - - return result_1073741935; - -} - -function calcX_1426063481(initialState_1426063482, t_1426063483) { - var result_1426063484 = 0.0; - - result_1426063484 = (t_1426063483 * initialState_1426063482.vel.Field0); - - return result_1426063484; - -} - -function calcY_1426063485(initialState_1426063486, t_1426063487) { - var result_1426063488 = 0.0; - - result_1426063488 = ((initialState_1426063486.height + (t_1426063487 * initialState_1426063486.vel.Field1)) - ((initialState_1426063486.gravity.Field1 * HEX5E_1677721994(t_1426063487, 2)) / 2.0)); - - return result_1426063488; - -} - -function calcPos_1426063493(initialState_1426063494, t_1426063495) { - var result_1426063496 = {Field0: 0.0, Field1: 0.0}; - - result_1426063496 = nimCopy(result_1426063496, vec_1677721936(calcX_1426063481(initialState_1426063494, t_1426063495), calcY_1426063485(initialState_1426063494, t_1426063495)), NTI1677721603); - - return result_1426063496; - -} - -function calcVel_1426063497(initialState_1426063498, t_1426063499) { - var result_1426063500 = {Field0: 0.0, Field1: 0.0}; - - result_1426063500 = nimCopy(result_1426063500, vec_1677721936(initialState_1426063498.vel.Field0, (initialState_1426063498.vel.Field1 - (initialState_1426063498.gravity.Field1 * t_1426063499))), NTI1677721603); - - return result_1426063500; - -} - -function magnitude_1426063518(v_1426063519) { - var result_1426063520 = 0.0; - - result_1426063520 = Math.sqrt((HEX5E_1677721994(v_1426063519.Field0, 2) + HEX5E_1677721994(v_1426063519.Field1, 2))); - - return result_1426063520; - -} - -function HEX2BHEX3D_872417557(x_872417559, x_872417559_Idx, y_872417560) { - x_872417559[x_872417559_Idx] = (x_872417559[x_872417559_Idx] + y_872417560); - - -} - -function calcMaxHeight_1426063474(initialState_1426063475) { - var result_1426063476 = 0.0; - - result_1426063476 = (initialState_1426063475.height + (HEX5E_1677721994(initialState_1426063475.vel.Field1, 2) / (2.0 * initialState_1426063475.gravity.Field1))); - - return result_1426063476; - -} - -function HEX5BHEX5D_1426064495(s_1426064497, i_1426064498) { - var result_1426064499 = null; - - result_1426064499 = s_1426064497[chckIndx(subInt((s_1426064497).length, i_1426064498), 0, (s_1426064497).length - 1)]; - - return result_1426064499; - -} - -function calcMaxRange_1426063471(initialState_1426063472) { - var result_1426063473 = 0.0; - - result_1426063473 = (initialState_1426063472.vel.Field0 * calcTotalTime_1426063464(initialState_1426063472)); - - return result_1426063473; - -} - -function toMuSpeed_1694499111(speed_1694499112) { - var result_1694499113 = 0.0; - - result_1694499113 = (speed_1694499112 / 10.0); - - return result_1694499113; - -} - -function toMuDistance_1694499108(m_1694499109) { - var result_1694499110 = 0.0; - - result_1694499110 = (m_1694499109 / 10.0); - - return result_1694499110; - -} - -function both_1677722062(v_1677722063, p_1677722066) { - var result_1677722067 = {Field0: 0.0, Field1: 0.0}; - - result_1677722067 = nimCopy(result_1677722067, vec_1677721936(p_1677722066(v_1677722063.Field0), p_1677722066(v_1677722063.Field1)), NTI1677721603); - - return result_1677722067; - -} - -function toMuAcceleration_1694499114(acceleration_1694499115) { - var result_1694499116 = 0.0; - - result_1694499116 = (acceleration_1694499115 / 10.0); - - return result_1694499116; - -} - -function toMu_1426063809(state_1426063810) { - -function HEX3Aanonymous_1426063831(a_1426063832) { - var result_1426063833 = 0.0; - - result_1426063833 = toMuAcceleration_1694499114(a_1426063832); - - return result_1426063833; - - } - - var result_1426063811 = ({angleDeg: 0.0, angleRad: 0.0, speed: 0.0, height: 0.0, vel: {Field0: 0.0, Field1: 0.0}, gravity: {Field0: 0.0, Field1: 0.0}}); - - result_1426063811 = nimCopy(result_1426063811, state_1426063810, NTI1426063363); - result_1426063811.speed = toMuSpeed_1694499111(result_1426063811.speed); - result_1426063811.height = toMuDistance_1694499108(result_1426063811.height); - result_1426063811.gravity = nimCopy(result_1426063811.gravity, both_1677722062(result_1426063811.gravity, HEX3Aanonymous_1426063831), NTI1677721603); - result_1426063811.vel = nimCopy(result_1426063811.vel, speedToVelRad_1694498977(result_1426063811.speed, result_1426063811.angleRad), NTI1677721603); - - return result_1426063811; - -} - -function classify_905969871(x_905969872) { - var result_905969873 = 0; - - BeforeRet: { - if ((x_905969872 == 0.0)) { - if (((1.0 / x_905969872) == Infinity)) { - result_905969873 = 2; - break BeforeRet; - } - else { - result_905969873 = 3; - break BeforeRet; - } - - } - - if (((x_905969872 * 0.5) == x_905969872)) { - if ((0.0 < x_905969872)) { - result_905969873 = 5; - break BeforeRet; - } - else { - result_905969873 = 6; - break BeforeRet; - } - - } - - if (!((x_905969872 == x_905969872))) { - result_905969873 = 4; - break BeforeRet; - } - - if ((abs_905969874(x_905969872) < 2.225073858507201e-308)) { - result_905969873 = 1; - break BeforeRet; - } - - result_905969873 = 0; - break BeforeRet; - }; - - return result_905969873; - -} - -function HEX24_33557559(x_33557561) { - var result_33557562 = [[]]; - - addFloat_33557563(result_33557562, 0, x_33557561); - - return result_33557562[0]; - -} - -function parseSaturatedNatural_889192854(s_889192855, b_889192856, b_889192856_Idx) { - var Temporary1; - var Temporary4; - - var result_889192857 = 0; - - var i_889192858 = 0; - if (((i_889192858 < (s_889192855).length) && (s_889192855[chckIndx(i_889192858, 0, (s_889192855).length - 1)] == 43))) { - i_889192858 = addInt(i_889192858, 1); - } - - if (!(i_889192858 < (s_889192855).length)) Temporary1 = false; else { Temporary1 = (ConstSet8[s_889192855[chckIndx(i_889192858, 0, (s_889192855).length - 1)]] != undefined); } if (Temporary1) { - b_889192856[b_889192856_Idx] = 0; - Label2: { - Label3: while (true) { - if (!(i_889192858 < (s_889192855).length)) Temporary4 = false; else { Temporary4 = (ConstSet9[s_889192855[chckIndx(i_889192858, 0, (s_889192855).length - 1)]] != undefined); } if (!Temporary4) break Label3; - var c_889192887 = subInt(s_889192855[chckIndx(i_889192858, 0, (s_889192855).length - 1)], 48); - if ((b_889192856[b_889192856_Idx] <= divInt(subInt(2147483647, c_889192887), 10))) { - b_889192856[b_889192856_Idx] = addInt(mulInt(b_889192856[b_889192856_Idx], 10), c_889192887); - } - else { - b_889192856[b_889192856_Idx] = 2147483647; - } - - i_889192858 = addInt(i_889192858, 1); - Label5: { - Label6: while (true) { - if (!((i_889192858 < (s_889192855).length) && (s_889192855[chckIndx(i_889192858, 0, (s_889192855).length - 1)] == 95))) break Label6; - i_889192858 = addInt(i_889192858, 1); - } - }; - } - }; - result_889192857 = i_889192858; - } - - - return result_889192857; - -} - -function parseSaturatedNatural_889193360(s_889193361, b_889193362, b_889193362_Idx, start_889193363) { - var result_889193364 = 0; - - result_889193364 = parseSaturatedNatural_889192854((s_889193361.slice(start_889193363, (s_889193361).length - 1 + 1)), b_889193362, b_889193362_Idx); - - return result_889193364; - -} - -function HEX5BHEX5D_872416539(s_872416542, x_872416543) { - var result_872416544 = []; - - var a_872416546 = x_872416543.a; - var L_872416548 = addInt(subInt(subInt((s_872416542).length, x_872416543.b), a_872416546), 1); - result_872416544 = nimCopy(null, mnewString(chckRange(L_872416548, 0, 2147483647)), NTI33554449); - Label1: { - var i_872416553 = 0; - var i_754975119 = 0; - Label2: { - Label3: while (true) { - if (!(i_754975119 < L_872416548)) break Label3; - i_872416553 = i_754975119; - result_872416544[chckIndx(i_872416553, 0, (result_872416544).length - 1)] = s_872416542[chckIndx(addInt(i_872416553, a_872416546), 0, (s_872416542).length - 1)]; - i_754975119 = addInt(i_754975119, 1); - } - }; - }; - - return result_872416544; - -} - -function parseStandardFormatSpecifier_1577058362(s_1577058363, start_1577058364, ignoreUnknownSuffix_1577058365) { - var Temporary1; - var Temporary2; - - var result_1577058366 = ({fill: 0, align: 0, sign: 0, alternateForm: false, padWithZero: false, minimumWidth: 0, precision: 0, typ: 0, endPosition: 0}); - - result_1577058366.fill = 32; - result_1577058366.align = 0; - result_1577058366.sign = 45; - var i_1577058368 = start_1577058364; - if (((addInt(i_1577058368, 1) < (s_1577058363).length) && (ConstSet4[s_1577058363[chckIndx(addInt(i_1577058368, 1), 0, (s_1577058363).length - 1)]] != undefined))) { - result_1577058366.fill = s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)]; - result_1577058366.align = s_1577058363[chckIndx(addInt(i_1577058368, 1), 0, (s_1577058363).length - 1)]; - i_1577058368 = addInt(i_1577058368, 2); - } - else { - if (((i_1577058368 < (s_1577058363).length) && (ConstSet5[s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)]] != undefined))) { - result_1577058366.align = s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)]; - i_1577058368 = addInt(i_1577058368, 1); - } - } - if (((i_1577058368 < (s_1577058363).length) && (ConstSet6[s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)]] != undefined))) { - result_1577058366.sign = s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)]; - i_1577058368 = addInt(i_1577058368, 1); - } - - if (((i_1577058368 < (s_1577058363).length) && (s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)] == 35))) { - result_1577058366.alternateForm = true; - i_1577058368 = addInt(i_1577058368, 1); - } - - if (!((addInt(i_1577058368, 1) < (s_1577058363).length) && (s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)] == 48))) Temporary1 = false; else { Temporary1 = (ConstSet7[s_1577058363[chckIndx(addInt(i_1577058368, 1), 0, (s_1577058363).length - 1)]] != undefined); } if (Temporary1) { - result_1577058366.padWithZero = true; - i_1577058368 = addInt(i_1577058368, 1); - } - - var parsedLength_1577058410 = parseSaturatedNatural_889193360(s_1577058363, result_1577058366, "minimumWidth", i_1577058368); - i_1577058368 = addInt(i_1577058368, parsedLength_1577058410); - if (((i_1577058368 < (s_1577058363).length) && (s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)] == 46))) { - i_1577058368 = addInt(i_1577058368, 1); - var parsedLengthB_1577058421 = parseSaturatedNatural_889193360(s_1577058363, result_1577058366, "precision", i_1577058368); - i_1577058368 = addInt(i_1577058368, parsedLengthB_1577058421); - } - else { - result_1577058366.precision = (-1); - } - - if (!(i_1577058368 < (s_1577058363).length)) Temporary2 = false; else { Temporary2 = (ConstSet10[s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)]] != undefined); } if (Temporary2) { - result_1577058366.typ = s_1577058363[chckIndx(i_1577058368, 0, (s_1577058363).length - 1)]; - i_1577058368 = addInt(i_1577058368, 1); - } - - result_1577058366.endPosition = i_1577058368; - if ((!((i_1577058368 == (s_1577058363).length)) && !(ignoreUnknownSuffix_1577058365))) { - raiseException({message: ([105,110,118,97,108,105,100,32,102,111,114,109,97,116,32,115,116,114,105,110,103,44,32,99,97,110,110,111,116,32,112,97,114,115,101,58,32] || []).concat(HEX5BHEX5D_872416539(s_1577058363, HEX2EHEX2E_1073741928(i_1577058368, 1)) || []), parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - } - - - return result_1577058366; - -} - -function nsuformatBiggestFloat(f_872417347, format_872417348, precision_872417349, decimalSep_872417350) { - var result_872417351 = []; - - var precision_872417352 = precision_872417349; - if ((precision_872417352 == (-1))) { - precision_872417352 = 6; - } - - var res_872417353 = null; - switch (format_872417348) { - case 0: - res_872417353 = f_872417347.toString(); - break; - case 1: - res_872417353 = f_872417347.toFixed(precision_872417352); - break; - case 2: - res_872417353 = f_872417347.toExponential(precision_872417352); - break; - } - result_872417351 = nimCopy(null, cstrToNimstr(res_872417353), NTI33554449); - if (((1.0 / f_872417347) == -Infinity)) { - result_872417351 = nimCopy(null, ([45] || []).concat(cstrToNimstr(res_872417353) || []), NTI33554449); - } - - Label1: { - var i_872417358 = 0; - var colontmp__570425532 = 0; - colontmp__570425532 = (result_872417351).length; - var i_570425533 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425533 < colontmp__570425532)) break Label3; - i_872417358 = i_570425533; - if ((ConstSet11[result_872417351[chckIndx(i_872417358, 0, (result_872417351).length - 1)]] != undefined)) { - result_872417351[chckIndx(i_872417358, 0, (result_872417351).length - 1)] = decimalSep_872417350; - } - - i_570425533 = addInt(i_570425533, 1); - } - }; - }; - - return result_872417351; - -} - -function insert_33558003(x_33558004, x_33558004_Idx, item_33558005, i_33558006) { - var Temporary1; - - var xl_33558007 = (x_33558004[x_33558004_Idx]).length; - if (x_33558004[x_33558004_Idx].length < (Temporary1 = chckRange(addInt(xl_33558007, (item_33558005).length), 0, 2147483647), Temporary1)) { for (var i = x_33558004[x_33558004_Idx].length; i < Temporary1; ++i) x_33558004[x_33558004_Idx].push(0); } - else {x_33558004[x_33558004_Idx].length = Temporary1; }; - var j_33558008 = subInt(xl_33558007, 1); - Label2: { - Label3: while (true) { - if (!(i_33558006 <= j_33558008)) break Label3; - x_33558004[x_33558004_Idx][chckIndx(addInt(j_33558008, (item_33558005).length), 0, (x_33558004[x_33558004_Idx]).length - 1)] = x_33558004[x_33558004_Idx][chckIndx(j_33558008, 0, (x_33558004[x_33558004_Idx]).length - 1)]; - j_33558008 = subInt(j_33558008, 1); - } - }; - j_33558008 = 0; - Label4: { - Label5: while (true) { - if (!(j_33558008 < (item_33558005).length)) break Label5; - x_33558004[x_33558004_Idx][chckIndx(addInt(j_33558008, i_33558006), 0, (x_33558004[x_33558004_Idx]).length - 1)] = item_33558005[chckIndx(j_33558008, 0, (item_33558005).length - 1)]; - j_33558008 = addInt(j_33558008, 1); - } - }; - - -} - -function nsuRepeatChar(c_872416353, count_872416354) { - var result_872416355 = []; - - result_872416355 = nimCopy(null, mnewString(count_872416354), NTI33554449); - Label1: { - var i_872416360 = 0; - var colontmp__570425538 = 0; - colontmp__570425538 = subInt(count_872416354, 1); - var res_570425539 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425539 <= colontmp__570425538)) break Label3; - i_872416360 = res_570425539; - result_872416355[chckIndx(i_872416360, 0, (result_872416355).length - 1)] = c_872416353; - res_570425539 = addInt(res_570425539, 1); - } - }; - }; - - return result_872416355; - -} - -function validateUtf8_1140851024(s_1140851025) { - var result_1140851026 = 0; - - BeforeRet: { - var i_1140851027 = 0; - var L_1140851031 = (s_1140851025).length; - Label1: { - Label2: while (true) { - if (!(i_1140851027 < L_1140851031)) break Label2; - if ((s_1140851025[chckIndx(i_1140851027, 0, (s_1140851025).length - 1)] <= 127)) { - i_1140851027 = addInt(i_1140851027, 1); - } - else { - if (((s_1140851025[chckIndx(i_1140851027, 0, (s_1140851025).length - 1)] >>> 5) == 6)) { - if ((s_1140851025[chckIndx(i_1140851027, 0, (s_1140851025).length - 1)] < 194)) { - result_1140851026 = i_1140851027; - break BeforeRet; - } - - if (((addInt(i_1140851027, 1) < L_1140851031) && ((s_1140851025[chckIndx(addInt(i_1140851027, 1), 0, (s_1140851025).length - 1)] >>> 6) == 2))) { - i_1140851027 = addInt(i_1140851027, 2); - } - else { - result_1140851026 = i_1140851027; - break BeforeRet; - } - - } - else { - if (((s_1140851025[chckIndx(i_1140851027, 0, (s_1140851025).length - 1)] >>> 4) == 14)) { - if ((((addInt(i_1140851027, 2) < L_1140851031) && ((s_1140851025[chckIndx(addInt(i_1140851027, 1), 0, (s_1140851025).length - 1)] >>> 6) == 2)) && ((s_1140851025[chckIndx(addInt(i_1140851027, 2), 0, (s_1140851025).length - 1)] >>> 6) == 2))) { - i_1140851027 = addInt(i_1140851027, 3); - } - else { - result_1140851026 = i_1140851027; - break BeforeRet; - } - - } - else { - if (((s_1140851025[chckIndx(i_1140851027, 0, (s_1140851025).length - 1)] >>> 3) == 30)) { - if (((((addInt(i_1140851027, 3) < L_1140851031) && ((s_1140851025[chckIndx(addInt(i_1140851027, 1), 0, (s_1140851025).length - 1)] >>> 6) == 2)) && ((s_1140851025[chckIndx(addInt(i_1140851027, 2), 0, (s_1140851025).length - 1)] >>> 6) == 2)) && ((s_1140851025[chckIndx(addInt(i_1140851027, 3), 0, (s_1140851025).length - 1)] >>> 6) == 2))) { - i_1140851027 = addInt(i_1140851027, 4); - } - else { - result_1140851026 = i_1140851027; - break BeforeRet; - } - - } - else { - result_1140851026 = i_1140851027; - break BeforeRet; - } - }}} - } - }; - result_1140851026 = (-1); - break BeforeRet; - }; - - return result_1140851026; - -} - -function validateUtf8_1140858049(s_1140858050) { - var result_1140858051 = 0; - - result_1140858051 = validateUtf8_1140851024((s_1140858050.slice(0, (s_1140858050).length - 1 + 1))); - - return result_1140858051; - -} - -function nucruneLen(s_1140850716) { - var result_1140850717 = 0; - - result_1140850717 = 0; - var i_1140850718 = 0; - Label1: { - Label2: while (true) { - if (!(i_1140850718 < (s_1140850716).length)) break Label2; - if ((s_1140850716[chckIndx(i_1140850718, 0, (s_1140850716).length - 1)] <= 127)) { - i_1140850718 = addInt(i_1140850718, 1); - } - else { - if (((s_1140850716[chckIndx(i_1140850718, 0, (s_1140850716).length - 1)] >>> 5) == 6)) { - i_1140850718 = addInt(i_1140850718, 2); - } - else { - if (((s_1140850716[chckIndx(i_1140850718, 0, (s_1140850716).length - 1)] >>> 4) == 14)) { - i_1140850718 = addInt(i_1140850718, 3); - } - else { - if (((s_1140850716[chckIndx(i_1140850718, 0, (s_1140850716).length - 1)] >>> 3) == 30)) { - i_1140850718 = addInt(i_1140850718, 4); - } - else { - if (((s_1140850716[chckIndx(i_1140850718, 0, (s_1140850716).length - 1)] >>> 2) == 62)) { - i_1140850718 = addInt(i_1140850718, 5); - } - else { - if (((s_1140850716[chckIndx(i_1140850718, 0, (s_1140850716).length - 1)] >>> 1) == 126)) { - i_1140850718 = addInt(i_1140850718, 6); - } - else { - i_1140850718 = addInt(i_1140850718, 1); - } - }}}}} - result_1140850717 = addInt(result_1140850717, 1); - } - }; - - return result_1140850717; - -} - -function runeLen_1140857877(s_1140857878) { - var result_1140857879 = 0; - - result_1140857879 = nucruneLen((s_1140857878.slice(0, (s_1140857878).length - 1 + 1))); - - return result_1140857879; - -} - -function alignString_1577058324(s_1577058325, minimumWidth_1577058326, align_1577058327, fill_1577058328) { - var Temporary1; - - var result_1577058329 = []; - - if ((minimumWidth_1577058326 == 0)) { - result_1577058329 = nimCopy(null, s_1577058325, NTI33554449); - } - else { - if ((validateUtf8_1140858049(s_1577058325) == (-1))) { - Temporary1 = runeLen_1140857877(s_1577058325); - } - else { - Temporary1 = (s_1577058325).length; - } - - var sRuneLen_1577058330 = Temporary1; - var toFill_1577058331 = subInt(minimumWidth_1577058326, sRuneLen_1577058330); - if ((toFill_1577058331 <= 0)) { - result_1577058329 = nimCopy(null, s_1577058325, NTI33554449); - } - else { - if (((align_1577058327 == 60) || (align_1577058327 == 0))) { - result_1577058329 = nimCopy(null, (s_1577058325 || []).concat(nsuRepeatChar(fill_1577058328, chckRange(toFill_1577058331, 0, 2147483647)) || []), NTI33554449); - } - else { - if ((align_1577058327 == 94)) { - var half_1577058332 = divInt(toFill_1577058331, 2); - result_1577058329 = nimCopy(null, (nsuRepeatChar(fill_1577058328, chckRange(half_1577058332, 0, 2147483647)) || []).concat(s_1577058325 || [],nsuRepeatChar(fill_1577058328, chckRange(subInt(toFill_1577058331, half_1577058332), 0, 2147483647)) || []), NTI33554449); - } - else { - result_1577058329 = nimCopy(null, (nsuRepeatChar(fill_1577058328, chckRange(toFill_1577058331, 0, 2147483647)) || []).concat(s_1577058325 || []), NTI33554449); - } - }} - } - - - return result_1577058329; - -} - -function nsuToUpperAsciiChar(c_872415336) { - var result_872415337 = 0; - - if ((ConstSet13[c_872415336] != undefined)) { - result_872415337 = (c_872415336 ^ 32); - } - else { - result_872415337 = c_872415336; - } - - - return result_872415337; - -} - -function nsuToUpperAsciiStr(s_872415343) { - var result_872415344 = []; - - result_872415344 = nimCopy(null, mnewString(chckRange((s_872415343).length, 0, 2147483647)), NTI33554449); - Label1: { - var iHEX60gensym11_872415350 = 0; - var colontmp__570425544 = 0; - colontmp__570425544 = subInt((s_872415343).length, 1); - var res_570425545 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425545 <= colontmp__570425544)) break Label3; - iHEX60gensym11_872415350 = res_570425545; - result_872415344[chckIndx(iHEX60gensym11_872415350, 0, (result_872415344).length - 1)] = nsuToUpperAsciiChar(s_872415343[chckIndx(iHEX60gensym11_872415350, 0, (s_872415343).length - 1)]); - res_570425545 = addInt(res_570425545, 1); - } - }; - }; - - return result_872415344; - -} - -function formatValue_1426064018(result_1426064020, result_1426064020_Idx, value_1426064021, specifier_1426064022) { - var Temporary1; - - BeforeRet: { - if (((specifier_1426064022).length == 0)) { - result_1426064020[result_1426064020_Idx].push.apply(result_1426064020[result_1426064020_Idx], HEX24_33557559(value_1426064021));; - break BeforeRet; - } - - var spec_1426064026 = parseStandardFormatSpecifier_1577058362(specifier_1426064022, 0, false); - var fmode_1426064027 = 0; - switch (spec_1426064026.typ) { - case 101: - case 69: - fmode_1426064027 = 2; - break; - case 102: - case 70: - fmode_1426064027 = 1; - break; - case 103: - case 71: - fmode_1426064027 = 0; - break; - case 0: - break; - default: - raiseException({message: (makeNimstrLit("invalid type in format string for number, expected one of \'e\', \'E\', \'f\', \'F\', \'g\', \'G\' but got: ") || []).concat([spec_1426064026.typ]), parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - break; - } - var f_1426064029 = [nsuformatBiggestFloat(value_1426064021, fmode_1426064027, chckRange(spec_1426064026.precision, (-1), 32), 46)]; - var sign_1426064030 = false; - if ((0.0 <= value_1426064021)) { - if (!((spec_1426064026.sign == 45))) { - sign_1426064030 = true; - if ((value_1426064021 == 0.0)) { - if (((1.0 / value_1426064021) == Infinity)) { - insert_33558003(f_1426064029, 0, nimCharToStr(spec_1426064026.sign), 0); - } - - } - else { - insert_33558003(f_1426064029, 0, nimCharToStr(spec_1426064026.sign), 0); - } - - } - - } - else { - sign_1426064030 = true; - } - - if (spec_1426064026.padWithZero) { - var signStr_1426064031 = []; - if (sign_1426064030) { - signStr_1426064031 = nimCopy(null, nimCharToStr(f_1426064029[0][chckIndx(0, 0, (f_1426064029[0]).length - 1)]), NTI33554449); - f_1426064029[0] = nimCopy(null, HEX5BHEX5D_872416539(f_1426064029[0], HEX2EHEX2E_1073741928(1, 1)), NTI33554449); - } - - var toFill_1426064053 = subInt(subInt(spec_1426064026.minimumWidth, (f_1426064029[0]).length), (sign_1426064030 ? 1 : 0)); - if ((0 < toFill_1426064053)) { - f_1426064029[0] = nimCopy(null, (nsuRepeatChar(48, chckRange(toFill_1426064053, 0, 2147483647)) || []).concat(f_1426064029[0] || []), NTI33554449); - } - - if (sign_1426064030) { - f_1426064029[0] = nimCopy(null, (signStr_1426064031 || []).concat(f_1426064029[0] || []), NTI33554449); - } - - } - - if ((spec_1426064026.align == 0)) { - Temporary1 = 62; - } - else { - Temporary1 = spec_1426064026.align; - } - - var align_1426064054 = Temporary1; - var res_1426064055 = alignString_1577058324(f_1426064029[0], spec_1426064026.minimumWidth, align_1426064054, spec_1426064026.fill); - if ((ConstSet12[spec_1426064026.typ] != undefined)) { - result_1426064020[result_1426064020_Idx].push.apply(result_1426064020[result_1426064020_Idx], nsuToUpperAsciiStr(res_1426064055));; - } - else { - result_1426064020[result_1426064020_Idx].push.apply(result_1426064020[result_1426064020_Idx], res_1426064055);; - } - - }; - - -} - -function mkDigit_1577058309(v_1577058310, typ_1577058311) { - var Temporary1; - - var result_1577058312 = []; - - if (!((v_1577058310 < 26))) { - failedAssertImpl_268435541([115,116,114,102,111,114,109,97,116,46,110,105,109,40,51,50,52,44,32,57,41,32,96,118,32,60,32,50,54,96,32]); - } - - if ((v_1577058310 < 10)) { - result_1577058312 = nimCopy(null, nimCharToStr(chckRange(addInt(48, v_1577058310), 0, 255)), NTI33554449); - } - else { - if ((typ_1577058311 == 120)) { - Temporary1 = 97; - } - else { - Temporary1 = 65; - } - - result_1577058312 = nimCopy(null, nimCharToStr(chckRange(subInt(addInt(Temporary1, v_1577058310), 10), 0, 255)), NTI33554449); - } - - - return result_1577058312; - -} - -function formatInt_2214592759(n_2214592761, radix_2214592762, spec_2214592763) { - var Temporary1; - - var result_2214592764 = []; - - var n_2214592767 = BigInt(n_2214592761); - var negative_2214592768 = (n_2214592767 < 0n); - if (negative_2214592768) { - Temporary1 = BigInt.asUintN(64, (BigInt.asUintN(64, ~(n_2214592767)) + 1n)); - } - else { - Temporary1 = BigInt.asUintN(64, n_2214592767); - } - - var v_2214592769 = Temporary1; - var xx_2214592770 = []; - if (spec_2214592763.alternateForm) { - switch (spec_2214592763.typ) { - case 88: - xx_2214592770 = nimCopy(null, [48,120], NTI33554449); - break; - case 120: - xx_2214592770 = nimCopy(null, [48,120], NTI33554449); - break; - case 98: - xx_2214592770 = nimCopy(null, [48,98], NTI33554449); - break; - case 111: - xx_2214592770 = nimCopy(null, [48,111], NTI33554449); - break; - default: - break; - } - } - - if ((v_2214592769 == 0n)) { - result_2214592764 = nimCopy(null, [48], NTI33554449); - } - else { - result_2214592764 = nimCopy(null, [], NTI33554449); - Label2: { - Label3: while (true) { - if (!(0n < v_2214592769)) break Label3; - var d_2214592771 = (v_2214592769 % BigInt.asUintN(64, BigInt(radix_2214592762))); - v_2214592769 = BigInt.asUintN(64, (v_2214592769 / BigInt.asUintN(64, BigInt(radix_2214592762)))); - result_2214592764.push.apply(result_2214592764, mkDigit_1577058309(chckRange(Number(d_2214592771), (-2147483648), 2147483647), spec_2214592763.typ));; - } - }; - Label4: { - var idx_2214592776 = 0; - var colontmp__570425549 = 0; - colontmp__570425549 = divInt((result_2214592764).length, 2); - var i_570425550 = 0; - Label5: { - Label6: while (true) { - if (!(i_570425550 < colontmp__570425549)) break Label6; - idx_2214592776 = i_570425550; - var Temporary7 = result_2214592764[chckIndx(idx_2214592776, 0, (result_2214592764).length - 1)]; result_2214592764[chckIndx(idx_2214592776, 0, (result_2214592764).length - 1)] = result_2214592764[chckIndx(subInt(subInt((result_2214592764).length, idx_2214592776), 1), 0, (result_2214592764).length - 1)]; result_2214592764[chckIndx(subInt(subInt((result_2214592764).length, idx_2214592776), 1), 0, (result_2214592764).length - 1)] = Temporary7; i_570425550 = addInt(i_570425550, 1); - } - }; - }; - } - - if (spec_2214592763.padWithZero) { - var sign_2214592781 = (negative_2214592768 || !((spec_2214592763.sign == 45))); - var toFill_2214592785 = subInt(subInt(subInt(spec_2214592763.minimumWidth, (result_2214592764).length), (xx_2214592770).length), (sign_2214592781 ? 1 : 0)); - if ((0 < toFill_2214592785)) { - result_2214592764 = nimCopy(null, (nsuRepeatChar(48, chckRange(toFill_2214592785, 0, 2147483647)) || []).concat(result_2214592764 || []), NTI33554449); - } - - } - - if (negative_2214592768) { - result_2214592764 = nimCopy(null, ([45] || []).concat(xx_2214592770 || [],result_2214592764 || []), NTI33554449); - } - else { - if (!((spec_2214592763.sign == 45))) { - result_2214592764 = nimCopy(null, [spec_2214592763.sign].concat(xx_2214592770 || [],result_2214592764 || []), NTI33554449); - } - else { - result_2214592764 = nimCopy(null, (xx_2214592770 || []).concat(result_2214592764 || []), NTI33554449); - } - } - if ((spec_2214592763.align == 60)) { - Label8: { - var i_2214592790 = 0; - var colontmp__570425553 = 0; - colontmp__570425553 = (result_2214592764).length; - var i_570425554 = colontmp__570425553; - Label9: { - Label10: while (true) { - if (!(i_570425554 < spec_2214592763.minimumWidth)) break Label10; - i_2214592790 = i_570425554; - addChar(result_2214592764, spec_2214592763.fill);; - i_570425554 = addInt(i_570425554, 1); - } - }; - }; - } - else { - var toFill_2214592791 = subInt(spec_2214592763.minimumWidth, (result_2214592764).length); - if ((spec_2214592763.align == 94)) { - var half_2214592792 = divInt(toFill_2214592791, 2); - result_2214592764 = nimCopy(null, (nsuRepeatChar(spec_2214592763.fill, chckRange(half_2214592792, 0, 2147483647)) || []).concat(result_2214592764 || [],nsuRepeatChar(spec_2214592763.fill, chckRange(subInt(toFill_2214592791, half_2214592792), 0, 2147483647)) || []), NTI33554449); - } - else { - if ((0 < toFill_2214592791)) { - result_2214592764 = nimCopy(null, (nsuRepeatChar(spec_2214592763.fill, chckRange(toFill_2214592791, 0, 2147483647)) || []).concat(result_2214592764 || []), NTI33554449); - } - - } - - } - - - return result_2214592764; - -} - -function formatValue_1426064005(result_1426064007, result_1426064007_Idx, value_1426064008, specifier_1426064009) { - BeforeRet: { - if (((specifier_1426064009).length == 0)) { - result_1426064007[result_1426064007_Idx].push.apply(result_1426064007[result_1426064007_Idx], HEX24_385875976(value_1426064008));; - break BeforeRet; - } - - var spec_1426064010 = parseStandardFormatSpecifier_1577058362(specifier_1426064009, 0, false); - var radix_1426064011 = 10; - switch (spec_1426064010.typ) { - case 120: - case 88: - radix_1426064011 = 16; - break; - case 100: - case 0: - break; - case 98: - radix_1426064011 = 2; - break; - case 111: - radix_1426064011 = 8; - break; - default: - raiseException({message: (makeNimstrLit("invalid type in format string for number, expected one of \'x\', \'X\', \'b\', \'d\', \'o\' but got: ") || []).concat([spec_1426064010.typ]), parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - break; - } - result_1426064007[result_1426064007_Idx].push.apply(result_1426064007[result_1426064007_Idx], formatInt_2214592759(value_1426064008, radix_1426064011, spec_1426064010));; - }; - - -} - -function strfloat_1426063991(state_1426063992, f_1426063993) { - var Temporary1; - - var result_1426063994 = [[]]; - - if ((classify_905969871(f_1426063993) == 3)) { - Temporary1 = 0.0; - } - else { - Temporary1 = f_1426063993; - } - - var f_1426064000 = Temporary1; - Label2: { - var fmtRes_1426064004 = [mnewString(0)]; - fmtRes_1426064004[0].push.apply(fmtRes_1426064004[0], [46]);; - formatValue_1426064005(fmtRes_1426064004, 0, state_1426063992.floatPrecision, []); - fmtRes_1426064004[0].push.apply(fmtRes_1426064004[0], [102]);; - }; - formatValue_1426064018(result_1426063994, 0, f_1426064000, fmtRes_1426064004[0]); - - return result_1426063994[0]; - -} - -function unsetDisabledTooltip_1426064420(id_1426064422) { - var Temporary1; - - var ele_1426064424 = id_1426064422; - if (!ele_1426064424.hasAttribute("data-tooltip")) Temporary1 = false; else { Temporary1 = ele_1426064424.hasAttribute("old-data-tooltip"); } if (Temporary1) { - ele_1426064424.setAttribute("data-tooltip", ele_1426064424.getAttribute("old-data-tooltip")); - ele_1426064424.removeAttribute("old-data-tooltip"); - } - - - -} - -function setDisabledTooltip_1426064425(id_1426064427) { - var ele_1426064429 = id_1426064427; - if (ele_1426064429.hasAttribute("data-tooltip")) { - if (!(ele_1426064429.hasAttribute("old-data-tooltip"))) { - ele_1426064429.setAttribute("old-data-tooltip", ele_1426064429.getAttribute("data-tooltip")); - } - - if (ele_1426064429.hasAttribute("disabled-data-tooltip")) { - ele_1426064429.setAttribute("data-tooltip", ele_1426064429.getAttribute("disabled-data-tooltip")); - } - - } - - - -} - -function toggleFormulaProc_1426064475(id_1426064477, to_1426064478, disabledTooltip_1426064479) { - var ele_1426064481 = document.getElementById(toJSStr(id_1426064477)); - var inp_1426064482 = ele_1426064481.firstChild; - var label_1426064483 = ele_1426064481.children[chckIndx(1, 0, (ele_1426064481.children).length - 1)]; - var icon_1426064484 = label_1426064483.firstChild; - if (to_1426064478) { - inp_1426064482.disabled = false; - icon_1426064484.style.setProperty("visibility", "visible", []); - unsetDisabledTooltip_1426064420(label_1426064483); - } - else { - inp_1426064482.disabled = true; - inp_1426064482.checked = false; - icon_1426064484.style.setProperty("visibility", "hidden", []); - if (disabledTooltip_1426064479) { - setDisabledTooltip_1426064425(label_1426064483); - } - - } - - - -} - -function runeLenAt_1140850782(s_1140850783, i_1140850784) { - var result_1140850785 = 0; - - if ((s_1140850783[chckIndx(i_1140850784, 0, (s_1140850783).length - 1)] <= 127)) { - result_1140850785 = 1; - } - else { - if (((s_1140850783[chckIndx(i_1140850784, 0, (s_1140850783).length - 1)] >>> 5) == 6)) { - result_1140850785 = 2; - } - else { - if (((s_1140850783[chckIndx(i_1140850784, 0, (s_1140850783).length - 1)] >>> 4) == 14)) { - result_1140850785 = 3; - } - else { - if (((s_1140850783[chckIndx(i_1140850784, 0, (s_1140850783).length - 1)] >>> 3) == 30)) { - result_1140850785 = 4; - } - else { - if (((s_1140850783[chckIndx(i_1140850784, 0, (s_1140850783).length - 1)] >>> 2) == 62)) { - result_1140850785 = 5; - } - else { - if (((s_1140850783[chckIndx(i_1140850784, 0, (s_1140850783).length - 1)] >>> 1) == 126)) { - result_1140850785 = 6; - } - else { - result_1140850785 = 1; - } - }}}}} - - return result_1140850785; - -} - -function runeOffset_1140851406(s_1140851407, pos_1140851408, start_1140851409) { - var result_1140851410 = 0; - - BeforeRet: { - var i_1140851411 = 0; - var o_1140851412 = start_1140851409; - Label1: { - Label2: while (true) { - if (!(i_1140851411 < pos_1140851408)) break Label2; - o_1140851412 = addInt(o_1140851412, chckRange(runeLenAt_1140850782(s_1140851407, o_1140851412), 0, 2147483647)); - if (((s_1140851407).length <= o_1140851412)) { - result_1140851410 = (-1); - break BeforeRet; - } - - i_1140851411 = addInt(i_1140851411, 1); - } - }; - result_1140851410 = o_1140851412; - break BeforeRet; - }; - - return result_1140851410; - -} - -function runeOffset_1140858052(s_1140858053, pos_1140858054, start_1140858055) { - var result_1140858056 = 0; - - result_1140858056 = runeOffset_1140851406((s_1140858053.slice(0, (s_1140858053).length - 1 + 1)), pos_1140858054, start_1140858055); - - return result_1140858056; - -} - -function formatValue_1577058475(result_1577058476, result_1577058476_Idx, value_1577058477, specifier_1577058478) { - var Temporary1; - - var spec_1577058479 = parseStandardFormatSpecifier_1577058362(specifier_1577058478, 0, false); - var value_1577058480 = nimCopy(null, value_1577058477, NTI33554449); - switch (spec_1577058479.typ) { - case 115: - case 0: - break; - default: - raiseException({message: ([105,110,118,97,108,105,100,32,116,121,112,101,32,105,110,32,102,111,114,109,97,116,32,115,116,114,105,110,103,32,102,111,114,32,115,116,114,105,110,103,44,32,101,120,112,101,99,116,101,100,32,39,115,39,44,32,98,117,116,32,103,111,116,32] || []).concat([spec_1577058479.typ]), parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - break; - } - if (!((spec_1577058479.precision == (-1)))) { - if ((spec_1577058479.precision < runeLen_1140857877(value_1577058480))) { - if (value_1577058480.length < (Temporary1 = chckRange(runeOffset_1140858052(value_1577058480, chckRange(spec_1577058479.precision, 0, 2147483647), 0), 0, 2147483647), Temporary1)) { for (var i = value_1577058480.length; i < Temporary1; ++i) value_1577058480.push(0); } - else {value_1577058480.length = Temporary1; }; - } - - } - - result_1577058476[result_1577058476_Idx].push.apply(result_1577058476[result_1577058476_Idx], alignString_1577058324(value_1577058480, spec_1577058479.minimumWidth, spec_1577058479.align, spec_1577058479.fill));; - - -} - -function unfreeze_1426064133(state_1426064134) { - state_1426064134.runner.enabled = true; - Matter.Render.run((state_1426064134.render)); - state_1426064134.frozen = false; - - -} - -function updateStateAccordion_1426064733(state_1426064734) { - var Temporary3; - var Temporary9; - - var siInitialState_1426064735 = toMu_1426063809(state_1426064734.trajectories[chckIndx(state_1426064734.currentTrajectory, 0, (state_1426064734.trajectories).length - 1)].state); - siInitialState_1426064735.gravity = nimCopy(siInitialState_1426064735.gravity, HEX2A_1677721966(siInitialState_1426064735.gravity, 279.0), NTI1677721603); - document.getElementById("state-input-h").value = toJSStr(strfloat_1426063991(state_1426064734, siInitialState_1426064735.height)); - Label1: { - var fmtRes_1426064739 = [mnewString(0)]; - formatValue_1426064018(fmtRes_1426064739, 0, siInitialState_1426064735.angleDeg, [46,48,102]); - }; - document.getElementById("state-input-a").value = toJSStr(fmtRes_1426064739[0]); - document.getElementById("state-input-s").value = toJSStr(strfloat_1426063991(state_1426064734, siInitialState_1426064735.speed)); - document.getElementById("state-input-vx").value = toJSStr(strfloat_1426063991(state_1426064734, siInitialState_1426064735.vel.Field0)); - document.getElementById("state-input-vy").value = toJSStr(strfloat_1426063991(state_1426064734, siInitialState_1426064735.vel.Field1)); - document.getElementById("state-input-g").value = toJSStr(strfloat_1426063991(state_1426064734, siInitialState_1426064735.gravity.Field1)); - Label2: { - toggleFormulaProc_1426064475([118,105,120], state_1426064734.showFormulaProc, false); - if (state_1426064734.showFormulaResults) { - Label4: { - var fmtRes_1426064753 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064753, 0, strfloat_1426063991(state_1426064734, siInitialState_1426064735.vel.Field0), []); - fmtRes_1426064753[0].push.apply(fmtRes_1426064753[0], [109,47,115]);; - }; - Temporary3 = fmtRes_1426064753[0]; - } - else { - Temporary3 = [95,95]; - } - - }; - Label5: { - var fmtRes_1426064757 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064757, 0, strfloat_1426063991(state_1426064734, siInitialState_1426064735.speed), []); - fmtRes_1426064757[0].push.apply(fmtRes_1426064757[0], [109,47,115]);; - }; - Label6: { - var fmtRes_1426064761 = [mnewString(0)]; - formatValue_1426064018(fmtRes_1426064761, 0, siInitialState_1426064735.angleDeg, [46,48,102]); - fmtRes_1426064761[0].push.apply(fmtRes_1426064761[0], [194,176]);; - }; - Label7: { - var fmtRes_1426064770 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064770, 0, strfloat_1426063991(state_1426064734, siInitialState_1426064735.vel.Field0), []); - fmtRes_1426064770[0].push.apply(fmtRes_1426064770[0], [109,47,115]);; - }; - Label8: { - toggleFormulaProc_1426064475([118,105,121], state_1426064734.showFormulaProc, false); - if (state_1426064734.showFormulaResults) { - Label10: { - var fmtRes_1426064779 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064779, 0, strfloat_1426063991(state_1426064734, siInitialState_1426064735.vel.Field1), []); - fmtRes_1426064779[0].push.apply(fmtRes_1426064779[0], [109,47,115]);; - }; - Temporary9 = fmtRes_1426064779[0]; - } - else { - Temporary9 = [95,95]; - } - - }; - Label11: { - var fmtRes_1426064783 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064783, 0, strfloat_1426063991(state_1426064734, siInitialState_1426064735.speed), []); - fmtRes_1426064783[0].push.apply(fmtRes_1426064783[0], [109,47,115]);; - }; - Label12: { - var fmtRes_1426064787 = [mnewString(0)]; - formatValue_1426064018(fmtRes_1426064787, 0, siInitialState_1426064735.angleDeg, [46,48,102]); - fmtRes_1426064787[0].push.apply(fmtRes_1426064787[0], [194,176]);; - }; - Label13: { - var fmtRes_1426064796 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064796, 0, strfloat_1426063991(state_1426064734, siInitialState_1426064735.vel.Field1), []); - fmtRes_1426064796[0].push.apply(fmtRes_1426064796[0], [109,47,115]);; - }; - var changes_1426064797 = [nimCopy(null, {Field0: makeNimstrLit("#vix > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, Temporary3, NTI33554449)}, NTI1426064493), nimCopy(null, {Field0: makeNimstrLit("#vix > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064757[0], NTI33554449)}, NTI1426064493), nimCopy(null, {Field0: makeNimstrLit("#vix > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(4) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064761[0], NTI33554449)}, NTI1426064493), nimCopy(null, {Field0: makeNimstrLit("#vix > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064770[0], NTI33554449)}, NTI1426064493), nimCopy(null, {Field0: makeNimstrLit("#viy > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, Temporary9, NTI33554449)}, NTI1426064493), nimCopy(null, {Field0: makeNimstrLit("#viy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064783[0], NTI33554449)}, NTI1426064493), nimCopy(null, {Field0: makeNimstrLit("#viy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(4) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064787[0], NTI33554449)}, NTI1426064493), nimCopy(null, {Field0: makeNimstrLit("#viy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064796[0], NTI33554449)}, NTI1426064493)]; - Label14: { - var query_1426064840 = []; - var value_1426064841 = []; - var i_570425524 = 0; - Label15: { - Label16: while (true) { - if (!true) break Label16; - var colontmp__570425527 = nimCopy(null, changes_1426064797[chckIndx(i_570425524, 0, (changes_1426064797).length - 1)], NTI1426064493); - query_1426064840 = colontmp__570425527["Field0"]; - value_1426064841 = colontmp__570425527["Field1"]; - document.querySelector(toJSStr(query_1426064840)).innerText = toJSStr(value_1426064841); - if ((7 <= i_570425524)) { - break Label15; - } - - i_570425524 = addInt(i_570425524, 1); - } - }; - }; - if (state_1426064734.frozen) { - unfreeze_1426064133(state_1426064734); - } - - - -} - -function toMu_1426063865(point_1426063866) { - -function HEX3Aanonymous_1426063868(d_1426063869) { - var result_1426063870 = 0.0; - - result_1426063870 = toMuDistance_1694499108(d_1426063869); - - return result_1426063870; - - } - -function HEX3Aanonymous_1426063871(v_1426063872) { - var result_1426063873 = 0.0; - - result_1426063873 = toMuSpeed_1694499111(v_1426063872); - - return result_1426063873; - - } - - var result_1426063867 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - - result_1426063867 = nimCopy(result_1426063867, point_1426063866, NTI1426063365); - result_1426063867.pos = nimCopy(result_1426063867.pos, both_1677722062(result_1426063867.pos, HEX3Aanonymous_1426063868), NTI1677721603); - result_1426063867.vel = nimCopy(result_1426063867.vel, both_1677722062(result_1426063867.vel, HEX3Aanonymous_1426063871), NTI1677721603); - result_1426063867.speed = toMuSpeed_1694499111(result_1426063867.speed); - - return result_1426063867; - -} - -function currentPoint_1426064858(state_1426064859) { - var result_1426064860 = {Field0: false, Field1: ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0})}; - - if ((contains_1426064861(state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].points, state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].closestPoint) && ((state_1426064859.followBullet && (0 < (state_1426064859.canon.flyingBullets).length)) || state_1426064859.draggingPoint))) { - var colontmp__570425590 = true; - var colontmp__570425591 = toMu_1426063865(state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].points[chckIndx(state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].closestPoint, 0, (state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].points).length - 1)]); - result_1426064860 = nimCopy(result_1426064860, {Field0: colontmp__570425590, Field1: nimCopy(null, colontmp__570425591, NTI1426063365)}, NTI1426064612); - } - else { - if ((!(state_1426064859.draggingPoint) && contains_1426064861(state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].points, state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].pinnedPoint))) { - var colontmp__570425592 = true; - var colontmp__570425593 = toMu_1426063865(state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].points[chckIndx(state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].pinnedPoint, 0, (state_1426064859.trajectories[chckIndx(state_1426064859.currentTrajectory, 0, (state_1426064859.trajectories).length - 1)].points).length - 1)]); - result_1426064860 = nimCopy(result_1426064860, {Field0: colontmp__570425592, Field1: nimCopy(null, colontmp__570425593, NTI1426063365)}, NTI1426064612); - } - } - - return result_1426064860; - -} - -function toggleFormulaProc_1426064410(id_1426064412, to_1426064413, disabledTooltip_1426064414) { - var ele_1426064416 = id_1426064412; - var inp_1426064417 = ele_1426064416.firstChild; - var label_1426064418 = ele_1426064416.children[chckIndx(1, 0, (ele_1426064416.children).length - 1)]; - var icon_1426064419 = label_1426064418.firstChild; - if (to_1426064413) { - inp_1426064417.disabled = false; - icon_1426064419.style.setProperty("visibility", "visible", []); - unsetDisabledTooltip_1426064420(label_1426064418); - } - else { - inp_1426064417.disabled = true; - inp_1426064417.checked = false; - icon_1426064419.style.setProperty("visibility", "hidden", []); - if (disabledTooltip_1426064414) { - setDisabledTooltip_1426064425(label_1426064418); - } - - } - - - -} - -function updatePointAccordion_1426064918(state_1426064919) { - var Temporary1; - var Temporary2; - var Temporary7; - var Temporary8; - var Temporary24; - var Temporary26; - var Temporary27; - - var tmpTuple_1426064920 = currentPoint_1426064858(state_1426064919); - var show_1426064921 = tmpTuple_1426064920["Field0"]; - var point_1426064922 = nimCopy(null, tmpTuple_1426064920["Field1"], NTI1426063365); - if (show_1426064921) { - document.getElementById("point-input-x").value = toJSStr(strfloat_1426063991(state_1426064919, point_1426064922.pos.Field0)); - document.getElementById("point-input-y").value = toJSStr(strfloat_1426063991(state_1426064919, point_1426064922.pos.Field1)); - document.getElementById("point-input-t").value = toJSStr(strfloat_1426063991(state_1426064919, point_1426064922.time)); - document.getElementById("point-input-vx").value = toJSStr(strfloat_1426063991(state_1426064919, point_1426064922.vel.Field0)); - document.getElementById("point-input-vy").value = toJSStr(strfloat_1426063991(state_1426064919, point_1426064922.vel.Field1)); - document.getElementById("point-input-s").value = toJSStr(strfloat_1426063991(state_1426064919, point_1426064922.speed)); - } - else { - document.getElementById("point-input-x").value = ""; - document.getElementById("point-input-y").value = ""; - document.getElementById("point-input-t").value = ""; - document.getElementById("point-input-vx").value = ""; - document.getElementById("point-input-vy").value = ""; - document.getElementById("point-input-s").value = ""; - } - - var siInitialState_1426064923 = toMu_1426063809(state_1426064919.trajectories[chckIndx(state_1426064919.currentTrajectory, 0, (state_1426064919.trajectories).length - 1)].state); - siInitialState_1426064923.gravity = nimCopy(siInitialState_1426064923.gravity, HEX2A_1677721966(siInitialState_1426064923.gravity, 279.0), NTI1677721603); - var xEle_1426064924 = document.getElementById("x"); - var yEle_1426064925 = document.getElementById("y"); - var vyEle_1426064926 = document.getElementById("vy"); - if (!(show_1426064921)) { - toggleFormulaProc_1426064410(xEle_1426064924, false, true); - Temporary1 = [95,95]; - } - else { - toggleFormulaProc_1426064410(xEle_1426064924, state_1426064919.showFormulaProc, false); - if (state_1426064919.showFormulaResults) { - Label3: { - var fmtRes_1426064940 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064940, 0, strfloat_1426063991(state_1426064919, point_1426064922.pos.Field0), []); - fmtRes_1426064940[0].push.apply(fmtRes_1426064940[0], [109]);; - }; - Temporary2 = fmtRes_1426064940[0]; - } - else { - Temporary2 = [95,95]; - } - - Temporary1 = Temporary2; - } - - Label4: { - var fmtRes_1426064944 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064944, 0, strfloat_1426063991(state_1426064919, point_1426064922.time), []); - fmtRes_1426064944[0].push.apply(fmtRes_1426064944[0], [115]);; - }; - Label5: { - var fmtRes_1426064948 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064948, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.vel.Field0), []); - fmtRes_1426064948[0].push.apply(fmtRes_1426064948[0], [109,47,115]);; - }; - Label6: { - var fmtRes_1426064952 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064952, 0, strfloat_1426063991(state_1426064919, point_1426064922.pos.Field0), []); - fmtRes_1426064952[0].push.apply(fmtRes_1426064952[0], [109]);; - }; - if (!(show_1426064921)) { - toggleFormulaProc_1426064410(yEle_1426064925, false, true); - Temporary7 = [95,95]; - } - else { - toggleFormulaProc_1426064410(yEle_1426064925, state_1426064919.showFormulaProc, false); - if (state_1426064919.showFormulaResults) { - Label9: { - var fmtRes_1426064966 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064966, 0, strfloat_1426063991(state_1426064919, point_1426064922.pos.Field1), []); - fmtRes_1426064966[0].push.apply(fmtRes_1426064966[0], [109]);; - }; - Temporary8 = fmtRes_1426064966[0]; - } - else { - Temporary8 = [95,95]; - } - - Temporary7 = Temporary8; - } - - Label10: { - var fmtRes_1426064970 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064970, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.height), []); - fmtRes_1426064970[0].push.apply(fmtRes_1426064970[0], [109]);; - }; - Label11: { - var fmtRes_1426064974 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064974, 0, strfloat_1426063991(state_1426064919, point_1426064922.time), []); - fmtRes_1426064974[0].push.apply(fmtRes_1426064974[0], [115]);; - }; - Label12: { - var fmtRes_1426064978 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064978, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.vel.Field1), []); - fmtRes_1426064978[0].push.apply(fmtRes_1426064978[0], [109,47,115]);; - }; - Label13: { - var fmtRes_1426064982 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064982, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.gravity.Field1), []); - fmtRes_1426064982[0].push.apply(fmtRes_1426064982[0], [109,47,115,194,178]);; - }; - Label14: { - var fmtRes_1426064986 = [mnewString(0)]; - fmtRes_1426064986[0].push.apply(fmtRes_1426064986[0], [40]);; - formatValue_1577058475(fmtRes_1426064986, 0, strfloat_1426063991(state_1426064919, point_1426064922.time), []); - fmtRes_1426064986[0].push.apply(fmtRes_1426064986[0], [115,41]);; - }; - Label15: { - var fmtRes_1426064990 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064990, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.height), []); - fmtRes_1426064990[0].push.apply(fmtRes_1426064990[0], [109]);; - }; - Label16: { - var fmtRes_1426064994 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064994, 0, strfloat_1426063991(state_1426064919, (point_1426064922.time * siInitialState_1426064923.vel.Field1)), []); - fmtRes_1426064994[0].push.apply(fmtRes_1426064994[0], [109]);; - }; - Label17: { - var fmtRes_1426064998 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064998, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.gravity.Field1), []); - fmtRes_1426064998[0].push.apply(fmtRes_1426064998[0], [109,47,115,194,178]);; - }; - Label18: { - var fmtRes_1426065002 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065002, 0, strfloat_1426063991(state_1426064919, HEX5E_1677721994(point_1426064922.time, 2)), []); - fmtRes_1426065002[0].push.apply(fmtRes_1426065002[0], [115,194,178]);; - }; - Label19: { - var fmtRes_1426065010 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065010, 0, strfloat_1426063991(state_1426064919, (siInitialState_1426064923.height + (point_1426064922.time * siInitialState_1426064923.vel.Field1))), []); - fmtRes_1426065010[0].push.apply(fmtRes_1426065010[0], [109]);; - }; - Label20: { - var fmtRes_1426065014 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065014, 0, strfloat_1426063991(state_1426064919, (siInitialState_1426064923.gravity.Field1 * HEX5E_1677721994(point_1426064922.time, 2))), []); - fmtRes_1426065014[0].push.apply(fmtRes_1426065014[0], [109]);; - }; - Label21: { - var fmtRes_1426065022 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065022, 0, strfloat_1426063991(state_1426064919, (siInitialState_1426064923.height + (point_1426064922.time * siInitialState_1426064923.vel.Field1))), []); - fmtRes_1426065022[0].push.apply(fmtRes_1426065022[0], [109]);; - }; - Label22: { - var fmtRes_1426065026 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065026, 0, strfloat_1426063991(state_1426064919, ((siInitialState_1426064923.gravity.Field1 * HEX5E_1677721994(point_1426064922.time, 2)) / 2.0)), []); - fmtRes_1426065026[0].push.apply(fmtRes_1426065026[0], [109]);; - }; - Label23: { - var fmtRes_1426065034 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065034, 0, strfloat_1426063991(state_1426064919, point_1426064922.pos.Field1), []); - fmtRes_1426065034[0].push.apply(fmtRes_1426065034[0], [109]);; - }; - if (state_1426064919.showFormulaResults) { - Label25: { - var fmtRes_1426065038 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065038, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.vel.Field0), []); - fmtRes_1426065038[0].push.apply(fmtRes_1426065038[0], [109,47,115]);; - }; - Temporary24 = fmtRes_1426065038[0]; - } - else { - Temporary24 = [95,95]; - } - - if (!(show_1426064921)) { - toggleFormulaProc_1426064410(vyEle_1426064926, false, true); - Temporary26 = [95,95]; - } - else { - toggleFormulaProc_1426064410(vyEle_1426064926, state_1426064919.showFormulaProc, false); - if (state_1426064919.showFormulaResults) { - Label28: { - var fmtRes_1426065052 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065052, 0, strfloat_1426063991(state_1426064919, point_1426064922.vel.Field1), []); - fmtRes_1426065052[0].push.apply(fmtRes_1426065052[0], [109,47,115]);; - }; - Temporary27 = fmtRes_1426065052[0]; - } - else { - Temporary27 = [95,95]; - } - - Temporary26 = Temporary27; - } - - Label29: { - var fmtRes_1426065056 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065056, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.vel.Field1), []); - fmtRes_1426065056[0].push.apply(fmtRes_1426065056[0], [109,47,115]);; - }; - Label30: { - var fmtRes_1426065060 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065060, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.gravity.Field1), []); - fmtRes_1426065060[0].push.apply(fmtRes_1426065060[0], [109,47,115,194,178]);; - }; - Label31: { - var fmtRes_1426065064 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065064, 0, strfloat_1426063991(state_1426064919, point_1426064922.time), []); - fmtRes_1426065064[0].push.apply(fmtRes_1426065064[0], [115]);; - }; - Label32: { - var fmtRes_1426065068 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065068, 0, strfloat_1426063991(state_1426064919, siInitialState_1426064923.vel.Field1), []); - fmtRes_1426065068[0].push.apply(fmtRes_1426065068[0], [109,47,115]);; - }; - Label33: { - var fmtRes_1426065072 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065072, 0, strfloat_1426063991(state_1426064919, (siInitialState_1426064923.gravity.Field1 * point_1426064922.time)), []); - fmtRes_1426065072[0].push.apply(fmtRes_1426065072[0], [109,47,115]);; - }; - Label34: { - var fmtRes_1426065076 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426065076, 0, strfloat_1426063991(state_1426064919, point_1426064922.vel.Field1), []); - fmtRes_1426065076[0].push.apply(fmtRes_1426065076[0], [109,47,115]);; - }; - var changes_1426065077 = [nimCopy(null, {Field0: makeNimstrLit("#x > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, Temporary1, NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#x > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064944[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#x > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064948[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#x > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064952[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: [115,112,97,110,46,98,97,115,101,58,110,116,104,45,99,104,105,108,100,40,54,41,32,62,32,115,112,97,110,58,110,116,104,45,99,104,105,108,100,40,50,41], Field1: nimCopy(null, Temporary7, NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064970[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064974[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064978[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(5) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064982[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(5) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064986[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064990[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064994[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064998[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7)"), Field1: nimCopy(null, fmtRes_1426065002[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(3) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065010[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(3) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426065014[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(4) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065022[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(4) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065026[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(4) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065034[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vx > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, Temporary24, NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vy > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(5) > span:nth-child(2)"), Field1: nimCopy(null, Temporary26, NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065056[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065060[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065064[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065068[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065072[0], NTI33554449)}, NTI1426064688), nimCopy(null, {Field0: makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426065076[0], NTI33554449)}, NTI1426064688)]; - Label35: { - var query_1426065120 = []; - var value_1426065121 = []; - var i_570425586 = 0; - Label36: { - Label37: while (true) { - if (!true) break Label37; - var colontmp__570425589 = nimCopy(null, changes_1426065077[chckIndx(i_570425586, 0, (changes_1426065077).length - 1)], NTI1426064688); - query_1426065120 = colontmp__570425589["Field0"]; - value_1426065121 = colontmp__570425589["Field1"]; - document.querySelector(toJSStr(query_1426065120)).innerText = toJSStr(value_1426065121); - if ((26 <= i_570425586)) { - break Label36; - } - - i_570425586 = addInt(i_570425586, 1); - } - }; - }; - if (state_1426064919.frozen) { - unfreeze_1426064133(state_1426064919); - } - - - -} - -function updateFormulaAccordion_1426064398(state_1426064399) { - var Temporary1; - var Temporary2; - var Temporary14; - var Temporary39; - - var siInitialState_1426064400 = toMu_1426063809(state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].state); - siInitialState_1426064400.gravity = nimCopy(siInitialState_1426064400.gravity, HEX2A_1677721966(siInitialState_1426064400.gravity, 279.0), NTI1677721603); - var vySquared_1426064405 = HEX5E_1677721994(siInitialState_1426064400.vel.Field1, 2); - var gTwice_1426064406 = (siInitialState_1426064400.gravity.Field1 * 2.0); - var gTimesH_1426064407 = (siInitialState_1426064400.gravity.Field1 * siInitialState_1426064400.height); - var gTimesHTwice_1426064408 = (2.0 * gTimesH_1426064407); - var hmaxEle_1426064409 = document.getElementById("maxheight"); - if ((state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].highestPoint == 0)) { - toggleFormulaProc_1426064410(hmaxEle_1426064409, false, true); - Temporary1 = [95,95]; - } - else { - toggleFormulaProc_1426064410(hmaxEle_1426064409, state_1426064399.showFormulaProc, false); - if (state_1426064399.showFormulaResults) { - Label3: { - var fmtRes_1426064438 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064438, 0, strfloat_1426063991(state_1426064399, toMuDistance_1694499108(state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].points[chckIndx(state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].highestPoint, 0, (state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].points).length - 1)].pos.Field1)), []); - fmtRes_1426064438[0].push.apply(fmtRes_1426064438[0], [109]);; - }; - Temporary2 = fmtRes_1426064438[0]; - } - else { - Temporary2 = [95,95]; - } - - Temporary1 = Temporary2; - } - - Label4: { - var fmtRes_1426064442 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064442, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.height), []); - fmtRes_1426064442[0].push.apply(fmtRes_1426064442[0], [109]);; - }; - Label5: { - var fmtRes_1426064446 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064446, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064446[0].push.apply(fmtRes_1426064446[0], [109,47,115,194,178]);; - }; - Label6: { - var fmtRes_1426064450 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064450, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field1), []); - fmtRes_1426064450[0].push.apply(fmtRes_1426064450[0], [109,47,115]);; - }; - Label7: { - var fmtRes_1426064454 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064454, 0, strfloat_1426063991(state_1426064399, vySquared_1426064405), []); - fmtRes_1426064454[0].push.apply(fmtRes_1426064454[0], [109,194,178,47,115,194,178]);; - }; - Label8: { - var fmtRes_1426064458 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064458, 0, strfloat_1426063991(state_1426064399, gTwice_1426064406), []); - fmtRes_1426064458[0].push.apply(fmtRes_1426064458[0], [109,47,115,194,178]);; - }; - Label9: { - var fmtRes_1426064462 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064462, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.height), []); - fmtRes_1426064462[0].push.apply(fmtRes_1426064462[0], [109]);; - }; - Label10: { - var fmtRes_1426064466 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064466, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.height), []); - fmtRes_1426064466[0].push.apply(fmtRes_1426064466[0], [109]);; - }; - Label11: { - var fmtRes_1426064470 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064470, 0, strfloat_1426063991(state_1426064399, (vySquared_1426064405 / gTwice_1426064406)), []); - fmtRes_1426064470[0].push.apply(fmtRes_1426064470[0], [109]);; - }; - Label12: { - var fmtRes_1426064474 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064474, 0, strfloat_1426063991(state_1426064399, (siInitialState_1426064400.height + (vySquared_1426064405 / gTwice_1426064406))), []); - fmtRes_1426064474[0].push.apply(fmtRes_1426064474[0], [109]);; - }; - Label13: { - toggleFormulaProc_1426064475([116,105,109,101,102,108,105,103,104,116], state_1426064399.showFormulaProc, false); - if (state_1426064399.showFormulaResults) { - Label15: { - var fmtRes_1426064494 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064494, 0, strfloat_1426063991(state_1426064399, HEX5BHEX5D_1426064495(state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].points, 1).time), []); - fmtRes_1426064494[0].push.apply(fmtRes_1426064494[0], [115]);; - }; - Temporary14 = fmtRes_1426064494[0]; - } - else { - Temporary14 = [95,95]; - } - - }; - Label16: { - var fmtRes_1426064523 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064523, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field1), []); - fmtRes_1426064523[0].push.apply(fmtRes_1426064523[0], [109,47,115]);; - }; - Label17: { - var fmtRes_1426064527 = [mnewString(0)]; - fmtRes_1426064527[0].push.apply(fmtRes_1426064527[0], [40]);; - formatValue_1577058475(fmtRes_1426064527, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field1), []); - fmtRes_1426064527[0].push.apply(fmtRes_1426064527[0], [109,47,115,41]);; - }; - Label18: { - var fmtRes_1426064531 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064531, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064531[0].push.apply(fmtRes_1426064531[0], [109,47,115,194,178]);; - }; - Label19: { - var fmtRes_1426064535 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064535, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.height), []); - fmtRes_1426064535[0].push.apply(fmtRes_1426064535[0], [109]);; - }; - Label20: { - var fmtRes_1426064539 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064539, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064539[0].push.apply(fmtRes_1426064539[0], [109,47,115,194,178]);; - }; - Label21: { - var fmtRes_1426064543 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064543, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field1), []); - fmtRes_1426064543[0].push.apply(fmtRes_1426064543[0], [109,47,115]);; - }; - Label22: { - var fmtRes_1426064547 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064547, 0, strfloat_1426063991(state_1426064399, vySquared_1426064405), []); - fmtRes_1426064547[0].push.apply(fmtRes_1426064547[0], [109,194,178,47,115,194,178]);; - }; - Label23: { - var fmtRes_1426064551 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064551, 0, strfloat_1426063991(state_1426064399, gTimesH_1426064407), []); - fmtRes_1426064551[0].push.apply(fmtRes_1426064551[0], [109,194,178,47,115,194,178]);; - }; - Label24: { - var fmtRes_1426064555 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064555, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064555[0].push.apply(fmtRes_1426064555[0], [109,47,115,194,178]);; - }; - Label25: { - var fmtRes_1426064559 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064559, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field1), []); - fmtRes_1426064559[0].push.apply(fmtRes_1426064559[0], [109,47,115]);; - }; - Label26: { - var fmtRes_1426064563 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064563, 0, strfloat_1426063991(state_1426064399, vySquared_1426064405), []); - fmtRes_1426064563[0].push.apply(fmtRes_1426064563[0], [109,194,178,47,115,194,178]);; - }; - Label27: { - var fmtRes_1426064567 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064567, 0, strfloat_1426063991(state_1426064399, gTimesHTwice_1426064408), []); - fmtRes_1426064567[0].push.apply(fmtRes_1426064567[0], [109,194,178,47,115,194,178]);; - }; - Label28: { - var fmtRes_1426064571 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064571, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064571[0].push.apply(fmtRes_1426064571[0], [109,47,115,194,178]);; - }; - Label29: { - var fmtRes_1426064575 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064575, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field1), []); - fmtRes_1426064575[0].push.apply(fmtRes_1426064575[0], [109,47,115]);; - }; - Label30: { - var fmtRes_1426064579 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064579, 0, strfloat_1426063991(state_1426064399, (vySquared_1426064405 + gTimesHTwice_1426064408)), []); - }; - Label31: { - var fmtRes_1426064583 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064583, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064583[0].push.apply(fmtRes_1426064583[0], [109,47,115,194,178]);; - }; - Label32: { - var fmtRes_1426064587 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064587, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field1), []); - fmtRes_1426064587[0].push.apply(fmtRes_1426064587[0], [109,47,115]);; - }; - Label33: { - var fmtRes_1426064591 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064591, 0, strfloat_1426063991(state_1426064399, Math.sqrt((vySquared_1426064405 + gTimesHTwice_1426064408))), []); - fmtRes_1426064591[0].push.apply(fmtRes_1426064591[0], [109,47,115]);; - }; - Label34: { - var fmtRes_1426064595 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064595, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064595[0].push.apply(fmtRes_1426064595[0], [109,47,115,194,178]);; - }; - Label35: { - var fmtRes_1426064599 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064599, 0, strfloat_1426063991(state_1426064399, (siInitialState_1426064400.vel.Field1 + Math.sqrt((vySquared_1426064405 + gTimesHTwice_1426064408)))), []); - fmtRes_1426064599[0].push.apply(fmtRes_1426064599[0], [109,47,115]);; - }; - Label36: { - var fmtRes_1426064603 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064603, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.gravity.Field1), []); - fmtRes_1426064603[0].push.apply(fmtRes_1426064603[0], [109,47,115,194,178]);; - }; - Label37: { - var fmtRes_1426064607 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064607, 0, strfloat_1426063991(state_1426064399, ((siInitialState_1426064400.vel.Field1 + Math.sqrt((vySquared_1426064405 + gTimesHTwice_1426064408))) / siInitialState_1426064400.gravity.Field1)), []); - fmtRes_1426064607[0].push.apply(fmtRes_1426064607[0], [115]);; - }; - Label38: { - toggleFormulaProc_1426064475([109,97,120,114,97,110,103,101,100,105,118], state_1426064399.showFormulaProc, false); - if (state_1426064399.showFormulaResults) { - Label40: { - var fmtRes_1426064616 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064616, 0, strfloat_1426063991(state_1426064399, toMuDistance_1694499108(HEX5BHEX5D_1426064495(state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].points, 1).pos.Field0)), []); - fmtRes_1426064616[0].push.apply(fmtRes_1426064616[0], [109]);; - }; - Temporary39 = fmtRes_1426064616[0]; - } - else { - Temporary39 = [95,95]; - } - - }; - Label41: { - var fmtRes_1426064624 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064624, 0, strfloat_1426063991(state_1426064399, siInitialState_1426064400.vel.Field0), []); - fmtRes_1426064624[0].push.apply(fmtRes_1426064624[0], [109,47,115]);; - }; - Label42: { - var fmtRes_1426064628 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064628, 0, strfloat_1426063991(state_1426064399, HEX5BHEX5D_1426064495(state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].points, 1).time), []); - fmtRes_1426064628[0].push.apply(fmtRes_1426064628[0], [115]);; - }; - Label43: { - var fmtRes_1426064636 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426064636, 0, strfloat_1426063991(state_1426064399, toMuDistance_1694499108(HEX5BHEX5D_1426064495(state_1426064399.trajectories[chckIndx(state_1426064399.currentTrajectory, 0, (state_1426064399.trajectories).length - 1)].points, 1).pos.Field0)), []); - fmtRes_1426064636[0].push.apply(fmtRes_1426064636[0], [109]);; - }; - var changes_1426064641 = [nimCopy(null, {Field0: makeNimstrLit("#maxheight > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, Temporary1, NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064442[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(7)"), Field1: nimCopy(null, fmtRes_1426064446[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064450[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064454[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064458[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064462[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064466[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064470[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#mh4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064474[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#l_f-2 > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, Temporary14, NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064523[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064527[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(13)"), Field1: nimCopy(null, fmtRes_1426064531[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: [115,112,97,110,46,109,111,114,100,58,110,116,104,45,99,104,105,108,100,40,49,57,41], Field1: nimCopy(null, fmtRes_1426064535[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064539[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064543[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064547[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(13)"), Field1: nimCopy(null, fmtRes_1426064551[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064555[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064559[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064563[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(7)"), Field1: nimCopy(null, fmtRes_1426064567[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064571[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064575[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064579[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064583[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf5 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064587[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf5 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7)"), Field1: nimCopy(null, fmtRes_1426064591[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf5 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064595[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf6 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064599[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf6 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"), Field1: nimCopy(null, fmtRes_1426064603[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#tf6 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064607[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#l_f-3 > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, Temporary39, NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#maxRange > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064624[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#maxRange > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064628[0], NTI33554449)}, NTI1426063959), nimCopy(null, {Field0: makeNimstrLit("#maxRange > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"), Field1: nimCopy(null, fmtRes_1426064636[0], NTI33554449)}, NTI1426063959)]; - Label44: { - var query_1426064684 = []; - var value_1426064685 = []; - var i_570425635 = 0; - Label45: { - Label46: while (true) { - if (!true) break Label46; - var colontmp__570425638 = nimCopy(null, changes_1426064641[chckIndx(i_570425635, 0, (changes_1426064641).length - 1)], NTI1426063959); - query_1426064684 = colontmp__570425638["Field0"]; - value_1426064685 = colontmp__570425638["Field1"]; - document.querySelector(toJSStr(query_1426064684)).innerText = toJSStr(value_1426064685); - if ((36 <= i_570425635)) { - break Label45; - } - - i_570425635 = addInt(i_570425635, 1); - } - }; - }; - if (state_1426064399.frozen) { - unfreeze_1426064133(state_1426064399); - } - - - -} - -function calcTrajectory_1426065138(state_1426065139) { - if ((state_1426065139.followBullet && (0 < (state_1426065139.canon.flyingBullets).length))) { - document.getElementById("point-input-f").checked = false; - state_1426065139.followBullet = false; - } - - var initialState_1426065146 = nimCopy(null, state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].state, NTI1426063363); - initialState_1426065146.gravity = nimCopy(initialState_1426065146.gravity, HEX2A_1677721966(initialState_1426065146.gravity, 279.0), NTI1677721603); - var downwards_1426065147 = ((180.0 < initialState_1426065146.angleDeg) && (initialState_1426065146.angleDeg < 360.0)); - var prevHighestPoint_1426065152 = ((!((state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint == 0)) && contains_1426064861(state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points, state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint)) && (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].highestPoint == state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint)); - var prevLastPoint_1426065160 = ((!((state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint == 0)) && contains_1426064861(state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points, state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint)) && ((state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points).length - 1 == state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint)); - var highest_1426065163 = {Field0: 0, Field1: 0.0}; - if (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points.length < 0) { for (var i = state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points.length ; i < 0 ; ++i) state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points.push(({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0})); } - else { state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points.length = 0; }; - Label1: { - var t_1426065168 = 0.0; - var colontmp__570425486 = new Float64Array(2); - colontmp__570425486 = nimCopy(colontmp__570425486, new Float64Array([0.0, calcTotalTime_1426063464(initialState_1426065146)]), NTI1426065073); - var res_570425494 = [colontmp__570425486[chckIndx(0, 0, (colontmp__570425486).length - 1)]]; - Label2: { - var i_570425496 = 0.0; - var colontmp__570425497 = []; - colontmp__570425497 = HEX5BHEX5D_1694499019(colontmp__570425486, HEX2EHEX2E_1073741928(1, 1)); - var i_570425498 = 0; - var L_570425499 = (colontmp__570425497).length; - Label3: { - Label4: while (true) { - if (!(i_570425498 < L_570425499)) break Label4; - i_570425496 = colontmp__570425497[chckIndx(i_570425498, 0, (colontmp__570425497).length - 1)]; - Label5: { - Label6: while (true) { - if (!(res_570425494[0] < i_570425496)) break Label6; - t_1426065168 = res_570425494[0]; - var point_1426065169 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - point_1426065169.time = round_1426064167(t_1426065168, state_1426065139.floatPrecision); - point_1426065169.pos = nimCopy(point_1426065169.pos, calcPos_1426063493(initialState_1426065146, point_1426065169.time), NTI1677721603); - point_1426065169.vel = nimCopy(point_1426065169.vel, calcVel_1426063497(initialState_1426065146, point_1426065169.time), NTI1677721603); - point_1426065169.speed = magnitude_1426063518(point_1426065169.vel); - var Temporary7 = nimCopy(null, point_1426065169, NTI1426063365); - state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points.push(Temporary7);; - if ((!(downwards_1426065147) && (highest_1426065163.Field1 < point_1426065169.pos.Field1))) { - var colontmp__570425484 = (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points).length - 1; - var colontmp__570425485 = point_1426065169.pos.Field1; - highest_1426065163 = nimCopy(highest_1426065163, {Field0: colontmp__570425484, Field1: colontmp__570425485}, NTI1426065064); - } - - HEX2BHEX3D_872417557(res_570425494, 0, 0.018666666666666668); - } - }; - t_1426065168 = i_570425496; - var point_570425502 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - point_570425502.time = round_1426064167(t_1426065168, state_1426065139.floatPrecision); - point_570425502.pos = nimCopy(point_570425502.pos, calcPos_1426063493(initialState_1426065146, point_570425502.time), NTI1677721603); - point_570425502.vel = nimCopy(point_570425502.vel, calcVel_1426063497(initialState_1426065146, point_570425502.time), NTI1677721603); - point_570425502.speed = magnitude_1426063518(point_570425502.vel); - var Temporary8 = nimCopy(null, point_570425502, NTI1426063365); - state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points.push(Temporary8);; - if ((!(downwards_1426065147) && (highest_1426065163.Field1 < point_570425502.pos.Field1))) { - var colontmp__570425503 = (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points).length - 1; - var colontmp__570425504 = point_570425502.pos.Field1; - highest_1426065163 = nimCopy(highest_1426065163, {Field0: colontmp__570425503, Field1: colontmp__570425504}, NTI1426065064); - } - - i_570425498 = addInt(i_570425498, 1); - if (!(((colontmp__570425497).length == L_570425499))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - }; - state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].highestPoint = highest_1426065163.Field0; - if (!(downwards_1426065147)) { - var highestPoint_1426065181 = nimCopy(null, state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points[chckIndx(highest_1426065163.Field0, 0, (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points).length - 1)], NTI1426063365); - var initialStateB_1426065182 = nimCopy(null, initialState_1426065146, NTI1426063363); - initialStateB_1426065182.height = 0.0; - highestPoint_1426065181.pos.Field1 = round_1426064167(calcMaxHeight_1426063474(initialState_1426065146), state_1426065139.floatPrecision); - highestPoint_1426065181.time = round_1426064167((calcTotalTime_1426063464(initialStateB_1426065182) / 2.0), state_1426065139.floatPrecision); - highestPoint_1426065181.pos.Field0 = round_1426064167(calcX_1426063481(initialState_1426065146, highestPoint_1426065181.time), state_1426065139.floatPrecision); - highestPoint_1426065181.vel.Field1 = 0.0; - highestPoint_1426065181.speed = magnitude_1426063518(highestPoint_1426065181.vel); - state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points[chckIndx(highest_1426065163.Field0, 0, (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points).length - 1)] = nimCopy(state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points[chckIndx(highest_1426065163.Field0, 0, (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points).length - 1)], highestPoint_1426065181, NTI1426063365); - } - - HEX5BHEX5D_1426064495(state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points, 1).pos = nimCopy(HEX5BHEX5D_1426064495(state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points, 1).pos, vec_1677721936(round_1426064167(calcMaxRange_1426063471(initialState_1426065146), state_1426065139.floatPrecision), 0.0), NTI1677721603); - if ((prevHighestPoint_1426065152 && !(downwards_1426065147))) { - state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint = highest_1426065163.Field0; - } - else { - if (prevLastPoint_1426065160) { - state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].pinnedPoint = (state_1426065139.trajectories[chckIndx(state_1426065139.currentTrajectory, 0, (state_1426065139.trajectories).length - 1)].points).length - 1; - } - } - updateStateAccordion_1426064733(state_1426065139); - updatePointAccordion_1426064918(state_1426065139); - updateFormulaAccordion_1426064398(state_1426065139); - - -} - -function onResize_1426065422(state_1426065423, first_1426065424) { - -function innerHEX60gensym284_1426065458() { - -function innerHEX60gensym290_1426065466() { - var result_1426065467 = null; - - BeforeRet: { - var a_1426065468 = null; - a_1426065468 = {}; - a_1426065468.wrap = wrap_1426065451; - result_1426065467 = a_1426065468; - break BeforeRet; - }; - - return result_1426065467; - - } - - var result_1426065459 = null; - - BeforeRet: { - var a_1426065460 = null; - a_1426065460 = {}; - a_1426065460.plugin = innerHEX60gensym290_1426065466(); - result_1426065459 = a_1426065460; - break BeforeRet; - }; - - return result_1426065459; - - } - -function innerHEX60gensym298_1426065494() { - var result_1426065495 = null; - - BeforeRet: { - var a_1426065496 = null; - a_1426065496 = {}; - a_1426065496.wrap = wrap_1426065451; - result_1426065495 = a_1426065496; - break BeforeRet; - }; - - return result_1426065495; - - } - var Temporary4; - -function innerHEX60gensym322_1426065582() { - var result_1426065583 = null; - - BeforeRet: { - var a_1426065584 = null; - a_1426065584 = {}; - a_1426065584.x = ((state_1426065423.canvasSize.Field0) * b_1426065543.xratio); - a_1426065584.y = b_1426065543.position.y; - result_1426065583 = a_1426065584; - break BeforeRet; - }; - - return result_1426065583; - - } - -function innerHEX60gensym345_1426065655() { - var result_1426065656 = null; - - BeforeRet: { - var a_1426065657 = null; - a_1426065657 = {}; - a_1426065657.x = b_1426065543.position.x; - a_1426065657.y = ((state_1426065423.canvasSize.Field1) * b_1426065543.yratio); - result_1426065656 = a_1426065657; - break BeforeRet; - }; - - return result_1426065656; - - } - var Temporary5; - - BeforeRet: { - if ((!(first_1426065424) && !(state_1426065423.startedRendering))) { - break BeforeRet; - } - - state_1426065423.canvasSize.Field0 = state_1426065423.canvas.clientWidth; - state_1426065423.canvasSize.Field1 = state_1426065423.canvas.clientHeight; - state_1426065423.render.canvas.width = state_1426065423.canvasSize.Field0; - state_1426065423.render.canvas.height = state_1426065423.canvasSize.Field1; - var wrap_1426065451 = wrapObject_1426063895(state_1426065423); - if (!((state_1426065423.canon.bulletOptions))) { - state_1426065423.canon.bulletOptions = innerHEX60gensym284_1426065458(); - } - else { - state_1426065423.canon.bulletOptions.plugin = innerHEX60gensym298_1426065494(); - } - - Label1: { - var b_1426065543 = null; - var colontmp__570425479 = []; - colontmp__570425479 = (Matter.Composite.allBodies((state_1426065423.engine.world))); - var i_570425480 = 0; - var L_570425481 = (colontmp__570425479).length; - Label2: { - Label3: while (true) { - if (!(i_570425480 < L_570425481)) break Label3; - b_1426065543 = colontmp__570425479[chckIndx(i_570425480, 0, (colontmp__570425479).length - 1)]; - Matter.Sleeping.set((b_1426065543), (false)); - if (!b_1426065543.hasOwnProperty("plugin")) Temporary4 = false; else { Temporary4 = b_1426065543.plugin.hasOwnProperty("wrap"); } if (Temporary4) { - b_1426065543.plugin.wrap = wrap_1426065451; - } - - if (b_1426065543.hasOwnProperty("xratio")) { - var pos_1426065623 = innerHEX60gensym322_1426065582(); - Matter.Body.setPosition((b_1426065543), (pos_1426065623)); - } - - if (b_1426065543.hasOwnProperty("yratio")) { - Matter.Body.setPosition((b_1426065543), (innerHEX60gensym345_1426065655())); - } - - i_570425480 = addInt(i_570425480, 1); - if (!(((colontmp__570425479).length == L_570425481))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - if (state_1426065423.canon.base.dragging) { - Temporary5 = ((state_1426065423.mouse.position.y) + state_1426065423.canon.base.dragOffset); - } - else { - Temporary5 = -1.0; - } - - var y_1426065717 = Temporary5; - moveCanonTo_1426065275(state_1426065423, y_1426065717, first_1426065424); - if (!(first_1426065424)) { - calcTrajectory_1426065138(state_1426065423); - } - - }; - - -} - -function rotateCanonBack_1426064283(state_1426064284, rad_1426064288, limit_1426064289) { - rotateCanon_1426064221(state_1426064284, -(rad_1426064288), limit_1426064289); - - -} - -function nextBullet_1426064290(state_1426064291) { - var result_1426064292 = null; - - result_1426064292 = Matter.Bodies.circle((state_1426064291.canon.pivot.Field0), (state_1426064291.canon.pivot.Field1), (state_1426064291.canon.bulletRadius), (state_1426064291.canon.bulletOptions)); - Matter.Body.setAngle((result_1426064292), (state_1426064291.trajectories[chckIndx(state_1426064291.currentTrajectory, 0, (state_1426064291.trajectories).length - 1)].state.angleDeg)); - Matter.Body.setInertia((result_1426064292), (Infinity)); - - return result_1426064292; - -} - -function HEX3DHEX3D_1426065743(x_1426065745, y_1426065746) { - var result_1426065747 = false; - - BeforeRet: { - if (!((x_1426065745["Field0"] == y_1426065746["Field0"]))) { - result_1426065747 = false; - break BeforeRet; - } - - if (!((x_1426065745["Field1"] == y_1426065746["Field1"]))) { - result_1426065747 = false; - break BeforeRet; - } - - result_1426065747 = true; - break BeforeRet; - }; - - return result_1426065747; - -} - -function getPos_1677721842(body_1677721843) { - var result_1677721846 = {Field0: 0.0, Field1: 0.0}; - - var colontmp__570425661 = (body_1677721843.position.x); - var colontmp__570425662 = (body_1677721843.position.y); - result_1677721846 = nimCopy(result_1677721846, {Field0: colontmp__570425661, Field1: colontmp__570425662}, NTI1677721740); - - return result_1677721846; - -} - -function delete_1426065805(x_1426065807, x_1426065807_Idx, i_1426065808) { - x_1426065807[x_1426065807_Idx].splice(i_1426065808, 1); - - -} - -function find_1426065827(a_1426065830, item_1426065831) { - var result_1426065832 = 0; - - BeforeRet: { - result_1426065832 = 0; - Label1: { - var i_1426065836 = 0; - var i_570425669 = 0; - var L_570425670 = (a_1426065830).length; - Label2: { - Label3: while (true) { - if (!(i_570425669 < L_570425670)) break Label3; - i_1426065836 = a_1426065830[chckIndx(i_570425669, 0, (a_1426065830).length - 1)]; - if ((i_1426065836 == item_1426065831)) { - break BeforeRet; - } - - result_1426065832 = addInt(result_1426065832, 1); - i_570425669 = addInt(i_570425669, 1); - if (!(((a_1426065830).length == L_570425670))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - result_1426065832 = (-1); - }; - - return result_1426065832; - -} - -function delete_1426065859(x_1426065861, x_1426065861_Idx, i_1426065862) { - x_1426065861[x_1426065861_Idx].splice(i_1426065862, 1); - - -} - -function jsVec_1426066013(x_1426066016, y_1426066017) { - -function innerHEX60gensym405_1426066021() { - var result_1426066022 = null; - - BeforeRet: { - var a_1426066023 = null; - a_1426066023 = {}; - a_1426066023.x = x_1426066016; - a_1426066023.y = y_1426066017; - result_1426066022 = a_1426066023; - break BeforeRet; - }; - - return result_1426066022; - - } - - var result_1426066018 = null; - - result_1426066018 = innerHEX60gensym405_1426066021(); - - return result_1426066018; - -} - -function fireBullet_1426065718(state_1426065719) { - BeforeRet: { - var bullet_1426065720 = nextBullet_1426064290(state_1426065719); - Label1: { - var b_1426065742 = 0; - var i_570425641 = 0; - var L_570425642 = (state_1426065719.canon.flyingBullets).length; - Label2: { - Label3: while (true) { - if (!(i_570425641 < L_570425642)) break Label3; - b_1426065742 = state_1426065719.canon.flyingBullets[chckIndx(i_570425641, 0, (state_1426065719.canon.flyingBullets).length - 1)]; - if (HEX3DHEX3D_1426065743(getPos_1677721842(state_1426065719.canon.bullets[chckIndx(b_1426065742, 0, (state_1426065719.canon.bullets).length - 1)]), getPos_1677721842(bullet_1426065720))) { - break BeforeRet; - } - - i_570425641 = addInt(i_570425641, 1); - if (!(((state_1426065719.canon.flyingBullets).length == L_570425642))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - if ((addInt(state_1426065719.canon.bulletsLimit, 20) < addInt((state_1426065719.canon.bullets).length, 1))) { - var toDelete_1426065756 = []; - Label4: { - var i_1426065765 = 0; - var colontmp__570425645 = 0; - colontmp__570425645 = subInt((state_1426065719.canon.bullets).length, state_1426065719.canon.bulletsLimit); - var res_570425646 = 0; - Label5: { - Label6: while (true) { - if (!(res_570425646 <= colontmp__570425645)) break Label6; - i_1426065765 = res_570425646; - Matter.Composite.remove((state_1426065719.engine.world), (state_1426065719.canon.bullets[chckIndx(i_1426065765, 0, (state_1426065719.canon.bullets).length - 1)])); - toDelete_1426065756.push(i_1426065765);; - res_570425646 = addInt(res_570425646, 1); - } - }; - }; - Label7: { - var i_1426065804 = 0; - var colontmp__570425654 = 0; - colontmp__570425654 = (toDelete_1426065756).length - 1; - var res_570425655 = colontmp__570425654; - Label8: { - Label9: while (true) { - if (!(0 <= res_570425655)) break Label9; - i_1426065804 = res_570425655; - delete_1426065805(state_1426065719.canon, "bullets", chckRange(toDelete_1426065756[chckIndx(i_1426065804, 0, (toDelete_1426065756).length - 1)], 0, 2147483647)); - var a_1426065858 = find_1426065827(state_1426065719.canon.flyingBullets, toDelete_1426065756[chckIndx(i_1426065804, 0, (toDelete_1426065756).length - 1)]); - if ((0 <= a_1426065858)) { - delete_1426065859(state_1426065719.canon, "flyingBullets", chckRange(a_1426065858, 0, 2147483647)); - } - - Label10: { - var fi_1426065902 = null; - var fi_1426065902_Idx = 0; - var i_570425651 = 0; - var L_570425652 = (state_1426065719.canon.flyingBullets).length; - Label11: { - Label12: while (true) { - if (!(i_570425651 < L_570425652)) break Label12; - fi_1426065902 = state_1426065719.canon.flyingBullets; fi_1426065902_Idx = chckIndx(i_570425651, 0, (state_1426065719.canon.flyingBullets).length - 1); - if ((toDelete_1426065756[chckIndx(i_1426065804, 0, (toDelete_1426065756).length - 1)] < fi_1426065902[fi_1426065902_Idx])) { - fi_1426065902[fi_1426065902_Idx] = subInt(fi_1426065902[fi_1426065902_Idx], 1); - } - - i_570425651 = addInt(i_570425651, 1); - if (!(((state_1426065719.canon.flyingBullets).length == L_570425652))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(255, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - res_570425655 = subInt(res_570425655, 1); - } - }; - }; - } - else { - if ((state_1426065719.canon.bulletsLimit < addInt((state_1426065719.canon.bullets).length, 1))) { - Label13: { - var i_1426065919 = 0; - var colontmp__570425658 = 0; - colontmp__570425658 = subInt((state_1426065719.canon.bullets).length, state_1426065719.canon.bulletsLimit); - var res_570425659 = 0; - Label14: { - Label15: while (true) { - if (!(res_570425659 <= colontmp__570425658)) break Label15; - i_1426065919 = res_570425659; - state_1426065719.canon.bullets[chckIndx(i_1426065919, 0, (state_1426065719.canon.bullets).length - 1)].collisionFilter.mask = 0; - if ((state_1426065719.canon.bullets[chckIndx(i_1426065919, 0, (state_1426065719.canon.bullets).length - 1)].isSleeping)) { - Matter.Sleeping.set((state_1426065719.canon.bullets[chckIndx(i_1426065919, 0, (state_1426065719.canon.bullets).length - 1)]), (false)); - } - - var a_1426065965 = find_1426065827(state_1426065719.canon.flyingBullets, i_1426065919); - if ((0 <= a_1426065965)) { - delete_1426065859(state_1426065719.canon, "flyingBullets", chckRange(a_1426065965, 0, 2147483647)); - } - - res_570425659 = addInt(res_570425659, 1); - } - }; - }; - } - } - Matter.Composite.add((state_1426065719.engine.world), (bullet_1426065720)); - state_1426065719.canon.bullets.push(bullet_1426065720);; - state_1426065719.canon.flyingBullets.push((state_1426065719.canon.bullets).length - 1);; - Matter.Body.setVelocity((bullet_1426065720), (jsVec_1426066013(state_1426065719.trajectories[chckIndx(state_1426065719.currentTrajectory, 0, (state_1426065719.trajectories).length - 1)].state.vel.Field0, -(state_1426065719.trajectories[chckIndx(state_1426065719.currentTrajectory, 0, (state_1426065719.trajectories).length - 1)].state.vel.Field1)))); - if (state_1426065719.frozen) { - unfreeze_1426064133(state_1426065719); - } - - }; - - -} - -function unloadEvents_1426068541(state_1426068542) { - state_1426068542.mouse.element.removeEventListener(("mousedown"), (state_1426068542.onMousedown)); - state_1426068542.mouse.element.removeEventListener(("mouseup"), (state_1426068542.onMouseup)); - state_1426068542.mouse.element.removeEventListener(("mousemove"), (state_1426068542.onMousemove)); - state_1426068542.mouse.element.removeEventListener(("mouseleave"), (state_1426068542.onMouseleave)); - state_1426068542.mouse.element.removeEventListener(("wheel"), (state_1426068542.onWheel)); - - -} - -function HEX2A_1459617802(a_1459617803, b_1459617804) { - var result_1459617805 = 0n; - - result_1459617805 = (a_1459617803 * b_1459617804); - - return result_1459617805; - -} - -function convert_1459618361(unitFrom_1459618363, unitTo_1459618364, quantity_1459618365) { - var Temporary1; - - var result_1459618366 = 0; - - if ((unitFrom_1459618363 < unitTo_1459618364)) { - Temporary1 = chckRange(Number(divInt64(BigInt(quantity_1459618365), divInt64(unitWeights_1459617942[chckIndx(unitTo_1459618364, 0, (unitWeights_1459617942).length - 1)], unitWeights_1459617942[chckIndx(unitFrom_1459618363, 0, (unitWeights_1459617942).length - 1)]))), (-2147483648), 2147483647); - } - else { - Temporary1 = chckRange(Number(HEX2A_1459617802(divInt64(unitWeights_1459617942[chckIndx(unitFrom_1459618363, 0, (unitWeights_1459617942).length - 1)], unitWeights_1459617942[chckIndx(unitTo_1459618364, 0, (unitWeights_1459617942).length - 1)]), BigInt(quantity_1459618365))), (-2147483648), 2147483647); - } - - result_1459618366 = Temporary1; - - return result_1459618366; - -} - -function initTime_1459618873(unix_1459618874, nanosecond_1459618875) { - var result_1459618876 = ({seconds: 0n, nanosecond: 0}); - - result_1459618876.seconds = unix_1459618874; - result_1459618876.nanosecond = nanosecond_1459618875; - - return result_1459618876; - -} - -function getTime_1459618951() { - var result_1459618952 = ({seconds: 0n, nanosecond: 0}); - - var millis_1459618957 = new Date().getTime(); - var seconds_1459618963 = convert_1459618361(2, 3, millis_1459618957); - var nanos_1459618974 = convert_1459618361(2, 0, modInt(millis_1459618957, convert_1459618361(3, 2, 1))); - result_1459618952 = nimCopy(result_1459618952, initTime_1459618873(BigInt(seconds_1459618963), chckRange(nanos_1459618974, 0, 999999999)), NTI1459617824); - - return result_1459618952; - -} - -function ntLeDuration(a_1459618816, b_1459618817) { - var result_1459618818 = false; - - result_1459618818 = ((a_1459618816.seconds < b_1459618817.seconds) || ((a_1459618816.seconds == b_1459618817.seconds) && (a_1459618816.nanosecond <= b_1459618817.nanosecond))); - - return result_1459618818; - -} - -function HEX2B_1459617810(a_1459617811, b_1459617812) { - var result_1459617813 = 0n; - - result_1459617813 = (a_1459617811 + b_1459617812); - - return result_1459617813; - -} - -function convert_1459618294(unitFrom_1459618296, unitTo_1459618297, quantity_1459618298) { - var Temporary1; - - var result_1459618299 = 0n; - - if ((unitFrom_1459618296 < unitTo_1459618297)) { - Temporary1 = divInt64(quantity_1459618298, divInt64(unitWeights_1459617942[chckIndx(unitTo_1459618297, 0, (unitWeights_1459617942).length - 1)], unitWeights_1459617942[chckIndx(unitFrom_1459618296, 0, (unitWeights_1459617942).length - 1)])); - } - else { - Temporary1 = HEX2A_1459617802(divInt64(unitWeights_1459617942[chckIndx(unitFrom_1459618296, 0, (unitWeights_1459617942).length - 1)], unitWeights_1459617942[chckIndx(unitTo_1459618297, 0, (unitWeights_1459617942).length - 1)]), quantity_1459618298); - } - - result_1459618299 = Temporary1; - - return result_1459618299; - -} - -function checkOverflowInt64(a_33557070) { - if (a_33557070 > 9223372036854775807n || a_33557070 < -9223372036854775808n) raiseOverflow(); - - - -} - -function normalize_1459618351(seconds_1459618353, nanoseconds_1459618354) { - var result_1459618355 = ({seconds: 0n, nanosecond: 0}); - - result_1459618355.seconds = HEX2B_1459617810(seconds_1459618353, convert_1459618294(0, 3, nanoseconds_1459618354)); - var nanosecond_1459618371 = modInt64(nanoseconds_1459618354, BigInt(convert_1459618361(3, 0, 1))); - if ((nanosecond_1459618371 < 0n)) { - nanosecond_1459618371 = addInt64(nanosecond_1459618371, BigInt(BigInt(convert_1459618361(3, 0, 1)))); - result_1459618355.seconds = subInt64(result_1459618355.seconds, BigInt(1)); - } - - result_1459618355.nanosecond = chckRange(chckRange(Number(nanosecond_1459618371), (-2147483648), 2147483647), 0, 999999999); - - return result_1459618355; - -} - -function HEX2D_1459617818(a_1459617819, b_1459617820) { - var result_1459617821 = 0n; - - result_1459617821 = (a_1459617819 - b_1459617820); - - return result_1459617821; - -} - -function HEX2D_1459617822(a_1459617823, b_1459617824) { - var result_1459617825 = 0; - - result_1459617825 = (a_1459617823 - b_1459617824); - - return result_1459617825; - -} - -function ntDiffTime(a_1459618992, b_1459618993) { - var result_1459618994 = ({seconds: 0n, nanosecond: 0}); - - result_1459618994 = nimCopy(result_1459618994, normalize_1459618351(HEX2D_1459617818(a_1459618992.seconds, b_1459618993.seconds), BigInt(HEX2D_1459617822(a_1459618992.nanosecond, b_1459618993.nanosecond))), NTI1459617826); - - return result_1459618994; - -} - -function initDuration_1459618284(nanoseconds_1459618285, microseconds_1459618286, milliseconds_1459618287, seconds_1459618288, minutes_1459618289, hours_1459618290, days_1459618291, weeks_1459618292) { - var result_1459618293 = ({seconds: 0n, nanosecond: 0}); - - var seconds_1459618339 = HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(convert_1459618294(7, 3, weeks_1459618292), convert_1459618294(6, 3, days_1459618291)), convert_1459618294(4, 3, minutes_1459618289)), convert_1459618294(5, 3, hours_1459618290)), convert_1459618294(3, 3, seconds_1459618288)), convert_1459618294(2, 3, milliseconds_1459618287)), convert_1459618294(1, 3, microseconds_1459618286)), convert_1459618294(0, 3, nanoseconds_1459618285)); - var nanoseconds_1459618350 = chckRange(Number(HEX2B_1459617810(HEX2B_1459617810(convert_1459618294(2, 0, modInt64(milliseconds_1459618287, 1000n)), convert_1459618294(1, 0, modInt64(microseconds_1459618286, 1000000n))), modInt64(nanoseconds_1459618285, 1000000000n))), (-2147483648), 2147483647); - result_1459618293 = nimCopy(result_1459618293, normalize_1459618351(seconds_1459618339, BigInt(nanoseconds_1459618350)), NTI1459617826); - - return result_1459618293; - -} - -function distance_1677721990(v1_1677721991, v2_1677721992) { - var result_1677721993 = 0.0; - - result_1677721993 = Math.sqrt(abs_905969874((HEX5E_1677721994((v2_1677721992.Field0 - v1_1677721991.Field0), 2) + HEX5E_1677721994((v2_1677721992.Field1 - v1_1677721991.Field1), 2)))); - - return result_1677721993; - -} - -function getPos_1426063805(state_1426063806, p_1426063807) { - var result_1426063808 = {Field0: 0.0, Field1: 0.0}; - - result_1426063808.Field0 = (state_1426063806.canon.pivot.Field0 + p_1426063807.pos.Field0); - result_1426063808.Field1 = ((state_1426063806.canvasSize.Field1 - 80.0) - p_1426063807.pos.Field1); - - return result_1426063808; - -} - -function calcClosestTrajectoryPoint_1426066108(state_1426066109, point_1426066110, minRange_1426066111) { - var Temporary7; - var Temporary11; - - var result_1426066113 = (-1); - var closestDistance_1426066114 = 0.0; - var bulletsPoints_1426066115 = []; - var bulletsDistance_1426066116 = []; - var calcBullet_1426066123 = (state_1426066109.paused && (0 < (state_1426066109.canon.flyingBullets).length)); - Label1: { - var e_1426066134 = 0; - var colontmp__570425692 = 0; - colontmp__570425692 = (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1; - var res_570425693 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425693 <= colontmp__570425692)) break Label3; - e_1426066134 = res_570425693; - var d_1426066135 = distance_1677721990(getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(e_1426066134, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)]), point_1426066110); - if (((result_1426066113 < 0) || (d_1426066135 < closestDistance_1426066114))) { - closestDistance_1426066114 = d_1426066135; - result_1426066113 = e_1426066134; - } - - if (calcBullet_1426066123) { - Label4: { - var i_1426066146 = 0; - var colontmp__570425689 = 0; - colontmp__570425689 = (state_1426066109.canon.flyingBullets).length - 1; - var res_570425690 = 0; - Label5: { - Label6: while (true) { - if (!(res_570425690 <= colontmp__570425689)) break Label6; - i_1426066146 = res_570425690; - var d_1426066147 = distance_1677721990(getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(e_1426066134, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)]), getPos_1677721842(state_1426066109.canon.bullets[chckIndx(state_1426066109.canon.flyingBullets[chckIndx(i_1426066146, 0, (state_1426066109.canon.flyingBullets).length - 1)], 0, (state_1426066109.canon.bullets).length - 1)])); - if (((bulletsDistance_1426066116).length - 1 < i_1426066146)) { - bulletsDistance_1426066116.push(0.0);; - } - - if (((bulletsPoints_1426066115).length - 1 < i_1426066146)) { - bulletsPoints_1426066115.push((-1));; - } - - if (((bulletsPoints_1426066115[chckIndx(i_1426066146, 0, (bulletsPoints_1426066115).length - 1)] < 0) || (d_1426066147 < bulletsDistance_1426066116[chckIndx(i_1426066146, 0, (bulletsDistance_1426066116).length - 1)]))) { - bulletsDistance_1426066116[chckIndx(i_1426066146, 0, (bulletsDistance_1426066116).length - 1)] = d_1426066147; - bulletsPoints_1426066115[chckIndx(i_1426066146, 0, (bulletsPoints_1426066115).length - 1)] = e_1426066134; - } - - res_570425690 = addInt(res_570425690, 1); - } - }; - }; - } - - res_570425693 = addInt(res_570425693, 1); - } - }; - }; - if ((minRange_1426066111 && (40.0 < closestDistance_1426066114))) { - Temporary7 = (-1); - } - else { - if ((!((result_1426066113 == state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].highestPoint)) && (distance_1677721990(getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(result_1426066113, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)]), getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].highestPoint, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)])) < 10.0))) { - Temporary7 = state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].highestPoint; - } - else { - if ((!((result_1426066113 == (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)) && (distance_1677721990(getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(result_1426066113, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)]), getPos_1426063805(state_1426066109, HEX5BHEX5D_1426064495(state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points, 1))) < 10.0))) { - Temporary7 = (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1; - } - else { - if ((!((result_1426066113 == 0)) && (distance_1677721990(getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(result_1426066113, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)]), getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(0, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)])) < 10.0))) { - Temporary7 = 0; - } - else { - if (calcBullet_1426066123) { - var closestBulletPoint_1426066172 = (-1); - var closestBulletDistance_1426066173 = 0.0; - Label8: { - var i_1426066184 = 0; - var colontmp__570425696 = 0; - colontmp__570425696 = (state_1426066109.canon.flyingBullets).length - 1; - var res_570425697 = 0; - Label9: { - Label10: while (true) { - if (!(res_570425697 <= colontmp__570425696)) break Label10; - i_1426066184 = res_570425697; - var d_1426066185 = distance_1677721990(getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(result_1426066113, 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)]), getPos_1426063805(state_1426066109, state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points[chckIndx(bulletsPoints_1426066115[chckIndx(i_1426066184, 0, (bulletsPoints_1426066115).length - 1)], 0, (state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].points).length - 1)])); - if (((0 <= bulletsPoints_1426066115[chckIndx(i_1426066184, 0, (bulletsPoints_1426066115).length - 1)]) || (d_1426066185 < 8.0))) { - if (((closestBulletPoint_1426066172 < 0) || (d_1426066185 < closestBulletDistance_1426066173))) { - closestBulletPoint_1426066172 = bulletsPoints_1426066115[chckIndx(i_1426066184, 0, (bulletsPoints_1426066115).length - 1)]; - closestBulletDistance_1426066173 = d_1426066185; - } - - } - - res_570425697 = addInt(res_570425697, 1); - } - }; - }; - if ((closestBulletDistance_1426066173 < 8.0)) { - Temporary11 = closestBulletPoint_1426066172; - } - else { - Temporary11 = result_1426066113; - } - - Temporary7 = Temporary11; - } - else { - Temporary7 = result_1426066113; - } - }}}} - result_1426066113 = Temporary7; - state_1426066109.trajectories[chckIndx(state_1426066109.currentTrajectory, 0, (state_1426066109.trajectories).length - 1)].closestPoint = result_1426066113; - - -} - -function vec_1677721884(v_1677721885) { - var result_1677721886 = {Field0: 0.0, Field1: 0.0}; - - var colontmp__570425699 = (v_1677721885.x); - var colontmp__570425700 = (v_1677721885.y); - result_1677721886 = nimCopy(result_1677721886, {Field0: colontmp__570425699, Field1: colontmp__570425700}, NTI1677721603); - - return result_1677721886; - -} - -function HEX5BHEX5D_1426066207(s_1426066209, i_1426066210) { - var result_1426066211 = null; - var result_1426066211_Idx = 0; - - result_1426066211 = s_1426066209; result_1426066211_Idx = chckIndx(subInt((s_1426066209).length, i_1426066210), 0, (s_1426066209).length - 1); - - return [result_1426066211, result_1426066211_Idx]; - -} - -function calcClosestTrajectoryPointToBullet_1426066201(state_1426066202, index_1426066203) { - var Temporary1; - var Temporary2; - var Temporary6; - - BeforeRet: { - if (((state_1426066202.canon.flyingBullets).length == 0)) { - state_1426066202.trajectories[chckIndx(state_1426066202.currentTrajectory, 0, (state_1426066202.trajectories).length - 1)].closestPoint = (-1); - break BeforeRet; - } - - if ((index_1426066203 < 0)) { - Temporary1 = state_1426066202.canon.bullets[chckIndx((Temporary2 = HEX5BHEX5D_1426066207(state_1426066202.canon.flyingBullets, 1), Temporary2)[0][Temporary2[1]], 0, (state_1426066202.canon.bullets).length - 1)]; - } - else { - Temporary1 = state_1426066202.canon.bullets[chckIndx(index_1426066203, 0, (state_1426066202.canon.bullets).length - 1)]; - } - - var bullet_1426066215 = Temporary1; - var result_1426066217 = (-1); - var closestDistance_1426066218 = 0.0; - Label3: { - var e_1426066229 = 0; - var colontmp__570425723 = 0; - colontmp__570425723 = (state_1426066202.trajectories[chckIndx(state_1426066202.currentTrajectory, 0, (state_1426066202.trajectories).length - 1)].points).length - 1; - var res_570425724 = 0; - Label4: { - Label5: while (true) { - if (!(res_570425724 <= colontmp__570425723)) break Label5; - e_1426066229 = res_570425724; - var d_1426066230 = distance_1677721990(getPos_1426063805(state_1426066202, state_1426066202.trajectories[chckIndx(state_1426066202.currentTrajectory, 0, (state_1426066202.trajectories).length - 1)].points[chckIndx(e_1426066229, 0, (state_1426066202.trajectories[chckIndx(state_1426066202.currentTrajectory, 0, (state_1426066202.trajectories).length - 1)].points).length - 1)]), getPos_1677721842(bullet_1426066215)); - if (((result_1426066217 < 0) || (d_1426066230 < closestDistance_1426066218))) { - closestDistance_1426066218 = d_1426066230; - result_1426066217 = e_1426066229; - } - - res_570425724 = addInt(res_570425724, 1); - } - }; - }; - if ((40.0 < closestDistance_1426066218)) { - Temporary6 = (-1); - } - else { - Temporary6 = result_1426066217; - } - - state_1426066202.trajectories[chckIndx(state_1426066202.currentTrajectory, 0, (state_1426066202.trajectories).length - 1)].closestPoint = Temporary6; - }; - - -} - -function find_2315258045(a_2315258048, item_2315258049) { - var result_2315258050 = 0; - - BeforeRet: { - result_2315258050 = 0; - Label1: { - var i_2315258054 = 0; - var i_1862271393 = 0; - Label2: { - Label3: while (true) { - if (!(i_1862271393 < (a_2315258048).length)) break Label3; - i_2315258054 = a_2315258048[chckIndx(i_1862271393, 0, (a_2315258048).length - 1)]; - if ((i_2315258054 == item_2315258049)) { - break BeforeRet; - } - - result_2315258050 = addInt(result_2315258050, 1); - i_1862271393 = addInt(i_1862271393, 1); - } - }; - }; - result_2315258050 = (-1); - }; - - return result_2315258050; - -} - -function contains_2315258040(a_2315258042, item_2315258043) { - var result_2315258044 = false; - - BeforeRet: { - result_2315258044 = (0 <= find_2315258045(a_2315258042, item_2315258043)); - break BeforeRet; - }; - - return result_2315258044; - -} - -function runOnce_1677721610(render_1677721611) { - Matter.Render.world((render_1677721611), (0)); - render_1677721611.context.setTransform((render_1677721611.options.pixelRatio), (0), (0), (render_1677721611.options.pixelRatio), (0), (0)); - render_1677721611.context.setTransform((1), (0), (0), (1), (0), (0)); - - -} - -function freeze_1426064108(state_1426064109) { - state_1426064109.runner.enabled = false; - Matter.Render.stop((state_1426064109.render)); - runOnce_1677721610(state_1426064109.render); - state_1426064109.frozen = true; - - -} - -function isNimException_33556443() { - return lastJSError && lastJSError.m_type; - - -} - -function getCurrentException() { - var result_33556446 = null; - - if (isNimException_33556443()) { - result_33556446 = lastJSError; - } - - - return result_33556446; - -} - -function pause_1426064084(state_1426064085) { - state_1426064085.runner.enabled = false; - state_1426064085.paused = true; - - -} - -function onAfterUpdate_1426066513(state_1426066514, event_1426066515) { - var Temporary5; - var Temporary6; - var Temporary19; - -++excHandler; - try { - if ((0 < (state_1426066514.canon.flyingBullets).length)) { - if ((state_1426066514.followBullet && !(state_1426066514.paused))) { - calcClosestTrajectoryPointToBullet_1426066201(state_1426066514, (-1)); - updatePointAccordion_1426064918(state_1426066514); - } - - } - - var toDelete_1426066523 = []; - Label2: { - var e_1426066534 = 0; - var colontmp__570425702 = 0; - colontmp__570425702 = (state_1426066514.canon.bullets).length - 1; - var res_570425703 = 0; - Label3: { - Label4: while (true) { - if (!(res_570425703 <= colontmp__570425702)) break Label4; - e_1426066534 = res_570425703; - if (((state_1426066514.canvasSize.Field1 + (state_1426066514.canon.bullets[chckIndx(e_1426066534, 0, (state_1426066514.canon.bullets).length - 1)].circleRadius)) < getY_1677721829(state_1426066514.canon.bullets[chckIndx(e_1426066534, 0, (state_1426066514.canon.bullets).length - 1)]))) { - Matter.Composite.remove((state_1426066514.engine.world), (state_1426066514.canon.bullets[chckIndx(e_1426066534, 0, (state_1426066514.canon.bullets).length - 1)])); - toDelete_1426066523.push(e_1426066534);; - } - else { - if (!contains_2315258040(state_1426066514.canon.flyingBullets, e_1426066534)) Temporary6 = false; else { Temporary6 = (state_1426066514.canon.bullets[chckIndx(e_1426066534, 0, (state_1426066514.canon.bullets).length - 1)].collisionFilter.mask == (0)); } if (!Temporary6) Temporary5 = false; else { Temporary5 = (getY_1677721829(state_1426066514.canon.bullets[chckIndx(e_1426066534, 0, (state_1426066514.canon.bullets).length - 1)]) < ((state_1426066514.canvasSize.Field1 - 80.0) - (state_1426066514.canon.bullets[chckIndx(e_1426066534, 0, (state_1426066514.canon.bullets).length - 1)].circleRadius))); } if (Temporary5) { - state_1426066514.canon.bullets[chckIndx(e_1426066534, 0, (state_1426066514.canon.bullets).length - 1)].collisionFilter.mask = 2; - } - } - res_570425703 = addInt(res_570425703, 1); - } - }; - }; - Label7: { - var i_1426066617 = 0; - var colontmp__570425706 = 0; - colontmp__570425706 = (toDelete_1426066523).length - 1; - var res_570425707 = colontmp__570425706; - Label8: { - Label9: while (true) { - if (!(0 <= res_570425707)) break Label9; - i_1426066617 = res_570425707; - delete_1426065805(state_1426066514.canon, "bullets", chckRange(toDelete_1426066523[chckIndx(i_1426066617, 0, (toDelete_1426066523).length - 1)], 0, 2147483647)); - var a_1426066627 = find_1426065827(state_1426066514.canon.flyingBullets, toDelete_1426066523[chckIndx(i_1426066617, 0, (toDelete_1426066523).length - 1)]); - if ((0 <= a_1426066627)) { - delete_1426065859(state_1426066514.canon, "flyingBullets", chckRange(a_1426066627, 0, 2147483647)); - } - - res_570425707 = subInt(res_570425707, 1); - } - }; - }; - if ((0 < (toDelete_1426066523).length)) { - Label10: { - var i_1426066648 = 0; - var colontmp__570425714 = 0; - colontmp__570425714 = (state_1426066514.canon.flyingBullets).length - 1; - var res_570425715 = 0; - Label11: { - Label12: while (true) { - if (!(res_570425715 <= colontmp__570425714)) break Label12; - i_1426066648 = res_570425715; - Label13: { - var di_1426066652 = 0; - var i_570425711 = 0; - var L_570425712 = (toDelete_1426066523).length; - Label14: { - Label15: while (true) { - if (!(i_570425711 < L_570425712)) break Label15; - di_1426066652 = toDelete_1426066523[chckIndx(i_570425711, 0, (toDelete_1426066523).length - 1)]; - if ((di_1426066652 < state_1426066514.canon.flyingBullets[chckIndx(i_1426066648, 0, (state_1426066514.canon.flyingBullets).length - 1)])) { - state_1426066514.canon.flyingBullets[chckIndx(i_1426066648, 0, (state_1426066514.canon.flyingBullets).length - 1)] = subInt(state_1426066514.canon.flyingBullets[chckIndx(i_1426066648, 0, (state_1426066514.canon.flyingBullets).length - 1)], 1); - } - - i_570425711 = addInt(i_570425711, 1); - if (!(((toDelete_1426066523).length == L_570425712))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - res_570425715 = addInt(res_570425715, 1); - } - }; - }; - } - - var freeze_1426066658 = true; - Label16: { - var b_1426066682 = null; - var colontmp__570425718 = []; - colontmp__570425718 = (Matter.Composite.allBodies((state_1426066514.engine.world))); - var i_570425719 = 0; - var L_570425720 = (colontmp__570425718).length; - Label17: { - Label18: while (true) { - if (!(i_570425719 < L_570425720)) break Label18; - b_1426066682 = colontmp__570425718[chckIndx(i_570425719, 0, (colontmp__570425718).length - 1)]; - if (!!((b_1426066682.isSleeping))) Temporary19 = false; else { Temporary19 = !((b_1426066682.isStatic)); } if (Temporary19) { - freeze_1426066658 = false; - if ((1000.0 < (b_1426066682.speed))) { - Matter.Body.setSpeed((b_1426066682), (10)); - } - - } - - i_570425719 = addInt(i_570425719, 1); - if (!(((colontmp__570425718).length == L_570425720))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - if (((((freeze_1426066658 && !(state_1426066514.canon.base.dragging)) && !(state_1426066514.canon.dragging)) && !(state_1426066514.draggingPoint)) && !((state_1426066514.followBullet && (0 < (state_1426066514.canon.flyingBullets).length))))) { - freeze_1426064108(state_1426066514); - } - ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI33555177))) { - var ex_1426066734 = getCurrentException(); - pause_1426064084(state_1426066514); - rawEcho(ex_1426066734.message); - rawEcho(ex_1426066734.trace); - raiseException(ex_1426066734, "Exception"); - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - - -} - -function onCollisionStart_1426066735(state_1426066736, event_1426066737) { - var Temporary5; - var Temporary6; - - if ((0 < (state_1426066736.canon.flyingBullets).length)) { - Label1: { - var pair_1426066747 = null; - var colontmp__570425737 = null; - colontmp__570425737 = event_1426066737.pairs; - var v_570425738 = null; - for (var k in colontmp__570425737) { - if (!colontmp__570425737.hasOwnProperty(k)) { continue; } - v_570425738 = colontmp__570425737[k]; - pair_1426066747 = v_570425738; - var toDelete_1426066748 = []; - Label2: { - var i_1426066772 = 0; - var bi_1426066773 = 0; - var i_570425730 = 0; - var L_570425731 = (state_1426066736.canon.flyingBullets).length; - Label3: { - Label4: while (true) { - if (!(i_570425730 < L_570425731)) break Label4; - i_1426066772 = i_570425730; - bi_1426066773 = state_1426066736.canon.flyingBullets[chckIndx(i_570425730, 0, (state_1426066736.canon.flyingBullets).length - 1)]; - var b_1426066774 = state_1426066736.canon.bullets[chckIndx(bi_1426066773, 0, (state_1426066736.canon.bullets).length - 1)]; - if ((pair_1426066747.bodyA.id == b_1426066774.id)) Temporary5 = true; else { Temporary5 = (pair_1426066747.bodyB.id == b_1426066774.id); } if (Temporary5) { - if (((pair_1426066747.bodyA.collisionFilter.category) == 2)) Temporary6 = true; else { Temporary6 = ((pair_1426066747.bodyB.collisionFilter.category) == 2); } var collision_1426066827 = Temporary6; - if (collision_1426066827) { - b_1426066774.frictionAir = 0.1; - b_1426066774.collisionFilter.mask = 3; - toDelete_1426066748.push(i_1426066772);; - if (state_1426066736.followBullet) { - state_1426066736.trajectories[chckIndx(state_1426066736.currentTrajectory, 0, (state_1426066736.trajectories).length - 1)].pinnedPoint = (state_1426066736.trajectories[chckIndx(state_1426066736.currentTrajectory, 0, (state_1426066736.trajectories).length - 1)].points).length - 1; - state_1426066736.trajectories[chckIndx(state_1426066736.currentTrajectory, 0, (state_1426066736.trajectories).length - 1)].closestPoint = state_1426066736.trajectories[chckIndx(state_1426066736.currentTrajectory, 0, (state_1426066736.trajectories).length - 1)].pinnedPoint; - updatePointAccordion_1426064918(state_1426066736); - } - - } - - } - - i_570425730 = addInt(i_570425730, 1); - if (!(((state_1426066736.canon.flyingBullets).length == L_570425731))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(179, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - Label7: { - var i_1426066869 = 0; - var colontmp__570425734 = 0; - colontmp__570425734 = (toDelete_1426066748).length - 1; - var res_570425735 = colontmp__570425734; - Label8: { - Label9: while (true) { - if (!(0 <= res_570425735)) break Label9; - i_1426066869 = res_570425735; - delete_1426065859(state_1426066736.canon, "flyingBullets", chckRange(toDelete_1426066748[chckIndx(i_1426066869, 0, (toDelete_1426066748).length - 1)], 0, 2147483647)); - res_570425735 = subInt(res_570425735, 1); - } - }; - }; - } - }; - } - - - -} - -function drawVelocityArrows_1426066874(state_1426066875, ctx_1426066876) { - var Temporary4; - var Temporary5; - var Temporary6; - var Temporary7; - - Label1: { - var i_1426066888 = 0; - var colontmp__570425740 = 0; - colontmp__570425740 = (state_1426066875.canon.flyingBullets).length - 1; - var res_570425741 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425741 <= colontmp__570425740)) break Label3; - i_1426066888 = res_570425741; - if (!state_1426066875.canon.showVyArrow) Temporary4 = false; else { Temporary4 = !(contains_1426064233(HEX2EHEX2E_1426063562(-4.0, 4.0), (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.y))); } if (Temporary4) { - drawArrow(ctx_1426066876, state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.x, state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.y, state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.x, (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.y + (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.y * (0.375))), (3), ("red")); - } - - if (!state_1426066875.canon.showVxArrow) Temporary5 = false; else { Temporary5 = !(contains_1426064233(HEX2EHEX2E_1426063562(-4.0, 4.0), (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.x))); } if (Temporary5) { - drawArrow(ctx_1426066876, state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.x, state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.y, (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.x + (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.x * (0.375))), state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.y, (3), ("DodgerBlue")); - } - - if (!state_1426066875.canon.showVArrow) Temporary6 = false; else { if (!(contains_1426064233(HEX2EHEX2E_1426063562(-4.0, 4.0), (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.x)))) Temporary7 = true; else { Temporary7 = !(contains_1426064233(HEX2EHEX2E_1426063562(-4.0, 4.0), (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.y))); } Temporary6 = Temporary7; } if (Temporary6) { - drawArrow(ctx_1426066876, state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.x, state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.y, (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.x + (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.x * (0.375))), (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].position.y + (state_1426066875.canon.bullets[chckIndx(state_1426066875.canon.flyingBullets[chckIndx(i_1426066888, 0, (state_1426066875.canon.flyingBullets).length - 1)], 0, (state_1426066875.canon.bullets).length - 1)].velocity.y * (0.375))), (3), ("white")); - } - - res_570425741 = addInt(res_570425741, 1); - } - }; - }; - - -} - -function contains_1426067200(a_1426067202, index_1426067203) { - var result_1426067204 = false; - - result_1426067204 = contains_1459619435(HEX2EHEX2E_1157627952(0, (a_1426067202).length - 1), index_1426067203); - - return result_1426067204; - -} - -function HEX5BHEX5D_1426067289(s_1426067291, i_1426067292) { - var result_1426067293 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - - result_1426067293 = nimCopy(result_1426067293, s_1426067291[chckIndx(subInt((s_1426067291).length, i_1426067292), 0, (s_1426067291).length - 1)], NTI1426063365); - - return result_1426067293; - -} - -function drawTrajectory_1426067109(state_1426067110, ctx_1426067111) { - var Temporary8; - - BeforeRet: { - Label1: { - var e_1426067122 = 0; - var colontmp__570425749 = 0; - colontmp__570425749 = (state_1426067110.trajectories).length - 1; - var res_570425750 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425750 <= colontmp__570425749)) break Label3; - e_1426067122 = res_570425750; - Label4: { - if (((state_1426067110.trajectories[chckIndx(e_1426067122, 0, (state_1426067110.trajectories).length - 1)].points).length == 0)) { - break Label4; - } - - ctx_1426067111.beginPath(); - var pos0_1426067130 = getPos_1426063805(state_1426067110, state_1426067110.trajectories[chckIndx(e_1426067122, 0, (state_1426067110.trajectories).length - 1)].points[chckIndx(0, 0, (state_1426067110.trajectories[chckIndx(e_1426067122, 0, (state_1426067110.trajectories).length - 1)].points).length - 1)]); - ctx_1426067111.moveTo((pos0_1426067130.Field0), (pos0_1426067130.Field1)); - ctx_1426067111.strokeStyle = toJSStr(trajectoryStrokeStyles_1426063558[chckIndx(state_1426067110.trajectories[chckIndx(e_1426067122, 0, (state_1426067110.trajectories).length - 1)].color, 0, (trajectoryStrokeStyles_1426063558).length - 1)]); - ctx_1426067111.lineWidth = 2; - Label5: { - var pe_1426067178 = 0; - var colontmp__570425746 = 0; - colontmp__570425746 = (state_1426067110.trajectories[chckIndx(e_1426067122, 0, (state_1426067110.trajectories).length - 1)].points).length - 1; - var res_570425747 = 0; - Label6: { - Label7: while (true) { - if (!(res_570425747 <= colontmp__570425746)) break Label7; - pe_1426067178 = res_570425747; - if ((0 < pe_1426067178)) { - var pos_1426067179 = getPos_1426063805(state_1426067110, state_1426067110.trajectories[chckIndx(e_1426067122, 0, (state_1426067110.trajectories).length - 1)].points[chckIndx(pe_1426067178, 0, (state_1426067110.trajectories[chckIndx(e_1426067122, 0, (state_1426067110.trajectories).length - 1)].points).length - 1)]); - ctx_1426067111.lineTo((pos_1426067179.Field0), (pos_1426067179.Field1)); - } - - res_570425747 = addInt(res_570425747, 1); - } - }; - }; - }; - ctx_1426067111.stroke(); - res_570425750 = addInt(res_570425750, 1); - } - }; - }; - if (!(contains_1426067200(state_1426067110.trajectories, state_1426067110.currentTrajectory))) { - break BeforeRet; - } - - ctx_1426067111.fillStyle = "#47D916"; - if (contains_1426064861(state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points, state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].highestPoint)) { - var middlePos_1426067238 = getPos_1426063805(state_1426067110, state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points[chckIndx(state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].highestPoint, 0, (state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points).length - 1)]); - ctx_1426067111.beginPath(); - ctx_1426067111.arc((middlePos_1426067238.Field0), (middlePos_1426067238.Field1), (5), (0), (6.283185307179586)); - ctx_1426067111.fill(); - } - - if ((0 < (state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points).length)) { - var lastPos_1426067297 = getPos_1426063805(state_1426067110, HEX5BHEX5D_1426067289(state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points, 1)); - ctx_1426067111.beginPath(); - ctx_1426067111.arc((lastPos_1426067297.Field0), (lastPos_1426067297.Field1), (5), (0), (6.283185307179586)); - ctx_1426067111.fill(); - } - - if ((state_1426067110.followBullet && (0 < (state_1426067110.canon.flyingBullets).length))) { - Temporary8 = {Field0: false, Field1: {Field0: 0.0, Field1: 0.0}}; - } - else { - if ((state_1426067110.draggingPoint && contains_1426064861(state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points, state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].closestPoint))) { - Temporary8 = {Field0: true, Field1: getPos_1426063805(state_1426067110, state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points[chckIndx(state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].closestPoint, 0, (state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points).length - 1)])}; - } - else { - if ((!(state_1426067110.draggingPoint) && contains_1426064861(state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points, state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].pinnedPoint))) { - Temporary8 = {Field0: true, Field1: getPos_1426063805(state_1426067110, state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points[chckIndx(state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].pinnedPoint, 0, (state_1426067110.trajectories[chckIndx(state_1426067110.currentTrajectory, 0, (state_1426067110.trajectories).length - 1)].points).length - 1)])}; - } - else { - Temporary8 = {Field0: false, Field1: {Field0: 0.0, Field1: 0.0}}; - } - }} - var tmpTuple_1426067365 = nimCopy(null, Temporary8, NTI1426066550); - var drawPoint_1426067366 = tmpTuple_1426067365["Field0"]; - var pos_1426067367 = nimCopy(null, tmpTuple_1426067365["Field1"], NTI1677721603); - if (drawPoint_1426067366) { - ctx_1426067111.fillStyle = "#16B0D9"; - ctx_1426067111.beginPath(); - ctx_1426067111.arc((pos_1426067367.Field0), (pos_1426067367.Field1), (7), (0), (6.283185307179586)); - ctx_1426067111.fill(); - } - - }; - - -} - -function drawAngle_1426068018(state_1426068019, ctx_1426068020) { - ctx_1426068020.lineWidth = 2; - ctx_1426068020.strokeStyle = "#C7C7D1"; - var radius_1426068041 = (state_1426068019.canon.imgSize.Field0 / 1.25); - ctx_1426068020.beginPath(); - ctx_1426068020.moveTo((state_1426068019.canon.pivot.Field0), (state_1426068019.canon.pivot.Field1)); - ctx_1426068020.lineTo(((state_1426068019.canon.pivot.Field0 + radius_1426068041)), (state_1426068019.canon.pivot.Field1)); - ctx_1426068020.arc((state_1426068019.canon.pivot.Field0), (state_1426068019.canon.pivot.Field1), (radius_1426068041), (0), (-(state_1426068019.trajectories[chckIndx(state_1426068019.currentTrajectory, 0, (state_1426068019.trajectories).length - 1)].state.angleRad)), (true)); - ctx_1426068020.stroke(); - var angle_1426068130 = abs_905969874(state_1426068019.trajectories[chckIndx(state_1426068019.currentTrajectory, 0, (state_1426068019.trajectories).length - 1)].state.angleDeg); - Label1: { - var fmtRes_1426068134 = [mnewString(0)]; - formatValue_1426064018(fmtRes_1426068134, 0, angle_1426068130, [46,48,102]); - fmtRes_1426068134[0].push.apply(fmtRes_1426068134[0], [194,176]);; - }; - var text_1426068140 = nimCopy(null, fmtRes_1426068134[0], NTI33554449); - ctx_1426068020.font = "22px serif"; - ctx_1426068020.fillStyle = "white"; - ctx_1426068020.shadowColor = "black"; - ctx_1426068020.shadowOffsetX = 2; - ctx_1426068020.shadowOffsetY = 2; - ctx_1426068020.fillText((toJSStr(text_1426068140)), (((state_1426068019.canon.pivot.Field0 + radius_1426068041) + 10.0)), ((state_1426068019.canon.pivot.Field1 - 10.0))); - ctx_1426068020.shadowOffsetX = 0; - ctx_1426068020.shadowOffsetY = 0; - - -} - -function toFloat_33556008(i_33556009) { - var result_33556010 = 0.0; - - result_33556010 = i_33556009; - - return result_33556010; - -} - -function HEX2F_33556020(x_33556021, y_33556022) { - var result_33556023 = 0.0; - - result_33556023 = (toFloat_33556008(x_33556021) / toFloat_33556008(y_33556022)); - - return result_33556023; - -} - -function drawHeight_1426067455(state_1426067456, ctx_1426067457) { - Label1: { - var fmtRes_1426067462 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426067462, 0, strfloat_1426063991(state_1426067456, toMuDistance_1694499108(state_1426067456.trajectories[chckIndx(state_1426067456.currentTrajectory, 0, (state_1426067456.trajectories).length - 1)].state.height)), []); - fmtRes_1426067462[0].push.apply(fmtRes_1426067462[0], [109]);; - }; - var text_1426067463 = nimCopy(null, fmtRes_1426067462[0], NTI33554449); - var xOffset_1426067464 = (-((state_1426067456.canon.platform.imgSize.Field0 / 2.0)) - 10.0); - if ((0.0 < state_1426067456.trajectories[chckIndx(state_1426067456.currentTrajectory, 0, (state_1426067456.trajectories).length - 1)].state.height)) { - ctx_1426067457.beginPath(); - ctx_1426067457.moveTo((((state_1426067456.canon.pivot.Field0 + xOffset_1426067464) - 20.0)), ((state_1426067456.canvasSize.Field1 - 80.0))); - ctx_1426067457.lineTo(((state_1426067456.canon.pivot.Field0 + xOffset_1426067464)), ((state_1426067456.canvasSize.Field1 - 80.0))); - ctx_1426067457.moveTo((((state_1426067456.canon.pivot.Field0 + xOffset_1426067464) - 20.0)), (((state_1426067456.canvasSize.Field1 - 80.0) - state_1426067456.trajectories[chckIndx(state_1426067456.currentTrajectory, 0, (state_1426067456.trajectories).length - 1)].state.height))); - ctx_1426067457.lineTo(((state_1426067456.canon.pivot.Field0 + xOffset_1426067464)), (((state_1426067456.canvasSize.Field1 - 80.0) - state_1426067456.trajectories[chckIndx(state_1426067456.currentTrajectory, 0, (state_1426067456.trajectories).length - 1)].state.height))); - ctx_1426067457.moveTo((((state_1426067456.canon.pivot.Field0 + xOffset_1426067464) - HEX2F_33556020(20, 2))), ((state_1426067456.canvasSize.Field1 - 80.0))); - ctx_1426067457.lineTo((((state_1426067456.canon.pivot.Field0 + xOffset_1426067464) - HEX2F_33556020(20, 2))), (((state_1426067456.canvasSize.Field1 - 80.0) - state_1426067456.trajectories[chckIndx(state_1426067456.currentTrajectory, 0, (state_1426067456.trajectories).length - 1)].state.height))); - ctx_1426067457.strokeStyle = "white"; - ctx_1426067457.lineWidth = 1; - ctx_1426067457.stroke(); - } - - ctx_1426067457.font = "22px serif"; - ctx_1426067457.fillStyle = "white"; - ctx_1426067457.shadowColor = "black"; - ctx_1426067457.shadowOffsetX = 2; - ctx_1426067457.shadowOffsetY = 2; - var metrics_1426067653 = ctx_1426067457.measureText((toJSStr(text_1426067463))); - var twidth_1426067670 = clamp_1426063663((metrics_1426067653.width), HEX2EHEX2E_1426063562(50.0, 100.0)); - var theight_1426067690 = clamp_1426063663(((metrics_1426067653.actualBoundingBoxAscent + metrics_1426067653.actualBoundingBoxDescent)), HEX2EHEX2E_1426063562(10.0, 25.0)); - ctx_1426067457.fillText((toJSStr(text_1426067463)), (((((state_1426067456.canon.pivot.Field0 + xOffset_1426067464) - HEX2F_33556020(20, 2)) - twidth_1426067670) - 5.0)), ((((state_1426067456.canvasSize.Field1 - 80.0) - (state_1426067456.trajectories[chckIndx(state_1426067456.currentTrajectory, 0, (state_1426067456.trajectories).length - 1)].state.height / 2.0)) - (theight_1426067690 / 2.0)))); - ctx_1426067457.shadowOffsetX = 0; - ctx_1426067457.shadowOffsetY = 0; - - -} - -function drawRange_1426067735(state_1426067736, ctx_1426067737) { - Label1: { - var fmtRes_1426067743 = [mnewString(0)]; - formatValue_1577058475(fmtRes_1426067743, 0, strfloat_1426063991(state_1426067736, toMuDistance_1694499108(HEX5BHEX5D_1426067289(state_1426067736.trajectories[chckIndx(state_1426067736.currentTrajectory, 0, (state_1426067736.trajectories).length - 1)].points, 1).pos.Field0)), []); - fmtRes_1426067743[0].push.apply(fmtRes_1426067743[0], [109]);; - }; - var text_1426067748 = nimCopy(null, fmtRes_1426067743[0], NTI33554449); - if (!((HEX5BHEX5D_1426067289(state_1426067736.trajectories[chckIndx(state_1426067736.currentTrajectory, 0, (state_1426067736.trajectories).length - 1)].points, 1).pos.Field0 == 0.0))) { - ctx_1426067737.beginPath(); - ctx_1426067737.moveTo((state_1426067736.canon.pivot.Field0), (((state_1426067736.canvasSize.Field1 - 80.0) + 50.0))); - ctx_1426067737.lineTo((state_1426067736.canon.pivot.Field0), ((((state_1426067736.canvasSize.Field1 - 80.0) + 50.0) + 10.0))); - ctx_1426067737.moveTo(((state_1426067736.canon.pivot.Field0 + HEX5BHEX5D_1426067289(state_1426067736.trajectories[chckIndx(state_1426067736.currentTrajectory, 0, (state_1426067736.trajectories).length - 1)].points, 1).pos.Field0)), (((state_1426067736.canvasSize.Field1 - 80.0) + 50.0))); - ctx_1426067737.lineTo(((state_1426067736.canon.pivot.Field0 + HEX5BHEX5D_1426067289(state_1426067736.trajectories[chckIndx(state_1426067736.currentTrajectory, 0, (state_1426067736.trajectories).length - 1)].points, 1).pos.Field0)), ((((state_1426067736.canvasSize.Field1 - 80.0) + 50.0) + 10.0))); - ctx_1426067737.moveTo((state_1426067736.canon.pivot.Field0), ((((state_1426067736.canvasSize.Field1 - 80.0) + 50.0) + HEX2F_33556020(10, 2)))); - ctx_1426067737.lineTo(((state_1426067736.canon.pivot.Field0 + HEX5BHEX5D_1426067289(state_1426067736.trajectories[chckIndx(state_1426067736.currentTrajectory, 0, (state_1426067736.trajectories).length - 1)].points, 1).pos.Field0)), ((((state_1426067736.canvasSize.Field1 - 80.0) + 50.0) + HEX2F_33556020(10, 2)))); - ctx_1426067737.strokeStyle = "white"; - ctx_1426067737.lineWidth = 1; - ctx_1426067737.stroke(); - } - - ctx_1426067737.font = "22px serif"; - ctx_1426067737.fillStyle = "white"; - ctx_1426067737.shadowColor = "black"; - ctx_1426067737.shadowOffsetX = 2; - ctx_1426067737.shadowOffsetY = 2; - var textWidth_1426067969 = clamp_1426063663((ctx_1426067737.measureText((toJSStr(text_1426067748))).width), HEX2EHEX2E_1426063562(50.0, 100.0)); - ctx_1426067737.fillText((toJSStr(text_1426067748)), (((state_1426067736.canon.pivot.Field0 + (HEX5BHEX5D_1426067289(state_1426067736.trajectories[chckIndx(state_1426067736.currentTrajectory, 0, (state_1426067736.trajectories).length - 1)].points, 1).pos.Field0 / 2.0)) - (textWidth_1426067969 / 2.0))), ((state_1426067736.canvasSize.Field1 - 40.0))); - ctx_1426067737.shadowOffsetX = 0; - ctx_1426067737.shadowOffsetY = 0; - - -} - -function onAfterRender_1426068235(state_1426068236, event_1426068237) { -++excHandler; - try { - Matter.Render.startViewTransform((state_1426068236.render)); - var ctx_1426068254 = state_1426068236.render.context; - drawVelocityArrows_1426066874(state_1426068236, ctx_1426068254); - if ((0 < (state_1426068236.trajectories[chckIndx(state_1426068236.currentTrajectory, 0, (state_1426068236.trajectories).length - 1)].points).length)) { - drawTrajectory_1426067109(state_1426068236, ctx_1426068254); - drawAngle_1426068018(state_1426068236, ctx_1426068254); - drawHeight_1426067455(state_1426068236, ctx_1426068254); - drawRange_1426067735(state_1426068236, ctx_1426068254); - } - - var _ = Matter.Render.endViewTransform((state_1426068236.render)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI33555177))) { - var ex_1426068274 = getCurrentException(); - pause_1426064084(state_1426068236); - rawEcho(ex_1426068274.message); - rawEcho(ex_1426068274.trace); - raiseException(ex_1426068274, "Exception"); - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - - -} - -function newSeq_1426068339(len_1426068341) { - var result_1426068342 = []; - - result_1426068342 = new Array(len_1426068341); for (var i = 0 ; i < len_1426068341 ; ++i) { result_1426068342[i] = null; } - return result_1426068342; - -} - -function HEX2A_1056964616(x_1056964617, order_1056964618) { - var result_1056964619 = 0; - - var y_1056964624 = subInt(order_1056964618, 1); - result_1056964619 = subInt((x_1056964617 ^ y_1056964624), y_1056964624); - - return result_1056964619; - -} - -function mergeAlt_1426068372(a_1426068374, b_1426068375, lo_1426068376, m_1426068377, hi_1426068378, cmp_1426068381, order_1426068382) { - BeforeRet: { - if ((HEX2A_1056964616(cmp_1426068381(a_1426068374[chckIndx(m_1426068377, 0, (a_1426068374).length - 1)], a_1426068374[chckIndx(addInt(m_1426068377, 1), 0, (a_1426068374).length - 1)]), order_1426068382) <= 0)) { - break BeforeRet; - } - - var j_1426068383 = lo_1426068376; - if (!((j_1426068383 <= m_1426068377))) { - failedAssertImpl_268435541([97,108,103,111,114,105,116,104,109,46,110,105,109,40,51,51,56,44,32,51,41,32,96,106,32,60,61,32,109,96,32]); - } - - var bb_1426068389 = 0; - Label1: { - Label2: while (true) { - if (!(j_1426068383 <= m_1426068377)) break Label2; - b_1426068375[chckIndx(bb_1426068389, 0, (b_1426068375).length - 1)] = a_1426068374[chckIndx(j_1426068383, 0, (a_1426068374).length - 1)]; - bb_1426068389 = addInt(bb_1426068389, 1); - j_1426068383 = addInt(j_1426068383, 1); - } - }; - var i_1426068400 = 0; - var k_1426068401 = lo_1426068376; - Label3: { - Label4: while (true) { - if (!((k_1426068401 < j_1426068383) && (j_1426068383 <= hi_1426068378))) break Label4; - if ((HEX2A_1056964616(cmp_1426068381(b_1426068375[chckIndx(i_1426068400, 0, (b_1426068375).length - 1)], a_1426068374[chckIndx(j_1426068383, 0, (a_1426068374).length - 1)]), order_1426068382) <= 0)) { - a_1426068374[chckIndx(k_1426068401, 0, (a_1426068374).length - 1)] = b_1426068375[chckIndx(i_1426068400, 0, (b_1426068375).length - 1)]; - i_1426068400 = addInt(i_1426068400, 1); - } - else { - a_1426068374[chckIndx(k_1426068401, 0, (a_1426068374).length - 1)] = a_1426068374[chckIndx(j_1426068383, 0, (a_1426068374).length - 1)]; - j_1426068383 = addInt(j_1426068383, 1); - } - - k_1426068401 = addInt(k_1426068401, 1); - } - }; - Label5: { - Label6: while (true) { - if (!(k_1426068401 < j_1426068383)) break Label6; - a_1426068374[chckIndx(k_1426068401, 0, (a_1426068374).length - 1)] = b_1426068375[chckIndx(i_1426068400, 0, (b_1426068375).length - 1)]; - k_1426068401 = addInt(k_1426068401, 1); - i_1426068400 = addInt(i_1426068400, 1); - } - }; - }; - - -} - -function sort_1426068355(a_1426068357, cmp_1426068360, order_1426068361) { - var n_1426068365 = (a_1426068357).length; - var b_1426068369 = newSeq_1426068339(chckRange(divInt(n_1426068365, 2), 0, 2147483647)); - var s_1426068370 = 1; - Label1: { - Label2: while (true) { - if (!(s_1426068370 < n_1426068365)) break Label2; - var m_1426068371 = subInt(subInt(n_1426068365, 1), s_1426068370); - Label3: { - Label4: while (true) { - if (!(0 <= m_1426068371)) break Label4; - mergeAlt_1426068372(a_1426068357, b_1426068369, nimMax(addInt(subInt(m_1426068371, s_1426068370), 1), 0), m_1426068371, addInt(m_1426068371, s_1426068370), cmp_1426068360, order_1426068361); - m_1426068371 = subInt(m_1426068371, mulInt(s_1426068370, 2)); - } - }; - s_1426068370 = mulInt(s_1426068370, 2); - } - }; - - -} - -function sorted_1426068327(a_1426068329, cmp_1426068332, order_1426068333) { - var result_1426068334 = []; - - result_1426068334 = nimCopy(null, newSeq_1426068339(chckRange((a_1426068329).length, 0, 2147483647)), NTI1426067175); - Label1: { - var i_1426068354 = 0; - var colontmp__570425756 = 0; - colontmp__570425756 = (a_1426068329).length - 1; - var res_570425757 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425757 <= colontmp__570425756)) break Label3; - i_1426068354 = res_570425757; - result_1426068334[chckIndx(i_1426068354, 0, (result_1426068334).length - 1)] = a_1426068329[chckIndx(i_1426068354, 0, (a_1426068329).length - 1)]; - res_570425757 = addInt(res_570425757, 1); - } - }; - }; - sort_1426068355(result_1426068334, cmp_1426068332, order_1426068333); - - return result_1426068334; - -} - -function onAfterAdd_1426068275(state_1426068276, event_1426068277) { - -function HEX3Aanonymous_1426068291(a_1426068292, b_1426068293) { - var Temporary1; - var Temporary2; - - var result_1426068294 = 0; - - if ((a_1426068292.zIndex == null)) { - Temporary1 = 0; - } - else { - Temporary1 = (((a_1426068292.zIndex)) | 0); - } - - var z1_1426068308 = Temporary1; - if ((b_1426068293.zIndex == null)) { - Temporary2 = 0; - } - else { - Temporary2 = (((b_1426068293.zIndex)) | 0); - } - - var z2_1426068322 = Temporary2; - result_1426068294 = subInt(z1_1426068308, z2_1426068322); - - return result_1426068294; - - } - - state_1426068276.engine.world.bodies = sorted_1426068327((state_1426068276.engine.world.bodies), HEX3Aanonymous_1426068291, 1); - - -} - -function onStartdrag_1426068473(state_1426068474, event_1426068475) { - var toDelete_1426068476 = []; - Label1: { - var i_1426068482 = 0; - var bi_1426068483 = 0; - var i_570425765 = 0; - var L_570425766 = (state_1426068474.canon.flyingBullets).length; - Label2: { - Label3: while (true) { - if (!(i_570425765 < L_570425766)) break Label3; - i_1426068482 = i_570425765; - bi_1426068483 = state_1426068474.canon.flyingBullets[chckIndx(i_570425765, 0, (state_1426068474.canon.flyingBullets).length - 1)]; - var b_1426068484 = state_1426068474.canon.bullets[chckIndx(bi_1426068483, 0, (state_1426068474.canon.bullets).length - 1)]; - if ((event_1426068475.body.id == b_1426068484.id)) { - b_1426068484.frictionAir = 0.1; - b_1426068484.collisionFilter.mask = 3; - toDelete_1426068476.push(i_1426068482);; - if (state_1426068474.followBullet) { - state_1426068474.trajectories[chckIndx(state_1426068474.currentTrajectory, 0, (state_1426068474.trajectories).length - 1)].pinnedPoint = state_1426068474.trajectories[chckIndx(state_1426068474.currentTrajectory, 0, (state_1426068474.trajectories).length - 1)].closestPoint; - } - - } - - i_570425765 = addInt(i_570425765, 1); - if (!(((state_1426068474.canon.flyingBullets).length == L_570425766))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(179, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - Label4: { - var i_1426068536 = 0; - var colontmp__570425769 = 0; - colontmp__570425769 = (toDelete_1426068476).length - 1; - var res_570425770 = colontmp__570425769; - Label5: { - Label6: while (true) { - if (!(0 <= res_570425770)) break Label6; - i_1426068536 = res_570425770; - delete_1426065859(state_1426068474.canon, "flyingBullets", chckRange(toDelete_1426068476[chckIndx(i_1426068536, 0, (toDelete_1426068476).length - 1)], 0, 2147483647)); - res_570425770 = subInt(res_570425770, 1); - } - }; - }; - - -} - -function loadEvents_1426068643(state_1426068644) { - -function onMousedown_1426068685(event_1426068686) { - BeforeRet: { - if (!(state_1426068644.startedRendering)) { - break BeforeRet; - } - - if ( (event_1426068686.button) == 0 ){ var t_1426068694 = getTime_1459618951(); - if (ntLeDuration(ntDiffTime(t_1426068694, state_1426068644.timeAtClick), initDuration_1459618284(0n, 0n, 250n, 0n, 0n, 0n, 0n, 0n))) { - calcClosestTrajectoryPoint_1426066108(state_1426068644, vec_1677721884(state_1426068644.mouse.position), true); - if (contains_1426064861(state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].points, state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].closestPoint)) { - if ((state_1426068644.followBullet && (0 < (state_1426068644.canon.flyingBullets).length))) { - document.getElementById("point-input-f").checked = false; - state_1426068644.followBullet = false; - } - - state_1426068644.draggingPoint = true; - updatePointAccordion_1426064918(state_1426068644); - } - else { - if (contains_1426064861(state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].points, state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].pinnedPoint)) { - state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].pinnedPoint = (-1); - updatePointAccordion_1426064918(state_1426068644); - } - } - } - else { - if ((Matter.Bounds.contains((state_1426068644.canon.base.body.bounds), (state_1426068644.mouse.position)))) { - state_1426068644.canon.base.dragging = true; - state_1426068644.canon.base.dragOffset = (getY_1677721829(state_1426068644.canon.base.body) - (state_1426068644.mouse.position.y)); - } - else { - if ((Matter.Bounds.contains((state_1426068644.canon.body.bounds), (state_1426068644.mouse.position)))) { - state_1426068644.canon.dragging = true; - state_1426068644.canon.dragOffset = ((Matter.Vector.angle((jsVec_1677721758(state_1426068644.canon.pivot)), (state_1426068644.mouse.position))) - (state_1426068644.canon.body.angle)); - } - else { - if ((Matter.Bounds.contains((state_1426068644.canon.platform.body.bounds), (state_1426068644.mouse.position)))) { - state_1426068644.canon.base.dragging = true; - state_1426068644.canon.base.dragOffset = (getY_1677721829(state_1426068644.canon.base.body) - (state_1426068644.mouse.position.y)); - } - else { - if ((state_1426068644.frozen || !(state_1426068644.paused))) { - Matter.MouseConstraint.onmousedown((state_1426068644.mouseCons), (Matter.Composite.allBodies((state_1426068644.engine.world)))); - if (state_1426068644.frozen) { - unfreeze_1426064133(state_1426068644); - } - - } - }}}} - state_1426068644.timeAtClick = nimCopy(state_1426068644.timeAtClick, t_1426068694, NTI1459617824); - } - else if ( (event_1426068686.button) == 1 ){ fireBullet_1426065718(state_1426068644); - } - else{ - } - }; - - - } - -function onMouseup_1426068892(event_1426068893) { - BeforeRet: { - if (!(state_1426068644.startedRendering)) { - break BeforeRet; - } - - if ( (event_1426068893.button) == 0 ){ Matter.MouseConstraint.onmouseup((state_1426068644.mouseCons)); - if ((state_1426068644.draggingPoint && contains_1426064861(state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].points, state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].closestPoint))) { - state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].pinnedPoint = state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].closestPoint; - updatePointAccordion_1426064918(state_1426068644); - } - - state_1426068644.canon.dragging = false; - state_1426068644.canon.base.dragging = false; - state_1426068644.draggingPoint = false; - } - else{ - } - }; - - - } - -function onMousemove_1426068645(event_1426068646) { - BeforeRet: { - if (!(state_1426068644.startedRendering)) { - break BeforeRet; - } - - if (state_1426068644.canon.dragging) { - var targetAngle_1426068674 = ((Matter.Vector.angle((jsVec_1677721758(state_1426068644.canon.pivot)), (state_1426068644.mouse.position))) - state_1426068644.canon.dragOffset); - rotateCanon_1426064221(state_1426068644, (targetAngle_1426068674 - (state_1426068644.canon.body.angle)), true); - calcTrajectory_1426065138(state_1426068644); - } - else { - if (state_1426068644.canon.base.dragging) { - onResize_1426065422(state_1426068644, false); - rotateCanon_1426064221(state_1426068644, 0.0, true); - } - else { - if (state_1426068644.draggingPoint) { - calcClosestTrajectoryPoint_1426066108(state_1426068644, vec_1677721884(state_1426068644.mouse.position), false); - updatePointAccordion_1426064918(state_1426068644); - } - }} - }; - - - } - -function onMouseleave_1426068918(event_1426068919) { - BeforeRet: { - if (!(state_1426068644.startedRendering)) { - break BeforeRet; - } - - if ((state_1426068644.draggingPoint && contains_1426064861(state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].points, state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].closestPoint))) { - state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].pinnedPoint = state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].closestPoint; - updatePointAccordion_1426064918(state_1426068644); - } - - state_1426068644.canon.dragging = false; - state_1426068644.canon.base.dragging = false; - state_1426068644.draggingPoint = false; - Matter.MouseConstraint.onmouseup((state_1426068644.mouseCons)); - }; - - - } - -function onWheel_1426068937(event_1426068938) { - BeforeRet: { - if (!(state_1426068644.startedRendering)) { - break BeforeRet; - } - - var wheelDelta_1426068946 = (event_1426068938.wheelDelta); - if (!((wheelDelta_1426068946 == 0.0))) { - var change_1426068947 = (wheelDelta_1426068946 * 0.052083333333333336); - setSpeed_1426063660(state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].state, (state_1426068644.trajectories[chckIndx(state_1426068644.currentTrajectory, 0, (state_1426068644.trajectories).length - 1)].state.speed + change_1426068947)); - calcTrajectory_1426065138(state_1426068644); - } - - }; - - - } - -function innerHEX60gensym1032_1426068950() { - var result_1426068951 = null; - - BeforeRet: { - var a_1426068952 = null; - a_1426068952 = {}; - a_1426068952.passive = true; - result_1426068951 = a_1426068952; - break BeforeRet; - }; - - return result_1426068951; - - } - -function HEX3Aanonymous_1426069151(event_1426069152) { - onAfterUpdate_1426066513(state_1426068644, event_1426069152); - - - } - -function HEX3Aanonymous_1426069181(event_1426069182) { - onCollisionStart_1426066735(state_1426068644, event_1426069182); - - - } - -function HEX3Aanonymous_1426069211(event_1426069212) { - onAfterRender_1426068235(state_1426068644, event_1426069212); - - - } - -function HEX3Aanonymous_1426069244(event_1426069245) { - onAfterAdd_1426068275(state_1426068644, event_1426069245); - - - } - -function HEX3Aanonymous_1426069274(event_1426069275) { - onStartdrag_1426068473(state_1426068644, event_1426069275); - - - } - - state_1426068644.onMousedown = onMousedown_1426068685; - state_1426068644.onMouseup = onMouseup_1426068892; - state_1426068644.onMousemove = onMousemove_1426068645; - state_1426068644.onMouseleave = onMouseleave_1426068918; - state_1426068644.onWheel = onWheel_1426068937; - var pasiveTrue_1426068966 = innerHEX60gensym1032_1426068950(); - state_1426068644.mouse.element.addEventListener(("mousedown"), (state_1426068644.onMousedown), (pasiveTrue_1426068966)); - state_1426068644.mouse.element.removeEventListener(("mouseup"), (state_1426068644.mouse.mouseup)); - state_1426068644.mouse.element.addEventListener(("mouseup"), (state_1426068644.onMouseup), (pasiveTrue_1426068966)); - state_1426068644.mouse.element.addEventListener(("mouseup"), (state_1426068644.mouse.mouseup), (pasiveTrue_1426068966)); - state_1426068644.mouse.element.addEventListener(("mousemove"), (state_1426068644.onMousemove), (pasiveTrue_1426068966)); - state_1426068644.mouse.element.addEventListener(("mouseleave"), (state_1426068644.onMouseleave), (pasiveTrue_1426068966)); - state_1426068644.mouse.element.addEventListener(("wheel"), (state_1426068644.onWheel)); - Matter.Events.on((state_1426068644.engine), ("afterUpdate"), (HEX3Aanonymous_1426069151)); - Matter.Events.on((state_1426068644.engine), ("collisionStart"), (HEX3Aanonymous_1426069181)); - Matter.Events.on((state_1426068644.render), ("afterRender"), (HEX3Aanonymous_1426069211)); - Matter.Events.on((state_1426068644.engine.world), ("afterAdd"), (HEX3Aanonymous_1426069244)); - Matter.Events.on((state_1426068644.mouseCons), ("startdrag"), (HEX3Aanonymous_1426069274)); - - -} - -function integerOutOfRangeError_889192773() { - raiseException({message: [80,97,114,115,101,100,32,105,110,116,101,103,101,114,32,111,117,116,115,105,100,101,32,111,102,32,118,97,108,105,100,32,114,97,110,103,101], parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - - -} - -function rawParseInt_889192775(s_889192776, b_889192777, b_889192777_Idx) { - var Temporary1; - var Temporary4; - - var result_889192778 = 0; - - var sign_889192779 = (-1n); - var i_889192780 = 0; - if ((i_889192780 < (s_889192776).length)) { - if ((s_889192776[chckIndx(i_889192780, 0, (s_889192776).length - 1)] == 43)) { - i_889192780 += 1; - } - else { - if ((s_889192776[chckIndx(i_889192780, 0, (s_889192776).length - 1)] == 45)) { - i_889192780 += 1; - sign_889192779 = 1n; - } - } - } - - if (!(i_889192780 < (s_889192776).length)) Temporary1 = false; else { Temporary1 = (ConstSet14[s_889192776[chckIndx(i_889192780, 0, (s_889192776).length - 1)]] != undefined); } if (Temporary1) { - b_889192777[b_889192777_Idx] = 0n; - Label2: { - Label3: while (true) { - if (!(i_889192780 < (s_889192776).length)) Temporary4 = false; else { Temporary4 = (ConstSet15[s_889192776[chckIndx(i_889192780, 0, (s_889192776).length - 1)]] != undefined); } if (!Temporary4) break Label3; - var c_889192814 = (s_889192776[chckIndx(i_889192780, 0, (s_889192776).length - 1)] - 48); - if ((((-9223372036854775808n) + BigInt(c_889192814)) / 10n <= b_889192777[b_889192777_Idx])) { - b_889192777[b_889192777_Idx] = ((b_889192777[b_889192777_Idx] * 10n) - BigInt(c_889192814)); - } - else { - integerOutOfRangeError_889192773(); - } - - i_889192780 += 1; - Label5: { - Label6: while (true) { - if (!((i_889192780 < (s_889192776).length) && (s_889192776[chckIndx(i_889192780, 0, (s_889192776).length - 1)] == 95))) break Label6; - i_889192780 += 1; - } - }; - } - }; - if (((sign_889192779 == (-1n)) && (b_889192777[b_889192777_Idx] == (-9223372036854775808n)))) { - integerOutOfRangeError_889192773(); - } - else { - b_889192777[b_889192777_Idx] = (b_889192777[b_889192777_Idx] * sign_889192779); - result_889192778 = i_889192780; - } - - } - - - return result_889192778; - -} - -function npuParseBiggestInt(s_889192837, number_889192838, number_889192838_Idx) { - var result_889192839 = 0; - - var res_889192840 = [0n]; - result_889192839 = rawParseInt_889192775(s_889192837, res_889192840, 0); - if (!((result_889192839 == 0))) { - number_889192838[number_889192838_Idx] = res_889192840[0]; - } - - - return result_889192839; - -} - -function npuParseInt(s_889192842, number_889192843, number_889192843_Idx) { - var result_889192844 = 0; - - var res_889192845 = [0n]; - result_889192844 = npuParseBiggestInt(s_889192842, res_889192845, 0); - if (((res_889192845[0] < (-2147483648n)) || (2147483647n < res_889192845[0]))) { - integerOutOfRangeError_889192773(); - } - - if (!((result_889192844 == 0))) { - number_889192843[number_889192843_Idx] = chckRange(Number(res_889192845[0]), (-2147483648), 2147483647); - } - - - return result_889192844; - -} - -function parseInt_889193355(s_889193356, number_889193357, number_889193357_Idx, start_889193358) { - var result_889193359 = 0; - - result_889193359 = npuParseInt((s_889193356.slice(start_889193358, (s_889193356).length - 1 + 1)), number_889193357, number_889193357_Idx); - - return result_889193359; - -} - -function nsuParseInt(s_872416089) { - var result_872416090 = [0]; - - result_872416090[0] = 0; - var L_872416091 = parseInt_889193355(s_872416089, result_872416090, 0, 0); - if ((!((L_872416091 == (s_872416089).length)) || (L_872416091 == 0))) { - raiseException({message: ([105,110,118,97,108,105,100,32,105,110,116,101,103,101,114,58,32] || []).concat(s_872416089 || []), parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - } - - - return result_872416090[0]; - -} - -function nsuNormalize(s_872415387) { - var result_872415388 = []; - - result_872415388 = nimCopy(null, mnewString(chckRange((s_872415387).length, 0, 2147483647)), NTI33554449); - var j_872415389 = 0; - Label1: { - var i_872415394 = 0; - var colontmp__570425782 = 0; - colontmp__570425782 = subInt((s_872415387).length, 1); - var res_570425783 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425783 <= colontmp__570425782)) break Label3; - i_872415394 = res_570425783; - if ((ConstSet16[s_872415387[chckIndx(i_872415394, 0, (s_872415387).length - 1)]] != undefined)) { - result_872415388[chckIndx(j_872415389, 0, (result_872415388).length - 1)] = chckRange(addInt(s_872415387[chckIndx(i_872415394, 0, (s_872415387).length - 1)], 32), 0, 255); - j_872415389 = addInt(j_872415389, 1); - } - else { - if (!((s_872415387[chckIndx(i_872415394, 0, (s_872415387).length - 1)] == 95))) { - result_872415388[chckIndx(j_872415389, 0, (result_872415388).length - 1)] = s_872415387[chckIndx(i_872415394, 0, (s_872415387).length - 1)]; - j_872415389 = addInt(j_872415389, 1); - } - } - res_570425783 = addInt(res_570425783, 1); - } - }; - }; - if (!((j_872415389 == (s_872415387).length))) { - if (result_872415388.length < chckRange(j_872415389, 0, 2147483647)) { for (var i = result_872415388.length; i < chckRange(j_872415389, 0, 2147483647); ++i) result_872415388.push(0); } - else {result_872415388.length = chckRange(j_872415389, 0, 2147483647); }; - } - - - return result_872415388; - -} - -function parseBool_872416339(s_872416340) { - var result_872416341 = false; - - switch (toJSStr(nsuNormalize(s_872416340))) { - case "y": - case "yes": - case "true": - case "1": - case "on": - result_872416341 = true; - break; - case "n": - case "no": - case "false": - case "0": - case "off": - result_872416341 = false; - break; - default: - raiseException({message: ([99,97,110,110,111,116,32,105,110,116,101,114,112,114,101,116,32,97,115,32,97,32,98,111,111,108,58,32] || []).concat(s_872416340 || []), parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - break; - } - - return result_872416341; - -} - -function toggleStarsAnimation_1426069424(to_1426069425) { - var Temporary4; - - Label1: { - var e_1426069448 = null; - var colontmp__570425786 = []; - colontmp__570425786 = document.querySelectorAll(".stars"); - var i_570425788 = 0; - var L_570425789 = (colontmp__570425786).length; - Label2: { - Label3: while (true) { - if (!(i_570425788 < L_570425789)) break Label3; - e_1426069448 = colontmp__570425786[chckIndx(i_570425788, 0, (colontmp__570425786).length - 1)]; - if (to_1426069425) { - Temporary4 = [114,117,110,110,105,110,103]; - } - else { - Temporary4 = [112,97,117,115,101,100]; - } - - e_1426069448.style.animationPlayState = toJSStr(Temporary4); - i_570425788 = addInt(i_570425788, 1); - if (!(((colontmp__570425786).length == L_570425789))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - - -} - -function addQuoted_872416645(s_872416647, s_872416647_Idx, x_872416648) { - addInt_301990129(s_872416647, s_872416647_Idx, x_872416648); - - -} - -function HEX24_1426069494(x_1426069496) { - var result_1426069497 = [[]]; - - result_1426069497[0] = nimCopy(null, [40], NTI33554449); - var countHEX60gensym1187_1426069508 = 0; - if ((0 < countHEX60gensym1187_1426069508)) { - result_1426069497[0].push.apply(result_1426069497[0], [44,32]);; - } - - countHEX60gensym1187_1426069508 += 1; - addQuoted_872416645(result_1426069497, 0, x_1426069496["Field0"]); - if ((0 < countHEX60gensym1187_1426069508)) { - result_1426069497[0].push.apply(result_1426069497[0], [44,32]);; - } - - countHEX60gensym1187_1426069508 += 1; - addQuoted_872416645(result_1426069497, 0, x_1426069496["Field1"]); - if ((countHEX60gensym1187_1426069508 == 1)) { - result_1426069497[0].push.apply(result_1426069497[0], [44]);; - } - - result_1426069497[0].push.apply(result_1426069497[0], [41]);; - - return result_1426069497[0]; - -} - -function clamp_2231370540(x_2231370542, a_2231370543, b_2231370544) { - var result_2231370545 = 0; - - BeforeRet: { - if ((x_2231370542 < a_2231370543)) { - result_2231370545 = a_2231370543; - break BeforeRet; - } - - if ((b_2231370544 < x_2231370542)) { - result_2231370545 = b_2231370544; - break BeforeRet; - } - - result_2231370545 = x_2231370542; - break BeforeRet; - }; - - return result_2231370545; - -} - -function clamp_1426069489(val_1426069491, bounds_1426069492) { - var result_1426069493 = 0; - - if (!((bounds_1426069492.a <= bounds_1426069492.b))) { - failedAssertImpl_268435541(([109,97,116,104,46,110,105,109,40,49,50,57,57,44,32,51,41,32,96,98,111,117,110,100,115,46,97,32,60,61,32,98,111,117,110,100,115,46,98,96,32] || []).concat(HEX24_1426069494({Field0: bounds_1426069492.a, Field1: bounds_1426069492.b}) || [])); - } - - result_1426069493 = clamp_2231370540(val_1426069491, bounds_1426069492.a, bounds_1426069492.b); - - return result_1426069493; - -} - -function changeBulletsLimit_1426069485(state_1426069486, bulletsLimit_1426069487, slider_1426069488) { - state_1426069486.canon.bulletsLimit = clamp_1426069489(bulletsLimit_1426069487, bulletsLimitRange_1426063613); - slider_1426069488.setAttribute("value", toJSStr(HEX24_385875976(bulletsLimit_1426069487))); - if ((state_1426069486.canon.bulletsLimit < (state_1426069486.canon.bullets).length)) { - Label1: { - var i_1426069560 = 0; - var colontmp__570425792 = 0; - colontmp__570425792 = subInt(subInt((state_1426069486.canon.bullets).length, state_1426069486.canon.bulletsLimit), 1); - var res_570425793 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425793 <= colontmp__570425792)) break Label3; - i_1426069560 = res_570425793; - state_1426069486.canon.bullets[chckIndx(i_1426069560, 0, (state_1426069486.canon.bullets).length - 1)].collisionFilter.mask = 0; - if ((state_1426069486.canon.bullets[chckIndx(i_1426069560, 0, (state_1426069486.canon.bullets).length - 1)].isSleeping)) { - Matter.Sleeping.set((state_1426069486.canon.bullets[chckIndx(i_1426069560, 0, (state_1426069486.canon.bullets).length - 1)]), (false)); - } - - var a_1426069606 = find_1426065827(state_1426069486.canon.flyingBullets, i_1426069560); - if ((0 <= a_1426069606)) { - delete_1426065859(state_1426069486.canon, "flyingBullets", chckRange(a_1426069606, 0, 2147483647)); - } - - res_570425793 = addInt(res_570425793, 1); - } - }; - }; - } - - - -} - -function changeBlocksCollision_1426069611(state_1426069612, to_1426069613) { - var Temporary4; - - Label1: { - var b_1426069617 = null; - var i_570425796 = 0; - var L_570425797 = (state_1426069612.blocks).length; - Label2: { - Label3: while (true) { - if (!(i_570425796 < L_570425797)) break Label3; - b_1426069617 = state_1426069612.blocks[chckIndx(i_570425796, 0, (state_1426069612.blocks).length - 1)]; - if (to_1426069613) { - Temporary4 = 2; - } - else { - Temporary4 = 1; - } - - b_1426069617.collisionFilter.category = Temporary4; - i_570425796 = addInt(i_570425796, 1); - if (!(((state_1426069612.blocks).length == L_570425797))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - - -} - -function HEX5BHEX5D_721421729(s_721421733, x_721421734) { - var result_721421735 = []; - - var a_721421737 = x_721421734.a; - var L_721421743 = addInt(subInt(subInt((s_721421733).length, x_721421734.b), a_721421737), 1); - result_721421735 = new Array(chckRange(L_721421743, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_721421743, 0, 2147483647) ; ++i) { result_721421735[i] = null; } Label1: { - var i_721421752 = 0; - var i_570425800 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425800 < L_721421743)) break Label3; - i_721421752 = i_570425800; - result_721421735[chckIndx(i_721421752, 0, (result_721421735).length - 1)] = s_721421733[chckIndx(addInt(i_721421752, a_721421737), 0, (s_721421733).length - 1)]; - i_570425800 = addInt(i_570425800, 1); - } - }; - }; - - return result_721421735; - -} - -function valueHEX3D_754975173(n_754975174, v_754975175) { - n_754975174.text = v_754975175; - - -} - -function value_754975170(n_754975171) { - var result_754975172 = null; - - result_754975172 = n_754975171.text; - - return result_754975172; - -} - -function addEventShell_721420381(d_721420382, name_721420383, h_721420384) { - d_721420382.addEventListener(name_721420383, h_721420384, false); - if ((d_721420382.karaxEvents == null)) { - d_721420382.karaxEvents = new Array(0); - } - - d_721420382.karaxEvents.push({Field0: name_721420383, Field1: h_721420384}); - - -} - -function wrapEvent_721420454(d_721420455, n_721420456, k_721420457, action_721420458) { - -function laterWrapper_721420538() { - -function HEX3Aanonymous_721420543(ev_721420544) { - -function wrapper_721420545() { - var vHEX60gensym15_721420547 = ev_721420544.target.value; - valueHEX3D_754975173(n_721420541, vHEX60gensym15_721420547); - if (!(!((action_721420540 == null)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,55,57,44,32,51,41,32,96,97,99,116,105,111,110,32,33,61,32,110,105,108,96,32]); - } - - action_721420540(ev_721420544, n_721420541); - if (!((value_754975170(n_721420541) == vHEX60gensym15_721420547))) { - ev_721420544.target.value = value_754975170(n_721420541); - } - - - - } - - if (!((timer_721420542 == null))) { - clearTimeout(timer_721420542); - } - - timer_721420542 = setTimeout(wrapper_721420545, 400); - - - } - - var result_721420539 = null; - - var action_721420540 = action_721420458; - var n_721420541 = n_721420456; - var timer_721420542 = null; - result_721420539 = HEX3Aanonymous_721420543; - - return result_721420539; - - } - -function enterWrapper_721420505() { - -function HEX3Aanonymous_721420509(ev_721420510) { - if ((ev_721420510.keyCode == 13)) { - var vHEX60gensym8_721420512 = ev_721420510.target.value; - valueHEX3D_754975173(n_721420508, vHEX60gensym8_721420512); - if (!(!((action_721420507 == null)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,55,57,44,32,51,41,32,96,97,99,116,105,111,110,32,33,61,32,110,105,108,96,32]); - } - - action_721420507(ev_721420510, n_721420508); - if (!((value_754975170(n_721420508) == vHEX60gensym8_721420512))) { - ev_721420510.target.value = value_754975170(n_721420508); - } - - } - - - - } - - var result_721420506 = null; - - var action_721420507 = action_721420458; - var n_721420508 = n_721420456; - result_721420506 = HEX3Aanonymous_721420509; - - return result_721420506; - - } - -function stdWrapper_721420460() { - -function HEX3Aanonymous_721420464(ev_721420465) { - if ((((n_721420463.kind == 200) || (n_721420463.kind == 194)) || (n_721420463.kind == 196))) { - var vHEX60gensym1_721420479 = ev_721420465.target.value; - valueHEX3D_754975173(n_721420463, vHEX60gensym1_721420479); - if (!(!((action_721420462 == null)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,55,57,44,32,51,41,32,96,97,99,116,105,111,110,32,33,61,32,110,105,108,96,32]); - } - - action_721420462(ev_721420465, n_721420463); - if (!((value_754975170(n_721420463) == vHEX60gensym1_721420479))) { - ev_721420465.target.value = value_754975170(n_721420463); - } - - } - else { - action_721420462(ev_721420465, n_721420463); - } - - - - } - - var result_721420461 = null; - - var action_721420462 = action_721420458; - var n_721420463 = n_721420456; - result_721420461 = HEX3Aanonymous_721420464; - - return result_721420461; - - } - - var result_721420459 = null; - - switch (k_721420457) { - case 30: - result_721420459 = laterWrapper_721420538(); - addEventShell_721420381(d_721420455, "keyup", result_721420459); - break; - case 29: - result_721420459 = enterWrapper_721420505(); - addEventShell_721420381(d_721420455, "keyup", result_721420459); - break; - default: - result_721420459 = stdWrapper_721420460(); - addEventShell_721420381(d_721420455, toEventName_754975121[chckIndx(k_721420457, 0, (toEventName_754975121).length - 1)], result_721420459); - break; - } - - return result_721420459; - -} - -function applyEvents_721420581(n_721420582) { - var dest_721420583 = n_721420582.dom; - Label1: { - var i_721420591 = 0; - var colontmp__570425823 = 0; - colontmp__570425823 = (n_721420582.events).length; - var i_570425824 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425824 < colontmp__570425823)) break Label3; - i_721420591 = i_570425824; - n_721420582.events[chckIndx(i_721420591, 0, (n_721420582.events).length - 1)]["Field2"] = wrapEvent_721420454(dest_721420583, n_721420582, n_721420582.events[chckIndx(i_721420591, 0, (n_721420582.events).length - 1)]["Field0"], n_721420582.events[chckIndx(i_721420591, 0, (n_721420582.events).length - 1)]["Field1"]); - i_570425824 = addInt(i_570425824, 1); - } - }; - }; - - -} - -function applyStyle_822084094(n_822084095, s_822084096) { - n_822084095.style = {}; - Label1: { - var i_822084109 = 0; - var colontmp__570425827 = 0; - colontmp__570425827 = subInt(s_822084096.length, 1); - var res_570425828 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425828 <= colontmp__570425827)) break Label3; - i_822084109 = res_570425828; - n_822084095.style[s_822084096[i_822084109]] = s_822084096[addInt(i_822084109, 1)]; - res_570425828 = addInt(res_570425828, 2); - } - }; - }; - - -} - -function toDom_721420610(n_721420611, useAttachedNode_721420612, kxi_721420613) { - var Temporary1; - - var result_721420614 = null; - - BeforeRet: { - if (useAttachedNode_721420612) { - if (!((n_721420611.dom == null))) { - if (!((n_721420611.id == null))) { - kxi_721420613.byId[n_721420611.id] = n_721420611; - } - - result_721420614 = n_721420611.dom; - break BeforeRet; - } - - } - - if ((n_721420611.kind == 0)) { - result_721420614 = document.createTextNode(n_721420611.text); - n_721420611.dom = result_721420614; - if (!((n_721420611.id == null))) { - kxi__.byId[n_721420611.id] = n_721420611; - } - - } - else { - if ((n_721420611.kind == 6)) { - result_721420614 = document.createElement("div"); - result_721420614.innerHTML = n_721420611.text; - n_721420611.dom = result_721420614; - if (!((n_721420611.id == null))) { - kxi__.byId[n_721420611.id] = n_721420611; - } - - break BeforeRet; - } - else { - if ((n_721420611.kind == 3)) { - var x_721420654 = vcomponents_788529165[0][n_721420611.text](n_721420611.kids); - result_721420614 = toDom_721420610(x_721420654, useAttachedNode_721420612, kxi_721420613); - n_721420611.dom = result_721420614; - if (!((n_721420611.id == null))) { - kxi__.byId[n_721420611.id] = n_721420611; - } - - break BeforeRet; - } - else { - if ((n_721420611.kind == 4)) { - result_721420614 = n_721420611.dom; - if (!(!((result_721420614 == null)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,49,56,53,44,32,53,41,32,96,114,101,115,117,108,116,32,33,61,32,110,105,108,96,32]); - } - - n_721420611.dom = result_721420614; - if (!((n_721420611.id == null))) { - kxi__.byId[n_721420611.id] = n_721420611; - } - - break BeforeRet; - } - else { - if ((n_721420611.kind == 5)) { - var x_721420684 = n_721420611; - if (!((x_721420684.onAttachImpl == null))) { - x_721420684.onAttachImpl(x_721420684); - } - - if (!(!((x_721420684.renderImpl == null)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,49,57,50,44,32,53,41,32,96,120,46,114,101,110,100,101,114,73,109,112,108,32,33,61,32,110,105,108,96,32]); - } - - if ((x_721420684.expanded == null)) { - x_721420684.expanded = x_721420684.renderImpl(x_721420684); - } - - if (!(!((x_721420684.expanded == null)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,49,57,54,44,32,53,41,32,96,120,46,101,120,112,97,110,100,101,100,32,33,61,32,110,105,108,96,32]); - } - - result_721420614 = toDom_721420610(x_721420684.expanded, useAttachedNode_721420612, kxi_721420613); - n_721420611.dom = result_721420614; - if (!((n_721420611.id == null))) { - kxi__.byId[n_721420611.id] = n_721420611; - } - - break BeforeRet; - } - else { - if ((ConstSet17[n_721420611.kind] != undefined)) { - Temporary1 = document.createElementNS(toJSStr(svgNamespace_754974946[0]), toTag_754975044[chckIndx(n_721420611.kind, 0, (toTag_754975044).length - 1)]); - } - else { - if ((ConstSet18[n_721420611.kind] != undefined)) { - Temporary1 = document.createElementNS(toJSStr(mathNamespace_754974947[0]), toTag_754975044[chckIndx(n_721420611.kind, 0, (toTag_754975044).length - 1)]); - } - else { - Temporary1 = document.createElement(toTag_754975044[chckIndx(n_721420611.kind, 0, (toTag_754975044).length - 1)]); - } - } - result_721420614 = Temporary1; - n_721420611.dom = result_721420614; - if (!((n_721420611.id == null))) { - kxi__.byId[n_721420611.id] = n_721420611; - } - - Label2: { - var k_721420731 = null; - Label3: { - var i_570425808 = 0; - var colontmp__570425809 = 0; - colontmp__570425809 = (n_721420611.kids).length; - var i_570425810 = 0; - Label4: { - Label5: while (true) { - if (!(i_570425810 < colontmp__570425809)) break Label5; - i_570425808 = i_570425810; - k_721420731 = n_721420611.kids[chckIndx(i_570425808, 0, (n_721420611.kids).length - 1)]; - result_721420614.appendChild(toDom_721420610(k_721420731, useAttachedNode_721420612, kxi_721420613)); - i_570425810 = addInt(i_570425810, 1); - } - }; - }; - }; - if (!((n_721420611.text == null))) { - result_721420614.value = n_721420611.text; - } - - } - }}}} - if (!((n_721420611.id == null))) { - result_721420614.id = n_721420611.id; - } - - if (!((n_721420611.class == null))) { - if ((ConstSet19[n_721420611.kind] != undefined)) { - result_721420614.className.baseVal = n_721420611.class; - } - else { - result_721420614.className = n_721420611.class; - } - - } - - Label6: { - var k_721420736 = null; - var v_721420737 = null; - Label7: { - var i_570425818 = 0; - var colontmp__570425819 = 0; - colontmp__570425819 = subInt((n_721420611.attrs).length, 2); - var res_570425820 = 0; - Label8: { - Label9: while (true) { - if (!(res_570425820 <= colontmp__570425819)) break Label9; - i_570425818 = res_570425820; - k_721420736 = n_721420611.attrs[chckIndx(i_570425818, 0, (n_721420611.attrs).length - 1)]; - v_721420737 = n_721420611.attrs[chckIndx(addInt(i_570425818, 1), 0, (n_721420611.attrs).length - 1)]; - if (!((v_721420737 == null))) { - result_721420614.setAttribute(k_721420736, v_721420737); - } - - res_570425820 = addInt(res_570425820, 2); - } - }; - }; - }; - applyEvents_721420581(n_721420611); - if (((!((kxi_721420613 == null)) && (n_721420611 == kxi_721420613.toFocusV)) && (kxi_721420613.toFocus == null))) { - kxi_721420613.toFocus = result_721420614; - } - - if (!((n_721420611.style == null))) { - applyStyle_822084094(result_721420614, n_721420611.style); - n_721420611.styleVersion = (n_721420611.style.__version || 0); - } - - }; - - return result_721420614; - -} - -function replaceById_721420830(id_721420831, newTree_721420832) { - var x_721420833 = document.getElementById(id_721420831); - x_721420833.parentNode.replaceChild(newTree_721420832, x_721420833); - newTree_721420832.id = id_721420831; - - -} - -function len_754975537(x_754975538) { - var result_754975539 = 0; - - result_754975539 = (x_754975538.kids).length; - - return result_754975539; - -} - -function HEX5BHEX5D_754975544(x_754975545, idx_754975546) { - var result_754975547 = null; - - result_754975547 = x_754975545.kids[chckIndx(idx_754975546, 0, (x_754975545.kids).length - 1)]; - - return result_754975547; - -} - -function eq_822083842(a_822083843, b_822083844) { - var result_822083845 = false; - - BeforeRet: { - if ((a_822083843 == null)) { - if ((b_822083844 == null)) { - result_822083845 = true; - break BeforeRet; - } - else { - result_822083845 = false; - break BeforeRet; - } - - } - else { - if ((b_822083844 == null)) { - result_822083845 = false; - break BeforeRet; - } - } - if (!((a_822083843.length == b_822083844.length))) { - result_822083845 = false; - break BeforeRet; - } - - Label1: { - var i_822083880 = 0; - var colontmp__570425854 = 0; - colontmp__570425854 = a_822083843.length; - var i_570425855 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425855 < colontmp__570425854)) break Label3; - i_822083880 = i_570425855; - if (!((a_822083843[i_822083880] == b_822083844[i_822083880]))) { - result_822083845 = false; - break BeforeRet; - } - - i_570425855 = addInt(i_570425855, 1); - } - }; - }; - result_822083845 = true; - break BeforeRet; - }; - - return result_822083845; - -} - -function versionMatch_822083889(s_822083890, version_822083891) { - var result_822083892 = false; - - result_822083892 = ((s_822083890 == null) || ((s_822083890.__version || 0) == version_822083891)); - - return result_822083892; - -} - -function sameAttrs_754975717(a_754975718, b_754975719) { - var result_754975720 = false; - - BeforeRet: { - if (((a_754975718.attrs).length == (b_754975719.attrs).length)) { - result_754975720 = true; - Label1: { - var i_754975734 = 0; - var colontmp__570425858 = 0; - colontmp__570425858 = (a_754975718.attrs).length; - var i_570425859 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425859 < colontmp__570425858)) break Label3; - i_754975734 = i_570425859; - if (!((a_754975718.attrs[chckIndx(i_754975734, 0, (a_754975718.attrs).length - 1)] == b_754975719.attrs[chckIndx(i_754975734, 0, (b_754975719.attrs).length - 1)]))) { - result_754975720 = false; - break BeforeRet; - } - - i_570425859 = addInt(i_570425859, 1); - } - }; - }; - } - - }; - - return result_754975720; - -} - -function eq_721420843(a_721420844, b_721420845, recursive_721420846) { - var result_721420847 = 0; - - BeforeRet: { - if (!((a_721420844.kind == b_721420845.kind))) { - result_721420847 = 1; - break BeforeRet; - } - - if (!((a_721420844.id == b_721420845.id))) { - result_721420847 = 1; - break BeforeRet; - } - - result_721420847 = 3; - if (!((a_721420844.index == b_721420845.index))) { - result_721420847 = 1; - break BeforeRet; - } - - if ((a_721420844.kind == 0)) { - if (!((a_721420844.text == b_721420845.text))) { - result_721420847 = 1; - break BeforeRet; - } - - } - else { - if ((a_721420844.kind == 3)) { - if (!((a_721420844.text == b_721420845.text))) { - result_721420847 = 1; - break BeforeRet; - } - - if (!((len_754975537(a_721420844) == len_754975537(b_721420845)))) { - result_721420847 = 1; - break BeforeRet; - } - - Label1: { - var i_721420864 = 0; - var colontmp__570425846 = 0; - colontmp__570425846 = len_754975537(a_721420844); - var i_570425847 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425847 < colontmp__570425846)) break Label3; - i_721420864 = i_570425847; - if ((eq_721420843(HEX5BHEX5D_754975544(a_721420844, i_721420864), HEX5BHEX5D_754975544(b_721420845, i_721420864), recursive_721420846) == 1)) { - result_721420847 = 1; - break BeforeRet; - } - - i_570425847 = addInt(i_570425847, 1); - } - }; - }; - } - else { - if ((a_721420844.kind == 4)) { - if ((a_721420844.dom == b_721420845.dom)) { - result_721420847 = 3; - break BeforeRet; - } - else { - result_721420847 = 1; - break BeforeRet; - } - - } - else { - if ((a_721420844.kind == 6)) { - if (!((a_721420844.text == b_721420845.text))) { - result_721420847 = 1; - break BeforeRet; - } - - } - else { - if ((b_721420845.kind == 5)) { - if (!((a_721420844.text == b_721420845.text))) { - result_721420847 = 1; - break BeforeRet; - } - - if (!((a_721420844.key == b_721420845.key))) { - result_721420847 = 1; - break BeforeRet; - } - - result_721420847 = 0; - break BeforeRet; - } - }}}} - if (((!((a_721420844.class == b_721420845.class)) || !((eq_822083842(a_721420844.style, b_721420845.style) && versionMatch_822083889(a_721420844.style, b_721420845.styleVersion)))) || !(sameAttrs_754975717(a_721420844, b_721420845)))) { - result_721420847 = 2; - break BeforeRet; - } - - if (recursive_721420846) { - if (!((len_754975537(a_721420844) == len_754975537(b_721420845)))) { - result_721420847 = 1; - break BeforeRet; - } - - Label4: { - var i_721420890 = 0; - var colontmp__570425850 = 0; - colontmp__570425850 = len_754975537(a_721420844); - var i_570425851 = 0; - Label5: { - Label6: while (true) { - if (!(i_570425851 < colontmp__570425850)) break Label6; - i_721420890 = i_570425851; - if (!((eq_721420843(HEX5BHEX5D_754975544(a_721420844, i_721420890), HEX5BHEX5D_754975544(b_721420845, i_721420890), true) == 3))) { - result_721420847 = 1; - break BeforeRet; - } - - i_570425851 = addInt(i_570425851, 1); - } - }; - }; - } - - break BeforeRet; - }; - - return result_721420847; - -} - -function updateStyles_721420911(newNode_721420912, oldNode_721420913) { - if (!((oldNode_721420913.dom == null))) { - if (!((newNode_721420912.style == null))) { - applyStyle_822084094(oldNode_721420913.dom, newNode_721420912.style); - newNode_721420912.styleVersion = (newNode_721420912.style.__version || 0); - } - else { - oldNode_721420913.dom.style = {m_type: NTI704643214, alignContent: null, alignItems: null, alignSelf: null, all: null, animation: null, animationDelay: null, animationDirection: null, animationDuration: null, animationFillMode: null, animationIterationCount: null, animationName: null, animationPlayState: null, animationTimingFunction: null, backdropFilter: null, backfaceVisibility: null, background: null, backgroundAttachment: null, backgroundBlendMode: null, backgroundClip: null, backgroundColor: null, backgroundImage: null, backgroundOrigin: null, backgroundPosition: null, backgroundRepeat: null, backgroundSize: null, blockSize: null, border: null, borderBlock: null, borderBlockColor: null, borderBlockEnd: null, borderBlockEndColor: null, borderBlockEndStyle: null, borderBlockEndWidth: null, borderBlockStart: null, borderBlockStartColor: null, borderBlockStartStyle: null, borderBlockStartWidth: null, borderBlockStyle: null, borderBlockWidth: null, borderBottom: null, borderBottomColor: null, borderBottomLeftRadius: null, borderBottomRightRadius: null, borderBottomStyle: null, borderBottomWidth: null, borderCollapse: null, borderColor: null, borderEndEndRadius: null, borderEndStartRadius: null, borderImage: null, borderImageOutset: null, borderImageRepeat: null, borderImageSlice: null, borderImageSource: null, borderImageWidth: null, borderInline: null, borderInlineColor: null, borderInlineEnd: null, borderInlineEndColor: null, borderInlineEndStyle: null, borderInlineEndWidth: null, borderInlineStart: null, borderInlineStartColor: null, borderInlineStartStyle: null, borderInlineStartWidth: null, borderInlineStyle: null, borderInlineWidth: null, borderLeft: null, borderLeftColor: null, borderLeftStyle: null, borderLeftWidth: null, borderRadius: null, borderRight: null, borderRightColor: null, borderRightStyle: null, borderRightWidth: null, borderSpacing: null, borderStartEndRadius: null, borderStartStartRadius: null, borderStyle: null, borderTop: null, borderTopColor: null, borderTopLeftRadius: null, borderTopRightRadius: null, borderTopStyle: null, borderTopWidth: null, borderWidth: null, bottom: null, boxDecorationBreak: null, boxShadow: null, boxSizing: null, breakAfter: null, breakBefore: null, breakInside: null, captionSide: null, caretColor: null, clear: null, clip: null, clipPath: null, color: null, colorAdjust: null, columnCount: null, columnFill: null, columnGap: null, columnRule: null, columnRuleColor: null, columnRuleStyle: null, columnRuleWidth: null, columnSpan: null, columnWidth: null, columns: null, contain: null, content: null, counterIncrement: null, counterReset: null, counterSet: null, cursor: null, direction: null, display: null, emptyCells: null, filter: null, flex: null, flexBasis: null, flexDirection: null, flexFlow: null, flexGrow: null, flexShrink: null, flexWrap: null, cssFloat: null, font: null, fontFamily: null, fontFeatureSettings: null, fontKerning: null, fontLanguageOverride: null, fontOpticalSizing: null, fontSize: null, fontSizeAdjust: null, fontStretch: null, fontStyle: null, fontSynthesis: null, fontVariant: null, fontVariantAlternates: null, fontVariantCaps: null, fontVariantEastAsian: null, fontVariantLigatures: null, fontVariantNumeric: null, fontVariantPosition: null, fontVariationSettings: null, fontWeight: null, gap: null, grid: null, gridArea: null, gridAutoColumns: null, gridAutoFlow: null, gridAutoRows: null, gridColumn: null, gridColumnEnd: null, gridColumnStart: null, gridRow: null, gridRowEnd: null, gridRowStart: null, gridTemplate: null, gridTemplateAreas: null, gridTemplateColumns: null, gridTemplateRows: null, hangingPunctuation: null, height: null, hyphens: null, imageOrientation: null, imageRendering: null, inlineSize: null, inset: null, insetBlock: null, insetBlockEnd: null, insetBlockStart: null, insetInline: null, insetInlineEnd: null, insetInlineStart: null, isolation: null, justifyContent: null, justifyItems: null, justifySelf: null, left: null, letterSpacing: null, lineBreak: null, lineHeight: null, listStyle: null, listStyleImage: null, listStylePosition: null, listStyleType: null, margin: null, marginBlock: null, marginBlockEnd: null, marginBlockStart: null, marginBottom: null, marginInline: null, marginInlineEnd: null, marginInlineStart: null, marginLeft: null, marginRight: null, marginTop: null, mask: null, maskBorder: null, maskBorderMode: null, maskBorderOutset: null, maskBorderRepeat: null, maskBorderSlice: null, maskBorderSource: null, maskBorderWidth: null, maskClip: null, maskComposite: null, maskImage: null, maskMode: null, maskOrigin: null, maskPosition: null, maskRepeat: null, maskSize: null, maskType: null, maxBlockSize: null, maxHeight: null, maxInlineSize: null, maxWidth: null, minBlockSize: null, minHeight: null, minInlineSize: null, minWidth: null, mixBlendMode: null, objectFit: null, objectPosition: null, offset: null, offsetAnchor: null, offsetDistance: null, offsetPath: null, offsetRotate: null, opacity: null, order: null, orphans: null, outline: null, outlineColor: null, outlineOffset: null, outlineStyle: null, outlineWidth: null, overflow: null, overflowAnchor: null, overflowBlock: null, overflowInline: null, overflowWrap: null, overflowX: null, overflowY: null, overscrollBehavior: null, overscrollBehaviorBlock: null, overscrollBehaviorInline: null, overscrollBehaviorX: null, overscrollBehaviorY: null, padding: null, paddingBlock: null, paddingBlockEnd: null, paddingBlockStart: null, paddingBottom: null, paddingInline: null, paddingInlineEnd: null, paddingInlineStart: null, paddingLeft: null, paddingRight: null, paddingTop: null, pageBreakAfter: null, pageBreakBefore: null, pageBreakInside: null, paintOrder: null, perspective: null, perspectiveOrigin: null, placeContent: null, placeItems: null, placeSelf: null, pointerEvents: null, position: null, quotes: null, resize: null, right: null, rotate: null, rowGap: null, scale: null, scrollBehavior: null, scrollMargin: null, scrollMarginBlock: null, scrollMarginBlockEnd: null, scrollMarginBlockStart: null, scrollMarginBottom: null, scrollMarginInline: null, scrollMarginInlineEnd: null, scrollMarginInlineStart: null, scrollMarginLeft: null, scrollMarginRight: null, scrollMarginTop: null, scrollPadding: null, scrollPaddingBlock: null, scrollPaddingBlockEnd: null, scrollPaddingBlockStart: null, scrollPaddingBottom: null, scrollPaddingInline: null, scrollPaddingInlineEnd: null, scrollPaddingInlineStart: null, scrollPaddingLeft: null, scrollPaddingRight: null, scrollPaddingTop: null, scrollSnapAlign: null, scrollSnapStop: null, scrollSnapType: null, scrollbar3dLightColor: null, scrollbarArrowColor: null, scrollbarBaseColor: null, scrollbarColor: null, scrollbarDarkshadowColor: null, scrollbarFaceColor: null, scrollbarHighlightColor: null, scrollbarShadowColor: null, scrollbarTrackColor: null, scrollbarWidth: null, shapeImageThreshold: null, shapeMargin: null, shapeOutside: null, tabSize: null, tableLayout: null, textAlign: null, textAlignLast: null, textCombineUpright: null, textDecoration: null, textDecorationColor: null, textDecorationLine: null, textDecorationSkipInk: null, textDecorationStyle: null, textDecorationThickness: null, textEmphasis: null, textEmphasisColor: null, textEmphasisPosition: null, textEmphasisStyle: null, textIndent: null, textJustify: null, textOrientation: null, textOverflow: null, textRendering: null, textShadow: null, textTransform: null, textUnderlineOffset: null, textUnderlinePosition: null, top: null, touchAction: null, transform: null, transformBox: null, transformOrigin: null, transformStyle: null, transition: null, transitionDelay: null, transitionDuration: null, transitionProperty: null, transitionTimingFunction: null, translate: null, unicodeBidi: null, verticalAlign: null, visibility: null, whiteSpace: null, widows: null, width: null, willChange: null, wordBreak: null, wordSpacing: null, writingMode: null, zIndex: null}; - } - - if ((ConstSet20[oldNode_721420913.kind] != undefined)) { - oldNode_721420913.dom.className.baseVal = newNode_721420912.class; - } - else { - oldNode_721420913.dom.className = newNode_721420912.class; - } - - } - - oldNode_721420913.style = newNode_721420912.style; - oldNode_721420913.class = newNode_721420912.class; - - -} - -function takeOverAttr_754975529(newNode_754975530, oldNode_754975531) { - oldNode_754975531.attrs = newNode_754975530.attrs; - - -} - -function updateAttributes_721421325(newNode_721421326, oldNode_721421327) { - if (!((oldNode_721421327.dom == null))) { - Label1: { - var k_721421332 = null; - var __721421333 = null; - Label2: { - var i_570425863 = 0; - var colontmp__570425864 = 0; - colontmp__570425864 = subInt((oldNode_721421327.attrs).length, 2); - var res_570425865 = 0; - Label3: { - Label4: while (true) { - if (!(res_570425865 <= colontmp__570425864)) break Label4; - i_570425863 = res_570425865; - k_721421332 = oldNode_721421327.attrs[chckIndx(i_570425863, 0, (oldNode_721421327.attrs).length - 1)]; - __721421333 = oldNode_721421327.attrs[chckIndx(addInt(i_570425863, 1), 0, (oldNode_721421327.attrs).length - 1)]; - oldNode_721421327.dom.removeAttribute(k_721421332); - res_570425865 = addInt(res_570425865, 2); - } - }; - }; - }; - Label5: { - var k_721421334 = null; - var v_721421335 = null; - Label6: { - var i_570425869 = 0; - var colontmp__570425870 = 0; - colontmp__570425870 = subInt((newNode_721421326.attrs).length, 2); - var res_570425871 = 0; - Label7: { - Label8: while (true) { - if (!(res_570425871 <= colontmp__570425870)) break Label8; - i_570425869 = res_570425871; - k_721421334 = newNode_721421326.attrs[chckIndx(i_570425869, 0, (newNode_721421326.attrs).length - 1)]; - v_721421335 = newNode_721421326.attrs[chckIndx(addInt(i_570425869, 1), 0, (newNode_721421326.attrs).length - 1)]; - if (!((v_721421335 == null))) { - oldNode_721421327.dom.setAttribute(k_721421334, v_721421335); - } - - res_570425871 = addInt(res_570425871, 2); - } - }; - }; - }; - } - - takeOverAttr_754975529(newNode_721421326, oldNode_721421327); - - -} - -function getAttr_754975516(n_754975517, key_754975518) { - var result_754975519 = null; - - BeforeRet: { - Label1: { - var i_754975528 = 0; - var colontmp__570425874 = 0; - colontmp__570425874 = subInt((n_754975517.attrs).length, 2); - var res_570425875 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425875 <= colontmp__570425874)) break Label3; - i_754975528 = res_570425875; - if ((n_754975517.attrs[chckIndx(i_754975528, 0, (n_754975517.attrs).length - 1)] == key_754975518)) { - result_754975519 = n_754975517.attrs[chckIndx(addInt(i_754975528, 1), 0, (n_754975517.attrs).length - 1)]; - break BeforeRet; - } - - res_570425875 = addInt(res_570425875, 2); - } - }; - }; - }; - - return result_754975519; - -} - -function removeAllEventHandlers_721420412(d_721420413) { - if (!((d_721420413.karaxEvents == null))) { - Label1: { - var i_721420429 = 0; - var colontmp__570425878 = 0; - colontmp__570425878 = d_721420413.karaxEvents.length; - var i_570425879 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425879 < colontmp__570425878)) break Label3; - i_721420429 = i_570425879; - d_721420413.removeEventListener(d_721420413.karaxEvents[i_721420429]["Field0"], d_721420413.karaxEvents[i_721420429]["Field1"]); - i_570425879 = addInt(i_570425879, 1); - } - }; - }; - } - - - -} - -function mergeEvents_721421336(newNode_721421337, oldNode_721421338, kxi_721421339) { - var d_721421340 = oldNode_721421338.dom; - if (!((d_721421340 == null))) { - removeAllEventHandlers_721420412(d_721421340); - } - - oldNode_721421338.events = newNode_721421337.events; - applyEvents_721420581(oldNode_721421338); - - -} - -function addPatch_721421345(kxi_721421346, ka_721421347, parenta_721421348, currenta_721421349, na_721421350, oldNode_721421351) { - var L_721421352 = kxi_721421346.patchLen; - if (((kxi_721421346.patches).length <= L_721421352)) { - kxi_721421346.patches.push({k: ka_721421347, parent: parenta_721421348, current: currenta_721421349, newNode: na_721421350, oldNode: oldNode_721421351});; - } - else { - kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].k = ka_721421347; - kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].parent = parenta_721421348; - kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].current = currenta_721421349; - kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].newNode = na_721421350; - kxi_721421346.patches[chckIndx(L_721421352, 0, (kxi_721421346.patches).length - 1)].oldNode = oldNode_721421351; - } - - kxi_721421346.patchLen = addInt(kxi_721421346.patchLen, 1); - - -} - -function diff_721421509(newNode_721421510, oldNode_721421511, parent_721421512, current_721421513, kxi_721421514) { - var Temporary1; - - BeforeRet: { - var result_721421515 = eq_721420843(newNode_721421510, oldNode_721421511, false); - switch (result_721421515) { - case 0: - kxi_721421514.components.push({oldNode: oldNode_721421511, newNode: newNode_721421510, parent: parent_721421512, current: current_721421513});; - break; - case 3: - case 2: - newNode_721421510.dom = oldNode_721421511.dom; - if ((result_721421515 == 2)) { - updateStyles_721420911(newNode_721421510, oldNode_721421511); - updateAttributes_721421325(newNode_721421510, oldNode_721421511); - if ((oldNode_721421511.kind == 0)) { - oldNode_721421511.text = newNode_721421510.text; - oldNode_721421511.dom.nodeValue = newNode_721421510.text; - } - - if ((oldNode_721421511.kind == 194)) { - oldNode_721421511.dom.value = newNode_721421510.text; - var checked_721421532 = getAttr_754975516(newNode_721421510, "checked"); - if ((checked_721421532 == null)) { - Temporary1 = false; - } - else { - Temporary1 = true; - } - - oldNode_721421511.dom.checked = Temporary1; - } - - } - - if ((!(((newNode_721421510.events).length == 0)) || !(((oldNode_721421511.events).length == 0)))) { - mergeEvents_721421336(newNode_721421510, oldNode_721421511, kxi_721421514); - } - - var newLength_721421539 = len_754975537(newNode_721421510); - var oldLength_721421540 = len_754975537(oldNode_721421511); - if (((newLength_721421539 == 0) && (oldLength_721421540 == 0))) { - break BeforeRet; - } - - var minLength_721421541 = nimMin(newLength_721421539, oldLength_721421540); - if (!((oldNode_721421511.kind == newNode_721421510.kind))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,53,50,52,44,32,53,41,32,96,111,108,100,78,111,100,101,46,107,105,110,100,32,61,61,32,110,101,119,78,111,100,101,46,107,105,110,100,96,32]); - } - - var commonPrefix_721421551 = 0; - Label2: { - Label3: while (true) { - if (!(commonPrefix_721421551 < minLength_721421541)) break Label3; - if ((eq_721420843(HEX5BHEX5D_754975544(newNode_721421510, commonPrefix_721421551), HEX5BHEX5D_754975544(oldNode_721421511, commonPrefix_721421551), true) == 3)) { - addPatch_721421345(kxi_721421514, 5, null, null, HEX5BHEX5D_754975544(newNode_721421510, commonPrefix_721421551), HEX5BHEX5D_754975544(oldNode_721421511, commonPrefix_721421551)); - commonPrefix_721421551 = addInt(commonPrefix_721421551, 1); - } - else { - break Label2; - } - - } - }; - var oldPos_721421561 = subInt(oldLength_721421540, 1); - var newPos_721421562 = subInt(newLength_721421539, 1); - Label4: { - Label5: while (true) { - if (!((commonPrefix_721421551 <= oldPos_721421561) && (commonPrefix_721421551 <= newPos_721421562))) break Label5; - if ((eq_721420843(HEX5BHEX5D_754975544(newNode_721421510, newPos_721421562), HEX5BHEX5D_754975544(oldNode_721421511, oldPos_721421561), true) == 3)) { - addPatch_721421345(kxi_721421514, 5, null, null, HEX5BHEX5D_754975544(newNode_721421510, newPos_721421562), HEX5BHEX5D_754975544(oldNode_721421511, oldPos_721421561)); - oldPos_721421561 = subInt(oldPos_721421561, 1); - newPos_721421562 = subInt(newPos_721421562, 1); - } - else { - break Label4; - } - - } - }; - var pos_721421577 = addInt(nimMin(oldPos_721421561, newPos_721421562), 1); - Label6: { - var i_721421582 = 0; - var colontmp__570425833 = 0; - colontmp__570425833 = subInt(pos_721421577, 1); - var res_570425834 = commonPrefix_721421551; - Label7: { - Label8: while (true) { - if (!(res_570425834 <= colontmp__570425833)) break Label8; - i_721421582 = res_570425834; - diff_721421509(HEX5BHEX5D_754975544(newNode_721421510, i_721421582), HEX5BHEX5D_754975544(oldNode_721421511, i_721421582), current_721421513, HEX5BHEX5D_754975544(oldNode_721421511, i_721421582).dom, kxi_721421514); - res_570425834 = addInt(res_570425834, 1); - } - }; - }; - if ((addInt(oldPos_721421561, 1) == oldLength_721421540)) { - Label9: { - var i_721421587 = 0; - var res_570425837 = pos_721421577; - Label10: { - Label11: while (true) { - if (!(res_570425837 <= newPos_721421562)) break Label11; - i_721421587 = res_570425837; - addPatch_721421345(kxi_721421514, 2, current_721421513, null, HEX5BHEX5D_754975544(newNode_721421510, i_721421587), null); - res_570425837 = addInt(res_570425837, 1); - } - }; - }; - } - else { - var before_721421588 = current_721421513.childNodes[chckIndx(addInt(oldPos_721421561, 1), 0, (current_721421513.childNodes).length - 1)]; - Label12: { - var i_721421593 = 0; - var res_570425840 = pos_721421577; - Label13: { - Label14: while (true) { - if (!(res_570425840 <= newPos_721421562)) break Label14; - i_721421593 = res_570425840; - addPatch_721421345(kxi_721421514, 3, current_721421513, before_721421588, HEX5BHEX5D_754975544(newNode_721421510, i_721421593), null); - res_570425840 = addInt(res_570425840, 1); - } - }; - }; - } - - Label15: { - var i_721421598 = 0; - var res_570425843 = pos_721421577; - Label16: { - Label17: while (true) { - if (!(res_570425843 <= oldPos_721421561)) break Label17; - i_721421598 = res_570425843; - addPatch_721421345(kxi__, 4, null, null, null, HEX5BHEX5D_754975544(oldNode_721421511, i_721421598)); - addPatch_721421345(kxi_721421514, 1, current_721421513, current_721421513.childNodes[chckIndx(i_721421598, 0, (current_721421513.childNodes).length - 1)], null, null); - res_570425843 = addInt(res_570425843, 1); - } - }; - }; - break; - case 1: - addPatch_721421345(kxi__, 4, null, null, null, oldNode_721421511); - addPatch_721421345(kxi_721421514, 0, parent_721421512, current_721421513, newNode_721421510, null); - break; - case 4: - if (true) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,53,54,54,44,32,50,54,41,32,96,102,97,108,115,101,96,32,101,113,32,114,101,116,117,114,110,101,100,32,117,115,101,110,101,119,78,111,100,101]); - } - - break; - } - }; - - -} - -function applyComponents_721421623(kxi_721421624) { - var i_721421625 = 0; - Label1: { - Label2: while (true) { - if (!(i_721421625 < (kxi_721421624.components).length)) break Label2; - var x_721421630 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].oldNode; - var newNode_721421631 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].newNode; - if ((!((x_721421630.changedImpl == null)) && x_721421630.changedImpl(x_721421630, newNode_721421631))) { - var current_721421636 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].current; - var parent_721421637 = kxi_721421624.components[chckIndx(i_721421625, 0, (kxi_721421624.components).length - 1)].parent; - x_721421630.updatedImpl(x_721421630, newNode_721421631); - var oldExpanded_721421638 = x_721421630.expanded; - x_721421630.expanded = x_721421630.renderImpl(x_721421630); - x_721421630.renderedVersion = x_721421630.version; - if ((oldExpanded_721421638 == null)) { - addPatch_721421345(kxi__, 4, null, null, null, x_721421630); - addPatch_721421345(kxi_721421624, 0, parent_721421637, current_721421636, x_721421630.expanded, null); - } - else { - diff_721421509(x_721421630.expanded, oldExpanded_721421638, parent_721421637, current_721421636, kxi_721421624); - } - - } - - i_721421625 = addInt(i_721421625, 1); - } - }; - if (kxi_721421624.components.length < 0) { for (var i = kxi_721421624.components.length ; i < 0 ; ++i) kxi_721421624.components.push(({oldNode: null, newNode: null, parent: null, current: null})); } - else { kxi_721421624.components.length = 0; }; - - -} - -function reapplyEvents_721420592(n_721420593) { - removeAllEventHandlers_721420412(n_721420593.dom); - applyEvents_721420581(n_721420593); - - -} - -function moveDom_721421439(dest_721421440, src_721421441) { - dest_721421440.dom = src_721421441.dom; - src_721421441.dom = null; - reapplyEvents_721420592(dest_721421440); - if (!((dest_721421440.id == null))) { - kxi__.byId[dest_721421440.id] = dest_721421440; - } - - if (!((len_754975537(dest_721421440) == len_754975537(src_721421441)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,52,49,57,44,32,51,41,32,96,100,101,115,116,46,108,101,110,32,61,61,32,115,114,99,46,108,101,110,96,32]); - } - - Label1: { - var i_721421457 = 0; - var colontmp__570425889 = 0; - colontmp__570425889 = len_754975537(dest_721421440); - var i_570425890 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425890 < colontmp__570425889)) break Label3; - i_721421457 = i_570425890; - moveDom_721421439(HEX5BHEX5D_754975544(dest_721421440, i_721421457), HEX5BHEX5D_754975544(src_721421441, i_721421457)); - i_570425890 = addInt(i_570425890, 1); - } - }; - }; - - -} - -function HEX5BHEX5DHEX3D_754975548(x_754975549, idx_754975550, y_754975551) { - x_754975549.kids[chckIndx(idx_754975550, 0, (x_754975549.kids).length - 1)] = y_754975551; - - -} - -function applyPatch_721421458(kxi_721421459) { - Label1: { - var i_721421464 = 0; - var i_570425883 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425883 < kxi_721421459.patchLen)) break Label3; - i_721421464 = i_570425883; - var p_721421465 = nimCopy(null, kxi_721421459.patches[chckIndx(i_721421464, 0, (kxi_721421459.patches).length - 1)], NTI721420296); - switch (p_721421465.k) { - case 0: - var nn_721421466 = toDom_721420610(p_721421465.newNode, true, kxi_721421459); - if ((p_721421465.parent == null)) { - replaceById_721420830(kxi_721421459.rootId, nn_721421466); - } - else { - if ((p_721421465.current.parentNode == p_721421465.parent)) { - p_721421465.parent.replaceChild(nn_721421466, p_721421465.current); - } - else { - p_721421465.parent.appendChild(nn_721421466); - } - - } - - break; - case 5: - moveDom_721421439(p_721421465.newNode, p_721421465.oldNode); - break; - case 1: - p_721421465.parent.removeChild(p_721421465.current); - break; - case 2: - var nn_721421475 = toDom_721420610(p_721421465.newNode, true, kxi_721421459); - p_721421465.parent.appendChild(nn_721421475); - break; - case 3: - var nn_721421476 = toDom_721420610(p_721421465.newNode, true, kxi_721421459); - p_721421465.parent.insertBefore(nn_721421476, p_721421465.current); - break; - case 4: - var n_721421477 = p_721421465.oldNode; - if (!((n_721421477.id == null))) { - delete kxi_721421459.byId[n_721421477.id]; - } - - if ((n_721421477.kind == 5)) { - var x_721421487 = n_721421477; - if (!((x_721421487.onDetachImpl == null))) { - x_721421487.onDetachImpl(x_721421487); - } - - } - - if (!(kxi_721421459.surpressRedraws)) { - n_721421477.dom = null; - } - - break; - } - i_570425883 = addInt(i_570425883, 1); - } - }; - }; - kxi_721421459.patchLen = 0; - Label4: { - var i_721421496 = 0; - var i_570425886 = 0; - Label5: { - Label6: while (true) { - if (!(i_570425886 < kxi_721421459.patchLenV)) break Label6; - i_721421496 = i_570425886; - var p_721421497 = nimCopy(null, kxi_721421459.patchesV[chckIndx(i_721421496, 0, (kxi_721421459.patchesV).length - 1)], NTI721420297); - HEX5BHEX5DHEX3D_754975548(p_721421497.parent, p_721421497.pos, p_721421497.newChild); - if (!(!((p_721421497.newChild.dom == null)))) { - failedAssertImpl_268435541([107,97,114,97,120,46,110,105,109,40,52,53,56,44,32,53,41,32,96,112,46,110,101,119,67,104,105,108,100,46,100,111,109,32,33,61,32,110,105,108,96,32]); - } - - i_570425886 = addInt(i_570425886, 1); - } - }; - }; - kxi_721421459.patchLenV = 0; - - -} - -function dodraw_721421712(kxi_721421713) { - -function HEX3Aanonymous_721421717() { - dodraw_721421712(kxi_721421713); - - - } - - BeforeRet: { - if ((kxi_721421713.renderer == null)) { - break BeforeRet; - } - - kxi_721421713.renderId = 0; - if (kxi_721421713.rendering) { - kxi_721421713.renderId = window.requestAnimationFrame(HEX3Aanonymous_721421717); - break BeforeRet; - } - - kxi_721421713.rendering = true; - var rdata_721421718 = {hashPart: null, queryString: null}; - if ((window.location.hash.indexOf("?")>=0)) { - var hashSplit_721421719 = window.location.hash.split("?"); - rdata_721421718.hashPart = hashSplit_721421719[chckIndx(0, 0, (hashSplit_721421719).length - 1)]; - rdata_721421718.queryString = (HEX5BHEX5D_721421729(hashSplit_721421719, HEX2EHEX2E_1073741928(1, 1)).join("?")); - } - else { - rdata_721421718.hashPart = window.location.hash; - rdata_721421718.queryString = window.location.search; - } - - var newtree_721421753 = kxi_721421713.renderer(rdata_721421718); - kxi_721421713.runCount = addInt(kxi_721421713.runCount, 1); - newtree_721421753.id = kxi_721421713.rootId; - kxi_721421713.toFocus = null; - if ((kxi_721421713.currentTree == null)) { - var asdom_721421763 = toDom_721420610(newtree_721421753, true, kxi_721421713); - replaceById_721420830(kxi_721421713.rootId, asdom_721421763); - } - else { - var olddom_721421764 = document.getElementById(kxi_721421713.rootId); - diff_721421509(newtree_721421753, kxi_721421713.currentTree, null, olddom_721421764, kxi_721421713); - } - - applyComponents_721421623(kxi_721421713); - applyPatch_721421458(kxi_721421713); - kxi_721421713.currentTree = newtree_721421753; - if (!((kxi_721421713.postRenderCallback == null))) { - kxi_721421713.postRenderCallback(rdata_721421718); - } - - if (!((kxi_721421713.toFocus == null))) { - kxi_721421713.toFocus.focus(); - } - - kxi_721421713.rendering = false; - }; - - -} - -function redraw_721421809(kxi_721421810) { - -function HEX3Aanonymous_721421811() { - dodraw_721421712(kxi_721421810); - - - } - - if ((kxi_721421810.renderId == 0)) { - kxi_721421810.renderId = window.requestAnimationFrame(HEX3Aanonymous_721421811); - } - - - -} - -function loadSettings_1426069631(state_1426069632) { - var v_1426069633 = window.localStorage.getItem("lastUsed"); - if (!((v_1426069633 == null))) { - if ((0 < ((v_1426069633) == null ? 0 : (v_1426069633).length))) { - if (state_1426069632.lastUsed.length < 0) { for (var i = state_1426069632.lastUsed.length ; i < 0 ; ++i) state_1426069632.lastUsed.push(0); } - else { state_1426069632.lastUsed.length = 0; }; - var success_1426069638 = false; - Label1: { - var i_1426069639 = []; - var colontmp__570425773 = []; - colontmp__570425773 = cstrToNimstr(v_1426069633); - var lastHEX60gensym34_570425776 = 0; - var splitsHEX60gensym34_570425777 = (-1); - Label2: { - Label3: while (true) { - if (!(lastHEX60gensym34_570425776 <= (colontmp__570425773).length)) break Label3; - var firstHEX60gensym34_570425779 = lastHEX60gensym34_570425776; - Label4: { - Label5: while (true) { - if (!((lastHEX60gensym34_570425776 < (colontmp__570425773).length) && !((colontmp__570425773[chckIndx(lastHEX60gensym34_570425776, 0, (colontmp__570425773).length - 1)] == 46)))) break Label5; - lastHEX60gensym34_570425776 = addInt(lastHEX60gensym34_570425776, 1); - } - }; - if ((splitsHEX60gensym34_570425777 == 0)) { - lastHEX60gensym34_570425776 = (colontmp__570425773).length; - } - - i_1426069639 = substr_33558079(colontmp__570425773, firstHEX60gensym34_570425779, subInt(lastHEX60gensym34_570425776, 1)); -++excHandler; - try { - var b_1426069640 = nsuParseInt(i_1426069639); - if (!(contains_1459619435(HEX2EHEX2E_1157627952(0, 255), b_1426069640))) { - raiseException({message: [], parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - } - else { - success_1426069638 = true; - state_1426069632.lastUsed.push(b_1426069640);; - } - ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - success_1426069638 = false; - break Label1; - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - if ((splitsHEX60gensym34_570425777 == 0)) { - break Label2; - } - - splitsHEX60gensym34_570425777 = subInt(splitsHEX60gensym34_570425777, 1); - lastHEX60gensym34_570425776 = addInt(lastHEX60gensym34_570425776, 1); - } - }; - }; - if (success_1426069638) { - state_1426069632.studentMode = true; - document.getElementById("settings-stm").checked = true; - } - else { - state_1426069632.studentMode = false; - if (state_1426069632.lastUsed.length < 0) { for (var i = state_1426069632.lastUsed.length ; i < 0 ; ++i) state_1426069632.lastUsed.push(0); } - else { state_1426069632.lastUsed.length = 0; }; - window.localStorage.setItem("lastUsed", ""); - } - - } - - } - - var v_1426069671 = window.localStorage.getItem("starsAnimation"); - if (!((v_1426069671 == null))) { - var b_1426069672 = false; -++excHandler; - try { - b_1426069672 = parseBool_872416339(cstrToNimstr(v_1426069671)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - toggleStarsAnimation_1426069424(b_1426069672); - document.getElementById("settings-sa").checked = b_1426069672; - } - else { - toggleStarsAnimation_1426069424(false); - } - - var v_1426069673 = window.localStorage.getItem("showVArrow"); - if (!((v_1426069673 == null))) { - var b_1426069674 = true; -++excHandler; - try { - b_1426069674 = parseBool_872416339(cstrToNimstr(v_1426069673)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - state_1426069632.canon.showVArrow = b_1426069674; - document.getElementById("settings-v").checked = b_1426069674; - } - - var v_1426069675 = window.localStorage.getItem("showVxArrow"); - if (!((v_1426069675 == null))) { - var b_1426069676 = true; -++excHandler; - try { - b_1426069676 = parseBool_872416339(cstrToNimstr(v_1426069675)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - state_1426069632.canon.showVxArrow = b_1426069676; - document.getElementById("settings-vx").checked = b_1426069676; - } - - var v_1426069677 = window.localStorage.getItem("showVyArrow"); - if (!((v_1426069677 == null))) { - var b_1426069678 = true; -++excHandler; - try { - b_1426069678 = parseBool_872416339(cstrToNimstr(v_1426069677)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - state_1426069632.canon.showVyArrow = b_1426069678; - document.getElementById("settings-vy").checked = b_1426069678; - } - - var v_1426069679 = window.localStorage.getItem("formulaResults"); - if (!((v_1426069679 == null))) { - var b_1426069680 = true; -++excHandler; - try { - b_1426069680 = parseBool_872416339(cstrToNimstr(v_1426069679)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - state_1426069632.showFormulaResults = b_1426069680; - document.getElementById("settings-er").checked = b_1426069680; - } - - var v_1426069681 = window.localStorage.getItem("formulaProc"); - if (!((v_1426069681 == null))) { - var b_1426069682 = true; -++excHandler; - try { - b_1426069682 = parseBool_872416339(cstrToNimstr(v_1426069681)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - state_1426069632.showFormulaProc = b_1426069682; - document.getElementById("settings-erp").checked = b_1426069682; - } - - var v_1426069683 = window.localStorage.getItem("timescale"); - if (!((v_1426069683 == null))) { - var i_1426069684 = [0]; - var _ = parseInt_889193355(cstrToNimstr(v_1426069683), i_1426069684, 0, 0); - state_1426069632.engine.timing.timeScale = (0.028 * timeSteps_1426063536[chckIndx(i_1426069684[0], 0, (timeSteps_1426063536).length - 1)]); - } - - var v_1426069698 = window.localStorage.getItem("bulletsLimit"); - if (!((v_1426069698 == null))) { - var i_1426069699 = [0]; - var _ = parseInt_889193355(cstrToNimstr(v_1426069698), i_1426069699, 0, 0); - changeBulletsLimit_1426069485(state_1426069632, i_1426069699[0], document.getElementById("settings-bl")); - } - - var v_1426069700 = window.localStorage.getItem("collideWithBlocks"); - if (!((v_1426069700 == null))) { - var b_1426069701 = true; -++excHandler; - try { - b_1426069701 = parseBool_872416339(cstrToNimstr(v_1426069700)); ---excHandler; -} catch (EXCEPTION) { - var prevJSError = lastJSError; - lastJSError = EXCEPTION; - --excHandler; - if (lastJSError && (isObj(lastJSError.m_type, NTI134217746))) { - } - else { - reraiseException(); - } - lastJSError = prevJSError; - } finally { - } - changeBlocksCollision_1426069611(state_1426069632, b_1426069701); - document.getElementById("settings-cwb").checked = b_1426069701; - } - - var v_1426069702 = window.localStorage.getItem("lang"); - if (!((v_1426069702 == null))) { - var i_1426069703 = [0]; - var _ = parseInt_889193355(cstrToNimstr(v_1426069702), i_1426069703, 0, 0); - if (contains_1459619435(HEX2EHEX2E_1157627952(0, 1), i_1426069703[0])) { - state_1426069632.lang = chckRange(i_1426069703[0], 0, 1); - } - - if (!(kxi__.surpressRedraws)) { - redraw_721421809(kxi__); - } - - } - - document.getElementById("langSelect").value = toJSStr(HEX24_385875976(((state_1426069632.lang) | 0))); - - -} - -function sizeVec_1677721903(v_1677721904) { - var result_1677721905 = {Field0: 0.0, Field1: 0.0}; - - result_1677721905 = nimCopy(result_1677721905, {Field0: (v_1677721904.width), Field1: (v_1677721904.height)}, NTI1677721603); - - return result_1677721905; - -} - -function onImagesLoaded_1426069316(state_1426069317) { - state_1426069317.canon.imgSize = nimCopy(state_1426069317.canon.imgSize, sizeVec_1677721903(state_1426069317.render.textures["./img/canon.png"]), NTI1677721603); - state_1426069317.canon.base.imgSize = nimCopy(state_1426069317.canon.base.imgSize, sizeVec_1677721903(state_1426069317.render.textures["./img/canon.png"]), NTI1677721603); - state_1426069317.canon.platform.imgSize = nimCopy(state_1426069317.canon.platform.imgSize, sizeVec_1677721903(state_1426069317.render.textures["./img/canonPlatform.png"]), NTI1677721603); - Matter.Body.scale((state_1426069317.canon.body), (state_1426069317.canon.imgSize.Field0), (state_1426069317.canon.imgSize.Field1)); - Matter.Body.scale((state_1426069317.canon.base.body), (state_1426069317.canon.base.imgSize.Field0), (state_1426069317.canon.base.imgSize.Field1)); - Matter.Body.scale((state_1426069317.canon.platform.body), (state_1426069317.canon.platform.imgSize.Field0), (state_1426069317.canon.platform.imgSize.Field1)); - onResize_1426065422(state_1426069317, true); - rotateCanonBack_1426064283(state_1426069317, degToRad_1694498964(60.0), true); - calcTrajectory_1426065138(state_1426069317); - Matter.Render.run((state_1426069317.render)); - state_1426069317.startedRendering = true; - - -} - -function load_1426069741(state_1426069742) { - -function innerHEX60gensym1234_1426069792() { - -function innerHEX60gensym1242_1426069813() { - var result_1426069814 = null; - - BeforeRet: { - var a_1426069815 = null; - a_1426069815 = {}; - a_1426069815.timeScale = 0.028; - result_1426069814 = a_1426069815; - break BeforeRet; - }; - - return result_1426069814; - - } - - var result_1426069793 = null; - - BeforeRet: { - var a_1426069794 = null; - a_1426069794 = {}; - a_1426069794.gravity = gravity_1426069779; - a_1426069794.timing = innerHEX60gensym1242_1426069813(); - a_1426069794.enableSleeping = true; - result_1426069793 = a_1426069794; - break BeforeRet; - }; - - return result_1426069793; - - } - -function innerHEX60gensym1256_1426069854() { - -function innerHEX60gensym1278_1426069888() { - var result_1426069889 = null; - - BeforeRet: { - var a_1426069890 = null; - a_1426069890 = {}; - a_1426069890.width = state_1426069742.canvasSize.Field0; - a_1426069890.height = state_1426069742.canvasSize.Field1; - a_1426069890.showAngleIndicator = false; - a_1426069890.showSleeping = false; - a_1426069890.wireframes = false; - a_1426069890.showDebug = false; - a_1426069890.background = [116,114,97,110,115,112,97,114,101,110,116]; - result_1426069889 = a_1426069890; - break BeforeRet; - }; - - return result_1426069889; - - } - - var result_1426069855 = null; - - BeforeRet: { - var a_1426069856 = null; - a_1426069856 = {}; - a_1426069856.canvas = state_1426069742.canvas; - a_1426069856.engine = state_1426069742.engine; - a_1426069856.options = innerHEX60gensym1278_1426069888(); - result_1426069855 = a_1426069856; - break BeforeRet; - }; - - return result_1426069855; - - } - -function innerHEX60gensym1299_1426069997() { - var result_1426069998 = null; - - BeforeRet: { - var a_1426069999 = null; - a_1426069999 = {}; - a_1426069999.fps = 60; - result_1426069998 = a_1426069999; - break BeforeRet; - }; - - return result_1426069998; - - } - -function innerHEX60gensym1332_1426070072() { - -function innerHEX60gensym1342_1426070106() { - var result_1426070107 = null; - - BeforeRet: { - var a_1426070108 = null; - a_1426070108 = {}; - a_1426070108.mask = 0; - result_1426070107 = a_1426070108; - break BeforeRet; - }; - - return result_1426070107; - - } - -function innerHEX60gensym1353_1426070150() { - -function innerHEX60gensym1363_1426070158() { - var result_1426070159 = null; - - BeforeRet: { - var a_1426070160 = null; - a_1426070160 = {}; - a_1426070160.texture = "./img/canon.png"; - a_1426070160.xOffset = 0; - a_1426070160.yOffset = 0; - result_1426070159 = a_1426070160; - break BeforeRet; - }; - - return result_1426070159; - - } - - var result_1426070151 = null; - - BeforeRet: { - var a_1426070152 = null; - a_1426070152 = {}; - a_1426070152.sprite = innerHEX60gensym1363_1426070158(); - result_1426070151 = a_1426070152; - break BeforeRet; - }; - - return result_1426070151; - - } - - var result_1426070073 = null; - - BeforeRet: { - var a_1426070074 = null; - a_1426070074 = {}; - a_1426070074.zIndex = 3; - a_1426070074.isStatic = true; - a_1426070074.collisionFilter = innerHEX60gensym1342_1426070106(); - a_1426070074.label = "Canon"; - a_1426070074.render = innerHEX60gensym1353_1426070150(); - result_1426070073 = a_1426070074; - break BeforeRet; - }; - - return result_1426070073; - - } - -function innerHEX60gensym1396_1426070263() { - -function innerHEX60gensym1406_1426070297() { - var result_1426070298 = null; - - BeforeRet: { - var a_1426070299 = null; - a_1426070299 = {}; - a_1426070299.mask = 0; - result_1426070298 = a_1426070299; - break BeforeRet; - }; - - return result_1426070298; - - } - -function innerHEX60gensym1417_1426070341() { - -function innerHEX60gensym1427_1426070349() { - var result_1426070350 = null; - - BeforeRet: { - var a_1426070351 = null; - a_1426070351 = {}; - a_1426070351.texture = "./img/canonBase.png"; - a_1426070351.xOffset = 0; - a_1426070351.yOffset = 0; - result_1426070350 = a_1426070351; - break BeforeRet; - }; - - return result_1426070350; - - } - - var result_1426070342 = null; - - BeforeRet: { - var a_1426070343 = null; - a_1426070343 = {}; - a_1426070343.sprite = innerHEX60gensym1427_1426070349(); - result_1426070342 = a_1426070343; - break BeforeRet; - }; - - return result_1426070342; - - } - - var result_1426070264 = null; - - BeforeRet: { - var a_1426070265 = null; - a_1426070265 = {}; - a_1426070265.zIndex = 4; - a_1426070265.isStatic = true; - a_1426070265.collisionFilter = innerHEX60gensym1406_1426070297(); - a_1426070265.label = "Base"; - a_1426070265.render = innerHEX60gensym1417_1426070341(); - result_1426070264 = a_1426070265; - break BeforeRet; - }; - - return result_1426070264; - - } - -function innerHEX60gensym1461_1426070464() { - -function innerHEX60gensym1471_1426070498() { - var result_1426070499 = null; - - BeforeRet: { - var a_1426070500 = null; - a_1426070500 = {}; - a_1426070500.mask = 0; - result_1426070499 = a_1426070500; - break BeforeRet; - }; - - return result_1426070499; - - } - -function innerHEX60gensym1482_1426070542() { - -function innerHEX60gensym1492_1426070550() { - var result_1426070551 = null; - - BeforeRet: { - var a_1426070552 = null; - a_1426070552 = {}; - a_1426070552.texture = "./img/canonPlatform.png"; - a_1426070552.xOffset = 0; - a_1426070552.yOffset = 0; - result_1426070551 = a_1426070552; - break BeforeRet; - }; - - return result_1426070551; - - } - - var result_1426070543 = null; - - BeforeRet: { - var a_1426070544 = null; - a_1426070544 = {}; - a_1426070544.sprite = innerHEX60gensym1492_1426070550(); - result_1426070543 = a_1426070544; - break BeforeRet; - }; - - return result_1426070543; - - } - - var result_1426070465 = null; - - BeforeRet: { - var a_1426070466 = null; - a_1426070466 = {}; - a_1426070466.zIndex = 1; - a_1426070466.isStatic = true; - a_1426070466.collisionFilter = innerHEX60gensym1471_1426070498(); - a_1426070466.label = "Platform"; - a_1426070466.render = innerHEX60gensym1482_1426070542(); - result_1426070465 = a_1426070466; - break BeforeRet; - }; - - return result_1426070465; - - } - -function innerHEX60gensym1530_1426070665() { - -function innerHEX60gensym1548_1426070738() { - var result_1426070739 = null; - - BeforeRet: { - var a_1426070740 = null; - a_1426070740 = {}; - a_1426070740.category = 2; - a_1426070740.mask = 3; - result_1426070739 = a_1426070740; - break BeforeRet; - }; - - return result_1426070739; - - } - -function innerHEX60gensym1559_1426070782() { - var result_1426070783 = null; - - BeforeRet: { - var a_1426070784 = null; - a_1426070784 = {}; - a_1426070784.fillStyle = ""; - result_1426070783 = a_1426070784; - break BeforeRet; - }; - - return result_1426070783; - - } - - var result_1426070666 = null; - - BeforeRet: { - var a_1426070667 = null; - a_1426070667 = {}; - a_1426070667.zIndex = (-1); - a_1426070667.friction = 1; - a_1426070667.frictionStatic = 1; - a_1426070667.isStatic = true; - a_1426070667.label = "Ground"; - a_1426070667.collisionFilter = innerHEX60gensym1548_1426070738(); - a_1426070667.render = innerHEX60gensym1559_1426070782(); - result_1426070666 = a_1426070667; - break BeforeRet; - }; - - return result_1426070666; - - } - -function innerHEX60gensym1597_1426070871() { - -function innerHEX60gensym1615_1426070957() { - var result_1426070958 = null; - - BeforeRet: { - var a_1426070959 = null; - a_1426070959 = {}; - a_1426070959.wrap = wrapObject_1426063895(state_1426069742); - result_1426070958 = a_1426070959; - break BeforeRet; - }; - - return result_1426070958; - - } - -function innerHEX60gensym1626_1426070988() { - var result_1426070989 = null; - - BeforeRet: { - var a_1426070990 = null; - a_1426070990 = {}; - a_1426070990.category = 2; - a_1426070990.mask = 3; - result_1426070989 = a_1426070990; - break BeforeRet; - }; - - return result_1426070989; - - } - - var result_1426070872 = null; - - BeforeRet: { - var a_1426070873 = null; - a_1426070873 = {}; - a_1426070873.zIndex = 0; - a_1426070873.isStatic = false; - a_1426070873.label = "Block 1"; - a_1426070873.frictionAir = 0.1; - a_1426070873.friction = 1; - a_1426070873.frictionStatic = 1; - a_1426070873.plugin = innerHEX60gensym1615_1426070957(); - a_1426070873.collisionFilter = innerHEX60gensym1626_1426070988(); - a_1426070873.sleepThreshold = 0.5; - result_1426070872 = a_1426070873; - break BeforeRet; - }; - - return result_1426070872; - - } - -function innerHEX60gensym1666_1426071083() { - -function innerHEX60gensym1684_1426071169() { - var result_1426071170 = null; - - BeforeRet: { - var a_1426071171 = null; - a_1426071171 = {}; - a_1426071171.wrap = wrapObject_1426063895(state_1426069742); - result_1426071170 = a_1426071171; - break BeforeRet; - }; - - return result_1426071170; - - } - -function innerHEX60gensym1695_1426071200() { - var result_1426071201 = null; - - BeforeRet: { - var a_1426071202 = null; - a_1426071202 = {}; - a_1426071202.category = 2; - a_1426071202.mask = 3; - result_1426071201 = a_1426071202; - break BeforeRet; - }; - - return result_1426071201; - - } - - var result_1426071084 = null; - - BeforeRet: { - var a_1426071085 = null; - a_1426071085 = {}; - a_1426071085.zIndex = 0; - a_1426071085.isStatic = false; - a_1426071085.label = "Block 2"; - a_1426071085.frictionAir = 0.1; - a_1426071085.friction = 1; - a_1426071085.frictionStatic = 1; - a_1426071085.plugin = innerHEX60gensym1684_1426071169(); - a_1426071085.collisionFilter = innerHEX60gensym1695_1426071200(); - a_1426071085.sleepThreshold = 0.5; - result_1426071084 = a_1426071085; - break BeforeRet; - }; - - return result_1426071084; - - } - -function innerHEX60gensym1735_1426071295() { - -function innerHEX60gensym1753_1426071381() { - var result_1426071382 = null; - - BeforeRet: { - var a_1426071383 = null; - a_1426071383 = {}; - a_1426071383.wrap = wrapObject_1426063895(state_1426069742); - result_1426071382 = a_1426071383; - break BeforeRet; - }; - - return result_1426071382; - - } - -function innerHEX60gensym1764_1426071412() { - var result_1426071413 = null; - - BeforeRet: { - var a_1426071414 = null; - a_1426071414 = {}; - a_1426071414.category = 2; - a_1426071414.mask = 3; - result_1426071413 = a_1426071414; - break BeforeRet; - }; - - return result_1426071413; - - } - - var result_1426071296 = null; - - BeforeRet: { - var a_1426071297 = null; - a_1426071297 = {}; - a_1426071297.zIndex = 0; - a_1426071297.isStatic = false; - a_1426071297.label = "Block 3"; - a_1426071297.frictionAir = 0.1; - a_1426071297.friction = 1; - a_1426071297.frictionStatic = 1; - a_1426071297.plugin = innerHEX60gensym1753_1426071381(); - a_1426071297.collisionFilter = innerHEX60gensym1764_1426071412(); - a_1426071297.sleepThreshold = 0.5; - result_1426071296 = a_1426071297; - break BeforeRet; - }; - - return result_1426071296; - - } - -function innerHEX60gensym1791_1426071516() { - -function innerHEX60gensym1801_1426071537() { - var result_1426071538 = null; - - BeforeRet: { - var a_1426071539 = null; - a_1426071539 = {}; - a_1426071539.category = 2; - a_1426071539.mask = 3; - result_1426071538 = a_1426071539; - break BeforeRet; - }; - - return result_1426071538; - - } - -function innerHEX60gensym1814_1426071581() { - -function innerHEX60gensym1820_1426071589() { - var result_1426071590 = null; - - BeforeRet: { - var a_1426071591 = null; - a_1426071591 = {}; - a_1426071591.visible = false; - result_1426071590 = a_1426071591; - break BeforeRet; - }; - - return result_1426071590; - - } - - var result_1426071582 = null; - - BeforeRet: { - var a_1426071583 = null; - a_1426071583 = {}; - a_1426071583.render = innerHEX60gensym1820_1426071589(); - a_1426071583.stiffness = 1; - result_1426071582 = a_1426071583; - break BeforeRet; - }; - - return result_1426071582; - - } - - var result_1426071517 = null; - - BeforeRet: { - var a_1426071518 = null; - a_1426071518 = {}; - a_1426071518.mouse = state_1426069742.mouse; - a_1426071518.collisionFilter = innerHEX60gensym1801_1426071537(); - a_1426071518.constraint = innerHEX60gensym1814_1426071581(); - result_1426071517 = a_1426071518; - break BeforeRet; - }; - - return result_1426071517; - - } - -function innerHEX60gensym1845_1426071678() { - var result_1426071679 = null; - - BeforeRet: { - var a_1426071680 = null; - a_1426071680 = {}; - a_1426071680.isStatic = true; - a_1426071680.label = "Roof"; - result_1426071679 = a_1426071680; - break BeforeRet; - }; - - return result_1426071679; - - } - var Temporary4; - -function HEX3Aanonymous_1426071885() { - loadedImgCount_1426071784 = addInt(loadedImgCount_1426071784, 1); - if ((loadedImgCount_1426071784 == (images_1426071792).length)) { - renderMathInElement((document.body)); - onImagesLoaded_1426069316(state_1426069742); - } - - - - } - - Matter.use(("matter-wrap")); - Matter.Sleeping._motionSleepThreshold = 0.35; - Matter.Sleeping._motionWakeThreshold = 0.5; - var gravity_1426069779 = jsVec_1677721758(state_1426069742.trajectories[chckIndx(state_1426069742.currentTrajectory, 0, (state_1426069742.trajectories).length - 1)].state.gravity); - gravity_1426069779.scale = 1; - state_1426069742.canvas = document.getElementById("canvas"); - state_1426069742.canvasSize.Field0 = state_1426069742.canvas.clientWidth; - state_1426069742.canvasSize.Field1 = state_1426069742.canvas.clientHeight; - state_1426069742.canvas.focus(); - state_1426069742.engine = Matter.Engine.create(innerHEX60gensym1234_1426069792()); - state_1426069742.render = Matter.Render.create(innerHEX60gensym1256_1426069854()); - state_1426069742.runner = Matter.Runner.create((innerHEX60gensym1299_1426069997())); - Matter.Runner.run((state_1426069742.runner), (state_1426069742.engine)); - state_1426069742.canon.body = Matter.Bodies.rectangle((0), (0), (1), (1), (innerHEX60gensym1332_1426070072())); - state_1426069742.canon.base.body = Matter.Bodies.rectangle((0), (0), (1), (1), (innerHEX60gensym1396_1426070263())); - state_1426069742.canon.base.body.xratio = 0.2; - state_1426069742.canon.platform.body = Matter.Bodies.rectangle((0), (0), (1), (1), (innerHEX60gensym1461_1426070464())); - state_1426069742.canon.platform.body.xratio = 0.2; - state_1426069742.ground = Matter.Bodies.rectangle((0), (0), ((state_1426069742.canvasSize.Field0 * 1000.0)), (160.0), (innerHEX60gensym1530_1426070665())); - state_1426069742.ground.xratio = 0.5; - state_1426069742.ground.yratio = 1; - state_1426069742.blocks = nimCopy(null, [Matter.Bodies.rectangle((70), ((state_1426069742.canvasSize.Field1 * 0.8)), (60), (35), (innerHEX60gensym1597_1426070871())), Matter.Bodies.rectangle((70), ((state_1426069742.canvasSize.Field1 * 0.7)), (40), (55), (innerHEX60gensym1666_1426071083())), Matter.Bodies.rectangle((70), ((state_1426069742.canvasSize.Field1 * 0.6)), (20), (30), (innerHEX60gensym1735_1426071295()))], NTI1426068752); - state_1426069742.mouse = Matter.Mouse.create((state_1426069742.canvas)); - state_1426069742.render.mouse = state_1426069742.mouse; - state_1426069742.mouseCons = Matter.MouseConstraint.create((state_1426069742.engine), (innerHEX60gensym1791_1426071516())); - var roof_1426071721 = Matter.Bodies.rectangle((0), ((-100)), (1000), (20), (innerHEX60gensym1845_1426071678())); - roof_1426071721.xratio = 0.5; - loadEvents_1426068643(state_1426069742); - Matter.Composite.add((state_1426069742.engine.world), (([state_1426069742.canon.body, state_1426069742.mouseCons, state_1426069742.canon.base.body, state_1426069742.canon.platform.body, roof_1426071721, state_1426069742.ground]))); - Matter.Composite.add((state_1426069742.engine.world), ((state_1426069742.blocks))); - loadSettings_1426069631(state_1426069742); - var loadedImgCount_1426071784 = 0; - var images_1426071792 = newSeq_33556919(0); - Label1: { - var b_1426071816 = null; - var colontmp__570425678 = []; - colontmp__570425678 = (Matter.Composite.allBodies((state_1426069742.engine.world))); - var i_570425679 = 0; - var L_570425680 = (colontmp__570425678).length; - Label2: { - Label3: while (true) { - if (!(i_570425679 < L_570425680)) break Label3; - b_1426071816 = colontmp__570425678[chckIndx(i_570425679, 0, (colontmp__570425678).length - 1)]; - if (!!((b_1426071816.render.sprite.texture === undefined))) Temporary4 = false; else { Temporary4 = !(((b_1426071816.render.sprite.texture in state_1426069742.render.textures))); } if (Temporary4) { - images_1426071792.push((b_1426071816.render.sprite.texture));; - } - - i_570425679 = addInt(i_570425679, 1); - if (!(((colontmp__570425678).length == L_570425680))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - Label5: { - var src_1426071883 = null; - var i_570425684 = 0; - var L_570425685 = (images_1426071792).length; - Label6: { - Label7: while (true) { - if (!(i_570425684 < L_570425685)) break Label7; - src_1426071883 = images_1426071792[chckIndx(i_570425684, 0, (images_1426071792).length - 1)]; - var img_1426071884 = new Image(); - img_1426071884.onload = HEX3Aanonymous_1426071885; - img_1426071884.src = src_1426071883; - state_1426069742.render.textures[src_1426071883] = img_1426071884; - i_570425684 = addInt(i_570425684, 1); - if (!(((images_1426071792).length == L_570425685))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - - -} - -function reload_1426071973(state_1426071974) { - Matter.Composite.clear((state_1426071974.engine.world)); - Matter.Engine.clear((state_1426071974.engine)); - Matter.Render.stop((state_1426071974.render)); - Matter.Runner.stop((state_1426071974.runner)); - unloadEvents_1426068541(state_1426071974); - state_1426071974 = nimCopy(state_1426071974, initParabolaState_1426066231(), NTI1426063369); - document.getElementById("point-input-f").checked = false; - load_1426069741(state_1426071974); - if (!(kxi__.surpressRedraws)) { - redraw_721421809(kxi__); - } - - - -} - -function unpause_1426064096(state_1426064097) { - state_1426064097.runner.enabled = true; - state_1426064097.paused = false; - - -} - -function togglePause_1426064158(state_1426064159) { - if (state_1426064159.paused) { - unpause_1426064096(state_1426064159); - } - else { - pause_1426064084(state_1426064159); - } - - - -} - -function addTrajectory_1426073339(state_1426073340) { - if ((state_1426073340.startedRendering && ((state_1426073340.trajectories).length < 16))) { - var colIndex_1426073353 = (-1); - Label1: { - var e_1426073381 = 0; - var c_1426073382 = []; - var i_570425899 = 0; - Label2: { - Label3: while (true) { - if (!true) break Label3; - e_1426073381 = i_570425899; - c_1426073382 = trajectoryStrokeStyles_1426063558[chckIndx(i_570425899, 0, (trajectoryStrokeStyles_1426063558).length - 1)]; - var available_1426073383 = true; - Label4: { - var t_1426073405 = ({state: ({angleDeg: 0.0, angleRad: 0.0, speed: 0.0, height: 0.0, vel: {Field0: 0.0, Field1: 0.0}, gravity: {Field0: 0.0, Field1: 0.0}}), points: [], highestPoint: 0, closestPoint: 0, extraPoint: 0, pinnedPoint: 0, color: 0}); - var i_570425895 = 0; - var L_570425896 = (state_1426073340.trajectories).length; - Label5: { - Label6: while (true) { - if (!(i_570425895 < L_570425896)) break Label6; - t_1426073405 = state_1426073340.trajectories[chckIndx(i_570425895, 0, (state_1426073340.trajectories).length - 1)]; - if ((t_1426073405.color == e_1426073381)) { - available_1426073383 = false; - break Label4; - } - - i_570425895 = addInt(i_570425895, 1); - if (!(((state_1426073340.trajectories).length == L_570425896))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(246, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - if (available_1426073383) { - colIndex_1426073353 = e_1426073381; - } - - if ((15 <= i_570425899)) { - break Label2; - } - - i_570425899 = addInt(i_570425899, 1); - } - }; - }; - var Temporary7 = nimCopy(null, state_1426073340.trajectories[chckIndx(state_1426073340.currentTrajectory, 0, (state_1426073340.trajectories).length - 1)], NTI1426063366); - state_1426073340.trajectories.push(Temporary7);; - state_1426073340.currentTrajectory = (state_1426073340.trajectories).length - 1; - state_1426073340.trajectories[chckIndx(state_1426073340.currentTrajectory, 0, (state_1426073340.trajectories).length - 1)].color = colIndex_1426073353; - if ((rotationLimit_1426064202(state_1426073340).b <= (state_1426073340.trajectories[chckIndx(state_1426073340.currentTrajectory, 0, (state_1426073340.trajectories).length - 1)].state.angleDeg + 3.0))) { - rotateCanon_1426064221(state_1426073340, degToRad_1694498964((normalizedAngleDeg_1426064191(state_1426073340.canon, 0.0) - 60.0)), true); - } - else { - rotateCanonBack_1426064283(state_1426073340, degToRad_1694498964(6.0), true); - } - - calcTrajectory_1426065138(state_1426073340); - if (!(kxi__.surpressRedraws)) { - redraw_721421809(kxi__); - } - - } - - - -} - -function addEventListeners_1426074202(state_1426074203) { - -function HEX3Aanonymous_1426074204(event_1426074205) { - onResize_1426065422(state_1426074203, false); - - - } - -function HEX3Aanonymous_1426074206(event_1426074207) { - var Temporary1; - var Temporary2; - - BeforeRet: { - if (!(state_1426074203.startedRendering)) Temporary1 = true; else { if (!!((document.activeElement == null))) Temporary2 = false; else { Temporary2 = !((document.activeElement.id == "canvas")); } Temporary1 = Temporary2; } if (Temporary1) { - break BeforeRet; - } - - var event_1426074211 = event_1426074207; - switch (toJSStr(cstrToNimstr(event_1426074211.key))) { - case "ArrowRight": - rotateCanon_1426064221(state_1426074203, degToRad_1694498964(3.0), true); - calcTrajectory_1426065138(state_1426074203); - break; - case "ArrowLeft": - rotateCanonBack_1426064283(state_1426074203, degToRad_1694498964(3.0), true); - calcTrajectory_1426065138(state_1426074203); - break; - case "ArrowUp": - setSpeed_1426063660(state_1426074203.trajectories[chckIndx(state_1426074203.currentTrajectory, 0, (state_1426074203.trajectories).length - 1)].state, (state_1426074203.trajectories[chckIndx(state_1426074203.currentTrajectory, 0, (state_1426074203.trajectories).length - 1)].state.speed + 1.0)); - calcTrajectory_1426065138(state_1426074203); - break; - case "ArrowDown": - setSpeed_1426063660(state_1426074203.trajectories[chckIndx(state_1426074203.currentTrajectory, 0, (state_1426074203.trajectories).length - 1)].state, (state_1426074203.trajectories[chckIndx(state_1426074203.currentTrajectory, 0, (state_1426074203.trajectories).length - 1)].state.speed - 1.0)); - calcTrajectory_1426065138(state_1426074203); - break; - case " ": - fireBullet_1426065718(state_1426074203); - break; - case "Backspace": - reload_1426071973(state_1426074203); - break; - case "p": - togglePause_1426064158(state_1426074203); - if (!(kxi__.surpressRedraws)) { - redraw_721421809(kxi__); - } - - break; - case "Enter": - addTrajectory_1426073339(state_1426074203); - break; - case "d": - break; - default: - break; - } - }; - - - } - - window.addEventListener("resize", HEX3Aanonymous_1426074204, false); - document.addEventListener("keyup", HEX3Aanonymous_1426074206, false); - - -} - -function newState_570425354() { - var result_570425355 = null; - - result_570425355 = {parabola: initParabolaState_1426066231(), matterLoaded: false}; - addEventListeners_1426074202(result_570425355.parabola); - - return result_570425355; - -} - -function newSeq_721421866(len_721421868) { - var result_721421869 = []; - - result_721421869 = new Array(len_721421868); for (var i = 0 ; i < len_721421868 ; ++i) { result_721421869[i] = ({k: 0, parent: null, current: null, newNode: null, oldNode: null}); } - return result_721421869; - -} - -function newSeq_721421894(len_721421896) { - var result_721421897 = []; - - result_721421897 = new Array(len_721421896); for (var i = 0 ; i < len_721421896 ; ++i) { result_721421897[i] = ({parent: null, newChild: null, pos: 0}); } - return result_721421897; - -} - -function init_721421814(ev_721421815) { - -function HEX3Aanonymous_721421816() { - dodraw_721421712(kxi__); - - - } - - kxi__.renderId = window.requestAnimationFrame(HEX3Aanonymous_721421816); - - -} - -function setRenderer_721421848(renderer_721421851, root_721421852, clientPostRenderCallback_721421855) { - -function HEX3Aanonymous_721421928() { - redraw_721421809(kxi__); - - - } - - var result_721421856 = null; - - if ((document.getElementById(root_721421852) == null)) { - var msg_721421860 = (("Could not find a
with id=" + root_721421852) + ". Karax needs it as its rendering target."); - raiseException({message: cstrToNimstr(msg_721421860), parent: null, m_type: NTI33555177, name: null, trace: [], up: null}, "Exception"); - } - - result_721421856 = {rootId: root_721421852, renderer: renderer_721421851, postRenderCallback: clientPostRenderCallback_721421855, patches: newSeq_721421866(60), patchesV: newSeq_721421894(30), components: [], surpressRedraws: false, byId: {}, orphans: {}, currentTree: null, toFocus: null, toFocusV: null, renderId: 0, rendering: false, patchLen: 0, patchLenV: 0, runCount: 0}; - kxi__ = result_721421856; - window.addEventListener("load", init_721421814, false); - window.onhashchange = HEX3Aanonymous_721421928; - - return result_721421856; - -} - -function setRenderer_721422053(renderer_721422055, root_721422056, clientPostRenderCallback_721422058) { - -function wrapRenderer_721422060(data_721422061) { - var result_721422062 = null; - - result_721422062 = renderer_721422055(); - - return result_721422062; - - } - -function wrapPostRender_721422063(data_721422064) { - if (!((clientPostRenderCallback_721422058 == null))) { - clientPostRenderCallback_721422058(); - } - - - - } - - var result_721422059 = null; - - result_721422059 = setRenderer_721421848(wrapRenderer_721422060, root_721422056, wrapPostRender_721422063); - - return result_721422059; - -} - -function newVNode_754975613(kind_754975614) { - var result_754975615 = null; - - result_754975615 = {kind: kind_754975614, index: (-1), m_type: NTI754974816, id: null, class: null, text: null, kids: [], attrs: [], events: [], style: null, styleVersion: 0, dom: null}; - - return result_754975615; - -} - -function add_754975552(parent_754975553, kid_754975554) { - parent_754975553.kids.push(kid_754975554);; - - -} - -function tree_754975616(kind_754975617, kids_754975618) { - var result_754975619 = null; - - result_754975619 = newVNode_754975613(kind_754975617); - Label1: { - var k_754975632 = null; - var i_570425903 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425903 < (kids_754975618).length)) break Label3; - k_754975632 = kids_754975618[chckIndx(i_570425903, 0, (kids_754975618).length - 1)]; - add_754975552(result_754975619, k_754975632); - i_570425903 = addInt(i_570425903, 1); - } - }; - }; - - return result_754975619; - -} - -function setAttr_754975467(n_754975468, key_754975469, val_754975470) { - BeforeRet: { - if (((n_754975468.attrs).length == 0)) { - n_754975468.attrs = nimCopy(null, [key_754975469, val_754975470], NTI754975002); - } - else { - Label1: { - var i_754975487 = 0; - var colontmp__570425906 = 0; - colontmp__570425906 = subInt((n_754975468.attrs).length, 2); - var res_570425907 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425907 <= colontmp__570425906)) break Label3; - i_754975487 = res_570425907; - if ((n_754975468.attrs[chckIndx(i_754975487, 0, (n_754975468.attrs).length - 1)] == key_754975469)) { - n_754975468.attrs[chckIndx(addInt(i_754975487, 1), 0, (n_754975468.attrs).length - 1)] = val_754975470; - break BeforeRet; - } - - res_570425907 = addInt(res_570425907, 2); - } - }; - }; - n_754975468.attrs.push(key_754975469);; - n_754975468.attrs.push(val_754975470);; - } - - }; - - -} - -function text_754975684(s_754975685) { - var result_754975686 = null; - - result_754975686 = {kind: 0, text: toJSStr(s_754975685), index: (-1), m_type: NTI754974816, id: null, class: null, kids: [], attrs: [], events: [], style: null, styleVersion: 0, dom: null}; - - return result_754975686; - -} - -function addEventListener_754975735(n_754975736, event_754975737, handler_754975738) { - n_754975736.events.push({Field0: event_754975737, Field1: handler_754975738, Field2: null});; - - -} - -function addEventHandler_721422102(n_721422103, k_721422104, action_721422105, kxi_721422106) { - -function wrapper_721422107(ev_721422108, n_721422109) { - action_721422105(ev_721422108, n_721422109); - if (!(kxi_721422106.surpressRedraws)) { - redraw_721421809(kxi_721422106); - } - - - - } - - addEventListener_754975735(n_721422103, k_721422104, wrapper_721422107); - - -} - -function renderLeftDiv_1426072030(state_1426072031) { - -function HEX3Aanonymous_1426072070(e_1426072071, n_1426072072) { - n_1426072072.dom.focus(); - - - } - -function HEX3Aanonymous_1426072073(ev_1426072074, __1426072075) { - ev_1426072074.preventDefault(); - - - } - -function HEX3Aanonymous_1426072076(ev_1426072077, __1426072078) { - ev_1426072077.preventDefault(); - - - } - - var result_1426072032 = null; - - var tmp_1426072059 = tree_754975616(44, []); - tmp_1426072059.id = "sim"; - tmp_1426072059.class = "column col-8"; - tmp_1426072059.style = toCss_822084081([104,101,105,103,104,116,58,32,49,48,48,37]); - var tmp_1426072061 = tree_754975616(85, []); - tmp_1426072061.id = "canvas"; - tmp_1426072061.style = toCss_822084081(makeNimstrLit("height: 100%; width: 100%; min-width: 500px;min-height: 300px; outline: none")); - setAttr_754975467(tmp_1426072061, "tabindex", "0"); - add_754975552(tmp_1426072061, text_754975684([77,97,116,116,101,114,45,106,115,32,115,105,109,117,108,97,116,105,111,110])); - addEventHandler_721422102(tmp_1426072061, 0, HEX3Aanonymous_1426072070, kxi__); - addEventHandler_721422102(tmp_1426072061, 1, HEX3Aanonymous_1426072073, kxi__); - addEventHandler_721422102(tmp_1426072061, 22, HEX3Aanonymous_1426072076, kxi__); - add_754975552(tmp_1426072059, tmp_1426072061); - var tmp_1426072066 = tree_754975616(44, []); - tmp_1426072066.class = "col-8"; - tmp_1426072066.style = toCss_822084081(makeNimstrLit("background: radial-gradient(ellipse at bottom, rgb(23, 34, 68) 0%, rgb(19, 9, 53) 100%);position: absolute; top: 0; left: 0; height: 100%; z-index: -10;")); - var tmp_1426072067 = tree_754975616(44, []); - tmp_1426072067.id = "stars"; - tmp_1426072067.class = "stars"; - add_754975552(tmp_1426072066, tmp_1426072067); - var tmp_1426072068 = tree_754975616(44, []); - tmp_1426072068.id = "stars2"; - tmp_1426072068.class = "stars"; - add_754975552(tmp_1426072066, tmp_1426072068); - var tmp_1426072069 = tree_754975616(44, []); - tmp_1426072069.id = "stars3"; - tmp_1426072069.class = "stars"; - add_754975552(tmp_1426072066, tmp_1426072069); - add_754975552(tmp_1426072059, tmp_1426072066); - result_1426072032 = tmp_1426072059; - - return result_1426072032; - -} - -function invalidFormatString_872417595(formatstr_872417596) { - raiseException({message: ([105,110,118,97,108,105,100,32,102,111,114,109,97,116,32,115,116,114,105,110,103,58,32] || []).concat(formatstr_872417596 || []), parent: null, m_type: NTI134217746, name: null, trace: [], up: null}, "ValueError"); - - -} - -function toLowerAscii_1207959553(c_1207959554) { - var result_1207959555 = 0; - - if ((ConstSet24[c_1207959554] != undefined)) { - result_1207959555 = chckRange(addInt(c_1207959554, 32), 0, 255); - } - else { - result_1207959555 = c_1207959554; - } - - - return result_1207959555; - -} - -function nsuCmpIgnoreStyle(a_872415444, b_872415445) { - var Temporary7; - var Temporary8; - - var result_872415446 = 0; - - BeforeRet: { - var aLenHEX60gensym24_872415455 = (a_872415444).length; - var bLenHEX60gensym24_872415456 = (b_872415445).length; - var iHEX60gensym24_872415457 = 0; - var jHEX60gensym24_872415458 = 0; - Label1: { - Label2: while (true) { - if (!true) break Label2; - Label3: { - Label4: while (true) { - if (!((iHEX60gensym24_872415457 < aLenHEX60gensym24_872415455) && (a_872415444[iHEX60gensym24_872415457] == 95))) break Label4; - iHEX60gensym24_872415457 += 1; - } - }; - Label5: { - Label6: while (true) { - if (!((jHEX60gensym24_872415458 < bLenHEX60gensym24_872415456) && (b_872415445[jHEX60gensym24_872415458] == 95))) break Label6; - jHEX60gensym24_872415458 += 1; - } - }; - if ((iHEX60gensym24_872415457 < aLenHEX60gensym24_872415455)) { - Temporary7 = toLowerAscii_1207959553(a_872415444[iHEX60gensym24_872415457]); - } - else { - Temporary7 = 0; - } - - var aaHEX60gensym24_872415469 = Temporary7; - if ((jHEX60gensym24_872415458 < bLenHEX60gensym24_872415456)) { - Temporary8 = toLowerAscii_1207959553(b_872415445[jHEX60gensym24_872415458]); - } - else { - Temporary8 = 0; - } - - var bbHEX60gensym24_872415470 = Temporary8; - result_872415446 = (aaHEX60gensym24_872415469 - bbHEX60gensym24_872415470); - if (!((result_872415446 == 0))) { - break BeforeRet; - } - - if ((aLenHEX60gensym24_872415455 <= iHEX60gensym24_872415457)) { - if ((bLenHEX60gensym24_872415456 <= jHEX60gensym24_872415458)) { - result_872415446 = 0; - break BeforeRet; - } - - result_872415446 = (-1); - break BeforeRet; - } - else { - if ((bLenHEX60gensym24_872415456 <= jHEX60gensym24_872415458)) { - result_872415446 = 1; - break BeforeRet; - } - } - iHEX60gensym24_872415457 += 1; - jHEX60gensym24_872415458 += 1; - } - }; - }; - - return result_872415446; - -} - -function findNormalized_872417582(x_872417583, inArray_872417584) { - var result_872417585 = 0; - - BeforeRet: { - var i_872417586 = 0; - Label1: { - Label2: while (true) { - if (!(i_872417586 < (inArray_872417584).length - 1)) break Label2; - if ((nsuCmpIgnoreStyle(x_872417583, inArray_872417584[chckIndx(i_872417586, 0, (inArray_872417584).length - 1)]) == 0)) { - result_872417585 = i_872417586; - break BeforeRet; - } - - i_872417586 = addInt(i_872417586, 2); - } - }; - result_872417585 = (-1); - break BeforeRet; - }; - - return result_872417585; - -} - -function nsuAddf(s_872417599, s_872417599_Idx, formatstr_872417600, a_872417601) { - var Temporary5; - var Temporary6; - var Temporary9; - var Temporary12; - - var i_872417603 = 0; - var num_872417604 = 0; - Label1: { - Label2: while (true) { - if (!(i_872417603 < (formatstr_872417600).length)) break Label2; - if (((formatstr_872417600[chckIndx(i_872417603, 0, (formatstr_872417600).length - 1)] == 36) && (addInt(i_872417603, 1) < (formatstr_872417600).length))) { - switch (formatstr_872417600[chckIndx(addInt(i_872417603, 1), 0, (formatstr_872417600).length - 1)]) { - case 35: - if (((a_872417601).length - 1 < num_872417604)) { - invalidFormatString_872417595(formatstr_872417600); - } - - s_872417599[s_872417599_Idx].push.apply(s_872417599[s_872417599_Idx], a_872417601[chckIndx(num_872417604, 0, (a_872417601).length - 1)]);; - i_872417603 = addInt(i_872417603, 2); - num_872417604 = addInt(num_872417604, 1); - break; - case 36: - addChar(s_872417599[s_872417599_Idx], 36);; - i_872417603 = addInt(i_872417603, 2); - break; - case 49: - case 50: - case 51: - case 52: - case 53: - case 54: - case 55: - case 56: - case 57: - case 45: - var j_872417623 = 0; - i_872417603 = addInt(i_872417603, 1); - var negative_872417629 = (formatstr_872417600[chckIndx(i_872417603, 0, (formatstr_872417600).length - 1)] == 45); - if (negative_872417629) { - i_872417603 = addInt(i_872417603, 1); - } - - Label3: { - Label4: while (true) { - if (!(i_872417603 < (formatstr_872417600).length)) Temporary5 = false; else { Temporary5 = (ConstSet21[formatstr_872417600[chckIndx(i_872417603, 0, (formatstr_872417600).length - 1)]] != undefined); } if (!Temporary5) break Label4; - j_872417623 = subInt(addInt(mulInt(j_872417623, 10), formatstr_872417600[chckIndx(i_872417603, 0, (formatstr_872417600).length - 1)]), 48); - i_872417603 = addInt(i_872417603, 1); - } - }; - if (!(negative_872417629)) { - Temporary6 = subInt(j_872417623, 1); - } - else { - Temporary6 = subInt((a_872417601).length, j_872417623); - } - - var idx_872417654 = Temporary6; - if (((idx_872417654 < 0) || ((a_872417601).length - 1 < idx_872417654))) { - invalidFormatString_872417595(formatstr_872417600); - } - - s_872417599[s_872417599_Idx].push.apply(s_872417599[s_872417599_Idx], a_872417601[chckIndx(idx_872417654, 0, (a_872417601).length - 1)]);; - break; - case 123: - var j_872417658 = addInt(i_872417603, 2); - var k_872417659 = 0; - var negative_872417660 = (formatstr_872417600[chckIndx(j_872417658, 0, (formatstr_872417600).length - 1)] == 45); - if (negative_872417660) { - j_872417658 = addInt(j_872417658, 1); - } - - var isNumber_872417666 = 0; - Label7: { - Label8: while (true) { - if (!((j_872417658 < (formatstr_872417600).length) && !((ConstSet22[formatstr_872417600[chckIndx(j_872417658, 0, (formatstr_872417600).length - 1)]] != undefined)))) break Label8; - if ((ConstSet23[formatstr_872417600[chckIndx(j_872417658, 0, (formatstr_872417600).length - 1)]] != undefined)) { - k_872417659 = subInt(addInt(mulInt(k_872417659, 10), formatstr_872417600[chckIndx(j_872417658, 0, (formatstr_872417600).length - 1)]), 48); - if ((isNumber_872417666 == 0)) { - isNumber_872417666 = 1; - } - - } - else { - isNumber_872417666 = (-1); - } - - j_872417658 = addInt(j_872417658, 1); - } - }; - if ((isNumber_872417666 == 1)) { - if (!(negative_872417660)) { - Temporary9 = subInt(k_872417659, 1); - } - else { - Temporary9 = subInt((a_872417601).length, k_872417659); - } - - var idx_872417689 = Temporary9; - if (((idx_872417689 < 0) || ((a_872417601).length - 1 < idx_872417689))) { - invalidFormatString_872417595(formatstr_872417600); - } - - s_872417599[s_872417599_Idx].push.apply(s_872417599[s_872417599_Idx], a_872417601[chckIndx(idx_872417689, 0, (a_872417601).length - 1)]);; - } - else { - var x_872417693 = findNormalized_872417582(substr_33558079(formatstr_872417600, addInt(i_872417603, 2), subInt(j_872417658, 1)), a_872417601); - if (((0 <= x_872417693) && (x_872417693 < (a_872417601).length - 1))) { - s_872417599[s_872417599_Idx].push.apply(s_872417599[s_872417599_Idx], a_872417601[chckIndx(addInt(x_872417693, 1), 0, (a_872417601).length - 1)]);; - } - else { - invalidFormatString_872417595(formatstr_872417600); - } - - } - - i_872417603 = addInt(j_872417658, 1); - break; - case 97: - case 98: - case 99: - case 100: - case 101: - case 102: - case 103: - case 104: - case 105: - case 106: - case 107: - case 108: - case 109: - case 110: - case 111: - case 112: - case 113: - case 114: - case 115: - case 116: - case 117: - case 118: - case 119: - case 120: - case 121: - case 122: - case 65: - case 66: - case 67: - case 68: - case 69: - case 70: - case 71: - case 72: - case 73: - case 74: - case 75: - case 76: - case 77: - case 78: - case 79: - case 80: - case 81: - case 82: - case 83: - case 84: - case 85: - case 86: - case 87: - case 88: - case 89: - case 90: - case 128: - case 129: - case 130: - case 131: - case 132: - case 133: - case 134: - case 135: - case 136: - case 137: - case 138: - case 139: - case 140: - case 141: - case 142: - case 143: - case 144: - case 145: - case 146: - case 147: - case 148: - case 149: - case 150: - case 151: - case 152: - case 153: - case 154: - case 155: - case 156: - case 157: - case 158: - case 159: - case 160: - case 161: - case 162: - case 163: - case 164: - case 165: - case 166: - case 167: - case 168: - case 169: - case 170: - case 171: - case 172: - case 173: - case 174: - case 175: - case 176: - case 177: - case 178: - case 179: - case 180: - case 181: - case 182: - case 183: - case 184: - case 185: - case 186: - case 187: - case 188: - case 189: - case 190: - case 191: - case 192: - case 193: - case 194: - case 195: - case 196: - case 197: - case 198: - case 199: - case 200: - case 201: - case 202: - case 203: - case 204: - case 205: - case 206: - case 207: - case 208: - case 209: - case 210: - case 211: - case 212: - case 213: - case 214: - case 215: - case 216: - case 217: - case 218: - case 219: - case 220: - case 221: - case 222: - case 223: - case 224: - case 225: - case 226: - case 227: - case 228: - case 229: - case 230: - case 231: - case 232: - case 233: - case 234: - case 235: - case 236: - case 237: - case 238: - case 239: - case 240: - case 241: - case 242: - case 243: - case 244: - case 245: - case 246: - case 247: - case 248: - case 249: - case 250: - case 251: - case 252: - case 253: - case 254: - case 255: - case 95: - var j_872417697 = addInt(i_872417603, 1); - Label10: { - Label11: while (true) { - if (!(j_872417697 < (formatstr_872417600).length)) Temporary12 = false; else { Temporary12 = (ConstSet25[formatstr_872417600[chckIndx(j_872417697, 0, (formatstr_872417600).length - 1)]] != undefined); } if (!Temporary12) break Label11; - j_872417697 = addInt(j_872417697, 1); - } - }; - var x_872417707 = findNormalized_872417582(substr_33558079(formatstr_872417600, addInt(i_872417603, 1), subInt(j_872417697, 1)), a_872417601); - if (((0 <= x_872417707) && (x_872417707 < (a_872417601).length - 1))) { - s_872417599[s_872417599_Idx].push.apply(s_872417599[s_872417599_Idx], a_872417601[chckIndx(addInt(x_872417707, 1), 0, (a_872417601).length - 1)]);; - } - else { - invalidFormatString_872417595(formatstr_872417600); - } - - i_872417603 = j_872417697; - break; - default: - invalidFormatString_872417595(formatstr_872417600); - break; - } - } - else { - addChar(s_872417599[s_872417599_Idx], formatstr_872417600[chckIndx(i_872417603, 0, (formatstr_872417600).length - 1)]);; - i_872417603 = addInt(i_872417603, 1); - } - - } - }; - - -} - -function nsuFormatVarargs(formatstr_872417747, a_872417748) { - var result_872417749 = [[]]; - - result_872417749[0] = nimCopy(null, mnewString(0), NTI33554449); - nsuAddf(result_872417749, 0, formatstr_872417747, a_872417748); - - return result_872417749[0]; - -} - -function trajTooltip_English_1728053681(arguments_1728053682) { - var result_1728053683 = []; - - BeforeRet: { - result_1728053683 = nimCopy(null, nsuFormatVarargs([68,111,117,98,108,101,45,99,108,105,99,107,32,97,32,116,114,97,106,101,99,116,111,114,121,32,116,111,32,100,101,108,101,116,101,32,105,116], arguments_1728053682), NTI33554449); - break BeforeRet; - }; - - return result_1728053683; - -} - -function trajTooltip_Spanish_1728053684(arguments_1728053685) { - var result_1728053686 = []; - - BeforeRet: { - result_1728053686 = nimCopy(null, nsuFormatVarargs([68,97,32,100,111,98,108,101,32,99,108,105,99,32,115,111,98,114,101,32,117,110,97,32,116,114,97,106,101,99,116,111,114,105,97,10,112,97,114,97,32,101,108,105,109,105,110,97,114,108,97], arguments_1728053685), NTI33554449); - break BeforeRet; - }; - - return result_1728053686; - -} - -function trajTooltip_1728053687(locale_1728053688, arguments_1728053689) { - var result_1728053690 = []; - - BeforeRet: { - switch (locale_1728053688) { - case 0: - result_1728053690 = nimCopy(null, trajTooltip_English_1728053681(arguments_1728053689), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053690 = nimCopy(null, trajTooltip_Spanish_1728053684(arguments_1728053689), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053690; - -} - -function trajecs_English_1728053671(arguments_1728053672) { - var result_1728053673 = []; - - BeforeRet: { - result_1728053673 = nimCopy(null, nsuFormatVarargs([84,114,97,106,101,99,116,111,114,105,101,115], arguments_1728053672), NTI33554449); - break BeforeRet; - }; - - return result_1728053673; - -} - -function trajecs_Spanish_1728053674(arguments_1728053675) { - var result_1728053676 = []; - - BeforeRet: { - result_1728053676 = nimCopy(null, nsuFormatVarargs([84,114,97,121,101,99,116,111,114,105,97,115], arguments_1728053675), NTI33554449); - break BeforeRet; - }; - - return result_1728053676; - -} - -function trajecs_1728053677(locale_1728053678, arguments_1728053679) { - var result_1728053680 = []; - - BeforeRet: { - switch (locale_1728053678) { - case 0: - result_1728053680 = nimCopy(null, trajecs_English_1728053671(arguments_1728053679), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053680 = nimCopy(null, trajecs_Spanish_1728053674(arguments_1728053679), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053680; - -} - -function addEventHandler_721422110(n_721422111, k_721422112, action_721422114, kxi_721422115) { - -function wrapper_721422116(ev_721422117, n_721422118) { - action_721422114(); - if (!(kxi_721422115.surpressRedraws)) { - redraw_721421809(kxi_721422115); - } - - - - } - - addEventListener_754975735(n_721422111, k_721422112, wrapper_721422116); - - -} - -function delete_1426074046(x_1426074048, x_1426074048_Idx, i_1426074049) { - x_1426074048[x_1426074048_Idx].splice(i_1426074049, 1); - - -} - -function setAttr_754975512(n_754975513, key_754975514, val_754975515) { - var Temporary1; - - if (val_754975515) { - Temporary1 = ""; - } - else { - Temporary1 = null; - } - - setAttr_754975467(n_754975513, key_754975514, Temporary1); - - -} - -function help_English_1728053801(arguments_1728053802) { - var result_1728053803 = []; - - BeforeRet: { - result_1728053803 = nimCopy(null, nsuFormatVarargs([72,101,108,112], arguments_1728053802), NTI33554449); - break BeforeRet; - }; - - return result_1728053803; - -} - -function help_Spanish_1728053804(arguments_1728053805) { - var result_1728053806 = []; - - BeforeRet: { - result_1728053806 = nimCopy(null, nsuFormatVarargs([65,121,117,100,97], arguments_1728053805), NTI33554449); - break BeforeRet; - }; - - return result_1728053806; - -} - -function help_1728053807(locale_1728053808, arguments_1728053809) { - var result_1728053810 = []; - - BeforeRet: { - switch (locale_1728053808) { - case 0: - result_1728053810 = nimCopy(null, help_English_1728053801(arguments_1728053809), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053810 = nimCopy(null, help_Spanish_1728053804(arguments_1728053809), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053810; - -} - -function help1_English_1728053811(arguments_1728053812) { - var result_1728053813 = []; - - BeforeRet: { - result_1728053813 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can change the initial angle of the canon by dragging the canon or by pressing the right and left keys."), arguments_1728053812), NTI33554449); - break BeforeRet; - }; - - return result_1728053813; - -} - -function help1_Spanish_1728053814(arguments_1728053815) { - var result_1728053816 = []; - - BeforeRet: { - result_1728053816 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puedes cambiar el \xC3\xA1ngulo inicial del ca\xC3\xB1\xC3\xB3n arrastrando el ca\xC3\xB1on o presionando las flechas de derecha y izquierda."), arguments_1728053815), NTI33554449); - break BeforeRet; - }; - - return result_1728053816; - -} - -function help1_1728053817(locale_1728053818, arguments_1728053819) { - var result_1728053820 = []; - - BeforeRet: { - switch (locale_1728053818) { - case 0: - result_1728053820 = nimCopy(null, help1_English_1728053811(arguments_1728053819), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053820 = nimCopy(null, help1_Spanish_1728053814(arguments_1728053819), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053820; - -} - -function help2_English_1728053821(arguments_1728053822) { - var result_1728053823 = []; - - BeforeRet: { - result_1728053823 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can move the canon in the Y axis by dragging the base of the canon or the platform below the canon."), arguments_1728053822), NTI33554449); - break BeforeRet; - }; - - return result_1728053823; - -} - -function help2_Spanish_1728053824(arguments_1728053825) { - var result_1728053826 = []; - - BeforeRet: { - result_1728053826 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puedes mover el ca\xC3\xB1\xC3\xB3n en el eje Y arrastrando la base del ca\xC3\xB1\xC3\xB3n o la plataforma debajo del ca\xC3\xB1\xC3\xB3n."), arguments_1728053825), NTI33554449); - break BeforeRet; - }; - - return result_1728053826; - -} - -function help2_1728053827(locale_1728053828, arguments_1728053829) { - var result_1728053830 = []; - - BeforeRet: { - switch (locale_1728053828) { - case 0: - result_1728053830 = nimCopy(null, help2_English_1728053821(arguments_1728053829), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053830 = nimCopy(null, help2_Spanish_1728053824(arguments_1728053829), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053830; - -} - -function help3_English_1728053831(arguments_1728053832) { - var result_1728053833 = []; - - BeforeRet: { - result_1728053833 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can change the inital speed of the canon by moving the wheel on your mouse, by dragging with two fingers in your touchpad or by pressing the up and down keys."), arguments_1728053832), NTI33554449); - break BeforeRet; - }; - - return result_1728053833; - -} - -function help3_Spanish_1728053834(arguments_1728053835) { - var result_1728053836 = []; - - BeforeRet: { - result_1728053836 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puiedes cambiar la rapidez inicial del ca\xC3\xB1\xC3\xB3n moviendo la rueda del mouse, arrastrando con dos dedos en el touchpad o presionando las flechas de arriba y abajo."), arguments_1728053835), NTI33554449); - break BeforeRet; - }; - - return result_1728053836; - -} - -function help3_1728053837(locale_1728053838, arguments_1728053839) { - var result_1728053840 = []; - - BeforeRet: { - switch (locale_1728053838) { - case 0: - result_1728053840 = nimCopy(null, help3_English_1728053831(arguments_1728053839), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053840 = nimCopy(null, help3_Spanish_1728053834(arguments_1728053839), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053840; - -} - -function help4_English_1728053841(arguments_1728053842) { - var result_1728053843 = []; - - BeforeRet: { - result_1728053843 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can select any point in the trajectory by double-clicking and dragging the mouse, you can remove this point by double-clicking far from the trajectory."), arguments_1728053842), NTI33554449); - break BeforeRet; - }; - - return result_1728053843; - -} - -function help4_Spanish_1728053844(arguments_1728053845) { - var result_1728053846 = []; - - BeforeRet: { - result_1728053846 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puedes seleccionar cualquier punto en la trayectoria dando doble clic y arrastrando el mouse, puedes quitar este punto dando doble clic lejos de la trayectoria."), arguments_1728053845), NTI33554449); - break BeforeRet; - }; - - return result_1728053846; - -} - -function help4_1728053847(locale_1728053848, arguments_1728053849) { - var result_1728053850 = []; - - BeforeRet: { - switch (locale_1728053848) { - case 0: - result_1728053850 = nimCopy(null, help4_English_1728053841(arguments_1728053849), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053850 = nimCopy(null, help4_Spanish_1728053844(arguments_1728053849), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053850; - -} - -function help5_English_1728053851(arguments_1728053852) { - var result_1728053853 = []; - - BeforeRet: { - result_1728053853 = nimCopy(null, nsuFormatVarargs([89,111,117,32,99,97,110,32,112,97,117,115,101,32,116,104,101,32,115,105,109,117,108,97,116,105,111,110,32,98,121,32,112,114,101,115,115,105,110,103,32,116,104,101,32,107,101,121,32,80,46], arguments_1728053852), NTI33554449); - break BeforeRet; - }; - - return result_1728053853; - -} - -function help5_Spanish_1728053854(arguments_1728053855) { - var result_1728053856 = []; - - BeforeRet: { - result_1728053856 = nimCopy(null, nsuFormatVarargs([80,117,101,100,101,115,32,112,97,117,115,97,114,32,108,97,32,115,105,109,117,108,97,99,105,195,179,110,32,112,114,101,115,105,111,110,97,110,100,32,108,97,32,116,101,99,108,97,32,80,46], arguments_1728053855), NTI33554449); - break BeforeRet; - }; - - return result_1728053856; - -} - -function help5_1728053857(locale_1728053858, arguments_1728053859) { - var result_1728053860 = []; - - BeforeRet: { - switch (locale_1728053858) { - case 0: - result_1728053860 = nimCopy(null, help5_English_1728053851(arguments_1728053859), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053860 = nimCopy(null, help5_Spanish_1728053854(arguments_1728053859), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053860; - -} - -function help6_English_1728053861(arguments_1728053862) { - var result_1728053863 = []; - - BeforeRet: { - result_1728053863 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can fire a bullet by pressing the wheel on your mouse, pressing with three fingers in your touchpad or by pressing the spacebar."), arguments_1728053862), NTI33554449); - break BeforeRet; - }; - - return result_1728053863; - -} - -function help6_Spanish_1728053864(arguments_1728053865) { - var result_1728053866 = []; - - BeforeRet: { - result_1728053866 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puedes disparar una bala presionando la rueda del mouse, presionando con tres dedos en el touchpad o presionando la barra espaciadora."), arguments_1728053865), NTI33554449); - break BeforeRet; - }; - - return result_1728053866; - -} - -function help6_1728053867(locale_1728053868, arguments_1728053869) { - var result_1728053870 = []; - - BeforeRet: { - switch (locale_1728053868) { - case 0: - result_1728053870 = nimCopy(null, help6_English_1728053861(arguments_1728053869), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053870 = nimCopy(null, help6_Spanish_1728053864(arguments_1728053869), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053870; - -} - -function help7_English_1728053871(arguments_1728053872) { - var result_1728053873 = []; - - BeforeRet: { - result_1728053873 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can add a new trajectory by pressing the enter key and you can remove a trajectory by double-clicking its button."), arguments_1728053872), NTI33554449); - break BeforeRet; - }; - - return result_1728053873; - -} - -function help7_Spanish_1728053874(arguments_1728053875) { - var result_1728053876 = []; - - BeforeRet: { - result_1728053876 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puedes a\xC3\xB1adir una trayectoria nueva presionando la tecla enter y puedes quitar una trayectoria dando doble clic en su bot\xC3\xB3n."), arguments_1728053875), NTI33554449); - break BeforeRet; - }; - - return result_1728053876; - -} - -function help7_1728053877(locale_1728053878, arguments_1728053879) { - var result_1728053880 = []; - - BeforeRet: { - switch (locale_1728053878) { - case 0: - result_1728053880 = nimCopy(null, help7_English_1728053871(arguments_1728053879), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053880 = nimCopy(null, help7_Spanish_1728053874(arguments_1728053879), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053880; - -} - -function help8_English_1728053881(arguments_1728053882) { - var result_1728053883 = []; - - BeforeRet: { - result_1728053883 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can grab any bullet or rectangle and move it around the screen."), arguments_1728053882), NTI33554449); - break BeforeRet; - }; - - return result_1728053883; - -} - -function help8_Spanish_1728053884(arguments_1728053885) { - var result_1728053886 = []; - - BeforeRet: { - result_1728053886 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puedes agarrar cualquier bala o rect\xC3\xA1ngulo y moverlo alrededor de la pantalla."), arguments_1728053885), NTI33554449); - break BeforeRet; - }; - - return result_1728053886; - -} - -function help8_1728053887(locale_1728053888, arguments_1728053889) { - var result_1728053890 = []; - - BeforeRet: { - switch (locale_1728053888) { - case 0: - result_1728053890 = nimCopy(null, help8_English_1728053881(arguments_1728053889), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053890 = nimCopy(null, help8_Spanish_1728053884(arguments_1728053889), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053890; - -} - -function help9_English_1728053891(arguments_1728053892) { - var result_1728053893 = []; - - BeforeRet: { - result_1728053893 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("You can restart the simulation to the initial state by pressing the backspace key."), arguments_1728053892), NTI33554449); - break BeforeRet; - }; - - return result_1728053893; - -} - -function help9_Spanish_1728053894(arguments_1728053895) { - var result_1728053896 = []; - - BeforeRet: { - result_1728053896 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Puedes reiniciar la simulaci\xC3\xB3n a su estado inicial presionando la tecla backspace o retroceso."), arguments_1728053895), NTI33554449); - break BeforeRet; - }; - - return result_1728053896; - -} - -function help9_1728053897(locale_1728053898, arguments_1728053899) { - var result_1728053900 = []; - - BeforeRet: { - switch (locale_1728053898) { - case 0: - result_1728053900 = nimCopy(null, help9_English_1728053891(arguments_1728053899), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053900 = nimCopy(null, help9_Spanish_1728053894(arguments_1728053899), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053900; - -} - -function help10_English_1728053901(arguments_1728053902) { - var result_1728053903 = []; - - BeforeRet: { - result_1728053903 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Remember that all of the values are rounded to two decimal places."), arguments_1728053902), NTI33554449); - break BeforeRet; - }; - - return result_1728053903; - -} - -function help10_Spanish_1728053904(arguments_1728053905) { - var result_1728053906 = []; - - BeforeRet: { - result_1728053906 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Recuerda que todos los valores est\xC3\xA1n redondeados a dos decimales."), arguments_1728053905), NTI33554449); - break BeforeRet; - }; - - return result_1728053906; - -} - -function help10_1728053907(locale_1728053908, arguments_1728053909) { - var result_1728053910 = []; - - BeforeRet: { - switch (locale_1728053908) { - case 0: - result_1728053910 = nimCopy(null, help10_English_1728053901(arguments_1728053909), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053910 = nimCopy(null, help10_Spanish_1728053904(arguments_1728053909), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053910; - -} - -function helpFooter_English_1728053911(arguments_1728053912) { - var result_1728053913 = []; - - BeforeRet: { - result_1728053913 = nimCopy(null, nsuFormatVarargs([118,36,118,32,70,101,101,108,32,102,114,101,101,32,116,111,32,97,115,107,32,109,111,114,101,32,113,117,101,115,116,105,111,110,115,32,111,114,32,114,101,112,111,114,116,32,98,117,103,115,32,105,110,32], arguments_1728053912), NTI33554449); - break BeforeRet; - }; - - return result_1728053913; - -} - -function helpFooter_Spanish_1728053914(arguments_1728053915) { - var result_1728053916 = []; - - BeforeRet: { - result_1728053916 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("v$v Si tienes m\xC3\xA1s preguntas o quieres reportar un problema visita "), arguments_1728053915), NTI33554449); - break BeforeRet; - }; - - return result_1728053916; - -} - -function helpFooter_1728053917(locale_1728053918, arguments_1728053919) { - var result_1728053920 = []; - - BeforeRet: { - switch (locale_1728053918) { - case 0: - result_1728053920 = nimCopy(null, helpFooter_English_1728053911(arguments_1728053919), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053920 = nimCopy(null, helpFooter_Spanish_1728053914(arguments_1728053919), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053920; - -} - -function renderHelpModal_1426073451(state_1426073452) { - -function HEX3Aanonymous_1426073475() { - document.getElementById("help-modal").classList.remove("active"); - - - } - -function HEX3Aanonymous_1426073476() { - document.getElementById("help-modal").classList.remove("active"); - - - } - - var result_1426073453 = null; - - var tmp_1426073454 = tree_754975616(44, []); - tmp_1426073454.class = "modal"; - tmp_1426073454.id = "help-modal"; - var tmp_1426073455 = tree_754975616(45, []); - tmp_1426073455.class = "modal-overlay"; - setAttr_754975467(tmp_1426073455, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073455, 0, HEX3Aanonymous_1426073475, kxi__); - add_754975552(tmp_1426073454, tmp_1426073455); - var tmp_1426073456 = tree_754975616(44, []); - tmp_1426073456.class = "modal-container"; - var tmp_1426073457 = tree_754975616(44, []); - tmp_1426073457.class = "modal-header"; - var tmp_1426073458 = tree_754975616(45, []); - tmp_1426073458.class = "btn btn-clear float-right"; - setAttr_754975467(tmp_1426073458, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073458, 0, HEX3Aanonymous_1426073476, kxi__); - add_754975552(tmp_1426073457, tmp_1426073458); - var tmp_1426073459 = tree_754975616(44, []); - tmp_1426073459.class = "modal-title h5"; - add_754975552(tmp_1426073459, text_754975684(help_1728053807(state_1426073452.lang, []))); - add_754975552(tmp_1426073457, tmp_1426073459); - add_754975552(tmp_1426073456, tmp_1426073457); - var tmp_1426073460 = tree_754975616(44, []); - tmp_1426073460.class = "modal-body"; - var tmp_1426073461 = tree_754975616(44, []); - tmp_1426073461.class = "content"; - var tmp_1426073462 = tree_754975616(37, []); - var tmp_1426073463 = tree_754975616(38, []); - add_754975552(tmp_1426073463, text_754975684(help1_1728053817(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073463); - var tmp_1426073464 = tree_754975616(38, []); - add_754975552(tmp_1426073464, text_754975684(help2_1728053827(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073464); - var tmp_1426073465 = tree_754975616(38, []); - add_754975552(tmp_1426073465, text_754975684(help3_1728053837(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073465); - var tmp_1426073466 = tree_754975616(38, []); - add_754975552(tmp_1426073466, text_754975684(help4_1728053847(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073466); - var tmp_1426073467 = tree_754975616(38, []); - add_754975552(tmp_1426073467, text_754975684(help5_1728053857(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073467); - var tmp_1426073468 = tree_754975616(38, []); - add_754975552(tmp_1426073468, text_754975684(help6_1728053867(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073468); - var tmp_1426073469 = tree_754975616(38, []); - add_754975552(tmp_1426073469, text_754975684(help7_1728053877(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073469); - var tmp_1426073470 = tree_754975616(38, []); - add_754975552(tmp_1426073470, text_754975684(help8_1728053887(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073470); - var tmp_1426073471 = tree_754975616(38, []); - add_754975552(tmp_1426073471, text_754975684(help9_1728053897(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073471); - var tmp_1426073472 = tree_754975616(38, []); - add_754975552(tmp_1426073472, text_754975684(help10_1728053907(state_1426073452.lang, []))); - add_754975552(tmp_1426073462, tmp_1426073472); - add_754975552(tmp_1426073461, tmp_1426073462); - add_754975552(tmp_1426073460, tmp_1426073461); - add_754975552(tmp_1426073456, tmp_1426073460); - var tmp_1426073473 = tree_754975616(44, []); - tmp_1426073473.class = "modal-footer"; - add_754975552(tmp_1426073473, text_754975684(helpFooter_1728053917(state_1426073452.lang, [[118], [49,46,50,46,48]]))); - var tmp_1426073474 = tree_754975616(45, []); - setAttr_754975467(tmp_1426073474, "href", "https://github.com/Patitotective/parabola"); - add_754975552(tmp_1426073474, text_754975684([71,105,116,72,117,98])); - add_754975552(tmp_1426073473, tmp_1426073474); - add_754975552(tmp_1426073473, text_754975684([46])); - add_754975552(tmp_1426073456, tmp_1426073473); - add_754975552(tmp_1426073454, tmp_1426073456); - result_1426073453 = tmp_1426073454; - - return result_1426073453; - -} - -function settings_English_1728053641(arguments_1728053642) { - var result_1728053643 = []; - - BeforeRet: { - result_1728053643 = nimCopy(null, nsuFormatVarargs([83,101,116,116,105,110,103,115], arguments_1728053642), NTI33554449); - break BeforeRet; - }; - - return result_1728053643; - -} - -function settings_Spanish_1728053644(arguments_1728053645) { - var result_1728053646 = []; - - BeforeRet: { - result_1728053646 = nimCopy(null, nsuFormatVarargs([67,111,110,102,105,103,117,114,97,99,105,195,179,110], arguments_1728053645), NTI33554449); - break BeforeRet; - }; - - return result_1728053646; - -} - -function settings_1728053647(locale_1728053648, arguments_1728053649) { - var result_1728053650 = []; - - BeforeRet: { - switch (locale_1728053648) { - case 0: - result_1728053650 = nimCopy(null, settings_English_1728053641(arguments_1728053649), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053650 = nimCopy(null, settings_Spanish_1728053644(arguments_1728053649), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053650; - -} - -function timeScale_English_1728053651(arguments_1728053652) { - var result_1728053653 = []; - - BeforeRet: { - result_1728053653 = nimCopy(null, nsuFormatVarargs([84,105,109,101,32,83,99,97,108,101], arguments_1728053652), NTI33554449); - break BeforeRet; - }; - - return result_1728053653; - -} - -function timeScale_Spanish_1728053654(arguments_1728053655) { - var result_1728053656 = []; - - BeforeRet: { - result_1728053656 = nimCopy(null, nsuFormatVarargs([69,115,99,97,108,97,32,100,101,108,32,116,105,101,109,112,111], arguments_1728053655), NTI33554449); - break BeforeRet; - }; - - return result_1728053656; - -} - -function timeScale_1728053657(locale_1728053658, arguments_1728053659) { - var result_1728053660 = []; - - BeforeRet: { - switch (locale_1728053658) { - case 0: - result_1728053660 = nimCopy(null, timeScale_English_1728053651(arguments_1728053659), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053660 = nimCopy(null, timeScale_Spanish_1728053654(arguments_1728053659), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053660; - -} - -function class_1694499126(defaultClasses_1694499127, classes_1694499130) { - var result_1694499131 = null; - - var r_1694499132 = (defaultClasses_1694499127 || []).concat([32] || []); - Label1: { - var class_1694499146 = {Field0: [], Field1: false}; - var i_570425944 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425944 < (classes_1694499130).length)) break Label3; - class_1694499146 = classes_1694499130[chckIndx(i_570425944, 0, (classes_1694499130).length - 1)]; - if (class_1694499146.Field1) { - r_1694499132.push.apply(r_1694499132, (class_1694499146.Field0 || []).concat([32] || []));; - } - - i_570425944 = addInt(i_570425944, 1); - } - }; - }; - result_1694499131 = toJSStr(r_1694499132); - - return result_1694499131; - -} - -function lang_English_1728053661(arguments_1728053662) { - var result_1728053663 = []; - - BeforeRet: { - result_1728053663 = nimCopy(null, nsuFormatVarargs([76,97,110,103,117,97,103,101], arguments_1728053662), NTI33554449); - break BeforeRet; - }; - - return result_1728053663; - -} - -function lang_Spanish_1728053664(arguments_1728053665) { - var result_1728053666 = []; - - BeforeRet: { - result_1728053666 = nimCopy(null, nsuFormatVarargs([73,100,105,111,109,97], arguments_1728053665), NTI33554449); - break BeforeRet; - }; - - return result_1728053666; - -} - -function lang_1728053667(locale_1728053668, arguments_1728053669) { - var result_1728053670 = []; - - BeforeRet: { - switch (locale_1728053668) { - case 0: - result_1728053670 = nimCopy(null, lang_English_1728053661(arguments_1728053669), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053670 = nimCopy(null, lang_Spanish_1728053664(arguments_1728053669), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053670; - -} - -function changeLang_1426069481(state_1426069482, lang_1426069483) { - -function HEX3Aanonymous_1426069484() { - updateFormulaAccordion_1426064398(state_1426069482); - updateStateAccordion_1426064733(state_1426069482); - updatePointAccordion_1426064918(state_1426069482); - - - } - - state_1426069482.lang = lang_1426069483; - window.localStorage.setItem("lang", toJSStr(HEX24_385875976(((lang_1426069483) | 0)))); - if (!(kxi__.surpressRedraws)) { - redraw_721421809(kxi__); - } - - var _ = setTimeout(HEX3Aanonymous_1426069484, 100); - - -} - -function showVArrow_English_1728053741(arguments_1728053742) { - var result_1728053743 = []; - - BeforeRet: { - result_1728053743 = nimCopy(null, nsuFormatVarargs([83,104,111,119,32,99,111,109,98,105,110,101,100,32,118,101,108,111,99,105,116,121,32,97,114,114,111,119], arguments_1728053742), NTI33554449); - break BeforeRet; - }; - - return result_1728053743; - -} - -function showVArrow_Spanish_1728053744(arguments_1728053745) { - var result_1728053746 = []; - - BeforeRet: { - result_1728053746 = nimCopy(null, nsuFormatVarargs([77,111,115,116,114,97,114,32,108,97,32,102,108,101,99,104,97,32,100,101,32,118,101,108,111,99,105,100,97,100,32,99,111,109,98,105,110,97,100,97], arguments_1728053745), NTI33554449); - break BeforeRet; - }; - - return result_1728053746; - -} - -function showVArrow_1728053747(locale_1728053748, arguments_1728053749) { - var result_1728053750 = []; - - BeforeRet: { - switch (locale_1728053748) { - case 0: - result_1728053750 = nimCopy(null, showVArrow_English_1728053741(arguments_1728053749), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053750 = nimCopy(null, showVArrow_Spanish_1728053744(arguments_1728053749), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053750; - -} - -function showVxArrow_English_1728053721(arguments_1728053722) { - var result_1728053723 = []; - - BeforeRet: { - result_1728053723 = nimCopy(null, nsuFormatVarargs([83,104,111,119,32,88,32,118,101,108,111,99,105,116,121,32,97,114,114,111,119], arguments_1728053722), NTI33554449); - break BeforeRet; - }; - - return result_1728053723; - -} - -function showVxArrow_Spanish_1728053724(arguments_1728053725) { - var result_1728053726 = []; - - BeforeRet: { - result_1728053726 = nimCopy(null, nsuFormatVarargs([77,111,115,116,114,97,114,32,108,97,32,102,108,101,99,104,97,32,100,101,32,118,101,108,111,99,105,100,97,100,32,101,110,32,88], arguments_1728053725), NTI33554449); - break BeforeRet; - }; - - return result_1728053726; - -} - -function showVxArrow_1728053727(locale_1728053728, arguments_1728053729) { - var result_1728053730 = []; - - BeforeRet: { - switch (locale_1728053728) { - case 0: - result_1728053730 = nimCopy(null, showVxArrow_English_1728053721(arguments_1728053729), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053730 = nimCopy(null, showVxArrow_Spanish_1728053724(arguments_1728053729), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053730; - -} - -function showVyArrow_English_1728053731(arguments_1728053732) { - var result_1728053733 = []; - - BeforeRet: { - result_1728053733 = nimCopy(null, nsuFormatVarargs([83,104,111,119,32,89,32,118,101,108,111,99,105,116,121,32,97,114,114,111,119], arguments_1728053732), NTI33554449); - break BeforeRet; - }; - - return result_1728053733; - -} - -function showVyArrow_Spanish_1728053734(arguments_1728053735) { - var result_1728053736 = []; - - BeforeRet: { - result_1728053736 = nimCopy(null, nsuFormatVarargs([77,111,115,116,114,97,114,32,108,97,32,102,108,101,99,104,97,32,100,101,32,118,101,108,111,99,105,100,97,100,32,101,110,32,89], arguments_1728053735), NTI33554449); - break BeforeRet; - }; - - return result_1728053736; - -} - -function showVyArrow_1728053737(locale_1728053738, arguments_1728053739) { - var result_1728053740 = []; - - BeforeRet: { - switch (locale_1728053738) { - case 0: - result_1728053740 = nimCopy(null, showVyArrow_English_1728053731(arguments_1728053739), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053740 = nimCopy(null, showVyArrow_Spanish_1728053734(arguments_1728053739), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053740; - -} - -function showFormulaResults_English_1728053761(arguments_1728053762) { - var result_1728053763 = []; - - BeforeRet: { - result_1728053763 = nimCopy(null, nsuFormatVarargs([83,104,111,119,32,101,113,117,97,116,105,111,110,115,39,32,115,111,108,117,116,105,111,110,115], arguments_1728053762), NTI33554449); - break BeforeRet; - }; - - return result_1728053763; - -} - -function showFormulaResults_Spanish_1728053764(arguments_1728053765) { - var result_1728053766 = []; - - BeforeRet: { - result_1728053766 = nimCopy(null, nsuFormatVarargs([77,111,115,116,114,97,114,32,108,111,115,32,114,101,115,117,108,116,97,100,111,115,32,100,101,32,108,97,115,32,101,113,117,97,99,105,111,110,101,115], arguments_1728053765), NTI33554449); - break BeforeRet; - }; - - return result_1728053766; - -} - -function showFormulaResults_1728053767(locale_1728053768, arguments_1728053769) { - var result_1728053770 = []; - - BeforeRet: { - switch (locale_1728053768) { - case 0: - result_1728053770 = nimCopy(null, showFormulaResults_English_1728053761(arguments_1728053769), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053770 = nimCopy(null, showFormulaResults_Spanish_1728053764(arguments_1728053769), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053770; - -} - -function showFormulaProc_English_1728054071(arguments_1728054072) { - var result_1728054073 = []; - - BeforeRet: { - result_1728054073 = nimCopy(null, nsuFormatVarargs([83,104,111,119,32,101,113,117,97,116,105,111,110,115,39,32,112,114,111,99,101,100,117,114,101,115], arguments_1728054072), NTI33554449); - break BeforeRet; - }; - - return result_1728054073; - -} - -function showFormulaProc_Spanish_1728054074(arguments_1728054075) { - var result_1728054076 = []; - - BeforeRet: { - result_1728054076 = nimCopy(null, nsuFormatVarargs([77,111,115,116,97,114,32,108,111,115,32,112,114,111,99,101,100,105,109,105,101,110,116,111,115,32,100,101,32,108,97,115,32,101,113,117,97,99,105,111,110,101,115], arguments_1728054075), NTI33554449); - break BeforeRet; - }; - - return result_1728054076; - -} - -function showFormulaProc_1728054077(locale_1728054078, arguments_1728054079) { - var result_1728054080 = []; - - BeforeRet: { - switch (locale_1728054078) { - case 0: - result_1728054080 = nimCopy(null, showFormulaProc_English_1728054071(arguments_1728054079), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054080 = nimCopy(null, showFormulaProc_Spanish_1728054074(arguments_1728054079), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054080; - -} - -function animationWarning_English_1728053791(arguments_1728053792) { - var result_1728053793 = []; - - BeforeRet: { - result_1728053793 = nimCopy(null, nsuFormatVarargs([72,97,115,32,97,32,104,105,103,104,32,105,109,112,97,99,116,32,105,110,32,116,104,101,32,112,101,114,102,111,114,109,97,110,99,101], arguments_1728053792), NTI33554449); - break BeforeRet; - }; - - return result_1728053793; - -} - -function animationWarning_Spanish_1728053794(arguments_1728053795) { - var result_1728053796 = []; - - BeforeRet: { - result_1728053796 = nimCopy(null, nsuFormatVarargs([84,105,101,110,101,32,117,110,32,97,108,116,111,32,105,109,112,97,99,116,111,32,101,110,32,101,108,32,114,101,110,100,105,109,105,101,110,116,111], arguments_1728053795), NTI33554449); - break BeforeRet; - }; - - return result_1728053796; - -} - -function animationWarning_1728053797(locale_1728053798, arguments_1728053799) { - var result_1728053800 = []; - - BeforeRet: { - switch (locale_1728053798) { - case 0: - result_1728053800 = nimCopy(null, animationWarning_English_1728053791(arguments_1728053799), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053800 = nimCopy(null, animationWarning_Spanish_1728053794(arguments_1728053799), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053800; - -} - -function starsAnimation_English_1728053771(arguments_1728053772) { - var result_1728053773 = []; - - BeforeRet: { - result_1728053773 = nimCopy(null, nsuFormatVarargs([65,110,105,109,97,116,101,32,98,97,99,107,103,114,111,117,110,100,32,115,116,97,114,115], arguments_1728053772), NTI33554449); - break BeforeRet; - }; - - return result_1728053773; - -} - -function starsAnimation_Spanish_1728053774(arguments_1728053775) { - var result_1728053776 = []; - - BeforeRet: { - result_1728053776 = nimCopy(null, nsuFormatVarargs([65,110,105,109,97,114,32,108,97,115,32,101,115,116,114,101,108,108,97,115,32,100,101,32,102,111,110,100,111], arguments_1728053775), NTI33554449); - break BeforeRet; - }; - - return result_1728053776; - -} - -function starsAnimation_1728053777(locale_1728053778, arguments_1728053779) { - var result_1728053780 = []; - - BeforeRet: { - switch (locale_1728053778) { - case 0: - result_1728053780 = nimCopy(null, starsAnimation_English_1728053771(arguments_1728053779), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053780 = nimCopy(null, starsAnimation_Spanish_1728053774(arguments_1728053779), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053780; - -} - -function collideWithBlocksTooltip_English_1728054021(arguments_1728054022) { - var result_1728054023 = []; - - BeforeRet: { - result_1728054023 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Enable bullet collision with the blocks\x0Awhile the bullets are flying"), arguments_1728054022), NTI33554449); - break BeforeRet; - }; - - return result_1728054023; - -} - -function collideWithBlocksTooltip_Spanish_1728054024(arguments_1728054025) { - var result_1728054026 = []; - - BeforeRet: { - result_1728054026 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Permitir que las balas colisionen con los\x0Abloques cuando las balas est\xC3\xA9n en el aire"), arguments_1728054025), NTI33554449); - break BeforeRet; - }; - - return result_1728054026; - -} - -function collideWithBlocksTooltip_1728054027(locale_1728054028, arguments_1728054029) { - var result_1728054030 = []; - - BeforeRet: { - switch (locale_1728054028) { - case 0: - result_1728054030 = nimCopy(null, collideWithBlocksTooltip_English_1728054021(arguments_1728054029), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054030 = nimCopy(null, collideWithBlocksTooltip_Spanish_1728054024(arguments_1728054029), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054030; - -} - -function collideWithBlocks_English_1728054011(arguments_1728054012) { - var result_1728054013 = []; - - BeforeRet: { - result_1728054013 = nimCopy(null, nsuFormatVarargs([67,111,108,108,105,100,101,32,119,105,116,104,32,98,108,111,99,107,115,32,105,110,32,102,108,105,103,104,116], arguments_1728054012), NTI33554449); - break BeforeRet; - }; - - return result_1728054013; - -} - -function collideWithBlocks_Spanish_1728054014(arguments_1728054015) { - var result_1728054016 = []; - - BeforeRet: { - result_1728054016 = nimCopy(null, nsuFormatVarargs([67,111,108,105,115,105,111,110,97,114,32,99,111,110,32,108,111,115,32,98,108,111,113,117,101,115,32,101,110,32,118,117,101,108,111], arguments_1728054015), NTI33554449); - break BeforeRet; - }; - - return result_1728054016; - -} - -function collideWithBlocks_1728054017(locale_1728054018, arguments_1728054019) { - var result_1728054020 = []; - - BeforeRet: { - switch (locale_1728054018) { - case 0: - result_1728054020 = nimCopy(null, collideWithBlocks_English_1728054011(arguments_1728054019), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054020 = nimCopy(null, collideWithBlocks_Spanish_1728054014(arguments_1728054019), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054020; - -} - -function bulletsLimit_English_1728053751(arguments_1728053752) { - var result_1728053753 = []; - - BeforeRet: { - result_1728053753 = nimCopy(null, nsuFormatVarargs([66,117,108,108,101,116,115,32,108,105,109,105,116], arguments_1728053752), NTI33554449); - break BeforeRet; - }; - - return result_1728053753; - -} - -function bulletsLimit_Spanish_1728053754(arguments_1728053755) { - var result_1728053756 = []; - - BeforeRet: { - result_1728053756 = nimCopy(null, nsuFormatVarargs([76,195,173,109,105,116,101,32,100,101,32,98,97,108,97,115], arguments_1728053755), NTI33554449); - break BeforeRet; - }; - - return result_1728053756; - -} - -function bulletsLimit_1728053757(locale_1728053758, arguments_1728053759) { - var result_1728053760 = []; - - BeforeRet: { - switch (locale_1728053758) { - case 0: - result_1728053760 = nimCopy(null, bulletsLimit_English_1728053751(arguments_1728053759), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053760 = nimCopy(null, bulletsLimit_Spanish_1728053754(arguments_1728053759), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053760; - -} - -function elementHasClass_1426073729(ele_1426073730, class_1426073731) { - var Temporary1; - - var result_1426073732 = false; - - var ele_1426073733 = document.getElementById(toJSStr(ele_1426073730)); - if (!!((ele_1426073733 == null))) Temporary1 = false; else { Temporary1 = ele_1426073733.classList.contains(toJSStr(class_1426073731)); } result_1426073732 = Temporary1; - - return result_1426073732; - -} - -function studentMode_English_1728053951(arguments_1728053952) { - var result_1728053953 = []; - - BeforeRet: { - result_1728053953 = nimCopy(null, nsuFormatVarargs([83,116,117,100,101,110,116,32,77,111,100,101], arguments_1728053952), NTI33554449); - break BeforeRet; - }; - - return result_1728053953; - -} - -function studentMode_Spanish_1728053954(arguments_1728053955) { - var result_1728053956 = []; - - BeforeRet: { - result_1728053956 = nimCopy(null, nsuFormatVarargs([77,111,100,111,32,69,115,116,117,100,105,97,110,116,101], arguments_1728053955), NTI33554449); - break BeforeRet; - }; - - return result_1728053956; - -} - -function studentMode_1728053957(locale_1728053958, arguments_1728053959) { - var result_1728053960 = []; - - BeforeRet: { - switch (locale_1728053958) { - case 0: - result_1728053960 = nimCopy(null, studentMode_English_1728053951(arguments_1728053959), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053960 = nimCopy(null, studentMode_Spanish_1728053954(arguments_1728053959), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053960; - -} - -function teacherMode_English_1728053961(arguments_1728053962) { - var result_1728053963 = []; - - BeforeRet: { - result_1728053963 = nimCopy(null, nsuFormatVarargs([84,101,97,99,104,101,114,32,77,111,100,101], arguments_1728053962), NTI33554449); - break BeforeRet; - }; - - return result_1728053963; - -} - -function teacherMode_Spanish_1728053964(arguments_1728053965) { - var result_1728053966 = []; - - BeforeRet: { - result_1728053966 = nimCopy(null, nsuFormatVarargs([77,111,100,111,32,80,114,111,102,101,115,111,114], arguments_1728053965), NTI33554449); - break BeforeRet; - }; - - return result_1728053966; - -} - -function teacherMode_1728053967(locale_1728053968, arguments_1728053969) { - var result_1728053970 = []; - - BeforeRet: { - switch (locale_1728053968) { - case 0: - result_1728053970 = nimCopy(null, teacherMode_English_1728053961(arguments_1728053969), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053970 = nimCopy(null, teacherMode_Spanish_1728053964(arguments_1728053969), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053970; - -} - -function aboutMsg_English_1728053781(arguments_1728053782) { - var result_1728053783 = []; - - BeforeRet: { - result_1728053783 = nimCopy(null, nsuFormatVarargs([118,36,118,32,77,97,100,101,32,98,121,32,80,97,116,105,116,111,116,101,99,116,105,118,101,46,32,83,111,117,114,99,101,32,99,111,100,101,32,105,110,32], arguments_1728053782), NTI33554449); - break BeforeRet; - }; - - return result_1728053783; - -} - -function aboutMsg_Spanish_1728053784(arguments_1728053785) { - var result_1728053786 = []; - - BeforeRet: { - result_1728053786 = nimCopy(null, nsuFormatVarargs([118,36,118,32,72,101,99,104,111,32,112,111,114,32,80,97,116,105,116,111,116,101,99,116,105,118,101,46,32,67,195,179,100,105,103,111,32,102,117,101,110,116,101,32,101,110,32], arguments_1728053785), NTI33554449); - break BeforeRet; - }; - - return result_1728053786; - -} - -function aboutMsg_1728053787(locale_1728053788, arguments_1728053789) { - var result_1728053790 = []; - - BeforeRet: { - switch (locale_1728053788) { - case 0: - result_1728053790 = nimCopy(null, aboutMsg_English_1728053781(arguments_1728053789), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053790 = nimCopy(null, aboutMsg_Spanish_1728053784(arguments_1728053789), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053790; - -} - -function switchToStudentMode_English_1728053971(arguments_1728053972) { - var result_1728053973 = []; - - BeforeRet: { - result_1728053973 = nimCopy(null, nsuFormatVarargs([83,119,105,116,99,104,32,116,111,32,83,116,117,100,101,110,116,32,77,111,100,101], arguments_1728053972), NTI33554449); - break BeforeRet; - }; - - return result_1728053973; - -} - -function switchToStudentMode_Spanish_1728053974(arguments_1728053975) { - var result_1728053976 = []; - - BeforeRet: { - result_1728053976 = nimCopy(null, nsuFormatVarargs([67,97,109,98,105,97,114,32,97,32,77,111,100,111,32,69,115,116,117,100,105,97,110,116,101], arguments_1728053975), NTI33554449); - break BeforeRet; - }; - - return result_1728053976; - -} - -function switchToStudentMode_1728053977(locale_1728053978, arguments_1728053979) { - var result_1728053980 = []; - - BeforeRet: { - switch (locale_1728053978) { - case 0: - result_1728053980 = nimCopy(null, switchToStudentMode_English_1728053971(arguments_1728053979), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053980 = nimCopy(null, switchToStudentMode_Spanish_1728053974(arguments_1728053979), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053980; - -} - -function studentModeExplaination_English_1728053991(arguments_1728053992) { - var result_1728053993 = []; - - BeforeRet: { - result_1728053993 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("In Student Mode you will not be able to modify the settings. To switch back to Teacher Mode you will need the password you will enter now:"), arguments_1728053992), NTI33554449); - break BeforeRet; - }; - - return result_1728053993; - -} - -function studentModeExplaination_Spanish_1728053994(arguments_1728053995) { - var result_1728053996 = []; - - BeforeRet: { - result_1728053996 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("En el Modo Estudiante no vas a poder cambiar la configuraci\xC3\xB3n. Para volver al Modo Profesor necesitar\xC3\xA1s la contrase\xC3\xB1a que vas a ingresar ahora:"), arguments_1728053995), NTI33554449); - break BeforeRet; - }; - - return result_1728053996; - -} - -function studentModeExplaination_1728053997(locale_1728053998, arguments_1728053999) { - var result_1728054000 = []; - - BeforeRet: { - switch (locale_1728053998) { - case 0: - result_1728054000 = nimCopy(null, studentModeExplaination_English_1728053991(arguments_1728053999), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054000 = nimCopy(null, studentModeExplaination_Spanish_1728053994(arguments_1728053999), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054000; - -} - -function password_English_1728054031(arguments_1728054032) { - var result_1728054033 = []; - - BeforeRet: { - result_1728054033 = nimCopy(null, nsuFormatVarargs([80,97,115,115,119,111,114,100], arguments_1728054032), NTI33554449); - break BeforeRet; - }; - - return result_1728054033; - -} - -function password_Spanish_1728054034(arguments_1728054035) { - var result_1728054036 = []; - - BeforeRet: { - result_1728054036 = nimCopy(null, nsuFormatVarargs([67,111,110,116,114,97,115,101,195,177,97], arguments_1728054035), NTI33554449); - break BeforeRet; - }; - - return result_1728054036; - -} - -function password_1728054037(locale_1728054038, arguments_1728054039) { - var result_1728054040 = []; - - BeforeRet: { - switch (locale_1728054038) { - case 0: - result_1728054040 = nimCopy(null, password_English_1728054031(arguments_1728054039), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054040 = nimCopy(null, password_Spanish_1728054034(arguments_1728054039), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054040; - -} - -function tooShortPassword_English_1728054041(arguments_1728054042) { - var result_1728054043 = []; - - BeforeRet: { - result_1728054043 = nimCopy(null, nsuFormatVarargs([84,104,101,32,112,97,115,115,119,111,114,100,32,105,115,32,116,111,111,32,115,104,111,114,116], arguments_1728054042), NTI33554449); - break BeforeRet; - }; - - return result_1728054043; - -} - -function tooShortPassword_Spanish_1728054044(arguments_1728054045) { - var result_1728054046 = []; - - BeforeRet: { - result_1728054046 = nimCopy(null, nsuFormatVarargs([76,97,32,99,111,110,115,116,114,97,115,101,195,177,97,32,101,115,32,109,117,121,32,99,111,114,116,97], arguments_1728054045), NTI33554449); - break BeforeRet; - }; - - return result_1728054046; - -} - -function tooShortPassword_1728054047(locale_1728054048, arguments_1728054049) { - var result_1728054050 = []; - - BeforeRet: { - switch (locale_1728054048) { - case 0: - result_1728054050 = nimCopy(null, tooShortPassword_English_1728054041(arguments_1728054049), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054050 = nimCopy(null, tooShortPassword_Spanish_1728054044(arguments_1728054049), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054050; - -} - -function tooLongPassword_English_1728054051(arguments_1728054052) { - var result_1728054053 = []; - - BeforeRet: { - result_1728054053 = nimCopy(null, nsuFormatVarargs([84,104,101,32,112,97,115,115,119,111,114,100,32,105,115,32,116,111,111,32,108,111,110,103], arguments_1728054052), NTI33554449); - break BeforeRet; - }; - - return result_1728054053; - -} - -function tooLongPassword_Spanish_1728054054(arguments_1728054055) { - var result_1728054056 = []; - - BeforeRet: { - result_1728054056 = nimCopy(null, nsuFormatVarargs([76,97,32,99,111,110,115,116,114,97,115,101,195,177,97,32,101,115,32,109,117,121,32,108,97,114,103,97], arguments_1728054055), NTI33554449); - break BeforeRet; - }; - - return result_1728054056; - -} - -function tooLongPassword_1728054057(locale_1728054058, arguments_1728054059) { - var result_1728054060 = []; - - BeforeRet: { - switch (locale_1728054058) { - case 0: - result_1728054060 = nimCopy(null, tooLongPassword_English_1728054051(arguments_1728054059), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054060 = nimCopy(null, tooLongPassword_Spanish_1728054054(arguments_1728054059), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054060; - -} - -function HEX5BHEX5D_33557807(s_33557808, i_33557809) { - var result_33557810 = 0; - - result_33557810 = s_33557808[chckIndx(subInt((s_33557808).length, i_33557809), 0, (s_33557808).length - 1)]; - - return result_33557810; - -} - -function studentModeExplaination2_English_1728054001(arguments_1728054002) { - var result_1728054003 = []; - - BeforeRet: { - result_1728054003 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("This is useful if you don\'t want your students to see the solutions or the procedures for the equations if you lend them your computer."), arguments_1728054002), NTI33554449); - break BeforeRet; - }; - - return result_1728054003; - -} - -function studentModeExplaination2_Spanish_1728054004(arguments_1728054005) { - var result_1728054006 = []; - - BeforeRet: { - result_1728054006 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Esto es \xC3\xBAtil si no quieres que tus estudiantes vean las soluciones o los procedimientos de las equaciones si les prestas tu computador."), arguments_1728054005), NTI33554449); - break BeforeRet; - }; - - return result_1728054006; - -} - -function studentModeExplaination2_1728054007(locale_1728054008, arguments_1728054009) { - var result_1728054010 = []; - - BeforeRet: { - switch (locale_1728054008) { - case 0: - result_1728054010 = nimCopy(null, studentModeExplaination2_English_1728054001(arguments_1728054009), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054010 = nimCopy(null, studentModeExplaination2_Spanish_1728054004(arguments_1728054009), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054010; - -} - -function encode_1627389994(s_1627389996, safe_1627389997) { - var Temporary1; - var Temporary4; - - var result_1627389998 = []; - - if (safe_1627389997) { - if (result_1627389998.length < (Temporary1 = chckRange(addInt(divInt(mulInt((s_1627389996).length, 4), 3), 6), 0, 2147483647), Temporary1)) { for (var i = result_1627389998.length; i < Temporary1; ++i) result_1627389998.push(0); } - else {result_1627389998.length = Temporary1; }; - var paddingHEX60gensym4_1627390014 = modInt((s_1627389996).length, 3); - var inputEndsHEX60gensym4_1627390018 = subInt((s_1627389996).length, paddingHEX60gensym4_1627390014); - var inputIndexHEX60gensym4_1627390019 = 0; - var outputIndexHEX60gensym4_1627390020 = 0; - var nHEX60gensym4_1627390021 = 0; - var bHEX60gensym4_1627390022 = 0; - Label2: { - Label3: while (true) { - if (!!((inputIndexHEX60gensym4_1627390019 == inputEndsHEX60gensym4_1627390018))) break Label3; - bHEX60gensym4_1627390022 = s_1627389996[chckIndx(inputIndexHEX60gensym4_1627390019, 0, (s_1627389996).length - 1)]; - nHEX60gensym4_1627390021 = ((bHEX60gensym4_1627390022 << 16) >>> 0); - inputIndexHEX60gensym4_1627390019 = addInt(inputIndexHEX60gensym4_1627390019, 1); - bHEX60gensym4_1627390022 = s_1627389996[chckIndx(inputIndexHEX60gensym4_1627390019, 0, (s_1627389996).length - 1)]; - nHEX60gensym4_1627390021 = ((nHEX60gensym4_1627390021 | ((bHEX60gensym4_1627390022 << 8) >>> 0)) >>> 0); - inputIndexHEX60gensym4_1627390019 = addInt(inputIndexHEX60gensym4_1627390019, 1); - bHEX60gensym4_1627390022 = s_1627389996[chckIndx(inputIndexHEX60gensym4_1627390019, 0, (s_1627389996).length - 1)]; - nHEX60gensym4_1627390021 = ((nHEX60gensym4_1627390021 | ((bHEX60gensym4_1627390022 << 0) >>> 0)) >>> 0); - inputIndexHEX60gensym4_1627390019 = addInt(inputIndexHEX60gensym4_1627390019, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 18) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 12) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 6) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 0) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - } - }; - if ((paddingHEX60gensym4_1627390014 == 1)) { - bHEX60gensym4_1627390022 = s_1627389996[chckIndx(inputIndexHEX60gensym4_1627390019, 0, (s_1627389996).length - 1)]; - nHEX60gensym4_1627390021 = ((bHEX60gensym4_1627390022 << 16) >>> 0); - inputIndexHEX60gensym4_1627390019 = addInt(inputIndexHEX60gensym4_1627390019, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 18) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 12) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = 61; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = 61; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - } - else { - if ((paddingHEX60gensym4_1627390014 == 2)) { - bHEX60gensym4_1627390022 = s_1627389996[chckIndx(inputIndexHEX60gensym4_1627390019, 0, (s_1627389996).length - 1)]; - nHEX60gensym4_1627390021 = ((bHEX60gensym4_1627390022 << 16) >>> 0); - inputIndexHEX60gensym4_1627390019 = addInt(inputIndexHEX60gensym4_1627390019, 1); - bHEX60gensym4_1627390022 = s_1627389996[chckIndx(inputIndexHEX60gensym4_1627390019, 0, (s_1627389996).length - 1)]; - nHEX60gensym4_1627390021 = ((nHEX60gensym4_1627390021 | ((bHEX60gensym4_1627390022 << 8) >>> 0)) >>> 0); - inputIndexHEX60gensym4_1627390019 = addInt(inputIndexHEX60gensym4_1627390019, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 18) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 12) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = cb64safe_1627389957[chckIndx((((nHEX60gensym4_1627390021 >>> 6) & 63) >>> 0), 0, (cb64safe_1627389957).length - 1)]; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym4_1627390020, 0, (result_1627389998).length - 1)] = 61; - outputIndexHEX60gensym4_1627390020 = addInt(outputIndexHEX60gensym4_1627390020, 1); - } - } - if (result_1627389998.length < chckRange(outputIndexHEX60gensym4_1627390020, 0, 2147483647)) { for (var i = result_1627389998.length; i < chckRange(outputIndexHEX60gensym4_1627390020, 0, 2147483647); ++i) result_1627389998.push(0); } - else {result_1627389998.length = chckRange(outputIndexHEX60gensym4_1627390020, 0, 2147483647); }; - } - else { - if (result_1627389998.length < (Temporary4 = chckRange(addInt(divInt(mulInt((s_1627389996).length, 4), 3), 6), 0, 2147483647), Temporary4)) { for (var i = result_1627389998.length; i < Temporary4; ++i) result_1627389998.push(0); } - else {result_1627389998.length = Temporary4; }; - var paddingHEX60gensym37_1627390194 = modInt((s_1627389996).length, 3); - var inputEndsHEX60gensym37_1627390198 = subInt((s_1627389996).length, paddingHEX60gensym37_1627390194); - var inputIndexHEX60gensym37_1627390199 = 0; - var outputIndexHEX60gensym37_1627390200 = 0; - var nHEX60gensym37_1627390201 = 0; - var bHEX60gensym37_1627390202 = 0; - Label5: { - Label6: while (true) { - if (!!((inputIndexHEX60gensym37_1627390199 == inputEndsHEX60gensym37_1627390198))) break Label6; - bHEX60gensym37_1627390202 = s_1627389996[chckIndx(inputIndexHEX60gensym37_1627390199, 0, (s_1627389996).length - 1)]; - nHEX60gensym37_1627390201 = ((bHEX60gensym37_1627390202 << 16) >>> 0); - inputIndexHEX60gensym37_1627390199 = addInt(inputIndexHEX60gensym37_1627390199, 1); - bHEX60gensym37_1627390202 = s_1627389996[chckIndx(inputIndexHEX60gensym37_1627390199, 0, (s_1627389996).length - 1)]; - nHEX60gensym37_1627390201 = ((nHEX60gensym37_1627390201 | ((bHEX60gensym37_1627390202 << 8) >>> 0)) >>> 0); - inputIndexHEX60gensym37_1627390199 = addInt(inputIndexHEX60gensym37_1627390199, 1); - bHEX60gensym37_1627390202 = s_1627389996[chckIndx(inputIndexHEX60gensym37_1627390199, 0, (s_1627389996).length - 1)]; - nHEX60gensym37_1627390201 = ((nHEX60gensym37_1627390201 | ((bHEX60gensym37_1627390202 << 0) >>> 0)) >>> 0); - inputIndexHEX60gensym37_1627390199 = addInt(inputIndexHEX60gensym37_1627390199, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 18) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 12) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 6) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 0) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - } - }; - if ((paddingHEX60gensym37_1627390194 == 1)) { - bHEX60gensym37_1627390202 = s_1627389996[chckIndx(inputIndexHEX60gensym37_1627390199, 0, (s_1627389996).length - 1)]; - nHEX60gensym37_1627390201 = ((bHEX60gensym37_1627390202 << 16) >>> 0); - inputIndexHEX60gensym37_1627390199 = addInt(inputIndexHEX60gensym37_1627390199, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 18) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 12) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = 61; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = 61; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - } - else { - if ((paddingHEX60gensym37_1627390194 == 2)) { - bHEX60gensym37_1627390202 = s_1627389996[chckIndx(inputIndexHEX60gensym37_1627390199, 0, (s_1627389996).length - 1)]; - nHEX60gensym37_1627390201 = ((bHEX60gensym37_1627390202 << 16) >>> 0); - inputIndexHEX60gensym37_1627390199 = addInt(inputIndexHEX60gensym37_1627390199, 1); - bHEX60gensym37_1627390202 = s_1627389996[chckIndx(inputIndexHEX60gensym37_1627390199, 0, (s_1627389996).length - 1)]; - nHEX60gensym37_1627390201 = ((nHEX60gensym37_1627390201 | ((bHEX60gensym37_1627390202 << 8) >>> 0)) >>> 0); - inputIndexHEX60gensym37_1627390199 = addInt(inputIndexHEX60gensym37_1627390199, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 18) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 12) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = cb64_1627389956[chckIndx((((nHEX60gensym37_1627390201 >>> 6) & 63) >>> 0), 0, (cb64_1627389956).length - 1)]; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - result_1627389998[chckIndx(outputIndexHEX60gensym37_1627390200, 0, (result_1627389998).length - 1)] = 61; - outputIndexHEX60gensym37_1627390200 = addInt(outputIndexHEX60gensym37_1627390200, 1); - } - } - if (result_1627389998.length < chckRange(outputIndexHEX60gensym37_1627390200, 0, 2147483647)) { for (var i = result_1627389998.length; i < chckRange(outputIndexHEX60gensym37_1627390200, 0, 2147483647); ++i) result_1627389998.push(0); } - else {result_1627389998.length = chckRange(outputIndexHEX60gensym37_1627390200, 0, 2147483647); }; - } - - - return result_1627389998; - -} - -function addInt_301990080(result_301990081, result_301990081_Idx, x_301990082) { - addChars_301990086(result_301990081, result_301990081_Idx, ((x_301990082) + "")); - - -} - -function HEX24_385875982(x_385875983) { - var result_385875984 = [[]]; - - addInt_301990080(result_385875984, 0, x_385875983); - - return result_385875984[0]; - -} - -function join_1426073691(a_1426073693, sep_1426073694) { - var result_1426073695 = []; - - result_1426073695 = nimCopy(null, [], NTI33554449); - Label1: { - var i_1426073727 = 0; - var x_1426073728 = 0; - var i_570425955 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425955 < (a_1426073693).length)) break Label3; - i_1426073727 = i_570425955; - x_1426073728 = a_1426073693[chckIndx(i_570425955, 0, (a_1426073693).length - 1)]; - if ((0 < i_1426073727)) { - result_1426073695.push.apply(result_1426073695, sep_1426073694);; - } - - result_1426073695.push.apply(result_1426073695, HEX24_385875982(BigInt(x_1426073728)));; - i_570425955 = addInt(i_570425955, 1); - } - }; - }; - - return result_1426073695; - -} - -function renderStudentModeModal_1426073602(state_1426073603) { - -function HEX3Aanonymous_1426073623() { - document.getElementById("student-modal").classList.remove("active"); - document.getElementById("settings-stm").checked = false; - document.getElementById("student-modal-input").value = ""; - document.getElementById("student-modal-content").classList.add("has-error"); - - - } - -function HEX3Aanonymous_1426073624() { - document.getElementById("student-modal").classList.remove("active"); - document.getElementById("settings-stm").checked = false; - document.getElementById("student-modal-input").value = ""; - document.getElementById("student-modal-content").classList.add("has-error"); - - - } - -function HEX3Aanonymous_1426073625(e_1426073626, n_1426073627) { - var ele_1426073628 = n_1426073627.dom; - var value_1426073629 = cstrToNimstr(ele_1426073628.value); - var inputHint_1426073630 = document.getElementById("student-modal-input-hint"); - var content_1426073631 = document.getElementById("student-modal-content"); - if (((value_1426073629).length < 4)) { - content_1426073631.classList.add("has-error"); - inputHint_1426073630.style.setProperty("visibility", "visible", []); - inputHint_1426073630.innerText = toJSStr(tooShortPassword_1728054047(state_1426073603.lang, [])); - } - else { - if ((20 < (value_1426073629).length)) { - content_1426073631.classList.add("has-error"); - inputHint_1426073630.style.setProperty("visibility", "visible", []); - inputHint_1426073630.innerText = toJSStr(tooLongPassword_1728054057(state_1426073603.lang, [])); - } - else { - content_1426073631.classList.remove("has-error"); - content_1426073631.classList.add("has-success"); - inputHint_1426073630.style.setProperty("visibility", "hidden", []); - } - } - if ((0 < (value_1426073629).length)) { - if (((ConstSet26[value_1426073629[chckIndx(0, 0, (value_1426073629).length - 1)]] != undefined) || (ConstSet27[HEX5BHEX5D_33557807(value_1426073629, 1)] != undefined))) { - ele_1426073628.value = toJSStr(nsuStrip(value_1426073629, true, true, ConstSet28)); - } - - } - - - - } - -function HEX3Aanonymous_1426073640(e_1426073641, n_1426073642) { - var ele_1426073646 = (document.getElementById("student-modal-input")); - if ((n_1426073642.dom.firstChild.innerText == "visibility")) { - n_1426073642.dom.firstChild.innerText = "visibility_off"; - ele_1426073646.type = "text"; - } - else { - n_1426073642.dom.firstChild.innerText = "visibility"; - ele_1426073646.type = "password"; - } - - - - } - -function HEX3Aanonymous_1426073667() { - BeforeRet: { - var inp_1426073668 = document.getElementById("student-modal-input"); - var value_1426073669 = cstrToNimstr(inp_1426073668.value); - if (!(contains_1459619435(passwordRange_1426063619, (value_1426073669).length))) { - break BeforeRet; - } - - inp_1426073668.value = ""; - if (state_1426073603.lastUsed.length < 0) { for (var i = state_1426073603.lastUsed.length ; i < 0 ; ++i) state_1426073603.lastUsed.push(0); } - else { state_1426073603.lastUsed.length = 0; }; - Label1: { - var i_1426073686 = 0; - var colontmp__570425947 = []; - colontmp__570425947 = encode_1627389994(value_1426073669, false); - var i_570425948 = 0; - var L_570425949 = (colontmp__570425947).length; - Label2: { - Label3: while (true) { - if (!(i_570425948 < L_570425949)) break Label3; - i_1426073686 = colontmp__570425947[chckIndx(i_570425948, 0, (colontmp__570425947).length - 1)]; - state_1426073603.lastUsed.push(i_1426073686);; - i_570425948 = addInt(i_570425948, 1); - if (!(((colontmp__570425947).length == L_570425949))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(264, 11) `len(a) == L` the length of the string changed while iterating over it")); - } - - } - }; - }; - window.localStorage.setItem("lastUsed", toJSStr(join_1426073691(state_1426073603.lastUsed, [46]))); - document.getElementById("student-modal").classList.remove("active"); - document.getElementById("student-modal-content").classList.add("has-error"); - state_1426073603.studentMode = true; - }; - - - } - - var result_1426073604 = null; - - var tmp_1426073605 = tree_754975616(44, []); - tmp_1426073605.class = "modal"; - tmp_1426073605.id = "student-modal"; - var tmp_1426073606 = tree_754975616(45, []); - tmp_1426073606.class = "modal-overlay"; - setAttr_754975467(tmp_1426073606, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073606, 0, HEX3Aanonymous_1426073623, kxi__); - add_754975552(tmp_1426073605, tmp_1426073606); - var tmp_1426073607 = tree_754975616(44, []); - tmp_1426073607.class = "modal-container"; - var tmp_1426073608 = tree_754975616(44, []); - tmp_1426073608.class = "modal-header"; - var tmp_1426073609 = tree_754975616(45, []); - tmp_1426073609.class = "btn btn-clear float-right"; - setAttr_754975467(tmp_1426073609, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073609, 0, HEX3Aanonymous_1426073624, kxi__); - add_754975552(tmp_1426073608, tmp_1426073609); - var tmp_1426073610 = tree_754975616(44, []); - tmp_1426073610.class = "modal-title h5"; - add_754975552(tmp_1426073610, text_754975684(switchToStudentMode_1728053977(state_1426073603.lang, []))); - add_754975552(tmp_1426073608, tmp_1426073610); - add_754975552(tmp_1426073607, tmp_1426073608); - var tmp_1426073611 = tree_754975616(44, []); - tmp_1426073611.class = "modal-body"; - var tmp_1426073612 = tree_754975616(44, []); - tmp_1426073612.class = "content has-error"; - tmp_1426073612.id = "student-modal-content"; - var tmp_1426073613 = tree_754975616(32, []); - add_754975552(tmp_1426073613, text_754975684(studentModeExplaination_1728053997(state_1426073603.lang, []))); - add_754975552(tmp_1426073612, tmp_1426073613); - var tmp_1426073614 = tree_754975616(44, []); - tmp_1426073614.class = "columns"; - tmp_1426073614.style = toCss_822084081([97,108,105,103,110,45,105,116,101,109,115,58,32,99,101,110,116,101,114,59]); - var tmp_1426073615 = tree_754975616(44, []); - tmp_1426073615.class = "column col-11"; - var tmp_1426073616 = tree_754975616(194, []); - tmp_1426073616.class = "form-input"; - setAttr_754975467(tmp_1426073616, "placeholder", toJSStr(password_1728054037(state_1426073603.lang, []))); - setAttr_754975467(tmp_1426073616, "type", "password"); - tmp_1426073616.id = "student-modal-input"; - setAttr_754975512(tmp_1426073616, "required", true); - setAttr_754975467(tmp_1426073616, "minlength", toJSStr(HEX24_385875976(4))); - setAttr_754975467(tmp_1426073616, "maxlength", "22"); - addEventHandler_721422102(tmp_1426073616, 25, HEX3Aanonymous_1426073625, kxi__); - add_754975552(tmp_1426073615, tmp_1426073616); - add_754975552(tmp_1426073614, tmp_1426073615); - var tmp_1426073617 = tree_754975616(44, []); - tmp_1426073617.class = "column col-1"; - var tmp_1426073618 = tree_754975616(195, []); - tmp_1426073618.class = "btn btn-action btn-sm"; - tmp_1426073618.style = toCss_822084081([98,111,114,100,101,114,58,32,110,111,110,101,59]); - var tmp_1426073619 = tree_754975616(71, []); - tmp_1426073619.class = "material-symbols-outlined"; - add_754975552(tmp_1426073619, text_754975684([118,105,115,105,98,105,108,105,116,121])); - add_754975552(tmp_1426073618, tmp_1426073619); - addEventHandler_721422102(tmp_1426073618, 0, HEX3Aanonymous_1426073640, kxi__); - add_754975552(tmp_1426073617, tmp_1426073618); - add_754975552(tmp_1426073614, tmp_1426073617); - add_754975552(tmp_1426073612, tmp_1426073614); - var tmp_1426073620 = tree_754975616(32, []); - tmp_1426073620.class = "form-input-hint"; - tmp_1426073620.id = "student-modal-input-hint"; - add_754975552(tmp_1426073620, text_754975684([101,120,97,109,112,108,101,32,104,105,110,116])); - add_754975552(tmp_1426073612, tmp_1426073620); - var tmp_1426073621 = tree_754975616(32, []); - add_754975552(tmp_1426073621, text_754975684(studentModeExplaination2_1728054007(state_1426073603.lang, []))); - add_754975552(tmp_1426073612, tmp_1426073621); - var tmp_1426073622 = tree_754975616(195, []); - tmp_1426073622.class = "btn btn-primary"; - tmp_1426073622.id = "student-modal-button"; - setAttr_754975467(tmp_1426073622, "type", "button"); - add_754975552(tmp_1426073622, text_754975684(switchToStudentMode_1728053977(state_1426073603.lang, []))); - addEventHandler_721422110(tmp_1426073622, 0, HEX3Aanonymous_1426073667, kxi__); - add_754975552(tmp_1426073612, tmp_1426073622); - add_754975552(tmp_1426073611, tmp_1426073612); - add_754975552(tmp_1426073607, tmp_1426073611); - add_754975552(tmp_1426073605, tmp_1426073607); - result_1426073604 = tmp_1426073605; - - return result_1426073604; - -} - -function switchToTeacherMode_English_1728053981(arguments_1728053982) { - var result_1728053983 = []; - - BeforeRet: { - result_1728053983 = nimCopy(null, nsuFormatVarargs([83,119,105,116,99,104,32,116,111,32,84,101,97,99,104,101,114,32,77,111,100,101], arguments_1728053982), NTI33554449); - break BeforeRet; - }; - - return result_1728053983; - -} - -function switchToTeacherMode_Spanish_1728053984(arguments_1728053985) { - var result_1728053986 = []; - - BeforeRet: { - result_1728053986 = nimCopy(null, nsuFormatVarargs([67,97,109,98,105,97,114,32,97,32,77,111,100,111,32,80,114,111,102,101,115,111,114], arguments_1728053985), NTI33554449); - break BeforeRet; - }; - - return result_1728053986; - -} - -function switchToTeacherMode_1728053987(locale_1728053988, arguments_1728053989) { - var result_1728053990 = []; - - BeforeRet: { - switch (locale_1728053988) { - case 0: - result_1728053990 = nimCopy(null, switchToTeacherMode_English_1728053981(arguments_1728053989), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053990 = nimCopy(null, switchToTeacherMode_Spanish_1728053984(arguments_1728053989), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053990; - -} - -function teacherModeExplaination_English_1728054061(arguments_1728054062) { - var result_1728054063 = []; - - BeforeRet: { - result_1728054063 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("To switch back to Teacher Mode you will have to enter the password that was set when switching to Student Mode."), arguments_1728054062), NTI33554449); - break BeforeRet; - }; - - return result_1728054063; - -} - -function teacherModeExplaination_Spanish_1728054064(arguments_1728054065) { - var result_1728054066 = []; - - BeforeRet: { - result_1728054066 = nimCopy(null, nsuFormatVarargs(makeNimstrLit("Para volver al Modo Profesor necesitas ingresar la contrase\xC3\xB1a que fue ingresada cuando se cambi\xC3\xB3 al Modo Estudiante."), arguments_1728054065), NTI33554449); - break BeforeRet; - }; - - return result_1728054066; - -} - -function teacherModeExplaination_1728054067(locale_1728054068, arguments_1728054069) { - var result_1728054070 = []; - - BeforeRet: { - switch (locale_1728054068) { - case 0: - result_1728054070 = nimCopy(null, teacherModeExplaination_English_1728054061(arguments_1728054069), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054070 = nimCopy(null, teacherModeExplaination_Spanish_1728054064(arguments_1728054069), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054070; - -} - -function newSeq_1426073556(len_1426073558) { - var result_1426073559 = []; - - result_1426073559 = new Array(len_1426073558); for (var i = 0 ; i < len_1426073558 ; ++i) { result_1426073559[i] = 0; } - return result_1426073559; - -} - -function HEX3DHEX3D_1426073574(x_1426073576, y_1426073577) { - var result_1426073578 = false; - - BeforeRet: { - var sameObject_1426073586 = false; - sameObject_1426073586 = x_1426073576 === y_1426073577 - if (sameObject_1426073586) { - result_1426073578 = true; - break BeforeRet; - } - - if (!(((x_1426073576).length == (y_1426073577).length))) { - result_1426073578 = false; - break BeforeRet; - } - - Label1: { - var i_1426073600 = 0; - var colontmp__570425963 = 0; - colontmp__570425963 = subInt((x_1426073576).length, 1); - var res_570425964 = 0; - Label2: { - Label3: while (true) { - if (!(res_570425964 <= colontmp__570425963)) break Label3; - i_1426073600 = res_570425964; - if (!((x_1426073576[chckIndx(i_1426073600, 0, (x_1426073576).length - 1)] == y_1426073577[chckIndx(i_1426073600, 0, (y_1426073577).length - 1)]))) { - result_1426073578 = false; - break BeforeRet; - } - - res_570425964 = addInt(res_570425964, 1); - } - }; - }; - result_1426073578 = true; - break BeforeRet; - }; - - return result_1426073578; - -} - -function wrongPassword_English_1728054081(arguments_1728054082) { - var result_1728054083 = []; - - BeforeRet: { - result_1728054083 = nimCopy(null, nsuFormatVarargs([87,114,111,110,103,32,112,97,115,115,119,111,114,100], arguments_1728054082), NTI33554449); - break BeforeRet; - }; - - return result_1728054083; - -} - -function wrongPassword_Spanish_1728054084(arguments_1728054085) { - var result_1728054086 = []; - - BeforeRet: { - result_1728054086 = nimCopy(null, nsuFormatVarargs([67,111,110,116,114,97,115,101,195,177,97,32,105,110,99,111,114,114,101,99,116,97], arguments_1728054085), NTI33554449); - break BeforeRet; - }; - - return result_1728054086; - -} - -function wrongPassword_1728054087(locale_1728054088, arguments_1728054089) { - var result_1728054090 = []; - - BeforeRet: { - switch (locale_1728054088) { - case 0: - result_1728054090 = nimCopy(null, wrongPassword_English_1728054081(arguments_1728054089), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728054090 = nimCopy(null, wrongPassword_Spanish_1728054084(arguments_1728054089), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728054090; - -} - -function renderTeacherModeModal_1426073477(state_1426073478) { - -function HEX3Aanonymous_1426073497() { - document.getElementById("teacher-modal").classList.remove("active"); - document.getElementById("settings-stm").checked = true; - document.getElementById("teacher-modal-input").value = ""; - document.getElementById("teacher-modal-content").classList.add("has-error"); - - - } - -function HEX3Aanonymous_1426073498() { - document.getElementById("teacher-modal").classList.remove("active"); - document.getElementById("settings-stm").checked = true; - document.getElementById("teacher-modal-input").value = ""; - document.getElementById("teacher-modal-content").classList.add("has-error"); - - - } - -function HEX3Aanonymous_1426073499(e_1426073500, n_1426073501) { - var ele_1426073502 = n_1426073501.dom; - var value_1426073503 = cstrToNimstr(ele_1426073502.value); - var inputHint_1426073504 = document.getElementById("teacher-modal-input-hint"); - var content_1426073505 = document.getElementById("teacher-modal-content"); - if (((value_1426073503).length < 4)) { - content_1426073505.classList.add("has-error"); - inputHint_1426073504.style.setProperty("visibility", "visible", []); - inputHint_1426073504.innerText = toJSStr(tooShortPassword_1728054047(state_1426073478.lang, [])); - } - else { - if ((20 < (value_1426073503).length)) { - content_1426073505.classList.add("has-error"); - inputHint_1426073504.style.setProperty("visibility", "visible", []); - inputHint_1426073504.innerText = toJSStr(tooLongPassword_1728054057(state_1426073478.lang, [])); - } - else { - content_1426073505.classList.remove("has-error"); - content_1426073505.classList.add("has-success"); - inputHint_1426073504.style.setProperty("visibility", "hidden", []); - } - } - if ((0 < (value_1426073503).length)) { - if (((ConstSet29[value_1426073503[chckIndx(0, 0, (value_1426073503).length - 1)]] != undefined) || (ConstSet30[HEX5BHEX5D_33557807(value_1426073503, 1)] != undefined))) { - ele_1426073502.value = toJSStr(nsuStrip(value_1426073503, true, true, ConstSet31)); - } - - } - - - - } - -function HEX3Aanonymous_1426073514(e_1426073515, n_1426073516) { - var ele_1426073520 = (document.getElementById("teacher-modal-input")); - if ((n_1426073516.dom.firstChild.innerText == "visibility")) { - n_1426073516.dom.firstChild.innerText = "visibility_off"; - ele_1426073520.type = "text"; - } - else { - n_1426073516.dom.firstChild.innerText = "visibility"; - ele_1426073520.type = "password"; - } - - - - } - -function HEX3Aanonymous_1426073541() { - BeforeRet: { - var inp_1426073542 = document.getElementById("teacher-modal-input"); - var value_1426073543 = cstrToNimstr(inp_1426073542.value); - if (!(contains_1459619435(passwordRange_1426063619, (value_1426073543).length))) { - break BeforeRet; - } - - var newP_1426073564 = newSeq_1426073556(0); - Label1: { - var i_1426073569 = 0; - var colontmp__570425958 = []; - colontmp__570425958 = encode_1627389994(value_1426073543, false); - var i_570425959 = 0; - var L_570425960 = (colontmp__570425958).length; - Label2: { - Label3: while (true) { - if (!(i_570425959 < L_570425960)) break Label3; - i_1426073569 = colontmp__570425958[chckIndx(i_570425959, 0, (colontmp__570425958).length - 1)]; - newP_1426073564.push(i_1426073569);; - i_570425959 = addInt(i_570425959, 1); - if (!(((colontmp__570425958).length == L_570425960))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(264, 11) `len(a) == L` the length of the string changed while iterating over it")); - } - - } - }; - }; - if (HEX3DHEX3D_1426073574(newP_1426073564, state_1426073478.lastUsed)) { - inp_1426073542.value = ""; - document.getElementById("teacher-modal").classList.remove("active"); - state_1426073478.studentMode = false; - window.localStorage.setItem("lastUsed", ""); - } - else { - var inputHint_1426073601 = document.getElementById("teacher-modal-input-hint"); - inputHint_1426073601.style.setProperty("visibility", "visible", []); - inputHint_1426073601.innerText = toJSStr(wrongPassword_1728054087(state_1426073478.lang, [])); - } - - document.getElementById("teacher-modal-content").classList.add("has-error"); - }; - - - } - - var result_1426073479 = null; - - var tmp_1426073480 = tree_754975616(44, []); - tmp_1426073480.class = "modal"; - tmp_1426073480.id = "teacher-modal"; - var tmp_1426073481 = tree_754975616(45, []); - tmp_1426073481.class = "modal-overlay"; - setAttr_754975467(tmp_1426073481, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073481, 0, HEX3Aanonymous_1426073497, kxi__); - add_754975552(tmp_1426073480, tmp_1426073481); - var tmp_1426073482 = tree_754975616(44, []); - tmp_1426073482.class = "modal-container"; - var tmp_1426073483 = tree_754975616(44, []); - tmp_1426073483.class = "modal-header"; - var tmp_1426073484 = tree_754975616(45, []); - tmp_1426073484.class = "btn btn-clear float-right"; - setAttr_754975467(tmp_1426073484, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073484, 0, HEX3Aanonymous_1426073498, kxi__); - add_754975552(tmp_1426073483, tmp_1426073484); - var tmp_1426073485 = tree_754975616(44, []); - tmp_1426073485.class = "modal-title h5"; - add_754975552(tmp_1426073485, text_754975684(switchToTeacherMode_1728053987(state_1426073478.lang, []))); - add_754975552(tmp_1426073483, tmp_1426073485); - add_754975552(tmp_1426073482, tmp_1426073483); - var tmp_1426073486 = tree_754975616(44, []); - tmp_1426073486.class = "modal-body"; - var tmp_1426073487 = tree_754975616(44, []); - tmp_1426073487.class = "content has-error"; - tmp_1426073487.id = "teacher-modal-content"; - var tmp_1426073488 = tree_754975616(32, []); - add_754975552(tmp_1426073488, text_754975684(teacherModeExplaination_1728054067(state_1426073478.lang, []))); - add_754975552(tmp_1426073487, tmp_1426073488); - var tmp_1426073489 = tree_754975616(44, []); - tmp_1426073489.class = "columns"; - tmp_1426073489.style = toCss_822084081([97,108,105,103,110,45,105,116,101,109,115,58,32,99,101,110,116,101,114,59]); - var tmp_1426073490 = tree_754975616(44, []); - tmp_1426073490.class = "column col-11"; - var tmp_1426073491 = tree_754975616(194, []); - tmp_1426073491.class = "form-input"; - setAttr_754975467(tmp_1426073491, "placeholder", toJSStr(password_1728054037(state_1426073478.lang, []))); - setAttr_754975467(tmp_1426073491, "type", "password"); - tmp_1426073491.id = "teacher-modal-input"; - setAttr_754975512(tmp_1426073491, "required", true); - setAttr_754975467(tmp_1426073491, "minlength", toJSStr(HEX24_385875976(4))); - setAttr_754975467(tmp_1426073491, "maxlength", "22"); - addEventHandler_721422102(tmp_1426073491, 25, HEX3Aanonymous_1426073499, kxi__); - add_754975552(tmp_1426073490, tmp_1426073491); - add_754975552(tmp_1426073489, tmp_1426073490); - var tmp_1426073492 = tree_754975616(44, []); - tmp_1426073492.class = "column col-1"; - var tmp_1426073493 = tree_754975616(195, []); - tmp_1426073493.class = "btn btn-action btn-sm"; - tmp_1426073493.style = toCss_822084081([98,111,114,100,101,114,58,32,110,111,110,101,59]); - var tmp_1426073494 = tree_754975616(71, []); - tmp_1426073494.class = "material-symbols-outlined"; - add_754975552(tmp_1426073494, text_754975684([118,105,115,105,98,105,108,105,116,121])); - add_754975552(tmp_1426073493, tmp_1426073494); - addEventHandler_721422102(tmp_1426073493, 0, HEX3Aanonymous_1426073514, kxi__); - add_754975552(tmp_1426073492, tmp_1426073493); - add_754975552(tmp_1426073489, tmp_1426073492); - add_754975552(tmp_1426073487, tmp_1426073489); - var tmp_1426073495 = tree_754975616(32, []); - tmp_1426073495.class = "form-input-hint"; - tmp_1426073495.id = "teacher-modal-input-hint"; - add_754975552(tmp_1426073495, text_754975684([101,120,97,109,112,108,101,32,104,105,110,116])); - add_754975552(tmp_1426073487, tmp_1426073495); - var tmp_1426073496 = tree_754975616(195, []); - tmp_1426073496.class = "btn btn-primary"; - tmp_1426073496.id = "teacher-modal-button"; - setAttr_754975467(tmp_1426073496, "type", "button"); - add_754975552(tmp_1426073496, text_754975684(switchToTeacherMode_1728053987(state_1426073478.lang, []))); - addEventHandler_721422110(tmp_1426073496, 0, HEX3Aanonymous_1426073541, kxi__); - add_754975552(tmp_1426073487, tmp_1426073496); - add_754975552(tmp_1426073486, tmp_1426073487); - add_754975552(tmp_1426073482, tmp_1426073486); - add_754975552(tmp_1426073480, tmp_1426073482); - result_1426073479 = tmp_1426073480; - - return result_1426073479; - -} - -function renderSettingsModal_1426073737(state_1426073738) { - -function HEX3Aanonymous_1426073821() { - document.getElementById("settings-modal").classList.remove("active"); - - - } - -function HEX3Aanonymous_1426073822() { - document.getElementById("settings-modal").classList.remove("active"); - - - } - var Temporary4; - -function onClickStep_1426073740(index_1426073741, t_1426073742) { - -function HEX3Aanonymous_1426073744(e_1426073745, n_1426073746) { - BeforeRet: { - e_1426073745.preventDefault(); - if (state_1426073738.studentMode) { - break BeforeRet; - } - - state_1426073738.engine.timing.timeScale = (0.028 * t_1426073742); - window.localStorage.setItem("timescale", toJSStr(HEX24_385875976(index_1426073741))); - }; - - - } - - var result_1426073743 = null; - - result_1426073743 = HEX3Aanonymous_1426073744; - - return result_1426073743; - - } - -function HEX3Aanonymous_1426073909(e_1426073910, n_1426073911) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - var i_1426073912 = [0]; - var _ = parseInt_889193355(cstrToNimstr(value_754975170(n_1426073911)), i_1426073912, 0, 0); - changeLang_1426069481(state_1426073738, chckRange(i_1426073912[0], 0, 1)); - }; - - - } - -function HEX3Aanonymous_1426073913(ev_1426073914, n_1426073915) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - state_1426073738.canon.showVArrow = n_1426073915.dom.checked; - window.localStorage.setItem("showVArrow", toJSStr(nimBoolToStr(n_1426073915.dom.checked))); - }; - - - } - -function HEX3Aanonymous_1426073916(ev_1426073917, n_1426073918) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - state_1426073738.canon.showVxArrow = n_1426073918.dom.checked; - window.localStorage.setItem("showVxArrow", toJSStr(nimBoolToStr(n_1426073918.dom.checked))); - }; - - - } - -function HEX3Aanonymous_1426073919(ev_1426073920, n_1426073921) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - state_1426073738.canon.showVyArrow = n_1426073921.dom.checked; - window.localStorage.setItem("showVyArrow", toJSStr(nimBoolToStr(n_1426073921.dom.checked))); - }; - - - } - -function HEX3Aanonymous_1426073922(ev_1426073923, n_1426073924) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - state_1426073738.showFormulaResults = n_1426073924.dom.checked; - window.localStorage.setItem("formulaResults", toJSStr(nimBoolToStr(n_1426073924.dom.checked))); - updateFormulaAccordion_1426064398(state_1426073738); - updatePointAccordion_1426064918(state_1426073738); - updateStateAccordion_1426064733(state_1426073738); - }; - - - } - -function HEX3Aanonymous_1426073925(ev_1426073926, n_1426073927) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - state_1426073738.showFormulaProc = n_1426073927.dom.checked; - window.localStorage.setItem("formulaProc", toJSStr(nimBoolToStr(n_1426073927.dom.checked))); - updateFormulaAccordion_1426064398(state_1426073738); - updatePointAccordion_1426064918(state_1426073738); - updateStateAccordion_1426064733(state_1426073738); - }; - - - } - -function HEX3Aanonymous_1426073928(ev_1426073929, n_1426073930) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - toggleStarsAnimation_1426069424(n_1426073930.dom.checked); - window.localStorage.setItem("starsAnimation", toJSStr(nimBoolToStr(n_1426073930.dom.checked))); - }; - - - } - -function HEX3Aanonymous_1426073931(ev_1426073932, n_1426073933) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - changeBlocksCollision_1426069611(state_1426073738, n_1426073933.dom.checked); - window.localStorage.setItem("collideWithBlocks", toJSStr(nimBoolToStr(n_1426073933.dom.checked))); - }; - - - } - -function HEX3Aanonymous_1426073934(e_1426073935, n_1426073936) { - BeforeRet: { - if (state_1426073738.studentMode) { - break BeforeRet; - } - - var v_1426073937 = [0]; - var _ = parseInt_889193355(cstrToNimstr(value_754975170(n_1426073936)), v_1426073937, 0, 0); - changeBulletsLimit_1426069485(state_1426073738, v_1426073937[0], n_1426073936.dom); - window.localStorage.setItem("bulletsLimit", toJSStr(HEX24_385875976(state_1426073738.canon.bulletsLimit))); - }; - - - } - -function HEX3Aanonymous_1426073938(e_1426073939, n_1426073940) { - n_1426073940.dom.parentElement.setAttribute("data-tooltip", value_754975170(n_1426073940)); - - - } - -function HEX3Aanonymous_1426073942(ev_1426073943, n_1426073944) { - if (state_1426073738.studentMode) { - document.getElementById("teacher-modal").classList.add("active"); - document.getElementById("teacher-modal-input-hint").style.setProperty("visibility", "hidden", []); - } - else { - document.getElementById("student-modal").classList.add("active"); - document.getElementById("student-modal-input-hint").style.setProperty("visibility", "hidden", []); - } - - - - } - - var result_1426073739 = null; - - var tmp_1426073760 = tree_754975616(44, []); - tmp_1426073760.class = "modal"; - tmp_1426073760.id = "settings-modal"; - var tmp_1426073761 = tree_754975616(45, []); - tmp_1426073761.class = "modal-overlay"; - setAttr_754975467(tmp_1426073761, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073761, 0, HEX3Aanonymous_1426073821, kxi__); - add_754975552(tmp_1426073760, tmp_1426073761); - var tmp_1426073762 = tree_754975616(44, []); - tmp_1426073762.class = "modal-container"; - var tmp_1426073763 = tree_754975616(44, []); - tmp_1426073763.class = "modal-header"; - var tmp_1426073764 = tree_754975616(45, []); - tmp_1426073764.class = "btn btn-clear float-right"; - setAttr_754975467(tmp_1426073764, "aria-label", "Close"); - addEventHandler_721422110(tmp_1426073764, 0, HEX3Aanonymous_1426073822, kxi__); - add_754975552(tmp_1426073763, tmp_1426073764); - var tmp_1426073765 = tree_754975616(44, []); - tmp_1426073765.class = "modal-title h5"; - add_754975552(tmp_1426073765, text_754975684(settings_1728053647(state_1426073738.lang, []))); - add_754975552(tmp_1426073763, tmp_1426073765); - add_754975552(tmp_1426073762, tmp_1426073763); - var tmp_1426073766 = tree_754975616(44, []); - tmp_1426073766.class = "modal-body"; - var tmp_1426073767 = tree_754975616(44, []); - tmp_1426073767.class = "content"; - var tmp_1426073768 = tree_754975616(190, []); - tmp_1426073768.class = "form-horizontal"; - var tmp_1426073769 = tree_754975616(44, []); - tmp_1426073769.class = "form-group"; - var tmp_1426073770 = tree_754975616(44, []); - tmp_1426073770.class = "col-3 col-sm-12"; - var tmp_1426073771 = tree_754975616(193, []); - tmp_1426073771.class = "form-label"; - setAttr_754975467(tmp_1426073771, "for", "settings-ts"); - add_754975552(tmp_1426073771, text_754975684(timeScale_1728053657(state_1426073738.lang, []))); - add_754975552(tmp_1426073770, tmp_1426073771); - add_754975552(tmp_1426073769, tmp_1426073770); - var tmp_1426073772 = tree_754975616(44, []); - tmp_1426073772.class = class_1694499126([99,111,108,45,57,32,99,111,108,45,115,109,45,49,50], [nimCopy(null, {Field0: [100,105,115,97,98,108,101,100,80,97,114,101,110,116], Field1: state_1426073738.studentMode}, NTI1426071205)]); - var tmp_1426073773 = tree_754975616(37, []); - tmp_1426073773.class = class_1694499126([115,116,101,112], [nimCopy(null, {Field0: [100,105,115,97,98,108,101,100,67,104,105,108,100], Field1: state_1426073738.studentMode}, NTI1426071212)]); - tmp_1426073773.id = "timesteps"; - if (state_1426073738.startedRendering) { - Label1: { - var e_1426073851 = 0; - var t_1426073852 = 0.0; - var i_570425931 = 0; - Label2: { - Label3: while (true) { - if (!true) break Label3; - e_1426073851 = i_570425931; - t_1426073852 = timeSteps_1426063536[chckIndx(i_570425931, 0, (timeSteps_1426063536).length - 1)]; - var tmp_1426073774 = tree_754975616(38, []); - if (!!((state_1426073738.engine == null))) Temporary4 = false; else { Temporary4 = ((state_1426073738.engine.timing.timeScale) == (0.028 * t_1426073852)); } tmp_1426073774.class = class_1694499126([115,116,101,112,45,105,116,101,109], [nimCopy(null, {Field0: [97,99,116,105,118,101], Field1: Temporary4}, NTI1426071236)]); - var tmp_1426073775 = tree_754975616(45, []); - setAttr_754975467(tmp_1426073775, "href", "#"); - Label5: { - var fmtRes_1426073869 = [mnewString(0)]; - formatValue_1426064018(fmtRes_1426073869, 0, t_1426073852, []); - fmtRes_1426073869[0].push.apply(fmtRes_1426073869[0], [195,151]);; - }; - add_754975552(tmp_1426073775, text_754975684(fmtRes_1426073869[0])); - addEventHandler_721422102(tmp_1426073775, 0, onClickStep_1426073740(e_1426073851, t_1426073852), kxi__); - add_754975552(tmp_1426073774, tmp_1426073775); - add_754975552(tmp_1426073773, tmp_1426073774); - if ((4 <= i_570425931)) { - break Label2; - } - - i_570425931 = addInt(i_570425931, 1); - } - }; - }; - } - - add_754975552(tmp_1426073772, tmp_1426073773); - add_754975552(tmp_1426073769, tmp_1426073772); - add_754975552(tmp_1426073768, tmp_1426073769); - var tmp_1426073776 = tree_754975616(44, []); - tmp_1426073776.class = "form-group"; - var tmp_1426073777 = tree_754975616(44, []); - tmp_1426073777.class = "col-3 col-sm-12"; - var tmp_1426073778 = tree_754975616(193, []); - tmp_1426073778.class = "form-label"; - setAttr_754975467(tmp_1426073778, "for", "settings-ts"); - add_754975552(tmp_1426073778, text_754975684(lang_1728053667(state_1426073738.lang, []))); - add_754975552(tmp_1426073777, tmp_1426073778); - add_754975552(tmp_1426073776, tmp_1426073777); - var tmp_1426073779 = tree_754975616(44, []); - tmp_1426073779.class = "col-9 col-sm-12"; - var tmp_1426073780 = tree_754975616(196, []); - tmp_1426073780.class = "form-select"; - tmp_1426073780.id = "langSelect"; - setAttr_754975512(tmp_1426073780, "disabled", state_1426073738.studentMode); - var e_1426073875 = 0; - Label6: { - var l_1426073900 = 0; - Label7: { - var v_570425939 = 0; - var res_570425940 = 0; - Label8: { - Label9: while (true) { - if (!(res_570425940 <= 1)) break Label9; - v_570425939 = chckRange(res_570425940, 0, 1); - l_1426073900 = v_570425939; - var tmp_1426073781 = tree_754975616(199, []); - valueHEX3D_754975173(tmp_1426073781, toJSStr(HEX24_385875976(e_1426073875))); - setAttr_754975467(tmp_1426073781, "value", toJSStr(HEX24_385875976(e_1426073875))); - add_754975552(tmp_1426073781, text_754975684(reprEnum(l_1426073900, NTI1728053251))); - add_754975552(tmp_1426073780, tmp_1426073781); - e_1426073875 = addInt(e_1426073875, 1); - res_570425940 = addInt(res_570425940, 1); - } - }; - }; - }; - addEventHandler_721422102(tmp_1426073780, 8, HEX3Aanonymous_1426073909, kxi__); - add_754975552(tmp_1426073779, tmp_1426073780); - add_754975552(tmp_1426073776, tmp_1426073779); - add_754975552(tmp_1426073768, tmp_1426073776); - var tmp_1426073782 = tree_754975616(44, []); - tmp_1426073782.class = "form-group"; - var tmp_1426073783 = tree_754975616(193, []); - tmp_1426073783.class = "form-switch"; - var tmp_1426073784 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073784, "type", "checkbox"); - tmp_1426073784.id = "settings-v"; - setAttr_754975512(tmp_1426073784, "checked", state_1426073738.canon.showVArrow); - setAttr_754975512(tmp_1426073784, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073784, 8, HEX3Aanonymous_1426073913, kxi__); - add_754975552(tmp_1426073783, tmp_1426073784); - var tmp_1426073785 = tree_754975616(62, []); - tmp_1426073785.class = "form-icon"; - add_754975552(tmp_1426073783, tmp_1426073785); - add_754975552(tmp_1426073783, text_754975684(showVArrow_1728053747(state_1426073738.lang, []))); - add_754975552(tmp_1426073782, tmp_1426073783); - add_754975552(tmp_1426073768, tmp_1426073782); - var tmp_1426073786 = tree_754975616(44, []); - tmp_1426073786.class = "form-group"; - var tmp_1426073787 = tree_754975616(193, []); - tmp_1426073787.class = "form-switch"; - var tmp_1426073788 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073788, "type", "checkbox"); - tmp_1426073788.id = "settings-vx"; - setAttr_754975512(tmp_1426073788, "checked", state_1426073738.canon.showVxArrow); - setAttr_754975512(tmp_1426073788, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073788, 8, HEX3Aanonymous_1426073916, kxi__); - add_754975552(tmp_1426073787, tmp_1426073788); - var tmp_1426073789 = tree_754975616(62, []); - tmp_1426073789.class = "form-icon"; - add_754975552(tmp_1426073787, tmp_1426073789); - add_754975552(tmp_1426073787, text_754975684(showVxArrow_1728053727(state_1426073738.lang, []))); - add_754975552(tmp_1426073786, tmp_1426073787); - add_754975552(tmp_1426073768, tmp_1426073786); - var tmp_1426073790 = tree_754975616(44, []); - tmp_1426073790.class = "form-group"; - var tmp_1426073791 = tree_754975616(193, []); - tmp_1426073791.class = "form-switch"; - var tmp_1426073792 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073792, "type", "checkbox"); - tmp_1426073792.id = "settings-vy"; - setAttr_754975512(tmp_1426073792, "checked", state_1426073738.canon.showVyArrow); - setAttr_754975512(tmp_1426073792, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073792, 8, HEX3Aanonymous_1426073919, kxi__); - add_754975552(tmp_1426073791, tmp_1426073792); - var tmp_1426073793 = tree_754975616(62, []); - tmp_1426073793.class = "form-icon"; - add_754975552(tmp_1426073791, tmp_1426073793); - add_754975552(tmp_1426073791, text_754975684(showVyArrow_1728053737(state_1426073738.lang, []))); - add_754975552(tmp_1426073790, tmp_1426073791); - add_754975552(tmp_1426073768, tmp_1426073790); - var tmp_1426073794 = tree_754975616(44, []); - tmp_1426073794.class = "form-group"; - var tmp_1426073795 = tree_754975616(193, []); - tmp_1426073795.class = "form-switch"; - var tmp_1426073796 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073796, "type", "checkbox"); - tmp_1426073796.id = "settings-er"; - setAttr_754975512(tmp_1426073796, "checked", state_1426073738.showFormulaResults); - setAttr_754975512(tmp_1426073796, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073796, 8, HEX3Aanonymous_1426073922, kxi__); - add_754975552(tmp_1426073795, tmp_1426073796); - var tmp_1426073797 = tree_754975616(62, []); - tmp_1426073797.class = "form-icon"; - add_754975552(tmp_1426073795, tmp_1426073797); - add_754975552(tmp_1426073795, text_754975684(showFormulaResults_1728053767(state_1426073738.lang, []))); - add_754975552(tmp_1426073794, tmp_1426073795); - add_754975552(tmp_1426073768, tmp_1426073794); - var tmp_1426073798 = tree_754975616(44, []); - tmp_1426073798.class = "form-group"; - var tmp_1426073799 = tree_754975616(193, []); - tmp_1426073799.class = "form-switch"; - var tmp_1426073800 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073800, "type", "checkbox"); - tmp_1426073800.id = "settings-erp"; - setAttr_754975512(tmp_1426073800, "checked", state_1426073738.showFormulaProc); - setAttr_754975512(tmp_1426073800, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073800, 8, HEX3Aanonymous_1426073925, kxi__); - add_754975552(tmp_1426073799, tmp_1426073800); - var tmp_1426073801 = tree_754975616(62, []); - tmp_1426073801.class = "form-icon"; - add_754975552(tmp_1426073799, tmp_1426073801); - add_754975552(tmp_1426073799, text_754975684(showFormulaProc_1728054077(state_1426073738.lang, []))); - add_754975552(tmp_1426073798, tmp_1426073799); - add_754975552(tmp_1426073768, tmp_1426073798); - var tmp_1426073802 = tree_754975616(44, []); - tmp_1426073802.class = "form-group tooltip"; - setAttr_754975467(tmp_1426073802, "data-tooltip", toJSStr(animationWarning_1728053797(state_1426073738.lang, []))); - var tmp_1426073803 = tree_754975616(193, []); - tmp_1426073803.class = "form-switch"; - var tmp_1426073804 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073804, "type", "checkbox"); - tmp_1426073804.id = "settings-sa"; - setAttr_754975512(tmp_1426073804, "checked", false); - setAttr_754975512(tmp_1426073804, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073804, 8, HEX3Aanonymous_1426073928, kxi__); - add_754975552(tmp_1426073803, tmp_1426073804); - var tmp_1426073805 = tree_754975616(62, []); - tmp_1426073805.class = "form-icon"; - add_754975552(tmp_1426073803, tmp_1426073805); - add_754975552(tmp_1426073803, text_754975684(starsAnimation_1728053777(state_1426073738.lang, []))); - add_754975552(tmp_1426073802, tmp_1426073803); - add_754975552(tmp_1426073768, tmp_1426073802); - var tmp_1426073806 = tree_754975616(44, []); - tmp_1426073806.class = "form-group tooltip"; - setAttr_754975467(tmp_1426073806, "data-tooltip", toJSStr(collideWithBlocksTooltip_1728054027(state_1426073738.lang, []))); - var tmp_1426073807 = tree_754975616(193, []); - tmp_1426073807.class = "form-switch"; - var tmp_1426073808 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073808, "type", "checkbox"); - tmp_1426073808.id = "settings-cwb"; - setAttr_754975512(tmp_1426073808, "checked", true); - setAttr_754975512(tmp_1426073808, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073808, 8, HEX3Aanonymous_1426073931, kxi__); - add_754975552(tmp_1426073807, tmp_1426073808); - var tmp_1426073809 = tree_754975616(62, []); - tmp_1426073809.class = "form-icon"; - add_754975552(tmp_1426073807, tmp_1426073809); - add_754975552(tmp_1426073807, text_754975684(collideWithBlocks_1728054017(state_1426073738.lang, []))); - add_754975552(tmp_1426073806, tmp_1426073807); - add_754975552(tmp_1426073768, tmp_1426073806); - var tmp_1426073810 = tree_754975616(44, []); - tmp_1426073810.class = "form-group"; - var tmp_1426073811 = tree_754975616(44, []); - tmp_1426073811.class = "col-3 col-sm-12"; - var tmp_1426073812 = tree_754975616(193, []); - tmp_1426073812.class = "form-label"; - setAttr_754975467(tmp_1426073812, "for", "settings-bl"); - add_754975552(tmp_1426073812, text_754975684(bulletsLimit_1728053757(state_1426073738.lang, []))); - add_754975552(tmp_1426073811, tmp_1426073812); - add_754975552(tmp_1426073810, tmp_1426073811); - var tmp_1426073813 = tree_754975616(44, []); - tmp_1426073813.class = "col-9 col-sm-12 tooltip tooltip-left"; - setAttr_754975467(tmp_1426073813, "data-tooltip", toJSStr(HEX24_385875976(state_1426073738.canon.bulletsLimit))); - var tmp_1426073814 = tree_754975616(194, []); - tmp_1426073814.class = "slider"; - setAttr_754975467(tmp_1426073814, "type", "range"); - tmp_1426073814.id = "settings-bl"; - setAttr_754975467(tmp_1426073814, "min", toJSStr(HEX24_385875976(1))); - setAttr_754975467(tmp_1426073814, "max", toJSStr(HEX24_385875976(100))); - valueHEX3D_754975173(tmp_1426073814, toJSStr(HEX24_385875976(state_1426073738.canon.bulletsLimit))); - setAttr_754975467(tmp_1426073814, "value", toJSStr(HEX24_385875976(state_1426073738.canon.bulletsLimit))); - setAttr_754975467(tmp_1426073814, "step", "1"); - setAttr_754975512(tmp_1426073814, "disabled", state_1426073738.studentMode); - addEventHandler_721422102(tmp_1426073814, 8, HEX3Aanonymous_1426073934, kxi__); - addEventHandler_721422102(tmp_1426073814, 25, HEX3Aanonymous_1426073938, kxi__); - add_754975552(tmp_1426073813, tmp_1426073814); - add_754975552(tmp_1426073810, tmp_1426073813); - add_754975552(tmp_1426073768, tmp_1426073810); - var showStudentMode_1426073941 = (elementHasClass_1426073729([115,116,117,100,101,110,116,45,109,111,100,97,108], [97,99,116,105,118,101]) || (state_1426073738.studentMode && !(elementHasClass_1426073729([116,101,97,99,104,101,114,45,109,111,100,97,108], [97,99,116,105,118,101])))); - var tmp_1426073815 = tree_754975616(44, []); - tmp_1426073815.class = class_1694499126([102,111,114,109,45,103,114,111,117,112], [nimCopy(null, {Field0: [104,97,115,45,101,114,114,111,114], Field1: showStudentMode_1426073941}, NTI1426071461)]); - var tmp_1426073816 = tree_754975616(193, []); - tmp_1426073816.class = "form-switch"; - var tmp_1426073817 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073817, "type", "checkbox"); - tmp_1426073817.id = "settings-stm"; - setAttr_754975467(tmp_1426073817, "autocomplete", "off"); - setAttr_754975512(tmp_1426073817, "checked", false); - addEventHandler_721422102(tmp_1426073817, 8, HEX3Aanonymous_1426073942, kxi__); - add_754975552(tmp_1426073816, tmp_1426073817); - var tmp_1426073818 = tree_754975616(62, []); - tmp_1426073818.class = "form-icon"; - add_754975552(tmp_1426073816, tmp_1426073818); - if (showStudentMode_1426073941) { - add_754975552(tmp_1426073816, text_754975684(studentMode_1728053957(state_1426073738.lang, []))); - } - else { - add_754975552(tmp_1426073816, text_754975684(teacherMode_1728053967(state_1426073738.lang, []))); - } - - add_754975552(tmp_1426073815, tmp_1426073816); - add_754975552(tmp_1426073768, tmp_1426073815); - add_754975552(tmp_1426073767, tmp_1426073768); - add_754975552(tmp_1426073766, tmp_1426073767); - add_754975552(tmp_1426073762, tmp_1426073766); - var tmp_1426073819 = tree_754975616(44, []); - tmp_1426073819.class = "modal-footer"; - add_754975552(tmp_1426073819, text_754975684(aboutMsg_1728053787(state_1426073738.lang, [[118], [49,46,50,46,48]]))); - var tmp_1426073820 = tree_754975616(45, []); - setAttr_754975467(tmp_1426073820, "href", "https://github.com/Patitotective/parabola"); - add_754975552(tmp_1426073820, text_754975684([71,105,116,72,117,98])); - add_754975552(tmp_1426073819, tmp_1426073820); - add_754975552(tmp_1426073819, text_754975684([46])); - add_754975552(tmp_1426073762, tmp_1426073819); - add_754975552(tmp_1426073760, tmp_1426073762); - add_754975552(tmp_1426073760, renderStudentModeModal_1426073602(state_1426073738)); - add_754975552(tmp_1426073760, renderTeacherModeModal_1426073477(state_1426073738)); - result_1426073739 = tmp_1426073760; - - return result_1426073739; - -} - -function renderTrajectories_1426074005(state_1426074006) { - -function HEX3Aanonymous_1426074115() { - addTrajectory_1426073339(state_1426074006); - - - } - -function onRemoveClick_1426074032(e_1426074033) { - -function HEX3Aanonymous_1426074035() { - if (((state_1426074006.startedRendering && (1 < (state_1426074006.trajectories).length)) && contains_1426067200(state_1426074006.trajectories, e_1426074033))) { - delete_1426074046(state_1426074006, "trajectories", chckRange(e_1426074033, 0, 2147483647)); - if (((state_1426074006.trajectories).length - 1 < state_1426074006.currentTrajectory)) { - state_1426074006.currentTrajectory = (state_1426074006.trajectories).length - 1; - } - - moveCanonTo_1426065275(state_1426074006, (((state_1426074006.canvasSize.Field1 - 80.0) - state_1426074006.trajectories[chckIndx(state_1426074006.currentTrajectory, 0, (state_1426074006.trajectories).length - 1)].state.height) + canonYDiff_1426065254(state_1426074006)), false); - rotateCanon_1426064221(state_1426074006, degToRad_1694498964((normalizedAngleDeg_1426064191(state_1426074006.canon, 0.0) - state_1426074006.trajectories[chckIndx(state_1426074006.currentTrajectory, 0, (state_1426074006.trajectories).length - 1)].state.angleDeg)), true); - state_1426074006.engine.gravity.y = state_1426074006.trajectories[chckIndx(state_1426074006.currentTrajectory, 0, (state_1426074006.trajectories).length - 1)].state.gravity.Field1; - calcTrajectory_1426065138(state_1426074006); - if (state_1426074006.frozen) { - unfreeze_1426064133(state_1426074006); - } - - if (!(kxi__.surpressRedraws)) { - redraw_721421809(kxi__); - } - - } - - - - } - - var result_1426074034 = null; - - result_1426074034 = HEX3Aanonymous_1426074035; - - return result_1426074034; - - } - -function onRadioChange_1426074008(e_1426074009) { - -function HEX3Aanonymous_1426074011() { - if ((state_1426074006.startedRendering && contains_1426067200(state_1426074006.trajectories, e_1426074009))) { - state_1426074006.currentTrajectory = e_1426074009; - rotateCanon_1426064221(state_1426074006, degToRad_1694498964((normalizedAngleDeg_1426064191(state_1426074006.canon, 0.0) - state_1426074006.trajectories[chckIndx(state_1426074006.currentTrajectory, 0, (state_1426074006.trajectories).length - 1)].state.angleDeg)), true); - moveCanonTo_1426065275(state_1426074006, (((state_1426074006.canvasSize.Field1 - 80.0) - state_1426074006.trajectories[chckIndx(state_1426074006.currentTrajectory, 0, (state_1426074006.trajectories).length - 1)].state.height) + canonYDiff_1426065254(state_1426074006)), false); - state_1426074006.engine.gravity.y = state_1426074006.trajectories[chckIndx(state_1426074006.currentTrajectory, 0, (state_1426074006.trajectories).length - 1)].state.gravity.Field1; - calcTrajectory_1426065138(state_1426074006); - } - - - - } - - var result_1426074010 = null; - - result_1426074010 = HEX3Aanonymous_1426074011; - - return result_1426074010; - - } - -function HEX3Aanonymous_1426074177() { - document.getElementById("help-modal").classList.add("active"); - - - } - -function HEX3Aanonymous_1426074178() { - document.getElementById("settings-modal").classList.add("active"); - - - } - - var result_1426074007 = null; - - var tmp_1426074090 = tree_754975616(44, []); - tmp_1426074090.class = "form-horizontal"; - tmp_1426074090.style = toCss_822084081([109,97,114,103,105,110,58,32,48,114,101,109,32,48,114,101,109,32,45,48,46,51,114,101,109,32,49,46,51,114,101,109,59]); - var tmp_1426074091 = tree_754975616(44, []); - tmp_1426074091.class = "form-group"; - var tmp_1426074092 = tree_754975616(44, []); - tmp_1426074092.class = "col-3"; - var tmp_1426074093 = tree_754975616(193, []); - tmp_1426074093.class = "form-label tooltip tooltip-right"; - setAttr_754975467(tmp_1426074093, "data-tooltip", toJSStr(trajTooltip_1728053687(state_1426074006.lang, []))); - add_754975552(tmp_1426074093, text_754975684(trajecs_1728053677(state_1426074006.lang, []))); - add_754975552(tmp_1426074092, tmp_1426074093); - add_754975552(tmp_1426074091, tmp_1426074092); - var tmp_1426074094 = tree_754975616(44, []); - tmp_1426074094.class = "col-7"; - tmp_1426074094.id = "traj-radios"; - if (((state_1426074006.trajectories).length < 16)) { - var tmp_1426074095 = tree_754975616(195, []); - tmp_1426074095.class = "btn btn-action btn-sm"; - tmp_1426074095.style = toCss_822084081([109,97,114,103,105,110,45,114,105,103,104,116,58,32,48,46,53,114,101,109,59]); - var tmp_1426074096 = tree_754975616(71, []); - tmp_1426074096.class = "material-symbols-outlined"; - add_754975552(tmp_1426074096, text_754975684([97,100,100])); - add_754975552(tmp_1426074095, tmp_1426074096); - addEventHandler_721422110(tmp_1426074095, 0, HEX3Aanonymous_1426074115, kxi__); - add_754975552(tmp_1426074094, tmp_1426074095); - } - - Label1: { - var e_1426074169 = 0; - var t_1426074170 = ({state: ({angleDeg: 0.0, angleRad: 0.0, speed: 0.0, height: 0.0, vel: {Field0: 0.0, Field1: 0.0}, gravity: {Field0: 0.0, Field1: 0.0}}), points: [], highestPoint: 0, closestPoint: 0, extraPoint: 0, pinnedPoint: 0, color: 0}); - var i_570425912 = 0; - var L_570425913 = (state_1426074006.trajectories).length; - Label2: { - Label3: while (true) { - if (!(i_570425912 < L_570425913)) break Label3; - e_1426074169 = i_570425912; - t_1426074170 = nimCopy(t_1426074170, state_1426074006.trajectories[chckIndx(i_570425912, 0, (state_1426074006.trajectories).length - 1)], NTI1426063366); - var checked_1426074171 = (state_1426074006.currentTrajectory == e_1426074169); - var color_1426074172 = nimCopy(null, trajectoryStrokeStyles_1426063558[chckIndx(t_1426074170.color, 0, (trajectoryStrokeStyles_1426063558).length - 1)], NTI33554449); - var tmp_1426074097 = tree_754975616(193, []); - tmp_1426074097.class = "form-radio form-inline"; - addEventHandler_721422110(tmp_1426074097, 2, onRemoveClick_1426074032(e_1426074169), kxi__); - var tmp_1426074098 = tree_754975616(194, []); - setAttr_754975467(tmp_1426074098, "type", "radio"); - setAttr_754975467(tmp_1426074098, "name", "trajectory"); - addEventHandler_721422110(tmp_1426074098, 8, onRadioChange_1426074008(e_1426074169), kxi__); - setAttr_754975512(tmp_1426074098, "checked", checked_1426074171); - add_754975552(tmp_1426074097, tmp_1426074098); - var tmp_1426074099 = tree_754975616(62, []); - tmp_1426074099.class = "form-icon"; - Label4: { - var fmtRes_1426074176 = [mnewString(0)]; - fmtRes_1426074176[0].push.apply(fmtRes_1426074176[0], [98,97,99,107,103,114,111,117,110,100,45,99,111,108,111,114,58,32]);; - formatValue_1577058475(fmtRes_1426074176, 0, color_1426074172, []); - fmtRes_1426074176[0].push.apply(fmtRes_1426074176[0], [59,32,98,111,114,100,101,114,45,99,111,108,111,114,58,32,99,111,108,111,114,45,109,105,120,40,105,110,32,115,114,103,98,44,32,98,108,97,99,107,32,49,53,37,44,32]);; - formatValue_1577058475(fmtRes_1426074176, 0, color_1426074172, []); - fmtRes_1426074176[0].push.apply(fmtRes_1426074176[0], [41,59]);; - }; - tmp_1426074099.style = toCss_822084081(fmtRes_1426074176[0]); - add_754975552(tmp_1426074097, tmp_1426074099); - add_754975552(tmp_1426074094, tmp_1426074097); - i_570425912 = addInt(i_570425912, 1); - if (!(((state_1426074006.trajectories).length == L_570425913))) { - failedAssertImpl_268435541(makeNimstrLit("iterators.nim(179, 11) `len(a) == L` the length of the seq changed while iterating over it")); - } - - } - }; - }; - add_754975552(tmp_1426074091, tmp_1426074094); - var tmp_1426074100 = tree_754975616(44, []); - tmp_1426074100.class = "col-2"; - tmp_1426074100.style = toCss_822084081([112,97,100,100,105,110,103,45,114,105,103,104,116,58,32,48,46,52,114,101,109,59,32,100,105,115,112,108,97,121,58,32,102,108,101,120,59,32,106,117,115,116,105,102,121,45,99,111,110,116,101,110,116,58,32,102,108,101,120,45,101,110,100,59]); - var tmp_1426074101 = tree_754975616(195, []); - tmp_1426074101.class = "btn btn-action btn-sm"; - tmp_1426074101.style = toCss_822084081([98,111,114,100,101,114,58,32,110,111,110,101,59]); - var tmp_1426074102 = tree_754975616(71, []); - tmp_1426074102.class = "material-symbols-outlined"; - add_754975552(tmp_1426074102, text_754975684([104,101,108,112])); - add_754975552(tmp_1426074101, tmp_1426074102); - addEventHandler_721422110(tmp_1426074101, 0, HEX3Aanonymous_1426074177, kxi__); - add_754975552(tmp_1426074100, tmp_1426074101); - var tmp_1426074103 = tree_754975616(195, []); - tmp_1426074103.class = "btn btn-action btn-sm"; - tmp_1426074103.style = toCss_822084081([98,111,114,100,101,114,58,32,110,111,110,101,59]); - var tmp_1426074104 = tree_754975616(71, []); - tmp_1426074104.class = "material-symbols-outlined"; - add_754975552(tmp_1426074104, text_754975684([115,101,116,116,105,110,103,115])); - add_754975552(tmp_1426074103, tmp_1426074104); - addEventHandler_721422110(tmp_1426074103, 0, HEX3Aanonymous_1426074178, kxi__); - add_754975552(tmp_1426074100, tmp_1426074103); - add_754975552(tmp_1426074091, tmp_1426074100); - add_754975552(tmp_1426074090, tmp_1426074091); - add_754975552(tmp_1426074090, renderHelpModal_1426073451(state_1426074006)); - add_754975552(tmp_1426074090, renderSettingsModal_1426073737(state_1426074006)); - result_1426074007 = tmp_1426074090; - - return result_1426074007; - -} - -function fireTooltip_English_1728053941(arguments_1728053942) { - var result_1728053943 = []; - - BeforeRet: { - result_1728053943 = nimCopy(null, nsuFormatVarargs([80,114,101,115,115,32,115,112,97,99,101,32,111,114,32,109,105,100,100,108,101,45,99,108,105,99,107], arguments_1728053942), NTI33554449); - break BeforeRet; - }; - - return result_1728053943; - -} - -function fireTooltip_Spanish_1728053944(arguments_1728053945) { - var result_1728053946 = []; - - BeforeRet: { - result_1728053946 = nimCopy(null, nsuFormatVarargs([80,114,101,115,105,111,110,97,32,101,115,112,97,99,105,111,32,111,10,100,97,32,99,108,105,99,32,99,111,110,32,108,97,32,114,117,101,100,97], arguments_1728053945), NTI33554449); - break BeforeRet; - }; - - return result_1728053946; - -} - -function fireTooltip_1728053947(locale_1728053948, arguments_1728053949) { - var result_1728053950 = []; - - BeforeRet: { - switch (locale_1728053948) { - case 0: - result_1728053950 = nimCopy(null, fireTooltip_English_1728053941(arguments_1728053949), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053950 = nimCopy(null, fireTooltip_Spanish_1728053944(arguments_1728053949), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053950; - -} - -function togglePauseTooltip_English_1728053921(arguments_1728053922) { - var result_1728053923 = []; - - BeforeRet: { - result_1728053923 = nimCopy(null, nsuFormatVarargs([80,114,101,115,115,32,80], arguments_1728053922), NTI33554449); - break BeforeRet; - }; - - return result_1728053923; - -} - -function togglePauseTooltip_Spanish_1728053924(arguments_1728053925) { - var result_1728053926 = []; - - BeforeRet: { - result_1728053926 = nimCopy(null, nsuFormatVarargs([80,114,101,115,105,111,110,97,32,108,97,32,80], arguments_1728053925), NTI33554449); - break BeforeRet; - }; - - return result_1728053926; - -} - -function togglePauseTooltip_1728053927(locale_1728053928, arguments_1728053929) { - var result_1728053930 = []; - - BeforeRet: { - switch (locale_1728053928) { - case 0: - result_1728053930 = nimCopy(null, togglePauseTooltip_English_1728053921(arguments_1728053929), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053930 = nimCopy(null, togglePauseTooltip_Spanish_1728053924(arguments_1728053929), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053930; - -} - -function reloadTooltip_English_1728053931(arguments_1728053932) { - var result_1728053933 = []; - - BeforeRet: { - result_1728053933 = nimCopy(null, nsuFormatVarargs([80,114,101,115,115,32,98,97,99,107,115,112,97,99,101], arguments_1728053932), NTI33554449); - break BeforeRet; - }; - - return result_1728053933; - -} - -function reloadTooltip_Spanish_1728053934(arguments_1728053935) { - var result_1728053936 = []; - - BeforeRet: { - result_1728053936 = nimCopy(null, nsuFormatVarargs([80,114,101,115,105,111,110,97,32,114,101,116,114,111,99,101,115,111], arguments_1728053935), NTI33554449); - break BeforeRet; - }; - - return result_1728053936; - -} - -function reloadTooltip_1728053937(locale_1728053938, arguments_1728053939) { - var result_1728053940 = []; - - BeforeRet: { - switch (locale_1728053938) { - case 0: - result_1728053940 = nimCopy(null, reloadTooltip_English_1728053931(arguments_1728053939), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053940 = nimCopy(null, reloadTooltip_Spanish_1728053934(arguments_1728053939), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053940; - -} - -function renderButtons_1426073992(state_1426073993) { - -function HEX3Aanonymous_1426074002() { - fireBullet_1426065718(state_1426073993); - - - } - -function HEX3Aanonymous_1426074003() { - BeforeRet: { - if (!(state_1426073993.startedRendering)) { - break BeforeRet; - } - - if (state_1426073993.paused) { - if (state_1426073993.frozen) { - unfreeze_1426064133(state_1426073993); - } - - unpause_1426064096(state_1426073993); - } - else { - pause_1426064084(state_1426073993); - } - - }; - - - } - -function HEX3Aanonymous_1426074004() { - if (state_1426073993.startedRendering) { - reload_1426071973(state_1426073993); - } - - - - } - - var result_1426073994 = null; - - var tmp_1426073995 = tree_754975616(44, []); - tmp_1426073995.class = "btn-group btn-group-block"; - tmp_1426073995.style = toCss_822084081([109,97,114,103,105,110,45,108,101,102,116,58,32,49,114,101,109,59,32,109,97,114,103,105,110,45,114,105,103,104,116,58,32,49,114,101,109,59]); - var tmp_1426073996 = tree_754975616(195, []); - tmp_1426073996.class = "btn btn-action btn-primary tooltip"; - setAttr_754975467(tmp_1426073996, "data-tooltip", toJSStr(fireTooltip_1728053947(state_1426073993.lang, []))); - var tmp_1426073997 = tree_754975616(71, []); - tmp_1426073997.class = "material-symbols-outlined"; - add_754975552(tmp_1426073997, text_754975684([114,111,99,107,101,116,95,108,97,117,110,99,104])); - add_754975552(tmp_1426073996, tmp_1426073997); - addEventHandler_721422110(tmp_1426073996, 0, HEX3Aanonymous_1426074002, kxi__); - add_754975552(tmp_1426073995, tmp_1426073996); - var tmp_1426073998 = tree_754975616(195, []); - tmp_1426073998.class = "btn btn-action btn-primary tooltip"; - setAttr_754975467(tmp_1426073998, "data-tooltip", toJSStr(togglePauseTooltip_1728053927(state_1426073993.lang, []))); - var tmp_1426073999 = tree_754975616(71, []); - tmp_1426073999.class = "material-symbols-outlined"; - if (state_1426073993.paused) { - add_754975552(tmp_1426073999, text_754975684([112,108,97,121,95,97,114,114,111,119])); - } - else { - add_754975552(tmp_1426073999, text_754975684([112,97,117,115,101])); - } - - add_754975552(tmp_1426073998, tmp_1426073999); - addEventHandler_721422110(tmp_1426073998, 0, HEX3Aanonymous_1426074003, kxi__); - add_754975552(tmp_1426073995, tmp_1426073998); - var tmp_1426074000 = tree_754975616(195, []); - tmp_1426074000.class = "btn btn-action btn-primary tooltip"; - setAttr_754975467(tmp_1426074000, "data-tooltip", toJSStr(reloadTooltip_1728053937(state_1426073993.lang, []))); - var tmp_1426074001 = tree_754975616(71, []); - tmp_1426074001.class = "material-symbols-outlined"; - add_754975552(tmp_1426074001, text_754975684([114,101,102,114,101,115,104])); - add_754975552(tmp_1426074000, tmp_1426074001); - addEventHandler_721422110(tmp_1426074000, 0, HEX3Aanonymous_1426074004, kxi__); - add_754975552(tmp_1426073995, tmp_1426074000); - result_1426073994 = tmp_1426073995; - - return result_1426073994; - -} - -function iniState_English_1728053691(arguments_1728053692) { - var result_1728053693 = []; - - BeforeRet: { - result_1728053693 = nimCopy(null, nsuFormatVarargs([73,110,105,116,105,97,108,32,83,116,97,116,101], arguments_1728053692), NTI33554449); - break BeforeRet; - }; - - return result_1728053693; - -} - -function iniState_Spanish_1728053694(arguments_1728053695) { - var result_1728053696 = []; - - BeforeRet: { - result_1728053696 = nimCopy(null, nsuFormatVarargs([69,115,116,97,100,111,32,73,110,105,99,105,97,108], arguments_1728053695), NTI33554449); - break BeforeRet; - }; - - return result_1728053696; - -} - -function iniState_1728053697(locale_1728053698, arguments_1728053699) { - var result_1728053700 = []; - - BeforeRet: { - switch (locale_1728053698) { - case 0: - result_1728053700 = nimCopy(null, iniState_English_1728053691(arguments_1728053699), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053700 = nimCopy(null, iniState_Spanish_1728053694(arguments_1728053699), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053700; - -} - -function height_English_1728053531(arguments_1728053532) { - var result_1728053533 = []; - - BeforeRet: { - result_1728053533 = nimCopy(null, nsuFormatVarargs([72,101,105,103,104,116], arguments_1728053532), NTI33554449); - break BeforeRet; - }; - - return result_1728053533; - -} - -function height_Spanish_1728053534(arguments_1728053535) { - var result_1728053536 = []; - - BeforeRet: { - result_1728053536 = nimCopy(null, nsuFormatVarargs([65,108,116,117,114,97], arguments_1728053535), NTI33554449); - break BeforeRet; - }; - - return result_1728053536; - -} - -function height_1728053537(locale_1728053538, arguments_1728053539) { - var result_1728053540 = []; - - BeforeRet: { - switch (locale_1728053538) { - case 0: - result_1728053540 = nimCopy(null, height_English_1728053531(arguments_1728053539), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053540 = nimCopy(null, height_Spanish_1728053534(arguments_1728053539), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053540; - -} - -function inputStep_1426064076(state_1426064077) { - var Temporary1; - - var result_1426064078 = []; - - if ((0 < state_1426064077.floatPrecision)) { - var places_1426064079 = subInt(state_1426064077.floatPrecision, 1); - Label2: { - var fmtRes_1426064083 = [mnewString(0)]; - fmtRes_1426064083[0].push.apply(fmtRes_1426064083[0], [48,46]);; - formatValue_1577058475(fmtRes_1426064083, 0, nsuRepeatChar(48, chckRange(places_1426064079, 0, 2147483647)), []); - fmtRes_1426064083[0].push.apply(fmtRes_1426064083[0], [49]);; - }; - Temporary1 = fmtRes_1426064083[0]; - } - else { - Temporary1 = [49]; - } - - result_1426064078 = nimCopy(null, Temporary1, NTI33554449); - - return result_1426064078; - -} - -function parseFloatNative_33557428(a_33557429) { - var result_33557430 = 0.0; - - var str_33557431 = []; - Label1: { - var x_33557445 = 0; - var i_570425980 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425980 < (a_33557429).length)) break Label3; - x_33557445 = a_33557429[i_570425980]; - addChar(str_33557431, x_33557445);; - i_570425980 += 1; - } - }; - }; - var cstr_33557446 = toJSStr(str_33557431); - result_33557430 = Number(cstr_33557446); - - - return result_33557430; - -} - -function npuParseFloat(s_889192978, number_889192979, number_889192979_Idx) { - var result_889192980 = 0; - - var bf_889192981 = [0.0]; - result_889192980 = nimParseBiggestFloat(s_889192978, bf_889192981, 0); - if (!((result_889192980 == 0))) { - number_889192979[number_889192979_Idx] = bf_889192981[0]; - } - - - return result_889192980; - -} - -function parseFloat_889193380(s_889193381, number_889193382, number_889193382_Idx, start_889193383) { - var result_889193384 = 0; - - result_889193384 = npuParseFloat((s_889193381.slice(start_889193383, (s_889193381).length - 1 + 1)), number_889193382, number_889193382_Idx); - - return result_889193384; - -} - -function fromMuDistance_1694499117(m_1694499118) { - var result_1694499119 = 0.0; - - result_1694499119 = (m_1694499118 * 10.0); - - return result_1694499119; - -} - -function angle_English_1728053541(arguments_1728053542) { - var result_1728053543 = []; - - BeforeRet: { - result_1728053543 = nimCopy(null, nsuFormatVarargs([65,110,103,108,101], arguments_1728053542), NTI33554449); - break BeforeRet; - }; - - return result_1728053543; - -} - -function angle_Spanish_1728053544(arguments_1728053545) { - var result_1728053546 = []; - - BeforeRet: { - result_1728053546 = nimCopy(null, nsuFormatVarargs([195,129,110,103,117,108,111], arguments_1728053545), NTI33554449); - break BeforeRet; - }; - - return result_1728053546; - -} - -function angle_1728053547(locale_1728053548, arguments_1728053549) { - var result_1728053550 = []; - - BeforeRet: { - switch (locale_1728053548) { - case 0: - result_1728053550 = nimCopy(null, angle_English_1728053541(arguments_1728053549), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053550 = nimCopy(null, angle_Spanish_1728053544(arguments_1728053549), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053550; - -} - -function speed_English_1728053551(arguments_1728053552) { - var result_1728053553 = []; - - BeforeRet: { - result_1728053553 = nimCopy(null, nsuFormatVarargs([83,112,101,101,100], arguments_1728053552), NTI33554449); - break BeforeRet; - }; - - return result_1728053553; - -} - -function speed_Spanish_1728053554(arguments_1728053555) { - var result_1728053556 = []; - - BeforeRet: { - result_1728053556 = nimCopy(null, nsuFormatVarargs([82,97,112,105,100,101,122], arguments_1728053555), NTI33554449); - break BeforeRet; - }; - - return result_1728053556; - -} - -function speed_1728053557(locale_1728053558, arguments_1728053559) { - var result_1728053560 = []; - - BeforeRet: { - switch (locale_1728053558) { - case 0: - result_1728053560 = nimCopy(null, speed_English_1728053551(arguments_1728053559), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053560 = nimCopy(null, speed_Spanish_1728053554(arguments_1728053559), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053560; - -} - -function fromMuSpeed_1694499120(speed_1694499121) { - var result_1694499122 = 0.0; - - result_1694499122 = (speed_1694499121 * 10.0); - - return result_1694499122; - -} - -function vx_English_1728053561(arguments_1728053562) { - var result_1728053563 = []; - - BeforeRet: { - result_1728053563 = nimCopy(null, nsuFormatVarargs([88,32,86,101,108], arguments_1728053562), NTI33554449); - break BeforeRet; - }; - - return result_1728053563; - -} - -function vx_Spanish_1728053564(arguments_1728053565) { - var result_1728053566 = []; - - BeforeRet: { - result_1728053566 = nimCopy(null, nsuFormatVarargs([86,101,108,32,101,110,32,88], arguments_1728053565), NTI33554449); - break BeforeRet; - }; - - return result_1728053566; - -} - -function vx_1728053567(locale_1728053568, arguments_1728053569) { - var result_1728053570 = []; - - BeforeRet: { - switch (locale_1728053568) { - case 0: - result_1728053570 = nimCopy(null, vx_English_1728053561(arguments_1728053569), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053570 = nimCopy(null, vx_Spanish_1728053564(arguments_1728053569), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053570; - -} - -function vy_English_1728053571(arguments_1728053572) { - var result_1728053573 = []; - - BeforeRet: { - result_1728053573 = nimCopy(null, nsuFormatVarargs([89,32,86,101,108], arguments_1728053572), NTI33554449); - break BeforeRet; - }; - - return result_1728053573; - -} - -function vy_Spanish_1728053574(arguments_1728053575) { - var result_1728053576 = []; - - BeforeRet: { - result_1728053576 = nimCopy(null, nsuFormatVarargs([86,101,108,32,101,110,32,89], arguments_1728053575), NTI33554449); - break BeforeRet; - }; - - return result_1728053576; - -} - -function vy_1728053577(locale_1728053578, arguments_1728053579) { - var result_1728053580 = []; - - BeforeRet: { - switch (locale_1728053578) { - case 0: - result_1728053580 = nimCopy(null, vy_English_1728053571(arguments_1728053579), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053580 = nimCopy(null, vy_Spanish_1728053574(arguments_1728053579), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053580; - -} - -function gravity_English_1728053581(arguments_1728053582) { - var result_1728053583 = []; - - BeforeRet: { - result_1728053583 = nimCopy(null, nsuFormatVarargs([71,114,97,118,105,116,121], arguments_1728053582), NTI33554449); - break BeforeRet; - }; - - return result_1728053583; - -} - -function gravity_Spanish_1728053584(arguments_1728053585) { - var result_1728053586 = []; - - BeforeRet: { - result_1728053586 = nimCopy(null, nsuFormatVarargs([71,114,97,118,101,100,97,100], arguments_1728053585), NTI33554449); - break BeforeRet; - }; - - return result_1728053586; - -} - -function gravity_1728053587(locale_1728053588, arguments_1728053589) { - var result_1728053590 = []; - - BeforeRet: { - switch (locale_1728053588) { - case 0: - result_1728053590 = nimCopy(null, gravity_English_1728053581(arguments_1728053589), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053590 = nimCopy(null, gravity_Spanish_1728053584(arguments_1728053589), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053590; - -} - -function fromMuAcceleration_1694499123(acceleration_1694499124) { - var result_1694499125 = 0.0; - - result_1694499125 = (acceleration_1694499124 * 10.0); - - return result_1694499125; - -} - -function pluto_English_1728053381(arguments_1728053382) { - var result_1728053383 = []; - - BeforeRet: { - result_1728053383 = nimCopy(null, nsuFormatVarargs([80,108,117,116,111], arguments_1728053382), NTI33554449); - break BeforeRet; - }; - - return result_1728053383; - -} - -function pluto_Spanish_1728053384(arguments_1728053385) { - var result_1728053386 = []; - - BeforeRet: { - result_1728053386 = nimCopy(null, nsuFormatVarargs([80,108,117,116,195,179,110], arguments_1728053385), NTI33554449); - break BeforeRet; - }; - - return result_1728053386; - -} - -function pluto_1728053387(locale_1728053388, arguments_1728053389) { - var result_1728053390 = []; - - BeforeRet: { - switch (locale_1728053388) { - case 0: - result_1728053390 = nimCopy(null, pluto_English_1728053381(arguments_1728053389), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053390 = nimCopy(null, pluto_Spanish_1728053384(arguments_1728053389), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053390; - -} - -function moon_English_1728053391(arguments_1728053392) { - var result_1728053393 = []; - - BeforeRet: { - result_1728053393 = nimCopy(null, nsuFormatVarargs([84,104,101,32,77,111,111,110], arguments_1728053392), NTI33554449); - break BeforeRet; - }; - - return result_1728053393; - -} - -function moon_Spanish_1728053394(arguments_1728053395) { - var result_1728053396 = []; - - BeforeRet: { - result_1728053396 = nimCopy(null, nsuFormatVarargs([76,97,32,76,117,110,97], arguments_1728053395), NTI33554449); - break BeforeRet; - }; - - return result_1728053396; - -} - -function moon_1728053397(locale_1728053398, arguments_1728053399) { - var result_1728053400 = []; - - BeforeRet: { - switch (locale_1728053398) { - case 0: - result_1728053400 = nimCopy(null, moon_English_1728053391(arguments_1728053399), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053400 = nimCopy(null, moon_Spanish_1728053394(arguments_1728053399), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053400; - -} - -function mercAndMars_English_1728053401(arguments_1728053402) { - var result_1728053403 = []; - - BeforeRet: { - result_1728053403 = nimCopy(null, nsuFormatVarargs([77,101,114,99,117,114,121,32,38,32,77,97,114,115], arguments_1728053402), NTI33554449); - break BeforeRet; - }; - - return result_1728053403; - -} - -function mercAndMars_Spanish_1728053404(arguments_1728053405) { - var result_1728053406 = []; - - BeforeRet: { - result_1728053406 = nimCopy(null, nsuFormatVarargs([77,101,114,99,117,114,105,111,32,89,32,77,97,114,116,101], arguments_1728053405), NTI33554449); - break BeforeRet; - }; - - return result_1728053406; - -} - -function mercAndMars_1728053407(locale_1728053408, arguments_1728053409) { - var result_1728053410 = []; - - BeforeRet: { - switch (locale_1728053408) { - case 0: - result_1728053410 = nimCopy(null, mercAndMars_English_1728053401(arguments_1728053409), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053410 = nimCopy(null, mercAndMars_Spanish_1728053404(arguments_1728053409), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053410; - -} - -function uranus_English_1728053411(arguments_1728053412) { - var result_1728053413 = []; - - BeforeRet: { - result_1728053413 = nimCopy(null, nsuFormatVarargs([85,114,97,110,117,115], arguments_1728053412), NTI33554449); - break BeforeRet; - }; - - return result_1728053413; - -} - -function uranus_Spanish_1728053414(arguments_1728053415) { - var result_1728053416 = []; - - BeforeRet: { - result_1728053416 = nimCopy(null, nsuFormatVarargs([85,114,97,110,111], arguments_1728053415), NTI33554449); - break BeforeRet; - }; - - return result_1728053416; - -} - -function uranus_1728053417(locale_1728053418, arguments_1728053419) { - var result_1728053420 = []; - - BeforeRet: { - switch (locale_1728053418) { - case 0: - result_1728053420 = nimCopy(null, uranus_English_1728053411(arguments_1728053419), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053420 = nimCopy(null, uranus_Spanish_1728053414(arguments_1728053419), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053420; - -} - -function venus_English_1728053421(arguments_1728053422) { - var result_1728053423 = []; - - BeforeRet: { - result_1728053423 = nimCopy(null, nsuFormatVarargs([86,101,110,117,115], arguments_1728053422), NTI33554449); - break BeforeRet; - }; - - return result_1728053423; - -} - -function venus_Spanish_1728053424(arguments_1728053425) { - var result_1728053426 = []; - - BeforeRet: { - result_1728053426 = nimCopy(null, nsuFormatVarargs([86,101,110,117,115], arguments_1728053425), NTI33554449); - break BeforeRet; - }; - - return result_1728053426; - -} - -function venus_1728053427(locale_1728053428, arguments_1728053429) { - var result_1728053430 = []; - - BeforeRet: { - switch (locale_1728053428) { - case 0: - result_1728053430 = nimCopy(null, venus_English_1728053421(arguments_1728053429), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053430 = nimCopy(null, venus_Spanish_1728053424(arguments_1728053429), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053430; - -} - -function saturn_English_1728053431(arguments_1728053432) { - var result_1728053433 = []; - - BeforeRet: { - result_1728053433 = nimCopy(null, nsuFormatVarargs([83,97,116,117,114,110], arguments_1728053432), NTI33554449); - break BeforeRet; - }; - - return result_1728053433; - -} - -function saturn_Spanish_1728053434(arguments_1728053435) { - var result_1728053436 = []; - - BeforeRet: { - result_1728053436 = nimCopy(null, nsuFormatVarargs([83,97,116,117,114,110,111], arguments_1728053435), NTI33554449); - break BeforeRet; - }; - - return result_1728053436; - -} - -function saturn_1728053437(locale_1728053438, arguments_1728053439) { - var result_1728053440 = []; - - BeforeRet: { - switch (locale_1728053438) { - case 0: - result_1728053440 = nimCopy(null, saturn_English_1728053431(arguments_1728053439), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053440 = nimCopy(null, saturn_Spanish_1728053434(arguments_1728053439), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053440; - -} - -function earth_English_1728053441(arguments_1728053442) { - var result_1728053443 = []; - - BeforeRet: { - result_1728053443 = nimCopy(null, nsuFormatVarargs([69,97,114,116,104], arguments_1728053442), NTI33554449); - break BeforeRet; - }; - - return result_1728053443; - -} - -function earth_Spanish_1728053444(arguments_1728053445) { - var result_1728053446 = []; - - BeforeRet: { - result_1728053446 = nimCopy(null, nsuFormatVarargs([84,105,101,114,114,97], arguments_1728053445), NTI33554449); - break BeforeRet; - }; - - return result_1728053446; - -} - -function earth_1728053447(locale_1728053448, arguments_1728053449) { - var result_1728053450 = []; - - BeforeRet: { - switch (locale_1728053448) { - case 0: - result_1728053450 = nimCopy(null, earth_English_1728053441(arguments_1728053449), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053450 = nimCopy(null, earth_Spanish_1728053444(arguments_1728053449), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053450; - -} - -function neptune_English_1728053451(arguments_1728053452) { - var result_1728053453 = []; - - BeforeRet: { - result_1728053453 = nimCopy(null, nsuFormatVarargs([78,101,112,116,117,110,101], arguments_1728053452), NTI33554449); - break BeforeRet; - }; - - return result_1728053453; - -} - -function neptune_Spanish_1728053454(arguments_1728053455) { - var result_1728053456 = []; - - BeforeRet: { - result_1728053456 = nimCopy(null, nsuFormatVarargs([78,101,112,116,117,110,111], arguments_1728053455), NTI33554449); - break BeforeRet; - }; - - return result_1728053456; - -} - -function neptune_1728053457(locale_1728053458, arguments_1728053459) { - var result_1728053460 = []; - - BeforeRet: { - switch (locale_1728053458) { - case 0: - result_1728053460 = nimCopy(null, neptune_English_1728053451(arguments_1728053459), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053460 = nimCopy(null, neptune_Spanish_1728053454(arguments_1728053459), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053460; - -} - -function jupiter_English_1728053461(arguments_1728053462) { - var result_1728053463 = []; - - BeforeRet: { - result_1728053463 = nimCopy(null, nsuFormatVarargs([74,117,112,105,116,101,114], arguments_1728053462), NTI33554449); - break BeforeRet; - }; - - return result_1728053463; - -} - -function jupiter_Spanish_1728053464(arguments_1728053465) { - var result_1728053466 = []; - - BeforeRet: { - result_1728053466 = nimCopy(null, nsuFormatVarargs([74,195,186,112,105,116,101,114], arguments_1728053465), NTI33554449); - break BeforeRet; - }; - - return result_1728053466; - -} - -function jupiter_1728053467(locale_1728053468, arguments_1728053469) { - var result_1728053470 = []; - - BeforeRet: { - switch (locale_1728053468) { - case 0: - result_1728053470 = nimCopy(null, jupiter_English_1728053461(arguments_1728053469), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053470 = nimCopy(null, jupiter_Spanish_1728053464(arguments_1728053469), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053470; - -} - -function gravities_1426063624(state_1426063625) { - var result_1426063626 = [{Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}]; - - result_1426063626 = nimCopy(result_1426063626, [nimCopy(null, {Field0: pluto_1728053387(state_1426063625.lang, []), Field1: 0.7}, NTI1426063485), nimCopy(null, {Field0: moon_1728053397(state_1426063625.lang, []), Field1: 1.6}, NTI1426063485), nimCopy(null, {Field0: mercAndMars_1728053407(state_1426063625.lang, []), Field1: 3.7}, NTI1426063485), nimCopy(null, {Field0: uranus_1728053417(state_1426063625.lang, []), Field1: 8.7}, NTI1426063485), nimCopy(null, {Field0: venus_1728053427(state_1426063625.lang, []), Field1: 8.9}, NTI1426063485), nimCopy(null, {Field0: saturn_1728053437(state_1426063625.lang, []), Field1: 9.0}, NTI1426063485), nimCopy(null, {Field0: earth_1728053447(state_1426063625.lang, []), Field1: 9.81}, NTI1426063485), nimCopy(null, {Field0: neptune_1728053457(state_1426063625.lang, []), Field1: 11.0}, NTI1426063485), nimCopy(null, {Field0: jupiter_1728053467(state_1426063625.lang, []), Field1: 23.1}, NTI1426063485)], NTI1426063484); - - return result_1426063626; - -} - -function vix_English_1728053471(arguments_1728053472) { - var result_1728053473 = []; - - BeforeRet: { - result_1728053473 = nimCopy(null, nsuFormatVarargs([73,110,105,116,105,97,108,32,88,32,118,101,108], arguments_1728053472), NTI33554449); - break BeforeRet; - }; - - return result_1728053473; - -} - -function vix_Spanish_1728053474(arguments_1728053475) { - var result_1728053476 = []; - - BeforeRet: { - result_1728053476 = nimCopy(null, nsuFormatVarargs([86,101,108,32,105,110,105,99,105,97,108,32,101,110,32,88], arguments_1728053475), NTI33554449); - break BeforeRet; - }; - - return result_1728053476; - -} - -function vix_1728053477(locale_1728053478, arguments_1728053479) { - var result_1728053480 = []; - - BeforeRet: { - switch (locale_1728053478) { - case 0: - result_1728053480 = nimCopy(null, vix_English_1728053471(arguments_1728053479), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053480 = nimCopy(null, vix_Spanish_1728053474(arguments_1728053479), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053480; - -} - -function viy_English_1728053481(arguments_1728053482) { - var result_1728053483 = []; - - BeforeRet: { - result_1728053483 = nimCopy(null, nsuFormatVarargs([73,110,105,116,105,97,108,32,89,32,118,101,108], arguments_1728053482), NTI33554449); - break BeforeRet; - }; - - return result_1728053483; - -} - -function viy_Spanish_1728053484(arguments_1728053485) { - var result_1728053486 = []; - - BeforeRet: { - result_1728053486 = nimCopy(null, nsuFormatVarargs([86,101,108,32,105,110,105,99,105,97,108,32,101,110,32,89], arguments_1728053485), NTI33554449); - break BeforeRet; - }; - - return result_1728053486; - -} - -function viy_1728053487(locale_1728053488, arguments_1728053489) { - var result_1728053490 = []; - - BeforeRet: { - switch (locale_1728053488) { - case 0: - result_1728053490 = nimCopy(null, viy_English_1728053481(arguments_1728053489), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053490 = nimCopy(null, viy_Spanish_1728053484(arguments_1728053489), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053490; - -} - -function renderStateAccordion_1426072143(state_1426072144) { - -function changeHeightTo_1426072146(h_1426072147) { - BeforeRet: { - if (!(state_1426072144.startedRendering)) { - break BeforeRet; - } - - var h_1426072161 = clamp_1426063663(round_1426064167(fromMuDistance_1694499117(h_1426072147), state_1426072144.floatPrecision), HEX2EHEX2E_1426063562(0.0, canonYRange_1426065266(state_1426072144).b)); - moveCanonTo_1426065275(state_1426072144, (((state_1426072144.canvasSize.Field1 - 80.0) - h_1426072161) + canonYDiff_1426065254(state_1426072144)), false); - calcTrajectory_1426065138(state_1426072144); - }; - - -} - -function HEX3Aanonymous_1426072276(e_1426072277, n_1426072278) { - var h_1426072279 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426072278)), h_1426072279, 0, 0); - changeHeightTo_1426072146(h_1426072279[0]); - - - } - -function HEX3Aanonymous_1426072280(e_1426072281, n_1426072282) { - var Temporary1; - - BeforeRet: { - e_1426072281.preventDefault(); - if ((document.activeElement == null)) Temporary1 = true; else { Temporary1 = !(((document.activeElement).isEqualNode((n_1426072282.dom)))); } if (Temporary1) { - break BeforeRet; - } - - var h_1426072303 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426072282)), h_1426072303, 0, 0); - if ((0.0 < ((e_1426072281).wheelDelta))) { - HEX2BHEX3D_872417557(h_1426072303, 0, 1.0); - } - else { - HEX2DHEX3D_1426064176(h_1426072303, 0, 1.0); - } - - changeHeightTo_1426072146(h_1426072303[0]); - }; - - - } - -function HEX3Aanonymous_1426072326(e_1426072327, n_1426072328) { - BeforeRet: { - if (!(state_1426072144.startedRendering)) { - break BeforeRet; - } - - var a_1426072329 = [0]; - var _ = parseInt_889193355(cstrToNimstr(value_754975170(n_1426072328)), a_1426072329, 0, 0); - if ((a_1426072329[0] < 0)) { - a_1426072329[0] = clamp_1426069489(addInt(360, a_1426072329[0]), HEX2EHEX2E_1157627952(0, 359)); - } - else { - if ((359 < a_1426072329[0])) { - a_1426072329[0] = clamp_1426069489(subInt(a_1426072329[0], 360), HEX2EHEX2E_1157627952(0, 359)); - } - } - rotateCanon_1426064221(state_1426072144, degToRad_1694498964((normalizedAngleDeg_1426064191(state_1426072144.canon, 0.0) - a_1426072329[0])), true); - calcTrajectory_1426065138(state_1426072144); - }; - - - } - -function changeSpeedTo_1426072162(s_1426072163) { - BeforeRet: { - if (!(state_1426072144.startedRendering)) { - break BeforeRet; - } - - var s_1426072168 = round_1426064167(fromMuSpeed_1694499120(s_1426072163), state_1426072144.floatPrecision); - setSpeed_1426063660(state_1426072144.trajectories[chckIndx(state_1426072144.currentTrajectory, 0, (state_1426072144.trajectories).length - 1)].state, s_1426072168); - calcTrajectory_1426065138(state_1426072144); - }; - - -} - -function HEX3Aanonymous_1426072351(e_1426072352, n_1426072353) { - var s_1426072354 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426072353)), s_1426072354, 0, 0); - changeSpeedTo_1426072162(s_1426072354[0]); - - - } - -function HEX3Aanonymous_1426072355(e_1426072356, n_1426072357) { - var Temporary1; - - BeforeRet: { - e_1426072356.preventDefault(); - if ((document.activeElement == null)) Temporary1 = true; else { Temporary1 = !(((document.activeElement).isEqualNode((n_1426072357.dom)))); } if (Temporary1) { - break BeforeRet; - } - - var s_1426072378 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426072357)), s_1426072378, 0, 0); - if ((0.0 < ((e_1426072356).wheelDelta))) { - HEX2BHEX3D_872417557(s_1426072378, 0, 1.0); - } - else { - HEX2DHEX3D_1426064176(s_1426072378, 0, 1.0); - } - - changeSpeedTo_1426072162(s_1426072378[0]); - }; - - - } - -function onGAccordChange_1426072221(checked_1426072222) { - var ele_1426072223 = document.getElementById("accordion-g-arrow"); - if (checked_1426072222) { - ele_1426072223.style.setProperty("transform", "rotate(90deg)", []); - } - else { - ele_1426072223.style.removeProperty("transform"); - } - - - -} - -function HEX3Aanonymous_1426072401(__1426072402, n_1426072403) { - onGAccordChange_1426072221(n_1426072403.dom.checked); - - - } - -function HEX3Aanonymous_1426072404() { - var ele_1426072405 = document.getElementById("accordion-g"); - ele_1426072405.checked = !(ele_1426072405.checked); - onGAccordChange_1426072221(ele_1426072405.checked); - - - } - -function changeGravTo_1426072169(g_1426072170) { - BeforeRet: { - if (!(state_1426072144.startedRendering)) { - break BeforeRet; - } - - var g_1426072180 = round_1426064167(fromMuAcceleration_1694499123(clamp_1426063727(g_1426072170, 0.7, 23.1)), state_1426072144.floatPrecision); - state_1426072144.trajectories[chckIndx(state_1426072144.currentTrajectory, 0, (state_1426072144.trajectories).length - 1)].state.gravity.Field1 = (g_1426072180 / 279.0); - state_1426072144.engine.gravity.y = state_1426072144.trajectories[chckIndx(state_1426072144.currentTrajectory, 0, (state_1426072144.trajectories).length - 1)].state.gravity.Field1; - calcTrajectory_1426065138(state_1426072144); - }; - - -} - -function HEX3Aanonymous_1426072406(e_1426072407, n_1426072408) { - var g_1426072409 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426072408)), g_1426072409, 0, 0); - changeGravTo_1426072169(g_1426072409[0]); - - - } - -function HEX3Aanonymous_1426072410(e_1426072411, n_1426072412) { - var Temporary1; - - BeforeRet: { - e_1426072411.preventDefault(); - if ((document.activeElement == null)) Temporary1 = true; else { Temporary1 = !(((document.activeElement).isEqualNode((n_1426072412.dom)))); } if (Temporary1) { - break BeforeRet; - } - - var g_1426072433 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426072412)), g_1426072433, 0, 0); - if ((0.0 < ((e_1426072411).wheelDelta))) { - HEX2BHEX3D_872417557(g_1426072433, 0, 1.0); - } - else { - HEX2DHEX3D_1426064176(g_1426072433, 0, 1.0); - } - - changeGravTo_1426072169(g_1426072433[0]); - }; - - - } - -function onPlanetClick_1426072194(g_1426072195) { - -function HEX3Aanonymous_1426072197() { - var g_1426072207 = round_1426064167(fromMuAcceleration_1694499123(clamp_1426063727(g_1426072195, 0.7, 23.1)), state_1426072144.floatPrecision); - state_1426072144.trajectories[chckIndx(state_1426072144.currentTrajectory, 0, (state_1426072144.trajectories).length - 1)].state.gravity.Field1 = (g_1426072207 / 279.0); - state_1426072144.engine.gravity.y = state_1426072144.trajectories[chckIndx(state_1426072144.currentTrajectory, 0, (state_1426072144.trajectories).length - 1)].state.gravity.Field1; - calcTrajectory_1426065138(state_1426072144); - - - } - - var result_1426072196 = null; - - result_1426072196 = HEX3Aanonymous_1426072197; - - return result_1426072196; - - } - - var result_1426072145 = null; - - var tmp_1426072224 = tree_754975616(190, []); - tmp_1426072224.class = "form-horizontal"; - var tmp_1426072225 = tree_754975616(44, []); - tmp_1426072225.class = "form-group"; - var tmp_1426072226 = tree_754975616(44, []); - tmp_1426072226.class = "col-3 col-sm-12"; - var tmp_1426072227 = tree_754975616(193, []); - tmp_1426072227.class = "form-label"; - setAttr_754975467(tmp_1426072227, "for", "state-input-h"); - add_754975552(tmp_1426072227, text_754975684(height_1728053537(state_1426072144.lang, []))); - add_754975552(tmp_1426072226, tmp_1426072227); - add_754975552(tmp_1426072225, tmp_1426072226); - var tmp_1426072228 = tree_754975616(44, []); - tmp_1426072228.class = "col-9 col-sm-12"; - var tmp_1426072229 = tree_754975616(194, []); - tmp_1426072229.class = "form-input form-inline"; - setAttr_754975467(tmp_1426072229, "type", "number"); - tmp_1426072229.id = "state-input-h"; - setAttr_754975467(tmp_1426072229, "step", toJSStr(inputStep_1426064076(state_1426072144))); - addEventHandler_721422102(tmp_1426072229, 8, HEX3Aanonymous_1426072276, kxi__); - addEventHandler_721422102(tmp_1426072229, 36, HEX3Aanonymous_1426072280, kxi__); - add_754975552(tmp_1426072228, tmp_1426072229); - add_754975552(tmp_1426072225, tmp_1426072228); - add_754975552(tmp_1426072224, tmp_1426072225); - var tmp_1426072230 = tree_754975616(44, []); - tmp_1426072230.class = "form-group"; - var tmp_1426072231 = tree_754975616(44, []); - tmp_1426072231.class = "col-3 col-sm-12"; - var tmp_1426072232 = tree_754975616(193, []); - tmp_1426072232.class = "form-label"; - setAttr_754975467(tmp_1426072232, "for", "state-input-a"); - add_754975552(tmp_1426072232, text_754975684(angle_1728053547(state_1426072144.lang, []))); - add_754975552(tmp_1426072231, tmp_1426072232); - add_754975552(tmp_1426072230, tmp_1426072231); - var tmp_1426072233 = tree_754975616(44, []); - tmp_1426072233.class = "col-9 col-sm-12"; - var tmp_1426072234 = tree_754975616(194, []); - tmp_1426072234.class = "form-input form-inline"; - setAttr_754975467(tmp_1426072234, "type", "number"); - tmp_1426072234.id = "state-input-a"; - setAttr_754975467(tmp_1426072234, "step", "1"); - addEventHandler_721422102(tmp_1426072234, 8, HEX3Aanonymous_1426072326, kxi__); - add_754975552(tmp_1426072233, tmp_1426072234); - add_754975552(tmp_1426072230, tmp_1426072233); - add_754975552(tmp_1426072224, tmp_1426072230); - var tmp_1426072235 = tree_754975616(44, []); - tmp_1426072235.class = "form-group"; - var tmp_1426072236 = tree_754975616(44, []); - tmp_1426072236.class = "col-3 col-sm-12"; - var tmp_1426072237 = tree_754975616(193, []); - tmp_1426072237.class = "form-label"; - setAttr_754975467(tmp_1426072237, "for", "state-input-s"); - add_754975552(tmp_1426072237, text_754975684(speed_1728053557(state_1426072144.lang, []))); - add_754975552(tmp_1426072236, tmp_1426072237); - add_754975552(tmp_1426072235, tmp_1426072236); - var tmp_1426072238 = tree_754975616(44, []); - tmp_1426072238.class = "col-9 col-sm-12"; - var tmp_1426072239 = tree_754975616(194, []); - tmp_1426072239.class = "form-input form-inline"; - setAttr_754975467(tmp_1426072239, "type", "number"); - tmp_1426072239.id = "state-input-s"; - setAttr_754975467(tmp_1426072239, "step", toJSStr(inputStep_1426064076(state_1426072144))); - addEventHandler_721422102(tmp_1426072239, 8, HEX3Aanonymous_1426072351, kxi__); - addEventHandler_721422102(tmp_1426072239, 36, HEX3Aanonymous_1426072355, kxi__); - add_754975552(tmp_1426072238, tmp_1426072239); - add_754975552(tmp_1426072235, tmp_1426072238); - add_754975552(tmp_1426072224, tmp_1426072235); - var tmp_1426072240 = tree_754975616(44, []); - tmp_1426072240.class = "form-group"; - var tmp_1426072241 = tree_754975616(44, []); - tmp_1426072241.class = "col-3 col-sm-12"; - var tmp_1426072242 = tree_754975616(193, []); - tmp_1426072242.class = "form-label"; - setAttr_754975467(tmp_1426072242, "for", "state-input-vx"); - add_754975552(tmp_1426072242, text_754975684(vx_1728053567(state_1426072144.lang, []))); - add_754975552(tmp_1426072241, tmp_1426072242); - add_754975552(tmp_1426072240, tmp_1426072241); - var tmp_1426072243 = tree_754975616(44, []); - tmp_1426072243.class = "col-9 col-sm-12"; - var tmp_1426072244 = tree_754975616(194, []); - tmp_1426072244.class = "form-input form-inline"; - setAttr_754975467(tmp_1426072244, "type", "number"); - tmp_1426072244.id = "state-input-vx"; - setAttr_754975512(tmp_1426072244, "readonly", true); - add_754975552(tmp_1426072243, tmp_1426072244); - add_754975552(tmp_1426072240, tmp_1426072243); - add_754975552(tmp_1426072224, tmp_1426072240); - var tmp_1426072245 = tree_754975616(44, []); - tmp_1426072245.class = "form-group"; - var tmp_1426072246 = tree_754975616(44, []); - tmp_1426072246.class = "col-3 col-sm-12"; - var tmp_1426072247 = tree_754975616(193, []); - tmp_1426072247.class = "form-label"; - setAttr_754975467(tmp_1426072247, "for", "state-input-vy"); - add_754975552(tmp_1426072247, text_754975684(vy_1728053577(state_1426072144.lang, []))); - add_754975552(tmp_1426072246, tmp_1426072247); - add_754975552(tmp_1426072245, tmp_1426072246); - var tmp_1426072248 = tree_754975616(44, []); - tmp_1426072248.class = "col-9 col-sm-12"; - var tmp_1426072249 = tree_754975616(194, []); - tmp_1426072249.class = "form-input form-inline"; - setAttr_754975467(tmp_1426072249, "type", "number"); - tmp_1426072249.id = "state-input-vy"; - setAttr_754975512(tmp_1426072249, "readonly", true); - add_754975552(tmp_1426072248, tmp_1426072249); - add_754975552(tmp_1426072245, tmp_1426072248); - add_754975552(tmp_1426072224, tmp_1426072245); - var tmp_1426072250 = tree_754975616(44, []); - tmp_1426072250.class = "accordion"; - var tmp_1426072251 = tree_754975616(194, []); - setAttr_754975467(tmp_1426072251, "type", "checkbox"); - setAttr_754975467(tmp_1426072251, "name", "accordion-checkbox"); - tmp_1426072251.id = "accordion-g"; - setAttr_754975512(tmp_1426072251, "hidden", true); - setAttr_754975512(tmp_1426072251, "checked", false); - addEventHandler_721422102(tmp_1426072251, 8, HEX3Aanonymous_1426072401, kxi__); - add_754975552(tmp_1426072250, tmp_1426072251); - var tmp_1426072252 = tree_754975616(193, []); - tmp_1426072252.class = "accordion-header"; - setAttr_754975467(tmp_1426072252, "for", "accordion-g"); - tmp_1426072252.style = toCss_822084081([112,97,100,100,105,110,103,58,32,48,32,48,32,48,46,54,114,101,109,59]); - var tmp_1426072253 = tree_754975616(44, []); - tmp_1426072253.class = "form-group"; - var tmp_1426072254 = tree_754975616(44, []); - tmp_1426072254.class = "col-3 col-sm-12"; - tmp_1426072254.style = toCss_822084081([100,105,115,112,108,97,121,58,32,114,117,98,121,59]); - var tmp_1426072255 = tree_754975616(62, []); - tmp_1426072255.id = "accordion-g-arrow"; - tmp_1426072255.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426072254, tmp_1426072255); - var tmp_1426072256 = tree_754975616(193, []); - tmp_1426072256.class = "form-label"; - add_754975552(tmp_1426072256, text_754975684(gravity_1728053587(state_1426072144.lang, []))); - addEventHandler_721422110(tmp_1426072256, 0, HEX3Aanonymous_1426072404, kxi__); - add_754975552(tmp_1426072254, tmp_1426072256); - add_754975552(tmp_1426072253, tmp_1426072254); - var tmp_1426072257 = tree_754975616(44, []); - tmp_1426072257.class = "col-9 col-sm-12"; - var tmp_1426072258 = tree_754975616(194, []); - tmp_1426072258.class = "form-input form-inline"; - setAttr_754975467(tmp_1426072258, "type", "number"); - tmp_1426072258.id = "state-input-g"; - setAttr_754975467(tmp_1426072258, "step", toJSStr(inputStep_1426064076(state_1426072144))); - addEventHandler_721422102(tmp_1426072258, 8, HEX3Aanonymous_1426072406, kxi__); - addEventHandler_721422102(tmp_1426072258, 36, HEX3Aanonymous_1426072410, kxi__); - add_754975552(tmp_1426072257, tmp_1426072258); - add_754975552(tmp_1426072253, tmp_1426072257); - add_754975552(tmp_1426072252, tmp_1426072253); - add_754975552(tmp_1426072250, tmp_1426072252); - var tmp_1426072259 = tree_754975616(44, []); - tmp_1426072259.class = "accordion-body"; - Label1: { - var e_1426072502 = 0; - var name_1426072503 = []; - var gravity_1426072504 = 0.0; - var colontmp__570425967 = [{Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}, {Field0: [], Field1: 0.0}]; - colontmp__570425967 = nimCopy(colontmp__570425967, gravities_1426063624(state_1426072144), NTI1426063484); - var i_570425969 = 0; - Label2: { - Label3: while (true) { - if (!true) break Label3; - e_1426072502 = i_570425969; - name_1426072503 = colontmp__570425967[chckIndx(i_570425969, 0, (colontmp__570425967).length - 1)]["Field0"]; - gravity_1426072504 = colontmp__570425967[chckIndx(i_570425969, 0, (colontmp__570425967).length - 1)]["Field1"]; - var tmp_1426072260 = tree_754975616(195, []); - setAttr_754975467(tmp_1426072260, "type", "button"); - tmp_1426072260.class = "btn"; - addEventHandler_721422110(tmp_1426072260, 0, onPlanetClick_1426072194(gravity_1426072504), kxi__); - tmp_1426072260.style = toCss_822084081([100,105,115,112,108,97,121,58,32,105,110,108,105,110,101,59]); - add_754975552(tmp_1426072260, text_754975684(name_1426072503)); - add_754975552(tmp_1426072259, tmp_1426072260); - if ((8 <= i_570425969)) { - break Label2; - } - - i_570425969 = addInt(i_570425969, 1); - } - }; - }; - add_754975552(tmp_1426072250, tmp_1426072259); - add_754975552(tmp_1426072224, tmp_1426072250); - var tmp_1426072261 = tree_754975616(194, []); - setAttr_754975467(tmp_1426072261, "type", "submit"); - setAttr_754975512(tmp_1426072261, "disabled", true); - tmp_1426072261.style = toCss_822084081([100,105,115,112,108,97,121,58,32,110,111,110,101,59]); - setAttr_754975512(tmp_1426072261, "aria-hidden", true); - add_754975552(tmp_1426072224, tmp_1426072261); - var tmp_1426072262 = tree_754975616(44, []); - tmp_1426072262.id = "vix"; - tmp_1426072262.class = "accordion"; - var tmp_1426072263 = tree_754975616(194, []); - setAttr_754975467(tmp_1426072263, "type", "checkbox"); - setAttr_754975467(tmp_1426072263, "name", "accordion-checkbox"); - tmp_1426072263.id = "accordion-f--1"; - setAttr_754975512(tmp_1426072263, "hidden", true); - setAttr_754975512(tmp_1426072263, "checked", false); - add_754975552(tmp_1426072262, tmp_1426072263); - var tmp_1426072264 = tree_754975616(193, []); - tmp_1426072264.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426072264, "for", "accordion-f--1"); - setAttr_754975467(tmp_1426072264, "data-tooltip", toJSStr(vix_1728053477(state_1426072144.lang, []))); - tmp_1426072264.style = toCss_822084081([112,97,100,100,105,110,103,58,32,48,32,48,32,48,46,54,114,101,109,59]); - var tmp_1426072265 = tree_754975616(62, []); - tmp_1426072265.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426072264, tmp_1426072265); - add_754975552(tmp_1426072264, text_754975684([92,40,118,95,123,105,120,125,32,61,32,118,92,58,92,99,100,111,116,92,58,92,99,111,115,123,92,97,108,112,104,97,125,32,61,32,100,92,41])); - add_754975552(tmp_1426072262, tmp_1426072264); - var tmp_1426072266 = tree_754975616(44, []); - tmp_1426072266.class = "accordion-body"; - tmp_1426072266.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426072267 = tree_754975616(37, []); - tmp_1426072267.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426072268 = tree_754975616(38, []); - add_754975552(tmp_1426072268, text_754975684([92,40,118,95,123,105,120,125,32,61,32,118,92,58,92,99,100,111,116,92,58,92,99,111,115,123,97,125,32,61,32,100,92,41])); - add_754975552(tmp_1426072267, tmp_1426072268); - add_754975552(tmp_1426072266, tmp_1426072267); - add_754975552(tmp_1426072262, tmp_1426072266); - add_754975552(tmp_1426072224, tmp_1426072262); - var tmp_1426072269 = tree_754975616(44, []); - tmp_1426072269.id = "viy"; - tmp_1426072269.class = "accordion"; - var tmp_1426072270 = tree_754975616(194, []); - setAttr_754975467(tmp_1426072270, "type", "checkbox"); - setAttr_754975467(tmp_1426072270, "name", "accordion-checkbox"); - tmp_1426072270.id = "accordion-f-0"; - setAttr_754975512(tmp_1426072270, "hidden", true); - setAttr_754975512(tmp_1426072270, "checked", false); - add_754975552(tmp_1426072269, tmp_1426072270); - var tmp_1426072271 = tree_754975616(193, []); - tmp_1426072271.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426072271, "for", "accordion-f-0"); - setAttr_754975467(tmp_1426072271, "data-tooltip", toJSStr(viy_1728053487(state_1426072144.lang, []))); - tmp_1426072271.style = toCss_822084081([112,97,100,100,105,110,103,58,32,48,32,48,32,48,46,54,114,101,109,59]); - var tmp_1426072272 = tree_754975616(62, []); - tmp_1426072272.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426072271, tmp_1426072272); - add_754975552(tmp_1426072271, text_754975684([92,40,118,95,123,105,121,125,32,61,32,118,92,58,92,99,100,111,116,92,58,92,115,105,110,123,92,97,108,112,104,97,125,32,61,32,100,92,41])); - add_754975552(tmp_1426072269, tmp_1426072271); - var tmp_1426072273 = tree_754975616(44, []); - tmp_1426072273.class = "accordion-body"; - tmp_1426072273.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426072274 = tree_754975616(37, []); - tmp_1426072274.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426072275 = tree_754975616(38, []); - add_754975552(tmp_1426072275, text_754975684([92,40,118,95,123,105,121,125,32,61,32,118,92,58,92,99,100,111,116,92,58,92,115,105,110,123,97,125,32,61,32,100,92,41])); - add_754975552(tmp_1426072274, tmp_1426072275); - add_754975552(tmp_1426072273, tmp_1426072274); - add_754975552(tmp_1426072269, tmp_1426072273); - add_754975552(tmp_1426072224, tmp_1426072269); - result_1426072145 = tmp_1426072224; - - return result_1426072145; - -} - -function point_English_1728053701(arguments_1728053702) { - var result_1728053703 = []; - - BeforeRet: { - result_1728053703 = nimCopy(null, nsuFormatVarargs([84,114,97,106,101,99,116,111,114,121,32,80,111,105,110,116], arguments_1728053702), NTI33554449); - break BeforeRet; - }; - - return result_1728053703; - -} - -function point_Spanish_1728053704(arguments_1728053705) { - var result_1728053706 = []; - - BeforeRet: { - result_1728053706 = nimCopy(null, nsuFormatVarargs([80,117,110,116,111,32,100,101,32,108,97,32,116,114,97,121,101,99,116,111,114,105,97], arguments_1728053705), NTI33554449); - break BeforeRet; - }; - - return result_1728053706; - -} - -function point_1728053707(locale_1728053708, arguments_1728053709) { - var result_1728053710 = []; - - BeforeRet: { - switch (locale_1728053708) { - case 0: - result_1728053710 = nimCopy(null, point_English_1728053701(arguments_1728053709), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053710 = nimCopy(null, point_Spanish_1728053704(arguments_1728053709), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053710; - -} - -function x_English_1728053591(arguments_1728053592) { - var result_1728053593 = []; - - BeforeRet: { - result_1728053593 = nimCopy(null, nsuFormatVarargs([88,32,80,111,115], arguments_1728053592), NTI33554449); - break BeforeRet; - }; - - return result_1728053593; - -} - -function x_Spanish_1728053594(arguments_1728053595) { - var result_1728053596 = []; - - BeforeRet: { - result_1728053596 = nimCopy(null, nsuFormatVarargs([80,111,115,32,101,110,32,88], arguments_1728053595), NTI33554449); - break BeforeRet; - }; - - return result_1728053596; - -} - -function x_1728053597(locale_1728053598, arguments_1728053599) { - var result_1728053600 = []; - - BeforeRet: { - switch (locale_1728053598) { - case 0: - result_1728053600 = nimCopy(null, x_English_1728053591(arguments_1728053599), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053600 = nimCopy(null, x_Spanish_1728053594(arguments_1728053599), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053600; - -} - -function delete_1426072521(x_1426072523, x_1426072523_Idx, i_1426072524) { - x_1426072523[x_1426072523_Idx].splice(i_1426072524, 1); - - -} - -function findBy_1426072591(points_1426072593, v_1426072594, by_1426072596) { - var result_1426072597 = {Field0: 0, Field1: false}; - - BeforeRet: { - var closestDistance_1426072598 = 0.0; - Label1: { - var e_1426072635 = 0; - var p_1426072636 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - var i_570425991 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425991 < (points_1426072593).length)) break Label3; - e_1426072635 = i_570425991; - p_1426072636 = nimCopy(p_1426072636, points_1426072593[chckIndx(i_570425991, 0, (points_1426072593).length - 1)], NTI1426063365); - var d_1426072640 = abs_905969874((by_1426072596(p_1426072636) - v_1426072594)); - if ((d_1426072640 == 0.0)) { - var colontmp__570425988 = e_1426072635; - var colontmp__570425989 = true; - result_1426072597 = nimCopy(result_1426072597, {Field0: colontmp__570425988, Field1: colontmp__570425989}, NTI1426063905); - break BeforeRet; - } - else { - if (((e_1426072635 == 0) || (d_1426072640 < closestDistance_1426072598))) { - closestDistance_1426072598 = d_1426072640; - result_1426072597.Field0 = e_1426072635; - } - } - i_570425991 = addInt(i_570425991, 1); - } - }; - }; - }; - - return result_1426072597; - -} - -function calcTime_1426063501(initialState_1426063502, x_1426063503) { - var result_1426063504 = 0.0; - - result_1426063504 = (x_1426063503 / initialState_1426063502.vel.Field0); - - return result_1426063504; - -} - -function insert_1426072660(x_1426072662, x_1426072662_Idx, item_1426072663, i_1426072664) { - var it_1426072684 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - x_1426072662[x_1426072662_Idx] = x_1426072662[x_1426072662_Idx] || []; x_1426072662[x_1426072662_Idx].splice(i_1426072664, 0, it_1426072684); - x_1426072662[x_1426072662_Idx][chckIndx(i_1426072664, 0, (x_1426072662[x_1426072662_Idx]).length - 1)] = nimCopy(x_1426072662[x_1426072662_Idx][chckIndx(i_1426072664, 0, (x_1426072662[x_1426072662_Idx]).length - 1)], item_1426072663, NTI1426063365); - - -} - -function y_English_1728053601(arguments_1728053602) { - var result_1728053603 = []; - - BeforeRet: { - result_1728053603 = nimCopy(null, nsuFormatVarargs([89,32,80,111,115], arguments_1728053602), NTI33554449); - break BeforeRet; - }; - - return result_1728053603; - -} - -function y_Spanish_1728053604(arguments_1728053605) { - var result_1728053606 = []; - - BeforeRet: { - result_1728053606 = nimCopy(null, nsuFormatVarargs([80,111,115,32,101,110,32,89], arguments_1728053605), NTI33554449); - break BeforeRet; - }; - - return result_1728053606; - -} - -function y_1728053607(locale_1728053608, arguments_1728053609) { - var result_1728053610 = []; - - BeforeRet: { - switch (locale_1728053608) { - case 0: - result_1728053610 = nimCopy(null, y_English_1728053601(arguments_1728053609), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053610 = nimCopy(null, y_Spanish_1728053604(arguments_1728053609), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053610; - -} - -function HEX24_872416632(x_872416635) { - var result_872416636 = []; - - result_872416636 = nimCopy(null, HEX24_385875976(x_872416635.a), NTI33554449); - result_872416636.push.apply(result_872416636, [32,46,46,32]);; - result_872416636.push.apply(result_872416636, HEX24_385875976(x_872416635.b));; - - return result_872416636; - -} - -function addQuoted_872416624(s_872416626, s_872416626_Idx, x_872416627) { - s_872416626[s_872416626_Idx].push.apply(s_872416626[s_872416626_Idx], HEX24_872416632(x_872416627));; - - -} - -function HEX24_872416591(x_872416593) { - var result_872416594 = [[]]; - - result_872416594[0] = nimCopy(null, [40], NTI33554449); - var countHEX60gensym136_872416605 = 0; - if ((0 < countHEX60gensym136_872416605)) { - result_872416594[0].push.apply(result_872416594[0], [44,32]);; - } - - result_872416594[0].push.apply(result_872416594[0], [115,108,105,99,101]);; - result_872416594[0].push.apply(result_872416594[0], [58,32]);; - countHEX60gensym136_872416605 += 1; - addQuoted_872416624(result_872416594, 0, x_872416593["Field0"]); - if ((0 < countHEX60gensym136_872416605)) { - result_872416594[0].push.apply(result_872416594[0], [44,32]);; - } - - result_872416594[0].push.apply(result_872416594[0], [108,101,110]);; - result_872416594[0].push.apply(result_872416594[0], [58,32]);; - countHEX60gensym136_872416605 += 1; - addQuoted_872416645(result_872416594, 0, x_872416593["Field1"]); - result_872416594[0].push.apply(result_872416594[0], [41]);; - - return result_872416594[0]; - -} - -function delete_872416585(s_872416586, s_872416586_Idx, slice_872416588) { - if (!((((slice_872416588.a < (s_872416586[s_872416586_Idx]).length) && (0 <= slice_872416588.a)) && (slice_872416588.b < (s_872416586[s_872416586_Idx]).length)))) { - raiseException({message: HEX24_872416591({Field0: nimCopy(null, slice_872416588, NTI922746949), Field1: (s_872416586[s_872416586_Idx]).length}), parent: null, m_type: NTI134217749, name: null, trace: [], up: null}, "IndexDefect"); - } - - if ((slice_872416588.a <= slice_872416588.b)) { - var i_872416651 = slice_872416588.a; - var j_872416652 = addInt(slice_872416588.b, 1); - var newLen_872416653 = addInt(subInt((s_872416586[s_872416586_Idx]).length, j_872416652), i_872416651); - Label1: { - Label2: while (true) { - if (!(i_872416651 < newLen_872416653)) break Label2; - s_872416586[s_872416586_Idx][chckIndx(i_872416651, 0, (s_872416586[s_872416586_Idx]).length - 1)] = s_872416586[s_872416586_Idx][chckIndx(j_872416652, 0, (s_872416586[s_872416586_Idx]).length - 1)]; - i_872416651 = addInt(i_872416651, 1); - j_872416652 = addInt(j_872416652, 1); - } - }; - if (s_872416586[s_872416586_Idx].length < chckRange(newLen_872416653, 0, 2147483647)) { for (var i = s_872416586[s_872416586_Idx].length; i < chckRange(newLen_872416653, 0, 2147483647); ++i) s_872416586[s_872416586_Idx].push(0); } - else {s_872416586[s_872416586_Idx].length = chckRange(newLen_872416653, 0, 2147483647); }; - } - - - -} - -function addQuoted_1426072873(s_1426072875, s_1426072875_Idx, x_1426072876) { - s_1426072875[s_1426072875_Idx].push.apply(s_1426072875[s_1426072875_Idx], nimBoolToStr(x_1426072876));; - - -} - -function HEX24_1426072832(x_1426072834) { - var result_1426072835 = [[]]; - - result_1426072835[0] = nimCopy(null, [40], NTI33554449); - var countHEX60gensym2005_1426072846 = 0; - if ((0 < countHEX60gensym2005_1426072846)) { - result_1426072835[0].push.apply(result_1426072835[0], [44,32]);; - } - - result_1426072835[0].push.apply(result_1426072835[0], [121]);; - result_1426072835[0].push.apply(result_1426072835[0], [58,32]);; - countHEX60gensym2005_1426072846 += 1; - addQuoted_1426063697(result_1426072835, 0, x_1426072834["Field0"]); - if ((0 < countHEX60gensym2005_1426072846)) { - result_1426072835[0].push.apply(result_1426072835[0], [44,32]);; - } - - result_1426072835[0].push.apply(result_1426072835[0], [115]);; - result_1426072835[0].push.apply(result_1426072835[0], [58,32]);; - countHEX60gensym2005_1426072846 += 1; - addQuoted_1426072873(result_1426072835, 0, x_1426072834["Field1"]); - result_1426072835[0].push.apply(result_1426072835[0], [41]);; - - return result_1426072835[0]; - -} - -function HEX5BHEX5D_1426072908(s_1426072912, x_1426072913) { - var result_1426072914 = []; - - var a_1426072916 = x_1426072913.a; - var L_1426072918 = addInt(subInt(x_1426072913.b, a_1426072916), 1); - result_1426072914 = new Array(chckRange(L_1426072918, 0, 2147483647)); for (var i = 0 ; i < chckRange(L_1426072918, 0, 2147483647) ; ++i) { result_1426072914[i] = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); } Label1: { - var i_1426072927 = 0; - var i_570425996 = 0; - Label2: { - Label3: while (true) { - if (!(i_570425996 < L_1426072918)) break Label3; - i_1426072927 = i_570425996; - result_1426072914[chckIndx(i_1426072927, 0, (result_1426072914).length - 1)] = nimCopy(result_1426072914[chckIndx(i_1426072927, 0, (result_1426072914).length - 1)], s_1426072912[chckIndx(addInt(i_1426072927, a_1426072916), 0, (s_1426072912).length - 1)], NTI1426063365); - i_570425996 = addInt(i_570425996, 1); - } - }; - }; - - return result_1426072914; - -} - -function newSeq_1426072947(len_1426072949) { - var result_1426072950 = []; - - result_1426072950 = new Array(len_1426072949); for (var i = 0 ; i < len_1426072949 ; ++i) { result_1426072950[i] = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); } - return result_1426072950; - -} - -function HEX24_1426073015(x_1426073017) { - var result_1426073018 = [[]]; - - result_1426073018[0] = nimCopy(null, [40], NTI33554449); - var countHEX60gensym2042_1426073029 = 0; - if ((0 < countHEX60gensym2042_1426073029)) { - result_1426073018[0].push.apply(result_1426073018[0], [44,32]);; - } - - result_1426073018[0].push.apply(result_1426073018[0], [105]);; - result_1426073018[0].push.apply(result_1426073018[0], [58,32]);; - countHEX60gensym2042_1426073029 += 1; - addQuoted_872416645(result_1426073018, 0, x_1426073017["Field0"]); - if ((0 < countHEX60gensym2042_1426073029)) { - result_1426073018[0].push.apply(result_1426073018[0], [44,32]);; - } - - result_1426073018[0].push.apply(result_1426073018[0], [101]);; - result_1426073018[0].push.apply(result_1426073018[0], [58,32]);; - countHEX60gensym2042_1426073029 += 1; - addQuoted_1426072873(result_1426073018, 0, x_1426073017["Field1"]); - result_1426073018[0].push.apply(result_1426073018[0], [41]);; - - return result_1426073018[0]; - -} - -function HEX24_1426073109(x_1426073111) { - var result_1426073112 = [[]]; - - result_1426073112[0] = nimCopy(null, [40], NTI33554449); - var countHEX60gensym2057_1426073123 = 0; - if ((0 < countHEX60gensym2057_1426073123)) { - result_1426073112[0].push.apply(result_1426073112[0], [44,32]);; - } - - result_1426073112[0].push.apply(result_1426073112[0], [116,49]);; - result_1426073112[0].push.apply(result_1426073112[0], [58,32]);; - countHEX60gensym2057_1426073123 += 1; - addQuoted_1426063697(result_1426073112, 0, x_1426073111["Field0"]); - if ((0 < countHEX60gensym2057_1426073123)) { - result_1426073112[0].push.apply(result_1426073112[0], [44,32]);; - } - - result_1426073112[0].push.apply(result_1426073112[0], [116,50]);; - result_1426073112[0].push.apply(result_1426073112[0], [58,32]);; - countHEX60gensym2057_1426073123 += 1; - addQuoted_1426063697(result_1426073112, 0, x_1426073111["Field1"]); - result_1426073112[0].push.apply(result_1426073112[0], [41]);; - - return result_1426073112[0]; - -} - -function calcTime_1426063505(initialState_1426063506, y_1426063507, sign_1426063508) { - var Temporary1; - - var result_1426063509 = 0.0; - - if (sign_1426063508) { - Temporary1 = (-((initialState_1426063506.vel.Field1 + Math.sqrt(((HEX5E_1677721994(initialState_1426063506.vel.Field1, 2) - ((2.0 * initialState_1426063506.gravity.Field1) * initialState_1426063506.height)) + ((2.0 * initialState_1426063506.gravity.Field1) * y_1426063507))))) / initialState_1426063506.gravity.Field1); - } - else { - Temporary1 = (-((initialState_1426063506.vel.Field1 - Math.sqrt(((HEX5E_1677721994(initialState_1426063506.vel.Field1, 2) - ((2.0 * initialState_1426063506.gravity.Field1) * initialState_1426063506.height)) + ((2.0 * initialState_1426063506.gravity.Field1) * y_1426063507))))) / initialState_1426063506.gravity.Field1); - } - - result_1426063509 = Temporary1; - - return result_1426063509; - -} - -function t_English_1728053611(arguments_1728053612) { - var result_1728053613 = []; - - BeforeRet: { - result_1728053613 = nimCopy(null, nsuFormatVarargs([84,105,109,101], arguments_1728053612), NTI33554449); - break BeforeRet; - }; - - return result_1728053613; - -} - -function t_Spanish_1728053614(arguments_1728053615) { - var result_1728053616 = []; - - BeforeRet: { - result_1728053616 = nimCopy(null, nsuFormatVarargs([84,105,101,109,112,111], arguments_1728053615), NTI33554449); - break BeforeRet; - }; - - return result_1728053616; - -} - -function t_1728053617(locale_1728053618, arguments_1728053619) { - var result_1728053620 = []; - - BeforeRet: { - switch (locale_1728053618) { - case 0: - result_1728053620 = nimCopy(null, t_English_1728053611(arguments_1728053619), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053620 = nimCopy(null, t_Spanish_1728053614(arguments_1728053619), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053620; - -} - -function followBullet_English_1728053621(arguments_1728053622) { - var result_1728053623 = []; - - BeforeRet: { - result_1728053623 = nimCopy(null, nsuFormatVarargs([70,111,108,108,111,119,32,98,117,108,108,101,116], arguments_1728053622), NTI33554449); - break BeforeRet; - }; - - return result_1728053623; - -} - -function followBullet_Spanish_1728053624(arguments_1728053625) { - var result_1728053626 = []; - - BeforeRet: { - result_1728053626 = nimCopy(null, nsuFormatVarargs([83,101,103,117,105,114,32,108,97,32,98,97,108,97], arguments_1728053625), NTI33554449); - break BeforeRet; - }; - - return result_1728053626; - -} - -function followBullet_1728053627(locale_1728053628, arguments_1728053629) { - var result_1728053630 = []; - - BeforeRet: { - switch (locale_1728053628) { - case 0: - result_1728053630 = nimCopy(null, followBullet_English_1728053621(arguments_1728053629), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053630 = nimCopy(null, followBullet_Spanish_1728053624(arguments_1728053629), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053630; - -} - -function noPoint_English_1728053631(arguments_1728053632) { - var result_1728053633 = []; - - BeforeRet: { - result_1728053633 = nimCopy(null, nsuFormatVarargs([83,101,108,101,99,116,32,97,32,116,114,97,106,101,99,116,111,114,121,32,112,111,105,110,116], arguments_1728053632), NTI33554449); - break BeforeRet; - }; - - return result_1728053633; - -} - -function noPoint_Spanish_1728053634(arguments_1728053635) { - var result_1728053636 = []; - - BeforeRet: { - result_1728053636 = nimCopy(null, nsuFormatVarargs([83,101,108,101,99,99,105,111,110,97,32,117,110,32,112,117,110,116,111,32,100,101,32,108,97,32,116,114,97,121,101,99,116,111,114,105,97], arguments_1728053635), NTI33554449); - break BeforeRet; - }; - - return result_1728053636; - -} - -function noPoint_1728053637(locale_1728053638, arguments_1728053639) { - var result_1728053640 = []; - - BeforeRet: { - switch (locale_1728053638) { - case 0: - result_1728053640 = nimCopy(null, noPoint_English_1728053631(arguments_1728053639), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053640 = nimCopy(null, noPoint_Spanish_1728053634(arguments_1728053639), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053640; - -} - -function renderPointAccordion_1426072505(state_1426072506) { - -function changeXTo_1426072509(x_1426072510) { - -function HEX3Aanonymous_1426072583(p_1426072586) { - var result_1426072589 = 0.0; - - result_1426072589 = p_1426072586.pos.Field0; - - return result_1426072589; - - } - - BeforeRet: { - if ((!(state_1426072506.startedRendering) || ((state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length == 0))) { - break BeforeRet; - } - - var x_1426072518 = round_1426064167(fromMuDistance_1694499117(x_1426072510), state_1426072506.floatPrecision); - var index_1426072519 = 0; - var exactMatch_1426072520 = false; - if ((0 <= state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint)) { - delete_1426072521(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)], "points", chckRange(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint, 0, 2147483647)); - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint = (-1); - } - - if ((HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).pos.Field0 == 0.0)) { - index_1426072519 = 0; - } - else { - if ((((0.0 < HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).pos.Field0) && (x_1426072518 <= state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points[chckIndx(0, 0, (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1)].pos.Field0)) || ((HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).pos.Field0 < 0.0) && (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points[chckIndx(0, 0, (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1)].pos.Field0 <= x_1426072518)))) { - index_1426072519 = 0; - } - else { - if ((((0.0 < HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).pos.Field0) && (HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).pos.Field0 <= x_1426072518)) || ((HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).pos.Field0 < 0.0) && (x_1426072518 <= HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).pos.Field0)))) { - index_1426072519 = (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1; - } - else { - var __1426072582 = nimCopy(null, findBy_1426072591(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, x_1426072518, HEX3Aanonymous_1426072583), NTI1426063905); - index_1426072519 = __1426072582["Field0"]; - exactMatch_1426072520 = __1426072582["Field1"]; - if (!(exactMatch_1426072520)) { - var newP_1426072658 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - var initialState_1426072659 = nimCopy(null, state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].state, NTI1426063363); - initialState_1426072659.gravity = nimCopy(initialState_1426072659.gravity, HEX2A_1677721966(initialState_1426072659.gravity, 279.0), NTI1677721603); - newP_1426072658.time = calcTime_1426063501(initialState_1426072659, x_1426072518); - newP_1426072658.pos = nimCopy(newP_1426072658.pos, vec_1677721936(x_1426072518, calcY_1426063485(initialState_1426072659, newP_1426072658.time)), NTI1677721603); - newP_1426072658.vel = nimCopy(newP_1426072658.vel, calcVel_1426063497(initialState_1426072659, newP_1426072658.time), NTI1677721603); - newP_1426072658.speed = magnitude_1426063518(newP_1426072658.vel); - insert_1426072660(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)], "points", newP_1426072658, chckRange(index_1426072519, 0, 2147483647)); - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint = index_1426072519; - } - - } - }} - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].pinnedPoint = index_1426072519; - updatePointAccordion_1426064918(state_1426072506); - }; - - -} - -function HEX3Aanonymous_1426073224(ev_1426073225, n_1426073226) { - var x_1426073227 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426073226)), x_1426073227, 0, 0); - changeXTo_1426072509(x_1426073227[0]); - - - } - -function HEX3Aanonymous_1426073228(e_1426073229, n_1426073230) { - var Temporary1; - - BeforeRet: { - e_1426073229.preventDefault(); - if ((document.activeElement == null)) Temporary1 = true; else { Temporary1 = !(((document.activeElement).isEqualNode((n_1426073230.dom)))); } if (Temporary1) { - break BeforeRet; - } - - var x_1426073251 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426073230)), x_1426073251, 0, 0); - if ((0.0 < ((e_1426073229).wheelDelta))) { - HEX2BHEX3D_872417557(x_1426073251, 0, 1.0); - } - else { - HEX2DHEX3D_1426064176(x_1426073251, 0, 1.0); - } - - changeXTo_1426072509(x_1426073251[0]); - }; - - - } - -function onInputYChange_1426072765(ev_1426072766, n_1426072767) { - var Temporary1; - var Temporary2; - var Temporary3; - -function HEX3Aanonymous_1426072957(p_1426072960) { - var result_1426072963 = 0.0; - - result_1426072963 = p_1426072960.pos.Field1; - - return result_1426072963; - - } - - BeforeRet: { - if ((!(state_1426072506.startedRendering) || ((state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length == 0))) { - break BeforeRet; - } - - var y_1426072771 = [0.0]; - var val_1426072772 = [cstrToNimstr(value_754975170(n_1426072767))]; - var sign_1426072773 = (((val_1426072772[0]).length == 0) || !((val_1426072772[0][chckIndx(0, 0, (val_1426072772[0]).length - 1)] == 45))); - if (!(sign_1426072773)) { - delete_872416585(val_1426072772, 0, HEX2EHEX2E_1157627952(0, 0)); - } - - var _ = parseFloat_889193380(val_1426072772[0], y_1426072771, 0, 0); - y_1426072771[0] = round_1426064167(fromMuDistance_1694499117(y_1426072771[0]), state_1426072506.floatPrecision); - rawEcho(HEX24_1426072832({Field0: y_1426072771[0], Field1: sign_1426072773})); - var index_1426072879 = 0; - var exactMatch_1426072880 = false; - if ((0 <= state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint)) { - delete_1426072521(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)], "points", chckRange(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint, 0, 2147483647)); - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint = (-1); - } - - if (((state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points[chckIndx(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].highestPoint, 0, (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1)].pos.Field1 == 0.0) || (y_1426072771[0] <= 0.0))) { - if (sign_1426072773) { - Temporary1 = 0; - } - else { - Temporary1 = (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1; - } - - index_1426072879 = Temporary1; - } - else { - if (((state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points[chckIndx(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].highestPoint, 0, (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1)].pos.Field1 <= y_1426072771[0]) && contains_1426064861(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].highestPoint))) { - index_1426072879 = state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].highestPoint; - } - else { - if (contains_1426064861(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].highestPoint)) { - if (sign_1426072773) { - Temporary3 = HEX5BHEX5D_1426072908(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, HEX2EHEX2E_1157627952(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].highestPoint, (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1)); - } - else { - Temporary3 = HEX5BHEX5D_1426072908(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, HEX2EHEX2E_1157627952(0, state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].highestPoint)); - } - - Temporary2 = Temporary3; - } - else { - Temporary2 = newSeq_1426072947(0); - } - - var points_1426072955 = nimCopy(null, Temporary2, NTI1426070160); - var __1426072956 = nimCopy(null, findBy_1426072591(points_1426072955, y_1426072771[0], HEX3Aanonymous_1426072957), NTI1426063905); - index_1426072879 = __1426072956["Field0"]; - exactMatch_1426072880 = __1426072956["Field1"]; - rawEcho(HEX24_1426073015({Field0: index_1426072879, Field1: exactMatch_1426072880})); - if (!(exactMatch_1426072880)) { - var newP_1426073057 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - var initialState_1426073058 = nimCopy(null, state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].state, NTI1426063363); - initialState_1426073058.gravity = nimCopy(initialState_1426073058.gravity, HEX2A_1677721966(initialState_1426073058.gravity, 279.0), NTI1677721603); - rawEcho(HEX24_1426073109({Field0: calcTime_1426063505(initialState_1426073058, y_1426072771[0], true), Field1: calcTime_1426063505(initialState_1426073058, y_1426072771[0], false)})); - newP_1426073057.time = calcTime_1426063505(initialState_1426073058, y_1426072771[0], !(sign_1426072773)); - newP_1426073057.pos = nimCopy(newP_1426073057.pos, vec_1677721936(calcX_1426063481(initialState_1426073058, newP_1426073057.time), y_1426072771[0]), NTI1677721603); - newP_1426073057.vel = nimCopy(newP_1426073057.vel, calcVel_1426063497(initialState_1426073058, newP_1426073057.time), NTI1677721603); - newP_1426073057.speed = magnitude_1426063518(newP_1426073057.vel); - insert_1426072660(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)], "points", newP_1426073057, chckRange(index_1426072879, 0, 2147483647)); - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint = index_1426072879; - } - - } - } - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].pinnedPoint = index_1426072879; - updatePointAccordion_1426064918(state_1426072506); - }; - - - } - -function changeTTo_1426072716(t_1426072717) { - -function HEX3Aanonymous_1426072744(p_1426072747) { - var result_1426072750 = 0.0; - - result_1426072750 = p_1426072747.time; - - return result_1426072750; - - } - - BeforeRet: { - if ((!(state_1426072506.startedRendering) || ((state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length == 0))) { - break BeforeRet; - } - - var t_1426072725 = round_1426064167(t_1426072717, state_1426072506.floatPrecision); - var index_1426072726 = 0; - var exactMatch_1426072727 = false; - if ((0 <= state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint)) { - delete_1426072521(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)], "points", chckRange(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint, 0, 2147483647)); - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint = (-1); - } - - if (((HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).time == 0.0) || (t_1426072725 <= 0.0))) { - index_1426072726 = 0; - } - else { - if ((HEX5BHEX5D_1426064495(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, 1).time <= t_1426072725)) { - index_1426072726 = (state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points).length - 1; - } - else { - var __1426072743 = nimCopy(null, findBy_1426072591(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].points, t_1426072725, HEX3Aanonymous_1426072744), NTI1426063905); - index_1426072726 = __1426072743["Field0"]; - exactMatch_1426072727 = __1426072743["Field1"]; - if (!(exactMatch_1426072727)) { - var newP_1426072758 = ({pos: {Field0: 0.0, Field1: 0.0}, vel: {Field0: 0.0, Field1: 0.0}, time: 0.0, speed: 0.0}); - var initialState_1426072759 = nimCopy(null, state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].state, NTI1426063363); - initialState_1426072759.gravity = nimCopy(initialState_1426072759.gravity, HEX2A_1677721966(initialState_1426072759.gravity, 279.0), NTI1677721603); - newP_1426072758.time = t_1426072725; - newP_1426072758.pos = nimCopy(newP_1426072758.pos, calcPos_1426063493(initialState_1426072759, t_1426072725), NTI1677721603); - newP_1426072758.vel = nimCopy(newP_1426072758.vel, calcVel_1426063497(initialState_1426072759, t_1426072725), NTI1677721603); - newP_1426072758.speed = magnitude_1426063518(newP_1426072758.vel); - insert_1426072660(state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)], "points", newP_1426072758, chckRange(index_1426072726, 0, 2147483647)); - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].extraPoint = index_1426072726; - } - - } - } - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].pinnedPoint = index_1426072726; - updatePointAccordion_1426064918(state_1426072506); - }; - - -} - -function HEX3Aanonymous_1426073274(ev_1426073275, n_1426073276) { - var t_1426073277 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426073276)), t_1426073277, 0, 0); - changeTTo_1426072716(t_1426073277[0]); - - - } - -function HEX3Aanonymous_1426073278(e_1426073279, n_1426073280) { - var Temporary1; - - BeforeRet: { - e_1426073279.preventDefault(); - if ((document.activeElement == null)) Temporary1 = true; else { Temporary1 = !(((document.activeElement).isEqualNode((n_1426073280.dom)))); } if (Temporary1) { - break BeforeRet; - } - - var t_1426073301 = [0.0]; - var _ = parseFloat_889193380(cstrToNimstr(value_754975170(n_1426073280)), t_1426073301, 0, 0); - if ((0.0 < ((e_1426073279).wheelDelta))) { - HEX2BHEX3D_872417557(t_1426073301, 0, 0.1); - } - else { - HEX2DHEX3D_1426064176(t_1426073301, 0, 0.1); - } - - changeTTo_1426072716(t_1426073301[0]); - }; - - - } - -function HEX3Aanonymous_1426073324(ev_1426073325, n_1426073326) { - state_1426072506.followBullet = n_1426073326.dom.checked; - if (state_1426072506.followBullet) { - if ((0 < (state_1426072506.canon.flyingBullets).length)) { - calcClosestTrajectoryPointToBullet_1426066201(state_1426072506, (-1)); - updatePointAccordion_1426064918(state_1426072506); - } - - } - else { - if ((0 < (state_1426072506.canon.flyingBullets).length)) { - calcClosestTrajectoryPointToBullet_1426066201(state_1426072506, (-1)); - state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].pinnedPoint = state_1426072506.trajectories[chckIndx(state_1426072506.currentTrajectory, 0, (state_1426072506.trajectories).length - 1)].closestPoint; - } - - } - - - - } - - var result_1426072507 = null; - - var liStyle_1426072508 = toCss_822084081([109,97,114,103,105,110,45,116,111,112,58,32,50,48,112,120,59]); - var tmp_1426073162 = tree_754975616(190, []); - tmp_1426073162.class = "form-horizontal"; - var tmp_1426073163 = tree_754975616(44, []); - tmp_1426073163.class = "form-group"; - var tmp_1426073164 = tree_754975616(44, []); - tmp_1426073164.class = "col-3 col-sm-12"; - var tmp_1426073165 = tree_754975616(193, []); - tmp_1426073165.class = "form-label"; - setAttr_754975467(tmp_1426073165, "for", "point-input-x"); - add_754975552(tmp_1426073165, text_754975684(x_1728053597(state_1426072506.lang, []))); - add_754975552(tmp_1426073164, tmp_1426073165); - add_754975552(tmp_1426073163, tmp_1426073164); - var tmp_1426073166 = tree_754975616(44, []); - tmp_1426073166.class = "col-9 col-sm-12"; - var tmp_1426073167 = tree_754975616(194, []); - tmp_1426073167.class = "form-input form-inline"; - setAttr_754975467(tmp_1426073167, "type", "number"); - tmp_1426073167.id = "point-input-x"; - setAttr_754975467(tmp_1426073167, "step", toJSStr(inputStep_1426064076(state_1426072506))); - addEventHandler_721422102(tmp_1426073167, 8, HEX3Aanonymous_1426073224, kxi__); - addEventHandler_721422102(tmp_1426073167, 36, HEX3Aanonymous_1426073228, kxi__); - add_754975552(tmp_1426073166, tmp_1426073167); - add_754975552(tmp_1426073163, tmp_1426073166); - add_754975552(tmp_1426073162, tmp_1426073163); - var tmp_1426073168 = tree_754975616(44, []); - tmp_1426073168.class = "form-group"; - var tmp_1426073169 = tree_754975616(44, []); - tmp_1426073169.class = "col-3 col-sm-12"; - var tmp_1426073170 = tree_754975616(193, []); - tmp_1426073170.class = "form-label"; - setAttr_754975467(tmp_1426073170, "for", "point-input-y"); - add_754975552(tmp_1426073170, text_754975684(y_1728053607(state_1426072506.lang, []))); - add_754975552(tmp_1426073169, tmp_1426073170); - add_754975552(tmp_1426073168, tmp_1426073169); - var tmp_1426073171 = tree_754975616(44, []); - tmp_1426073171.class = "col-9 col-sm-12"; - var tmp_1426073172 = tree_754975616(194, []); - tmp_1426073172.class = "form-input form-inline"; - setAttr_754975467(tmp_1426073172, "type", "number"); - tmp_1426073172.id = "point-input-y"; - setAttr_754975467(tmp_1426073172, "step", toJSStr(inputStep_1426064076(state_1426072506))); - addEventHandler_721422102(tmp_1426073172, 8, onInputYChange_1426072765, kxi__); - setAttr_754975512(tmp_1426073172, "readonly", true); - add_754975552(tmp_1426073171, tmp_1426073172); - add_754975552(tmp_1426073168, tmp_1426073171); - add_754975552(tmp_1426073162, tmp_1426073168); - var tmp_1426073173 = tree_754975616(44, []); - tmp_1426073173.class = "form-group"; - var tmp_1426073174 = tree_754975616(44, []); - tmp_1426073174.class = "col-3 col-sm-12"; - var tmp_1426073175 = tree_754975616(193, []); - tmp_1426073175.class = "form-label"; - setAttr_754975467(tmp_1426073175, "for", "point-input-y"); - add_754975552(tmp_1426073175, text_754975684(t_1728053617(state_1426072506.lang, []))); - add_754975552(tmp_1426073174, tmp_1426073175); - add_754975552(tmp_1426073173, tmp_1426073174); - var tmp_1426073176 = tree_754975616(44, []); - tmp_1426073176.class = "col-9 col-sm-12"; - var tmp_1426073177 = tree_754975616(194, []); - tmp_1426073177.class = "form-input form-inline"; - setAttr_754975467(tmp_1426073177, "type", "number"); - tmp_1426073177.id = "point-input-t"; - setAttr_754975467(tmp_1426073177, "step", toJSStr(inputStep_1426064076(state_1426072506))); - addEventHandler_721422102(tmp_1426073177, 8, HEX3Aanonymous_1426073274, kxi__); - addEventHandler_721422102(tmp_1426073177, 36, HEX3Aanonymous_1426073278, kxi__); - add_754975552(tmp_1426073176, tmp_1426073177); - add_754975552(tmp_1426073173, tmp_1426073176); - add_754975552(tmp_1426073162, tmp_1426073173); - var tmp_1426073178 = tree_754975616(44, []); - tmp_1426073178.class = "form-group"; - var tmp_1426073179 = tree_754975616(44, []); - tmp_1426073179.class = "col-3 col-sm-12"; - var tmp_1426073180 = tree_754975616(193, []); - tmp_1426073180.class = "form-label"; - setAttr_754975467(tmp_1426073180, "for", "point-input-vx"); - add_754975552(tmp_1426073180, text_754975684(vx_1728053567(state_1426072506.lang, []))); - add_754975552(tmp_1426073179, tmp_1426073180); - add_754975552(tmp_1426073178, tmp_1426073179); - var tmp_1426073181 = tree_754975616(44, []); - tmp_1426073181.class = "col-9 col-sm-12"; - var tmp_1426073182 = tree_754975616(194, []); - tmp_1426073182.class = "form-input form-inline"; - setAttr_754975467(tmp_1426073182, "type", "number"); - tmp_1426073182.id = "point-input-vx"; - setAttr_754975512(tmp_1426073182, "readonly", true); - add_754975552(tmp_1426073181, tmp_1426073182); - add_754975552(tmp_1426073178, tmp_1426073181); - add_754975552(tmp_1426073162, tmp_1426073178); - var tmp_1426073183 = tree_754975616(44, []); - tmp_1426073183.class = "form-group"; - var tmp_1426073184 = tree_754975616(44, []); - tmp_1426073184.class = "col-3 col-sm-12"; - var tmp_1426073185 = tree_754975616(193, []); - tmp_1426073185.class = "form-label"; - setAttr_754975467(tmp_1426073185, "for", "point-input-vy"); - add_754975552(tmp_1426073185, text_754975684(vy_1728053577(state_1426072506.lang, []))); - add_754975552(tmp_1426073184, tmp_1426073185); - add_754975552(tmp_1426073183, tmp_1426073184); - var tmp_1426073186 = tree_754975616(44, []); - tmp_1426073186.class = "col-9 col-sm-12"; - var tmp_1426073187 = tree_754975616(194, []); - tmp_1426073187.class = "form-input form-inline"; - setAttr_754975467(tmp_1426073187, "type", "number"); - tmp_1426073187.id = "point-input-vy"; - setAttr_754975512(tmp_1426073187, "readonly", true); - add_754975552(tmp_1426073186, tmp_1426073187); - add_754975552(tmp_1426073183, tmp_1426073186); - add_754975552(tmp_1426073162, tmp_1426073183); - var tmp_1426073188 = tree_754975616(44, []); - tmp_1426073188.class = "form-group"; - var tmp_1426073189 = tree_754975616(44, []); - tmp_1426073189.class = "col-3 col-sm-12"; - var tmp_1426073190 = tree_754975616(193, []); - tmp_1426073190.class = "form-label"; - setAttr_754975467(tmp_1426073190, "for", "point-input-s"); - add_754975552(tmp_1426073190, text_754975684(speed_1728053557(state_1426072506.lang, []))); - add_754975552(tmp_1426073189, tmp_1426073190); - add_754975552(tmp_1426073188, tmp_1426073189); - var tmp_1426073191 = tree_754975616(44, []); - tmp_1426073191.class = "col-9 col-sm-12"; - var tmp_1426073192 = tree_754975616(194, []); - tmp_1426073192.class = "form-input form-inline"; - setAttr_754975467(tmp_1426073192, "type", "number"); - tmp_1426073192.id = "point-input-s"; - setAttr_754975512(tmp_1426073192, "readonly", true); - add_754975552(tmp_1426073191, tmp_1426073192); - add_754975552(tmp_1426073188, tmp_1426073191); - add_754975552(tmp_1426073162, tmp_1426073188); - var tmp_1426073193 = tree_754975616(44, []); - tmp_1426073193.class = "form-group"; - var tmp_1426073194 = tree_754975616(193, []); - tmp_1426073194.class = "form-switch"; - var tmp_1426073195 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073195, "type", "checkbox"); - tmp_1426073195.id = "point-input-f"; - setAttr_754975512(tmp_1426073195, "checked", false); - addEventHandler_721422102(tmp_1426073195, 8, HEX3Aanonymous_1426073324, kxi__); - add_754975552(tmp_1426073194, tmp_1426073195); - var tmp_1426073196 = tree_754975616(62, []); - tmp_1426073196.class = "form-icon"; - add_754975552(tmp_1426073194, tmp_1426073196); - add_754975552(tmp_1426073194, text_754975684(followBullet_1728053627(state_1426072506.lang, []))); - add_754975552(tmp_1426073193, tmp_1426073194); - add_754975552(tmp_1426073162, tmp_1426073193); - var tmp_1426073197 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073197, "type", "submit"); - setAttr_754975512(tmp_1426073197, "disabled", true); - tmp_1426073197.style = toCss_822084081([100,105,115,112,108,97,121,58,32,110,111,110,101,59]); - setAttr_754975512(tmp_1426073197, "aria-hidden", true); - add_754975552(tmp_1426073162, tmp_1426073197); - var tmp_1426073198 = tree_754975616(44, []); - tmp_1426073198.id = "x"; - tmp_1426073198.class = "accordion"; - var tmp_1426073199 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073199, "type", "checkbox"); - setAttr_754975467(tmp_1426073199, "name", "accordion-checkbox"); - tmp_1426073199.id = "accordion-f-x"; - setAttr_754975512(tmp_1426073199, "hidden", true); - setAttr_754975512(tmp_1426073199, "checked", false); - add_754975552(tmp_1426073198, tmp_1426073199); - var tmp_1426073200 = tree_754975616(193, []); - tmp_1426073200.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426073200, "for", "accordion-f-x"); - setAttr_754975467(tmp_1426073200, "data-tooltip", toJSStr(x_1728053597(state_1426072506.lang, []))); - setAttr_754975467(tmp_1426073200, "disabled-data-tooltip", toJSStr(noPoint_1728053637(state_1426072506.lang, []))); - var tmp_1426073201 = tree_754975616(62, []); - tmp_1426073201.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426073200, tmp_1426073201); - add_754975552(tmp_1426073200, text_754975684([92,40,120,32,61,32,116,92,58,92,99,100,111,116,92,58,118,95,123,111,120,125,32,61,32,100,92,41])); - add_754975552(tmp_1426073198, tmp_1426073200); - var tmp_1426073202 = tree_754975616(44, []); - tmp_1426073202.class = "accordion-body"; - tmp_1426073202.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426073203 = tree_754975616(37, []); - tmp_1426073203.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426073204 = tree_754975616(38, []); - add_754975552(tmp_1426073204, text_754975684([92,40,120,32,61,32,116,92,58,92,99,100,111,116,92,58,118,32,61,32,100,92,41])); - add_754975552(tmp_1426073203, tmp_1426073204); - add_754975552(tmp_1426073202, tmp_1426073203); - add_754975552(tmp_1426073198, tmp_1426073202); - add_754975552(tmp_1426073162, tmp_1426073198); - var tmp_1426073205 = tree_754975616(44, []); - tmp_1426073205.id = "y"; - tmp_1426073205.class = "accordion"; - var tmp_1426073206 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073206, "type", "checkbox"); - setAttr_754975467(tmp_1426073206, "name", "accordion-checkbox"); - tmp_1426073206.id = "accordion-f-y"; - setAttr_754975512(tmp_1426073206, "hidden", true); - setAttr_754975512(tmp_1426073206, "checked", false); - add_754975552(tmp_1426073205, tmp_1426073206); - var tmp_1426073207 = tree_754975616(193, []); - tmp_1426073207.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426073207, "for", "accordion-f-y"); - setAttr_754975467(tmp_1426073207, "data-tooltip", toJSStr(y_1728053607(state_1426072506.lang, []))); - setAttr_754975467(tmp_1426073207, "disabled-data-tooltip", toJSStr(noPoint_1728053637(state_1426072506.lang, []))); - var tmp_1426073208 = tree_754975616(62, []); - tmp_1426073208.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426073207, tmp_1426073208); - add_754975552(tmp_1426073207, text_754975684([92,40,121,32,61,32,104,92,58,43,92,58,116,92,58,92,99,100,111,116,92,58,118,95,123,111,121,125,92,58,43,92,58,92,100,102,114,97,99,123,103,92,58,92,99,100,111,116,92,58,116,94,50,125,123,50,125,32,61,32,100,92,41])); - add_754975552(tmp_1426073205, tmp_1426073207); - var tmp_1426073209 = tree_754975616(44, []); - tmp_1426073209.class = "accordion-body"; - tmp_1426073209.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426073210 = tree_754975616(37, []); - tmp_1426073210.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426073211 = tree_754975616(38, []); - add_754975552(tmp_1426073211, text_754975684([92,40,121,32,61,32,104,92,58,43,92,58,116,92,58,92,99,100,111,116,92,58,118,92,58,43,92,58,92,100,102,114,97,99,123,103,92,58,92,99,100,111,116,92,58,116,94,50,125,123,50,125,92,41])); - add_754975552(tmp_1426073210, tmp_1426073211); - var tmp_1426073212 = tree_754975616(38, []); - tmp_1426073212.style = liStyle_1426072508; - add_754975552(tmp_1426073212, text_754975684([92,40,121,32,61,32,104,92,58,43,92,58,97,92,58,43,92,58,92,100,102,114,97,99,123,103,92,58,92,99,100,111,116,92,58,116,125,123,50,125,92,41])); - add_754975552(tmp_1426073210, tmp_1426073212); - var tmp_1426073213 = tree_754975616(38, []); - tmp_1426073213.style = liStyle_1426072508; - add_754975552(tmp_1426073213, text_754975684([92,40,121,32,61,32,98,92,58,43,92,58,92,100,102,114,97,99,123,99,125,123,50,125,92,41])); - add_754975552(tmp_1426073210, tmp_1426073213); - var tmp_1426073214 = tree_754975616(38, []); - tmp_1426073214.style = liStyle_1426072508; - add_754975552(tmp_1426073214, text_754975684([92,40,121,32,61,32,98,92,58,43,92,58,100,32,61,32,101,92,41])); - add_754975552(tmp_1426073210, tmp_1426073214); - add_754975552(tmp_1426073209, tmp_1426073210); - add_754975552(tmp_1426073205, tmp_1426073209); - add_754975552(tmp_1426073162, tmp_1426073205); - var tmp_1426073215 = tree_754975616(193, []); - tmp_1426073215.id = "vx"; - tmp_1426073215.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426073215, "data-tooltip", toJSStr(vx_1728053567(state_1426072506.lang, []))); - tmp_1426073215.style = toCss_822084081([109,97,114,103,105,110,45,98,111,116,116,111,109,58,32,48,46,54,114,101,109,59,32,109,97,114,103,105,110,45,108,101,102,116,58,32,49,114,101,109,59]); - add_754975552(tmp_1426073215, text_754975684([92,40,118,95,123,120,125,32,61,32,118,95,123,120,121,125,32,61,32,100,92,41])); - add_754975552(tmp_1426073162, tmp_1426073215); - var tmp_1426073216 = tree_754975616(44, []); - tmp_1426073216.id = "vy"; - tmp_1426073216.class = "accordion"; - var tmp_1426073217 = tree_754975616(194, []); - setAttr_754975467(tmp_1426073217, "type", "checkbox"); - setAttr_754975467(tmp_1426073217, "name", "accordion-checkbox"); - tmp_1426073217.id = "accordion-f-vy"; - setAttr_754975512(tmp_1426073217, "hidden", true); - setAttr_754975512(tmp_1426073217, "checked", false); - add_754975552(tmp_1426073216, tmp_1426073217); - var tmp_1426073218 = tree_754975616(193, []); - tmp_1426073218.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426073218, "for", "accordion-f-vy"); - setAttr_754975467(tmp_1426073218, "data-tooltip", toJSStr(vy_1728053577(state_1426072506.lang, []))); - setAttr_754975467(tmp_1426073218, "disabled-data-tooltip", toJSStr(noPoint_1728053637(state_1426072506.lang, []))); - var tmp_1426073219 = tree_754975616(62, []); - tmp_1426073219.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426073218, tmp_1426073219); - add_754975552(tmp_1426073218, text_754975684([92,40,118,95,123,121,125,32,61,32,118,95,123,105,121,125,92,58,45,92,58,103,92,58,92,99,100,111,116,92,58,116,32,61,32,100,92,41])); - add_754975552(tmp_1426073216, tmp_1426073218); - var tmp_1426073220 = tree_754975616(44, []); - tmp_1426073220.class = "accordion-body"; - tmp_1426073220.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426073221 = tree_754975616(37, []); - tmp_1426073221.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426073222 = tree_754975616(38, []); - add_754975552(tmp_1426073222, text_754975684([92,40,118,95,123,121,125,32,61,32,118,92,58,45,92,58,103,92,58,92,99,100,111,116,92,58,116,92,41])); - add_754975552(tmp_1426073221, tmp_1426073222); - var tmp_1426073223 = tree_754975616(38, []); - tmp_1426073223.style = liStyle_1426072508; - add_754975552(tmp_1426073223, text_754975684([92,40,118,95,123,121,125,32,61,32,118,92,58,45,92,58,97,32,61,32,98,92,41])); - add_754975552(tmp_1426073221, tmp_1426073223); - add_754975552(tmp_1426073220, tmp_1426073221); - add_754975552(tmp_1426073216, tmp_1426073220); - add_754975552(tmp_1426073162, tmp_1426073216); - result_1426072507 = tmp_1426073162; - - return result_1426072507; - -} - -function formulas_English_1728053711(arguments_1728053712) { - var result_1728053713 = []; - - BeforeRet: { - result_1728053713 = nimCopy(null, nsuFormatVarargs([69,113,117,97,116,105,111,110,115], arguments_1728053712), NTI33554449); - break BeforeRet; - }; - - return result_1728053713; - -} - -function formulas_Spanish_1728053714(arguments_1728053715) { - var result_1728053716 = []; - - BeforeRet: { - result_1728053716 = nimCopy(null, nsuFormatVarargs([69,113,117,97,99,105,111,110,101,115], arguments_1728053715), NTI33554449); - break BeforeRet; - }; - - return result_1728053716; - -} - -function formulas_1728053717(locale_1728053718, arguments_1728053719) { - var result_1728053720 = []; - - BeforeRet: { - switch (locale_1728053718) { - case 0: - result_1728053720 = nimCopy(null, formulas_English_1728053711(arguments_1728053719), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053720 = nimCopy(null, formulas_Spanish_1728053714(arguments_1728053719), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053720; - -} - -function maxHeight_English_1728053491(arguments_1728053492) { - var result_1728053493 = []; - - BeforeRet: { - result_1728053493 = nimCopy(null, nsuFormatVarargs([77,97,120,32,104,101,105,103,104,116], arguments_1728053492), NTI33554449); - break BeforeRet; - }; - - return result_1728053493; - -} - -function maxHeight_Spanish_1728053494(arguments_1728053495) { - var result_1728053496 = []; - - BeforeRet: { - result_1728053496 = nimCopy(null, nsuFormatVarargs([65,108,116,117,114,97,32,109,195,161,120,105,109,97], arguments_1728053495), NTI33554449); - break BeforeRet; - }; - - return result_1728053496; - -} - -function maxHeight_1728053497(locale_1728053498, arguments_1728053499) { - var result_1728053500 = []; - - BeforeRet: { - switch (locale_1728053498) { - case 0: - result_1728053500 = nimCopy(null, maxHeight_English_1728053491(arguments_1728053499), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053500 = nimCopy(null, maxHeight_Spanish_1728053494(arguments_1728053499), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053500; - -} - -function disabledMaxHeight_English_1728053501(arguments_1728053502) { - var result_1728053503 = []; - - BeforeRet: { - result_1728053503 = nimCopy(null, nsuFormatVarargs([84,104,101,32,99,97,110,111,110,32,99,97,110,110,111,116,32,112,111,105,110,116,32,100,111,119,110,119,97,114,100,115], arguments_1728053502), NTI33554449); - break BeforeRet; - }; - - return result_1728053503; - -} - -function disabledMaxHeight_Spanish_1728053504(arguments_1728053505) { - var result_1728053506 = []; - - BeforeRet: { - result_1728053506 = nimCopy(null, nsuFormatVarargs([69,108,32,99,97,195,177,195,179,110,32,110,111,32,112,117,101,100,101,32,97,112,117,110,116,97,114,32,104,97,99,105,97,32,97,98,97,106,111], arguments_1728053505), NTI33554449); - break BeforeRet; - }; - - return result_1728053506; - -} - -function disabledMaxHeight_1728053507(locale_1728053508, arguments_1728053509) { - var result_1728053510 = []; - - BeforeRet: { - switch (locale_1728053508) { - case 0: - result_1728053510 = nimCopy(null, disabledMaxHeight_English_1728053501(arguments_1728053509), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053510 = nimCopy(null, disabledMaxHeight_Spanish_1728053504(arguments_1728053509), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053510; - -} - -function timeOfFlight_English_1728053511(arguments_1728053512) { - var result_1728053513 = []; - - BeforeRet: { - result_1728053513 = nimCopy(null, nsuFormatVarargs([84,105,109,101,32,111,102,32,102,108,105,103,104,116], arguments_1728053512), NTI33554449); - break BeforeRet; - }; - - return result_1728053513; - -} - -function timeOfFlight_Spanish_1728053514(arguments_1728053515) { - var result_1728053516 = []; - - BeforeRet: { - result_1728053516 = nimCopy(null, nsuFormatVarargs([84,105,101,109,112,111,32,100,101,32,118,117,101,108,111], arguments_1728053515), NTI33554449); - break BeforeRet; - }; - - return result_1728053516; - -} - -function timeOfFlight_1728053517(locale_1728053518, arguments_1728053519) { - var result_1728053520 = []; - - BeforeRet: { - switch (locale_1728053518) { - case 0: - result_1728053520 = nimCopy(null, timeOfFlight_English_1728053511(arguments_1728053519), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053520 = nimCopy(null, timeOfFlight_Spanish_1728053514(arguments_1728053519), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053520; - -} - -function maxRange_English_1728053521(arguments_1728053522) { - var result_1728053523 = []; - - BeforeRet: { - result_1728053523 = nimCopy(null, nsuFormatVarargs([77,97,120,32,114,97,110,103,101], arguments_1728053522), NTI33554449); - break BeforeRet; - }; - - return result_1728053523; - -} - -function maxRange_Spanish_1728053524(arguments_1728053525) { - var result_1728053526 = []; - - BeforeRet: { - result_1728053526 = nimCopy(null, nsuFormatVarargs([82,97,110,103,111,32,109,195,161,120,105,109,111], arguments_1728053525), NTI33554449); - break BeforeRet; - }; - - return result_1728053526; - -} - -function maxRange_1728053527(locale_1728053528, arguments_1728053529) { - var result_1728053530 = []; - - BeforeRet: { - switch (locale_1728053528) { - case 0: - result_1728053530 = nimCopy(null, maxRange_English_1728053521(arguments_1728053529), NTI33554449); - break BeforeRet; - break; - case 1: - result_1728053530 = nimCopy(null, maxRange_Spanish_1728053524(arguments_1728053529), NTI33554449); - break BeforeRet; - break; - } - }; - - return result_1728053530; - -} - -function renderFormulasAccordion_1426072110(state_1426072111) { - var result_1426072112 = null; - - var liStyle_1426072113 = toCss_822084081([109,97,114,103,105,110,45,116,111,112,58,32,50,48,112,120,59]); - var tmp_1426072114 = tree_754975616(44, []); - tmp_1426072114.class = "container"; - var tmp_1426072115 = tree_754975616(44, []); - tmp_1426072115.id = "maxheight"; - tmp_1426072115.class = "accordion"; - var tmp_1426072116 = tree_754975616(194, []); - setAttr_754975467(tmp_1426072116, "type", "checkbox"); - setAttr_754975467(tmp_1426072116, "name", "accordion-checkbox"); - tmp_1426072116.id = "accordion-f-1"; - setAttr_754975512(tmp_1426072116, "hidden", true); - setAttr_754975512(tmp_1426072116, "checked", false); - add_754975552(tmp_1426072115, tmp_1426072116); - var tmp_1426072117 = tree_754975616(193, []); - tmp_1426072117.class = "accordion-header tooltip tooltip-bottom"; - setAttr_754975467(tmp_1426072117, "for", "accordion-f-1"); - setAttr_754975467(tmp_1426072117, "data-tooltip", toJSStr(maxHeight_1728053497(state_1426072111.lang, []))); - setAttr_754975467(tmp_1426072117, "disabled-data-tooltip", toJSStr(disabledMaxHeight_1728053507(state_1426072111.lang, []))); - var tmp_1426072118 = tree_754975616(62, []); - tmp_1426072118.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426072117, tmp_1426072118); - add_754975552(tmp_1426072117, text_754975684([92,40,104,95,123,109,97,120,125,32,61,32,104,32,43,32,92,100,102,114,97,99,123,118,95,123,105,121,125,94,123,50,125,125,123,50,103,125,32,61,32,100,92,41])); - add_754975552(tmp_1426072115, tmp_1426072117); - var tmp_1426072119 = tree_754975616(44, []); - tmp_1426072119.class = "accordion-body"; - tmp_1426072119.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426072120 = tree_754975616(37, []); - tmp_1426072120.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426072121 = tree_754975616(38, []); - tmp_1426072121.id = "mh1"; - add_754975552(tmp_1426072121, text_754975684([92,40,104,95,123,109,97,120,125,32,61,32,104,32,43,32,92,100,102,114,97,99,123,40,118,41,94,123,50,125,125,123,50,92,58,92,99,100,111,116,92,58,49,48,46,49,125,92,41])); - add_754975552(tmp_1426072120, tmp_1426072121); - var tmp_1426072122 = tree_754975616(38, []); - tmp_1426072122.id = "mh2"; - tmp_1426072122.style = liStyle_1426072113; - add_754975552(tmp_1426072122, text_754975684([92,40,104,95,123,109,97,120,125,32,61,32,104,32,43,32,92,100,102,114,97,99,123,118,125,123,103,125,92,41])); - add_754975552(tmp_1426072120, tmp_1426072122); - var tmp_1426072123 = tree_754975616(38, []); - tmp_1426072123.id = "mh4"; - tmp_1426072123.style = liStyle_1426072113; - add_754975552(tmp_1426072123, text_754975684([92,40,104,95,123,109,97,120,125,32,61,32,104,32,43,32,97,32,61,32,100,92,41])); - add_754975552(tmp_1426072120, tmp_1426072123); - add_754975552(tmp_1426072119, tmp_1426072120); - add_754975552(tmp_1426072115, tmp_1426072119); - add_754975552(tmp_1426072114, tmp_1426072115); - var tmp_1426072124 = tree_754975616(44, []); - tmp_1426072124.class = "accordion"; - tmp_1426072124.id = "timeflight"; - var tmp_1426072125 = tree_754975616(194, []); - setAttr_754975467(tmp_1426072125, "type", "checkbox"); - setAttr_754975467(tmp_1426072125, "name", "accordion-checkbox"); - tmp_1426072125.id = "accordion-f-2"; - setAttr_754975512(tmp_1426072125, "hidden", true); - setAttr_754975512(tmp_1426072125, "checked", false); - add_754975552(tmp_1426072124, tmp_1426072125); - var tmp_1426072126 = tree_754975616(193, []); - tmp_1426072126.id = "l_f-2"; - tmp_1426072126.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426072126, "for", "accordion-f-2"); - setAttr_754975467(tmp_1426072126, "data-tooltip", toJSStr(timeOfFlight_1728053517(state_1426072111.lang, []))); - var tmp_1426072127 = tree_754975616(62, []); - tmp_1426072127.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426072126, tmp_1426072127); - add_754975552(tmp_1426072126, text_754975684([92,40,116,95,123,102,125,32,61,32,92,100,102,114,97,99,123,118,95,123,105,121,125,92,58,43,92,58,92,115,113,114,116,123,118,95,123,105,121,125,94,123,50,125,92,58,43,92,58,50,103,104,125,125,123,103,125,32,61,32,100,92,41])); - add_754975552(tmp_1426072124, tmp_1426072126); - var tmp_1426072128 = tree_754975616(44, []); - tmp_1426072128.class = "accordion-body"; - tmp_1426072128.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426072129 = tree_754975616(37, []); - tmp_1426072129.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426072130 = tree_754975616(38, []); - tmp_1426072130.id = "tf1"; - add_754975552(tmp_1426072130, text_754975684(makeNimstrLit("\\(t_{f} = \\dfrac{v\\:+\\:\\sqrt{v^{2}\\:+\\:2\\:\\cdot\\:g\\:\\cdot\\:h}}{g}\\)"))); - add_754975552(tmp_1426072129, tmp_1426072130); - var tmp_1426072131 = tree_754975616(38, []); - tmp_1426072131.id = "tf2"; - tmp_1426072131.style = liStyle_1426072113; - add_754975552(tmp_1426072131, text_754975684([92,40,116,95,123,102,125,32,61,32,92,100,102,114,97,99,123,118,92,58,43,92,58,92,115,113,114,116,123,118,92,58,43,92,58,50,92,58,92,99,100,111,116,92,58,97,125,125,123,103,125,92,41])); - add_754975552(tmp_1426072129, tmp_1426072131); - var tmp_1426072132 = tree_754975616(38, []); - tmp_1426072132.id = "tf3"; - tmp_1426072132.style = liStyle_1426072113; - add_754975552(tmp_1426072132, text_754975684([92,40,116,95,123,102,125,32,61,32,92,100,102,114,97,99,123,118,92,58,43,92,58,92,115,113,114,116,123,118,92,58,43,92,58,97,125,125,123,103,125,92,41])); - add_754975552(tmp_1426072129, tmp_1426072132); - var tmp_1426072133 = tree_754975616(38, []); - tmp_1426072133.id = "tf4"; - tmp_1426072133.style = liStyle_1426072113; - add_754975552(tmp_1426072133, text_754975684([92,40,116,95,123,102,125,32,61,32,92,100,102,114,97,99,123,118,92,58,43,92,58,92,115,113,114,116,123,98,109,194,178,47,115,194,178,125,125,123,103,125,92,41])); - add_754975552(tmp_1426072129, tmp_1426072133); - var tmp_1426072134 = tree_754975616(38, []); - tmp_1426072134.id = "tf5"; - tmp_1426072134.style = liStyle_1426072113; - add_754975552(tmp_1426072134, text_754975684([92,40,116,95,123,102,125,32,61,32,92,100,102,114,97,99,123,118,92,58,43,92,58,101,125,123,103,125,92,41])); - add_754975552(tmp_1426072129, tmp_1426072134); - var tmp_1426072135 = tree_754975616(38, []); - tmp_1426072135.id = "tf6"; - tmp_1426072135.style = liStyle_1426072113; - add_754975552(tmp_1426072135, text_754975684([92,40,116,95,123,102,125,32,61,32,92,100,102,114,97,99,123,99,125,123,103,125,32,61,32,100,92,41])); - add_754975552(tmp_1426072129, tmp_1426072135); - add_754975552(tmp_1426072128, tmp_1426072129); - add_754975552(tmp_1426072124, tmp_1426072128); - add_754975552(tmp_1426072114, tmp_1426072124); - var tmp_1426072136 = tree_754975616(44, []); - tmp_1426072136.class = "accordion"; - tmp_1426072136.id = "maxrangediv"; - var tmp_1426072137 = tree_754975616(194, []); - setAttr_754975467(tmp_1426072137, "type", "checkbox"); - setAttr_754975467(tmp_1426072137, "name", "accordion-checkbox"); - tmp_1426072137.id = "accordion-f-3"; - setAttr_754975512(tmp_1426072137, "hidden", true); - setAttr_754975512(tmp_1426072137, "checked", false); - add_754975552(tmp_1426072136, tmp_1426072137); - var tmp_1426072138 = tree_754975616(193, []); - tmp_1426072138.id = "l_f-3"; - tmp_1426072138.class = "accordion-header tooltip"; - setAttr_754975467(tmp_1426072138, "for", "accordion-f-3"); - setAttr_754975467(tmp_1426072138, "data-tooltip", toJSStr(maxRange_1728053527(state_1426072111.lang, []))); - var tmp_1426072139 = tree_754975616(62, []); - tmp_1426072139.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426072138, tmp_1426072139); - add_754975552(tmp_1426072138, text_754975684([92,40,120,95,123,109,97,120,125,32,61,32,118,95,123,105,120,125,92,58,92,99,100,111,116,92,58,116,95,102,32,61,32,100,92,41])); - add_754975552(tmp_1426072136, tmp_1426072138); - var tmp_1426072140 = tree_754975616(44, []); - tmp_1426072140.class = "accordion-body"; - tmp_1426072140.style = formulaAccordionBodyStyle_1426063623; - var tmp_1426072141 = tree_754975616(37, []); - tmp_1426072141.id = "maxRange"; - tmp_1426072141.style = toCss_822084081([108,105,115,116,45,115,116,121,108,101,45,116,121,112,101,58,32,110,111,110,101,59]); - var tmp_1426072142 = tree_754975616(38, []); - add_754975552(tmp_1426072142, text_754975684([92,40,120,95,123,109,97,120,125,32,61,32,118,92,58,92,99,100,111,116,92,58,116,32,61,32,100,92,41])); - add_754975552(tmp_1426072141, tmp_1426072142); - add_754975552(tmp_1426072140, tmp_1426072141); - add_754975552(tmp_1426072136, tmp_1426072140); - add_754975552(tmp_1426072114, tmp_1426072136); - result_1426072112 = tmp_1426072114; - - return result_1426072112; - -} - -function renderRightDiv_1426074179(state_1426074180) { - var result_1426074181 = null; - - var tmp_1426074182 = tree_754975616(44, []); - tmp_1426074182.class = "column col-4"; - tmp_1426074182.style = toCss_822084081(makeNimstrLit("overflow: auto; height: 100%; scrollbar-width: thin; border-left: 0.3rem solid darkgray;")); - add_754975552(tmp_1426074182, renderTrajectories_1426074005(state_1426074180)); - add_754975552(tmp_1426074182, renderButtons_1426073992(state_1426074180)); - var tmp_1426074183 = tree_754975616(44, []); - tmp_1426074183.class = "accordion"; - var tmp_1426074184 = tree_754975616(194, []); - setAttr_754975467(tmp_1426074184, "type", "checkbox"); - setAttr_754975467(tmp_1426074184, "name", "accordion-checkbox"); - tmp_1426074184.id = "accordion-1"; - setAttr_754975512(tmp_1426074184, "hidden", true); - setAttr_754975512(tmp_1426074184, "checked", true); - add_754975552(tmp_1426074183, tmp_1426074184); - var tmp_1426074185 = tree_754975616(193, []); - tmp_1426074185.class = "accordion-header"; - setAttr_754975467(tmp_1426074185, "for", "accordion-1"); - var tmp_1426074186 = tree_754975616(62, []); - tmp_1426074186.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426074185, tmp_1426074186); - add_754975552(tmp_1426074185, text_754975684(iniState_1728053697(state_1426074180.lang, []))); - add_754975552(tmp_1426074183, tmp_1426074185); - var tmp_1426074187 = tree_754975616(44, []); - tmp_1426074187.class = "accordion-body"; - tmp_1426074187.style = toCss_822084081([112,97,100,100,105,110,103,45,108,101,102,116,58,32,50,101,109,59]); - add_754975552(tmp_1426074187, renderStateAccordion_1426072143(state_1426074180)); - add_754975552(tmp_1426074183, tmp_1426074187); - add_754975552(tmp_1426074182, tmp_1426074183); - var tmp_1426074188 = tree_754975616(44, []); - tmp_1426074188.class = "accordion"; - var tmp_1426074189 = tree_754975616(194, []); - setAttr_754975467(tmp_1426074189, "type", "checkbox"); - setAttr_754975467(tmp_1426074189, "name", "accordion-checkbox"); - tmp_1426074189.id = "accordion-2"; - setAttr_754975512(tmp_1426074189, "hidden", true); - setAttr_754975512(tmp_1426074189, "checked", true); - add_754975552(tmp_1426074188, tmp_1426074189); - var tmp_1426074190 = tree_754975616(193, []); - tmp_1426074190.class = "accordion-header"; - setAttr_754975467(tmp_1426074190, "for", "accordion-2"); - var tmp_1426074191 = tree_754975616(62, []); - tmp_1426074191.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426074190, tmp_1426074191); - add_754975552(tmp_1426074190, text_754975684(point_1728053707(state_1426074180.lang, []))); - add_754975552(tmp_1426074188, tmp_1426074190); - var tmp_1426074192 = tree_754975616(44, []); - tmp_1426074192.class = "accordion-body"; - tmp_1426074192.style = toCss_822084081([112,97,100,100,105,110,103,45,108,101,102,116,58,32,50,101,109,59]); - add_754975552(tmp_1426074192, renderPointAccordion_1426072505(state_1426074180)); - add_754975552(tmp_1426074188, tmp_1426074192); - add_754975552(tmp_1426074182, tmp_1426074188); - var tmp_1426074193 = tree_754975616(44, []); - tmp_1426074193.class = "accordion"; - var tmp_1426074194 = tree_754975616(194, []); - setAttr_754975467(tmp_1426074194, "type", "checkbox"); - setAttr_754975467(tmp_1426074194, "name", "accordion-checkbox"); - tmp_1426074194.id = "accordion-3"; - setAttr_754975512(tmp_1426074194, "hidden", true); - setAttr_754975512(tmp_1426074194, "checked", true); - add_754975552(tmp_1426074193, tmp_1426074194); - var tmp_1426074195 = tree_754975616(193, []); - tmp_1426074195.class = "accordion-header"; - setAttr_754975467(tmp_1426074195, "for", "accordion-3"); - var tmp_1426074196 = tree_754975616(62, []); - tmp_1426074196.class = "icon icon-arrow-right mr-1"; - add_754975552(tmp_1426074195, tmp_1426074196); - add_754975552(tmp_1426074195, text_754975684(formulas_1728053717(state_1426074180.lang, []))); - add_754975552(tmp_1426074193, tmp_1426074195); - var tmp_1426074197 = tree_754975616(44, []); - tmp_1426074197.class = "accordion-body"; - tmp_1426074197.style = toCss_822084081([112,97,100,100,105,110,103,45,108,101,102,116,58,32,50,101,109,59,32,119,105,100,116,104,58,32,49,48,48,37,59,32,111,118,101,114,102,108,111,119,58,32,97,117,116,111,59]); - add_754975552(tmp_1426074197, renderFormulasAccordion_1426072110(state_1426074180)); - add_754975552(tmp_1426074193, tmp_1426074197); - add_754975552(tmp_1426074182, tmp_1426074193); - result_1426074181 = tmp_1426074182; - - return result_1426074181; - -} - -function render_1426074198(state_1426074199) { - var result_1426074200 = null; - - var tmp_1426074201 = tree_754975616(44, []); - tmp_1426074201.class = "columns col-gapless"; - tmp_1426074201.style = toCss_822084081([104,101,105,103,104,116,58,32,49,48,48,37,59,32,119,105,100,116,104,58,32,49,48,48,37]); - add_754975552(tmp_1426074201, renderLeftDiv_1426072030(state_1426074199)); - add_754975552(tmp_1426074201, renderRightDiv_1426074179(state_1426074199)); - result_1426074200 = tmp_1426074201; - - return result_1426074200; - -} - -function render_570425437() { - var result_570425438 = null; - - result_570425438 = render_1426074198(state_570425436[0].parabola); - - return result_570425438; - -} - -function postRender_570425439() { - if (!(state_570425436[0].matterLoaded)) { - if (true) { - load_1426069741(state_570425436[0].parabola); - state_570425436[0].matterLoaded = true; - } - else { - var _ = setTimeout(postRender_570425439, 300); - } - - } - - - -} -var state_570425436 = [newState_570425354()]; -setRenderer_721422053(render_570425437, "ROOT", postRender_570425439); +var framePtr=null,excHandler=0,lastJSError=null,NTI1426070160={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426063905={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426063484={size:0,kind:16,base:null,node:null,finalizer:null},NTI1426063485={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426071461={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426071236={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426071212={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426071205={size:0,kind:18,base:null,node:null,finalizer:null},NTI754975002={size:0,kind:24,base:null,node:null,finalizer:null},NTI721420297={size:0,kind:18,base:null,node:null,finalizer:null},NTI805306404={size:0,kind:18,base:null,node:null,finalizer:null},NTI805306405={size:0,kind:22,base:null,node:null,finalizer:null},NTI754974826={size:0,kind:25,base:null,node:null,finalizer:null},NTI754974825={size:0,kind:25,base:null,node:null,finalizer:null},NTI754974728={size:0,kind:14,base:null,node:null,finalizer:null},NTI754974815={size:0,kind:18,base:null,node:null,finalizer:null},NTI754974811={size:0,kind:24,base:null,node:null,finalizer:null},NTI754974818={size:0,kind:24,base:null,node:null,finalizer:null},NTI754974817={size:0,kind:24,base:null,node:null,finalizer:null},NTI754974723={size:0,kind:14,base:null,node:null,finalizer:null},NTI754974816={size:0,kind:17,base:null,node:null,finalizer:null},NTI754974813={size:0,kind:22,base:null,node:null,finalizer:null},NTI721420295={size:0,kind:14,base:null,node:null,finalizer:null},NTI721420296={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426067175={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426066550={size:0,kind:18,base:null,node:null,finalizer:null},NTI134217753={size:0,kind:17,base:null,node:null,finalizer:null},NTI1459617826={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426068752={size:0,kind:24,base:null,node:null,finalizer:null},NTI1677721740={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426063959={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426064688={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426064612={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426064493={size:0,kind:18,base:null,node:null,finalizer:null},NTI33555179={size:0,kind:17,base:null,node:null,finalizer:null},NTI134217746={size:0,kind:17,base:null,node:null,finalizer:null},NTI1426065065={size:0,kind:31,base:null,node:null,finalizer:null},NTI1426065064={size:0,kind:18,base:null,node:null,finalizer:null},NTI1073741903={size:0,kind:31,base:null,node:null,finalizer:null},NTI1073741909={size:0,kind:18,base:null,node:null,finalizer:null},NTI33554447={size:0,kind:36,base:null,node:null,finalizer:null},NTI1426065073={size:0,kind:16,base:null,node:null,finalizer:null},NTI922746949={size:0,kind:18,base:null,node:null,finalizer:null},NTI134217742={size:0,kind:17,base:null,node:null,finalizer:null},NTI1426063439={size:0,kind:18,base:null,node:null,finalizer:null},NTI1728053251={size:0,kind:14,base:null,node:null,finalizer:null},NTI33555150={size:0,kind:41,base:null,node:null,finalizer:null},NTI1426063382={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426063380={size:0,kind:31,base:null,node:null,finalizer:null},NTI1426063376={size:0,kind:20,base:null,node:null,finalizer:null},NTI1426063375={size:0,kind:25,base:null,node:null,finalizer:null},NTI1426063374={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426063373={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426063372={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426063371={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426063364={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426063368={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426063367={size:0,kind:18,base:null,node:null,finalizer:null},NTI1459617857={size:0,kind:31,base:null,node:null,finalizer:null},NTI1459617821={size:0,kind:20,base:null,node:null,finalizer:null},NTI33554439={size:0,kind:35,base:null,node:null,finalizer:null},NTI1459617824={size:0,kind:18,base:null,node:null,finalizer:null},NTI704643165={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643164={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643163={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643162={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643161={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643160={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643159={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643158={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643157={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643156={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643155={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643154={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643153={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643152={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643151={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643150={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643149={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643148={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643147={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643146={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643145={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643144={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643143={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643142={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643141={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643214={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643102={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643261={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643258={size:0,kind:25,base:null,node:null,finalizer:null},NTI704643257={size:0,kind:18,base:null,node:null,finalizer:null},NTI704643137={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643260={size:0,kind:18,base:null,node:null,finalizer:null},NTI704643138={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643207={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643096={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643196={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643208={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643097={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643195={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643194={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643213={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643101={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643193={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643192={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643209={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643098={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643191={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643190={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643089={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643087={size:0,kind:14,base:null,node:null,finalizer:null},NTI704643189={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643188={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643088={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643187={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643186={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643199={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643210={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643099={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643198={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643212={size:0,kind:24,base:null,node:null,finalizer:null},NTI704643211={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643100={size:0,kind:22,base:null,node:null,finalizer:null},NTI33554466={size:0,kind:1,base:null,node:null,finalizer:null},NTI704643183={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643086={size:0,kind:22,base:null,node:null,finalizer:null},NTI704643197={size:0,kind:17,base:null,node:null,finalizer:null},NTI704643090={size:0,kind:22,base:null,node:null,finalizer:null},NTI33555183={size:0,kind:17,base:null,node:null,finalizer:null},NTI1442840657={size:0,kind:17,base:null,node:null,finalizer:null},NTI1442840649={size:0,kind:22,base:null,node:null,finalizer:null},NTI1426063369={size:0,kind:18,base:null,node:null,finalizer:null},NTI33554435={size:0,kind:31,base:null,node:null,finalizer:null},NTI1426063365={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426063370={size:0,kind:24,base:null,node:null,finalizer:null},NTI1426063366={size:0,kind:18,base:null,node:null,finalizer:null},NTI1694498889={size:0,kind:18,base:null,node:null,finalizer:null},NTI1426063363={size:0,kind:18,base:null,node:null,finalizer:null},NTI33554445={size:0,kind:36,base:null,node:null,finalizer:null},NTI1677721603={size:0,kind:18,base:null,node:null,finalizer:null},NTI872415638={size:0,kind:24,base:null,node:null,finalizer:null},NTI134217745={size:0,kind:17,base:null,node:null,finalizer:null},NTI134217749={size:0,kind:17,base:null,node:null,finalizer:null},NTI134217751={size:0,kind:17,base:null,node:null,finalizer:null},NTI33555173={size:0,kind:17,base:null,node:null,finalizer:null},NTI33555181={size:0,kind:22,base:null,node:null,finalizer:null},NTI33554449={size:0,kind:28,base:null,node:null,finalizer:null},NTI33554450={size:0,kind:29,base:null,node:null,finalizer:null},NTI33555180={size:0,kind:22,base:null,node:null,finalizer:null},NTI33555177={size:0,kind:17,base:null,node:null,finalizer:null},NTI33555178={size:0,kind:17,base:null,node:null,finalizer:null},NTI134217741={size:0,kind:17,base:null,node:null,finalizer:null},NTI134217743={size:0,kind:17,base:null,node:null,finalizer:null},NNI134217743={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217743.node=NNI134217743;var NNI134217741={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217741.node=NNI134217741;var NNI33555178={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI33555178.node=NNI33555178,NTI33555180.base=NTI33555177,NTI33555181.base=NTI33555177;var NNI33555177={kind:2,len:5,offset:0,typ:null,name:null,sons:[{kind:1,offset:"parent",len:0,typ:NTI33555180,name:"parent",sons:null},{kind:1,offset:"name",len:0,typ:NTI33554450,name:"name",sons:null},{kind:1,offset:"message",len:0,typ:NTI33554449,name:"msg",sons:null},{kind:1,offset:"trace",len:0,typ:NTI33554449,name:"trace",sons:null},{kind:1,offset:"up",len:0,typ:NTI33555181,name:"up",sons:null}]};NTI33555177.node=NNI33555177;var NNI33555173={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI33555173.node=NNI33555173,NTI33555177.base=NTI33555173,NTI33555178.base=NTI33555177,NTI134217741.base=NTI33555178,NTI134217743.base=NTI134217741;var NNI134217751={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217751.node=NNI134217751,NTI134217751.base=NTI33555178;var NNI134217749={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217749.node=NNI134217749,NTI134217749.base=NTI33555178;var NNI134217745={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217745.node=NNI134217745,NTI134217745.base=NTI33555178,NTI872415638.base=NTI33554449;var NNI1677721603={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554445,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554445,name:"Field1",sons:null}]};NTI1677721603.node=NNI1677721603;var NNI1426063363={kind:2,len:6,offset:0,typ:null,name:null,sons:[{kind:1,offset:"angleDeg",len:0,typ:NTI33554445,name:"angleDeg",sons:null},{kind:1,offset:"angleRad",len:0,typ:NTI33554445,name:"angleRad",sons:null},{kind:1,offset:"speed",len:0,typ:NTI33554445,name:"speed",sons:null},{kind:1,offset:"height",len:0,typ:NTI33554445,name:"height",sons:null},{kind:1,offset:"vel",len:0,typ:NTI1677721603,name:"vel",sons:null},{kind:1,offset:"gravity",len:0,typ:NTI1677721603,name:"gravity",sons:null}]};NTI1426063363.node=NNI1426063363;var NNI1694498889={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554445,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554445,name:"Field1",sons:null}]};NTI1694498889.node=NNI1694498889;var NNI1426063365={kind:2,len:4,offset:0,typ:null,name:null,sons:[{kind:1,offset:"pos",len:0,typ:NTI1677721603,name:"pos",sons:null},{kind:1,offset:"vel",len:0,typ:NTI1677721603,name:"vel",sons:null},{kind:1,offset:"time",len:0,typ:NTI33554445,name:"time",sons:null},{kind:1,offset:"speed",len:0,typ:NTI33554445,name:"speed",sons:null}]};NTI1426063365.node=NNI1426063365,NTI1426063370.base=NTI1426063365;var NNI1426063366={kind:2,len:7,offset:0,typ:null,name:null,sons:[{kind:1,offset:"state",len:0,typ:NTI1426063363,name:"state",sons:null},{kind:1,offset:"points",len:0,typ:NTI1426063370,name:"points",sons:null},{kind:1,offset:"highestPoint",len:0,typ:NTI33554435,name:"highestPoint",sons:null},{kind:1,offset:"closestPoint",len:0,typ:NTI33554435,name:"closestPoint",sons:null},{kind:1,offset:"extraPoint",len:0,typ:NTI33554435,name:"extraPoint",sons:null},{kind:1,offset:"pinnedPoint",len:0,typ:NTI33554435,name:"pinnedPoint",sons:null},{kind:1,offset:"color",len:0,typ:NTI33554435,name:"color",sons:null}]};NTI1426063366.node=NNI1426063366;var NNI1442840657={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI1442840657.node=NNI1442840657;var NNI33555183={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI33555183.node=NNI33555183,NTI33555183.base=NTI33555173,NTI1442840657.base=NTI33555183,NTI1442840649.base=NTI1442840657;var NNI704643183={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI704643183.node=NNI704643183,NTI704643183.base=NTI33555173,NTI704643086.base=NTI704643183,NTI704643212.base=NTI704643090;var NNI704643211={kind:2,len:10,offset:0,typ:null,name:null,sons:[{kind:1,offset:"acceptCharset",len:0,typ:NTI33554450,name:"acceptCharset",sons:null},{kind:1,offset:"action",len:0,typ:NTI33554450,name:"action",sons:null},{kind:1,offset:"autocomplete",len:0,typ:NTI33554450,name:"autocomplete",sons:null},{kind:1,offset:"elements",len:0,typ:NTI704643212,name:"elements",sons:null},{kind:1,offset:"encoding",len:0,typ:NTI33554450,name:"encoding",sons:null},{kind:1,offset:"enctype",len:0,typ:NTI33554450,name:"enctype",sons:null},{kind:1,offset:"length",len:0,typ:NTI33554435,name:"length",sons:null},{kind:1,offset:"method",len:0,typ:NTI33554450,name:"method",sons:null},{kind:1,offset:"noValidate",len:0,typ:NTI33554466,name:"noValidate",sons:null},{kind:1,offset:"target",len:0,typ:NTI33554450,name:"target",sons:null}]};NTI704643211.node=NNI704643211,NTI704643211.base=NTI704643197,NTI704643100.base=NTI704643211;var NNI704643210={kind:2,len:5,offset:0,typ:null,name:null,sons:[{kind:1,offset:"defaultSelected",len:0,typ:NTI33554466,name:"defaultSelected",sons:null},{kind:1,offset:"selected",len:0,typ:NTI33554466,name:"selected",sons:null},{kind:1,offset:"selectedIndex",len:0,typ:NTI33554435,name:"selectedIndex",sons:null},{kind:1,offset:"text",len:0,typ:NTI33554450,name:"text",sons:null},{kind:1,offset:"value",len:0,typ:NTI33554450,name:"value",sons:null}]};NTI704643210.node=NNI704643210,NTI704643210.base=NTI704643197,NTI704643099.base=NTI704643210,NTI704643198.base=NTI704643099,NTI704643199.base=NTI704643099;var NNI704643197={kind:2,len:20,offset:0,typ:null,name:null,sons:[{kind:1,offset:"className",len:0,typ:NTI33554450,name:"className",sons:null},{kind:1,offset:"classList",len:0,typ:NTI704643086,name:"classList",sons:null},{kind:1,offset:"checked",len:0,typ:NTI33554466,name:"checked",sons:null},{kind:1,offset:"defaultChecked",len:0,typ:NTI33554466,name:"defaultChecked",sons:null},{kind:1,offset:"defaultValue",len:0,typ:NTI33554450,name:"defaultValue",sons:null},{kind:1,offset:"disabled",len:0,typ:NTI33554466,name:"disabled",sons:null},{kind:1,offset:"form",len:0,typ:NTI704643100,name:"form",sons:null},{kind:1,offset:"name",len:0,typ:NTI33554450,name:"name",sons:null},{kind:1,offset:"readOnly",len:0,typ:NTI33554466,name:"readOnly",sons:null},{kind:1,offset:"options",len:0,typ:NTI704643198,name:"options",sons:null},{kind:1,offset:"selectedOptions",len:0,typ:NTI704643199,name:"selectedOptions",sons:null},{kind:1,offset:"clientWidth",len:0,typ:NTI33554435,name:"clientWidth",sons:null},{kind:1,offset:"clientHeight",len:0,typ:NTI33554435,name:"clientHeight",sons:null},{kind:1,offset:"contentEditable",len:0,typ:NTI33554450,name:"contentEditable",sons:null},{kind:1,offset:"isContentEditable",len:0,typ:NTI33554466,name:"isContentEditable",sons:null},{kind:1,offset:"dir",len:0,typ:NTI33554450,name:"dir",sons:null},{kind:1,offset:"offsetHeight",len:0,typ:NTI33554435,name:"offsetHeight",sons:null},{kind:1,offset:"offsetWidth",len:0,typ:NTI33554435,name:"offsetWidth",sons:null},{kind:1,offset:"offsetLeft",len:0,typ:NTI33554435,name:"offsetLeft",sons:null},{kind:1,offset:"offsetTop",len:0,typ:NTI33554435,name:"offsetTop",sons:null}]};NTI704643197.node=NNI704643197,NTI704643088.base=NTI704643186,NTI704643187.base=NTI704643088,NTI704643188.base=NTI704643088,NTI704643189.base=NTI704643088;var NNI704643087={kind:2,offset:0,typ:null,name:null,len:12,sons:{1:{kind:1,offset:1,typ:NTI704643087,name:"ElementNode",len:0,sons:null},2:{kind:1,offset:2,typ:NTI704643087,name:"AttributeNode",len:0,sons:null},3:{kind:1,offset:3,typ:NTI704643087,name:"TextNode",len:0,sons:null},4:{kind:1,offset:4,typ:NTI704643087,name:"CDATANode",len:0,sons:null},5:{kind:1,offset:5,typ:NTI704643087,name:"EntityRefNode",len:0,sons:null},6:{kind:1,offset:6,typ:NTI704643087,name:"EntityNode",len:0,sons:null},7:{kind:1,offset:7,typ:NTI704643087,name:"ProcessingInstructionNode",len:0,sons:null},8:{kind:1,offset:8,typ:NTI704643087,name:"CommentNode",len:0,sons:null},9:{kind:1,offset:9,typ:NTI704643087,name:"DocumentNode",len:0,sons:null},10:{kind:1,offset:10,typ:NTI704643087,name:"DocumentTypeNode",len:0,sons:null},11:{kind:1,offset:11,typ:NTI704643087,name:"DocumentFragmentNode",len:0,sons:null},12:{kind:1,offset:12,typ:NTI704643087,name:"NotationNode",len:0,sons:null}}};NTI704643087.node=NNI704643087;var NNI704643209={kind:2,len:3,offset:0,typ:null,name:null,sons:[{kind:1,offset:"text",len:0,typ:NTI33554450,name:"text",sons:null},{kind:1,offset:"x",len:0,typ:NTI33554435,name:"x",sons:null},{kind:1,offset:"y",len:0,typ:NTI33554435,name:"y",sons:null}]};NTI704643209.node=NNI704643209,NTI704643209.base=NTI704643197,NTI704643098.base=NTI704643209,NTI704643191.base=NTI704643098,NTI704643192.base=NTI704643100;var NNI704643213={kind:2,len:8,offset:0,typ:null,name:null,sons:[{kind:1,offset:"border",len:0,typ:NTI33554435,name:"border",sons:null},{kind:1,offset:"complete",len:0,typ:NTI33554466,name:"complete",sons:null},{kind:1,offset:"height",len:0,typ:NTI33554435,name:"height",sons:null},{kind:1,offset:"hspace",len:0,typ:NTI33554435,name:"hspace",sons:null},{kind:1,offset:"lowsrc",len:0,typ:NTI33554450,name:"lowsrc",sons:null},{kind:1,offset:"src",len:0,typ:NTI33554450,name:"src",sons:null},{kind:1,offset:"vspace",len:0,typ:NTI33554435,name:"vspace",sons:null},{kind:1,offset:"width",len:0,typ:NTI33554435,name:"width",sons:null}]};NTI704643213.node=NNI704643213,NTI704643213.base=NTI704643197,NTI704643101.base=NTI704643213,NTI704643193.base=NTI704643101,NTI704643194.base=NTI704643090;var NNI704643208={kind:2,len:6,offset:0,typ:null,name:null,sons:[{kind:1,offset:"height",len:0,typ:NTI33554435,name:"height",sons:null},{kind:1,offset:"hspace",len:0,typ:NTI33554435,name:"hspace",sons:null},{kind:1,offset:"src",len:0,typ:NTI33554450,name:"src",sons:null},{kind:1,offset:"width",len:0,typ:NTI33554435,name:"width",sons:null},{kind:1,offset:"type",len:0,typ:NTI33554450,name:"type",sons:null},{kind:1,offset:"vspace",len:0,typ:NTI33554435,name:"vspace",sons:null}]};NTI704643208.node=NNI704643208,NTI704643208.base=NTI704643197,NTI704643097.base=NTI704643208,NTI704643195.base=NTI704643097;var NNI704643207={kind:2,len:4,offset:0,typ:null,name:null,sons:[{kind:1,offset:"target",len:0,typ:NTI33554450,name:"target",sons:null},{kind:1,offset:"text",len:0,typ:NTI33554450,name:"text",sons:null},{kind:1,offset:"x",len:0,typ:NTI33554435,name:"x",sons:null},{kind:1,offset:"y",len:0,typ:NTI33554435,name:"y",sons:null}]};NTI704643207.node=NNI704643207,NTI704643207.base=NTI704643197,NTI704643096.base=NTI704643207,NTI704643196.base=NTI704643096;var NNI704643257={kind:1,offset:"then",len:0,typ:NTI704643258,name:"then",sons:null};NTI704643257.node=NNI704643257,NTI704643137.base=NTI704643257;var NNI704643260={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"ready",len:0,typ:NTI704643137,name:"ready",sons:null},{kind:1,offset:"onloadingdone",len:0,typ:NTI704643261,name:"onloadingdone",sons:null}]};NTI704643260.node=NNI704643260,NTI704643138.base=NTI704643260;var NNI704643190={kind:2,len:25,offset:0,typ:null,name:null,sons:[{kind:1,offset:"activeElement",len:0,typ:NTI704643090,name:"activeElement",sons:null},{kind:1,offset:"documentElement",len:0,typ:NTI704643090,name:"documentElement",sons:null},{kind:1,offset:"alinkColor",len:0,typ:NTI33554450,name:"alinkColor",sons:null},{kind:1,offset:"bgColor",len:0,typ:NTI33554450,name:"bgColor",sons:null},{kind:1,offset:"body",len:0,typ:NTI704643090,name:"body",sons:null},{kind:1,offset:"charset",len:0,typ:NTI33554450,name:"charset",sons:null},{kind:1,offset:"cookie",len:0,typ:NTI33554450,name:"cookie",sons:null},{kind:1,offset:"defaultCharset",len:0,typ:NTI33554450,name:"defaultCharset",sons:null},{kind:1,offset:"fgColor",len:0,typ:NTI33554450,name:"fgColor",sons:null},{kind:1,offset:"head",len:0,typ:NTI704643090,name:"head",sons:null},{kind:1,offset:"hidden",len:0,typ:NTI33554466,name:"hidden",sons:null},{kind:1,offset:"lastModified",len:0,typ:NTI33554450,name:"lastModified",sons:null},{kind:1,offset:"linkColor",len:0,typ:NTI33554450,name:"linkColor",sons:null},{kind:1,offset:"referrer",len:0,typ:NTI33554450,name:"referrer",sons:null},{kind:1,offset:"title",len:0,typ:NTI33554450,name:"title",sons:null},{kind:1,offset:"URL",len:0,typ:NTI33554450,name:"URL",sons:null},{kind:1,offset:"visibilityState",len:0,typ:NTI33554450,name:"visibilityState",sons:null},{kind:1,offset:"vlinkColor",len:0,typ:NTI33554450,name:"vlinkColor",sons:null},{kind:1,offset:"anchors",len:0,typ:NTI704643191,name:"anchors",sons:null},{kind:1,offset:"forms",len:0,typ:NTI704643192,name:"forms",sons:null},{kind:1,offset:"images",len:0,typ:NTI704643193,name:"images",sons:null},{kind:1,offset:"applets",len:0,typ:NTI704643194,name:"applets",sons:null},{kind:1,offset:"embeds",len:0,typ:NTI704643195,name:"embeds",sons:null},{kind:1,offset:"links",len:0,typ:NTI704643196,name:"links",sons:null},{kind:1,offset:"fonts",len:0,typ:NTI704643138,name:"fonts",sons:null}]};NTI704643190.node=NNI704643190,NTI704643190.base=NTI704643186,NTI704643089.base=NTI704643190;var NNI704643214={kind:2,len:368,offset:0,typ:null,name:null,sons:[{kind:1,offset:"alignContent",len:0,typ:NTI33554450,name:"alignContent",sons:null},{kind:1,offset:"alignItems",len:0,typ:NTI33554450,name:"alignItems",sons:null},{kind:1,offset:"alignSelf",len:0,typ:NTI33554450,name:"alignSelf",sons:null},{kind:1,offset:"all",len:0,typ:NTI33554450,name:"all",sons:null},{kind:1,offset:"animation",len:0,typ:NTI33554450,name:"animation",sons:null},{kind:1,offset:"animationDelay",len:0,typ:NTI33554450,name:"animationDelay",sons:null},{kind:1,offset:"animationDirection",len:0,typ:NTI33554450,name:"animationDirection",sons:null},{kind:1,offset:"animationDuration",len:0,typ:NTI33554450,name:"animationDuration",sons:null},{kind:1,offset:"animationFillMode",len:0,typ:NTI33554450,name:"animationFillMode",sons:null},{kind:1,offset:"animationIterationCount",len:0,typ:NTI33554450,name:"animationIterationCount",sons:null},{kind:1,offset:"animationName",len:0,typ:NTI33554450,name:"animationName",sons:null},{kind:1,offset:"animationPlayState",len:0,typ:NTI33554450,name:"animationPlayState",sons:null},{kind:1,offset:"animationTimingFunction",len:0,typ:NTI33554450,name:"animationTimingFunction",sons:null},{kind:1,offset:"backdropFilter",len:0,typ:NTI33554450,name:"backdropFilter",sons:null},{kind:1,offset:"backfaceVisibility",len:0,typ:NTI33554450,name:"backfaceVisibility",sons:null},{kind:1,offset:"background",len:0,typ:NTI33554450,name:"background",sons:null},{kind:1,offset:"backgroundAttachment",len:0,typ:NTI33554450,name:"backgroundAttachment",sons:null},{kind:1,offset:"backgroundBlendMode",len:0,typ:NTI33554450,name:"backgroundBlendMode",sons:null},{kind:1,offset:"backgroundClip",len:0,typ:NTI33554450,name:"backgroundClip",sons:null},{kind:1,offset:"backgroundColor",len:0,typ:NTI33554450,name:"backgroundColor",sons:null},{kind:1,offset:"backgroundImage",len:0,typ:NTI33554450,name:"backgroundImage",sons:null},{kind:1,offset:"backgroundOrigin",len:0,typ:NTI33554450,name:"backgroundOrigin",sons:null},{kind:1,offset:"backgroundPosition",len:0,typ:NTI33554450,name:"backgroundPosition",sons:null},{kind:1,offset:"backgroundRepeat",len:0,typ:NTI33554450,name:"backgroundRepeat",sons:null},{kind:1,offset:"backgroundSize",len:0,typ:NTI33554450,name:"backgroundSize",sons:null},{kind:1,offset:"blockSize",len:0,typ:NTI33554450,name:"blockSize",sons:null},{kind:1,offset:"border",len:0,typ:NTI33554450,name:"border",sons:null},{kind:1,offset:"borderBlock",len:0,typ:NTI33554450,name:"borderBlock",sons:null},{kind:1,offset:"borderBlockColor",len:0,typ:NTI33554450,name:"borderBlockColor",sons:null},{kind:1,offset:"borderBlockEnd",len:0,typ:NTI33554450,name:"borderBlockEnd",sons:null},{kind:1,offset:"borderBlockEndColor",len:0,typ:NTI33554450,name:"borderBlockEndColor",sons:null},{kind:1,offset:"borderBlockEndStyle",len:0,typ:NTI33554450,name:"borderBlockEndStyle",sons:null},{kind:1,offset:"borderBlockEndWidth",len:0,typ:NTI33554450,name:"borderBlockEndWidth",sons:null},{kind:1,offset:"borderBlockStart",len:0,typ:NTI33554450,name:"borderBlockStart",sons:null},{kind:1,offset:"borderBlockStartColor",len:0,typ:NTI33554450,name:"borderBlockStartColor",sons:null},{kind:1,offset:"borderBlockStartStyle",len:0,typ:NTI33554450,name:"borderBlockStartStyle",sons:null},{kind:1,offset:"borderBlockStartWidth",len:0,typ:NTI33554450,name:"borderBlockStartWidth",sons:null},{kind:1,offset:"borderBlockStyle",len:0,typ:NTI33554450,name:"borderBlockStyle",sons:null},{kind:1,offset:"borderBlockWidth",len:0,typ:NTI33554450,name:"borderBlockWidth",sons:null},{kind:1,offset:"borderBottom",len:0,typ:NTI33554450,name:"borderBottom",sons:null},{kind:1,offset:"borderBottomColor",len:0,typ:NTI33554450,name:"borderBottomColor",sons:null},{kind:1,offset:"borderBottomLeftRadius",len:0,typ:NTI33554450,name:"borderBottomLeftRadius",sons:null},{kind:1,offset:"borderBottomRightRadius",len:0,typ:NTI33554450,name:"borderBottomRightRadius",sons:null},{kind:1,offset:"borderBottomStyle",len:0,typ:NTI33554450,name:"borderBottomStyle",sons:null},{kind:1,offset:"borderBottomWidth",len:0,typ:NTI33554450,name:"borderBottomWidth",sons:null},{kind:1,offset:"borderCollapse",len:0,typ:NTI33554450,name:"borderCollapse",sons:null},{kind:1,offset:"borderColor",len:0,typ:NTI33554450,name:"borderColor",sons:null},{kind:1,offset:"borderEndEndRadius",len:0,typ:NTI33554450,name:"borderEndEndRadius",sons:null},{kind:1,offset:"borderEndStartRadius",len:0,typ:NTI33554450,name:"borderEndStartRadius",sons:null},{kind:1,offset:"borderImage",len:0,typ:NTI33554450,name:"borderImage",sons:null},{kind:1,offset:"borderImageOutset",len:0,typ:NTI33554450,name:"borderImageOutset",sons:null},{kind:1,offset:"borderImageRepeat",len:0,typ:NTI33554450,name:"borderImageRepeat",sons:null},{kind:1,offset:"borderImageSlice",len:0,typ:NTI33554450,name:"borderImageSlice",sons:null},{kind:1,offset:"borderImageSource",len:0,typ:NTI33554450,name:"borderImageSource",sons:null},{kind:1,offset:"borderImageWidth",len:0,typ:NTI33554450,name:"borderImageWidth",sons:null},{kind:1,offset:"borderInline",len:0,typ:NTI33554450,name:"borderInline",sons:null},{kind:1,offset:"borderInlineColor",len:0,typ:NTI33554450,name:"borderInlineColor",sons:null},{kind:1,offset:"borderInlineEnd",len:0,typ:NTI33554450,name:"borderInlineEnd",sons:null},{kind:1,offset:"borderInlineEndColor",len:0,typ:NTI33554450,name:"borderInlineEndColor",sons:null},{kind:1,offset:"borderInlineEndStyle",len:0,typ:NTI33554450,name:"borderInlineEndStyle",sons:null},{kind:1,offset:"borderInlineEndWidth",len:0,typ:NTI33554450,name:"borderInlineEndWidth",sons:null},{kind:1,offset:"borderInlineStart",len:0,typ:NTI33554450,name:"borderInlineStart",sons:null},{kind:1,offset:"borderInlineStartColor",len:0,typ:NTI33554450,name:"borderInlineStartColor",sons:null},{kind:1,offset:"borderInlineStartStyle",len:0,typ:NTI33554450,name:"borderInlineStartStyle",sons:null},{kind:1,offset:"borderInlineStartWidth",len:0,typ:NTI33554450,name:"borderInlineStartWidth",sons:null},{kind:1,offset:"borderInlineStyle",len:0,typ:NTI33554450,name:"borderInlineStyle",sons:null},{kind:1,offset:"borderInlineWidth",len:0,typ:NTI33554450,name:"borderInlineWidth",sons:null},{kind:1,offset:"borderLeft",len:0,typ:NTI33554450,name:"borderLeft",sons:null},{kind:1,offset:"borderLeftColor",len:0,typ:NTI33554450,name:"borderLeftColor",sons:null},{kind:1,offset:"borderLeftStyle",len:0,typ:NTI33554450,name:"borderLeftStyle",sons:null},{kind:1,offset:"borderLeftWidth",len:0,typ:NTI33554450,name:"borderLeftWidth",sons:null},{kind:1,offset:"borderRadius",len:0,typ:NTI33554450,name:"borderRadius",sons:null},{kind:1,offset:"borderRight",len:0,typ:NTI33554450,name:"borderRight",sons:null},{kind:1,offset:"borderRightColor",len:0,typ:NTI33554450,name:"borderRightColor",sons:null},{kind:1,offset:"borderRightStyle",len:0,typ:NTI33554450,name:"borderRightStyle",sons:null},{kind:1,offset:"borderRightWidth",len:0,typ:NTI33554450,name:"borderRightWidth",sons:null},{kind:1,offset:"borderSpacing",len:0,typ:NTI33554450,name:"borderSpacing",sons:null},{kind:1,offset:"borderStartEndRadius",len:0,typ:NTI33554450,name:"borderStartEndRadius",sons:null},{kind:1,offset:"borderStartStartRadius",len:0,typ:NTI33554450,name:"borderStartStartRadius",sons:null},{kind:1,offset:"borderStyle",len:0,typ:NTI33554450,name:"borderStyle",sons:null},{kind:1,offset:"borderTop",len:0,typ:NTI33554450,name:"borderTop",sons:null},{kind:1,offset:"borderTopColor",len:0,typ:NTI33554450,name:"borderTopColor",sons:null},{kind:1,offset:"borderTopLeftRadius",len:0,typ:NTI33554450,name:"borderTopLeftRadius",sons:null},{kind:1,offset:"borderTopRightRadius",len:0,typ:NTI33554450,name:"borderTopRightRadius",sons:null},{kind:1,offset:"borderTopStyle",len:0,typ:NTI33554450,name:"borderTopStyle",sons:null},{kind:1,offset:"borderTopWidth",len:0,typ:NTI33554450,name:"borderTopWidth",sons:null},{kind:1,offset:"borderWidth",len:0,typ:NTI33554450,name:"borderWidth",sons:null},{kind:1,offset:"bottom",len:0,typ:NTI33554450,name:"bottom",sons:null},{kind:1,offset:"boxDecorationBreak",len:0,typ:NTI33554450,name:"boxDecorationBreak",sons:null},{kind:1,offset:"boxShadow",len:0,typ:NTI33554450,name:"boxShadow",sons:null},{kind:1,offset:"boxSizing",len:0,typ:NTI33554450,name:"boxSizing",sons:null},{kind:1,offset:"breakAfter",len:0,typ:NTI33554450,name:"breakAfter",sons:null},{kind:1,offset:"breakBefore",len:0,typ:NTI33554450,name:"breakBefore",sons:null},{kind:1,offset:"breakInside",len:0,typ:NTI33554450,name:"breakInside",sons:null},{kind:1,offset:"captionSide",len:0,typ:NTI33554450,name:"captionSide",sons:null},{kind:1,offset:"caretColor",len:0,typ:NTI33554450,name:"caretColor",sons:null},{kind:1,offset:"clear",len:0,typ:NTI33554450,name:"clear",sons:null},{kind:1,offset:"clip",len:0,typ:NTI33554450,name:"clip",sons:null},{kind:1,offset:"clipPath",len:0,typ:NTI33554450,name:"clipPath",sons:null},{kind:1,offset:"color",len:0,typ:NTI33554450,name:"color",sons:null},{kind:1,offset:"colorAdjust",len:0,typ:NTI33554450,name:"colorAdjust",sons:null},{kind:1,offset:"columnCount",len:0,typ:NTI33554450,name:"columnCount",sons:null},{kind:1,offset:"columnFill",len:0,typ:NTI33554450,name:"columnFill",sons:null},{kind:1,offset:"columnGap",len:0,typ:NTI33554450,name:"columnGap",sons:null},{kind:1,offset:"columnRule",len:0,typ:NTI33554450,name:"columnRule",sons:null},{kind:1,offset:"columnRuleColor",len:0,typ:NTI33554450,name:"columnRuleColor",sons:null},{kind:1,offset:"columnRuleStyle",len:0,typ:NTI33554450,name:"columnRuleStyle",sons:null},{kind:1,offset:"columnRuleWidth",len:0,typ:NTI33554450,name:"columnRuleWidth",sons:null},{kind:1,offset:"columnSpan",len:0,typ:NTI33554450,name:"columnSpan",sons:null},{kind:1,offset:"columnWidth",len:0,typ:NTI33554450,name:"columnWidth",sons:null},{kind:1,offset:"columns",len:0,typ:NTI33554450,name:"columns",sons:null},{kind:1,offset:"contain",len:0,typ:NTI33554450,name:"contain",sons:null},{kind:1,offset:"content",len:0,typ:NTI33554450,name:"content",sons:null},{kind:1,offset:"counterIncrement",len:0,typ:NTI33554450,name:"counterIncrement",sons:null},{kind:1,offset:"counterReset",len:0,typ:NTI33554450,name:"counterReset",sons:null},{kind:1,offset:"counterSet",len:0,typ:NTI33554450,name:"counterSet",sons:null},{kind:1,offset:"cursor",len:0,typ:NTI33554450,name:"cursor",sons:null},{kind:1,offset:"direction",len:0,typ:NTI33554450,name:"direction",sons:null},{kind:1,offset:"display",len:0,typ:NTI33554450,name:"display",sons:null},{kind:1,offset:"emptyCells",len:0,typ:NTI33554450,name:"emptyCells",sons:null},{kind:1,offset:"filter",len:0,typ:NTI33554450,name:"filter",sons:null},{kind:1,offset:"flex",len:0,typ:NTI33554450,name:"flex",sons:null},{kind:1,offset:"flexBasis",len:0,typ:NTI33554450,name:"flexBasis",sons:null},{kind:1,offset:"flexDirection",len:0,typ:NTI33554450,name:"flexDirection",sons:null},{kind:1,offset:"flexFlow",len:0,typ:NTI33554450,name:"flexFlow",sons:null},{kind:1,offset:"flexGrow",len:0,typ:NTI33554450,name:"flexGrow",sons:null},{kind:1,offset:"flexShrink",len:0,typ:NTI33554450,name:"flexShrink",sons:null},{kind:1,offset:"flexWrap",len:0,typ:NTI33554450,name:"flexWrap",sons:null},{kind:1,offset:"cssFloat",len:0,typ:NTI33554450,name:"cssFloat",sons:null},{kind:1,offset:"font",len:0,typ:NTI33554450,name:"font",sons:null},{kind:1,offset:"fontFamily",len:0,typ:NTI33554450,name:"fontFamily",sons:null},{kind:1,offset:"fontFeatureSettings",len:0,typ:NTI33554450,name:"fontFeatureSettings",sons:null},{kind:1,offset:"fontKerning",len:0,typ:NTI33554450,name:"fontKerning",sons:null},{kind:1,offset:"fontLanguageOverride",len:0,typ:NTI33554450,name:"fontLanguageOverride",sons:null},{kind:1,offset:"fontOpticalSizing",len:0,typ:NTI33554450,name:"fontOpticalSizing",sons:null},{kind:1,offset:"fontSize",len:0,typ:NTI33554450,name:"fontSize",sons:null},{kind:1,offset:"fontSizeAdjust",len:0,typ:NTI33554450,name:"fontSizeAdjust",sons:null},{kind:1,offset:"fontStretch",len:0,typ:NTI33554450,name:"fontStretch",sons:null},{kind:1,offset:"fontStyle",len:0,typ:NTI33554450,name:"fontStyle",sons:null},{kind:1,offset:"fontSynthesis",len:0,typ:NTI33554450,name:"fontSynthesis",sons:null},{kind:1,offset:"fontVariant",len:0,typ:NTI33554450,name:"fontVariant",sons:null},{kind:1,offset:"fontVariantAlternates",len:0,typ:NTI33554450,name:"fontVariantAlternates",sons:null},{kind:1,offset:"fontVariantCaps",len:0,typ:NTI33554450,name:"fontVariantCaps",sons:null},{kind:1,offset:"fontVariantEastAsian",len:0,typ:NTI33554450,name:"fontVariantEastAsian",sons:null},{kind:1,offset:"fontVariantLigatures",len:0,typ:NTI33554450,name:"fontVariantLigatures",sons:null},{kind:1,offset:"fontVariantNumeric",len:0,typ:NTI33554450,name:"fontVariantNumeric",sons:null},{kind:1,offset:"fontVariantPosition",len:0,typ:NTI33554450,name:"fontVariantPosition",sons:null},{kind:1,offset:"fontVariationSettings",len:0,typ:NTI33554450,name:"fontVariationSettings",sons:null},{kind:1,offset:"fontWeight",len:0,typ:NTI33554450,name:"fontWeight",sons:null},{kind:1,offset:"gap",len:0,typ:NTI33554450,name:"gap",sons:null},{kind:1,offset:"grid",len:0,typ:NTI33554450,name:"grid",sons:null},{kind:1,offset:"gridArea",len:0,typ:NTI33554450,name:"gridArea",sons:null},{kind:1,offset:"gridAutoColumns",len:0,typ:NTI33554450,name:"gridAutoColumns",sons:null},{kind:1,offset:"gridAutoFlow",len:0,typ:NTI33554450,name:"gridAutoFlow",sons:null},{kind:1,offset:"gridAutoRows",len:0,typ:NTI33554450,name:"gridAutoRows",sons:null},{kind:1,offset:"gridColumn",len:0,typ:NTI33554450,name:"gridColumn",sons:null},{kind:1,offset:"gridColumnEnd",len:0,typ:NTI33554450,name:"gridColumnEnd",sons:null},{kind:1,offset:"gridColumnStart",len:0,typ:NTI33554450,name:"gridColumnStart",sons:null},{kind:1,offset:"gridRow",len:0,typ:NTI33554450,name:"gridRow",sons:null},{kind:1,offset:"gridRowEnd",len:0,typ:NTI33554450,name:"gridRowEnd",sons:null},{kind:1,offset:"gridRowStart",len:0,typ:NTI33554450,name:"gridRowStart",sons:null},{kind:1,offset:"gridTemplate",len:0,typ:NTI33554450,name:"gridTemplate",sons:null},{kind:1,offset:"gridTemplateAreas",len:0,typ:NTI33554450,name:"gridTemplateAreas",sons:null},{kind:1,offset:"gridTemplateColumns",len:0,typ:NTI33554450,name:"gridTemplateColumns",sons:null},{kind:1,offset:"gridTemplateRows",len:0,typ:NTI33554450,name:"gridTemplateRows",sons:null},{kind:1,offset:"hangingPunctuation",len:0,typ:NTI33554450,name:"hangingPunctuation",sons:null},{kind:1,offset:"height",len:0,typ:NTI33554450,name:"height",sons:null},{kind:1,offset:"hyphens",len:0,typ:NTI33554450,name:"hyphens",sons:null},{kind:1,offset:"imageOrientation",len:0,typ:NTI33554450,name:"imageOrientation",sons:null},{kind:1,offset:"imageRendering",len:0,typ:NTI33554450,name:"imageRendering",sons:null},{kind:1,offset:"inlineSize",len:0,typ:NTI33554450,name:"inlineSize",sons:null},{kind:1,offset:"inset",len:0,typ:NTI33554450,name:"inset",sons:null},{kind:1,offset:"insetBlock",len:0,typ:NTI33554450,name:"insetBlock",sons:null},{kind:1,offset:"insetBlockEnd",len:0,typ:NTI33554450,name:"insetBlockEnd",sons:null},{kind:1,offset:"insetBlockStart",len:0,typ:NTI33554450,name:"insetBlockStart",sons:null},{kind:1,offset:"insetInline",len:0,typ:NTI33554450,name:"insetInline",sons:null},{kind:1,offset:"insetInlineEnd",len:0,typ:NTI33554450,name:"insetInlineEnd",sons:null},{kind:1,offset:"insetInlineStart",len:0,typ:NTI33554450,name:"insetInlineStart",sons:null},{kind:1,offset:"isolation",len:0,typ:NTI33554450,name:"isolation",sons:null},{kind:1,offset:"justifyContent",len:0,typ:NTI33554450,name:"justifyContent",sons:null},{kind:1,offset:"justifyItems",len:0,typ:NTI33554450,name:"justifyItems",sons:null},{kind:1,offset:"justifySelf",len:0,typ:NTI33554450,name:"justifySelf",sons:null},{kind:1,offset:"left",len:0,typ:NTI33554450,name:"left",sons:null},{kind:1,offset:"letterSpacing",len:0,typ:NTI33554450,name:"letterSpacing",sons:null},{kind:1,offset:"lineBreak",len:0,typ:NTI33554450,name:"lineBreak",sons:null},{kind:1,offset:"lineHeight",len:0,typ:NTI33554450,name:"lineHeight",sons:null},{kind:1,offset:"listStyle",len:0,typ:NTI33554450,name:"listStyle",sons:null},{kind:1,offset:"listStyleImage",len:0,typ:NTI33554450,name:"listStyleImage",sons:null},{kind:1,offset:"listStylePosition",len:0,typ:NTI33554450,name:"listStylePosition",sons:null},{kind:1,offset:"listStyleType",len:0,typ:NTI33554450,name:"listStyleType",sons:null},{kind:1,offset:"margin",len:0,typ:NTI33554450,name:"margin",sons:null},{kind:1,offset:"marginBlock",len:0,typ:NTI33554450,name:"marginBlock",sons:null},{kind:1,offset:"marginBlockEnd",len:0,typ:NTI33554450,name:"marginBlockEnd",sons:null},{kind:1,offset:"marginBlockStart",len:0,typ:NTI33554450,name:"marginBlockStart",sons:null},{kind:1,offset:"marginBottom",len:0,typ:NTI33554450,name:"marginBottom",sons:null},{kind:1,offset:"marginInline",len:0,typ:NTI33554450,name:"marginInline",sons:null},{kind:1,offset:"marginInlineEnd",len:0,typ:NTI33554450,name:"marginInlineEnd",sons:null},{kind:1,offset:"marginInlineStart",len:0,typ:NTI33554450,name:"marginInlineStart",sons:null},{kind:1,offset:"marginLeft",len:0,typ:NTI33554450,name:"marginLeft",sons:null},{kind:1,offset:"marginRight",len:0,typ:NTI33554450,name:"marginRight",sons:null},{kind:1,offset:"marginTop",len:0,typ:NTI33554450,name:"marginTop",sons:null},{kind:1,offset:"mask",len:0,typ:NTI33554450,name:"mask",sons:null},{kind:1,offset:"maskBorder",len:0,typ:NTI33554450,name:"maskBorder",sons:null},{kind:1,offset:"maskBorderMode",len:0,typ:NTI33554450,name:"maskBorderMode",sons:null},{kind:1,offset:"maskBorderOutset",len:0,typ:NTI33554450,name:"maskBorderOutset",sons:null},{kind:1,offset:"maskBorderRepeat",len:0,typ:NTI33554450,name:"maskBorderRepeat",sons:null},{kind:1,offset:"maskBorderSlice",len:0,typ:NTI33554450,name:"maskBorderSlice",sons:null},{kind:1,offset:"maskBorderSource",len:0,typ:NTI33554450,name:"maskBorderSource",sons:null},{kind:1,offset:"maskBorderWidth",len:0,typ:NTI33554450,name:"maskBorderWidth",sons:null},{kind:1,offset:"maskClip",len:0,typ:NTI33554450,name:"maskClip",sons:null},{kind:1,offset:"maskComposite",len:0,typ:NTI33554450,name:"maskComposite",sons:null},{kind:1,offset:"maskImage",len:0,typ:NTI33554450,name:"maskImage",sons:null},{kind:1,offset:"maskMode",len:0,typ:NTI33554450,name:"maskMode",sons:null},{kind:1,offset:"maskOrigin",len:0,typ:NTI33554450,name:"maskOrigin",sons:null},{kind:1,offset:"maskPosition",len:0,typ:NTI33554450,name:"maskPosition",sons:null},{kind:1,offset:"maskRepeat",len:0,typ:NTI33554450,name:"maskRepeat",sons:null},{kind:1,offset:"maskSize",len:0,typ:NTI33554450,name:"maskSize",sons:null},{kind:1,offset:"maskType",len:0,typ:NTI33554450,name:"maskType",sons:null},{kind:1,offset:"maxBlockSize",len:0,typ:NTI33554450,name:"maxBlockSize",sons:null},{kind:1,offset:"maxHeight",len:0,typ:NTI33554450,name:"maxHeight",sons:null},{kind:1,offset:"maxInlineSize",len:0,typ:NTI33554450,name:"maxInlineSize",sons:null},{kind:1,offset:"maxWidth",len:0,typ:NTI33554450,name:"maxWidth",sons:null},{kind:1,offset:"minBlockSize",len:0,typ:NTI33554450,name:"minBlockSize",sons:null},{kind:1,offset:"minHeight",len:0,typ:NTI33554450,name:"minHeight",sons:null},{kind:1,offset:"minInlineSize",len:0,typ:NTI33554450,name:"minInlineSize",sons:null},{kind:1,offset:"minWidth",len:0,typ:NTI33554450,name:"minWidth",sons:null},{kind:1,offset:"mixBlendMode",len:0,typ:NTI33554450,name:"mixBlendMode",sons:null},{kind:1,offset:"objectFit",len:0,typ:NTI33554450,name:"objectFit",sons:null},{kind:1,offset:"objectPosition",len:0,typ:NTI33554450,name:"objectPosition",sons:null},{kind:1,offset:"offset",len:0,typ:NTI33554450,name:"offset",sons:null},{kind:1,offset:"offsetAnchor",len:0,typ:NTI33554450,name:"offsetAnchor",sons:null},{kind:1,offset:"offsetDistance",len:0,typ:NTI33554450,name:"offsetDistance",sons:null},{kind:1,offset:"offsetPath",len:0,typ:NTI33554450,name:"offsetPath",sons:null},{kind:1,offset:"offsetRotate",len:0,typ:NTI33554450,name:"offsetRotate",sons:null},{kind:1,offset:"opacity",len:0,typ:NTI33554450,name:"opacity",sons:null},{kind:1,offset:"order",len:0,typ:NTI33554450,name:"order",sons:null},{kind:1,offset:"orphans",len:0,typ:NTI33554450,name:"orphans",sons:null},{kind:1,offset:"outline",len:0,typ:NTI33554450,name:"outline",sons:null},{kind:1,offset:"outlineColor",len:0,typ:NTI33554450,name:"outlineColor",sons:null},{kind:1,offset:"outlineOffset",len:0,typ:NTI33554450,name:"outlineOffset",sons:null},{kind:1,offset:"outlineStyle",len:0,typ:NTI33554450,name:"outlineStyle",sons:null},{kind:1,offset:"outlineWidth",len:0,typ:NTI33554450,name:"outlineWidth",sons:null},{kind:1,offset:"overflow",len:0,typ:NTI33554450,name:"overflow",sons:null},{kind:1,offset:"overflowAnchor",len:0,typ:NTI33554450,name:"overflowAnchor",sons:null},{kind:1,offset:"overflowBlock",len:0,typ:NTI33554450,name:"overflowBlock",sons:null},{kind:1,offset:"overflowInline",len:0,typ:NTI33554450,name:"overflowInline",sons:null},{kind:1,offset:"overflowWrap",len:0,typ:NTI33554450,name:"overflowWrap",sons:null},{kind:1,offset:"overflowX",len:0,typ:NTI33554450,name:"overflowX",sons:null},{kind:1,offset:"overflowY",len:0,typ:NTI33554450,name:"overflowY",sons:null},{kind:1,offset:"overscrollBehavior",len:0,typ:NTI33554450,name:"overscrollBehavior",sons:null},{kind:1,offset:"overscrollBehaviorBlock",len:0,typ:NTI33554450,name:"overscrollBehaviorBlock",sons:null},{kind:1,offset:"overscrollBehaviorInline",len:0,typ:NTI33554450,name:"overscrollBehaviorInline",sons:null},{kind:1,offset:"overscrollBehaviorX",len:0,typ:NTI33554450,name:"overscrollBehaviorX",sons:null},{kind:1,offset:"overscrollBehaviorY",len:0,typ:NTI33554450,name:"overscrollBehaviorY",sons:null},{kind:1,offset:"padding",len:0,typ:NTI33554450,name:"padding",sons:null},{kind:1,offset:"paddingBlock",len:0,typ:NTI33554450,name:"paddingBlock",sons:null},{kind:1,offset:"paddingBlockEnd",len:0,typ:NTI33554450,name:"paddingBlockEnd",sons:null},{kind:1,offset:"paddingBlockStart",len:0,typ:NTI33554450,name:"paddingBlockStart",sons:null},{kind:1,offset:"paddingBottom",len:0,typ:NTI33554450,name:"paddingBottom",sons:null},{kind:1,offset:"paddingInline",len:0,typ:NTI33554450,name:"paddingInline",sons:null},{kind:1,offset:"paddingInlineEnd",len:0,typ:NTI33554450,name:"paddingInlineEnd",sons:null},{kind:1,offset:"paddingInlineStart",len:0,typ:NTI33554450,name:"paddingInlineStart",sons:null},{kind:1,offset:"paddingLeft",len:0,typ:NTI33554450,name:"paddingLeft",sons:null},{kind:1,offset:"paddingRight",len:0,typ:NTI33554450,name:"paddingRight",sons:null},{kind:1,offset:"paddingTop",len:0,typ:NTI33554450,name:"paddingTop",sons:null},{kind:1,offset:"pageBreakAfter",len:0,typ:NTI33554450,name:"pageBreakAfter",sons:null},{kind:1,offset:"pageBreakBefore",len:0,typ:NTI33554450,name:"pageBreakBefore",sons:null},{kind:1,offset:"pageBreakInside",len:0,typ:NTI33554450,name:"pageBreakInside",sons:null},{kind:1,offset:"paintOrder",len:0,typ:NTI33554450,name:"paintOrder",sons:null},{kind:1,offset:"perspective",len:0,typ:NTI33554450,name:"perspective",sons:null},{kind:1,offset:"perspectiveOrigin",len:0,typ:NTI33554450,name:"perspectiveOrigin",sons:null},{kind:1,offset:"placeContent",len:0,typ:NTI33554450,name:"placeContent",sons:null},{kind:1,offset:"placeItems",len:0,typ:NTI33554450,name:"placeItems",sons:null},{kind:1,offset:"placeSelf",len:0,typ:NTI33554450,name:"placeSelf",sons:null},{kind:1,offset:"pointerEvents",len:0,typ:NTI33554450,name:"pointerEvents",sons:null},{kind:1,offset:"position",len:0,typ:NTI33554450,name:"position",sons:null},{kind:1,offset:"quotes",len:0,typ:NTI33554450,name:"quotes",sons:null},{kind:1,offset:"resize",len:0,typ:NTI33554450,name:"resize",sons:null},{kind:1,offset:"right",len:0,typ:NTI33554450,name:"right",sons:null},{kind:1,offset:"rotate",len:0,typ:NTI33554450,name:"rotate",sons:null},{kind:1,offset:"rowGap",len:0,typ:NTI33554450,name:"rowGap",sons:null},{kind:1,offset:"scale",len:0,typ:NTI33554450,name:"scale",sons:null},{kind:1,offset:"scrollBehavior",len:0,typ:NTI33554450,name:"scrollBehavior",sons:null},{kind:1,offset:"scrollMargin",len:0,typ:NTI33554450,name:"scrollMargin",sons:null},{kind:1,offset:"scrollMarginBlock",len:0,typ:NTI33554450,name:"scrollMarginBlock",sons:null},{kind:1,offset:"scrollMarginBlockEnd",len:0,typ:NTI33554450,name:"scrollMarginBlockEnd",sons:null},{kind:1,offset:"scrollMarginBlockStart",len:0,typ:NTI33554450,name:"scrollMarginBlockStart",sons:null},{kind:1,offset:"scrollMarginBottom",len:0,typ:NTI33554450,name:"scrollMarginBottom",sons:null},{kind:1,offset:"scrollMarginInline",len:0,typ:NTI33554450,name:"scrollMarginInline",sons:null},{kind:1,offset:"scrollMarginInlineEnd",len:0,typ:NTI33554450,name:"scrollMarginInlineEnd",sons:null},{kind:1,offset:"scrollMarginInlineStart",len:0,typ:NTI33554450,name:"scrollMarginInlineStart",sons:null},{kind:1,offset:"scrollMarginLeft",len:0,typ:NTI33554450,name:"scrollMarginLeft",sons:null},{kind:1,offset:"scrollMarginRight",len:0,typ:NTI33554450,name:"scrollMarginRight",sons:null},{kind:1,offset:"scrollMarginTop",len:0,typ:NTI33554450,name:"scrollMarginTop",sons:null},{kind:1,offset:"scrollPadding",len:0,typ:NTI33554450,name:"scrollPadding",sons:null},{kind:1,offset:"scrollPaddingBlock",len:0,typ:NTI33554450,name:"scrollPaddingBlock",sons:null},{kind:1,offset:"scrollPaddingBlockEnd",len:0,typ:NTI33554450,name:"scrollPaddingBlockEnd",sons:null},{kind:1,offset:"scrollPaddingBlockStart",len:0,typ:NTI33554450,name:"scrollPaddingBlockStart",sons:null},{kind:1,offset:"scrollPaddingBottom",len:0,typ:NTI33554450,name:"scrollPaddingBottom",sons:null},{kind:1,offset:"scrollPaddingInline",len:0,typ:NTI33554450,name:"scrollPaddingInline",sons:null},{kind:1,offset:"scrollPaddingInlineEnd",len:0,typ:NTI33554450,name:"scrollPaddingInlineEnd",sons:null},{kind:1,offset:"scrollPaddingInlineStart",len:0,typ:NTI33554450,name:"scrollPaddingInlineStart",sons:null},{kind:1,offset:"scrollPaddingLeft",len:0,typ:NTI33554450,name:"scrollPaddingLeft",sons:null},{kind:1,offset:"scrollPaddingRight",len:0,typ:NTI33554450,name:"scrollPaddingRight",sons:null},{kind:1,offset:"scrollPaddingTop",len:0,typ:NTI33554450,name:"scrollPaddingTop",sons:null},{kind:1,offset:"scrollSnapAlign",len:0,typ:NTI33554450,name:"scrollSnapAlign",sons:null},{kind:1,offset:"scrollSnapStop",len:0,typ:NTI33554450,name:"scrollSnapStop",sons:null},{kind:1,offset:"scrollSnapType",len:0,typ:NTI33554450,name:"scrollSnapType",sons:null},{kind:1,offset:"scrollbar3dLightColor",len:0,typ:NTI33554450,name:"scrollbar3dLightColor",sons:null},{kind:1,offset:"scrollbarArrowColor",len:0,typ:NTI33554450,name:"scrollbarArrowColor",sons:null},{kind:1,offset:"scrollbarBaseColor",len:0,typ:NTI33554450,name:"scrollbarBaseColor",sons:null},{kind:1,offset:"scrollbarColor",len:0,typ:NTI33554450,name:"scrollbarColor",sons:null},{kind:1,offset:"scrollbarDarkshadowColor",len:0,typ:NTI33554450,name:"scrollbarDarkshadowColor",sons:null},{kind:1,offset:"scrollbarFaceColor",len:0,typ:NTI33554450,name:"scrollbarFaceColor",sons:null},{kind:1,offset:"scrollbarHighlightColor",len:0,typ:NTI33554450,name:"scrollbarHighlightColor",sons:null},{kind:1,offset:"scrollbarShadowColor",len:0,typ:NTI33554450,name:"scrollbarShadowColor",sons:null},{kind:1,offset:"scrollbarTrackColor",len:0,typ:NTI33554450,name:"scrollbarTrackColor",sons:null},{kind:1,offset:"scrollbarWidth",len:0,typ:NTI33554450,name:"scrollbarWidth",sons:null},{kind:1,offset:"shapeImageThreshold",len:0,typ:NTI33554450,name:"shapeImageThreshold",sons:null},{kind:1,offset:"shapeMargin",len:0,typ:NTI33554450,name:"shapeMargin",sons:null},{kind:1,offset:"shapeOutside",len:0,typ:NTI33554450,name:"shapeOutside",sons:null},{kind:1,offset:"tabSize",len:0,typ:NTI33554450,name:"tabSize",sons:null},{kind:1,offset:"tableLayout",len:0,typ:NTI33554450,name:"tableLayout",sons:null},{kind:1,offset:"textAlign",len:0,typ:NTI33554450,name:"textAlign",sons:null},{kind:1,offset:"textAlignLast",len:0,typ:NTI33554450,name:"textAlignLast",sons:null},{kind:1,offset:"textCombineUpright",len:0,typ:NTI33554450,name:"textCombineUpright",sons:null},{kind:1,offset:"textDecoration",len:0,typ:NTI33554450,name:"textDecoration",sons:null},{kind:1,offset:"textDecorationColor",len:0,typ:NTI33554450,name:"textDecorationColor",sons:null},{kind:1,offset:"textDecorationLine",len:0,typ:NTI33554450,name:"textDecorationLine",sons:null},{kind:1,offset:"textDecorationSkipInk",len:0,typ:NTI33554450,name:"textDecorationSkipInk",sons:null},{kind:1,offset:"textDecorationStyle",len:0,typ:NTI33554450,name:"textDecorationStyle",sons:null},{kind:1,offset:"textDecorationThickness",len:0,typ:NTI33554450,name:"textDecorationThickness",sons:null},{kind:1,offset:"textEmphasis",len:0,typ:NTI33554450,name:"textEmphasis",sons:null},{kind:1,offset:"textEmphasisColor",len:0,typ:NTI33554450,name:"textEmphasisColor",sons:null},{kind:1,offset:"textEmphasisPosition",len:0,typ:NTI33554450,name:"textEmphasisPosition",sons:null},{kind:1,offset:"textEmphasisStyle",len:0,typ:NTI33554450,name:"textEmphasisStyle",sons:null},{kind:1,offset:"textIndent",len:0,typ:NTI33554450,name:"textIndent",sons:null},{kind:1,offset:"textJustify",len:0,typ:NTI33554450,name:"textJustify",sons:null},{kind:1,offset:"textOrientation",len:0,typ:NTI33554450,name:"textOrientation",sons:null},{kind:1,offset:"textOverflow",len:0,typ:NTI33554450,name:"textOverflow",sons:null},{kind:1,offset:"textRendering",len:0,typ:NTI33554450,name:"textRendering",sons:null},{kind:1,offset:"textShadow",len:0,typ:NTI33554450,name:"textShadow",sons:null},{kind:1,offset:"textTransform",len:0,typ:NTI33554450,name:"textTransform",sons:null},{kind:1,offset:"textUnderlineOffset",len:0,typ:NTI33554450,name:"textUnderlineOffset",sons:null},{kind:1,offset:"textUnderlinePosition",len:0,typ:NTI33554450,name:"textUnderlinePosition",sons:null},{kind:1,offset:"top",len:0,typ:NTI33554450,name:"top",sons:null},{kind:1,offset:"touchAction",len:0,typ:NTI33554450,name:"touchAction",sons:null},{kind:1,offset:"transform",len:0,typ:NTI33554450,name:"transform",sons:null},{kind:1,offset:"transformBox",len:0,typ:NTI33554450,name:"transformBox",sons:null},{kind:1,offset:"transformOrigin",len:0,typ:NTI33554450,name:"transformOrigin",sons:null},{kind:1,offset:"transformStyle",len:0,typ:NTI33554450,name:"transformStyle",sons:null},{kind:1,offset:"transition",len:0,typ:NTI33554450,name:"transition",sons:null},{kind:1,offset:"transitionDelay",len:0,typ:NTI33554450,name:"transitionDelay",sons:null},{kind:1,offset:"transitionDuration",len:0,typ:NTI33554450,name:"transitionDuration",sons:null},{kind:1,offset:"transitionProperty",len:0,typ:NTI33554450,name:"transitionProperty",sons:null},{kind:1,offset:"transitionTimingFunction",len:0,typ:NTI33554450,name:"transitionTimingFunction",sons:null},{kind:1,offset:"translate",len:0,typ:NTI33554450,name:"translate",sons:null},{kind:1,offset:"unicodeBidi",len:0,typ:NTI33554450,name:"unicodeBidi",sons:null},{kind:1,offset:"verticalAlign",len:0,typ:NTI33554450,name:"verticalAlign",sons:null},{kind:1,offset:"visibility",len:0,typ:NTI33554450,name:"visibility",sons:null},{kind:1,offset:"whiteSpace",len:0,typ:NTI33554450,name:"whiteSpace",sons:null},{kind:1,offset:"widows",len:0,typ:NTI33554450,name:"widows",sons:null},{kind:1,offset:"width",len:0,typ:NTI33554450,name:"width",sons:null},{kind:1,offset:"willChange",len:0,typ:NTI33554450,name:"willChange",sons:null},{kind:1,offset:"wordBreak",len:0,typ:NTI33554450,name:"wordBreak",sons:null},{kind:1,offset:"wordSpacing",len:0,typ:NTI33554450,name:"wordSpacing",sons:null},{kind:1,offset:"writingMode",len:0,typ:NTI33554450,name:"writingMode",sons:null},{kind:1,offset:"zIndex",len:0,typ:NTI33554450,name:"zIndex",sons:null}]};NTI704643214.node=NNI704643214,NTI704643214.base=NTI33555173,NTI704643102.base=NTI704643214;var NNI704643186={kind:2,len:22,offset:0,typ:null,name:null,sons:[{kind:1,offset:"attributes",len:0,typ:NTI704643187,name:"attributes",sons:null},{kind:1,offset:"childNodes",len:0,typ:NTI704643188,name:"childNodes",sons:null},{kind:1,offset:"children",len:0,typ:NTI704643189,name:"children",sons:null},{kind:1,offset:"data",len:0,typ:NTI33554450,name:"data",sons:null},{kind:1,offset:"firstChild",len:0,typ:NTI704643088,name:"firstChild",sons:null},{kind:1,offset:"lastChild",len:0,typ:NTI704643088,name:"lastChild",sons:null},{kind:1,offset:"nextSibling",len:0,typ:NTI704643088,name:"nextSibling",sons:null},{kind:1,offset:"nodeName",len:0,typ:NTI33554450,name:"nodeName",sons:null},{kind:1,offset:"nodeType",len:0,typ:NTI704643087,name:"nodeType",sons:null},{kind:1,offset:"nodeValue",len:0,typ:NTI33554450,name:"nodeValue",sons:null},{kind:1,offset:"parentNode",len:0,typ:NTI704643088,name:"parentNode",sons:null},{kind:1,offset:"content",len:0,typ:NTI704643088,name:"content",sons:null},{kind:1,offset:"previousSibling",len:0,typ:NTI704643088,name:"previousSibling",sons:null},{kind:1,offset:"ownerDocument",len:0,typ:NTI704643089,name:"ownerDocument",sons:null},{kind:1,offset:"innerHTML",len:0,typ:NTI33554450,name:"innerHTML",sons:null},{kind:1,offset:"outerHTML",len:0,typ:NTI33554450,name:"outerHTML",sons:null},{kind:1,offset:"innerText",len:0,typ:NTI33554450,name:"innerText",sons:null},{kind:1,offset:"textContent",len:0,typ:NTI33554450,name:"textContent",sons:null},{kind:1,offset:"style",len:0,typ:NTI704643102,name:"style",sons:null},{kind:1,offset:"baseURI",len:0,typ:NTI33554450,name:"baseURI",sons:null},{kind:1,offset:"parentElement",len:0,typ:NTI704643090,name:"parentElement",sons:null},{kind:1,offset:"isConnected",len:0,typ:NTI33554466,name:"isConnected",sons:null}]};NTI704643186.node=NNI704643186;var NNI704643141={kind:2,len:24,offset:0,typ:null,name:null,sons:[{kind:1,offset:"onabort",len:0,typ:NTI704643142,name:"onabort",sons:null},{kind:1,offset:"onblur",len:0,typ:NTI704643143,name:"onblur",sons:null},{kind:1,offset:"onchange",len:0,typ:NTI704643144,name:"onchange",sons:null},{kind:1,offset:"onclick",len:0,typ:NTI704643145,name:"onclick",sons:null},{kind:1,offset:"ondblclick",len:0,typ:NTI704643146,name:"ondblclick",sons:null},{kind:1,offset:"onerror",len:0,typ:NTI704643147,name:"onerror",sons:null},{kind:1,offset:"onfocus",len:0,typ:NTI704643148,name:"onfocus",sons:null},{kind:1,offset:"onkeydown",len:0,typ:NTI704643149,name:"onkeydown",sons:null},{kind:1,offset:"onkeypress",len:0,typ:NTI704643150,name:"onkeypress",sons:null},{kind:1,offset:"onkeyup",len:0,typ:NTI704643151,name:"onkeyup",sons:null},{kind:1,offset:"onload",len:0,typ:NTI704643152,name:"onload",sons:null},{kind:1,offset:"onmousedown",len:0,typ:NTI704643153,name:"onmousedown",sons:null},{kind:1,offset:"onmousemove",len:0,typ:NTI704643154,name:"onmousemove",sons:null},{kind:1,offset:"onmouseout",len:0,typ:NTI704643155,name:"onmouseout",sons:null},{kind:1,offset:"onmouseover",len:0,typ:NTI704643156,name:"onmouseover",sons:null},{kind:1,offset:"onmouseup",len:0,typ:NTI704643157,name:"onmouseup",sons:null},{kind:1,offset:"onreset",len:0,typ:NTI704643158,name:"onreset",sons:null},{kind:1,offset:"onselect",len:0,typ:NTI704643159,name:"onselect",sons:null},{kind:1,offset:"onstorage",len:0,typ:NTI704643160,name:"onstorage",sons:null},{kind:1,offset:"onsubmit",len:0,typ:NTI704643161,name:"onsubmit",sons:null},{kind:1,offset:"onunload",len:0,typ:NTI704643162,name:"onunload",sons:null},{kind:1,offset:"onloadstart",len:0,typ:NTI704643163,name:"onloadstart",sons:null},{kind:1,offset:"onprogress",len:0,typ:NTI704643164,name:"onprogress",sons:null},{kind:1,offset:"onloadend",len:0,typ:NTI704643165,name:"onloadend",sons:null}]};NTI704643141.node=NNI704643141,NTI704643141.base=NTI33555173,NTI704643186.base=NTI704643141,NTI704643197.base=NTI704643186,NTI704643090.base=NTI704643197,NTI1459617821.base=NTI1459617857;var NNI1459617824={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"seconds",len:0,typ:NTI33554439,name:"seconds",sons:null},{kind:1,offset:"nanosecond",len:0,typ:NTI1459617821,name:"nanosecond",sons:null}]};NTI1459617824.node=NNI1459617824;var NNI1426063368={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"body",len:0,typ:NTI1442840649,name:"body",sons:null},{kind:1,offset:"imgSize",len:0,typ:NTI1677721603,name:"imgSize",sons:null}]};NTI1426063368.node=NNI1426063368;var NNI1426063364={kind:2,len:4,offset:0,typ:null,name:null,sons:[{kind:1,offset:"body",len:0,typ:NTI1442840649,name:"body",sons:null},{kind:1,offset:"dragging",len:0,typ:NTI33554466,name:"dragging",sons:null},{kind:1,offset:"dragOffset",len:0,typ:NTI33554445,name:"dragOffset",sons:null},{kind:1,offset:"imgSize",len:0,typ:NTI1677721603,name:"imgSize",sons:null}]};NTI1426063364.node=NNI1426063364,NTI1426063371.base=NTI1442840649,NTI1426063372.base=NTI33554435;var NNI1426063367={kind:2,len:15,offset:0,typ:null,name:null,sons:[{kind:1,offset:"platform",len:0,typ:NTI1426063368,name:"platform",sons:null},{kind:1,offset:"base",len:0,typ:NTI1426063364,name:"base",sons:null},{kind:1,offset:"body",len:0,typ:NTI1442840649,name:"body",sons:null},{kind:1,offset:"pivot",len:0,typ:NTI1677721603,name:"pivot",sons:null},{kind:1,offset:"dragOffset",len:0,typ:NTI33554445,name:"dragOffset",sons:null},{kind:1,offset:"bullets",len:0,typ:NTI1426063371,name:"bullets",sons:null},{kind:1,offset:"bulletOptions",len:0,typ:NTI1442840649,name:"bulletOptions",sons:null},{kind:1,offset:"flyingBullets",len:0,typ:NTI1426063372,name:"flyingBullets",sons:null},{kind:1,offset:"bulletRadius",len:0,typ:NTI33554435,name:"bulletRadius",sons:null},{kind:1,offset:"bulletsLimit",len:0,typ:NTI33554435,name:"bulletsLimit",sons:null},{kind:1,offset:"dragging",len:0,typ:NTI33554466,name:"dragging",sons:null},{kind:1,offset:"imgSize",len:0,typ:NTI1677721603,name:"imgSize",sons:null},{kind:1,offset:"showVxArrow",len:0,typ:NTI33554466,name:"showVxArrow",sons:null},{kind:1,offset:"showVyArrow",len:0,typ:NTI33554466,name:"showVyArrow",sons:null},{kind:1,offset:"showVArrow",len:0,typ:NTI33554466,name:"showVArrow",sons:null}]};NTI1426063367.node=NNI1426063367,NTI1426063373.base=NTI1442840649,NTI1426063374.base=NTI1426063366,NTI1426063376.base=NTI1426063380,NTI1426063382.base=NTI33555150;var NNI1728053251={kind:2,offset:0,typ:null,name:null,len:2,sons:{0:{kind:1,offset:0,typ:NTI1728053251,name:"English",len:0,sons:null},1:{kind:1,offset:1,typ:NTI1728053251,name:"Espa\xc3\xb1ol",len:0,sons:null}}};NTI1728053251.node=NNI1728053251;var NNI1426063369={kind:2,len:29,offset:0,typ:null,name:null,sons:[{kind:1,offset:"engine",len:0,typ:NTI1442840649,name:"engine",sons:null},{kind:1,offset:"render",len:0,typ:NTI1442840649,name:"render",sons:null},{kind:1,offset:"runner",len:0,typ:NTI1442840649,name:"runner",sons:null},{kind:1,offset:"canvas",len:0,typ:NTI704643090,name:"canvas",sons:null},{kind:1,offset:"canvasSize",len:0,typ:NTI1677721603,name:"canvasSize",sons:null},{kind:1,offset:"paused",len:0,typ:NTI33554466,name:"paused",sons:null},{kind:1,offset:"frozen",len:0,typ:NTI33554466,name:"frozen",sons:null},{kind:1,offset:"mouse",len:0,typ:NTI1442840649,name:"mouse",sons:null},{kind:1,offset:"mouseCons",len:0,typ:NTI1442840649,name:"mouseCons",sons:null},{kind:1,offset:"timeAtClick",len:0,typ:NTI1459617824,name:"timeAtClick",sons:null},{kind:1,offset:"canon",len:0,typ:NTI1426063367,name:"canon",sons:null},{kind:1,offset:"ground",len:0,typ:NTI1442840649,name:"ground",sons:null},{kind:1,offset:"blocks",len:0,typ:NTI1426063373,name:"blocks",sons:null},{kind:1,offset:"trajectories",len:0,typ:NTI1426063374,name:"trajectories",sons:null},{kind:1,offset:"currentTrajectory",len:0,typ:NTI33554435,name:"currentTrajectory",sons:null},{kind:1,offset:"draggingPoint",len:0,typ:NTI33554466,name:"draggingPoint",sons:null},{kind:1,offset:"followBullet",len:0,typ:NTI33554466,name:"followBullet",sons:null},{kind:1,offset:"onMousedown",len:0,typ:NTI1426063375,name:"onMousedown",sons:null},{kind:1,offset:"onMouseup",len:0,typ:NTI1426063375,name:"onMouseup",sons:null},{kind:1,offset:"onMousemove",len:0,typ:NTI1426063375,name:"onMousemove",sons:null},{kind:1,offset:"onMouseleave",len:0,typ:NTI1426063375,name:"onMouseleave",sons:null},{kind:1,offset:"onWheel",len:0,typ:NTI1426063375,name:"onWheel",sons:null},{kind:1,offset:"floatPrecision",len:0,typ:NTI1426063376,name:"floatPrecision",sons:null},{kind:1,offset:"startedRendering",len:0,typ:NTI33554466,name:"startedRendering",sons:null},{kind:1,offset:"studentMode",len:0,typ:NTI33554466,name:"studentMode",sons:null},{kind:1,offset:"showFormulaResults",len:0,typ:NTI33554466,name:"showFormulaResults",sons:null},{kind:1,offset:"showFormulaProc",len:0,typ:NTI33554466,name:"showFormulaProc",sons:null},{kind:1,offset:"lastUsed",len:0,typ:NTI1426063382,name:"lastUsed",sons:null},{kind:1,offset:"lang",len:0,typ:NTI1728053251,name:"lang",sons:null}]};NTI1426063369.node=NNI1426063369;var NNI1426063439={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"a",len:0,typ:NTI33554445,name:"a",sons:null},{kind:1,offset:"b",len:0,typ:NTI33554445,name:"b",sons:null}]};NTI1426063439.node=NNI1426063439;var NNI134217742={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217742.node=NNI134217742,NTI134217742.base=NTI134217741;var NNI922746949={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"a",len:0,typ:NTI33554435,name:"a",sons:null},{kind:1,offset:"b",len:0,typ:NTI33554435,name:"b",sons:null}]};NTI922746949.node=NNI922746949,NTI1426065073.base=NTI33554447;var NNI1073741909={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"a",len:0,typ:NTI1073741903,name:"a",sons:null},{kind:1,offset:"b",len:0,typ:NTI33554435,name:"b",sons:null}]};NTI1073741909.node=NNI1073741909;var NNI1426065064={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI1426065065,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554447,name:"Field1",sons:null}]};NTI1426065064.node=NNI1426065064;var NNI134217746={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217746.node=NNI134217746;var NNI33555179={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI33555179.node=NNI33555179,NTI33555179.base=NTI33555177,NTI134217746.base=NTI33555179;var NNI1426064493={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554449,name:"Field1",sons:null}]};NTI1426064493.node=NNI1426064493;var NNI1426064612={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554466,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI1426063365,name:"Field1",sons:null}]};NTI1426064612.node=NNI1426064612;var NNI1426064688={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554449,name:"Field1",sons:null}]};NTI1426064688.node=NNI1426064688;var NNI1426063959={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554449,name:"Field1",sons:null}]};NTI1426063959.node=NNI1426063959;var NNI1677721740={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554445,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554445,name:"Field1",sons:null}]};NTI1677721740.node=NNI1677721740,NTI1426068752.base=NTI1442840649;var NNI1459617826={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"seconds",len:0,typ:NTI33554439,name:"seconds",sons:null},{kind:1,offset:"nanosecond",len:0,typ:NTI1459617821,name:"nanosecond",sons:null}]};NTI1459617826.node=NNI1459617826;var NNI134217753={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI134217753.node=NNI134217753,NTI134217753.base=NTI33555178;var NNI1426066550={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554466,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI1677721603,name:"Field1",sons:null}]};NTI1426066550.node=NNI1426066550,NTI1426067175.base=NTI1442840649;var NNI721420295={kind:2,offset:0,typ:null,name:null,len:6,sons:{0:{kind:1,offset:0,typ:NTI721420295,name:"pkReplace",len:0,sons:null},1:{kind:1,offset:1,typ:NTI721420295,name:"pkRemove",len:0,sons:null},2:{kind:1,offset:2,typ:NTI721420295,name:"pkAppend",len:0,sons:null},3:{kind:1,offset:3,typ:NTI721420295,name:"pkInsertBefore",len:0,sons:null},4:{kind:1,offset:4,typ:NTI721420295,name:"pkDetach",len:0,sons:null},5:{kind:1,offset:5,typ:NTI721420295,name:"pkSame",len:0,sons:null}}};NTI721420295.node=NNI721420295;var NNI754974723={kind:2,offset:0,typ:null,name:null,len:213,sons:{0:{kind:1,offset:0,typ:NTI754974723,name:"#text",len:0,sons:null},1:{kind:1,offset:1,typ:NTI754974723,name:"#int",len:0,sons:null},2:{kind:1,offset:2,typ:NTI754974723,name:"#bool",len:0,sons:null},3:{kind:1,offset:3,typ:NTI754974723,name:"#vthunk",len:0,sons:null},4:{kind:1,offset:4,typ:NTI754974723,name:"#dthunk",len:0,sons:null},5:{kind:1,offset:5,typ:NTI754974723,name:"#component",len:0,sons:null},6:{kind:1,offset:6,typ:NTI754974723,name:"#verbatim",len:0,sons:null},7:{kind:1,offset:7,typ:NTI754974723,name:"html",len:0,sons:null},8:{kind:1,offset:8,typ:NTI754974723,name:"head",len:0,sons:null},9:{kind:1,offset:9,typ:NTI754974723,name:"title",len:0,sons:null},10:{kind:1,offset:10,typ:NTI754974723,name:"base",len:0,sons:null},11:{kind:1,offset:11,typ:NTI754974723,name:"link",len:0,sons:null},12:{kind:1,offset:12,typ:NTI754974723,name:"meta",len:0,sons:null},13:{kind:1,offset:13,typ:NTI754974723,name:"style",len:0,sons:null},14:{kind:1,offset:14,typ:NTI754974723,name:"script",len:0,sons:null},15:{kind:1,offset:15,typ:NTI754974723,name:"noscript",len:0,sons:null},16:{kind:1,offset:16,typ:NTI754974723,name:"body",len:0,sons:null},17:{kind:1,offset:17,typ:NTI754974723,name:"section",len:0,sons:null},18:{kind:1,offset:18,typ:NTI754974723,name:"nav",len:0,sons:null},19:{kind:1,offset:19,typ:NTI754974723,name:"article",len:0,sons:null},20:{kind:1,offset:20,typ:NTI754974723,name:"aside",len:0,sons:null},21:{kind:1,offset:21,typ:NTI754974723,name:"h1",len:0,sons:null},22:{kind:1,offset:22,typ:NTI754974723,name:"h2",len:0,sons:null},23:{kind:1,offset:23,typ:NTI754974723,name:"h3",len:0,sons:null},24:{kind:1,offset:24,typ:NTI754974723,name:"h4",len:0,sons:null},25:{kind:1,offset:25,typ:NTI754974723,name:"h5",len:0,sons:null},26:{kind:1,offset:26,typ:NTI754974723,name:"h6",len:0,sons:null},27:{kind:1,offset:27,typ:NTI754974723,name:"hgroup",len:0,sons:null},28:{kind:1,offset:28,typ:NTI754974723,name:"header",len:0,sons:null},29:{kind:1,offset:29,typ:NTI754974723,name:"footer",len:0,sons:null},30:{kind:1,offset:30,typ:NTI754974723,name:"address",len:0,sons:null},31:{kind:1,offset:31,typ:NTI754974723,name:"main",len:0,sons:null},32:{kind:1,offset:32,typ:NTI754974723,name:"p",len:0,sons:null},33:{kind:1,offset:33,typ:NTI754974723,name:"hr",len:0,sons:null},34:{kind:1,offset:34,typ:NTI754974723,name:"pre",len:0,sons:null},35:{kind:1,offset:35,typ:NTI754974723,name:"blockquote",len:0,sons:null},36:{kind:1,offset:36,typ:NTI754974723,name:"ol",len:0,sons:null},37:{kind:1,offset:37,typ:NTI754974723,name:"ul",len:0,sons:null},38:{kind:1,offset:38,typ:NTI754974723,name:"li",len:0,sons:null},39:{kind:1,offset:39,typ:NTI754974723,name:"dl",len:0,sons:null},40:{kind:1,offset:40,typ:NTI754974723,name:"dt",len:0,sons:null},41:{kind:1,offset:41,typ:NTI754974723,name:"dd",len:0,sons:null},42:{kind:1,offset:42,typ:NTI754974723,name:"figure",len:0,sons:null},43:{kind:1,offset:43,typ:NTI754974723,name:"figcaption",len:0,sons:null},44:{kind:1,offset:44,typ:NTI754974723,name:"div",len:0,sons:null},45:{kind:1,offset:45,typ:NTI754974723,name:"a",len:0,sons:null},46:{kind:1,offset:46,typ:NTI754974723,name:"em",len:0,sons:null},47:{kind:1,offset:47,typ:NTI754974723,name:"strong",len:0,sons:null},48:{kind:1,offset:48,typ:NTI754974723,name:"small",len:0,sons:null},49:{kind:1,offset:49,typ:NTI754974723,name:"s",len:0,sons:null},50:{kind:1,offset:50,typ:NTI754974723,name:"cite",len:0,sons:null},51:{kind:1,offset:51,typ:NTI754974723,name:"quote",len:0,sons:null},52:{kind:1,offset:52,typ:NTI754974723,name:"dfn",len:0,sons:null},53:{kind:1,offset:53,typ:NTI754974723,name:"abbr",len:0,sons:null},54:{kind:1,offset:54,typ:NTI754974723,name:"data",len:0,sons:null},55:{kind:1,offset:55,typ:NTI754974723,name:"time",len:0,sons:null},56:{kind:1,offset:56,typ:NTI754974723,name:"code",len:0,sons:null},57:{kind:1,offset:57,typ:NTI754974723,name:"var",len:0,sons:null},58:{kind:1,offset:58,typ:NTI754974723,name:"samp",len:0,sons:null},59:{kind:1,offset:59,typ:NTI754974723,name:"kbd",len:0,sons:null},60:{kind:1,offset:60,typ:NTI754974723,name:"sub",len:0,sons:null},61:{kind:1,offset:61,typ:NTI754974723,name:"sup",len:0,sons:null},62:{kind:1,offset:62,typ:NTI754974723,name:"i",len:0,sons:null},63:{kind:1,offset:63,typ:NTI754974723,name:"b",len:0,sons:null},64:{kind:1,offset:64,typ:NTI754974723,name:"u",len:0,sons:null},65:{kind:1,offset:65,typ:NTI754974723,name:"mark",len:0,sons:null},66:{kind:1,offset:66,typ:NTI754974723,name:"ruby",len:0,sons:null},67:{kind:1,offset:67,typ:NTI754974723,name:"rt",len:0,sons:null},68:{kind:1,offset:68,typ:NTI754974723,name:"rp",len:0,sons:null},69:{kind:1,offset:69,typ:NTI754974723,name:"bdi",len:0,sons:null},70:{kind:1,offset:70,typ:NTI754974723,name:"dbo",len:0,sons:null},71:{kind:1,offset:71,typ:NTI754974723,name:"span",len:0,sons:null},72:{kind:1,offset:72,typ:NTI754974723,name:"br",len:0,sons:null},73:{kind:1,offset:73,typ:NTI754974723,name:"wbr",len:0,sons:null},74:{kind:1,offset:74,typ:NTI754974723,name:"ins",len:0,sons:null},75:{kind:1,offset:75,typ:NTI754974723,name:"del",len:0,sons:null},76:{kind:1,offset:76,typ:NTI754974723,name:"img",len:0,sons:null},77:{kind:1,offset:77,typ:NTI754974723,name:"iframe",len:0,sons:null},78:{kind:1,offset:78,typ:NTI754974723,name:"embed",len:0,sons:null},79:{kind:1,offset:79,typ:NTI754974723,name:"object",len:0,sons:null},80:{kind:1,offset:80,typ:NTI754974723,name:"param",len:0,sons:null},81:{kind:1,offset:81,typ:NTI754974723,name:"video",len:0,sons:null},82:{kind:1,offset:82,typ:NTI754974723,name:"audio",len:0,sons:null},83:{kind:1,offset:83,typ:NTI754974723,name:"source",len:0,sons:null},84:{kind:1,offset:84,typ:NTI754974723,name:"track",len:0,sons:null},85:{kind:1,offset:85,typ:NTI754974723,name:"canvas",len:0,sons:null},86:{kind:1,offset:86,typ:NTI754974723,name:"map",len:0,sons:null},87:{kind:1,offset:87,typ:NTI754974723,name:"area",len:0,sons:null},88:{kind:1,offset:88,typ:NTI754974723,name:"animate",len:0,sons:null},89:{kind:1,offset:89,typ:NTI754974723,name:"animateMotion",len:0,sons:null},90:{kind:1,offset:90,typ:NTI754974723,name:"animateTransform",len:0,sons:null},91:{kind:1,offset:91,typ:NTI754974723,name:"circle",len:0,sons:null},92:{kind:1,offset:92,typ:NTI754974723,name:"clipPath",len:0,sons:null},93:{kind:1,offset:93,typ:NTI754974723,name:"defs",len:0,sons:null},94:{kind:1,offset:94,typ:NTI754974723,name:"desc",len:0,sons:null},95:{kind:1,offset:95,typ:NTI754974723,name:"discard",len:0,sons:null},96:{kind:1,offset:96,typ:NTI754974723,name:"ellipse",len:0,sons:null},97:{kind:1,offset:97,typ:NTI754974723,name:"feBlend",len:0,sons:null},98:{kind:1,offset:98,typ:NTI754974723,name:"feColorMatrix",len:0,sons:null},99:{kind:1,offset:99,typ:NTI754974723,name:"feComponentTransfer",len:0,sons:null},100:{kind:1,offset:100,typ:NTI754974723,name:"feComposite",len:0,sons:null},101:{kind:1,offset:101,typ:NTI754974723,name:"feConvolveMatrix",len:0,sons:null},102:{kind:1,offset:102,typ:NTI754974723,name:"feDiffuseLighting",len:0,sons:null},103:{kind:1,offset:103,typ:NTI754974723,name:"feDisplacementMap",len:0,sons:null},104:{kind:1,offset:104,typ:NTI754974723,name:"feDistantLight",len:0,sons:null},105:{kind:1,offset:105,typ:NTI754974723,name:"feDropShadow",len:0,sons:null},106:{kind:1,offset:106,typ:NTI754974723,name:"feFlood",len:0,sons:null},107:{kind:1,offset:107,typ:NTI754974723,name:"feFuncA",len:0,sons:null},108:{kind:1,offset:108,typ:NTI754974723,name:"feFuncB",len:0,sons:null},109:{kind:1,offset:109,typ:NTI754974723,name:"feFuncG",len:0,sons:null},110:{kind:1,offset:110,typ:NTI754974723,name:"feFuncR",len:0,sons:null},111:{kind:1,offset:111,typ:NTI754974723,name:"feGaussianBlur",len:0,sons:null},112:{kind:1,offset:112,typ:NTI754974723,name:"feImage",len:0,sons:null},113:{kind:1,offset:113,typ:NTI754974723,name:"feMerge",len:0,sons:null},114:{kind:1,offset:114,typ:NTI754974723,name:"feMergeNode",len:0,sons:null},115:{kind:1,offset:115,typ:NTI754974723,name:"feMorphology",len:0,sons:null},116:{kind:1,offset:116,typ:NTI754974723,name:"feOffset",len:0,sons:null},117:{kind:1,offset:117,typ:NTI754974723,name:"fePointLight",len:0,sons:null},118:{kind:1,offset:118,typ:NTI754974723,name:"feSpecularLighting",len:0,sons:null},119:{kind:1,offset:119,typ:NTI754974723,name:"feSpotLight",len:0,sons:null},120:{kind:1,offset:120,typ:NTI754974723,name:"feTile",len:0,sons:null},121:{kind:1,offset:121,typ:NTI754974723,name:"feTurbulence",len:0,sons:null},122:{kind:1,offset:122,typ:NTI754974723,name:"filter",len:0,sons:null},123:{kind:1,offset:123,typ:NTI754974723,name:"foreignObject",len:0,sons:null},124:{kind:1,offset:124,typ:NTI754974723,name:"g",len:0,sons:null},125:{kind:1,offset:125,typ:NTI754974723,name:"image",len:0,sons:null},126:{kind:1,offset:126,typ:NTI754974723,name:"line",len:0,sons:null},127:{kind:1,offset:127,typ:NTI754974723,name:"linearGradient",len:0,sons:null},128:{kind:1,offset:128,typ:NTI754974723,name:"marker",len:0,sons:null},129:{kind:1,offset:129,typ:NTI754974723,name:"mask",len:0,sons:null},130:{kind:1,offset:130,typ:NTI754974723,name:"metadata",len:0,sons:null},131:{kind:1,offset:131,typ:NTI754974723,name:"mpath",len:0,sons:null},132:{kind:1,offset:132,typ:NTI754974723,name:"path",len:0,sons:null},133:{kind:1,offset:133,typ:NTI754974723,name:"pattern",len:0,sons:null},134:{kind:1,offset:134,typ:NTI754974723,name:"polygon",len:0,sons:null},135:{kind:1,offset:135,typ:NTI754974723,name:"polyline",len:0,sons:null},136:{kind:1,offset:136,typ:NTI754974723,name:"radialGradient",len:0,sons:null},137:{kind:1,offset:137,typ:NTI754974723,name:"rect",len:0,sons:null},138:{kind:1,offset:138,typ:NTI754974723,name:"set",len:0,sons:null},139:{kind:1,offset:139,typ:NTI754974723,name:"stop",len:0,sons:null},140:{kind:1,offset:140,typ:NTI754974723,name:"svg",len:0,sons:null},141:{kind:1,offset:141,typ:NTI754974723,name:"switch",len:0,sons:null},142:{kind:1,offset:142,typ:NTI754974723,name:"symbol",len:0,sons:null},143:{kind:1,offset:143,typ:NTI754974723,name:"text",len:0,sons:null},144:{kind:1,offset:144,typ:NTI754974723,name:"textPath",len:0,sons:null},145:{kind:1,offset:145,typ:NTI754974723,name:"tspan",len:0,sons:null},146:{kind:1,offset:146,typ:NTI754974723,name:"unknown",len:0,sons:null},147:{kind:1,offset:147,typ:NTI754974723,name:"use",len:0,sons:null},148:{kind:1,offset:148,typ:NTI754974723,name:"view",len:0,sons:null},149:{kind:1,offset:149,typ:NTI754974723,name:"maction",len:0,sons:null},150:{kind:1,offset:150,typ:NTI754974723,name:"math",len:0,sons:null},151:{kind:1,offset:151,typ:NTI754974723,name:"menclose",len:0,sons:null},152:{kind:1,offset:152,typ:NTI754974723,name:"merror",len:0,sons:null},153:{kind:1,offset:153,typ:NTI754974723,name:"mfenced",len:0,sons:null},154:{kind:1,offset:154,typ:NTI754974723,name:"mfrac",len:0,sons:null},155:{kind:1,offset:155,typ:NTI754974723,name:"mglyph",len:0,sons:null},156:{kind:1,offset:156,typ:NTI754974723,name:"mi",len:0,sons:null},157:{kind:1,offset:157,typ:NTI754974723,name:"mlabeledtr",len:0,sons:null},158:{kind:1,offset:158,typ:NTI754974723,name:"mmultiscripts",len:0,sons:null},159:{kind:1,offset:159,typ:NTI754974723,name:"mn",len:0,sons:null},160:{kind:1,offset:160,typ:NTI754974723,name:"mo",len:0,sons:null},161:{kind:1,offset:161,typ:NTI754974723,name:"mover",len:0,sons:null},162:{kind:1,offset:162,typ:NTI754974723,name:"mpadded",len:0,sons:null},163:{kind:1,offset:163,typ:NTI754974723,name:"mphantom",len:0,sons:null},164:{kind:1,offset:164,typ:NTI754974723,name:"mroot",len:0,sons:null},165:{kind:1,offset:165,typ:NTI754974723,name:"mrow",len:0,sons:null},166:{kind:1,offset:166,typ:NTI754974723,name:"ms",len:0,sons:null},167:{kind:1,offset:167,typ:NTI754974723,name:"mspace",len:0,sons:null},168:{kind:1,offset:168,typ:NTI754974723,name:"msqrt",len:0,sons:null},169:{kind:1,offset:169,typ:NTI754974723,name:"mstyle",len:0,sons:null},170:{kind:1,offset:170,typ:NTI754974723,name:"msub",len:0,sons:null},171:{kind:1,offset:171,typ:NTI754974723,name:"msubsup",len:0,sons:null},172:{kind:1,offset:172,typ:NTI754974723,name:"msup",len:0,sons:null},173:{kind:1,offset:173,typ:NTI754974723,name:"mtable",len:0,sons:null},174:{kind:1,offset:174,typ:NTI754974723,name:"mtd",len:0,sons:null},175:{kind:1,offset:175,typ:NTI754974723,name:"mtext",len:0,sons:null},176:{kind:1,offset:176,typ:NTI754974723,name:"mtr",len:0,sons:null},177:{kind:1,offset:177,typ:NTI754974723,name:"munder",len:0,sons:null},178:{kind:1,offset:178,typ:NTI754974723,name:"munderover",len:0,sons:null},179:{kind:1,offset:179,typ:NTI754974723,name:"semantics",len:0,sons:null},180:{kind:1,offset:180,typ:NTI754974723,name:"table",len:0,sons:null},181:{kind:1,offset:181,typ:NTI754974723,name:"caption",len:0,sons:null},182:{kind:1,offset:182,typ:NTI754974723,name:"colgroup",len:0,sons:null},183:{kind:1,offset:183,typ:NTI754974723,name:"col",len:0,sons:null},184:{kind:1,offset:184,typ:NTI754974723,name:"tbody",len:0,sons:null},185:{kind:1,offset:185,typ:NTI754974723,name:"thead",len:0,sons:null},186:{kind:1,offset:186,typ:NTI754974723,name:"tfoot",len:0,sons:null},187:{kind:1,offset:187,typ:NTI754974723,name:"tr",len:0,sons:null},188:{kind:1,offset:188,typ:NTI754974723,name:"td",len:0,sons:null},189:{kind:1,offset:189,typ:NTI754974723,name:"th",len:0,sons:null},190:{kind:1,offset:190,typ:NTI754974723,name:"form",len:0,sons:null},191:{kind:1,offset:191,typ:NTI754974723,name:"fieldset",len:0,sons:null},192:{kind:1,offset:192,typ:NTI754974723,name:"legend",len:0,sons:null},193:{kind:1,offset:193,typ:NTI754974723,name:"label",len:0,sons:null},194:{kind:1,offset:194,typ:NTI754974723,name:"input",len:0,sons:null},195:{kind:1,offset:195,typ:NTI754974723,name:"button",len:0,sons:null},196:{kind:1,offset:196,typ:NTI754974723,name:"select",len:0,sons:null},197:{kind:1,offset:197,typ:NTI754974723,name:"datalist",len:0,sons:null},198:{kind:1,offset:198,typ:NTI754974723,name:"optgroup",len:0,sons:null},199:{kind:1,offset:199,typ:NTI754974723,name:"option",len:0,sons:null},200:{kind:1,offset:200,typ:NTI754974723,name:"textarea",len:0,sons:null},201:{kind:1,offset:201,typ:NTI754974723,name:"keygen",len:0,sons:null},202:{kind:1,offset:202,typ:NTI754974723,name:"output",len:0,sons:null},203:{kind:1,offset:203,typ:NTI754974723,name:"progress",len:0,sons:null},204:{kind:1,offset:204,typ:NTI754974723,name:"meter",len:0,sons:null},205:{kind:1,offset:205,typ:NTI754974723,name:"details",len:0,sons:null},206:{kind:1,offset:206,typ:NTI754974723,name:"summary",len:0,sons:null},207:{kind:1,offset:207,typ:NTI754974723,name:"command",len:0,sons:null},208:{kind:1,offset:208,typ:NTI754974723,name:"menu",len:0,sons:null},209:{kind:1,offset:209,typ:NTI754974723,name:"bdo",len:0,sons:null},210:{kind:1,offset:210,typ:NTI754974723,name:"dialog",len:0,sons:null},211:{kind:1,offset:211,typ:NTI754974723,name:"slot",len:0,sons:null},212:{kind:1,offset:212,typ:NTI754974723,name:"template",len:0,sons:null}}};NTI754974723.node=NNI754974723,NTI754974817.base=NTI754974813,NTI754974818.base=NTI33554450;var NNI754974728={kind:2,offset:0,typ:null,name:null,len:37,sons:{0:{kind:1,offset:0,typ:NTI754974728,name:"onclick",len:0,sons:null},1:{kind:1,offset:1,typ:NTI754974728,name:"oncontextmenu",len:0,sons:null},2:{kind:1,offset:2,typ:NTI754974728,name:"ondblclick",len:0,sons:null},3:{kind:1,offset:3,typ:NTI754974728,name:"onkeyup",len:0,sons:null},4:{kind:1,offset:4,typ:NTI754974728,name:"onkeydown",len:0,sons:null},5:{kind:1,offset:5,typ:NTI754974728,name:"onkeypressed",len:0,sons:null},6:{kind:1,offset:6,typ:NTI754974728,name:"onfocus",len:0,sons:null},7:{kind:1,offset:7,typ:NTI754974728,name:"onblur",len:0,sons:null},8:{kind:1,offset:8,typ:NTI754974728,name:"onchange",len:0,sons:null},9:{kind:1,offset:9,typ:NTI754974728,name:"onscroll",len:0,sons:null},10:{kind:1,offset:10,typ:NTI754974728,name:"onmousedown",len:0,sons:null},11:{kind:1,offset:11,typ:NTI754974728,name:"onmouseenter",len:0,sons:null},12:{kind:1,offset:12,typ:NTI754974728,name:"onmouseleave",len:0,sons:null},13:{kind:1,offset:13,typ:NTI754974728,name:"onmousemove",len:0,sons:null},14:{kind:1,offset:14,typ:NTI754974728,name:"onmouseout",len:0,sons:null},15:{kind:1,offset:15,typ:NTI754974728,name:"onmouseover",len:0,sons:null},16:{kind:1,offset:16,typ:NTI754974728,name:"onmouseup",len:0,sons:null},17:{kind:1,offset:17,typ:NTI754974728,name:"ondrag",len:0,sons:null},18:{kind:1,offset:18,typ:NTI754974728,name:"ondragend",len:0,sons:null},19:{kind:1,offset:19,typ:NTI754974728,name:"ondragenter",len:0,sons:null},20:{kind:1,offset:20,typ:NTI754974728,name:"ondragleave",len:0,sons:null},21:{kind:1,offset:21,typ:NTI754974728,name:"ondragover",len:0,sons:null},22:{kind:1,offset:22,typ:NTI754974728,name:"ondragstart",len:0,sons:null},23:{kind:1,offset:23,typ:NTI754974728,name:"ondrop",len:0,sons:null},24:{kind:1,offset:24,typ:NTI754974728,name:"onsubmit",len:0,sons:null},25:{kind:1,offset:25,typ:NTI754974728,name:"oninput",len:0,sons:null},26:{kind:1,offset:26,typ:NTI754974728,name:"onanimationstart",len:0,sons:null},27:{kind:1,offset:27,typ:NTI754974728,name:"onanimationend",len:0,sons:null},28:{kind:1,offset:28,typ:NTI754974728,name:"onanimationiteration",len:0,sons:null},29:{kind:1,offset:29,typ:NTI754974728,name:"onkeyupenter",len:0,sons:null},30:{kind:1,offset:30,typ:NTI754974728,name:"onkeyuplater",len:0,sons:null},31:{kind:1,offset:31,typ:NTI754974728,name:"onload",len:0,sons:null},32:{kind:1,offset:32,typ:NTI754974728,name:"ontransitioncancel",len:0,sons:null},33:{kind:1,offset:33,typ:NTI754974728,name:"ontransitionend",len:0,sons:null},34:{kind:1,offset:34,typ:NTI754974728,name:"ontransitionrun",len:0,sons:null},35:{kind:1,offset:35,typ:NTI754974728,name:"ontransitionstart",len:0,sons:null},36:{kind:1,offset:36,typ:NTI754974728,name:"onwheel",len:0,sons:null}}};NTI754974728.node=NNI754974728;var NNI754974815={kind:2,len:3,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI754974728,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI754974825,name:"Field1",sons:null},{kind:1,offset:"Field2",len:0,typ:NTI754974826,name:"Field2",sons:null}]};NTI754974815.node=NNI754974815,NTI754974811.base=NTI754974815;var NNI805306404={kind:2,len:0,offset:0,typ:null,name:null,sons:[]};NTI805306404.node=NNI805306404,NTI805306405.base=NTI805306404;var NNI754974816={kind:2,len:11,offset:0,typ:null,name:null,sons:[{kind:1,offset:"kind",len:0,typ:NTI754974723,name:"kind",sons:null},{kind:1,offset:"index",len:0,typ:NTI33554435,name:"index",sons:null},{kind:1,offset:"id",len:0,typ:NTI33554450,name:"id",sons:null},{kind:1,offset:"class",len:0,typ:NTI33554450,name:"class",sons:null},{kind:1,offset:"text",len:0,typ:NTI33554450,name:"text",sons:null},{kind:1,offset:"kids",len:0,typ:NTI754974817,name:"kids",sons:null},{kind:1,offset:"attrs",len:0,typ:NTI754974818,name:"attrs",sons:null},{kind:1,offset:"events",len:0,typ:NTI754974811,name:"events",sons:null},{kind:1,offset:"style",len:0,typ:NTI805306405,name:"style",sons:null},{kind:1,offset:"styleVersion",len:0,typ:NTI33554435,name:"styleVersion",sons:null},{kind:1,offset:"dom",len:0,typ:NTI704643088,name:"dom",sons:null}]};NTI754974816.node=NNI754974816,NTI754974816.base=NTI33555173,NTI754974813.base=NTI754974816;var NNI721420296={kind:2,len:5,offset:0,typ:null,name:null,sons:[{kind:1,offset:"k",len:0,typ:NTI721420295,name:"k",sons:null},{kind:1,offset:"parent",len:0,typ:NTI704643088,name:"parent",sons:null},{kind:1,offset:"current",len:0,typ:NTI704643088,name:"current",sons:null},{kind:1,offset:"newNode",len:0,typ:NTI754974813,name:"newNode",sons:null},{kind:1,offset:"oldNode",len:0,typ:NTI754974813,name:"oldNode",sons:null}]};NTI721420296.node=NNI721420296;var NNI721420297={kind:2,len:3,offset:0,typ:null,name:null,sons:[{kind:1,offset:"parent",len:0,typ:NTI754974813,name:"parent",sons:null},{kind:1,offset:"newChild",len:0,typ:NTI754974813,name:"newChild",sons:null},{kind:1,offset:"pos",len:0,typ:NTI33554435,name:"pos",sons:null}]};NTI721420297.node=NNI721420297,NTI754975002.base=NTI33554450;var NNI1426071205={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554466,name:"Field1",sons:null}]};NTI1426071205.node=NNI1426071205;var NNI1426071212={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554466,name:"Field1",sons:null}]};NTI1426071212.node=NNI1426071212;var NNI1426071236={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554466,name:"Field1",sons:null}]};NTI1426071236.node=NNI1426071236;var NNI1426071461={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554466,name:"Field1",sons:null}]};NTI1426071461.node=NNI1426071461;var NNI1426063485={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554449,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554447,name:"Field1",sons:null}]};NTI1426063485.node=NNI1426063485,NTI1426063484.base=NTI1426063485;var NNI1426063905={kind:2,len:2,offset:0,typ:null,name:null,sons:[{kind:1,offset:"Field0",len:0,typ:NTI33554435,name:"Field0",sons:null},{kind:1,offset:"Field1",len:0,typ:NTI33554466,name:"Field1",sons:null}]};function mnewString(n){for(var e=Array(n),t=0;t>6|192:(a<55296||a>=57344?t[l]=a>>12|224:(++_,a=65536+((1023&a)<<10|1023&n.charCodeAt(_)),t[l]=a>>18|240,t[++l]=a>>12&63|128),t[++l]=a>>6&63|128),t[++l]=63&a|128),++l}return t}var ConstSet11=setConstr(46,44);function nimCharToStr(n){var e=[];return(e=nimCopy(null,mnewString(1),NTI33554449))[0]=n,e}var ConstSet12=setConstr([65,90]),ConstSet13=setConstr([97,122]);function addChar(n,e){n.push(e)}var unitWeights_1459617942=new BigInt64Array([1n,1000n,1000000n,1000000000n,60000000000n,3600000000000n,86400000000000n,604800000000000n]);function divInt64(n,e){return 0n==e&&raiseDivByZero(),e==-1n&&0x7fffffffffffffffn==n&&raiseOverflow(),n/e}function modInt(n,e){return 0==e&&raiseDivByZero(),-1==e&&2147483647==n&&raiseOverflow(),Math.trunc(n%e)}function modInt64(n,e){return 0n==e&&raiseDivByZero(),e==-1n&&0x7fffffffffffffffn==n&&raiseOverflow(),n%e}function addInt64(n,e){var t=n+e;return checkOverflowInt64(t),t}function subInt64(n,e){var t=n-e;return checkOverflowInt64(t),t}function isObj(n,e){var t=!1;BeforeRet:{var l=n;if(l==e){t=!0;break BeforeRet}Label1:Label2:for(;;){if(!(l!=e))break Label2;if(null==l){t=!1;break BeforeRet}l=l.base}t=!0;break BeforeRet}return t}function rawEcho(){for(var n="",e=0;e0&&n.at(-1)!==this;)n.pop();return n.includes(t)?"[Circular]":(n.push(t),t)}}function drawArrow(n,e,t,l,_,a,r){var o=Math.atan2(_-t,l-e);n.strokeStyle=r,n.fillStyle=r,n.beginPath(),n.moveTo(e,t),n.lineTo(l,_),n.lineWidth=a,n.stroke(),n.beginPath(),n.moveTo(l,_),n.lineTo(l-10*Math.cos(o-Math.PI/7),_-10*Math.sin(o-Math.PI/7)),n.lineTo(l-10*Math.cos(o+Math.PI/7),_-10*Math.sin(o+Math.PI/7)),n.lineTo(l,_),n.lineTo(l-10*Math.cos(o-Math.PI/7),_-10*Math.sin(o-Math.PI/7)),n.stroke()}function add_33556373(n,e,t){null===n[e]&&(n[e]=[]);var l=n[e].length;n[e].length+=t.length;for(var _=0;_2147483647||n<-2147483648)&&raiseOverflow()}function raiseRangeError(){raiseException({message:[118,97,108,117,101,32,111,117,116,32,111,102,32,114,97,110,103,101],parent:null,m_type:NTI134217751,name:null,trace:[],up:null},"RangeDefect")}function addChars_301990090(n,e,t,l,_){var a,r=n[e].length;if(n[e].length<(a=chckRange(addInt(r,_),0,2147483647)))for(var o=n[e].length;o>1,0,2147483647)))break Label1;HEX2AHEX3D_872417553(l,0,l[0])}}return t[0]}function calcTotalTime_1426063464(n){var e=0;return(n.vel.Field1+Math.sqrt(HEX5E_1677721994(n.vel.Field1,2)+2*n.gravity.Field1*n.height))/n.gravity.Field1}function HEX5BHEX5D_1694499019(n,e){var t=[],l=e.a,_=addInt(subInt(subInt(n.length,e.b),l),1);t=Array(chckRange(_,0,2147483647));for(var a=0;aabs_905969874(n)){e=1;break BeforeRet}e=0;break BeforeRet}return e}function HEX24_33557559(n){var e=[[]];return addFloat_33557563(e,0,n),e[0]}function parseSaturatedNatural_889192854(n,e,t){var l,_,a=0,r=0;if(r>>5==6){if(n[chckIndx(t,0,n.length-1)]<194){e=t;break BeforeRet}if(addInt(t,1)>>6==2)t=addInt(t,2);else{e=t;break BeforeRet}}else if(n[chckIndx(t,0,n.length-1)]>>>4==14){if(addInt(t,2)>>6==2&&n[chckIndx(addInt(t,2),0,n.length-1)]>>>6==2)t=addInt(t,3);else{e=t;break BeforeRet}}else if(n[chckIndx(t,0,n.length-1)]>>>3==30){if(addInt(t,3)>>6==2&&n[chckIndx(addInt(t,2),0,n.length-1)]>>>6==2&&n[chckIndx(addInt(t,3),0,n.length-1)]>>>6==2)t=addInt(t,4);else{e=t;break BeforeRet}}else{e=t;break BeforeRet}}e=-1;break BeforeRet}return e}function validateUtf8_1140858049(n){var e=0;return validateUtf8_1140851024(n.slice(0,n.length-1+1))}function nucruneLen(n){var e=0;e=0;var t=0;Label1:Label2:for(;;){if(!(t>>5==6?addInt(t,2):n[chckIndx(t,0,n.length-1)]>>>4==14?addInt(t,3):n[chckIndx(t,0,n.length-1)]>>>3==30?addInt(t,4):n[chckIndx(t,0,n.length-1)]>>>2==62?addInt(t,5):n[chckIndx(t,0,n.length-1)]>>>1==126?addInt(t,6):addInt(t,1),e=addInt(e,1)}return e}function runeLen_1140857877(n){var e=0;return nucruneLen(n.slice(0,n.length-1+1))}function alignString_1577058324(n,e,t,l){var _,a=[];if(0==e)a=nimCopy(null,n,NTI33554449);else{var r=_=-1==validateUtf8_1140858049(n)?runeLen_1140857877(n):n.length,o=subInt(e,r);if(o<=0)a=nimCopy(null,n,NTI33554449);else if(60==t||0==t)a=nimCopy(null,(n||[]).concat(nsuRepeatChar(l,chckRange(o,0,2147483647))||[]),NTI33554449);else if(94==t){var s=divInt(o,2);a=nimCopy(null,(nsuRepeatChar(l,chckRange(s,0,2147483647))||[]).concat(n||[],nsuRepeatChar(l,chckRange(subInt(o,s),0,2147483647))||[]),NTI33554449)}else a=nimCopy(null,(nsuRepeatChar(l,chckRange(o,0,2147483647))||[]).concat(n||[]),NTI33554449)}return a}function nsuToUpperAsciiChar(n){var e=0;return void 0!=ConstSet13[n]?32^n:n}function nsuToUpperAsciiStr(n){var e=[];e=nimCopy(null,mnewString(chckRange(n.length,0,2147483647)),NTI33554449);Label1:{var t=0,l=0;l=subInt(n.length,1);var _=0;Label2:Label3:for(;;){if(!(_<=l))break Label3;e[chckIndx(t=_,0,e.length-1)]=nsuToUpperAsciiChar(n[chckIndx(t,0,n.length-1)]),_=addInt(_,1)}}return e}function formatValue_1426064018(n,e,t,l){var _;BeforeRet:{if(0==l.length){n[e].push.apply(n[e],HEX24_33557559(t));break BeforeRet}var a=parseStandardFormatSpecifier_1577058362(l,0,!1),r=0;switch(a.typ){case 101:case 69:r=2;break;case 102:case 70:r=1;break;case 103:case 71:r=0;break;case 0:break;default:raiseException({message:(makeNimstrLit("invalid type in format string for number, expected one of 'e', 'E', 'f', 'F', 'g', 'G' but got: ")||[]).concat([a.typ]),parent:null,m_type:NTI134217746,name:null,trace:[],up:null},"ValueError")}var o=[nsuformatBiggestFloat(t,r,chckRange(a.precision,-1,32),46)],s=!1;if(0<=t?45!=a.sign&&(s=!0,0==t?1/t==1/0&&insert_33558003(o,0,nimCharToStr(a.sign),0):insert_33558003(o,0,nimCharToStr(a.sign),0)):s=!0,a.padWithZero){var i=[];s&&(i=nimCopy(null,nimCharToStr(o[0][chckIndx(0,0,o[0].length-1)]),NTI33554449),o[0]=nimCopy(null,HEX5BHEX5D_872416539(o[0],HEX2EHEX2E_1073741928(1,1)),NTI33554449));var $=subInt(subInt(a.minimumWidth,o[0].length),s?1:0);0<$&&(o[0]=nimCopy(null,(nsuRepeatChar(48,chckRange($,0,2147483647))||[]).concat(o[0]||[]),NTI33554449)),s&&(o[0]=nimCopy(null,(i||[]).concat(o[0]||[]),NTI33554449))}var d=_=0==a.align?62:a.align,c=alignString_1577058324(o[0],a.minimumWidth,d,a.fill);void 0!=ConstSet12[a.typ]?n[e].push.apply(n[e],nsuToUpperAsciiStr(c)):n[e].push.apply(n[e],c)}}function mkDigit_1577058309(n,e){var t,l=[];return n<26||failedAssertImpl_268435541([115,116,114,102,111,114,109,97,116,46,110,105,109,40,51,50,52,44,32,57,41,32,96,118,32,60,32,50,54,96,32]),l=n<10?nimCopy(null,nimCharToStr(chckRange(addInt(48,n),0,255)),NTI33554449):nimCopy(null,nimCharToStr(chckRange(subInt(addInt(t=120==e?97:65,n),10),0,255)),NTI33554449)}function formatInt_2214592759(n,e,t){var l,_=[],a=BigInt(n),r=a<0n,o=l=r?BigInt.asUintN(64,BigInt.asUintN(64,~a)+1n):BigInt.asUintN(64,a),s=[];if(t.alternateForm)switch(t.typ){case 88:case 120:s=nimCopy(null,[48,120],NTI33554449);break;case 98:s=nimCopy(null,[48,98],NTI33554449);break;case 111:s=nimCopy(null,[48,111],NTI33554449)}if(0n==o)_=nimCopy(null,[48],NTI33554449);else{_=nimCopy(null,[],NTI33554449);Label2:Label3:for(;;){if(!(0n>>5==6?2:n[chckIndx(e,0,n.length-1)]>>>4==14?3:n[chckIndx(e,0,n.length-1)]>>>3==30?4:n[chckIndx(e,0,n.length-1)]>>>2==62?5:n[chckIndx(e,0,n.length-1)]>>>1==126?6:1}function runeOffset_1140851406(n,e,t){var l=0;BeforeRet:{var _=0,a=t;Label1:Label2:for(;;){if(!(_ label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,e,NTI33554449)},NTI1426064493),nimCopy(null,{Field0:makeNimstrLit("#vix > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,r[0],NTI33554449)},NTI1426064493),nimCopy(null,{Field0:makeNimstrLit("#vix > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(4) > span:nth-child(1)"),Field1:nimCopy(null,o[0],NTI33554449)},NTI1426064493),nimCopy(null,{Field0:makeNimstrLit("#vix > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,s[0],NTI33554449)},NTI1426064493),nimCopy(null,{Field0:makeNimstrLit("#viy > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,t,NTI33554449)},NTI1426064493),nimCopy(null,{Field0:makeNimstrLit("#viy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,$[0],NTI33554449)},NTI1426064493),nimCopy(null,{Field0:makeNimstrLit("#viy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(4) > span:nth-child(1)"),Field1:nimCopy(null,d[0],NTI33554449)},NTI1426064493),nimCopy(null,{Field0:makeNimstrLit("#viy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,c[0],NTI33554449)},NTI1426064493)];Label14:{var h=[],p=[],f=0;Label15:Label16:for(;;){var m=nimCopy(null,u[chckIndx(f,0,u.length-1)],NTI1426064493);if(h=m.Field0,p=m.Field1,document.querySelector(toJSStr(h)).innerText=toJSStr(p),7<=f)break Label15;f=addInt(f,1)}}n.frozen&&unfreeze_1426064133(n)}function toMu_1426063865(n){var e={pos:{Field0:0,Field1:0},vel:{Field0:0,Field1:0},time:0,speed:0};return(e=nimCopy(e,n,NTI1426063365)).pos=nimCopy(e.pos,both_1677722062(e.pos,function n(e){var t=0;return toMuDistance_1694499108(e)}),NTI1677721603),e.vel=nimCopy(e.vel,both_1677722062(e.vel,function n(e){var t=0;return toMuSpeed_1694499111(e)}),NTI1677721603),e.speed=toMuSpeed_1694499111(e.speed),e}function currentPoint_1426064858(n){var e={Field0:!1,Field1:{pos:{Field0:0,Field1:0},vel:{Field0:0,Field1:0},time:0,speed:0}};if(contains_1426064861(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].closestPoint)&&(n.followBullet&&0 label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,e,NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#x > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,f[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#x > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,m[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#x > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,I[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:[115,112,97,110,46,98,97,115,101,58,110,116,104,45,99,104,105,108,100,40,54,41,32,62,32,115,112,97,110,58,110,116,104,45,99,104,105,108,100,40,50,41],Field1:nimCopy(null,l,NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,k[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,y[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,T[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(5) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,v[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(5) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1)"),Field1:nimCopy(null,N[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,b[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,x[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,S[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7)"),Field1:nimCopy(null,C[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(3) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,F[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(3) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,E[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(4) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,j[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(4) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,w[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#y > div:nth-child(3) > ul:nth-child(1) > li:nth-child(4) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,B[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vx > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,a,NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vy > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(5) > span:nth-child(2)"),Field1:nimCopy(null,r,NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,H[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,P[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,V[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,R[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,X[0],NTI33554449)},NTI1426064688),nimCopy(null,{Field0:makeNimstrLit("#vy > div:nth-child(3) > ul:nth-child(1) > li:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,L[0],NTI33554449)},NTI1426064688)];Label35:{var M=[],J=[],O=0;Label36:Label37:for(;;){var W=nimCopy(null,D[chckIndx(O,0,D.length-1)],NTI1426064688);if(M=W.Field0,J=W.Field1,document.querySelector(toJSStr(M)).innerText=toJSStr(J),26<=O)break Label36;O=addInt(O,1)}}n.frozen&&unfreeze_1426064133(n)}function updateFormulaAccordion_1426064398(n){var e,t,l,_,a=toMu_1426063809(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].state);a.gravity=nimCopy(a.gravity,HEX2A_1677721966(a.gravity,279),NTI1677721603);var r=HEX5E_1677721994(a.vel.Field1,2),o=2*a.gravity.Field1,s=a.gravity.Field1*a.height,i=2*s,$=document.getElementById("maxheight");if(0==n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].highestPoint)toggleFormulaProc_1426064410($,!1,!0),e=[95,95];else{if(toggleFormulaProc_1426064410($,n.showFormulaProc,!1),n.showFormulaResults){Label3:{var d=[mnewString(0)];formatValue_1577058475(d,0,strfloat_1426063991(n,toMuDistance_1694499108(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].highestPoint,0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)].pos.Field1)),[]),d[0].push.apply(d[0],[109])}t=d[0]}else t=[95,95];e=t}Label4:{var c=[mnewString(0)];formatValue_1577058475(c,0,strfloat_1426063991(n,a.height),[]),c[0].push.apply(c[0],[109])}Label5:{var u=[mnewString(0)];formatValue_1577058475(u,0,strfloat_1426063991(n,a.gravity.Field1),[]),u[0].push.apply(u[0],[109,47,115,194,178])}Label6:{var h=[mnewString(0)];formatValue_1577058475(h,0,strfloat_1426063991(n,a.vel.Field1),[]),h[0].push.apply(h[0],[109,47,115])}Label7:{var p=[mnewString(0)];formatValue_1577058475(p,0,strfloat_1426063991(n,r),[]),p[0].push.apply(p[0],[109,194,178,47,115,194,178])}Label8:{var f=[mnewString(0)];formatValue_1577058475(f,0,strfloat_1426063991(n,o),[]),f[0].push.apply(f[0],[109,47,115,194,178])}Label9:{var m=[mnewString(0)];formatValue_1577058475(m,0,strfloat_1426063991(n,a.height),[]),m[0].push.apply(m[0],[109])}Label10:{var I=[mnewString(0)];formatValue_1577058475(I,0,strfloat_1426063991(n,a.height),[]),I[0].push.apply(I[0],[109])}Label11:{var g=[mnewString(0)];formatValue_1577058475(g,0,strfloat_1426063991(n,r/o),[]),g[0].push.apply(g[0],[109])}Label12:{var k=[mnewString(0)];formatValue_1577058475(k,0,strfloat_1426063991(n,a.height+r/o),[]),k[0].push.apply(k[0],[109])}Label13:if(toggleFormulaProc_1426064475([116,105,109,101,102,108,105,103,104,116],n.showFormulaProc,!1),n.showFormulaResults){Label15:{var y=[mnewString(0)];formatValue_1577058475(y,0,strfloat_1426063991(n,HEX5BHEX5D_1426064495(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points,1).time),[]),y[0].push.apply(y[0],[115])}l=y[0]}else l=[95,95];Label16:{var T=[mnewString(0)];formatValue_1577058475(T,0,strfloat_1426063991(n,a.vel.Field1),[]),T[0].push.apply(T[0],[109,47,115])}Label17:{var v=[mnewString(0)];v[0].push.apply(v[0],[40]),formatValue_1577058475(v,0,strfloat_1426063991(n,a.vel.Field1),[]),v[0].push.apply(v[0],[109,47,115,41])}Label18:{var N=[mnewString(0)];formatValue_1577058475(N,0,strfloat_1426063991(n,a.gravity.Field1),[]),N[0].push.apply(N[0],[109,47,115,194,178])}Label19:{var b=[mnewString(0)];formatValue_1577058475(b,0,strfloat_1426063991(n,a.height),[]),b[0].push.apply(b[0],[109])}Label20:{var x=[mnewString(0)];formatValue_1577058475(x,0,strfloat_1426063991(n,a.gravity.Field1),[]),x[0].push.apply(x[0],[109,47,115,194,178])}Label21:{var S=[mnewString(0)];formatValue_1577058475(S,0,strfloat_1426063991(n,a.vel.Field1),[]),S[0].push.apply(S[0],[109,47,115])}Label22:{var C=[mnewString(0)];formatValue_1577058475(C,0,strfloat_1426063991(n,r),[]),C[0].push.apply(C[0],[109,194,178,47,115,194,178])}Label23:{var F=[mnewString(0)];formatValue_1577058475(F,0,strfloat_1426063991(n,s),[]),F[0].push.apply(F[0],[109,194,178,47,115,194,178])}Label24:{var E=[mnewString(0)];formatValue_1577058475(E,0,strfloat_1426063991(n,a.gravity.Field1),[]),E[0].push.apply(E[0],[109,47,115,194,178])}Label25:{var j=[mnewString(0)];formatValue_1577058475(j,0,strfloat_1426063991(n,a.vel.Field1),[]),j[0].push.apply(j[0],[109,47,115])}Label26:{var w=[mnewString(0)];formatValue_1577058475(w,0,strfloat_1426063991(n,r),[]),w[0].push.apply(w[0],[109,194,178,47,115,194,178])}Label27:{var B=[mnewString(0)];formatValue_1577058475(B,0,strfloat_1426063991(n,i),[]),B[0].push.apply(B[0],[109,194,178,47,115,194,178])}Label28:{var A=[mnewString(0)];formatValue_1577058475(A,0,strfloat_1426063991(n,a.gravity.Field1),[]),A[0].push.apply(A[0],[109,47,115,194,178])}Label29:{var z=[mnewString(0)];formatValue_1577058475(z,0,strfloat_1426063991(n,a.vel.Field1),[]),z[0].push.apply(z[0],[109,47,115])}Label30:{var H=[mnewString(0)];formatValue_1577058475(H,0,strfloat_1426063991(n,r+i),[])}Label31:{var P=[mnewString(0)];formatValue_1577058475(P,0,strfloat_1426063991(n,a.gravity.Field1),[]),P[0].push.apply(P[0],[109,47,115,194,178])}Label32:{var V=[mnewString(0)];formatValue_1577058475(V,0,strfloat_1426063991(n,a.vel.Field1),[]),V[0].push.apply(V[0],[109,47,115])}Label33:{var R=[mnewString(0)];formatValue_1577058475(R,0,strfloat_1426063991(n,Math.sqrt(r+i)),[]),R[0].push.apply(R[0],[109,47,115])}Label34:{var X=[mnewString(0)];formatValue_1577058475(X,0,strfloat_1426063991(n,a.gravity.Field1),[]),X[0].push.apply(X[0],[109,47,115,194,178])}Label35:{var L=[mnewString(0)];formatValue_1577058475(L,0,strfloat_1426063991(n,a.vel.Field1+Math.sqrt(r+i)),[]),L[0].push.apply(L[0],[109,47,115])}Label36:{var D=[mnewString(0)];formatValue_1577058475(D,0,strfloat_1426063991(n,a.gravity.Field1),[]),D[0].push.apply(D[0],[109,47,115,194,178])}Label37:{var M=[mnewString(0)];formatValue_1577058475(M,0,strfloat_1426063991(n,(a.vel.Field1+Math.sqrt(r+i))/a.gravity.Field1),[]),M[0].push.apply(M[0],[115])}Label38:if(toggleFormulaProc_1426064475([109,97,120,114,97,110,103,101,100,105,118],n.showFormulaProc,!1),n.showFormulaResults){Label40:{var J=[mnewString(0)];formatValue_1577058475(J,0,strfloat_1426063991(n,toMuDistance_1694499108(HEX5BHEX5D_1426064495(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points,1).pos.Field0)),[]),J[0].push.apply(J[0],[109])}_=J[0]}else _=[95,95];Label41:{var O=[mnewString(0)];formatValue_1577058475(O,0,strfloat_1426063991(n,a.vel.Field0),[]),O[0].push.apply(O[0],[109,47,115])}Label42:{var W=[mnewString(0)];formatValue_1577058475(W,0,strfloat_1426063991(n,HEX5BHEX5D_1426064495(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points,1).time),[]),W[0].push.apply(W[0],[115])}Label43:{var q=[mnewString(0)];formatValue_1577058475(q,0,strfloat_1426063991(n,toMuDistance_1694499108(HEX5BHEX5D_1426064495(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points,1).pos.Field0)),[]),q[0].push.apply(q[0],[109])}var U=[nimCopy(null,{Field0:makeNimstrLit("#maxheight > label:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,e,NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,c[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(7)"),Field1:nimCopy(null,u[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,h[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,p[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,f[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,m[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,I[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,g[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#mh4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,k[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#l_f-2 > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,l,NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,T[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1)"),Field1:nimCopy(null,v[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(13)"),Field1:nimCopy(null,N[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:[115,112,97,110,46,109,111,114,100,58,110,116,104,45,99,104,105,108,100,40,49,57,41],Field1:nimCopy(null,b[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf1 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,x[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,S[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,C[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(13)"),Field1:nimCopy(null,F[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf2 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,E[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,j[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,w[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(7)"),Field1:nimCopy(null,B[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf3 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,A[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,z[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,H[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf4 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,P[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf5 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,V[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf5 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(7)"),Field1:nimCopy(null,R[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf5 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,X[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf6 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(3) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,L[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf6 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(1)"),Field1:nimCopy(null,D[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#tf6 > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,M[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#l_f-3 > span:nth-child(2) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,_,NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#maxRange > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(2) > span:nth-child(2)"),Field1:nimCopy(null,O[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#maxRange > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(3) > span:nth-child(2)"),Field1:nimCopy(null,W[0],NTI33554449)},NTI1426063959),nimCopy(null,{Field0:makeNimstrLit("#maxRange > li:nth-child(1) > span:nth-child(1) > span:nth-child(1) > span:nth-child(2) > span:nth-child(4) > span:nth-child(2)"),Field1:nimCopy(null,q[0],NTI33554449)},NTI1426063959)];Label44:{var Y=[],G=[],Q=0;Label45:Label46:for(;;){var Z=nimCopy(null,U[chckIndx(Q,0,U.length-1)],NTI1426063959);if(Y=Z.Field0,G=Z.Field1,document.querySelector(toJSStr(Y)).innerText=toJSStr(G),36<=Q)break Label45;Q=addInt(Q,1)}}n.frozen&&unfreeze_1426064133(n)}function calcTrajectory_1426065138(n){n.followBullet&&00x7fffffffffffffffn||n<-0x8000000000000000n)&&raiseOverflow()}function normalize_1459618351(n,e){var t={seconds:0n,nanosecond:0};t.seconds=HEX2B_1459617810(n,convert_1459618294(0,3,e));var l=modInt64(e,BigInt(convert_1459618361(3,0,1)));return l<0n&&(l=addInt64(l,BigInt(BigInt(convert_1459618361(3,0,1)))),t.seconds=subInt64(t.seconds,BigInt(1))),t.nanosecond=chckRange(chckRange(Number(l),-2147483648,2147483647),0,999999999),t}function HEX2D_1459617818(n,e){var t=0n;return n-e}function HEX2D_1459617822(n,e){var t=0;return n-e}function ntDiffTime(n,e){var t={seconds:0n,nanosecond:0};return nimCopy(t,normalize_1459618351(HEX2D_1459617818(n.seconds,e.seconds),BigInt(HEX2D_1459617822(n.nanosecond,e.nanosecond))),NTI1459617826)}function initDuration_1459618284(n,e,t,l,_,a,r,o){var s={seconds:0n,nanosecond:0},i=HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(HEX2B_1459617810(convert_1459618294(7,3,o),convert_1459618294(6,3,r)),convert_1459618294(4,3,_)),convert_1459618294(5,3,a)),convert_1459618294(3,3,l)),convert_1459618294(2,3,t)),convert_1459618294(1,3,e)),convert_1459618294(0,3,n)),$=chckRange(Number(HEX2B_1459617810(HEX2B_1459617810(convert_1459618294(2,0,modInt64(t,1000n)),convert_1459618294(1,0,modInt64(e,1000000n))),modInt64(n,1000000000n))),-2147483648,2147483647);return nimCopy(s,normalize_1459618351(i,BigInt($)),NTI1459617826)}function distance_1677721990(n,e){var t=0;return Math.sqrt(abs_905969874(HEX5E_1677721994(e.Field0-n.Field0,2)+HEX5E_1677721994(e.Field1-n.Field1,2)))}function getPos_1426063805(n,e){var t={Field0:0,Field1:0};return t.Field0=n.canon.pivot.Field0+e.pos.Field0,t.Field1=n.canvasSize.Field1-80-e.pos.Field1,t}function calcClosestTrajectoryPoint_1426066109(n,e,t){var l,_,a=-1,r=0,o=[],s=[],i=n.paused&&0distance_1677721990(getPos_1426063805(n,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(a,0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)]),getPos_1426063805(n,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].highestPoint,0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)])))l=n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].highestPoint;else if(a!=n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1&&10>distance_1677721990(getPos_1426063805(n,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(a,0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)]),getPos_1426063805(n,HEX5BHEX5D_1426064495(n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points,1))))l=n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1;else if(0!=a&&10>distance_1677721990(getPos_1426063805(n,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(a,0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)]),getPos_1426063805(n,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(0,0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)])))l=0;else if(i){var I=-1,g=0;Label8:{var k=0,y=0;y=n.canon.flyingBullets.length-1;var T=0;Label9:Label10:for(;;){if(!(T<=y))break Label10;k=T;var v=distance_1677721990(getPos_1426063805(n,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(a,0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)]),getPos_1426063805(n,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points[chckIndx(o[chckIndx(k,0,o.length-1)],0,n.trajectories[chckIndx(n.currentTrajectory,0,n.trajectories.length-1)].points.length-1)]));(0<=o[chckIndx(k,0,o.length-1)]||v<8)&&(I<0||v=HEX2A_1056964616(a(n[chckIndx(l,0,n.length-1)],n[chckIndx(addInt(l,1),0,n.length-1)]),r))){var o=t;o<=l||failedAssertImpl_268435541([97,108,103,111,114,105,116,104,109,46,110,105,109,40,51,51,56,44,32,51,41,32,96,106,32,60,61,32,109,96,32]);var s=0;Label1:Label2:for(;;){if(!(o<=l))break Label2;e[chckIndx(s,0,e.length-1)]=n[chckIndx(o,0,n.length-1)],s=addInt(s,1),o=addInt(o,1)}var i=0,$=t;Label3:Label4:for(;;){if(!($=HEX2A_1056964616(a(e[chckIndx(i,0,e.length-1)],n[chckIndx(o,0,n.length-1)]),r)?(n[chckIndx($,0,n.length-1)]=e[chckIndx(i,0,e.length-1)],i=addInt(i,1)):(n[chckIndx($,0,n.length-1)]=n[chckIndx(o,0,n.length-1)],o=addInt(o,1)),$=addInt($,1)}Label5:Label6:for(;;){if(!($=0){var t=window.location.hash.split("?");e.hashPart=t[chckIndx(0,0,t.length-1)],e.queryString=HEX5BHEX5D_721421729(t,HEX2EHEX2E_1073741928(1,1)).join("?")}else e.hashPart=window.location.hash,e.queryString=window.location.search;var l=n.renderer(e);if(n.runCount=addInt(n.runCount,1),l.id=n.rootId,n.toFocus=null,null==n.currentTree){var _=toDom_721420610(l,!0,n);replaceById_721420830(n.rootId,_)}else{var a=document.getElementById(n.rootId);diff_721421509(l,n.currentTree,null,a,n)}applyComponents_721421623(n),applyPatch_721421458(n),n.currentTree=l,null!=n.postRenderCallback&&n.postRenderCallback(e),null!=n.toFocus&&n.toFocus.focus(),n.rendering=!1}}function redraw_721421809(n){0==n.renderId&&(n.renderId=window.requestAnimationFrame(function e(){dodraw_721421712(n)}))}function loadSettings_1426069632(n){var e=window.localStorage.getItem("lastUsed");if(null!=e&&0<(null==e?0:e.length)){if(n.lastUsed.length<0)for(var t=n.lastUsed.length;t<0;++t)n.lastUsed.push(0);else n.lastUsed.length=0;var l=!1;Label1:{var _=[],a=[];a=cstrToNimstr(e);var r=0,o=-1;Label2:Label3:for(;;){if(!(r<=a.length))break Label3;var s=r;Label4:Label5:for(;;){if(!(r with id="+e+". Karax needs it as its rendering target."),parent:null,m_type:NTI33555177,name:null,trace:[],up:null},"Exception"),kxi__=l={rootId:e,renderer:n,postRenderCallback:t,patches:newSeq_721421866(60),patchesV:newSeq_721421894(30),components:[],surpressRedraws:!1,byId:{},orphans:{},currentTree:null,toFocus:null,toFocusV:null,renderId:0,rendering:!1,patchLen:0,patchLenV:0,runCount:0},window.addEventListener("load",init_721421814,!1),window.onhashchange=function n(){redraw_721421809(kxi__)},l}function setRenderer_721422053(n,e,t){var l=null;return setRenderer_721421848(function e(t){var l=null;return n()},e,function n(e){null!=t&&t()})}function newVNode_754975613(n){var e=null;return{kind:n,index:-1,m_type:NTI754974816,id:null,class:null,text:null,kids:[],attrs:[],events:[],style:null,styleVersion:0,dom:null}}function add_754975552(n,e){n.kids.push(e)}function tree_754975616(n,e){var t=null;t=newVNode_754975613(n);Label1:{var l=null,_=0;Label2:Label3:for(;;){if(!(_>>0,s=addInt(s,1),d=n[chckIndx(s,0,n.length-1)],$=($|d<<8>>>0)>>>0,s=addInt(s,1),d=n[chckIndx(s,0,n.length-1)],$=($|d<<0>>>0)>>>0,s=addInt(s,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>18&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>12&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>6&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>0&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1)}if(1==r?($=(d=n[chckIndx(s,0,n.length-1)])<<16>>>0,s=addInt(s,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>18&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>12&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=61,i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=61,i=addInt(i,1)):2==r&&($=(d=n[chckIndx(s,0,n.length-1)])<<16>>>0,s=addInt(s,1),d=n[chckIndx(s,0,n.length-1)],$=($|d<<8>>>0)>>>0,s=addInt(s,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>18&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>12&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=cb64safe_1627389957[chckIndx(($>>>6&63)>>>0,0,cb64safe_1627389957.length-1)],i=addInt(i,1),_[chckIndx(i,0,_.length-1)]=61,i=addInt(i,1)),_.length>>0,h=addInt(h,1),m=n[chckIndx(h,0,n.length-1)],f=(f|m<<8>>>0)>>>0,h=addInt(h,1),m=n[chckIndx(h,0,n.length-1)],f=(f|m<<0>>>0)>>>0,h=addInt(h,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>18&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>12&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>6&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>0&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1)}if(1==c?(f=(m=n[chckIndx(h,0,n.length-1)])<<16>>>0,h=addInt(h,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>18&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>12&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=61,p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=61,p=addInt(p,1)):2==c&&(f=(m=n[chckIndx(h,0,n.length-1)])<<16>>>0,h=addInt(h,1),m=n[chckIndx(h,0,n.length-1)],f=(f|m<<8>>>0)>>>0,h=addInt(h,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>18&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>12&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=cb64_1627389956[chckIndx((f>>>6&63)>>>0,0,cb64_1627389956.length-1)],p=addInt(p,1),_[chckIndx(p,0,_.length-1)]=61,p=addInt(p,1)),_.length - - - - - - - - Parabola - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - +Parabola
\ No newline at end of file