dart-4cc85255.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. import{g as a}from"./index-d7fba904.js";function $(p,i){for(var n=0;n<i.length;n++){const t=i[n];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in p)){const r=Object.getOwnPropertyDescriptor(t,e);r&&Object.defineProperty(p,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var s={exports:{}};(function(p,i){ace.define("ace/snippets/dart.snippets",["require","exports","module"],function(n,t,e){e.exports=`snippet lib
  2. library \${1};
  3. \${2}
  4. snippet im
  5. import '\${1}';
  6. \${2}
  7. snippet pa
  8. part '\${1}';
  9. \${2}
  10. snippet pao
  11. part of \${1};
  12. \${2}
  13. snippet main
  14. void main() {
  15. \${1:/* code */}
  16. }
  17. snippet st
  18. static \${1}
  19. snippet fi
  20. final \${1}
  21. snippet re
  22. return \${1}
  23. snippet br
  24. break;
  25. snippet th
  26. throw \${1}
  27. snippet cl
  28. class \${1:\`Filename("", "untitled")\`} \${2}
  29. snippet imp
  30. implements \${1}
  31. snippet ext
  32. extends \${1}
  33. snippet if
  34. if (\${1:true}) {
  35. \${2}
  36. }
  37. snippet ife
  38. if (\${1:true}) {
  39. \${2}
  40. } else {
  41. \${3}
  42. }
  43. snippet el
  44. else
  45. snippet sw
  46. switch (\${1}) {
  47. \${2}
  48. }
  49. snippet cs
  50. case \${1}:
  51. \${2}
  52. snippet de
  53. default:
  54. \${1}
  55. snippet for
  56. for (var \${2:i} = 0, len = \${1:things}.length; $2 < len; \${3:++}$2) {
  57. \${4:$1[$2]}
  58. }
  59. snippet fore
  60. for (final \${2:item} in \${1:itemList}) {
  61. \${3:/* code */}
  62. }
  63. snippet wh
  64. while (\${1:/* condition */}) {
  65. \${2:/* code */}
  66. }
  67. snippet dowh
  68. do {
  69. \${2:/* code */}
  70. } while (\${1:/* condition */});
  71. snippet as
  72. assert(\${1:/* condition */});
  73. snippet try
  74. try {
  75. \${2}
  76. } catch (\${1:Exception e}) {
  77. }
  78. snippet tryf
  79. try {
  80. \${2}
  81. } catch (\${1:Exception e}) {
  82. } finally {
  83. }
  84. `}),ace.define("ace/snippets/dart",["require","exports","module","ace/snippets/dart.snippets"],function(n,t,e){t.snippetText=n("./dart.snippets"),t.scope="dart"}),function(){ace.require(["ace/snippets/dart"],function(n){p&&(p.exports=n)})}()})(s);var o=s.exports;const c=a(o),d=$({__proto__:null,default:c},[o]);export{d};