pxt-common-packages 13.2.7 → 13.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // total=1699829 new=70.99% cached=0.00% other=29.01%
1
+ // total=1699832 new=70.99% cached=0.00% other=29.01%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -1912,7 +1912,7 @@ switch (step) {
1912
1912
  return leave(s, r0)
1913
1913
  default: oops()
1914
1914
  } } }
1915
- control_EventContext_registerFrameHandler__P82619.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]}
1915
+ control_EventContext_registerFrameHandler__P82619.info = {"start":4909,"length":643,"line":148,"column":8,"endLine":165,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]}
1916
1916
 
1917
1917
  function control_EventContext_registerFrameHandler__P82619_mk(s) {
1918
1918
  checkStack(s.depth);
@@ -1977,7 +1977,7 @@ switch (step) {
1977
1977
  return leave(s, r0)
1978
1978
  default: oops()
1979
1979
  } } }
1980
- control_EventContext_registerFrameCallbacks__P82616.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]}
1980
+ control_EventContext_registerFrameCallbacks__P82616.info = {"start":3715,"length":895,"line":110,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]}
1981
1981
 
1982
1982
  function control_EventContext_registerFrameCallbacks__P82616_mk(s) {
1983
1983
  checkStack(s.depth);
@@ -2053,7 +2053,7 @@ switch (step) {
2053
2053
  return leave(s, r0)
2054
2054
  default: oops()
2055
2055
  } } }
2056
- control_EventContext_registerFrameCallbacks_inline__P84973.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
2056
+ control_EventContext_registerFrameCallbacks_inline__P84973.info = {"start":3876,"length":723,"line":114,"column":34,"endLine":133,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
2057
2057
 
2058
2058
  function control_EventContext_registerFrameCallbacks_inline__P84973_mk(s) {
2059
2059
  checkStack(s.depth);
@@ -2087,7 +2087,7 @@ switch (step) {
2087
2087
  return leave(s, r0)
2088
2088
  default: oops()
2089
2089
  } } }
2090
- control_EventContext_registerFrameCallbacks_inline__P84979.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
2090
+ control_EventContext_registerFrameCallbacks_inline__P84979.info = {"start":4107,"length":28,"line":118,"column":31,"endLine":118,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
2091
2091
 
2092
2092
  function control_EventContext_registerFrameCallbacks_inline__P84979_mk(s) {
2093
2093
  checkStack(s.depth);
@@ -2354,7 +2354,7 @@ switch (step) {
2354
2354
  return leave(s, r0)
2355
2355
  default: oops()
2356
2356
  } } }
2357
- control_EventContext_runCallbacks__P82615.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]}
2357
+ control_EventContext_runCallbacks__P82615.info = {"start":2267,"length":1395,"line":76,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]}
2358
2358
 
2359
2359
  function control_EventContext_runCallbacks__P82615_mk(s) {
2360
2360
  checkStack(s.depth);
@@ -2661,7 +2661,7 @@ switch (step) {
2661
2661
  return leave(s, r0)
2662
2662
  default: oops()
2663
2663
  } } }
2664
- control_onEvent__P82606.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]}
2664
+ control_onEvent__P82606.info = {"start":383,"length":325,"line":10,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]}
2665
2665
 
2666
2666
  function control_onEvent__P82606_mk(s) {
2667
2667
  checkStack(s.depth);
@@ -2768,7 +2768,7 @@ switch (step) {
2768
2768
  return leave(s, r0)
2769
2769
  default: oops()
2770
2770
  } } }
2771
- control_EventContext_registerHandler__P82621.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]}
2771
+ control_EventContext_registerHandler__P82621.info = {"start":5807,"length":525,"line":174,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]}
2772
2772
 
2773
2773
  function control_EventContext_registerHandler__P82621_mk(s) {
2774
2774
  checkStack(s.depth);
@@ -2825,7 +2825,7 @@ switch (step) {
2825
2825
  return leave(s, r0)
2826
2826
  default: oops()
2827
2827
  } } }
