tocco-admin 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/changelog.md +10 -0
  2. package/dist/010d0560a00a032c33da819e3c86596a.js +1 -368
  3. package/dist/029ed9161a8d24a9c2ba97124020989d.js +1 -9
  4. package/dist/02d5c4961ca855a88b1cd3e1b7fa7aa2.js +1 -113
  5. package/dist/03371bf1d5cbb1eab58e3a0130d1e9c2.js +1 -15001
  6. package/dist/03487ba89c7b63069d63c1b3802a472c.js +1 -24
  7. package/dist/03748243ac7148ca150ba06c2919ff81.js +1 -271
  8. package/dist/03980cb12dacd26148c22bb61fce440f.js +1 -9
  9. package/dist/03aae8272914723a7bf85b984385032c.js +1 -9
  10. package/dist/04770a551c5b6daa744be9b180a8d0fe.js +1 -13311
  11. package/dist/06d958315fc6cdbb28576b03e43203aa.js +1 -9
  12. package/dist/07101530302fe1d03dcd731992f7a899.js +1 -869
  13. package/dist/0731d7568a06d2e28351781370bc52bb.js +1 -445
  14. package/dist/0794fa2b9c882c72fa7d586069b61055.js +1 -3608
  15. package/dist/0872e65446d05c1c443180c6280b015f.js +1 -214
  16. package/dist/08b9f3e305b5e3e0b81f7848fa7f3b6b.js +1 -105
  17. package/dist/09563004132aabcfcc186943555a92a1.js +1 -263
  18. package/dist/0a1d9862d917663419ac2dd2e8193267.js +1 -9
  19. package/dist/0a858573915ab9b03fe79f98f8c51a04.js +1 -271
  20. package/dist/0a9cd3d62e7f1cd404606c50d9da86fb.js +1 -229
  21. package/dist/0beea7b55cf3b8c9f9b0bd46170bb30e.js +1 -238
  22. package/dist/0ec4bf56a876c2bf34ea174c584ce628.js +1 -97
  23. package/dist/0f418117fac55a859631143ad7d0e833.js +1 -1038
  24. package/dist/10132993df2cf9c9423b53a8a44379ab.js +1 -9
  25. package/dist/1034e3807d1bcf55cb564491950237ab.js +1 -9
  26. package/dist/104959bdb953a3792a203e98d2bf530f.js +1 -895
  27. package/dist/114c58e47951fe3f6d25f683e0cd54e7.js +1 -381
  28. package/dist/11b2d52156942feeb87b7c608276c49b.js +1 -119
  29. package/dist/11dc77ef2ea3a04834945a52f7de2072.js +1 -3208
  30. package/dist/12b520593765ef7e714d7fb3764633ed.js +1 -167
  31. package/dist/130340e2c62b9e858f186dab5f491e55.js +1 -9
  32. package/dist/1324f89bd8db0bae85b79b7f90f6c119.js +1 -418
  33. package/dist/13eda3507db9cbfb400f46b9b3ff6553.js +1 -9
  34. package/dist/1441681e52f3ae9ab33afbc5517359a0.js +1 -45
  35. package/dist/1533058f0ce13acdaa8d5bdc7d147bef.js +1 -9
  36. package/dist/1549fe09fd6b44aca96e2b1b7cbd93d0.js +1 -111
  37. package/dist/15f3800d33b854ba476c9daf1b9e0326.js +1 -9
  38. package/dist/16563bfaf4741097d38cc6ce3ccc1a2d.js +1 -2644
  39. package/dist/170487867de05784a96608617bdd544d.js +1 -9
  40. package/dist/179a93d3148b7edb72581279c3787d0c.js +1 -353
  41. package/dist/17dc98279d24649d3ca77cbce8c44e83.js +1 -9
  42. package/dist/1850762f1bfaf1a1044765b02b243ed4.js +1 -262
  43. package/dist/18cfa6de2de3832aa10439fbf963217a.js +1 -3035
  44. package/dist/18e63e724098792b95b076412a860636.js +1 -116
  45. package/dist/191feb6103c36b202bc01ba262916cdf.js +1 -9
  46. package/dist/19e684db1b08c82963634abc8b2c989f.js +1 -422
  47. package/dist/1abc9efccf77fd4527d1c2fc85d87e04.js +1 -647
  48. package/dist/1b15b9f88acaf59b96e59c6b5f32da12.js +1 -9
  49. package/dist/1b64f97eed4a3837a93f8bdd363295fb.js +1 -1873
  50. package/dist/1c02ec6ec024eee3ebb6b34fa8ff316f.js +1 -103
  51. package/dist/1c57b3481f295105588972ffa1305521.js +1 -9
  52. package/dist/1cc82820c232a82b5d8b6cb9e4152af3.js +1 -514
  53. package/dist/1cd3d09b5303cc37fa337225ed6a9132.js +1 -137
  54. package/dist/1e029a7f1f64457da4f54254d50ac59b.js +1 -95
  55. package/dist/1e26167b5f75d5b94add34f1f4d8b044.js +1 -380
  56. package/dist/1e4131e1241a5b81d54c7d9cb66b0e87.js +1 -254
  57. package/dist/1fe2d583da5f073431d81a6ea13ffc0c.js +1 -275
  58. package/dist/1fee62e3e043728a265935971fa26200.js +1 -981
  59. package/dist/211511e7b374f57ad31acaf49dbdccb1.js +1 -9
  60. package/dist/2183252fe9e1b88fcf2bc454d6fd9273.js +1 -115
  61. package/dist/222d52530e9db0a0ec565c6306c5db35.js +1 -104
  62. package/dist/2267d20fd89c81a461e38abecdb8fcdc.js +1 -282
  63. package/dist/2272c6632c52c3e402ab27b8045ab8f1.js +1 -9
  64. package/dist/23bb1a9f279e7a732bfd405350aab114.js +1 -9
  65. package/dist/23da8ba64540ff4aa68a34d3445db680.js +1 -232
  66. package/dist/243c0c0572ab9866e02e18821558a1c5.js +1 -89
  67. package/dist/244b1a234ec1728d0268214de601449d.js +1 -343
  68. package/dist/24a3ff38afde257888d755ece9bfd704.js +1 -9
  69. package/dist/25718a469574ade47e23567d8c543169.js +1 -9
  70. package/dist/25c99a71d30112583893bc5277402c46.js +1 -329
  71. package/dist/25eda4bb98e40a82cfd5b4bf9fbc06ec.js +1 -9
  72. package/dist/263f7107e9357b1c91997e1a21b59ff5.js +1 -2025
  73. package/dist/26fb247a2e0630e1f435cb4d91ec51fd.js +1 -397
  74. package/dist/27730a0bdc6f430cc85049a46a73a029.js +1 -9
  75. package/dist/27ccb71fa24357a0919a861351d5b82d.js +1 -2806
  76. package/dist/28474eb7ee45a125e49cc5cbe69e336f.js +1 -1193
  77. package/dist/28785bea435918d49b290d27bf660baa.js +1 -9
  78. package/dist/28acb3b48578dfd30dd555fff7c822f7.js +1 -312
  79. package/dist/291611f874a2bc54dbc291b52d74c512.js +1 -501
  80. package/dist/2b2fe1a34cdf81c656a47e493ca9d658.js +1 -257
  81. package/dist/2bcf741e1f2cb07989a722a6ba9c2ea7.js +1 -128
  82. package/dist/2d2a42eeeeec801ab35f2fff7d900e43.js +1 -330
  83. package/dist/2dd82c65030101b60dffccedd8741c6e.js +1 -9
  84. package/dist/2ddd0346681f9f12fd3a191245aa41df.js +1 -797
  85. package/dist/2f055ac4066041b9008dd6aebf9df34b.js +1 -9
  86. package/dist/2f5be3e3e9ab852d217168220854ea9b.js +1 -102
  87. package/dist/2f7c864f08b00c01f04ac22375f7ddd9.js +1 -520
  88. package/dist/2fc0239242a898632ca8aa451cb930c2.js +1 -9
  89. package/dist/2ff54aa3c655216f360438bc7f5b181a.js +1 -2742
  90. package/dist/30e80558090a09477e4466af8af4c40e.js +1 -135
  91. package/dist/34791bf31a4236531bc887b48f872c1c.js +1 -1090
  92. package/dist/34b3249d58303435b894a43d3776a5c3.js +1 -1433
  93. package/dist/3567d1ea443427e944a6f189a0898819.js +1 -9
  94. package/dist/3646668820dc96864fbed7746f805947.js +1 -452
  95. package/dist/36474100e81ab63c4ddbc94ab2cc8667.js +1 -799
  96. package/dist/365b89ceec577ebec0a39c938c2363f0.js +1 -263
  97. package/dist/367ad31e6d99d0021d05133b85bb9faf.js +1 -93
  98. package/dist/37172facd8a534a38f378ca2a9c7c11b.js +1 -9
  99. package/dist/37afa466cdb7fa8fc2e043164d48f29e.js +1 -13110
  100. package/dist/37ee3b5201ae2e2dc5dc8b1b20ad900e.js +1 -9
  101. package/dist/38270ad5088729f40c461c4a5a6bad5d.js +1 -248
  102. package/dist/3b190e5159c72fb7e27271956772bcba.js +1 -9
  103. package/dist/3b544bb2c5a4e7b225a4b50235a0fd6d.js +1 -9
  104. package/dist/3b6e7dc98c47eeafd851ca5072db4be6.js +1 -9
  105. package/dist/3bbf0faa999b08584dc971eab820113a.js +1 -1169
  106. package/dist/3c5b59a666c5d39d9ba9cc054d36a410.js +1 -9
  107. package/dist/3c71a5c0e85afc5486ee9ac29099843d.js +1 -230
  108. package/dist/3dcc18a5dee46b57ad7f85c0bee86802.js +1 -508
  109. package/dist/3df92508d7112d83474f31fe9590e289.js +1 -1015
  110. package/dist/3e277a4ce5486a806a00497aea8ecdd3.js +1 -502
  111. package/dist/3e3e2243675fa4fb4b320dc57daf2d4f.js +1 -346
  112. package/dist/3f55ba1c6515db2f98bb996c1a5bc9e3.js +1 -76
  113. package/dist/3f758ea78954547fed0a8d999691dd7c.js +1 -292
  114. package/dist/406884d5525e864955e9f5058526aa02.js +1 -101
  115. package/dist/40dc555a17f1c85020333a41f01dd9ba.js +1 -106
  116. package/dist/40e6f6cb52a24a747b1046614db3b164.js +1 -213
  117. package/dist/41d8a58fd52b6a06e8d3fb06cdabf67a.js +1 -989
  118. package/dist/42b4ce6de00994aa6bf7db7ff2f931a8.js +1 -1331
  119. package/dist/43a0e099f8283dc1c1c6bbd39148d98d.js +1 -867
  120. package/dist/440f4d477b586c7a6ba4c1c966ca79fc.js +1 -147
  121. package/dist/444ababf8edc26948943fbb45bd06a19.js +1 -259
  122. package/dist/44701e25bb6f2ab9ff18343f2357d1b0.js +1 -171
  123. package/dist/44ac2a2398075299754707d4bac7c276.js +1 -59
  124. package/dist/460c67d8fe31ef229704bd5ab6d1dd26.js +1 -942
  125. package/dist/4639c30a609d986a255ccc684404527e.js +1 -676
  126. package/dist/4700af84801dbda8a3880e3469c21130.js +1 -413
  127. package/dist/4736a562251eeaea46dd06892b489f35.js +1 -46
  128. package/dist/47541c23870e955fff15de4be490ba74.js +1 -112
  129. package/dist/47f0fbf038314894ac52f2d67466b5e9.js +1 -2848
  130. package/dist/4860a6a7c59b9ed5c779f7201dc1f591.js +1 -349
  131. package/dist/48e9351c5623d4da657ce7d5d0267ea6.js +1 -9
  132. package/dist/4a1dab236c2844d28f73c5c128afe299.js +1 -193
  133. package/dist/4b425eb8188febc5a89674b89a72d296.js +1 -798
  134. package/dist/4b61fe945e9e73aba22717e5d6f080df.js +1 -642
  135. package/dist/4bf3bc1fbdd26ac698fef1bdf26e3ff4.js +1 -9
  136. package/dist/4c2816c26725f7aae5b490142e31112f.js +1 -352
  137. package/dist/4ceabd28d8dc751f41002ebf2b6fed88.js +1 -539
  138. package/dist/4d143a2d103a9e376a9e3b55e680eef7.js +1 -310
  139. package/dist/4d8cb7033879cb7fcc7a43798e2bde22.js +1 -9
  140. package/dist/4e389cce6fb8f78845fab249bce43c0b.js +1 -9
  141. package/dist/4eed3725a00fc2bab78accdb014b7826.js +1 -325
  142. package/dist/4ef80ee74467e0297eec3cc03092da01.js +1 -9
  143. package/dist/506d44d8712a22011ce2bec8adbb19b2.js +1 -210
  144. package/dist/50c073327491a2ed3bfa2ebb466c4204.js +1 -25
  145. package/dist/51f903c5ce5284a63196247cffb5ca40.js +1 -9
  146. package/dist/5352ecd8e5f1a2637b48e18cc406edb1.js +1 -9
  147. package/dist/53e3600928916423671f3388e2d67844.js +1 -9
  148. package/dist/54b3396acd2c700969248de4b20cbf7c.js +1 -109
  149. package/dist/55892adefebc0d53993fb108151ed150.js +1 -207
  150. package/dist/57f4109bd1f06be4dc2bcb8ff7eaf1e5.js +1 -9
  151. package/dist/57f9654d8ecdebfb02c636e1889af2e4.js +1 -2698
  152. package/dist/582e24f5ba929e358fadfc7be4c18025.js +1 -9
  153. package/dist/58598705e7012f4ca1eb1dd21d3c59a5.js +1 -9
  154. package/dist/5861dfe4f2c7823623e82d0619c5bf06.js +1 -9
  155. package/dist/58aab872dbdb5e1607076e1935130e03.js +1 -9
  156. package/dist/595aef8d8b0a2017e2fc27db5703e0d1.js +1 -167
  157. package/dist/59cc05504a1c823b6d4796bf6b430822.js +1 -9
  158. package/dist/5a496ae20cc576bef1d35972548207cf.js +1 -9
  159. package/dist/5a67fdd5293af0a35defd2574c05cd04.js +1 -1803
  160. package/dist/5ada4185d70a1852b578b2063de58e37.js +1 -221
  161. package/dist/5b6a626249d0bc43e412fffa6a9ee177.js +1 -9
  162. package/dist/5bad2df0e3bfd8fdc1a332fb6276cb39.js +1 -360
  163. package/dist/5c53d90bf4029cfd1b6a0945d1cae142.js +1 -3550
  164. package/dist/5c96efcfd419a70a93c96557979bc66d.js +1 -371
  165. package/dist/5d3314103b00c8ea165c6f9f6757f794.js +1 -9
  166. package/dist/5d46734b57c7408a41473abcd515b64c.js +1 -387
  167. package/dist/5da9145440d57c9b84d469253e84898d.js +1 -154
  168. package/dist/5e37c1ef17a219449c8c6aa37a87a941.js +1 -101
  169. package/dist/5e3f006db26e9b277b1bdbc130611a14.js +1 -400
  170. package/dist/5e55b301888460bd06c8e26d1011e01a.js +1 -9
  171. package/dist/5e6c2744429a8fac6e536b179c1f31d0.js +1 -293
  172. package/dist/5ebdef8c548fca6c51280e915d6f4c3f.js +1 -168
  173. package/dist/5ede1aebde9d4e5f5cce2db3044495c7.js +1 -148
  174. package/dist/5f3ce6efab3c679ec1ad25ab0b3f6b2f.js +1 -9
  175. package/dist/5fb6059ab5d7abab7a74eb73028a3aeb.js +1 -361
  176. package/dist/5fc5c77d4df4f5d77f8530f6b23ecd1e.js +1 -135
  177. package/dist/5fedbf948ed123687f77167fac1faf8b.js +1 -9
  178. package/dist/60340be8eea1d704a17f399b3c3f9577.js +1 -200
  179. package/dist/621b99ed1a029c36b4e91ec35f36c344.js +1 -44
  180. package/dist/6292be0125d3720498496eaa7f541618.js +1 -56
  181. package/dist/63b15fb6fc8f897b22a4bf72b7e8452a.js +1 -57668
  182. package/dist/64a5f4d62507d032038dcd76d15188e1.js +1 -9
  183. package/dist/64c45b6610e353ba59a58afc6dd090ca.js +1 -450
  184. package/dist/64d6924350bd7706850cdc0dcc76ccf6.js +1 -9
  185. package/dist/6511453710d760c2682567b40ddb3301.js +1 -593
  186. package/dist/656f53e1b4c6e37a31799737faf6d639.js +1 -209
  187. package/dist/663234c150f2097f3812c6065491497c.js +1 -254
  188. package/dist/6903d8ef977a1424c4e2eb22b96feb77.js +1 -118
  189. package/dist/6a7bf4fb4484f6f48d8e4337f126a61d.js +1 -1246
  190. package/dist/6abb884bd4f1a54529c00b58c14741cc.js +1 -128
  191. package/dist/6bb61adbbc13088ee1c32d88b5c7e754.js +1 -1743
  192. package/dist/6c0a75dc5671c3f237a79f6e45b9891c.js +1 -9
  193. package/dist/6c67587c2093ac3a19da9f2196e040b7.js +1 -9
  194. package/dist/6d38cef4a006e6cfe54a6117aba7b600.js +1 -9
  195. package/dist/6f09754fd684f82e6c06ae526d15ac80.js +1 -740
  196. package/dist/6f64da239140d00b81d8b6c523e86daf.js +1 -116
  197. package/dist/6faa9e5f2a0122d2333fa450337a09b0.js +1 -9
  198. package/dist/6fd6a6ddbcbbebe735c9d21e594203ec.js +1 -145
  199. package/dist/6fe3f0823e345813c2084b243cb6650b.js +1 -6198
  200. package/dist/70074e0c785c9a808dea76c7c7d17af3.js +1 -9
  201. package/dist/70286c33cab463fd576766adecd2d5d9.js +1 -9
  202. package/dist/707fa1de4d2096da1951c4bc9d21cb6d.js +1 -75
  203. package/dist/7080d2a1db1608264a6d9d9fbaf2cce8.js +1 -9
  204. package/dist/716879b6ef8945d579595d88534ae402.js +1 -417
  205. package/dist/725da29f1643c2263a437c08a1454aea.js +1 -9
  206. package/dist/73c78b067c792ea8c737746e4671d3e0.js +1 -120
  207. package/dist/740f4264cd757fcf28331fd30daf295e.js +1 -18
  208. package/dist/7493f0c3c9bf268d6ad785019d993dd7.js +1 -150
  209. package/dist/74fa46809aba9625071aa51bc0a71561.js +1 -122
  210. package/dist/755114145e5b97e5571a160a39e716db.js +1 -9
  211. package/dist/75bffda9455d77087f34708ac4e85371.js +1 -2640
  212. package/dist/75d2dae20d7bac5ecfa9dafc48ec04eb.js +1 -277
  213. package/dist/760eb6458a048f3cba7bc3ae52ef2ba4.js +1 -137
  214. package/dist/7735af777659608bcd8cd6525e3bbe58.js +1 -135
  215. package/dist/77aaca51c1c32acaf32656d45f4dc017.js +1 -9
  216. package/dist/77dd68f6396b8ab4ce2c238d6ddb5354.js +1 -331
  217. package/dist/788819e459cdd8c4c1ef565fd303f519.js +1 -113
  218. package/dist/7a9a1dced0e327dc9cb1728bef25641d.js +1 -114
  219. package/dist/7bd84be066027e61c84c9c2aa9543c2a.js +1 -888
  220. package/dist/7c1cd1223bd45600763f8c152ad167d5.js +1 -873
  221. package/dist/7c27341a2599ffb713c8fb7beced7601.js +1 -306
  222. package/dist/7c317e61789b17749dfe6ea294c89b6b.js +1 -193
  223. package/dist/7c9c55eb1a1e5c1dfd63631511d9a1f0.js +1 -720
  224. package/dist/7dead8e2fcacc316bbfa632cd9f1c9bb.js +1 -163
  225. package/dist/7e4099fc2d04c7c1cf96892b962ba4ec.js +1 -9
  226. package/dist/7ef082035f74b3d7324f95a7498ea656.js +1 -2632
  227. package/dist/7f12d133c88ce53d0837a6c4c0287a37.js +1 -360
  228. package/dist/7f407a1006eb830d6f0aaad96c133d26.js +1 -430
  229. package/dist/805cb6232d7a9fa46025d48a43622ecf.js +1 -9
  230. package/dist/80a171b7595d1161735e23dec8efddd6.js +1 -363
  231. package/dist/82fed7ec74be91e0db61c500d9c6d7ee.js +1 -303
  232. package/dist/83387cb17a7680f59240e7b399e3ac2b.js +1 -9
  233. package/dist/8361542d34c46713c9aff6c4ce65a9a3.js +1 -2693
  234. package/dist/85a977f41a907dba8c672f9bf4943da0.js +1 -3028
  235. package/dist/866bf6ca5057dcb24503761af061d486.js +1 -478
  236. package/dist/870184211838006214be1c23c98672fc.js +1 -17
  237. package/dist/8707a7b49421dbbb842506674ff87fa3.js +1 -59
  238. package/dist/875e553a27bee88a73df34a90b3058e4.js +1 -2564
  239. package/dist/8772719d0f76ecabded160e32dc5eb77.js +1 -503
  240. package/dist/87932c8321c9985ed3b6979e86d2a50e.js +1 -96
  241. package/dist/87d6bf8becf2d5ebe2f71fda95a313ea.js +1 -83
  242. package/dist/88bbfb9fdb8730ffc23f546b42d8d620.js +1 -395
  243. package/dist/88e2feda80ac8cfb28f1dc0ec833b40d.js +1 -9
  244. package/dist/894720f1519e5eb34e1b4f33fca7a9dd.js +1 -185
  245. package/dist/894edcaf39c3c95818e3949d737ed459.js +1 -9
  246. package/dist/89d3c35a5ef97a600927b477a9ba06b4.js +1 -414
  247. package/dist/8ba6618773c9d8d0b4f6ecb785651e2c.js +1 -121
  248. package/dist/8bf75743fb14fea7cf02a5da1bda79d4.js +1 -73
  249. package/dist/8cb83aa3fea85e950c29450b8237fb72.js +1 -14
  250. package/dist/8d9bb1799d9b98db107e84f10132e17f.js +1 -9
  251. package/dist/8ed58ed9c7e1cb1ae1f2830d29011ffb.js +1 -9
  252. package/dist/909adc4a16e0f97d869e3dd16d561430.js +1 -122
  253. package/dist/90bafd962205e96c3285d27cbf95c55c.js +1 -68
  254. package/dist/91bd2b106800bd7812e2ab5a5fea985b.js +1 -110
  255. package/dist/92f4aab5c66f6269c7054c8fbcb3de13.js +1 -9
  256. package/dist/957970f69802c38a9092b9b6264cc1b9.js +1 -112
  257. package/dist/9600fed6a4508afbbcd2c75923d953c3.js +1 -125
  258. package/dist/962969a46fefcace3305abd4d6e14a2e.js +1 -9
  259. package/dist/964646d64dd3196a9c27fe302511414a.js +1 -10922
  260. package/dist/9671c350e11f1569edb5066cbfeb3334.js +1 -98
  261. package/dist/9696a4229fb787eeb25b26f1274b75ee.js +1 -9
  262. package/dist/97e72973d750ecb3bc2e75b75bf63c5b.js +1 -9000
  263. package/dist/9807cf1e443a7440371904b6525f37eb.js +1 -9
  264. package/dist/985d6749688c18f94994794f88492444.js +1 -278
  265. package/dist/99ade8b6895e3a1c3d6eb70583cb924e.js +1 -115
  266. package/dist/9b1fd9cf4206cc32e84150c49707d811.js +1 -9
  267. package/dist/9b8e2282f60f104ff3ace5b905af4d62.js +1 -64
  268. package/dist/9ff6d4a6592c0cb7d0b939113c3a6b31.js +1 -95
  269. package/dist/a164d0e40c4dfa485dcf8e6d5258d767.js +1 -122
  270. package/dist/a1c8660c5bcc6b6a43a7fb3c351174d9.js +1 -9
  271. package/dist/a2a705f6bc3a6827d6c94c5978aec36d.js +1 -243
  272. package/dist/a2c0fcb443c396b30a11fc1682a29c13.js +1 -115
  273. package/dist/a4306aa43824ec1a4ee422b59a851e6f.js +1 -2622
  274. package/dist/a4bedde07e392f8ebf64341b61f75df2.js +1 -9
  275. package/dist/a533e643002830be2da76c9527265860.js +1 -9
  276. package/dist/a5d364d12a8f7691339c497b2e725bcf.js +1 -145
  277. package/dist/a7824ec1ab22aeb22bb35ab8bf1ddc4a.js +1 -715
  278. package/dist/a934b622dd8bdcdcdc1dde985a07ac14.js +1 -36
  279. package/dist/a98ead014d010899b35ee25c7c225542.js +1 -411
  280. package/dist/aa0eee504d52a12d3a30bbd523afcc34.js +1 -9
  281. package/dist/aa5623ec68d23fedb9c9c115c7d99063.js +1 -9
  282. package/dist/aaddd877950d1e3bf1b3ef0fc0ff596e.js +1 -449
  283. package/dist/aaf5c3a4f1a188fd051577cea7b87209.js +1 -457
  284. package/dist/ab4b314445b23359319c14cce9a0e321.js +1 -3687
  285. package/dist/abb40a9a6ef0b2fe14c66dcadc9857a2.js +1 -248
  286. package/dist/ad215d7ba317c941cdcc96ae78e86666.js +1 -67
  287. package/dist/adc5e81257ed3f8d70d03cf79150eec1.js +1 -320
  288. package/dist/aedbf3a3ece39aab8c9f3b3a3779e79b.js +1 -115
  289. package/dist/af959c2a870f08dd8abccae97c9b9bae.js +1 -35
  290. package/dist/b0071564b0854c39e3de8b99d66e4dfd.js +1 -298
  291. package/dist/b02d982ccb1011197a5a24800b178a0a.js +1 -9
  292. package/dist/b0803f33b602bd3b26be70f259e38cee.js +1 -102
  293. package/dist/b1170472ae4b50e3b0070eb991e502fe.js +1 -9
  294. package/dist/b1ac30076824f72cdff7ea29ae0b6801.js +1 -489
  295. package/dist/b1f3f77a9279cdb38846ebe13c3438bc.js +1 -9
  296. package/dist/b20056c149af6b50c851ecfff90e0ccb.js +1 -2792
  297. package/dist/b20cd9acf45420fcacfd923754185663.js +1 -9
  298. package/dist/b25188cf2652d63136d5e54c38abf84e.js +1 -500
  299. package/dist/b2742fab9568b63c2274698af5d381fc.js +1 -135
  300. package/dist/b2ff96fbe6501ff45c37491b94c96c5f.js +1 -315
  301. package/dist/b33ef9b4202539d3690251cb8213a034.js +1 -9
  302. package/dist/b3bb2c8deddd8c2afcf73f6f5d711596.js +1 -61
  303. package/dist/b402b938ca2da72e0984a1360eda5897.js +1 -40
  304. package/dist/b460e24d77f9c0d8b21e65d899840adb.js +1 -363
  305. package/dist/b6a6a4adaab4f09a7835ff64a5096198.js +1 -80
  306. package/dist/b6df2278bd475169749bab512944b7ec.js +1 -207
  307. package/dist/b7b7be8216519adf62d75f123f9c6423.js +1 -1470
  308. package/dist/b808fb222140a85b23ebbe0fffa906d9.js +1 -9
  309. package/dist/b8197742452dd2e77090dde34cb2dc4d.js +1 -4105
  310. package/dist/b881dca9d9a80f61d87374b4bd5a2dd5.js +1 -9
  311. package/dist/b98206b2175363f1150c074608603942.js +1 -592
  312. package/dist/ba6b8b3e06cd9d0aee9c69278ee84647.js +1 -9
  313. package/dist/baa5bf4cfefed057a4657a1b02cfa114.js +1 -32
  314. package/dist/bb4d542cb170b3f7b27a42c69262975b.js +1 -1421
  315. package/dist/bb5bab7a675544fe31ddb7f4a77dffb9.js +1 -9
  316. package/dist/bc0551f89df16ee262a67c0431544a9e.js +1 -128
  317. package/dist/c0736a7477d7aac4c669bb94ccae25d9.js +1 -381
  318. package/dist/c0780e66c6b1ade0fa22283ce1f9c402.js +1 -1582
  319. package/dist/c1bc72d79cc6161590fc01c6b139fccd.js +1 -296
  320. package/dist/c32ec7d45ccd947b98fe458a8ca1405b.js +1 -412
  321. package/dist/c40023acde0f3d5f4806f5fccbb4284b.js +1 -160
  322. package/dist/c45445ab45defa960329c6f8e6224e57.js +1 -317
  323. package/dist/c51840077c684be0e7e13339f85cd4a9.js +1 -9
  324. package/dist/c530988d2b1966fd10a4d99fa3877e1b.js +1 -9
  325. package/dist/c631c95d9019218dfd22d028f215e1d1.js +1 -312
  326. package/dist/c728b4ef87cfd5f561d1601f0867c39d.js +1 -2509
  327. package/dist/c733414555a126e689832ffb55cc203f.js +1 -820
  328. package/dist/c797511423f91a877e7fdffa74d015cb.js +1 -914
  329. package/dist/c7ca9dccbac3af7ebc82b271dd2aa570.js +1 -400
  330. package/dist/c80e89199aef31e48addb2b35ea96365.js +1 -9
  331. package/dist/cb4175466ea600940f2927fa03a217e8.js +1 -472
  332. package/dist/cb652f200fc3dd740b2e7f678a9272ea.js +1 -9
  333. package/dist/cbdbd623038183a8c068dd24ecd90682.js +1 -9
  334. package/dist/cbdc4ca43a8c940a6c3f59a8b6f17df5.js +1 -9
  335. package/dist/ccde58de5468dd353dbee74d631ebdf0.js +1 -34
  336. package/dist/cd358d9acaaa7049d85b15ac766fc314.js +1 -311
  337. package/dist/cd9a17f94a922c7c88000b1b3cdd67df.js +1 -9
  338. package/dist/cda6c5c52fa5d595982da0fac9da25a5.js +1 -984
  339. package/dist/cf188b3f83735389d47bb12fc9f7069a.js +1 -9
  340. package/dist/cf3f6b1c74c72cb5d02870022dbc9f94.js +1 -9
  341. package/dist/cf90a39d245bf7e6c1b41c7a9a28f0a1.js +1 -681
  342. package/dist/chunk-207.cc1646ee6c7a19f6220b.js +2 -0
  343. package/dist/chunk-207.cc1646ee6c7a19f6220b.js.map +1 -0
  344. package/dist/chunk-404.e573ba4c4c7cedc843f3.js +2 -0
  345. package/dist/chunk-404.e573ba4c4c7cedc843f3.js.map +1 -0
  346. package/dist/chunk-actions.c7efc5f5036d72d3b972.js +2 -0
  347. package/dist/chunk-actions.c7efc5f5036d72d3b972.js.map +1 -0
  348. package/dist/chunk-code-editor.4932fdbfef27989069a5.js +2 -0
  349. package/dist/chunk-code-editor.4932fdbfef27989069a5.js.map +1 -0
  350. package/dist/{chunk-docs-actions.8a808416a2d69710472e.js → chunk-docs-actions.fe615fd8e3c8ff68c449.js} +2 -2
  351. package/dist/chunk-docs-actions.fe615fd8e3c8ff68c449.js.map +1 -0
  352. package/dist/chunk-vendor-icons.aae1dc235d12dd74b38e.js +1 -0
  353. package/dist/d04707d65591e86810ebc56d48b10810.js +1 -296
  354. package/dist/d1a58542777d072396d7cee5487304f9.js +1 -141
  355. package/dist/d1efdca26800423a363b769b1834cfcf.js +1 -223
  356. package/dist/d2a00e1726c71ca10fbaf4b9c4374458.js +1 -1003
  357. package/dist/d2fe7592ff2fdda099b2b6355abe8c06.js +1 -5240
  358. package/dist/d30fa4070abd6929228505790744e180.js +1 -279
  359. package/dist/d43ad5f9bad9a042b49b2592c7639c28.js +1 -9
  360. package/dist/d542dda7308361c34af2afb9b70d755a.js +1 -9
  361. package/dist/d5a6140d581e5c4eb200259ce372f40b.js +1 -9
  362. package/dist/d5f79987405c2169278f8de37bcc9d05.js +1 -9
  363. package/dist/d78d3b050ea95b068380d975fd413fd7.js +1 -9
  364. package/dist/d79b3962938d65fb85c6f844e86d92d9.js +1 -172
  365. package/dist/d7b57d5ebdcade0ce5e047509e06861a.js +1 -580
  366. package/dist/d7d616d4aa8fd3f51d681242853dcde9.js +1 -9
  367. package/dist/d83f2acd25388452582e5a4c727255b0.js +1 -174
  368. package/dist/da1c1b1569c4d5872c9a18c29f0b5c90.js +1 -3088
  369. package/dist/da55f4fe3daed3f79fc4565668ecf7dd.js +1 -97
  370. package/dist/db8ca5cfb6fe4aaef215f116f6991784.js +1 -9
  371. package/dist/dbc87324ecf271d088a2ab0823de9c5d.js +1 -75
  372. package/dist/dbd05051a3ecf6b10e2f7b8904153f2d.js +1 -3194
  373. package/dist/dc1eb6c1c92d7067c72b82b2833a7d2c.js +1 -2595
  374. package/dist/dcb197c0214e800da9d9436dfc9437d6.js +1 -162
  375. package/dist/ddbc961769cd2ff4d4a7a136168ebf4c.js +1 -9
  376. package/dist/de0fd4fd7c2d7a4887cbc99eed91f797.js +1 -9
  377. package/dist/df37029cdf8359ecac0aebdf4f257d03.js +1 -386
  378. package/dist/df5710d97a899b672060afaa8c4891c2.js +1 -316
  379. package/dist/dfb7dd1fab06b2403f76c23f80b15738.js +1 -1718
  380. package/dist/e07a0b284934d3a0e8c02c508edc9df1.js +1 -115
  381. package/dist/e0adad8a8579bf99f3e22f7c214a5c64.js +1 -9
  382. package/dist/e0e32c3798e8895695ce5b372a0c989f.js +1 -2166
  383. package/dist/e2b38a8393be2cf23f3894ace3efb1c3.js +1 -9
  384. package/dist/e3ba4b654313ae98884a6c9044197e09.js +1 -103
  385. package/dist/e4565878df49fd4ce3edd3f1022c1695.js +1 -244
  386. package/dist/e4917fa7632b01d28e99304d32d989f7.js +1 -9
  387. package/dist/e4968d8264b40c14f123f28419eb456d.js +1 -23
  388. package/dist/e6070e43daf8a9e5f13f515a5a03e66c.js +1 -498
  389. package/dist/e61779df91186b23e7adf2d1968b2708.js +1 -9
  390. package/dist/e6ad50b520736b595970c9e07029c3f1.js +1 -9
  391. package/dist/e6cf8898b285b71e2abe832717ac7060.js +1 -153
  392. package/dist/e6fae0b04a3000a57f22bb25325c8afe.js +1 -2635
  393. package/dist/e6fb5287a46e030336c006e3f50ade3a.js +1 -529
  394. package/dist/e7e1a807af3160b342e0a3550cf8f7c5.js +1 -9
  395. package/dist/e874d975c9128dc6eb9a513d088bed9f.js +1 -9
  396. package/dist/e8fa659263d5ca9e0d1be69c048133a8.js +1 -297
  397. package/dist/e97cfa120fde26da0359ca29afaf3171.js +1 -43
  398. package/dist/eaa55a522fb2cb2f0287711f42344984.js +1 -9
  399. package/dist/eba5ee3fb1f3e92af88c69e50b2a8fd1.js +1 -102
  400. package/dist/ec2d138afc9cc9e81c4c6ef36ed55228.js +1 -103
  401. package/dist/ec32839f8f3353e66b85450525fa3114.js +1 -2808
  402. package/dist/ecd02712f5a40fcdaa3bfa8190470024.js +1 -2596
  403. package/dist/ecd37b343c4dcc8dac849b1c680dcbef.js +1 -1010
  404. package/dist/ecdb4966f685f3e44b1f28fae46827a3.js +1 -9
  405. package/dist/ee694c1bcbdc9439e50f816c39fd1023.js +1 -2875
  406. package/dist/efc14cdf19554635e477781704353ec2.js +1 -9
  407. package/dist/f0548260c0ac6b0e7cdb8909df1a5333.js +1 -421
  408. package/dist/f0878cc386a608146dbc8fb3b6745c42.js +1 -422
  409. package/dist/f326f2f263b1498fedbe1d07d7254d10.js +1 -9
  410. package/dist/f3c7b9d832aa442df3d140f7697b4f62.js +1 -98
  411. package/dist/f42342b39da2c42adc65ebcf52839f90.js +1 -102
  412. package/dist/f4c53706e1721b08e8b2f650c8bd35c4.js +1 -166
  413. package/dist/f582d9feb91d31036d3dae4cdaea865f.js +1 -3533
  414. package/dist/f5bea0e1099339b99b21ee2d3c0fc489.js +1 -23
  415. package/dist/f7186078e00d958aa2b316483dfc7e1c.js +1 -1715
  416. package/dist/f79630d85284a7f6dadc25c1d256af0a.js +1 -33
  417. package/dist/f80efec9a63094f19edae0480a0f2cd8.js +1 -635
  418. package/dist/f90003058d7087f15baa27b80bf08c1d.js +1 -839
  419. package/dist/f980fd09c34c277299e2d3f83aebdba5.js +1 -102
  420. package/dist/fb59a7c154104a421146ab9e5bd71540.js +1 -462
  421. package/dist/fd40b62490e412d27bc67e660aacae19.js +1 -430
  422. package/dist/fd5bc50b18c9f46380cbe5ec1ac2127b.js +1 -9
  423. package/dist/fd5e2efd3b2d047abe8473f99c650a35.js +1 -677
  424. package/dist/fdf4d851b44839d8fdfa77b3419bce19.js +1 -204
  425. package/dist/ffd3b83e8b5878f4785591ff54b1dfff.js +1 -9
  426. package/dist/index.js +9 -9
  427. package/dist/index.js.map +1 -1
  428. package/package.json +1 -1
  429. package/dist/chunk-207.a88d16e56962fd4d2978.js +0 -2
  430. package/dist/chunk-207.a88d16e56962fd4d2978.js.map +0 -1
  431. package/dist/chunk-404.0ea933a6d9513f2665cf.js +0 -2
  432. package/dist/chunk-404.0ea933a6d9513f2665cf.js.map +0 -1
  433. package/dist/chunk-actions.1ad5d759ef5d8509c532.js +0 -2
  434. package/dist/chunk-actions.1ad5d759ef5d8509c532.js.map +0 -1
  435. package/dist/chunk-code-editor.c86cda6aae761ec82d57.js +0 -2
  436. package/dist/chunk-code-editor.c86cda6aae761ec82d57.js.map +0 -1
  437. package/dist/chunk-docs-actions.8a808416a2d69710472e.js.map +0 -1
  438. package/dist/chunk-vendor-icons.7f0d1996a77d090b3d9c.js +0 -1
