@openmrs/esm-form-builder-app 2.5.0 → 2.5.1-pre.1001

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 (487) hide show
  1. package/README.md +18 -7
  2. package/dist/0078b630bed2938ce03f618c2bcd1363.js +1 -0
  3. package/dist/{acaef5b3d4971efbf24be1a229186ff5.js → 019e34e85139cfc611bf23efa096c980.js} +1 -1
  4. package/dist/01d0d81c536cf29f255c5bfabdf357f9.js +1 -0
  5. package/dist/029f5ee0420883bc3c38a7f143fd174a.js +1 -0
  6. package/dist/{8d7988f603ec76ecb92315442285a83d.js → 03a5f5b2b97a8fc289399d92fba810d0.js} +1 -1
  7. package/dist/03c024582e611eac84444a83f7fd962d.js +1 -0
  8. package/dist/03cecfc674939048da99384e68631f13.js +1 -0
  9. package/dist/0416c21cfe088739209926632a360e3b.js +1 -0
  10. package/dist/09c09a39f911db8fb36431d9d48095ac.js +1 -0
  11. package/dist/{17b41db8dd7120d3a88417a1490f57b7.js → 0bd45b2d490c48c31619072a4fb0eaea.js} +1 -1
  12. package/dist/0d5aa4cf4cd6ced22d689adc35468925.js +1 -0
  13. package/dist/{330c0deacbfbbb6f1249b5bd887d608a.js → 0fa30731c46fe8b6a54f9752ad0ed7e0.js} +1 -1
  14. package/dist/11.js +1 -0
  15. package/dist/118fa9ea46f9ba830cd0e843f4d3385a.js +1 -0
  16. package/dist/{5061ac5e99882b9f26051a5d73c75271.js → 1195816afa4a5e8183857be16a04ae6f.js} +1 -1
  17. package/dist/14729b329294f14e4ca78b8a85f5ffa9.js +1 -0
  18. package/dist/184.js +2 -0
  19. package/dist/184.js.LICENSE.txt +14 -0
  20. package/dist/184.js.map +1 -0
  21. package/dist/18a469a2f11af88696d750921e25192a.js +1 -0
  22. package/dist/192.js +1 -0
  23. package/dist/{447.js.map → 192.js.map} +1 -1
  24. package/dist/{807.js → 197.js} +1 -1
  25. package/dist/{7e4b5afab13800eedc72d1669997de99.js → 1c24a68cb472146022d0806ea2505cfb.js} +1 -1
  26. package/dist/{83d1c691b58768e3ec0a1f88450a7ceb.js → 1ce14f2cad9f3c122cb5ccfcd485ffb4.js} +1 -1
  27. package/dist/{e6e768df4733fa1a1c8a9b06a24ff2fd.js → 1d3796180f854b5d8ab435ab0a1c2c11.js} +1 -1
  28. package/dist/{fc84e4779f22e5f1c9a70f56f47e0ed6.js → 1ff1389501159e4846a5133e3b8992d8.js} +1 -1
  29. package/dist/20545e6680e996248f667158904a6a9b.js +1 -0
  30. package/dist/214df38fb17fa6274c150507734f4d59.js +1 -0
  31. package/dist/228.js +1 -0
  32. package/dist/228.js.map +1 -0
  33. package/dist/2287e0a9970175f8e26f811b688d2d36.js +1 -0
  34. package/dist/2302902e10c4afab56e1b864c96070cb.js +1 -0
  35. package/dist/2348c5ed0da81c27fa889f56e43f91a1.js +1 -0
  36. package/dist/25be9f866b93e4ffa34f07a4fde632d4.js +1 -0
  37. package/dist/{56ddbe1e119db3c02da97dc04012cf2b.js → 269732f4c5f6e82ea3246548a9631b47.js} +1 -1
  38. package/dist/27846e85433e54a3ec0ab34d62233dc5.js +1 -0
  39. package/dist/29.js +2 -0
  40. package/dist/29.js.map +1 -0
  41. package/dist/291.js +2 -0
  42. package/dist/291.js.LICENSE.txt +9 -0
  43. package/dist/291.js.map +1 -0
  44. package/dist/292.js +1 -0
  45. package/dist/292.js.map +1 -0
  46. package/dist/{e4bea9a2a2680d970c13cc4ed89bc1a0.js → 2a8394955e047270a2a965ec67843989.js} +1 -1
  47. package/dist/{99e41196ce05ad5fb70891b44ac227e8.js → 2aa392a501973ebfcea38239a45ed8e7.js} +1 -1
  48. package/dist/2b1b8f8b9e8f1e423a69afd121fd7da9.js +1 -0
  49. package/dist/{40f9100a898e3396df73051eb7c44cb8.js → 2b5729e073775b8fb827fc8e4725e48a.js} +1 -1
  50. package/dist/{262f489eb59166e1215642b60446d123.js → 2b89e20071dd734f42b8694d7a84c264.js} +1 -1
  51. package/dist/2d17c1117fbcc5f98907a74804e20dde.js +1 -0
  52. package/dist/{30d2b805bcbc5d6bd558d7bdf9137a0e.js → 2d2a75e3d01a74b93d07db04df8abe5e.js} +1 -1
  53. package/dist/2e47a5ceba483c50c5ca302447d37e95.js +1 -0
  54. package/dist/2e841e8b77c2a2c00fd71940632bc1e1.js +1 -0
  55. package/dist/300.js +1 -0
  56. package/dist/{465.js → 308.js} +1 -1
  57. package/dist/318dcae1cdcd4733986a93e7a5fab7b8.js +1 -0
  58. package/dist/{3cd75b9fb238f5af900205216be23a66.js → 328cbf598e9711b0a87c19437b02f80d.js} +1 -1
  59. package/dist/{757.js → 335.js} +1 -1
  60. package/dist/34d45757ec94b255f55a8df0ffbca874.js +1 -0
  61. package/dist/{fb08407a1b7ad7f9a2da2a7845f596c5.js → 34f99cce131bd7aa65e7a924e2456006.js} +1 -1
  62. package/dist/360.js +1 -0
  63. package/dist/360.js.map +1 -0
  64. package/dist/367def81f25c0a08527f9a4e86e70c56.js +1 -0
  65. package/dist/38105097fc2497d628f398be7db5f6e8.js +1 -0
  66. package/dist/3aa9acf68293a7f0389004dd82a08374.js +1 -0
  67. package/dist/{92e96a5183122509403347f8fde3e407.js → 3ac8c7749734990e2d9f81eeca219886.js} +1 -1
  68. package/dist/3b624a5e4f3b3ff05a090fcefa18470c.js +1 -0
  69. package/dist/{8b0e5da82a1aa923f454ee2e6568850b.js → 3bf96f8eb1859e2724a4b769af3b5f1e.js} +1 -1
  70. package/dist/3e4fdc5660f64b9c38e518be48b3b57e.js +1 -0
  71. package/dist/{531e426da5d4c152efe1e9522991e466.js → 3eefbe1c009cfd730b2ca6f834367c45.js} +1 -1
  72. package/dist/3f896944a97f002f2146e028ff2eac63.js +1 -0
  73. package/dist/410829a762fbac1d1f3ceed934518248.js +1 -0
  74. package/dist/41ae585cdbb9c2e8eefff5d30193029f.js +1 -0
  75. package/dist/41e8a86a20df71cb48a373b096c06cd1.js +1 -0
  76. package/dist/429.js +1 -0
  77. package/dist/429.js.map +1 -0
  78. package/dist/{6416bde11154c29c4e296eb82fed0bdf.js → 42e0ea6351d45d342caab13cb12f9ea4.js} +1 -1
  79. package/dist/431.js +1 -0
  80. package/dist/431.js.map +1 -0
  81. package/dist/432a5982ba3ddf958381d780e1e9a8e2.js +1 -0
  82. package/dist/44efcea2f84e80cc4092a89796afe886.js +1 -0
  83. package/dist/460.js +1 -0
  84. package/dist/460.js.map +1 -0
  85. package/dist/46ed21c8fbddeefacaf10d78887aa22a.js +1 -0
  86. package/dist/4821925a3d30a9b2e980aa74d0869ab0.js +1 -0
  87. package/dist/{1d633c2bf495c2c286fe37d00950e1d4.js → 4bee3a46b8378a7b4ef84492f08abd22.js} +1 -1
  88. package/dist/4c1bdecbedd36a5765de184ac056822a.js +1 -0
  89. package/dist/4f03709d8b1d52a622f0676f7a299510.js +1 -0
  90. package/dist/4f683c6881e9f8740f5516a85b9eb9da.js +1 -0
  91. package/dist/505.js +1 -0
  92. package/dist/505.js.map +1 -0
  93. package/dist/{8f8ce96f0f6ce8d8a30d5f2dcb4eca76.js → 5106411f7468a5ee5b1ee77aed12c0c7.js} +1 -1
  94. package/dist/512.js +1 -0
  95. package/dist/5398e3b596fa15df4d84b2aa0464e5c4.js +1 -0
  96. package/dist/{294.js → 540.js} +2 -2
  97. package/dist/540.js.map +1 -0
  98. package/dist/55.js +1 -0
  99. package/dist/{f5d50af31e924b65e3bd3764e8d1df3a.js → 57e14488b13e50ebdb5fdfc7880da683.js} +1 -1
  100. package/dist/{4b75999ea99d719689337def2fab50a3.js → 5a741aab715866cb4d9a55e89dfc8420.js} +1 -1
  101. package/dist/5a8ead0357e5029a2518959423dc29f3.js +1 -0
  102. package/dist/5ce650c06c385f9d15621e54c60457c0.js +1 -0
  103. package/dist/{49c44a682cc7627c4a2e8b4d1cfec022.js → 5cebfc2c3495b6294dcb2a99e5174872.js} +1 -1
  104. package/dist/{949a350e1d9f92839865e927eb00673f.js → 5d312b184c1f4565f51247d3c6dbba90.js} +1 -1
  105. package/dist/601.js +1 -0
  106. package/dist/601.js.map +1 -0
  107. package/dist/604.js +2 -0
  108. package/dist/604.js.LICENSE.txt +24 -0
  109. package/dist/604.js.map +1 -0
  110. package/dist/60d2bacc2e51eabc2bb0afa982fffb56.js +1 -0
  111. package/dist/{6707296f86034ccf2225ce3c27370114.js → 622e27eec5f26148f51ccc30315a3deb.js} +1 -1
  112. package/dist/{d492c085b5834c819ba21542b9147966.js → 6250c7594cd66ca91184b5beca293e06.js} +1 -1
  113. package/dist/{45873024a393c691246898090c972cd3.js → 6490772da5aecc6cb9e4c625abc74a96.js} +1 -1
  114. package/dist/{319.js → 652.js} +1 -1
  115. package/dist/656927386f77b2620f35af391f59d5ab.js +1 -0
  116. package/dist/65abcd8e99a385bcd8f1776f160040a9.js +1 -0
  117. package/dist/{2091e4c01015d7dda392116f3ae59801.js → 678f5201c1917429f334b88078ca4174.js} +1 -1
  118. package/dist/6821c1c5fb7909037ea68afc9ac6fa84.js +1 -0
  119. package/dist/685191c4f96bd2812757400e95ea7cbb.js +1 -0
  120. package/dist/6a0c82e8d455351e74687b23d41140fa.js +1 -0
  121. package/dist/6a1c347ab79a93f3ac01b08c8ccfc827.js +1 -0
  122. package/dist/{116d29a13f16f0a9bf9c25eaa2186c24.js → 6a851f05f1f4a974e02fe23eac2bad4e.js} +1 -1
  123. package/dist/{8a70eec5a46e423328f1e9d7d1a87f41.js → 6b4b87a54f673cfbb82be45329441bef.js} +1 -1
  124. package/dist/{002a2ac7b7d3b3b807ddcb210cfc91eb.js → 6bed1b724e74e6bc80688f42bc824d70.js} +1 -1
  125. package/dist/6c6d192b6860b4508a14c2d04769a35e.js +1 -0
  126. package/dist/6cf2d62a423414bc2d1c7db6405601a5.js +1 -0
  127. package/dist/6e40b726d91e9138d9eaef6fd012c740.js +1 -0
  128. package/dist/70efbabef77fb217f904f41dbf7fe8bf.js +1 -0
  129. package/dist/{b491027881efabe4493ad65daf3368de.js → 7222998c10fabd9c824cf8cf540b3b74.js} +1 -1
  130. package/dist/{277128dcbc226dfeb8fde9391fb24787.js → 7259bceba25ac1476fc775122a63d249.js} +1 -1
  131. package/dist/73af2faad0625104d52ff830ef9ea61e.js +1 -0
  132. package/dist/765a108d65257b76846cf458e46f9bde.js +1 -0
  133. package/dist/771acd16f7d805828ef10804b038d470.js +1 -0
  134. package/dist/786.js +8 -0
  135. package/dist/{166.js.LICENSE.txt → 786.js.LICENSE.txt} +1 -41
  136. package/dist/786.js.map +1 -0
  137. package/dist/789.js +1 -0
  138. package/dist/789.js.map +1 -0
  139. package/dist/{4150db3307181a1afef55ab2c9ec191e.js → 79241f85b016a7332f85bb66667459c2.js} +1 -1
  140. package/dist/79455ab9a6cd507f5314141cc965093a.js +1 -0
  141. package/dist/7b839a5c1f6d89538928c8a29003bbda.js +1 -0
  142. package/dist/7c488184a1ff274206e8af2c3aeeb2f6.js +1 -0
  143. package/dist/7c9558a304e8b3331e33a67900720578.js +1 -0
  144. package/dist/7e7131507a20f96834597eb2de3e880a.js +1 -0
  145. package/dist/7f007f3f67d9c856e727cec1369f8cba.js +1 -0
  146. package/dist/{0e693b29bbe881d5b78f15fb9cacbedd.js → 81318a3530fb35d5178eb7a4a13a606f.js} +1 -1
  147. package/dist/82402c7ad9d114a6d457b8e85733166c.js +1 -0
  148. package/dist/82c607cd84abbd9d103d44eb63a17380.js +1 -0
  149. package/dist/835.js +1 -0
  150. package/dist/835.js.map +1 -0
  151. package/dist/852.js +1 -0
  152. package/dist/852.js.map +1 -0
  153. package/dist/880ae94877022f7fb0458ced0825eb4c.js +1 -0
  154. package/dist/88730abfeb4a23e692ac7933882f12eb.js +1 -0
  155. package/dist/{4b73278b511eebb4d0f44a0eec778327.js → 8a5127228870aafabfff6111d29313d6.js} +1 -1
  156. package/dist/8b5a7ea56e555f0646ff1ec04e2f2ec8.js +1 -0
  157. package/dist/8b8336037f074d9dcbd20eab535b803f.js +1 -0
  158. package/dist/{4816d92f4fbed14925ed1946f4135365.js → 8c7616f0adba6a5ac0d2f06ba4ebd696.js} +1 -1
  159. package/dist/8cf654fbb341b296e1ca1ea64665d2fe.js +1 -0
  160. package/dist/{0d419aec4c7e2317238c3502a967b560.js → 8ed5aba33ead1f94e97d5c35a5e93434.js} +1 -1
  161. package/dist/8f3d1d788bae00d28b3f3faa4e0dc8e7.js +1 -0
  162. package/dist/{ebaed1b3f483c7391037315a62571718.js → 8f9ce72eeabbf31f2d51f4bcfc66d3b0.js} +1 -1
  163. package/dist/9.js +1 -0
  164. package/dist/9.js.map +1 -0
  165. package/dist/90aa502abf90516fba58e6c0e3025808.js +1 -0
  166. package/dist/{3afb97252c417c5f0dd54e20b1954f63.js → 90f3dc3c18d447104b63c156cb7fddb5.js} +1 -1
  167. package/dist/91.js +1 -0
  168. package/dist/91.js.map +1 -0
  169. package/dist/916.js +1 -0
  170. package/dist/916.js.map +1 -0
  171. package/dist/{796a2d1a925ed311f35e5fc5907a3132.js → 91beb08737a1bbf071f351fb0acdbf3c.js} +1 -1
  172. package/dist/91e35c5eaf4724ba88de11bc0443a5c2.js +1 -0
  173. package/dist/{50.js → 92.js} +1 -1
  174. package/dist/933650e44addcb70f81e845ce4186e4d.js +1 -0
  175. package/dist/947d538f92dd1e146e4a3c41e4eacb92.js +1 -0
  176. package/dist/{08d12eee2127dc573b757f69752c6704.js → 950a205e91da7e78226dd785fd6d34db.js} +1 -1
  177. package/dist/953c932d71a79a72673405ec103b5739.js +1 -0
  178. package/dist/961.js +2 -0
  179. package/dist/961.js.map +1 -0
  180. package/dist/963.js +1 -0
  181. package/dist/963.js.map +1 -0
  182. package/dist/979.js +1 -1
  183. package/dist/979.js.map +1 -0
  184. package/dist/{7abc8b6c17be848321a446cfd88c27a9.js → 983fccb9f00748c487e889f6c83aa367.js} +1 -1
  185. package/dist/99.js +1 -0
  186. package/dist/{c97c8951af9153f36715121ab359334c.js → 9920e03a65566d728a73c7bf18bc5741.js} +1 -1
  187. package/dist/9aa63705c26b041214124ae3f90b0b74.js +1 -0
  188. package/dist/{9d29de85381ba75c190573ea82708954.js → 9b4de1346c73ba258736f1a3f00fdc14.js} +1 -1
  189. package/dist/{a6b8f5b8c9ce7808c5ca6baccdf1ad1e.js → 9b9578869f378f8e2afbf85a76c0ac72.js} +1 -1
  190. package/dist/9ce31ae06cd4113ea5527eb5bf4b0fbf.js +1 -0
  191. package/dist/9d5bba46df7fb1577fec6cb90f1bb2a7.js +1 -0
  192. package/dist/9ebb9ac2c9c875649c72722bc585d445.js +1 -0
  193. package/dist/{df350f726187b69bcededaaed6cf5f31.js → a0e32ba94aa4384823d768802b9486e1.js} +1 -1
  194. package/dist/a1bb5b3f6078f04941c00f87171dc0ae.js +1 -0
  195. package/dist/{6327ff8d569aa463a91e5ea774d1980e.js → a223748cd69094dd12b486353b22f479.js} +1 -1
  196. package/dist/a352be446de3ea29cb0609bb5336b030.js +1 -0
  197. package/dist/a3a941911290b143d26ceb5e776e1d18.js +1 -0
  198. package/dist/a3dfa410d90c00078f4b015410048f34.js +1 -0
  199. package/dist/a41ce517e26d17d855b7224af9ee433b.js +1 -0
  200. package/dist/a496f663a8cf2dc047e12d8a80d76510.js +1 -0
  201. package/dist/{8db9f93698f3eea94f936fcb5986f1a3.js → a4d0588d199cb1afffb42e57ea40fa86.js} +1 -1
  202. package/dist/{ac0681e93739efad9b6f1b85453d6a1b.js → a52f9ac0e3d582ed7e488aa1dfc33eda.js} +1 -1
  203. package/dist/a569591af2f834ec4b58f43ab7742186.js +1 -0
  204. package/dist/a6eb87af5cd7ae7e4fcba8ec606ec4ba.js +1 -0
  205. package/dist/{19df93bf1797b4caf8232cc4b544f865.js → a83211eadd86ef80416334e72774ab11.js} +1 -1
  206. package/dist/a8c8aa148991e4ca35ed78cd5ccfcc03.js +1 -0
  207. package/dist/{4123d5ea3e1f99dd3a5f2a89e16c6e59.js → ab0128ab12bcb8729032421b40f5f8dd.js} +1 -1
  208. package/dist/abaf3295e910c34eae208dfe0fc514b1.js +1 -0
  209. package/dist/ac75eee083810ee8d0ea57f03a5416bc.js +1 -0
  210. package/dist/af1635b600efd13f6059eb6ac9deae12.js +1 -0
  211. package/dist/af6fdb556ee3f9065578bb01f81f6216.js +1 -0
  212. package/dist/{5b2b9bc695bfdee92665388010a7e74d.js → b10accbff47791a59b8494225af07025.js} +1 -1
  213. package/dist/b13d991d1e4a016abea3fe5837261690.js +1 -0
  214. package/dist/b2d48e239f15fa4f535eb38d363dc1f1.js +1 -0
  215. package/dist/b3f1431b9e6d9e6632a93c2cd89f945b.js +1 -0
  216. package/dist/{3a3b2fef963d6c2c49c5b11b74a9ea81.js → b953ce2f19e7291598cd9c05128133c1.js} +1 -1
  217. package/dist/bb1365c0983ce5ad50060b24788b9630.js +1 -0
  218. package/dist/{2772fa250d538d9b7a8702fb6c50d195.js → bd309bb3f23f2bfbcf914f2e71474ab5.js} +1 -1
  219. package/dist/{32f291b1164c2610ed1a9260677d15f0.js → be75b76e74c78535966ec8aaa7d46bec.js} +1 -1
  220. package/dist/{ad88ef07c8c702b1a5f1e3d19c1052c7.js → c1a1f4ba29aa2d9a0b1a1abe5cfee0c6.js} +1 -1
  221. package/dist/c2fa476995041f9982b89a1c483da2b9.js +1 -0
  222. package/dist/c3832579be376308fa819b04e7b0c66f.js +1 -0
  223. package/dist/c4c991b8f5eb242f1e220e5f568fdfbc.js +1 -0
  224. package/dist/c60efc342d7da27d9a6cf60fbec6f9ce.js +1 -0
  225. package/dist/c8acc93023012737a3bf8fb767b66838.js +1 -0
  226. package/dist/{acb898eefa176c3f28344f5780cceb63.js → cb4bb785934eeca9b408e892ae6b73b7.js} +1 -1
  227. package/dist/{6257c20a623b032171b358cc95a1adab.js → cb5746e29527a2fdb9f857a121e086ed.js} +1 -1
  228. package/dist/cb622c2d49403c3f56e333bc41a9b89c.js +1 -0
  229. package/dist/{78b1ba82f7882d931072c4ef6e87f579.js → cc65d108f0e7cfb200de1d0bcf115005.js} +1 -1
  230. package/dist/cc715c90d57b30965fc297a12746d6b5.js +1 -0
  231. package/dist/cedeeab4daadcc470520da9661b1d78b.js +1 -0
  232. package/dist/{0d8cca845a71e82acc3ffc1fc95c94f3.js → cf909ad6e321c2f98750f5c3581556f8.js} +1 -1
  233. package/dist/d0415105402964718010284fcfa8b2ea.js +1 -0
  234. package/dist/d09463c099fb2c44719380623a5c68fb.js +1 -0
  235. package/dist/d1907231dc06c32481fefd6d47da973b.js +1 -0
  236. package/dist/d4b890206d2316955676dd69ef0f2779.js +1 -0
  237. package/dist/{700530bc418f23dccca7db36bfa9f745.js → d4f5981ee5a73d8a6e19112f2ffcb72c.js} +1 -1
  238. package/dist/d7340300249ab98bd9b3f538a767106e.js +1 -0
  239. package/dist/d76046afaf4d32b0f0afb63b4fabc680.js +1 -0
  240. package/dist/d85853bab3b213652aee023adecfb690.js +1 -0
  241. package/dist/{d3c6f63283deafb27231ec767a161534.js → da740c1b29a85b999a6874b59a1baeef.js} +1 -1
  242. package/dist/dc83a73f0eb89665520bbb6672dfa3cb.js +1 -0
  243. package/dist/{3d7fd940e543a183c4c376ef0d65773a.js → dc932cde2fbfca8e2901fb693968b131.js} +1 -1
  244. package/dist/de73b4d2a9ed4bcb851f9141e303636d.js +1 -0
  245. package/dist/e00b330413304d60c26e164da7f9fe0c.js +1 -0
  246. package/dist/e63fce237243190962fcc3b12b387e1b.js +1 -0
  247. package/dist/e7996a1f4aed878b8486d55f411b65cb.js +1 -0
  248. package/dist/e80d5ee40455d0675f8f2a3688071adf.js +1 -0
  249. package/dist/e9382a0e67b22188c75e9418de1c9295.js +1 -0
  250. package/dist/{4dec4bb457555975c148226534ecbdbe.js → eb0b62e1895dcf7491419aa728f00c38.js} +1 -1
  251. package/dist/eb925c23b7c7a9d047f8722f46e20950.js +1 -0
  252. package/dist/ebd0bd68d479ea224a6f962d1667219d.js +1 -0
  253. package/dist/ec7b3f184238605a5239da7559e6cff9.js +1 -0
  254. package/dist/ec901efce9bc8572f27155236a447e62.js +1 -0
  255. package/dist/ecff3d4bbf59ef41230960af46098e74.js +1 -0
  256. package/dist/{53e2fb3b82eafad81897aab9ab79edff.js → ee41eb1fd1d1c87c45e818b5a8a65cf8.js} +1 -1
  257. package/dist/{f6a1ff9a83e32555a4e3c7b99727e02d.js → ee5d36473f84db2af26d82efd69a38ec.js} +1 -1
  258. package/dist/ef01988390cb38f64b1969c775015c57.js +1 -0
  259. package/dist/f01129e1dfd56aa58d31a328b3c5fddb.js +1 -0
  260. package/dist/f15362a7feef894b2e7f706252e6c510.js +1 -0
  261. package/dist/{92164e5d714ab4cda2b91eede29bc191.js → f15cbf0d23cba4a313f3f2acfef5370c.js} +1 -1
  262. package/dist/f4a8f4192f6aeda7f17280c974c9eea7.js +1 -0
  263. package/dist/f52f3abc162b2643e0c43f6c15a95745.js +1 -0
  264. package/dist/f6b33aded7ae7504bfcc4550925cccb0.js +1 -0
  265. package/dist/fb393a7455b47f3d4fc30cf219d5145c.js +1 -0
  266. package/dist/fb5080213f065f82f0391c551c864434.js +1 -0
  267. package/dist/fc15e67c3e8e51dd8ccc9c3df78c9738.js +1 -0
  268. package/dist/fc1dd74e1ec7e59d6d458e2a956d7f26.js +1 -0
  269. package/dist/fd01cb7c2dce608bfa89475751ac6f1b.js +1 -0
  270. package/dist/{356c61041d30223f74711e79c8bb8ae9.js → fd3859a700b456e06c65c0cf6b0af05c.js} +1 -1
  271. package/dist/fd4b01ad8a8261d4583e3b24b8b388b9.js +1 -0
  272. package/dist/fd98f0e48b18e1de428edd5174539c2a.js +1 -0
  273. package/dist/{5fc5b7fdc1899b18bee20c7905c76182.js → fe9499c0a5444f7f42843fa00fb355cb.js} +1 -1
  274. package/dist/main.js +1 -1
  275. package/dist/main.js.map +1 -1
  276. package/dist/openmrs-esm-form-builder-app.js +1 -1
  277. package/dist/openmrs-esm-form-builder-app.js.buildmanifest.json +867 -529
  278. package/dist/openmrs-esm-form-builder-app.js.map +1 -1
  279. package/dist/routes.json +1 -1
  280. package/package.json +42 -37
  281. package/src/components/action-buttons/action-buttons.component.tsx +41 -61
  282. package/src/components/action-buttons/action-buttons.scss +5 -0
  283. package/src/components/action-buttons/unpublish-form.modal.tsx +45 -0
  284. package/src/components/dashboard/dashboard.component.tsx +37 -70
  285. package/src/components/dashboard/dashboard.scss +5 -0
  286. package/src/components/dashboard/dashboard.test.tsx +14 -113
  287. package/src/components/dashboard/delete-form.modal.tsx +45 -0
  288. package/src/components/dashboard/delete-form.scss +9 -0
  289. package/src/components/form-editor/form-editor.component.tsx +185 -207
  290. package/src/components/form-editor/restore-draft-schema.modal.tsx +53 -0
  291. package/src/components/interactive-builder/{add-question-modal.component.tsx → add-question.modal.tsx} +236 -30
  292. package/src/components/interactive-builder/{delete-page-modal.component.tsx → delete-page.modal.tsx} +11 -18
  293. package/src/components/interactive-builder/{delete-question-modal.component.tsx → delete-question.modal.tsx} +39 -20
  294. package/src/components/interactive-builder/{delete-section-modal.component.tsx → delete-section.modal.tsx} +11 -13
  295. package/src/components/interactive-builder/draggable-question.component.tsx +44 -21
  296. package/src/components/interactive-builder/droppable-container.component.tsx +6 -6
  297. package/src/components/interactive-builder/droppable-container.scss +9 -0
  298. package/src/components/interactive-builder/edit-question.modal.tsx +858 -0
  299. package/src/components/interactive-builder/editable-value.scss +1 -1
  300. package/src/components/interactive-builder/interactive-builder.component.tsx +98 -183
  301. package/src/components/interactive-builder/{new-form-modal.component.tsx → new-form.modal.tsx} +8 -19
  302. package/src/components/interactive-builder/{page-modal.component.tsx → page.modal.tsx} +8 -9
  303. package/src/components/interactive-builder/question-modal.scss +3 -3
  304. package/src/components/interactive-builder/{section-modal.component.tsx → section.modal.tsx} +8 -18
  305. package/src/components/modals/save-form-modal.scss +4 -0
  306. package/src/components/modals/{save-form-modal.component.tsx → save-form.modal.tsx} +3 -3
  307. package/src/components/schema-editor/schema-editor.component.tsx +20 -23
  308. package/src/components/validation-info/validation-info.component.tsx +3 -1
  309. package/src/config-schema.ts +19 -0
  310. package/src/form-validator.resource.ts +77 -42
  311. package/src/forms.resource.ts +2 -2
  312. package/src/hooks/usePatientIdentifierLookup.ts +18 -0
  313. package/src/hooks/usePatientIdentifierName.ts +17 -0
  314. package/src/hooks/usePatientIdentifierTypes.ts +19 -0
  315. package/src/hooks/usePersonAttributeLookup.ts +18 -0
  316. package/src/hooks/usePersonAttributeName.ts +17 -0
  317. package/src/hooks/useProgramStates.ts +51 -0
  318. package/src/index.ts +46 -0
  319. package/src/routes.json +46 -0
  320. package/src/types.ts +35 -5
  321. package/dist/0.js +0 -1
  322. package/dist/0.js.map +0 -1
  323. package/dist/023545291c7d55eb893591da836fc73d.js +0 -1
  324. package/dist/03452373324e7ceaf58e3830eafd1a28.js +0 -1
  325. package/dist/039ae6f160cd9781bcbb003484e23cdc.js +0 -1
  326. package/dist/0ec8abb2e91cb079eed4605ea6851cb8.js +0 -1
  327. package/dist/1092154c23dcc20005a669b15497159f.js +0 -1
  328. package/dist/138.js +0 -1
  329. package/dist/151786e5421aae5a57d862be1387a079.js +0 -1
  330. package/dist/153.js +0 -1
  331. package/dist/153.js.map +0 -1
  332. package/dist/154e51d48e7dc7f244bf748e4deb64f9.js +0 -1
  333. package/dist/166.js +0 -8
  334. package/dist/166.js.map +0 -1
  335. package/dist/16b5146f5e9b7a1a196f6d11a6187282.js +0 -1
  336. package/dist/1ab96c77da77918d9160c787732c68a6.js +0 -1
  337. package/dist/1db8d65ab1ad8dbb0aae7b9ebe280ca7.js +0 -1
  338. package/dist/1ef4b371fd98f0144354e57bb89d7fa3.js +0 -1
  339. package/dist/1ff3e5ecc0f8d69a4611a7cd8337f0b2.js +0 -1
  340. package/dist/2184bcd361a0e38d249bc49439d994cb.js +0 -1
  341. package/dist/252b829e2dab81bc5a4c28d52f34edf5.js +0 -1
  342. package/dist/275b72e6e6256f50527832ba14ec291e.js +0 -1
  343. package/dist/2765855f04cd6d7fb7fcf0a81c1e2022.js +0 -1
  344. package/dist/294.js.map +0 -1
  345. package/dist/2e2f30806fe3accb9b340fb082a1494e.js +0 -1
  346. package/dist/3053f55c4697117c4c2cd156803b3155.js +0 -1
  347. package/dist/3063479c31202a0d1ecf707b2a4ce742.js +0 -1
  348. package/dist/3564e45dfb2ed064007f910db434889f.js +0 -1
  349. package/dist/397e6669a1d15065bd742d20079d6a95.js +0 -1
  350. package/dist/3aa8f5e8ff182ed46cb6570dad4c4eee.js +0 -1
  351. package/dist/3b8b51248b6aa0474a02a6c352d1caa1.js +0 -1
  352. package/dist/3bd6e7a72c8b16825ce3a83b17bd681e.js +0 -1
  353. package/dist/3bfb519dbb980d6d8fee1bf543dfc5ae.js +0 -1
  354. package/dist/3c1857a15493f62c5c85c13007a6c32c.js +0 -1
  355. package/dist/3db12a05792313b3c537e3256f5e2e93.js +0 -1
  356. package/dist/3fa11e77942b4cf2c50e845525ae5a9f.js +0 -1
  357. package/dist/3fe09c1c283d4a26d228f37a77a018b2.js +0 -1
  358. package/dist/438ed06fb7f9516b12edaf7411c832b0.js +0 -1
  359. package/dist/447.js +0 -1
  360. package/dist/4686855c499be892779f614770ec2cf7.js +0 -1
  361. package/dist/46f088332f17d2ea452bd0ef7a5cdbc6.js +0 -1
  362. package/dist/474c86d7a4a0fa50030c6503fdb52392.js +0 -1
  363. package/dist/489b22b946f5972fed0daab6ef587c60.js +0 -1
  364. package/dist/494ca3291c219565bfb6e45f8eb8c583.js +0 -1
  365. package/dist/49c58e614c06572ffbabe974a7fda21c.js +0 -1
  366. package/dist/4afde8c89469302b064e693fa77035f6.js +0 -1
  367. package/dist/4f5c3cb0b76fa2978539d8b64a71537d.js +0 -1
  368. package/dist/4f89e8c1a691faf5f1bfe3987ddf108a.js +0 -1
  369. package/dist/50bd9a652785963a5d7d24bda4dee4ca.js +0 -1
  370. package/dist/52c9726f9e52ed3a57c0634718366029.js +0 -1
  371. package/dist/52ee9d28ed4c3389951a46084343a993.js +0 -1
  372. package/dist/54a7b0b5248e428a4a703329f36e286f.js +0 -1
  373. package/dist/574.js +0 -1
  374. package/dist/583d06a5b9251de455ebd89550449842.js +0 -1
  375. package/dist/5aedf04cf240c6c43540081c3bf9573e.js +0 -1
  376. package/dist/5d833ca045603c1105d2db3b9d931274.js +0 -1
  377. package/dist/62.js +0 -1
  378. package/dist/62.js.map +0 -1
  379. package/dist/626.js +0 -1
  380. package/dist/626.js.map +0 -1
  381. package/dist/6365d65802807679247605c8df7ea9ec.js +0 -1
  382. package/dist/645.js +0 -2
  383. package/dist/645.js.LICENSE.txt +0 -30
  384. package/dist/645.js.map +0 -1
  385. package/dist/645b74a0625033669c9d0440b32e3fd0.js +0 -1
  386. package/dist/66713913fc89a3bcad5d7804c03dcb43.js +0 -1
  387. package/dist/677b2b5d0c9507508a831e4b67d61c6e.js +0 -1
  388. package/dist/686915e134683f72ea5f3c227a6f13be.js +0 -1
  389. package/dist/69ec362e03850ff2d49044acbb19b385.js +0 -1
  390. package/dist/6aa13e92b5cf7d479e73acdc7c05abf3.js +0 -1
  391. package/dist/6b07bdedc12700f257d08813b3c0887f.js +0 -1
  392. package/dist/6bbbe63c75c85941f855ab27fb5f36db.js +0 -1
  393. package/dist/6f77d1c97d1c6937d21c4a1034be62b6.js +0 -1
  394. package/dist/70e2f052e416e2611ded0f57ed53f18a.js +0 -1
  395. package/dist/727e2cbdf695b3abfe88917062d16a5f.js +0 -1
  396. package/dist/7620537538da40e17ccbf70a43f4fd0c.js +0 -1
  397. package/dist/77c629df0ebf40b066d0ffeb34b7711b.js +0 -1
  398. package/dist/788.js +0 -1
  399. package/dist/7cc98960277ab04470e3ff9ed5fc6028.js +0 -1
  400. package/dist/800.js +0 -2
  401. package/dist/800.js.map +0 -1
  402. package/dist/8211ff24c6eb59feeb74cf3ae60e4e5d.js +0 -1
  403. package/dist/833.js +0 -1
  404. package/dist/83e2ed887ee6426c8e0aa4d976b76720.js +0 -1
  405. package/dist/844.js +0 -1
  406. package/dist/844.js.map +0 -1
  407. package/dist/8cfffdd2f772eec8342fdfc4d511e0cc.js +0 -1
  408. package/dist/8efee5c45bbfdd52eec7a8a0eec72ec3.js +0 -1
  409. package/dist/919edf70e532c72ecd4b9579c1879bc2.js +0 -1
  410. package/dist/9296988a753e8e251ff627aef2c929e8.js +0 -1
  411. package/dist/935.js +0 -2
  412. package/dist/935.js.map +0 -1
  413. package/dist/938b32f75aefeab50ba608132c5862c8.js +0 -1
  414. package/dist/93be766c753e075a3f7d5b89b3ee04ce.js +0 -1
  415. package/dist/945ea249c1f1d3595cc55a51046d9032.js +0 -1
  416. package/dist/96efd2775defcf3611fe9a07ed29065f.js +0 -1
  417. package/dist/979239ac9b74c2c57dcc2b66e7e3b353.js +0 -1
  418. package/dist/996d24547b492c3140f64d51f5229f3c.js +0 -1
  419. package/dist/99e45b7d238576aa6d4c830bd8715356.js +0 -1
  420. package/dist/9b3441051d8551264ac58b36253b9b10.js +0 -1
  421. package/dist/a13fa501edcc6c9712061e0ca5fd400e.js +0 -1
  422. package/dist/a58f90f6c8db84024327b4d9059c991e.js +0 -1
  423. package/dist/a9ed61bdf8ae777e7a6f68bf7175e839.js +0 -1
  424. package/dist/aa6c0d1a7dfd344894b8eba8db42ad04.js +0 -1
  425. package/dist/ab3d46f8dd12e29e10eb35c5e406bbcb.js +0 -1
  426. package/dist/b35c9a9d72f02feae440dd385a020ef6.js +0 -1
  427. package/dist/b49ae09a10a2a2d6dfc7ba9cb37cbbb3.js +0 -1
  428. package/dist/b76ff0f203825dcdefb649d98de32f5b.js +0 -1
  429. package/dist/bba393726b199f66d8b4314385c1f2f0.js +0 -1
  430. package/dist/c2fb2aaf17fa23ca4b9bf7f1c1441caa.js +0 -1
  431. package/dist/c4ee489cb1eb39f3d31e99fcc78e886e.js +0 -1
  432. package/dist/c92169023ff93e3c3e03bc2f4c73615a.js +0 -1
  433. package/dist/cbf021d377207ecc00145a138fd03f0f.js +0 -1
  434. package/dist/cd1309ef590ed94ac5735c4c667e6549.js +0 -1
  435. package/dist/cd88309c904c403022c51d1fa3ee4bf3.js +0 -1
  436. package/dist/d1f0ad8ca2a550bc292669b06a614f79.js +0 -1
  437. package/dist/d3a6de3a3eae748464b9d49001eba546.js +0 -1
  438. package/dist/d723acafb30584c955c9aeaedb3e03f0.js +0 -1
  439. package/dist/d72f9e2d15bf7a51a613e2f116b1a2df.js +0 -1
  440. package/dist/d8f7ecdd496f3caf14f5afbedfff1937.js +0 -1
  441. package/dist/daad7cddd8afb1713b51cf5882d2da34.js +0 -1
  442. package/dist/e0564e4f4ec3f3165b6890be52cf9a5e.js +0 -1
  443. package/dist/e06608fe5b8e7e9d30879d4d91113a08.js +0 -1
  444. package/dist/e0d8e58814f40cb5f60e1fe5fb37e9fa.js +0 -1
  445. package/dist/e13fc7d468ab9b5797f2a44412ca2f00.js +0 -1
  446. package/dist/e430b621361ebe3a4071e3cca1d0dbe8.js +0 -1
  447. package/dist/e45a0dfd102b67ad7cdefe10500bf0d7.js +0 -1
  448. package/dist/e542ddbb78bb244c0465f22e0e11ab61.js +0 -1
  449. package/dist/efbb5510bc35424b261de45355e3a626.js +0 -1
  450. package/dist/f2abbd0caa62a607a87be62111595f0c.js +0 -1
  451. package/dist/f3a21a0f236d2b7d45be954c32efaa14.js +0 -1
  452. package/dist/f5dfa3d3658fddbce84d7c3ecd5504f0.js +0 -1
  453. package/dist/f8ee12a5cfa6ff1d3550ef30a238d89a.js +0 -1
  454. package/dist/f93c341314b490174cf67fed1ca62ee0.js +0 -1
  455. package/dist/faa809ba713143a2e8b4760a45e1fe89.js +0 -1
  456. package/dist/ffb6d262efb0718a20d60b5fecb76ea6.js +0 -1
  457. package/src/components/interactive-builder/edit-question-modal.component.tsx +0 -543
  458. /package/dist/{55a1830305eaf8f525aad4c04c138483.js → 0e67325b9a04863301e36c0c37947069.js} +0 -0
  459. /package/dist/{2611b2dc99534665bf6734ddfa6b8de4.js → 1383530217ac0068c844902d24e18e08.js} +0 -0
  460. /package/dist/{ff9176b28afa428194276840d85679ef.js → 16c2e1b50af4ba05edaa03c8c9e9d18c.js} +0 -0
  461. /package/dist/{5f8e9f09349e37425d6ef96bf1bf7a2d.js → 1cc6fc3772824e2f87f10a9c3fad2dae.js} +0 -0
  462. /package/dist/{392e4c8d74cb1c9267a14eb0270ba2d6.js → 210aec2722e6416a0349a987260e14a3.js} +0 -0
  463. /package/dist/{71f39fefd16025c224fe31cdb352ae01.js → 228ca80abf1ae030cbfe7faaec61913f.js} +0 -0
  464. /package/dist/{0c1e757d25446799bcab87a8607dee60.js → 24f97ddd76026815674affbc50ad6169.js} +0 -0
  465. /package/dist/{800.js.LICENSE.txt → 29.js.LICENSE.txt} +0 -0
  466. /package/dist/{250c230f9465d8affc02c67d41d7e067.js → 31c610efb1d25afc90853b52ba4cb089.js} +0 -0
  467. /package/dist/{c3174a46927bbec0fbd8946f97bd7170.js → 44599d9b6202ebebfcdd073edf3562e3.js} +0 -0
  468. /package/dist/{b8cb123e6c753c6031ab9c6a4acbbcd6.js → 472ba8f81bf8cac86027cb1be4e3b9cd.js} +0 -0
  469. /package/dist/{a72ec8ab4a5bdfd6695dfa5fa86ef30d.js → 5348f3cfbe5a63954e7d984f197bbddb.js} +0 -0
  470. /package/dist/{294.js.LICENSE.txt → 540.js.LICENSE.txt} +0 -0
  471. /package/dist/{cd29b6e52c3ebcbaee8c7bb709fd1d8e.js → 5f5a93ab1249b7cbdb13d9466febd3a0.js} +0 -0
  472. /package/dist/{951a8cbe4efaab1b1451ffd8904fc9dd.js → 60190285b6c2243e14184b9e57d48dbb.js} +0 -0
  473. /package/dist/{aefed4953ced506e20b934606ac083f3.js → 60ede8d7ffdf4c05f2ce51b6d8d2be68.js} +0 -0
  474. /package/dist/{8de1f09307a99c5a8bb0a53d32fbaaa9.js → 65e7cf62ca9df32c18b630f31025a401.js} +0 -0
  475. /package/dist/{02b97d3c4a7e895228beec69fb63e420.js → 817edb0c6f9d66f9c0027762edb1d797.js} +0 -0
  476. /package/dist/{b943c561d9e064f79f938275bad6e597.js → 84270e22d4439d15b0d8f392d1338d8e.js} +0 -0
  477. /package/dist/{41469950e6a0ef73a57342235b44c55a.js → 90812d89181b698975cbb081adcbbcb0.js} +0 -0
  478. /package/dist/{935.js.LICENSE.txt → 961.js.LICENSE.txt} +0 -0
  479. /package/dist/{f59696ab0f6f26c339d7e6bb1d73a5c3.js → 96b8d8b5efd11741639659c63a485c27.js} +0 -0
  480. /package/dist/{410ecb602443afbd5908a14f39b40eb2.js → 981bd23edacd811f9e4a583d89b544ee.js} +0 -0
  481. /package/dist/{ac12519ccf3cc323b28f70e35f922e3f.js → afba1f28f2baa29eae717d6cb03f5464.js} +0 -0
  482. /package/dist/{73cdbb2580cd6a02d989c86e56bb83f3.js → c8230f96396f0378d032dce2be3dce66.js} +0 -0
  483. /package/dist/{6231f0100394f756aac18e8d972d8f2b.js → cb0d121a88477f943960f5ad60602c22.js} +0 -0
  484. /package/dist/{19017707f34649cae551ee9d5ea1edbf.js → cb9910e014b468ada91393696fcad206.js} +0 -0
  485. /package/dist/{da3a9dc1f8b62f2221f1040e8d207d0e.js → e37ac12436bcd0536ec98ae8470a1228.js} +0 -0
  486. /package/dist/{2adc6bc4a8a2bf35636e8fc7fe0df2dd.js → e7f37e0f2b6113039c45a326264c4d36.js} +0 -0
  487. /package/dist/{cfe1a9dd61dd943a574fc6c7157372f7.js → f666b5647087bcfdf6623f8b14d56657.js} +0 -0