2828
- control_EventHandler_register__P82609.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
2828
+ control_EventHandler_register__P82609.info = {"start":1008,"length":165,"line":31,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
2829
2829
 
2830
2830
  function control_EventHandler_register__P82609_mk(s) {
2831
2831
  checkStack(s.depth);
@@ -2875,7 +2875,7 @@ switch (step) {
2875
2875
  return leave(s, r0)
2876
2876
  default: oops()
2877
2877
  } } }
2878
- control_EventHandler_register_inline__P85271.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
2878
+ control_EventHandler_register_inline__P85271.info = {"start":1079,"length":71,"line":32,"column":58,"endLine":34,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
2879
2879
 
2880
2880
  function control_EventHandler_register_inline__P85271_mk(s) {
2881
2881
  checkStack(s.depth);
@@ -2917,7 +2917,7 @@ switch (step) {
2917
2917
  return leave(s, r0)
2918
2918
  default: oops()
2919
2919
  } } }
2920
- control_EventHandler_constructor__P82611.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]}
2920
+ control_EventHandler_constructor__P82611.info = {"start":833,"length":165,"line":24,"column":8,"endLine":29,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]}
2921
2921
 
2922
2922
  function control_EventHandler_constructor__P82611_mk(s) {
2923
2923
  checkStack(s.depth);
@@ -2962,7 +2962,7 @@ switch (step) {
2962
2962
  return leave(s, r0)
2963
2963
  default: oops()
2964
2964
  } } }
2965
- control_eventContext__P82629.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]}
2965
+ control_eventContext__P82629.info = {"start":7141,"length":136,"line":214,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]}
2966
2966
 
2967
2967
  function control_eventContext__P82629_mk(s) {
2968
2968
  checkStack(s.depth);
@@ -4005,7 +4005,7 @@ switch (step) {
4005
4005
  return leave(s, r0)
4006
4006
  default: oops()
4007
4007
  } } }
4008
- console_addListener__P82587.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]}
4008
+ console_addListener__P82587.info = {"start":3632,"length":197,"line":123,"column":4,"endLine":126,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]}
4009
4009
 
4010
4010
  function console_addListener__P82587_mk(s) {
4011
4011
  checkStack(s.depth);
@@ -6769,7 +6769,7 @@ switch (step) {
6769
6769
  return leaveAccessor(s, r0)
6770
6770
  default: oops()
6771
6771
  } } }
6772
- control_EventContext_deltaTime__P82614.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]}
6772
+ control_EventContext_deltaTime__P82614.info = {"start":2182,"length":75,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]}
6773
6773
  control_EventContext_deltaTime__P82614.isGetter = true;
6774
6774
 
6775
6775
  function control_EventContext_deltaTime__P82614_mk(s) {
@@ -12562,7 +12562,7 @@ switch (step) {
12562
12562
  return leave(s, r0)
12563
12563
  default: oops()
12564
12564
  } } }
12565
- control_pushEventContext__P82630.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]}
12565
+ control_pushEventContext__P82630.info = {"start":7357,"length":340,"line":221,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]}
12566
12566
 
12567
12567
  function control_pushEventContext__P82630_mk(s) {
12568
12568
  checkStack(s.depth);
@@ -12617,7 +12617,7 @@ switch (step) {
12617
12617
  return leave(s, r0)
12618
12618
  default: oops()
12619
12619
  } } }
12620
- control_EventContext_constructor__P82627.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]}
12620
+ control_EventContext_constructor__P82627.info = {"start":1825,"length":347,"line":60,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]}
12621
12621
 
12622
12622
  function control_EventContext_constructor__P82627_mk(s) {
12623
12623
  checkStack(s.depth);
@@ -12683,7 +12683,7 @@ switch (step) {
12683
12683
  return leave(s, r0)
12684
12684
  default: oops()
12685
12685
  } } }
12686
- control_EventContext_unregister__P82618.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12686
+ control_EventContext_unregister__P82618.info = {"start":4768,"length":131,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12687
12687
 
12688
12688
  function control_EventContext_unregister__P82618_mk(s) {
12689
12689
  checkStack(s.depth);
@@ -12729,7 +12729,7 @@ switch (step) {
12729
12729
  return leave(s, r0)
12730
12730
  default: oops()
12731
12731
  } } }