@@ -1,3687 +1 @@
1
- "no use strict";
2
- !(function(window) {
3
- if (typeof window.window != "undefined" && window.document)
4
- return;
5
- if (window.require && window.define)
6
- return;
7
-
8
- if (!window.console) {
9
- window.console = function() {
10
- var msgs = Array.prototype.slice.call(arguments, 0);
11
- postMessage({type: "log", data: msgs});
12
- };
13
- window.console.error =
14
- window.console.warn =
15
- window.console.log =
16
- window.console.trace = window.console;
17
- }
18
- window.window = window;
19
- window.ace = window;
20
-
21
- window.onerror = function(message, file, line, col, err) {
22
- postMessage({type: "error", data: {
23
- message: message,
24
- data: err.data,
25
- file: file,
26
- line: line,
27
- col: col,
28
- stack: err.stack
29
- }});
30
- };
31
-
32
- window.normalizeModule = function(parentId, moduleName) {
33
- // normalize plugin requires
34
- if (moduleName.indexOf("!") !== -1) {
35
- var chunks = moduleName.split("!");
36
- return window.normalizeModule(parentId, chunks[0]) + "!" + window.normalizeModule(parentId, chunks[1]);
37
- }
38
- // normalize relative requires
39
- if (moduleName.charAt(0) == ".") {
40
- var base = parentId.split("/").slice(0, -1).join("/");
41
- moduleName = (base ? base + "/" : "") + moduleName;
42
-
43
- while (moduleName.indexOf(".") !== -1 && previous != moduleName) {
44
- var previous = moduleName;
45
- moduleName = moduleName.replace(/^\.\//, "").replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, "");
46
- }
47
- }
48
-
49
- return moduleName;
50
- };
51
-
52
- window.require = function require(parentId, id) {
53
- if (!id) {
54
- id = parentId;
55
- parentId = null;
56
- }
57
- if (!id.charAt)
58
- throw new Error("worker.js require() accepts only (parentId, id) as arguments");
59
-
60
- id = window.normalizeModule(parentId, id);
61
-
62
- var module = window.require.modules[id];
63
- if (module) {
64
- if (!module.initialized) {
65
- module.initialized = true;
66
- module.exports = module.factory().exports;
67
- }
68
- return module.exports;
69
- }
70
-
71
- if (!window.require.tlns)
72
- return console.log("unable to load " + id);
73
-
74
- var path = resolveModuleId(id, window.require.tlns);
75
- if (path.slice(-3) != ".js") path += ".js";
76
-
77
- window.require.id = id;
78
- window.require.modules[id] = {}; // prevent infinite loop on broken modules
79
- importScripts(path);
80
- return window.require(parentId, id);
81
- };
82
- function resolveModuleId(id, paths) {
83
- var testPath = id, tail = "";
84
- while (testPath) {
85
- var alias = paths[testPath];
86
- if (typeof alias == "string") {
87
- return alias + tail;
88
- } else if (alias) {
89
- return alias.location.replace(/\/*$/, "/") + (tail || alias.main || alias.name);
90
- } else if (alias === false) {
91
- return "";
92
- }
93
- var i = testPath.lastIndexOf("/");
94
- if (i === -1) break;
95
- tail = testPath.substr(i) + tail;
96
- testPath = testPath.slice(0, i);
97
- }
98
- return id;
99
- }
100
- window.require.modules = {};
101
- window.require.tlns = {};
102
-
103
- window.define = function(id, deps, factory) {
104
- if (arguments.length == 2) {
105
- factory = deps;
106
- if (typeof id != "string") {
107
- deps = id;
108
- id = window.require.id;
109
- }
110
- } else if (arguments.length == 1) {
111
- factory = id;
112
- deps = [];
113
- id = window.require.id;
114
- }
115
-
116
- if (typeof factory != "function") {
117
- window.require.modules[id] = {
118
- exports: factory,
119
- initialized: true
120
- };
121
- return;
122
- }
123
-
124
- if (!deps.length)
125
- // If there is no dependencies, we inject "require", "exports" and
126
- // "module" as dependencies, to provide CommonJS compatibility.
127
- deps = ["require", "exports", "module"];
128
-
129
- var req = function(childId) {
130
- return window.require(id, childId);
131
- };
132
-
133
- window.require.modules[id] = {
134
- exports: {},
135
- factory: function() {
136
- var module = this;
137
- var returnExports = factory.apply(this, deps.slice(0, factory.length).map(function(dep) {
138
- switch (dep) {
139
- // Because "require", "exports" and "module" aren't actual
140
- // dependencies, we must handle them seperately.
141
- case "require": return req;
142
- case "exports": return module.exports;
143
- case "module": return module;
144
- // But for all other dependencies, we can just go ahead and
145
- // require them.
146
- default: return req(dep);
147
- }
148
- }));
149
- if (returnExports)
150
- module.exports = returnExports;
151
- return module;
152
- }
153
- };
154
- };
155
- window.define.amd = {};
156
- require.tlns = {};
157
- window.initBaseUrls = function initBaseUrls(topLevelNamespaces) {
158
- for (var i in topLevelNamespaces)
159
- require.tlns[i] = topLevelNamespaces[i];
160
- };
161
-
162
- window.initSender = function initSender() {
163
-
164
- var EventEmitter = window.require("ace/lib/event_emitter").EventEmitter;
165
- var oop = window.require("ace/lib/oop");
166
-
167
- var Sender = function() {};
168
-
169
- (function() {
170
-
171
- oop.implement(this, EventEmitter);
172
-
173
- this.callback = function(data, callbackId) {
174
- postMessage({
175
- type: "call",
176
- id: callbackId,
177
- data: data
178
- });
179
- };
180
-
181
- this.emit = function(name, data) {
182
- postMessage({
183
- type: "event",
184
- name: name,
185
- data: data
186
- });
187
- };
188
-
189
- }).call(Sender.prototype);
190
-
191
- return new Sender();
192
- };
193
-
194
- var main = window.main = null;
195
- var sender = window.sender = null;
196
-
197
- window.onmessage = function(e) {
198
- var msg = e.data;
199
- if (msg.event && sender) {
200
- sender._signal(msg.event, msg.data);
201
- }
202
- else if (msg.command) {
203
- if (main[msg.command])
204
- main[msg.command].apply(main, msg.args);
205
- else if (window[msg.command])
206
- window[msg.command].apply(window, msg.args);
207
- else
208
- throw new Error("Unknown command:" + msg.command);
209
- }
210
- else if (msg.init) {
211
- window.initBaseUrls(msg.tlns);
212
- sender = window.sender = window.initSender();
213
- var clazz = require(msg.module)[msg.classname];
214
- main = window.main = new clazz(sender);
215
- }
216
- };
217
- })(this);
218
-
219
- ace.define("ace/lib/oop",[], function(require, exports, module) {
220
- "use strict";
221
-
222
- exports.inherits = function(ctor, superCtor) {
223
- ctor.super_ = superCtor;
224
- ctor.prototype = Object.create(superCtor.prototype, {
225
- constructor: {
226
- value: ctor,
227
- enumerable: false,
228
- writable: true,
229
- configurable: true
230
- }
231
- });
232
- };
233
-
234
- exports.mixin = function(obj, mixin) {
235
- for (var key in mixin) {
236
- obj[key] = mixin[key];
237
- }
238
- return obj;
239
- };
240
-
241
- exports.implement = function(proto, mixin) {
242
- exports.mixin(proto, mixin);
243
- };
244
-
245
- });
246
-
247
- ace.define("ace/range",[], function(require, exports, module) {
248
- "use strict";
249
- var comparePoints = function(p1, p2) {
250
- return p1.row - p2.row || p1.column - p2.column;
251
- };
252
- var Range = function(startRow, startColumn, endRow, endColumn) {
253
- this.start = {
254
- row: startRow,
255
- column: startColumn
256
- };
257
-
258
- this.end = {
259
- row: endRow,
260
- column: endColumn
261
- };
262
- };
263
-
264
- (function() {
265
- this.isEqual = function(range) {
266
- return this.start.row === range.start.row &&
267
- this.end.row === range.end.row &&
268
- this.start.column === range.start.column &&
269
- this.end.column === range.end.column;
270
- };
271
- this.toString = function() {
272
- return ("Range: [" + this.start.row + "/" + this.start.column +
273
- "] -> [" + this.end.row + "/" + this.end.column + "]");
274
- };
275
-
276
- this.contains = function(row, column) {
277
- return this.compare(row, column) == 0;
278
- };
279
- this.compareRange = function(range) {
280
- var cmp,
281
- end = range.end,
282
- start = range.start;
283
-
284
- cmp = this.compare(end.row, end.column);
285
- if (cmp == 1) {
286
- cmp = this.compare(start.row, start.column);
287
- if (cmp == 1) {
288
- return 2;
289
- } else if (cmp == 0) {
290
- return 1;
291
- } else {
292
- return 0;
293
- }
294
- } else if (cmp == -1) {
295
- return -2;
296
- } else {
297
- cmp = this.compare(start.row, start.column);
298
- if (cmp == -1) {
299
- return -1;
300
- } else if (cmp == 1) {
301
- return 42;
302
- } else {
303
- return 0;
304
- }
305
- }
306
- };
307
- this.comparePoint = function(p) {
308
- return this.compare(p.row, p.column);
309
- };
310
- this.containsRange = function(range) {
311
- return this.comparePoint(range.start) == 0 && this.comparePoint(range.end) == 0;
312
- };
313
- this.intersects = function(range) {
314
- var cmp = this.compareRange(range);
315
- return (cmp == -1 || cmp == 0 || cmp == 1);
316
- };
317
- this.isEnd = function(row, column) {
318
- return this.end.row == row && this.end.column == column;
319
- };
320
- this.isStart = function(row, column) {
321
- return this.start.row == row && this.start.column == column;
322
- };
323
- this.setStart = function(row, column) {
324
- if (typeof row == "object") {
325
- this.start.column = row.column;
326
- this.start.row = row.row;
327
- } else {
328
- this.start.row = row;
329
- this.start.column = column;
330
- }
331
- };
332
- this.setEnd = function(row, column) {
333
- if (typeof row == "object") {
334
- this.end.column = row.column;
335
- this.end.row = row.row;
336
- } else {
337
- this.end.row = row;
338
- this.end.column = column;
339
- }
340
- };
341
- this.inside = function(row, column) {
342
- if (this.compare(row, column) == 0) {
343
- if (this.isEnd(row, column) || this.isStart(row, column)) {
344
- return false;
345
- } else {
346
- return true;
347
- }
348
- }
349
- return false;
350
- };
351
- this.insideStart = function(row, column) {
352
- if (this.compare(row, column) == 0) {
353
- if (this.isEnd(row, column)) {
354
- return false;
355
- } else {
356
- return true;
357
- }
358
- }
359
- return false;
360
- };
361
- this.insideEnd = function(row, column) {
362
- if (this.compare(row, column) == 0) {
363
- if (this.isStart(row, column)) {
364
- return false;
365
- } else {
366
- return true;
367
- }
368
- }
369
- return false;
370
- };
371
- this.compare = function(row, column) {
372
- if (!this.isMultiLine()) {
373
- if (row === this.start.row) {
374
- return column < this.start.column ? -1 : (column > this.end.column ? 1 : 0);
375
- }
376
- }
377
-
378
- if (row < this.start.row)
379
- return -1;
380
-
381
- if (row > this.end.row)
382
- return 1;
383
-
384
- if (this.start.row === row)
385
- return column >= this.start.column ? 0 : -1;
386
-
387
- if (this.end.row === row)
388
- return column <= this.end.column ? 0 : 1;
389
-
390
- return 0;
391
- };
392
- this.compareStart = function(row, column) {
393
- if (this.start.row == row && this.start.column == column) {
394
- return -1;
395
- } else {
396
- return this.compare(row, column);
397
- }
398
- };
399
- this.compareEnd = function(row, column) {
400
- if (this.end.row == row && this.end.column == column) {
401
- return 1;
402
- } else {
403
- return this.compare(row, column);
404
- }
405
- };
406
- this.compareInside = function(row, column) {
407
- if (this.end.row == row && this.end.column == column) {
408
- return 1;
409
- } else if (this.start.row == row && this.start.column == column) {
410
- return -1;
411
- } else {
412
- return this.compare(row, column);
413
- }
414
- };
415
- this.clipRows = function(firstRow, lastRow) {
416
- if (this.end.row > lastRow)
417
- var end = {row: lastRow + 1, column: 0};
418
- else if (this.end.row < firstRow)
419
- var end = {row: firstRow, column: 0};
420
-
421
- if (this.start.row > lastRow)
422
- var start = {row: lastRow + 1, column: 0};
423
- else if (this.start.row < firstRow)
424
- var start = {row: firstRow, column: 0};
425
-
426
- return Range.fromPoints(start || this.start, end || this.end);
427
- };
428
- this.extend = function(row, column) {
429
- var cmp = this.compare(row, column);
430
-
431
- if (cmp == 0)
432
- return this;
433
- else if (cmp == -1)
434
- var start = {row: row, column: column};
435
- else
436
- var end = {row: row, column: column};
437
-
438
- return Range.fromPoints(start || this.start, end || this.end);
439
- };
440
-
441
- this.isEmpty = function() {
442
- return (this.start.row === this.end.row && this.start.column === this.end.column);
443
- };
444
- this.isMultiLine = function() {
445
- return (this.start.row !== this.end.row);
446
- };
447
- this.clone = function() {
448
- return Range.fromPoints(this.start, this.end);
449
- };
450
- this.collapseRows = function() {
451
- if (this.end.column == 0)
452
- return new Range(this.start.row, 0, Math.max(this.start.row, this.end.row-1), 0);
453
- else
454
- return new Range(this.start.row, 0, this.end.row, 0);
455
- };
456
- this.toScreenRange = function(session) {
457
- var screenPosStart = session.documentToScreenPosition(this.start);
458
- var screenPosEnd = session.documentToScreenPosition(this.end);
459
-
460
- return new Range(
461
- screenPosStart.row, screenPosStart.column,
462
- screenPosEnd.row, screenPosEnd.column
463
- );
464
- };
465
- this.moveBy = function(row, column) {
466
- this.start.row += row;
467
- this.start.column += column;
468
- this.end.row += row;
469
- this.end.column += column;
470
- };
471
-
472
- }).call(Range.prototype);
473
- Range.fromPoints = function(start, end) {
474
- return new Range(start.row, start.column, end.row, end.column);
475
- };
476
- Range.comparePoints = comparePoints;
477
-
478
- Range.comparePoints = function(p1, p2) {
479
- return p1.row - p2.row || p1.column - p2.column;
480
- };
481
-
482
-
483
- exports.Range = Range;
484
- });
485
-
486
- ace.define("ace/apply_delta",[], function(require, exports, module) {
487
- "use strict";
488
-
489
- function throwDeltaError(delta, errorText){
490
- console.log("Invalid Delta:", delta);
491
- throw "Invalid Delta: " + errorText;
492
- }
493
-
494
- function positionInDocument(docLines, position) {
495
- return position.row >= 0 && position.row < docLines.length &&
496
- position.column >= 0 && position.column <= docLines[position.row].length;
497
- }
498
-
499
- function validateDelta(docLines, delta) {
500
- if (delta.action != "insert" && delta.action != "remove")
501
- throwDeltaError(delta, "delta.action must be 'insert' or 'remove'");
502
- if (!(delta.lines instanceof Array))
503
- throwDeltaError(delta, "delta.lines must be an Array");
504
- if (!delta.start || !delta.end)
505
- throwDeltaError(delta, "delta.start/end must be an present");
506
- var start = delta.start;
507
- if (!positionInDocument(docLines, delta.start))
508
- throwDeltaError(delta, "delta.start must be contained in document");
509
- var end = delta.end;
510
- if (delta.action == "remove" && !positionInDocument(docLines, end))
511
- throwDeltaError(delta, "delta.end must contained in document for 'remove' actions");
512
- var numRangeRows = end.row - start.row;
513
- var numRangeLastLineChars = (end.column - (numRangeRows == 0 ? start.column : 0));
514
- if (numRangeRows != delta.lines.length - 1 || delta.lines[numRangeRows].length != numRangeLastLineChars)
515
- throwDeltaError(delta, "delta.range must match delta lines");
516
- }
517
-
518
- exports.applyDelta = function(docLines, delta, doNotValidate) {
519
-
520
- var row = delta.start.row;
521
- var startColumn = delta.start.column;
522
- var line = docLines[row] || "";
523
- switch (delta.action) {
524
- case "insert":
525
- var lines = delta.lines;
526
- if (lines.length === 1) {
527
- docLines[row] = line.substring(0, startColumn) + delta.lines[0] + line.substring(startColumn);
528
- } else {
529
- var args = [row, 1].concat(delta.lines);
530
- docLines.splice.apply(docLines, args);
531
- docLines[row] = line.substring(0, startColumn) + docLines[row];
532
- docLines[row + delta.lines.length - 1] += line.substring(startColumn);
533
- }
534
- break;
535
- case "remove":
536
- var endColumn = delta.end.column;
537
- var endRow = delta.end.row;
538
- if (row === endRow) {
539
- docLines[row] = line.substring(0, startColumn) + line.substring(endColumn);
540
- } else {
541
- docLines.splice(
542
- row, endRow - row + 1,
543
- line.substring(0, startColumn) + docLines[endRow].substring(endColumn)
544
- );
545
- }
546
- break;
547
- }
548
- };
549
- });
550
-
551
- ace.define("ace/lib/event_emitter",[], function(require, exports, module) {
552
- "use strict";
553
-
554
- var EventEmitter = {};
555
- var stopPropagation = function() { this.propagationStopped = true; };
556
- var preventDefault = function() { this.defaultPrevented = true; };
557
-
558
- EventEmitter._emit =
559
- EventEmitter._dispatchEvent = function(eventName, e) {
560
- this._eventRegistry || (this._eventRegistry = {});
561
- this._defaultHandlers || (this._defaultHandlers = {});
562
-
563
- var listeners = this._eventRegistry[eventName] || [];
564
- var defaultHandler = this._defaultHandlers[eventName];
565
- if (!listeners.length && !defaultHandler)
566
- return;
567
-
568
- if (typeof e != "object" || !e)
569
- e = {};
570
-
571
- if (!e.type)
572
- e.type = eventName;
573
- if (!e.stopPropagation)
574
- e.stopPropagation = stopPropagation;
575
- if (!e.preventDefault)
576
- e.preventDefault = preventDefault;
577
-
578
- listeners = listeners.slice();
579
- for (var i=0; i<listeners.length; i++) {
580
- listeners[i](e, this);
581
- if (e.propagationStopped)
582
- break;
583
- }
584
-
585
- if (defaultHandler && !e.defaultPrevented)
586
- return defaultHandler(e, this);
587
- };
588
-
589
-
590
- EventEmitter._signal = function(eventName, e) {
591
- var listeners = (this._eventRegistry || {})[eventName];
592
- if (!listeners)
593
- return;
594
- listeners = listeners.slice();
595
- for (var i=0; i<listeners.length; i++)
596
- listeners[i](e, this);
597
- };
598
-
599
- EventEmitter.once = function(eventName, callback) {
600
- var _self = this;
601
- this.on(eventName, function newCallback() {
602
- _self.off(eventName, newCallback);
603
- callback.apply(null, arguments);
604
- });
605
- if (!callback) {
606
- return new Promise(function(resolve) {
607
- callback = resolve;
608
- });
609
- }
610
- };
611
-
612
-
613
- EventEmitter.setDefaultHandler = function(eventName, callback) {
614
- var handlers = this._defaultHandlers;
615
- if (!handlers)
616
- handlers = this._defaultHandlers = {_disabled_: {}};
617
-
618
- if (handlers[eventName]) {
619
- var old = handlers[eventName];
620
- var disabled = handlers._disabled_[eventName];
621
- if (!disabled)
622
- handlers._disabled_[eventName] = disabled = [];
623
- disabled.push(old);
624
- var i = disabled.indexOf(callback);
625
- if (i != -1)
626
- disabled.splice(i, 1);
627
- }
628
- handlers[eventName] = callback;
629
- };
630
- EventEmitter.removeDefaultHandler = function(eventName, callback) {
631
- var handlers = this._defaultHandlers;
632
- if (!handlers)
633
- return;
634
- var disabled = handlers._disabled_[eventName];
635
-
636
- if (handlers[eventName] == callback) {
637
- if (disabled)
638
- this.setDefaultHandler(eventName, disabled.pop());
639
- } else if (disabled) {
640
- var i = disabled.indexOf(callback);
641
- if (i != -1)
642
- disabled.splice(i, 1);
643
- }
644
- };
645
-
646
- EventEmitter.on =
647
- EventEmitter.addEventListener = function(eventName, callback, capturing) {
648
- this._eventRegistry = this._eventRegistry || {};
649
-
650
- var listeners = this._eventRegistry[eventName];
651
- if (!listeners)
652
- listeners = this._eventRegistry[eventName] = [];
653
-
654
- if (listeners.indexOf(callback) == -1)
655
- listeners[capturing ? "unshift" : "push"](callback);
656
- return callback;
657
- };
658
-
659
- EventEmitter.off =
660
- EventEmitter.removeListener =
661
- EventEmitter.removeEventListener = function(eventName, callback) {
662
- this._eventRegistry = this._eventRegistry || {};
663
-
664
- var listeners = this._eventRegistry[eventName];
665
- if (!listeners)
666
- return;
667
-
668
- var index = listeners.indexOf(callback);
669
- if (index !== -1)
670
- listeners.splice(index, 1);
671
- };
672
-
673
- EventEmitter.removeAllListeners = function(eventName) {
674
- if (!eventName) this._eventRegistry = this._defaultHandlers = undefined;
675
- if (this._eventRegistry) this._eventRegistry[eventName] = undefined;
676
- if (this._defaultHandlers) this._defaultHandlers[eventName] = undefined;
677
- };
678
-
679
- exports.EventEmitter = EventEmitter;
680
-
681
- });
682
-
683
- ace.define("ace/anchor",[], function(require, exports, module) {
684
- "use strict";
685
-
686
- var oop = require("./lib/oop");
687
- var EventEmitter = require("./lib/event_emitter").EventEmitter;
688
-
689
- var Anchor = exports.Anchor = function(doc, row, column) {
690
- this.$onChange = this.onChange.bind(this);
691
- this.attach(doc);
692
-
693
- if (typeof column == "undefined")
694
- this.setPosition(row.row, row.column);
695
- else
696
- this.setPosition(row, column);
697
- };
698
-
699
- (function() {
700
-
701
- oop.implement(this, EventEmitter);
702
- this.getPosition = function() {
703
- return this.$clipPositionToDocument(this.row, this.column);
704
- };
705
- this.getDocument = function() {
706
- return this.document;
707
- };
708
- this.$insertRight = false;
709
- this.onChange = function(delta) {
710
- if (delta.start.row == delta.end.row && delta.start.row != this.row)
711
- return;
712
-
713
- if (delta.start.row > this.row)
714
- return;
715
-
716
- var point = $getTransformedPoint(delta, {row: this.row, column: this.column}, this.$insertRight);
717
- this.setPosition(point.row, point.column, true);
718
- };
719
-
720
- function $pointsInOrder(point1, point2, equalPointsInOrder) {
721
- var bColIsAfter = equalPointsInOrder ? point1.column <= point2.column : point1.column < point2.column;
722
- return (point1.row < point2.row) || (point1.row == point2.row && bColIsAfter);
723
- }
724
-
725
- function $getTransformedPoint(delta, point, moveIfEqual) {
726
- var deltaIsInsert = delta.action == "insert";
727
- var deltaRowShift = (deltaIsInsert ? 1 : -1) * (delta.end.row - delta.start.row);
728
- var deltaColShift = (deltaIsInsert ? 1 : -1) * (delta.end.column - delta.start.column);
729
- var deltaStart = delta.start;
730
- var deltaEnd = deltaIsInsert ? deltaStart : delta.end; // Collapse insert range.
731
- if ($pointsInOrder(point, deltaStart, moveIfEqual)) {
732
- return {
733
- row: point.row,
734
- column: point.column
735
- };
736
- }
737
- if ($pointsInOrder(deltaEnd, point, !moveIfEqual)) {
738
- return {
739
- row: point.row + deltaRowShift,
740
- column: point.column + (point.row == deltaEnd.row ? deltaColShift : 0)
741
- };
742
- }
743
-
744
- return {
745
- row: deltaStart.row,
746
- column: deltaStart.column
747
- };
748
- }
749
- this.setPosition = function(row, column, noClip) {
750
- var pos;
751
- if (noClip) {
752
- pos = {
753
- row: row,
754
- column: column
755
- };
756
- } else {
757
- pos = this.$clipPositionToDocument(row, column);
758
- }
759
-
760
- if (this.row == pos.row && this.column == pos.column)
761
- return;
762
-
763
- var old = {
764
- row: this.row,
765
- column: this.column
766
- };
767
-
768
- this.row = pos.row;
769
- this.column = pos.column;
770
- this._signal("change", {
771
- old: old,
772
- value: pos
773
- });
774
- };
775
- this.detach = function() {
776
- this.document.off("change", this.$onChange);
777
- };
778
- this.attach = function(doc) {
779
- this.document = doc || this.document;
780
- this.document.on("change", this.$onChange);
781
- };
782
- this.$clipPositionToDocument = function(row, column) {
783
- var pos = {};
784
-
785
- if (row >= this.document.getLength()) {
786
- pos.row = Math.max(0, this.document.getLength() - 1);
787
- pos.column = this.document.getLine(pos.row).length;
788
- }
789
- else if (row < 0) {
790
- pos.row = 0;
791
- pos.column = 0;
792
- }
793
- else {
794
- pos.row = row;
795
- pos.column = Math.min(this.document.getLine(pos.row).length, Math.max(0, column));
796
- }
797
-
798
- if (column < 0)
799
- pos.column = 0;
800
-
801
- return pos;
802
- };
803
-
804
- }).call(Anchor.prototype);
805
-
806
- });
807
-
808
- ace.define("ace/document",[], function(require, exports, module) {
809
- "use strict";
810
-
811
- var oop = require("./lib/oop");
812
- var applyDelta = require("./apply_delta").applyDelta;
813
- var EventEmitter = require("./lib/event_emitter").EventEmitter;
814
- var Range = require("./range").Range;
815
- var Anchor = require("./anchor").Anchor;
816
-
817
- var Document = function(textOrLines) {
818
- this.$lines = [""];
819
- if (textOrLines.length === 0) {
820
- this.$lines = [""];
821
- } else if (Array.isArray(textOrLines)) {
822
- this.insertMergedLines({row: 0, column: 0}, textOrLines);
823
- } else {
824
- this.insert({row: 0, column:0}, textOrLines);
825
- }
826
- };
827
-
828
- (function() {
829
-
830
- oop.implement(this, EventEmitter);
831
- this.setValue = function(text) {
832
- var len = this.getLength() - 1;
833
- this.remove(new Range(0, 0, len, this.getLine(len).length));
834
- this.insert({row: 0, column: 0}, text);
835
- };
836
- this.getValue = function() {
837
- return this.getAllLines().join(this.getNewLineCharacter());
838
- };
839
- this.createAnchor = function(row, column) {
840
- return new Anchor(this, row, column);
841
- };
842
- if ("aaa".split(/a/).length === 0) {
843
- this.$split = function(text) {
844
- return text.replace(/\r\n|\r/g, "\n").split("\n");
845
- };
846
- } else {
847
- this.$split = function(text) {
848
- return text.split(/\r\n|\r|\n/);
849
- };
850
- }
851
-
852
-
853
- this.$detectNewLine = function(text) {
854
- var match = text.match(/^.*?(\r\n|\r|\n)/m);
855
- this.$autoNewLine = match ? match[1] : "\n";
856
- this._signal("changeNewLineMode");
857
- };
858
- this.getNewLineCharacter = function() {
859
- switch (this.$newLineMode) {
860
- case "windows":
861
- return "\r\n";
862
- case "unix":
863
- return "\n";
864
- default:
865
- return this.$autoNewLine || "\n";
866
- }
867
- };
868
-
869
- this.$autoNewLine = "";
870
- this.$newLineMode = "auto";
871
- this.setNewLineMode = function(newLineMode) {
872
- if (this.$newLineMode === newLineMode)
873
- return;
874
-
875
- this.$newLineMode = newLineMode;
876
- this._signal("changeNewLineMode");
877
- };
878
- this.getNewLineMode = function() {
879
- return this.$newLineMode;
880
- };
881
- this.isNewLine = function(text) {
882
- return (text == "\r\n" || text == "\r" || text == "\n");
883
- };
884
- this.getLine = function(row) {
885
- return this.$lines[row] || "";
886
- };
887
- this.getLines = function(firstRow, lastRow) {
888
- return this.$lines.slice(firstRow, lastRow + 1);
889
- };
890
- this.getAllLines = function() {
891
- return this.getLines(0, this.getLength());
892
- };
893
- this.getLength = function() {
894
- return this.$lines.length;
895
- };
896
- this.getTextRange = function(range) {
897
- return this.getLinesForRange(range).join(this.getNewLineCharacter());
898
- };
899
- this.getLinesForRange = function(range) {
900
- var lines;
901
- if (range.start.row === range.end.row) {
902
- lines = [this.getLine(range.start.row).substring(range.start.column, range.end.column)];
903
- } else {
904
- lines = this.getLines(range.start.row, range.end.row);
905
- lines[0] = (lines[0] || "").substring(range.start.column);
906
- var l = lines.length - 1;
907
- if (range.end.row - range.start.row == l)
908
- lines[l] = lines[l].substring(0, range.end.column);
909
- }
910
- return lines;
911
- };
912
- this.insertLines = function(row, lines) {
913
- console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead.");
914
- return this.insertFullLines(row, lines);
915
- };
916
- this.removeLines = function(firstRow, lastRow) {
917
- console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead.");
918
- return this.removeFullLines(firstRow, lastRow);
919
- };
920
- this.insertNewLine = function(position) {
921
- console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead.");
922
- return this.insertMergedLines(position, ["", ""]);
923
- };
924
- this.insert = function(position, text) {
925
- if (this.getLength() <= 1)
926
- this.$detectNewLine(text);
927
-
928
- return this.insertMergedLines(position, this.$split(text));
929
- };
930
- this.insertInLine = function(position, text) {
931
- var start = this.clippedPos(position.row, position.column);
932
- var end = this.pos(position.row, position.column + text.length);
933
-
934
- this.applyDelta({
935
- start: start,
936
- end: end,
937
- action: "insert",
938
- lines: [text]
939
- }, true);
940
-
941
- return this.clonePos(end);
942
- };
943
-
944
- this.clippedPos = function(row, column) {
945
- var length = this.getLength();
946
- if (row === undefined) {
947
- row = length;
948
- } else if (row < 0) {
949
- row = 0;
950
- } else if (row >= length) {
951
- row = length - 1;
952
- column = undefined;
953
- }
954
- var line = this.getLine(row);
955
- if (column == undefined)
956
- column = line.length;
957
- column = Math.min(Math.max(column, 0), line.length);
958
- return {row: row, column: column};
959
- };
960
-
961
- this.clonePos = function(pos) {
962
- return {row: pos.row, column: pos.column};
963
- };
964
-
965
- this.pos = function(row, column) {
966
- return {row: row, column: column};
967
- };
968
-
969
- this.$clipPosition = function(position) {
970
- var length = this.getLength();
971
- if (position.row >= length) {
972
- position.row = Math.max(0, length - 1);
973
- position.column = this.getLine(length - 1).length;
974
- } else {
975
- position.row = Math.max(0, position.row);
976
- position.column = Math.min(Math.max(position.column, 0), this.getLine(position.row).length);
977
- }
978
- return position;
979
- };
980
- this.insertFullLines = function(row, lines) {
981
- row = Math.min(Math.max(row, 0), this.getLength());
982
- var column = 0;
983
- if (row < this.getLength()) {
984
- lines = lines.concat([""]);
985
- column = 0;
986
- } else {
987
- lines = [""].concat(lines);
988
- row--;
989
- column = this.$lines[row].length;
990
- }
991
- this.insertMergedLines({row: row, column: column}, lines);
992
- };
993
- this.insertMergedLines = function(position, lines) {
994
- var start = this.clippedPos(position.row, position.column);
995
- var end = {
996
- row: start.row + lines.length - 1,
997
- column: (lines.length == 1 ? start.column : 0) + lines[lines.length - 1].length
998
- };
999
-
1000
- this.applyDelta({
1001
- start: start,
1002
- end: end,
1003
- action: "insert",
1004
- lines: lines
1005
- });
1006
-
1007
- return this.clonePos(end);
1008
- };
1009
- this.remove = function(range) {
1010
- var start = this.clippedPos(range.start.row, range.start.column);
1011
- var end = this.clippedPos(range.end.row, range.end.column);
1012
- this.applyDelta({
1013
- start: start,
1014
- end: end,
1015
- action: "remove",
1016
- lines: this.getLinesForRange({start: start, end: end})
1017
- });
1018
- return this.clonePos(start);
1019
- };
1020
- this.removeInLine = function(row, startColumn, endColumn) {
1021
- var start = this.clippedPos(row, startColumn);
1022
- var end = this.clippedPos(row, endColumn);
1023
-
1024
- this.applyDelta({
1025
- start: start,
1026
- end: end,
1027
- action: "remove",
1028
- lines: this.getLinesForRange({start: start, end: end})
1029
- }, true);
1030
-
1031
- return this.clonePos(start);
1032
- };
1033
- this.removeFullLines = function(firstRow, lastRow) {
1034
- firstRow = Math.min(Math.max(0, firstRow), this.getLength() - 1);
1035
- lastRow = Math.min(Math.max(0, lastRow ), this.getLength() - 1);
1036
- var deleteFirstNewLine = lastRow == this.getLength() - 1 && firstRow > 0;
1037
- var deleteLastNewLine = lastRow < this.getLength() - 1;
1038
- var startRow = ( deleteFirstNewLine ? firstRow - 1 : firstRow );
1039
- var startCol = ( deleteFirstNewLine ? this.getLine(startRow).length : 0 );
1040
- var endRow = ( deleteLastNewLine ? lastRow + 1 : lastRow );
1041
- var endCol = ( deleteLastNewLine ? 0 : this.getLine(endRow).length );
1042
- var range = new Range(startRow, startCol, endRow, endCol);
1043
- var deletedLines = this.$lines.slice(firstRow, lastRow + 1);
1044
-
1045
- this.applyDelta({
1046
- start: range.start,
1047
- end: range.end,
1048
- action: "remove",
1049
- lines: this.getLinesForRange(range)
1050
- });
1051
- return deletedLines;
1052
- };
1053
- this.removeNewLine = function(row) {
1054
- if (row < this.getLength() - 1 && row >= 0) {
1055
- this.applyDelta({
1056
- start: this.pos(row, this.getLine(row).length),
1057
- end: this.pos(row + 1, 0),
1058
- action: "remove",
1059
- lines: ["", ""]
1060
- });
1061
- }
1062
- };
1063
- this.replace = function(range, text) {
1064
- if (!(range instanceof Range))
1065
- range = Range.fromPoints(range.start, range.end);
1066
- if (text.length === 0 && range.isEmpty())
1067
- return range.start;
1068
- if (text == this.getTextRange(range))
1069
- return range.end;
1070
-
1071
- this.remove(range);
1072
- var end;
1073
- if (text) {
1074
- end = this.insert(range.start, text);
1075
- }
1076
- else {
1077
- end = range.start;
1078
- }
1079
-
1080
- return end;
1081
- };
1082
- this.applyDeltas = function(deltas) {
1083
- for (var i=0; i<deltas.length; i++) {
1084
- this.applyDelta(deltas[i]);
1085
- }
1086
- };
1087
- this.revertDeltas = function(deltas) {
1088
- for (var i=deltas.length-1; i>=0; i--) {
1089
- this.revertDelta(deltas[i]);
1090
- }
1091
- };
1092
- this.applyDelta = function(delta, doNotValidate) {
1093
- var isInsert = delta.action == "insert";
1094
- if (isInsert ? delta.lines.length <= 1 && !delta.lines[0]
1095
- : !Range.comparePoints(delta.start, delta.end)) {
1096
- return;
1097
- }
1098
-
1099
- if (isInsert && delta.lines.length > 20000) {
1100
- this.$splitAndapplyLargeDelta(delta, 20000);
1101
- }
1102
- else {
1103
- applyDelta(this.$lines, delta, doNotValidate);
1104
- this._signal("change", delta);
1105
- }
1106
- };
1107
-
1108
- this.$safeApplyDelta = function(delta) {
1109
- var docLength = this.$lines.length;
1110
- if (
1111
- delta.action == "remove" && delta.start.row < docLength && delta.end.row < docLength
1112
- || delta.action == "insert" && delta.start.row <= docLength
1113
- ) {
1114
- this.applyDelta(delta);
1115
- }
1116
- };
1117
-
1118
- this.$splitAndapplyLargeDelta = function(delta, MAX) {
1119
- var lines = delta.lines;
1120
- var l = lines.length - MAX + 1;
1121
- var row = delta.start.row;
1122
- var column = delta.start.column;
1123
- for (var from = 0, to = 0; from < l; from = to) {
1124
- to += MAX - 1;
1125
- var chunk = lines.slice(from, to);
1126
- chunk.push("");
1127
- this.applyDelta({
1128
- start: this.pos(row + from, column),
1129
- end: this.pos(row + to, column = 0),
1130
- action: delta.action,
1131
- lines: chunk
1132
- }, true);
1133
- }
1134
- delta.lines = lines.slice(from);
1135
- delta.start.row = row + from;
1136
- delta.start.column = column;
1137
- this.applyDelta(delta, true);
1138
- };
1139
- this.revertDelta = function(delta) {
1140
- this.$safeApplyDelta({
1141
- start: this.clonePos(delta.start),
1142
- end: this.clonePos(delta.end),
1143
- action: (delta.action == "insert" ? "remove" : "insert"),
1144
- lines: delta.lines.slice()
1145
- });
1146
- };
1147
- this.indexToPosition = function(index, startRow) {
1148
- var lines = this.$lines || this.getAllLines();
1149
- var newlineLength = this.getNewLineCharacter().length;
1150
- for (var i = startRow || 0, l = lines.length; i < l; i++) {
1151
- index -= lines[i].length + newlineLength;
1152
- if (index < 0)
1153
- return {row: i, column: index + lines[i].length + newlineLength};
1154
- }
1155
- return {row: l-1, column: index + lines[l-1].length + newlineLength};
1156
- };
1157
- this.positionToIndex = function(pos, startRow) {
1158
- var lines = this.$lines || this.getAllLines();
1159
- var newlineLength = this.getNewLineCharacter().length;
1160
- var index = 0;
1161
- var row = Math.min(pos.row, lines.length);
1162
- for (var i = startRow || 0; i < row; ++i)
1163
- index += lines[i].length + newlineLength;
1164
-
1165
- return index + pos.column;
1166
- };
1167
-
1168
- }).call(Document.prototype);
1169
-
1170
- exports.Document = Document;
1171
- });
1172
-
1173
- ace.define("ace/lib/lang",[], function(require, exports, module) {
1174
- "use strict";
1175
-
1176
- exports.last = function(a) {
1177
- return a[a.length - 1];
1178
- };
1179
-
1180
- exports.stringReverse = function(string) {
1181
- return string.split("").reverse().join("");
1182
- };
1183
-
1184
- exports.stringRepeat = function (string, count) {
1185
- var result = '';
1186
- while (count > 0) {
1187
- if (count & 1)
1188
- result += string;
1189
-
1190
- if (count >>= 1)
1191
- string += string;
1192
- }
1193
- return result;
1194
- };
1195
-
1196
- var trimBeginRegexp = /^\s\s*/;
1197
- var trimEndRegexp = /\s\s*$/;
1198
-
1199
- exports.stringTrimLeft = function (string) {
1200
- return string.replace(trimBeginRegexp, '');
1201
- };
1202
-
1203
- exports.stringTrimRight = function (string) {
1204
- return string.replace(trimEndRegexp, '');
1205
- };
1206
-
1207
- exports.copyObject = function(obj) {
1208
- var copy = {};
1209
- for (var key in obj) {
1210
- copy[key] = obj[key];
1211
- }
1212
- return copy;
1213
- };
1214
-
1215
- exports.copyArray = function(array){
1216
- var copy = [];
1217
- for (var i=0, l=array.length; i<l; i++) {
1218
- if (array[i] && typeof array[i] == "object")
1219
- copy[i] = this.copyObject(array[i]);
1220
- else
1221
- copy[i] = array[i];
1222
- }
1223
- return copy;
1224
- };
1225
-
1226
- exports.deepCopy = function deepCopy(obj) {
1227
- if (typeof obj !== "object" || !obj)
1228
- return obj;
1229
- var copy;
1230
- if (Array.isArray(obj)) {
1231
- copy = [];
1232
- for (var key = 0; key < obj.length; key++) {
1233
- copy[key] = deepCopy(obj[key]);
1234
- }
1235
- return copy;
1236
- }
1237
- if (Object.prototype.toString.call(obj) !== "[object Object]")
1238
- return obj;
1239
-
1240
- copy = {};
1241
- for (var key in obj)
1242
- copy[key] = deepCopy(obj[key]);
1243
- return copy;
1244
- };
1245
-
1246
- exports.arrayToMap = function(arr) {
1247
- var map = {};
1248
- for (var i=0; i<arr.length; i++) {
1249
- map[arr[i]] = 1;
1250
- }
1251
- return map;
1252
-
1253
- };
1254
-
1255
- exports.createMap = function(props) {
1256
- var map = Object.create(null);
1257
- for (var i in props) {
1258
- map[i] = props[i];
1259
- }
1260
- return map;
1261
- };
1262
- exports.arrayRemove = function(array, value) {
1263
- for (var i = 0; i <= array.length; i++) {
1264
- if (value === array[i]) {
1265
- array.splice(i, 1);
1266
- }
1267
- }
1268
- };
1269
-
1270
- exports.escapeRegExp = function(str) {
1271
- return str.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1');
1272
- };
1273
-
1274
- exports.escapeHTML = function(str) {
1275
- return ("" + str).replace(/&/g, "&#38;").replace(/"/g, "&#34;").replace(/'/g, "&#39;").replace(/</g, "&#60;");
1276
- };
1277
-
1278
- exports.getMatchOffsets = function(string, regExp) {
1279
- var matches = [];
1280
-
1281
- string.replace(regExp, function(str) {
1282
- matches.push({
1283
- offset: arguments[arguments.length-2],
1284
- length: str.length
1285
- });
1286
- });
1287
-
1288
- return matches;
1289
- };
1290
- exports.deferredCall = function(fcn) {
1291
- var timer = null;
1292
- var callback = function() {
1293
- timer = null;
1294
- fcn();
1295
- };
1296
-
1297
- var deferred = function(timeout) {
1298
- deferred.cancel();
1299
- timer = setTimeout(callback, timeout || 0);
1300
- return deferred;
1301
- };
1302
-
1303
- deferred.schedule = deferred;
1304
-
1305
- deferred.call = function() {
1306
- this.cancel();
1307
- fcn();
1308
- return deferred;
1309
- };
1310
-
1311
- deferred.cancel = function() {
1312
- clearTimeout(timer);
1313
- timer = null;
1314
- return deferred;
1315
- };
1316
-
1317
- deferred.isPending = function() {
1318
- return timer;
1319
- };
1320
-
1321
- return deferred;
1322
- };
1323
-
1324
-
1325
- exports.delayedCall = function(fcn, defaultTimeout) {
1326
- var timer = null;
1327
- var callback = function() {
1328
- timer = null;
1329
- fcn();
1330
- };
1331
-
1332
- var _self = function(timeout) {
1333
- if (timer == null)
1334
- timer = setTimeout(callback, timeout || defaultTimeout);
1335
- };
1336
-
1337
- _self.delay = function(timeout) {
1338
- timer && clearTimeout(timer);
1339
- timer = setTimeout(callback, timeout || defaultTimeout);
1340
- };
1341
- _self.schedule = _self;
1342
-
1343
- _self.call = function() {
1344
- this.cancel();
1345
- fcn();
1346
- };
1347
-
1348
- _self.cancel = function() {
1349
- timer && clearTimeout(timer);
1350
- timer = null;
1351
- };
1352
-
1353
- _self.isPending = function() {
1354
- return timer;
1355
- };
1356
-
1357
- return _self;
1358
- };
1359
- });
1360
-
1361
- ace.define("ace/worker/mirror",[], function(require, exports, module) {
1362
- "use strict";
1363
-
1364
- var Range = require("../range").Range;
1365
- var Document = require("../document").Document;
1366
- var lang = require("../lib/lang");
1367
-
1368
- var Mirror = exports.Mirror = function(sender) {
1369
- this.sender = sender;
1370
- var doc = this.doc = new Document("");
1371
-
1372
- var deferredUpdate = this.deferredUpdate = lang.delayedCall(this.onUpdate.bind(this));
1373
-
1374
- var _self = this;
1375
- sender.on("change", function(e) {
1376
- var data = e.data;
1377
- if (data[0].start) {
1378
- doc.applyDeltas(data);
1379
- } else {
1380
- for (var i = 0; i < data.length; i += 2) {
1381
- if (Array.isArray(data[i+1])) {
1382
- var d = {action: "insert", start: data[i], lines: data[i+1]};
1383
- } else {
1384
- var d = {action: "remove", start: data[i], end: data[i+1]};
1385
- }
1386
- doc.applyDelta(d, true);
1387
- }
1388
- }
1389
- if (_self.$timeout)
1390
- return deferredUpdate.schedule(_self.$timeout);
1391
- _self.onUpdate();
1392
- });
1393
- };
1394
-
1395
- (function() {
1396
-
1397
- this.$timeout = 500;
1398
-
1399
- this.setTimeout = function(timeout) {
1400
- this.$timeout = timeout;
1401
- };
1402
-
1403
- this.setValue = function(value) {
1404
- this.doc.setValue(value);
1405
- this.deferredUpdate.schedule(this.$timeout);
1406
- };
1407
-
1408
- this.getValue = function(callbackId) {
1409
- this.sender.callback(this.doc.getValue(), callbackId);
1410
- };
1411
-
1412
- this.onUpdate = function() {
1413
- };
1414
-
1415
- this.isPending = function() {
1416
- return this.deferredUpdate.isPending();
1417
- };
1418
-
1419
- }).call(Mirror.prototype);
1420
-
1421
- });
1422
-
1423
- ace.define("ace/mode/php/php",[], function(require, exports, module) {
1424
-
1425
- var PHP = {Constants:{}};
1426
-
1427
- PHP.Constants.T_INCLUDE = 259
1428
- PHP.Constants.T_INCLUDE_ONCE = 260
1429
- PHP.Constants.T_EVAL = 318
1430
- PHP.Constants.T_REQUIRE = 261
1431
- PHP.Constants.T_REQUIRE_ONCE = 262
1432
- PHP.Constants.T_LOGICAL_OR = 263
1433
- PHP.Constants.T_LOGICAL_XOR = 264
1434
- PHP.Constants.T_LOGICAL_AND = 265
1435
- PHP.Constants.T_PRINT = 266
1436
- PHP.Constants.T_YIELD = 267
1437
- PHP.Constants.T_DOUBLE_ARROW = 268
1438
- PHP.Constants.T_YIELD_FROM = 269
1439
- PHP.Constants.T_PLUS_EQUAL = 270
1440
- PHP.Constants.T_MINUS_EQUAL = 271
1441
- PHP.Constants.T_MUL_EQUAL = 272
1442
- PHP.Constants.T_DIV_EQUAL = 273
1443
- PHP.Constants.T_CONCAT_EQUAL = 274
1444
- PHP.Constants.T_MOD_EQUAL = 275
1445
- PHP.Constants.T_AND_EQUAL = 276
1446
- PHP.Constants.T_OR_EQUAL = 277
1447
- PHP.Constants.T_XOR_EQUAL = 278
1448
- PHP.Constants.T_SL_EQUAL = 279
1449
- PHP.Constants.T_SR_EQUAL = 280
1450
- PHP.Constants.T_POW_EQUAL = 281
1451
- PHP.Constants.T_COALESCE_EQUAL = 282
1452
- PHP.Constants.T_COALESCE = 283
1453
- PHP.Constants.T_BOOLEAN_OR = 284
1454
- PHP.Constants.T_BOOLEAN_AND = 285
1455
- PHP.Constants.T_IS_EQUAL = 286
1456
- PHP.Constants.T_IS_NOT_EQUAL = 287
1457
- PHP.Constants.T_IS_IDENTICAL = 288
1458
- PHP.Constants.T_IS_NOT_IDENTICAL = 289
1459
- PHP.Constants.T_SPACESHIP = 290
1460
- PHP.Constants.T_IS_SMALLER_OR_EQUAL = 291
1461
- PHP.Constants.T_IS_GREATER_OR_EQUAL = 292
1462
- PHP.Constants.T_SL = 293
1463
- PHP.Constants.T_SR = 294
1464
- PHP.Constants.T_INSTANCEOF = 295
1465
- PHP.Constants.T_INC = 319
1466
- PHP.Constants.T_DEC = 320
1467
- PHP.Constants.T_INT_CAST = 296
1468
- PHP.Constants.T_DOUBLE_CAST = 297
1469
- PHP.Constants.T_STRING_CAST = 298
1470
- PHP.Constants.T_ARRAY_CAST = 299
1471
- PHP.Constants.T_OBJECT_CAST = 300
1472
- PHP.Constants.T_BOOL_CAST = 301
1473
- PHP.Constants.T_UNSET_CAST = 302
1474
- PHP.Constants.T_POW = 303
1475
- PHP.Constants.T_NEW = 304
1476
- PHP.Constants.T_CLONE = 305
1477
- PHP.Constants.T_EXIT = 321
1478
- PHP.Constants.T_IF = 322
1479
- PHP.Constants.T_ELSEIF = 307
1480
- PHP.Constants.T_ELSE = 308
1481
- PHP.Constants.T_ENDIF = 323
1482
- PHP.Constants.T_LNUMBER = 309
1483
- PHP.Constants.T_DNUMBER = 310
1484
- PHP.Constants.T_STRING = 311
1485
- PHP.Constants.T_STRING_VARNAME = 316
1486
- PHP.Constants.T_VARIABLE = 312
1487
- PHP.Constants.T_NUM_STRING = 317
1488
- PHP.Constants.T_INLINE_HTML = 313
1489
- PHP.Constants.T_BAD_CHARACTER = 395
1490
- PHP.Constants.T_ENCAPSED_AND_WHITESPACE = 314
1491
- PHP.Constants.T_CONSTANT_ENCAPSED_STRING = 315
1492
- PHP.Constants.T_ECHO = 324
1493
- PHP.Constants.T_DO = 325
1494
- PHP.Constants.T_WHILE = 326
1495
- PHP.Constants.T_ENDWHILE = 327
1496
- PHP.Constants.T_FOR = 328
1497
- PHP.Constants.T_ENDFOR = 329
1498
- PHP.Constants.T_FOREACH = 330
1499
- PHP.Constants.T_ENDFOREACH = 331
1500
- PHP.Constants.T_DECLARE = 332
1501
- PHP.Constants.T_ENDDECLARE = 333
1502
- PHP.Constants.T_AS = 334
1503
- PHP.Constants.T_SWITCH = 335
1504
- PHP.Constants.T_ENDSWITCH = 336
1505
- PHP.Constants.T_CASE = 337
1506
- PHP.Constants.T_DEFAULT = 338
1507
- PHP.Constants.T_BREAK = 339
1508
- PHP.Constants.T_CONTINUE = 340
1509
- PHP.Constants.T_GOTO = 341
1510
- PHP.Constants.T_FUNCTION = 342
1511
- PHP.Constants.T_FN = 343
1512
- PHP.Constants.T_CONST = 344
1513
- PHP.Constants.T_RETURN = 345
1514
- PHP.Constants.T_TRY = 346
1515
- PHP.Constants.T_CATCH = 347
1516
- PHP.Constants.T_FINALLY = 348
1517
- PHP.Constants.T_THROW = 349
1518
- PHP.Constants.T_USE = 350
1519
- PHP.Constants.T_INSTEADOF = 351
1520
- PHP.Constants.T_GLOBAL = 352
1521
- PHP.Constants.T_STATIC = 353
1522
- PHP.Constants.T_ABSTRACT = 354
1523
- PHP.Constants.T_FINAL = 355
1524
- PHP.Constants.T_PRIVATE = 356
1525
- PHP.Constants.T_PROTECTED = 357
1526
- PHP.Constants.T_PUBLIC = 358
1527
- PHP.Constants.T_VAR = 359
1528
- PHP.Constants.T_UNSET = 360
1529
- PHP.Constants.T_ISSET = 361
1530
- PHP.Constants.T_EMPTY = 362
1531
- PHP.Constants.T_HALT_COMPILER = 363
1532
- PHP.Constants.T_CLASS = 364
1533
- PHP.Constants.T_TRAIT = 365
1534
- PHP.Constants.T_INTERFACE = 366
1535
- PHP.Constants.T_EXTENDS = 367
1536
- PHP.Constants.T_IMPLEMENTS = 368
1537
- PHP.Constants.T_OBJECT_OPERATOR = 369
1538
- PHP.Constants.T_DOUBLE_ARROW = 268
1539
- PHP.Constants.T_LIST = 370
1540
- PHP.Constants.T_ARRAY = 371
1541
- PHP.Constants.T_CALLABLE = 372
1542
- PHP.Constants.T_CLASS_C = 376
1543
- PHP.Constants.T_TRAIT_C = 377
1544
- PHP.Constants.T_METHOD_C = 378
1545
- PHP.Constants.T_FUNC_C = 379
1546
- PHP.Constants.T_LINE = 373
1547
- PHP.Constants.T_FILE = 374
1548
- PHP.Constants.T_COMMENT = 380
1549
- PHP.Constants.T_DOC_COMMENT = 381
1550
- PHP.Constants.T_OPEN_TAG = 382
1551
- PHP.Constants.T_OPEN_TAG_WITH_ECHO = 383
1552
- PHP.Constants.T_CLOSE_TAG = 384
1553
- PHP.Constants.T_WHITESPACE = 385
1554
- PHP.Constants.T_START_HEREDOC = 386
1555
- PHP.Constants.T_END_HEREDOC = 387
1556
- PHP.Constants.T_DOLLAR_OPEN_CURLY_BRACES = 388
1557
- PHP.Constants.T_CURLY_OPEN = 389
1558
- PHP.Constants.T_PAAMAYIM_NEKUDOTAYIM = 390
1559
- PHP.Constants.T_NAMESPACE = 391
1560
- PHP.Constants.T_NS_C = 392
1561
- PHP.Constants.T_DIR = 375
1562
- PHP.Constants.T_NS_SEPARATOR = 393
1563
- PHP.Constants.T_ELLIPSIS = 394
1564
-
1565
- PHP.Lexer = function(src, ini) {
1566
- var heredoc, heredocEndAllowed,
1567
-
1568
- stateStack = ['INITIAL'], stackPos = 0,
1569
- swapState = function(state) {
1570
- stateStack[stackPos] = state;
1571
- },
1572
- pushState = function(state) {
1573
- stateStack[++stackPos] = state;
1574
- },
1575
- popState = function() {
1576
- --stackPos;
1577
- },
1578
-
1579
- shortOpenTag = ini === undefined || /^(on|true|1)$/i.test(ini.short_open_tag),
1580
- openTag = shortOpenTag
1581
- ? /^(\<\?php(?:\r\n|[ \t\r\n])|<\?|\<script language\=('|")?php('|")?\>)/i
1582
- : /^(\<\?php(?:\r\n|[ \t\r\n])|\<script language\=('|")?php('|")?\>)/i,
1583
- inlineHtml = shortOpenTag
1584
- ? /[^<]*(?:<(?!\?|script language\=('|")?php('|")?\>)[^<]*)*/i
1585
- : /[^<]*(?:<(?!\?=|\?php[ \t\r\n]|script language\=('|")?php('|")?\>)[^<]*)*/i,
1586
- labelRegexPart = '[a-zA-Z_\\x7f-\\uffff][a-zA-Z0-9_\\x7f-\\uffff]*',
1587
- stringRegexPart = function(quote) {
1588
- return '[^' + quote + '\\\\${]*(?:(?:\\\\[\\s\\S]|\\$(?!\\{|[a-zA-Z_\\x7f-\\uffff])|\\{(?!\\$))[^' + quote + '\\\\${]*)*';
1589
- },
1590
-
1591
- sharedStringTokens = [
1592
- {
1593
- value: PHP.Constants.T_VARIABLE,
1594
- re: new RegExp('^\\$' + labelRegexPart + '(?=\\[)'),
1595
- func: function() {
1596
- pushState('VAR_OFFSET');
1597
- }
1598
- },
1599
- {
1600
- value: PHP.Constants.T_VARIABLE,
1601
- re: new RegExp('^\\$' + labelRegexPart + '(?=->' + labelRegexPart + ')'),
1602
- func: function() {
1603
- pushState('LOOKING_FOR_PROPERTY');
1604
- }
1605
- },
1606
- {
1607
- value: PHP.Constants.T_DOLLAR_OPEN_CURLY_BRACES,
1608
- re: new RegExp('^\\$\\{(?=' + labelRegexPart + '[\\[}])'),
1609
- func: function() {
1610
- pushState('LOOKING_FOR_VARNAME');
1611
- }
1612
- },
1613
- {
1614
- value: PHP.Constants.T_VARIABLE,
1615
- re: new RegExp('^\\$' + labelRegexPart)
1616
- },
1617
- {
1618
- value: PHP.Constants.T_DOLLAR_OPEN_CURLY_BRACES,
1619
- re: /^\$\{/,
1620
- func: function() {
1621
- pushState('IN_SCRIPTING');
1622
- }
1623
- },
1624
- {
1625
- value: PHP.Constants.T_CURLY_OPEN,
1626
- re: /^\{(?=\$)/,
1627
- func: function() {
1628
- pushState('IN_SCRIPTING');
1629
- }
1630
- }
1631
- ],
1632
- data = {
1633
- 'INITIAL': [
1634
- {
1635
- value: PHP.Constants.T_OPEN_TAG_WITH_ECHO,
1636
- re: /^<\?=/i,
1637
- func: function() {
1638
- swapState('IN_SCRIPTING');
1639
- }
1640
- },
1641
- {
1642
- value: PHP.Constants.T_OPEN_TAG,
1643
- re: openTag,
1644
- func: function() {
1645
- swapState('IN_SCRIPTING');
1646
- }
1647
- },
1648
- {
1649
- value: PHP.Constants.T_INLINE_HTML,
1650
- re: inlineHtml
1651
- },
1652
- ],
1653
- 'IN_SCRIPTING': [
1654
- {
1655
- value: PHP.Constants.T_WHITESPACE,
1656
- re: /^[ \n\r\t]+/
1657
- },
1658
- {
1659
- value: PHP.Constants.T_ABSTRACT,
1660
- re: /^abstract\b/i
1661
- },
1662
- {
1663
- value: PHP.Constants.T_LOGICAL_AND,
1664
- re: /^and\b/i
1665
- },
1666
- {
1667
- value: PHP.Constants.T_ARRAY,
1668
- re: /^array\b/i
1669
- },
1670
- {
1671
- value: PHP.Constants.T_AS,
1672
- re: /^as\b/i
1673
- },
1674
- {
1675
- value: PHP.Constants.T_BREAK,
1676
- re: /^break\b/i
1677
- },
1678
- {
1679
- value: PHP.Constants.T_CALLABLE,
1680
- re: /^callable\b/i
1681
- },
1682
- {
1683
- value: PHP.Constants.T_CASE,
1684
- re: /^case\b/i
1685
- },
1686
- {
1687
- value: PHP.Constants.T_CATCH,
1688
- re: /^catch\b/i
1689
- },
1690
- {
1691
- value: PHP.Constants.T_CLASS,
1692
- re: /^class\b/i,
1693
- },
1694
- {
1695
- value: PHP.Constants.T_CLONE,
1696
- re: /^clone\b/i
1697
- },
1698
- {
1699
- value: PHP.Constants.T_CONST,
1700
- re: /^const\b/i
1701
- },
1702
- {
1703
- value: PHP.Constants.T_CONTINUE,
1704
- re: /^continue\b/i
1705
- },
1706
- {
1707
- value: PHP.Constants.T_DECLARE,
1708
- re: /^declare\b/i
1709
- },
1710
- {
1711
- value: PHP.Constants.T_DEFAULT,
1712
- re: /^default\b/i
1713
- },
1714
- {
1715
- value: PHP.Constants.T_DO,
1716
- re: /^do\b/i
1717
- },
1718
- {
1719
- value: PHP.Constants.T_ECHO,
1720
- re: /^echo\b/i
1721
- },
1722
- {
1723
- value: PHP.Constants.T_ELSE,
1724
- re: /^else\b/i
1725
- },
1726
- {
1727
- value: PHP.Constants.T_ELSEIF,
1728
- re: /^elseif\b/i
1729
- },
1730
- {
1731
- value: PHP.Constants.T_ENDDECLARE,
1732
- re: /^enddeclare\b/i
1733
- },
1734
- {
1735
- value: PHP.Constants.T_ENDFOR,
1736
- re: /^endfor\b/i
1737
- },
1738
- {
1739
- value: PHP.Constants.T_ENDFOREACH,
1740
- re: /^endforeach\b/i
1741
- },
1742
- {
1743
- value: PHP.Constants.T_ENDIF,
1744
- re: /^endif\b/i
1745
- },
1746
- {
1747
- value: PHP.Constants.T_ENDSWITCH,
1748
- re: /^endswitch\b/i
1749
- },
1750
- {
1751
- value: PHP.Constants.T_ENDWHILE,
1752
- re: /^endwhile\b/i
1753
- },
1754
- {
1755
- value: PHP.Constants.T_EMPTY,
1756
- re: /^empty\b/i
1757
- },
1758
- {
1759
- value: PHP.Constants.T_EVAL,
1760
- re: /^eval\b/i
1761
- },
1762
- {
1763
- value: PHP.Constants.T_EXIT,
1764
- re: /^(?:exit|die)\b/i
1765
- },
1766
- {
1767
- value: PHP.Constants.T_EXTENDS,
1768
- re: /^extends\b/i
1769
- },
1770
- {
1771
- value: PHP.Constants.T_FINAL,
1772
- re: /^final\b/i
1773
- },
1774
- {
1775
- value: PHP.Constants.T_FINALLY,
1776
- re: /^finally\b/i
1777
- },
1778
- {
1779
- value: PHP.Constants.T_FN,
1780
- re: /^fn\b/i
1781
- },
1782
- {
1783
- value: PHP.Constants.T_FOR,
1784
- re: /^for\b/i
1785
- },
1786
- {
1787
- value: PHP.Constants.T_FOREACH,
1788
- re: /^foreach\b/i
1789
- },
1790
- {
1791
- value: PHP.Constants.T_FUNCTION,
1792
- re: /^function\b/i
1793
- },
1794
- {
1795
- value: PHP.Constants.T_GLOBAL,
1796
- re: /^global\b/i
1797
- },
1798
- {
1799
- value: PHP.Constants.T_GOTO,
1800
- re: /^goto\b/i
1801
- },
1802
- {
1803
- value: PHP.Constants.T_IF,
1804
- re: /^if\b/i
1805
- },
1806
- {
1807
- value: PHP.Constants.T_IMPLEMENTS,
1808
- re: /^implements\b/i
1809
- },
1810
- {
1811
- value: PHP.Constants.T_INCLUDE,
1812
- re: /^include\b/i
1813
- },
1814
- {
1815
- value: PHP.Constants.T_INCLUDE_ONCE,
1816
- re: /^include_once\b/i
1817
- },
1818
- {
1819
- value: PHP.Constants.T_INSTANCEOF,
1820
- re: /^instanceof\b/i
1821
- },
1822
- {
1823
- value: PHP.Constants.T_INSTEADOF,
1824
- re: /^insteadof\b/i
1825
- },
1826
- {
1827
- value: PHP.Constants.T_INTERFACE,
1828
- re: /^interface\b/i
1829
- },
1830
- {
1831
- value: PHP.Constants.T_ISSET,
1832
- re: /^isset\b/i
1833
- },
1834
- {
1835
- value: PHP.Constants.T_LIST,
1836
- re: /^list\b/i
1837
- },
1838
- {
1839
- value: PHP.Constants.T_NAMESPACE,
1840
- re: /^namespace\b/i
1841
- },
1842
- {
1843
- value: PHP.Constants.T_NEW,
1844
- re: /^new\b/i
1845
- },
1846
- {
1847
- value: PHP.Constants.T_LOGICAL_OR,
1848
- re: /^or\b/i
1849
- },
1850
- {
1851
- value: PHP.Constants.T_PRINT,
1852
- re: /^print\b/i
1853
- },
1854
- {
1855
- value: PHP.Constants.T_PRIVATE,
1856
- re: /^private\b/i
1857
- },
1858
- {
1859
- value: PHP.Constants.T_PROTECTED,
1860
- re: /^protected\b/i
1861
- },
1862
- {
1863
- value: PHP.Constants.T_PUBLIC,
1864
- re: /^public\b/i
1865
- },
1866
- {
1867
- value: PHP.Constants.T_REQUIRE,
1868
- re: /^require\b/i
1869
- },
1870
- {
1871
- value: PHP.Constants.T_REQUIRE_ONCE,
1872
- re: /^require_once\b/i
1873
- },
1874
- {
1875
- value: PHP.Constants.T_STATIC,
1876
- re: /^static\b/i
1877
- },
1878
- {
1879
- value: PHP.Constants.T_SWITCH,
1880
- re: /^switch\b/i
1881
- },
1882
- {
1883
- value: PHP.Constants.T_THROW,
1884
- re: /^throw\b/i
1885
- },
1886
- {
1887
- value: PHP.Constants.T_TRAIT,
1888
- re: /^trait\b/i,
1889
- },
1890
- {
1891
- value: PHP.Constants.T_TRY,
1892
- re: /^try\b/i
1893
- },
1894
- {
1895
- value: PHP.Constants.T_UNSET,
1896
- re: /^unset\b/i
1897
- },
1898
- {
1899
- value: PHP.Constants.T_USE,
1900
- re: /^use\b/i
1901
- },
1902
- {
1903
- value: PHP.Constants.T_VAR,
1904
- re: /^var\b/i
1905
- },
1906
- {
1907
- value: PHP.Constants.T_WHILE,
1908
- re: /^while\b/i
1909
- },
1910
- {
1911
- value: PHP.Constants.T_LOGICAL_XOR,
1912
- re: /^xor\b/i
1913
- },
1914
- {
1915
- value: PHP.Constants.T_YIELD_FROM,
1916
- re: /^yield\s+from\b/i
1917
- },
1918
- {
1919
- value: PHP.Constants.T_YIELD,
1920
- re: /^yield\b/i
1921
- },
1922
- {
1923
- value: PHP.Constants.T_RETURN,
1924
- re: /^return\b/i
1925
- },
1926
- {
1927
- value: PHP.Constants.T_METHOD_C,
1928
- re: /^__METHOD__\b/i
1929
- },
1930
- {
1931
- value: PHP.Constants.T_LINE,
1932
- re: /^__LINE__\b/i
1933
- },
1934
- {
1935
- value: PHP.Constants.T_FILE,
1936
- re: /^__FILE__\b/i
1937
- },
1938
- {
1939
- value: PHP.Constants.T_FUNC_C,
1940
- re: /^__FUNCTION__\b/i
1941
- },
1942
- {
1943
- value: PHP.Constants.T_NS_C,
1944
- re: /^__NAMESPACE__\b/i
1945
- },
1946
- {
1947
- value: PHP.Constants.T_TRAIT_C,
1948
- re: /^__TRAIT__\b/i
1949
- },
1950
- {
1951
- value: PHP.Constants.T_DIR,
1952
- re: /^__DIR__\b/i
1953
- },
1954
- {
1955
- value: PHP.Constants.T_CLASS_C,
1956
- re: /^__CLASS__\b/i
1957
- },
1958
- {
1959
- value: PHP.Constants.T_AND_EQUAL,
1960
- re: /^&=/
1961
- },
1962
- {
1963
- value: PHP.Constants.T_ARRAY_CAST,
1964
- re: /^\([ \t]*array[ \t]*\)/i
1965
- },
1966
- {
1967
- value: PHP.Constants.T_BOOL_CAST,
1968
- re: /^\([ \t]*(?:bool|boolean)[ \t]*\)/i
1969
- },
1970
- {
1971
- value: PHP.Constants.T_DOUBLE_CAST,
1972
- re: /^\([ \t]*(?:real|float|double)[ \t]*\)/i
1973
- },
1974
- {
1975
- value: PHP.Constants.T_INT_CAST,
1976
- re: /^\([ \t]*(?:int|integer)[ \t]*\)/i
1977
- },
1978
- {
1979
- value: PHP.Constants.T_OBJECT_CAST,
1980
- re: /^\([ \t]*object[ \t]*\)/i
1981
- },
1982
- {
1983
- value: PHP.Constants.T_STRING_CAST,
1984
- re: /^\([ \t]*(?:binary|string)[ \t]*\)/i
1985
- },
1986
- {
1987
- value: PHP.Constants.T_UNSET_CAST,
1988
- re: /^\([ \t]*unset[ \t]*\)/i
1989
- },
1990
- {
1991
- value: PHP.Constants.T_BOOLEAN_AND,
1992
- re: /^&&/
1993
- },
1994
- {
1995
- value: PHP.Constants.T_BOOLEAN_OR,
1996
- re: /^\|\|/
1997
- },
1998
- {
1999
- value: PHP.Constants.T_CLOSE_TAG,
2000
- re: /^(?:\?>|<\/script>)(\r\n|\r|\n)?/i,
2001
- func: function() {
2002
- swapState('INITIAL');
2003
- }
2004
- },
2005
- {
2006
- value: PHP.Constants.T_DOUBLE_ARROW,
2007
- re: /^=>/
2008
- },
2009
- {
2010
- value: PHP.Constants.T_PAAMAYIM_NEKUDOTAYIM,
2011
- re: /^::/
2012
- },
2013
- {
2014
- value: PHP.Constants.T_INC,
2015
- re: /^\+\+/
2016
- },
2017
- {
2018
- value: PHP.Constants.T_DEC,
2019
- re: /^--/
2020
- },
2021
- {
2022
- value: PHP.Constants.T_CONCAT_EQUAL,
2023
- re: /^\.=/
2024
- },
2025
- {
2026
- value: PHP.Constants.T_DIV_EQUAL,
2027
- re: /^\/=/
2028
- },
2029
- {
2030
- value: PHP.Constants.T_XOR_EQUAL,
2031
- re: /^\^=/
2032
- },
2033
- {
2034
- value: PHP.Constants.T_MUL_EQUAL,
2035
- re: /^\*=/
2036
- },
2037
- {
2038
- value: PHP.Constants.T_MOD_EQUAL,
2039
- re: /^%=/
2040
- },
2041
- {
2042
- value: PHP.Constants.T_SL_EQUAL,
2043
- re: /^<<=/
2044
- },
2045
- {
2046
- value: PHP.Constants.T_START_HEREDOC,
2047
- re: new RegExp('^[bB]?<<<[ \\t]*\'(' + labelRegexPart + ')\'(?:\\r\\n|\\r|\\n)'),
2048
- func: function(result) {
2049
- heredoc = result[1];
2050
- swapState('NOWDOC');
2051
- }
2052
- },
2053
- {
2054
- value: PHP.Constants.T_START_HEREDOC,
2055
- re: new RegExp('^[bB]?<<<[ \\t]*("?)(' + labelRegexPart + ')\\1(?:\\r\\n|\\r|\\n)'),
2056
- func: function(result) {
2057
- heredoc = result[2];
2058
- heredocEndAllowed = true;
2059
- swapState('HEREDOC');
2060
- }
2061
- },
2062
- {
2063
- value: PHP.Constants.T_SL,
2064
- re: /^<</
2065
- },
2066
- {
2067
- value: PHP.Constants.T_SPACESHIP,
2068
- re: /^<=>/
2069
- },
2070
- {
2071
- value: PHP.Constants.T_IS_SMALLER_OR_EQUAL,
2072
- re: /^<=/
2073
- },
2074
- {
2075
- value: PHP.Constants.T_SR_EQUAL,
2076
- re: /^>>=/
2077
- },
2078
- {
2079
- value: PHP.Constants.T_SR,
2080
- re: /^>>/
2081
- },
2082
- {
2083
- value: PHP.Constants.T_IS_GREATER_OR_EQUAL,
2084
- re: /^>=/
2085
- },
2086
- {
2087
- value: PHP.Constants.T_OR_EQUAL,
2088
- re: /^\|=/
2089
- },
2090
- {
2091
- value: PHP.Constants.T_PLUS_EQUAL,
2092
- re: /^\+=/
2093
- },
2094
- {
2095
- value: PHP.Constants.T_MINUS_EQUAL,
2096
- re: /^-=/
2097
- },
2098
- {
2099
- value: PHP.Constants.T_OBJECT_OPERATOR,
2100
- re: new RegExp('^->(?=[ \n\r\t]*' + labelRegexPart + ')'),
2101
- func: function() {
2102
- pushState('LOOKING_FOR_PROPERTY');
2103
- }
2104
- },
2105
- {
2106
- value: PHP.Constants.T_OBJECT_OPERATOR,
2107
- re: /^->/i
2108
- },
2109
- {
2110
- value: PHP.Constants.T_ELLIPSIS,
2111
- re: /^\.\.\./
2112
- },
2113
- {
2114
- value: PHP.Constants.T_POW_EQUAL,
2115
- re: /^\*\*=/
2116
- },
2117
- {
2118
- value: PHP.Constants.T_POW,
2119
- re: /^\*\*/
2120
- },
2121
- {
2122
- value: PHP.Constants.T_COALESCE,
2123
- re: /^\?\?/
2124
- },
2125
- {
2126
- value: PHP.Constants.T_COMMENT,
2127
- re: /^\/\*([\S\s]*?)(?:\*\/|$)/
2128
- },
2129
- {
2130
- value: PHP.Constants.T_COMMENT,
2131
- re: /^(?:\/\/|#)[^\r\n?]*(?:\?(?!>)[^\r\n?]*)*(?:\r\n|\r|\n)?/
2132
- },
2133
- {
2134
- value: PHP.Constants.T_IS_IDENTICAL,
2135
- re: /^===/
2136
- },
2137
- {
2138
- value: PHP.Constants.T_IS_EQUAL,
2139
- re: /^==/
2140
- },
2141
- {
2142
- value: PHP.Constants.T_IS_NOT_IDENTICAL,
2143
- re: /^!==/
2144
- },
2145
- {
2146
- value: PHP.Constants.T_IS_NOT_EQUAL,
2147
- re: /^(!=|<>)/
2148
- },
2149
- {
2150
- value: PHP.Constants.T_DNUMBER,
2151
- re: /^(?:[0-9]+\.[0-9]*|\.[0-9]+)(?:[eE][+-]?[0-9]+)?/
2152
- },
2153
- {
2154
- value: PHP.Constants.T_DNUMBER,
2155
- re: /^[0-9]+[eE][+-]?[0-9]+/
2156
- },
2157
- {
2158
- value: PHP.Constants.T_LNUMBER,
2159
- re: /^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i
2160
- },
2161
- {
2162
- value: PHP.Constants.T_VARIABLE,
2163
- re: new RegExp('^\\$' + labelRegexPart)
2164
- },
2165
- {
2166
- value: PHP.Constants.T_CONSTANT_ENCAPSED_STRING,
2167
- re: /^[bB]?'[^'\\]*(?:\\[\s\S][^'\\]*)*'/,
2168
- },
2169
- {
2170
- value: PHP.Constants.T_CONSTANT_ENCAPSED_STRING,
2171
- re: new RegExp('^[bB]?"' + stringRegexPart('"') + '"')
2172
- },
2173
- {
2174
- value: -1,
2175
- re: /^[bB]?"/,
2176
- func: function() {
2177
- swapState('DOUBLE_QUOTES');
2178
- }
2179
- },
2180
- {
2181
- value: -1,
2182
- re: /^`/,
2183
- func: function() {
2184
- swapState('BACKTICKS');
2185
- }
2186
- },
2187
- {
2188
- value: PHP.Constants.T_NS_SEPARATOR,
2189
- re: /^\\/
2190
- },
2191
- {
2192
- value: PHP.Constants.T_STRING,
2193
- re: /^[a-zA-Z_\x7f-\uffff][a-zA-Z0-9_\x7f-\uffff]*/
2194
- },
2195
- {
2196
- value: -1,
2197
- re: /^\{/,
2198
- func: function() {
2199
- pushState('IN_SCRIPTING');
2200
- }
2201
- },
2202
- {
2203
- value: -1,
2204
- re: /^\}/,
2205
- func: function() {
2206
- if (stackPos > 0) {
2207
- popState();
2208
- }
2209
- }
2210
- },
2211
- {
2212
- value: -1,
2213
- re: /^[\[\];:?()!.,><=+-/*|&@^%"'$~]/
2214
- }
2215
- ],
2216
- 'DOUBLE_QUOTES': sharedStringTokens.concat([
2217
- {
2218
- value: -1,
2219
- re: /^"/,
2220
- func: function() {
2221
- swapState('IN_SCRIPTING');
2222
- }
2223
- },
2224
- {
2225
- value: PHP.Constants.T_ENCAPSED_AND_WHITESPACE,
2226
- re: new RegExp('^' + stringRegexPart('"'))
2227
- }
2228
- ]),
2229
- 'BACKTICKS': sharedStringTokens.concat([
2230
- {
2231
- value: -1,
2232
- re: /^`/,
2233
- func: function() {
2234
- swapState('IN_SCRIPTING');
2235
- }
2236
- },
2237
- {
2238
- value: PHP.Constants.T_ENCAPSED_AND_WHITESPACE,
2239
- re: new RegExp('^' + stringRegexPart('`'))
2240
- }
2241
- ]),
2242
- 'VAR_OFFSET': [
2243
- {
2244
- value: -1,
2245
- re: /^\]/,
2246
- func: function() {
2247
- popState();
2248
- }
2249
- },
2250
- {
2251
- value: PHP.Constants.T_NUM_STRING,
2252
- re: /^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i
2253
- },
2254
- {
2255
- value: PHP.Constants.T_VARIABLE,
2256
- re: new RegExp('^\\$' + labelRegexPart)
2257
- },
2258
- {
2259
- value: PHP.Constants.T_STRING,
2260
- re: new RegExp('^' + labelRegexPart)
2261
- },
2262
- {
2263
- value: -1,
2264
- re: /^[;:,.\[()|^&+-/*=%!~$<>?@{}"`]/
2265
- }
2266
- ],
2267
- 'LOOKING_FOR_PROPERTY': [
2268
- {
2269
- value: PHP.Constants.T_OBJECT_OPERATOR,
2270
- re: /^->/
2271
- },
2272
- {
2273
- value: PHP.Constants.T_STRING,
2274
- re: new RegExp('^' + labelRegexPart),
2275
- func: function() {
2276
- popState();
2277
- }
2278
- },
2279
- {
2280
- value: PHP.Constants.T_WHITESPACE,
2281
- re: /^[ \n\r\t]+/
2282
- }
2283
- ],
2284
- 'LOOKING_FOR_VARNAME': [
2285
- {
2286
- value: PHP.Constants.T_STRING_VARNAME,
2287
- re: new RegExp('^' + labelRegexPart + '(?=[\\[}])'),
2288
- func: function() {
2289
- swapState('IN_SCRIPTING');
2290
- }
2291
- }
2292
- ],
2293
- 'NOWDOC': [
2294
- {
2295
- value: PHP.Constants.T_END_HEREDOC,
2296
- matchFunc: function(src) {
2297
- var re = new RegExp('^' + heredoc + '(?=;?[\\r\\n])');
2298
- if (src.match(re)) {
2299
- return [src.substr(0, heredoc.length)];
2300
- } else {
2301
- return null;
2302
- }
2303
- },
2304
- func: function() {
2305
- swapState('IN_SCRIPTING');
2306
- }
2307
- },
2308
- {
2309
- value: PHP.Constants.T_ENCAPSED_AND_WHITESPACE,
2310
- matchFunc: function(src) {
2311
- var re = new RegExp('[\\r\\n]' + heredoc + '(?=;?[\\r\\n])');
2312
- var result = re.exec(src);
2313
- var end = result ? result.index + 1 : src.length;
2314
- return [src.substring(0, end)];
2315
- }
2316
- }
2317
- ],
2318
- 'HEREDOC': sharedStringTokens.concat([
2319
- {
2320
- value: PHP.Constants.T_END_HEREDOC,
2321
- matchFunc: function(src) {
2322
- if (!heredocEndAllowed) {
2323
- return null;
2324
- }
2325
- var re = new RegExp('^' + heredoc + '(?=;?[\\r\\n])');
2326
- if (src.match(re)) {
2327
- return [src.substr(0, heredoc.length)];
2328
- } else {
2329
- return null;
2330
- }
2331
- },
2332
- func: function() {
2333
- swapState('IN_SCRIPTING');
2334
- }
2335
- },
2336
- {
2337
- value: PHP.Constants.T_ENCAPSED_AND_WHITESPACE,
2338
- matchFunc: function(src) {
2339
- var end = src.length;
2340
- var re = new RegExp('^' + stringRegexPart(''));
2341
- var result = re.exec(src);
2342
- if (result) {
2343
- end = result[0].length;
2344
- }
2345
- re = new RegExp('([\\r\\n])' + heredoc + '(?=;?[\\r\\n])');
2346
- result = re.exec(src.substring(0, end));
2347
- if (result) {
2348
- end = result.index + 1;
2349
- heredocEndAllowed = true;
2350
- } else {
2351
- heredocEndAllowed = false;
2352
- }
2353
- if (end == 0) {
2354
- return null;
2355
- }
2356
- return [src.substring(0, end)];
2357
- }
2358
- }
2359
- ])
2360
- };
2361
-
2362
- var results = [],
2363
- line = 1,
2364
- cancel = true;
2365
-
2366
- if (src === null) {
2367
- return results;
2368
- }
2369
-
2370
- if (typeof src !== "string") {
2371
- src = src.toString();
2372
- }
2373
-
2374
- while (src.length > 0 && cancel === true) {
2375
- var state = stateStack[stackPos];
2376
- var tokens = data[state];
2377
- cancel = tokens.some(function(token){
2378
- var result = token.matchFunc !== undefined
2379
- ? token.matchFunc(src)
2380
- : src.match(token.re);
2381
- if (result !== null) {
2382
- if (result[0].length == 0) {
2383
- throw new Error("empty match");
2384
- }
2385
-
2386
- if (token.func !== undefined) {
2387
- token.func(result);
2388
- }
2389
-
2390
- if (token.value === -1) {
2391
- results.push(result[0]);
2392
- } else {
2393
- var resultString = result[0];
2394
- results.push([
2395
- parseInt(token.value, 10),
2396
- resultString,
2397
- line
2398
- ]);
2399
- line += resultString.split('\n').length - 1;
2400
- }
2401
-
2402
- src = src.substring(result[0].length);
2403
-
2404
- return true;
2405
- }
2406
- return false;
2407
- });
2408
- }
2409
-
2410
- return results;
2411
- };
2412
-
2413
-
2414
- PHP.Parser = function ( preprocessedTokens, evaluate ) {
2415
-
2416
- var yybase = this.yybase,
2417
- yydefault = this.yydefault,
2418
- yycheck = this.yycheck,
2419
- yyaction = this.yyaction,
2420
- yylen = this.yylen,
2421
- yygbase = this.yygbase,
2422
- yygcheck = this.yygcheck,
2423
- yyp = this.yyp,
2424
- yygoto = this.yygoto,
2425
- yylhs = this.yylhs,
2426
- terminals = this.terminals,
2427
- translate = this.translate,
2428
- yygdefault = this.yygdefault;
2429
-
2430
-
2431
- this.pos = -1;
2432
- this.line = 1;
2433
-
2434
- this.tokenMap = this.createTokenMap( );
2435
-
2436
- this.dropTokens = {};
2437
- this.dropTokens[ PHP.Constants.T_WHITESPACE ] = 1;
2438
- this.dropTokens[ PHP.Constants.T_OPEN_TAG ] = 1;
2439
- var tokens = [];
2440
- preprocessedTokens.forEach( function( token, index ) {
2441
- if ( typeof token === "object" && token[ 0 ] === PHP.Constants.T_OPEN_TAG_WITH_ECHO) {
2442
- tokens.push([
2443
- PHP.Constants.T_OPEN_TAG,
2444
- token[ 1 ],
2445
- token[ 2 ]
2446
- ]);
2447
- tokens.push([
2448
- PHP.Constants.T_ECHO,
2449
- token[ 1 ],
2450
- token[ 2 ]
2451
- ]);
2452
- } else {
2453
- tokens.push( token );
2454
- }
2455
- });
2456
- this.tokens = tokens;
2457
- var tokenId = this.TOKEN_NONE;
2458
- this.startAttributes = {
2459
- 'startLine': 1
2460
- };
2461
-
2462
- this.endAttributes = {};
2463
- var attributeStack = [ this.startAttributes ];
2464
- var state = 0;
2465
- var stateStack = [ state ];
2466
- this.yyastk = [];
2467
- this.stackPos = 0;
2468
-
2469
- var yyn;
2470
-
2471
- var origTokenId;
2472
-
2473
-
2474
- for (;;) {
2475
-
2476
- if ( yybase[ state ] === 0 ) {
2477
- yyn = yydefault[ state ];
2478
- } else {
2479
- if (tokenId === this.TOKEN_NONE ) {
2480
- origTokenId = this.getNextToken( );
2481
- tokenId = (origTokenId >= 0 && origTokenId < this.TOKEN_MAP_SIZE) ? translate[ origTokenId ] : this.TOKEN_INVALID;
2482
-
2483
- attributeStack[ this.stackPos ] = this.startAttributes;
2484
- }
2485
-
2486
- if (((yyn = yybase[ state ] + tokenId) >= 0
2487
- && yyn < this.YYLAST && yycheck[ yyn ] === tokenId
2488
- || (state < this.YY2TBLSTATE
2489
- && (yyn = yybase[state + this.YYNLSTATES] + tokenId) >= 0
2490
- && yyn < this.YYLAST
2491
- && yycheck[ yyn ] === tokenId))
2492
- && (yyn = yyaction[ yyn ]) !== this.YYDEFAULT ) {
2493
- if (yyn > 0) {
2494
- ++this.stackPos;
2495
-
2496
- stateStack[ this.stackPos ] = state = yyn;
2497
- this.yyastk[ this.stackPos ] = this.tokenValue;
2498
- attributeStack[ this.stackPos ] = this.startAttributes;
2499
- tokenId = this.TOKEN_NONE;
2500
-
2501
- if (yyn < this.YYNLSTATES)
2502
- continue;
2503
- yyn -= this.YYNLSTATES;
2504
- } else {
2505
- yyn = -yyn;
2506
- }
2507
- } else {
2508
- yyn = yydefault[ state ];
2509
- }
2510
- }
2511
-
2512
- for (;;) {
2513
-
2514
- if ( yyn === 0 ) {
2515
- return this.yyval;
2516
- } else if (yyn !== this.YYUNEXPECTED ) {
2517
- for (var attr in this.endAttributes) {
2518
- attributeStack[ this.stackPos - yylen[ yyn ] ][ attr ] = this.endAttributes[ attr ];
2519
- }
2520
- this.stackPos -= yylen[ yyn ];
2521
- yyn = yylhs[ yyn ];
2522
- if ((yyp = yygbase[ yyn ] + stateStack[ this.stackPos ]) >= 0
2523
- && yyp < this.YYGLAST
2524
- && yygcheck[ yyp ] === yyn) {
2525
- state = yygoto[ yyp ];
2526
- } else {
2527
- state = yygdefault[ yyn ];
2528
- }
2529
-
2530
- ++this.stackPos;
2531
-
2532
- stateStack[ this.stackPos ] = state;
2533
- this.yyastk[ this.stackPos ] = this.yyval;
2534
- attributeStack[ this.stackPos ] = this.startAttributes;
2535
- } else {
2536
- if (evaluate !== true) {
2537
-
2538
- var expected = [];
2539
-
2540
- for (var i = 0; i < this.TOKEN_MAP_SIZE; ++i) {
2541
- if ((yyn = yybase[ state ] + i) >= 0 && yyn < this.YYLAST && yycheck[ yyn ] == i
2542
- || state < this.YY2TBLSTATE
2543
- && (yyn = yybase[ state + this.YYNLSTATES] + i)
2544
- && yyn < this.YYLAST && yycheck[ yyn ] == i
2545
- ) {
2546
- if (yyaction[ yyn ] != this.YYUNEXPECTED) {
2547
- if (expected.length == 4) {
2548
- expected = [];
2549
- break;
2550
- }
2551
-
2552
- expected.push( this.terminals[ i ] );
2553
- }
2554
- }
2555
- }
2556
-
2557
- var expectedString = '';
2558
- if (expected.length) {
2559
- expectedString = ', expecting ' + expected.join(' or ');
2560
- }
2561
- throw new PHP.ParseError('syntax error, unexpected ' + terminals[ tokenId ] + expectedString, this.startAttributes['startLine']);
2562
- } else {
2563
- return this.startAttributes['startLine'];
2564
- }
2565
-
2566
- }
2567
-
2568
- if (state < this.YYNLSTATES)
2569
- break;
2570
- yyn = state - this.YYNLSTATES;
2571
- }
2572
- }
2573
- };
2574
-
2575
- PHP.ParseError = function( msg, line ) {
2576
- this.message = msg;
2577
- this.line = line;
2578
- };
2579
-
2580
- PHP.Parser.prototype.getNextToken = function( ) {
2581
-
2582
- this.startAttributes = {};
2583
- this.endAttributes = {};
2584
-
2585
- var token,
2586
- tmp;
2587
-
2588
- while (this.tokens[++this.pos] !== undefined) {
2589
- token = this.tokens[this.pos];
2590
-
2591
- if (typeof token === "string") {
2592
- this.startAttributes['startLine'] = this.line;
2593
- this.endAttributes['endLine'] = this.line;
2594
- if ('b"' === token) {
2595
- this.tokenValue = 'b"';
2596
- return '"'.charCodeAt(0);
2597
- } else {
2598
- this.tokenValue = token;
2599
- return token.charCodeAt(0);
2600
- }
2601
- } else {
2602
-
2603
-
2604
-
2605
- this.line += ((tmp = token[ 1 ].match(/\n/g)) === null) ? 0 : tmp.length;
2606
-
2607
- if (PHP.Constants.T_COMMENT === token[0]) {
2608
-
2609
- if (!Array.isArray(this.startAttributes['comments'])) {
2610
- this.startAttributes['comments'] = [];
2611
- }
2612
-
2613
- this.startAttributes['comments'].push( {
2614
- type: "comment",
2615
- comment: token[1],
2616
- line: token[2]
2617
- });
2618
-
2619
- } else if (PHP.Constants.T_DOC_COMMENT === token[0]) {
2620
- this.startAttributes['comments'].push( new PHPParser_Comment_Doc(token[1], token[2]) );
2621
- } else if (this.dropTokens[token[0]] === undefined) {
2622
- this.tokenValue = token[1];
2623
- this.startAttributes['startLine'] = token[2];
2624
- this.endAttributes['endLine'] = this.line;
2625
-
2626
- return this.tokenMap[token[0]];
2627
- }
2628
- }
2629
- }
2630
-
2631
- this.startAttributes['startLine'] = this.line;
2632
- return 0;
2633
- };
2634
-
2635
- PHP.Parser.prototype.tokenName = function( token ) {
2636
- var constants = ["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_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_CHARACTER","T_BAD_CHARACTER","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_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_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_EXTENDS","T_IMPLEMENTS","T_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_COMMENT","T_DOC_COMMENT","T_OPEN_TAG","T_OPEN_TAG_WITH_ECHO","T_CLOSE_TAG","T_WHITESPACE","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"];
2637
- var current = "UNKNOWN";
2638
- constants.some(function( constant ) {
2639
- if (PHP.Constants[ constant ] === token) {
2640
- current = constant;
2641
- return true;
2642
- } else {
2643
- return false;
2644
- }
2645
- });
2646
-
2647
- return current;
2648
- };
2649
-
2650
- PHP.Parser.prototype.createTokenMap = function() {
2651
- var tokenMap = {},
2652
- name,
2653
- i;
2654
- for ( i = 256; i < 1000; ++i ) {
2655
- if( PHP.Constants.T_OPEN_TAG_WITH_ECHO === i ) {
2656
- tokenMap[ i ] = PHP.Constants.T_ECHO;
2657
- } else if( PHP.Constants.T_CLOSE_TAG === i ) {
2658
- tokenMap[ i ] = 59;
2659
- } else if ( 'UNKNOWN' !== (name = this.tokenName( i ) ) ) {
2660
- tokenMap[ i ] = this[name];
2661
- }
2662
- }
2663
- return tokenMap;
2664
- };
2665
-
2666
- PHP.Parser.prototype.TOKEN_NONE = -1;
2667
- PHP.Parser.prototype.TOKEN_INVALID = 159;
2668
-
2669
- PHP.Parser.prototype.TOKEN_MAP_SIZE = 394;
2670
-
2671
- PHP.Parser.prototype.YYLAST = 964;
2672
- PHP.Parser.prototype.YY2TBLSTATE = 348;
2673
- PHP.Parser.prototype.YYGLAST = 508;
2674
- PHP.Parser.prototype.YYNLSTATES = 602;
2675
- PHP.Parser.prototype.YYUNEXPECTED = 32767;
2676
- PHP.Parser.prototype.YYDEFAULT = -32766;
2677
- PHP.Parser.prototype.YYERRTOK = 256;
2678
- PHP.Parser.prototype.T_INCLUDE = 257;
2679
- PHP.Parser.prototype.T_INCLUDE_ONCE = 258;
2680
- PHP.Parser.prototype.T_EVAL = 259;
2681
- PHP.Parser.prototype.T_REQUIRE = 260;
2682
- PHP.Parser.prototype.T_REQUIRE_ONCE = 261;
2683
- PHP.Parser.prototype.T_LOGICAL_OR = 262;
2684
- PHP.Parser.prototype.T_LOGICAL_XOR = 263;
2685
- PHP.Parser.prototype.T_LOGICAL_AND = 264;
2686
- PHP.Parser.prototype.T_PRINT = 265;
2687
- PHP.Parser.prototype.T_YIELD = 266;
2688
- PHP.Parser.prototype.T_DOUBLE_ARROW = 267;
2689
- PHP.Parser.prototype.T_YIELD_FROM = 268;
2690
- PHP.Parser.prototype.T_PLUS_EQUAL = 269;
2691
- PHP.Parser.prototype.T_MINUS_EQUAL = 270;
2692
- PHP.Parser.prototype.T_MUL_EQUAL = 271;
2693
- PHP.Parser.prototype.T_DIV_EQUAL = 272;
2694
- PHP.Parser.prototype.T_CONCAT_EQUAL = 273;
2695
- PHP.Parser.prototype.T_MOD_EQUAL = 274;
2696
- PHP.Parser.prototype.T_AND_EQUAL = 275;
2697
- PHP.Parser.prototype.T_OR_EQUAL = 276;
2698
- PHP.Parser.prototype.T_XOR_EQUAL = 277;
2699
- PHP.Parser.prototype.T_SL_EQUAL = 278;
2700
- PHP.Parser.prototype.T_SR_EQUAL = 279;
2701
- PHP.Parser.prototype.T_POW_EQUAL = 280;
2702
- PHP.Parser.prototype.T_COALESCE_EQUAL = 281;
2703
- PHP.Parser.prototype.T_COALESCE = 282;
2704
- PHP.Parser.prototype.T_BOOLEAN_OR = 283;
2705
- PHP.Parser.prototype.T_BOOLEAN_AND = 284;
2706
- PHP.Parser.prototype.T_IS_EQUAL = 285;
2707
- PHP.Parser.prototype.T_IS_NOT_EQUAL = 286;
2708
- PHP.Parser.prototype.T_IS_IDENTICAL = 287;
2709
- PHP.Parser.prototype.T_IS_NOT_IDENTICAL = 288;
2710
- PHP.Parser.prototype.T_SPACESHIP = 289;
2711
- PHP.Parser.prototype.T_IS_SMALLER_OR_EQUAL = 290;
2712
- PHP.Parser.prototype.T_IS_GREATER_OR_EQUAL = 291;
2713
- PHP.Parser.prototype.T_SL = 292;
2714
- PHP.Parser.prototype.T_SR = 293;
2715
- PHP.Parser.prototype.T_INSTANCEOF = 294;
2716
- PHP.Parser.prototype.T_INC = 295;
2717
- PHP.Parser.prototype.T_DEC = 296;
2718
- PHP.Parser.prototype.T_INT_CAST = 297;
2719
- PHP.Parser.prototype.T_DOUBLE_CAST = 298;
2720
- PHP.Parser.prototype.T_STRING_CAST = 299;
2721
- PHP.Parser.prototype.T_ARRAY_CAST = 300;
2722
- PHP.Parser.prototype.T_OBJECT_CAST = 301;
2723
- PHP.Parser.prototype.T_BOOL_CAST = 302;
2724
- PHP.Parser.prototype.T_UNSET_CAST = 303;
2725
- PHP.Parser.prototype.T_POW = 304;
2726
- PHP.Parser.prototype.T_NEW = 305;
2727
- PHP.Parser.prototype.T_CLONE = 306;
2728
- PHP.Parser.prototype.T_EXIT = 307;
2729
- PHP.Parser.prototype.T_IF = 308;
2730
- PHP.Parser.prototype.T_ELSEIF = 309;
2731
- PHP.Parser.prototype.T_ELSE = 310;
2732
- PHP.Parser.prototype.T_ENDIF = 311;
2733
- PHP.Parser.prototype.T_LNUMBER = 312;
2734
- PHP.Parser.prototype.T_DNUMBER = 313;
2735
- PHP.Parser.prototype.T_STRING = 314;
2736
- PHP.Parser.prototype.T_STRING_VARNAME = 315;
2737
- PHP.Parser.prototype.T_VARIABLE = 316;
2738
- PHP.Parser.prototype.T_NUM_STRING = 317;
2739
- PHP.Parser.prototype.T_INLINE_HTML = 318;
2740
- PHP.Parser.prototype.T_CHARACTER = 319;
2741
- PHP.Parser.prototype.T_BAD_CHARACTER = 320;
2742
- PHP.Parser.prototype.T_ENCAPSED_AND_WHITESPACE = 321;
2743
- PHP.Parser.prototype.T_CONSTANT_ENCAPSED_STRING = 322;
2744
- PHP.Parser.prototype.T_ECHO = 323;
2745
- PHP.Parser.prototype.T_DO = 324;
2746
- PHP.Parser.prototype.T_WHILE = 325;
2747
- PHP.Parser.prototype.T_ENDWHILE = 326;
2748
- PHP.Parser.prototype.T_FOR = 327;
2749
- PHP.Parser.prototype.T_ENDFOR = 328;
2750
- PHP.Parser.prototype.T_FOREACH = 329;
2751
- PHP.Parser.prototype.T_ENDFOREACH = 330;
2752
- PHP.Parser.prototype.T_DECLARE = 331;
2753
- PHP.Parser.prototype.T_ENDDECLARE = 332;
2754
- PHP.Parser.prototype.T_AS = 333;
2755
- PHP.Parser.prototype.T_SWITCH = 334;
2756
- PHP.Parser.prototype.T_ENDSWITCH = 335;
2757
- PHP.Parser.prototype.T_CASE = 336;
2758
- PHP.Parser.prototype.T_DEFAULT = 337;
2759
- PHP.Parser.prototype.T_BREAK = 338;
2760
- PHP.Parser.prototype.T_CONTINUE = 339;
2761
- PHP.Parser.prototype.T_GOTO = 340;
2762
- PHP.Parser.prototype.T_FUNCTION = 341;
2763
- PHP.Parser.prototype.T_FN = 342;
2764
- PHP.Parser.prototype.T_CONST = 343;
2765
- PHP.Parser.prototype.T_RETURN = 344;
2766
- PHP.Parser.prototype.T_TRY = 345;
2767
- PHP.Parser.prototype.T_CATCH = 346;
2768
- PHP.Parser.prototype.T_FINALLY = 347;
2769
- PHP.Parser.prototype.T_THROW = 348;
2770
- PHP.Parser.prototype.T_USE = 349;
2771
- PHP.Parser.prototype.T_INSTEADOF = 350;
2772
- PHP.Parser.prototype.T_GLOBAL = 351;
2773
- PHP.Parser.prototype.T_STATIC = 352;
2774
- PHP.Parser.prototype.T_ABSTRACT = 353;
2775
- PHP.Parser.prototype.T_FINAL = 354;
2776
- PHP.Parser.prototype.T_PRIVATE = 355;
2777
- PHP.Parser.prototype.T_PROTECTED = 356;
2778
- PHP.Parser.prototype.T_PUBLIC = 357;
2779
- PHP.Parser.prototype.T_VAR = 358;
2780
- PHP.Parser.prototype.T_UNSET = 359;
2781
- PHP.Parser.prototype.T_ISSET = 360;
2782
- PHP.Parser.prototype.T_EMPTY = 361;
2783
- PHP.Parser.prototype.T_HALT_COMPILER = 362;
2784
- PHP.Parser.prototype.T_CLASS = 363;
2785
- PHP.Parser.prototype.T_TRAIT = 364;
2786
- PHP.Parser.prototype.T_INTERFACE = 365;
2787
- PHP.Parser.prototype.T_EXTENDS = 366;
2788
- PHP.Parser.prototype.T_IMPLEMENTS = 367;
2789
- PHP.Parser.prototype.T_OBJECT_OPERATOR = 368;
2790
- PHP.Parser.prototype.T_LIST = 369;
2791
- PHP.Parser.prototype.T_ARRAY = 370;
2792
- PHP.Parser.prototype.T_CALLABLE = 371;
2793
- PHP.Parser.prototype.T_CLASS_C = 372;
2794
- PHP.Parser.prototype.T_TRAIT_C = 373;
2795
- PHP.Parser.prototype.T_METHOD_C = 374;
2796
- PHP.Parser.prototype.T_FUNC_C = 375;
2797
- PHP.Parser.prototype.T_LINE = 376;
2798
- PHP.Parser.prototype.T_FILE = 377;
2799
- PHP.Parser.prototype.T_COMMENT = 378;
2800
- PHP.Parser.prototype.T_DOC_COMMENT = 379;
2801
- PHP.Parser.prototype.T_OPEN_TAG = 380;
2802
- PHP.Parser.prototype.T_OPEN_TAG_WITH_ECHO = 381;
2803
- PHP.Parser.prototype.T_CLOSE_TAG = 382;
2804
- PHP.Parser.prototype.T_WHITESPACE = 383;
2805
- PHP.Parser.prototype.T_START_HEREDOC = 384;
2806
- PHP.Parser.prototype.T_END_HEREDOC = 385;
2807
- PHP.Parser.prototype.T_DOLLAR_OPEN_CURLY_BRACES = 386;
2808
- PHP.Parser.prototype.T_CURLY_OPEN = 387;
2809
- PHP.Parser.prototype.T_PAAMAYIM_NEKUDOTAYIM = 388;
2810
- PHP.Parser.prototype.T_NAMESPACE = 389;
2811
- PHP.Parser.prototype.T_NS_C = 390;
2812
- PHP.Parser.prototype.T_DIR = 391;
2813
- PHP.Parser.prototype.T_NS_SEPARATOR = 392;
2814
- PHP.Parser.prototype.T_ELLIPSIS = 393;
2815
- PHP.Parser.prototype.terminals = [
2816
- "EOF",
2817
- "error",
2818
- "T_INCLUDE",
2819
- "T_INCLUDE_ONCE",
2820
- "T_EVAL",
2821
- "T_REQUIRE",
2822
- "T_REQUIRE_ONCE",
2823
- "','",
2824
- "T_LOGICAL_OR",
2825
- "T_LOGICAL_XOR",
2826
- "T_LOGICAL_AND",
2827
- "T_PRINT",
2828
- "T_YIELD",
2829
- "T_DOUBLE_ARROW",
2830
- "T_YIELD_FROM",
2831
- "'='",
2832
- "T_PLUS_EQUAL",
2833
- "T_MINUS_EQUAL",
2834
- "T_MUL_EQUAL",
2835
- "T_DIV_EQUAL",
2836
- "T_CONCAT_EQUAL",
2837
- "T_MOD_EQUAL",
2838
- "T_AND_EQUAL",
2839
- "T_OR_EQUAL",
2840
- "T_XOR_EQUAL",
2841
- "T_SL_EQUAL",
2842
- "T_SR_EQUAL",
2843
- "T_POW_EQUAL",
2844
- "T_COALESCE_EQUAL",
2845
- "'?'",
2846
- "':'",
2847
- "T_COALESCE",
2848
- "T_BOOLEAN_OR",
2849
- "T_BOOLEAN_AND",
2850
- "'|'",
2851
- "'^'",
2852
- "'&'",
2853
- "T_IS_EQUAL",
2854
- "T_IS_NOT_EQUAL",
2855
- "T_IS_IDENTICAL",
2856
- "T_IS_NOT_IDENTICAL",
2857
- "T_SPACESHIP",
2858
- "'<'",
2859
- "T_IS_SMALLER_OR_EQUAL",
2860
- "'>'",
2861
- "T_IS_GREATER_OR_EQUAL",
2862
- "T_SL",
2863
- "T_SR",
2864
- "'+'",
2865
- "'-'",
2866
- "'.'",
2867
- "'*'",
2868
- "'/'",
2869
- "'%'",
2870
- "'!'",
2871
- "T_INSTANCEOF",
2872
- "'~'",
2873
- "T_INC",
2874
- "T_DEC",
2875
- "T_INT_CAST",
2876
- "T_DOUBLE_CAST",
2877
- "T_STRING_CAST",
2878
- "T_ARRAY_CAST",
2879
- "T_OBJECT_CAST",
2880
- "T_BOOL_CAST",
2881
- "T_UNSET_CAST",
2882
- "'@'",
2883
- "T_POW",
2884
- "'['",
2885
- "T_NEW",
2886
- "T_CLONE",
2887
- "T_EXIT",
2888
- "T_IF",
2889
- "T_ELSEIF",
2890
- "T_ELSE",
2891
- "T_ENDIF",
2892
- "T_LNUMBER",
2893
- "T_DNUMBER",
2894
- "T_STRING",
2895
- "T_STRING_VARNAME",
2896
- "T_VARIABLE",
2897
- "T_NUM_STRING",
2898
- "T_INLINE_HTML",
2899
- "T_ENCAPSED_AND_WHITESPACE",
2900
- "T_CONSTANT_ENCAPSED_STRING",
2901
- "T_ECHO",
2902
- "T_DO",
2903
- "T_WHILE",
2904
- "T_ENDWHILE",
2905
- "T_FOR",
2906
- "T_ENDFOR",
2907
- "T_FOREACH",
2908
- "T_ENDFOREACH",
2909
- "T_DECLARE",
2910
- "T_ENDDECLARE",
2911
- "T_AS",
2912
- "T_SWITCH",
2913
- "T_ENDSWITCH",
2914
- "T_CASE",
2915
- "T_DEFAULT",
2916
- "T_BREAK",
2917
- "T_CONTINUE",
2918
- "T_GOTO",
2919
- "T_FUNCTION",
2920
- "T_FN",
2921
- "T_CONST",
2922
- "T_RETURN",
2923
- "T_TRY",
2924
- "T_CATCH",
2925
- "T_FINALLY",
2926
- "T_THROW",
2927
- "T_USE",
2928
- "T_INSTEADOF",
2929
- "T_GLOBAL",
2930
- "T_STATIC",
2931
- "T_ABSTRACT",
2932
- "T_FINAL",
2933
- "T_PRIVATE",
2934
- "T_PROTECTED",
2935
- "T_PUBLIC",
2936
- "T_VAR",
2937
- "T_UNSET",
2938
- "T_ISSET",
2939
- "T_EMPTY",
2940
- "T_HALT_COMPILER",
2941
- "T_CLASS",
2942
- "T_TRAIT",
2943
- "T_INTERFACE",
2944
- "T_EXTENDS",
2945
- "T_IMPLEMENTS",
2946
- "T_OBJECT_OPERATOR",
2947
- "T_LIST",
2948
- "T_ARRAY",
2949
- "T_CALLABLE",
2950
- "T_CLASS_C",
2951
- "T_TRAIT_C",
2952
- "T_METHOD_C",
2953
- "T_FUNC_C",
2954
- "T_LINE",
2955
- "T_FILE",
2956
- "T_START_HEREDOC",
2957
- "T_END_HEREDOC",
2958
- "T_DOLLAR_OPEN_CURLY_BRACES",
2959
- "T_CURLY_OPEN",
2960
- "T_PAAMAYIM_NEKUDOTAYIM",
2961
- "T_NAMESPACE",
2962
- "T_NS_C",
2963
- "T_DIR",
2964
- "T_NS_SEPARATOR",
2965
- "T_ELLIPSIS",
2966
- "';'",
2967
- "'{'",
2968
- "'}'",
2969
- "'('",
2970
- "')'",
2971
- "'`'",
2972
- "']'",
2973
- "'\"'",
2974
- "'$'"
2975
- , "???"
2976
- ];
2977
- PHP.Parser.prototype.translate = [
2978
- 0, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2979
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2980
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2981
- 159, 159, 159, 54, 157, 159, 158, 53, 36, 159,
2982
- 153, 154, 51, 48, 7, 49, 50, 52, 159, 159,
2983
- 159, 159, 159, 159, 159, 159, 159, 159, 30, 150,
2984
- 42, 15, 44, 29, 66, 159, 159, 159, 159, 159,
2985
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2986
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2987
- 159, 68, 159, 156, 35, 159, 155, 159, 159, 159,
2988
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2989
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2990
- 159, 159, 159, 151, 34, 152, 56, 159, 159, 159,
2991
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2992
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2993
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2994
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2995
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2996
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2997
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2998
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
2999
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
3000
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
3001
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
3002
- 159, 159, 159, 159, 159, 159, 159, 159, 159, 159,
3003
- 159, 159, 159, 159, 159, 159, 1, 2, 3, 4,
3004
- 5, 6, 8, 9, 10, 11, 12, 13, 14, 16,
3005
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
3006
- 27, 28, 31, 32, 33, 37, 38, 39, 40, 41,
3007
- 43, 45, 46, 47, 55, 57, 58, 59, 60, 61,
3008
- 62, 63, 64, 65, 67, 69, 70, 71, 72, 73,
3009
- 74, 75, 76, 77, 78, 79, 80, 81, 82, 159,
3010
- 159, 83, 84, 85, 86, 87, 88, 89, 90, 91,
3011
- 92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
3012
- 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
3013
- 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
3014
- 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
3015
- 132, 133, 134, 135, 136, 137, 138, 139, 159, 159,
3016
- 159, 159, 159, 159, 140, 141, 142, 143, 144, 145,
3017
- 146, 147, 148, 149
3018
- ];
3019
-
3020
- PHP.Parser.prototype.yyaction = [
3021
- 607, 608, 609, 610, 611, 685, 612, 613, 614, 650,
3022
- 651, 0, 32, 103, 104, 105, 106, 107, 108, 109,
3023
- 110, 111, 112, 113, 114, 115,-32767,-32767,-32767,-32767,
3024
- 94, 95, 96, 97, 98,-32766,-32766,-32766, 687, 491,
3025
- -497, 904, 905, 906, 903, 902, 901, 904, 905, 906,
3026
- 903, 902, 901, 615, 938, 940,-32766, 9,-32766,-32766,
3027
- -32766,-32766,-32766,-32766,-32766,-32766,-32766, 616, 617, 618,
3028
- 619, 620, 621, 622, 333, 1104, 683,-32766,-32766,-32766,
3029
- 846, 1103, 119, 623, 624, 625, 626, 627, 628, 629,
3030
- 630, 631, 632, 633, 653, 654, 655, 656, 657, 645,
3031
- 646, 647, 675, 648, 649, 634, 635, 636, 637, 638,
3032
- 639, 640, 677, 678, 679, 680, 681, 682, 641, 642,
3033
- 643, 644, 674, 665, 663, 664, 660, 661, 402, 652,
3034
- 658, 659, 666, 667, 669, 668, 670, 671, 45, 46,
3035
- 421, 47, 48, 662, 673, 672, 27, 49, 50, 233,
3036
- 51,-32766,-32766,-32766, 96, 97, 98, 24,-32766,-32766,
3037
- -32766, -458, 261, 121, 1023,-32766,-32766,-32766, 1091, 1073,
3038
- -32766,-32766,-32766, 1039,-32766,-32766,-32766,-32766,-32766,-32766,
3039
- -496,-32766,-32766,-32766, 52, 53,-32766, -497,-32766,-32766,
3040
- 54, 687, 55, 231, 232, 56, 57, 58, 59, 60,
3041
- 61, 62, 63, 1016, 24, 242, 64, 369,-32766,-32766,
3042
- -32766, 226, 1040, 1041, 423, 1076, 1073, -493, 880, 508,
3043
- 1039, 436, 1023, -458, 768, 1073, 239, 333, -500,-32766,
3044
- -500,-32766,-32766,-32766,-32766, 856, 253, -458, 276, 378,
3045
- 372, 786, 68, 1073, -458, 685, -461, 278, 1126, 403,
3046
- 289, 1127, 288, 99, 100, 101, 303, 252, 433, 434,
3047
- 822,-32766, 69, 261, 237, 850, 851, 435, 436, 102,
3048
- 1045, 1046, 1047, 1048, 1042, 1043, 256, 1016, -456, -456,
3049
- 306, 444, 1049, 1044, 375, 133, 561, -239, 363, 66,
3050
- 237, 268, 692, 273, 278, 422, -137, -137, -137, -4,
3051
- 768, 1073, 310, 278, 1035, 757, 687, 362, 37, 20,
3052
- 424, -137, 425, -137, 426, -137, 427, -137, 127, 428,
3053
- -295, 278, -295, 38, 39, 370, 371, -496, 271, 40,
3054
- 429, 277, 687, 65, 261, 1016, 302, 896, 430, 431,
3055
- -456, -456, 333, -494, 432, 44, 42, 743, 791, 373,
3056
- 374, -457, -234, 562, -456, -456, 375,-32766,-32766,-32766,
3057
- 882, -456, -456, 124, -493, 75, 850, 851, 333, -273,
3058
- -260, 422, 768, 770, 576, -137, 261, 125,-32766, 278,
3059
- 823, 757, 857, 1073, 37, 20, 424, 240, 425, -178,
3060
- 426, 589, 427, 393, 503, 428, 687, 235, 241, 38,
3061
- 39, 370, 371, 125, 354, 40, 429, 260, 259, 65,
3062
- 267, 687, 302, -457, 430, 431, -296, -177, -296, 24,
3063
- 432, 305, 365, 700, 791, 373, 374, -457, 120, 118,
3064
- 24, 1073, 30, 366, -457, 1039, -460, 850, 851, 687,
3065
- 367, 691, 1073, 422, 291, 768, 1039, 333, -83, 770,
3066
- 576, -4, 467, 757, 126, 368, 37, 20, 424, -92,
3067
- 425, 278, 426, 444, 427, 1016, 375, 428, -219, -219,
3068
- -219, 38, 39, 370, 371, 333, 1016, 40, 429, 850,
3069
- 851, 65, 435, 436, 302, 236, 430, 431, 225, 708,
3070
- -494, 709, 432, 435, 436, 743, 791, 373, 374, 690,
3071
- 387, 136, 1117, 578, 68, 413, 238, 8, 33, 278,
3072
- 1053, 227, 708, 687, 709, 68, 422, -260, 535, 21,
3073
- 278, 770, 576, -219, 550, 551, 757, 687, 116, 37,
3074
- 20, 424, 117, 425, 358, 426, -178, 427, 132, 328,
3075
- 428, -218, -218, -218, 38, 39, 370, 371, 687, 333,
3076
- 40, 429, 122, 768, 65, 383, 384, 302, 123, 430,
3077
- 431, 29, 234, 333, -177, 432, 528, 529, 743, 791,
3078
- 373, 374, 129, 850, 851, 135, 76, 77, 78, 1092,
3079
- 881, 599, 582, 254, 333, 137, 138, 782, 590, 593,
3080
- 293, 767, 131, 252, 770, 576, -218, 31, 102, 79,
3081
- 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
3082
- 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
3083
- 100, 101, 43, 252, 422, 558, 768, 687, 690,-32766,
3084
- 471, 130, 476, 685, 757, 102, 553, 37, 20, 424,
3085
- 526, 425, 688, 426, 272, 427, 910, 1016, 428, 792,
3086
- 1128, 793, 38, 39, 370, 583, 269, 570, 40, 429,
3087
- 536, 1052, 65, 275, 1055, 302, -415, 541, 270, -81,
3088
- 10, 391, 768, 432, 542, 554, 784, 594, 5, 0,
3089
- 12, 577, 0, 0, 304, 0, 0, 0, 0, 336,
3090
- 342, 0, 0, 0, 0, 0, 0, 422, 0, 0,
3091
- 0, 584, 770, 576, 0, 0, 0, 757, 0, 0,
3092
- 37, 20, 424, 343, 425, 0, 426, 0, 427, 768,
3093
- 0, 428, 0, 0, 0, 38, 39, 370, 347, 387,
3094
- 473, 40, 429, 359, 360, 65, 744, 35, 302, 36,
3095
- 597, 598, 748, 422, 825, 809, 432, 816, 587, 876,
3096
- 877, 806, 817, 757, 746, 804, 37, 20, 424, 885,
3097
- 425, 888, 426, 889, 427, 768, 886, 428, 887, 893,
3098
- -485, 38, 39, 370, 579, 770, 576, 40, 429, 581,
3099
- 585, 65, 586, 588, 302, 592, 286, 287, 352, 353,
3100
- 422, 580, 432, 1123, 591, 1125, 703, 790, 702, 712,
3101
- 757, 789, 713, 37, 20, 424, 710, 425, 1124, 426,
3102
- 788, 427, 768, 1004, 428, 711, 777, 785, 38, 39,
3103
- 370, 808, 576, -483, 40, 429, 775, 814, 65, 815,
3104
- 1122, 302, 1074, 1067, 1081, 1086, 422, 1089, -237, 432,
3105
- -461, -460, -459, 23, 25, 28, 757, 34, 41, 37,
3106
- 20, 424, 67, 425, 70, 426, 71, 427, 72, 73,
3107
- 428, 74, 128, 134, 38, 39, 370, 139, 770, 576,
3108
- 40, 429, 229, 230, 65, 246, 247, 302, 248, 249,
3109
- 250, 251, 290, 422, 355, 432, 357, -427, -235, -234,
3110
- 14, 15, 16, 757, 17, 19, 37, 20, 424, 325,
3111
- 425, 404, 426, 406, 427, 409, 411, 428, 412, 419,
3112
- 567, 38, 39, 370, 770, 576, 1027, 40, 429, 977,
3113
- 1037, 65, 858, 1008, 302,-32766,-32766,-32766, -92, 13,
3114
- 18, 22, 432, 263, 324, 501, 522, 569, 981, 978,
3115
- 0, 994, 0, 1036, 1065, 1066,-32766, 1080,-32766,-32766,
3116
- -32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767, 1120,
3117
- 532, 770, 576, 1054
3118
- ];
3119
-
3120
- PHP.Parser.prototype.yycheck = [
3121
- 2, 3, 4, 5, 6, 78, 8, 9, 10, 11,
3122
- 12, 0, 15, 16, 17, 18, 19, 20, 21, 22,
3123
- 23, 24, 25, 26, 27, 28, 42, 43, 44, 45,
3124
- 46, 47, 48, 49, 50, 8, 9, 10, 78, 79,
3125
- 7, 114, 115, 116, 117, 118, 119, 114, 115, 116,
3126
- 117, 118, 119, 55, 57, 58, 29, 7, 31, 32,
3127
- 33, 34, 35, 36, 8, 9, 10, 69, 70, 71,
3128
- 72, 73, 74, 75, 114, 1, 78, 8, 9, 10,
3129
- 1, 7, 13, 85, 86, 87, 88, 89, 90, 91,
3130
- 92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
3131
- 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
3132
- 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
3133
- 122, 123, 124, 125, 126, 127, 128, 129, 30, 131,
3134
- 132, 133, 134, 135, 136, 137, 138, 139, 2, 3,
3135
- 4, 5, 6, 145, 146, 147, 7, 11, 12, 36,
3136
- 14, 8, 9, 10, 48, 49, 50, 68, 8, 9,
3137
- 10, 68, 29, 7, 1, 8, 9, 10, 1, 80,
3138
- 8, 9, 29, 84, 31, 32, 33, 34, 35, 29,
3139
- 7, 31, 32, 33, 48, 49, 29, 154, 31, 32,
3140
- 54, 78, 56, 57, 58, 59, 60, 61, 62, 63,
3141
- 64, 65, 66, 114, 68, 69, 70, 71, 8, 9,
3142
- 10, 13, 76, 77, 78, 1, 80, 7, 1, 49,
3143
- 84, 132, 1, 130, 1, 80, 7, 114, 154, 29,
3144
- 156, 31, 32, 33, 34, 1, 7, 144, 7, 103,
3145
- 104, 1, 153, 80, 151, 78, 153, 158, 78, 151,
3146
- 114, 81, 7, 51, 52, 53, 7, 55, 122, 123,
3147
- 30, 8, 149, 29, 36, 132, 133, 131, 132, 67,
3148
- 134, 135, 136, 137, 138, 139, 140, 114, 68, 68,
3149
- 7, 145, 146, 147, 148, 13, 78, 154, 125, 153,
3150
- 36, 155, 1, 157, 158, 72, 73, 74, 75, 0,
3151
- 1, 80, 7, 158, 1, 82, 78, 7, 85, 86,
3152
- 87, 88, 89, 90, 91, 92, 93, 94, 151, 96,
3153
- 103, 158, 105, 100, 101, 102, 103, 154, 111, 106,
3154
- 107, 68, 78, 110, 29, 114, 113, 120, 115, 116,
3155
- 130, 130, 114, 7, 121, 68, 68, 124, 125, 126,
3156
- 127, 68, 154, 145, 144, 144, 148, 8, 9, 10,
3157
- 152, 151, 151, 30, 154, 151, 132, 133, 114, 152,
3158
- 7, 72, 1, 150, 151, 152, 29, 149, 29, 158,
3159
- 150, 82, 154, 80, 85, 86, 87, 36, 89, 7,
3160
- 91, 151, 93, 130, 1, 96, 78, 36, 36, 100,
3161
- 101, 102, 103, 149, 105, 106, 107, 130, 130, 110,
3162
- 111, 78, 113, 130, 115, 116, 103, 7, 105, 68,
3163
- 121, 144, 7, 124, 125, 126, 127, 144, 151, 151,
3164
- 68, 80, 7, 7, 151, 84, 153, 132, 133, 78,
3165
- 7, 150, 80, 72, 145, 1, 84, 114, 30, 150,
3166
- 151, 152, 83, 82, 151, 7, 85, 86, 87, 154,
3167
- 89, 158, 91, 145, 93, 114, 148, 96, 97, 98,
3168
- 99, 100, 101, 102, 103, 114, 114, 106, 107, 132,
3169
- 133, 110, 131, 132, 113, 36, 115, 116, 95, 103,
3170
- 154, 105, 121, 131, 132, 124, 125, 126, 127, 80,
3171
- 148, 13, 83, 151, 153, 103, 36, 105, 13, 158,
3172
- 141, 13, 103, 78, 105, 153, 72, 154, 73, 74,
3173
- 158, 150, 151, 152, 73, 74, 82, 78, 15, 85,
3174
- 86, 87, 15, 89, 148, 91, 154, 93, 98, 99,
3175
- 96, 97, 98, 99, 100, 101, 102, 103, 78, 114,
3176
- 106, 107, 15, 1, 110, 103, 104, 113, 15, 115,
3177
- 116, 142, 143, 114, 154, 121, 108, 109, 124, 125,
3178
- 126, 127, 15, 132, 133, 15, 8, 9, 10, 154,
3179
- 150, 151, 30, 30, 114, 15, 15, 36, 30, 30,
3180
- 34, 30, 30, 55, 150, 151, 152, 29, 67, 31,
3181
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
3182
- 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
3183
- 52, 53, 68, 55, 72, 75, 1, 78, 80, 83,
3184
- 83, 68, 87, 78, 82, 67, 92, 85, 86, 87,
3185
- 111, 89, 78, 91, 112, 93, 80, 114, 96, 125,
3186
- 81, 125, 100, 101, 102, 30, 128, 90, 106, 107,
3187
- 88, 141, 110, 128, 141, 113, 144, 94, 129, 95,
3188
- 95, 95, 1, 121, 97, 97, 149, 152, 144, -1,
3189
- 144, 151, -1, -1, 144, -1, -1, -1, -1, 148,
3190
- 148, -1, -1, -1, -1, -1, -1, 72, -1, -1,
3191
- -1, 30, 150, 151, -1, -1, -1, 82, -1, -1,
3192
- 85, 86, 87, 148, 89, -1, 91, -1, 93, 1,
3193
- -1, 96, -1, -1, -1, 100, 101, 102, 148, 148,
3194
- 148, 106, 107, 148, 148, 110, 152, 150, 113, 150,
3195
- 150, 150, 150, 72, 150, 150, 121, 150, 30, 150,
3196
- 150, 150, 150, 82, 150, 150, 85, 86, 87, 150,
3197
- 89, 150, 91, 150, 93, 1, 150, 96, 150, 150,
3198
- 153, 100, 101, 102, 151, 150, 151, 106, 107, 151,
3199
- 151, 110, 151, 151, 113, 151, 151, 151, 151, 151,
3200
- 72, 151, 121, 152, 30, 152, 152, 152, 152, 152,
3201
- 82, 152, 152, 85, 86, 87, 152, 89, 152, 91,
3202
- 152, 93, 1, 152, 96, 152, 152, 152, 100, 101,
3203
- 102, 150, 151, 153, 106, 107, 152, 152, 110, 152,
3204
- 152, 113, 152, 152, 152, 152, 72, 152, 154, 121,
3205
- 153, 153, 153, 153, 153, 153, 82, 153, 153, 85,
3206
- 86, 87, 153, 89, 153, 91, 153, 93, 153, 153,
3207
- 96, 153, 153, 153, 100, 101, 102, 153, 150, 151,
3208
- 106, 107, 153, 153, 110, 153, 153, 113, 153, 153,
3209
- 153, 153, 153, 72, 153, 121, 153, 155, 154, 154,
3210
- 154, 154, 154, 82, 154, 154, 85, 86, 87, 154,
3211
- 89, 154, 91, 154, 93, 154, 154, 96, 154, 154,
3212
- 154, 100, 101, 102, 150, 151, 154, 106, 107, 154,
3213
- 154, 110, 154, 154, 113, 8, 9, 10, 154, 154,
3214
- 154, 154, 121, 154, 154, 154, 154, 154, 154, 154,
3215
- -1, 155, -1, 156, 156, 156, 29, 156, 31, 32,
3216
- 33, 34, 35, 36, 37, 38, 39, 40, 41, 156,
3217
- 156, 150, 151, 157
3218
- ];
3219
-
3220
- PHP.Parser.prototype.yybase = [
3221
- 0, 223, 299, 371, 444, 303, 208, 618, -2, -2,
3222
- -73, -2, -2, 625, 718, 718, 764, 718, 552, 671,
3223
- 811, 811, 811, 228, 113, 113, 113, 254, 361, -40,
3224
- 361, 333, 449, 470, 435, 435, 435, 435, 435, 435,
3225
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3226
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3227
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3228
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3229
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3230
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3231
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3232
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3233
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3234
- 435, 435, 435, 435, 435, 435, 435, 435, 435, 435,
3235
- 291, 291, 230, 393, 495, 779, 784, 781, 776, 775,
3236
- 780, 785, 498, 678, 680, 562, 681, 682, 683, 685,
3237
- 782, 804, 777, 783, 568, 568, 568, 568, 568, 568,
3238
- 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
3239
- 568, 253, 69, 162, 56, 56, 56, 56, 56, 56,
3240
- 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
3241
- 56, 56, 56, 56, 56, 56, 349, 349, 349, 157,
3242
- 210, 150, 200, 211, 143, 27, 917, 917, 917, 917,
3243
- 917, -16, -16, -16, -16, 351, 351, 362, 217, 89,
3244
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
3245
- 89, 89, 163, 313, 106, 106, 133, 133, 133, 133,
3246
- 133, 133, 221, 305, 234, 347, 369, 523, 806, 167,
3247
- 167, 441, 93, 283, 202, 202, 202, 386, 547, 533,
3248
- 533, 533, 533, 419, 419, 533, 533, 170, 214, 74,
3249
- 211, 211, 277, 211, 211, 211, 409, 409, 409, 452,
3250
- 318, 352, 546, 318, 619, 640, 577, 675, 578, 677,
3251
- 278, 585, 145, 586, 145, 145, 145, 458, 445, 451,
3252
- 774, 291, 522, 291, 291, 291, 291, 722, 291, 291,
3253
- 291, 291, 291, 291, 98, 291, 79, 430, 230, 240,
3254
- 240, 556, 240, 452, 538, 263, 635, 410, 425, 538,
3255
- 538, 538, 636, 637, 336, 363, 198, 638, 382, 402,
3256
- 173, 33, 549, 549, 555, 555, 566, 551, 549, 549,
3257
- 549, 549, 549, 690, 690, 555, 548, 555, 566, 695,
3258
- 555, 551, 551, 555, 555, 549, 555, 690, 551, 156,
3259
- 415, 249, 273, 551, 551, 426, 528, 549, 535, 535,
3260
- 433, 555, 219, 555, 139, 539, 690, 690, 539, 229,
3261
- 551, 231, 590, 591, 529, 527, 553, 245, 553, 553,
3262
- 300, 529, 553, 551, 553, 448, 50, 548, 295, 553,
3263
- 11, 699, 701, 418, 703, 694, 705, 731, 706, 530,
3264
- 524, 526, 719, 720, 708, 692, 691, 561, 582, 513,
3265
- 517, 534, 554, 689, 581, 531, 531, 531, 554, 687,
3266
- 531, 531, 531, 531, 531, 531, 531, 531, 787, 540,
3267
- 545, 723, 537, 541, 576, 543, 623, 520, 582, 582,
3268
- 584, 732, 786, 564, 722, 762, 709, 587, 557, 741,
3269
- 725, 525, 542, 565, 726, 727, 745, 765, 628, 513,
3270
- 766, 641, 563, 643, 582, 644, 531, 670, 617, 788,
3271
- 789, 688, 791, 736, 747, 749, 580, 645, 569, 803,
3272
- 646, 768, 629, 631, 589, 737, 684, 751, 647, 752,
3273
- 754, 649, 592, 572, 734, 573, 733, 272, 729, 632,
3274
- 650, 654, 656, 658, 661, 710, 594, 738, 544, 740,
3275
- 735, 595, 597, 560, 663, 488, 599, 570, 571, 600,
3276
- 714, 558, 550, 601, 602, 769, 664, 728, 604, 665,
3277
- 756, 574, 581, 536, 532, 575, 567, 634, 755, 559,
3278
- 605, 609, 611, 613, 674, 616, 0, 0, 0, 0,
3279
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3280
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3281
- 0, 0, 0, 136, 136, 136, 136, -2, -2, -2,
3282
- 0, 0, -2, 0, 0, 136, 136, 136, 136, 136,
3283
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3284
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3285
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3286
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3287
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3288
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3289
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3290
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3291
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3292
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3293
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3294
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
3295
- 136, 136, 568, 568, 568, 568, 568, 568, 568, 568,
3296
- 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
3297
- 568, 568, 568, 568, 568, 568, 0, 0, 0, 0,
3298
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3299
- 0, 0, 0, 568, 568, 568, 568, 568, 568, 568,
3300
- 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
3301
- 568, 568, 568, 568, 568, 568, 568, 568, 568, 568,
3302
- 568, 568, -3, 568, 568, -3, 568, 568, 568, 568,
3303
- 568, 568, 568, 202, 202, 202, 202, 318, 318, 318,
3304
- -67, 318, 318, 318, 318, 318, 318, 318, 318, 318,
3305
- 318, 318, 318, 318, 318, -67, 202, 202, 318, 318,
3306
- 318, 318, 318, 318, 318, 318, 318, 318, 419, 419,
3307
- 419, 145, 145, 318, 0, 0, 0, 0, 0, 549,
3308
- 419, 318, 318, 318, 318, 0, 0, 318, 318, 548,
3309
- 145, 0, 0, 0, 0, 0, 0, 0, 549, 549,
3310
- 549, 548, 0, 549, 419, 0, 240, 291, 440, 440,
3311
- 440, 440, 0, 549, 0, 549, 0, 0, 0, 0,
3312
- 0, 0, 551, 0, 690, 0, 0, 0, 0, 555,
3313
- 0, 0, 0, 0, 0, 0, 0, 0, 548, 0,
3314
- 0, 0, 0, 548, 0, 0, 531, 0, 564, 0,
3315
- 0, 531, 531, 531, 564, 564, 0, 0, 0, 564
3316
- ];
3317
-
3318
- PHP.Parser.prototype.yydefault = [
3319
- 3,32767,32767,32767,32767,32767,32767,32767,32767, 92,
3320
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3321
- 32767,32767,32767,32767, 510, 510, 510, 94, 499,32767,
3322
- 499,32767,32767,32767, 314, 314, 314,32767, 454, 454,
3323
- 454, 454, 454, 454, 454,32767,32767,32767,32767,32767,
3324
- 394,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3325
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3326
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3327
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3328
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3329
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3330
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3331
- 32767, 92,32767,32767,32767,32767,32767,32767,32767,32767,
3332
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3333
- 32767,32767,32767,32767, 506,32767,32767,32767,32767,32767,
3334
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3335
- 32767,32767,32767,32767, 377, 378, 380, 381, 313, 455,
3336
- 509, 259, 505, 312, 130, 270, 261, 211, 243, 310,
3337
- 134, 342, 395, 344, 393, 397, 343, 319, 323, 324,
3338
- 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
3339
- 335, 317, 318, 396, 398, 399, 374, 373, 372, 340,
3340
- 316, 341, 345, 316, 347, 346, 363, 364, 361, 362,
3341
- 365, 366, 367, 368, 369,32767,32767,32767,32767,32767,
3342
- 32767,32767,32767,32767,32767,32767,32767,32767,32767, 94,
3343
- 32767,32767,32767, 293, 354, 355, 250, 250, 250, 250,
3344
- 250, 250,32767, 250,32767, 250,32767,32767,32767,32767,
3345
- 32767,32767, 448, 371, 349, 350, 348,32767, 426,32767,
3346
- 32767,32767,32767,32767, 428,32767, 92,32767,32767,32767,
3347
- 337, 339, 420, 508, 320, 507,32767,32767, 94, 414,
3348
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3349
- 423,32767,32767, 92,32767,32767, 92, 174, 230, 232,
3350
- 179,32767, 431,32767,32767,32767,32767,32767,32767,32767,
3351
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3352
- 32767,32767,32767, 414, 359, 517,32767, 456,32767, 351,
3353
- 352, 353,32767,32767, 456, 456, 456,32767, 456,32767,
3354
- 456, 456,32767,32767,32767,32767,32767, 179,32767,32767,
3355
- 32767,32767, 94, 429, 429, 92, 92, 92, 92, 424,
3356
- 32767, 179, 179,32767,32767,32767,32767,32767, 179, 91,
3357
- 91, 91, 91, 179, 179, 91, 194,32767, 192, 192,
3358
- 91,32767, 93,32767, 93, 196,32767, 470, 196, 91,
3359
- 179, 91, 216, 216, 405, 181, 252, 93, 252, 252,
3360
- 93, 405, 252, 179, 252, 91, 91,32767, 91, 252,
3361
- 32767,32767,32767, 85,32767,32767,32767,32767,32767,32767,
3362
- 32767,32767,32767,32767,32767,32767,32767,32767, 416,32767,
3363
- 436,32767, 449, 468,32767, 357, 358, 360,32767, 458,
3364
- 382, 383, 384, 385, 386, 387, 388, 390,32767, 419,
3365
- 32767,32767,32767, 87, 121, 269,32767, 515, 87, 417,
3366
- 32767, 515,32767,32767,32767,32767,32767,32767,32767,32767,
3367
- 32767,32767, 87, 87,32767,32767,32767,32767,32767, 495,
3368
- 32767, 516,32767, 456, 418,32767, 356, 432, 475,32767,
3369
- 32767, 457,32767,32767,32767,32767, 87,32767,32767,32767,
3370
- 32767,32767,32767,32767,32767,32767, 436,32767,32767,32767,
3371
- 32767,32767,32767,32767, 456,32767,32767,32767,32767,32767,
3372
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3373
- 456,32767,32767, 242,32767,32767,32767, 309,32767,32767,
3374
- 32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
3375
- 32767, 85, 60,32767, 289,32767,32767,32767,32767,32767,
3376
- 32767,32767,32767,32767,32767,32767, 136, 136, 3, 272,
3377
- 3, 272, 136, 136, 136, 272, 272, 136, 136, 136,
3378
- 136, 136, 136, 136, 169, 224, 227, 216, 216, 281,
3379
- 136, 136
3380
- ];
3381
-
3382
- PHP.Parser.prototype.yygoto = [
3383
- 171, 144, 144, 144, 171, 152, 153, 152, 155, 187,
3384
- 172, 168, 168, 168, 168, 169, 169, 169, 169, 169,
3385
- 169, 169, 164, 165, 166, 167, 184, 182, 185, 445,
3386
- 446, 334, 447, 450, 451, 452, 453, 454, 455, 456,
3387
- 457, 924, 141, 145, 146, 147, 170, 148, 149, 143,
3388
- 150, 151, 154, 181, 183, 186, 206, 209, 211, 212,
3389
- 214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
3390
- 224, 244, 245, 264, 265, 266, 339, 340, 341, 496,
3391
- 188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
3392
- 198, 199, 200, 201, 202, 156, 203, 157, 173, 174,
3393
- 175, 207, 176, 158, 159, 160, 177, 161, 208, 142,
3394
- 204, 162, 178, 205, 179, 180, 163, 563, 210, 463,
3395
- 210, 516, 516, 1038, 572, 1038, 1038, 1038, 1038, 1038,
3396
- 1038, 1038, 1038, 1038, 1038, 1038, 1038, 1038, 468, 468,
3397
- 468, 514, 537, 468, 297, 489, 521, 489, 498, 274,
3398
- 533, 534, 698, 483, 258, 468, 448, 448, 448, 725,
3399
- 448, 448, 448, 448, 448, 448, 448, 448, 448, 448,
3400
- 448, 448, 448, 449, 449, 449, 699, 449, 449, 449,
3401
- 449, 449, 449, 449, 449, 449, 449, 449, 449, 449,
3402
- 1114, 1114, 734, 725, 899, 725, 315, 319, 475, 499,
3403
- 500, 502, 1083, 1084, 468, 468, 760, 1114, 761, 900,
3404
- 482, 506, 468, 468, 468, 329, 330, 686, 481, 545,
3405
- 495, 332, 510, 596, 523, 525, 294, 469, 538, 556,
3406
- 559, 835, 566, 574, 831, 765, 729, 717, 864, 494,
3407
- 807, 868, 490, 860, 716, 716, 810, 697, 1013, 1105,
3408
- 726, 726, 726, 728, 715, 840, 1093, 800, 824, 805,
3409
- 805, 803, 805, 595, 313, 460, 833, 828, 459, 3,
3410
- 4, 907, 733, 539, 1009, 487, 317, 461, 459, 497,
3411
- 892, 575, 972, 474, 843, 557, 890, 1129, 484, 485,
3412
- 505, 517, 519, 520, 568, 801, 801, 801, 801, 465,
3413
- 855, 795, 802, 1002, 787, 405, 1003, 799, 327, 571,
3414
- 356, 1082, 530, 1014, 848, 346, 540, 350, 11, 337,
3415
- 337, 280, 281, 283, 493, 344, 284, 345, 285, 348,
3416
- 524, 351, 1015, 1069, 1113, 1113, 543, 301, 298, 299,
3417
- 721, 560, 838, 838, 1100, 295, 865, 718, 600, 323,
3418
- 544, 1113, 1010, 1017, 511, 1005, 869, 849, 849, 849,
3419
- 849, 849, 849, 1017, 849, 849, 849, 720, 730, 1116,
3420
- 714, 812, 849, 1088, 1088, 909, 465, 398, 513, 414,
3421
- 1017, 1017, 1017, 1017, 0, 1079, 1017, 1017, 0, 701,
3422
- 0, 0, 0, 0, 0, 1079, 0, 0, 0, 0,
3423
- 0, 773, 1090, 1090, 774, 706, 0, 756, 751, 752,
3424
- 766, 0, 707, 753, 704, 754, 755, 705, 0, 759,
3425
- 0, 1075, 0, 0, 0, 0, 0, 1012, 0, 0,
3426
- 0, 480, 0, 0, 0, 0, 0, 0, 0, 0,
3427
- 0, 0, 0, 0, 0, 867, 0, 1077, 1077, 867,
3428
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3429
- 0, 0, 0, 0, 0, 0, 0, 0, 462, 478,
3430
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 462,
3431
- 0, 478, 0, 0, 316, 0, 0, 466, 386, 0,
3432
- 388, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3433
- 0, 0, 0, 0, 0, 724, 0, 1121
3434
- ];
3435
-
3436
- PHP.Parser.prototype.yygcheck = [
3437
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3438
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3439
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3440
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3441
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3442
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3443
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3444
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3445
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3446
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3447
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3448
- 33, 33, 33, 33, 33, 33, 33, 63, 56, 10,
3449
- 56, 86, 86, 86, 8, 86, 86, 86, 86, 86,
3450
- 86, 86, 86, 86, 86, 86, 86, 86, 10, 10,
3451
- 10, 46, 46, 10, 80, 85, 73, 85, 97, 134,
3452
- 73, 73, 17, 10, 134, 10, 135, 135, 135, 26,
3453
- 135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
3454
- 135, 135, 135, 137, 137, 137, 18, 137, 137, 137,
3455
- 137, 137, 137, 137, 137, 137, 137, 137, 137, 137,
3456
- 148, 148, 36, 26, 111, 26, 49, 49, 49, 49,
3457
- 49, 49, 141, 141, 10, 10, 55, 148, 55, 111,
3458
- 10, 10, 10, 10, 10, 69, 69, 5, 39, 69,
3459
- 2, 69, 2, 39, 39, 39, 69, 10, 39, 39,
3460
- 39, 39, 39, 39, 39, 13, 14, 14, 14, 10,
3461
- 40, 14, 136, 94, 26, 26, 14, 16, 92, 146,
3462
- 26, 26, 26, 26, 26, 14, 143, 14, 16, 16,
3463
- 16, 16, 16, 16, 52, 16, 16, 16, 75, 37,
3464
- 37, 14, 14, 54, 14, 53, 65, 65, 75, 7,
3465
- 7, 7, 118, 65, 88, 7, 7, 12, 65, 65,
3466
- 68, 68, 68, 68, 68, 75, 75, 75, 75, 12,
3467
- 90, 75, 75, 67, 67, 65, 67, 76, 76, 76,
3468
- 89, 139, 24, 92, 91, 56, 56, 56, 65, 56,
3469
- 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
3470
- 56, 56, 92, 92, 147, 147, 12, 20, 80, 80,
3471
- 30, 12, 85, 85, 85, 11, 96, 28, 82, 19,
3472
- 23, 147, 127, 63, 15, 124, 99, 63, 63, 63,
3473
- 63, 63, 63, 63, 63, 63, 63, 15, 32, 147,
3474
- 15, 79, 63, 8, 8, 114, 12, 71, 72, 122,
3475
- 63, 63, 63, 63, -1, 97, 63, 63, -1, 13,
3476
- -1, -1, -1, -1, -1, 97, -1, -1, -1, -1,
3477
- -1, 63, 97, 97, 63, 13, -1, 13, 13, 13,
3478
- 13, -1, 13, 13, 13, 13, 13, 13, -1, 13,
3479
- -1, 97, -1, -1, -1, -1, -1, 12, -1, -1,
3480
- -1, 8, -1, -1, -1, -1, -1, -1, -1, -1,
3481
- -1, -1, -1, -1, -1, 97, -1, 97, 97, 97,
3482
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
3483
- -1, -1, -1, -1, -1, -1, -1, -1, 8, 8,
3484
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 8,
3485
- -1, 8, -1, -1, 8, -1, -1, 8, 8, -1,
3486
- 8, -1, -1, -1, -1, -1, -1, -1, -1, -1,
3487
- -1, -1, -1, -1, -1, 8, -1, 8
3488
- ];
3489
-
3490
- PHP.Parser.prototype.yygbase = [
3491
- 0, 0, -358, 0, 0, 207, 0, 274, 114, 0,
3492
- -148, 54, 10, 94, -144, -40, 245, 150, 174, 48,
3493
- 70, 0, 0, -3, 25, 0, -108, 0, 44, 0,
3494
- 52, 0, 3, -23, 0, 0, 183, -331, 0, -359,
3495
- 221, 0, 0, 0, 0, 0, 106, 0, 0, 157,
3496
- 0, 0, 227, 45, 47, 191, 90, 0, 0, 0,
3497
- 0, 0, 0, 111, 0, -95, 0, -26, 43, -193,
3498
- 0, -12, -20, -435, 0, 26, 37, 0, 0, 4,
3499
- -259, 0, 20, 0, 0, 117, -104, 0, 31, 55,
3500
- 46, 53, -64, 0, 216, 0, 40, 143, 0, -10,
3501
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
3502
- 0, -34, 0, 0, 7, 0, 0, 0, 30, 0,
3503
- 0, 0, -32, 0, -9, 0, 0, -5, 0, 0,
3504
- 0, 0, 0, 0, -119, -69, 217, -52, 0, 51,
3505
- 0, -102, 0, 226, 0, 0, 223, 77, -67, 0,
3506
- 0
3507
- ];
3508
-
3509
- PHP.Parser.prototype.yygdefault = [
3510
- -32768, 420, 603, 2, 604, 676, 684, 548, 437, 573,
3511
- 438, 464, 335, 758, 913, 778, 740, 741, 742, 320,
3512
- 361, 311, 318, 531, 518, 410, 727, 381, 719, 407,
3513
- 722, 380, 731, 140, 549, 416, 735, 1, 737, 470,
3514
- 769, 308, 745, 309, 552, 747, 477, 749, 750, 314,
3515
- 321, 322, 917, 486, 515, 762, 213, 479, 763, 307,
3516
- 764, 772, 331, 312, 392, 417, 326, 894, 504, 527,
3517
- 376, 395, 512, 507, 488, 1024, 797, 401, 390, 811,
3518
- 296, 819, 601, 827, 830, 439, 440, 399, 842, 400,
3519
- 853, 847, 1032, 394, 859, 382, 866, 1064, 385, 870,
3520
- 228, 873, 255, 546, 349, 878, 879, 6, 884, 564,
3521
- 565, 7, 243, 415, 908, 547, 379, 923, 364, 991,
3522
- 993, 472, 408, 1006, 389, 555, 418, 1011, 1068, 377,
3523
- 441, 396, 282, 300, 257, 442, 458, 262, 443, 397,
3524
- 1071, 1078, 338, 1094, 279, 26, 1106, 1115, 292, 492,
3525
- 509
3526
- ];
3527
-
3528
- PHP.Parser.prototype.yylhs = [
3529
- 0, 1, 3, 3, 2, 5, 5, 5, 5, 5,
3530
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
3531
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
3532
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
3533
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
3534
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
3535
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
3536
- 5, 5, 5, 5, 6, 6, 6, 6, 6, 6,
3537
- 6, 7, 7, 8, 9, 10, 10, 11, 12, 13,
3538
- 13, 14, 14, 15, 15, 4, 4, 4, 4, 4,
3539
- 4, 4, 4, 4, 4, 4, 20, 20, 21, 21,
3540
- 21, 21, 23, 25, 25, 19, 27, 27, 24, 29,
3541
- 29, 26, 26, 28, 28, 30, 30, 22, 31, 31,
3542
- 32, 34, 35, 35, 36, 37, 37, 39, 38, 38,
3543
- 38, 38, 40, 40, 40, 40, 40, 40, 40, 40,
3544
- 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
3545
- 40, 40, 40, 40, 40, 40, 40, 16, 16, 59,
3546
- 59, 62, 62, 61, 60, 60, 53, 64, 64, 65,
3547
- 65, 66, 66, 67, 67, 17, 18, 18, 18, 70,
3548
- 70, 70, 71, 71, 74, 74, 72, 72, 76, 77,
3549
- 77, 47, 47, 55, 55, 58, 58, 58, 57, 78,
3550
- 78, 79, 48, 48, 48, 48, 80, 80, 81, 81,
3551
- 82, 82, 45, 45, 41, 41, 83, 43, 43, 84,
3552
- 42, 42, 44, 44, 54, 54, 54, 54, 68, 68,
3553
- 87, 87, 88, 88, 88, 90, 90, 91, 91, 91,
3554
- 89, 89, 69, 69, 69, 92, 92, 93, 93, 94,
3555
- 94, 94, 50, 95, 95, 96, 51, 98, 98, 99,
3556
- 99, 100, 100, 73, 101, 101, 101, 101, 101, 106,
3557
- 106, 107, 107, 108, 108, 108, 108, 108, 109, 110,
3558
- 110, 105, 105, 102, 102, 104, 104, 112, 112, 111,
3559
- 111, 111, 111, 111, 111, 103, 113, 113, 115, 114,
3560
- 114, 52, 116, 116, 46, 46, 33, 33, 33, 33,
3561
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3562
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3563
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3564
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3565
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3566
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3567
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3568
- 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
3569
- 33, 33, 123, 117, 117, 122, 122, 125, 126, 126,
3570
- 127, 128, 128, 128, 75, 75, 63, 63, 63, 118,
3571
- 118, 118, 130, 130, 119, 119, 121, 121, 121, 124,
3572
- 124, 135, 135, 135, 86, 137, 137, 137, 120, 120,
3573
- 120, 120, 120, 120, 120, 120, 120, 120, 120, 120,
3574
- 120, 120, 120, 120, 49, 49, 133, 133, 133, 129,
3575
- 129, 129, 138, 138, 138, 138, 138, 138, 56, 56,
3576
- 56, 97, 97, 97, 97, 141, 140, 132, 132, 132,
3577
- 132, 132, 132, 131, 131, 131, 139, 139, 139, 139,
3578
- 85, 142, 142, 143, 143, 143, 143, 143, 143, 143,
3579
- 136, 145, 145, 144, 144, 146, 146, 146, 146, 146,
3580
- 146, 134, 134, 134, 134, 148, 149, 147, 147, 147,
3581
- 147, 147, 147, 147, 150, 150, 150, 150
3582
- ];
3583
-
3584
- PHP.Parser.prototype.yylen = [
3585
- 1, 1, 2, 0, 1, 1, 1, 1, 1, 1,
3586
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3587
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3588
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3589
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3590
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3591
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3592
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3593
- 1, 1, 1, 1, 1, 1, 3, 1, 1, 1,
3594
- 1, 0, 1, 0, 1, 1, 1, 1, 1, 3,
3595
- 5, 4, 3, 4, 2, 3, 1, 1, 7, 8,
3596
- 6, 7, 2, 3, 1, 2, 3, 1, 2, 3,
3597
- 1, 1, 3, 1, 2, 1, 2, 2, 3, 1,
3598
- 3, 2, 3, 1, 3, 2, 0, 1, 1, 1,
3599
- 1, 1, 3, 7, 10, 5, 7, 9, 5, 3,
3600
- 3, 3, 3, 3, 3, 1, 2, 5, 7, 9,
3601
- 6, 5, 6, 3, 3, 2, 1, 1, 1, 0,
3602
- 2, 1, 3, 8, 0, 4, 2, 1, 3, 0,
3603
- 1, 0, 1, 3, 1, 8, 7, 6, 5, 1,
3604
- 2, 2, 0, 2, 0, 2, 0, 2, 2, 1,
3605
- 3, 1, 4, 1, 4, 1, 1, 4, 2, 1,
3606
- 3, 3, 3, 4, 4, 5, 0, 2, 4, 3,
3607
- 1, 1, 1, 4, 0, 2, 5, 0, 2, 6,
3608
- 0, 2, 0, 3, 1, 2, 1, 1, 2, 0,
3609
- 1, 3, 4, 6, 4, 1, 2, 1, 1, 1,
3610
- 0, 1, 0, 2, 2, 2, 4, 1, 3, 1,
3611
- 2, 2, 2, 3, 1, 1, 2, 3, 1, 1,
3612
- 3, 2, 0, 1, 4, 4, 9, 3, 1, 1,
3613
- 3, 0, 2, 4, 5, 4, 4, 4, 3, 1,
3614
- 1, 1, 1, 1, 1, 0, 1, 1, 2, 1,
3615
- 1, 1, 1, 1, 1, 2, 1, 3, 1, 1,
3616
- 3, 2, 3, 1, 0, 1, 1, 3, 3, 3,
3617
- 4, 1, 2, 3, 3, 3, 3, 3, 3, 3,
3618
- 3, 3, 3, 3, 3, 3, 2, 2, 2, 2,
3619
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3620
- 3, 3, 3, 3, 3, 3, 3, 2, 2, 2,
3621
- 2, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3622
- 3, 3, 5, 4, 3, 4, 4, 2, 2, 4,
3623
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3624
- 2, 1, 3, 2, 1, 2, 4, 2, 8, 9,
3625
- 8, 9, 7, 3, 2, 0, 4, 2, 1, 3,
3626
- 2, 2, 2, 4, 1, 1, 1, 2, 3, 1,
3627
- 1, 1, 1, 1, 0, 3, 0, 1, 1, 0,
3628
- 1, 1, 3, 3, 3, 4, 1, 1, 1, 1,
3629
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3630
- 3, 2, 3, 3, 0, 1, 1, 3, 1, 1,
3631
- 3, 1, 1, 4, 4, 4, 1, 4, 1, 1,
3632
- 3, 1, 4, 2, 2, 1, 3, 1, 4, 4,
3633
- 3, 3, 3, 1, 3, 1, 1, 3, 1, 1,
3634
- 4, 3, 1, 1, 2, 1, 3, 4, 3, 0,
3635
- 1, 1, 1, 3, 1, 3, 1, 4, 2, 2,
3636
- 0, 2, 2, 1, 2, 1, 1, 1, 4, 3,
3637
- 3, 3, 6, 3, 1, 1, 2, 1
3638
- ];
3639
-
3640
-
3641
-
3642
- exports.PHP = PHP;
3643
- });
3644
-
3645
- ace.define("ace/mode/php_worker",[], function(require, exports, module) {
3646
- "use strict";
3647
-
3648
- var oop = require("../lib/oop");
3649
- var Mirror = require("../worker/mirror").Mirror;
3650
- var PHP = require("./php/php").PHP;
3651
-
3652
- var PhpWorker = exports.PhpWorker = function(sender) {
3653
- Mirror.call(this, sender);
3654
- this.setTimeout(500);
3655
- };
3656
-
3657
- oop.inherits(PhpWorker, Mirror);
3658
-
3659
- (function() {
3660
- this.setOptions = function(opts) {
3661
- this.inlinePhp = opts && opts.inline;
3662
- };
3663
-
3664
- this.onUpdate = function() {
3665
- var value = this.doc.getValue();
3666
- var errors = [];
3667
- if (this.inlinePhp)
3668
- value = "<?" + value + "?>";
3669
-
3670
- var tokens = PHP.Lexer(value, {short_open_tag: 1});
3671
- try {
3672
- new PHP.Parser(tokens);
3673
- } catch(e) {
3674
- errors.push({
3675
- row: e.line - 1,
3676
- column: null,
3677
- text: e.message.charAt(0).toUpperCase() + e.message.substring(1),
3678
- type: "error"
3679
- });
3680
- }
3681
-
3682
- this.sender.emit("annotate", errors);
3683
- };
3684
-
3685
- }).call(PhpWorker.prototype);
3686
-
3687
- });
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,s,r){postMessage({type:"error",data:{message:t,data:r.data,file:e,line:n,col:s,stack:r.stack}})},t.normalizeModule=function(e,n){if(-1!==n.indexOf("!")){var s=n.split("!");return t.normalizeModule(e,s[0])+"!"+t.normalizeModule(e,s[1])}if("."==n.charAt(0)){var r=e.split("/").slice(0,-1).join("/");for(n=(r?r+"/":"")+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 s=t.require.modules[n];if(s)return s.initialized||(s.initialized=!0,s.exports=s.factory().exports),s.exports;if(!t.require.tlns)return console.log("unable to load "+n);var r=function(t,e){var n=t,s="";for(;n;){var r=e[n];if("string"==typeof r)return r+s;if(r)return r.location.replace(/\/*$/,"/")+(s||r.main||r.name);if(!1===r)return"";var o=n.lastIndexOf("/");if(-1===o)break;s=n.substr(o)+s,n=n.slice(0,o)}return t}(n,t.require.tlns);return".js"!=r.slice(-3)&&(r+=".js"),t.require.id=n,t.require.modules[n]={},importScripts(r),t.require(e,n)},t.require.modules={},t.require.tlns={},t.define=function(e,n,s){if(2==arguments.length?(s=n,"string"!=typeof e&&(n=e,e=t.require.id)):1==arguments.length&&(s=e,n=[],e=t.require.id),"function"==typeof s){n.length||(n=["require","exports","module"]);var r=function(n){return t.require(e,n)};t.require.modules[e]={exports:{},factory:function(){var t=this,e=s.apply(this,n.slice(0,s.length).map((function(e){switch(e){case"require":return r;case"exports":return t.exports;case"module":return t;default:return r(e)}})));return e&&(t.exports=e),t}}}else t.require.modules[e]={exports:s,initialized:!0}},t.define.amd={},require.tlns={},t.initBaseUrls=function(t){for(var e in t)require.tlns[e]=t[e]},t.initSender=function(){var e=t.require("ace/lib/event_emitter").EventEmitter,n=t.require("ace/lib/oop"),s=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(s.prototype),new s};var e=t.main=null,n=t.sender=null;t.onmessage=function(s){var r=s.data;if(r.event&&n)n._signal(r.event,r.data);else if(r.command)if(e[r.command])e[r.command].apply(e,r.args);else{if(!t[r.command])throw new Error("Unknown command:"+r.command);t[r.command].apply(t,r.args)}else if(r.init){t.initBaseUrls(r.tlns),n=t.sender=t.initSender();var o=require(r.module)[r.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/range",[],(function(t,e,n){"use strict";var s=function(t,e,n,s){this.start={row:t,column:e},this.end={row:n,column:s}};(function(){this.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},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(t,e){return 0==this.compare(t,e)},this.compareRange=function(t){var e,n=t.end,s=t.start;return 1==(e=this.compare(n.row,n.column))?1==(e=this.compare(s.row,s.column))?2:0==e?1:0:-1==e?-2:-1==(e=this.compare(s.row,s.column))?-1:1==e?42:0},this.comparePoint=function(t){return this.compare(t.row,t.column)},this.containsRange=function(t){return 0==this.comparePoint(t.start)&&0==this.comparePoint(t.end)},this.intersects=function(t){var e=this.compareRange(t);return-1==e||0==e||1==e},this.isEnd=function(t,e){return this.end.row==t&&this.end.column==e},this.isStart=function(t,e){return this.start.row==t&&this.start.column==e},this.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)},this.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)},this.inside=function(t,e){return 0==this.compare(t,e)&&(!this.isEnd(t,e)&&!this.isStart(t,e))},this.insideStart=function(t,e){return 0==this.compare(t,e)&&!this.isEnd(t,e)},this.insideEnd=function(t,e){return 0==this.compare(t,e)&&!this.isStart(t,e)},this.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},this.compareStart=function(t,e){return this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},this.compareEnd=function(t,e){return this.end.row==t&&this.end.column==e?1:this.compare(t,e)},this.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)},this.clipRows=function(t,e){if(this.end.row>e)var n={row:e+1,column:0};else if(this.end.row<t)n={row:t,column:0};if(this.start.row>e)var r={row:e+1,column:0};else if(this.start.row<t)r={row:t,column:0};return s.fromPoints(r||this.start,n||this.end)},this.extend=function(t,e){var n=this.compare(t,e);if(0==n)return this;if(-1==n)var r={row:t,column:e};else var o={row:t,column:e};return s.fromPoints(r||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return s.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new s(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new s(this.start.row,0,this.end.row,0)},this.toScreenRange=function(t){var e=t.documentToScreenPosition(this.start),n=t.documentToScreenPosition(this.end);return new s(e.row,e.column,n.row,n.column)},this.moveBy=function(t,e){this.start.row+=t,this.start.column+=e,this.end.row+=t,this.end.column+=e}}).call(s.prototype),s.fromPoints=function(t,e){return new s(t.row,t.column,e.row,e.column)},s.comparePoints=function(t,e){return t.row-e.row||t.column-e.column},s.comparePoints=function(t,e){return t.row-e.row||t.column-e.column},e.Range=s})),ace.define("ace/apply_delta",[],(function(t,e,n){"use strict";e.applyDelta=function(t,e,n){var s=e.start.row,r=e.start.column,o=t[s]||"";switch(e.action){case"insert":if(1===e.lines.length)t[s]=o.substring(0,r)+e.lines[0]+o.substring(r);else{var i=[s,1].concat(e.lines);t.splice.apply(t,i),t[s]=o.substring(0,r)+t[s],t[s+e.lines.length-1]+=o.substring(r)}break;case"remove":var a=e.end.column,_=e.end.row;s===_?t[s]=o.substring(0,r)+o.substring(a):t.splice(s,_-s+1,o.substring(0,r)+t[_].substring(a))}}})),ace.define("ace/lib/event_emitter",[],(function(t,e,n){"use strict";var s={},r=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};s._emit=s._dispatchEvent=function(t,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[t]||[],s=this._defaultHandlers[t];if(n.length||s){"object"==typeof e&&e||(e={}),e.type||(e.type=t),e.stopPropagation||(e.stopPropagation=r),e.preventDefault||(e.preventDefault=o),n=n.slice();for(var i=0;i<n.length&&(n[i](e,this),!e.propagationStopped);i++);return s&&!e.defaultPrevented?s(e,this):void 0}},s._signal=function(t,e){var n=(this._eventRegistry||{})[t];if(n){n=n.slice();for(var s=0;s<n.length;s++)n[s](e,this)}},s.once=function(t,e){var n=this;if(this.on(t,(function s(){n.off(t,s),e.apply(null,arguments)})),!e)return new Promise((function(t){e=t}))},s.setDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[t]){var s=n[t],r=n._disabled_[t];r||(n._disabled_[t]=r=[]),r.push(s);var o=r.indexOf(e);-1!=o&&r.splice(o,1)}n[t]=e},s.removeDefaultHandler=function(t,e){var n=this._defaultHandlers;if(n){var s=n._disabled_[t];if(n[t]==e)s&&this.setDefaultHandler(t,s.pop());else if(s){var r=s.indexOf(e);-1!=r&&s.splice(r,1)}}},s.on=s.addEventListener=function(t,e,n){this._eventRegistry=this._eventRegistry||{};var s=this._eventRegistry[t];return s||(s=this._eventRegistry[t]=[]),-1==s.indexOf(e)&&s[n?"unshift":"push"](e),e},s.off=s.removeListener=s.removeEventListener=function(t,e){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[t];if(n){var s=n.indexOf(e);-1!==s&&n.splice(s,1)}},s.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=s})),ace.define("ace/anchor",[],(function(t,e,n){"use strict";var s=t("./lib/oop"),r=t("./lib/event_emitter").EventEmitter,o=e.Anchor=function(t,e,n){this.$onChange=this.onChange.bind(this),this.attach(t),void 0===n?this.setPosition(e.row,e.column):this.setPosition(e,n)};(function(){function t(t,e,n){var s=n?t.column<=e.column:t.column<e.column;return t.row<e.row||t.row==e.row&&s}s.implement(this,r),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){if(!(e.start.row==e.end.row&&e.start.row!=this.row||e.start.row>this.row)){var n=function(e,n,s){var r="insert"==e.action,o=(r?1:-1)*(e.end.row-e.start.row),i=(r?1:-1)*(e.end.column-e.start.column),a=e.start,_=r?a:e.end;if(t(n,a,s))return{row:n.row,column:n.column};if(t(_,n,!s))return{row:n.row+o,column:n.column+(n.row==_.row?i:0)};return{row:a.row,column:a.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(t,e,n){var s;if(s=n?{row:t,column:e}:this.$clipPositionToDocument(t,e),this.row!=s.row||this.column!=s.column){var r={row:this.row,column:this.column};this.row=s.row,this.column=s.column,this._signal("change",{old:r,value:s})}},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},this.$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}}).call(o.prototype)})),ace.define("ace/document",[],(function(t,e,n){"use strict";var s=t("./lib/oop"),r=t("./apply_delta").applyDelta,o=t("./lib/event_emitter").EventEmitter,i=t("./range").Range,a=t("./anchor").Anchor,_=function(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)};(function(){s.implement(this,o),this.setValue=function(t){var e=this.getLength()-1;this.remove(new i(0,0,e,this.getLine(e).length)),this.insert({row:0,column:0},t)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(t,e){return new a(this,t,e)},0==="aaa".split(/a/).length?this.$split=function(t){return t.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(t){return t.split(/\r\n|\r|\n/)},this.$detectNewLine=function(t){var e=t.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=e?e[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(t){this.$newLineMode!==t&&(this.$newLineMode=t,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(t){return"\r\n"==t||"\r"==t||"\n"==t},this.getLine=function(t){return this.$lines[t]||""},this.getLines=function(t,e){return this.$lines.slice(t,e+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(t){return this.getLinesForRange(t).join(this.getNewLineCharacter())},this.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},this.insertLines=function(t,e){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(t,e)},this.removeLines=function(t,e){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(t,e)},this.insertNewLine=function(t){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(t,["",""])},this.insert=function(t,e){return this.getLength()<=1&&this.$detectNewLine(e),this.insertMergedLines(t,this.$split(e))},this.insertInLine=function(t,e){var n=this.clippedPos(t.row,t.column),s=this.pos(t.row,t.column+e.length);return this.applyDelta({start:n,end:s,action:"insert",lines:[e]},!0),this.clonePos(s)},this.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 s=this.getLine(t);return null==e&&(e=s.length),{row:t,column:e=Math.min(Math.max(e,0),s.length)}},this.clonePos=function(t){return{row:t.row,column:t.column}},this.pos=function(t,e){return{row:t,column:e}},this.$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},this.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)},this.insertMergedLines=function(t,e){var n=this.clippedPos(t.row,t.column),s={row:n.row+e.length-1,column:(1==e.length?n.column:0)+e[e.length-1].length};return this.applyDelta({start:n,end:s,action:"insert",lines:e}),this.clonePos(s)},this.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)},this.removeInLine=function(t,e,n){var s=this.clippedPos(t,e),r=this.clippedPos(t,n);return this.applyDelta({start:s,end:r,action:"remove",lines:this.getLinesForRange({start:s,end:r})},!0),this.clonePos(s)},this.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,s=e<this.getLength()-1,r=n?t-1:t,o=n?this.getLine(r).length:0,a=s?e+1:e,_=s?0:this.getLine(a).length,T=new i(r,o,a,_),u=this.$lines.slice(t,e+1);return this.applyDelta({start:T.start,end:T.end,action:"remove",lines:this.getLinesForRange(T)}),u},this.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:["",""]})},this.replace=function(t,e){return t instanceof i||(t=i.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)},this.applyDeltas=function(t){for(var e=0;e<t.length;e++)this.applyDelta(t[e])},this.revertDeltas=function(t){for(var e=t.length-1;e>=0;e--)this.revertDelta(t[e])},this.applyDelta=function(t,e){var n="insert"==t.action;(n?t.lines.length<=1&&!t.lines[0]:!i.comparePoints(t.start,t.end))||(n&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(r(this.$lines,t,e),this._signal("change",t)))},this.$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)},this.$splitAndapplyLargeDelta=function(t,e){for(var n=t.lines,s=n.length-e+1,r=t.start.row,o=t.start.column,i=0,a=0;i<s;i=a){a+=e-1;var _=n.slice(i,a);_.push(""),this.applyDelta({start:this.pos(r+i,o),end:this.pos(r+a,o=0),action:t.action,lines:_},!0)}t.lines=n.slice(i),t.start.row=r+i,t.start.column=o,this.applyDelta(t,!0)},this.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()})},this.indexToPosition=function(t,e){for(var n=this.$lines||this.getAllLines(),s=this.getNewLineCharacter().length,r=e||0,o=n.length;r<o;r++)if((t-=n[r].length+s)<0)return{row:r,column:t+n[r].length+s};return{row:o-1,column:t+n[o-1].length+s}},this.positionToIndex=function(t,e){for(var n=this.$lines||this.getAllLines(),s=this.getNewLineCharacter().length,r=0,o=Math.min(t.row,n.length),i=e||0;i<o;++i)r+=n[i].length+s;return r+t.column}}).call(_.prototype),e.Document=_})),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 s=/^\s\s*/,r=/\s\s*$/;e.stringTrimLeft=function(t){return t.replace(s,"")},e.stringTrimRight=function(t){return t.replace(r,"")},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,s=t.length;n<s;n++)t[n]&&"object"==typeof t[n]?e[n]=this.copyObject(t[n]):e[n]=t[n];return e},e.deepCopy=function t(e){if("object"!=typeof e||!e)return e;var n;if(Array.isArray(e)){n=[];for(var s=0;s<e.length;s++)n[s]=t(e[s]);return n}if("[object Object]"!==Object.prototype.toString.call(e))return e;for(var s in n={},e)n[s]=t(e[s]);return n},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()},s=function(t){return s.cancel(),e=setTimeout(n,t||0),s};return s.schedule=s,s.call=function(){return this.cancel(),t(),s},s.cancel=function(){return clearTimeout(e),e=null,s},s.isPending=function(){return e},s},e.delayedCall=function(t,e){var n=null,s=function(){n=null,t()},r=function(t){null==n&&(n=setTimeout(s,t||e))};return r.delay=function(t){n&&clearTimeout(n),n=setTimeout(s,t||e)},r.schedule=r,r.call=function(){this.cancel(),t()},r.cancel=function(){n&&clearTimeout(n),n=null},r.isPending=function(){return n},r}})),ace.define("ace/worker/mirror",[],(function(t,e,n){"use strict";t("../range").Range;var s=t("../document").Document,r=t("../lib/lang"),o=e.Mirror=function(t){this.sender=t;var e=this.doc=new s(""),n=this.deferredUpdate=r.delayedCall(this.onUpdate.bind(this)),o=this;t.on("change",(function(t){var s=t.data;if(s[0].start)e.applyDeltas(s);else for(var r=0;r<s.length;r+=2){if(Array.isArray(s[r+1]))var i={action:"insert",start:s[r],lines:s[r+1]};else i={action:"remove",start:s[r],end:s[r+1]};e.applyDelta(i,!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 s={Constants:{}};s.Constants.T_INCLUDE=259,s.Constants.T_INCLUDE_ONCE=260,s.Constants.T_EVAL=318,s.Constants.T_REQUIRE=261,s.Constants.T_REQUIRE_ONCE=262,s.Constants.T_LOGICAL_OR=263,s.Constants.T_LOGICAL_XOR=264,s.Constants.T_LOGICAL_AND=265,s.Constants.T_PRINT=266,s.Constants.T_YIELD=267,s.Constants.T_DOUBLE_ARROW=268,s.Constants.T_YIELD_FROM=269,s.Constants.T_PLUS_EQUAL=270,s.Constants.T_MINUS_EQUAL=271,s.Constants.T_MUL_EQUAL=272,s.Constants.T_DIV_EQUAL=273,s.Constants.T_CONCAT_EQUAL=274,s.Constants.T_MOD_EQUAL=275,s.Constants.T_AND_EQUAL=276,s.Constants.T_OR_EQUAL=277,s.Constants.T_XOR_EQUAL=278,s.Constants.T_SL_EQUAL=279,s.Constants.T_SR_EQUAL=280,s.Constants.T_POW_EQUAL=281,s.Constants.T_COALESCE_EQUAL=282,s.Constants.T_COALESCE=283,s.Constants.T_BOOLEAN_OR=284,s.Constants.T_BOOLEAN_AND=285,s.Constants.T_IS_EQUAL=286,s.Constants.T_IS_NOT_EQUAL=287,s.Constants.T_IS_IDENTICAL=288,s.Constants.T_IS_NOT_IDENTICAL=289,s.Constants.T_SPACESHIP=290,s.Constants.T_IS_SMALLER_OR_EQUAL=291,s.Constants.T_IS_GREATER_OR_EQUAL=292,s.Constants.T_SL=293,s.Constants.T_SR=294,s.Constants.T_INSTANCEOF=295,s.Constants.T_INC=319,s.Constants.T_DEC=320,s.Constants.T_INT_CAST=296,s.Constants.T_DOUBLE_CAST=297,s.Constants.T_STRING_CAST=298,s.Constants.T_ARRAY_CAST=299,s.Constants.T_OBJECT_CAST=300,s.Constants.T_BOOL_CAST=301,s.Constants.T_UNSET_CAST=302,s.Constants.T_POW=303,s.Constants.T_NEW=304,s.Constants.T_CLONE=305,s.Constants.T_EXIT=321,s.Constants.T_IF=322,s.Constants.T_ELSEIF=307,s.Constants.T_ELSE=308,s.Constants.T_ENDIF=323,s.Constants.T_LNUMBER=309,s.Constants.T_DNUMBER=310,s.Constants.T_STRING=311,s.Constants.T_STRING_VARNAME=316,s.Constants.T_VARIABLE=312,s.Constants.T_NUM_STRING=317,s.Constants.T_INLINE_HTML=313,s.Constants.T_BAD_CHARACTER=395,s.Constants.T_ENCAPSED_AND_WHITESPACE=314,s.Constants.T_CONSTANT_ENCAPSED_STRING=315,s.Constants.T_ECHO=324,s.Constants.T_DO=325,s.Constants.T_WHILE=326,s.Constants.T_ENDWHILE=327,s.Constants.T_FOR=328,s.Constants.T_ENDFOR=329,s.Constants.T_FOREACH=330,s.Constants.T_ENDFOREACH=331,s.Constants.T_DECLARE=332,s.Constants.T_ENDDECLARE=333,s.Constants.T_AS=334,s.Constants.T_SWITCH=335,s.Constants.T_ENDSWITCH=336,s.Constants.T_CASE=337,s.Constants.T_DEFAULT=338,s.Constants.T_BREAK=339,s.Constants.T_CONTINUE=340,s.Constants.T_GOTO=341,s.Constants.T_FUNCTION=342,s.Constants.T_FN=343,s.Constants.T_CONST=344,s.Constants.T_RETURN=345,s.Constants.T_TRY=346,s.Constants.T_CATCH=347,s.Constants.T_FINALLY=348,s.Constants.T_THROW=349,s.Constants.T_USE=350,s.Constants.T_INSTEADOF=351,s.Constants.T_GLOBAL=352,s.Constants.T_STATIC=353,s.Constants.T_ABSTRACT=354,s.Constants.T_FINAL=355,s.Constants.T_PRIVATE=356,s.Constants.T_PROTECTED=357,s.Constants.T_PUBLIC=358,s.Constants.T_VAR=359,s.Constants.T_UNSET=360,s.Constants.T_ISSET=361,s.Constants.T_EMPTY=362,s.Constants.T_HALT_COMPILER=363,s.Constants.T_CLASS=364,s.Constants.T_TRAIT=365,s.Constants.T_INTERFACE=366,s.Constants.T_EXTENDS=367,s.Constants.T_IMPLEMENTS=368,s.Constants.T_OBJECT_OPERATOR=369,s.Constants.T_DOUBLE_ARROW=268,s.Constants.T_LIST=370,s.Constants.T_ARRAY=371,s.Constants.T_CALLABLE=372,s.Constants.T_CLASS_C=376,s.Constants.T_TRAIT_C=377,s.Constants.T_METHOD_C=378,s.Constants.T_FUNC_C=379,s.Constants.T_LINE=373,s.Constants.T_FILE=374,s.Constants.T_COMMENT=380,s.Constants.T_DOC_COMMENT=381,s.Constants.T_OPEN_TAG=382,s.Constants.T_OPEN_TAG_WITH_ECHO=383,s.Constants.T_CLOSE_TAG=384,s.Constants.T_WHITESPACE=385,s.Constants.T_START_HEREDOC=386,s.Constants.T_END_HEREDOC=387,s.Constants.T_DOLLAR_OPEN_CURLY_BRACES=388,s.Constants.T_CURLY_OPEN=389,s.Constants.T_PAAMAYIM_NEKUDOTAYIM=390,s.Constants.T_NAMESPACE=391,s.Constants.T_NS_C=392,s.Constants.T_DIR=375,s.Constants.T_NS_SEPARATOR=393,s.Constants.T_ELLIPSIS=394,s.Lexer=function(t,e){var n,r,o=["INITIAL"],i=0,a=function(t){o[i]=t},_=function(t){o[++i]=t},T=function(){--i},u=void 0===e||/^(on|true|1)$/i.test(e.short_open_tag),l=u?/^(\<\?php(?:\r\n|[ \t\r\n])|<\?|\<script language\=('|")?php('|")?\>)/i:/^(\<\?php(?:\r\n|[ \t\r\n])|\<script language\=('|")?php('|")?\>)/i,E=u?/[^<]*(?:<(?!\?|script language\=('|")?php('|")?\>)[^<]*)*/i:/[^<]*(?:<(?!\?=|\?php[ \t\r\n]|script language\=('|")?php('|")?\>)[^<]*)*/i,C="[a-zA-Z_\\x7f-\\uffff][a-zA-Z0-9_\\x7f-\\uffff]*",c=function(t){return"[^"+t+"\\\\${]*(?:(?:\\\\[\\s\\S]|\\$(?!\\{|[a-zA-Z_\\x7f-\\uffff])|\\{(?!\\$))[^"+t+"\\\\${]*)*"},h=[{value:s.Constants.T_VARIABLE,re:new RegExp("^\\$"+C+"(?=\\[)"),func:function(){_("VAR_OFFSET")}},{value:s.Constants.T_VARIABLE,re:new RegExp("^\\$"+C+"(?=->"+C+")"),func:function(){_("LOOKING_FOR_PROPERTY")}},{value:s.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:new RegExp("^\\$\\{(?="+C+"[\\[}])"),func:function(){_("LOOKING_FOR_VARNAME")}},{value:s.Constants.T_VARIABLE,re:new RegExp("^\\$"+C)},{value:s.Constants.T_DOLLAR_OPEN_CURLY_BRACES,re:/^\$\{/,func:function(){_("IN_SCRIPTING")}},{value:s.Constants.T_CURLY_OPEN,re:/^\{(?=\$)/,func:function(){_("IN_SCRIPTING")}}],p={INITIAL:[{value:s.Constants.T_OPEN_TAG_WITH_ECHO,re:/^<\?=/i,func:function(){a("IN_SCRIPTING")}},{value:s.Constants.T_OPEN_TAG,re:l,func:function(){a("IN_SCRIPTING")}},{value:s.Constants.T_INLINE_HTML,re:E}],IN_SCRIPTING:[{value:s.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/},{value:s.Constants.T_ABSTRACT,re:/^abstract\b/i},{value:s.Constants.T_LOGICAL_AND,re:/^and\b/i},{value:s.Constants.T_ARRAY,re:/^array\b/i},{value:s.Constants.T_AS,re:/^as\b/i},{value:s.Constants.T_BREAK,re:/^break\b/i},{value:s.Constants.T_CALLABLE,re:/^callable\b/i},{value:s.Constants.T_CASE,re:/^case\b/i},{value:s.Constants.T_CATCH,re:/^catch\b/i},{value:s.Constants.T_CLASS,re:/^class\b/i},{value:s.Constants.T_CLONE,re:/^clone\b/i},{value:s.Constants.T_CONST,re:/^const\b/i},{value:s.Constants.T_CONTINUE,re:/^continue\b/i},{value:s.Constants.T_DECLARE,re:/^declare\b/i},{value:s.Constants.T_DEFAULT,re:/^default\b/i},{value:s.Constants.T_DO,re:/^do\b/i},{value:s.Constants.T_ECHO,re:/^echo\b/i},{value:s.Constants.T_ELSE,re:/^else\b/i},{value:s.Constants.T_ELSEIF,re:/^elseif\b/i},{value:s.Constants.T_ENDDECLARE,re:/^enddeclare\b/i},{value:s.Constants.T_ENDFOR,re:/^endfor\b/i},{value:s.Constants.T_ENDFOREACH,re:/^endforeach\b/i},{value:s.Constants.T_ENDIF,re:/^endif\b/i},{value:s.Constants.T_ENDSWITCH,re:/^endswitch\b/i},{value:s.Constants.T_ENDWHILE,re:/^endwhile\b/i},{value:s.Constants.T_EMPTY,re:/^empty\b/i},{value:s.Constants.T_EVAL,re:/^eval\b/i},{value:s.Constants.T_EXIT,re:/^(?:exit|die)\b/i},{value:s.Constants.T_EXTENDS,re:/^extends\b/i},{value:s.Constants.T_FINAL,re:/^final\b/i},{value:s.Constants.T_FINALLY,re:/^finally\b/i},{value:s.Constants.T_FN,re:/^fn\b/i},{value:s.Constants.T_FOR,re:/^for\b/i},{value:s.Constants.T_FOREACH,re:/^foreach\b/i},{value:s.Constants.T_FUNCTION,re:/^function\b/i},{value:s.Constants.T_GLOBAL,re:/^global\b/i},{value:s.Constants.T_GOTO,re:/^goto\b/i},{value:s.Constants.T_IF,re:/^if\b/i},{value:s.Constants.T_IMPLEMENTS,re:/^implements\b/i},{value:s.Constants.T_INCLUDE,re:/^include\b/i},{value:s.Constants.T_INCLUDE_ONCE,re:/^include_once\b/i},{value:s.Constants.T_INSTANCEOF,re:/^instanceof\b/i},{value:s.Constants.T_INSTEADOF,re:/^insteadof\b/i},{value:s.Constants.T_INTERFACE,re:/^interface\b/i},{value:s.Constants.T_ISSET,re:/^isset\b/i},{value:s.Constants.T_LIST,re:/^list\b/i},{value:s.Constants.T_NAMESPACE,re:/^namespace\b/i},{value:s.Constants.T_NEW,re:/^new\b/i},{value:s.Constants.T_LOGICAL_OR,re:/^or\b/i},{value:s.Constants.T_PRINT,re:/^print\b/i},{value:s.Constants.T_PRIVATE,re:/^private\b/i},{value:s.Constants.T_PROTECTED,re:/^protected\b/i},{value:s.Constants.T_PUBLIC,re:/^public\b/i},{value:s.Constants.T_REQUIRE,re:/^require\b/i},{value:s.Constants.T_REQUIRE_ONCE,re:/^require_once\b/i},{value:s.Constants.T_STATIC,re:/^static\b/i},{value:s.Constants.T_SWITCH,re:/^switch\b/i},{value:s.Constants.T_THROW,re:/^throw\b/i},{value:s.Constants.T_TRAIT,re:/^trait\b/i},{value:s.Constants.T_TRY,re:/^try\b/i},{value:s.Constants.T_UNSET,re:/^unset\b/i},{value:s.Constants.T_USE,re:/^use\b/i},{value:s.Constants.T_VAR,re:/^var\b/i},{value:s.Constants.T_WHILE,re:/^while\b/i},{value:s.Constants.T_LOGICAL_XOR,re:/^xor\b/i},{value:s.Constants.T_YIELD_FROM,re:/^yield\s+from\b/i},{value:s.Constants.T_YIELD,re:/^yield\b/i},{value:s.Constants.T_RETURN,re:/^return\b/i},{value:s.Constants.T_METHOD_C,re:/^__METHOD__\b/i},{value:s.Constants.T_LINE,re:/^__LINE__\b/i},{value:s.Constants.T_FILE,re:/^__FILE__\b/i},{value:s.Constants.T_FUNC_C,re:/^__FUNCTION__\b/i},{value:s.Constants.T_NS_C,re:/^__NAMESPACE__\b/i},{value:s.Constants.T_TRAIT_C,re:/^__TRAIT__\b/i},{value:s.Constants.T_DIR,re:/^__DIR__\b/i},{value:s.Constants.T_CLASS_C,re:/^__CLASS__\b/i},{value:s.Constants.T_AND_EQUAL,re:/^&=/},{value:s.Constants.T_ARRAY_CAST,re:/^\([ \t]*array[ \t]*\)/i},{value:s.Constants.T_BOOL_CAST,re:/^\([ \t]*(?:bool|boolean)[ \t]*\)/i},{value:s.Constants.T_DOUBLE_CAST,re:/^\([ \t]*(?:real|float|double)[ \t]*\)/i},{value:s.Constants.T_INT_CAST,re:/^\([ \t]*(?:int|integer)[ \t]*\)/i},{value:s.Constants.T_OBJECT_CAST,re:/^\([ \t]*object[ \t]*\)/i},{value:s.Constants.T_STRING_CAST,re:/^\([ \t]*(?:binary|string)[ \t]*\)/i},{value:s.Constants.T_UNSET_CAST,re:/^\([ \t]*unset[ \t]*\)/i},{value:s.Constants.T_BOOLEAN_AND,re:/^&&/},{value:s.Constants.T_BOOLEAN_OR,re:/^\|\|/},{value:s.Constants.T_CLOSE_TAG,re:/^(?:\?>|<\/script>)(\r\n|\r|\n)?/i,func:function(){a("INITIAL")}},{value:s.Constants.T_DOUBLE_ARROW,re:/^=>/},{value:s.Constants.T_PAAMAYIM_NEKUDOTAYIM,re:/^::/},{value:s.Constants.T_INC,re:/^\+\+/},{value:s.Constants.T_DEC,re:/^--/},{value:s.Constants.T_CONCAT_EQUAL,re:/^\.=/},{value:s.Constants.T_DIV_EQUAL,re:/^\/=/},{value:s.Constants.T_XOR_EQUAL,re:/^\^=/},{value:s.Constants.T_MUL_EQUAL,re:/^\*=/},{value:s.Constants.T_MOD_EQUAL,re:/^%=/},{value:s.Constants.T_SL_EQUAL,re:/^<<=/},{value:s.Constants.T_START_HEREDOC,re:new RegExp("^[bB]?<<<[ \\t]*'("+C+")'(?:\\r\\n|\\r|\\n)"),func:function(t){n=t[1],a("NOWDOC")}},{value:s.Constants.T_START_HEREDOC,re:new RegExp('^[bB]?<<<[ \\t]*("?)('+C+")\\1(?:\\r\\n|\\r|\\n)"),func:function(t){n=t[2],r=!0,a("HEREDOC")}},{value:s.Constants.T_SL,re:/^<</},{value:s.Constants.T_SPACESHIP,re:/^<=>/},{value:s.Constants.T_IS_SMALLER_OR_EQUAL,re:/^<=/},{value:s.Constants.T_SR_EQUAL,re:/^>>=/},{value:s.Constants.T_SR,re:/^>>/},{value:s.Constants.T_IS_GREATER_OR_EQUAL,re:/^>=/},{value:s.Constants.T_OR_EQUAL,re:/^\|=/},{value:s.Constants.T_PLUS_EQUAL,re:/^\+=/},{value:s.Constants.T_MINUS_EQUAL,re:/^-=/},{value:s.Constants.T_OBJECT_OPERATOR,re:new RegExp("^->(?=[ \n\r\t]*"+C+")"),func:function(){_("LOOKING_FOR_PROPERTY")}},{value:s.Constants.T_OBJECT_OPERATOR,re:/^->/i},{value:s.Constants.T_ELLIPSIS,re:/^\.\.\./},{value:s.Constants.T_POW_EQUAL,re:/^\*\*=/},{value:s.Constants.T_POW,re:/^\*\*/},{value:s.Constants.T_COALESCE,re:/^\?\?/},{value:s.Constants.T_COMMENT,re:/^\/\*([\S\s]*?)(?:\*\/|$)/},{value:s.Constants.T_COMMENT,re:/^(?:\/\/|#)[^\r\n?]*(?:\?(?!>)[^\r\n?]*)*(?:\r\n|\r|\n)?/},{value:s.Constants.T_IS_IDENTICAL,re:/^===/},{value:s.Constants.T_IS_EQUAL,re:/^==/},{value:s.Constants.T_IS_NOT_IDENTICAL,re:/^!==/},{value:s.Constants.T_IS_NOT_EQUAL,re:/^(!=|<>)/},{value:s.Constants.T_DNUMBER,re:/^(?:[0-9]+\.[0-9]*|\.[0-9]+)(?:[eE][+-]?[0-9]+)?/},{value:s.Constants.T_DNUMBER,re:/^[0-9]+[eE][+-]?[0-9]+/},{value:s.Constants.T_LNUMBER,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:s.Constants.T_VARIABLE,re:new RegExp("^\\$"+C)},{value:s.Constants.T_CONSTANT_ENCAPSED_STRING,re:/^[bB]?'[^'\\]*(?:\\[\s\S][^'\\]*)*'/},{value:s.Constants.T_CONSTANT_ENCAPSED_STRING,re:new RegExp('^[bB]?"'+c('"')+'"')},{value:-1,re:/^[bB]?"/,func:function(){a("DOUBLE_QUOTES")}},{value:-1,re:/^`/,func:function(){a("BACKTICKS")}},{value:s.Constants.T_NS_SEPARATOR,re:/^\\/},{value:s.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(){i>0&&T()}},{value:-1,re:/^[\[\];:?()!.,><=+-/*|&@^%"'$~]/}],DOUBLE_QUOTES:h.concat([{value:-1,re:/^"/,func:function(){a("IN_SCRIPTING")}},{value:s.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+c('"'))}]),BACKTICKS:h.concat([{value:-1,re:/^`/,func:function(){a("IN_SCRIPTING")}},{value:s.Constants.T_ENCAPSED_AND_WHITESPACE,re:new RegExp("^"+c("`"))}]),VAR_OFFSET:[{value:-1,re:/^\]/,func:function(){T()}},{value:s.Constants.T_NUM_STRING,re:/^(?:0x[0-9A-F]+|0b[01]+|[0-9]+)/i},{value:s.Constants.T_VARIABLE,re:new RegExp("^\\$"+C)},{value:s.Constants.T_STRING,re:new RegExp("^"+C)},{value:-1,re:/^[;:,.\[()|^&+-/*=%!~$<>?@{}"`]/}],LOOKING_FOR_PROPERTY:[{value:s.Constants.T_OBJECT_OPERATOR,re:/^->/},{value:s.Constants.T_STRING,re:new RegExp("^"+C),func:function(){T()}},{value:s.Constants.T_WHITESPACE,re:/^[ \n\r\t]+/}],LOOKING_FOR_VARNAME:[{value:s.Constants.T_STRING_VARNAME,re:new RegExp("^"+C+"(?=[\\[}])"),func:function(){a("IN_SCRIPTING")}}],NOWDOC:[{value:s.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(){a("IN_SCRIPTING")}},{value:s.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(t){var e=new RegExp("[\\r\\n]"+n+"(?=;?[\\r\\n])").exec(t),s=e?e.index+1:t.length;return[t.substring(0,s)]}}],HEREDOC:h.concat([{value:s.Constants.T_END_HEREDOC,matchFunc:function(t){if(!r)return null;var e=new RegExp("^"+n+"(?=;?[\\r\\n])");return t.match(e)?[t.substr(0,n.length)]:null},func:function(){a("IN_SCRIPTING")}},{value:s.Constants.T_ENCAPSED_AND_WHITESPACE,matchFunc:function(t){var e=t.length,s=new RegExp("^"+c("")),o=s.exec(t);return o&&(e=o[0].length),(o=(s=new RegExp("([\\r\\n])"+n+"(?=;?[\\r\\n])")).exec(t.substring(0,e)))?(e=o.index+1,r=!0):r=!1,0==e?null:[t.substring(0,e)]}}])},A=[],L=1,N=!0;if(null===t)return A;for("string"!=typeof t&&(t=t.toString());t.length>0&&!0===N;){N=p[o[i]].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)A.push(n[0]);else{var s=n[0];A.push([parseInt(e.value,10),s,L]),L+=s.split("\n").length-1}return t=t.substring(n[0].length),!0}return!1}))}return A},s.Parser=function(t,e){var n=this.yybase,r=this.yydefault,o=this.yycheck,i=this.yyaction,a=this.yylen,_=this.yygbase,T=this.yygcheck,u=this.yyp,l=this.yygoto,E=this.yylhs,C=this.terminals,c=this.translate,h=this.yygdefault;this.pos=-1,this.line=1,this.tokenMap=this.createTokenMap(),this.dropTokens={},this.dropTokens[s.Constants.T_WHITESPACE]=1,this.dropTokens[s.Constants.T_OPEN_TAG]=1;var p=[];t.forEach((function(t,e){"object"==typeof t&&t[0]===s.Constants.T_OPEN_TAG_WITH_ECHO?(p.push([s.Constants.T_OPEN_TAG,t[1],t[2]]),p.push([s.Constants.T_ECHO,t[1],t[2]])):p.push(t)})),this.tokens=p;var A=this.TOKEN_NONE;this.startAttributes={startLine:1},this.endAttributes={};var L,N,f=[this.startAttributes],R=0,O=[R];for(this.yyastk=[],this.stackPos=0;;){if(0===n[R])L=r[R];else if(A===this.TOKEN_NONE&&(A=(N=this.getNextToken())>=0&&N<this.TOKEN_MAP_SIZE?c[N]:this.TOKEN_INVALID,f[this.stackPos]=this.startAttributes),((L=n[R]+A)>=0&&L<this.YYLAST&&o[L]===A||R<this.YY2TBLSTATE&&(L=n[R+this.YYNLSTATES]+A)>=0&&L<this.YYLAST&&o[L]===A)&&(L=i[L])!==this.YYDEFAULT)if(L>0){if(++this.stackPos,O[this.stackPos]=R=L,this.yyastk[this.stackPos]=this.tokenValue,f[this.stackPos]=this.startAttributes,A=this.TOKEN_NONE,L<this.YYNLSTATES)continue;L-=this.YYNLSTATES}else L=-L;else L=r[R];for(;;){if(0===L)return this.yyval;if(L===this.YYUNEXPECTED){if(!0!==e){for(var I=[],S=0;S<this.TOKEN_MAP_SIZE;++S)if(((L=n[R]+S)>=0&&L<this.YYLAST&&o[L]==S||R<this.YY2TBLSTATE&&(L=n[R+this.YYNLSTATES]+S)&&L<this.YYLAST&&o[L]==S)&&i[L]!=this.YYUNEXPECTED){if(4==I.length){I=[];break}I.push(this.terminals[S])}var P="";throw I.length&&(P=", expecting "+I.join(" or ")),new s.ParseError("syntax error, unexpected "+C[A]+P,this.startAttributes.startLine)}return this.startAttributes.startLine}for(var v in this.endAttributes)f[this.stackPos-a[L]][v]=this.endAttributes[v];if(this.stackPos-=a[L],R=(u=_[L=E[L]]+O[this.stackPos])>=0&&u<this.YYGLAST&&T[u]===L?l[u]:h[L],++this.stackPos,O[this.stackPos]=R,this.yyastk[this.stackPos]=this.yyval,f[this.stackPos]=this.startAttributes,R<this.YYNLSTATES)break;L=R-this.YYNLSTATES}}},s.ParseError=function(t,e){this.message=t,this.line=e},s.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,s.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(s.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},s.Parser.prototype.tokenName=function(t){var e="UNKNOWN";return["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_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_CHARACTER","T_BAD_CHARACTER","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_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_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_EXTENDS","T_IMPLEMENTS","T_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_COMMENT","T_DOC_COMMENT","T_OPEN_TAG","T_OPEN_TAG_WITH_ECHO","T_CLOSE_TAG","T_WHITESPACE","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"].some((function(n){return s.Constants[n]===t&&(e=n,!0)})),e},s.Parser.prototype.createTokenMap=function(){var t,e,n={};for(e=256;e<1e3;++e)s.Constants.T_OPEN_TAG_WITH_ECHO===e?n[e]=s.Constants.T_ECHO:s.Constants.T_CLOSE_TAG===e?n[e]=59:"UNKNOWN"!==(t=this.tokenName(e))&&(n[e]=this[t]);return n},s.Parser.prototype.TOKEN_NONE=-1,s.Parser.prototype.TOKEN_INVALID=159,s.Parser.prototype.TOKEN_MAP_SIZE=394,s.Parser.prototype.YYLAST=964,s.Parser.prototype.YY2TBLSTATE=348,s.Parser.prototype.YYGLAST=508,s.Parser.prototype.YYNLSTATES=602,s.Parser.prototype.YYUNEXPECTED=32767,s.Parser.prototype.YYDEFAULT=-32766,s.Parser.prototype.YYERRTOK=256,s.Parser.prototype.T_INCLUDE=257,s.Parser.prototype.T_INCLUDE_ONCE=258,s.Parser.prototype.T_EVAL=259,s.Parser.prototype.T_REQUIRE=260,s.Parser.prototype.T_REQUIRE_ONCE=261,s.Parser.prototype.T_LOGICAL_OR=262,s.Parser.prototype.T_LOGICAL_XOR=263,s.Parser.prototype.T_LOGICAL_AND=264,s.Parser.prototype.T_PRINT=265,s.Parser.prototype.T_YIELD=266,s.Parser.prototype.T_DOUBLE_ARROW=267,s.Parser.prototype.T_YIELD_FROM=268,s.Parser.prototype.T_PLUS_EQUAL=269,s.Parser.prototype.T_MINUS_EQUAL=270,s.Parser.prototype.T_MUL_EQUAL=271,s.Parser.prototype.T_DIV_EQUAL=272,s.Parser.prototype.T_CONCAT_EQUAL=273,s.Parser.prototype.T_MOD_EQUAL=274,s.Parser.prototype.T_AND_EQUAL=275,s.Parser.prototype.T_OR_EQUAL=276,s.Parser.prototype.T_XOR_EQUAL=277,s.Parser.prototype.T_SL_EQUAL=278,s.Parser.prototype.T_SR_EQUAL=279,s.Parser.prototype.T_POW_EQUAL=280,s.Parser.prototype.T_COALESCE_EQUAL=281,s.Parser.prototype.T_COALESCE=282,s.Parser.prototype.T_BOOLEAN_OR=283,s.Parser.prototype.T_BOOLEAN_AND=284,s.Parser.prototype.T_IS_EQUAL=285,s.Parser.prototype.T_IS_NOT_EQUAL=286,s.Parser.prototype.T_IS_IDENTICAL=287,s.Parser.prototype.T_IS_NOT_IDENTICAL=288,s.Parser.prototype.T_SPACESHIP=289,s.Parser.prototype.T_IS_SMALLER_OR_EQUAL=290,s.Parser.prototype.T_IS_GREATER_OR_EQUAL=291,s.Parser.prototype.T_SL=292,s.Parser.prototype.T_SR=293,s.Parser.prototype.T_INSTANCEOF=294,s.Parser.prototype.T_INC=295,s.Parser.prototype.T_DEC=296,s.Parser.prototype.T_INT_CAST=297,s.Parser.prototype.T_DOUBLE_CAST=298,s.Parser.prototype.T_STRING_CAST=299,s.Parser.prototype.T_ARRAY_CAST=300,s.Parser.prototype.T_OBJECT_CAST=301,s.Parser.prototype.T_BOOL_CAST=302,s.Parser.prototype.T_UNSET_CAST=303,s.Parser.prototype.T_POW=304,s.Parser.prototype.T_NEW=305,s.Parser.prototype.T_CLONE=306,s.Parser.prototype.T_EXIT=307,s.Parser.prototype.T_IF=308,s.Parser.prototype.T_ELSEIF=309,s.Parser.prototype.T_ELSE=310,s.Parser.prototype.T_ENDIF=311,s.Parser.prototype.T_LNUMBER=312,s.Parser.prototype.T_DNUMBER=313,s.Parser.prototype.T_STRING=314,s.Parser.prototype.T_STRING_VARNAME=315,s.Parser.prototype.T_VARIABLE=316,s.Parser.prototype.T_NUM_STRING=317,s.Parser.prototype.T_INLINE_HTML=318,s.Parser.prototype.T_CHARACTER=319,s.Parser.prototype.T_BAD_CHARACTER=320,s.Parser.prototype.T_ENCAPSED_AND_WHITESPACE=321,s.Parser.prototype.T_CONSTANT_ENCAPSED_STRING=322,s.Parser.prototype.T_ECHO=323,s.Parser.prototype.T_DO=324,s.Parser.prototype.T_WHILE=325,s.Parser.prototype.T_ENDWHILE=326,s.Parser.prototype.T_FOR=327,s.Parser.prototype.T_ENDFOR=328,s.Parser.prototype.T_FOREACH=329,s.Parser.prototype.T_ENDFOREACH=330,s.Parser.prototype.T_DECLARE=331,s.Parser.prototype.T_ENDDECLARE=332,s.Parser.prototype.T_AS=333,s.Parser.prototype.T_SWITCH=334,s.Parser.prototype.T_ENDSWITCH=335,s.Parser.prototype.T_CASE=336,s.Parser.prototype.T_DEFAULT=337,s.Parser.prototype.T_BREAK=338,s.Parser.prototype.T_CONTINUE=339,s.Parser.prototype.T_GOTO=340,s.Parser.prototype.T_FUNCTION=341,s.Parser.prototype.T_FN=342,s.Parser.prototype.T_CONST=343,s.Parser.prototype.T_RETURN=344,s.Parser.prototype.T_TRY=345,s.Parser.prototype.T_CATCH=346,s.Parser.prototype.T_FINALLY=347,s.Parser.prototype.T_THROW=348,s.Parser.prototype.T_USE=349,s.Parser.prototype.T_INSTEADOF=350,s.Parser.prototype.T_GLOBAL=351,s.Parser.prototype.T_STATIC=352,s.Parser.prototype.T_ABSTRACT=353,s.Parser.prototype.T_FINAL=354,s.Parser.prototype.T_PRIVATE=355,s.Parser.prototype.T_PROTECTED=356,s.Parser.prototype.T_PUBLIC=357,s.Parser.prototype.T_VAR=358,s.Parser.prototype.T_UNSET=359,s.Parser.prototype.T_ISSET=360,s.Parser.prototype.T_EMPTY=361,s.Parser.prototype.T_HALT_COMPILER=362,s.Parser.prototype.T_CLASS=363,s.Parser.prototype.T_TRAIT=364,s.Parser.prototype.T_INTERFACE=365,s.Parser.prototype.T_EXTENDS=366,s.Parser.prototype.T_IMPLEMENTS=367,s.Parser.prototype.T_OBJECT_OPERATOR=368,s.Parser.prototype.T_LIST=369,s.Parser.prototype.T_ARRAY=370,s.Parser.prototype.T_CALLABLE=371,s.Parser.prototype.T_CLASS_C=372,s.Parser.prototype.T_TRAIT_C=373,s.Parser.prototype.T_METHOD_C=374,s.Parser.prototype.T_FUNC_C=375,s.Parser.prototype.T_LINE=376,s.Parser.prototype.T_FILE=377,s.Parser.prototype.T_COMMENT=378,s.Parser.prototype.T_DOC_COMMENT=379,s.Parser.prototype.T_OPEN_TAG=380,s.Parser.prototype.T_OPEN_TAG_WITH_ECHO=381,s.Parser.prototype.T_CLOSE_TAG=382,s.Parser.prototype.T_WHITESPACE=383,s.Parser.prototype.T_START_HEREDOC=384,s.Parser.prototype.T_END_HEREDOC=385,s.Parser.prototype.T_DOLLAR_OPEN_CURLY_BRACES=386,s.Parser.prototype.T_CURLY_OPEN=387,s.Parser.prototype.T_PAAMAYIM_NEKUDOTAYIM=388,s.Parser.prototype.T_NAMESPACE=389,s.Parser.prototype.T_NS_C=390,s.Parser.prototype.T_DIR=391,s.Parser.prototype.T_NS_SEPARATOR=392,s.Parser.prototype.T_ELLIPSIS=393,s.Parser.prototype.terminals=["EOF","error","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_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_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_VAR","T_UNSET","T_ISSET","T_EMPTY","T_HALT_COMPILER","T_CLASS","T_TRAIT","T_INTERFACE","T_EXTENDS","T_IMPLEMENTS","T_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","';'","'{'","'}'","'('","')'","'`'","']'","'\"'","'$'","???"],s.Parser.prototype.translate=[0,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,54,157,159,158,53,36,159,153,154,51,48,7,49,50,52,159,159,159,159,159,159,159,159,159,159,30,150,42,15,44,29,66,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,68,159,156,35,159,155,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,151,34,152,56,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,159,1,2,3,4,5,6,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,31,32,33,37,38,39,40,41,43,45,46,47,55,57,58,59,60,61,62,63,64,65,67,69,70,71,72,73,74,75,76,77,78,79,80,81,82,159,159,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,159,159,159,159,159,159,140,141,142,143,144,145,146,147,148,149],s.Parser.prototype.yyaction=[607,608,609,610,611,685,612,613,614,650,651,0,32,103,104,105,106,107,108,109,110,111,112,113,114,115,-32767,-32767,-32767,-32767,94,95,96,97,98,-32766,-32766,-32766,687,491,-497,904,905,906,903,902,901,904,905,906,903,902,901,615,938,940,-32766,9,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766,616,617,618,619,620,621,622,333,1104,683,-32766,-32766,-32766,846,1103,119,623,624,625,626,627,628,629,630,631,632,633,653,654,655,656,657,645,646,647,675,648,649,634,635,636,637,638,639,640,677,678,679,680,681,682,641,642,643,644,674,665,663,664,660,661,402,652,658,659,666,667,669,668,670,671,45,46,421,47,48,662,673,672,27,49,50,233,51,-32766,-32766,-32766,96,97,98,24,-32766,-32766,-32766,-458,261,121,1023,-32766,-32766,-32766,1091,1073,-32766,-32766,-32766,1039,-32766,-32766,-32766,-32766,-32766,-32766,-496,-32766,-32766,-32766,52,53,-32766,-497,-32766,-32766,54,687,55,231,232,56,57,58,59,60,61,62,63,1016,24,242,64,369,-32766,-32766,-32766,226,1040,1041,423,1076,1073,-493,880,508,1039,436,1023,-458,768,1073,239,333,-500,-32766,-500,-32766,-32766,-32766,-32766,856,253,-458,276,378,372,786,68,1073,-458,685,-461,278,1126,403,289,1127,288,99,100,101,303,252,433,434,822,-32766,69,261,237,850,851,435,436,102,1045,1046,1047,1048,1042,1043,256,1016,-456,-456,306,444,1049,1044,375,133,561,-239,363,66,237,268,692,273,278,422,-137,-137,-137,-4,768,1073,310,278,1035,757,687,362,37,20,424,-137,425,-137,426,-137,427,-137,127,428,-295,278,-295,38,39,370,371,-496,271,40,429,277,687,65,261,1016,302,896,430,431,-456,-456,333,-494,432,44,42,743,791,373,374,-457,-234,562,-456,-456,375,-32766,-32766,-32766,882,-456,-456,124,-493,75,850,851,333,-273,-260,422,768,770,576,-137,261,125,-32766,278,823,757,857,1073,37,20,424,240,425,-178,426,589,427,393,503,428,687,235,241,38,39,370,371,125,354,40,429,260,259,65,267,687,302,-457,430,431,-296,-177,-296,24,432,305,365,700,791,373,374,-457,120,118,24,1073,30,366,-457,1039,-460,850,851,687,367,691,1073,422,291,768,1039,333,-83,770,576,-4,467,757,126,368,37,20,424,-92,425,278,426,444,427,1016,375,428,-219,-219,-219,38,39,370,371,333,1016,40,429,850,851,65,435,436,302,236,430,431,225,708,-494,709,432,435,436,743,791,373,374,690,387,136,1117,578,68,413,238,8,33,278,1053,227,708,687,709,68,422,-260,535,21,278,770,576,-219,550,551,757,687,116,37,20,424,117,425,358,426,-178,427,132,328,428,-218,-218,-218,38,39,370,371,687,333,40,429,122,768,65,383,384,302,123,430,431,29,234,333,-177,432,528,529,743,791,373,374,129,850,851,135,76,77,78,1092,881,599,582,254,333,137,138,782,590,593,293,767,131,252,770,576,-218,31,102,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,43,252,422,558,768,687,690,-32766,471,130,476,685,757,102,553,37,20,424,526,425,688,426,272,427,910,1016,428,792,1128,793,38,39,370,583,269,570,40,429,536,1052,65,275,1055,302,-415,541,270,-81,10,391,768,432,542,554,784,594,5,0,12,577,0,0,304,0,0,0,0,336,342,0,0,0,0,0,0,422,0,0,0,584,770,576,0,0,0,757,0,0,37,20,424,343,425,0,426,0,427,768,0,428,0,0,0,38,39,370,347,387,473,40,429,359,360,65,744,35,302,36,597,598,748,422,825,809,432,816,587,876,877,806,817,757,746,804,37,20,424,885,425,888,426,889,427,768,886,428,887,893,-485,38,39,370,579,770,576,40,429,581,585,65,586,588,302,592,286,287,352,353,422,580,432,1123,591,1125,703,790,702,712,757,789,713,37,20,424,710,425,1124,426,788,427,768,1004,428,711,777,785,38,39,370,808,576,-483,40,429,775,814,65,815,1122,302,1074,1067,1081,1086,422,1089,-237,432,-461,-460,-459,23,25,28,757,34,41,37,20,424,67,425,70,426,71,427,72,73,428,74,128,134,38,39,370,139,770,576,40,429,229,230,65,246,247,302,248,249,250,251,290,422,355,432,357,-427,-235,-234,14,15,16,757,17,19,37,20,424,325,425,404,426,406,427,409,411,428,412,419,567,38,39,370,770,576,1027,40,429,977,1037,65,858,1008,302,-32766,-32766,-32766,-92,13,18,22,432,263,324,501,522,569,981,978,0,994,0,1036,1065,1066,-32766,1080,-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,1120,532,770,576,1054],s.Parser.prototype.yycheck=[2,3,4,5,6,78,8,9,10,11,12,0,15,16,17,18,19,20,21,22,23,24,25,26,27,28,42,43,44,45,46,47,48,49,50,8,9,10,78,79,7,114,115,116,117,118,119,114,115,116,117,118,119,55,57,58,29,7,31,32,33,34,35,36,8,9,10,69,70,71,72,73,74,75,114,1,78,8,9,10,1,7,13,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,30,131,132,133,134,135,136,137,138,139,2,3,4,5,6,145,146,147,7,11,12,36,14,8,9,10,48,49,50,68,8,9,10,68,29,7,1,8,9,10,1,80,8,9,29,84,31,32,33,34,35,29,7,31,32,33,48,49,29,154,31,32,54,78,56,57,58,59,60,61,62,63,64,65,66,114,68,69,70,71,8,9,10,13,76,77,78,1,80,7,1,49,84,132,1,130,1,80,7,114,154,29,156,31,32,33,34,1,7,144,7,103,104,1,153,80,151,78,153,158,78,151,114,81,7,51,52,53,7,55,122,123,30,8,149,29,36,132,133,131,132,67,134,135,136,137,138,139,140,114,68,68,7,145,146,147,148,13,78,154,125,153,36,155,1,157,158,72,73,74,75,0,1,80,7,158,1,82,78,7,85,86,87,88,89,90,91,92,93,94,151,96,103,158,105,100,101,102,103,154,111,106,107,68,78,110,29,114,113,120,115,116,130,130,114,7,121,68,68,124,125,126,127,68,154,145,144,144,148,8,9,10,152,151,151,30,154,151,132,133,114,152,7,72,1,150,151,152,29,149,29,158,150,82,154,80,85,86,87,36,89,7,91,151,93,130,1,96,78,36,36,100,101,102,103,149,105,106,107,130,130,110,111,78,113,130,115,116,103,7,105,68,121,144,7,124,125,126,127,144,151,151,68,80,7,7,151,84,153,132,133,78,7,150,80,72,145,1,84,114,30,150,151,152,83,82,151,7,85,86,87,154,89,158,91,145,93,114,148,96,97,98,99,100,101,102,103,114,114,106,107,132,133,110,131,132,113,36,115,116,95,103,154,105,121,131,132,124,125,126,127,80,148,13,83,151,153,103,36,105,13,158,141,13,103,78,105,153,72,154,73,74,158,150,151,152,73,74,82,78,15,85,86,87,15,89,148,91,154,93,98,99,96,97,98,99,100,101,102,103,78,114,106,107,15,1,110,103,104,113,15,115,116,142,143,114,154,121,108,109,124,125,126,127,15,132,133,15,8,9,10,154,150,151,30,30,114,15,15,36,30,30,34,30,30,55,150,151,152,29,67,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,68,55,72,75,1,78,80,83,83,68,87,78,82,67,92,85,86,87,111,89,78,91,112,93,80,114,96,125,81,125,100,101,102,30,128,90,106,107,88,141,110,128,141,113,144,94,129,95,95,95,1,121,97,97,149,152,144,-1,144,151,-1,-1,144,-1,-1,-1,-1,148,148,-1,-1,-1,-1,-1,-1,72,-1,-1,-1,30,150,151,-1,-1,-1,82,-1,-1,85,86,87,148,89,-1,91,-1,93,1,-1,96,-1,-1,-1,100,101,102,148,148,148,106,107,148,148,110,152,150,113,150,150,150,150,72,150,150,121,150,30,150,150,150,150,82,150,150,85,86,87,150,89,150,91,150,93,1,150,96,150,150,153,100,101,102,151,150,151,106,107,151,151,110,151,151,113,151,151,151,151,151,72,151,121,152,30,152,152,152,152,152,82,152,152,85,86,87,152,89,152,91,152,93,1,152,96,152,152,152,100,101,102,150,151,153,106,107,152,152,110,152,152,113,152,152,152,152,72,152,154,121,153,153,153,153,153,153,82,153,153,85,86,87,153,89,153,91,153,93,153,153,96,153,153,153,100,101,102,153,150,151,106,107,153,153,110,153,153,113,153,153,153,153,153,72,153,121,153,155,154,154,154,154,154,82,154,154,85,86,87,154,89,154,91,154,93,154,154,96,154,154,154,100,101,102,150,151,154,106,107,154,154,110,154,154,113,8,9,10,154,154,154,154,121,154,154,154,154,154,154,154,-1,155,-1,156,156,156,29,156,31,32,33,34,35,36,37,38,39,40,41,156,156,150,151,157],s.Parser.prototype.yybase=[0,223,299,371,444,303,208,618,-2,-2,-73,-2,-2,625,718,718,764,718,552,671,811,811,811,228,113,113,113,254,361,-40,361,333,449,470,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,435,291,291,230,393,495,779,784,781,776,775,780,785,498,678,680,562,681,682,683,685,782,804,777,783,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,253,69,162,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,349,349,349,157,210,150,200,211,143,27,917,917,917,917,917,-16,-16,-16,-16,351,351,362,217,89,89,89,89,89,89,89,89,89,89,89,89,89,163,313,106,106,133,133,133,133,133,133,221,305,234,347,369,523,806,167,167,441,93,283,202,202,202,386,547,533,533,533,533,419,419,533,533,170,214,74,211,211,277,211,211,211,409,409,409,452,318,352,546,318,619,640,577,675,578,677,278,585,145,586,145,145,145,458,445,451,774,291,522,291,291,291,291,722,291,291,291,291,291,291,98,291,79,430,230,240,240,556,240,452,538,263,635,410,425,538,538,538,636,637,336,363,198,638,382,402,173,33,549,549,555,555,566,551,549,549,549,549,549,690,690,555,548,555,566,695,555,551,551,555,555,549,555,690,551,156,415,249,273,551,551,426,528,549,535,535,433,555,219,555,139,539,690,690,539,229,551,231,590,591,529,527,553,245,553,553,300,529,553,551,553,448,50,548,295,553,11,699,701,418,703,694,705,731,706,530,524,526,719,720,708,692,691,561,582,513,517,534,554,689,581,531,531,531,554,687,531,531,531,531,531,531,531,531,787,540,545,723,537,541,576,543,623,520,582,582,584,732,786,564,722,762,709,587,557,741,725,525,542,565,726,727,745,765,628,513,766,641,563,643,582,644,531,670,617,788,789,688,791,736,747,749,580,645,569,803,646,768,629,631,589,737,684,751,647,752,754,649,592,572,734,573,733,272,729,632,650,654,656,658,661,710,594,738,544,740,735,595,597,560,663,488,599,570,571,600,714,558,550,601,602,769,664,728,604,665,756,574,581,536,532,575,567,634,755,559,605,609,611,613,674,616,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,136,136,136,136,-2,-2,-2,0,0,-2,0,0,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,136,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,568,-3,568,568,-3,568,568,568,568,568,568,568,202,202,202,202,318,318,318,-67,318,318,318,318,318,318,318,318,318,318,318,318,318,318,-67,202,202,318,318,318,318,318,318,318,318,318,318,419,419,419,145,145,318,0,0,0,0,0,549,419,318,318,318,318,0,0,318,318,548,145,0,0,0,0,0,0,0,549,549,549,548,0,549,419,0,240,291,440,440,440,440,0,549,0,549,0,0,0,0,0,0,551,0,690,0,0,0,0,555,0,0,0,0,0,0,0,0,548,0,0,0,0,548,0,0,531,0,564,0,0,531,531,531,564,564,0,0,0,564],s.Parser.prototype.yydefault=[3,32767,32767,32767,32767,32767,32767,32767,32767,92,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,510,510,510,94,499,32767,499,32767,32767,32767,314,314,314,32767,454,454,454,454,454,454,454,32767,32767,32767,32767,32767,394,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,92,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,506,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,377,378,380,381,313,455,509,259,505,312,130,270,261,211,243,310,134,342,395,344,393,397,343,319,323,324,325,326,327,328,329,330,331,332,333,334,335,317,318,396,398,399,374,373,372,340,316,341,345,316,347,346,363,364,361,362,365,366,367,368,369,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,94,32767,32767,32767,293,354,355,250,250,250,250,250,250,32767,250,32767,250,32767,32767,32767,32767,32767,32767,448,371,349,350,348,32767,426,32767,32767,32767,32767,32767,428,32767,92,32767,32767,32767,337,339,420,508,320,507,32767,32767,94,414,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,423,32767,32767,92,32767,32767,92,174,230,232,179,32767,431,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,414,359,517,32767,456,32767,351,352,353,32767,32767,456,456,456,32767,456,32767,456,456,32767,32767,32767,32767,32767,179,32767,32767,32767,32767,94,429,429,92,92,92,92,424,32767,179,179,32767,32767,32767,32767,32767,179,91,91,91,91,179,179,91,194,32767,192,192,91,32767,93,32767,93,196,32767,470,196,91,179,91,216,216,405,181,252,93,252,252,93,405,252,179,252,91,91,32767,91,252,32767,32767,32767,85,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,416,32767,436,32767,449,468,32767,357,358,360,32767,458,382,383,384,385,386,387,388,390,32767,419,32767,32767,32767,87,121,269,32767,515,87,417,32767,515,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,87,87,32767,32767,32767,32767,32767,495,32767,516,32767,456,418,32767,356,432,475,32767,32767,457,32767,32767,32767,32767,87,32767,32767,32767,32767,32767,32767,32767,32767,32767,436,32767,32767,32767,32767,32767,32767,32767,456,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,456,32767,32767,242,32767,32767,32767,309,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,85,60,32767,289,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,136,136,3,272,3,272,136,136,136,272,272,136,136,136,136,136,136,136,169,224,227,216,216,281,136,136],s.Parser.prototype.yygoto=[171,144,144,144,171,152,153,152,155,187,172,168,168,168,168,169,169,169,169,169,169,169,164,165,166,167,184,182,185,445,446,334,447,450,451,452,453,454,455,456,457,924,141,145,146,147,170,148,149,143,150,151,154,181,183,186,206,209,211,212,214,215,216,217,218,219,220,221,222,223,224,244,245,264,265,266,339,340,341,496,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,156,203,157,173,174,175,207,176,158,159,160,177,161,208,142,204,162,178,205,179,180,163,563,210,463,210,516,516,1038,572,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,1038,468,468,468,514,537,468,297,489,521,489,498,274,533,534,698,483,258,468,448,448,448,725,448,448,448,448,448,448,448,448,448,448,448,448,448,449,449,449,699,449,449,449,449,449,449,449,449,449,449,449,449,449,1114,1114,734,725,899,725,315,319,475,499,500,502,1083,1084,468,468,760,1114,761,900,482,506,468,468,468,329,330,686,481,545,495,332,510,596,523,525,294,469,538,556,559,835,566,574,831,765,729,717,864,494,807,868,490,860,716,716,810,697,1013,1105,726,726,726,728,715,840,1093,800,824,805,805,803,805,595,313,460,833,828,459,3,4,907,733,539,1009,487,317,461,459,497,892,575,972,474,843,557,890,1129,484,485,505,517,519,520,568,801,801,801,801,465,855,795,802,1002,787,405,1003,799,327,571,356,1082,530,1014,848,346,540,350,11,337,337,280,281,283,493,344,284,345,285,348,524,351,1015,1069,1113,1113,543,301,298,299,721,560,838,838,1100,295,865,718,600,323,544,1113,1010,1017,511,1005,869,849,849,849,849,849,849,1017,849,849,849,720,730,1116,714,812,849,1088,1088,909,465,398,513,414,1017,1017,1017,1017,0,1079,1017,1017,0,701,0,0,0,0,0,1079,0,0,0,0,0,773,1090,1090,774,706,0,756,751,752,766,0,707,753,704,754,755,705,0,759,0,1075,0,0,0,0,0,1012,0,0,0,480,0,0,0,0,0,0,0,0,0,0,0,0,0,867,0,1077,1077,867,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,462,478,0,0,0,0,0,0,0,0,0,462,0,478,0,0,316,0,0,466,386,0,388,0,0,0,0,0,0,0,0,0,0,0,0,0,0,724,0,1121],s.Parser.prototype.yygcheck=[33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,63,56,10,56,86,86,86,8,86,86,86,86,86,86,86,86,86,86,86,86,86,10,10,10,46,46,10,80,85,73,85,97,134,73,73,17,10,134,10,135,135,135,26,135,135,135,135,135,135,135,135,135,135,135,135,135,137,137,137,18,137,137,137,137,137,137,137,137,137,137,137,137,137,148,148,36,26,111,26,49,49,49,49,49,49,141,141,10,10,55,148,55,111,10,10,10,10,10,69,69,5,39,69,2,69,2,39,39,39,69,10,39,39,39,39,39,39,39,13,14,14,14,10,40,14,136,94,26,26,14,16,92,146,26,26,26,26,26,14,143,14,16,16,16,16,16,16,52,16,16,16,75,37,37,14,14,54,14,53,65,65,75,7,7,7,118,65,88,7,7,12,65,65,68,68,68,68,68,75,75,75,75,12,90,75,75,67,67,65,67,76,76,76,89,139,24,92,91,56,56,56,65,56,56,56,56,56,56,56,56,56,56,56,56,56,92,92,147,147,12,20,80,80,30,12,85,85,85,11,96,28,82,19,23,147,127,63,15,124,99,63,63,63,63,63,63,63,63,63,63,15,32,147,15,79,63,8,8,114,12,71,72,122,63,63,63,63,-1,97,63,63,-1,13,-1,-1,-1,-1,-1,97,-1,-1,-1,-1,-1,63,97,97,63,13,-1,13,13,13,13,-1,13,13,13,13,13,13,-1,13,-1,97,-1,-1,-1,-1,-1,12,-1,-1,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,97,-1,97,97,97,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,8,-1,-1,8,-1,-1,8,8,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,8],s.Parser.prototype.yygbase=[0,0,-358,0,0,207,0,274,114,0,-148,54,10,94,-144,-40,245,150,174,48,70,0,0,-3,25,0,-108,0,44,0,52,0,3,-23,0,0,183,-331,0,-359,221,0,0,0,0,0,106,0,0,157,0,0,227,45,47,191,90,0,0,0,0,0,0,111,0,-95,0,-26,43,-193,0,-12,-20,-435,0,26,37,0,0,4,-259,0,20,0,0,117,-104,0,31,55,46,53,-64,0,216,0,40,143,0,-10,0,0,0,0,0,0,0,0,0,0,0,-34,0,0,7,0,0,0,30,0,0,0,-32,0,-9,0,0,-5,0,0,0,0,0,0,-119,-69,217,-52,0,51,0,-102,0,226,0,0,223,77,-67,0,0],s.Parser.prototype.yygdefault=[-32768,420,603,2,604,676,684,548,437,573,438,464,335,758,913,778,740,741,742,320,361,311,318,531,518,410,727,381,719,407,722,380,731,140,549,416,735,1,737,470,769,308,745,309,552,747,477,749,750,314,321,322,917,486,515,762,213,479,763,307,764,772,331,312,392,417,326,894,504,527,376,395,512,507,488,1024,797,401,390,811,296,819,601,827,830,439,440,399,842,400,853,847,1032,394,859,382,866,1064,385,870,228,873,255,546,349,878,879,6,884,564,565,7,243,415,908,547,379,923,364,991,993,472,408,1006,389,555,418,1011,1068,377,441,396,282,300,257,442,458,262,443,397,1071,1078,338,1094,279,26,1106,1115,292,492,509],s.Parser.prototype.yylhs=[0,1,3,3,2,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,7,7,8,9,10,10,11,12,13,13,14,14,15,15,4,4,4,4,4,4,4,4,4,4,4,20,20,21,21,21,21,23,25,25,19,27,27,24,29,29,26,26,28,28,30,30,22,31,31,32,34,35,35,36,37,37,39,38,38,38,38,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,16,16,59,59,62,62,61,60,60,53,64,64,65,65,66,66,67,67,17,18,18,18,70,70,70,71,71,74,74,72,72,76,77,77,47,47,55,55,58,58,58,57,78,78,79,48,48,48,48,80,80,81,81,82,82,45,45,41,41,83,43,43,84,42,42,44,44,54,54,54,54,68,68,87,87,88,88,88,90,90,91,91,91,89,89,69,69,69,92,92,93,93,94,94,94,50,95,95,96,51,98,98,99,99,100,100,73,101,101,101,101,101,106,106,107,107,108,108,108,108,108,109,110,110,105,105,102,102,104,104,112,112,111,111,111,111,111,111,103,113,113,115,114,114,52,116,116,46,46,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,123,117,117,122,122,125,126,126,127,128,128,128,75,75,63,63,63,118,118,118,130,130,119,119,121,121,121,124,124,135,135,135,86,137,137,137,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,49,49,133,133,133,129,129,129,138,138,138,138,138,138,56,56,56,97,97,97,97,141,140,132,132,132,132,132,132,131,131,131,139,139,139,139,85,142,142,143,143,143,143,143,143,143,136,145,145,144,144,146,146,146,146,146,146,134,134,134,134,148,149,147,147,147,147,147,147,147,150,150,150,150],s.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,3,1,1,1,1,0,1,0,1,1,1,1,1,3,5,4,3,4,2,3,1,1,7,8,6,7,2,3,1,2,3,1,2,3,1,1,3,1,2,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,3,2,1,1,1,0,2,1,3,8,0,4,2,1,3,0,1,0,1,3,1,8,7,6,5,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,1,4,0,2,5,0,2,6,0,2,0,3,1,2,1,1,2,0,1,3,4,6,4,1,2,1,1,1,0,1,0,2,2,2,4,1,3,1,2,2,2,3,1,1,2,3,1,1,3,2,0,1,4,4,9,3,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,2,1,3,1,1,3,2,3,1,0,1,1,3,3,3,4,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,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,8,9,8,9,7,3,2,0,4,2,1,3,2,2,2,4,1,1,1,2,3,1,1,1,1,1,0,3,0,1,1,0,1,1,3,3,3,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,2,3,3,0,1,1,3,1,1,3,1,1,4,4,4,1,4,1,1,3,1,4,2,2,1,3,1,4,4,3,3,3,1,3,1,1,3,1,1,4,3,1,1,2,1,3,4,3,0,1,1,1,3,1,3,1,4,2,2,0,2,2,1,2,1,1,1,4,3,3,3,6,3,1,1,2,1],e.PHP=s})),ace.define("ace/mode/php_worker",[],(function(t,e,n){"use strict";var s=t("../lib/oop"),r=t("../worker/mirror").Mirror,o=t("./php/php").PHP,i=e.PhpWorker=function(t){r.call(this,t),this.setTimeout(500)};s.inherits(i,r),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(i.prototype)}));