tocco-devcon 3.10.2 → 3.10.4

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.
Files changed (240) hide show
  1. package/changelog.md +9 -0
  2. package/dist/03ab996935e5c1a84ac09966ede74fb8.js +1 -0
  3. package/dist/0dd9fc97c3dee2275f41cd20ffaea059.js +1 -0
  4. package/dist/0f2d1162158745e1093693a3a999932a.js +1 -0
  5. package/dist/0fd64c8920c10008be86572dd6830dc1.js +1 -0
  6. package/dist/105b17c6442efb97c18ca2aef3976b06.js +1 -0
  7. package/dist/1dddd8903e00ce9149ded23fb87f6f34.js +1 -0
  8. package/dist/{9baea0d748ad2aaf25426d29e5c59450.js → 1e5fe0a75db78dcabbd4f27c2b084e4b.js} +1 -1
  9. package/dist/27846e85433e54a3ec0ab34d62233dc5.js +1 -0
  10. package/dist/2c3ad366cda02f17520d3369cae64c2c.js +1 -0
  11. package/dist/34b8d1c8a81822685f809c49097b81fc.js +1 -0
  12. package/dist/3645af9e7e929d3abe3255c739e20e84.js +1 -0
  13. package/dist/367def81f25c0a08527f9a4e86e70c56.js +1 -0
  14. package/dist/3834f2acef5a5debb2a21ad919272307.js +1 -0
  15. package/dist/3a1227a65a1fc39ca476c295d1a260a4.js +1 -0
  16. package/dist/414cd2c842fa42bf71e155f870619e00.js +1 -0
  17. package/dist/42c556183279bbdaaed3a8a9f9108f58.js +1 -0
  18. package/dist/44efcea2f84e80cc4092a89796afe886.js +1 -0
  19. package/dist/479ec45a8edfe482fae4298d1e9862d2.js +1 -0
  20. package/dist/4c1bdecbedd36a5765de184ac056822a.js +1 -0
  21. package/dist/5398e3b596fa15df4d84b2aa0464e5c4.js +1 -0
  22. package/dist/58e7f91772635a5c59bacc975735da6c.js +1 -0
  23. package/dist/603e2644074e6512faf427d511d47fe4.js +1 -0
  24. package/dist/669c462287be8fa855e0ac003c145b55.js +1 -0
  25. package/dist/66a84866949044ac6832ef1d46e38583.js +1 -0
  26. package/dist/6c6d192b6860b4508a14c2d04769a35e.js +1 -0
  27. package/dist/6e40b726d91e9138d9eaef6fd012c740.js +1 -0
  28. package/dist/70289d3b9b2b851df3286e20e40410a6.js +1 -0
  29. package/dist/70efbabef77fb217f904f41dbf7fe8bf.js +1 -0
  30. package/dist/742afd6665dee8dafd43661093bdda9d.js +1 -0
  31. package/dist/757ef1b870d065a77ce3c182a03d93ad.js +1 -0
  32. package/dist/7648d83718f74149cb2db078b19fb7db.js +1 -0
  33. package/dist/78632dc7e1875ec8c39416f645e53733.js +1 -0
  34. package/dist/79455ab9a6cd507f5314141cc965093a.js +1 -0
  35. package/dist/7b839a5c1f6d89538928c8a29003bbda.js +1 -0
  36. package/dist/7bc18fc7a7d1323c178aa1846d79fb3c.js +1 -0
  37. package/dist/7f45be8b3fab8d742afc26fc48a23d2e.js +1 -0
  38. package/dist/{fc8cc8286fcd92801f75600fd4e56386.js → 81318a3530fb35d5178eb7a4a13a606f.js} +1 -1
  39. package/dist/827c1cbf746eacfc23ed2037e4d6359d.js +1 -0
  40. package/dist/99add2656ccb006ff11de385c4219f41.js +1 -0
  41. package/dist/9ebb9ac2c9c875649c72722bc585d445.js +1 -0
  42. package/dist/a41ce517e26d17d855b7224af9ee433b.js +1 -0
  43. package/dist/aa0417796df2b0398a45c00f93f37ea4.js +1 -0
  44. package/dist/ab720dd0a0fd070ad82c052263f748e2.js +1 -0
  45. package/dist/af1635b600efd13f6059eb6ac9deae12.js +1 -0
  46. package/dist/af4f969a70a6c8957dac6046db167019.js +1 -0
  47. package/dist/af6fdb556ee3f9065578bb01f81f6216.js +1 -0
  48. package/dist/b03bc4e99280d8b4dfd1c6cddedfbd76.js +1 -0
  49. package/dist/b275e591896df64fa3202d90ae70c583.js +1 -0
  50. package/dist/b714a3647ca66ab7685eb0437c9e3a8d.js +1 -0
  51. package/dist/b9bf918956902d11645efb99e2ab5293.js +1 -0
  52. package/dist/c2999cd0bf63072240931010a45c21da.js +1 -0
  53. package/dist/c3832579be376308fa819b04e7b0c66f.js +1 -0
  54. package/dist/c39131284670f03a805cca637f722ced.js +1 -0
  55. package/dist/c93947dfac92c92c3999d1d51fc5b516.js +1 -0
  56. package/dist/c9568507cc8ea516d091749c7919b744.js +1 -0
  57. package/dist/cc0de4981277622a9017f137023a6dd5.js +1 -0
  58. package/dist/cfaaa83ec3973688a7946b95b597c228.js +1 -0
  59. package/dist/chunk-26.7257cd213740266461a4.js +1 -0
  60. package/dist/chunk-32.e71148ed9e19545d45a7.js +1 -0
  61. package/dist/chunk-648.51ff7cb3fc0b383ee34c.js +1 -0
  62. package/dist/chunk-904.d474ff4008d998406708.js +1 -0
  63. package/dist/chunk-code-editor.94ca9c87b2793680a105.js +1 -0
  64. package/dist/chunk-html-editor.9f6d529684099c0d6e0a.js +6 -0
  65. package/dist/chunk-phone-formatter.4ac0c68ce4612432d486.js +1 -0
  66. package/dist/chunk-vendor-fontawesome.47c87a710175697d5eed.js +1 -0
  67. package/dist/chunk-vendor-icons.02402883efd7339048f3.js +1 -0
  68. package/dist/chunk-vendor-libphonenumber-js.719935c266073fbf7ea6.js +1 -0
  69. package/dist/d09463c099fb2c44719380623a5c68fb.js +1 -0
  70. package/dist/d1a1ee70e5eed28571ae9c619f33de7c.js +1 -0
  71. package/dist/d4ad4ca9643d85d3990bfefe29cb3bb0.js +1 -0
  72. package/dist/d7340300249ab98bd9b3f538a767106e.js +1 -0
  73. package/dist/d869a443b727ea4b7cef2de0ff2a6ed8.js +1 -0
  74. package/dist/d9b2daf38414fcbaf89924ad3e10e587.js +1 -0
  75. package/dist/dc83a73f0eb89665520bbb6672dfa3cb.js +1 -0
  76. package/dist/e80d5ee40455d0675f8f2a3688071adf.js +1 -0
  77. package/dist/eb08efe1d361a9c5e37e1d4c8100212e.js +1 -0
  78. package/dist/ef6cac9d9a3156e1c19b46cd181863ed.js +1 -0
  79. package/dist/ef7dedac6423354de55896b34230d548.js +1 -0
  80. package/dist/f4480bd3d93cb0949fc4f3af8eff6531.js +1 -0
  81. package/dist/f5655f072ce70050c78fab024d5028a8.js +1 -0
  82. package/dist/f799992a362826cff3c7d1ce9dc9940c.js +1 -0
  83. package/dist/fb393a7455b47f3d4fc30cf219d5145c.js +1 -0
  84. package/dist/fd98f0e48b18e1de428edd5174539c2a.js +1 -0
  85. package/dist/index.js +15 -28
  86. package/package.json +1 -1
  87. package/dist/0258627cce382c62aa703bf8d4b9feb6.js +0 -1
  88. package/dist/0434496fdaef6855d0d4772f52889df6.js +0 -1
  89. package/dist/0f1f0f87ad7afd258956f34329de8643.js +0 -1
  90. package/dist/0ff2dae163122c3711541819e09abea6.js +0 -1
  91. package/dist/105e660d58520543e6f823ad79a30b02.js +0 -1
  92. package/dist/1344b8ba7f8b9b428a07c11eeda09280.js +0 -1
  93. package/dist/1393bee9ab303eb5c9bc527509ae08f7.js +0 -1
  94. package/dist/14b15581d7409ac6e24e50cb8acfc503.js +0 -1
  95. package/dist/172942aab07ba5abf09dc49028a259d0.js +0 -1
  96. package/dist/18055fbaa718f70f163a11625f6e963b.js +0 -1
  97. package/dist/1f84401e3b920138b4fa66a038686a94.js +0 -1
  98. package/dist/1f8bab21ba835bddace75b9aeaf47b3d.js +0 -1
  99. package/dist/2bfd6c341295dc99307994c3158dd60c.js +0 -1
  100. package/dist/3a993318ab66a4ef79df04ec6d2f28ab.js +0 -1
  101. package/dist/3f8e51a6764513f93e0483020fb0ee82.js +0 -1
  102. package/dist/416d18f139ca4fa0305fc56919d40f58.js +0 -1
  103. package/dist/48801aabb77bf923a4752136234e8c97.js +0 -1
  104. package/dist/4b0fad2cb7dae2be69865c8e74fc083a.js +0 -1
  105. package/dist/4ec6860a76652083d0888330d5581148.js +0 -1
  106. package/dist/51ca97421f9fda46069b9db75ca45c88.js +0 -1
  107. package/dist/5455bc3c74e053ffe3a7730e257d56a9.js +0 -1
  108. package/dist/56ba26656bcad67aef16f3233d1deae5.js +0 -1
  109. package/dist/5aa42cf05a60ed97761d3d82d6cef1d4.js +0 -1
  110. package/dist/657d0a0c1e239d521abb0a46512d7de0.js +0 -1
  111. package/dist/674805f9ee8f8c474b4e9e6aa1412db9.js +0 -1
  112. package/dist/68383037e12af078cce5420b79199ad9.js +0 -1
  113. package/dist/6aab7cd95b6d2e6f7ee64139c13e44ab.js +0 -1
  114. package/dist/6b884774ded27c93d9ddca7fdb365221.js +0 -1
  115. package/dist/6be4a891ed749e90b31a64323297b1da.js +0 -1
  116. package/dist/6f77d1c97d1c6937d21c4a1034be62b6.js +0 -1
  117. package/dist/6f7d57ab53d610b4691b0333a487e5dc.js +0 -1
  118. package/dist/72bd55e59390d2c881f8f0d664a63e4e.js +0 -1
  119. package/dist/78520d1d670b05135a389d065e392695.js +0 -1
  120. package/dist/812885b0786a1da6a2f30c2c7cb08d25.js +0 -1
  121. package/dist/88f088b16e5037282d513b69c91b6c06.js +0 -1
  122. package/dist/89a203a71414bc98fb4b3c8a71cabf3a.js +0 -1
  123. package/dist/9081e7011816127d89e667e132700c7b.js +0 -1
  124. package/dist/9279b41aaa11e4e04c3a0d1c51dd0b02.js +0 -1
  125. package/dist/951ec8b90b81f007478a03f6f8337d29.js +0 -1
  126. package/dist/991a9ecc1fc063a3b8d2bf055a345d98.js +0 -1
  127. package/dist/994847a09f1fae4b1edeae703f884bfe.js +0 -1
  128. package/dist/9f8309eadbf9ea7e8f65733480b71653.js +0 -1
  129. package/dist/a3c9552b823ffc83e1bc4a590e6e4da6.js +0 -1
  130. package/dist/a491785609f5c6ad3cfeca254a22b967.js +0 -1
  131. package/dist/a63fb9375c95db848003b6673153a93e.js +0 -1
  132. package/dist/a8f6085c334236b91aae071920b2f0e4.js +0 -1
  133. package/dist/aaaa8d747cb2549e5b3a7eb239fdb13d.js +0 -1
  134. package/dist/aaf82e0e74150c537c9469d3fbdface1.js +0 -1
  135. package/dist/ad81de168e8593107ed775f7d1721f59.js +0 -1
  136. package/dist/b6d824665e9951e20f93c672f25c6158.js +0 -1
  137. package/dist/bfaea4527da3bca61fb24aac3e553ac2.js +0 -1
  138. package/dist/c224886a075dcbcf9433ec9416f08206.js +0 -1
  139. package/dist/c2cf4b40917e62280f333d286b395894.js +0 -1
  140. package/dist/c796f1a712970e26814f7a4e5a94e6b7.js +0 -1
  141. package/dist/cad192c9e8faa115934d1fc1af68c657.js +0 -1
  142. package/dist/chunk-372.82c0105c076625c26b36.js +0 -1
  143. package/dist/chunk-557.7f7082fc3292b0236392.js +0 -1
  144. package/dist/chunk-608.441519db7f262079c481.js +0 -1
  145. package/dist/chunk-768.af2cc9a7f12282b58b77.js +0 -1
  146. package/dist/chunk-code-editor.94b459f0bf3d359c0310.js +0 -1
  147. package/dist/chunk-html-editor.a0eca3033488f60ae70b.js +0 -6
  148. package/dist/chunk-phone-formatter.551843840ccbb15caeb7.js +0 -1
  149. package/dist/chunk-vendor-fontawesome.57fae754544ba83e6bf8.js +0 -1
  150. package/dist/chunk-vendor-icons.ae850077af6fbb049279.js +0 -1
  151. package/dist/chunk-vendor-libphonenumber-js.2ccde6db3295491af790.js +0 -1
  152. package/dist/d1f0ad8ca2a550bc292669b06a614f79.js +0 -1
  153. package/dist/d204a2341f384191e26189fd722874e8.js +0 -1
  154. package/dist/e33ebc3402294baa03338cbb08b30256.js +0 -1
  155. package/dist/e604b5361c9f05dc5e715b4891af8280.js +0 -1
  156. package/dist/e73a9a8ff6c4f1bf50ef1a1a6c8dfabd.js +0 -1
  157. package/dist/ef5259a3bbc548bdd1bae45651c83d50.js +0 -1
  158. package/dist/f08292cb173d22d289fc6d1b40fd6965.js +0 -1
  159. package/dist/f18efe15d9a60e833596690ea0c9b0eb.js +0 -1
  160. package/dist/f2bc6a0128525fa24a0af853b64e67ed.js +0 -1
  161. package/dist/f5ee304793a3790745d63a8ae39c46cc.js +0 -1
  162. package/dist/f7348dfd98f27fc37c38e2cc09bb5565.js +0 -1
  163. package/dist/ff653582fa50c51a8b5f2858c2f4f66e.js +0 -1
  164. /package/dist/{3feee6e20769581f2314934a02076628.js → 03a5f5b2b97a8fc289399d92fba810d0.js} +0 -0
  165. /package/dist/{5bf5905c97a36510296844fc9851a2b4.js → 0416c21cfe088739209926632a360e3b.js} +0 -0
  166. /package/dist/{55a1830305eaf8f525aad4c04c138483.js → 0e67325b9a04863301e36c0c37947069.js} +0 -0
  167. /package/dist/{297aa4b0e3bca17d1e97dae92886a563.js → 1195816afa4a5e8183857be16a04ae6f.js} +0 -0
  168. /package/dist/{2611b2dc99534665bf6734ddfa6b8de4.js → 1383530217ac0068c844902d24e18e08.js} +0 -0
  169. /package/dist/{ff9176b28afa428194276840d85679ef.js → 16c2e1b50af4ba05edaa03c8c9e9d18c.js} +0 -0
  170. /package/dist/{5f8e9f09349e37425d6ef96bf1bf7a2d.js → 1cc6fc3772824e2f87f10a9c3fad2dae.js} +0 -0
  171. /package/dist/{3564e45dfb2ed064007f910db434889f.js → 1ed6368e8e20628ad5229329eec28baa.js} +0 -0
  172. /package/dist/{392e4c8d74cb1c9267a14eb0270ba2d6.js → 210aec2722e6416a0349a987260e14a3.js} +0 -0
  173. /package/dist/{71f39fefd16025c224fe31cdb352ae01.js → 228ca80abf1ae030cbfe7faaec61913f.js} +0 -0
  174. /package/dist/{243cb54dc4f4213d14383e6c93f5ca44.js → 2302902e10c4afab56e1b864c96070cb.js} +0 -0
  175. /package/dist/{0c1e757d25446799bcab87a8607dee60.js → 24f97ddd76026815674affbc50ad6169.js} +0 -0
  176. /package/dist/{e92e5385dc61f177b5b0897aebea7b34.js → 275d8f4e0550edce2f3b85b3eaa94e54.js} +0 -0
  177. /package/dist/{92aed4ffd41d68e81a525377561b168e.js → 2aa392a501973ebfcea38239a45ed8e7.js} +0 -0
  178. /package/dist/{250c230f9465d8affc02c67d41d7e067.js → 31c610efb1d25afc90853b52ba4cb089.js} +0 -0
  179. /package/dist/{4d2f57c77de95601a5e05343949e7d4b.js → 3bf96f8eb1859e2724a4b769af3b5f1e.js} +0 -0
  180. /package/dist/{c3174a46927bbec0fbd8946f97bd7170.js → 44599d9b6202ebebfcdd073edf3562e3.js} +0 -0
  181. /package/dist/{b8cb123e6c753c6031ab9c6a4acbbcd6.js → 472ba8f81bf8cac86027cb1be4e3b9cd.js} +0 -0
  182. /package/dist/{a68d10b9313a75c20cc3c8f0a5cec4b9.js → 47e4cb297b2c3841ef86ce04a7f5584e.js} +0 -0
  183. /package/dist/{883d69772fb787a872f1033aa1147250.js → 492e618a031cfde9c83d699c430de2ac.js} +0 -0
  184. /package/dist/{b979e956b3e1542de6440aabd516b7d9.js → 4bf6763c5956e3bccbf0373068810ded.js} +0 -0
  185. /package/dist/{0326f2213408b563877262b32f5b2568.js → 4d0849c6c9a868c09130600ac68319b3.js} +0 -0
  186. /package/dist/{e6d0fea728cec3051fc8e597970105fd.js → 5106411f7468a5ee5b1ee77aed12c0c7.js} +0 -0
  187. /package/dist/{a72ec8ab4a5bdfd6695dfa5fa86ef30d.js → 5348f3cfbe5a63954e7d984f197bbddb.js} +0 -0
  188. /package/dist/{415b219139e8fd026bcf877eaa99e3ee.js → 5a741aab715866cb4d9a55e89dfc8420.js} +0 -0
  189. /package/dist/{cd29b6e52c3ebcbaee8c7bb709fd1d8e.js → 5f5a93ab1249b7cbdb13d9466febd3a0.js} +0 -0
  190. /package/dist/{951a8cbe4efaab1b1451ffd8904fc9dd.js → 60190285b6c2243e14184b9e57d48dbb.js} +0 -0
  191. /package/dist/{aefed4953ced506e20b934606ac083f3.js → 60ede8d7ffdf4c05f2ce51b6d8d2be68.js} +0 -0
  192. /package/dist/{1efd17765f6c83da640fd16882fcc641.js → 6130486ae80b103700a2e1eec0bc5cea.js} +0 -0
  193. /package/dist/{8de1f09307a99c5a8bb0a53d32fbaaa9.js → 65e7cf62ca9df32c18b630f31025a401.js} +0 -0
  194. /package/dist/{66683af3dcbdb4c22d269ea63899eb62.js → 6d0c0aa17d36cb16bafc76d7376b97f7.js} +0 -0
  195. /package/dist/{6fc246ab91f874961e685849ccd54ce1.js → 7aa17a5a81c83c0f455941b3b286d5da.js} +0 -0
  196. /package/dist/{4d5c4488db9b5decda2d56ccd07802bd.js → 7ec97a8161bf26e434d3891f64adb15b.js} +0 -0
  197. /package/dist/{02b97d3c4a7e895228beec69fb63e420.js → 817edb0c6f9d66f9c0027762edb1d797.js} +0 -0
  198. /package/dist/{b943c561d9e064f79f938275bad6e597.js → 84270e22d4439d15b0d8f392d1338d8e.js} +0 -0
  199. /package/dist/{a58f90f6c8db84024327b4d9059c991e.js → 84effdea6b72577c780f6621246d2e82.js} +0 -0
  200. /package/dist/{97a433685c8b906a0e09f0b976cf044c.js → 8646c11c7b2b46a2b2becab0d9e549c7.js} +0 -0
  201. /package/dist/{e2cf1d3cc9aca5d1755da081660b2ea6.js → 88da0e09d486e197aaca5bc3d6350998.js} +0 -0
  202. /package/dist/{109a021cf363699a5ca21699ebfc9ccb.js → 8c7616f0adba6a5ac0d2f06ba4ebd696.js} +0 -0
  203. /package/dist/{41469950e6a0ef73a57342235b44c55a.js → 90812d89181b698975cbb081adcbbcb0.js} +0 -0
  204. /package/dist/{97aedb2a84594836790b86e93640ec6b.js → 950a205e91da7e78226dd785fd6d34db.js} +0 -0
  205. /package/dist/{f59696ab0f6f26c339d7e6bb1d73a5c3.js → 96b8d8b5efd11741639659c63a485c27.js} +0 -0
  206. /package/dist/{d6cbf7b96a23ac12616f666928ac7b07.js → 972ea4b6ab9d3baeab6d00057cd5f9d3.js} +0 -0
  207. /package/dist/{410ecb602443afbd5908a14f39b40eb2.js → 981bd23edacd811f9e4a583d89b544ee.js} +0 -0
  208. /package/dist/{8575dad893a0f6989fc39d6ecd712bdc.js → 9fa80a5bc14fe8644697fe0dd7b99431.js} +0 -0
  209. /package/dist/{40f569ded183c3f2843af478d001fbe5.js → a09aafd5b6029416c0295e513332c7d2.js} +0 -0
  210. /package/dist/{69697d4beebb76e1010b2a03260ae459.js → a2b29b879b9e8606085c0d3776f789ca.js} +0 -0
  211. /package/dist/{4587fb1277553c9351f6f0d9e0c6f474.js → a34efdb6282815cdc27d2f83352b59e0.js} +0 -0
  212. /package/dist/{d566c484a79632bd0ad05f6c899bea9a.js → a3dfa410d90c00078f4b015410048f34.js} +0 -0
  213. /package/dist/{d869aff28d021985b44fba1166f2c0fa.js → a678d4dedcc646810a379211797d5294.js} +0 -0
  214. /package/dist/{a0af54d58f59bc55427f1ca5be406875.js → a6eb87af5cd7ae7e4fcba8ec606ec4ba.js} +0 -0
  215. /package/dist/{bba393726b199f66d8b4314385c1f2f0.js → a9f61cc92a7407c8ca0a5843b29d7a57.js} +0 -0
  216. /package/dist/{e45a0dfd102b67ad7cdefe10500bf0d7.js → ac54fd77986affc0a122d325788b34d3.js} +0 -0
  217. /package/dist/{ac12519ccf3cc323b28f70e35f922e3f.js → afba1f28f2baa29eae717d6cb03f5464.js} +0 -0
  218. /package/dist/{f842f60b3527dcbad3174ee39e73e6d6.js → b10accbff47791a59b8494225af07025.js} +0 -0
  219. /package/dist/{a237067d2cf1a9f38281f7e715498f9e.js → b24bb117549d04501b98ffb66b427e0f.js} +0 -0
  220. /package/dist/{fb7eb7827fa43e61a09d93f053fa818f.js → b2d62f22463367ca31dfdbc615637c32.js} +0 -0
  221. /package/dist/{b1196ffa54f7b5de65e8bf68d16d915c.js → b676b876040015b30352b3cda5e243b7.js} +0 -0
  222. /package/dist/{89db460731cfbe5b4f0f8bd43d726c20.js → bb1365c0983ce5ad50060b24788b9630.js} +0 -0
  223. /package/dist/{f2b310d90ac13b96c0ccb2db1f846dfd.js → bb1de0986c4fb3ee31c5a413b8f97c94.js} +0 -0
  224. /package/dist/{3eef2e59108a18b7a20b893d3d2bed66.js → c2f4581864c135dff9056745035d3914.js} +0 -0
  225. /package/dist/{93b5186e225380c3e006a764ad08c7f6.js → c2fa476995041f9982b89a1c483da2b9.js} +0 -0
  226. /package/dist/{2184bcd361a0e38d249bc49439d994cb.js → c428d0ff296b8b683347a18896d72015.js} +0 -0
  227. /package/dist/{476a9395afecb6d7621d82196d29fabc.js → c5647f3b9e799d1b9818e80796f8a574.js} +0 -0
  228. /package/dist/{029bc2135f5e5fb160ebea8a34c99020.js → c6938ce24c731f9ee703747909cd2aad.js} +0 -0
  229. /package/dist/{73cdbb2580cd6a02d989c86e56bb83f3.js → c8230f96396f0378d032dce2be3dce66.js} +0 -0
  230. /package/dist/{6231f0100394f756aac18e8d972d8f2b.js → cb0d121a88477f943960f5ad60602c22.js} +0 -0
  231. /package/dist/{7bc22fd00da2d41f3843160e78464ea6.js → cb5746e29527a2fdb9f857a121e086ed.js} +0 -0
  232. /package/dist/{19017707f34649cae551ee9d5ea1edbf.js → cb9910e014b468ada91393696fcad206.js} +0 -0
  233. /package/dist/{da3a9dc1f8b62f2221f1040e8d207d0e.js → e37ac12436bcd0536ec98ae8470a1228.js} +0 -0
  234. /package/dist/{2adc6bc4a8a2bf35636e8fc7fe0df2dd.js → e7f37e0f2b6113039c45a326264c4d36.js} +0 -0
  235. /package/dist/{7e9ad0e666f3c158bc6d0040b6882ea6.js → ea6edcde22c9fdbb9f7b8d9cf72a062b.js} +0 -0
  236. /package/dist/{18324d75a4d39f26b07a6e810f60287b.js → ed88b2c21452a7eaea143e54e27a0879.js} +0 -0
  237. /package/dist/{c1f1988a4d4fbe58c7adba90b4303b24.js → f18c12f0446bad25ec3732c621d60f88.js} +0 -0
  238. /package/dist/{0a2372b159f27a54f18565b93c97e3c2.js → f2fb7fcc9bdd849d687150c07a81ffe4.js} +0 -0
  239. /package/dist/{cfe1a9dd61dd943a574fc6c7157372f7.js → f666b5647087bcfdf6623f8b14d56657.js} +0 -0
  240. /package/dist/{0d9ac3f6468082360311da967190e45f.js → fb5080213f065f82f0391c551c864434.js} +0 -0