12732
- control_EventHandler_unregister__P82610.info = {"start":1136,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12732
+ control_EventHandler_unregister__P82610.info = {"start":1183,"length":106,"line":37,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12733
12733
 
12734
12734
  function control_EventHandler_unregister__P82610_mk(s) {
12735
12735
  checkStack(s.depth);
@@ -12759,7 +12759,7 @@ switch (step) {
12759
12759
  return leave(s, r0)
12760
12760
  default: oops()
12761
12761
  } } }
12762
- control_doNothing__P82612.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]}
12762
+ control_doNothing__P82612.info = {"start":1301,"length":24,"line":42,"column":4,"endLine":42,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]}
12763
12763
 
12764
12764
  function control_doNothing__P82612_mk(s) {
12765
12765
  checkStack(s.depth);
@@ -14579,7 +14579,7 @@ switch (step) {
14579
14579
  return leave(s, r0)
14580
14580
  default: oops()
14581
14581
  } } }
14582
- control_popEventContext__P82631.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]}
14582
+ control_popEventContext__P82631.info = {"start":7802,"length":413,"line":237,"column":4,"endLine":251,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]}
14583
14583
 
14584
14584
  function control_popEventContext__P82631_mk(s) {
14585
14585
  checkStack(s.depth);
@@ -14646,7 +14646,7 @@ switch (step) {
14646
14646
  return leave(s, r0)
14647
14647
  default: oops()
14648
14648
  } } }
14649
- control_EventContext_register__P82617.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
14649
+ control_EventContext_register__P82617.info = {"start":4620,"length":138,"line":136,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
14650
14650
 
14651
14651
  function control_EventContext_register__P82617_mk(s) {
14652
14652
  checkStack(s.depth);
@@ -20297,7 +20297,7 @@ switch (step) {
20297
20297
  return leave(s, r0)
20298
20298
  default: oops()
20299
20299
  } } }
20300
- console_log__P82584.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]}
20300
+ console_log__P82584.info = {"start":1478,"length":86,"line":59,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]}
20301
20301
 
20302
20302
  function console_log__P82584_mk(s) {
20303
20303
  checkStack(s.depth);
@@ -20612,7 +20612,7 @@ switch (step) {
20612
20612
  return leave(s, r0)
20613
20613
  default: oops()
20614
20614
  } } }
20615
- console_inspect__P82586.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
20615
+ console_inspect__P82586.info = {"start":2345,"length":1190,"line":83,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
20616
20616
 
20617
20617
  function console_inspect__P82586_mk(s) {
20618
20618
  checkStack(s.depth);
@@ -20704,7 +20704,7 @@ switch (step) {
20704
20704
  return leave(s, r0)
20705
20705
  default: oops()
20706
20706
  } } }
20707
- console_inspect_inline__P90318.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
20707
+ console_inspect_inline__P90318.info = {"start":3367,"length":61,"line":110,"column":20,"endLine":110,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
20708
20708
 
20709
20709
  function console_inspect_inline__P90318_mk(s) {
20710
20710
  checkStack(s.depth);
@@ -25817,7 +25817,7 @@ switch (step) {
25817
25817
  return leave(s, r0)
25818
25818
  default: oops()
25819
25819
  } } }
25820
- control_ramSize__P82554.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]}
25820
+ control_ramSize__P82554.info = {"start":4922,"length":100,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]}
25821
25821
 
25822
25822
  function control_ramSize__P82554_mk(s) {
25823
25823
  checkStack(s.depth);
@@ -25845,7 +25845,7 @@ switch (step) {
25845
25845
  return leave(s, r0)
25846
25846
  default: oops()
25847
25847
  } } }
25848
- control__ramSize__P82553.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]}
25848
+ control__ramSize__P82553.info = {"start":4802,"length":60,"line":162,"column":4,"endLine":164,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]}
25849
25849
 