@@ -0,0 +1 @@
1
+ ace.define("ace/occur",["require","exports","module","ace/lib/oop","ace/search","ace/edit_session","ace/search_highlight","ace/lib/dom"],(function(e,n,t){"use strict";var o,r=this&&this.__extends||(o=function(e,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},o(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}o(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),a=e("./lib/oop"),i=e("./search").Search,s=e("./edit_session").EditSession,c=e("./search_highlight").SearchHighlight,l=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.enter=function(e,n){if(!n.needle)return!1;var t=e.getCursorPosition();this.displayOccurContent(e,n);var o=this.originalToOccurPosition(e.session,t);return e.moveCursorToPosition(o),!0},n.prototype.exit=function(e,n){var t=n.translatePosition&&e.getCursorPosition(),o=t&&this.occurToOriginalPosition(e.session,t);return this.displayOriginalContent(e),o&&e.moveCursorToPosition(o),!0},n.prototype.highlight=function(e,n){(e.$occurHighlight=e.$occurHighlight||e.addDynamicMarker(new c(null,"ace_occur-highlight","text"))).setRegexp(n),e._emit("changeBackMarker")},n.prototype.displayOccurContent=function(e,n){this.$originalSession=e.session;var t=this.matchingLines(e.session,n),o=t.map((function(e){return e.content})),r=new s(o.join("\n"));r.$occur=this,r.$occurMatchingLines=t,e.setSession(r),this.$useEmacsStyleLineStart=this.$originalSession.$useEmacsStyleLineStart,r.$useEmacsStyleLineStart=this.$useEmacsStyleLineStart,this.highlight(r,n.re),r._emit("changeBackMarker")},n.prototype.displayOriginalContent=function(e){e.setSession(this.$originalSession),this.$originalSession.$useEmacsStyleLineStart=this.$useEmacsStyleLineStart},n.prototype.originalToOccurPosition=function(e,n){var t=e.$occurMatchingLines,o={row:0,column:0};if(!t)return o;for(var r=0;r<t.length;r++)if(t[r].row===n.row)return{row:r,column:n.column};return o},n.prototype.occurToOriginalPosition=function(e,n){var t=e.$occurMatchingLines;return t&&t[n.row]?{row:t[n.row].row,column:n.column}:n},n.prototype.matchingLines=function(e,n){if(n=a.mixin({},n),!e||!n.needle)return[];var t=new i;return t.set(n),t.findAll(e).reduce((function(n,t){var o=t.start.row,r=n[n.length-1];return r&&r.row===o?n:n.concat({row:o,content:e.getLine(o)})}),[])},n}(i);e("./lib/dom").importCssString(".ace_occur-highlight {\n border-radius: 4px;\n background-color: rgba(87, 255, 8, 0.25);\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n box-shadow: 0 0 4px rgb(91, 255, 50);\n}\n.ace_dark .ace_occur-highlight {\n background-color: rgb(80, 140, 85);\n box-shadow: 0 0 4px rgb(60, 120, 70);\n}\n","incremental-occur-highlighting",!1),n.Occur=l})),ace.define("ace/commands/occur_commands",["require","exports","module","ace/config","ace/occur","ace/keyboard/hash_handler","ace/lib/oop"],(function(e,n,t){e("../config");var o=e("../occur").Occur,r={name:"occur",exec:function(e,n){var t=!!e.session.$occur;(new o).enter(e,n)&&!t&&s.installIn(e)},readOnly:!0},a=[{name:"occurexit",bindKey:"esc|Ctrl-G",exec:function(e){var n=e.session.$occur;n&&(n.exit(e,{}),e.session.$occur||s.uninstallFrom(e))},readOnly:!0},{name:"occuraccept",bindKey:"enter",exec:function(e){var n=e.session.$occur;n&&(n.exit(e,{translatePosition:!0}),e.session.$occur||s.uninstallFrom(e))},readOnly:!0}],i=e("../keyboard/hash_handler").HashHandler;function s(){}e("../lib/oop").inherits(s,i),function(){this.isOccurHandler=!0,this.attach=function(e){i.call(this,a,e.commands.platform),this.$editor=e};var e=this.handleKeyboard;this.handleKeyboard=function(n,t,o,r){var a=e.call(this,n,t,o,r);return a&&a.command?a:void 0}}.call(s.prototype),s.installIn=function(e){var n=new this;e.keyBinding.addKeyboardHandler(n),e.commands.addCommands(a)},s.uninstallFrom=function(e){e.commands.removeCommands(a);var n=e.getKeyboardHandler();n.isOccurHandler&&e.keyBinding.removeKeyboardHandler(n)},n.occurStartCommand=r})),ace.define("ace/commands/incremental_search_commands",["require","exports","module","ace/config","ace/lib/oop","ace/keyboard/hash_handler","ace/commands/occur_commands"],(function(e,n,t){var o=e("../config"),r=e("../lib/oop"),a=e("../keyboard/hash_handler").HashHandler,i=e("./occur_commands").occurStartCommand;function s(e){this.$iSearch=e}n.iSearchStartCommands=[{name:"iSearch",bindKey:{win:"Ctrl-F",mac:"Command-F"},exec:function(e,n){o.loadModule(["core","ace/incremental_search"],(function(t){var o=t.iSearch=t.iSearch||new t.IncrementalSearch;o.activate(e,n.backwards),n.jumpToFirstMatch&&o.next(n)}))},readOnly:!0},{name:"iSearchBackwards",exec:function(e,n){e.execCommand("iSearch",{backwards:!0})},readOnly:!0},{name:"iSearchAndGo",bindKey:{win:"Ctrl-K",mac:"Command-G"},exec:function(e,n){e.execCommand("iSearch",{jumpToFirstMatch:!0,useCurrentOrPrevSearch:!0})},readOnly:!0},{name:"iSearchBackwardsAndGo",bindKey:{win:"Ctrl-Shift-K",mac:"Command-Shift-G"},exec:function(e){e.execCommand("iSearch",{jumpToFirstMatch:!0,backwards:!0,useCurrentOrPrevSearch:!0})},readOnly:!0}],n.iSearchCommands=[{name:"restartSearch",bindKey:{win:"Ctrl-F",mac:"Command-F"},exec:function(e){e.cancelSearch(!0)}},{name:"searchForward",bindKey:{win:"Ctrl-S|Ctrl-K",mac:"Ctrl-S|Command-G"},exec:function(e,n){n.useCurrentOrPrevSearch=!0,e.next(n)}},{name:"searchBackward",bindKey:{win:"Ctrl-R|Ctrl-Shift-K",mac:"Ctrl-R|Command-Shift-G"},exec:function(e,n){n.useCurrentOrPrevSearch=!0,n.backwards=!0,e.next(n)}},{name:"extendSearchTerm",exec:function(e,n){e.addString(n)}},{name:"extendSearchTermSpace",bindKey:"space",exec:function(e){e.addString(" ")}},{name:"shrinkSearchTerm",bindKey:"backspace",exec:function(e){e.removeChar()}},{name:"confirmSearch",bindKey:"return",exec:function(e){e.deactivate()}},{name:"cancelSearch",bindKey:"esc|Ctrl-G",exec:function(e){e.deactivate(!0)}},{name:"occurisearch",bindKey:"Ctrl-O",exec:function(e){var n=r.mixin({},e.$options);e.deactivate(),i.exec(e.$editor,n)}},{name:"yankNextWord",bindKey:"Ctrl-w",exec:function(e){var n=e.$editor,t=n.selection.getRangeOfMovements((function(e){e.moveCursorWordRight()})),o=n.session.getTextRange(t);e.addString(o)}},{name:"yankNextChar",bindKey:"Ctrl-Alt-y",exec:function(e){var n=e.$editor,t=n.selection.getRangeOfMovements((function(e){e.moveCursorRight()})),o=n.session.getTextRange(t);e.addString(o)}},{name:"recenterTopBottom",bindKey:"Ctrl-l",exec:function(e){e.$editor.execCommand("recenterTopBottom")}},{name:"selectAllMatches",bindKey:"Ctrl-space",exec:function(e){var n=e.$editor,t=n.session.$isearchHighlight,o=t&&t.cache?t.cache.reduce((function(e,n){return e.concat(n||[])}),[]):[];e.deactivate(!1),o.forEach(n.selection.addRange.bind(n.selection))}},{name:"searchAsRegExp",bindKey:"Alt-r",exec:function(e){e.convertNeedleToRegExp()}}].map((function(e){return e.readOnly=!0,e.isIncrementalSearchCommand=!0,e.scrollIntoView="animate-cursor",e})),r.inherits(s,a),function(){this.attach=function(e){var t=this.$iSearch;a.call(this,n.iSearchCommands,e.commands.platform),this.$commandExecHandler=e.commands.on("exec",(function(n){if(!n.command.isIncrementalSearchCommand)return t.deactivate();n.stopPropagation(),n.preventDefault();var o=e.session.getScrollTop(),r=n.command.exec(t,n.args||{});return e.renderer.scrollCursorIntoView(null,.5),e.renderer.animateScrolling(o),r}))},this.detach=function(e){this.$commandExecHandler&&(e.commands.off("exec",this.$commandExecHandler),delete this.$commandExecHandler)};var e=this.handleKeyboard;this.handleKeyboard=function(n,t,o,r){if((1===t||8===t)&&"v"===o||1===t&&"y"===o)return null;var a=e.call(this,n,t,o,r);if(a&&a.command)return a;if(-1==t){var i=this.commands.extendSearchTerm;if(i)return{command:i,args:o}}return!1}}.call(s.prototype),n.IncrementalSearchKeyboardHandler=s})),ace.define("ace/incremental_search",["require","exports","module","ace/range","ace/search","ace/search_highlight","ace/commands/incremental_search_commands","ace/lib/dom","ace/commands/command_manager","ace/editor","ace/config"],(function(e,n,t){"use strict";var o,r=this&&this.__extends||(o=function(e,n){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])},o(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}o(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),a=e("./range").Range,i=e("./search").Search,s=e("./search_highlight").SearchHighlight,c=e("./commands/incremental_search_commands"),l=c.IncrementalSearchKeyboardHandler;function d(e){return e instanceof RegExp}function u(e){var n=String(e),t=n.indexOf("/"),o=n.lastIndexOf("/");return{expression:n.slice(t+1,o),flags:n.slice(o+1)}}function m(e,n){try{return new RegExp(e,n)}catch(n){return e}}function h(e){return m(e.expression,e.flags)}var g=function(e){function n(){var n=e.call(this)||this;return n.$options={wrap:!1,skipCurrent:!1},n.$keyboardHandler=new l(n),n}return r(n,e),n.prototype.activate=function(e,n){this.$editor=e,this.$startPos=this.$currentPos=e.getCursorPosition(),this.$options.needle="",this.$options.backwards=n,e.keyBinding.addKeyboardHandler(this.$keyboardHandler),this.$originalEditorOnPaste=e.onPaste,e.onPaste=this.onPaste.bind(this),this.$mousedownHandler=e.on("mousedown",this.onMouseDown.bind(this)),this.selectionFix(e),this.statusMessage(!0)},n.prototype.deactivate=function(e){this.cancelSearch(e);var n=this.$editor;n.keyBinding.removeKeyboardHandler(this.$keyboardHandler),this.$mousedownHandler&&(n.off("mousedown",this.$mousedownHandler),delete this.$mousedownHandler),n.onPaste=this.$originalEditorOnPaste,this.message("")},n.prototype.selectionFix=function(e){e.selection.isEmpty()&&!e.session.$emacsMark&&e.clearSelection()},n.prototype.highlight=function(e){var n=this.$editor.session;(n.$isearchHighlight=n.$isearchHighlight||n.addDynamicMarker(new s(null,"ace_isearch-result","text"))).setRegexp(e),n._emit("changeBackMarker")},n.prototype.cancelSearch=function(e){var n=this.$editor;return this.$prevNeedle=this.$options.needle,this.$options.needle="",e?(n.moveCursorToPosition(this.$startPos),this.$currentPos=this.$startPos):n.pushEmacsMark&&n.pushEmacsMark(this.$startPos,!1),this.highlight(null),a.fromPoints(this.$currentPos,this.$currentPos)},n.prototype.highlightAndFindWithNeedle=function(e,n){if(!this.$editor)return null;var t=this.$options;if(n&&(t.needle=n.call(this,t.needle||"")||""),0===t.needle.length)return this.statusMessage(!0),this.cancelSearch(!0);t.start=this.$currentPos;var o=this.$editor.session,r=this.find(o),i=this.$editor.emacsMark?!!this.$editor.emacsMark():!this.$editor.selection.isEmpty();return r&&(t.backwards&&(r=a.fromPoints(r.end,r.start)),this.$editor.selection.setRange(a.fromPoints(i?this.$startPos:r.end,r.end)),e&&(this.$currentPos=r.end),this.highlight(t.re)),this.statusMessage(r),r},n.prototype.addString=function(e){return this.highlightAndFindWithNeedle(!1,(function(n){if(!d(n))return n+e;var t=u(n);return t.expression+=e,h(t)}))},n.prototype.removeChar=function(e){return this.highlightAndFindWithNeedle(!1,(function(e){if(!d(e))return e.substring(0,e.length-1);var n=u(e);return n.expression=n.expression.substring(0,n.expression.length-1),h(n)}))},n.prototype.next=function(e){return e=e||{},this.$options.backwards=!!e.backwards,this.$currentPos=this.$editor.getCursorPosition(),this.highlightAndFindWithNeedle(!0,(function(n){return e.useCurrentOrPrevSearch&&0===n.length?this.$prevNeedle||"":n}))},n.prototype.onMouseDown=function(e){return this.deactivate(),!0},n.prototype.onPaste=function(e){this.addString(e)},n.prototype.convertNeedleToRegExp=function(){return this.highlightAndFindWithNeedle(!1,(function(e){return d(e)?e:m(e,"ig")}))},n.prototype.convertNeedleToString=function(){return this.highlightAndFindWithNeedle(!1,(function(e){return d(e)?u(e).expression:e}))},n.prototype.statusMessage=function(e){var n=this.$options,t="";t+=n.backwards?"reverse-":"",t+="isearch: "+n.needle,t+=e?"":" (not found)",this.message(t)},n.prototype.message=function(e){this.$editor.showCommandLine&&(this.$editor.showCommandLine(e),this.$editor.focus())},n}(i);n.IncrementalSearch=g,e("./lib/dom").importCssString("\n.ace_marker-layer .ace_isearch-result {\n position: absolute;\n z-index: 6;\n box-sizing: border-box;\n}\ndiv.ace_isearch-result {\n border-radius: 4px;\n background-color: rgba(255, 200, 0, 0.5);\n box-shadow: 0 0 4px rgb(255, 200, 0);\n}\n.ace_dark div.ace_isearch-result {\n background-color: rgb(100, 110, 160);\n box-shadow: 0 0 4px rgb(80, 90, 140);\n}","incremental-search-highlighting",!1);var p=e("./commands/command_manager");(function(){this.setupIncrementalSearch=function(e,n){if(this.usesIncrementalSearch!=n){this.usesIncrementalSearch=n;var t=c.iSearchStartCommands;this[n?"addCommands":"removeCommands"](t)}}}).call(p.CommandManager.prototype);var f=e("./editor").Editor;e("./config").defineOptions(f.prototype,"editor",{useIncrementalSearch:{set:function(e){this.keyBinding.$handlers.forEach((function(n){n.setupIncrementalSearch&&n.setupIncrementalSearch(this,e)})),this._emit("incrementalSearchSettingChanged",{isEnabled:e})}}})})),ace.define("ace/keyboard/emacs",["require","exports","module","ace/lib/dom","ace/incremental_search","ace/commands/incremental_search_commands","ace/keyboard/hash_handler","ace/lib/keys"],(function(e,n,t){"use strict";var o=e("../lib/dom");e("../incremental_search");var r,a,i=e("../commands/incremental_search_commands"),s=e("./hash_handler").HashHandler;n.handler=new s,n.handler.isEmacs=!0,n.handler.$id="ace/keyboard/emacs",o.importCssString("\n.emacs-mode .ace_cursor{\n border: 1px rgba(50,250,50,0.8) solid!important;\n box-sizing: border-box!important;\n background-color: rgba(0,250,0,0.9);\n opacity: 0.5;\n}\n.emacs-mode .ace_hidden-cursors .ace_cursor{\n opacity: 1;\n background-color: transparent;\n}\n.emacs-mode .ace_overwrite-cursors .ace_cursor {\n opacity: 1;\n background-color: transparent;\n border-width: 0 0 2px 2px !important;\n}\n.emacs-mode .ace_text-layer {\n z-index: 4\n}\n.emacs-mode .ace_cursor-layer {\n z-index: 2\n}","emacsMode"),n.handler.attach=function(e){r=e.session.$selectLongWords,e.session.$selectLongWords=!0,a=e.session.$useEmacsStyleLineStart,e.session.$useEmacsStyleLineStart=!0,e.session.$emacsMark=null,e.session.$emacsMarkRing=e.session.$emacsMarkRing||[],e.emacsMark=function(){return this.session.$emacsMark},e.setEmacsMark=function(e){this.session.$emacsMark=e},e.pushEmacsMark=function(e,n){var t=this.session.$emacsMark;t&&this.session.$emacsMarkRing.push(t),!e||n?this.setEmacsMark(e):this.session.$emacsMarkRing.push(e)},e.popEmacsMark=function(){var e=this.emacsMark();return e?(this.setEmacsMark(null),e):this.session.$emacsMarkRing.pop()},e.getLastEmacsMark=function(e){return this.session.$emacsMark||this.session.$emacsMarkRing.slice(-1)[0]},e.emacsMarkForSelection=function(e){var n=this.selection,t=this.multiSelect?this.multiSelect.getAllRanges().length:1,o=n.index||0,r=this.session.$emacsMarkRing,a=r.length-(t-o),i=r[a]||n.anchor;return e&&r.splice(a,1,"row"in e&&"column"in e?e:void 0),i},e.on("click",l),e.on("changeSession",c),e.renderer.$blockCursor=!0,e.setStyle("emacs-mode"),e.commands.addCommands(m),n.handler.platform=e.commands.platform,e.$emacsModeHandler=this,e.on("copy",this.onCopy),e.on("paste",this.onPaste)},n.handler.detach=function(e){e.renderer.$blockCursor=!1,e.session.$selectLongWords=r,e.session.$useEmacsStyleLineStart=a,e.off("click",l),e.off("changeSession",c),e.unsetStyle("emacs-mode"),e.commands.removeCommands(m),e.off("copy",this.onCopy),e.off("paste",this.onPaste),e.$emacsModeHandler=null};var c=function(e){e.oldSession&&(e.oldSession.$selectLongWords=r,e.oldSession.$useEmacsStyleLineStart=a),r=e.session.$selectLongWords,e.session.$selectLongWords=!0,a=e.session.$useEmacsStyleLineStart,e.session.$useEmacsStyleLineStart=!0,e.session.hasOwnProperty("$emacsMark")||(e.session.$emacsMark=null),e.session.hasOwnProperty("$emacsMarkRing")||(e.session.$emacsMarkRing=[])},l=function(e){e.editor.session.$emacsMark=null},d=e("../lib/keys").KEY_MODS,u={C:"ctrl",S:"shift",M:"alt",CMD:"command"};["C-S-M-CMD","S-M-CMD","C-M-CMD","C-S-CMD","C-S-M","M-CMD","S-CMD","S-M","C-CMD","C-M","C-S","CMD","M","S","C"].forEach((function(e){var n=0;e.split("-").forEach((function(e){n|=d[u[e]]})),u[n]=e.toLowerCase()+"-"})),n.handler.onCopy=function(e,t){t.$handlesEmacsOnCopy||(t.$handlesEmacsOnCopy=!0,n.handler.commands.killRingSave.exec(t),t.$handlesEmacsOnCopy=!1)},n.handler.onPaste=function(e,n){n.pushEmacsMark(n.getCursorPosition())},n.handler.bindKey=function(e,n){if("object"==typeof e&&(e=e[this.platform]),e){var t=this.commandKeyBinding;e.split("|").forEach((function(e){e=e.toLowerCase(),t[e]=n,e.split(" ").slice(0,-1).reduce((function(e,n,t){var o=e[t-1]?e[t-1]+" ":"";return e.concat([o+n])}),[]).forEach((function(e){t[e]||(t[e]="null")}))}),this)}},n.handler.getStatusText=function(e,n){var t="";return n.count&&(t+=n.count),n.keyChain&&(t+=" "+n.keyChain),t},n.handler.handleKeyboard=function(e,n,t,o){if(-1!==o){var r=e.editor;if(r._signal("changeStatus"),-1==n&&(r.pushEmacsMark(),e.count)){var a=new Array(e.count+1).join(t);return e.count=null,{command:"insertstring",args:a}}var i=u[n];if(("c-"==i||e.count)&&"number"==typeof(l=parseInt(t[t.length-1]))&&!isNaN(l))return e.count=Math.max(e.count,0)||0,e.count=10*e.count+l,{command:"null"};i&&(t=i+t),e.keyChain&&(t=e.keyChain+=" "+t);var s=this.commandKeyBinding[t];if(e.keyChain="null"==s?t:"",s){if("null"===s)return{command:"null"};if("universalArgument"===s)return e.count=-4,{command:"null"};var c;if("string"!=typeof s&&(c=s.args,s.command&&(s=s.command),"goorselect"===s&&(s=r.emacsMark()?c[1]:c[0],c=null)),"string"!=typeof s||("insertstring"!==s&&"splitline"!==s&&"togglecomment"!==s||r.pushEmacsMark(),s=this.commands[s]||r.commands.commands[s])){if(s.readOnly||s.isYank||(e.lastCommand=null),!s.readOnly&&r.emacsMark()&&r.setEmacsMark(null),e.count){var l=e.count;if(e.count=0,!s||!s.handlesCount)return{args:c,command:{exec:function(e,n){for(var t=0;t<l;t++)s.exec(e,n)},multiSelectAction:s.multiSelectAction}};c||(c={}),"object"==typeof c&&(c.count=l)}return{command:s,args:c}}}}},n.emacsKeys={"Up|C-p":{command:"goorselect",args:["golineup","selectup"]},"Down|C-n":{command:"goorselect",args:["golinedown","selectdown"]},"Left|C-b":{command:"goorselect",args:["gotoleft","selectleft"]},"Right|C-f":{command:"goorselect",args:["gotoright","selectright"]},"C-Left|M-b":{command:"goorselect",args:["gotowordleft","selectwordleft"]},"C-Right|M-f":{command:"goorselect",args:["gotowordright","selectwordright"]},"Home|C-a":{command:"goorselect",args:["gotolinestart","selecttolinestart"]},"End|C-e":{command:"goorselect",args:["gotolineend","selecttolineend"]},"C-Home|S-M-,":{command:"goorselect",args:["gotostart","selecttostart"]},"C-End|S-M-.":{command:"goorselect",args:["gotoend","selecttoend"]},"S-Up|S-C-p":"selectup","S-Down|S-C-n":"selectdown","S-Left|S-C-b":"selectleft","S-Right|S-C-f":"selectright","S-C-Left|S-M-b":"selectwordleft","S-C-Right|S-M-f":"selectwordright","S-Home|S-C-a":"selecttolinestart","S-End|S-C-e":"selecttolineend","S-C-Home":"selecttostart","S-C-End":"selecttoend","C-l":"recenterTopBottom","M-s":"centerselection","M-g":"gotoline","C-x C-p":"selectall","C-Down":{command:"goorselect",args:["gotopagedown","selectpagedown"]},"C-Up":{command:"goorselect",args:["gotopageup","selectpageup"]},"PageDown|C-v":{command:"goorselect",args:["gotopagedown","selectpagedown"]},"PageUp|M-v":{command:"goorselect",args:["gotopageup","selectpageup"]},"S-C-Down":"selectpagedown","S-C-Up":"selectpageup","C-s":"iSearch","C-r":"iSearchBackwards","M-C-s":"findnext","M-C-r":"findprevious","S-M-5":"replace",Backspace:"backspace","Delete|C-d":"del","Return|C-m":{command:"insertstring",args:"\n"},"C-o":"splitline","M-d|C-Delete":{command:"killWord",args:"right"},"C-Backspace|M-Backspace|M-Delete":{command:"killWord",args:"left"},"C-k":"killLine","C-y|S-Delete":"yank","M-y":"yankRotate","C-g":"keyboardQuit","C-w|C-S-W":"killRegion","M-w":"killRingSave","C-Space":"setMark","C-x C-x":"exchangePointAndMark","C-t":"transposeletters","M-u":"touppercase","M-l":"tolowercase","M-/":"autocomplete","C-u":"universalArgument","M-;":"togglecomment","C-/|C-x u|S-C--|C-z":"undo","S-C-/|S-C-x u|C--|S-C-z":"redo","C-x r":"selectRectangularRegion","M-x":{command:"focusCommandLine",args:"M-x "}},n.handler.bindKeys(n.emacsKeys),n.handler.addCommands({recenterTopBottom:function(e){var n=e.renderer,t=n.$cursorLayer.getPixelPosition(),o=n.$size.scrollerHeight-n.lineHeight,r=n.scrollTop;r=Math.abs(t.top-r)<2?t.top-o:Math.abs(t.top-r-.5*o)<2?t.top:t.top-.5*o,e.session.setScrollTop(r)},selectRectangularRegion:function(e){e.multiSelect.toggleBlockSelection()},setMark:{exec:function(e,n){if(n&&n.count)return e.inMultiSelectMode?e.forEachSelection(i):i(),void i();var t=e.emacsMark(),o=e.selection.getAllRanges(),r=o.map((function(e){return{row:e.start.row,column:e.start.column}})),a=o.every((function(e){return e.isEmpty()}));if(t||!a)return e.inMultiSelectMode?e.forEachSelection({exec:e.clearSelection.bind(e)}):e.clearSelection(),void(t&&e.pushEmacsMark(null));if(!t)return r.forEach((function(n){e.pushEmacsMark(n)})),void e.setEmacsMark(r[r.length-1]);function i(){var n=e.popEmacsMark();n&&e.moveCursorToPosition(n)}},readOnly:!0,handlesCount:!0},exchangePointAndMark:{exec:function(e,n){var t=e.selection;if(n.count||t.isEmpty())if(n.count){var o={row:t.lead.row,column:t.lead.column};t.clearSelection(),t.moveCursorToPosition(e.emacsMarkForSelection(o))}else t.selectToPosition(e.emacsMarkForSelection());else t.setSelectionRange(t.getRange(),!t.isBackwards())},readOnly:!0,handlesCount:!0,multiSelectAction:"forEach"},killWord:{exec:function(e,t){e.clearSelection(),"left"==t?e.selection.selectWordLeft():e.selection.selectWordRight();var o=e.getSelectionRange(),r=e.session.getTextRange(o);n.killRing.add(r),e.session.remove(o),e.clearSelection()},multiSelectAction:"forEach"},killLine:function(e){e.pushEmacsMark(null),e.clearSelection();var t=e.getSelectionRange(),o=e.session.getLine(t.start.row);t.end.column=o.length,o=o.substr(t.start.column);var r=e.session.getFoldLine(t.start.row);r&&t.end.row!=r.end.row&&(t.end.row=r.end.row,o="x"),/^\s*$/.test(o)&&(t.end.row++,o=e.session.getLine(t.end.row),t.end.column=/^\s*$/.test(o)?o.length:0);var a=e.session.getTextRange(t);e.prevOp.command==this?n.killRing.append(a):n.killRing.add(a),e.session.remove(t),e.clearSelection()},yank:function(e){e.onPaste(n.killRing.get()||""),e.keyBinding.$data.lastCommand="yank"},yankRotate:function(e){"yank"==e.keyBinding.$data.lastCommand&&(e.undo(),e.session.$emacsMarkRing.pop(),e.onPaste(n.killRing.rotate()),e.keyBinding.$data.lastCommand="yank")},killRegion:{exec:function(e){n.killRing.add(e.getCopyText()),e.commands.byName.cut.exec(e),e.setEmacsMark(null)},readOnly:!0,multiSelectAction:"forEach"},killRingSave:{exec:function(e){e.$handlesEmacsOnCopy=!0;var t=e.session.$emacsMarkRing.slice(),o=[];n.killRing.add(e.getCopyText()),setTimeout((function(){function n(){var n=e.selection,t=n.getRange(),r=n.isBackwards()?t.end:t.start;o.push({row:r.row,column:r.column}),n.clearSelection()}e.$handlesEmacsOnCopy=!1,e.inMultiSelectMode?e.forEachSelection({exec:n}):n(),e.setEmacsMark(null),e.session.$emacsMarkRing=t.concat(o.reverse())}),0)},readOnly:!0},keyboardQuit:function(e){e.selection.clearSelection(),e.setEmacsMark(null),e.keyBinding.$data.count=null},focusCommandLine:function(e,n){e.showCommandLine&&e.showCommandLine(n)}}),n.handler.addCommands(i.iSearchStartCommands);var m=n.handler.commands;m.yank.isYank=!0,m.yankRotate.isYank=!0,n.killRing={$data:[],add:function(e){e&&this.$data.push(e),this.$data.length>30&&this.$data.shift()},append:function(e){var n=this.$data.length-1,t=this.$data[n]||"";e&&(t+=e),t&&(this.$data[n]=t)},get:function(e){return e=e||1,this.$data.slice(this.$data.length-e,this.$data.length).reverse().join("\n")},pop:function(){return this.$data.length>1&&this.$data.pop(),this.get()},rotate:function(){return this.$data.unshift(this.$data.pop()),this.get()}}})),ace.require(["ace/keyboard/emacs"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));
@@ -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){for(var n=t,r="";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 this.end.row<e&&(r={row:e,column:0});if(this.start.row>n)var s={row:n+1,column:0};else 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;return a(e,i,n)?{row:e.row,column:e.column}:a(_,e,!n)?{row:e.row+s,column:e.column+(e.row==_.row?o:0)}:{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,I=[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,I[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 f=[],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==f.length){f=[];break}f.push(this.terminals[S])}var P="";throw f.length&&(P=", expecting "+f.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]]+I[this.stackPos])>=0&&u<this.YYGLAST&&T[u]===L?E[u]:A[L],++this.stackPos,I[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/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var i=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},r.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}]}};i.inherits(r,o),r.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},r.getStartRule=function(e){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:e}},r.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=r})),ace.define("ace/mode/scad_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var i=e("../lib/oop"),o=(e("../lib/lang"),e("./doc_comment_highlight_rules").DocCommentHighlightRules),r=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=this.createKeywordMapper({"variable.language":"this",keyword:"module|if|else|for","constant.language":"NULL"},"identifier");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},o.getStartRule("start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:'["].*\\\\$',next:"qqstring"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"string",regex:"['].*\\\\$",next:"qstring"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant",regex:"<[a-zA-Z0-9.]+>"},{token:"keyword",regex:"(?:use|include)"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|==|=|!=|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|new|delete|typeof|void)"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],qqstring:[{token:"string",regex:'(?:(?:\\\\.)|(?:[^"\\\\]))*?"',next:"start"},{token:"string",regex:".+"}],qstring:[{token:"string",regex:"(?:(?:\\\\.)|(?:[^'\\\\]))*?'",next:"start"},{token:"string",regex:".+"}]},this.embedRules(o,"doc-",[o.getEndRule("start")])};i.inherits(s,r),t.scadHighlightRules=s})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var i=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var o=n[1].length,r=e.findMatchingBracket({row:t,column:o});if(!r||r.row==t)return 0;var s=this.$getIndent(e.getLine(r.row));e.replace(new i(t,0,t,o-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var i=e("../../lib/oop"),o=e("../../range").Range,r=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};i.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(i)?"start":o},this.getFoldWidgetRange=function(e,t,n,i){var o,r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);if(o=r.match(this.foldingStartMarker)){var s=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,s);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(i?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}return"markbegin"!==t&&(o=r.match(this.foldingStopMarker))?(s=o.index+o[0].length,o[1]?this.closingBracketBlock(e,o[1],n,s):e.getCommentFoldRange(n,s,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),i=n.search(/\S/),r=t,s=n.length,a=t+=1,g=e.getLength();++t<g;){var c=(n=e.getLine(t)).search(/\S/);if(-1!==c){if(i>c)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=r)break;if(l.isMultiLine())t=l.end.row;else if(i==c)break}a=t}}return new o(r,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var i=t.search(/\s*$/),r=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,g=1;++n<r;){t=e.getLine(n);var c=a.exec(t);if(c&&(c[1]?g--:g++,!g))break}if(n>s)return new o(s,i,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/scad",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/scad_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var i=e("../lib/oop"),o=e("./text").Mode,r=e("./scad_highlight_rules").scadHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,g=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};i.inherits(g,o),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var i=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e),r=o.tokens,s=o.state;if(r.length&&"comment"==r[r.length-1].type)return i;if("start"==e)(a=t.match(/^.*[\{\(\[]\s*$/))&&(i+=n);else if("doc-start"==e){if("start"==s)return"";var a;(a=t.match(/^\s*(\/?)\*/))&&(a[1]&&(i+=" "),i+="* ")}return i},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/scad"}.call(g.prototype),t.Mode=g})),ace.require(["ace/mode/scad"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));
@@ -0,0 +1 @@
1
+ ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,a=function(e){var t="[_:a-zA-ZÀ-￿][-_:.a-zA-Z0-9À-￿]*";this.$rules={start:[{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\[",next:"cdata"},{token:["punctuation.instruction.xml","keyword.instruction.xml"],regex:"(<\\?)("+t+")",next:"processing_instruction"},{token:"comment.start.xml",regex:"<\\!--",next:"comment"},{token:["xml-pe.doctype.xml","xml-pe.doctype.xml"],regex:"(<\\!)(DOCTYPE)(?=[\\s])",next:"doctype",caseInsensitive:!0},{include:"tag"},{token:"text.end-tag-open.xml",regex:"</"},{token:"text.tag-open.xml",regex:"<"},{include:"reference"},{defaultToken:"text.xml"}],processing_instruction:[{token:"entity.other.attribute-name.decl-attribute-name.xml",regex:t},{token:"keyword.operator.decl-attribute-equals.xml",regex:"="},{include:"whitespace"},{include:"string"},{token:"punctuation.xml-decl.xml",regex:"\\?>",next:"start"}],doctype:[{include:"whitespace"},{include:"string"},{token:"xml-pe.doctype.xml",regex:">",next:"start"},{token:"xml-pe.xml",regex:"[-_a-zA-Z0-9:]+"},{token:"punctuation.int-subset",regex:"\\[",push:"int_subset"}],int_subset:[{token:"text.xml",regex:"\\s+"},{token:"punctuation.int-subset.xml",regex:"]",next:"pop"},{token:["punctuation.markup-decl.xml","keyword.markup-decl.xml"],regex:"(<\\!)("+t+")",push:[{token:"text",regex:"\\s+"},{token:"punctuation.markup-decl.xml",regex:">",next:"pop"},{include:"string"}]}],cdata:[{token:"string.cdata.xml",regex:"\\]\\]>",next:"start"},{token:"text.xml",regex:"\\s+"},{token:"text.xml",regex:"(?:[^\\]]|\\](?!\\]>))+"}],comment:[{token:"comment.end.xml",regex:"--\x3e",next:"start"},{defaultToken:"comment.xml"}],reference:[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],attr_reference:[{token:"constant.language.escape.reference.attribute-value.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],tag:[{token:["meta.tag.punctuation.tag-open.xml","meta.tag.punctuation.end-tag-open.xml","meta.tag.tag-name.xml"],regex:"(?:(<)|(</))((?:"+t+":)?"+t+")",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start"}]}],tag_whitespace:[{token:"text.tag-whitespace.xml",regex:"\\s+"}],whitespace:[{token:"text.whitespace.xml",regex:"\\s+"}],string:[{token:"string.xml",regex:"'",push:[{token:"string.xml",regex:"'",next:"pop"},{defaultToken:"string.xml"}]},{token:"string.xml",regex:'"',push:[{token:"string.xml",regex:'"',next:"pop"},{defaultToken:"string.xml"}]}],attributes:[{token:"entity.other.attribute-name.xml",regex:t},{token:"keyword.operator.attribute-equals.xml",regex:"="},{include:"tag_whitespace"},{include:"attribute_value"}],attribute_value:[{token:"string.attribute-value.xml",regex:"'",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]}]},this.constructor===a&&this.normalizeRules()};(function(){this.embedTagRules=function(e,t,n){this.$rules.tag.unshift({token:["meta.tag.punctuation.tag-open.xml","meta.tag."+n+".tag-name.xml"],regex:"(<)("+n+"(?=\\s|>|$))",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:t+"start"}]}),this.$rules[n+"-end"]=[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start",onMatch:function(e,t,n){return n.splice(0),this.token}}],this.embedRules(e,t,[{token:["meta.tag.punctuation.end-tag-open.xml","meta.tag."+n+".tag-name.xml"],regex:"(</)("+n+"(?=\\s|>|$))",next:n+"-end"},{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\["},{token:"string.cdata.xml",regex:"\\]\\]>"}])}}).call(o.prototype),r.inherits(a,o),t.XmlHighlightRules=a})),ace.define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator;function i(e,t){return e&&e.type.lastIndexOf(t+".xml")>-1}var s=function(){this.add("string_dquotes","insertion",(function(e,t,n,r,o){if('"'==o||"'"==o){var s=o,l=r.doc.getTextRange(n.getSelectionRange());if(""!==l&&"'"!==l&&'"'!=l&&n.getWrapBehavioursEnabled())return{text:s+l+s,selection:!1};var g=n.getCursorPosition(),u=r.doc.getLine(g.row).substring(g.column,g.column+1),c=new a(r,g.row,g.column),d=c.getCurrentToken();if(u==s&&(i(d,"attribute-value")||i(d,"string")))return{text:"",selection:[1,1]};if(d||(d=c.stepBackward()),!d)return;for(;i(d,"tag-whitespace")||i(d,"whitespace");)d=c.stepBackward();var x=!u||u.match(/\s/);if(i(d,"attribute-equals")&&(x||">"==u)||i(d,"decl-attribute-equals")&&(x||"?"==u))return{text:s+s,selection:[1,1]}}})),this.add("string_dquotes","deletion",(function(e,t,n,r,o){var a=r.doc.getTextRange(o);if(!o.isMultiLine()&&('"'==a||"'"==a)&&r.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==a)return o.end.column++,o})),this.add("autoclosing","insertion",(function(e,t,n,r,o){if(">"==o){var s=n.getSelectionRange().start,l=new a(r,s.row,s.column),g=l.getCurrentToken()||l.stepBackward();if(!g||!(i(g,"tag-name")||i(g,"tag-whitespace")||i(g,"attribute-name")||i(g,"attribute-equals")||i(g,"attribute-value")))return;if(i(g,"reference.attribute-value"))return;if(i(g,"attribute-value")){var u=l.getCurrentTokenColumn()+g.value.length;if(s.column<u)return;if(s.column==u){var c=l.stepForward();if(c&&i(c,"attribute-value"))return;l.stepBackward()}}if(/^\s*>/.test(r.getLine(s.row).slice(s.column)))return;for(;!i(g,"tag-name");)if("<"==(g=l.stepBackward()).value){g=l.stepForward();break}var d=l.getCurrentTokenRow(),x=l.getCurrentTokenColumn();if(i(l.stepBackward(),"end-tag-open"))return;var m=g.value;if(d==s.row&&(m=m.substring(0,s.column-x)),this.voidElements&&this.voidElements.hasOwnProperty(m.toLowerCase()))return;return{text:"></"+m+">",selection:[1,1]}}})),this.add("autoindent","insertion",(function(e,t,n,r,o){if("\n"==o){var s=n.getCursorPosition(),l=r.getLine(s.row),g=new a(r,s.row,s.column),u=g.getCurrentToken();if(i(u,"")&&-1!==u.type.indexOf("tag-close")){if("/>"==u.value)return;for(;u&&-1===u.type.indexOf("tag-name");)u=g.stepBackward();if(!u)return;var c=u.value,d=g.getCurrentTokenRow();if(!(u=g.stepBackward())||-1!==u.type.indexOf("end-tag"))return;if(this.voidElements&&!this.voidElements[c]||!this.voidElements){var x=r.getTokenAt(s.row,s.column+1),m=(l=r.getLine(d),this.$getIndent(l)),p=m+r.getTabString();return x&&"</"===x.value?{text:"\n"+p+"\n"+m,selection:[1,p.length,1,p.length]}:{text:"\n"+p}}}}}))};r.inherits(s,o),t.XmlBehaviour=s})),ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../../range").Range,a=e("./fold_mode").FoldMode,i=t.FoldMode=function(e,t){a.call(this),this.voidElements=e||{},this.optionalEndTags=r.mixin({},this.voidElements),t&&r.mixin(this.optionalEndTags,t)};r.inherits(i,a);var s=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function l(e,t){return e.type.lastIndexOf(t+".xml")>-1}(function(){this.getFoldWidget=function(e,t,n){var r=this._getFirstTagInLine(e,n);return r?r.closing||!r.tagName&&r.selfClosing?"markbeginend"===t?"end":"":!r.tagName||r.selfClosing||this.voidElements.hasOwnProperty(r.tagName.toLowerCase())||this._findEndTagInLine(e,n,r.tagName,r.end.column)?"":"start":this.getCommentFoldWidget(e,n)},this.getCommentFoldWidget=function(e,t){return/comment/.test(e.getState(t))&&/<!-/.test(e.getLine(t))?"start":""},this._getFirstTagInLine=function(e,t){for(var n=e.getTokens(t),r=new s,o=0;o<n.length;o++){var a=n[o];if(l(a,"tag-open")){if(r.end.column=r.start.column+a.value.length,r.closing=l(a,"end-tag-open"),!(a=n[++o]))return null;if(r.tagName=a.value,""===a.value){if(!(a=n[++o]))return null;r.tagName=a.value}for(r.end.column+=a.value.length,o++;o<n.length;o++)if(a=n[o],r.end.column+=a.value.length,l(a,"tag-close")){r.selfClosing="/>"==a.value;break}return r}if(l(a,"tag-close"))return r.selfClosing="/>"==a.value,r;r.start.column+=a.value.length}return null},this._findEndTagInLine=function(e,t,n,r){for(var o=e.getTokens(t),a=0,i=0;i<o.length;i++){var s=o[i];if(!((a+=s.value.length)<r-1)&&l(s,"end-tag-open")&&(l(s=o[i+1],"tag-name")&&""===s.value&&(s=o[i+2]),s&&s.value==n))return!0}return!1},this.getFoldWidgetRange=function(e,t,n){if(!this._getFirstTagInLine(e,n))return this.getCommentFoldWidget(e,n)&&e.getCommentFoldRange(n,e.getLine(n).length);var r=e.getMatchingTags({row:n,column:0});return r?new o(r.openTag.end.row,r.openTag.end.column,r.closeTag.start.row,r.closeTag.start.column):void 0}}).call(i.prototype)})),ace.define("ace/mode/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/xml_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/xml","ace/worker/worker_client"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("../lib/lang"),a=e("./text").Mode,i=e("./xml_highlight_rules").XmlHighlightRules,s=e("./behaviour/xml").XmlBehaviour,l=e("./folding/xml").FoldMode,g=e("../worker/worker_client").WorkerClient,u=function(){this.HighlightRules=i,this.$behaviour=new s,this.foldingRules=new l};r.inherits(u,a),function(){this.voidElements=o.arrayToMap([]),this.blockComment={start:"\x3c!--",end:"--\x3e"},this.createWorker=function(e){var t=new g(["ace"],"ace/mode/xml_worker","Worker");return t.attachToDocument(e.getDocument()),t.on("error",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/xml"}.call(u.prototype),t.Mode=u})),ace.define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,a=function(){this.$rules={start:[{token:["comment.doc.tag","comment.doc.text","lparen.doc"],regex:"(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:["rparen.doc","text.doc","variable.parameter.doc","lparen.doc","variable.parameter.doc","rparen.doc"],regex:/(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.]+)(\])))/,next:"pop"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","lparen.doc"],regex:"(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|implements|external|exception|throws|enum|define|extends))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:'(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|requires|param|implements|function|extends|typedef|mixes|constructor|var|memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#.:/~"\\-]*)?'},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:"(@method)(\\s+)(\\w[\\w.\\(\\)]*)"},{token:"comment.doc.tag",regex:"@access\\s+(?:private|public|protected)"},{token:"comment.doc.tag",regex:"@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)"},{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},a.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};r.inherits(a,o),a.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},a.getStartRule=function(e){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:e}},a.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.JsDocCommentHighlightRules=a})),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,a=e("./text_highlight_rules").TextHighlightRules,i="[a-zA-Z\\$_¡-￿][a-zA-Z\\d\\$_¡-￿]*",s=function(e){var t={"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},n=this.createKeywordMapper(t,"identifier"),r="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)",a="(function)(\\s*)(\\*?)",s={token:["identifier","text","paren.lparen"],regex:"(\\b(?!"+Object.values(t).join("|")+"\\b)"+i+")(\\s*)(\\()"};this.$rules={no_regex:[o.getStartRule("doc-start"),g("no_regex"),s,{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","storage.type","text","paren.lparen"],regex:"("+i+")(\\s*)(=)(\\s*)"+a+"(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","storage.type","text","text","entity.name.function","text","paren.lparen"],regex:"(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))("+i+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","storage.type","text","paren.lparen"],regex:"("+i+")(\\s*)(:)(\\s*)"+a+"(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)"+a+"(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/},{token:n,regex:i},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:"keyword.operator",regex:/=/},{token:["storage.type","text","storage.type","text","paren.lparen"],regex:a+"(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","storage.type","text","text","entity.name.function","text","paren.lparen"],regex:"(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:"prototype"},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:i},{regex:"",token:"empty",next:"no_regex"}],start:[o.getStartRule("doc-start"),g("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[g("function_arguments"),{token:"variable.parameter",regex:i},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){if(this.next="{"==e?this.nextState:"","{"==e&&n.length)n.unshift("start",t);else if("}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx")))return"paren.quasi.end";return"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:r},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+i+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=[^\\(]+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),e&&0==e.jsx||l.call(this)),this.embedRules(o,"doc-",[o.getEndRule("no_regex")]),this.normalizeRules()};function l(){var e=i.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var r="/"==e.charAt(1)?2:1;return 1==r?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==r&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==r?"":"end-")+"tag-open.xml",value:e.slice(0,r)},{type:"meta.tag.tag-name.xml",value:e.substr(r)}]},regex:"</?(?:"+e+"|(?=>))",next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(t);var n={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[n,t,{include:"reference"},{defaultToken:"string.xml"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,g("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},t],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function g(e){return[{token:"comment",regex:/\/\*/,next:[o.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[o.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}r.inherits(s,a),t.JavaScriptHighlightRules=s})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var o=n[1].length,a=e.findMatchingBracket({row:t,column:o});if(!a||a.row==t)return 0;var i=this.$getIndent(e.getLine(a.row));e.replace(new r(t,0,t,o-1),i)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o})),ace.define("ace/mode/behaviour/javascript",["require","exports","module","ace/lib/oop","ace/token_iterator","ace/mode/behaviour/cstyle","ace/mode/behaviour/xml"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../../token_iterator").TokenIterator,a=e("../behaviour/cstyle").CstyleBehaviour,i=e("../behaviour/xml").XmlBehaviour,s=function(){var e=new i({closeCurlyBraces:!0}).getBehaviours();this.addBehaviours(e),this.inherit(a),this.add("autoclosing-fragment","insertion",(function(e,t,n,r,a){if(">"==a){var i=n.getSelectionRange().start,s=new o(r,i.row,i.column),l=s.getCurrentToken()||s.stepBackward();if(!l)return;if("<"==l.value)return{text:"></>",selection:[1,1]}}}))};r.inherits(s,a),t.JavaScriptBehaviour=s})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../../range").Range,a=e("./fold_mode").FoldMode,i=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(i,a),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(r)?"start":o},this.getFoldWidgetRange=function(e,t,n,r){var o,a=e.getLine(n);if(this.startRegionRe.test(a))return this.getCommentRegionBlock(e,a,n);if(o=a.match(this.foldingStartMarker)){var i=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,i);var s=e.getCommentFoldRange(n,i+o[0].length,1);return s&&!s.isMultiLine()&&(r?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}return"markbegin"!==t&&(o=a.match(this.foldingStopMarker))?(i=o.index+o[0].length,o[1]?this.closingBracketBlock(e,o[1],n,i):e.getCommentFoldRange(n,i,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),a=t,i=n.length,s=t+=1,l=e.getLength();++t<l;){var g=(n=e.getLine(t)).search(/\S/);if(-1!==g){if(r>g)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=a)break;if(u.isMultiLine())t=u.end.row;else if(r==g)break}s=t}}return new o(a,i,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),a=e.getLength(),i=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++n<a;){t=e.getLine(n);var g=s.exec(t);if(g&&(g[1]?l--:l++,!l))break}if(n>i)return new o(i,r,n,t.length)}}.call(i.prototype)})),ace.define("ace/mode/folding/javascript",["require","exports","module","ace/lib/oop","ace/mode/folding/xml","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("./xml").FoldMode,a=e("./cstyle").FoldMode,i=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end))),this.xmlFoldMode=new o};r.inherits(i,a),function(){this.getFoldWidgetRangeBase=this.getFoldWidgetRange,this.getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){return this.getFoldWidgetBase(e,t,n)||this.xmlFoldMode.getFoldWidget(e,t,n)},this.getFoldWidgetRange=function(e,t,n,r){return this.getFoldWidgetRangeBase(e,t,n,r)||this.xmlFoldMode.getFoldWidgetRange(e,t,n)}}.call(i.prototype)})),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/javascript","ace/mode/folding/javascript"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text").Mode,a=e("./javascript_highlight_rules").JavaScriptHighlightRules,i=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("../worker/worker_client").WorkerClient,l=e("./behaviour/javascript").JavaScriptBehaviour,g=e("./folding/javascript").FoldMode,u=function(){this.HighlightRules=a,this.$outdent=new i,this.$behaviour=new l,this.foldingRules=new g};r.inherits(u,o),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e),a=o.tokens,i=o.state;if(a.length&&"comment"==a[a.length-1].type)return r;if("start"==e||"no_regex"==e)(s=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/))&&(r+=n);else if("doc-start"==e){if("start"==i||"no_regex"==i)return"";var s;(s=t.match(/^\s*(\/?)\*/))&&(s[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new s(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/javascript",this.snippetFileId="ace/snippets/javascript"}.call(u.prototype),t.Mode=u})),ace.define("ace/mode/svg_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./javascript_highlight_rules").JavaScriptHighlightRules,a=e("./xml_highlight_rules").XmlHighlightRules,i=function(){a.call(this),this.embedTagRules(o,"js-","script"),this.normalizeRules()};r.inherits(i,a),t.SvgHighlightRules=i})),ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("./fold_mode").FoldMode,a=t.FoldMode=function(e,t){this.defaultMode=e,this.subModes=t};r.inherits(a,o),function(){this.$getMode=function(e){for(var t in"string"!=typeof e&&(e=e[0]),this.subModes)if(0===e.indexOf(t))return this.subModes[t];return null},this.$tryMode=function(e,t,n,r){var o=this.$getMode(e);return o?o.getFoldWidget(t,n,r):""},this.getFoldWidget=function(e,t,n){return this.$tryMode(e.getState(n-1),e,t,n)||this.$tryMode(e.getState(n),e,t,n)||this.defaultMode.getFoldWidget(e,t,n)},this.getFoldWidgetRange=function(e,t,n){var r=this.$getMode(e.getState(n-1));return r&&r.getFoldWidget(e,t,n)||(r=this.$getMode(e.getState(n))),r&&r.getFoldWidget(e,t,n)||(r=this.defaultMode),r.getFoldWidgetRange(e,t,n)}}.call(a.prototype)})),ace.define("ace/mode/svg",["require","exports","module","ace/lib/oop","ace/mode/xml","ace/mode/javascript","ace/mode/svg_highlight_rules","ace/mode/folding/mixed","ace/mode/folding/xml","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./xml").Mode,a=e("./javascript").Mode,i=e("./svg_highlight_rules").SvgHighlightRules,s=e("./folding/mixed").FoldMode,l=e("./folding/xml").FoldMode,g=e("./folding/cstyle").FoldMode,u=function(){o.call(this),this.HighlightRules=i,this.createModeDelegates({"js-":a}),this.foldingRules=new s(new l,{"js-":new g})};r.inherits(u,o),function(){this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.$id="ace/mode/svg"}.call(u.prototype),t.Mode=u})),ace.require(["ace/mode/svg"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));
@@ -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,n){"use strict";var i=e("./lib/dom"),r=e("./lib/oop"),o=e("./lib/event_emitter").EventEmitter,s=e("./lib/lang"),a=e("./range").Range,c=e("./range_list").RangeList,p=e("./keyboard/hash_handler").HashHandler,u=e("./tokenizer").Tokenizer,h=e("./clipboard"),l={CURRENT_WORD:function(e){return e.session.getTextRange(e.session.getWordRange())},SELECTION:function(e,t,n){var i=e.session.getTextRange();return n?i.replace(/\n\r?([ \t]*\S)/g,"\n"+n+"$1"):i},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:d.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:d.bind(null,{year:"2-digit"}),CURRENT_MONTH:d.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:d.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:d.bind(null,{month:"short"}),CURRENT_DATE:d.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:d.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:d.bind(null,{weekday:"short"}),CURRENT_HOUR:d.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:d.bind(null,{minute:"2-digit"}),CURRENT_SECOND:d.bind(null,{second:"2-digit"})};function d(e){var t=(new Date).toLocaleString("en-us",e);return 1==t.length?"0"+t:t}l.SELECTED_TEXT=l.SELECTION;var g=function(){function e(){this.snippetMap={},this.snippetNameMap={},this.variables=l}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 n(e){return"(?:[^\\\\"+e+"]|\\\\.)"}var i={regex:"/("+n("/")+"+)/",onMatch:function(e,t,n){var i=n[0];return i.fmtString=!0,i.guard=e.slice(1,-1),i.flag="",""},next:"formatString"};return e.$tokenizer=new u({start:[{regex:/\\./,onMatch:function(e,t,n){var i=e[1];return("}"==i&&n.length||-1!="`$\\".indexOf(i))&&(e=i),[e]}},{regex:/}/,onMatch:function(e,t,n){return[n.length?n.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:t},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(e,n,i){var r=t(e.substr(1));return i.unshift(r[0]),r},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+n("\\|")+"*\\|",onMatch:function(e,t,n){var i=e.slice(1,-1).replace(/\\[,|\\]|,/g,(function(e){return 2==e.length?e[1]:"\0"})).split("\0").map((function(e){return{value:e}}));return n[0].choices=i,[i[0]]},next:"start"},i,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(e,t,n){return n.length&&n[0].expectElse?(n[0].expectElse=!1,n[0].ifEnd={elseEnd:n[0]},[n[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(e,t,n){var i=e[1];return"}"==i&&n.length||-1!="`$\\".indexOf(i)?e=i:"n"==i?e="\n":"t"==i?e="\t":-1!="ulULE".indexOf(i)&&(e={changeCase:i,local:i>"a"}),[e]}},{regex:"/\\w*}",onMatch:function(e,t,n){var i=n.shift();return i&&(i.flag=e.slice(1,-1)),this.next=i&&i.tabstopId?"start":"",[i||e]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(e,t,n){return[{text:e.slice(1)}]}},{regex:/\${\w+/,onMatch:function(e,t,n){var i={text:e.slice(2)};return n.unshift(i),[i]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(e,t,n){var i=n.shift();return this.next=i&&i.tabstopId?"start":"",[i||e]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(e,t,n){return n[0].formatFunction=e.slice(2,-1),[n.shift()]},next:"formatString"},i,{regex:/:[\?\-+]?/,onMatch:function(e,t,n){"+"==e[1]&&(n[0].ifEnd=n[0]),"?"==e[1]&&(n[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,n){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 i=this.variables[t];return"function"==typeof i&&(i=this.variables[t](e,t,n)),null==i?"":i},e.prototype.tmStrFormat=function(e,t,n){if(!t.fmt)return e;var i=t.flag||"",r=t.guard;r=new RegExp(r,i.replace(/[^gim]/g,""));var o="string"==typeof t.fmt?this.tokenizeTmSnippet(t.fmt,"formatString"):t.fmt,s=this,a=e.replace(r,(function(){var e=s.variables.__;s.variables.__=[].slice.call(arguments);for(var t=s.resolveVariables(o,n),i="E",r=0;r<t.length;r++){var a=t[r];if("object"==typeof a)if(t[r]="",a.changeCase&&a.local){var c=t[r+1];c&&"string"==typeof c&&("u"==a.changeCase?t[r]=c[0].toUpperCase():t[r]=c[0].toLowerCase(),t[r+1]=c.substr(1))}else a.changeCase&&(i=a.changeCase);else"U"==i?t[r]=a.toUpperCase():"L"==i&&(t[r]=a.toLowerCase())}return s.variables.__=e,t.join("")}));return a},e.prototype.tmFormatFunction=function(e,t,n){return"upcase"==t.formatFunction?e.toUpperCase():"downcase"==t.formatFunction?e.toLowerCase():e},e.prototype.resolveVariables=function(e,t){for(var n=[],i="",r=!0,o=0;o<e.length;o++){var s=e[o];if("string"!=typeof s){if(s){if(r=!1,s.fmtString){var a=e.indexOf(s,o+1);-1==a&&(a=e.length),s.fmt=e.slice(o+1,a),o=a}if(s.text){var c=this.getVariableValue(t,s.text,i)+"";s.fmtString&&(c=this.tmStrFormat(c,s,t)),s.formatFunction&&(c=this.tmFormatFunction(c,s,t)),c&&!s.ifEnd?(n.push(c),p(s)):!c&&s.ifEnd&&p(s.ifEnd)}else s.elseEnd?p(s.elseEnd):(null!=s.tabstopId||null!=s.changeCase)&&n.push(s)}}else n.push(s),"\n"==s?(r=!0,i=""):r&&(i=/^\t*/.exec(s)[0],r=/\S/.test(s))}function p(t){var n=e.indexOf(t,o+1);-1!=n&&(o=n)}return n},e.prototype.getDisplayTextForSnippet=function(e,t){return f.call(this,e,t).text},e.prototype.insertSnippetForSelection=function(e,t,n){void 0===n&&(n={});var i=f.call(this,e,t,n),r=e.getSelectionRange(),o=e.session.replace(r,i.text),s=new m(e),a=e.inVirtualSelectionMode&&e.selection.index;s.addTabstops(i.tabstops,r.start,o,a)},e.prototype.insertSnippet=function(e,t,n){void 0===n&&(n={});var i=this;if(e.inVirtualSelectionMode)return i.insertSnippetForSelection(e,t,n);e.forEachSelection((function(){i.insertSnippetForSelection(e,t,n)}),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 n=e.getCursorPosition(),i=e.session.getState(n.row);"object"==typeof i&&(i=i[0]),i.substring&&("js-"==i.substring(0,3)?t="javascript":"css-"==i.substring(0,4)?t="css":"php-"==i.substring(0,4)&&(t="php"))}return t},e.prototype.getActiveScopes=function(e){var t=this.$getScope(e),n=[t],i=this.snippetMap;return i[t]&&i[t].includeScopes&&n.push.apply(n,i[t].includeScopes),n.push("_"),n},e.prototype.expandWithTab=function(e,t){var n=this,i=e.forEachSelection((function(){return n.expandSnippetForSelection(e,t)}),null,{keepOrder:!0});return i&&e.tabstopManager&&e.tabstopManager.tabNext(),i},e.prototype.expandSnippetForSelection=function(e,t){var n,i=e.getCursorPosition(),r=e.session.getLine(i.row),o=r.substring(0,i.column),s=r.substr(i.column),a=this.snippetMap;return this.getActiveScopes(e).some((function(e){var t=a[e];return t&&(n=this.findMatchingSnippet(t,o,s)),!!n}),this),!!n&&(t&&t.dryRun||(e.session.doc.removeInLine(i.row,i.column-n.replaceBefore.length,i.column+n.replaceAfter.length),this.variables.M__=n.matchBefore,this.variables.T__=n.matchAfter,this.insertSnippetForSelection(e,n.content),this.variables.M__=this.variables.T__=null),!0)},e.prototype.findMatchingSnippet=function(e,t,n){for(var i=e.length;i--;){var r=e[i];if((!r.startRe||r.startRe.test(t))&&(!r.endRe||r.endRe.test(n))&&(r.startRe||r.endRe))return r.matchBefore=r.startRe?r.startRe.exec(t):[""],r.matchAfter=r.endRe?r.endRe.exec(n):[""],r.replaceBefore=r.triggerRe?r.triggerRe.exec(t)[0]:"",r.replaceAfter=r.endTriggerRe?r.endTriggerRe.exec(n)[0]:"",r}},e.prototype.register=function(e,t){var n=this.snippetMap,i=this.snippetNameMap,r=this;function o(e){return e&&!/^\^?\(.*\)\$?$|^\\b$/.test(e)&&(e="(?:"+e+")"),e||""}function a(e,t,n){return e=o(e),t=o(t),n?(e=t+e)&&"$"!=e[e.length-1]&&(e+="$"):(e+=t)&&"^"!=e[0]&&(e="^"+e),new RegExp(e)}function c(e){e.scope||(e.scope=t||"_"),t=e.scope,n[t]||(n[t]=[],i[t]={});var o=i[t];if(e.name){var c=o[e.name];c&&r.unregister(c),o[e.name]=e}n[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=s.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(c):Object.keys(e).forEach((function(t){c(e[t])})),this._signal("registerSnippets",{scope:t})},e.prototype.unregister=function(e,t){var n=this.snippetMap,i=this.snippetNameMap;function r(e){var r=i[e.scope||t];if(r&&r[e.name]){delete r[e.name];var o=n[e.scope||t],s=o&&o.indexOf(e);s>=0&&o.splice(s,1)}}e.content?r(e):Array.isArray(e)&&e.forEach(r)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],i={},r=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=r.exec(e);){if(t[1])try{i=JSON.parse(t[1]),n.push(i)}catch(e){}if(t[4])i.content=t[4].replace(/^\t/gm,""),n.push(i),i={};else{var o=t[2],s=t[3];if("regex"==o){var a=/\/((?:[^\/\\]|\\.)*)|$/g;i.guard=a.exec(s)[1],i.trigger=a.exec(s)[1],i.endTrigger=a.exec(s)[1],i.endGuard=a.exec(s)[1]}else"snippet"==o?(i.tabTrigger=s.match(/^\S*/)[0],i.name||(i.name=s)):o&&(i[o]=s)}}return n},e.prototype.getSnippetByName=function(e,t){var n,i=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var r=i[t];return r&&(n=r[e]),!!n}),this),n},e}();r.implement(g.prototype,o);var f=function(e,t,n){void 0===n&&(n={});var i=e.getCursorPosition(),r=e.session.getLine(i.row),o=e.session.getTabString(),s=r.match(/^\s*/)[0];i.column<s.length&&(s=s.slice(0,i.column)),t=t.replace(/\r/g,"");var a=this.tokenizeTmSnippet(t);a=(a=this.resolveVariables(a,e)).map((function(e){return"\n"!=e||n.excludeExtraIndent?"string"==typeof e?e.replace(/\t/g,o):e:e+s}));var c=[];a.forEach((function(e,t){if("object"==typeof e){var n=e.tabstopId,i=c[n];if(i||((i=c[n]=[]).index=n,i.value="",i.parents={}),-1===i.indexOf(e)){e.choices&&!i.choices&&(i.choices=e.choices),i.push(e);var r=a.indexOf(e,t+1);if(-1!==r){var o=a.slice(t+1,r);o.some((function(e){return"object"==typeof e}))&&!i.value?i.value=o:!o.length||i.value&&"string"==typeof i.value||(i.value=o.join(""))}}}})),c.forEach((function(e){e.length=0}));var p={};function u(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];if("object"==typeof i){if(p[i.tabstopId])continue;i=t[e.lastIndexOf(i,n-1)]||{tabstopId:i.tabstopId}}t[n]=i}return t}for(var h=0;h<a.length;h++){var l=a[h];if("object"==typeof l){var d=l.tabstopId,g=c[d],f=a.indexOf(l,h+1);if(p[d])p[d]===l&&(delete p[d],Object.keys(p).forEach((function(e){g.parents[e]=!0})));else{p[d]=l;var m=g.value;"string"!=typeof m?m=u(m):l.fmt&&(m=this.tmStrFormat(m,l,e)),a.splice.apply(a,[h+1,Math.max(0,f-h)].concat(m,l)),-1===g.indexOf(l)&&g.push(l)}}}var b=0,v=0,x="";return a.forEach((function(e){if("string"==typeof e){var t=e.split("\n");t.length>1?(v=t[t.length-1].length,b+=t.length-1):v+=e.length,x+=e}else e&&(e.start?e.end={row:b,column:v}:e.start={row:b,column:v})})),{text:x,tabstops:c,tokens:a}},m=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=s.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],n=this.selectedTabstop||{},i=n.parents||{},r=this.tabstops.slice(),o=0;o<r.length;o++){var s=r[o],a=s==n||i[s.index];if(s.rangeList.$bias=a?0:1,"remove"==e.action&&s!==n){var c=s.parents&&s.parents[n.index],p=s.rangeList.pointIndex(e.start,c);p=p<0?-p-1:p+1;var u=s.rangeList.pointIndex(e.end,c);u=u<0?-u-1:u-1;for(var h=s.rangeList.ranges.slice(p,u),l=0;l<h.length;l++)this.removeRange(h[l])}s.rangeList.$onChange(e)}var d=this.session;this.$inChange||!t||1!=d.getLength()||d.getValue()||this.detach()},e.prototype.updateLinkedFields=function(){var e=this.selectedTabstop;if(e&&e.hasLinkedRanges&&e.firstNonLinked){this.$inChange=!0;for(var n=this.session,i=n.getTextRange(e.firstNonLinked),r=0;r<e.length;r++){var o=e[r];if(o.linked){var s=o.original,a=t.snippetManager.tmStrFormat(i,s,this.editor);n.replace(o,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,n=this.editor.selection.isEmpty(),i=0;i<this.ranges.length;i++)if(!this.ranges[i].linked){var r=this.ranges[i].contains(e.row,e.column),o=n||this.ranges[i].contains(t.row,t.column);if(r&&o)return}this.detach()}},e.prototype.onChangeSession=function(){this.detach()},e.prototype.tabNext=function(e){var t=this.tabstops.length,n=this.index+(e||1);(n=Math.min(Math.max(n,1),t))==t&&(n=0),this.selectTabstop(n),this.updateTabstopMarkers(),0===n&&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 n=t.firstNonLinked||t;if(t.choices&&(n.cursor=n.start),this.editor.inVirtualSelectionMode)this.editor.selection.fromOrientedRange(n);else{var i=this.editor.multiSelect;i.toSingleRange(n);for(var r=0;r<t.length;r++)t.hasLinkedRanges&&t[r].linked||i.addRange(t[r].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,n){var i=this.useLink||!this.editor.getOption("enableMultiselect");if(this.$openTabstops||(this.$openTabstops=[]),!e[0]){var r=a.fromPoints(n,n);v(r.start,t),v(r.end,t),e[0]=[r],e[0].index=0}var o=[this.index+1,0],s=this.ranges,p=this.snippetId=(this.snippetId||0)+1;e.forEach((function(e,n){var r=this.$openTabstops[n]||e;r.snippetId=p;for(var u=0;u<e.length;u++){var h=e[u],l=a.fromPoints(h.start,h.end||h.start);b(l.start,t),b(l.end,t),l.original=h,l.tabstop=r,s.push(l),r!=e?r.unshift(l):r[u]=l,h.fmtString||r.firstNonLinked&&i?(l.linked=!0,r.hasLinkedRanges=!0):r.firstNonLinked||(r.firstNonLinked=l)}r.firstNonLinked||(r.hasLinkedRanges=!1),r===e&&(o.push(r),this.$openTabstops[n]=r),this.addTabstopMarkers(r),r.rangeList=r.rangeList||new c,r.rangeList.$bias=0,r.rangeList.addList(r)}),this),o.length>2&&(this.tabstops.length&&o.push(o.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,o))},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.updateTabstopMarkers=function(){if(this.selectedTabstop){var e=this.selectedTabstop.snippetId;0===this.selectedTabstop.index&&e--,this.tabstops.forEach((function(t){t.snippetId===e?this.addTabstopMarkers(t):this.removeTabstopMarkers(t)}),this)}},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}();m.prototype.keyboardHandler=new p,m.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 b=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},v=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};i.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 g;var x=e("./editor").Editor;(function(){this.insertSnippet=function(e,n){return t.snippetManager.insertSnippet(this,e,n)},this.expandSnippet=function(e){return t.snippetManager.expandWithTab(this,e)}}).call(x.prototype)})),ace.define("ace/ext/emmet",["require","exports","module","ace/keyboard/hash_handler","ace/editor","ace/snippets","ace/range","ace/config","resources","resources","tabStops","resources","utils","actions"],(function(e,t,n){"use strict";var i,r,o=e("../keyboard/hash_handler").HashHandler,s=e("../editor").Editor,a=e("../snippets").snippetManager,c=e("../range").Range,p=e("../config"),u=function(){function e(){}return e.prototype.setupContext=function(e){this.ace=e,this.indentation=e.session.getTabString(),i||(i=window.emmet),(i.resources||i.require("resources")).setVariable("indentation",this.indentation),this.$syntax=null,this.$syntax=this.getSyntax()},e.prototype.getSelectionRange=function(){var e=this.ace.getSelectionRange(),t=this.ace.session.doc;return{start:t.positionToIndex(e.start),end:t.positionToIndex(e.end)}},e.prototype.createSelection=function(e,t){var n=this.ace.session.doc;this.ace.selection.setRange({start:n.indexToPosition(e),end:n.indexToPosition(t)})},e.prototype.getCurrentLineRange=function(){var e=this.ace,t=e.getCursorPosition().row,n=e.session.getLine(t).length,i=e.session.doc.positionToIndex({row:t,column:0});return{start:i,end:i+n}},e.prototype.getCaretPos=function(){var e=this.ace.getCursorPosition();return this.ace.session.doc.positionToIndex(e)},e.prototype.setCaretPos=function(e){var t=this.ace.session.doc.indexToPosition(e);this.ace.selection.moveToPosition(t)},e.prototype.getCurrentLine=function(){var e=this.ace.getCursorPosition().row;return this.ace.session.getLine(e)},e.prototype.replaceContent=function(e,t,n,i){null==n&&(n=null==t?this.getContent().length:t),null==t&&(t=0);var r=this.ace,o=r.session.doc,s=c.fromPoints(o.indexToPosition(t),o.indexToPosition(n));r.session.remove(s),s.end=s.start,e=this.$updateTabstops(e),a.insertSnippet(r,e)},e.prototype.getContent=function(){return this.ace.getValue()},e.prototype.getSyntax=function(){if(this.$syntax)return this.$syntax;var e=this.ace.session.$modeId.split("/").pop();if("html"==e||"php"==e){var t=this.ace.getCursorPosition(),n=this.ace.session.getState(t.row);"string"!=typeof n&&(n=n[0]),n&&((n=n.split("-")).length>1?e=n[0]:"php"==e&&(e="html"))}return e},e.prototype.getProfileName=function(){var e=i.resources||i.require("resources");switch(this.getSyntax()){case"css":return"css";case"xml":case"xsl":return"xml";case"html":var t=e.getVariable("profile");return t||(t=-1!=this.ace.session.getLines(0,2).join("").search(/<!DOCTYPE[^>]+XHTML/i)?"xhtml":"html"),t;default:var n=this.ace.session.$mode;return n.emmetConfig&&n.emmetConfig.profile||"xhtml"}},e.prototype.prompt=function(e){return prompt(e)},e.prototype.getSelection=function(){return this.ace.session.getTextRange()},e.prototype.getFilePath=function(){return""},e.prototype.$updateTabstops=function(e){var t=0,n=null,r=i.tabStops||i.require("tabStops"),o=(i.resources||i.require("resources")).getVocabulary("user"),s={tabstop:function(e){var i=parseInt(e.group,10),o=0===i;o?i=++t:i+=1e3;var a=e.placeholder;a&&(a=r.processText(a,s));var c="${"+i+(a?":"+a:"")+"}";return o&&(n=[e.start,c]),c},escape:function(e){return"$"==e?"\\$":"\\"==e?"\\\\":e}};return e=r.processText(e,s),o.variables.insert_final_tabstop&&!/\$\{0\}$/.test(e)?e+="${0}":n&&(e=(i.utils?i.utils.common:i.require("utils")).replaceSubstring(e,"${0}",n[0],n[1])),e},e}(),h={expand_abbreviation:{mac:"ctrl+alt+e",win:"alt+e"},match_pair_outward:{mac:"ctrl+d",win:"ctrl+,"},match_pair_inward:{mac:"ctrl+j",win:"ctrl+shift+0"},matching_pair:{mac:"ctrl+alt+j",win:"alt+j"},next_edit_point:"alt+right",prev_edit_point:"alt+left",toggle_comment:{mac:"command+/",win:"ctrl+/"},split_join_tag:{mac:"shift+command+'",win:"shift+ctrl+`"},remove_tag:{mac:"command+'",win:"shift+ctrl+;"},evaluate_math_expression:{mac:"shift+command+y",win:"shift+ctrl+y"},increment_number_by_1:"ctrl+up",decrement_number_by_1:"ctrl+down",increment_number_by_01:"alt+up",decrement_number_by_01:"alt+down",increment_number_by_10:{mac:"alt+command+up",win:"shift+alt+up"},decrement_number_by_10:{mac:"alt+command+down",win:"shift+alt+down"},select_next_item:{mac:"shift+command+.",win:"shift+ctrl+."},select_previous_item:{mac:"shift+command+,",win:"shift+ctrl+,"},reflect_css_value:{mac:"shift+command+r",win:"shift+ctrl+r"},encode_decode_data_url:{mac:"shift+ctrl+d",win:"ctrl+'"},expand_abbreviation_with_tab:"Tab",wrap_with_abbreviation:{mac:"shift+ctrl+a",win:"shift+ctrl+a"}},l=new u;for(var d in t.commands=new o,t.runEmmetCommand=function e(n){if("expand_abbreviation_with_tab"==this.action){if(!n.selection.isEmpty())return!1;var r=n.selection.lead,o=n.session.getTokenAt(r.row,r.column);if(o&&/\btag\b/.test(o.type))return!1}try{l.setupContext(n);var s=i.actions||i.require("actions");if("wrap_with_abbreviation"==this.action)return setTimeout((function(){s.run("wrap_with_abbreviation",l)}),0);var a=s.run(this.action,l)}catch(r){if(!i){var c=t.load(e.bind(this,n));return"expand_abbreviation_with_tab"!=this.action&&c}n._signal("changeStatus","string"==typeof r?r:r.message),p.warn(r),a=!1}return a},h)t.commands.addCommand({name:"emmet:"+d,action:d,bindKey:h[d],exec:t.runEmmetCommand,multiSelectAction:"forEach"});t.updateCommands=function(e,n){n?e.keyBinding.addKeyboardHandler(t.commands):e.keyBinding.removeKeyboardHandler(t.commands)},t.isSupportedMode=function(e){if(!e)return!1;if(e.emmetConfig)return!0;var t=e.$id||e;return/css|less|scss|sass|stylus|html|php|twig|ejs|handlebars/.test(t)},t.isAvailable=function(e,n){if(/(evaluate_math_expression|expand_abbreviation)$/.test(n))return!0;var i=e.session.$mode,r=t.isSupportedMode(i);if(r&&i.$modes)try{l.setupContext(e),/js|php/.test(l.getSyntax())&&(r=!1)}catch(e){}return r};var g=function(e,n){var i=n;if(i){var r=t.isSupportedMode(i.session.$mode);!1===e.enableEmmet&&(r=!1),r&&t.load(),t.updateCommands(i,r)}};t.load=function(e){return"string"!=typeof r?(p.warn("script for emmet-core is not loaded"),!1):(p.loadModule(r,(function(){r=null,e&&e()})),!0)},t.AceEmmetEditor=u,p.defineOptions(s.prototype,"editor",{enableEmmet:{set:function(e){this[e?"on":"removeListener"]("changeMode",g),g({enableEmmet:!!e},this)},value:!0}}),t.setCore=function(e){"string"==typeof e?r=e:i=e}})),ace.require(["ace/ext/emmet"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));