@@ -0,0 +1 @@
1
+ !function(t){if(!(void 0!==t.window&&t.document||t.require&&t.define)){t.console||(t.console=function(){var t=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:t})},t.console.error=t.console.warn=t.console.log=t.console.trace=t.console),t.window=t,t.ace=t,t.onerror=function(t,e,n,r,s){postMessage({type:"error",data:{message:t,data:s&&s.data,file:e,line:n,col:r,stack:s&&s.stack}})},t.normalizeModule=function(e,n){if(-1!==n.indexOf("!")){var r=n.split("!");return t.normalizeModule(e,r[0])+"!"+t.normalizeModule(e,r[1])}if("."==n.charAt(0)){var s=e.split("/").slice(0,-1).join("/");for(n=(s?s+"/":"")+n;-1!==n.indexOf(".")&&o!=n;){var o=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},t.require=function(e,n){if(n||(n=e,e=null),!n.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");n=t.normalizeModule(e,n);var r=t.require.modules[n];if(r)return r.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;if(!t.require.tlns)return console.log("unable to load "+n);var s=function(t,e){var n=t,r="";for(;n;){var s=e[n];if("string"==typeof s)return s+r;if(s)return s.location.replace(/\/*$/,"/")+(r||s.main||s.name);if(!1===s)return"";var o=n.lastIndexOf("/");if(-1===o)break;r=n.substr(o)+r,n=n.slice(0,o)}return t}(n,t.require.tlns);return".js"!=s.slice(-3)&&(s+=".js"),t.require.id=n,t.require.modules[n]={},importScripts(s),t.require(e,n)},t.require.modules={},t.require.tlns={},t.define=function(e,n,r){if(2==arguments.length?(r=n,"string"!=typeof e&&(n=e,e=t.require.id)):1==arguments.length&&(r=e,n=[],e=t.require.id),"function"==typeof r){n.length||(n=["require","exports","module"]);var s=function(n){return t.require(e,n)};t.require.modules[e]={exports:{},factory:function(){var t=this,e=r.apply(this,n.slice(0,r.length).map((function(e){switch(e){case"require":return s;case"exports":return t.exports;case"module":return t;default:return s(e)}})));return e&&(t.exports=e),t}}}else t.require.modules[e]={exports:r,initialized:!0}},t.define.amd={},t.require.tlns={},t.initBaseUrls=function(t){for(var e in t)this.require.tlns[e]=t[e]},t.initSender=function(){var e=t.require("ace/lib/event_emitter").EventEmitter,n=t.require("ace/lib/oop"),r=function(){};return function(){n.implement(this,e),this.callback=function(t,e){postMessage({type:"call",id:e,data:t})},this.emit=function(t,e){postMessage({type:"event",name:t,data:e})}}.call(r.prototype),new r};var e=t.main=null,n=t.sender=null;t.onmessage=function(r){var s=r.data;if(s.event&&n)n._signal(s.event,s.data);else if(s.command)if(e[s.command])e[s.command].apply(e,s.args);else{if(!t[s.command])throw new Error("Unknown command:"+s.command);t[s.command].apply(t,s.args)}else if(s.init){t.initBaseUrls(s.tlns),n=t.sender=t.initSender();var o=this.require(s.module)[s.classname];e=t.main=new o(n)}}}}(this),ace.define("ace/lib/oop",[],(function(t,e,n){"use strict";e.inherits=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},e.mixin=function(t,e){for(var n in e)t[n]=e[n];return t},e.implement=function(t,n){e.mixin(t,n)}})),ace.define("ace/apply_delta",[],(function(t,e,n){"use strict";e.applyDelta=function(t,e,n){var r=e.start.row,s=e.start.column,o=t[r]||"";switch(e.action){case"insert":if(1===e.lines.length)t[r]=o.substring(0,s)+e.lines[0]+o.substring(s);else{var a=[r,1].concat(e.lines);t.splice.apply(t,a),t[r]=o.substring(0,s)+t[r],t[r+e.lines.length-1]+=o.substring(s)}break;case"remove":var i=e.end.column,_=e.end.row;r===_?t[r]=o.substring(0,s)+o.substring(i):t.splice(r,_-r+1,o.substring(0,s)+t[_].substring(i))}}})),ace.define("ace/lib/event_emitter",[],(function(t,e,n){"use strict";var r={},s=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(t,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[t]||[],r=this._defaultHandlers[t];if(n.length||r){"object"==typeof e&&e||(e={}),e.type||(e.type=t),e.stopPropagation||(e.stopPropagation=s),e.preventDefault||(e.preventDefault=o),n=n.slice();for(var a=0;a<n.length&&(n[a](e,this),!e.propagationStopped);a++);return r&&!e.defaultPrevented?r(e,this):void 0}},r._signal=function(t,e){var n=(this._eventRegistry||{})[t];if(n){n=n.slice();for(var r=0;r<n.length;r++)n[r](e,this)}},r.once=function(t,e){var n=this;if(this.on(t,(function r(){n.off(t,r),e.apply(null,arguments)})),!e)return new Promise((function(t){e=t}))},r.setDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[t]){var r=n[t],s=n._disabled_[t];s||(n._disabled_[t]=s=[]),s.push(r);var o=s.indexOf(e);-1!=o&&s.splice(o,1)}n[t]=e},r.removeDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n){var r=n._disabled_[t];if(n[t]==e)r&&this.setDefaultHandler(t,r.pop());else if(r){var s=r.indexOf(e);-1!=s&&r.splice(s,1)}}},r.on=r.addEventListener=function(t,e,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[t];return r||(r=this._eventRegistry[t]=[]),-1==r.indexOf(e)&&r[n?"unshift":"push"](e),e},r.off=r.removeListener=r.removeEventListener=function(t,e){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[t];if(n){var r=n.indexOf(e);-1!==r&&n.splice(r,1)}},r.removeAllListeners=function(t){t||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[t]=void 0),this._defaultHandlers&&(this._defaultHandlers[t]=void 0)},e.EventEmitter=r})),ace.define("ace/range",[],(function(t,e,n){"use strict";var r=function(){function t(t,e,n,r){this.start={row:t,column:e},this.end={row:n,column:r}}return t.prototype.isEqual=function(t){return this.start.row===t.start.row&&this.end.row===t.end.row&&this.start.column===t.start.column&&this.end.column===t.end.column},t.prototype.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},t.prototype.contains=function(t,e){return 0==this.compare(t,e)},t.prototype.compareRange=function(t){var e,n=t.end,r=t.start;return 1==(e=this.compare(n.row,n.column))?1==(e=this.compare(r.row,r.column))?2:0==e?1:0:-1==e?-2:-1==(e=this.compare(r.row,r.column))?-1:1==e?42:0},t.prototype.comparePoint=function(t){return this.compare(t.row,t.column)},t.prototype.containsRange=function(t){return 0==this.comparePoint(t.start)&&0==this.comparePoint(t.end)},t.prototype.intersects=function(t){var e=this.compareRange(t);return-1==e||0==e||1==e},t.prototype.isEnd=function(t,e){return this.end.row==t&&this.end.column==e},t.prototype.isStart=function(t,e){return this.start.row==t&&this.start.column==e},t.prototype.setStart=function(t,e){"object"==typeof t?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=e)},t.prototype.setEnd=function(t,e){"object"==typeof t?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=e)},t.prototype.inside=function(t,e){return 0==this.compare(t,e)&&(!this.isEnd(t,e)&&!this.isStart(t,e))},t.prototype.insideStart=function(t,e){return 0==this.compare(t,e)&&!this.isEnd(t,e)},t.prototype.insideEnd=function(t,e){return 0==this.compare(t,e)&&!this.isStart(t,e)},t.prototype.compare=function(t,e){return this.isMultiLine()||t!==this.start.row?t<this.start.row?-1:t>this.end.row?1:this.start.row===t?e>=this.start.column?0:-1:this.end.row===t?e<=this.end.column?0:1:0:e<this.start.column?-1:e>this.end.column?1:0},t.prototype.compareStart=function(t,e){return this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},t.prototype.compareEnd=function(t,e){return this.end.row==t&&this.end.column==e?1:this.compare(t,e)},t.prototype.compareInside=function(t,e){return this.end.row==t&&this.end.column==e?1:this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},t.prototype.clipRows=function(e,n){if(this.end.row>n)var r={row:n+1,column:0};else if(this.end.row<e)r={row:e,column:0};if(this.start.row>n)var s={row:n+1,column:0};else if(this.start.row<e)s={row:e,column:0};return t.fromPoints(s||this.start,r||this.end)},t.prototype.extend=function(e,n){var r=this.compare(e,n);if(0==r)return this;if(-1==r)var s={row:e,column:n};else var o={row:e,column:n};return t.fromPoints(s||this.start,o||this.end)},t.prototype.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},t.prototype.isMultiLine=function(){return this.start.row!==this.end.row},t.prototype.clone=function(){return t.fromPoints(this.start,this.end)},t.prototype.collapseRows=function(){return 0==this.end.column?new t(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new t(this.start.row,0,this.end.row,0)},t.prototype.toScreenRange=function(e){var n=e.documentToScreenPosition(this.start),r=e.documentToScreenPosition(this.end);return new t(n.row,n.column,r.row,r.column)},t.prototype.moveBy=function(t,e){this.start.row+=t,this.start.column+=e,this.end.row+=t,this.end.column+=e},t}();r.fromPoints=function(t,e){return new r(t.row,t.column,e.row,e.column)},r.comparePoints=function(t,e){return t.row-e.row||t.column-e.column},e.Range=r})),ace.define("ace/anchor",[],(function(t,e,n){"use strict";var r=t("./lib/oop"),s=t("./lib/event_emitter").EventEmitter,o=function(){function t(t,e,n){this.$onChange=this.onChange.bind(this),this.attach(t),"number"!=typeof e?this.setPosition(e.row,e.column):this.setPosition(e,n)}return t.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},t.prototype.getDocument=function(){return this.document},t.prototype.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var e=function(t,e,n){var r="insert"==t.action,s=(r?1:-1)*(t.end.row-t.start.row),o=(r?1:-1)*(t.end.column-t.start.column),i=t.start,_=r?i:t.end;if(a(e,i,n))return{row:e.row,column:e.column};if(a(_,e,!n))return{row:e.row+s,column:e.column+(e.row==_.row?o:0)};return{row:i.row,column:i.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(e.row,e.column,!0)}},t.prototype.setPosition=function(t,e,n){var r;if(r=n?{row:t,column:e}:this.$clipPositionToDocument(t,e),this.row!=r.row||this.column!=r.column){var s={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:s,value:r})}},t.prototype.detach=function(){this.document.off("change",this.$onChange)},t.prototype.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},t.prototype.$clipPositionToDocument=function(t,e){var n={};return t>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):t<0?(n.row=0,n.column=0):(n.row=t,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,e))),e<0&&(n.column=0),n},t}();function a(t,e,n){var r=n?t.column<=e.column:t.column<e.column;return t.row<e.row||t.row==e.row&&r}o.prototype.$insertRight=!1,r.implement(o.prototype,s),e.Anchor=o})),ace.define("ace/document",[],(function(t,e,n){"use strict";var r=t("./lib/oop"),s=t("./apply_delta").applyDelta,o=t("./lib/event_emitter").EventEmitter,a=t("./range").Range,i=t("./anchor").Anchor,_=function(){function t(t){this.$lines=[""],0===t.length?this.$lines=[""]:Array.isArray(t)?this.insertMergedLines({row:0,column:0},t):this.insert({row:0,column:0},t)}return t.prototype.setValue=function(t){var e=this.getLength()-1;this.remove(new a(0,0,e,this.getLine(e).length)),this.insert({row:0,column:0},t||"")},t.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},t.prototype.createAnchor=function(t,e){return new i(this,t,e)},t.prototype.$detectNewLine=function(t){var e=t.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=e?e[1]:"\n",this._signal("changeNewLineMode")},t.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},t.prototype.setNewLineMode=function(t){this.$newLineMode!==t&&(this.$newLineMode=t,this._signal("changeNewLineMode"))},t.prototype.getNewLineMode=function(){return this.$newLineMode},t.prototype.isNewLine=function(t){return"\r\n"==t||"\r"==t||"\n"==t},t.prototype.getLine=function(t){return this.$lines[t]||""},t.prototype.getLines=function(t,e){return this.$lines.slice(t,e+1)},t.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},t.prototype.getLength=function(){return this.$lines.length},t.prototype.getTextRange=function(t){return this.getLinesForRange(t).join(this.getNewLineCharacter())},t.prototype.getLinesForRange=function(t){var e;if(t.start.row===t.end.row)e=[this.getLine(t.start.row).substring(t.start.column,t.end.column)];else{(e=this.getLines(t.start.row,t.end.row))[0]=(e[0]||"").substring(t.start.column);var n=e.length-1;t.end.row-t.start.row==n&&(e[n]=e[n].substring(0,t.end.column))}return e},t.prototype.insertLines=function(t,e){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(t,e)},t.prototype.removeLines=function(t,e){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(t,e)},t.prototype.insertNewLine=function(t){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(t,["",""])},t.prototype.insert=function(t,e){return this.getLength()<=1&&this.$detectNewLine(e),this.insertMergedLines(t,this.$split(e))},t.prototype.insertInLine=function(t,e){var n=this.clippedPos(t.row,t.column),r=this.pos(t.row,t.column+e.length);return this.applyDelta({start:n,end:r,action:"insert",lines:[e]},!0),this.clonePos(r)},t.prototype.clippedPos=function(t,e){var n=this.getLength();void 0===t?t=n:t<0?t=0:t>=n&&(t=n-1,e=void 0);var r=this.getLine(t);return null==e&&(e=r.length),{row:t,column:e=Math.min(Math.max(e,0),r.length)}},t.prototype.clonePos=function(t){return{row:t.row,column:t.column}},t.prototype.pos=function(t,e){return{row:t,column:e}},t.prototype.$clipPosition=function(t){var e=this.getLength();return t.row>=e?(t.row=Math.max(0,e-1),t.column=this.getLine(e-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},t.prototype.insertFullLines=function(t,e){var n=0;(t=Math.min(Math.max(t,0),this.getLength()))<this.getLength()?(e=e.concat([""]),n=0):(e=[""].concat(e),t--,n=this.$lines[t].length),this.insertMergedLines({row:t,column:n},e)},t.prototype.insertMergedLines=function(t,e){var n=this.clippedPos(t.row,t.column),r={row:n.row+e.length-1,column:(1==e.length?n.column:0)+e[e.length-1].length};return this.applyDelta({start:n,end:r,action:"insert",lines:e}),this.clonePos(r)},t.prototype.remove=function(t){var e=this.clippedPos(t.start.row,t.start.column),n=this.clippedPos(t.end.row,t.end.column);return this.applyDelta({start:e,end:n,action:"remove",lines:this.getLinesForRange({start:e,end:n})}),this.clonePos(e)},t.prototype.removeInLine=function(t,e,n){var r=this.clippedPos(t,e),s=this.clippedPos(t,n);return this.applyDelta({start:r,end:s,action:"remove",lines:this.getLinesForRange({start:r,end:s})},!0),this.clonePos(r)},t.prototype.removeFullLines=function(t,e){t=Math.min(Math.max(0,t),this.getLength()-1);var n=(e=Math.min(Math.max(0,e),this.getLength()-1))==this.getLength()-1&&t>0,r=e<this.getLength()-1,s=n?t-1:t,o=n?this.getLine(s).length:0,i=r?e+1:e,_=r?0:this.getLine(i).length,T=new a(s,o,i,_),u=this.$lines.slice(t,e+1);return this.applyDelta({start:T.start,end:T.end,action:"remove",lines:this.getLinesForRange(T)}),u},t.prototype.removeNewLine=function(t){t<this.getLength()-1&&t>=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},t.prototype.replace=function(t,e){return t instanceof a||(t=a.fromPoints(t.start,t.end)),0===e.length&&t.isEmpty()?t.start:e==this.getTextRange(t)?t.end:(this.remove(t),e?this.insert(t.start,e):t.start)},t.prototype.applyDeltas=function(t){for(var e=0;e<t.length;e++)this.applyDelta(t[e])},t.prototype.revertDeltas=function(t){for(var e=t.length-1;e>=0;e--)this.revertDelta(t[e])},t.prototype.applyDelta=function(t,e){var n="insert"==t.action;(n?t.lines.length<=1&&!t.lines[0]:!a.comparePoints(t.start,t.end))||(n&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(s(this.$lines,t,e),this._signal("change",t)))},t.prototype.$safeApplyDelta=function(t){var e=this.$lines.length;("remove"==t.action&&t.start.row<e&&t.end.row<e||"insert"==t.action&&t.start.row<=e)&&this.applyDelta(t)},t.prototype.$splitAndapplyLargeDelta=function(t,e){for(var n=t.lines,r=n.length-e+1,s=t.start.row,o=t.start.column,a=0,i=0;a<r;a=i){i+=e-1;var _=n.slice(a,i);_.push(""),this.applyDelta({start:this.pos(s+a,o),end:this.pos(s+i,o=0),action:t.action,lines:_},!0)}t.lines=n.slice(a),t.start.row=s+a,t.start.column=o,this.applyDelta(t,!0)},t.prototype.revertDelta=function(t){this.$safeApplyDelta({start:this.clonePos(t.start),end:this.clonePos(t.end),action:"insert"==t.action?"remove":"insert",lines:t.lines.slice()})},t.prototype.indexToPosition=function(t,e){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,s=e||0,o=n.length;s<o;s++)if((t-=n[s].length+r)<0)return{row:s,column:t+n[s].length+r};return{row:o-1,column:t+n[o-1].length+r}},t.prototype.positionToIndex=function(t,e){for(var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,s=0,o=Math.min(t.row,n.length),a=e||0;a<o;++a)s+=n[a].length+r;return s+t.column},t.prototype.$split=function(t){return t.split(/\r\n|\r|\n/)},t}();_.prototype.$autoNewLine="",_.prototype.$newLineMode="auto",r.implement(_.prototype,o),e.Document=_})),ace.define("ace/lib/deep_copy",[],(function(t,e,n){e.deepCopy=function t(e){if("object"!=typeof e||!e)return e;var n;if(Array.isArray(e)){n=[];for(var r=0;r<e.length;r++)n[r]=t(e[r]);return n}if("[object Object]"!==Object.prototype.toString.call(e))return e;for(var r in n={},e)n[r]=t(e[r]);return n}})),ace.define("ace/lib/lang",[],(function(t,e,n){"use strict";e.last=function(t){return t[t.length-1]},e.stringReverse=function(t){return t.split("").reverse().join("")},e.stringRepeat=function(t,e){for(var n="";e>0;)1&e&&(n+=t),(e>>=1)&&(t+=t);return n};var r=/^\s\s*/,s=/\s\s*$/;e.stringTrimLeft=function(t){return t.replace(r,"")},e.stringTrimRight=function(t){return t.replace(s,"")},e.copyObject=function(t){var e={};for(var n in t)e[n]=t[n];return e},e.copyArray=function(t){for(var e=[],n=0,r=t.length;n<r;n++)t[n]&&"object"==typeof t[n]?e[n]=this.copyObject(t[n]):e[n]=t[n];return e},e.deepCopy=t("./deep_copy").deepCopy,e.arrayToMap=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=1;return e},e.createMap=function(t){var e=Object.create(null);for(var n in t)e[n]=t[n];return e},e.arrayRemove=function(t,e){for(var n=0;n<=t.length;n++)e===t[n]&&t.splice(n,1)},e.escapeRegExp=function(t){return t.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},e.escapeHTML=function(t){return(""+t).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},e.getMatchOffsets=function(t,e){var n=[];return t.replace(e,(function(t){n.push({offset:arguments[arguments.length-2],length:t.length})})),n},e.deferredCall=function(t){var e=null,n=function(){e=null,t()},r=function(t){return r.cancel(),e=setTimeout(n,t||0),r};return r.schedule=r,r.call=function(){return this.cancel(),t(),r},r.cancel=function(){return clearTimeout(e),e=null,r},r.isPending=function(){return e},r},e.delayedCall=function(t,e){var n=null,r=function(){n=null,t()},s=function(t){null==n&&(n=setTimeout(r,t||e))};return s.delay=function(t){n&&clearTimeout(n),n=setTimeout(r,t||e)},s.schedule=s,s.call=function(){this.cancel(),t()},s.cancel=function(){n&&clearTimeout(n),n=null},s.isPending=function(){return n},s},e.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch(t){return!1}return!0},e.skipEmptyMatch=function(t,e,n){return n&&t.codePointAt(e)>65535?2:1}})),ace.define("ace/worker/mirror",[],(function(t,e,n){"use strict";var r=t("../document").Document,s=t("../lib/lang"),o=e.Mirror=function(t){this.sender=t;var e=this.doc=new r(""),n=this.deferredUpdate=s.delayedCall(this.onUpdate.bind(this)),o=this;t.on("change",(function(t){var r=t.data;if(r[0].start)e.applyDeltas(r);else for(var s=0;s<r.length;s+=2){var a,i;if(("insert"==(a=Array.isArray(r[s+1])?{action:"insert",start:r[s],lines:r[s+1]}:{action:"remove",start:r[s],end:r[s+1]}).action?a.start:a.end).row>=e.$lines.length)throw(i=new Error("Invalid delta")).data={path:o.$path,linesLength:e.$lines.length,start:a.start,end:a.end},i;e.applyDelta(a,!0)}if(o.$timeout)return n.schedule(o.$timeout);o.onUpdate()}))};(function(){this.$timeout=500,this.setTimeout=function(t){this.$timeout=t},this.setValue=function(t){this.doc.setValue(t),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(t){this.sender.callback(this.doc.getValue(),t)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(o.prototype)})),ace.define("ace/mode/php/php",[],(function(t,e,n){var r={Constants:{}};r.Constants.T_THROW=317,r.Constants.T_INCLUDE=272,r.Constants.T_INCLUDE_ONCE=273,r.Constants.T_EVAL=274,r.Constants.T_REQUIRE=275,r.Constants.T_REQUIRE_ONCE=276,r.Constants.T_LOGICAL_OR=277,r.Constants.T_LOGICAL_XOR=278,r.Constants.T_LOGICAL_AND=279,r.Constants.T_PRINT=280,r.Constants.T_YIELD=281,r.Constants.T_DOUBLE_ARROW=386,r.Constants.T_YIELD_FROM=282,r.Constants.T_PLUS_EQUAL=352,r.Constants.T_MINUS_EQUAL=353,r.Constants.T_MUL_EQUAL=354,r.Constants.T_DIV_EQUAL=355,r.Constants.T_CONCAT_EQUAL=356,r.Constants.T_MOD_EQUAL=357,r.Constants.T_AND_EQUAL=358,r.Constants.T_OR_EQUAL=359,r.Constants.T_XOR_EQUAL=360,r.Constants.T_SL_EQUAL=361,r.Constants.T_SR_EQUAL=362,r.Constants.T_POW_EQUAL=402,r.Constants.T_COALESCE_EQUAL=363,r.Constants.T_COALESCE=400,r.Constants.T_BOOLEAN_OR=364,r.Constants.T_BOOLEAN_AND=365,r.Constants.T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG=404,r.Constants.T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG=403,r.Constants.T_IS_EQUAL=366,r.Constants.T_IS_NOT_EQUAL=367,r.Constants.T_IS_IDENTICAL=368,r.Constants.T_IS_NOT_IDENTICAL=369,r.Constants.T_SPACESHIP=372,r.Constants.T_IS_SMALLER_OR_EQUAL=370,r.Constants.T_IS_GREATER_OR_EQUAL=371,r.Constants.T_SL=373,r.Constants.T_SR=374,r.Constants.T_INSTANCEOF=283,r.Constants.T_INC=375,r.Constants.T_DEC=376,r.Constants.T_INT_CAST=377,r.Constants.T_DOUBLE_CAST=378,r.Constants.T_STRING_CAST=379,r.Constants.T_ARRAY_CAST=380,r.Constants.T_OBJECT_CAST=381,r.Constants.T_BOOL_CAST=382,r.Constants.T_UNSET_CAST=383,r.Constants.T_POW=401,r.Constants.T_NEW=284,r.Constants.T_CLONE=285,r.Constants.T_EXIT=286,r.Constants.T_IF=287,r.Constants.T_ELSEIF=288,r.Constants.T_ELSE=289,r.Constants.T_ENDIF=290,r.Constants.T_LNUMBER=260,r.Constants.T_DNUMBER=261,r.Constants.T_STRING=262,r.Constants.T_STRING_VARNAME=270,r.Constants.T_VARIABLE=266,r.Constants.T_NUM_STRING=271,r.Constants.T_INLINE_HTML=267,r.Constants.T_ENCAPSED_AND_WHITESPACE=268,r.Constants.T_CONSTANT_ENCAPSED_STRING=269,r.Constants.T_ECHO=291,r.Constants.T_DO=292,r.Constants.T_WHILE=293,r.Constants.T_ENDWHILE=294,r.Constants.T_FOR=295,r.Constants.T_ENDFOR=296,r.Constants.T_FOREACH=297,r.Constants.T_ENDFOREACH=298,r.Constants.T_DECLARE=299,r.Constants.T_ENDDECLARE=300,r.Constants.T_AS=301,r.Constants.T_SWITCH=302,r.Constants.T_MATCH=306,r.Constants.T_ENDSWITCH=303,r.Constants.T_CASE=304,r.Constants.T_DEFAULT=305,r.Constants.T_BREAK=307,r.Constants.T_CONTINUE=308,r.Constants.T_GOTO=309,r.Constants.T_FUNCTION=310,r.Constants.T_FN=311,r.Constants.T_CONST=312,r.Constants.T_RETURN=313,r.Constants.T_TRY=314,r.Constants.T_CATCH=315,r.Constants.T_FINALLY=316,r.Constants.T_THROW=317,r.Constants.T_USE=318,r.Constants.T_INSTEADOF=319,r.Constants.T_GLOBAL=320,r.Constants.T_STATIC=321,r.Constants.T_ABSTRACT=322,r.Constants.T_FINAL=323,r.Constants.T_PRIVATE=324,r.Constants.T_PROTECTED=325,r.Constants.T_PUBLIC=326,r.Constants.T_READONLY=327,r.Constants.T_VAR=328,r.Constants.T_UNSET=329,r.Constants.T_ISSET=330,r.Constants.T_EMPTY=331,r.Constants.T_HALT_COMPILER=332,r.Constants.T_CLASS=333,r.Constants.T_TRAIT=334,r.Constants.T_INTERFACE=335,r.Constants.T_ENUM=336,r.Constants.T_EXTENDS=337,r.Constants.T_IMPLEMENTS=338,r.Constants.T_OBJECT_OPERATOR=384,r.Constants.T_NULLSAFE_OBJECT_OPERATOR=385,r.Constants.T_DOUBLE_ARROW=386,r.Constants.T_LIST=340,r.Constants.T_ARRAY=341,r.Constants.T_CALLABLE=342,r.Constants.T_CLASS_C=346,r.Constants.T_TRAIT_C=347,r.Constants.T_METHOD_C=348,r.Constants.T_FUNC_C=349,r.Constants.T_LINE=343,r.Constants.T_FILE=344,r.Constants.T_START_HEREDOC=393,r.Constants.T_END_HEREDOC=394,r.Constants.T_DOLLAR_OPEN_CURLY_BRACES=395,r.Constants.T_CURLY_OPEN=396,r.Constants.T_PAAMAYIM_NEKUDOTAYIM=397,r.Constants.T_NAMESPACE=339,r.Constants.T_NS_C=350,r.Constants.T_DIR=345,r.Constants.T_NS_SEPARATOR=398,r.Constants.T_ELLIPSIS=399,r.Constants.T_NAME_FULLY_QUALIFIED=263,r.Constants.T_NAME_QUALIFIED=265,r.Constants.T_NAME_RELATIVE=264,r.Constants.T_ATTRIBUTE=351,r.Constants.T_ENUM=336,r.Constants.T_BAD_CHARACTER=405,r.Constants.T_COMMENT=387,r.Constants.T_DOC_COMMENT=388,r.Constants.T_OPEN_TAG=389,r.Constants.T_OPEN_TAG_WITH_ECHO=390,r.Constants.T_CLOSE_TAG=391,r.Constants.T_WHITESPACE=392,r.Lexer=function(t,e){var n,s,o=["INITIAL"],a=0,i=function(t){o[a]=t},_=function(t){o[++a]=t},T=function(){--a},u=void 0===e||/^(on|true|1)$/i.test(e.short_open_tag),E=u?/^(\<\?php(?:\r\n|[ \t\r\n])|<\?|\<script language\=('|")?php('|")?\>)/i:/^(\<\?php(?:\r\n|[ \t\r\n])|\<script language\=('|")?php('|")?\>)/i,p=u?/[^<]*(?:<(?!\?|script language\=('|")?php('|")?\>)[^<]*)*/i:/[^<]*(?:<(?!\?=|\?php[ \t\r\n]|script language\=('|")?php('|")?\>)[^<]*)*/i,l="[a-zA-Z_\\x7f-\\uffff][a-zA-Z0-9_\\x7f-\\uffff]*",C=function(t){return"[^"+t+"\\\\${]*(?:(?:\\\\[\\s\\S]|\\$(?!\\{|[a-zA-Z_\\x7f-\\uffff])|\\{(?!\\$))[^"+t+"\\\\${]*)*"},A=[{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+l+"(?=\\[)"),func:function(){_("VAR_OFFSET")}},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+l+"(?=->"+l+")"),func:function(){_("LOOKING_FOR_PROPERTY")}},{value:r.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:new RegExp("^\\$\\{(?="+l+"[\\[}])"),func:function(){_("LOOKING_FOR_VARNAME")}},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+l)},{value:r.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:/^\$\{/,func:function(){_("IN_SCRIPTING")}},{value:r.Constants.T_CURLY_OPEN,re:/^\{(?=\$)/,func:function(){_("IN_SCRIPTING")}}],c={INITIAL:[{value:r.Constants.T_OPEN_TAG_WITH_ECHO,re:/^<\?=/i,func:function(){i("IN_SCRIPTING")}},{value:r.Constants.T_OPEN_TAG,re:E,func:function(){i("IN_SCRIPTING")}},{value:r.Constants.T_INLINE_HTML,re:p}],IN_SCRIPTING:[{value:r.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/},{value:r.Constants.T_ABSTRACT,re:/^abstract\b/i},{value:r.Constants.T_LOGICAL_AND,re:/^and\b/i},{value:r.Constants.T_ARRAY,re:/^array\b/i},{value:r.Constants.T_AS,re:/^as\b/i},{value:r.Constants.T_BREAK,re:/^break\b/i},{value:r.Constants.T_CALLABLE,re:/^callable\b/i},{value:r.Constants.T_CASE,re:/^case\b/i},{value:r.Constants.T_CATCH,re:/^catch\b/i},{value:r.Constants.T_CLASS,re:/^class\b/i},{value:r.Constants.T_CLONE,re:/^clone\b/i},{value:r.Constants.T_CONST,re:/^const\b/i},{value:r.Constants.T_CONTINUE,re:/^continue\b/i},{value:r.Constants.T_DECLARE,re:/^declare\b/i},{value:r.Constants.T_DEFAULT,re:/^default\b/i},{value:r.Constants.T_DO,re:/^do\b/i},{value:r.Constants.T_ECHO,re:/^echo\b/i},{value:r.Constants.T_ELSE,re:/^else\b/i},{value:r.Constants.T_ELSEIF,re:/^elseif\b/i},{value:r.Constants.T_ENUM,re:/^enum\b/i},{value:r.Constants.T_ENDDECLARE,re:/^enddeclare\b/i},{value:r.Constants.T_ENDFOR,re:/^endfor\b/i},{value:r.Constants.T_ENDFOREACH,re:/^endforeach\b/i},{value:r.Constants.T_ENDIF,re:/^endif\b/i},{value:r.Constants.T_ENDSWITCH,re:/^endswitch\b/i},{value:r.Constants.T_ENDWHILE,re:/^endwhile\b/i},{value:r.Constants.T_ENUM,re:/^enum\b/i},{value:r.Constants.T_EMPTY,re:/^empty\b/i},{value:r.Constants.T_EVAL,re:/^eval\b/i},{value:r.Constants.T_EXIT,re:/^(?:exit|die)\b/i},{value:r.Constants.T_EXTENDS,re:/^extends\b/i},{value:r.Constants.T_FINAL,re:/^final\b/i},{value:r.Constants.T_FINALLY,re:/^finally\b/i},{value:r.Constants.T_FN,re:/^fn\b/i},{value:r.Constants.T_FOR,re:/^for\b/i},{value:r.Constants.T_FOREACH,re:/^foreach\b/i},{value:r.Constants.T_FUNCTION,re:/^function\b/i},{value:r.Constants.T_GLOBAL,re:/^global\b/i},{value:r.Constants.T_GOTO,re:/^goto\b/i},{value:r.Constants.T_IF,re:/^if\b/i},{value:r.Constants.T_IMPLEMENTS,re:/^implements\b/i},{value:r.Constants.T_INCLUDE,re:/^include\b/i},{value:r.Constants.T_INCLUDE_ONCE,re:/^include_once\b/i},{value:r.Constants.T_INSTANCEOF,re:/^instanceof\b/i},{value:r.Constants.T_INSTEADOF,re:/^insteadof\b/i},{value:r.Constants.T_INTERFACE,re:/^interface\b/i},{value:r.Constants.T_ISSET,re:/^isset\b/i},{value:r.Constants.T_LIST,re:/^list\b/i},{value:r.Constants.T_MATCH,re:/^match\b/i},{value:r.Constants.T_NEW,re:/^new\b/i},{value:r.Constants.T_LOGICAL_OR,re:/^or\b/i},{value:r.Constants.T_PRINT,re:/^print\b/i},{value:r.Constants.T_PRIVATE,re:/^private\b/i},{value:r.Constants.T_PROTECTED,re:/^protected\b/i},{value:r.Constants.T_PUBLIC,re:/^public\b/i},{value:r.Constants.T_READONLY,re:/^readonly\b/i},{value:r.Constants.T_REQUIRE,re:/^require\b/i},{value:r.Constants.T_REQUIRE_ONCE,re:/^require_once\b/i},{value:r.Constants.T_STATIC,re:/^static\b/i},{value:r.Constants.T_SWITCH,re:/^switch\b/i},{value:r.Constants.T_THROW,re:/^throw\b/i},{value:r.Constants.T_TRAIT,re:/^trait\b/i},{value:r.Constants.T_TRY,re:/^try\b/i},{value:r.Constants.T_UNSET,re:/^unset\b/i},{value:r.Constants.T_USE,re:/^use\b/i},{value:r.Constants.T_VAR,re:/^var\b/i},{value:r.Constants.T_WHILE,re:/^while\b/i},{value:r.Constants.T_LOGICAL_XOR,re:/^xor\b/i},{value:r.Constants.T_YIELD_FROM,re:/^yield\s+from\b/i},{value:r.Constants.T_YIELD,re:/^yield\b/i},{value:r.Constants.T_RETURN,re:/^return\b/i},{value:r.Constants.T_METHOD_C,re:/^__METHOD__\b/i},{value:r.Constants.T_LINE,re:/^__LINE__\b/i},{value:r.Constants.T_FILE,re:/^__FILE__\b/i},{value:r.Constants.T_FUNC_C,re:/^__FUNCTION__\b/i},{value:r.Constants.T_NS_C,re:/^__NAMESPACE__\b/i},{value:r.Constants.T_TRAIT_C,re:/^__TRAIT__\b/i},{value:r.Constants.T_DIR,re:/^__DIR__\b/i},{value:r.Constants.T_CLASS_C,re:/^__CLASS__\b/i},{value:r.Constants.T_AND_EQUAL,re:/^&=/},{value:r.Constants.T_ARRAY_CAST,re:/^\([ \t]*array[ \t]*\)/i},{value:r.Constants.T_BOOL_CAST,re:/^\([ \t]*(?:bool|boolean)[ \t]*\)/i},{value:r.Constants.T_DOUBLE_CAST,re:/^\([ \t]*(?:real|float|double)[ \t]*\)/i},{value:r.Constants.T_INT_CAST,re:/^\([ \t]*(?:int|integer)[ \t]*\)/i},{value:r.Constants.T_OBJECT_CAST,re:/^\([ \t]*object[ \t]*\)/i},{value:r.Constants.T_STRING_CAST,re:/^\([ \t]*(?:binary|string)[ \t]*\)/i},{value:r.Constants.T_UNSET_CAST,re:/^\([ \t]*unset[ \t]*\)/i},{value:r.Constants.T_BOOLEAN_AND,re:/^&&/},{value:r.Constants.T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG,re:/^&(?=[$])/},{value:r.Constants.T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG,re:/^(&)(?=[^\$|^&])/},{value:r.Constants.T_BOOLEAN_OR,re:/^\|\|/},{value:r.Constants.T_CLOSE_TAG,re:/^(?:\?>|<\/script>)(\r\n|\r|\n)?/i,func:function(){i("INITIAL")}},{value:r.Constants.T_DOUBLE_ARROW,re:/^=>/},{value:r.Constants.T_PAAMAYIM_NEKUDOTAYIM,re:/^::/},{value:r.Constants.T_INC,re:/^\+\+/},{value:r.Constants.T_DEC,re:/^--/},{value:r.Constants.T_CONCAT_EQUAL,re:/^\.=/},{value:r.Constants.T_DIV_EQUAL,re:/^\/=/},{value:r.Constants.T_XOR_EQUAL,re:/^\^=/},{value:r.Constants.T_MUL_EQUAL,re:/^\*=/},{value:r.Constants.T_MOD_EQUAL,re:/^%=/},{value:r.Constants.T_SL_EQUAL,re:/^<<=/},{value:r.Constants.T_START_HEREDOC,re:new RegExp("^[bB]?<<<[ \\t]*'("+l+")'(?:\\r\\n|\\r|\\n)"),func:function(t){n=t[1],i("NOWDOC")}},{value:r.Constants.T_START_HEREDOC,re:new RegExp('^[bB]?<<<[ \\t]*("?)('+l+")\\1(?:\\r\\n|\\r|\\n)"),func:function(t){n=t[2],s=!0,i("HEREDOC")}},{value:r.Constants.T_SL,re:/^<</},{value:r.Constants.T_SPACESHIP,re:/^<=>/},{value:r.Constants.T_IS_SMALLER_OR_EQUAL,re:/^<=/},{value:r.Constants.T_SR_EQUAL,re:/^>>=/},{value:r.Constants.T_SR,re:/^>>/},{value:r.Constants.T_IS_GREATER_OR_EQUAL,re:/^>=/},{value:r.Constants.T_OR_EQUAL,re:/^\|=/},{value:r.Constants.T_PLUS_EQUAL,re:/^\+=/},{value:r.Constants.T_MINUS_EQUAL,re:/^-=/},{value:r.Constants.T_OBJECT_OPERATOR,re:new RegExp("^->(?=[ \n\r\t]*"+l+")"),func:function(){_("LOOKING_FOR_PROPERTY")}},{value:r.Constants.T_OBJECT_OPERATOR,re:/^->/i},{value:r.Constants.T_ELLIPSIS,re:/^\.\.\./},{value:r.Constants.T_POW_EQUAL,re:/^\*\*=/},{value:r.Constants.T_POW,re:/^\*\*/},{value:r.Constants.T_COALESCE_EQUAL,re:/^\?\?=/},{value:r.Constants.T_COALESCE,re:/^\?\?/},{value:r.Constants.T_NULLSAFE_OBJECT_OPERATOR,re:/^\?->/},{value:r.Constants.T_NAME_FULLY_QUALIFIED,re:/^\\\w+(?:\\\w+)*/},{value:r.Constants.T_NAME_QUALIFIED,re:/^\w+\\\w+(?:\\\w+)*/},{value:r.Constants.T_NAME_RELATIVE,re:/^namespace\\\w+(?:\\\w+)*/},{value:r.Constants.T_NAMESPACE,re:/^namespace\b/i},{value:r.Constants.T_ATTRIBUTE,re:/^#\[([\S\s]*?)]/},{value:r.Constants.T_COMMENT,re:/^\/\*([\S\s]*?)(?:\*\/|$)/},{value:r.Constants.T_COMMENT,re:/^(?:\/\/|#)[^\r\n?]*(?:\?(?!>)[^\r\n?]*)*(?:\r\n|\r|\n)?/},{value:r.Constants.T_IS_IDENTICAL,re:/^===/},{value:r.Constants.T_IS_EQUAL,re:/^==/},{value:r.Constants.T_IS_NOT_IDENTICAL,re:/^!==/},{value:r.Constants.T_IS_NOT_EQUAL,re:/^(!=|<>)/},{value:r.Constants.T_DNUMBER,re:/^(?:[0-9]+\.[0-9]*|\.[0-9]+)(?:[eE][+-]?[0-9]+)?/},{value:r.Constants.T_DNUMBER,re:/^[0-9]+[eE][+-]?[0-9]+/},{value:r.Constants.T_LNUMBER,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+l)},{value:r.Constants.T_CONSTANT_ENCAPSED_STRING,re:/^[bB]?'[^'\\]*(?:\\[\s\S][^'\\]*)*'/},{value:r.Constants.T_CONSTANT_ENCAPSED_STRING,re:new RegExp('^[bB]?"'+C('"')+'"')},{value:-1,re:/^[bB]?"/,func:function(){i("DOUBLE_QUOTES")}},{value:-1,re:/^`/,func:function(){i("BACKTICKS")}},{value:r.Constants.T_NS_SEPARATOR,re:/^\\/},{value:r.Constants.T_STRING,re:/^[a-zA-Z_\x7f-\uffff][a-zA-Z0-9_\x7f-\uffff]*/},{value:-1,re:/^\{/,func:function(){_("IN_SCRIPTING")}},{value:-1,re:/^\}/,func:function(){a>0&&T()}},{value:-1,re:/^[\[\];:?()!.,><=+-/*|&@^%"'$~]/}],DOUBLE_QUOTES:A.concat([{value:-1,re:/^"/,func:function(){i("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+C('"'))}]),BACKTICKS:A.concat([{value:-1,re:/^`/,func:function(){i("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+C("`"))}]),VAR_OFFSET:[{value:-1,re:/^\]/,func:function(){T()}},{value:r.Constants.T_NUM_STRING,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:r.Constants.T_VARIABLE,re:new RegExp("^\\$"+l)},{value:r.Constants.T_STRING,re:new RegExp("^"+l)},{value:-1,re:/^[;:,.\[()|^&+-/*=%!~$<>?@{}"`]/}],LOOKING_FOR_PROPERTY:[{value:r.Constants.T_OBJECT_OPERATOR,re:/^->/},{value:r.Constants.T_STRING,re:new RegExp("^"+l),func:function(){T()}},{value:r.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/}],LOOKING_FOR_VARNAME:[{value:r.Constants.T_STRING_VARNAME,re:new RegExp("^"+l+"(?=[\\[}])"),func:function(){i("IN_SCRIPTING")}}],NOWDOC:[{value:r.Constants.T_END_HEREDOC,matchFunc:function(t){var e=new RegExp("^"+n+"(?=;?[\\r\\n])");return t.match(e)?[t.substr(0,n.length)]:null},func:function(){i("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(t){var e=new RegExp("[\\r\\n]"+n+"(?=;?[\\r\\n])").exec(t),r=e?e.index+1:t.length;return[t.substring(0,r)]}}],HEREDOC:A.concat([{value:r.Constants.T_END_HEREDOC,matchFunc:function(t){if(!s)return null;var e=new RegExp("^"+n+"(?=;?[\\r\\n])");return t.match(e)?[t.substr(0,n.length)]:null},func:function(){i("IN_SCRIPTING")}},{value:r.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(t){var e=t.length,r=new RegExp("^"+C("")),o=r.exec(t);return o&&(e=o[0].length),(o=(r=new RegExp("([\\r\\n])"+n+"(?=;?[\\r\\n])")).exec(t.substring(0,e)))?(e=o.index+1,s=!0):s=!1,0==e?null:[t.substring(0,e)]}}])},h=[],L=1,N=!0;if(null===t)return h;for("string"!=typeof t&&(t=t.toString());t.length>0&&!0===N;){N=c[o[a]].some((function(e){var n=void 0!==e.matchFunc?e.matchFunc(t):t.match(e.re);if(null!==n){if(0==n[0].length)throw new Error("empty match");if(void 0!==e.func&&e.func(n),-1===e.value)h.push(n[0]);else{var r=n[0];h.push([parseInt(e.value,10),r,L]),L+=r.split("\n").length-1}return t=t.substring(n[0].length),!0}return!1}))}return h},r.Parser=function(t,e){var n=this.yybase,s=this.yydefault,o=this.yycheck,a=this.yyaction,i=this.yylen,_=this.yygbase,T=this.yygcheck,u=this.yyp,E=this.yygoto,p=this.yylhs,l=this.terminals,C=this.translate,A=this.yygdefault;this.pos=-1,this.line=1,this.tokenMap=this.createTokenMap(),this.dropTokens={},this.dropTokens[r.Constants.T_WHITESPACE]=1,this.dropTokens[r.Constants.T_OPEN_TAG]=1;var c=[];t.forEach((function(t,e){"object"==typeof t&&t[0]===r.Constants.T_OPEN_TAG_WITH_ECHO?(c.push([r.Constants.T_OPEN_TAG,t[1],t[2]]),c.push([r.Constants.T_ECHO,t[1],t[2]])):c.push(t)})),this.tokens=c;var h=this.TOKEN_NONE;this.startAttributes={startLine:1},this.endAttributes={};var L,N,R=[this.startAttributes],O=0,f=[O];for(this.yyastk=[],this.stackPos=0;;){if(0===n[O])L=s[O];else if(h===this.TOKEN_NONE&&(h=(N=this.getNextToken())>=0&&N<this.TOKEN_MAP_SIZE?C[N]:this.TOKEN_INVALID,R[this.stackPos]=this.startAttributes),((L=n[O]+h)>=0&&L<this.YYLAST&&o[L]===h||O<this.YY2TBLSTATE&&(L=n[O+this.YYNLSTATES]+h)>=0&&L<this.YYLAST&&o[L]===h)&&(L=a[L])!==this.YYDEFAULT)if(L>0){if(++this.stackPos,f[this.stackPos]=O=L,this.yyastk[this.stackPos]=this.tokenValue,R[this.stackPos]=this.startAttributes,h=this.TOKEN_NONE,L<this.YYNLSTATES)continue;L-=this.YYNLSTATES}else L=-L;else L=s[O];for(;;){if(0===L)return this.yyval;if(L===this.YYUNEXPECTED){if(!0!==e){for(var I=[],S=0;S<this.TOKEN_MAP_SIZE;++S)if(((L=n[O]+S)>=0&&L<this.YYLAST&&o[L]==S||O<this.YY2TBLSTATE&&(L=n[O+this.YYNLSTATES]+S)&&L<this.YYLAST&&o[L]==S)&&a[L]!=this.YYUNEXPECTED){if(4==I.length){I=[];break}I.push(this.terminals[S])}var P="";throw I.length&&(P=", expecting "+I.join(" or ")),new r.ParseError("syntax error, unexpected "+l[h]+P,this.startAttributes.startLine)}return this.startAttributes.startLine}for(var y in this.endAttributes)R[this.stackPos-i[L]][y]=this.endAttributes[y];if(this.stackPos-=i[L],O=(u=_[L=p[L]]+f[this.stackPos])>=0&&u<this.YYGLAST&&T[u]===L?E[u]:A[L],++this.stackPos,f[this.stackPos]=O,this.yyastk[this.stackPos]=this.yyval,R[this.stackPos]=this.startAttributes,O<this.YYNLSTATES)break;L=O-this.YYNLSTATES}}},r.ParseError=function(t,e){this.message=t,this.line=e},r.Parser.prototype.getNextToken=function(){var t,e;for(this.startAttributes={},this.endAttributes={};void 0!==this.tokens[++this.pos];){if("string"==typeof(t=this.tokens[this.pos]))return this.startAttributes.startLine=this.line,this.endAttributes.endLine=this.line,'b"'===t?(this.tokenValue='b"','"'.charCodeAt(0)):(this.tokenValue=t,t.charCodeAt(0));if(this.line+=null===(e=t[1].match(/\n/g))?0:e.length,r.Constants.T_COMMENT===t[0])Array.isArray(this.startAttributes.comments)||(this.startAttributes.comments=[]),this.startAttributes.comments.push({type:"comment",comment:t[1],line:t[2]});else if(r.Constants.T_ATTRIBUTE===t[0])this.tokenValue=t[1],this.startAttributes.startLine=t[2],this.endAttributes.endLine=this.line;else if(r.Constants.T_DOC_COMMENT===t[0])this.startAttributes.comments.push(new PHPParser_Comment_Doc(t[1],t[2]));else if(void 0===this.dropTokens[t[0]])return this.tokenValue=t[1],this.startAttributes.startLine=t[2],this.endAttributes.endLine=this.line,this.tokenMap[t[0]]}return this.startAttributes.startLine=this.line,0},r.Parser.prototype.tokenName=function(t){var e="UNKNOWN";return["T_THROW","T_INCLUDE","T_INCLUDE_ONCE","T_EVAL","T_REQUIRE","T_REQUIRE_ONCE","T_LOGICAL_OR","T_LOGICAL_XOR","T_LOGICAL_AND","T_PRINT","T_YIELD","T_DOUBLE_ARROW","T_YIELD_FROM","T_PLUS_EQUAL","T_MINUS_EQUAL","T_MUL_EQUAL","T_DIV_EQUAL","T_CONCAT_EQUAL","T_MOD_EQUAL","T_AND_EQUAL","T_OR_EQUAL","T_XOR_EQUAL","T_SL_EQUAL","T_SR_EQUAL","T_POW_EQUAL","T_COALESCE_EQUAL","T_COALESCE","T_BOOLEAN_OR","T_BOOLEAN_AND","T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG","T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG","T_IS_EQUAL","T_IS_NOT_EQUAL","T_IS_IDENTICAL","T_IS_NOT_IDENTICAL","T_SPACESHIP","T_IS_SMALLER_OR_EQUAL","T_IS_GREATER_OR_EQUAL","T_SL","T_SR","T_INSTANCEOF","T_INC","T_DEC","T_INT_CAST","T_DOUBLE_CAST","T_STRING_CAST","T_ARRAY_CAST","T_OBJECT_CAST","T_BOOL_CAST","T_UNSET_CAST","T_POW","T_NEW","T_CLONE","T_EXIT","T_IF","T_ELSEIF","T_ELSE","T_ENDIF","T_LNUMBER","T_DNUMBER","T_STRING","T_STRING_VARNAME","T_VARIABLE","T_NUM_STRING","T_INLINE_HTML","T_ENCAPSED_AND_WHITESPACE","T_CONSTANT_ENCAPSED_STRING","T_ECHO","T_DO","T_WHILE","T_ENDWHILE","T_FOR","T_ENDFOR","T_FOREACH","T_ENDFOREACH","T_DECLARE","T_ENDDECLARE","T_AS","T_SWITCH","T_MATCH","T_ENDSWITCH","T_CASE","T_DEFAULT","T_BREAK","T_CONTINUE","T_GOTO","T_FUNCTION","T_FN","T_CONST","T_RETURN","T_TRY","T_CATCH","T_FINALLY","T_THROW","T_USE","T_INSTEADOF","T_GLOBAL","T_STATIC","T_ABSTRACT","T_FINAL","T_PRIVATE","T_PROTECTED","T_PUBLIC","T_READONLY","T_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_ENUM","T_EXTENDS","T_IMPLEMENTS","T_OBJECT_OPERATOR","T_NULLSAFE_OBJECT_OPERATOR","T_DOUBLE_ARROW","T_LIST","T_ARRAY","T_CALLABLE","T_CLASS_C","T_TRAIT_C","T_METHOD_C","T_FUNC_C","T_LINE","T_FILE","T_START_HEREDOC","T_END_HEREDOC","T_DOLLAR_OPEN_CURLY_BRACES","T_CURLY_OPEN","T_PAAMAYIM_NEKUDOTAYIM","T_NAMESPACE","T_NS_C","T_DIR","T_NS_SEPARATOR","T_ELLIPSIS","T_NAME_FULLY_QUALIFIED","T_NAME_QUALIFIED","T_NAME_RELATIVE","T_ATTRIBUTE","T_ENUM","T_BAD_CHARACTER","T_COMMENT","T_DOC_COMMENT","T_OPEN_TAG","T_OPEN_TAG_WITH_ECHO","T_CLOSE_TAG","T_WHITESPACE"].some((function(n){return r.Constants[n]===t&&(e=n,!0)})),e},r.Parser.prototype.createTokenMap=function(){var t,e,n={};for(e=256;e<1e3;++e)r.Constants.T_OPEN_TAG_WITH_ECHO===e?n[e]=r.Constants.T_ECHO:r.Constants.T_CLOSE_TAG===e?n[e]=59:"UNKNOWN"!==(t=this.tokenName(e))&&(n[e]=this[t]);return n},r.Parser.prototype.TOKEN_NONE=-1,r.Parser.prototype.TOKEN_INVALID=175,r.Parser.prototype.TOKEN_MAP_SIZE=403,r.Parser.prototype.YYLAST=1196,r.Parser.prototype.YY2TBLSTATE=420,r.Parser.prototype.YYGLAST=545,r.Parser.prototype.YYNLSTATES=710,r.Parser.prototype.YYUNEXPECTED=32767,r.Parser.prototype.YYDEFAULT=-32766,r.Parser.prototype.YYERRTOK=256,r.Parser.prototype.T_THROW=257,r.Parser.prototype.T_INCLUDE=258,r.Parser.prototype.T_INCLUDE_ONCE=259,r.Parser.prototype.T_EVAL=260,r.Parser.prototype.T_REQUIRE=261,r.Parser.prototype.T_REQUIRE_ONCE=262,r.Parser.prototype.T_LOGICAL_OR=263,r.Parser.prototype.T_LOGICAL_XOR=264,r.Parser.prototype.T_LOGICAL_AND=265,r.Parser.prototype.T_PRINT=266,r.Parser.prototype.T_YIELD=267,r.Parser.prototype.T_DOUBLE_ARROW=268,r.Parser.prototype.T_YIELD_FROM=269,r.Parser.prototype.T_PLUS_EQUAL=270,r.Parser.prototype.T_MINUS_EQUAL=271,r.Parser.prototype.T_MUL_EQUAL=272,r.Parser.prototype.T_DIV_EQUAL=273,r.Parser.prototype.T_CONCAT_EQUAL=274,r.Parser.prototype.T_MOD_EQUAL=275,r.Parser.prototype.T_AND_EQUAL=276,r.Parser.prototype.T_OR_EQUAL=277,r.Parser.prototype.T_XOR_EQUAL=278,r.Parser.prototype.T_SL_EQUAL=279,r.Parser.prototype.T_SR_EQUAL=280,r.Parser.prototype.T_POW_EQUAL=281,r.Parser.prototype.T_COALESCE_EQUAL=282,r.Parser.prototype.T_COALESCE=283,r.Parser.prototype.T_BOOLEAN_OR=284,r.Parser.prototype.T_BOOLEAN_AND=285,r.Parser.prototype.T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG=286,r.Parser.prototype.T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG=287,r.Parser.prototype.T_IS_EQUAL=288,r.Parser.prototype.T_IS_NOT_EQUAL=289,r.Parser.prototype.T_IS_IDENTICAL=290,r.Parser.prototype.T_IS_NOT_IDENTICAL=291,r.Parser.prototype.T_SPACESHIP=292,r.Parser.prototype.T_IS_SMALLER_OR_EQUAL=293,r.Parser.prototype.T_IS_GREATER_OR_EQUAL=294,r.Parser.prototype.T_SL=295,r.Parser.prototype.T_SR=296,r.Parser.prototype.T_INSTANCEOF=297,r.Parser.prototype.T_INC=298,r.Parser.prototype.T_DEC=299,r.Parser.prototype.T_INT_CAST=300,r.Parser.prototype.T_DOUBLE_CAST=301,r.Parser.prototype.T_STRING_CAST=302,r.Parser.prototype.T_ARRAY_CAST=303,r.Parser.prototype.T_OBJECT_CAST=304,r.Parser.prototype.T_BOOL_CAST=305,r.Parser.prototype.T_UNSET_CAST=306,r.Parser.prototype.T_POW=307,r.Parser.prototype.T_NEW=308,r.Parser.prototype.T_CLONE=309,r.Parser.prototype.T_EXIT=310,r.Parser.prototype.T_IF=311,r.Parser.prototype.T_ELSEIF=312,r.Parser.prototype.T_ELSE=313,r.Parser.prototype.T_ENDIF=314,r.Parser.prototype.T_LNUMBER=315,r.Parser.prototype.T_DNUMBER=316,r.Parser.prototype.T_STRING=317,r.Parser.prototype.T_STRING_VARNAME=318,r.Parser.prototype.T_VARIABLE=319,r.Parser.prototype.T_NUM_STRING=320,r.Parser.prototype.T_INLINE_HTML=321,r.Parser.prototype.T_ENCAPSED_AND_WHITESPACE=322,r.Parser.prototype.T_CONSTANT_ENCAPSED_STRING=323,r.Parser.prototype.T_ECHO=324,r.Parser.prototype.T_DO=325,r.Parser.prototype.T_WHILE=326,r.Parser.prototype.T_ENDWHILE=327,r.Parser.prototype.T_FOR=328,r.Parser.prototype.T_ENDFOR=329,r.Parser.prototype.T_FOREACH=330,r.Parser.prototype.T_ENDFOREACH=331,r.Parser.prototype.T_DECLARE=332,r.Parser.prototype.T_ENDDECLARE=333,r.Parser.prototype.T_AS=334,r.Parser.prototype.T_SWITCH=335,r.Parser.prototype.T_MATCH=336,r.Parser.prototype.T_ENDSWITCH=337,r.Parser.prototype.T_CASE=338,r.Parser.prototype.T_DEFAULT=339,r.Parser.prototype.T_BREAK=340,r.Parser.prototype.T_CONTINUE=341,r.Parser.prototype.T_GOTO=342,r.Parser.prototype.T_FUNCTION=343,r.Parser.prototype.T_FN=344,r.Parser.prototype.T_CONST=345,r.Parser.prototype.T_RETURN=346,r.Parser.prototype.T_TRY=347,r.Parser.prototype.T_CATCH=348,r.Parser.prototype.T_FINALLY=349,r.Parser.prototype.T_USE=350,r.Parser.prototype.T_INSTEADOF=351,r.Parser.prototype.T_GLOBAL=352,r.Parser.prototype.T_STATIC=353,r.Parser.prototype.T_ABSTRACT=354,r.Parser.prototype.T_FINAL=355,r.Parser.prototype.T_PRIVATE=356,r.Parser.prototype.T_PROTECTED=357,r.Parser.prototype.T_PUBLIC=358,r.Parser.prototype.T_READONLY=359,r.Parser.prototype.T_VAR=360,r.Parser.prototype.T_UNSET=361,r.Parser.prototype.T_ISSET=362,r.Parser.prototype.T_EMPTY=363,r.Parser.prototype.T_HALT_COMPILER=364,r.Parser.prototype.T_CLASS=365,r.Parser.prototype.T_TRAIT=366,r.Parser.prototype.T_INTERFACE=367,r.Parser.prototype.T_ENUM=368,r.Parser.prototype.T_EXTENDS=369,r.Parser.prototype.T_IMPLEMENTS=370,r.Parser.prototype.T_OBJECT_OPERATOR=371,r.Parser.prototype.T_NULLSAFE_OBJECT_OPERATOR=372,r.Parser.prototype.T_LIST=373,r.Parser.prototype.T_ARRAY=374,r.Parser.prototype.T_CALLABLE=375,r.Parser.prototype.T_CLASS_C=376,r.Parser.prototype.T_TRAIT_C=377,r.Parser.prototype.T_METHOD_C=378,r.Parser.prototype.T_FUNC_C=379,r.Parser.prototype.T_LINE=380,r.Parser.prototype.T_FILE=381,r.Parser.prototype.T_START_HEREDOC=382,r.Parser.prototype.T_END_HEREDOC=383,r.Parser.prototype.T_DOLLAR_OPEN_CURLY_BRACES=384,r.Parser.prototype.T_CURLY_OPEN=385,r.Parser.prototype.T_PAAMAYIM_NEKUDOTAYIM=386,r.Parser.prototype.T_NAMESPACE=387,r.Parser.prototype.T_NS_C=388,r.Parser.prototype.T_DIR=389,r.Parser.prototype.T_NS_SEPARATOR=390,r.Parser.prototype.T_ELLIPSIS=391,r.Parser.prototype.T_NAME_FULLY_QUALIFIED=392,r.Parser.prototype.T_NAME_QUALIFIED=393,r.Parser.prototype.T_NAME_RELATIVE=394,r.Parser.prototype.T_ATTRIBUTE=395,r.Parser.prototype.T_BAD_CHARACTER=396,r.Parser.prototype.T_COMMENT=397,r.Parser.prototype.T_DOC_COMMENT=398,r.Parser.prototype.T_OPEN_TAG=399,r.Parser.prototype.T_OPEN_TAG_WITH_ECHO=400,r.Parser.prototype.T_CLOSE_TAG=401,r.Parser.prototype.T_WHITESPACE=402,r.Parser.prototype.terminals=["EOF","error","T_THROW","T_INCLUDE","T_INCLUDE_ONCE","T_EVAL","T_REQUIRE","T_REQUIRE_ONCE","','","T_LOGICAL_OR","T_LOGICAL_XOR","T_LOGICAL_AND","T_PRINT","T_YIELD","T_DOUBLE_ARROW","T_YIELD_FROM","'='","T_PLUS_EQUAL","T_MINUS_EQUAL","T_MUL_EQUAL","T_DIV_EQUAL","T_CONCAT_EQUAL","T_MOD_EQUAL","T_AND_EQUAL","T_OR_EQUAL","T_XOR_EQUAL","T_SL_EQUAL","T_SR_EQUAL","T_POW_EQUAL","T_COALESCE_EQUAL","'?'","':'","T_COALESCE","T_BOOLEAN_OR","T_BOOLEAN_AND","'|'","'^'","T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG","T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG","T_IS_EQUAL","T_IS_NOT_EQUAL","T_IS_IDENTICAL","T_IS_NOT_IDENTICAL","T_SPACESHIP","'<'","T_IS_SMALLER_OR_EQUAL","'>'","T_IS_GREATER_OR_EQUAL","T_SL","T_SR","'+'","'-'","'.'","'*'","'/'","'%'","'!'","T_INSTANCEOF","'~'","T_INC","T_DEC","T_INT_CAST","T_DOUBLE_CAST","T_STRING_CAST","T_ARRAY_CAST","T_OBJECT_CAST","T_BOOL_CAST","T_UNSET_CAST","'@'","T_POW","'['","T_NEW","T_CLONE","T_EXIT","T_IF","T_ELSEIF","T_ELSE","T_ENDIF","T_LNUMBER","T_DNUMBER","T_STRING","T_STRING_VARNAME","T_VARIABLE","T_NUM_STRING","T_INLINE_HTML","T_ENCAPSED_AND_WHITESPACE","T_CONSTANT_ENCAPSED_STRING","T_ECHO","T_DO","T_WHILE","T_ENDWHILE","T_FOR","T_ENDFOR","T_FOREACH","T_ENDFOREACH","T_DECLARE","T_ENDDECLARE","T_AS","T_SWITCH","T_MATCH","T_ENDSWITCH","T_CASE","T_DEFAULT","T_BREAK","T_CONTINUE","T_GOTO","T_FUNCTION","T_FN","T_CONST","T_RETURN","T_TRY","T_CATCH","T_FINALLY","T_USE","T_INSTEADOF","T_GLOBAL","T_STATIC","T_ABSTRACT","T_FINAL","T_PRIVATE","T_PROTECTED","T_PUBLIC","T_READONLY","T_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_ENUM","T_EXTENDS","T_IMPLEMENTS","T_OBJECT_OPERATOR","T_NULLSAFE_OBJECT_OPERATOR","T_LIST","T_ARRAY","T_CALLABLE","T_CLASS_C","T_TRAIT_C","T_METHOD_C","T_FUNC_C","T_LINE","T_FILE","T_START_HEREDOC","T_END_HEREDOC","T_DOLLAR_OPEN_CURLY_BRACES","T_CURLY_OPEN","T_PAAMAYIM_NEKUDOTAYIM","T_NAMESPACE","T_NS_C","T_DIR","T_NS_SEPARATOR","T_ELLIPSIS","T_NAME_FULLY_QUALIFIED","T_NAME_QUALIFIED","T_NAME_RELATIVE","T_ATTRIBUTE","';'","']'","'{'","'}'","'('","')'","'`'","'\"'","'$'","T_BAD_CHARACTER","T_COMMENT","T_DOC_COMMENT","T_OPEN_TAG","T_OPEN_TAG_WITH_ECHO","T_CLOSE_TAG","T_WHITESPACE","???"],r.Parser.prototype.translate=[0,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,56,166,175,167,55,175,175,163,164,53,50,8,51,52,54,175,175,175,175,175,175,175,175,175,175,31,159,44,16,46,30,68,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,70,175,160,36,175,165,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,161,35,162,58,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,1,2,3,4,5,6,7,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,34,37,38,39,40,41,42,43,45,47,48,49,57,59,60,61,62,63,64,65,66,67,69,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,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,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,168,169,170,171,172,173,174],r.Parser.prototype.yyaction=[132,133,134,569,135,136,0,722,723,724,137,37,834,911,835,469,-32766,-32766,-32766,-32767,-32767,-32767,-32767,101,102,103,104,105,1068,1069,1070,1067,1066,1065,1071,716,715,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,545,546,-32766,-32766,725,-32766,-32766,-32766,998,999,806,922,447,448,449,370,371,2,267,138,396,729,730,731,732,414,-32766,420,-32766,-32766,-32766,-32766,-32766,990,733,734,735,736,737,738,739,740,741,742,743,763,570,764,765,766,767,755,756,336,337,758,759,744,745,746,748,749,750,346,790,791,792,793,794,795,751,752,571,572,784,775,773,774,787,770,771,283,420,573,574,769,575,576,577,578,579,580,598,-575,470,14,798,772,581,582,-575,139,-32766,-32766,-32766,132,133,134,569,135,136,1017,722,723,724,137,37,1060,-32766,-32766,-32766,1303,696,-32766,1304,-32766,-32766,-32766,-32766,-32766,-32766,-32766,1068,1069,1070,1067,1066,1065,1071,-32766,716,715,372,371,1258,-32766,-32766,-32766,-572,106,107,108,414,270,891,-572,240,1193,1192,1194,725,-32766,-32766,-32766,1046,109,-32766,-32766,-32766,-32766,986,985,984,987,267,138,396,729,730,731,732,12,-32766,420,-32766,-32766,-32766,-32766,998,999,733,734,735,736,737,738,739,740,741,742,743,763,570,764,765,766,767,755,756,336,337,758,759,744,745,746,748,749,750,346,790,791,792,793,794,795,751,752,571,572,784,775,773,774,787,770,771,881,321,573,574,769,575,576,577,578,579,580,-32766,82,83,84,-575,772,581,582,-575,148,747,717,718,719,720,721,1278,722,723,724,760,761,36,1277,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,996,270,150,-32766,-32766,-32766,455,456,81,34,-264,-572,1016,109,320,-572,893,725,682,803,128,998,999,592,-32766,1044,-32766,-32766,-32766,809,151,726,727,728,729,730,731,732,-88,1198,796,278,-526,283,-32766,-32766,-32766,733,734,735,736,737,738,739,740,741,742,743,763,786,764,765,766,767,755,756,757,785,758,759,744,745,746,748,749,750,789,790,791,792,793,794,795,751,752,753,754,784,775,773,774,787,770,771,144,804,762,768,769,776,777,779,778,780,781,-314,-526,-526,-193,-192,772,783,782,49,50,51,500,52,53,239,807,-526,-86,54,55,-111,56,996,253,-32766,-111,800,-111,-526,541,-532,-352,300,-352,304,-111,-111,-111,-111,-111,-111,-111,-111,998,999,998,999,153,-32766,-32766,-32766,1191,807,126,306,1293,57,58,103,104,105,-111,59,1218,60,246,247,61,62,63,64,65,66,67,68,-525,27,268,69,436,501,-328,808,-86,1224,1225,502,1189,807,1198,1230,293,1222,41,24,503,74,504,953,505,320,506,802,154,507,508,279,684,280,43,44,437,367,366,891,45,509,35,249,-16,-566,358,332,318,-566,1198,1193,1192,1194,-527,510,511,512,333,-524,1274,48,716,715,-525,-525,334,513,514,807,1212,1213,1214,1215,1209,1210,292,360,284,-525,285,-314,1216,1211,-193,-192,1193,1192,1194,293,891,-525,364,-531,70,807,316,317,320,31,110,111,112,113,114,115,116,117,118,119,120,121,122,-153,-153,-153,638,25,-527,-527,687,379,881,-524,-524,296,297,891,-153,432,-153,807,-153,-527,-153,716,715,433,-524,798,363,-111,1105,1107,365,-527,434,891,140,435,-524,954,127,-524,320,-111,-111,688,813,381,-529,11,834,155,835,867,-111,-111,-111,-111,47,293,-32766,881,654,655,74,689,1191,1045,320,708,149,399,157,-32766,-32766,-32766,32,-32766,-79,-32766,123,-32766,716,715,-32766,893,891,682,-153,-32766,-32766,-32766,716,715,891,-32766,-32766,124,881,129,74,-32766,411,130,320,-524,-524,143,141,-75,-32766,158,-529,-529,320,27,691,159,881,160,-524,161,294,295,698,368,369,807,-73,-32766,-72,1222,-524,373,374,1191,893,-71,682,-529,73,-70,-32766,-32766,-32766,-69,-32766,-68,-32766,125,-32766,630,631,-32766,-67,-66,-47,-51,-32766,-32766,-32766,-18,147,271,-32766,-32766,277,697,700,881,-32766,411,890,893,146,682,282,881,907,-32766,281,513,514,286,1212,1213,1214,1215,1209,1210,326,131,145,939,287,682,1216,1211,109,270,-32766,798,807,-32766,662,639,1191,657,72,675,1075,317,320,-32766,-32766,-32766,1305,-32766,301,-32766,628,-32766,431,543,-32766,-32766,923,555,924,-32766,-32766,-32766,1229,549,-32766,-32766,-32766,-4,891,-490,1191,-32766,411,644,893,299,682,-32766,-32766,-32766,-32766,-32766,893,-32766,682,-32766,13,1231,-32766,452,480,645,909,-32766,-32766,-32766,-32766,658,-480,-32766,-32766,0,1191,0,0,-32766,411,0,298,-32766,-32766,-32766,305,-32766,-32766,-32766,0,-32766,0,806,-32766,0,0,0,475,-32766,-32766,-32766,-32766,0,7,-32766,-32766,16,1191,561,596,-32766,411,1219,891,-32766,-32766,-32766,362,-32766,-32766,-32766,818,-32766,-267,881,-32766,39,293,0,0,-32766,-32766,-32766,40,705,706,-32766,-32766,872,963,940,947,-32766,411,937,948,365,870,427,891,935,-32766,1049,291,1244,1052,1053,-111,-111,1050,1051,1057,-560,1262,1296,633,0,826,-111,-111,-111,-111,33,315,-32766,361,683,686,690,692,1191,693,694,695,699,685,320,-32766,-32766,-32766,9,-32766,702,-32766,868,-32766,881,1300,-32766,893,1302,682,-4,-32766,-32766,-32766,829,828,837,-32766,-32766,916,-242,-242,-242,-32766,411,955,365,27,836,1301,915,917,-32766,914,1177,900,910,-111,-111,807,881,898,945,1222,946,1299,1256,867,-111,-111,-111,-111,1245,1263,1269,1272,-241,-241,-241,-558,-532,-531,365,-530,1,28,29,38,42,46,71,0,75,-111,-111,76,77,78,79,893,80,682,-242,867,-111,-111,-111,-111,142,152,156,245,322,347,514,348,1212,1213,1214,1215,1209,1210,349,350,351,352,353,354,1216,1211,355,356,357,359,428,893,-265,682,-241,-264,72,0,18,317,320,19,20,21,23,398,471,472,479,482,483,484,485,489,490,491,498,669,1202,1145,1220,1019,1018,1181,-269,-103,17,22,26,290,397,589,593,620,674,1149,1197,1146,1275,0,-494,1162,0,1223],r.Parser.prototype.yycheck=[2,3,4,5,6,7,0,9,10,11,12,13,106,1,108,31,9,10,11,44,45,46,47,48,49,50,51,52,116,117,118,119,120,121,122,37,38,30,116,32,33,34,35,36,37,38,39,40,41,42,43,117,118,9,10,57,9,10,11,137,138,155,128,129,130,131,106,107,8,71,72,73,74,75,76,77,116,30,80,32,33,34,35,36,1,87,88,89,90,91,92,93,94,95,96,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,123,124,125,126,127,128,129,130,131,132,133,30,80,136,137,138,139,140,141,142,143,144,51,1,161,101,80,150,151,152,8,154,9,10,11,2,3,4,5,6,7,164,9,10,11,12,13,123,9,10,11,80,161,30,83,32,33,34,35,36,37,38,116,117,118,119,120,121,122,30,37,38,106,107,1,9,10,11,1,53,54,55,116,57,1,8,14,155,156,157,57,9,10,11,162,69,30,116,32,33,119,120,121,122,71,72,73,74,75,76,77,8,30,80,32,33,34,35,137,138,87,88,89,90,91,92,93,94,95,96,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,123,124,125,126,127,128,129,130,131,132,133,84,70,136,137,138,139,140,141,142,143,144,9,9,10,11,160,150,151,152,164,154,2,3,4,5,6,7,1,9,10,11,12,13,30,8,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,116,57,14,9,10,11,134,135,161,8,164,160,1,69,167,164,159,57,161,80,8,137,138,1,30,1,32,33,34,1,14,71,72,73,74,75,76,77,31,1,80,30,70,30,9,10,11,87,88,89,90,91,92,93,94,95,96,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,123,124,125,126,127,128,129,130,131,132,133,8,156,136,137,138,139,140,141,142,143,144,8,134,135,8,8,150,151,152,2,3,4,5,6,7,97,82,149,31,12,13,101,15,116,8,116,106,80,108,161,85,163,106,113,108,8,116,117,118,119,120,121,122,123,137,138,137,138,14,9,10,11,80,82,14,8,85,50,51,50,51,52,128,56,1,58,59,60,61,62,63,64,65,66,67,68,70,70,71,72,73,74,162,159,97,78,79,80,116,82,1,146,158,86,87,88,89,163,91,31,93,167,95,156,14,98,99,35,161,37,103,104,105,106,107,1,109,110,147,148,31,160,115,116,8,164,1,155,156,157,70,124,125,126,8,70,1,70,37,38,134,135,8,136,137,82,139,140,141,142,143,144,145,8,35,149,37,164,151,152,164,164,155,156,157,158,1,161,8,163,163,82,165,166,167,16,17,18,19,20,21,22,23,24,25,26,27,28,29,75,76,77,75,76,134,135,31,8,84,134,135,134,135,1,90,8,92,82,94,149,96,37,38,8,149,80,149,128,59,60,106,161,8,1,161,8,161,159,161,70,167,117,118,31,8,106,70,108,106,14,108,127,128,129,130,131,70,158,74,84,75,76,163,31,80,159,167,161,101,102,14,87,88,89,14,91,31,93,16,95,37,38,98,159,1,161,162,103,104,105,37,38,1,109,110,16,84,16,163,115,116,16,167,134,135,16,161,31,124,16,134,135,167,70,31,16,84,16,149,16,134,135,31,106,107,82,31,74,31,86,161,106,107,80,159,31,161,161,154,31,87,88,89,31,91,31,93,161,95,111,112,98,31,31,31,31,103,104,105,31,31,31,109,110,31,31,31,84,115,116,31,159,31,161,37,84,38,124,35,136,137,35,139,140,141,142,143,144,35,31,70,159,37,161,151,152,69,57,74,80,82,85,77,90,80,94,163,92,82,166,167,87,88,89,83,91,114,93,113,95,128,85,98,116,128,153,128,103,104,105,146,89,74,109,110,0,1,149,80,115,116,96,159,133,161,87,88,89,124,91,159,93,161,95,97,146,98,97,97,100,154,103,104,105,74,100,149,109,110,-1,80,-1,-1,115,116,-1,132,87,88,89,132,91,124,93,-1,95,-1,155,98,-1,-1,-1,102,103,104,105,74,-1,149,109,110,149,80,81,153,115,116,160,1,87,88,89,149,91,124,93,160,95,164,84,98,159,158,-1,-1,103,104,105,159,159,159,109,110,159,159,159,159,115,116,159,159,106,159,108,1,159,124,159,113,160,159,159,117,118,159,159,159,163,160,160,160,-1,127,128,129,130,131,161,161,74,161,161,161,161,161,80,161,161,161,161,161,167,87,88,89,150,91,162,93,162,95,84,162,98,159,162,161,162,103,104,105,162,162,162,109,110,162,100,101,102,115,116,162,106,70,162,162,162,162,124,162,162,162,162,117,118,82,84,162,162,86,162,162,162,127,128,129,130,131,162,162,162,162,100,101,102,163,163,163,106,163,163,163,163,163,163,163,163,-1,163,117,118,163,163,163,163,159,163,161,162,127,128,129,130,131,163,163,163,163,163,163,137,163,139,140,141,142,143,144,163,163,163,163,163,163,151,152,163,163,163,163,163,159,164,161,162,164,163,-1,164,166,167,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,164,-1,165,165,-1,166],r.Parser.prototype.yybase=[0,-2,154,565,876,948,984,514,53,398,837,307,307,67,307,307,307,653,724,724,732,724,616,673,204,204,204,625,625,625,625,694,694,831,831,863,799,765,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,936,375,519,369,701,1017,1023,1019,1024,1015,1014,1018,1020,1025,911,912,782,918,919,920,921,1021,841,1016,1022,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,290,491,44,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,382,160,160,160,187,684,684,341,203,610,47,985,985,985,985,985,985,985,985,985,985,144,144,7,7,7,7,7,371,-25,-25,-25,-25,540,385,102,576,358,45,377,460,460,360,231,231,231,231,231,231,-78,-78,-78,-78,-78,-66,319,457,-94,396,423,586,586,586,586,423,423,423,423,750,1029,423,423,423,511,516,516,518,147,147,147,516,583,777,422,583,422,194,92,748,-40,87,412,748,617,627,198,143,773,658,773,1013,757,764,717,838,860,1026,800,908,806,910,219,686,1012,1012,1012,1012,1012,1012,1012,1012,1012,1012,1012,855,552,1013,286,855,855,855,552,552,552,552,552,552,552,552,552,552,679,286,568,626,286,794,552,375,758,375,375,375,375,958,375,375,375,375,375,375,970,769,-16,375,519,12,12,547,83,12,12,12,12,375,375,375,658,781,713,666,792,448,781,781,781,438,444,193,447,570,523,580,760,760,767,929,929,760,759,760,767,934,760,929,805,359,648,577,611,656,929,478,760,760,760,760,665,760,467,433,760,760,785,774,789,60,929,929,929,789,596,751,751,751,811,812,746,771,567,498,677,348,779,771,771,760,640,746,771,746,771,747,771,771,771,746,771,759,585,771,734,668,224,771,6,935,937,354,940,932,941,979,942,943,851,956,933,945,931,930,780,703,720,790,729,928,768,768,768,925,768,768,768,768,768,768,768,768,703,788,804,733,783,960,722,726,725,868,1027,1028,737,739,958,1006,953,803,730,992,967,866,848,968,969,993,1007,1008,871,761,874,880,797,971,852,768,935,943,933,945,931,930,763,762,753,755,749,745,736,738,770,1009,924,835,830,970,926,703,839,986,847,994,995,850,801,772,840,881,972,975,976,853,1010,810,989,795,996,802,882,997,998,999,1e3,885,854,856,857,815,754,980,786,891,335,787,796,978,363,957,858,894,895,1001,1002,1003,896,954,816,990,752,991,983,817,818,485,784,778,541,676,897,899,900,955,775,766,821,822,1011,901,697,824,740,902,1005,742,744,756,859,793,743,798,977,776,827,907,829,832,833,1004,836,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,458,458,458,458,458,458,307,307,307,307,0,0,307,0,0,0,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,458,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,423,423,291,291,0,291,423,423,423,423,423,423,423,423,423,423,291,291,291,291,291,291,291,805,147,147,147,147,423,423,423,423,423,-88,-88,147,147,423,423,423,423,423,423,423,423,423,423,423,423,0,0,0,286,422,0,759,759,759,759,0,0,0,0,422,422,0,0,0,0,0,0,0,0,0,0,0,286,422,0,286,0,759,759,423,805,805,314,423,0,0,0,0,286,759,286,552,422,552,552,12,375,314,608,608,608,608,0,658,805,805,805,805,805,805,805,805,805,805,805,759,0,805,0,759,759,759,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,759,0,0,929,0,0,0,0,760,0,0,0,0,0,0,760,934,0,0,0,0,0,0,759,0,0,0,0,0,0,0,0,768,801,0,801,0,768,768,768],r.Parser.prototype.yydefault=[3,32767,103,32767,32767,32767,32767,32767,32767,32767,32767,32767,101,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,578,578,578,578,32767,32767,246,103,32767,32767,454,372,372,372,32767,32767,522,522,522,522,522,522,32767,32767,32767,32767,32767,32767,454,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,101,32767,32767,32767,37,7,8,10,11,50,17,310,32767,32767,32767,32767,103,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,571,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,458,437,438,440,441,371,523,577,313,574,370,146,325,315,234,316,250,459,251,460,463,464,211,279,367,150,401,455,403,453,457,402,377,382,383,384,385,386,387,388,389,390,391,392,393,394,375,376,456,434,433,432,399,32767,32767,400,404,374,407,32767,32767,32767,32767,32767,32767,32767,32767,103,32767,405,406,423,424,421,422,425,32767,426,427,428,429,32767,32767,302,32767,32767,351,349,414,415,302,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,516,431,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,103,32767,101,518,396,398,486,409,410,408,378,32767,493,32767,103,495,32767,32767,32767,112,32767,32767,32767,517,32767,524,524,32767,479,101,194,32767,194,194,32767,32767,32767,32767,32767,32767,32767,585,479,111,111,111,111,111,111,111,111,111,111,111,32767,194,111,32767,32767,32767,101,194,194,194,194,194,194,194,194,194,194,189,32767,260,262,103,539,194,32767,498,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,491,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,479,419,139,32767,139,524,411,412,413,481,524,524,524,298,281,32767,32767,32767,32767,496,496,101,101,101,101,491,32767,32767,112,100,100,100,100,100,104,102,32767,32767,32767,32767,100,32767,102,102,32767,32767,217,208,215,102,32767,543,544,215,102,219,219,219,239,239,470,304,102,100,102,102,196,304,304,32767,102,470,304,470,304,198,304,304,304,470,304,32767,102,304,210,100,100,304,32767,32767,32767,481,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,511,32767,528,541,417,418,420,526,442,443,444,445,446,447,448,450,573,32767,485,32767,32767,32767,32767,324,583,32767,583,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,584,32767,524,32767,32767,32767,32767,416,9,76,43,44,52,58,502,503,504,505,499,500,506,501,32767,32767,507,549,32767,32767,525,576,32767,32767,32767,32767,32767,32767,139,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,511,32767,137,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,524,32767,32767,32767,300,301,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,524,32767,32767,32767,283,284,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,278,32767,32767,366,32767,32767,32767,32767,345,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,152,152,3,3,327,152,152,152,327,152,327,327,327,152,152,152,152,152,152,272,184,254,257,239,239,152,337,152],r.Parser.prototype.yygoto=[194,194,670,422,643,463,1264,1265,1022,416,308,309,329,563,314,421,330,423,622,801,678,637,586,651,652,653,165,165,165,165,218,195,191,191,175,177,213,191,191,191,191,191,192,192,192,192,192,192,186,187,188,189,190,215,213,216,521,522,412,523,525,526,527,528,529,530,531,532,1091,166,167,168,193,169,170,171,164,172,173,174,176,212,214,217,235,238,241,242,244,255,256,257,258,259,260,261,263,264,265,266,274,275,311,312,313,417,418,419,568,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,178,234,179,196,197,198,236,186,187,188,189,190,215,1091,199,180,181,182,200,196,183,237,201,199,163,202,203,184,204,205,206,185,207,208,209,210,211,323,323,323,323,827,608,608,824,547,538,342,1221,1221,1221,1221,1221,1221,1221,1221,1221,1221,1239,1239,288,288,288,288,1239,1239,1239,1239,1239,1239,1239,1239,1239,1239,388,538,547,556,557,395,566,588,602,603,832,825,880,875,876,889,15,833,877,830,878,879,831,799,251,251,883,919,992,1e3,1004,1001,1005,1237,1237,938,1043,1039,1040,1237,1237,1237,1237,1237,1237,1237,1237,1237,1237,858,248,248,248,248,250,252,533,533,533,533,487,590,488,1190,1190,997,1190,997,494,1290,1290,560,997,997,997,997,997,997,997,997,997,997,997,997,1261,1261,1290,1261,340,1190,930,402,677,1279,1190,1190,1190,1190,959,345,1190,1190,1190,1271,1271,1271,1271,606,640,345,345,1273,1273,1273,1273,820,820,805,896,884,840,885,897,345,345,5,345,6,1306,384,535,535,559,535,415,852,597,1257,839,540,524,524,345,1289,1289,642,524,524,524,524,524,524,524,524,524,524,445,805,1140,805,1289,932,932,932,932,1063,1064,445,926,933,386,390,548,587,591,1030,1292,331,554,1259,1259,1030,704,621,623,823,641,1250,319,303,660,664,973,668,676,969,429,553,962,936,936,934,936,703,601,537,971,966,343,344,663,817,595,609,612,613,614,615,634,635,636,680,439,1186,845,454,454,439,439,1266,1267,820,901,1079,454,394,539,551,1183,605,540,539,842,551,978,272,387,618,619,981,536,536,844,707,646,957,567,457,458,459,838,850,254,254,1297,1298,400,401,976,976,464,649,1182,650,1028,404,405,406,1187,661,424,1032,407,564,600,815,338,424,854,848,853,841,1027,1031,1009,1002,1006,1003,1007,1185,941,1188,1247,1248,943,0,1074,439,439,439,439,439,439,439,439,439,439,439,0,468,439,585,1056,931,681,667,667,0,495,673,1054,1171,912,0,0,1172,1175,913,1176,0,0,0,0,0,0,1072,857],r.Parser.prototype.yygcheck=[42,42,72,65,65,166,166,166,119,65,65,65,65,65,65,65,65,65,65,7,9,84,122,84,84,84,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,23,23,23,23,15,104,104,26,75,75,93,104,104,104,104,104,104,104,104,104,104,160,160,24,24,24,24,160,160,160,160,160,160,160,160,160,160,75,75,75,75,75,75,75,75,75,75,15,27,15,15,15,15,75,15,15,15,15,15,15,6,5,5,15,87,87,87,87,87,87,161,161,49,15,15,15,161,161,161,161,161,161,161,161,161,161,45,5,5,5,5,5,5,103,103,103,103,147,103,147,72,72,72,72,72,147,173,173,162,72,72,72,72,72,72,72,72,72,72,72,72,122,122,173,122,169,72,89,89,89,171,72,72,72,72,99,14,72,72,72,9,9,9,9,55,55,14,14,122,122,122,122,22,22,12,72,64,35,64,72,14,14,46,14,46,14,61,19,19,100,19,13,35,13,122,35,14,163,163,14,172,172,63,163,163,163,163,163,163,163,163,163,163,19,12,143,12,172,19,19,19,19,136,136,19,19,19,58,58,58,58,58,122,172,29,48,122,122,122,48,48,48,25,48,14,159,159,48,48,48,48,48,48,109,9,25,25,25,25,25,25,9,25,25,25,93,93,14,18,79,79,79,79,79,79,79,79,79,79,23,20,39,141,141,23,23,168,168,22,17,17,141,28,9,9,152,17,14,9,37,9,17,24,9,83,83,106,24,24,17,95,17,17,9,9,9,9,17,9,5,5,9,9,80,80,103,103,149,80,17,80,121,80,80,80,20,80,113,124,80,2,2,20,80,113,41,9,16,16,16,16,113,113,113,113,113,14,16,20,20,20,92,-1,139,23,23,23,23,23,23,23,23,23,23,23,-1,82,23,8,8,16,8,8,8,-1,8,8,8,78,78,-1,-1,78,78,78,78,-1,-1,-1,-1,-1,-1,16,16],r.Parser.prototype.yygbase=[0,0,-203,0,0,221,208,10,512,7,0,0,24,1,5,-174,47,-23,105,61,38,0,-10,158,181,379,164,205,102,84,0,0,0,0,0,-43,0,107,0,104,0,54,-1,0,0,235,-384,0,-307,210,0,0,0,0,0,266,0,0,324,0,0,286,0,103,298,-236,0,0,0,0,0,0,-6,0,0,-167,0,0,129,62,-14,0,53,-22,-669,0,0,-52,0,-11,0,0,68,-299,0,52,0,0,0,262,288,0,0,227,-73,0,87,0,0,118,0,0,0,209,0,0,0,0,0,6,0,108,15,0,46,0,0,0,0,0,0,0,0,0,0,0,91,0,0,69,0,390,0,86,0,0,0,-224,0,37,0,0,77,0,0,0,0,0,0,70,-57,-8,241,99,0,0,-290,0,65,257,0,261,39,-35,0,0],r.Parser.prototype.yygdefault=[-32768,499,711,4,712,905,788,797,583,515,679,339,610,413,1255,882,1078,565,816,1199,1207,446,819,324,701,864,865,866,391,376,382,389,632,611,481,851,442,843,473,846,441,855,162,410,497,859,3,861,542,892,377,869,378,656,871,550,873,874,385,392,393,1083,558,607,886,243,552,887,375,888,895,380,383,665,453,492,486,403,1058,594,629,450,467,617,616,604,466,425,408,928,474,451,942,341,950,709,1090,624,476,958,625,965,968,516,517,465,980,269,983,477,1015,647,648,995,626,627,1013,460,584,1021,443,1029,1243,444,1033,262,1036,276,409,426,1041,1042,8,1048,671,672,10,273,496,1073,666,440,1089,430,1159,1161,544,478,1179,1178,659,493,1184,1246,438,518,461,310,519,302,327,307,534,289,328,520,462,1252,1260,325,30,1280,1291,335,562,599],r.Parser.prototype.yylhs=[0,1,3,3,2,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,8,8,9,10,11,11,11,12,12,13,13,14,15,15,16,16,17,17,18,18,21,21,22,23,23,24,24,4,4,4,4,4,4,4,4,4,4,4,29,29,30,30,32,34,34,28,36,36,33,38,38,35,35,37,37,39,39,31,40,40,41,43,44,44,45,46,46,48,47,47,47,47,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,49,25,25,68,68,71,71,70,69,69,62,74,74,75,75,76,76,77,77,78,78,26,26,27,27,27,27,86,86,88,88,81,81,81,82,82,85,85,83,83,89,90,90,56,56,64,64,67,67,67,66,91,91,92,57,57,57,57,93,93,94,94,95,95,96,97,97,98,98,99,99,54,54,50,50,101,52,52,102,51,51,53,53,63,63,63,63,79,79,105,105,107,107,108,108,108,108,106,106,106,110,110,110,110,87,87,113,113,113,111,111,114,114,112,112,115,115,116,116,116,116,109,109,80,80,80,20,20,20,118,117,117,119,119,119,119,59,120,120,121,60,123,123,124,124,125,125,84,126,126,126,126,126,126,131,131,132,132,133,133,133,133,133,134,135,135,130,130,127,127,129,129,137,137,136,136,136,136,136,136,136,128,138,138,140,139,139,61,100,141,141,55,55,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,148,142,142,147,147,150,151,151,152,153,153,153,19,19,72,72,72,72,143,143,143,143,155,155,144,144,146,146,146,149,149,160,160,160,160,160,160,160,160,160,161,161,104,163,163,163,163,145,145,145,145,145,145,145,145,58,58,158,158,158,158,164,164,154,154,154,165,165,165,165,165,165,73,73,65,65,65,65,122,122,122,122,168,167,157,157,157,157,157,157,157,156,156,156,166,166,166,166,103,162,170,170,169,169,171,171,171,171,171,171,171,171,159,159,159,159,173,174,172,172,172,172,172,172,172,172,175,175,175,175],r.Parser.prototype.yylen=[1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,2,1,3,4,1,2,0,1,1,1,1,1,3,5,4,3,4,2,3,1,1,7,6,2,3,1,2,3,1,2,3,1,1,3,1,3,1,2,2,3,1,3,2,3,1,3,2,0,1,1,1,1,1,3,7,10,5,7,9,5,3,3,3,3,3,3,1,2,5,7,9,6,5,6,3,2,1,1,1,0,2,1,3,8,0,4,2,1,3,0,1,0,1,0,1,3,1,8,9,8,7,6,8,0,2,0,2,1,2,2,0,2,0,2,0,2,2,1,3,1,4,1,4,1,1,4,2,1,3,3,3,4,4,5,0,2,4,3,1,1,7,0,2,1,3,3,4,1,4,0,2,5,0,2,6,0,2,0,3,1,2,1,1,2,0,1,3,0,2,1,1,1,1,6,8,6,1,2,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,1,2,1,1,0,1,0,2,2,2,4,3,1,1,3,1,2,2,3,2,3,1,1,2,3,1,1,3,2,0,1,5,5,10,3,5,1,1,3,0,2,4,5,4,4,4,3,1,1,1,1,1,1,0,1,1,2,1,1,1,1,1,1,1,2,1,3,1,1,3,2,2,3,1,0,1,1,3,3,3,4,1,1,2,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,5,4,3,4,4,2,2,4,2,2,2,2,2,2,2,2,2,2,2,1,3,2,1,2,4,2,2,8,9,8,9,9,10,9,10,8,3,2,0,4,2,1,3,2,2,2,4,1,1,1,1,1,1,1,1,3,1,1,1,0,3,0,1,1,0,1,1,1,1,1,1,1,1,1,1,3,3,3,4,1,1,3,1,1,1,1,1,3,2,3,0,1,1,3,1,1,1,1,1,3,1,1,4,4,1,4,4,0,1,1,1,3,3,1,4,2,2,1,3,1,4,4,3,3,3,3,1,3,1,1,3,1,1,4,1,1,1,3,1,1,2,1,3,4,3,2,0,2,2,1,2,1,1,1,4,3,3,3,3,6,3,1,1,2,1],e.PHP=r})),ace.define("ace/mode/php_worker",[],(function(t,e,n){"use strict";var r=t("../lib/oop"),s=t("../worker/mirror").Mirror,o=t("./php/php").PHP,a=e.PhpWorker=function(t){s.call(this,t),this.setTimeout(500)};r.inherits(a,s),function(){this.setOptions=function(t){this.inlinePhp=t&&t.inline},this.onUpdate=function(){var t=this.doc.getValue(),e=[];this.inlinePhp&&(t="<?"+t+"?>");var n=o.Lexer(t,{short_open_tag:1});try{new o.Parser(n)}catch(t){e.push({row:t.line-1,column:null,text:t.message.charAt(0).toUpperCase()+t.message.substring(1),type:"error"})}this.sender.emit("annotate",e)}}.call(a.prototype)}));
@@ -0,0 +1 @@
1
+ ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],(function(e,t,i){"use strict";var o=e("./lib/dom"),n=e("./lib/oop"),s=e("./lib/event_emitter").EventEmitter,r=e("./lib/lang"),a=e("./range").Range,l=e("./range_list").RangeList,c=e("./keyboard/hash_handler").HashHandler,p=e("./tokenizer").Tokenizer,h=e("./clipboard"),d={CURRENT_WORD:function(e){return e.session.getTextRange(e.session.getWordRange())},SELECTION:function(e,t,i){var o=e.session.getTextRange();return i?o.replace(/\n\r?([ \t]*\S)/g,"\n"+i+"$1"):o},CURRENT_LINE:function(e){return e.session.getLine(e.getCursorPosition().row)},PREV_LINE:function(e){return e.session.getLine(e.getCursorPosition().row-1)},LINE_INDEX:function(e){return e.getCursorPosition().row},LINE_NUMBER:function(e){return e.getCursorPosition().row+1},SOFT_TABS:function(e){return e.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(e){return e.session.getTabSize()},CLIPBOARD:function(e){return h.getText&&h.getText()},FILENAME:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0]},FILENAME_BASE:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(e){return this.FILEPATH(e).replace(/[^/\\]*$/,"")},FILEPATH:function(e){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.start||""},BLOCK_COMMENT_END:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.end||""},LINE_COMMENT:function(e){return(e.session.$mode||{}).lineCommentStart||""},CURRENT_YEAR:u.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:u.bind(null,{year:"2-digit"}),CURRENT_MONTH:u.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:u.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:u.bind(null,{month:"short"}),CURRENT_DATE:u.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:u.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:u.bind(null,{weekday:"short"}),CURRENT_HOUR:u.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:u.bind(null,{minute:"2-digit"}),CURRENT_SECOND:u.bind(null,{second:"2-digit"})};function u(e){var t=(new Date).toLocaleString("en-us",e);return 1==t.length?"0"+t:t}d.SELECTED_TEXT=d.SELECTION;var m=function(){function e(){this.snippetMap={},this.snippetNameMap={},this.variables=d}return e.prototype.getTokenizer=function(){return e.$tokenizer||this.createTokenizer()},e.prototype.createTokenizer=function(){function t(e){return e=e.substr(1),/^\d+$/.test(e)?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function i(e){return"(?:[^\\\\"+e+"]|\\\\.)"}var o={regex:"/("+i("/")+"+)/",onMatch:function(e,t,i){var o=i[0];return o.fmtString=!0,o.guard=e.slice(1,-1),o.flag="",""},next:"formatString"};return e.$tokenizer=new p({start:[{regex:/\\./,onMatch:function(e,t,i){var o=e[1];return("}"==o&&i.length||-1!="`$\\".indexOf(o))&&(e=o),[e]}},{regex:/}/,onMatch:function(e,t,i){return[i.length?i.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:t},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(e,i,o){var n=t(e.substr(1));return o.unshift(n[0]),n},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+i("\\|")+"*\\|",onMatch:function(e,t,i){var o=e.slice(1,-1).replace(/\\[,|\\]|,/g,(function(e){return 2==e.length?e[1]:"\0"})).split("\0").map((function(e){return{value:e}}));return i[0].choices=o,[o[0]]},next:"start"},o,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(e,t,i){return i.length&&i[0].expectElse?(i[0].expectElse=!1,i[0].ifEnd={elseEnd:i[0]},[i[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(e,t,i){var o=e[1];return"}"==o&&i.length||-1!="`$\\".indexOf(o)?e=o:"n"==o?e="\n":"t"==o?e="\t":-1!="ulULE".indexOf(o)&&(e={changeCase:o,local:o>"a"}),[e]}},{regex:"/\\w*}",onMatch:function(e,t,i){var o=i.shift();return o&&(o.flag=e.slice(1,-1)),this.next=o&&o.tabstopId?"start":"",[o||e]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(e,t,i){return[{text:e.slice(1)}]}},{regex:/\${\w+/,onMatch:function(e,t,i){var o={text:e.slice(2)};return i.unshift(o),[o]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(e,t,i){var o=i.shift();return this.next=o&&o.tabstopId?"start":"",[o||e]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(e,t,i){return i[0].formatFunction=e.slice(2,-1),[i.shift()]},next:"formatString"},o,{regex:/:[\?\-+]?/,onMatch:function(e,t,i){"+"==e[1]&&(i[0].ifEnd=i[0]),"?"==e[1]&&(i[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),e.$tokenizer},e.prototype.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map((function(e){return e.value||e}))},e.prototype.getVariableValue=function(e,t,i){if(/^\d+$/.test(t))return(this.variables.__||{})[t]||"";if(/^[A-Z]\d+$/.test(t))return(this.variables[t[0]+"__"]||{})[t.substr(1)]||"";if(t=t.replace(/^TM_/,""),!this.variables.hasOwnProperty(t))return"";var o=this.variables[t];return"function"==typeof o&&(o=this.variables[t](e,t,i)),null==o?"":o},e.prototype.tmStrFormat=function(e,t,i){if(!t.fmt)return e;var o=t.flag||"",n=t.guard;n=new RegExp(n,o.replace(/[^gim]/g,""));var s="string"==typeof t.fmt?this.tokenizeTmSnippet(t.fmt,"formatString"):t.fmt,r=this,a=e.replace(n,(function(){var e=r.variables.__;r.variables.__=[].slice.call(arguments);for(var t=r.resolveVariables(s,i),o="E",n=0;n<t.length;n++){var a=t[n];if("object"==typeof a)if(t[n]="",a.changeCase&&a.local){var l=t[n+1];l&&"string"==typeof l&&("u"==a.changeCase?t[n]=l[0].toUpperCase():t[n]=l[0].toLowerCase(),t[n+1]=l.substr(1))}else a.changeCase&&(o=a.changeCase);else"U"==o?t[n]=a.toUpperCase():"L"==o&&(t[n]=a.toLowerCase())}return r.variables.__=e,t.join("")}));return a},e.prototype.tmFormatFunction=function(e,t,i){return"upcase"==t.formatFunction?e.toUpperCase():"downcase"==t.formatFunction?e.toLowerCase():e},e.prototype.resolveVariables=function(e,t){for(var i=[],o="",n=!0,s=0;s<e.length;s++){var r=e[s];if("string"!=typeof r){if(r){if(n=!1,r.fmtString){var a=e.indexOf(r,s+1);-1==a&&(a=e.length),r.fmt=e.slice(s+1,a),s=a}if(r.text){var l=this.getVariableValue(t,r.text,o)+"";r.fmtString&&(l=this.tmStrFormat(l,r,t)),r.formatFunction&&(l=this.tmFormatFunction(l,r,t)),l&&!r.ifEnd?(i.push(l),c(r)):!l&&r.ifEnd&&c(r.ifEnd)}else r.elseEnd?c(r.elseEnd):(null!=r.tabstopId||null!=r.changeCase)&&i.push(r)}}else i.push(r),"\n"==r?(n=!0,o=""):n&&(o=/^\t*/.exec(r)[0],n=/\S/.test(r))}function c(t){var i=e.indexOf(t,s+1);-1!=i&&(s=i)}return i},e.prototype.getDisplayTextForSnippet=function(e,t){return f.call(this,e,t).text},e.prototype.insertSnippetForSelection=function(e,t,i){void 0===i&&(i={});var o=f.call(this,e,t,i),n=e.getSelectionRange(),s=e.session.replace(n,o.text),r=new g(e),a=e.inVirtualSelectionMode&&e.selection.index;r.addTabstops(o.tabstops,n.start,s,a)},e.prototype.insertSnippet=function(e,t,i){void 0===i&&(i={});var o=this;if(e.inVirtualSelectionMode)return o.insertSnippetForSelection(e,t,i);e.forEachSelection((function(){o.insertSnippetForSelection(e,t,i)}),null,{keepOrder:!0}),e.tabstopManager&&e.tabstopManager.tabNext()},e.prototype.$getScope=function(e){var t=e.session.$mode.$id||"";if("html"===(t=t.split("/").pop())||"php"===t){"php"!==t||e.session.$mode.inlinePhp||(t="html");var i=e.getCursorPosition(),o=e.session.getState(i.row);"object"==typeof o&&(o=o[0]),o.substring&&("js-"==o.substring(0,3)?t="javascript":"css-"==o.substring(0,4)?t="css":"php-"==o.substring(0,4)&&(t="php"))}return t},e.prototype.getActiveScopes=function(e){var t=this.$getScope(e),i=[t],o=this.snippetMap;return o[t]&&o[t].includeScopes&&i.push.apply(i,o[t].includeScopes),i.push("_"),i},e.prototype.expandWithTab=function(e,t){var i=this,o=e.forEachSelection((function(){return i.expandSnippetForSelection(e,t)}),null,{keepOrder:!0});return o&&e.tabstopManager&&e.tabstopManager.tabNext(),o},e.prototype.expandSnippetForSelection=function(e,t){var i,o=e.getCursorPosition(),n=e.session.getLine(o.row),s=n.substring(0,o.column),r=n.substr(o.column),a=this.snippetMap;return this.getActiveScopes(e).some((function(e){var t=a[e];return t&&(i=this.findMatchingSnippet(t,s,r)),!!i}),this),!!i&&(t&&t.dryRun||(e.session.doc.removeInLine(o.row,o.column-i.replaceBefore.length,o.column+i.replaceAfter.length),this.variables.M__=i.matchBefore,this.variables.T__=i.matchAfter,this.insertSnippetForSelection(e,i.content),this.variables.M__=this.variables.T__=null),!0)},e.prototype.findMatchingSnippet=function(e,t,i){for(var o=e.length;o--;){var n=e[o];if((!n.startRe||n.startRe.test(t))&&((!n.endRe||n.endRe.test(i))&&(n.startRe||n.endRe)))return n.matchBefore=n.startRe?n.startRe.exec(t):[""],n.matchAfter=n.endRe?n.endRe.exec(i):[""],n.replaceBefore=n.triggerRe?n.triggerRe.exec(t)[0]:"",n.replaceAfter=n.endTriggerRe?n.endTriggerRe.exec(i)[0]:"",n}},e.prototype.register=function(e,t){var i=this.snippetMap,o=this.snippetNameMap,n=this;function s(e){return e&&!/^\^?\(.*\)\$?$|^\\b$/.test(e)&&(e="(?:"+e+")"),e||""}function a(e,t,i){return e=s(e),t=s(t),i?(e=t+e)&&"$"!=e[e.length-1]&&(e+="$"):(e+=t)&&"^"!=e[0]&&(e="^"+e),new RegExp(e)}function l(e){e.scope||(e.scope=t||"_"),t=e.scope,i[t]||(i[t]=[],o[t]={});var s=o[t];if(e.name){var l=s[e.name];l&&n.unregister(l),s[e.name]=e}i[t].push(e),e.prefix&&(e.tabTrigger=e.prefix),!e.content&&e.body&&(e.content=Array.isArray(e.body)?e.body.join("\n"):e.body),e.tabTrigger&&!e.trigger&&(!e.guard&&/^\w/.test(e.tabTrigger)&&(e.guard="\\b"),e.trigger=r.escapeRegExp(e.tabTrigger)),(e.trigger||e.guard||e.endTrigger||e.endGuard)&&(e.startRe=a(e.trigger,e.guard,!0),e.triggerRe=new RegExp(e.trigger),e.endRe=a(e.endTrigger,e.endGuard,!0),e.endTriggerRe=new RegExp(e.endTrigger))}e||(e=[]),Array.isArray(e)?e.forEach(l):Object.keys(e).forEach((function(t){l(e[t])})),this._signal("registerSnippets",{scope:t})},e.prototype.unregister=function(e,t){var i=this.snippetMap,o=this.snippetNameMap;function n(e){var n=o[e.scope||t];if(n&&n[e.name]){delete n[e.name];var s=i[e.scope||t],r=s&&s.indexOf(e);r>=0&&s.splice(r,1)}}e.content?n(e):Array.isArray(e)&&e.forEach(n)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,i=[],o={},n=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=n.exec(e);){if(t[1])try{o=JSON.parse(t[1]),i.push(o)}catch(e){}if(t[4])o.content=t[4].replace(/^\t/gm,""),i.push(o),o={};else{var s=t[2],r=t[3];if("regex"==s){var a=/\/((?:[^\/\\]|\\.)*)|$/g;o.guard=a.exec(r)[1],o.trigger=a.exec(r)[1],o.endTrigger=a.exec(r)[1],o.endGuard=a.exec(r)[1]}else"snippet"==s?(o.tabTrigger=r.match(/^\S*/)[0],o.name||(o.name=r)):s&&(o[s]=r)}}return i},e.prototype.getSnippetByName=function(e,t){var i,o=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var n=o[t];return n&&(i=n[e]),!!i}),this),i},e}();n.implement(m.prototype,s);var f=function(e,t,i){void 0===i&&(i={});var o=e.getCursorPosition(),n=e.session.getLine(o.row),s=e.session.getTabString(),r=n.match(/^\s*/)[0];o.column<r.length&&(r=r.slice(0,o.column)),t=t.replace(/\r/g,"");var a=this.tokenizeTmSnippet(t);a=(a=this.resolveVariables(a,e)).map((function(e){return"\n"!=e||i.excludeExtraIndent?"string"==typeof e?e.replace(/\t/g,s):e:e+r}));var l=[];a.forEach((function(e,t){if("object"==typeof e){var i=e.tabstopId,o=l[i];if(o||((o=l[i]=[]).index=i,o.value="",o.parents={}),-1===o.indexOf(e)){e.choices&&!o.choices&&(o.choices=e.choices),o.push(e);var n=a.indexOf(e,t+1);if(-1!==n){var s=a.slice(t+1,n);s.some((function(e){return"object"==typeof e}))&&!o.value?o.value=s:!s.length||o.value&&"string"==typeof o.value||(o.value=s.join(""))}}}})),l.forEach((function(e){e.length=0}));var c={};function p(e){for(var t=[],i=0;i<e.length;i++){var o=e[i];if("object"==typeof o){if(c[o.tabstopId])continue;o=t[e.lastIndexOf(o,i-1)]||{tabstopId:o.tabstopId}}t[i]=o}return t}for(var h=0;h<a.length;h++){var d=a[h];if("object"==typeof d){var u=d.tabstopId,m=l[u],f=a.indexOf(d,h+1);if(c[u])c[u]===d&&(delete c[u],Object.keys(c).forEach((function(e){m.parents[e]=!0})));else{c[u]=d;var g=m.value;"string"!=typeof g?g=p(g):d.fmt&&(g=this.tmStrFormat(g,d,e)),a.splice.apply(a,[h+1,Math.max(0,f-h)].concat(g,d)),-1===m.indexOf(d)&&m.push(d)}}}var v=0,b=0,y="";return a.forEach((function(e){if("string"==typeof e){var t=e.split("\n");t.length>1?(b=t[t.length-1].length,v+=t.length-1):b+=e.length,y+=e}else e&&(e.start?e.end={row:v,column:b}:e.start={row:v,column:b})})),{text:y,tabstops:l,tokens:a}},g=function(){function e(e){if(this.index=0,this.ranges=[],this.tabstops=[],e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=r.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)}return e.prototype.attach=function(e){this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.session=e.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},e.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},e.prototype.onChange=function(e){for(var t="r"==e.action[0],i=this.selectedTabstop||{},o=i.parents||{},n=this.tabstops.slice(),s=0;s<n.length;s++){var r=n[s],a=r==i||o[r.index];if(r.rangeList.$bias=a?0:1,"remove"==e.action&&r!==i){var l=r.parents&&r.parents[i.index],c=r.rangeList.pointIndex(e.start,l);c=c<0?-c-1:c+1;var p=r.rangeList.pointIndex(e.end,l);p=p<0?-p-1:p-1;for(var h=r.rangeList.ranges.slice(c,p),d=0;d<h.length;d++)this.removeRange(h[d])}r.rangeList.$onChange(e)}var u=this.session;this.$inChange||!t||1!=u.getLength()||u.getValue()||this.detach()},e.prototype.updateLinkedFields=function(){var e=this.selectedTabstop;if(e&&e.hasLinkedRanges&&e.firstNonLinked){this.$inChange=!0;for(var i=this.session,o=i.getTextRange(e.firstNonLinked),n=0;n<e.length;n++){var s=e[n];if(s.linked){var r=s.original,a=t.snippetManager.tmStrFormat(o,r,this.editor);i.replace(s,a)}}this.$inChange=!1}},e.prototype.onAfterExec=function(e){e.command&&!e.command.readOnly&&this.updateLinkedFields()},e.prototype.onChangeSelection=function(){if(this.editor){for(var e=this.editor.selection.lead,t=this.editor.selection.anchor,i=this.editor.selection.isEmpty(),o=0;o<this.ranges.length;o++)if(!this.ranges[o].linked){var n=this.ranges[o].contains(e.row,e.column),s=i||this.ranges[o].contains(t.row,t.column);if(n&&s)return}this.detach()}},e.prototype.onChangeSession=function(){this.detach()},e.prototype.tabNext=function(e){var t=this.tabstops.length,i=this.index+(e||1);(i=Math.min(Math.max(i,1),t))==t&&(i=0),this.selectTabstop(i),0===i&&this.detach()},e.prototype.selectTabstop=function(e){this.$openTabstops=null;var t=this.tabstops[this.index];if(t&&this.addTabstopMarkers(t),this.index=e,(t=this.tabstops[this.index])&&t.length){this.selectedTabstop=t;var i=t.firstNonLinked||t;if(t.choices&&(i.cursor=i.start),this.editor.inVirtualSelectionMode)this.editor.selection.fromOrientedRange(i);else{var o=this.editor.multiSelect;o.toSingleRange(i);for(var n=0;n<t.length;n++)t.hasLinkedRanges&&t[n].linked||o.addRange(t[n].clone(),!0)}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler),this.selectedTabstop&&this.selectedTabstop.choices&&this.editor.execCommand("startAutocomplete",{matches:this.selectedTabstop.choices})}},e.prototype.addTabstops=function(e,t,i){var o=this.useLink||!this.editor.getOption("enableMultiselect");if(this.$openTabstops||(this.$openTabstops=[]),!e[0]){var n=a.fromPoints(i,i);b(n.start,t),b(n.end,t),e[0]=[n],e[0].index=0}var s=[this.index+1,0],r=this.ranges;e.forEach((function(e,i){for(var n=this.$openTabstops[i]||e,c=0;c<e.length;c++){var p=e[c],h=a.fromPoints(p.start,p.end||p.start);v(h.start,t),v(h.end,t),h.original=p,h.tabstop=n,r.push(h),n!=e?n.unshift(h):n[c]=h,p.fmtString||n.firstNonLinked&&o?(h.linked=!0,n.hasLinkedRanges=!0):n.firstNonLinked||(n.firstNonLinked=h)}n.firstNonLinked||(n.hasLinkedRanges=!1),n===e&&(s.push(n),this.$openTabstops[i]=n),this.addTabstopMarkers(n),n.rangeList=n.rangeList||new l,n.rangeList.$bias=0,n.rangeList.addList(n)}),this),s.length>2&&(this.tabstops.length&&s.push(s.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,s))},e.prototype.addTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))}))},e.prototype.removeTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){t.removeMarker(e.markerId),e.markerId=null}))},e.prototype.removeRange=function(e){var t=e.tabstop.indexOf(e);-1!=t&&e.tabstop.splice(t,1),-1!=(t=this.ranges.indexOf(e))&&this.ranges.splice(t,1),-1!=(t=e.tabstop.rangeList.ranges.indexOf(e))&&e.tabstop.splice(t,1),this.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},e}();g.prototype.keyboardHandler=new c,g.prototype.keyboardHandler.bindKeys({Tab:function(e){t.snippetManager&&t.snippetManager.expandWithTab(e)||(e.tabstopManager.tabNext(1),e.renderer.scrollCursorIntoView())},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1),e.renderer.scrollCursorIntoView()},Esc:function(e){e.tabstopManager.detach()}});var v=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},b=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};o.importCssString("\n.ace_snippet-marker {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n background: rgba(194, 193, 208, 0.09);\n border: 1px dotted rgba(211, 208, 235, 0.62);\n position: absolute;\n}","snippets.css",!1),t.snippetManager=new m;var y=e("./editor").Editor;(function(){this.insertSnippet=function(e,i){return t.snippetManager.insertSnippet(this,e,i)},this.expandSnippet=function(e){return t.snippetManager.expandWithTab(this,e)}}).call(y.prototype)})),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],(function(e,t,i){"use strict";var o=function(){function e(e){this.editor=e,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return e.prototype.setScreenReaderContent=function(e){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var e=this.popup.getRow(),t=this.popup.renderer.$textLayer,i=t.element.childNodes[e-t.config.firstRow];if(i){for(var o="doc-tooltip ",n=0;n<this._lines.length;n++)o+="ace-inline-screenreader-line-".concat(n," ");i.setAttribute("aria-describedby",o)}}.bind(this)));this.screenReaderDiv.firstChild;)this.screenReaderDiv.removeChild(this.screenReaderDiv.firstChild);this._lines=e.split(/\r\n|\r|\n/);var t=this.createCodeBlock();this.screenReaderDiv.appendChild(t)},e.prototype.destroy=function(){this.screenReaderDiv.remove()},e.prototype.createCodeBlock=function(){var e=document.createElement("pre");e.setAttribute("id","ace-inline-screenreader");for(var t=0;t<this._lines.length;t++){var i=document.createElement("code");i.setAttribute("id","ace-inline-screenreader-line-".concat(t));var o=document.createTextNode(this._lines[t]);i.appendChild(o),e.appendChild(i)}return e},e}();t.AceInlineScreenReader=o})),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],(function(e,t,i){"use strict";var o=e("../snippets").snippetManager,n=e("./inline_screenreader").AceInlineScreenReader,s=function(){function e(){this.editor=null}return e.prototype.show=function(e,t,i){if(i=i||"",e&&this.editor&&this.editor!==e&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!e||!t)return!1;this.inlineScreenReader||(this.inlineScreenReader=new n(e));var s=t.snippet?o.getDisplayTextForSnippet(e,t.snippet):t.value;return!(t.hideInlinePreview||!s||!s.startsWith(i))&&(this.editor=e,this.inlineScreenReader.setScreenReaderContent(s),""===(s=s.slice(i.length))?e.removeGhostText():e.setGhostText(s),!0)},e.prototype.isOpen=function(){return!!this.editor&&!!this.editor.renderer.$ghostText},e.prototype.hide=function(){return!!this.editor&&(this.editor.removeGhostText(),!0)},e.prototype.destroy=function(){this.hide(),this.editor=null,this.inlineScreenReader&&(this.inlineScreenReader.destroy(),this.inlineScreenReader=null)},e}();t.AceInline=s})),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config","ace/lib/useragent"],(function(e,t,i){"use strict";var o=e("../virtual_renderer").VirtualRenderer,n=e("../editor").Editor,s=e("../range").Range,r=e("../lib/event"),a=e("../lib/lang"),l=e("../lib/dom"),c=e("../config").nls,p=e("./../lib/useragent"),h=function(e){return"suggest-aria-id:".concat(e)},d=p.isSafari?"menu":"listbox",u=p.isSafari?"menuitem":"option",m=p.isSafari?"aria-current":"aria-selected",f=function(e){var t=new o(e);t.$maxLines=4;var i=new n(t);return i.setHighlightActiveLine(!1),i.setShowPrintMargin(!1),i.renderer.setShowGutter(!1),i.renderer.setHighlightGutterLine(!1),i.$mouseHandler.$focusTimeout=0,i.$highlightTagPending=!0,i},g=function(e){var t=l.createElement("div"),i=f(t);e&&e.appendChild(t),t.style.display="none",i.renderer.content.style.cursor="default",i.renderer.setStyle("ace_autocomplete"),i.renderer.$textLayer.element.setAttribute("role",d),i.renderer.$textLayer.element.setAttribute("aria-roledescription",c("Autocomplete suggestions")),i.renderer.$textLayer.element.setAttribute("aria-label",c("Autocomplete suggestions")),i.renderer.textarea.setAttribute("aria-hidden","true"),i.setOption("displayIndentGuides",!1),i.setOption("dragDelay",150);var o,n=function(){};i.focus=n,i.$isFocused=!0,i.renderer.$cursorLayer.restartTimer=n,i.renderer.$cursorLayer.element.style.opacity="0",i.renderer.$maxLines=8,i.renderer.$keepTextAreaAtCursor=!1,i.setHighlightActiveLine(!1),i.session.highlight(""),i.session.$searchHighlight.clazz="ace_highlight-marker",i.on("mousedown",(function(e){var t=e.getDocumentPosition();i.selection.moveToPosition(t),g.start.row=g.end.row=t.row,e.stop()}));var p=new s(-1,0,-1,1/0),g=new s(-1,0,-1,1/0);g.id=i.session.addMarker(g,"ace_active-line","fullLine"),i.setSelectOnHover=function(e){e?p.id&&(i.session.removeMarker(p.id),p.id=null):p.id=i.session.addMarker(p,"ace_line-hover","fullLine")},i.setSelectOnHover(!1),i.on("mousemove",(function(e){if(o){if(o.x!=e.x||o.y!=e.y){(o=e).scrollTop=i.renderer.scrollTop,i.isMouseOver=!0;var t=o.getDocumentPosition().row;p.start.row!=t&&(p.id||i.setRow(t),b(t))}}else o=e})),i.renderer.on("beforeRender",(function(){if(o&&-1!=p.start.row){o.$pos=null;var e=o.getDocumentPosition().row;p.id||i.setRow(e),b(e,!0)}})),i.renderer.on("afterRender",(function(){var e=i.getRow(),t=i.renderer.$textLayer,o=t.element.childNodes[e-t.config.firstRow],n=document.activeElement;if(o!==i.selectedNode&&i.selectedNode&&(l.removeCssClass(i.selectedNode,"ace_selected"),n.removeAttribute("aria-activedescendant"),i.selectedNode.removeAttribute(m),i.selectedNode.removeAttribute("id")),i.selectedNode=o,o){l.addCssClass(o,"ace_selected");var s=h(e);o.id=s,t.element.setAttribute("aria-activedescendant",s),n.setAttribute("aria-activedescendant",s),o.setAttribute("role",u),o.setAttribute("aria-roledescription",c("item")),o.setAttribute("aria-label",i.getData(e).caption||i.getData(e).value),o.setAttribute("aria-setsize",i.data.length),o.setAttribute("aria-posinset",e+1),o.setAttribute("aria-describedby","doc-tooltip"),o.setAttribute(m,"true")}}));var v=function(){b(-1)},b=function(e,t){e!==p.start.row&&(p.start.row=p.end.row=e,t||i.session._emit("changeBackMarker"),i._emit("changeHoverMarker"))};i.getHoveredRow=function(){return p.start.row},r.addListener(i.container,"mouseout",(function(){i.isMouseOver=!1,v()})),i.on("hide",v),i.on("changeSelection",v),i.session.doc.getLength=function(){return i.data.length},i.session.doc.getLine=function(e){var t=i.data[e];return"string"==typeof t?t:t&&t.value||""};var y=i.session.bgTokenizer;return y.$tokenizeRow=function(e){var t=i.data[e],o=[];if(!t)return o;"string"==typeof t&&(t={value:t});var n=t.caption||t.value||t.name;function s(e,i){e&&o.push({type:(t.className||"")+(i||""),value:e})}for(var r=n.toLowerCase(),a=(i.filterText||"").toLowerCase(),l=0,c=0,p=0;p<=a.length;p++)if(p!=c&&(t.matchMask&1<<p||p==a.length)){var h=a.slice(c,p);c=p;var d=r.indexOf(h,l);if(-1==d)continue;s(n.slice(l,d),""),l=d+h.length,s(n.slice(d,l),"completion-highlight")}return s(n.slice(l,n.length),""),o.push({type:"completion-spacer",value:" "}),t.meta&&o.push({type:"completion-meta",value:t.meta}),t.message&&o.push({type:"completion-message",value:t.message}),o},y.$updateOnChange=n,y.start=n,i.session.$computeWidth=function(){return this.screenWidth=0},i.isOpen=!1,i.isTopdown=!1,i.autoSelect=!0,i.filterText="",i.isMouseOver=!1,i.data=[],i.setData=function(e,t){i.filterText=t||"",i.setValue(a.stringRepeat("\n",e.length),-1),i.data=e||[],i.setRow(0)},i.getData=function(e){return i.data[e]},i.getRow=function(){return g.start.row},i.setRow=function(e){e=Math.max(this.autoSelect?0:-1,Math.min(this.data.length-1,e)),g.start.row!=e&&(i.selection.clearSelection(),g.start.row=g.end.row=e||0,i.session._emit("changeBackMarker"),i.moveCursorTo(e||0,0),i.isOpen&&i._signal("select"))},i.on("changeSelection",(function(){i.isOpen&&i.setRow(i.selection.lead.row),i.renderer.scrollCursorIntoView()})),i.hide=function(){this.container.style.display="none",i.anchorPos=null,i.anchor=null,i.isOpen&&(i.isOpen=!1,this._signal("hide"))},i.tryShow=function(e,t,n,s){if(!s&&i.isOpen&&i.anchorPos&&i.anchor&&i.anchorPos.top===e.top&&i.anchorPos.left===e.left&&i.anchor===n)return!0;var r=this.container,a=window.innerHeight,l=window.innerWidth,c=this.renderer,p=c.$maxLines*t*1.4,h={top:0,bottom:0,left:0},d=a-e.top-3*this.$borderSize-t,u=e.top-3*this.$borderSize;n||(n=u<=d||d>=p?"bottom":"top"),"top"===n?(h.bottom=e.top-this.$borderSize,h.top=h.bottom-p):"bottom"===n&&(h.top=e.top+t+this.$borderSize,h.bottom=h.top+p);var m=h.top>=0&&h.bottom<=a;if(!s&&!m)return!1;c.$maxPixelHeight=m?null:"top"===n?u:d,"top"===n?(r.style.top="",r.style.bottom=a-h.bottom+"px",i.isTopdown=!1):(r.style.top=h.top+"px",r.style.bottom="",i.isTopdown=!0),r.style.display="";var f=e.left;return f+r.offsetWidth>l&&(f=l-r.offsetWidth),r.style.left=f+"px",r.style.right="",i.isOpen||(i.isOpen=!0,this._signal("show"),o=null),i.anchorPos=e,i.anchor=n,!0},i.show=function(e,t,i){this.tryShow(e,t,i?"bottom":void 0,!0)},i.goTo=function(e){var t=this.getRow(),i=this.session.getLength()-1;switch(e){case"up":t=t<=0?i:t-1;break;case"down":t=t>=i?-1:t+1;break;case"start":t=0;break;case"end":t=i}this.setRow(t)},i.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},i.$imageSize=0,i.$borderSize=1,i};l.importCssString('\n.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #CAD6FA;\n z-index: 1;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #3a674e;\n}\n.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid #abbffe;\n margin-top: -1px;\n background: rgba(233,233,253,0.4);\n position: absolute;\n z-index: 2;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid rgba(109, 150, 13, 0.8);\n background: rgba(58, 103, 78, 0.62);\n}\n.ace_completion-meta {\n opacity: 0.5;\n margin-left: 0.9em;\n}\n.ace_completion-message {\n margin-left: 0.9em;\n color: blue;\n}\n.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #2d69c7;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #93ca12;\n}\n.ace_editor.ace_autocomplete {\n width: 300px;\n z-index: 200000;\n border: 1px lightgray solid;\n position: fixed;\n box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n line-height: 1.4;\n background: #fefefe;\n color: #111;\n}\n.ace_dark.ace_editor.ace_autocomplete {\n border: 1px #484747 solid;\n box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51);\n line-height: 1.4;\n background: #25282c;\n color: #c1c1c1;\n}\n.ace_autocomplete .ace_text-layer {\n width: calc(100% - 8px);\n}\n.ace_autocomplete .ace_line {\n display: flex;\n align-items: center;\n}\n.ace_autocomplete .ace_line > * {\n min-width: 0;\n flex: 0 0 auto;\n}\n.ace_autocomplete .ace_line .ace_ {\n flex: 0 1 auto;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.ace_autocomplete .ace_completion-spacer {\n flex: 1;\n}\n.ace_autocomplete.ace_loading:after {\n content: "";\n position: absolute;\n top: 0px;\n height: 2px;\n width: 8%;\n background: blue;\n z-index: 100;\n animation: ace_progress 3s infinite linear;\n animation-delay: 300ms;\n transform: translateX(-100%) scaleX(1);\n}\n@keyframes ace_progress {\n 0% { transform: translateX(-100%) scaleX(1) }\n 50% { transform: translateX(625%) scaleX(2) } \n 100% { transform: translateX(1500%) scaleX(3) } \n}\n@media (prefers-reduced-motion) {\n .ace_autocomplete.ace_loading:after {\n transform: translateX(625%) scaleX(2);\n animation: none;\n }\n}\n',"autocompletion.css",!1),t.AcePopup=g,t.$singleLineEditor=f,t.getAriaId=h})),ace.define("ace/autocomplete/util",["require","exports","module"],(function(e,t,i){"use strict";t.parForEach=function(e,t,i){var o=0,n=e.length;0===n&&i();for(var s=0;s<n;s++)t(e[s],(function(e,t){++o===n&&i(e,t)}))};var o=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;t.retrievePrecedingIdentifier=function(e,t,i){i=i||o;for(var n=[],s=t-1;s>=0&&i.test(e[s]);s--)n.push(e[s]);return n.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,i){i=i||o;for(var n=[],s=t;s<e.length&&i.test(e[s]);s++)n.push(e[s]);return n},t.getCompletionPrefix=function(e){var t,i=e.getCursorPosition(),o=e.session.getLine(i.row);return e.completers.forEach(function(e){e.identifierRegexps&&e.identifierRegexps.forEach(function(e){!t&&e&&(t=this.retrievePrecedingIdentifier(o,i.column,e))}.bind(this))}.bind(this)),t||this.retrievePrecedingIdentifier(o,i.column)},t.triggerAutocomplete=function(e){var t=e.getCursorPosition(),i=e.session.getLine(t.row)[0===t.column?0:t.column-1];return e.completers.some((function(e){if(e.triggerCharacters&&Array.isArray(e.triggerCharacters))return e.triggerCharacters.includes(i)}))}})),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/inline","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/lang","ace/lib/dom","ace/snippets","ace/config","ace/lib/event","ace/lib/scroll"],(function(e,t,i){"use strict";var o=e("./keyboard/hash_handler").HashHandler,n=e("./autocomplete/popup").AcePopup,s=e("./autocomplete/inline").AceInline,r=e("./autocomplete/popup").getAriaId,a=e("./autocomplete/util"),l=e("./lib/lang"),c=e("./lib/dom"),p=e("./snippets").snippetManager,h=e("./config"),d=e("./lib/event"),u=e("./lib/scroll").preventParentScroll,m=function(e,t){t.completer&&t.completer.destroy()},f=function(){function e(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new o,this.keyboardHandler.bindKeys(this.commands),this.parentNode=null,this.setSelectOnHover=!1,this.hasSeen=new Set,this.showLoadingState=!1,this.stickySelectionDelay=500,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.onLayoutChange=this.onLayoutChange.bind(this),this.changeTimer=l.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=l.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=l.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=l.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=l.delayedCall(function(){var t=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!t||0===this.editor.completers.length||(this.completions=new v(e.completionsForLoading),this.openPopup(this.editor,t.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(e,"completionsForLoading",{get:function(){return[{caption:h.nls("Loading..."),value:""}]},enumerable:!1,configurable:!0}),e.prototype.$init=function(){return this.popup=new n(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(e){this.insertMatch(),e.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.$onPopupShow.bind(this)),this.popup.on("hide",this.$onHidePopup.bind(this)),this.popup.on("select",this.$onPopupChange.bind(this)),d.addListener(this.popup.container,"mouseout",this.mouseOutListener.bind(this)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup.renderer.on("afterRender",this.$onPopupRender.bind(this)),this.popup},e.prototype.$initInline=function(){if(this.inlineEnabled&&!this.inlineRenderer)return this.inlineRenderer=new s,this.inlineRenderer},e.prototype.getPopup=function(){return this.popup||this.$init()},e.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},e.prototype.$seen=function(e){!this.hasSeen.has(e)&&e&&e.completer&&e.completer.onSeen&&"function"==typeof e.completer.onSeen&&(e.completer.onSeen(this.editor,e),this.hasSeen.add(e))},e.prototype.$onPopupChange=function(e){if(this.inlineRenderer&&this.inlineEnabled){var t=e?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(t),this.popup.isMouseOver&&this.setSelectOnHover)return void this.tooltipTimer.call(null,null);this.popupTimer.schedule(),this.tooltipTimer.schedule()}else this.popupTimer.call(null,null),this.tooltipTimer.call(null,null)},e.prototype.$updateGhostText=function(e){var t=this.base.row,i=this.base.column,o=this.editor.getCursorPosition().column,n=this.editor.session.getLine(t).slice(i,o);this.inlineRenderer.show(this.editor,e,n)?this.$seen(e):this.inlineRenderer.hide()},e.prototype.$onPopupRender=function(){var e=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var t=this.popup.getFirstVisibleRow();t<=this.popup.getLastVisibleRow();t++){var i=this.popup.getData(t);!i||e&&!i.hideInlinePreview||this.$seen(i)}},e.prototype.$onPopupShow=function(e){this.$onPopupChange(e),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},e.prototype.observeLayoutChanges=function(){if(!this.$elements&&this.editor){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var e=this.editor.container.parentNode,t=[];e;)t.push(e),e.addEventListener("scroll",this.onLayoutChange,{passive:!0}),e=e.parentNode;this.$elements=t}},e.prototype.unObserveLayoutChanges=function(){var e=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach((function(t){t.removeEventListener("scroll",e.onLayoutChange,{passive:!0})})),this.$elements=null},e.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},e.prototype.$updatePopupPosition=function(){var e=this.editor,t=e.renderer,i=t.layerConfig.lineHeight,o=t.$cursorLayer.getPixelPosition(this.base,!0);o.left-=this.popup.getTextLeftOffset();var n=e.container.getBoundingClientRect();o.top+=n.top-t.layerConfig.offset,o.left+=n.left-e.renderer.scrollLeft,o.left+=t.gutterWidth;var s={top:o.top,left:o.left};t.$ghostText&&t.$ghostTextWidget&&this.base.row===t.$ghostText.position.row&&(s.top+=t.$ghostTextWidget.el.offsetHeight);var r=e.container.getBoundingClientRect().bottom-i,a=r<s.top?{top:r,left:s.left}:s;this.popup.tryShow(a,i,"bottom")||this.popup.tryShow(o,i,"top")||this.popup.show(o,i)},e.prototype.openPopup=function(e,t,i){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var o,n=this.popup.getRow(),s=this.popup.data[n];this.popup.setData(this.completions.filtered,this.completions.filterText),this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({activeDescendant:r(this.popup.getRow()),inline:this.inlineEnabled}),e.keyBinding.addKeyboardHandler(this.keyboardHandler),this.stickySelection&&(o=this.popup.data.indexOf(s)),o&&-1!==o||(o=0),this.popup.setRow(this.autoSelect?o:-1),o===n&&s!==this.completions.filtered[o]&&this.$onPopupChange();var a=this.inlineRenderer&&this.inlineEnabled;if(o===n&&a){var l=this.popup.getData(this.popup.getRow());this.$updateGhostText(l)}i?i&&!t&&this.detach():(this.popup.setTheme(e.getTheme()),this.popup.setFontSize(e.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},e.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener)),this.$firstOpenTimer.cancel(),this.changeTimer.cancel(),this.hideDocTooltip(),this.completionProvider&&this.completionProvider.detach(),this.popup&&this.popup.isOpen&&this.popup.hide(),this.popup&&this.popup.renderer&&this.popup.renderer.off("afterRender",this.$onPopupRender),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null,this.unObserveLayoutChanges()},e.prototype.changeListener=function(e){var t=this.editor.selection.lead;(t.row!=this.base.row||t.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},e.prototype.blurListener=function(e){var t=document.activeElement,i=this.editor.textInput.getElement(),o=e.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(e.relatedTarget),n=this.popup&&this.popup.container;t==i||t.parentNode==n||o||t==this.tooltipNode||e.relatedTarget==i||this.detach()},e.prototype.mousedownListener=function(e){this.detach()},e.prototype.mousewheelListener=function(e){this.popup.isMouseOver||this.detach()},e.prototype.mouseOutListener=function(e){this.popup.isOpen&&this.$updatePopupPosition()},e.prototype.goTo=function(e){this.popup.goTo(e)},e.prototype.insertMatch=function(e,t){if(e||(e=this.popup.getData(this.popup.getRow())),!e)return!1;if(""===e.value)return this.detach();var i=this.completions,o=this.getCompletionProvider().insertMatch(this.editor,e,i.filterText,t);return this.completions==i&&this.detach(),o},e.prototype.showPopup=function(e,t){this.editor&&this.detach(),this.activated=!0,this.editor=e,e.completer!=this&&(e.completer&&e.completer.detach(),e.completer=this),e.on("changeSelection",this.changeListener),e.on("blur",this.blurListener),e.on("mousedown",this.mousedownListener),e.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,t)},e.prototype.getCompletionProvider=function(e){return this.completionProvider||(this.completionProvider=new g(e)),this.completionProvider},e.prototype.gatherCompletions=function(e,t){return this.getCompletionProvider().gatherCompletions(e,t)},e.prototype.updateCompletions=function(t,i){if(t&&this.base&&this.completions){var o=this.editor.getCursorPosition();if((s=this.editor.session.getTextRange({start:this.base,end:o}))==this.completions.filterText)return;return this.completions.setFilter(s),this.completions.filtered.length?1!=this.completions.filtered.length||this.completions.filtered[0].value!=s||this.completions.filtered[0].snippet?void this.openPopup(this.editor,s,t):this.detach():this.detach()}if(i&&i.matches){o=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(o.row,o.column),this.base.$insertRight=!0,this.completions=new v(i.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",t)}var n=this.editor.getSession(),s=(o=this.editor.getCursorPosition(),a.getCompletionPrefix(this.editor));this.base=n.doc.createAnchor(o.row,o.column-s.length),this.base.$insertRight=!0;var r={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:s,pos:o}).provideCompletions(this.editor,r,function(i,o,n){var s=o.filtered,r=a.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),n){if(!s.length){var l=!this.autoShown&&this.emptyMessage;if("function"==typeof l&&(l=this.emptyMessage(r)),l){var c=[{caption:l,value:""}];return this.completions=new v(c),this.openPopup(this.editor,r,t),void this.popup.renderer.setStyle("ace_loading",!1)}return this.detach()}if(1==s.length&&s[0].value==r&&!s[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&1==s.length)return this.insertMatch(s[0])}this.completions=!n&&this.showLoadingState?new v(e.completionsForLoading.concat(s),o.filterText):o,this.openPopup(this.editor,r,t),this.popup.renderer.setStyle("ace_loading",!n)}.bind(this)),!this.showLoadingState||this.autoShown||this.popup&&this.popup.isOpen||this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},e.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},e.prototype.updateDocTooltip=function(){var e=this.popup,t=this.completions.filtered,i=t&&(t[e.getHoveredRow()]||t[e.getRow()]),o=null;if(!i||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var n=this.editor.completers.length,s=0;s<n;s++){var r=this.editor.completers[s];if(r.getDocTooltip&&i.completerId===r.id){o=r.getDocTooltip(i);break}}if(o||"string"==typeof i||(o=i),"string"==typeof o&&(o={docText:o}),!o||!o.docHTML&&!o.docText)return this.hideDocTooltip();this.showDocTooltip(o)},e.prototype.showDocTooltip=function(e){this.tooltipNode||(this.tooltipNode=c.createElement("div"),this.tooltipNode.style.margin="0",this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.style.overscrollBehavior="contain",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this),this.tooltipNode.id="doc-tooltip",this.tooltipNode.setAttribute("role","tooltip"),this.tooltipNode.addEventListener("wheel",u));var t=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(t.isDark?"ace_dark ":"")+(t.cssClass||"");var i=this.tooltipNode;e.docHTML?i.innerHTML=e.docHTML:e.docText&&(i.textContent=e.docText),i.parentNode||this.popup.container.appendChild(this.tooltipNode);var o=this.popup,n=o.container.getBoundingClientRect();i.style.top=o.container.style.top,i.style.bottom=o.container.style.bottom,i.style.display="block",window.innerWidth-n.right<320?n.left<320?o.isTopdown?(i.style.top=n.bottom+"px",i.style.left=n.left+"px",i.style.right="",i.style.bottom=""):(i.style.top=o.container.offsetTop-i.offsetHeight+"px",i.style.left=n.left+"px",i.style.right="",i.style.bottom=""):(i.style.right=window.innerWidth-n.left+"px",i.style.left=""):(i.style.left=n.right+1+"px",i.style.right="")},e.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),this.tooltipNode){var e=this.tooltipNode;this.editor.isFocused()||document.activeElement!=e||this.editor.focus(),this.tooltipNode=null,e.parentNode&&e.parentNode.removeChild(e)}},e.prototype.onTooltipClick=function(e){for(var t=e.target;t&&t!=this.tooltipNode;){if("A"==t.nodeName&&t.href){t.rel="noreferrer",t.target="_blank";break}t=t.parentNode}},e.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var e=this.popup.container;e&&e.parentNode&&e.parentNode.removeChild(e)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",m),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},e}();f.prototype.commands={Up:function(e){e.completer.goTo("up")},Down:function(e){e.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(e){e.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(e){e.completer.goTo("end")},Esc:function(e){e.completer.detach()},Return:function(e){return e.completer.insertMatch()},"Shift-Return":function(e){e.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(e){var t=e.completer.insertMatch();if(t||e.tabstopManager)return t;e.completer.goTo("down")},PageUp:function(e){e.completer.popup.gotoPageUp()},PageDown:function(e){e.completer.popup.gotoPageDown()}},f.for=function(e){return e.completer instanceof f||(e.completer&&(e.completer.destroy(),e.completer=null),h.get("sharedPopups")?(f.$sharedInstance||(f.$sharedInstance=new f),e.completer=f.$sharedInstance):(e.completer=new f,e.once("destroy",m))),e.completer},f.startCommand={name:"startAutocomplete",exec:function(e,t){var i=f.for(e);i.autoInsert=!1,i.autoSelect=!0,i.autoShown=!1,i.showPopup(e,t),i.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var g=function(){function e(e){this.initialPosition=e,this.active=!0}return e.prototype.insertByIndex=function(e,t,i){return!(!this.completions||!this.completions.filtered)&&this.insertMatch(e,this.completions.filtered[t],i)},e.prototype.insertMatch=function(e,t,i){if(!t)return!1;if(e.startOperation({command:{name:"insertMatch"}}),t.completer&&t.completer.insertMatch)t.completer.insertMatch(e,t);else{if(!this.completions)return!1;var o=this.completions.filterText.length,n=0;if(t.range&&t.range.start.row===t.range.end.row&&(o-=this.initialPosition.prefix.length,o+=this.initialPosition.pos.column-t.range.start.column,n+=t.range.end.column-this.initialPosition.pos.column),o||n){var s;s=e.selection.getAllRanges?e.selection.getAllRanges():[e.getSelectionRange()];for(var r,a=0;r=s[a];a++)r.start.column-=o,r.end.column+=n,e.session.remove(r)}t.snippet?p.insertSnippet(e,t.snippet):this.$insertString(e,t),t.completer&&t.completer.onInsert&&"function"==typeof t.completer.onInsert&&t.completer.onInsert(e,t),t.command&&"startAutocomplete"===t.command&&e.execCommand(t.command)}return e.endOperation(),!0},e.prototype.$insertString=function(e,t){var i=t.value||t;e.execCommand("insertstring",i)},e.prototype.gatherCompletions=function(e,t){var i=e.getSession(),o=e.getCursorPosition(),n=a.getCompletionPrefix(e),s=[];this.completers=e.completers;var r=e.completers.length;return e.completers.forEach((function(l,c){l.getCompletions(e,i,o,n,(function(i,o){l.hideInlinePreview&&(o=o.map((function(e){return Object.assign(e,{hideInlinePreview:l.hideInlinePreview})}))),!i&&o&&(s=s.concat(o)),t(null,{prefix:a.getCompletionPrefix(e),matches:s,finished:0==--r})}))})),!0},e.prototype.provideCompletions=function(e,t,i){var o=function(e){var o=e.prefix,n=e.matches;this.completions=new v(n),t.exactMatch&&(this.completions.exactMatch=!0),t.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(o),(e.finished||this.completions.filtered.length)&&i(null,this.completions,e.finished)}.bind(this),n=!0,s=null;if(this.gatherCompletions(e,function(e,t){this.active&&(e&&(i(e,[],!0),this.detach()),0===t.prefix.indexOf(t.prefix)&&(n?s=t:o(t)))}.bind(this)),n=!1,s){var r=s;s=null,o(r)}},e.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach((function(e){"function"==typeof e.cancel&&e.cancel()}))},e}(),v=function(){function e(e,t){this.all=e,this.filtered=e,this.filterText=t||"",this.exactMatch=!1,this.ignoreCaption=!1}return e.prototype.setFilter=function(e){if(e.length>this.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort((function(e,t){return t.exactMatch-e.exactMatch||t.$score-e.$score||(e.caption||e.value).localeCompare(t.caption||t.value)}));var i=null;t=t.filter((function(e){var t=e.snippet||e.caption||e.value;return t!==i&&(i=t,!0)})),this.filtered=t},e.prototype.filterCompletions=function(e,t){var i=[],o=t.toUpperCase(),n=t.toLowerCase();e:for(var s,r=0;s=e[r];r++){var a=!this.ignoreCaption&&s.caption||s.value||s.snippet;if(a){var l,c,p=-1,h=0,d=0;if(this.exactMatch){if(t!==a.substr(0,t.length))continue e}else{var u=a.toLowerCase().indexOf(n);if(u>-1)d=u;else for(var m=0;m<t.length;m++){var f=a.indexOf(n[m],p+1),g=a.indexOf(o[m],p+1);if((l=f>=0&&(g<0||f<g)?f:g)<0)continue e;(c=l-p-1)>0&&(-1===p&&(d+=10),d+=c,h|=1<<m),p=l}}s.matchMask=h,s.exactMatch=d?0:1,s.$score=(s.score||0)-d,i.push(s)}}return i},e}();t.Autocomplete=f,t.CompletionProvider=g,t.FilteredList=v})),ace.define("ace/ext/command_bar",["require","exports","module","ace/tooltip","ace/lib/event_emitter","ace/lib/lang","ace/lib/dom","ace/lib/oop","ace/lib/useragent"],(function(e,t,i){var o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],o=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},n=e("../tooltip").Tooltip,s=e("../lib/event_emitter").EventEmitter,r=e("../lib/lang"),a=e("../lib/dom"),l=e("../lib/oop"),c=e("../lib/useragent"),p="command_bar_tooltip_button",h="command_bar_button_value",d="command_bar_button_caption",u="command_bar_keybinding",m="command_bar_tooltip",f="MoreOptionsButton",g=function(e,t){return t.row>e.row||t.row===e.row&&t.column>e.column?e:t},v={Ctrl:{mac:"^"},Option:{mac:"⌥"},Command:{mac:"⌘"},Cmd:{mac:"⌘"},Shift:"⇧",Left:"←",Right:"→",Up:"↑",Down:"↓"},b=function(){function e(e,t){var i,s;t=t||{},this.parentNode=e,this.tooltip=new n(this.parentNode),this.moreOptions=new n(this.parentNode),this.maxElementsOnTooltip=t.maxElementsOnTooltip||4,this.$alwaysShow=t.alwaysShow||!1,this.eventListeners={},this.elements={},this.commands={},this.tooltipEl=a.buildDom(["div",{class:m}],this.tooltip.getElement()),this.moreOptionsEl=a.buildDom(["div",{class:m+" tooltip_more_options"}],this.moreOptions.getElement()),this.$showTooltipTimer=r.delayedCall(this.$showTooltip.bind(this),t.showDelay||100),this.$hideTooltipTimer=r.delayedCall(this.$hideTooltip.bind(this),t.hideDelay||100),this.$tooltipEnter=this.$tooltipEnter.bind(this),this.$onMouseMove=this.$onMouseMove.bind(this),this.$onChangeScroll=this.$onChangeScroll.bind(this),this.$onEditorChangeSession=this.$onEditorChangeSession.bind(this),this.$scheduleTooltipForHide=this.$scheduleTooltipForHide.bind(this),this.$preventMouseEvent=this.$preventMouseEvent.bind(this);try{for(var l=o(["mousedown","mouseup","click"]),c=l.next();!c.done;c=l.next()){var p=c.value;this.tooltip.getElement().addEventListener(p,this.$preventMouseEvent),this.moreOptions.getElement().addEventListener(p,this.$preventMouseEvent)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(i)throw i.error}}}return e.prototype.registerCommand=function(e,t){var i=Object.keys(this.commands).length<this.maxElementsOnTooltip;i||this.elements[f]||this.$createCommand(f,{name:"···",exec:function(){this.$shouldHideMoreOptions=!1,this.$setMoreOptionsVisibility(!this.isMoreOptionsShown())}.bind(this),type:"checkbox",getValue:function(){return this.isMoreOptionsShown()}.bind(this),enabled:!0},!0),this.$createCommand(e,t,i),this.isShown()&&this.updatePosition()},e.prototype.isShown=function(){return!!this.tooltip&&this.tooltip.isOpen},e.prototype.isMoreOptionsShown=function(){return!!this.moreOptions&&this.moreOptions.isOpen},e.prototype.getAlwaysShow=function(){return this.$alwaysShow},e.prototype.setAlwaysShow=function(e){this.$alwaysShow=e,this.$updateOnHoverHandlers(!this.$alwaysShow),this._signal("alwaysShow",this.$alwaysShow)},e.prototype.attach=function(e){!e||this.isShown()&&this.editor===e||(this.detach(),this.editor=e,this.editor.on("changeSession",this.$onEditorChangeSession),this.editor.session&&(this.editor.session.on("changeScrollLeft",this.$onChangeScroll),this.editor.session.on("changeScrollTop",this.$onChangeScroll)),this.getAlwaysShow()?this.$showTooltip():this.$updateOnHoverHandlers(!0))},e.prototype.updatePosition=function(){if(this.editor){var e,t=this.editor.renderer;if((e=this.editor.selection.getAllRanges?this.editor.selection.getAllRanges():[this.editor.getSelectionRange()]).length){for(var i,o=g(e[0].start,e[0].end),n=0;i=e[n];n++)o=g(o,g(i.start,i.end));var s=t.$cursorLayer.getPixelPosition(o,!0),r=this.tooltip.getElement(),a=window.innerWidth,l=window.innerHeight,c=this.editor.container.getBoundingClientRect();s.top+=c.top-t.layerConfig.offset,s.left+=c.left+t.gutterWidth-t.scrollLeft;var p=s.top>=c.top&&s.top<=c.bottom&&s.left>=c.left+t.gutterWidth&&s.left<=c.right;if(p||!this.isShown())if(p&&!this.isShown()&&this.getAlwaysShow())this.$showTooltip();else{var h=s.top-r.offsetHeight,d=Math.min(a-r.offsetWidth,s.left);if(h>=0&&h+r.offsetHeight<=l&&d>=0&&d+r.offsetWidth<=a){if(this.tooltip.setPosition(d,h),this.isMoreOptionsShown()){h+=r.offsetHeight,d=this.elements[f].getBoundingClientRect().left;var u=this.moreOptions.getElement();l=window.innerHeight;h+u.offsetHeight>l&&(h-=r.offsetHeight+u.offsetHeight),d+u.offsetWidth>a&&(d=a-u.offsetWidth),this.moreOptions.setPosition(d,h)}}else this.$hideTooltip()}else this.$hideTooltip()}}},e.prototype.update=function(){Object.keys(this.elements).forEach(this.$updateElement.bind(this))},e.prototype.detach=function(){this.tooltip.hide(),this.moreOptions.hide(),this.$updateOnHoverHandlers(!1),this.editor&&(this.editor.off("changeSession",this.$onEditorChangeSession),this.editor.session&&(this.editor.session.off("changeScrollLeft",this.$onChangeScroll),this.editor.session.off("changeScrollTop",this.$onChangeScroll))),this.$mouseInTooltip=!1,this.editor=null},e.prototype.destroy=function(){this.tooltip&&this.moreOptions&&(this.detach(),this.tooltip.destroy(),this.moreOptions.destroy()),this.eventListeners={},this.commands={},this.elements={},this.tooltip=this.moreOptions=this.parentNode=null},e.prototype.$createCommand=function(e,t,i){var o,n=i?this.tooltipEl:this.moreOptionsEl,s=[],r=t.bindKey;r&&("object"==typeof r&&(r=c.isMac?r.mac:r.win),s=(s=(r=r.split("|")[0]).split("-")).map((function(e){if(v[e]){if("string"==typeof v[e])return v[e];if(c.isMac&&v[e].mac)return v[e].mac}return e}))),i&&t.iconCssClass?o=["div",{class:["ace_icon_svg",t.iconCssClass].join(" "),"aria-label":t.name+" ("+t.bindKey+")"}]:(o=[["div",{class:h}],["div",{class:d},t.name]],s.length&&o.push(["div",{class:u},s.map((function(e){return["div",e]}))])),a.buildDom(["div",{class:[p,t.cssClass||""].join(" "),ref:e},o],n,this.elements),this.commands[e]=t;var l=function(i){this.editor&&this.editor.focus(),this.$shouldHideMoreOptions=this.isMoreOptionsShown(),!this.elements[e].disabled&&t.exec&&t.exec(this.editor),this.$shouldHideMoreOptions&&this.$setMoreOptionsVisibility(!1),this.update(),i.preventDefault()}.bind(this);this.eventListeners[e]=l,this.elements[e].addEventListener("click",l.bind(this)),this.$updateElement(e)},e.prototype.$setMoreOptionsVisibility=function(e){e?(this.moreOptions.setTheme(this.editor.renderer.theme),this.moreOptions.setClassName(m+"_wrapper"),this.moreOptions.show(),this.update(),this.updatePosition()):this.moreOptions.hide()},e.prototype.$onEditorChangeSession=function(e){e.oldSession&&(e.oldSession.off("changeScrollTop",this.$onChangeScroll),e.oldSession.off("changeScrollLeft",this.$onChangeScroll)),this.detach()},e.prototype.$onChangeScroll=function(){this.editor.renderer&&(this.isShown()||this.getAlwaysShow())&&this.editor.renderer.once("afterRender",this.updatePosition.bind(this))},e.prototype.$onMouseMove=function(e){if(!this.$mouseInTooltip){var t=this.editor.getCursorPosition(),i=this.editor.renderer.textToScreenCoordinates(t.row,t.column),o=this.editor.renderer.lineHeight;e.clientY>=i.pageY&&e.clientY<i.pageY+o?(this.isShown()||this.$showTooltipTimer.isPending()||this.$showTooltipTimer.delay(),this.$hideTooltipTimer.isPending()&&this.$hideTooltipTimer.cancel()):(this.isShown()&&!this.$hideTooltipTimer.isPending()&&this.$hideTooltipTimer.delay(),this.$showTooltipTimer.isPending()&&this.$showTooltipTimer.cancel())}},e.prototype.$preventMouseEvent=function(e){this.editor&&this.editor.focus(),e.preventDefault()},e.prototype.$scheduleTooltipForHide=function(){this.$mouseInTooltip=!1,this.$showTooltipTimer.cancel(),this.$hideTooltipTimer.delay()},e.prototype.$tooltipEnter=function(){this.$mouseInTooltip=!0,this.$showTooltipTimer.isPending()&&this.$showTooltipTimer.cancel(),this.$hideTooltipTimer.isPending()&&this.$hideTooltipTimer.cancel()},e.prototype.$updateOnHoverHandlers=function(e){var t=this.tooltip.getElement(),i=this.moreOptions.getElement();e?(this.editor&&(this.editor.on("mousemove",this.$onMouseMove),this.editor.renderer.getMouseEventTarget().addEventListener("mouseout",this.$scheduleTooltipForHide,!0)),t.addEventListener("mouseenter",this.$tooltipEnter),t.addEventListener("mouseleave",this.$scheduleTooltipForHide),i.addEventListener("mouseenter",this.$tooltipEnter),i.addEventListener("mouseleave",this.$scheduleTooltipForHide)):(this.editor&&(this.editor.off("mousemove",this.$onMouseMove),this.editor.renderer.getMouseEventTarget().removeEventListener("mouseout",this.$scheduleTooltipForHide,!0)),t.removeEventListener("mouseenter",this.$tooltipEnter),t.removeEventListener("mouseleave",this.$scheduleTooltipForHide),i.removeEventListener("mouseenter",this.$tooltipEnter),i.removeEventListener("mouseleave",this.$scheduleTooltipForHide))},e.prototype.$showTooltip=function(){this.isShown()||(this.tooltip.setTheme(this.editor.renderer.theme),this.tooltip.setClassName(m+"_wrapper"),this.tooltip.show(),this.update(),this.updatePosition(),this._signal("show"))},e.prototype.$hideTooltip=function(){this.$mouseInTooltip=!1,this.isShown()&&(this.moreOptions.hide(),this.tooltip.hide(),this._signal("hide"))},e.prototype.$updateElement=function(e){var t=this.commands[e];if(t){var i=this.elements[e],o=t.enabled;if("function"==typeof o&&(o=o(this.editor)),"function"==typeof t.getValue){var n=t.getValue(this.editor);if("text"===t.type)i.textContent=n;else if("checkbox"===t.type){var s=n?a.addCssClass:a.removeCssClass,r=i.parentElement===this.tooltipEl;i.ariaChecked=n,r?s(i,"ace_selected"):s(i=i.querySelector("."+h),"ace_checkmark")}}o&&i.disabled?(a.removeCssClass(i,"ace_disabled"),i.ariaDisabled=i.disabled=!1,i.removeAttribute("disabled")):o||i.disabled||(a.addCssClass(i,"ace_disabled"),i.ariaDisabled=i.disabled=!0,i.setAttribute("disabled",""))}},e}();l.implement(b.prototype,s),a.importCssString("\n.ace_tooltip.".concat(m,"_wrapper {\n padding: 0;\n}\n\n.ace_tooltip .").concat(m," {\n padding: 1px 5px;\n display: flex;\n pointer-events: auto;\n}\n\n.ace_tooltip .").concat(m,".tooltip_more_options {\n padding: 1px;\n flex-direction: column;\n}\n\ndiv.").concat(p," {\n display: inline-flex;\n cursor: pointer;\n margin: 1px;\n border-radius: 2px;\n padding: 2px 5px;\n align-items: center;\n}\n\ndiv.").concat(p,".ace_selected,\ndiv.").concat(p,":hover:not(.ace_disabled) {\n background-color: rgba(0, 0, 0, 0.1);\n}\n\ndiv.").concat(p,".ace_disabled {\n color: #777;\n pointer-events: none;\n}\n\ndiv.").concat(p," .ace_icon_svg {\n height: 12px;\n background-color: #000;\n}\n\ndiv.").concat(p,".ace_disabled .ace_icon_svg {\n background-color: #777;\n}\n\n.").concat(m,".tooltip_more_options .").concat(p," {\n display: flex;\n}\n\n.").concat(m,".").concat(h," {\n display: none;\n}\n\n.").concat(m,".tooltip_more_options .").concat(h," {\n display: inline-block;\n width: 12px;\n}\n\n.").concat(d," {\n display: inline-block;\n}\n\n.").concat(u," {\n margin: 0 2px;\n display: inline-block;\n font-size: 8px;\n}\n\n.").concat(m,".tooltip_more_options .").concat(u," {\n margin-left: auto;\n}\n\n.").concat(u," div {\n display: inline-block;\n min-width: 8px;\n padding: 2px;\n margin: 0 1px;\n border-radius: 2px;\n background-color: #ccc;\n text-align: center;\n}\n\n.ace_dark.ace_tooltip .").concat(m," {\n background-color: #373737;\n color: #eee;\n}\n\n.ace_dark div.").concat(p,".ace_disabled {\n color: #979797;\n}\n\n.ace_dark div.").concat(p,".ace_selected,\n.ace_dark div.").concat(p,":hover:not(.ace_disabled) {\n background-color: rgba(255, 255, 255, 0.1);\n}\n\n.ace_dark div.").concat(p," .ace_icon_svg {\n background-color: #eee;\n}\n\n.ace_dark div.").concat(p,".ace_disabled .ace_icon_svg {\n background-color: #979797;\n}\n\n.ace_dark .").concat(p,".ace_disabled {\n color: #979797;\n}\n\n.ace_dark .").concat(u," div {\n background-color: #575757;\n}\n\n.ace_checkmark::before {\n content: '✓';\n}\n"),"commandbar.css",!1),t.CommandBarTooltip=b,t.TOOLTIP_CLASS_NAME=m,t.BUTTON_CLASS_NAME=p})),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],(function(e,t,i){var o=e("../range").Range,n=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;function s(e,t){var i=function(e,t){return e.getTextRange(o.fromPoints({row:0,column:0},t)).split(n).length-1}(e,t),s=e.getValue().split(n),r=Object.create(null),a=s[i];return s.forEach((function(e,t){if(e&&e!==a){var o=Math.abs(i-t),n=s.length-o;r[e]?r[e]=Math.max(n,r[e]):r[e]=n}})),r}t.getCompletions=function(e,t,i,o,n){var r=s(t,i);n(null,Object.keys(r).map((function(e){return{caption:e,value:e,score:r[e],meta:"local"}})))}})),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/autocomplete/text_completer","ace/editor","ace/config"],(function(e,t,i){"use strict";var o=e("../snippets").snippetManager,n=e("../autocomplete").Autocomplete,s=e("../config"),r=e("../lib/lang"),a=e("../autocomplete/util"),l=e("../autocomplete/text_completer"),c={getCompletions:function(e,t,i,o,n){if(t.$mode.completer)return t.$mode.completer.getCompletions(e,t,i,o,n);var s=e.session.getState(i.row),r=t.$mode.getCompletions(s,t,i,o);n(null,r=r.map((function(e){return e.completerId=c.id,e})))},id:"keywordCompleter"},p={getCompletions:function(e,t,i,n,s){var r=[],a=t.getTokenAt(i.row,i.column);a&&a.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?r.push("html-tag"):r=o.getActiveScopes(e);var l=o.snippetMap,c=[];r.forEach((function(e){for(var t=l[e]||[],i=t.length;i--;){var o=t[i],n=o.name||o.tabTrigger;n&&c.push({caption:n,snippet:o.content,meta:o.tabTrigger&&!o.name?o.tabTrigger+"⇥ ":"snippet",completerId:p.id})}}),this),s(null,c)},getDocTooltip:function(e){var t,i;e.snippet&&!e.docHTML&&(e.docHTML=["<b>",r.escapeHTML(e.caption),"</b>","<hr></hr>",r.escapeHTML((t=e.snippet,i={},t.replace(/\${(\d+)(:(.*?))?}/g,(function(e,t,o,n){return i[t]=n||""})).replace(/\$(\d+?)/g,(function(e,t){return i[t]}))))].join(""))},id:"snippetCompleter"},h=[p,l,c];t.setCompleters=function(e){h.length=0,e&&h.push.apply(h,e)},t.addCompleter=function(e){h.push(e)},t.textCompleter=l,t.keyWordCompleter=c,t.snippetCompleter=p;var d,u={name:"expandSnippet",exec:function(e){return o.expandWithTab(e)},bindKey:"Tab"},m=function(e,t){f(t.session.$mode)},f=function(e){"string"==typeof e&&(e=s.$modes[e]),e&&(o.files||(o.files={}),g(e.$id,e.snippetFileId),e.modes&&e.modes.forEach(f))},g=function(e,t){t&&e&&!o.files[e]&&(o.files[e]={},s.loadModule(t,(function(t){t&&(o.files[e]=t,!t.snippets&&t.snippetText&&(t.snippets=o.parseSnippetFile(t.snippetText)),o.register(t.snippets||[],t.scope),t.includeScopes&&(o.snippetMap[t.scope].includeScopes=t.includeScopes,t.includeScopes.forEach((function(e){f("ace/mode/"+e)}))))})))},v=function(e){var t=e.editor,i=t.completer&&t.completer.activated;if("backspace"===e.command.name)i&&!a.getCompletionPrefix(t)&&t.completer.detach();else if("insertstring"===e.command.name&&!i){d=e;var o=e.editor.$liveAutocompletionDelay;o?b.delay(o):y(e)}},b=r.delayedCall((function(){y(d)}),0),y=function(e){var t=e.editor,i=a.getCompletionPrefix(t),o=a.triggerAutocomplete(t);if(i&&i.length>=t.$liveAutocompletionThreshold||o){var s=n.for(t);s.autoShown=!0,s.showPopup(t)}},x=e("../editor").Editor;e("../config").defineOptions(x.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.addCommand(n.startCommand)):this.commands.removeCommand(n.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:h),this.commands.on("afterExec",v)):this.commands.off("afterExec",v)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(e){e?(this.commands.addCommand(u),this.on("changeMode",m),m(0,this)):(this.commands.removeCommand(u),this.off("changeMode",m))},value:!1}})})),ace.define("ace/ext/inline_autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/inline","ace/autocomplete","ace/autocomplete","ace/editor","ace/autocomplete/util","ace/lib/dom","ace/lib/lang","ace/ext/command_bar","ace/ext/command_bar","ace/ext/language_tools","ace/ext/language_tools","ace/ext/language_tools","ace/config"],(function(e,t,i){"use strict";var o=e("../keyboard/hash_handler").HashHandler,n=e("../autocomplete/inline").AceInline,s=e("../autocomplete").FilteredList,r=e("../autocomplete").CompletionProvider,a=e("../editor").Editor,l=e("../autocomplete/util"),c=e("../lib/dom"),p=e("../lib/lang"),h=e("./command_bar").CommandBarTooltip,d=e("./command_bar").BUTTON_CLASS_NAME,u=e("./language_tools").snippetCompleter,m=e("./language_tools").textCompleter,f=e("./language_tools").keyWordCompleter,g=function(e,t){t.completer&&t.completer.destroy()},v=function(){function e(e){this.editor=e,this.keyboardHandler=new o(this.commands),this.$index=-1,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.changeTimer=p.delayedCall(function(){this.updateCompletions()}.bind(this))}return e.prototype.getInlineRenderer=function(){return this.inlineRenderer||(this.inlineRenderer=new n),this.inlineRenderer},e.prototype.getInlineTooltip=function(){return this.inlineTooltip||(this.inlineTooltip=e.createInlineTooltip(document.body||document.documentElement)),this.inlineTooltip},e.prototype.show=function(e){this.activated=!0,this.editor.completer!==this&&(this.editor.completer&&this.editor.completer.detach(),this.editor.completer=this),this.editor.on("changeSelection",this.changeListener),this.editor.on("blur",this.blurListener),this.updateCompletions(e)},e.prototype.$open=function(){this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({}),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler),this.getInlineTooltip().attach(this.editor),-1===this.$index?this.setIndex(0):this.$showCompletion(),this.changeTimer.cancel()},e.prototype.insertMatch=function(){var e=this.getCompletionProvider().insertByIndex(this.editor,this.$index);return this.detach(),e},e.prototype.changeListener=function(e){var t=this.editor.selection.lead;(t.row!=this.base.row||t.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},e.prototype.blurListener=function(e){this.detach()},e.prototype.goTo=function(e){if(this.completions&&this.completions.filtered){var t=this.completions.filtered.length;switch(e.toLowerCase()){case"prev":this.setIndex((this.$index-1+t)%t);break;case"next":this.setIndex((this.$index+1+t)%t);break;case"first":this.setIndex(0);break;case"last":this.setIndex(this.completions.filtered.length-1)}}},e.prototype.getLength=function(){return this.completions&&this.completions.filtered?this.completions.filtered.length:0},e.prototype.getData=function(e){return null==e||null===e?this.completions.filtered[this.$index]:this.completions.filtered[e]},e.prototype.getIndex=function(){return this.$index},e.prototype.isOpen=function(){return this.$index>=0},e.prototype.setIndex=function(e){if(this.completions&&this.completions.filtered){var t=Math.max(-1,Math.min(this.completions.filtered.length-1,e));t!==this.$index&&(this.$index=t,this.$showCompletion())}},e.prototype.getCompletionProvider=function(e){return this.completionProvider||(this.completionProvider=new r(e)),this.completionProvider},e.prototype.$showCompletion=function(){this.getInlineRenderer().show(this.editor,this.completions.filtered[this.$index],this.completions.filterText)||this.getInlineRenderer().hide(),this.inlineTooltip&&this.inlineTooltip.isShown()&&this.inlineTooltip.update()},e.prototype.$updatePrefix=function(){var e=this.editor.getCursorPosition(),t=this.editor.session.getTextRange({start:this.base,end:e});return this.completions.setFilter(t),this.completions.filtered.length&&(1!=this.completions.filtered.length||this.completions.filtered[0].value!=t||this.completions.filtered[0].snippet)?(this.$open(this.editor,t),t):this.detach()},e.prototype.updateCompletions=function(e){var t="";if(e&&e.matches){var i=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(i.row,i.column),this.base.$insertRight=!0,this.completions=new s(e.matches),this.$open(this.editor,"")}this.base&&this.completions&&(t=this.$updatePrefix());var o=this.editor.getSession();i=this.editor.getCursorPosition(),t=l.getCompletionPrefix(this.editor);this.base=o.doc.createAnchor(i.row,i.column-t.length),this.base.$insertRight=!0;e={exactMatch:!0,ignoreCaption:!0};this.getCompletionProvider({prefix:t,base:this.base,pos:i}).provideCompletions(this.editor,e,function(e,t,i){var o=t.filtered,n=l.getCompletionPrefix(this.editor);if(i){if(!o.length)return this.detach();if(1==o.length&&o[0].value==n&&!o[0].snippet)return this.detach()}this.completions=t,this.$open(this.editor,n)}.bind(this))},e.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener)),this.changeTimer.cancel(),this.inlineTooltip&&this.inlineTooltip.detach(),this.setIndex(-1),this.completionProvider&&this.completionProvider.detach(),this.inlineRenderer&&this.inlineRenderer.isOpen()&&this.inlineRenderer.hide(),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null},e.prototype.destroy=function(){this.detach(),this.inlineRenderer&&this.inlineRenderer.destroy(),this.inlineTooltip&&this.inlineTooltip.destroy(),this.editor&&this.editor.completer==this&&(this.editor.off("destroy",g),this.editor.completer=null),this.inlineTooltip=this.editor=this.inlineRenderer=null},e.prototype.updateDocTooltip=function(){},e}();v.prototype.commands={Previous:{bindKey:"Alt-[",name:"Previous",exec:function(e){e.completer.goTo("prev")}},Next:{bindKey:"Alt-]",name:"Next",exec:function(e){e.completer.goTo("next")}},Accept:{bindKey:{win:"Tab|Ctrl-Right",mac:"Tab|Cmd-Right"},name:"Accept",exec:function(e){return e.completer.insertMatch()}},Close:{bindKey:"Esc",name:"Close",exec:function(e){e.completer.detach()}}},v.for=function(e){return e.completer instanceof v||(e.completer&&(e.completer.destroy(),e.completer=null),e.completer=new v(e),e.once("destroy",g)),e.completer},v.startCommand={name:"startInlineAutocomplete",exec:function(e,t){v.for(e).show(t)},bindKey:{win:"Alt-C",mac:"Option-C"}};var b=[u,m,f];e("../config").defineOptions(a.prototype,"editor",{enableInlineAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:b),this.commands.addCommand(v.startCommand)):this.commands.removeCommand(v.startCommand)},value:!1}}),v.createInlineTooltip=function(e){var t=new h(e);return t.registerCommand("Previous",Object.assign({},v.prototype.commands.Previous,{enabled:!0,type:"button",iconCssClass:"ace_arrow_rotated"})),t.registerCommand("Position",{enabled:!1,getValue:function(e){return e?[e.completer.getIndex()+1,e.completer.getLength()].join("/"):""},type:"text",cssClass:"completion_position"}),t.registerCommand("Next",Object.assign({},v.prototype.commands.Next,{enabled:!0,type:"button",iconCssClass:"ace_arrow"})),t.registerCommand("Accept",Object.assign({},v.prototype.commands.Accept,{enabled:function(e){return!!e&&e.completer.getIndex()>=0},type:"button"})),t.registerCommand("ShowTooltip",{name:"Always Show Tooltip",exec:function(){t.setAlwaysShow(!t.getAlwaysShow())},enabled:!0,getValue:function(){return t.getAlwaysShow()},type:"checkbox"}),t},c.importCssString('\n\n.ace_icon_svg.ace_arrow,\n.ace_icon_svg.ace_arrow_rotated {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTUuODM3MDEgMTVMNC41ODc1MSAxMy43MTU1TDEwLjE0NjggOEw0LjU4NzUxIDIuMjg0NDZMNS44MzcwMSAxTDEyLjY0NjUgOEw1LjgzNzAxIDE1WiIgZmlsbD0iYmxhY2siLz48L3N2Zz4=");\n}\n\n.ace_icon_svg.ace_arrow_rotated {\n transform: rotate(180deg);\n}\n\ndiv.'.concat(d,".completion_position {\n padding: 0;\n}\n"),"inlineautocomplete.css",!1),t.InlineAutocomplete=v})),ace.require(["ace/ext/inline_autocomplete"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));