25850
25850
  function control__ramSize__P82553_mk(s) {
25851
25851
  checkStack(s.depth);
@@ -28111,7 +28111,7 @@ switch (step) {
28111
28111
  return leave(s, r0)
28112
28112
  default: oops()
28113
28113
  } } }
28114
- pause__P82635.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
28114
+ pause__P82635.info = {"start":267,"length":57,"line":8,"column":0,"endLine":10,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
28115
28115
 
28116
28116
  function pause__P82635_mk(s) {
28117
28117
  checkStack(s.depth);
@@ -1,4 +1,4 @@
1
- // total=81381 new=93.96% cached=0.00% other=6.04%
1
+ // total=81382 new=93.96% cached=0.00% other=6.04%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -633,7 +633,7 @@ switch (step) {
633
633
  return leave(s, r0)
634
634
  default: oops()
635
635
  } } }
636
- pause__P108405.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
636
+ pause__P108405.info = {"start":267,"length":57,"line":8,"column":0,"endLine":10,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
637
637
 
638
638
  function pause__P108405_mk(s) {
639
639
  checkStack(s.depth);
@@ -743,7 +743,7 @@ switch (step) {
743
743
  return leave(s, r0)
744
744
  default: oops()
745
745
  } } }
746
- control_allocateEventSource__P108314.info = {"start":2528,"length":72,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"allocateEventSource","argumentNames":[]}
746
+ control_allocateEventSource__P108314.info = {"start":2603,"length":72,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"allocateEventSource","argumentNames":[]}
747
747
 
748
748
  function control_allocateEventSource__P108314_mk(s) {
749
749
  checkStack(s.depth);
@@ -1140,7 +1140,7 @@ switch (step) {
1140
1140
  return leave(s, r0)
1141
1141
  default: oops()
1142
1142
  } } }
1143
- console_inspect__P108356.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
1143
+ console_inspect__P108356.info = {"start":2345,"length":1190,"line":83,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
1144
1144
 
1145
1145
  function console_inspect__P108356_mk(s) {
1146
1146
  checkStack(s.depth);
@@ -1232,7 +1232,7 @@ switch (step) {
1232
1232
  return leave(s, r0)
1233
1233
  default: oops()
1234
1234
  } } }
1235
- console_inspect_inline__P109189.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
1235
+ console_inspect_inline__P109189.info = {"start":3367,"length":61,"line":110,"column":20,"endLine":110,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
1236
1236
 
1237
1237
  function console_inspect_inline__P109189_mk(s) {
1238
1238
  checkStack(s.depth);
@@ -1,4 +1,4 @@
1
- // total=1682143 new=70.77% cached=0.00% other=29.23%
1
+ // total=1682146 new=70.77% cached=0.00% other=29.23%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -2207,7 +2207,7 @@ switch (step) {
2207
2207
  return leave(s, r0)
2208
2208
  default: oops()
2209
2209
  } } }
2210
- console_addListener__P143209.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]}
2210
+ console_addListener__P143209.info = {"start":3632,"length":197,"line":123,"column":4,"endLine":126,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]}
2211
2211
 
2212
2212
  function console_addListener__P143209_mk(s) {
2213
2213
  checkStack(s.depth);
@@ -4971,7 +4971,7 @@ switch (step) {
4971
4971
  return leaveAccessor(s, r0)
4972
4972
  default: oops()
4973
4973
  } } }
4974
- control_EventContext_deltaTime__P143236.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]}
4974
+ control_EventContext_deltaTime__P143236.info = {"start":2182,"length":75,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]}
4975
4975
  control_EventContext_deltaTime__P143236.isGetter = true;
4976
4976
 
4977
4977
  function control_EventContext_deltaTime__P143236_mk(s) {
@@ -7014,7 +7014,7 @@ switch (step) {
7014
7014
  return leave(s, r0)
7015
7015
  default: oops()
7016
7016
  } } }
7017
- control_onEvent__P143228.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]}
7017
+ control_onEvent__P143228.info = {"start":383,"length":325,"line":10,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]}
7018
7018
 
7019
7019
  function control_onEvent__P143228_mk(s) {
7020
7020
  checkStack(s.depth);
@@ -7121,7 +7121,7 @@ switch (step) {
7121
7121
  return leave(s, r0)
7122
7122
  default: oops()
7123
7123
  } } }
7124
- control_EventContext_registerHandler__P143243.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]}
7124
+ control_EventContext_registerHandler__P143243.info = {"start":5807,"length":525,"line":174,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]}
7125
7125
 
7126
7126
  function control_EventContext_registerHandler__P143243_mk(s) {
7127
7127
  checkStack(s.depth);
@@ -7178,7 +7178,7 @@ switch (step) {
7178
7178
  return leave(s, r0)
7179
7179
  default: oops()
7180
7180
  } } }
7181
- control_EventHandler_register__P143231.info = {"start":961,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
7181
+ control_EventHandler_register__P143231.info = {"start":1008,"length":165,"line":31,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
7182
7182
 
7183
7183
  function control_EventHandler_register__P143231_mk(s) {
7184
7184
  checkStack(s.depth);
@@ -7228,7 +7228,7 @@ switch (step) {
7228
7228
  return leave(s, r0)
7229
7229
  default: oops()
7230
7230
  } } }
7231
- control_EventHandler_register_inline__P147105.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
7231
+ control_EventHandler_register_inline__P147105.info = {"start":1079,"length":71,"line":32,"column":58,"endLine":34,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
7232
7232
 
7233
7233
  function control_EventHandler_register_inline__P147105_mk(s) {
7234
7234
  checkStack(s.depth);
@@ -7270,7 +7270,7 @@ switch (step) {
7270
7270
  return leave(s, r0)
7271
7271
  default: oops()
7272
7272
  } } }
7273
- control_EventHandler_constructor__P143233.info = {"start":786,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]}
7273
+ control_EventHandler_constructor__P143233.info = {"start":833,"length":165,"line":24,"column":8,"endLine":29,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]}
7274
7274
 
7275
7275
  function control_EventHandler_constructor__P143233_mk(s) {
7276
7276
  checkStack(s.depth);
@@ -7315,7 +7315,7 @@ switch (step) {
7315
7315
  return leave(s, r0)
7316
7316
  default: oops()
7317
7317
  } } }
7318
- control_eventContext__P143251.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]}
7318
+ control_eventContext__P143251.info = {"start":7141,"length":136,"line":214,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]}
7319
7319
 
7320
7320
  function control_eventContext__P143251_mk(s) {
7321
7321
  checkStack(s.depth);
@@ -11127,7 +11127,7 @@ switch (step) {
11127
11127
  return leave(s, r0)
11128
11128
  default: oops()
11129
11129
  } } }
11130
- control_EventContext_registerFrameHandler__P143241.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]}
11130
+ control_EventContext_registerFrameHandler__P143241.info = {"start":4909,"length":643,"line":148,"column":8,"endLine":165,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]}
11131
11131
 
11132
11132
  function control_EventContext_registerFrameHandler__P143241_mk(s) {
11133
11133
  checkStack(s.depth);
@@ -11192,7 +11192,7 @@ switch (step) {
11192
11192
  return leave(s, r0)
11193
11193
  default: oops()
11194
11194
  } } }
11195
- control_EventContext_registerFrameCallbacks__P143238.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]}
11195
+ control_EventContext_registerFrameCallbacks__P143238.info = {"start":3715,"length":895,"line":110,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]}
11196
11196
 
11197
11197
  function control_EventContext_registerFrameCallbacks__P143238_mk(s) {
11198
11198
  checkStack(s.depth);
@@ -11268,7 +11268,7 @@ switch (step) {
11268
11268
  return leave(s, r0)
11269
11269
  default: oops()
11270
11270
  } } }
11271
- control_EventContext_registerFrameCallbacks_inline__P148268.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
11271
+ control_EventContext_registerFrameCallbacks_inline__P148268.info = {"start":3876,"length":723,"line":114,"column":34,"endLine":133,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
11272
11272
 
11273
11273
  function control_EventContext_registerFrameCallbacks_inline__P148268_mk(s) {
11274
11274
  checkStack(s.depth);
@@ -11302,7 +11302,7 @@ switch (step) {
11302
11302
  return leave(s, r0)
11303
11303
  default: oops()
11304
11304
  } } }
11305
- control_EventContext_registerFrameCallbacks_inline__P148274.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
11305
+ control_EventContext_registerFrameCallbacks_inline__P148274.info = {"start":4107,"length":28,"line":118,"column":31,"endLine":118,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
11306
11306
 
11307
11307
  function control_EventContext_registerFrameCallbacks_inline__P148274_mk(s) {
11308
11308
  checkStack(s.depth);
@@ -11569,7 +11569,7 @@ switch (step) {
11569
11569
  return leave(s, r0)
11570
11570
  default: oops()
11571
11571
  } } }
11572
- control_EventContext_runCallbacks__P143237.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]}
11572
+ control_EventContext_runCallbacks__P143237.info = {"start":2267,"length":1395,"line":76,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]}
11573
11573
 
11574
11574
  function control_EventContext_runCallbacks__P143237_mk(s) {
11575
11575
  checkStack(s.depth);
@@ -12061,7 +12061,7 @@ switch (step) {
12061
12061
  return leave(s, r0)
12062
12062
  default: oops()
12063
12063
  } } }
12064
- control_pushEventContext__P143252.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]}
12064
+ control_pushEventContext__P143252.info = {"start":7357,"length":340,"line":221,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]}
12065
12065
 
12066
12066
  function control_pushEventContext__P143252_mk(s) {
12067
12067
  checkStack(s.depth);
@@ -12116,7 +12116,7 @@ switch (step) {
12116
12116
  return leave(s, r0)
12117
12117
  default: oops()
12118
12118
  } } }
12119
- control_EventContext_constructor__P143249.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]}
12119
+ control_EventContext_constructor__P143249.info = {"start":1825,"length":347,"line":60,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]}
12120
12120
 
12121
12121
  function control_EventContext_constructor__P143249_mk(s) {
12122
12122
  checkStack(s.depth);
@@ -12182,7 +12182,7 @@ switch (step) {
12182
12182
  return leave(s, r0)
12183
12183
  default: oops()
12184
12184
  } } }
12185
- control_EventContext_unregister__P143240.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12185
+ control_EventContext_unregister__P143240.info = {"start":4768,"length":131,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12186
12186
 
12187
12187
  function control_EventContext_unregister__P143240_mk(s) {
12188
12188
  checkStack(s.depth);
@@ -12228,7 +12228,7 @@ switch (step) {
12228
12228
  return leave(s, r0)
12229
12229
  default: oops()
12230
12230
  } } }
12231
- control_EventHandler_unregister__P143232.info = {"start":1136,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12231
+ control_EventHandler_unregister__P143232.info = {"start":1183,"length":106,"line":37,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
12232
12232
 
12233
12233
  function control_EventHandler_unregister__P143232_mk(s) {
12234
12234
  checkStack(s.depth);
@@ -12258,7 +12258,7 @@ switch (step) {
12258
12258
  return leave(s, r0)
12259
12259
  default: oops()
12260
12260
  } } }
12261
- control_doNothing__P143234.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]}
12261
+ control_doNothing__P143234.info = {"start":1301,"length":24,"line":42,"column":4,"endLine":42,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]}
12262
12262
 
12263
12263
  function control_doNothing__P143234_mk(s) {
12264
12264
  checkStack(s.depth);
@@ -14078,7 +14078,7 @@ switch (step) {
14078
14078
  return leave(s, r0)
14079
14079
  default: oops()
14080
14080
  } } }
14081
- control_popEventContext__P143253.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]}
14081
+ control_popEventContext__P143253.info = {"start":7802,"length":413,"line":237,"column":4,"endLine":251,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]}
14082
14082
 
14083
14083
  function control_popEventContext__P143253_mk(s) {
14084
14084
  checkStack(s.depth);
@@ -14145,7 +14145,7 @@ switch (step) {
14145
14145
  return leave(s, r0)
14146
14146
  default: oops()
14147
14147
  } } }
14148
- control_EventContext_register__P143239.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
14148
+ control_EventContext_register__P143239.info = {"start":4620,"length":138,"line":136,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
14149
14149
 
14150
14150
  function control_EventContext_register__P143239_mk(s) {
14151
14151
  checkStack(s.depth);
@@ -19796,7 +19796,7 @@ switch (step) {
19796
19796
  return leave(s, r0)
19797
19797
  default: oops()
19798
19798
  } } }
19799
- console_log__P143206.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]}
19799
+ console_log__P143206.info = {"start":1478,"length":86,"line":59,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]}
19800
19800
 
19801
19801
  function console_log__P143206_mk(s) {
19802
19802
  checkStack(s.depth);
@@ -20111,7 +20111,7 @@ switch (step) {
20111
20111
  return leave(s, r0)
20112
20112
  default: oops()
20113
20113
  } } }
20114
- console_inspect__P143208.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
20114
+ console_inspect__P143208.info = {"start":2345,"length":1190,"line":83,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
20115
20115
 
20116
20116
  function console_inspect__P143208_mk(s) {
20117
20117
  checkStack(s.depth);
@@ -20203,7 +20203,7 @@ switch (step) {
20203
20203
  return leave(s, r0)
20204
20204
  default: oops()
20205
20205
  } } }
20206
- console_inspect_inline__P150823.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
20206
+ console_inspect_inline__P150823.info = {"start":3367,"length":61,"line":110,"column":20,"endLine":110,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
20207
20207
 
20208
20208
  function console_inspect_inline__P150823_mk(s) {
20209
20209
  checkStack(s.depth);
@@ -25316,7 +25316,7 @@ switch (step) {
25316
25316
  return leave(s, r0)
25317
25317
  default: oops()
25318
25318
  } } }
25319
- control_ramSize__P143176.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]}
25319
+ control_ramSize__P143176.info = {"start":4922,"length":100,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]}
25320
25320
 
25321
25321
  function control_ramSize__P143176_mk(s) {
25322
25322
  checkStack(s.depth);
@@ -25344,7 +25344,7 @@ switch (step) {
25344
25344
  return leave(s, r0)
25345
25345
  default: oops()
25346
25346
  } } }
25347
- control__ramSize__P143175.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]}
25347
+ control__ramSize__P143175.info = {"start":4802,"length":60,"line":162,"column":4,"endLine":164,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]}
25348
25348
 
25349
25349
  function control__ramSize__P143175_mk(s) {
25350
25350
  checkStack(s.depth);
@@ -27610,7 +27610,7 @@ switch (step) {
27610
27610
  return leave(s, r0)
27611
27611
  default: oops()
27612
27612
  } } }
27613
- pause__P143257.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
27613
+ pause__P143257.info = {"start":267,"length":57,"line":8,"column":0,"endLine":10,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
27614
27614
 
27615
27615
  function pause__P143257_mk(s) {
27616
27616
  checkStack(s.depth);
@@ -43,6 +43,7 @@ int soundLevel() {
43
43
  */
44
44
  //% help=input/set-loud-sound-threshold
45
45
  //% blockId=input_set_loud_sound_threshold block="set loud sound threshold %value"
46
+ //% value.label="value"
46
47
  //% parts="microphone"
47
48
  //% value.min=1 value.max=255
48
49
  //% group="More" weight=14 blockGap=8
@@ -24,6 +24,7 @@ declare namespace input {
24
24
  */
25
25
  //% help=input/set-loud-sound-threshold
26
26
  //% blockId=input_set_loud_sound_threshold block="set loud sound threshold %value"
27
+ //% value.label="value"
27
28
  //% parts="microphone"
28
29
  //% value.min=1 value.max=255
29
30
  //% group="More" weight=14 blockGap=8 shim=input::setLoudSoundThreshold