@openfn/language-mssql 2.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2773) hide show
  1. package/LICENSE +674 -0
  2. package/LICENSE.LESSER +165 -0
  3. package/README.md +165 -0
  4. package/ast.json +1049 -0
  5. package/lib/Adaptor.js +814 -0
  6. package/lib/Client.js +28 -0
  7. package/lib/index.js +19 -0
  8. package/node_modules/@azure/ms-rest-azure-env/Changelog.md +24 -0
  9. package/node_modules/@azure/ms-rest-azure-env/LICENSE +21 -0
  10. package/node_modules/@azure/ms-rest-azure-env/README.md +41 -0
  11. package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.js +172 -0
  12. package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.js.map +1 -0
  13. package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.min.js +5 -0
  14. package/node_modules/@azure/ms-rest-azure-env/dist/msRestAzureEnv.min.js.map +1 -0
  15. package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.d.ts +232 -0
  16. package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.d.ts.map +1 -0
  17. package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.js +157 -0
  18. package/node_modules/@azure/ms-rest-azure-env/es/lib/azureEnvironment.js.map +1 -0
  19. package/node_modules/@azure/ms-rest-azure-env/lib/azureEnvironment.ts +347 -0
  20. package/node_modules/@azure/ms-rest-azure-env/package.json +100 -0
  21. package/node_modules/@azure/ms-rest-js/Changelog.md +228 -0
  22. package/node_modules/@azure/ms-rest-js/LICENSE +21 -0
  23. package/node_modules/@azure/ms-rest-js/README.md +40 -0
  24. package/node_modules/@azure/ms-rest-js/ThirdPartyNotices.txt +35 -0
  25. package/node_modules/@azure/ms-rest-js/dist/msRest.browser.js +4060 -0
  26. package/node_modules/@azure/ms-rest-js/dist/msRest.browser.js.map +1 -0
  27. package/node_modules/@azure/ms-rest-js/dist/msRest.browser.min.js +5 -0
  28. package/node_modules/@azure/ms-rest-js/dist/msRest.browser.min.js.map +1 -0
  29. package/node_modules/@azure/ms-rest-js/dist/msRest.node.js +3942 -0
  30. package/node_modules/@azure/ms-rest-js/dist/msRest.node.js.map +1 -0
  31. package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.d.ts +25 -0
  32. package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.d.ts.map +1 -0
  33. package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.js +265 -0
  34. package/node_modules/@azure/ms-rest-js/es/lib/axiosHttpClient.js.map +1 -0
  35. package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.d.ts +46 -0
  36. package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.d.ts.map +1 -0
  37. package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.js +56 -0
  38. package/node_modules/@azure/ms-rest-js/es/lib/credentials/apiKeyCredentials.js.map +1 -0
  39. package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.d.ts +24 -0
  40. package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.d.ts.map +1 -0
  41. package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.js +47 -0
  42. package/node_modules/@azure/ms-rest-js/es/lib/credentials/basicAuthenticationCredentials.js.map +1 -0
  43. package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.d.ts +2 -0
  44. package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.d.ts.map +1 -0
  45. package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.js +3 -0
  46. package/node_modules/@azure/ms-rest-js/es/lib/credentials/credentials.js.map +1 -0
  47. package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.d.ts +11 -0
  48. package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.d.ts.map +1 -0
  49. package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.js +29 -0
  50. package/node_modules/@azure/ms-rest-js/es/lib/credentials/domainCredentials.js.map +1 -0
  51. package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.d.ts +11 -0
  52. package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.d.ts.map +1 -0
  53. package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.js +3 -0
  54. package/node_modules/@azure/ms-rest-js/es/lib/credentials/serviceClientCredentials.js.map +1 -0
  55. package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.d.ts +25 -0
  56. package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.d.ts.map +1 -0
  57. package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.js +42 -0
  58. package/node_modules/@azure/ms-rest-js/es/lib/credentials/tokenCredentials.js.map +1 -0
  59. package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.d.ts +11 -0
  60. package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.d.ts.map +1 -0
  61. package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.js +29 -0
  62. package/node_modules/@azure/ms-rest-js/es/lib/credentials/topicCredentials.js.map +1 -0
  63. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.d.ts +2 -0
  64. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.d.ts.map +1 -0
  65. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.js +4 -0
  66. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.browser.js.map +1 -0
  67. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.d.ts +2 -0
  68. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.d.ts.map +1 -0
  69. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.js +4 -0
  70. package/node_modules/@azure/ms-rest-js/es/lib/defaultHttpClient.js.map +1 -0
  71. package/node_modules/@azure/ms-rest-js/es/lib/httpClient.d.ts +7 -0
  72. package/node_modules/@azure/ms-rest-js/es/lib/httpClient.d.ts.map +1 -0
  73. package/node_modules/@azure/ms-rest-js/es/lib/httpClient.js +3 -0
  74. package/node_modules/@azure/ms-rest-js/es/lib/httpClient.js.map +1 -0
  75. package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.d.ts +78 -0
  76. package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.d.ts.map +1 -0
  77. package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.js +119 -0
  78. package/node_modules/@azure/ms-rest-js/es/lib/httpHeaders.js.map +1 -0
  79. package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.d.ts +75 -0
  80. package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.d.ts.map +1 -0
  81. package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.js +3 -0
  82. package/node_modules/@azure/ms-rest-js/es/lib/httpOperationResponse.js.map +1 -0
  83. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.d.ts +22 -0
  84. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.d.ts.map +1 -0
  85. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.js +25 -0
  86. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogLevel.js.map +1 -0
  87. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.d.ts +35 -0
  88. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.d.ts.map +1 -0
  89. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.js +37 -0
  90. package/node_modules/@azure/ms-rest-js/es/lib/httpPipelineLogger.js.map +1 -0
  91. package/node_modules/@azure/ms-rest-js/es/lib/msRest.d.ts +37 -0
  92. package/node_modules/@azure/ms-rest-js/es/lib/msRest.d.ts.map +1 -0
  93. package/node_modules/@azure/ms-rest-js/es/lib/msRest.js +31 -0
  94. package/node_modules/@azure/ms-rest-js/es/lib/msRest.js.map +1 -0
  95. package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.d.ts +15 -0
  96. package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.d.ts.map +1 -0
  97. package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.js +3 -0
  98. package/node_modules/@azure/ms-rest-js/es/lib/operationArguments.js.map +1 -0
  99. package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.d.ts +51 -0
  100. package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.d.ts.map +1 -0
  101. package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.js +24 -0
  102. package/node_modules/@azure/ms-rest-js/es/lib/operationParameter.js.map +1 -0
  103. package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.d.ts +15 -0
  104. package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.d.ts.map +1 -0
  105. package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.js +3 -0
  106. package/node_modules/@azure/ms-rest-js/es/lib/operationResponse.js.map +1 -0
  107. package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.d.ts +68 -0
  108. package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.d.ts.map +1 -0
  109. package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.js +15 -0
  110. package/node_modules/@azure/ms-rest-js/es/lib/operationSpec.js.map +1 -0
  111. package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.d.ts +38 -0
  112. package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.d.ts.map +1 -0
  113. package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.js +195 -0
  114. package/node_modules/@azure/ms-rest-js/es/lib/policies/deserializationPolicy.js.map +1 -0
  115. package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.d.ts +48 -0
  116. package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.d.ts.map +1 -0
  117. package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.js +121 -0
  118. package/node_modules/@azure/ms-rest-js/es/lib/policies/exponentialRetryPolicy.js.map +1 -0
  119. package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.d.ts +10 -0
  120. package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.d.ts.map +1 -0
  121. package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.js +30 -0
  122. package/node_modules/@azure/ms-rest-js/es/lib/policies/generateClientRequestIdPolicy.js.map +1 -0
  123. package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.d.ts +10 -0
  124. package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.d.ts.map +1 -0
  125. package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.js +35 -0
  126. package/node_modules/@azure/ms-rest-js/es/lib/policies/logPolicy.js.map +1 -0
  127. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.d.ts +4 -0
  128. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.d.ts.map +1 -0
  129. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.js +14 -0
  130. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.browser.js.map +1 -0
  131. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.d.ts +4 -0
  132. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.d.ts.map +1 -0
  133. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.js +19 -0
  134. package/node_modules/@azure/ms-rest-js/es/lib/policies/msRestUserAgentPolicy.js.map +1 -0
  135. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.d.ts +11 -0
  136. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.d.ts.map +1 -0
  137. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.js +29 -0
  138. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.browser.js.map +1 -0
  139. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.d.ts +12 -0
  140. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.d.ts.map +1 -0
  141. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.js +61 -0
  142. package/node_modules/@azure/ms-rest-js/es/lib/policies/proxyPolicy.js.map +1 -0
  143. package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.d.ts +10 -0
  144. package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.d.ts.map +1 -0
  145. package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.js +48 -0
  146. package/node_modules/@azure/ms-rest-js/es/lib/policies/redirectPolicy.js.map +1 -0
  147. package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.d.ts +53 -0
  148. package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.d.ts.map +1 -0
  149. package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.js +60 -0
  150. package/node_modules/@azure/ms-rest-js/es/lib/policies/requestPolicy.js.map +1 -0
  151. package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.d.ts +10 -0
  152. package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.d.ts.map +1 -0
  153. package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.js +158 -0
  154. package/node_modules/@azure/ms-rest-js/es/lib/policies/rpRegistrationPolicy.js.map +1 -0
  155. package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.d.ts +12 -0
  156. package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.d.ts.map +1 -0
  157. package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.js +29 -0
  158. package/node_modules/@azure/ms-rest-js/es/lib/policies/signingPolicy.js.map +1 -0
  159. package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.d.ts +37 -0
  160. package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.d.ts.map +1 -0
  161. package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.js +110 -0
  162. package/node_modules/@azure/ms-rest-js/es/lib/policies/systemErrorRetryPolicy.js.map +1 -0
  163. package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.d.ts +21 -0
  164. package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.d.ts.map +1 -0
  165. package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.js +82 -0
  166. package/node_modules/@azure/ms-rest-js/es/lib/policies/throttlingRetryPolicy.js.map +1 -0
  167. package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.d.ts +21 -0
  168. package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.d.ts.map +1 -0
  169. package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.js +64 -0
  170. package/node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.js.map +1 -0
  171. package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.d.ts +11 -0
  172. package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.d.ts.map +1 -0
  173. package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.js +14 -0
  174. package/node_modules/@azure/ms-rest-js/es/lib/queryCollectionFormat.js.map +1 -0
  175. package/node_modules/@azure/ms-rest-js/es/lib/restError.d.ts +14 -0
  176. package/node_modules/@azure/ms-rest-js/es/lib/restError.d.ts.map +1 -0
  177. package/node_modules/@azure/ms-rest-js/es/lib/restError.js +22 -0
  178. package/node_modules/@azure/ms-rest-js/es/lib/restError.js.map +1 -0
  179. package/node_modules/@azure/ms-rest-js/es/lib/serializer.d.ts +130 -0
  180. package/node_modules/@azure/ms-rest-js/es/lib/serializer.d.ts.map +1 -0
  181. package/node_modules/@azure/ms-rest-js/es/lib/serializer.js +752 -0
  182. package/node_modules/@azure/ms-rest-js/es/lib/serializer.js.map +1 -0
  183. package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.d.ts +135 -0
  184. package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.d.ts.map +1 -0
  185. package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.js +443 -0
  186. package/node_modules/@azure/ms-rest-js/es/lib/serviceClient.js.map +1 -0
  187. package/node_modules/@azure/ms-rest-js/es/lib/url.d.ts +149 -0
  188. package/node_modules/@azure/ms-rest-js/es/lib/url.d.ts.map +1 -0
  189. package/node_modules/@azure/ms-rest-js/es/lib/url.js +601 -0
  190. package/node_modules/@azure/ms-rest-js/es/lib/url.js.map +1 -0
  191. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.d.ts +16 -0
  192. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.d.ts.map +1 -0
  193. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.js +33 -0
  194. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.browser.js.map +1 -0
  195. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.d.ts +16 -0
  196. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.d.ts.map +1 -0
  197. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.js +27 -0
  198. package/node_modules/@azure/ms-rest-js/es/lib/util/base64.js.map +1 -0
  199. package/node_modules/@azure/ms-rest-js/es/lib/util/constants.d.ts +86 -0
  200. package/node_modules/@azure/ms-rest-js/es/lib/util/constants.d.ts.map +1 -0
  201. package/node_modules/@azure/ms-rest-js/es/lib/util/constants.js +88 -0
  202. package/node_modules/@azure/ms-rest-js/es/lib/util/constants.js.map +1 -0
  203. package/node_modules/@azure/ms-rest-js/es/lib/util/utils.d.ts +150 -0
  204. package/node_modules/@azure/ms-rest-js/es/lib/util/utils.d.ts.map +1 -0
  205. package/node_modules/@azure/ms-rest-js/es/lib/util/utils.js +218 -0
  206. package/node_modules/@azure/ms-rest-js/es/lib/util/utils.js.map +1 -0
  207. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.d.ts +5 -0
  208. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.d.ts.map +1 -0
  209. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.js +140 -0
  210. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.browser.js.map +1 -0
  211. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.d.ts +5 -0
  212. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.d.ts.map +1 -0
  213. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.js +37 -0
  214. package/node_modules/@azure/ms-rest-js/es/lib/util/xml.js.map +1 -0
  215. package/node_modules/@azure/ms-rest-js/es/lib/webResource.d.ts +228 -0
  216. package/node_modules/@azure/ms-rest-js/es/lib/webResource.d.ts.map +1 -0
  217. package/node_modules/@azure/ms-rest-js/es/lib/webResource.js +229 -0
  218. package/node_modules/@azure/ms-rest-js/es/lib/webResource.js.map +1 -0
  219. package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.d.ts +12 -0
  220. package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.d.ts.map +1 -0
  221. package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.js +133 -0
  222. package/node_modules/@azure/ms-rest-js/es/lib/xhrHttpClient.js.map +1 -0
  223. package/node_modules/@azure/ms-rest-js/lib/axiosHttpClient.ts +265 -0
  224. package/node_modules/@azure/ms-rest-js/lib/credentials/apiKeyCredentials.ts +85 -0
  225. package/node_modules/@azure/ms-rest-js/lib/credentials/basicAuthenticationCredentials.ts +50 -0
  226. package/node_modules/@azure/ms-rest-js/lib/credentials/credentials.ts +4 -0
  227. package/node_modules/@azure/ms-rest-js/lib/credentials/domainCredentials.ts +24 -0
  228. package/node_modules/@azure/ms-rest-js/lib/credentials/serviceClientCredentials.ts +14 -0
  229. package/node_modules/@azure/ms-rest-js/lib/credentials/tokenCredentials.ts +45 -0
  230. package/node_modules/@azure/ms-rest-js/lib/credentials/topicCredentials.ts +24 -0
  231. package/node_modules/@azure/ms-rest-js/lib/defaultHttpClient.browser.ts +4 -0
  232. package/node_modules/@azure/ms-rest-js/lib/defaultHttpClient.ts +4 -0
  233. package/node_modules/@azure/ms-rest-js/lib/httpClient.ts +10 -0
  234. package/node_modules/@azure/ms-rest-js/lib/httpHeaders.ts +151 -0
  235. package/node_modules/@azure/ms-rest-js/lib/httpOperationResponse.ts +84 -0
  236. package/node_modules/@azure/ms-rest-js/lib/httpPipelineLogLevel.ts +27 -0
  237. package/node_modules/@azure/ms-rest-js/lib/httpPipelineLogger.ts +56 -0
  238. package/node_modules/@azure/ms-rest-js/lib/msRest.ts +51 -0
  239. package/node_modules/@azure/ms-rest-js/lib/operationArguments.ts +19 -0
  240. package/node_modules/@azure/ms-rest-js/lib/operationParameter.ts +71 -0
  241. package/node_modules/@azure/ms-rest-js/lib/operationResponse.ts +19 -0
  242. package/node_modules/@azure/ms-rest-js/lib/operationSpec.ts +91 -0
  243. package/node_modules/@azure/ms-rest-js/lib/policies/deserializationPolicy.ts +220 -0
  244. package/node_modules/@azure/ms-rest-js/lib/policies/exponentialRetryPolicy.ts +163 -0
  245. package/node_modules/@azure/ms-rest-js/lib/policies/generateClientRequestIdPolicy.ts +28 -0
  246. package/node_modules/@azure/ms-rest-js/lib/policies/logPolicy.ts +35 -0
  247. package/node_modules/@azure/ms-rest-js/lib/policies/msRestUserAgentPolicy.browser.ts +27 -0
  248. package/node_modules/@azure/ms-rest-js/lib/policies/msRestUserAgentPolicy.ts +24 -0
  249. package/node_modules/@azure/ms-rest-js/lib/policies/proxyPolicy.browser.ts +32 -0
  250. package/node_modules/@azure/ms-rest-js/lib/policies/proxyPolicy.ts +67 -0
  251. package/node_modules/@azure/ms-rest-js/lib/policies/redirectPolicy.ts +49 -0
  252. package/node_modules/@azure/ms-rest-js/lib/policies/requestPolicy.ts +75 -0
  253. package/node_modules/@azure/ms-rest-js/lib/policies/rpRegistrationPolicy.ts +164 -0
  254. package/node_modules/@azure/ms-rest-js/lib/policies/signingPolicy.ts +30 -0
  255. package/node_modules/@azure/ms-rest-js/lib/policies/systemErrorRetryPolicy.ts +133 -0
  256. package/node_modules/@azure/ms-rest-js/lib/policies/throttlingRetryPolicy.ts +78 -0
  257. package/node_modules/@azure/ms-rest-js/lib/policies/userAgentPolicy.ts +68 -0
  258. package/node_modules/@azure/ms-rest-js/lib/queryCollectionFormat.ts +13 -0
  259. package/node_modules/@azure/ms-rest-js/lib/restError.ts +27 -0
  260. package/node_modules/@azure/ms-rest-js/lib/serializer.ts +873 -0
  261. package/node_modules/@azure/ms-rest-js/lib/serviceClient.ts +591 -0
  262. package/node_modules/@azure/ms-rest-js/lib/url.ts +664 -0
  263. package/node_modules/@azure/ms-rest-js/lib/util/base64.browser.ts +35 -0
  264. package/node_modules/@azure/ms-rest-js/lib/util/base64.ts +29 -0
  265. package/node_modules/@azure/ms-rest-js/lib/util/constants.ts +98 -0
  266. package/node_modules/@azure/ms-rest-js/lib/util/utils.ts +251 -0
  267. package/node_modules/@azure/ms-rest-js/lib/util/xml.browser.ts +143 -0
  268. package/node_modules/@azure/ms-rest-js/lib/util/xml.ts +37 -0
  269. package/node_modules/@azure/ms-rest-js/lib/webResource.ts +464 -0
  270. package/node_modules/@azure/ms-rest-js/lib/xhrHttpClient.ts +138 -0
  271. package/node_modules/@azure/ms-rest-js/node_modules/form-data/License +19 -0
  272. package/node_modules/@azure/ms-rest-js/node_modules/form-data/README.md +350 -0
  273. package/node_modules/@azure/ms-rest-js/node_modules/form-data/README.md.bak +350 -0
  274. package/node_modules/@azure/ms-rest-js/node_modules/form-data/index.d.ts +51 -0
  275. package/node_modules/@azure/ms-rest-js/node_modules/form-data/lib/browser.js +2 -0
  276. package/node_modules/@azure/ms-rest-js/node_modules/form-data/lib/form_data.js +483 -0
  277. package/node_modules/@azure/ms-rest-js/node_modules/form-data/lib/populate.js +10 -0
  278. package/node_modules/@azure/ms-rest-js/node_modules/form-data/package.json +104 -0
  279. package/node_modules/@azure/ms-rest-js/package.json +202 -0
  280. package/node_modules/@azure/ms-rest-nodeauth/Changelog.md +110 -0
  281. package/node_modules/@azure/ms-rest-nodeauth/LICENSE +21 -0
  282. package/node_modules/@azure/ms-rest-nodeauth/README.md +215 -0
  283. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.d.ts +45 -0
  284. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.d.ts.map +1 -0
  285. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.js +107 -0
  286. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCertificateCredentials.js.map +1 -0
  287. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.d.ts +27 -0
  288. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.d.ts.map +1 -0
  289. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.js +68 -0
  290. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentials.js.map +1 -0
  291. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.d.ts +30 -0
  292. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.d.ts.map +1 -0
  293. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.js +95 -0
  294. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/applicationTokenCredentialsBase.js.map +1 -0
  295. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.d.ts +137 -0
  296. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.d.ts.map +1 -0
  297. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.js +253 -0
  298. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/azureCliCredentials.js.map +1 -0
  299. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.d.ts +28 -0
  300. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.d.ts.map +1 -0
  301. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.js +45 -0
  302. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/deviceTokenCredentials.js.map +1 -0
  303. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.d.ts +4 -0
  304. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.d.ts.map +1 -0
  305. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.js +82 -0
  306. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/keyVaultFactory.js.map +1 -0
  307. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.d.ts +66 -0
  308. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.d.ts.map +1 -0
  309. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.js +96 -0
  310. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiAppServiceTokenCredentials.js.map +1 -0
  311. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.d.ts +67 -0
  312. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.d.ts.map +1 -0
  313. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.js +108 -0
  314. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiTokenCredentials.js.map +1 -0
  315. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.d.ts +57 -0
  316. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.d.ts.map +1 -0
  317. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.js +90 -0
  318. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/msiVmTokenCredentials.js.map +1 -0
  319. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.d.ts +10 -0
  320. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.d.ts.map +1 -0
  321. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.js +5 -0
  322. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenClientCredentials.js.map +1 -0
  323. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.d.ts +31 -0
  324. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.d.ts.map +1 -0
  325. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.js +80 -0
  326. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/tokenCredentialsBase.js.map +1 -0
  327. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.d.ts +14 -0
  328. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.d.ts.map +1 -0
  329. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.js +29 -0
  330. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/topicCredentials.js.map +1 -0
  331. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.d.ts +33 -0
  332. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.d.ts.map +1 -0
  333. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.js +88 -0
  334. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/credentials/userTokenCredentials.js.map +1 -0
  335. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.d.ts +448 -0
  336. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.d.ts.map +1 -0
  337. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.js +680 -0
  338. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/login.js.map +1 -0
  339. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.d.ts +14 -0
  340. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.d.ts.map +1 -0
  341. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.js +40 -0
  342. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/msRestNodeAuth.js.map +1 -0
  343. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.d.ts +71 -0
  344. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.d.ts.map +1 -0
  345. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.js +98 -0
  346. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/subscriptionManagement/subscriptionUtils.js.map +1 -0
  347. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.d.ts +10 -0
  348. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.d.ts.map +1 -0
  349. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.js +13 -0
  350. package/node_modules/@azure/ms-rest-nodeauth/dist/lib/util/authConstants.js.map +1 -0
  351. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/applicationTokenCertificateCredentials.ts +139 -0
  352. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/applicationTokenCredentials.ts +75 -0
  353. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/applicationTokenCredentialsBase.ts +97 -0
  354. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/azureCliCredentials.ts +328 -0
  355. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/deviceTokenCredentials.ts +60 -0
  356. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/keyVaultFactory.ts +83 -0
  357. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/msiAppServiceTokenCredentials.ts +129 -0
  358. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/msiTokenCredentials.ts +139 -0
  359. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/msiVmTokenCredentials.ts +131 -0
  360. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/tokenClientCredentials.ts +14 -0
  361. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/tokenCredentialsBase.ts +89 -0
  362. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/topicCredentials.ts +29 -0
  363. package/node_modules/@azure/ms-rest-nodeauth/lib/credentials/userTokenCredentials.ts +100 -0
  364. package/node_modules/@azure/ms-rest-nodeauth/lib/login.ts +987 -0
  365. package/node_modules/@azure/ms-rest-nodeauth/lib/msRestNodeAuth.ts +35 -0
  366. package/node_modules/@azure/ms-rest-nodeauth/lib/subscriptionManagement/subscriptionUtils.ts +148 -0
  367. package/node_modules/@azure/ms-rest-nodeauth/lib/util/authConstants.ts +13 -0
  368. package/node_modules/@azure/ms-rest-nodeauth/package.json +101 -0
  369. package/node_modules/@azure/ms-rest-nodeauth/tsconfig.json +41 -0
  370. package/node_modules/@js-joda/core/CHANGELOG.md +306 -0
  371. package/node_modules/@js-joda/core/CheatSheet.md +947 -0
  372. package/node_modules/@js-joda/core/LICENSE +34 -0
  373. package/node_modules/@js-joda/core/README.md +155 -0
  374. package/node_modules/@js-joda/core/bower.json +21 -0
  375. package/node_modules/@js-joda/core/dist/js-joda.d.ts +1710 -0
  376. package/node_modules/@js-joda/core/dist/js-joda.esm.js +12539 -0
  377. package/node_modules/@js-joda/core/dist/js-joda.flow.js +949 -0
  378. package/node_modules/@js-joda/core/dist/js-joda.js +12603 -0
  379. package/node_modules/@js-joda/core/dist/js-joda.js.map +1 -0
  380. package/node_modules/@js-joda/core/dist/js-joda.min.js +5 -0
  381. package/node_modules/@js-joda/core/package.json +107 -0
  382. package/node_modules/@js-joda/core/src/Clock.js +330 -0
  383. package/node_modules/@js-joda/core/src/DayOfWeek.js +451 -0
  384. package/node_modules/@js-joda/core/src/Duration.js +1205 -0
  385. package/node_modules/@js-joda/core/src/Enum.js +30 -0
  386. package/node_modules/@js-joda/core/src/Instant.js +1054 -0
  387. package/node_modules/@js-joda/core/src/LocalDate.js +1752 -0
  388. package/node_modules/@js-joda/core/src/LocalDateTime.js +1738 -0
  389. package/node_modules/@js-joda/core/src/LocalTime.js +1468 -0
  390. package/node_modules/@js-joda/core/src/MathUtil.js +236 -0
  391. package/node_modules/@js-joda/core/src/Month.js +600 -0
  392. package/node_modules/@js-joda/core/src/MonthDay.js +731 -0
  393. package/node_modules/@js-joda/core/src/Period.js +933 -0
  394. package/node_modules/@js-joda/core/src/StringUtil.js +43 -0
  395. package/node_modules/@js-joda/core/src/Year.js +999 -0
  396. package/node_modules/@js-joda/core/src/YearConstants.js +21 -0
  397. package/node_modules/@js-joda/core/src/YearMonth.js +1154 -0
  398. package/node_modules/@js-joda/core/src/ZoneId.js +236 -0
  399. package/node_modules/@js-joda/core/src/ZoneIdFactory.js +201 -0
  400. package/node_modules/@js-joda/core/src/ZoneOffset.js +486 -0
  401. package/node_modules/@js-joda/core/src/ZoneRegion.js +72 -0
  402. package/node_modules/@js-joda/core/src/ZonedDateTime.js +2048 -0
  403. package/node_modules/@js-joda/core/src/_init.js +64 -0
  404. package/node_modules/@js-joda/core/src/assert.js +33 -0
  405. package/node_modules/@js-joda/core/src/chrono/ChronoLocalDate.js +230 -0
  406. package/node_modules/@js-joda/core/src/chrono/ChronoLocalDateTime.js +130 -0
  407. package/node_modules/@js-joda/core/src/chrono/ChronoZonedDateTime.js +194 -0
  408. package/node_modules/@js-joda/core/src/chrono/IsoChronology.js +235 -0
  409. package/node_modules/@js-joda/core/src/convert.js +83 -0
  410. package/node_modules/@js-joda/core/src/errors.js +54 -0
  411. package/node_modules/@js-joda/core/src/format/DateTimeBuilder.js +535 -0
  412. package/node_modules/@js-joda/core/src/format/DateTimeFormatter.js +728 -0
  413. package/node_modules/@js-joda/core/src/format/DateTimeFormatterBuilder.js +1545 -0
  414. package/node_modules/@js-joda/core/src/format/DateTimeParseContext.js +297 -0
  415. package/node_modules/@js-joda/core/src/format/DateTimePrintContext.js +138 -0
  416. package/node_modules/@js-joda/core/src/format/DecimalStyle.js +113 -0
  417. package/node_modules/@js-joda/core/src/format/EnumMap.js +70 -0
  418. package/node_modules/@js-joda/core/src/format/ParsePosition.js +31 -0
  419. package/node_modules/@js-joda/core/src/format/ResolverStyle.js +93 -0
  420. package/node_modules/@js-joda/core/src/format/SignStyle.js +38 -0
  421. package/node_modules/@js-joda/core/src/format/StringBuilder.js +47 -0
  422. package/node_modules/@js-joda/core/src/format/TextStyle.js +114 -0
  423. package/node_modules/@js-joda/core/src/format/parser/CharLiteralPrinterParser.js +46 -0
  424. package/node_modules/@js-joda/core/src/format/parser/CompositePrinterParser.js +89 -0
  425. package/node_modules/@js-joda/core/src/format/parser/FractionPrinterParser.js +162 -0
  426. package/node_modules/@js-joda/core/src/format/parser/NumberPrinterParser.js +367 -0
  427. package/node_modules/@js-joda/core/src/format/parser/OffsetIdPrinterParser.js +177 -0
  428. package/node_modules/@js-joda/core/src/format/parser/PadPrinterParserDecorator.js +81 -0
  429. package/node_modules/@js-joda/core/src/format/parser/SettingsParser.js +44 -0
  430. package/node_modules/@js-joda/core/src/format/parser/StringLiteralPrinterParser.js +39 -0
  431. package/node_modules/@js-joda/core/src/format/parser/ZoneIdPrinterParser.js +218 -0
  432. package/node_modules/@js-joda/core/src/js-joda.js +204 -0
  433. package/node_modules/@js-joda/core/src/license-preamble.js +3 -0
  434. package/node_modules/@js-joda/core/src/temporal/ChronoField.js +362 -0
  435. package/node_modules/@js-joda/core/src/temporal/ChronoUnit.js +467 -0
  436. package/node_modules/@js-joda/core/src/temporal/IsoFields.js +856 -0
  437. package/node_modules/@js-joda/core/src/temporal/NativeJsTemporal.js +105 -0
  438. package/node_modules/@js-joda/core/src/temporal/Temporal.js +63 -0
  439. package/node_modules/@js-joda/core/src/temporal/TemporalAccessor.js +125 -0
  440. package/node_modules/@js-joda/core/src/temporal/TemporalAdjuster.js +92 -0
  441. package/node_modules/@js-joda/core/src/temporal/TemporalAdjusters.js +464 -0
  442. package/node_modules/@js-joda/core/src/temporal/TemporalAmount.js +166 -0
  443. package/node_modules/@js-joda/core/src/temporal/TemporalField.js +24 -0
  444. package/node_modules/@js-joda/core/src/temporal/TemporalQueries.js +223 -0
  445. package/node_modules/@js-joda/core/src/temporal/TemporalQueriesFactory.js +77 -0
  446. package/node_modules/@js-joda/core/src/temporal/TemporalQuery.js +107 -0
  447. package/node_modules/@js-joda/core/src/temporal/TemporalUnit.js +180 -0
  448. package/node_modules/@js-joda/core/src/temporal/ValueRange.js +256 -0
  449. package/node_modules/@js-joda/core/src/use.js +20 -0
  450. package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneId.js +31 -0
  451. package/node_modules/@js-joda/core/src/zone/SystemDefaultZoneRules.js +162 -0
  452. package/node_modules/@js-joda/core/src/zone/ZoneOffsetTransition.js +289 -0
  453. package/node_modules/@js-joda/core/src/zone/ZoneRules.js +464 -0
  454. package/node_modules/@js-joda/core/src/zone/ZoneRulesProvider.js +36 -0
  455. package/node_modules/@openfn/language-common/LICENSE +674 -0
  456. package/node_modules/@openfn/language-common/LICENSE.LESSER +165 -0
  457. package/node_modules/@openfn/language-common/README.md +14 -0
  458. package/node_modules/@openfn/language-common/ast.json +1001 -0
  459. package/node_modules/@openfn/language-common/lib/Adaptor.js +569 -0
  460. package/node_modules/@openfn/language-common/lib/beta.js +64 -0
  461. package/node_modules/@openfn/language-common/lib/http.js +233 -0
  462. package/node_modules/@openfn/language-common/lib/index.js +17 -0
  463. package/node_modules/@openfn/language-common/node_modules/axios/CHANGELOG.md +685 -0
  464. package/node_modules/@openfn/language-common/node_modules/axios/LICENSE +19 -0
  465. package/node_modules/@openfn/language-common/node_modules/axios/README.md +800 -0
  466. package/node_modules/@openfn/language-common/node_modules/axios/UPGRADE_GUIDE.md +162 -0
  467. package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.js +1756 -0
  468. package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.map +1 -0
  469. package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.min.js +3 -0
  470. package/node_modules/@openfn/language-common/node_modules/axios/dist/axios.min.map +1 -0
  471. package/node_modules/@openfn/language-common/node_modules/axios/index.d.ts +161 -0
  472. package/node_modules/@openfn/language-common/node_modules/axios/index.js +1 -0
  473. package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/README.md +37 -0
  474. package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/http.js +303 -0
  475. package/node_modules/@openfn/language-common/node_modules/axios/lib/adapters/xhr.js +179 -0
  476. package/node_modules/@openfn/language-common/node_modules/axios/lib/axios.js +56 -0
  477. package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/Cancel.js +19 -0
  478. package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/CancelToken.js +57 -0
  479. package/node_modules/@openfn/language-common/node_modules/axios/lib/cancel/isCancel.js +5 -0
  480. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/Axios.js +95 -0
  481. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/InterceptorManager.js +52 -0
  482. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/README.md +7 -0
  483. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/buildFullPath.js +20 -0
  484. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/createError.js +18 -0
  485. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/dispatchRequest.js +79 -0
  486. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/enhanceError.js +42 -0
  487. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/mergeConfig.js +87 -0
  488. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/settle.js +25 -0
  489. package/node_modules/@openfn/language-common/node_modules/axios/lib/core/transformData.js +20 -0
  490. package/node_modules/@openfn/language-common/node_modules/axios/lib/defaults.js +98 -0
  491. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/README.md +7 -0
  492. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/bind.js +11 -0
  493. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/buildURL.js +70 -0
  494. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  495. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/cookies.js +53 -0
  496. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  497. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  498. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isAxiosError.js +11 -0
  499. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  500. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  501. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  502. package/node_modules/@openfn/language-common/node_modules/axios/lib/helpers/spread.js +27 -0
  503. package/node_modules/@openfn/language-common/node_modules/axios/lib/utils.js +351 -0
  504. package/node_modules/@openfn/language-common/node_modules/axios/package.json +115 -0
  505. package/node_modules/@openfn/language-common/node_modules/follow-redirects/LICENSE +18 -0
  506. package/node_modules/@openfn/language-common/node_modules/follow-redirects/README.md +148 -0
  507. package/node_modules/@openfn/language-common/node_modules/follow-redirects/debug.js +9 -0
  508. package/node_modules/@openfn/language-common/node_modules/follow-redirects/http.js +1 -0
  509. package/node_modules/@openfn/language-common/node_modules/follow-redirects/https.js +1 -0
  510. package/node_modules/@openfn/language-common/node_modules/follow-redirects/index.js +504 -0
  511. package/node_modules/@openfn/language-common/node_modules/follow-redirects/package.json +97 -0
  512. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.babelrc.json +5 -0
  513. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.editorconfig +16 -0
  514. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.eslintignore +5 -0
  515. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/.eslintrc.js +93 -0
  516. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/CHANGES.md +252 -0
  517. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/LICENSE-MIT.txt +22 -0
  518. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/README.md +376 -0
  519. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.css +19 -0
  520. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.html +32 -0
  521. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/demo/index.js +48 -0
  522. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.js +1062 -0
  523. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.min.js +2 -0
  524. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-es.min.js.map +1 -0
  525. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.js +1072 -0
  526. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.min.js +2 -0
  527. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/dist/index-umd.min.js.map +1 -0
  528. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/licenseInfo.json +4 -0
  529. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/package.json +169 -0
  530. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/src/jsonpath.d.ts +196 -0
  531. package/node_modules/@openfn/language-common/node_modules/jsonpath-plus/src/jsonpath.js +796 -0
  532. package/node_modules/@openfn/language-common/node_modules/lodash/LICENSE +47 -0
  533. package/node_modules/@openfn/language-common/node_modules/lodash/README.md +39 -0
  534. package/node_modules/@openfn/language-common/node_modules/lodash/_DataView.js +7 -0
  535. package/node_modules/@openfn/language-common/node_modules/lodash/_Hash.js +32 -0
  536. package/node_modules/@openfn/language-common/node_modules/lodash/_LazyWrapper.js +28 -0
  537. package/node_modules/@openfn/language-common/node_modules/lodash/_ListCache.js +32 -0
  538. package/node_modules/@openfn/language-common/node_modules/lodash/_LodashWrapper.js +22 -0
  539. package/node_modules/@openfn/language-common/node_modules/lodash/_Map.js +7 -0
  540. package/node_modules/@openfn/language-common/node_modules/lodash/_MapCache.js +32 -0
  541. package/node_modules/@openfn/language-common/node_modules/lodash/_Promise.js +7 -0
  542. package/node_modules/@openfn/language-common/node_modules/lodash/_Set.js +7 -0
  543. package/node_modules/@openfn/language-common/node_modules/lodash/_SetCache.js +27 -0
  544. package/node_modules/@openfn/language-common/node_modules/lodash/_Stack.js +27 -0
  545. package/node_modules/@openfn/language-common/node_modules/lodash/_Symbol.js +6 -0
  546. package/node_modules/@openfn/language-common/node_modules/lodash/_Uint8Array.js +6 -0
  547. package/node_modules/@openfn/language-common/node_modules/lodash/_WeakMap.js +7 -0
  548. package/node_modules/@openfn/language-common/node_modules/lodash/_apply.js +21 -0
  549. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayAggregator.js +22 -0
  550. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEach.js +22 -0
  551. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEachRight.js +21 -0
  552. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayEvery.js +23 -0
  553. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayFilter.js +25 -0
  554. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayIncludes.js +17 -0
  555. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayIncludesWith.js +22 -0
  556. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayLikeKeys.js +49 -0
  557. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayMap.js +21 -0
  558. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayPush.js +20 -0
  559. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayReduce.js +26 -0
  560. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayReduceRight.js +24 -0
  561. package/node_modules/@openfn/language-common/node_modules/lodash/_arraySample.js +15 -0
  562. package/node_modules/@openfn/language-common/node_modules/lodash/_arraySampleSize.js +17 -0
  563. package/node_modules/@openfn/language-common/node_modules/lodash/_arrayShuffle.js +15 -0
  564. package/node_modules/@openfn/language-common/node_modules/lodash/_arraySome.js +23 -0
  565. package/node_modules/@openfn/language-common/node_modules/lodash/_asciiSize.js +12 -0
  566. package/node_modules/@openfn/language-common/node_modules/lodash/_asciiToArray.js +12 -0
  567. package/node_modules/@openfn/language-common/node_modules/lodash/_asciiWords.js +15 -0
  568. package/node_modules/@openfn/language-common/node_modules/lodash/_assignMergeValue.js +20 -0
  569. package/node_modules/@openfn/language-common/node_modules/lodash/_assignValue.js +28 -0
  570. package/node_modules/@openfn/language-common/node_modules/lodash/_assocIndexOf.js +21 -0
  571. package/node_modules/@openfn/language-common/node_modules/lodash/_baseAggregator.js +21 -0
  572. package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssign.js +17 -0
  573. package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssignIn.js +17 -0
  574. package/node_modules/@openfn/language-common/node_modules/lodash/_baseAssignValue.js +25 -0
  575. package/node_modules/@openfn/language-common/node_modules/lodash/_baseAt.js +23 -0
  576. package/node_modules/@openfn/language-common/node_modules/lodash/_baseClamp.js +22 -0
  577. package/node_modules/@openfn/language-common/node_modules/lodash/_baseClone.js +166 -0
  578. package/node_modules/@openfn/language-common/node_modules/lodash/_baseConforms.js +18 -0
  579. package/node_modules/@openfn/language-common/node_modules/lodash/_baseConformsTo.js +27 -0
  580. package/node_modules/@openfn/language-common/node_modules/lodash/_baseCreate.js +30 -0
  581. package/node_modules/@openfn/language-common/node_modules/lodash/_baseDelay.js +21 -0
  582. package/node_modules/@openfn/language-common/node_modules/lodash/_baseDifference.js +67 -0
  583. package/node_modules/@openfn/language-common/node_modules/lodash/_baseEach.js +14 -0
  584. package/node_modules/@openfn/language-common/node_modules/lodash/_baseEachRight.js +14 -0
  585. package/node_modules/@openfn/language-common/node_modules/lodash/_baseEvery.js +21 -0
  586. package/node_modules/@openfn/language-common/node_modules/lodash/_baseExtremum.js +32 -0
  587. package/node_modules/@openfn/language-common/node_modules/lodash/_baseFill.js +32 -0
  588. package/node_modules/@openfn/language-common/node_modules/lodash/_baseFilter.js +21 -0
  589. package/node_modules/@openfn/language-common/node_modules/lodash/_baseFindIndex.js +24 -0
  590. package/node_modules/@openfn/language-common/node_modules/lodash/_baseFindKey.js +23 -0
  591. package/node_modules/@openfn/language-common/node_modules/lodash/_baseFlatten.js +38 -0
  592. package/node_modules/@openfn/language-common/node_modules/lodash/_baseFor.js +16 -0
  593. package/node_modules/@openfn/language-common/node_modules/lodash/_baseForOwn.js +16 -0
  594. package/node_modules/@openfn/language-common/node_modules/lodash/_baseForOwnRight.js +16 -0
  595. package/node_modules/@openfn/language-common/node_modules/lodash/_baseForRight.js +15 -0
  596. package/node_modules/@openfn/language-common/node_modules/lodash/_baseFunctions.js +19 -0
  597. package/node_modules/@openfn/language-common/node_modules/lodash/_baseGet.js +24 -0
  598. package/node_modules/@openfn/language-common/node_modules/lodash/_baseGetAllKeys.js +20 -0
  599. package/node_modules/@openfn/language-common/node_modules/lodash/_baseGetTag.js +28 -0
  600. package/node_modules/@openfn/language-common/node_modules/lodash/_baseGt.js +14 -0
  601. package/node_modules/@openfn/language-common/node_modules/lodash/_baseHas.js +19 -0
  602. package/node_modules/@openfn/language-common/node_modules/lodash/_baseHasIn.js +13 -0
  603. package/node_modules/@openfn/language-common/node_modules/lodash/_baseInRange.js +18 -0
  604. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIndexOf.js +20 -0
  605. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIndexOfWith.js +23 -0
  606. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIntersection.js +74 -0
  607. package/node_modules/@openfn/language-common/node_modules/lodash/_baseInverter.js +21 -0
  608. package/node_modules/@openfn/language-common/node_modules/lodash/_baseInvoke.js +24 -0
  609. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsArguments.js +18 -0
  610. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  611. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsDate.js +18 -0
  612. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsEqual.js +28 -0
  613. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  614. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsMap.js +18 -0
  615. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsMatch.js +62 -0
  616. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsNaN.js +12 -0
  617. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsNative.js +47 -0
  618. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsRegExp.js +18 -0
  619. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsSet.js +18 -0
  620. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIsTypedArray.js +60 -0
  621. package/node_modules/@openfn/language-common/node_modules/lodash/_baseIteratee.js +31 -0
  622. package/node_modules/@openfn/language-common/node_modules/lodash/_baseKeys.js +30 -0
  623. package/node_modules/@openfn/language-common/node_modules/lodash/_baseKeysIn.js +33 -0
  624. package/node_modules/@openfn/language-common/node_modules/lodash/_baseLodash.js +10 -0
  625. package/node_modules/@openfn/language-common/node_modules/lodash/_baseLt.js +14 -0
  626. package/node_modules/@openfn/language-common/node_modules/lodash/_baseMap.js +22 -0
  627. package/node_modules/@openfn/language-common/node_modules/lodash/_baseMatches.js +22 -0
  628. package/node_modules/@openfn/language-common/node_modules/lodash/_baseMatchesProperty.js +33 -0
  629. package/node_modules/@openfn/language-common/node_modules/lodash/_baseMean.js +20 -0
  630. package/node_modules/@openfn/language-common/node_modules/lodash/_baseMerge.js +42 -0
  631. package/node_modules/@openfn/language-common/node_modules/lodash/_baseMergeDeep.js +94 -0
  632. package/node_modules/@openfn/language-common/node_modules/lodash/_baseNth.js +20 -0
  633. package/node_modules/@openfn/language-common/node_modules/lodash/_baseOrderBy.js +49 -0
  634. package/node_modules/@openfn/language-common/node_modules/lodash/_basePick.js +19 -0
  635. package/node_modules/@openfn/language-common/node_modules/lodash/_basePickBy.js +30 -0
  636. package/node_modules/@openfn/language-common/node_modules/lodash/_baseProperty.js +14 -0
  637. package/node_modules/@openfn/language-common/node_modules/lodash/_basePropertyDeep.js +16 -0
  638. package/node_modules/@openfn/language-common/node_modules/lodash/_basePropertyOf.js +14 -0
  639. package/node_modules/@openfn/language-common/node_modules/lodash/_basePullAll.js +51 -0
  640. package/node_modules/@openfn/language-common/node_modules/lodash/_basePullAt.js +37 -0
  641. package/node_modules/@openfn/language-common/node_modules/lodash/_baseRandom.js +18 -0
  642. package/node_modules/@openfn/language-common/node_modules/lodash/_baseRange.js +28 -0
  643. package/node_modules/@openfn/language-common/node_modules/lodash/_baseReduce.js +23 -0
  644. package/node_modules/@openfn/language-common/node_modules/lodash/_baseRepeat.js +35 -0
  645. package/node_modules/@openfn/language-common/node_modules/lodash/_baseRest.js +17 -0
  646. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSample.js +15 -0
  647. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSampleSize.js +18 -0
  648. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSet.js +51 -0
  649. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSetData.js +17 -0
  650. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSetToString.js +22 -0
  651. package/node_modules/@openfn/language-common/node_modules/lodash/_baseShuffle.js +15 -0
  652. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSlice.js +31 -0
  653. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSome.js +22 -0
  654. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortBy.js +21 -0
  655. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedIndex.js +42 -0
  656. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  657. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSortedUniq.js +30 -0
  658. package/node_modules/@openfn/language-common/node_modules/lodash/_baseSum.js +24 -0
  659. package/node_modules/@openfn/language-common/node_modules/lodash/_baseTimes.js +20 -0
  660. package/node_modules/@openfn/language-common/node_modules/lodash/_baseToNumber.js +24 -0
  661. package/node_modules/@openfn/language-common/node_modules/lodash/_baseToPairs.js +18 -0
  662. package/node_modules/@openfn/language-common/node_modules/lodash/_baseToString.js +37 -0
  663. package/node_modules/@openfn/language-common/node_modules/lodash/_baseTrim.js +19 -0
  664. package/node_modules/@openfn/language-common/node_modules/lodash/_baseUnary.js +14 -0
  665. package/node_modules/@openfn/language-common/node_modules/lodash/_baseUniq.js +72 -0
  666. package/node_modules/@openfn/language-common/node_modules/lodash/_baseUnset.js +20 -0
  667. package/node_modules/@openfn/language-common/node_modules/lodash/_baseUpdate.js +18 -0
  668. package/node_modules/@openfn/language-common/node_modules/lodash/_baseValues.js +19 -0
  669. package/node_modules/@openfn/language-common/node_modules/lodash/_baseWhile.js +26 -0
  670. package/node_modules/@openfn/language-common/node_modules/lodash/_baseWrapperValue.js +25 -0
  671. package/node_modules/@openfn/language-common/node_modules/lodash/_baseXor.js +36 -0
  672. package/node_modules/@openfn/language-common/node_modules/lodash/_baseZipObject.js +23 -0
  673. package/node_modules/@openfn/language-common/node_modules/lodash/_cacheHas.js +13 -0
  674. package/node_modules/@openfn/language-common/node_modules/lodash/_castArrayLikeObject.js +14 -0
  675. package/node_modules/@openfn/language-common/node_modules/lodash/_castFunction.js +14 -0
  676. package/node_modules/@openfn/language-common/node_modules/lodash/_castPath.js +21 -0
  677. package/node_modules/@openfn/language-common/node_modules/lodash/_castRest.js +14 -0
  678. package/node_modules/@openfn/language-common/node_modules/lodash/_castSlice.js +18 -0
  679. package/node_modules/@openfn/language-common/node_modules/lodash/_charsEndIndex.js +19 -0
  680. package/node_modules/@openfn/language-common/node_modules/lodash/_charsStartIndex.js +20 -0
  681. package/node_modules/@openfn/language-common/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  682. package/node_modules/@openfn/language-common/node_modules/lodash/_cloneBuffer.js +35 -0
  683. package/node_modules/@openfn/language-common/node_modules/lodash/_cloneDataView.js +16 -0
  684. package/node_modules/@openfn/language-common/node_modules/lodash/_cloneRegExp.js +17 -0
  685. package/node_modules/@openfn/language-common/node_modules/lodash/_cloneSymbol.js +18 -0
  686. package/node_modules/@openfn/language-common/node_modules/lodash/_cloneTypedArray.js +16 -0
  687. package/node_modules/@openfn/language-common/node_modules/lodash/_compareAscending.js +41 -0
  688. package/node_modules/@openfn/language-common/node_modules/lodash/_compareMultiple.js +44 -0
  689. package/node_modules/@openfn/language-common/node_modules/lodash/_composeArgs.js +39 -0
  690. package/node_modules/@openfn/language-common/node_modules/lodash/_composeArgsRight.js +41 -0
  691. package/node_modules/@openfn/language-common/node_modules/lodash/_copyArray.js +20 -0
  692. package/node_modules/@openfn/language-common/node_modules/lodash/_copyObject.js +40 -0
  693. package/node_modules/@openfn/language-common/node_modules/lodash/_copySymbols.js +16 -0
  694. package/node_modules/@openfn/language-common/node_modules/lodash/_copySymbolsIn.js +16 -0
  695. package/node_modules/@openfn/language-common/node_modules/lodash/_coreJsData.js +6 -0
  696. package/node_modules/@openfn/language-common/node_modules/lodash/_countHolders.js +21 -0
  697. package/node_modules/@openfn/language-common/node_modules/lodash/_createAggregator.js +23 -0
  698. package/node_modules/@openfn/language-common/node_modules/lodash/_createAssigner.js +37 -0
  699. package/node_modules/@openfn/language-common/node_modules/lodash/_createBaseEach.js +32 -0
  700. package/node_modules/@openfn/language-common/node_modules/lodash/_createBaseFor.js +25 -0
  701. package/node_modules/@openfn/language-common/node_modules/lodash/_createBind.js +28 -0
  702. package/node_modules/@openfn/language-common/node_modules/lodash/_createCaseFirst.js +33 -0
  703. package/node_modules/@openfn/language-common/node_modules/lodash/_createCompounder.js +24 -0
  704. package/node_modules/@openfn/language-common/node_modules/lodash/_createCtor.js +37 -0
  705. package/node_modules/@openfn/language-common/node_modules/lodash/_createCurry.js +46 -0
  706. package/node_modules/@openfn/language-common/node_modules/lodash/_createFind.js +25 -0
  707. package/node_modules/@openfn/language-common/node_modules/lodash/_createFlow.js +78 -0
  708. package/node_modules/@openfn/language-common/node_modules/lodash/_createHybrid.js +92 -0
  709. package/node_modules/@openfn/language-common/node_modules/lodash/_createInverter.js +17 -0
  710. package/node_modules/@openfn/language-common/node_modules/lodash/_createMathOperation.js +38 -0
  711. package/node_modules/@openfn/language-common/node_modules/lodash/_createOver.js +27 -0
  712. package/node_modules/@openfn/language-common/node_modules/lodash/_createPadding.js +33 -0
  713. package/node_modules/@openfn/language-common/node_modules/lodash/_createPartial.js +43 -0
  714. package/node_modules/@openfn/language-common/node_modules/lodash/_createRange.js +30 -0
  715. package/node_modules/@openfn/language-common/node_modules/lodash/_createRecurry.js +56 -0
  716. package/node_modules/@openfn/language-common/node_modules/lodash/_createRelationalOperation.js +20 -0
  717. package/node_modules/@openfn/language-common/node_modules/lodash/_createRound.js +35 -0
  718. package/node_modules/@openfn/language-common/node_modules/lodash/_createSet.js +19 -0
  719. package/node_modules/@openfn/language-common/node_modules/lodash/_createToPairs.js +30 -0
  720. package/node_modules/@openfn/language-common/node_modules/lodash/_createWrap.js +106 -0
  721. package/node_modules/@openfn/language-common/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  722. package/node_modules/@openfn/language-common/node_modules/lodash/_customDefaultsMerge.js +28 -0
  723. package/node_modules/@openfn/language-common/node_modules/lodash/_customOmitClone.js +16 -0
  724. package/node_modules/@openfn/language-common/node_modules/lodash/_deburrLetter.js +71 -0
  725. package/node_modules/@openfn/language-common/node_modules/lodash/_defineProperty.js +11 -0
  726. package/node_modules/@openfn/language-common/node_modules/lodash/_equalArrays.js +84 -0
  727. package/node_modules/@openfn/language-common/node_modules/lodash/_equalByTag.js +112 -0
  728. package/node_modules/@openfn/language-common/node_modules/lodash/_equalObjects.js +90 -0
  729. package/node_modules/@openfn/language-common/node_modules/lodash/_escapeHtmlChar.js +21 -0
  730. package/node_modules/@openfn/language-common/node_modules/lodash/_escapeStringChar.js +22 -0
  731. package/node_modules/@openfn/language-common/node_modules/lodash/_flatRest.js +16 -0
  732. package/node_modules/@openfn/language-common/node_modules/lodash/_freeGlobal.js +4 -0
  733. package/node_modules/@openfn/language-common/node_modules/lodash/_getAllKeys.js +16 -0
  734. package/node_modules/@openfn/language-common/node_modules/lodash/_getAllKeysIn.js +17 -0
  735. package/node_modules/@openfn/language-common/node_modules/lodash/_getData.js +15 -0
  736. package/node_modules/@openfn/language-common/node_modules/lodash/_getFuncName.js +31 -0
  737. package/node_modules/@openfn/language-common/node_modules/lodash/_getHolder.js +13 -0
  738. package/node_modules/@openfn/language-common/node_modules/lodash/_getMapData.js +18 -0
  739. package/node_modules/@openfn/language-common/node_modules/lodash/_getMatchData.js +24 -0
  740. package/node_modules/@openfn/language-common/node_modules/lodash/_getNative.js +17 -0
  741. package/node_modules/@openfn/language-common/node_modules/lodash/_getPrototype.js +6 -0
  742. package/node_modules/@openfn/language-common/node_modules/lodash/_getRawTag.js +46 -0
  743. package/node_modules/@openfn/language-common/node_modules/lodash/_getSymbols.js +30 -0
  744. package/node_modules/@openfn/language-common/node_modules/lodash/_getSymbolsIn.js +25 -0
  745. package/node_modules/@openfn/language-common/node_modules/lodash/_getTag.js +58 -0
  746. package/node_modules/@openfn/language-common/node_modules/lodash/_getValue.js +13 -0
  747. package/node_modules/@openfn/language-common/node_modules/lodash/_getView.js +33 -0
  748. package/node_modules/@openfn/language-common/node_modules/lodash/_getWrapDetails.js +17 -0
  749. package/node_modules/@openfn/language-common/node_modules/lodash/_hasPath.js +39 -0
  750. package/node_modules/@openfn/language-common/node_modules/lodash/_hasUnicode.js +26 -0
  751. package/node_modules/@openfn/language-common/node_modules/lodash/_hasUnicodeWord.js +15 -0
  752. package/node_modules/@openfn/language-common/node_modules/lodash/_hashClear.js +15 -0
  753. package/node_modules/@openfn/language-common/node_modules/lodash/_hashDelete.js +17 -0
  754. package/node_modules/@openfn/language-common/node_modules/lodash/_hashGet.js +30 -0
  755. package/node_modules/@openfn/language-common/node_modules/lodash/_hashHas.js +23 -0
  756. package/node_modules/@openfn/language-common/node_modules/lodash/_hashSet.js +23 -0
  757. package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneArray.js +26 -0
  758. package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneByTag.js +77 -0
  759. package/node_modules/@openfn/language-common/node_modules/lodash/_initCloneObject.js +18 -0
  760. package/node_modules/@openfn/language-common/node_modules/lodash/_insertWrapDetails.js +23 -0
  761. package/node_modules/@openfn/language-common/node_modules/lodash/_isFlattenable.js +20 -0
  762. package/node_modules/@openfn/language-common/node_modules/lodash/_isIndex.js +25 -0
  763. package/node_modules/@openfn/language-common/node_modules/lodash/_isIterateeCall.js +30 -0
  764. package/node_modules/@openfn/language-common/node_modules/lodash/_isKey.js +29 -0
  765. package/node_modules/@openfn/language-common/node_modules/lodash/_isKeyable.js +15 -0
  766. package/node_modules/@openfn/language-common/node_modules/lodash/_isLaziable.js +28 -0
  767. package/node_modules/@openfn/language-common/node_modules/lodash/_isMaskable.js +14 -0
  768. package/node_modules/@openfn/language-common/node_modules/lodash/_isMasked.js +20 -0
  769. package/node_modules/@openfn/language-common/node_modules/lodash/_isPrototype.js +18 -0
  770. package/node_modules/@openfn/language-common/node_modules/lodash/_isStrictComparable.js +15 -0
  771. package/node_modules/@openfn/language-common/node_modules/lodash/_iteratorToArray.js +18 -0
  772. package/node_modules/@openfn/language-common/node_modules/lodash/_lazyClone.js +23 -0
  773. package/node_modules/@openfn/language-common/node_modules/lodash/_lazyReverse.js +23 -0
  774. package/node_modules/@openfn/language-common/node_modules/lodash/_lazyValue.js +69 -0
  775. package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheClear.js +13 -0
  776. package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheDelete.js +35 -0
  777. package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheGet.js +19 -0
  778. package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheHas.js +16 -0
  779. package/node_modules/@openfn/language-common/node_modules/lodash/_listCacheSet.js +26 -0
  780. package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheClear.js +21 -0
  781. package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheDelete.js +18 -0
  782. package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheGet.js +16 -0
  783. package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheHas.js +16 -0
  784. package/node_modules/@openfn/language-common/node_modules/lodash/_mapCacheSet.js +22 -0
  785. package/node_modules/@openfn/language-common/node_modules/lodash/_mapToArray.js +18 -0
  786. package/node_modules/@openfn/language-common/node_modules/lodash/_matchesStrictComparable.js +20 -0
  787. package/node_modules/@openfn/language-common/node_modules/lodash/_memoizeCapped.js +26 -0
  788. package/node_modules/@openfn/language-common/node_modules/lodash/_mergeData.js +90 -0
  789. package/node_modules/@openfn/language-common/node_modules/lodash/_metaMap.js +6 -0
  790. package/node_modules/@openfn/language-common/node_modules/lodash/_nativeCreate.js +6 -0
  791. package/node_modules/@openfn/language-common/node_modules/lodash/_nativeKeys.js +6 -0
  792. package/node_modules/@openfn/language-common/node_modules/lodash/_nativeKeysIn.js +20 -0
  793. package/node_modules/@openfn/language-common/node_modules/lodash/_nodeUtil.js +30 -0
  794. package/node_modules/@openfn/language-common/node_modules/lodash/_objectToString.js +22 -0
  795. package/node_modules/@openfn/language-common/node_modules/lodash/_overArg.js +15 -0
  796. package/node_modules/@openfn/language-common/node_modules/lodash/_overRest.js +36 -0
  797. package/node_modules/@openfn/language-common/node_modules/lodash/_parent.js +16 -0
  798. package/node_modules/@openfn/language-common/node_modules/lodash/_reEscape.js +4 -0
  799. package/node_modules/@openfn/language-common/node_modules/lodash/_reEvaluate.js +4 -0
  800. package/node_modules/@openfn/language-common/node_modules/lodash/_reInterpolate.js +4 -0
  801. package/node_modules/@openfn/language-common/node_modules/lodash/_realNames.js +4 -0
  802. package/node_modules/@openfn/language-common/node_modules/lodash/_reorder.js +29 -0
  803. package/node_modules/@openfn/language-common/node_modules/lodash/_replaceHolders.js +29 -0
  804. package/node_modules/@openfn/language-common/node_modules/lodash/_root.js +9 -0
  805. package/node_modules/@openfn/language-common/node_modules/lodash/_safeGet.js +21 -0
  806. package/node_modules/@openfn/language-common/node_modules/lodash/_setCacheAdd.js +19 -0
  807. package/node_modules/@openfn/language-common/node_modules/lodash/_setCacheHas.js +14 -0
  808. package/node_modules/@openfn/language-common/node_modules/lodash/_setData.js +20 -0
  809. package/node_modules/@openfn/language-common/node_modules/lodash/_setToArray.js +18 -0
  810. package/node_modules/@openfn/language-common/node_modules/lodash/_setToPairs.js +18 -0
  811. package/node_modules/@openfn/language-common/node_modules/lodash/_setToString.js +14 -0
  812. package/node_modules/@openfn/language-common/node_modules/lodash/_setWrapToString.js +21 -0
  813. package/node_modules/@openfn/language-common/node_modules/lodash/_shortOut.js +37 -0
  814. package/node_modules/@openfn/language-common/node_modules/lodash/_shuffleSelf.js +28 -0
  815. package/node_modules/@openfn/language-common/node_modules/lodash/_stackClear.js +15 -0
  816. package/node_modules/@openfn/language-common/node_modules/lodash/_stackDelete.js +18 -0
  817. package/node_modules/@openfn/language-common/node_modules/lodash/_stackGet.js +14 -0
  818. package/node_modules/@openfn/language-common/node_modules/lodash/_stackHas.js +14 -0
  819. package/node_modules/@openfn/language-common/node_modules/lodash/_stackSet.js +34 -0
  820. package/node_modules/@openfn/language-common/node_modules/lodash/_strictIndexOf.js +23 -0
  821. package/node_modules/@openfn/language-common/node_modules/lodash/_strictLastIndexOf.js +21 -0
  822. package/node_modules/@openfn/language-common/node_modules/lodash/_stringSize.js +18 -0
  823. package/node_modules/@openfn/language-common/node_modules/lodash/_stringToArray.js +18 -0
  824. package/node_modules/@openfn/language-common/node_modules/lodash/_stringToPath.js +27 -0
  825. package/node_modules/@openfn/language-common/node_modules/lodash/_toKey.js +21 -0
  826. package/node_modules/@openfn/language-common/node_modules/lodash/_toSource.js +26 -0
  827. package/node_modules/@openfn/language-common/node_modules/lodash/_trimmedEndIndex.js +19 -0
  828. package/node_modules/@openfn/language-common/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  829. package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeSize.js +44 -0
  830. package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeToArray.js +40 -0
  831. package/node_modules/@openfn/language-common/node_modules/lodash/_unicodeWords.js +69 -0
  832. package/node_modules/@openfn/language-common/node_modules/lodash/_updateWrapDetails.js +46 -0
  833. package/node_modules/@openfn/language-common/node_modules/lodash/_wrapperClone.js +23 -0
  834. package/node_modules/@openfn/language-common/node_modules/lodash/add.js +22 -0
  835. package/node_modules/@openfn/language-common/node_modules/lodash/after.js +42 -0
  836. package/node_modules/@openfn/language-common/node_modules/lodash/array.js +67 -0
  837. package/node_modules/@openfn/language-common/node_modules/lodash/ary.js +29 -0
  838. package/node_modules/@openfn/language-common/node_modules/lodash/assign.js +58 -0
  839. package/node_modules/@openfn/language-common/node_modules/lodash/assignIn.js +40 -0
  840. package/node_modules/@openfn/language-common/node_modules/lodash/assignInWith.js +38 -0
  841. package/node_modules/@openfn/language-common/node_modules/lodash/assignWith.js +37 -0
  842. package/node_modules/@openfn/language-common/node_modules/lodash/at.js +23 -0
  843. package/node_modules/@openfn/language-common/node_modules/lodash/attempt.js +35 -0
  844. package/node_modules/@openfn/language-common/node_modules/lodash/before.js +40 -0
  845. package/node_modules/@openfn/language-common/node_modules/lodash/bind.js +57 -0
  846. package/node_modules/@openfn/language-common/node_modules/lodash/bindAll.js +41 -0
  847. package/node_modules/@openfn/language-common/node_modules/lodash/bindKey.js +68 -0
  848. package/node_modules/@openfn/language-common/node_modules/lodash/camelCase.js +29 -0
  849. package/node_modules/@openfn/language-common/node_modules/lodash/capitalize.js +23 -0
  850. package/node_modules/@openfn/language-common/node_modules/lodash/castArray.js +44 -0
  851. package/node_modules/@openfn/language-common/node_modules/lodash/ceil.js +26 -0
  852. package/node_modules/@openfn/language-common/node_modules/lodash/chain.js +38 -0
  853. package/node_modules/@openfn/language-common/node_modules/lodash/chunk.js +50 -0
  854. package/node_modules/@openfn/language-common/node_modules/lodash/clamp.js +39 -0
  855. package/node_modules/@openfn/language-common/node_modules/lodash/clone.js +36 -0
  856. package/node_modules/@openfn/language-common/node_modules/lodash/cloneDeep.js +29 -0
  857. package/node_modules/@openfn/language-common/node_modules/lodash/cloneDeepWith.js +40 -0
  858. package/node_modules/@openfn/language-common/node_modules/lodash/cloneWith.js +42 -0
  859. package/node_modules/@openfn/language-common/node_modules/lodash/collection.js +30 -0
  860. package/node_modules/@openfn/language-common/node_modules/lodash/commit.js +33 -0
  861. package/node_modules/@openfn/language-common/node_modules/lodash/compact.js +31 -0
  862. package/node_modules/@openfn/language-common/node_modules/lodash/concat.js +43 -0
  863. package/node_modules/@openfn/language-common/node_modules/lodash/cond.js +60 -0
  864. package/node_modules/@openfn/language-common/node_modules/lodash/conforms.js +35 -0
  865. package/node_modules/@openfn/language-common/node_modules/lodash/conformsTo.js +32 -0
  866. package/node_modules/@openfn/language-common/node_modules/lodash/constant.js +26 -0
  867. package/node_modules/@openfn/language-common/node_modules/lodash/core.js +3877 -0
  868. package/node_modules/@openfn/language-common/node_modules/lodash/core.min.js +29 -0
  869. package/node_modules/@openfn/language-common/node_modules/lodash/countBy.js +40 -0
  870. package/node_modules/@openfn/language-common/node_modules/lodash/create.js +43 -0
  871. package/node_modules/@openfn/language-common/node_modules/lodash/curry.js +57 -0
  872. package/node_modules/@openfn/language-common/node_modules/lodash/curryRight.js +54 -0
  873. package/node_modules/@openfn/language-common/node_modules/lodash/date.js +3 -0
  874. package/node_modules/@openfn/language-common/node_modules/lodash/debounce.js +191 -0
  875. package/node_modules/@openfn/language-common/node_modules/lodash/deburr.js +45 -0
  876. package/node_modules/@openfn/language-common/node_modules/lodash/defaultTo.js +25 -0
  877. package/node_modules/@openfn/language-common/node_modules/lodash/defaults.js +64 -0
  878. package/node_modules/@openfn/language-common/node_modules/lodash/defaultsDeep.js +30 -0
  879. package/node_modules/@openfn/language-common/node_modules/lodash/defer.js +26 -0
  880. package/node_modules/@openfn/language-common/node_modules/lodash/delay.js +28 -0
  881. package/node_modules/@openfn/language-common/node_modules/lodash/difference.js +33 -0
  882. package/node_modules/@openfn/language-common/node_modules/lodash/differenceBy.js +44 -0
  883. package/node_modules/@openfn/language-common/node_modules/lodash/differenceWith.js +40 -0
  884. package/node_modules/@openfn/language-common/node_modules/lodash/divide.js +22 -0
  885. package/node_modules/@openfn/language-common/node_modules/lodash/drop.js +38 -0
  886. package/node_modules/@openfn/language-common/node_modules/lodash/dropRight.js +39 -0
  887. package/node_modules/@openfn/language-common/node_modules/lodash/dropRightWhile.js +45 -0
  888. package/node_modules/@openfn/language-common/node_modules/lodash/dropWhile.js +45 -0
  889. package/node_modules/@openfn/language-common/node_modules/lodash/each.js +1 -0
  890. package/node_modules/@openfn/language-common/node_modules/lodash/eachRight.js +1 -0
  891. package/node_modules/@openfn/language-common/node_modules/lodash/endsWith.js +43 -0
  892. package/node_modules/@openfn/language-common/node_modules/lodash/entries.js +1 -0
  893. package/node_modules/@openfn/language-common/node_modules/lodash/entriesIn.js +1 -0
  894. package/node_modules/@openfn/language-common/node_modules/lodash/eq.js +37 -0
  895. package/node_modules/@openfn/language-common/node_modules/lodash/escape.js +43 -0
  896. package/node_modules/@openfn/language-common/node_modules/lodash/escapeRegExp.js +32 -0
  897. package/node_modules/@openfn/language-common/node_modules/lodash/every.js +56 -0
  898. package/node_modules/@openfn/language-common/node_modules/lodash/extend.js +1 -0
  899. package/node_modules/@openfn/language-common/node_modules/lodash/extendWith.js +1 -0
  900. package/node_modules/@openfn/language-common/node_modules/lodash/fill.js +45 -0
  901. package/node_modules/@openfn/language-common/node_modules/lodash/filter.js +52 -0
  902. package/node_modules/@openfn/language-common/node_modules/lodash/find.js +42 -0
  903. package/node_modules/@openfn/language-common/node_modules/lodash/findIndex.js +55 -0
  904. package/node_modules/@openfn/language-common/node_modules/lodash/findKey.js +44 -0
  905. package/node_modules/@openfn/language-common/node_modules/lodash/findLast.js +25 -0
  906. package/node_modules/@openfn/language-common/node_modules/lodash/findLastIndex.js +59 -0
  907. package/node_modules/@openfn/language-common/node_modules/lodash/findLastKey.js +44 -0
  908. package/node_modules/@openfn/language-common/node_modules/lodash/first.js +1 -0
  909. package/node_modules/@openfn/language-common/node_modules/lodash/flake.lock +40 -0
  910. package/node_modules/@openfn/language-common/node_modules/lodash/flake.nix +20 -0
  911. package/node_modules/@openfn/language-common/node_modules/lodash/flatMap.js +29 -0
  912. package/node_modules/@openfn/language-common/node_modules/lodash/flatMapDeep.js +31 -0
  913. package/node_modules/@openfn/language-common/node_modules/lodash/flatMapDepth.js +31 -0
  914. package/node_modules/@openfn/language-common/node_modules/lodash/flatten.js +22 -0
  915. package/node_modules/@openfn/language-common/node_modules/lodash/flattenDeep.js +25 -0
  916. package/node_modules/@openfn/language-common/node_modules/lodash/flattenDepth.js +33 -0
  917. package/node_modules/@openfn/language-common/node_modules/lodash/flip.js +28 -0
  918. package/node_modules/@openfn/language-common/node_modules/lodash/floor.js +26 -0
  919. package/node_modules/@openfn/language-common/node_modules/lodash/flow.js +27 -0
  920. package/node_modules/@openfn/language-common/node_modules/lodash/flowRight.js +26 -0
  921. package/node_modules/@openfn/language-common/node_modules/lodash/forEach.js +41 -0
  922. package/node_modules/@openfn/language-common/node_modules/lodash/forEachRight.js +31 -0
  923. package/node_modules/@openfn/language-common/node_modules/lodash/forIn.js +39 -0
  924. package/node_modules/@openfn/language-common/node_modules/lodash/forInRight.js +37 -0
  925. package/node_modules/@openfn/language-common/node_modules/lodash/forOwn.js +36 -0
  926. package/node_modules/@openfn/language-common/node_modules/lodash/forOwnRight.js +34 -0
  927. package/node_modules/@openfn/language-common/node_modules/lodash/fp/F.js +1 -0
  928. package/node_modules/@openfn/language-common/node_modules/lodash/fp/T.js +1 -0
  929. package/node_modules/@openfn/language-common/node_modules/lodash/fp/__.js +1 -0
  930. package/node_modules/@openfn/language-common/node_modules/lodash/fp/_baseConvert.js +569 -0
  931. package/node_modules/@openfn/language-common/node_modules/lodash/fp/_convertBrowser.js +18 -0
  932. package/node_modules/@openfn/language-common/node_modules/lodash/fp/_falseOptions.js +7 -0
  933. package/node_modules/@openfn/language-common/node_modules/lodash/fp/_mapping.js +358 -0
  934. package/node_modules/@openfn/language-common/node_modules/lodash/fp/_util.js +16 -0
  935. package/node_modules/@openfn/language-common/node_modules/lodash/fp/add.js +5 -0
  936. package/node_modules/@openfn/language-common/node_modules/lodash/fp/after.js +5 -0
  937. package/node_modules/@openfn/language-common/node_modules/lodash/fp/all.js +1 -0
  938. package/node_modules/@openfn/language-common/node_modules/lodash/fp/allPass.js +1 -0
  939. package/node_modules/@openfn/language-common/node_modules/lodash/fp/always.js +1 -0
  940. package/node_modules/@openfn/language-common/node_modules/lodash/fp/any.js +1 -0
  941. package/node_modules/@openfn/language-common/node_modules/lodash/fp/anyPass.js +1 -0
  942. package/node_modules/@openfn/language-common/node_modules/lodash/fp/apply.js +1 -0
  943. package/node_modules/@openfn/language-common/node_modules/lodash/fp/array.js +2 -0
  944. package/node_modules/@openfn/language-common/node_modules/lodash/fp/ary.js +5 -0
  945. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assign.js +5 -0
  946. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignAll.js +5 -0
  947. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignAllWith.js +5 -0
  948. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignIn.js +5 -0
  949. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInAll.js +5 -0
  950. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInAllWith.js +5 -0
  951. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignInWith.js +5 -0
  952. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assignWith.js +5 -0
  953. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assoc.js +1 -0
  954. package/node_modules/@openfn/language-common/node_modules/lodash/fp/assocPath.js +1 -0
  955. package/node_modules/@openfn/language-common/node_modules/lodash/fp/at.js +5 -0
  956. package/node_modules/@openfn/language-common/node_modules/lodash/fp/attempt.js +5 -0
  957. package/node_modules/@openfn/language-common/node_modules/lodash/fp/before.js +5 -0
  958. package/node_modules/@openfn/language-common/node_modules/lodash/fp/bind.js +5 -0
  959. package/node_modules/@openfn/language-common/node_modules/lodash/fp/bindAll.js +5 -0
  960. package/node_modules/@openfn/language-common/node_modules/lodash/fp/bindKey.js +5 -0
  961. package/node_modules/@openfn/language-common/node_modules/lodash/fp/camelCase.js +5 -0
  962. package/node_modules/@openfn/language-common/node_modules/lodash/fp/capitalize.js +5 -0
  963. package/node_modules/@openfn/language-common/node_modules/lodash/fp/castArray.js +5 -0
  964. package/node_modules/@openfn/language-common/node_modules/lodash/fp/ceil.js +5 -0
  965. package/node_modules/@openfn/language-common/node_modules/lodash/fp/chain.js +5 -0
  966. package/node_modules/@openfn/language-common/node_modules/lodash/fp/chunk.js +5 -0
  967. package/node_modules/@openfn/language-common/node_modules/lodash/fp/clamp.js +5 -0
  968. package/node_modules/@openfn/language-common/node_modules/lodash/fp/clone.js +5 -0
  969. package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneDeep.js +5 -0
  970. package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  971. package/node_modules/@openfn/language-common/node_modules/lodash/fp/cloneWith.js +5 -0
  972. package/node_modules/@openfn/language-common/node_modules/lodash/fp/collection.js +2 -0
  973. package/node_modules/@openfn/language-common/node_modules/lodash/fp/commit.js +5 -0
  974. package/node_modules/@openfn/language-common/node_modules/lodash/fp/compact.js +5 -0
  975. package/node_modules/@openfn/language-common/node_modules/lodash/fp/complement.js +1 -0
  976. package/node_modules/@openfn/language-common/node_modules/lodash/fp/compose.js +1 -0
  977. package/node_modules/@openfn/language-common/node_modules/lodash/fp/concat.js +5 -0
  978. package/node_modules/@openfn/language-common/node_modules/lodash/fp/cond.js +5 -0
  979. package/node_modules/@openfn/language-common/node_modules/lodash/fp/conforms.js +1 -0
  980. package/node_modules/@openfn/language-common/node_modules/lodash/fp/conformsTo.js +5 -0
  981. package/node_modules/@openfn/language-common/node_modules/lodash/fp/constant.js +5 -0
  982. package/node_modules/@openfn/language-common/node_modules/lodash/fp/contains.js +1 -0
  983. package/node_modules/@openfn/language-common/node_modules/lodash/fp/convert.js +18 -0
  984. package/node_modules/@openfn/language-common/node_modules/lodash/fp/countBy.js +5 -0
  985. package/node_modules/@openfn/language-common/node_modules/lodash/fp/create.js +5 -0
  986. package/node_modules/@openfn/language-common/node_modules/lodash/fp/curry.js +5 -0
  987. package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryN.js +5 -0
  988. package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryRight.js +5 -0
  989. package/node_modules/@openfn/language-common/node_modules/lodash/fp/curryRightN.js +5 -0
  990. package/node_modules/@openfn/language-common/node_modules/lodash/fp/date.js +2 -0
  991. package/node_modules/@openfn/language-common/node_modules/lodash/fp/debounce.js +5 -0
  992. package/node_modules/@openfn/language-common/node_modules/lodash/fp/deburr.js +5 -0
  993. package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultTo.js +5 -0
  994. package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaults.js +5 -0
  995. package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsAll.js +5 -0
  996. package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsDeep.js +5 -0
  997. package/node_modules/@openfn/language-common/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  998. package/node_modules/@openfn/language-common/node_modules/lodash/fp/defer.js +5 -0
  999. package/node_modules/@openfn/language-common/node_modules/lodash/fp/delay.js +5 -0
  1000. package/node_modules/@openfn/language-common/node_modules/lodash/fp/difference.js +5 -0
  1001. package/node_modules/@openfn/language-common/node_modules/lodash/fp/differenceBy.js +5 -0
  1002. package/node_modules/@openfn/language-common/node_modules/lodash/fp/differenceWith.js +5 -0
  1003. package/node_modules/@openfn/language-common/node_modules/lodash/fp/dissoc.js +1 -0
  1004. package/node_modules/@openfn/language-common/node_modules/lodash/fp/dissocPath.js +1 -0
  1005. package/node_modules/@openfn/language-common/node_modules/lodash/fp/divide.js +5 -0
  1006. package/node_modules/@openfn/language-common/node_modules/lodash/fp/drop.js +5 -0
  1007. package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropLast.js +1 -0
  1008. package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropLastWhile.js +1 -0
  1009. package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropRight.js +5 -0
  1010. package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropRightWhile.js +5 -0
  1011. package/node_modules/@openfn/language-common/node_modules/lodash/fp/dropWhile.js +5 -0
  1012. package/node_modules/@openfn/language-common/node_modules/lodash/fp/each.js +1 -0
  1013. package/node_modules/@openfn/language-common/node_modules/lodash/fp/eachRight.js +1 -0
  1014. package/node_modules/@openfn/language-common/node_modules/lodash/fp/endsWith.js +5 -0
  1015. package/node_modules/@openfn/language-common/node_modules/lodash/fp/entries.js +1 -0
  1016. package/node_modules/@openfn/language-common/node_modules/lodash/fp/entriesIn.js +1 -0
  1017. package/node_modules/@openfn/language-common/node_modules/lodash/fp/eq.js +5 -0
  1018. package/node_modules/@openfn/language-common/node_modules/lodash/fp/equals.js +1 -0
  1019. package/node_modules/@openfn/language-common/node_modules/lodash/fp/escape.js +5 -0
  1020. package/node_modules/@openfn/language-common/node_modules/lodash/fp/escapeRegExp.js +5 -0
  1021. package/node_modules/@openfn/language-common/node_modules/lodash/fp/every.js +5 -0
  1022. package/node_modules/@openfn/language-common/node_modules/lodash/fp/extend.js +1 -0
  1023. package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendAll.js +1 -0
  1024. package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendAllWith.js +1 -0
  1025. package/node_modules/@openfn/language-common/node_modules/lodash/fp/extendWith.js +1 -0
  1026. package/node_modules/@openfn/language-common/node_modules/lodash/fp/fill.js +5 -0
  1027. package/node_modules/@openfn/language-common/node_modules/lodash/fp/filter.js +5 -0
  1028. package/node_modules/@openfn/language-common/node_modules/lodash/fp/find.js +5 -0
  1029. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findFrom.js +5 -0
  1030. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findIndex.js +5 -0
  1031. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findIndexFrom.js +5 -0
  1032. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findKey.js +5 -0
  1033. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLast.js +5 -0
  1034. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastFrom.js +5 -0
  1035. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastIndex.js +5 -0
  1036. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  1037. package/node_modules/@openfn/language-common/node_modules/lodash/fp/findLastKey.js +5 -0
  1038. package/node_modules/@openfn/language-common/node_modules/lodash/fp/first.js +1 -0
  1039. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMap.js +5 -0
  1040. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMapDeep.js +5 -0
  1041. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatMapDepth.js +5 -0
  1042. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flatten.js +5 -0
  1043. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flattenDeep.js +5 -0
  1044. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flattenDepth.js +5 -0
  1045. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flip.js +5 -0
  1046. package/node_modules/@openfn/language-common/node_modules/lodash/fp/floor.js +5 -0
  1047. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flow.js +5 -0
  1048. package/node_modules/@openfn/language-common/node_modules/lodash/fp/flowRight.js +5 -0
  1049. package/node_modules/@openfn/language-common/node_modules/lodash/fp/forEach.js +5 -0
  1050. package/node_modules/@openfn/language-common/node_modules/lodash/fp/forEachRight.js +5 -0
  1051. package/node_modules/@openfn/language-common/node_modules/lodash/fp/forIn.js +5 -0
  1052. package/node_modules/@openfn/language-common/node_modules/lodash/fp/forInRight.js +5 -0
  1053. package/node_modules/@openfn/language-common/node_modules/lodash/fp/forOwn.js +5 -0
  1054. package/node_modules/@openfn/language-common/node_modules/lodash/fp/forOwnRight.js +5 -0
  1055. package/node_modules/@openfn/language-common/node_modules/lodash/fp/fromPairs.js +5 -0
  1056. package/node_modules/@openfn/language-common/node_modules/lodash/fp/function.js +2 -0
  1057. package/node_modules/@openfn/language-common/node_modules/lodash/fp/functions.js +5 -0
  1058. package/node_modules/@openfn/language-common/node_modules/lodash/fp/functionsIn.js +5 -0
  1059. package/node_modules/@openfn/language-common/node_modules/lodash/fp/get.js +5 -0
  1060. package/node_modules/@openfn/language-common/node_modules/lodash/fp/getOr.js +5 -0
  1061. package/node_modules/@openfn/language-common/node_modules/lodash/fp/groupBy.js +5 -0
  1062. package/node_modules/@openfn/language-common/node_modules/lodash/fp/gt.js +5 -0
  1063. package/node_modules/@openfn/language-common/node_modules/lodash/fp/gte.js +5 -0
  1064. package/node_modules/@openfn/language-common/node_modules/lodash/fp/has.js +5 -0
  1065. package/node_modules/@openfn/language-common/node_modules/lodash/fp/hasIn.js +5 -0
  1066. package/node_modules/@openfn/language-common/node_modules/lodash/fp/head.js +5 -0
  1067. package/node_modules/@openfn/language-common/node_modules/lodash/fp/identical.js +1 -0
  1068. package/node_modules/@openfn/language-common/node_modules/lodash/fp/identity.js +5 -0
  1069. package/node_modules/@openfn/language-common/node_modules/lodash/fp/inRange.js +5 -0
  1070. package/node_modules/@openfn/language-common/node_modules/lodash/fp/includes.js +5 -0
  1071. package/node_modules/@openfn/language-common/node_modules/lodash/fp/includesFrom.js +5 -0
  1072. package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexBy.js +1 -0
  1073. package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexOf.js +5 -0
  1074. package/node_modules/@openfn/language-common/node_modules/lodash/fp/indexOfFrom.js +5 -0
  1075. package/node_modules/@openfn/language-common/node_modules/lodash/fp/init.js +1 -0
  1076. package/node_modules/@openfn/language-common/node_modules/lodash/fp/initial.js +5 -0
  1077. package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersection.js +5 -0
  1078. package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersectionBy.js +5 -0
  1079. package/node_modules/@openfn/language-common/node_modules/lodash/fp/intersectionWith.js +5 -0
  1080. package/node_modules/@openfn/language-common/node_modules/lodash/fp/invert.js +5 -0
  1081. package/node_modules/@openfn/language-common/node_modules/lodash/fp/invertBy.js +5 -0
  1082. package/node_modules/@openfn/language-common/node_modules/lodash/fp/invertObj.js +1 -0
  1083. package/node_modules/@openfn/language-common/node_modules/lodash/fp/invoke.js +5 -0
  1084. package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeArgs.js +5 -0
  1085. package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  1086. package/node_modules/@openfn/language-common/node_modules/lodash/fp/invokeMap.js +5 -0
  1087. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArguments.js +5 -0
  1088. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArray.js +5 -0
  1089. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  1090. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayLike.js +5 -0
  1091. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  1092. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isBoolean.js +5 -0
  1093. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isBuffer.js +5 -0
  1094. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isDate.js +5 -0
  1095. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isElement.js +5 -0
  1096. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEmpty.js +5 -0
  1097. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEqual.js +5 -0
  1098. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isEqualWith.js +5 -0
  1099. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isError.js +5 -0
  1100. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isFinite.js +5 -0
  1101. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isFunction.js +5 -0
  1102. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isInteger.js +5 -0
  1103. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isLength.js +5 -0
  1104. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMap.js +5 -0
  1105. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMatch.js +5 -0
  1106. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isMatchWith.js +5 -0
  1107. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNaN.js +5 -0
  1108. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNative.js +5 -0
  1109. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNil.js +5 -0
  1110. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNull.js +5 -0
  1111. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isNumber.js +5 -0
  1112. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isObject.js +5 -0
  1113. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isObjectLike.js +5 -0
  1114. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isPlainObject.js +5 -0
  1115. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isRegExp.js +5 -0
  1116. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSafeInteger.js +5 -0
  1117. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSet.js +5 -0
  1118. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isString.js +5 -0
  1119. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isSymbol.js +5 -0
  1120. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isTypedArray.js +5 -0
  1121. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isUndefined.js +5 -0
  1122. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isWeakMap.js +5 -0
  1123. package/node_modules/@openfn/language-common/node_modules/lodash/fp/isWeakSet.js +5 -0
  1124. package/node_modules/@openfn/language-common/node_modules/lodash/fp/iteratee.js +5 -0
  1125. package/node_modules/@openfn/language-common/node_modules/lodash/fp/join.js +5 -0
  1126. package/node_modules/@openfn/language-common/node_modules/lodash/fp/juxt.js +1 -0
  1127. package/node_modules/@openfn/language-common/node_modules/lodash/fp/kebabCase.js +5 -0
  1128. package/node_modules/@openfn/language-common/node_modules/lodash/fp/keyBy.js +5 -0
  1129. package/node_modules/@openfn/language-common/node_modules/lodash/fp/keys.js +5 -0
  1130. package/node_modules/@openfn/language-common/node_modules/lodash/fp/keysIn.js +5 -0
  1131. package/node_modules/@openfn/language-common/node_modules/lodash/fp/lang.js +2 -0
  1132. package/node_modules/@openfn/language-common/node_modules/lodash/fp/last.js +5 -0
  1133. package/node_modules/@openfn/language-common/node_modules/lodash/fp/lastIndexOf.js +5 -0
  1134. package/node_modules/@openfn/language-common/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  1135. package/node_modules/@openfn/language-common/node_modules/lodash/fp/lowerCase.js +5 -0
  1136. package/node_modules/@openfn/language-common/node_modules/lodash/fp/lowerFirst.js +5 -0
  1137. package/node_modules/@openfn/language-common/node_modules/lodash/fp/lt.js +5 -0
  1138. package/node_modules/@openfn/language-common/node_modules/lodash/fp/lte.js +5 -0
  1139. package/node_modules/@openfn/language-common/node_modules/lodash/fp/map.js +5 -0
  1140. package/node_modules/@openfn/language-common/node_modules/lodash/fp/mapKeys.js +5 -0
  1141. package/node_modules/@openfn/language-common/node_modules/lodash/fp/mapValues.js +5 -0
  1142. package/node_modules/@openfn/language-common/node_modules/lodash/fp/matches.js +1 -0
  1143. package/node_modules/@openfn/language-common/node_modules/lodash/fp/matchesProperty.js +5 -0
  1144. package/node_modules/@openfn/language-common/node_modules/lodash/fp/math.js +2 -0
  1145. package/node_modules/@openfn/language-common/node_modules/lodash/fp/max.js +5 -0
  1146. package/node_modules/@openfn/language-common/node_modules/lodash/fp/maxBy.js +5 -0
  1147. package/node_modules/@openfn/language-common/node_modules/lodash/fp/mean.js +5 -0
  1148. package/node_modules/@openfn/language-common/node_modules/lodash/fp/meanBy.js +5 -0
  1149. package/node_modules/@openfn/language-common/node_modules/lodash/fp/memoize.js +5 -0
  1150. package/node_modules/@openfn/language-common/node_modules/lodash/fp/merge.js +5 -0
  1151. package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeAll.js +5 -0
  1152. package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeAllWith.js +5 -0
  1153. package/node_modules/@openfn/language-common/node_modules/lodash/fp/mergeWith.js +5 -0
  1154. package/node_modules/@openfn/language-common/node_modules/lodash/fp/method.js +5 -0
  1155. package/node_modules/@openfn/language-common/node_modules/lodash/fp/methodOf.js +5 -0
  1156. package/node_modules/@openfn/language-common/node_modules/lodash/fp/min.js +5 -0
  1157. package/node_modules/@openfn/language-common/node_modules/lodash/fp/minBy.js +5 -0
  1158. package/node_modules/@openfn/language-common/node_modules/lodash/fp/mixin.js +5 -0
  1159. package/node_modules/@openfn/language-common/node_modules/lodash/fp/multiply.js +5 -0
  1160. package/node_modules/@openfn/language-common/node_modules/lodash/fp/nAry.js +1 -0
  1161. package/node_modules/@openfn/language-common/node_modules/lodash/fp/negate.js +5 -0
  1162. package/node_modules/@openfn/language-common/node_modules/lodash/fp/next.js +5 -0
  1163. package/node_modules/@openfn/language-common/node_modules/lodash/fp/noop.js +5 -0
  1164. package/node_modules/@openfn/language-common/node_modules/lodash/fp/now.js +5 -0
  1165. package/node_modules/@openfn/language-common/node_modules/lodash/fp/nth.js +5 -0
  1166. package/node_modules/@openfn/language-common/node_modules/lodash/fp/nthArg.js +5 -0
  1167. package/node_modules/@openfn/language-common/node_modules/lodash/fp/number.js +2 -0
  1168. package/node_modules/@openfn/language-common/node_modules/lodash/fp/object.js +2 -0
  1169. package/node_modules/@openfn/language-common/node_modules/lodash/fp/omit.js +5 -0
  1170. package/node_modules/@openfn/language-common/node_modules/lodash/fp/omitAll.js +1 -0
  1171. package/node_modules/@openfn/language-common/node_modules/lodash/fp/omitBy.js +5 -0
  1172. package/node_modules/@openfn/language-common/node_modules/lodash/fp/once.js +5 -0
  1173. package/node_modules/@openfn/language-common/node_modules/lodash/fp/orderBy.js +5 -0
  1174. package/node_modules/@openfn/language-common/node_modules/lodash/fp/over.js +5 -0
  1175. package/node_modules/@openfn/language-common/node_modules/lodash/fp/overArgs.js +5 -0
  1176. package/node_modules/@openfn/language-common/node_modules/lodash/fp/overEvery.js +5 -0
  1177. package/node_modules/@openfn/language-common/node_modules/lodash/fp/overSome.js +5 -0
  1178. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pad.js +5 -0
  1179. package/node_modules/@openfn/language-common/node_modules/lodash/fp/padChars.js +5 -0
  1180. package/node_modules/@openfn/language-common/node_modules/lodash/fp/padCharsEnd.js +5 -0
  1181. package/node_modules/@openfn/language-common/node_modules/lodash/fp/padCharsStart.js +5 -0
  1182. package/node_modules/@openfn/language-common/node_modules/lodash/fp/padEnd.js +5 -0
  1183. package/node_modules/@openfn/language-common/node_modules/lodash/fp/padStart.js +5 -0
  1184. package/node_modules/@openfn/language-common/node_modules/lodash/fp/parseInt.js +5 -0
  1185. package/node_modules/@openfn/language-common/node_modules/lodash/fp/partial.js +5 -0
  1186. package/node_modules/@openfn/language-common/node_modules/lodash/fp/partialRight.js +5 -0
  1187. package/node_modules/@openfn/language-common/node_modules/lodash/fp/partition.js +5 -0
  1188. package/node_modules/@openfn/language-common/node_modules/lodash/fp/path.js +1 -0
  1189. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pathEq.js +1 -0
  1190. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pathOr.js +1 -0
  1191. package/node_modules/@openfn/language-common/node_modules/lodash/fp/paths.js +1 -0
  1192. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pick.js +5 -0
  1193. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pickAll.js +1 -0
  1194. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pickBy.js +5 -0
  1195. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pipe.js +1 -0
  1196. package/node_modules/@openfn/language-common/node_modules/lodash/fp/placeholder.js +6 -0
  1197. package/node_modules/@openfn/language-common/node_modules/lodash/fp/plant.js +5 -0
  1198. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pluck.js +1 -0
  1199. package/node_modules/@openfn/language-common/node_modules/lodash/fp/prop.js +1 -0
  1200. package/node_modules/@openfn/language-common/node_modules/lodash/fp/propEq.js +1 -0
  1201. package/node_modules/@openfn/language-common/node_modules/lodash/fp/propOr.js +1 -0
  1202. package/node_modules/@openfn/language-common/node_modules/lodash/fp/property.js +1 -0
  1203. package/node_modules/@openfn/language-common/node_modules/lodash/fp/propertyOf.js +5 -0
  1204. package/node_modules/@openfn/language-common/node_modules/lodash/fp/props.js +1 -0
  1205. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pull.js +5 -0
  1206. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAll.js +5 -0
  1207. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAllBy.js +5 -0
  1208. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAllWith.js +5 -0
  1209. package/node_modules/@openfn/language-common/node_modules/lodash/fp/pullAt.js +5 -0
  1210. package/node_modules/@openfn/language-common/node_modules/lodash/fp/random.js +5 -0
  1211. package/node_modules/@openfn/language-common/node_modules/lodash/fp/range.js +5 -0
  1212. package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeRight.js +5 -0
  1213. package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeStep.js +5 -0
  1214. package/node_modules/@openfn/language-common/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1215. package/node_modules/@openfn/language-common/node_modules/lodash/fp/rearg.js +5 -0
  1216. package/node_modules/@openfn/language-common/node_modules/lodash/fp/reduce.js +5 -0
  1217. package/node_modules/@openfn/language-common/node_modules/lodash/fp/reduceRight.js +5 -0
  1218. package/node_modules/@openfn/language-common/node_modules/lodash/fp/reject.js +5 -0
  1219. package/node_modules/@openfn/language-common/node_modules/lodash/fp/remove.js +5 -0
  1220. package/node_modules/@openfn/language-common/node_modules/lodash/fp/repeat.js +5 -0
  1221. package/node_modules/@openfn/language-common/node_modules/lodash/fp/replace.js +5 -0
  1222. package/node_modules/@openfn/language-common/node_modules/lodash/fp/rest.js +5 -0
  1223. package/node_modules/@openfn/language-common/node_modules/lodash/fp/restFrom.js +5 -0
  1224. package/node_modules/@openfn/language-common/node_modules/lodash/fp/result.js +5 -0
  1225. package/node_modules/@openfn/language-common/node_modules/lodash/fp/reverse.js +5 -0
  1226. package/node_modules/@openfn/language-common/node_modules/lodash/fp/round.js +5 -0
  1227. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sample.js +5 -0
  1228. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sampleSize.js +5 -0
  1229. package/node_modules/@openfn/language-common/node_modules/lodash/fp/seq.js +2 -0
  1230. package/node_modules/@openfn/language-common/node_modules/lodash/fp/set.js +5 -0
  1231. package/node_modules/@openfn/language-common/node_modules/lodash/fp/setWith.js +5 -0
  1232. package/node_modules/@openfn/language-common/node_modules/lodash/fp/shuffle.js +5 -0
  1233. package/node_modules/@openfn/language-common/node_modules/lodash/fp/size.js +5 -0
  1234. package/node_modules/@openfn/language-common/node_modules/lodash/fp/slice.js +5 -0
  1235. package/node_modules/@openfn/language-common/node_modules/lodash/fp/snakeCase.js +5 -0
  1236. package/node_modules/@openfn/language-common/node_modules/lodash/fp/some.js +5 -0
  1237. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortBy.js +5 -0
  1238. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndex.js +5 -0
  1239. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1240. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1241. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1242. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1243. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1244. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedUniq.js +5 -0
  1245. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1246. package/node_modules/@openfn/language-common/node_modules/lodash/fp/split.js +5 -0
  1247. package/node_modules/@openfn/language-common/node_modules/lodash/fp/spread.js +5 -0
  1248. package/node_modules/@openfn/language-common/node_modules/lodash/fp/spreadFrom.js +5 -0
  1249. package/node_modules/@openfn/language-common/node_modules/lodash/fp/startCase.js +5 -0
  1250. package/node_modules/@openfn/language-common/node_modules/lodash/fp/startsWith.js +5 -0
  1251. package/node_modules/@openfn/language-common/node_modules/lodash/fp/string.js +2 -0
  1252. package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubArray.js +5 -0
  1253. package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubFalse.js +5 -0
  1254. package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubObject.js +5 -0
  1255. package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubString.js +5 -0
  1256. package/node_modules/@openfn/language-common/node_modules/lodash/fp/stubTrue.js +5 -0
  1257. package/node_modules/@openfn/language-common/node_modules/lodash/fp/subtract.js +5 -0
  1258. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sum.js +5 -0
  1259. package/node_modules/@openfn/language-common/node_modules/lodash/fp/sumBy.js +5 -0
  1260. package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1261. package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1262. package/node_modules/@openfn/language-common/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1263. package/node_modules/@openfn/language-common/node_modules/lodash/fp/tail.js +5 -0
  1264. package/node_modules/@openfn/language-common/node_modules/lodash/fp/take.js +5 -0
  1265. package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeLast.js +1 -0
  1266. package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1267. package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeRight.js +5 -0
  1268. package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1269. package/node_modules/@openfn/language-common/node_modules/lodash/fp/takeWhile.js +5 -0
  1270. package/node_modules/@openfn/language-common/node_modules/lodash/fp/tap.js +5 -0
  1271. package/node_modules/@openfn/language-common/node_modules/lodash/fp/template.js +5 -0
  1272. package/node_modules/@openfn/language-common/node_modules/lodash/fp/templateSettings.js +5 -0
  1273. package/node_modules/@openfn/language-common/node_modules/lodash/fp/throttle.js +5 -0
  1274. package/node_modules/@openfn/language-common/node_modules/lodash/fp/thru.js +5 -0
  1275. package/node_modules/@openfn/language-common/node_modules/lodash/fp/times.js +5 -0
  1276. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toArray.js +5 -0
  1277. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toFinite.js +5 -0
  1278. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toInteger.js +5 -0
  1279. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toIterator.js +5 -0
  1280. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toJSON.js +5 -0
  1281. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toLength.js +5 -0
  1282. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toLower.js +5 -0
  1283. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toNumber.js +5 -0
  1284. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPairs.js +5 -0
  1285. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPairsIn.js +5 -0
  1286. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPath.js +5 -0
  1287. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toPlainObject.js +5 -0
  1288. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1289. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toString.js +5 -0
  1290. package/node_modules/@openfn/language-common/node_modules/lodash/fp/toUpper.js +5 -0
  1291. package/node_modules/@openfn/language-common/node_modules/lodash/fp/transform.js +5 -0
  1292. package/node_modules/@openfn/language-common/node_modules/lodash/fp/trim.js +5 -0
  1293. package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimChars.js +5 -0
  1294. package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1295. package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1296. package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimEnd.js +5 -0
  1297. package/node_modules/@openfn/language-common/node_modules/lodash/fp/trimStart.js +5 -0
  1298. package/node_modules/@openfn/language-common/node_modules/lodash/fp/truncate.js +5 -0
  1299. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unapply.js +1 -0
  1300. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unary.js +5 -0
  1301. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unescape.js +5 -0
  1302. package/node_modules/@openfn/language-common/node_modules/lodash/fp/union.js +5 -0
  1303. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unionBy.js +5 -0
  1304. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unionWith.js +5 -0
  1305. package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniq.js +5 -0
  1306. package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqBy.js +5 -0
  1307. package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqWith.js +5 -0
  1308. package/node_modules/@openfn/language-common/node_modules/lodash/fp/uniqueId.js +5 -0
  1309. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unnest.js +1 -0
  1310. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unset.js +5 -0
  1311. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unzip.js +5 -0
  1312. package/node_modules/@openfn/language-common/node_modules/lodash/fp/unzipWith.js +5 -0
  1313. package/node_modules/@openfn/language-common/node_modules/lodash/fp/update.js +5 -0
  1314. package/node_modules/@openfn/language-common/node_modules/lodash/fp/updateWith.js +5 -0
  1315. package/node_modules/@openfn/language-common/node_modules/lodash/fp/upperCase.js +5 -0
  1316. package/node_modules/@openfn/language-common/node_modules/lodash/fp/upperFirst.js +5 -0
  1317. package/node_modules/@openfn/language-common/node_modules/lodash/fp/useWith.js +1 -0
  1318. package/node_modules/@openfn/language-common/node_modules/lodash/fp/util.js +2 -0
  1319. package/node_modules/@openfn/language-common/node_modules/lodash/fp/value.js +5 -0
  1320. package/node_modules/@openfn/language-common/node_modules/lodash/fp/valueOf.js +5 -0
  1321. package/node_modules/@openfn/language-common/node_modules/lodash/fp/values.js +5 -0
  1322. package/node_modules/@openfn/language-common/node_modules/lodash/fp/valuesIn.js +5 -0
  1323. package/node_modules/@openfn/language-common/node_modules/lodash/fp/where.js +1 -0
  1324. package/node_modules/@openfn/language-common/node_modules/lodash/fp/whereEq.js +1 -0
  1325. package/node_modules/@openfn/language-common/node_modules/lodash/fp/without.js +5 -0
  1326. package/node_modules/@openfn/language-common/node_modules/lodash/fp/words.js +5 -0
  1327. package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrap.js +5 -0
  1328. package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperAt.js +5 -0
  1329. package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperChain.js +5 -0
  1330. package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1331. package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1332. package/node_modules/@openfn/language-common/node_modules/lodash/fp/wrapperValue.js +5 -0
  1333. package/node_modules/@openfn/language-common/node_modules/lodash/fp/xor.js +5 -0
  1334. package/node_modules/@openfn/language-common/node_modules/lodash/fp/xorBy.js +5 -0
  1335. package/node_modules/@openfn/language-common/node_modules/lodash/fp/xorWith.js +5 -0
  1336. package/node_modules/@openfn/language-common/node_modules/lodash/fp/zip.js +5 -0
  1337. package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipAll.js +5 -0
  1338. package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObj.js +1 -0
  1339. package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObject.js +5 -0
  1340. package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1341. package/node_modules/@openfn/language-common/node_modules/lodash/fp/zipWith.js +5 -0
  1342. package/node_modules/@openfn/language-common/node_modules/lodash/fp.js +2 -0
  1343. package/node_modules/@openfn/language-common/node_modules/lodash/fromPairs.js +28 -0
  1344. package/node_modules/@openfn/language-common/node_modules/lodash/function.js +25 -0
  1345. package/node_modules/@openfn/language-common/node_modules/lodash/functions.js +31 -0
  1346. package/node_modules/@openfn/language-common/node_modules/lodash/functionsIn.js +31 -0
  1347. package/node_modules/@openfn/language-common/node_modules/lodash/get.js +33 -0
  1348. package/node_modules/@openfn/language-common/node_modules/lodash/groupBy.js +41 -0
  1349. package/node_modules/@openfn/language-common/node_modules/lodash/gt.js +29 -0
  1350. package/node_modules/@openfn/language-common/node_modules/lodash/gte.js +30 -0
  1351. package/node_modules/@openfn/language-common/node_modules/lodash/has.js +35 -0
  1352. package/node_modules/@openfn/language-common/node_modules/lodash/hasIn.js +34 -0
  1353. package/node_modules/@openfn/language-common/node_modules/lodash/head.js +23 -0
  1354. package/node_modules/@openfn/language-common/node_modules/lodash/identity.js +21 -0
  1355. package/node_modules/@openfn/language-common/node_modules/lodash/inRange.js +55 -0
  1356. package/node_modules/@openfn/language-common/node_modules/lodash/includes.js +53 -0
  1357. package/node_modules/@openfn/language-common/node_modules/lodash/index.js +1 -0
  1358. package/node_modules/@openfn/language-common/node_modules/lodash/indexOf.js +42 -0
  1359. package/node_modules/@openfn/language-common/node_modules/lodash/initial.js +22 -0
  1360. package/node_modules/@openfn/language-common/node_modules/lodash/intersection.js +30 -0
  1361. package/node_modules/@openfn/language-common/node_modules/lodash/intersectionBy.js +45 -0
  1362. package/node_modules/@openfn/language-common/node_modules/lodash/intersectionWith.js +41 -0
  1363. package/node_modules/@openfn/language-common/node_modules/lodash/invert.js +42 -0
  1364. package/node_modules/@openfn/language-common/node_modules/lodash/invertBy.js +56 -0
  1365. package/node_modules/@openfn/language-common/node_modules/lodash/invoke.js +24 -0
  1366. package/node_modules/@openfn/language-common/node_modules/lodash/invokeMap.js +41 -0
  1367. package/node_modules/@openfn/language-common/node_modules/lodash/isArguments.js +36 -0
  1368. package/node_modules/@openfn/language-common/node_modules/lodash/isArray.js +26 -0
  1369. package/node_modules/@openfn/language-common/node_modules/lodash/isArrayBuffer.js +27 -0
  1370. package/node_modules/@openfn/language-common/node_modules/lodash/isArrayLike.js +33 -0
  1371. package/node_modules/@openfn/language-common/node_modules/lodash/isArrayLikeObject.js +33 -0
  1372. package/node_modules/@openfn/language-common/node_modules/lodash/isBoolean.js +29 -0
  1373. package/node_modules/@openfn/language-common/node_modules/lodash/isBuffer.js +38 -0
  1374. package/node_modules/@openfn/language-common/node_modules/lodash/isDate.js +27 -0
  1375. package/node_modules/@openfn/language-common/node_modules/lodash/isElement.js +25 -0
  1376. package/node_modules/@openfn/language-common/node_modules/lodash/isEmpty.js +77 -0
  1377. package/node_modules/@openfn/language-common/node_modules/lodash/isEqual.js +35 -0
  1378. package/node_modules/@openfn/language-common/node_modules/lodash/isEqualWith.js +41 -0
  1379. package/node_modules/@openfn/language-common/node_modules/lodash/isError.js +36 -0
  1380. package/node_modules/@openfn/language-common/node_modules/lodash/isFinite.js +36 -0
  1381. package/node_modules/@openfn/language-common/node_modules/lodash/isFunction.js +37 -0
  1382. package/node_modules/@openfn/language-common/node_modules/lodash/isInteger.js +33 -0
  1383. package/node_modules/@openfn/language-common/node_modules/lodash/isLength.js +35 -0
  1384. package/node_modules/@openfn/language-common/node_modules/lodash/isMap.js +27 -0
  1385. package/node_modules/@openfn/language-common/node_modules/lodash/isMatch.js +36 -0
  1386. package/node_modules/@openfn/language-common/node_modules/lodash/isMatchWith.js +41 -0
  1387. package/node_modules/@openfn/language-common/node_modules/lodash/isNaN.js +38 -0
  1388. package/node_modules/@openfn/language-common/node_modules/lodash/isNative.js +40 -0
  1389. package/node_modules/@openfn/language-common/node_modules/lodash/isNil.js +25 -0
  1390. package/node_modules/@openfn/language-common/node_modules/lodash/isNull.js +22 -0
  1391. package/node_modules/@openfn/language-common/node_modules/lodash/isNumber.js +38 -0
  1392. package/node_modules/@openfn/language-common/node_modules/lodash/isObject.js +31 -0
  1393. package/node_modules/@openfn/language-common/node_modules/lodash/isObjectLike.js +29 -0
  1394. package/node_modules/@openfn/language-common/node_modules/lodash/isPlainObject.js +62 -0
  1395. package/node_modules/@openfn/language-common/node_modules/lodash/isRegExp.js +27 -0
  1396. package/node_modules/@openfn/language-common/node_modules/lodash/isSafeInteger.js +37 -0
  1397. package/node_modules/@openfn/language-common/node_modules/lodash/isSet.js +27 -0
  1398. package/node_modules/@openfn/language-common/node_modules/lodash/isString.js +30 -0
  1399. package/node_modules/@openfn/language-common/node_modules/lodash/isSymbol.js +29 -0
  1400. package/node_modules/@openfn/language-common/node_modules/lodash/isTypedArray.js +27 -0
  1401. package/node_modules/@openfn/language-common/node_modules/lodash/isUndefined.js +22 -0
  1402. package/node_modules/@openfn/language-common/node_modules/lodash/isWeakMap.js +28 -0
  1403. package/node_modules/@openfn/language-common/node_modules/lodash/isWeakSet.js +28 -0
  1404. package/node_modules/@openfn/language-common/node_modules/lodash/iteratee.js +53 -0
  1405. package/node_modules/@openfn/language-common/node_modules/lodash/join.js +26 -0
  1406. package/node_modules/@openfn/language-common/node_modules/lodash/kebabCase.js +28 -0
  1407. package/node_modules/@openfn/language-common/node_modules/lodash/keyBy.js +36 -0
  1408. package/node_modules/@openfn/language-common/node_modules/lodash/keys.js +37 -0
  1409. package/node_modules/@openfn/language-common/node_modules/lodash/keysIn.js +32 -0
  1410. package/node_modules/@openfn/language-common/node_modules/lodash/lang.js +58 -0
  1411. package/node_modules/@openfn/language-common/node_modules/lodash/last.js +20 -0
  1412. package/node_modules/@openfn/language-common/node_modules/lodash/lastIndexOf.js +46 -0
  1413. package/node_modules/@openfn/language-common/node_modules/lodash/lodash.js +17209 -0
  1414. package/node_modules/@openfn/language-common/node_modules/lodash/lodash.min.js +140 -0
  1415. package/node_modules/@openfn/language-common/node_modules/lodash/lowerCase.js +27 -0
  1416. package/node_modules/@openfn/language-common/node_modules/lodash/lowerFirst.js +22 -0
  1417. package/node_modules/@openfn/language-common/node_modules/lodash/lt.js +29 -0
  1418. package/node_modules/@openfn/language-common/node_modules/lodash/lte.js +30 -0
  1419. package/node_modules/@openfn/language-common/node_modules/lodash/map.js +53 -0
  1420. package/node_modules/@openfn/language-common/node_modules/lodash/mapKeys.js +36 -0
  1421. package/node_modules/@openfn/language-common/node_modules/lodash/mapValues.js +43 -0
  1422. package/node_modules/@openfn/language-common/node_modules/lodash/matches.js +46 -0
  1423. package/node_modules/@openfn/language-common/node_modules/lodash/matchesProperty.js +44 -0
  1424. package/node_modules/@openfn/language-common/node_modules/lodash/math.js +17 -0
  1425. package/node_modules/@openfn/language-common/node_modules/lodash/max.js +29 -0
  1426. package/node_modules/@openfn/language-common/node_modules/lodash/maxBy.js +34 -0
  1427. package/node_modules/@openfn/language-common/node_modules/lodash/mean.js +22 -0
  1428. package/node_modules/@openfn/language-common/node_modules/lodash/meanBy.js +31 -0
  1429. package/node_modules/@openfn/language-common/node_modules/lodash/memoize.js +73 -0
  1430. package/node_modules/@openfn/language-common/node_modules/lodash/merge.js +39 -0
  1431. package/node_modules/@openfn/language-common/node_modules/lodash/mergeWith.js +39 -0
  1432. package/node_modules/@openfn/language-common/node_modules/lodash/method.js +34 -0
  1433. package/node_modules/@openfn/language-common/node_modules/lodash/methodOf.js +33 -0
  1434. package/node_modules/@openfn/language-common/node_modules/lodash/min.js +29 -0
  1435. package/node_modules/@openfn/language-common/node_modules/lodash/minBy.js +34 -0
  1436. package/node_modules/@openfn/language-common/node_modules/lodash/mixin.js +74 -0
  1437. package/node_modules/@openfn/language-common/node_modules/lodash/multiply.js +22 -0
  1438. package/node_modules/@openfn/language-common/node_modules/lodash/negate.js +40 -0
  1439. package/node_modules/@openfn/language-common/node_modules/lodash/next.js +35 -0
  1440. package/node_modules/@openfn/language-common/node_modules/lodash/noop.js +17 -0
  1441. package/node_modules/@openfn/language-common/node_modules/lodash/now.js +23 -0
  1442. package/node_modules/@openfn/language-common/node_modules/lodash/nth.js +29 -0
  1443. package/node_modules/@openfn/language-common/node_modules/lodash/nthArg.js +32 -0
  1444. package/node_modules/@openfn/language-common/node_modules/lodash/number.js +5 -0
  1445. package/node_modules/@openfn/language-common/node_modules/lodash/object.js +49 -0
  1446. package/node_modules/@openfn/language-common/node_modules/lodash/omit.js +57 -0
  1447. package/node_modules/@openfn/language-common/node_modules/lodash/omitBy.js +29 -0
  1448. package/node_modules/@openfn/language-common/node_modules/lodash/once.js +25 -0
  1449. package/node_modules/@openfn/language-common/node_modules/lodash/orderBy.js +47 -0
  1450. package/node_modules/@openfn/language-common/node_modules/lodash/over.js +24 -0
  1451. package/node_modules/@openfn/language-common/node_modules/lodash/overArgs.js +61 -0
  1452. package/node_modules/@openfn/language-common/node_modules/lodash/overEvery.js +34 -0
  1453. package/node_modules/@openfn/language-common/node_modules/lodash/overSome.js +37 -0
  1454. package/node_modules/@openfn/language-common/node_modules/lodash/package.json +65 -0
  1455. package/node_modules/@openfn/language-common/node_modules/lodash/pad.js +49 -0
  1456. package/node_modules/@openfn/language-common/node_modules/lodash/padEnd.js +39 -0
  1457. package/node_modules/@openfn/language-common/node_modules/lodash/padStart.js +39 -0
  1458. package/node_modules/@openfn/language-common/node_modules/lodash/parseInt.js +43 -0
  1459. package/node_modules/@openfn/language-common/node_modules/lodash/partial.js +50 -0
  1460. package/node_modules/@openfn/language-common/node_modules/lodash/partialRight.js +49 -0
  1461. package/node_modules/@openfn/language-common/node_modules/lodash/partition.js +43 -0
  1462. package/node_modules/@openfn/language-common/node_modules/lodash/pick.js +25 -0
  1463. package/node_modules/@openfn/language-common/node_modules/lodash/pickBy.js +37 -0
  1464. package/node_modules/@openfn/language-common/node_modules/lodash/plant.js +48 -0
  1465. package/node_modules/@openfn/language-common/node_modules/lodash/property.js +32 -0
  1466. package/node_modules/@openfn/language-common/node_modules/lodash/propertyOf.js +30 -0
  1467. package/node_modules/@openfn/language-common/node_modules/lodash/pull.js +29 -0
  1468. package/node_modules/@openfn/language-common/node_modules/lodash/pullAll.js +29 -0
  1469. package/node_modules/@openfn/language-common/node_modules/lodash/pullAllBy.js +33 -0
  1470. package/node_modules/@openfn/language-common/node_modules/lodash/pullAllWith.js +32 -0
  1471. package/node_modules/@openfn/language-common/node_modules/lodash/pullAt.js +43 -0
  1472. package/node_modules/@openfn/language-common/node_modules/lodash/random.js +82 -0
  1473. package/node_modules/@openfn/language-common/node_modules/lodash/range.js +46 -0
  1474. package/node_modules/@openfn/language-common/node_modules/lodash/rangeRight.js +41 -0
  1475. package/node_modules/@openfn/language-common/node_modules/lodash/rearg.js +33 -0
  1476. package/node_modules/@openfn/language-common/node_modules/lodash/reduce.js +51 -0
  1477. package/node_modules/@openfn/language-common/node_modules/lodash/reduceRight.js +36 -0
  1478. package/node_modules/@openfn/language-common/node_modules/lodash/reject.js +46 -0
  1479. package/node_modules/@openfn/language-common/node_modules/lodash/release.md +48 -0
  1480. package/node_modules/@openfn/language-common/node_modules/lodash/remove.js +53 -0
  1481. package/node_modules/@openfn/language-common/node_modules/lodash/repeat.js +37 -0
  1482. package/node_modules/@openfn/language-common/node_modules/lodash/replace.js +29 -0
  1483. package/node_modules/@openfn/language-common/node_modules/lodash/rest.js +40 -0
  1484. package/node_modules/@openfn/language-common/node_modules/lodash/result.js +56 -0
  1485. package/node_modules/@openfn/language-common/node_modules/lodash/reverse.js +34 -0
  1486. package/node_modules/@openfn/language-common/node_modules/lodash/round.js +26 -0
  1487. package/node_modules/@openfn/language-common/node_modules/lodash/sample.js +24 -0
  1488. package/node_modules/@openfn/language-common/node_modules/lodash/sampleSize.js +37 -0
  1489. package/node_modules/@openfn/language-common/node_modules/lodash/seq.js +16 -0
  1490. package/node_modules/@openfn/language-common/node_modules/lodash/set.js +35 -0
  1491. package/node_modules/@openfn/language-common/node_modules/lodash/setWith.js +32 -0
  1492. package/node_modules/@openfn/language-common/node_modules/lodash/shuffle.js +25 -0
  1493. package/node_modules/@openfn/language-common/node_modules/lodash/size.js +46 -0
  1494. package/node_modules/@openfn/language-common/node_modules/lodash/slice.js +37 -0
  1495. package/node_modules/@openfn/language-common/node_modules/lodash/snakeCase.js +28 -0
  1496. package/node_modules/@openfn/language-common/node_modules/lodash/some.js +51 -0
  1497. package/node_modules/@openfn/language-common/node_modules/lodash/sortBy.js +48 -0
  1498. package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndex.js +24 -0
  1499. package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndexBy.js +33 -0
  1500. package/node_modules/@openfn/language-common/node_modules/lodash/sortedIndexOf.js +31 -0
  1501. package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndex.js +25 -0
  1502. package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1503. package/node_modules/@openfn/language-common/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1504. package/node_modules/@openfn/language-common/node_modules/lodash/sortedUniq.js +24 -0
  1505. package/node_modules/@openfn/language-common/node_modules/lodash/sortedUniqBy.js +26 -0
  1506. package/node_modules/@openfn/language-common/node_modules/lodash/split.js +52 -0
  1507. package/node_modules/@openfn/language-common/node_modules/lodash/spread.js +63 -0
  1508. package/node_modules/@openfn/language-common/node_modules/lodash/startCase.js +29 -0
  1509. package/node_modules/@openfn/language-common/node_modules/lodash/startsWith.js +39 -0
  1510. package/node_modules/@openfn/language-common/node_modules/lodash/string.js +33 -0
  1511. package/node_modules/@openfn/language-common/node_modules/lodash/stubArray.js +23 -0
  1512. package/node_modules/@openfn/language-common/node_modules/lodash/stubFalse.js +18 -0
  1513. package/node_modules/@openfn/language-common/node_modules/lodash/stubObject.js +23 -0
  1514. package/node_modules/@openfn/language-common/node_modules/lodash/stubString.js +18 -0
  1515. package/node_modules/@openfn/language-common/node_modules/lodash/stubTrue.js +18 -0
  1516. package/node_modules/@openfn/language-common/node_modules/lodash/subtract.js +22 -0
  1517. package/node_modules/@openfn/language-common/node_modules/lodash/sum.js +24 -0
  1518. package/node_modules/@openfn/language-common/node_modules/lodash/sumBy.js +33 -0
  1519. package/node_modules/@openfn/language-common/node_modules/lodash/tail.js +22 -0
  1520. package/node_modules/@openfn/language-common/node_modules/lodash/take.js +37 -0
  1521. package/node_modules/@openfn/language-common/node_modules/lodash/takeRight.js +39 -0
  1522. package/node_modules/@openfn/language-common/node_modules/lodash/takeRightWhile.js +45 -0
  1523. package/node_modules/@openfn/language-common/node_modules/lodash/takeWhile.js +45 -0
  1524. package/node_modules/@openfn/language-common/node_modules/lodash/tap.js +29 -0
  1525. package/node_modules/@openfn/language-common/node_modules/lodash/template.js +272 -0
  1526. package/node_modules/@openfn/language-common/node_modules/lodash/templateSettings.js +67 -0
  1527. package/node_modules/@openfn/language-common/node_modules/lodash/throttle.js +69 -0
  1528. package/node_modules/@openfn/language-common/node_modules/lodash/thru.js +28 -0
  1529. package/node_modules/@openfn/language-common/node_modules/lodash/times.js +51 -0
  1530. package/node_modules/@openfn/language-common/node_modules/lodash/toArray.js +58 -0
  1531. package/node_modules/@openfn/language-common/node_modules/lodash/toFinite.js +42 -0
  1532. package/node_modules/@openfn/language-common/node_modules/lodash/toInteger.js +36 -0
  1533. package/node_modules/@openfn/language-common/node_modules/lodash/toIterator.js +23 -0
  1534. package/node_modules/@openfn/language-common/node_modules/lodash/toJSON.js +1 -0
  1535. package/node_modules/@openfn/language-common/node_modules/lodash/toLength.js +38 -0
  1536. package/node_modules/@openfn/language-common/node_modules/lodash/toLower.js +28 -0
  1537. package/node_modules/@openfn/language-common/node_modules/lodash/toNumber.js +64 -0
  1538. package/node_modules/@openfn/language-common/node_modules/lodash/toPairs.js +30 -0
  1539. package/node_modules/@openfn/language-common/node_modules/lodash/toPairsIn.js +30 -0
  1540. package/node_modules/@openfn/language-common/node_modules/lodash/toPath.js +33 -0
  1541. package/node_modules/@openfn/language-common/node_modules/lodash/toPlainObject.js +32 -0
  1542. package/node_modules/@openfn/language-common/node_modules/lodash/toSafeInteger.js +37 -0
  1543. package/node_modules/@openfn/language-common/node_modules/lodash/toString.js +28 -0
  1544. package/node_modules/@openfn/language-common/node_modules/lodash/toUpper.js +28 -0
  1545. package/node_modules/@openfn/language-common/node_modules/lodash/transform.js +65 -0
  1546. package/node_modules/@openfn/language-common/node_modules/lodash/trim.js +47 -0
  1547. package/node_modules/@openfn/language-common/node_modules/lodash/trimEnd.js +41 -0
  1548. package/node_modules/@openfn/language-common/node_modules/lodash/trimStart.js +43 -0
  1549. package/node_modules/@openfn/language-common/node_modules/lodash/truncate.js +111 -0
  1550. package/node_modules/@openfn/language-common/node_modules/lodash/unary.js +22 -0
  1551. package/node_modules/@openfn/language-common/node_modules/lodash/unescape.js +34 -0
  1552. package/node_modules/@openfn/language-common/node_modules/lodash/union.js +26 -0
  1553. package/node_modules/@openfn/language-common/node_modules/lodash/unionBy.js +39 -0
  1554. package/node_modules/@openfn/language-common/node_modules/lodash/unionWith.js +34 -0
  1555. package/node_modules/@openfn/language-common/node_modules/lodash/uniq.js +25 -0
  1556. package/node_modules/@openfn/language-common/node_modules/lodash/uniqBy.js +31 -0
  1557. package/node_modules/@openfn/language-common/node_modules/lodash/uniqWith.js +28 -0
  1558. package/node_modules/@openfn/language-common/node_modules/lodash/uniqueId.js +28 -0
  1559. package/node_modules/@openfn/language-common/node_modules/lodash/unset.js +34 -0
  1560. package/node_modules/@openfn/language-common/node_modules/lodash/unzip.js +45 -0
  1561. package/node_modules/@openfn/language-common/node_modules/lodash/unzipWith.js +39 -0
  1562. package/node_modules/@openfn/language-common/node_modules/lodash/update.js +35 -0
  1563. package/node_modules/@openfn/language-common/node_modules/lodash/updateWith.js +33 -0
  1564. package/node_modules/@openfn/language-common/node_modules/lodash/upperCase.js +27 -0
  1565. package/node_modules/@openfn/language-common/node_modules/lodash/upperFirst.js +22 -0
  1566. package/node_modules/@openfn/language-common/node_modules/lodash/util.js +34 -0
  1567. package/node_modules/@openfn/language-common/node_modules/lodash/value.js +1 -0
  1568. package/node_modules/@openfn/language-common/node_modules/lodash/valueOf.js +1 -0
  1569. package/node_modules/@openfn/language-common/node_modules/lodash/values.js +34 -0
  1570. package/node_modules/@openfn/language-common/node_modules/lodash/valuesIn.js +32 -0
  1571. package/node_modules/@openfn/language-common/node_modules/lodash/without.js +31 -0
  1572. package/node_modules/@openfn/language-common/node_modules/lodash/words.js +35 -0
  1573. package/node_modules/@openfn/language-common/node_modules/lodash/wrap.js +30 -0
  1574. package/node_modules/@openfn/language-common/node_modules/lodash/wrapperAt.js +48 -0
  1575. package/node_modules/@openfn/language-common/node_modules/lodash/wrapperChain.js +34 -0
  1576. package/node_modules/@openfn/language-common/node_modules/lodash/wrapperLodash.js +147 -0
  1577. package/node_modules/@openfn/language-common/node_modules/lodash/wrapperReverse.js +44 -0
  1578. package/node_modules/@openfn/language-common/node_modules/lodash/wrapperValue.js +21 -0
  1579. package/node_modules/@openfn/language-common/node_modules/lodash/xor.js +28 -0
  1580. package/node_modules/@openfn/language-common/node_modules/lodash/xorBy.js +39 -0
  1581. package/node_modules/@openfn/language-common/node_modules/lodash/xorWith.js +34 -0
  1582. package/node_modules/@openfn/language-common/node_modules/lodash/zip.js +22 -0
  1583. package/node_modules/@openfn/language-common/node_modules/lodash/zipObject.js +24 -0
  1584. package/node_modules/@openfn/language-common/node_modules/lodash/zipObjectDeep.js +23 -0
  1585. package/node_modules/@openfn/language-common/node_modules/lodash/zipWith.js +32 -0
  1586. package/node_modules/@openfn/language-common/package.json +86 -0
  1587. package/node_modules/@types/node/LICENSE +21 -0
  1588. package/node_modules/@types/node/README.md +16 -0
  1589. package/node_modules/@types/node/assert.d.ts +53 -0
  1590. package/node_modules/@types/node/async_hooks.d.ts +132 -0
  1591. package/node_modules/@types/node/base.d.ts +41 -0
  1592. package/node_modules/@types/node/buffer.d.ts +22 -0
  1593. package/node_modules/@types/node/child_process.d.ts +495 -0
  1594. package/node_modules/@types/node/cluster.d.ts +266 -0
  1595. package/node_modules/@types/node/console.d.ts +3 -0
  1596. package/node_modules/@types/node/constants.d.ts +8 -0
  1597. package/node_modules/@types/node/crypto.d.ts +615 -0
  1598. package/node_modules/@types/node/dgram.d.ts +141 -0
  1599. package/node_modules/@types/node/dns.d.ts +366 -0
  1600. package/node_modules/@types/node/domain.d.ts +16 -0
  1601. package/node_modules/@types/node/events.d.ts +50 -0
  1602. package/node_modules/@types/node/fs.d.ts +2458 -0
  1603. package/node_modules/@types/node/globals.d.ts +1105 -0
  1604. package/node_modules/@types/node/http.d.ts +395 -0
  1605. package/node_modules/@types/node/http2.d.ts +947 -0
  1606. package/node_modules/@types/node/https.d.ts +37 -0
  1607. package/node_modules/@types/node/index.d.ts +83 -0
  1608. package/node_modules/@types/node/inspector.d.ts +3034 -0
  1609. package/node_modules/@types/node/module.d.ts +21 -0
  1610. package/node_modules/@types/node/net.d.ts +268 -0
  1611. package/node_modules/@types/node/os.d.ts +231 -0
  1612. package/node_modules/@types/node/package.json +223 -0
  1613. package/node_modules/@types/node/path.d.ts +153 -0
  1614. package/node_modules/@types/node/perf_hooks.d.ts +304 -0
  1615. package/node_modules/@types/node/process.d.ts +15 -0
  1616. package/node_modules/@types/node/punycode.d.ts +12 -0
  1617. package/node_modules/@types/node/querystring.d.ts +29 -0
  1618. package/node_modules/@types/node/readline.d.ts +169 -0
  1619. package/node_modules/@types/node/repl.d.ts +387 -0
  1620. package/node_modules/@types/node/stream.d.ts +326 -0
  1621. package/node_modules/@types/node/string_decoder.d.ts +7 -0
  1622. package/node_modules/@types/node/timers.d.ts +16 -0
  1623. package/node_modules/@types/node/tls.d.ts +759 -0
  1624. package/node_modules/@types/node/trace_events.d.ts +61 -0
  1625. package/node_modules/@types/node/ts3.5/fs.d.ts +33 -0
  1626. package/node_modules/@types/node/ts3.5/globals.d.ts +19 -0
  1627. package/node_modules/@types/node/ts3.5/index.d.ts +17 -0
  1628. package/node_modules/@types/node/ts3.5/util.d.ts +9 -0
  1629. package/node_modules/@types/node/ts3.5/wasi.d.ts +45 -0
  1630. package/node_modules/@types/node/tty.d.ts +66 -0
  1631. package/node_modules/@types/node/url.d.ts +110 -0
  1632. package/node_modules/@types/node/util.d.ts +190 -0
  1633. package/node_modules/@types/node/v8.d.ts +187 -0
  1634. package/node_modules/@types/node/vm.d.ts +110 -0
  1635. package/node_modules/@types/node/worker_threads.d.ts +168 -0
  1636. package/node_modules/@types/node/zlib.d.ts +352 -0
  1637. package/node_modules/@types/tunnel/LICENSE +21 -0
  1638. package/node_modules/@types/tunnel/README.md +16 -0
  1639. package/node_modules/@types/tunnel/index.d.ts +46 -0
  1640. package/node_modules/@types/tunnel/package.json +57 -0
  1641. package/node_modules/adal-node/.jshintrc +29 -0
  1642. package/node_modules/adal-node/.npmignore +14 -0
  1643. package/node_modules/adal-node/.travis.yml +4 -0
  1644. package/node_modules/adal-node/LICENSE.txt +201 -0
  1645. package/node_modules/adal-node/README.md +145 -0
  1646. package/node_modules/adal-node/changelog.md +126 -0
  1647. package/node_modules/adal-node/lib/adal.d.ts +438 -0
  1648. package/node_modules/adal-node/lib/adal.js +53 -0
  1649. package/node_modules/adal-node/lib/argument.js +74 -0
  1650. package/node_modules/adal-node/lib/authentication-context.js +465 -0
  1651. package/node_modules/adal-node/lib/authentication-parameters.js +264 -0
  1652. package/node_modules/adal-node/lib/authority.js +279 -0
  1653. package/node_modules/adal-node/lib/cache-driver.js +522 -0
  1654. package/node_modules/adal-node/lib/code-request.js +99 -0
  1655. package/node_modules/adal-node/lib/constants.js +207 -0
  1656. package/node_modules/adal-node/lib/log.js +237 -0
  1657. package/node_modules/adal-node/lib/memory-cache.js +92 -0
  1658. package/node_modules/adal-node/lib/mex.js +349 -0
  1659. package/node_modules/adal-node/lib/oauth2client.js +534 -0
  1660. package/node_modules/adal-node/lib/self-signed-jwt.js +176 -0
  1661. package/node_modules/adal-node/lib/token-request.js +607 -0
  1662. package/node_modules/adal-node/lib/user-realm.js +268 -0
  1663. package/node_modules/adal-node/lib/util.js +188 -0
  1664. package/node_modules/adal-node/lib/wstrust-request.js +240 -0
  1665. package/node_modules/adal-node/lib/wstrust-response.js +288 -0
  1666. package/node_modules/adal-node/lib/xmlutil.js +127 -0
  1667. package/node_modules/adal-node/node_modules/@types/node/LICENSE +21 -0
  1668. package/node_modules/adal-node/node_modules/@types/node/README.md +16 -0
  1669. package/node_modules/adal-node/node_modules/@types/node/base.d.ts +7384 -0
  1670. package/node_modules/adal-node/node_modules/@types/node/index.d.ts +69 -0
  1671. package/node_modules/adal-node/node_modules/@types/node/inspector.d.ts +2512 -0
  1672. package/node_modules/adal-node/node_modules/@types/node/package.json +159 -0
  1673. package/node_modules/adal-node/node_modules/@types/node/ts3.2/index.d.ts +23 -0
  1674. package/node_modules/adal-node/package-lock.json +1023 -0
  1675. package/node_modules/adal-node/package.json +88 -0
  1676. package/node_modules/adal-node/tsconfig.json +37 -0
  1677. package/node_modules/ajv/.tonic_example.js +20 -0
  1678. package/node_modules/ajv/LICENSE +22 -0
  1679. package/node_modules/ajv/README.md +1380 -0
  1680. package/node_modules/ajv/dist/ajv.bundle.js +7163 -0
  1681. package/node_modules/ajv/dist/ajv.min.js +3 -0
  1682. package/node_modules/ajv/dist/ajv.min.js.map +1 -0
  1683. package/node_modules/ajv/lib/ajv.d.ts +391 -0
  1684. package/node_modules/ajv/lib/ajv.js +497 -0
  1685. package/node_modules/ajv/lib/cache.js +26 -0
  1686. package/node_modules/ajv/lib/compile/async.js +90 -0
  1687. package/node_modules/ajv/lib/compile/equal.js +5 -0
  1688. package/node_modules/ajv/lib/compile/error_classes.js +34 -0
  1689. package/node_modules/ajv/lib/compile/formats.js +149 -0
  1690. package/node_modules/ajv/lib/compile/index.js +387 -0
  1691. package/node_modules/ajv/lib/compile/resolve.js +270 -0
  1692. package/node_modules/ajv/lib/compile/rules.js +66 -0
  1693. package/node_modules/ajv/lib/compile/schema_obj.js +9 -0
  1694. package/node_modules/ajv/lib/compile/ucs2length.js +20 -0
  1695. package/node_modules/ajv/lib/compile/util.js +274 -0
  1696. package/node_modules/ajv/lib/data.js +49 -0
  1697. package/node_modules/ajv/lib/definition_schema.js +37 -0
  1698. package/node_modules/ajv/lib/dot/_limit.jst +104 -0
  1699. package/node_modules/ajv/lib/dot/_limitItems.jst +10 -0
  1700. package/node_modules/ajv/lib/dot/_limitLength.jst +10 -0
  1701. package/node_modules/ajv/lib/dot/_limitProperties.jst +10 -0
  1702. package/node_modules/ajv/lib/dot/allOf.jst +34 -0
  1703. package/node_modules/ajv/lib/dot/anyOf.jst +48 -0
  1704. package/node_modules/ajv/lib/dot/coerce.def +61 -0
  1705. package/node_modules/ajv/lib/dot/comment.jst +9 -0
  1706. package/node_modules/ajv/lib/dot/const.jst +11 -0
  1707. package/node_modules/ajv/lib/dot/contains.jst +57 -0
  1708. package/node_modules/ajv/lib/dot/custom.jst +191 -0
  1709. package/node_modules/ajv/lib/dot/defaults.def +47 -0
  1710. package/node_modules/ajv/lib/dot/definitions.def +201 -0
  1711. package/node_modules/ajv/lib/dot/dependencies.jst +80 -0
  1712. package/node_modules/ajv/lib/dot/enum.jst +30 -0
  1713. package/node_modules/ajv/lib/dot/errors.def +194 -0
  1714. package/node_modules/ajv/lib/dot/format.jst +106 -0
  1715. package/node_modules/ajv/lib/dot/if.jst +75 -0
  1716. package/node_modules/ajv/lib/dot/items.jst +100 -0
  1717. package/node_modules/ajv/lib/dot/missing.def +39 -0
  1718. package/node_modules/ajv/lib/dot/multipleOf.jst +20 -0
  1719. package/node_modules/ajv/lib/dot/not.jst +43 -0
  1720. package/node_modules/ajv/lib/dot/oneOf.jst +54 -0
  1721. package/node_modules/ajv/lib/dot/pattern.jst +14 -0
  1722. package/node_modules/ajv/lib/dot/properties.jst +244 -0
  1723. package/node_modules/ajv/lib/dot/propertyNames.jst +54 -0
  1724. package/node_modules/ajv/lib/dot/ref.jst +85 -0
  1725. package/node_modules/ajv/lib/dot/required.jst +108 -0
  1726. package/node_modules/ajv/lib/dot/uniqueItems.jst +62 -0
  1727. package/node_modules/ajv/lib/dot/validate.jst +282 -0
  1728. package/node_modules/ajv/lib/dotjs/README.md +3 -0
  1729. package/node_modules/ajv/lib/dotjs/_limit.js +157 -0
  1730. package/node_modules/ajv/lib/dotjs/_limitItems.js +77 -0
  1731. package/node_modules/ajv/lib/dotjs/_limitLength.js +82 -0
  1732. package/node_modules/ajv/lib/dotjs/_limitProperties.js +77 -0
  1733. package/node_modules/ajv/lib/dotjs/allOf.js +43 -0
  1734. package/node_modules/ajv/lib/dotjs/anyOf.js +74 -0
  1735. package/node_modules/ajv/lib/dotjs/comment.js +14 -0
  1736. package/node_modules/ajv/lib/dotjs/const.js +56 -0
  1737. package/node_modules/ajv/lib/dotjs/contains.js +82 -0
  1738. package/node_modules/ajv/lib/dotjs/custom.js +228 -0
  1739. package/node_modules/ajv/lib/dotjs/dependencies.js +168 -0
  1740. package/node_modules/ajv/lib/dotjs/enum.js +66 -0
  1741. package/node_modules/ajv/lib/dotjs/format.js +150 -0
  1742. package/node_modules/ajv/lib/dotjs/if.js +104 -0
  1743. package/node_modules/ajv/lib/dotjs/index.js +33 -0
  1744. package/node_modules/ajv/lib/dotjs/items.js +141 -0
  1745. package/node_modules/ajv/lib/dotjs/multipleOf.js +77 -0
  1746. package/node_modules/ajv/lib/dotjs/not.js +84 -0
  1747. package/node_modules/ajv/lib/dotjs/oneOf.js +73 -0
  1748. package/node_modules/ajv/lib/dotjs/pattern.js +75 -0
  1749. package/node_modules/ajv/lib/dotjs/properties.js +330 -0
  1750. package/node_modules/ajv/lib/dotjs/propertyNames.js +82 -0
  1751. package/node_modules/ajv/lib/dotjs/ref.js +124 -0
  1752. package/node_modules/ajv/lib/dotjs/required.js +270 -0
  1753. package/node_modules/ajv/lib/dotjs/uniqueItems.js +86 -0
  1754. package/node_modules/ajv/lib/dotjs/validate.js +494 -0
  1755. package/node_modules/ajv/lib/keyword.js +146 -0
  1756. package/node_modules/ajv/lib/refs/data.json +17 -0
  1757. package/node_modules/ajv/lib/refs/json-schema-draft-04.json +149 -0
  1758. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +154 -0
  1759. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +168 -0
  1760. package/node_modules/ajv/lib/refs/json-schema-secure.json +94 -0
  1761. package/node_modules/ajv/package.json +128 -0
  1762. package/node_modules/ajv/scripts/.eslintrc.yml +3 -0
  1763. package/node_modules/ajv/scripts/bundle.js +61 -0
  1764. package/node_modules/ajv/scripts/compile-dots.js +73 -0
  1765. package/node_modules/ajv/scripts/info +10 -0
  1766. package/node_modules/ajv/scripts/prepare-tests +12 -0
  1767. package/node_modules/ajv/scripts/publish-built-version +32 -0
  1768. package/node_modules/ajv/scripts/travis-gh-pages +23 -0
  1769. package/node_modules/asn1/LICENSE +19 -0
  1770. package/node_modules/asn1/README.md +50 -0
  1771. package/node_modules/asn1/lib/ber/errors.js +13 -0
  1772. package/node_modules/asn1/lib/ber/index.js +27 -0
  1773. package/node_modules/asn1/lib/ber/reader.js +262 -0
  1774. package/node_modules/asn1/lib/ber/types.js +36 -0
  1775. package/node_modules/asn1/lib/ber/writer.js +317 -0
  1776. package/node_modules/asn1/lib/index.js +20 -0
  1777. package/node_modules/asn1/package.json +78 -0
  1778. package/node_modules/assert-plus/AUTHORS +6 -0
  1779. package/node_modules/assert-plus/CHANGES.md +14 -0
  1780. package/node_modules/assert-plus/README.md +162 -0
  1781. package/node_modules/assert-plus/assert.js +211 -0
  1782. package/node_modules/assert-plus/package.json +90 -0
  1783. package/node_modules/async/CHANGELOG.md +125 -0
  1784. package/node_modules/async/LICENSE +19 -0
  1785. package/node_modules/async/README.md +1877 -0
  1786. package/node_modules/async/dist/async.js +1265 -0
  1787. package/node_modules/async/dist/async.min.js +2 -0
  1788. package/node_modules/async/lib/async.js +1265 -0
  1789. package/node_modules/async/package.json +117 -0
  1790. package/node_modules/asynckit/LICENSE +21 -0
  1791. package/node_modules/asynckit/README.md +233 -0
  1792. package/node_modules/asynckit/bench.js +76 -0
  1793. package/node_modules/asynckit/index.js +6 -0
  1794. package/node_modules/asynckit/lib/abort.js +29 -0
  1795. package/node_modules/asynckit/lib/async.js +34 -0
  1796. package/node_modules/asynckit/lib/defer.js +26 -0
  1797. package/node_modules/asynckit/lib/iterate.js +75 -0
  1798. package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  1799. package/node_modules/asynckit/lib/readable_parallel.js +25 -0
  1800. package/node_modules/asynckit/lib/readable_serial.js +25 -0
  1801. package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  1802. package/node_modules/asynckit/lib/state.js +37 -0
  1803. package/node_modules/asynckit/lib/streamify.js +141 -0
  1804. package/node_modules/asynckit/lib/terminator.js +29 -0
  1805. package/node_modules/asynckit/package.json +95 -0
  1806. package/node_modules/asynckit/parallel.js +43 -0
  1807. package/node_modules/asynckit/serial.js +17 -0
  1808. package/node_modules/asynckit/serialOrdered.js +75 -0
  1809. package/node_modules/asynckit/stream.js +21 -0
  1810. package/node_modules/aws-sign2/LICENSE +55 -0
  1811. package/node_modules/aws-sign2/README.md +4 -0
  1812. package/node_modules/aws-sign2/index.js +212 -0
  1813. package/node_modules/aws-sign2/package.json +53 -0
  1814. package/node_modules/aws4/.travis.yml +9 -0
  1815. package/node_modules/aws4/LICENSE +19 -0
  1816. package/node_modules/aws4/README.md +523 -0
  1817. package/node_modules/aws4/aws4.js +345 -0
  1818. package/node_modules/aws4/lru.js +96 -0
  1819. package/node_modules/aws4/package.json +108 -0
  1820. package/node_modules/axios/CHANGELOG.md +413 -0
  1821. package/node_modules/axios/LICENSE +19 -0
  1822. package/node_modules/axios/README.md +709 -0
  1823. package/node_modules/axios/UPGRADE_GUIDE.md +162 -0
  1824. package/node_modules/axios/dist/axios.js +1715 -0
  1825. package/node_modules/axios/dist/axios.map +1 -0
  1826. package/node_modules/axios/dist/axios.min.js +3 -0
  1827. package/node_modules/axios/dist/axios.min.map +1 -0
  1828. package/node_modules/axios/index.d.ts +157 -0
  1829. package/node_modules/axios/index.js +1 -0
  1830. package/node_modules/axios/lib/adapters/README.md +37 -0
  1831. package/node_modules/axios/lib/adapters/http.js +279 -0
  1832. package/node_modules/axios/lib/adapters/xhr.js +180 -0
  1833. package/node_modules/axios/lib/axios.js +53 -0
  1834. package/node_modules/axios/lib/cancel/Cancel.js +19 -0
  1835. package/node_modules/axios/lib/cancel/CancelToken.js +57 -0
  1836. package/node_modules/axios/lib/cancel/isCancel.js +5 -0
  1837. package/node_modules/axios/lib/core/Axios.js +94 -0
  1838. package/node_modules/axios/lib/core/InterceptorManager.js +52 -0
  1839. package/node_modules/axios/lib/core/README.md +7 -0
  1840. package/node_modules/axios/lib/core/buildFullPath.js +20 -0
  1841. package/node_modules/axios/lib/core/createError.js +18 -0
  1842. package/node_modules/axios/lib/core/dispatchRequest.js +79 -0
  1843. package/node_modules/axios/lib/core/enhanceError.js +42 -0
  1844. package/node_modules/axios/lib/core/mergeConfig.js +73 -0
  1845. package/node_modules/axios/lib/core/settle.js +25 -0
  1846. package/node_modules/axios/lib/core/transformData.js +20 -0
  1847. package/node_modules/axios/lib/defaults.js +97 -0
  1848. package/node_modules/axios/lib/helpers/README.md +7 -0
  1849. package/node_modules/axios/lib/helpers/bind.js +11 -0
  1850. package/node_modules/axios/lib/helpers/buildURL.js +71 -0
  1851. package/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  1852. package/node_modules/axios/lib/helpers/cookies.js +53 -0
  1853. package/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  1854. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  1855. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  1856. package/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  1857. package/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  1858. package/node_modules/axios/lib/helpers/spread.js +27 -0
  1859. package/node_modules/axios/lib/utils.js +344 -0
  1860. package/node_modules/axios/package.json +114 -0
  1861. package/node_modules/bcrypt-pbkdf/CONTRIBUTING.md +13 -0
  1862. package/node_modules/bcrypt-pbkdf/LICENSE +66 -0
  1863. package/node_modules/bcrypt-pbkdf/README.md +45 -0
  1864. package/node_modules/bcrypt-pbkdf/index.js +556 -0
  1865. package/node_modules/bcrypt-pbkdf/package.json +47 -0
  1866. package/node_modules/bl/.jshintrc +60 -0
  1867. package/node_modules/bl/.travis.yml +13 -0
  1868. package/node_modules/bl/LICENSE.md +13 -0
  1869. package/node_modules/bl/README.md +218 -0
  1870. package/node_modules/bl/bl.js +391 -0
  1871. package/node_modules/bl/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  1872. package/node_modules/bl/node_modules/readable-stream/GOVERNANCE.md +136 -0
  1873. package/node_modules/bl/node_modules/readable-stream/LICENSE +47 -0
  1874. package/node_modules/bl/node_modules/readable-stream/README.md +106 -0
  1875. package/node_modules/bl/node_modules/readable-stream/errors-browser.js +127 -0
  1876. package/node_modules/bl/node_modules/readable-stream/errors.js +116 -0
  1877. package/node_modules/bl/node_modules/readable-stream/experimentalWarning.js +17 -0
  1878. package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
  1879. package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
  1880. package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
  1881. package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +201 -0
  1882. package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +697 -0
  1883. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
  1884. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
  1885. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
  1886. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
  1887. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  1888. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
  1889. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
  1890. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
  1891. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  1892. package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  1893. package/node_modules/bl/node_modules/readable-stream/package.json +100 -0
  1894. package/node_modules/bl/node_modules/readable-stream/readable-browser.js +9 -0
  1895. package/node_modules/bl/node_modules/readable-stream/readable.js +16 -0
  1896. package/node_modules/bl/node_modules/string_decoder/LICENSE +48 -0
  1897. package/node_modules/bl/node_modules/string_decoder/README.md +47 -0
  1898. package/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js +296 -0
  1899. package/node_modules/bl/node_modules/string_decoder/package.json +65 -0
  1900. package/node_modules/bl/package.json +69 -0
  1901. package/node_modules/bl/test/indexOf.js +463 -0
  1902. package/node_modules/bl/test/test.js +796 -0
  1903. package/node_modules/buffer-equal-constant-time/.npmignore +2 -0
  1904. package/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
  1905. package/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
  1906. package/node_modules/buffer-equal-constant-time/README.md +50 -0
  1907. package/node_modules/buffer-equal-constant-time/index.js +41 -0
  1908. package/node_modules/buffer-equal-constant-time/package.json +58 -0
  1909. package/node_modules/buffer-equal-constant-time/test.js +42 -0
  1910. package/node_modules/caseless/LICENSE +28 -0
  1911. package/node_modules/caseless/README.md +45 -0
  1912. package/node_modules/caseless/index.js +67 -0
  1913. package/node_modules/caseless/package.json +59 -0
  1914. package/node_modules/caseless/test.js +67 -0
  1915. package/node_modules/combined-stream/License +19 -0
  1916. package/node_modules/combined-stream/Readme.md +138 -0
  1917. package/node_modules/combined-stream/lib/combined_stream.js +208 -0
  1918. package/node_modules/combined-stream/package.json +63 -0
  1919. package/node_modules/combined-stream/yarn.lock +17 -0
  1920. package/node_modules/core-util-is/LICENSE +19 -0
  1921. package/node_modules/core-util-is/README.md +3 -0
  1922. package/node_modules/core-util-is/float.patch +604 -0
  1923. package/node_modules/core-util-is/lib/util.js +107 -0
  1924. package/node_modules/core-util-is/package.json +67 -0
  1925. package/node_modules/core-util-is/test.js +68 -0
  1926. package/node_modules/dashdash/CHANGES.md +364 -0
  1927. package/node_modules/dashdash/LICENSE.txt +24 -0
  1928. package/node_modules/dashdash/README.md +574 -0
  1929. package/node_modules/dashdash/etc/dashdash.bash_completion.in +389 -0
  1930. package/node_modules/dashdash/lib/dashdash.js +1055 -0
  1931. package/node_modules/dashdash/package.json +70 -0
  1932. package/node_modules/date-utils/.npmignore +1 -0
  1933. package/node_modules/date-utils/.travis.yml +3 -0
  1934. package/node_modules/date-utils/LICENSE +19 -0
  1935. package/node_modules/date-utils/README.md +53 -0
  1936. package/node_modules/date-utils/bower.json +10 -0
  1937. package/node_modules/date-utils/doc/Date.html +8997 -0
  1938. package/node_modules/date-utils/doc/classes.list.html +227 -0
  1939. package/node_modules/date-utils/doc/date-utils.js.html +1138 -0
  1940. package/node_modules/date-utils/doc/img/glyphicons-halflings-white.png +0 -0
  1941. package/node_modules/date-utils/doc/img/glyphicons-halflings.png +0 -0
  1942. package/node_modules/date-utils/doc/index.html +195 -0
  1943. package/node_modules/date-utils/doc/scripts/URI.js +1429 -0
  1944. package/node_modules/date-utils/doc/scripts/bootstrap-dropdown.js +169 -0
  1945. package/node_modules/date-utils/doc/scripts/bootstrap-tab.js +144 -0
  1946. package/node_modules/date-utils/doc/scripts/docstrap.lib.js +9 -0
  1947. package/node_modules/date-utils/doc/scripts/linenumber.js +25 -0
  1948. package/node_modules/date-utils/doc/scripts/prettify/Apache-License-2.0.txt +202 -0
  1949. package/node_modules/date-utils/doc/scripts/prettify/jquery.min.js +6 -0
  1950. package/node_modules/date-utils/doc/scripts/prettify/lang-css.js +21 -0
  1951. package/node_modules/date-utils/doc/scripts/prettify/prettify.js +496 -0
  1952. package/node_modules/date-utils/doc/scripts/sunlight.js +1157 -0
  1953. package/node_modules/date-utils/doc/scripts/toc.js +100 -0
  1954. package/node_modules/date-utils/doc/styles/darkstrap.css +960 -0
  1955. package/node_modules/date-utils/doc/styles/jsdoc-default.css +334 -0
  1956. package/node_modules/date-utils/doc/styles/prettify-jsdoc.css +111 -0
  1957. package/node_modules/date-utils/doc/styles/prettify-tomorrow.css +132 -0
  1958. package/node_modules/date-utils/doc/styles/site.amelia.css +6369 -0
  1959. package/node_modules/date-utils/doc/styles/site.cerulean.css +5701 -0
  1960. package/node_modules/date-utils/doc/styles/site.cosmo.css +5944 -0
  1961. package/node_modules/date-utils/doc/styles/site.cyborg.css +6151 -0
  1962. package/node_modules/date-utils/doc/styles/site.darkstrap.css +5638 -0
  1963. package/node_modules/date-utils/doc/styles/site.flatly.css +5993 -0
  1964. package/node_modules/date-utils/doc/styles/site.journal.css +5745 -0
  1965. package/node_modules/date-utils/doc/styles/site.readable.css +5433 -0
  1966. package/node_modules/date-utils/doc/styles/site.simplex.css +5758 -0
  1967. package/node_modules/date-utils/doc/styles/site.slate.css +6204 -0
  1968. package/node_modules/date-utils/doc/styles/site.spacelab.css +5796 -0
  1969. package/node_modules/date-utils/doc/styles/site.spruce.css +5938 -0
  1970. package/node_modules/date-utils/doc/styles/site.superhero.css +6106 -0
  1971. package/node_modules/date-utils/doc/styles/site.united.css +5545 -0
  1972. package/node_modules/date-utils/doc/styles/sunlight.dark.css +345 -0
  1973. package/node_modules/date-utils/doc/styles/sunlight.default.css +344 -0
  1974. package/node_modules/date-utils/gulpfile.js +33 -0
  1975. package/node_modules/date-utils/jsdoc.json +28 -0
  1976. package/node_modules/date-utils/lib/date-utils.js +1851 -0
  1977. package/node_modules/date-utils/lib/date-utils.min.js +1 -0
  1978. package/node_modules/date-utils/package.json +80 -0
  1979. package/node_modules/date-utils/test/date-format-test.js +151 -0
  1980. package/node_modules/date-utils/test/date-language-dos-test.js +81 -0
  1981. package/node_modules/date-utils/test/date-language-pt-br-test.js +82 -0
  1982. package/node_modules/date-utils/test/date-language-test.js +82 -0
  1983. package/node_modules/date-utils/test/date-new-test.js +105 -0
  1984. package/node_modules/date-utils/test/date-parse-test.js +128 -0
  1985. package/node_modules/date-utils/test/date-validate-test.js +1063 -0
  1986. package/node_modules/delayed-stream/.npmignore +1 -0
  1987. package/node_modules/delayed-stream/License +19 -0
  1988. package/node_modules/delayed-stream/Makefile +7 -0
  1989. package/node_modules/delayed-stream/Readme.md +141 -0
  1990. package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  1991. package/node_modules/delayed-stream/package.json +65 -0
  1992. package/node_modules/depd/History.md +103 -0
  1993. package/node_modules/depd/LICENSE +22 -0
  1994. package/node_modules/depd/Readme.md +280 -0
  1995. package/node_modules/depd/index.js +538 -0
  1996. package/node_modules/depd/lib/browser/index.js +77 -0
  1997. package/node_modules/depd/package.json +83 -0
  1998. package/node_modules/ecc-jsbn/LICENSE +21 -0
  1999. package/node_modules/ecc-jsbn/README.md +8 -0
  2000. package/node_modules/ecc-jsbn/index.js +58 -0
  2001. package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
  2002. package/node_modules/ecc-jsbn/lib/ec.js +561 -0
  2003. package/node_modules/ecc-jsbn/lib/sec.js +170 -0
  2004. package/node_modules/ecc-jsbn/package.json +68 -0
  2005. package/node_modules/ecc-jsbn/test.js +14 -0
  2006. package/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
  2007. package/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
  2008. package/node_modules/ecdsa-sig-formatter/README.md +65 -0
  2009. package/node_modules/ecdsa-sig-formatter/package.json +76 -0
  2010. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
  2011. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  2012. package/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  2013. package/node_modules/extsprintf/.gitmodules +0 -0
  2014. package/node_modules/extsprintf/.npmignore +2 -0
  2015. package/node_modules/extsprintf/LICENSE +19 -0
  2016. package/node_modules/extsprintf/Makefile +24 -0
  2017. package/node_modules/extsprintf/Makefile.targ +285 -0
  2018. package/node_modules/extsprintf/README.md +46 -0
  2019. package/node_modules/extsprintf/jsl.node.conf +137 -0
  2020. package/node_modules/extsprintf/lib/extsprintf.js +183 -0
  2021. package/node_modules/extsprintf/package.json +47 -0
  2022. package/node_modules/fast-deep-equal/LICENSE +21 -0
  2023. package/node_modules/fast-deep-equal/README.md +96 -0
  2024. package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  2025. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  2026. package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  2027. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  2028. package/node_modules/fast-deep-equal/index.d.ts +4 -0
  2029. package/node_modules/fast-deep-equal/index.js +46 -0
  2030. package/node_modules/fast-deep-equal/package.json +91 -0
  2031. package/node_modules/fast-deep-equal/react.d.ts +2 -0
  2032. package/node_modules/fast-deep-equal/react.js +53 -0
  2033. package/node_modules/fast-json-stable-stringify/.eslintrc.yml +26 -0
  2034. package/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +1 -0
  2035. package/node_modules/fast-json-stable-stringify/.travis.yml +8 -0
  2036. package/node_modules/fast-json-stable-stringify/LICENSE +21 -0
  2037. package/node_modules/fast-json-stable-stringify/README.md +131 -0
  2038. package/node_modules/fast-json-stable-stringify/benchmark/index.js +31 -0
  2039. package/node_modules/fast-json-stable-stringify/benchmark/test.json +137 -0
  2040. package/node_modules/fast-json-stable-stringify/example/key_cmp.js +7 -0
  2041. package/node_modules/fast-json-stable-stringify/example/nested.js +3 -0
  2042. package/node_modules/fast-json-stable-stringify/example/str.js +3 -0
  2043. package/node_modules/fast-json-stable-stringify/example/value_cmp.js +7 -0
  2044. package/node_modules/fast-json-stable-stringify/index.d.ts +4 -0
  2045. package/node_modules/fast-json-stable-stringify/index.js +59 -0
  2046. package/node_modules/fast-json-stable-stringify/package.json +83 -0
  2047. package/node_modules/fast-json-stable-stringify/test/cmp.js +13 -0
  2048. package/node_modules/fast-json-stable-stringify/test/nested.js +44 -0
  2049. package/node_modules/fast-json-stable-stringify/test/str.js +46 -0
  2050. package/node_modules/fast-json-stable-stringify/test/to-json.js +22 -0
  2051. package/node_modules/follow-redirects/LICENSE +18 -0
  2052. package/node_modules/follow-redirects/README.md +155 -0
  2053. package/node_modules/follow-redirects/http.js +1 -0
  2054. package/node_modules/follow-redirects/https.js +1 -0
  2055. package/node_modules/follow-redirects/index.js +322 -0
  2056. package/node_modules/follow-redirects/node_modules/debug/.coveralls.yml +1 -0
  2057. package/node_modules/follow-redirects/node_modules/debug/.eslintrc +14 -0
  2058. package/node_modules/follow-redirects/node_modules/debug/.npmignore +9 -0
  2059. package/node_modules/follow-redirects/node_modules/debug/.travis.yml +20 -0
  2060. package/node_modules/follow-redirects/node_modules/debug/CHANGELOG.md +395 -0
  2061. package/node_modules/follow-redirects/node_modules/debug/LICENSE +19 -0
  2062. package/node_modules/follow-redirects/node_modules/debug/Makefile +58 -0
  2063. package/node_modules/follow-redirects/node_modules/debug/README.md +368 -0
  2064. package/node_modules/follow-redirects/node_modules/debug/karma.conf.js +70 -0
  2065. package/node_modules/follow-redirects/node_modules/debug/node.js +1 -0
  2066. package/node_modules/follow-redirects/node_modules/debug/package.json +85 -0
  2067. package/node_modules/follow-redirects/node_modules/debug/src/browser.js +195 -0
  2068. package/node_modules/follow-redirects/node_modules/debug/src/debug.js +225 -0
  2069. package/node_modules/follow-redirects/node_modules/debug/src/index.js +10 -0
  2070. package/node_modules/follow-redirects/node_modules/debug/src/node.js +186 -0
  2071. package/node_modules/follow-redirects/package.json +101 -0
  2072. package/node_modules/forever-agent/LICENSE +55 -0
  2073. package/node_modules/forever-agent/README.md +4 -0
  2074. package/node_modules/forever-agent/index.js +138 -0
  2075. package/node_modules/forever-agent/package.json +53 -0
  2076. package/node_modules/getpass/.npmignore +8 -0
  2077. package/node_modules/getpass/.travis.yml +9 -0
  2078. package/node_modules/getpass/LICENSE +18 -0
  2079. package/node_modules/getpass/README.md +32 -0
  2080. package/node_modules/getpass/lib/index.js +123 -0
  2081. package/node_modules/getpass/package.json +53 -0
  2082. package/node_modules/har-schema/LICENSE +13 -0
  2083. package/node_modules/har-schema/README.md +49 -0
  2084. package/node_modules/har-schema/lib/afterRequest.json +30 -0
  2085. package/node_modules/har-schema/lib/beforeRequest.json +30 -0
  2086. package/node_modules/har-schema/lib/browser.json +20 -0
  2087. package/node_modules/har-schema/lib/cache.json +21 -0
  2088. package/node_modules/har-schema/lib/content.json +29 -0
  2089. package/node_modules/har-schema/lib/cookie.json +36 -0
  2090. package/node_modules/har-schema/lib/creator.json +20 -0
  2091. package/node_modules/har-schema/lib/entry.json +53 -0
  2092. package/node_modules/har-schema/lib/har.json +13 -0
  2093. package/node_modules/har-schema/lib/header.json +20 -0
  2094. package/node_modules/har-schema/lib/index.js +22 -0
  2095. package/node_modules/har-schema/lib/log.json +36 -0
  2096. package/node_modules/har-schema/lib/page.json +32 -0
  2097. package/node_modules/har-schema/lib/pageTimings.json +18 -0
  2098. package/node_modules/har-schema/lib/postData.json +43 -0
  2099. package/node_modules/har-schema/lib/query.json +20 -0
  2100. package/node_modules/har-schema/lib/request.json +57 -0
  2101. package/node_modules/har-schema/lib/response.json +54 -0
  2102. package/node_modules/har-schema/lib/timings.json +42 -0
  2103. package/node_modules/har-schema/package.json +89 -0
  2104. package/node_modules/har-validator/LICENSE +9 -0
  2105. package/node_modules/har-validator/README.md +37 -0
  2106. package/node_modules/har-validator/lib/async.js +105 -0
  2107. package/node_modules/har-validator/lib/error.js +17 -0
  2108. package/node_modules/har-validator/lib/promise.js +102 -0
  2109. package/node_modules/har-validator/package.json +79 -0
  2110. package/node_modules/http-signature/.dir-locals.el +6 -0
  2111. package/node_modules/http-signature/.npmignore +7 -0
  2112. package/node_modules/http-signature/CHANGES.md +46 -0
  2113. package/node_modules/http-signature/LICENSE +18 -0
  2114. package/node_modules/http-signature/README.md +79 -0
  2115. package/node_modules/http-signature/http_signing.md +363 -0
  2116. package/node_modules/http-signature/lib/index.js +29 -0
  2117. package/node_modules/http-signature/lib/parser.js +315 -0
  2118. package/node_modules/http-signature/lib/signer.js +401 -0
  2119. package/node_modules/http-signature/lib/utils.js +112 -0
  2120. package/node_modules/http-signature/lib/verify.js +88 -0
  2121. package/node_modules/http-signature/package.json +80 -0
  2122. package/node_modules/iconv-lite/Changelog.md +177 -0
  2123. package/node_modules/iconv-lite/LICENSE +21 -0
  2124. package/node_modules/iconv-lite/README.md +166 -0
  2125. package/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
  2126. package/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
  2127. package/node_modules/iconv-lite/encodings/index.js +23 -0
  2128. package/node_modules/iconv-lite/encodings/internal.js +188 -0
  2129. package/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  2130. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  2131. package/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  2132. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  2133. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  2134. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  2135. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  2136. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  2137. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  2138. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  2139. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  2140. package/node_modules/iconv-lite/encodings/utf16.js +177 -0
  2141. package/node_modules/iconv-lite/encodings/utf32.js +281 -0
  2142. package/node_modules/iconv-lite/encodings/utf7.js +290 -0
  2143. package/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  2144. package/node_modules/iconv-lite/lib/extend-node.js +217 -0
  2145. package/node_modules/iconv-lite/lib/index.d.ts +24 -0
  2146. package/node_modules/iconv-lite/lib/index.js +153 -0
  2147. package/node_modules/iconv-lite/lib/streams.js +121 -0
  2148. package/node_modules/iconv-lite/package.json +79 -0
  2149. package/node_modules/inherits/LICENSE +16 -0
  2150. package/node_modules/inherits/README.md +42 -0
  2151. package/node_modules/inherits/inherits.js +9 -0
  2152. package/node_modules/inherits/inherits_browser.js +27 -0
  2153. package/node_modules/inherits/package.json +71 -0
  2154. package/node_modules/is-typedarray/LICENSE.md +18 -0
  2155. package/node_modules/is-typedarray/README.md +16 -0
  2156. package/node_modules/is-typedarray/index.js +41 -0
  2157. package/node_modules/is-typedarray/package.json +62 -0
  2158. package/node_modules/is-typedarray/test.js +34 -0
  2159. package/node_modules/isstream/.jshintrc +59 -0
  2160. package/node_modules/isstream/.npmignore +1 -0
  2161. package/node_modules/isstream/.travis.yml +12 -0
  2162. package/node_modules/isstream/LICENSE.md +11 -0
  2163. package/node_modules/isstream/README.md +66 -0
  2164. package/node_modules/isstream/isstream.js +27 -0
  2165. package/node_modules/isstream/package.json +64 -0
  2166. package/node_modules/isstream/test.js +168 -0
  2167. package/node_modules/jsbi/LICENSE +176 -0
  2168. package/node_modules/jsbi/README.md +142 -0
  2169. package/node_modules/jsbi/dist/jsbi-cjs.js +1 -0
  2170. package/node_modules/jsbi/dist/jsbi-umd.js +1 -0
  2171. package/node_modules/jsbi/dist/jsbi.mjs +1 -0
  2172. package/node_modules/jsbi/jsbi.d.ts +44 -0
  2173. package/node_modules/jsbi/package.json +68 -0
  2174. package/node_modules/jsbn/.npmignore +2 -0
  2175. package/node_modules/jsbn/LICENSE +40 -0
  2176. package/node_modules/jsbn/README.md +175 -0
  2177. package/node_modules/jsbn/example.html +12 -0
  2178. package/node_modules/jsbn/example.js +3 -0
  2179. package/node_modules/jsbn/index.js +1357 -0
  2180. package/node_modules/jsbn/package.json +56 -0
  2181. package/node_modules/json-schema/README.md +5 -0
  2182. package/node_modules/json-schema/draft-00/hyper-schema +68 -0
  2183. package/node_modules/json-schema/draft-00/json-ref +26 -0
  2184. package/node_modules/json-schema/draft-00/links +33 -0
  2185. package/node_modules/json-schema/draft-00/schema +155 -0
  2186. package/node_modules/json-schema/draft-01/hyper-schema +68 -0
  2187. package/node_modules/json-schema/draft-01/json-ref +26 -0
  2188. package/node_modules/json-schema/draft-01/links +33 -0
  2189. package/node_modules/json-schema/draft-01/schema +155 -0
  2190. package/node_modules/json-schema/draft-02/hyper-schema +68 -0
  2191. package/node_modules/json-schema/draft-02/json-ref +26 -0
  2192. package/node_modules/json-schema/draft-02/links +35 -0
  2193. package/node_modules/json-schema/draft-02/schema +166 -0
  2194. package/node_modules/json-schema/draft-03/examples/address +20 -0
  2195. package/node_modules/json-schema/draft-03/examples/calendar +53 -0
  2196. package/node_modules/json-schema/draft-03/examples/card +105 -0
  2197. package/node_modules/json-schema/draft-03/examples/geo +8 -0
  2198. package/node_modules/json-schema/draft-03/examples/interfaces +23 -0
  2199. package/node_modules/json-schema/draft-03/hyper-schema +60 -0
  2200. package/node_modules/json-schema/draft-03/json-ref +26 -0
  2201. package/node_modules/json-schema/draft-03/links +35 -0
  2202. package/node_modules/json-schema/draft-03/schema +174 -0
  2203. package/node_modules/json-schema/draft-04/hyper-schema +60 -0
  2204. package/node_modules/json-schema/draft-04/links +41 -0
  2205. package/node_modules/json-schema/draft-04/schema +189 -0
  2206. package/node_modules/json-schema/draft-zyp-json-schema-03.xml +1120 -0
  2207. package/node_modules/json-schema/draft-zyp-json-schema-04.xml +1072 -0
  2208. package/node_modules/json-schema/lib/links.js +66 -0
  2209. package/node_modules/json-schema/lib/validate.js +273 -0
  2210. package/node_modules/json-schema/package.json +74 -0
  2211. package/node_modules/json-schema/test/tests.js +95 -0
  2212. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  2213. package/node_modules/json-schema-traverse/.travis.yml +8 -0
  2214. package/node_modules/json-schema-traverse/LICENSE +21 -0
  2215. package/node_modules/json-schema-traverse/README.md +83 -0
  2216. package/node_modules/json-schema-traverse/index.js +89 -0
  2217. package/node_modules/json-schema-traverse/package.json +73 -0
  2218. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  2219. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  2220. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  2221. package/node_modules/json-stringify-safe/.npmignore +1 -0
  2222. package/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
  2223. package/node_modules/json-stringify-safe/LICENSE +15 -0
  2224. package/node_modules/json-stringify-safe/Makefile +35 -0
  2225. package/node_modules/json-stringify-safe/README.md +52 -0
  2226. package/node_modules/json-stringify-safe/package.json +69 -0
  2227. package/node_modules/json-stringify-safe/stringify.js +27 -0
  2228. package/node_modules/json-stringify-safe/test/mocha.opts +2 -0
  2229. package/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
  2230. package/node_modules/jsprim/CHANGES.md +49 -0
  2231. package/node_modules/jsprim/CONTRIBUTING.md +19 -0
  2232. package/node_modules/jsprim/LICENSE +19 -0
  2233. package/node_modules/jsprim/README.md +287 -0
  2234. package/node_modules/jsprim/lib/jsprim.js +735 -0
  2235. package/node_modules/jsprim/package.json +52 -0
  2236. package/node_modules/jwa/LICENSE +17 -0
  2237. package/node_modules/jwa/README.md +150 -0
  2238. package/node_modules/jwa/index.js +252 -0
  2239. package/node_modules/jwa/package.json +72 -0
  2240. package/node_modules/jws/CHANGELOG.md +34 -0
  2241. package/node_modules/jws/LICENSE +17 -0
  2242. package/node_modules/jws/index.js +22 -0
  2243. package/node_modules/jws/lib/data-stream.js +55 -0
  2244. package/node_modules/jws/lib/sign-stream.js +78 -0
  2245. package/node_modules/jws/lib/tostring.js +10 -0
  2246. package/node_modules/jws/lib/verify-stream.js +120 -0
  2247. package/node_modules/jws/package.json +67 -0
  2248. package/node_modules/jws/readme.md +255 -0
  2249. package/node_modules/mime-db/HISTORY.md +439 -0
  2250. package/node_modules/mime-db/LICENSE +22 -0
  2251. package/node_modules/mime-db/README.md +100 -0
  2252. package/node_modules/mime-db/db.json +8060 -0
  2253. package/node_modules/mime-db/index.js +11 -0
  2254. package/node_modules/mime-db/package.json +104 -0
  2255. package/node_modules/mime-types/HISTORY.md +325 -0
  2256. package/node_modules/mime-types/LICENSE +23 -0
  2257. package/node_modules/mime-types/README.md +113 -0
  2258. package/node_modules/mime-types/index.js +188 -0
  2259. package/node_modules/mime-types/package.json +92 -0
  2260. package/node_modules/ms/index.js +152 -0
  2261. package/node_modules/ms/license.md +21 -0
  2262. package/node_modules/ms/package.json +73 -0
  2263. package/node_modules/ms/readme.md +51 -0
  2264. package/node_modules/native-duplexpair/.npmignore +17 -0
  2265. package/node_modules/native-duplexpair/.travis.yml +10 -0
  2266. package/node_modules/native-duplexpair/LICENSE +22 -0
  2267. package/node_modules/native-duplexpair/README.md +39 -0
  2268. package/node_modules/native-duplexpair/code-of-conduct.md +74 -0
  2269. package/node_modules/native-duplexpair/index.js +42 -0
  2270. package/node_modules/native-duplexpair/package.json +64 -0
  2271. package/node_modules/native-duplexpair/test/index.js +21 -0
  2272. package/node_modules/oauth-sign/LICENSE +55 -0
  2273. package/node_modules/oauth-sign/README.md +11 -0
  2274. package/node_modules/oauth-sign/index.js +146 -0
  2275. package/node_modules/oauth-sign/package.json +59 -0
  2276. package/node_modules/performance-now/.npmignore +1 -0
  2277. package/node_modules/performance-now/.tm_properties +7 -0
  2278. package/node_modules/performance-now/.travis.yml +6 -0
  2279. package/node_modules/performance-now/README.md +30 -0
  2280. package/node_modules/performance-now/lib/performance-now.js +36 -0
  2281. package/node_modules/performance-now/lib/performance-now.js.map +10 -0
  2282. package/node_modules/performance-now/license.txt +7 -0
  2283. package/node_modules/performance-now/package.json +68 -0
  2284. package/node_modules/performance-now/src/index.d.ts +8 -0
  2285. package/node_modules/performance-now/src/performance-now.coffee +17 -0
  2286. package/node_modules/performance-now/test/mocha.opts +3 -0
  2287. package/node_modules/performance-now/test/performance-now.coffee +43 -0
  2288. package/node_modules/performance-now/test/scripts/delayed-call.coffee +11 -0
  2289. package/node_modules/performance-now/test/scripts/delayed-require.coffee +12 -0
  2290. package/node_modules/performance-now/test/scripts/difference.coffee +6 -0
  2291. package/node_modules/performance-now/test/scripts/initial-value.coffee +10 -0
  2292. package/node_modules/performance-now/test/scripts.coffee +27 -0
  2293. package/node_modules/psl/LICENSE +9 -0
  2294. package/node_modules/psl/README.md +215 -0
  2295. package/node_modules/psl/browserstack-logo.svg +90 -0
  2296. package/node_modules/psl/data/rules.json +8812 -0
  2297. package/node_modules/psl/dist/psl.js +9623 -0
  2298. package/node_modules/psl/dist/psl.min.js +1 -0
  2299. package/node_modules/psl/index.js +269 -0
  2300. package/node_modules/psl/package.json +80 -0
  2301. package/node_modules/punycode/LICENSE-MIT.txt +20 -0
  2302. package/node_modules/punycode/README.md +122 -0
  2303. package/node_modules/punycode/package.json +89 -0
  2304. package/node_modules/punycode/punycode.es6.js +441 -0
  2305. package/node_modules/punycode/punycode.js +440 -0
  2306. package/node_modules/request/CHANGELOG.md +709 -0
  2307. package/node_modules/request/LICENSE +55 -0
  2308. package/node_modules/request/README.md +1097 -0
  2309. package/node_modules/request/index.js +155 -0
  2310. package/node_modules/request/lib/auth.js +167 -0
  2311. package/node_modules/request/lib/cookies.js +38 -0
  2312. package/node_modules/request/lib/getProxyFromURI.js +79 -0
  2313. package/node_modules/request/lib/har.js +205 -0
  2314. package/node_modules/request/lib/hawk.js +89 -0
  2315. package/node_modules/request/lib/helpers.js +66 -0
  2316. package/node_modules/request/lib/multipart.js +112 -0
  2317. package/node_modules/request/lib/oauth.js +148 -0
  2318. package/node_modules/request/lib/querystring.js +50 -0
  2319. package/node_modules/request/lib/redirect.js +154 -0
  2320. package/node_modules/request/lib/tunnel.js +175 -0
  2321. package/node_modules/request/node_modules/extend/.editorconfig +20 -0
  2322. package/node_modules/request/node_modules/extend/.eslintrc +17 -0
  2323. package/node_modules/request/node_modules/extend/.jscs.json +175 -0
  2324. package/node_modules/request/node_modules/extend/.travis.yml +230 -0
  2325. package/node_modules/request/node_modules/extend/CHANGELOG.md +83 -0
  2326. package/node_modules/request/node_modules/extend/LICENSE +23 -0
  2327. package/node_modules/request/node_modules/extend/README.md +81 -0
  2328. package/node_modules/request/node_modules/extend/component.json +32 -0
  2329. package/node_modules/request/node_modules/extend/index.js +117 -0
  2330. package/node_modules/request/node_modules/extend/package.json +78 -0
  2331. package/node_modules/request/node_modules/form-data/License +19 -0
  2332. package/node_modules/request/node_modules/form-data/README.md +234 -0
  2333. package/node_modules/request/node_modules/form-data/README.md.bak +234 -0
  2334. package/node_modules/request/node_modules/form-data/lib/browser.js +2 -0
  2335. package/node_modules/request/node_modules/form-data/lib/form_data.js +457 -0
  2336. package/node_modules/request/node_modules/form-data/lib/populate.js +10 -0
  2337. package/node_modules/request/node_modules/form-data/package.json +101 -0
  2338. package/node_modules/request/node_modules/form-data/yarn.lock +2662 -0
  2339. package/node_modules/request/node_modules/qs/.editorconfig +30 -0
  2340. package/node_modules/request/node_modules/qs/.eslintignore +1 -0
  2341. package/node_modules/request/node_modules/qs/.eslintrc +19 -0
  2342. package/node_modules/request/node_modules/qs/CHANGELOG.md +226 -0
  2343. package/node_modules/request/node_modules/qs/LICENSE +28 -0
  2344. package/node_modules/request/node_modules/qs/README.md +475 -0
  2345. package/node_modules/request/node_modules/qs/dist/qs.js +638 -0
  2346. package/node_modules/request/node_modules/qs/lib/formats.js +18 -0
  2347. package/node_modules/request/node_modules/qs/lib/index.js +11 -0
  2348. package/node_modules/request/node_modules/qs/lib/parse.js +174 -0
  2349. package/node_modules/request/node_modules/qs/lib/stringify.js +210 -0
  2350. package/node_modules/request/node_modules/qs/lib/utils.js +213 -0
  2351. package/node_modules/request/node_modules/qs/package.json +83 -0
  2352. package/node_modules/request/node_modules/qs/test/.eslintrc +15 -0
  2353. package/node_modules/request/node_modules/qs/test/index.js +7 -0
  2354. package/node_modules/request/node_modules/qs/test/parse.js +574 -0
  2355. package/node_modules/request/node_modules/qs/test/stringify.js +597 -0
  2356. package/node_modules/request/node_modules/qs/test/utils.js +34 -0
  2357. package/node_modules/request/package.json +123 -0
  2358. package/node_modules/request/request.js +1551 -0
  2359. package/node_modules/safe-buffer/LICENSE +21 -0
  2360. package/node_modules/safe-buffer/README.md +586 -0
  2361. package/node_modules/safe-buffer/index.d.ts +187 -0
  2362. package/node_modules/safe-buffer/index.js +64 -0
  2363. package/node_modules/safe-buffer/package.json +72 -0
  2364. package/node_modules/safer-buffer/LICENSE +21 -0
  2365. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  2366. package/node_modules/safer-buffer/Readme.md +156 -0
  2367. package/node_modules/safer-buffer/dangerous.js +58 -0
  2368. package/node_modules/safer-buffer/package.json +66 -0
  2369. package/node_modules/safer-buffer/safer.js +77 -0
  2370. package/node_modules/safer-buffer/tests.js +406 -0
  2371. package/node_modules/sax/LICENSE +41 -0
  2372. package/node_modules/sax/README.md +225 -0
  2373. package/node_modules/sax/lib/sax.js +1565 -0
  2374. package/node_modules/sax/package.json +64 -0
  2375. package/node_modules/sprintf-js/CHANGELOG.md +17 -0
  2376. package/node_modules/sprintf-js/CONTRIBUTORS.md +25 -0
  2377. package/node_modules/sprintf-js/LICENSE +24 -0
  2378. package/node_modules/sprintf-js/README.md +143 -0
  2379. package/node_modules/sprintf-js/dist/.gitattributes +4 -0
  2380. package/node_modules/sprintf-js/dist/angular-sprintf.min.js +3 -0
  2381. package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
  2382. package/node_modules/sprintf-js/dist/sprintf.min.js +3 -0
  2383. package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
  2384. package/node_modules/sprintf-js/package.json +66 -0
  2385. package/node_modules/sprintf-js/src/angular-sprintf.js +24 -0
  2386. package/node_modules/sprintf-js/src/sprintf.js +231 -0
  2387. package/node_modules/sshpk/.npmignore +9 -0
  2388. package/node_modules/sshpk/.travis.yml +11 -0
  2389. package/node_modules/sshpk/LICENSE +18 -0
  2390. package/node_modules/sshpk/README.md +804 -0
  2391. package/node_modules/sshpk/bin/sshpk-conv +243 -0
  2392. package/node_modules/sshpk/bin/sshpk-sign +191 -0
  2393. package/node_modules/sshpk/bin/sshpk-verify +167 -0
  2394. package/node_modules/sshpk/lib/algs.js +168 -0
  2395. package/node_modules/sshpk/lib/certificate.js +410 -0
  2396. package/node_modules/sshpk/lib/dhe.js +397 -0
  2397. package/node_modules/sshpk/lib/ed-compat.js +92 -0
  2398. package/node_modules/sshpk/lib/errors.js +84 -0
  2399. package/node_modules/sshpk/lib/fingerprint.js +220 -0
  2400. package/node_modules/sshpk/lib/formats/auto.js +124 -0
  2401. package/node_modules/sshpk/lib/formats/dnssec.js +287 -0
  2402. package/node_modules/sshpk/lib/formats/openssh-cert.js +352 -0
  2403. package/node_modules/sshpk/lib/formats/pem.js +290 -0
  2404. package/node_modules/sshpk/lib/formats/pkcs1.js +373 -0
  2405. package/node_modules/sshpk/lib/formats/pkcs8.js +631 -0
  2406. package/node_modules/sshpk/lib/formats/putty.js +99 -0
  2407. package/node_modules/sshpk/lib/formats/rfc4253.js +166 -0
  2408. package/node_modules/sshpk/lib/formats/ssh-private.js +262 -0
  2409. package/node_modules/sshpk/lib/formats/ssh.js +115 -0
  2410. package/node_modules/sshpk/lib/formats/x509-pem.js +88 -0
  2411. package/node_modules/sshpk/lib/formats/x509.js +752 -0
  2412. package/node_modules/sshpk/lib/identity.js +373 -0
  2413. package/node_modules/sshpk/lib/index.js +40 -0
  2414. package/node_modules/sshpk/lib/key.js +294 -0
  2415. package/node_modules/sshpk/lib/private-key.js +246 -0
  2416. package/node_modules/sshpk/lib/signature.js +314 -0
  2417. package/node_modules/sshpk/lib/ssh-buffer.js +149 -0
  2418. package/node_modules/sshpk/lib/utils.js +404 -0
  2419. package/node_modules/sshpk/man/man1/sshpk-conv.1 +135 -0
  2420. package/node_modules/sshpk/man/man1/sshpk-sign.1 +81 -0
  2421. package/node_modules/sshpk/man/man1/sshpk-verify.1 +68 -0
  2422. package/node_modules/sshpk/package.json +99 -0
  2423. package/node_modules/tedious/LICENSE +21 -0
  2424. package/node_modules/tedious/README.md +67 -0
  2425. package/node_modules/tedious/appveyor.yml +93 -0
  2426. package/node_modules/tedious/benchmarks/README.md +33 -0
  2427. package/node_modules/tedious/benchmarks/common.js +82 -0
  2428. package/node_modules/tedious/benchmarks/index.js +34 -0
  2429. package/node_modules/tedious/benchmarks/query/many-result-rows.js +49 -0
  2430. package/node_modules/tedious/benchmarks/query/nvarchar-large.js +44 -0
  2431. package/node_modules/tedious/benchmarks/query/nvarchar-small.js +44 -0
  2432. package/node_modules/tedious/benchmarks/query/varbinary-4.js +42 -0
  2433. package/node_modules/tedious/benchmarks/query/varbinary-huge.js +46 -0
  2434. package/node_modules/tedious/benchmarks/query/varbinary-large.js +46 -0
  2435. package/node_modules/tedious/benchmarks/query/varbinary-small.js +42 -0
  2436. package/node_modules/tedious/benchmarks/token-parser/colmetadata-token.js +42 -0
  2437. package/node_modules/tedious/benchmarks/token-parser/done-token.js +42 -0
  2438. package/node_modules/tedious/benchmarks/token-parser/simple-tokens.js +366 -0
  2439. package/node_modules/tedious/lib/all-headers.js +24 -0
  2440. package/node_modules/tedious/lib/bulk-load.js +394 -0
  2441. package/node_modules/tedious/lib/collation.js +264 -0
  2442. package/node_modules/tedious/lib/connection.js +2469 -0
  2443. package/node_modules/tedious/lib/connector.js +171 -0
  2444. package/node_modules/tedious/lib/data-type.js +163 -0
  2445. package/node_modules/tedious/lib/data-types/bigint.js +55 -0
  2446. package/node_modules/tedious/lib/data-types/binary.js +66 -0
  2447. package/node_modules/tedious/lib/data-types/bit.js +47 -0
  2448. package/node_modules/tedious/lib/data-types/bitn.js +31 -0
  2449. package/node_modules/tedious/lib/data-types/char.js +85 -0
  2450. package/node_modules/tedious/lib/data-types/date.js +66 -0
  2451. package/node_modules/tedious/lib/data-types/datetime.js +91 -0
  2452. package/node_modules/tedious/lib/data-types/datetime2.js +105 -0
  2453. package/node_modules/tedious/lib/data-types/datetimen.js +31 -0
  2454. package/node_modules/tedious/lib/data-types/datetimeoffset.js +95 -0
  2455. package/node_modules/tedious/lib/data-types/decimal.js +98 -0
  2456. package/node_modules/tedious/lib/data-types/decimaln.js +31 -0
  2457. package/node_modules/tedious/lib/data-types/float.js +49 -0
  2458. package/node_modules/tedious/lib/data-types/floatn.js +31 -0
  2459. package/node_modules/tedious/lib/data-types/image.js +52 -0
  2460. package/node_modules/tedious/lib/data-types/int.js +55 -0
  2461. package/node_modules/tedious/lib/data-types/intn.js +31 -0
  2462. package/node_modules/tedious/lib/data-types/money.js +49 -0
  2463. package/node_modules/tedious/lib/data-types/moneyn.js +31 -0
  2464. package/node_modules/tedious/lib/data-types/nchar.js +83 -0
  2465. package/node_modules/tedious/lib/data-types/ntext.js +32 -0
  2466. package/node_modules/tedious/lib/data-types/null.js +31 -0
  2467. package/node_modules/tedious/lib/data-types/numeric.js +98 -0
  2468. package/node_modules/tedious/lib/data-types/numericn.js +31 -0
  2469. package/node_modules/tedious/lib/data-types/nvarchar.js +95 -0
  2470. package/node_modules/tedious/lib/data-types/real.js +49 -0
  2471. package/node_modules/tedious/lib/data-types/smalldatetime.js +65 -0
  2472. package/node_modules/tedious/lib/data-types/smallint.js +55 -0
  2473. package/node_modules/tedious/lib/data-types/smallmoney.js +53 -0
  2474. package/node_modules/tedious/lib/data-types/sql-variant.js +30 -0
  2475. package/node_modules/tedious/lib/data-types/text.js +58 -0
  2476. package/node_modules/tedious/lib/data-types/time.js +86 -0
  2477. package/node_modules/tedious/lib/data-types/tinyint.js +55 -0
  2478. package/node_modules/tedious/lib/data-types/tvp.js +95 -0
  2479. package/node_modules/tedious/lib/data-types/udt.js +31 -0
  2480. package/node_modules/tedious/lib/data-types/uniqueidentifier.js +52 -0
  2481. package/node_modules/tedious/lib/data-types/varbinary.js +85 -0
  2482. package/node_modules/tedious/lib/data-types/varchar.js +95 -0
  2483. package/node_modules/tedious/lib/data-types/xml.js +31 -0
  2484. package/node_modules/tedious/lib/debug.js +82 -0
  2485. package/node_modules/tedious/lib/errors.js +42 -0
  2486. package/node_modules/tedious/lib/guid-parser.js +35 -0
  2487. package/node_modules/tedious/lib/incoming-message-stream.js +114 -0
  2488. package/node_modules/tedious/lib/instance-lookup.js +120 -0
  2489. package/node_modules/tedious/lib/library.js +8 -0
  2490. package/node_modules/tedious/lib/login7-payload.js +412 -0
  2491. package/node_modules/tedious/lib/message-io.js +150 -0
  2492. package/node_modules/tedious/lib/message.js +28 -0
  2493. package/node_modules/tedious/lib/metadata-parser.js +297 -0
  2494. package/node_modules/tedious/lib/ntlm-payload.js +160 -0
  2495. package/node_modules/tedious/lib/ntlm.js +74 -0
  2496. package/node_modules/tedious/lib/outgoing-message-stream.js +94 -0
  2497. package/node_modules/tedious/lib/packet.js +239 -0
  2498. package/node_modules/tedious/lib/prelogin-payload.js +242 -0
  2499. package/node_modules/tedious/lib/request.js +238 -0
  2500. package/node_modules/tedious/lib/rpcrequest-payload.js +122 -0
  2501. package/node_modules/tedious/lib/sender.js +181 -0
  2502. package/node_modules/tedious/lib/special-stored-procedure.js +26 -0
  2503. package/node_modules/tedious/lib/sqlbatch-payload.js +47 -0
  2504. package/node_modules/tedious/lib/tds-versions.js +20 -0
  2505. package/node_modules/tedious/lib/tedious.js +77 -0
  2506. package/node_modules/tedious/lib/token/colmetadata-token-parser.js +106 -0
  2507. package/node_modules/tedious/lib/token/done-token-parser.js +73 -0
  2508. package/node_modules/tedious/lib/token/env-change-token-parser.js +176 -0
  2509. package/node_modules/tedious/lib/token/feature-ext-ack-parser.js +45 -0
  2510. package/node_modules/tedious/lib/token/fedauth-info-parser.js +53 -0
  2511. package/node_modules/tedious/lib/token/infoerror-token-parser.js +50 -0
  2512. package/node_modules/tedious/lib/token/loginack-token-parser.js +52 -0
  2513. package/node_modules/tedious/lib/token/nbcrow-token-parser.js +72 -0
  2514. package/node_modules/tedious/lib/token/order-token-parser.js +37 -0
  2515. package/node_modules/tedious/lib/token/returnstatus-token-parser.js +19 -0
  2516. package/node_modules/tedious/lib/token/returnvalue-token-parser.js +43 -0
  2517. package/node_modules/tedious/lib/token/row-token-parser.js +55 -0
  2518. package/node_modules/tedious/lib/token/sspi-token-parser.js +37 -0
  2519. package/node_modules/tedious/lib/token/stream-parser.js +411 -0
  2520. package/node_modules/tedious/lib/token/token-stream-parser.js +74 -0
  2521. package/node_modules/tedious/lib/token/token.js +502 -0
  2522. package/node_modules/tedious/lib/tracking-buffer/writable-tracking-buffer.js +318 -0
  2523. package/node_modules/tedious/lib/transaction.js +147 -0
  2524. package/node_modules/tedious/lib/transient-error-lookup.js +21 -0
  2525. package/node_modules/tedious/lib/value-parser.js +737 -0
  2526. package/node_modules/tedious/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  2527. package/node_modules/tedious/node_modules/readable-stream/GOVERNANCE.md +136 -0
  2528. package/node_modules/tedious/node_modules/readable-stream/LICENSE +47 -0
  2529. package/node_modules/tedious/node_modules/readable-stream/README.md +106 -0
  2530. package/node_modules/tedious/node_modules/readable-stream/errors-browser.js +127 -0
  2531. package/node_modules/tedious/node_modules/readable-stream/errors.js +116 -0
  2532. package/node_modules/tedious/node_modules/readable-stream/experimentalWarning.js +17 -0
  2533. package/node_modules/tedious/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
  2534. package/node_modules/tedious/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
  2535. package/node_modules/tedious/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
  2536. package/node_modules/tedious/node_modules/readable-stream/lib/_stream_transform.js +201 -0
  2537. package/node_modules/tedious/node_modules/readable-stream/lib/_stream_writable.js +697 -0
  2538. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
  2539. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/buffer_list.js +191 -0
  2540. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
  2541. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
  2542. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  2543. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
  2544. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
  2545. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
  2546. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  2547. package/node_modules/tedious/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  2548. package/node_modules/tedious/node_modules/readable-stream/package.json +100 -0
  2549. package/node_modules/tedious/node_modules/readable-stream/readable-browser.js +9 -0
  2550. package/node_modules/tedious/node_modules/readable-stream/readable.js +16 -0
  2551. package/node_modules/tedious/node_modules/string_decoder/LICENSE +48 -0
  2552. package/node_modules/tedious/node_modules/string_decoder/README.md +47 -0
  2553. package/node_modules/tedious/node_modules/string_decoder/lib/string_decoder.js +296 -0
  2554. package/node_modules/tedious/node_modules/string_decoder/package.json +65 -0
  2555. package/node_modules/tedious/package.json +206 -0
  2556. package/node_modules/tedious/pull_request_template.md +9 -0
  2557. package/node_modules/tedious/tsconfig.json +17 -0
  2558. package/node_modules/tough-cookie/LICENSE +12 -0
  2559. package/node_modules/tough-cookie/README.md +507 -0
  2560. package/node_modules/tough-cookie/lib/cookie.js +1431 -0
  2561. package/node_modules/tough-cookie/lib/memstore.js +176 -0
  2562. package/node_modules/tough-cookie/lib/pathMatch.js +61 -0
  2563. package/node_modules/tough-cookie/lib/permuteDomain.js +56 -0
  2564. package/node_modules/tough-cookie/lib/pubsuffix-psl.js +38 -0
  2565. package/node_modules/tough-cookie/lib/store.js +71 -0
  2566. package/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +20 -0
  2567. package/node_modules/tough-cookie/node_modules/punycode/README.md +176 -0
  2568. package/node_modules/tough-cookie/node_modules/punycode/package.json +90 -0
  2569. package/node_modules/tough-cookie/node_modules/punycode/punycode.js +533 -0
  2570. package/node_modules/tough-cookie/package.json +98 -0
  2571. package/node_modules/tslib/CopyrightNotice.txt +15 -0
  2572. package/node_modules/tslib/LICENSE.txt +55 -0
  2573. package/node_modules/tslib/README.md +134 -0
  2574. package/node_modules/tslib/package.json +58 -0
  2575. package/node_modules/tslib/tslib.d.ts +34 -0
  2576. package/node_modules/tslib/tslib.es6.html +1 -0
  2577. package/node_modules/tslib/tslib.es6.js +196 -0
  2578. package/node_modules/tslib/tslib.html +1 -0
  2579. package/node_modules/tslib/tslib.js +255 -0
  2580. package/node_modules/tunnel/.idea/encodings.xml +6 -0
  2581. package/node_modules/tunnel/.idea/modules.xml +8 -0
  2582. package/node_modules/tunnel/.idea/node-tunnel.iml +12 -0
  2583. package/node_modules/tunnel/.idea/vcs.xml +6 -0
  2584. package/node_modules/tunnel/.idea/workspace.xml +797 -0
  2585. package/node_modules/tunnel/.travis.yml +6 -0
  2586. package/node_modules/tunnel/CHANGELOG.md +22 -0
  2587. package/node_modules/tunnel/LICENSE +21 -0
  2588. package/node_modules/tunnel/README.md +185 -0
  2589. package/node_modules/tunnel/index.js +1 -0
  2590. package/node_modules/tunnel/lib/tunnel.js +264 -0
  2591. package/node_modules/tunnel/package.json +67 -0
  2592. package/node_modules/tunnel-agent/LICENSE +55 -0
  2593. package/node_modules/tunnel-agent/README.md +4 -0
  2594. package/node_modules/tunnel-agent/index.js +244 -0
  2595. package/node_modules/tunnel-agent/package.json +58 -0
  2596. package/node_modules/tweetnacl/.npmignore +4 -0
  2597. package/node_modules/tweetnacl/AUTHORS.md +28 -0
  2598. package/node_modules/tweetnacl/CHANGELOG.md +221 -0
  2599. package/node_modules/tweetnacl/LICENSE +24 -0
  2600. package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +20 -0
  2601. package/node_modules/tweetnacl/README.md +459 -0
  2602. package/node_modules/tweetnacl/nacl-fast.js +2388 -0
  2603. package/node_modules/tweetnacl/nacl-fast.min.js +2 -0
  2604. package/node_modules/tweetnacl/nacl.d.ts +98 -0
  2605. package/node_modules/tweetnacl/nacl.js +1175 -0
  2606. package/node_modules/tweetnacl/nacl.min.js +1 -0
  2607. package/node_modules/tweetnacl/package.json +89 -0
  2608. package/node_modules/underscore/LICENSE +23 -0
  2609. package/node_modules/underscore/README.md +28 -0
  2610. package/node_modules/underscore/package.json +85 -0
  2611. package/node_modules/underscore/underscore-min.js +5 -0
  2612. package/node_modules/underscore/underscore-min.js.map +1 -0
  2613. package/node_modules/underscore/underscore.js +1692 -0
  2614. package/node_modules/uri-js/README.md +199 -0
  2615. package/node_modules/uri-js/bower.json +47 -0
  2616. package/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -0
  2617. package/node_modules/uri-js/dist/es5/uri.all.js +1389 -0
  2618. package/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
  2619. package/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -0
  2620. package/node_modules/uri-js/dist/es5/uri.all.min.js +3 -0
  2621. package/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -0
  2622. package/node_modules/uri-js/dist/esnext/index.d.ts +1 -0
  2623. package/node_modules/uri-js/dist/esnext/index.js +13 -0
  2624. package/node_modules/uri-js/dist/esnext/index.js.map +1 -0
  2625. package/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -0
  2626. package/node_modules/uri-js/dist/esnext/regexps-iri.js +3 -0
  2627. package/node_modules/uri-js/dist/esnext/regexps-iri.js.map +1 -0
  2628. package/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -0
  2629. package/node_modules/uri-js/dist/esnext/regexps-uri.js +42 -0
  2630. package/node_modules/uri-js/dist/esnext/regexps-uri.js.map +1 -0
  2631. package/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -0
  2632. package/node_modules/uri-js/dist/esnext/schemes/http.js +27 -0
  2633. package/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -0
  2634. package/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -0
  2635. package/node_modules/uri-js/dist/esnext/schemes/https.js +9 -0
  2636. package/node_modules/uri-js/dist/esnext/schemes/https.js.map +1 -0
  2637. package/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -0
  2638. package/node_modules/uri-js/dist/esnext/schemes/mailto.js +148 -0
  2639. package/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +1 -0
  2640. package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -0
  2641. package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +23 -0
  2642. package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +1 -0
  2643. package/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -0
  2644. package/node_modules/uri-js/dist/esnext/schemes/urn.js +49 -0
  2645. package/node_modules/uri-js/dist/esnext/schemes/urn.js.map +1 -0
  2646. package/node_modules/uri-js/dist/esnext/uri.d.ts +59 -0
  2647. package/node_modules/uri-js/dist/esnext/uri.js +480 -0
  2648. package/node_modules/uri-js/dist/esnext/uri.js.map +1 -0
  2649. package/node_modules/uri-js/dist/esnext/util.d.ts +6 -0
  2650. package/node_modules/uri-js/dist/esnext/util.js +36 -0
  2651. package/node_modules/uri-js/dist/esnext/util.js.map +1 -0
  2652. package/node_modules/uri-js/package.json +96 -0
  2653. package/node_modules/uri-js/rollup.config.js +32 -0
  2654. package/node_modules/uri-js/src/index.ts +18 -0
  2655. package/node_modules/uri-js/src/punycode.d.ts +24 -0
  2656. package/node_modules/uri-js/src/regexps-iri.ts +4 -0
  2657. package/node_modules/uri-js/src/regexps-uri.ts +89 -0
  2658. package/node_modules/uri-js/src/schemes/http.ts +36 -0
  2659. package/node_modules/uri-js/src/schemes/https.ts +11 -0
  2660. package/node_modules/uri-js/src/schemes/mailto.ts +182 -0
  2661. package/node_modules/uri-js/src/schemes/urn-uuid.ts +36 -0
  2662. package/node_modules/uri-js/src/schemes/urn.ts +69 -0
  2663. package/node_modules/uri-js/src/uri.ts +556 -0
  2664. package/node_modules/uri-js/src/util.ts +40 -0
  2665. package/node_modules/uri-js/tests/qunit.css +118 -0
  2666. package/node_modules/uri-js/tests/qunit.js +1042 -0
  2667. package/node_modules/uri-js/tests/test-es5-min.html +17 -0
  2668. package/node_modules/uri-js/tests/test-es5.html +17 -0
  2669. package/node_modules/uri-js/tests/tests.js +774 -0
  2670. package/node_modules/uri-js/tsconfig.json +20 -0
  2671. package/node_modules/uri-js/yarn.lock +1902 -0
  2672. package/node_modules/util-deprecate/History.md +16 -0
  2673. package/node_modules/util-deprecate/LICENSE +24 -0
  2674. package/node_modules/util-deprecate/README.md +53 -0
  2675. package/node_modules/util-deprecate/browser.js +67 -0
  2676. package/node_modules/util-deprecate/node.js +6 -0
  2677. package/node_modules/util-deprecate/package.json +61 -0
  2678. package/node_modules/uuid/AUTHORS +5 -0
  2679. package/node_modules/uuid/CHANGELOG.md +119 -0
  2680. package/node_modules/uuid/LICENSE.md +21 -0
  2681. package/node_modules/uuid/README.md +276 -0
  2682. package/node_modules/uuid/bin/uuid +65 -0
  2683. package/node_modules/uuid/index.js +8 -0
  2684. package/node_modules/uuid/lib/bytesToUuid.js +26 -0
  2685. package/node_modules/uuid/lib/md5-browser.js +216 -0
  2686. package/node_modules/uuid/lib/md5.js +25 -0
  2687. package/node_modules/uuid/lib/rng-browser.js +34 -0
  2688. package/node_modules/uuid/lib/rng.js +8 -0
  2689. package/node_modules/uuid/lib/sha1-browser.js +89 -0
  2690. package/node_modules/uuid/lib/sha1.js +25 -0
  2691. package/node_modules/uuid/lib/v35.js +57 -0
  2692. package/node_modules/uuid/package.json +105 -0
  2693. package/node_modules/uuid/v1.js +109 -0
  2694. package/node_modules/uuid/v3.js +4 -0
  2695. package/node_modules/uuid/v4.js +29 -0
  2696. package/node_modules/uuid/v5.js +3 -0
  2697. package/node_modules/verror/.npmignore +9 -0
  2698. package/node_modules/verror/CHANGES.md +28 -0
  2699. package/node_modules/verror/CONTRIBUTING.md +19 -0
  2700. package/node_modules/verror/LICENSE +19 -0
  2701. package/node_modules/verror/README.md +528 -0
  2702. package/node_modules/verror/lib/verror.js +451 -0
  2703. package/node_modules/verror/package.json +54 -0
  2704. package/node_modules/xml2js/LICENSE +19 -0
  2705. package/node_modules/xml2js/README.md +488 -0
  2706. package/node_modules/xml2js/lib/bom.js +12 -0
  2707. package/node_modules/xml2js/lib/builder.js +127 -0
  2708. package/node_modules/xml2js/lib/defaults.js +72 -0
  2709. package/node_modules/xml2js/lib/parser.js +381 -0
  2710. package/node_modules/xml2js/lib/processors.js +34 -0
  2711. package/node_modules/xml2js/lib/xml2js.js +39 -0
  2712. package/node_modules/xml2js/package.json +287 -0
  2713. package/node_modules/xmlbuilder/CHANGELOG.md +470 -0
  2714. package/node_modules/xmlbuilder/LICENSE +21 -0
  2715. package/node_modules/xmlbuilder/README.md +86 -0
  2716. package/node_modules/xmlbuilder/appveyor.yml +20 -0
  2717. package/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  2718. package/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  2719. package/node_modules/xmlbuilder/lib/NodeType.js +23 -0
  2720. package/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  2721. package/node_modules/xmlbuilder/lib/Utility.js +83 -0
  2722. package/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  2723. package/node_modules/xmlbuilder/lib/XMLAttribute.js +108 -0
  2724. package/node_modules/xmlbuilder/lib/XMLCData.js +36 -0
  2725. package/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
  2726. package/node_modules/xmlbuilder/lib/XMLComment.js +36 -0
  2727. package/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
  2728. package/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
  2729. package/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
  2730. package/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
  2731. package/node_modules/xmlbuilder/lib/XMLDTDAttList.js +55 -0
  2732. package/node_modules/xmlbuilder/lib/XMLDTDElement.js +38 -0
  2733. package/node_modules/xmlbuilder/lib/XMLDTDEntity.js +97 -0
  2734. package/node_modules/xmlbuilder/lib/XMLDTDNotation.js +52 -0
  2735. package/node_modules/xmlbuilder/lib/XMLDeclaration.js +43 -0
  2736. package/node_modules/xmlbuilder/lib/XMLDocType.js +186 -0
  2737. package/node_modules/xmlbuilder/lib/XMLDocument.js +242 -0
  2738. package/node_modules/xmlbuilder/lib/XMLDocumentCB.js +528 -0
  2739. package/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
  2740. package/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
  2741. package/node_modules/xmlbuilder/lib/XMLElement.js +298 -0
  2742. package/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
  2743. package/node_modules/xmlbuilder/lib/XMLNode.js +785 -0
  2744. package/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
  2745. package/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
  2746. package/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +49 -0
  2747. package/node_modules/xmlbuilder/lib/XMLRaw.js +35 -0
  2748. package/node_modules/xmlbuilder/lib/XMLStreamWriter.js +176 -0
  2749. package/node_modules/xmlbuilder/lib/XMLStringWriter.js +35 -0
  2750. package/node_modules/xmlbuilder/lib/XMLStringifier.js +240 -0
  2751. package/node_modules/xmlbuilder/lib/XMLText.js +69 -0
  2752. package/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
  2753. package/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
  2754. package/node_modules/xmlbuilder/lib/XMLWriterBase.js +428 -0
  2755. package/node_modules/xmlbuilder/lib/index.js +65 -0
  2756. package/node_modules/xmlbuilder/package.json +70 -0
  2757. package/node_modules/xmlbuilder/typings/index.d.ts +153 -0
  2758. package/node_modules/xmldom/CHANGELOG.md +203 -0
  2759. package/node_modules/xmldom/LICENSE +8 -0
  2760. package/node_modules/xmldom/lib/.eslintrc.yml +2 -0
  2761. package/node_modules/xmldom/lib/dom-parser.js +253 -0
  2762. package/node_modules/xmldom/lib/dom.js +1273 -0
  2763. package/node_modules/xmldom/lib/entities.js +243 -0
  2764. package/node_modules/xmldom/lib/sax.js +646 -0
  2765. package/node_modules/xmldom/package.json +130 -0
  2766. package/node_modules/xmldom/readme.md +262 -0
  2767. package/node_modules/xpath.js/README.md +70 -0
  2768. package/node_modules/xpath.js/package.json +62 -0
  2769. package/node_modules/xpath.js/sample.js +8 -0
  2770. package/node_modules/xpath.js/tests/following.xml +21 -0
  2771. package/node_modules/xpath.js/tests/test.js +74 -0
  2772. package/node_modules/xpath.js/xpath.js +4317 -0
  2773. package/package.json +54 -0
@@ -0,0 +1,4317 @@
1
+ /*
2
+ * xpath.js
3
+ *
4
+ * An XPath 1.0 library for JavaScript.
5
+ *
6
+ * Cameron McCormack <cam (at) mcc.id.au>
7
+ *
8
+ *
9
+ * Revision 20: April 26, 2011
10
+ * Fixed a typo resulting in FIRST_ORDERED_NODE_TYPE results being wrong,
11
+ * thanks to <shi_a009 (at) hotmail.com>.
12
+ *
13
+ * Revision 19: November 29, 2005
14
+ * Nodesets now store their nodes in a height balanced tree, increasing
15
+ * performance for the common case of selecting nodes in document order,
16
+ * thanks to Sébastien Cramatte <contact (at) zeninteractif.com>.
17
+ * AVL tree code adapted from Raimund Neumann <rnova (at) gmx.net>.
18
+ *
19
+ * Revision 18: October 27, 2005
20
+ * DOM 3 XPath support. Caveats:
21
+ * - namespace prefixes aren't resolved in XPathEvaluator.createExpression,
22
+ * but in XPathExpression.evaluate.
23
+ * - XPathResult.invalidIteratorState is not implemented.
24
+ *
25
+ * Revision 17: October 25, 2005
26
+ * Some core XPath function fixes and a patch to avoid crashing certain
27
+ * versions of MSXML in PathExpr.prototype.getOwnerElement, thanks to
28
+ * Sébastien Cramatte <contact (at) zeninteractif.com>.
29
+ *
30
+ * Revision 16: September 22, 2005
31
+ * Workarounds for some IE 5.5 deficiencies.
32
+ * Fixed problem with prefix node tests on attribute nodes.
33
+ *
34
+ * Revision 15: May 21, 2005
35
+ * Fixed problem with QName node tests on elements with an xmlns="...".
36
+ *
37
+ * Revision 14: May 19, 2005
38
+ * Fixed QName node tests on attribute node regression.
39
+ *
40
+ * Revision 13: May 3, 2005
41
+ * Node tests are case insensitive now if working in an HTML DOM.
42
+ *
43
+ * Revision 12: April 26, 2005
44
+ * Updated licence. Slight code changes to enable use of Dean
45
+ * Edwards' script compression, http://dean.edwards.name/packer/ .
46
+ *
47
+ * Revision 11: April 23, 2005
48
+ * Fixed bug with 'and' and 'or' operators, fix thanks to
49
+ * Sandy McArthur <sandy (at) mcarthur.org>.
50
+ *
51
+ * Revision 10: April 15, 2005
52
+ * Added support for a virtual root node, supposedly helpful for
53
+ * implementing XForms. Fixed problem with QName node tests and
54
+ * the parent axis.
55
+ *
56
+ * Revision 9: March 17, 2005
57
+ * Namespace resolver tweaked so using the document node as the context
58
+ * for namespace lookups is equivalent to using the document element.
59
+ *
60
+ * Revision 8: February 13, 2005
61
+ * Handle implicit declaration of 'xmlns' namespace prefix.
62
+ * Fixed bug when comparing nodesets.
63
+ * Instance data can now be associated with a FunctionResolver, and
64
+ * workaround for MSXML not supporting 'localName' and 'getElementById',
65
+ * thanks to Grant Gongaware.
66
+ * Fix a few problems when the context node is the root node.
67
+ *
68
+ * Revision 7: February 11, 2005
69
+ * Default namespace resolver fix from Grant Gongaware
70
+ * <grant (at) gongaware.com>.
71
+ *
72
+ * Revision 6: February 10, 2005
73
+ * Fixed bug in 'number' function.
74
+ *
75
+ * Revision 5: February 9, 2005
76
+ * Fixed bug where text nodes not getting converted to string values.
77
+ *
78
+ * Revision 4: January 21, 2005
79
+ * Bug in 'name' function, fix thanks to Bill Edney.
80
+ * Fixed incorrect processing of namespace nodes.
81
+ * Fixed NamespaceResolver to resolve 'xml' namespace.
82
+ * Implemented union '|' operator.
83
+ *
84
+ * Revision 3: January 14, 2005
85
+ * Fixed bug with nodeset comparisons, bug lexing < and >.
86
+ *
87
+ * Revision 2: October 26, 2004
88
+ * QName node test namespace handling fixed. Few other bug fixes.
89
+ *
90
+ * Revision 1: August 13, 2004
91
+ * Bug fixes from William J. Edney <bedney (at) technicalpursuit.com>.
92
+ * Added minimal licence.
93
+ *
94
+ * Initial version: June 14, 2004
95
+ */
96
+
97
+ // XPathParser ///////////////////////////////////////////////////////////////
98
+
99
+ XPathParser.prototype = new Object();
100
+ XPathParser.prototype.constructor = XPathParser;
101
+ XPathParser.superclass = Object.prototype;
102
+
103
+ function XPathParser() {
104
+ this.init();
105
+ }
106
+
107
+ XPathParser.prototype.init = function() {
108
+ this.reduceActions = [];
109
+
110
+ this.reduceActions[3] = function(rhs) {
111
+ return new OrOperation(rhs[0], rhs[2]);
112
+ };
113
+ this.reduceActions[5] = function(rhs) {
114
+ return new AndOperation(rhs[0], rhs[2]);
115
+ };
116
+ this.reduceActions[7] = function(rhs) {
117
+ return new EqualsOperation(rhs[0], rhs[2]);
118
+ };
119
+ this.reduceActions[8] = function(rhs) {
120
+ return new NotEqualOperation(rhs[0], rhs[2]);
121
+ };
122
+ this.reduceActions[10] = function(rhs) {
123
+ return new LessThanOperation(rhs[0], rhs[2]);
124
+ };
125
+ this.reduceActions[11] = function(rhs) {
126
+ return new GreaterThanOperation(rhs[0], rhs[2]);
127
+ };
128
+ this.reduceActions[12] = function(rhs) {
129
+ return new LessThanOrEqualOperation(rhs[0], rhs[2]);
130
+ };
131
+ this.reduceActions[13] = function(rhs) {
132
+ return new GreaterThanOrEqualOperation(rhs[0], rhs[2]);
133
+ };
134
+ this.reduceActions[15] = function(rhs) {
135
+ return new PlusOperation(rhs[0], rhs[2]);
136
+ };
137
+ this.reduceActions[16] = function(rhs) {
138
+ return new MinusOperation(rhs[0], rhs[2]);
139
+ };
140
+ this.reduceActions[18] = function(rhs) {
141
+ return new MultiplyOperation(rhs[0], rhs[2]);
142
+ };
143
+ this.reduceActions[19] = function(rhs) {
144
+ return new DivOperation(rhs[0], rhs[2]);
145
+ };
146
+ this.reduceActions[20] = function(rhs) {
147
+ return new ModOperation(rhs[0], rhs[2]);
148
+ };
149
+ this.reduceActions[22] = function(rhs) {
150
+ return new UnaryMinusOperation(rhs[1]);
151
+ };
152
+ this.reduceActions[24] = function(rhs) {
153
+ return new BarOperation(rhs[0], rhs[2]);
154
+ };
155
+ this.reduceActions[25] = function(rhs) {
156
+ return new PathExpr(undefined, undefined, rhs[0]);
157
+ };
158
+ this.reduceActions[27] = function(rhs) {
159
+ rhs[0].locationPath = rhs[2];
160
+ return rhs[0];
161
+ };
162
+ this.reduceActions[28] = function(rhs) {
163
+ rhs[0].locationPath = rhs[2];
164
+ rhs[0].locationPath.steps.unshift(new Step(Step.DESCENDANTORSELF, new NodeTest(NodeTest.NODE, undefined), []));
165
+ return rhs[0];
166
+ };
167
+ this.reduceActions[29] = function(rhs) {
168
+ return new PathExpr(rhs[0], [], undefined);
169
+ };
170
+ this.reduceActions[30] = function(rhs) {
171
+ if (Utilities.instance_of(rhs[0], PathExpr)) {
172
+ if (rhs[0].filterPredicates == undefined) {
173
+ rhs[0].filterPredicates = [];
174
+ }
175
+ rhs[0].filterPredicates.push(rhs[1]);
176
+ return rhs[0];
177
+ } else {
178
+ return new PathExpr(rhs[0], [rhs[1]], undefined);
179
+ }
180
+ };
181
+ this.reduceActions[32] = function(rhs) {
182
+ return rhs[1];
183
+ };
184
+ this.reduceActions[33] = function(rhs) {
185
+ return new XString(rhs[0]);
186
+ };
187
+ this.reduceActions[34] = function(rhs) {
188
+ return new XNumber(rhs[0]);
189
+ };
190
+ this.reduceActions[36] = function(rhs) {
191
+ return new FunctionCall(rhs[0], []);
192
+ };
193
+ this.reduceActions[37] = function(rhs) {
194
+ return new FunctionCall(rhs[0], rhs[2]);
195
+ };
196
+ this.reduceActions[38] = function(rhs) {
197
+ return [ rhs[0] ];
198
+ };
199
+ this.reduceActions[39] = function(rhs) {
200
+ rhs[2].unshift(rhs[0]);
201
+ return rhs[2];
202
+ };
203
+ this.reduceActions[43] = function(rhs) {
204
+ return new LocationPath(true, []);
205
+ };
206
+ this.reduceActions[44] = function(rhs) {
207
+ rhs[1].absolute = true;
208
+ return rhs[1];
209
+ };
210
+ this.reduceActions[46] = function(rhs) {
211
+ return new LocationPath(false, [ rhs[0] ]);
212
+ };
213
+ this.reduceActions[47] = function(rhs) {
214
+ rhs[0].steps.push(rhs[2]);
215
+ return rhs[0];
216
+ };
217
+ this.reduceActions[49] = function(rhs) {
218
+ return new Step(rhs[0], rhs[1], []);
219
+ };
220
+ this.reduceActions[50] = function(rhs) {
221
+ return new Step(Step.CHILD, rhs[0], []);
222
+ };
223
+ this.reduceActions[51] = function(rhs) {
224
+ return new Step(rhs[0], rhs[1], rhs[2]);
225
+ };
226
+ this.reduceActions[52] = function(rhs) {
227
+ return new Step(Step.CHILD, rhs[0], rhs[1]);
228
+ };
229
+ this.reduceActions[54] = function(rhs) {
230
+ return [ rhs[0] ];
231
+ };
232
+ this.reduceActions[55] = function(rhs) {
233
+ rhs[1].unshift(rhs[0]);
234
+ return rhs[1];
235
+ };
236
+ this.reduceActions[56] = function(rhs) {
237
+ if (rhs[0] == "ancestor") {
238
+ return Step.ANCESTOR;
239
+ } else if (rhs[0] == "ancestor-or-self") {
240
+ return Step.ANCESTORORSELF;
241
+ } else if (rhs[0] == "attribute") {
242
+ return Step.ATTRIBUTE;
243
+ } else if (rhs[0] == "child") {
244
+ return Step.CHILD;
245
+ } else if (rhs[0] == "descendant") {
246
+ return Step.DESCENDANT;
247
+ } else if (rhs[0] == "descendant-or-self") {
248
+ return Step.DESCENDANTORSELF;
249
+ } else if (rhs[0] == "following") {
250
+ return Step.FOLLOWING;
251
+ } else if (rhs[0] == "following-sibling") {
252
+ return Step.FOLLOWINGSIBLING;
253
+ } else if (rhs[0] == "namespace") {
254
+ return Step.NAMESPACE;
255
+ } else if (rhs[0] == "parent") {
256
+ return Step.PARENT;
257
+ } else if (rhs[0] == "preceding") {
258
+ return Step.PRECEDING;
259
+ } else if (rhs[0] == "preceding-sibling") {
260
+ return Step.PRECEDINGSIBLING;
261
+ } else if (rhs[0] == "self") {
262
+ return Step.SELF;
263
+ }
264
+ return -1;
265
+ };
266
+ this.reduceActions[57] = function(rhs) {
267
+ return Step.ATTRIBUTE;
268
+ };
269
+ this.reduceActions[59] = function(rhs) {
270
+ if (rhs[0] == "comment") {
271
+ return new NodeTest(NodeTest.COMMENT, undefined);
272
+ } else if (rhs[0] == "text") {
273
+ return new NodeTest(NodeTest.TEXT, undefined);
274
+ } else if (rhs[0] == "processing-instruction") {
275
+ return new NodeTest(NodeTest.PI, undefined);
276
+ } else if (rhs[0] == "node") {
277
+ return new NodeTest(NodeTest.NODE, undefined);
278
+ }
279
+ return new NodeTest(-1, undefined);
280
+ };
281
+ this.reduceActions[60] = function(rhs) {
282
+ return new NodeTest(NodeTest.PI, rhs[2]);
283
+ };
284
+ this.reduceActions[61] = function(rhs) {
285
+ return rhs[1];
286
+ };
287
+ this.reduceActions[63] = function(rhs) {
288
+ rhs[1].absolute = true;
289
+ rhs[1].steps.unshift(new Step(Step.DESCENDANTORSELF, new NodeTest(NodeTest.NODE, undefined), []));
290
+ return rhs[1];
291
+ };
292
+ this.reduceActions[64] = function(rhs) {
293
+ rhs[0].steps.push(new Step(Step.DESCENDANTORSELF, new NodeTest(NodeTest.NODE, undefined), []));
294
+ rhs[0].steps.push(rhs[2]);
295
+ return rhs[0];
296
+ };
297
+ this.reduceActions[65] = function(rhs) {
298
+ return new Step(Step.SELF, new NodeTest(NodeTest.NODE, undefined), []);
299
+ };
300
+ this.reduceActions[66] = function(rhs) {
301
+ return new Step(Step.PARENT, new NodeTest(NodeTest.NODE, undefined), []);
302
+ };
303
+ this.reduceActions[67] = function(rhs) {
304
+ return new VariableReference(rhs[1]);
305
+ };
306
+ this.reduceActions[68] = function(rhs) {
307
+ return new NodeTest(NodeTest.NAMETESTANY, undefined);
308
+ };
309
+ this.reduceActions[69] = function(rhs) {
310
+ var prefix = rhs[0].substring(0, rhs[0].indexOf(":"));
311
+ return new NodeTest(NodeTest.NAMETESTPREFIXANY, prefix);
312
+ };
313
+ this.reduceActions[70] = function(rhs) {
314
+ return new NodeTest(NodeTest.NAMETESTQNAME, rhs[0]);
315
+ };
316
+ };
317
+
318
+ XPathParser.actionTable = [
319
+ " s s sssssssss s ss s ss",
320
+ " s ",
321
+ "r rrrrrrrrr rrrrrrr rr r ",
322
+ " rrrrr ",
323
+ " s s sssssssss s ss s ss",
324
+ "rs rrrrrrrr s sssssrrrrrr rrs rs ",
325
+ " s s sssssssss s ss s ss",
326
+ " s ",
327
+ " s ",
328
+ "r rrrrrrrrr rrrrrrr rr rr ",
329
+ "r rrrrrrrrr rrrrrrr rr rr ",
330
+ "r rrrrrrrrr rrrrrrr rr rr ",
331
+ "r rrrrrrrrr rrrrrrr rr rr ",
332
+ "r rrrrrrrrr rrrrrrr rr rr ",
333
+ " s ",
334
+ " s ",
335
+ " s s sssss s s ",
336
+ "r rrrrrrrrr rrrrrrr rr r ",
337
+ "a ",
338
+ "r s rr r ",
339
+ "r sr rr r ",
340
+ "r s rr s rr r ",
341
+ "r rssrr rss rr r ",
342
+ "r rrrrr rrrss rr r ",
343
+ "r rrrrrsss rrrrr rr r ",
344
+ "r rrrrrrrr rrrrr rr r ",
345
+ "r rrrrrrrr rrrrrs rr r ",
346
+ "r rrrrrrrr rrrrrr rr r ",
347
+ "r rrrrrrrr rrrrrr rr r ",
348
+ "r srrrrrrrr rrrrrrs rr sr ",
349
+ "r srrrrrrrr rrrrrrs rr r ",
350
+ "r rrrrrrrrr rrrrrrr rr rr ",
351
+ "r rrrrrrrrr rrrrrrr rr rr ",
352
+ "r rrrrrrrrr rrrrrrr rr rr ",
353
+ "r rrrrrrrr rrrrrr rr r ",
354
+ "r rrrrrrrr rrrrrr rr r ",
355
+ "r rrrrrrrrr rrrrrrr rr r ",
356
+ "r rrrrrrrrr rrrrrrr rr r ",
357
+ " sssss ",
358
+ "r rrrrrrrrr rrrrrrr rr sr ",
359
+ "r rrrrrrrrr rrrrrrr rr r ",
360
+ "r rrrrrrrrr rrrrrrr rr rr ",
361
+ "r rrrrrrrrr rrrrrrr rr rr ",
362
+ " s ",
363
+ "r srrrrrrrr rrrrrrs rr r ",
364
+ "r rrrrrrrr rrrrr rr r ",
365
+ " s ",
366
+ " s ",
367
+ " rrrrr ",
368
+ " s s sssssssss s sss s ss",
369
+ "r srrrrrrrr rrrrrrs rr r ",
370
+ " s s sssssssss s ss s ss",
371
+ " s s sssssssss s ss s ss",
372
+ " s s sssssssss s ss s ss",
373
+ " s s sssssssss s ss s ss",
374
+ " s s sssssssss s ss s ss",
375
+ " s s sssssssss s ss s ss",
376
+ " s s sssssssss s ss s ss",
377
+ " s s sssssssss s ss s ss",
378
+ " s s sssssssss s ss s ss",
379
+ " s s sssssssss s ss s ss",
380
+ " s s sssssssss s ss s ss",
381
+ " s s sssssssss s ss s ss",
382
+ " s s sssssssss s ss s ss",
383
+ " s s sssssssss ss s ss",
384
+ " s s sssssssss s ss s ss",
385
+ " s s sssss s s ",
386
+ " s s sssss s s ",
387
+ "r rrrrrrrrr rrrrrrr rr rr ",
388
+ " s s sssss s s ",
389
+ " s s sssss s s ",
390
+ "r rrrrrrrrr rrrrrrr rr sr ",
391
+ "r rrrrrrrrr rrrrrrr rr sr ",
392
+ "r rrrrrrrrr rrrrrrr rr r ",
393
+ "r rrrrrrrrr rrrrrrr rr rr ",
394
+ " s ",
395
+ "r rrrrrrrrr rrrrrrr rr rr ",
396
+ "r rrrrrrrrr rrrrrrr rr rr ",
397
+ " rr ",
398
+ " s ",
399
+ " rs ",
400
+ "r sr rr r ",
401
+ "r s rr s rr r ",
402
+ "r rssrr rss rr r ",
403
+ "r rssrr rss rr r ",
404
+ "r rrrrr rrrss rr r ",
405
+ "r rrrrr rrrss rr r ",
406
+ "r rrrrr rrrss rr r ",
407
+ "r rrrrr rrrss rr r ",
408
+ "r rrrrrsss rrrrr rr r ",
409
+ "r rrrrrsss rrrrr rr r ",
410
+ "r rrrrrrrr rrrrr rr r ",
411
+ "r rrrrrrrr rrrrr rr r ",
412
+ "r rrrrrrrr rrrrr rr r ",
413
+ "r rrrrrrrr rrrrrr rr r ",
414
+ " r ",
415
+ " s ",
416
+ "r srrrrrrrr rrrrrrs rr r ",
417
+ "r srrrrrrrr rrrrrrs rr r ",
418
+ "r rrrrrrrrr rrrrrrr rr r ",
419
+ "r rrrrrrrrr rrrrrrr rr r ",
420
+ "r rrrrrrrrr rrrrrrr rr r ",
421
+ "r rrrrrrrrr rrrrrrr rr r ",
422
+ "r rrrrrrrrr rrrrrrr rr rr ",
423
+ "r rrrrrrrrr rrrrrrr rr rr ",
424
+ " s s sssssssss s ss s ss",
425
+ "r rrrrrrrrr rrrrrrr rr rr ",
426
+ " r "
427
+ ];
428
+
429
+ XPathParser.actionTableNumber = [
430
+ " 1 0 /.-,+*)(' & %$ # \"!",
431
+ " J ",
432
+ "a aaaaaaaaa aaaaaaa aa a ",
433
+ " YYYYY ",
434
+ " 1 0 /.-,+*)(' & %$ # \"!",
435
+ "K1 KKKKKKKK . +*)('KKKKKK KK# K\" ",
436
+ " 1 0 /.-,+*)(' & %$ # \"!",
437
+ " N ",
438
+ " O ",
439
+ "e eeeeeeeee eeeeeee ee ee ",
440
+ "f fffffffff fffffff ff ff ",
441
+ "d ddddddddd ddddddd dd dd ",
442
+ "B BBBBBBBBB BBBBBBB BB BB ",
443
+ "A AAAAAAAAA AAAAAAA AA AA ",
444
+ " P ",
445
+ " Q ",
446
+ " 1 . +*)(' # \" ",
447
+ "b bbbbbbbbb bbbbbbb bb b ",
448
+ " ",
449
+ "! S !! ! ",
450
+ "\" T\" \"\" \" ",
451
+ "$ V $$ U $$ $ ",
452
+ "& &ZY&& &XW && & ",
453
+ ") ))))) )))\\[ )) ) ",
454
+ ". ....._^] ..... .. . ",
455
+ "1 11111111 11111 11 1 ",
456
+ "5 55555555 55555` 55 5 ",
457
+ "7 77777777 777777 77 7 ",
458
+ "9 99999999 999999 99 9 ",
459
+ ": c:::::::: ::::::b :: a: ",
460
+ "I fIIIIIIII IIIIIIe II I ",
461
+ "= ========= ======= == == ",
462
+ "? ????????? ??????? ?? ?? ",
463
+ "C CCCCCCCCC CCCCCCC CC CC ",
464
+ "J JJJJJJJJ JJJJJJ JJ J ",
465
+ "M MMMMMMMM MMMMMM MM M ",
466
+ "N NNNNNNNNN NNNNNNN NN N ",
467
+ "P PPPPPPPPP PPPPPPP PP P ",
468
+ " +*)(' ",
469
+ "R RRRRRRRRR RRRRRRR RR aR ",
470
+ "U UUUUUUUUU UUUUUUU UU U ",
471
+ "Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ",
472
+ "c ccccccccc ccccccc cc cc ",
473
+ " j ",
474
+ "L fLLLLLLLL LLLLLLe LL L ",
475
+ "6 66666666 66666 66 6 ",
476
+ " k ",
477
+ " l ",
478
+ " XXXXX ",
479
+ " 1 0 /.-,+*)(' & %$m # \"!",
480
+ "_ f________ ______e __ _ ",
481
+ " 1 0 /.-,+*)(' & %$ # \"!",
482
+ " 1 0 /.-,+*)(' & %$ # \"!",
483
+ " 1 0 /.-,+*)(' & %$ # \"!",
484
+ " 1 0 /.-,+*)(' & %$ # \"!",
485
+ " 1 0 /.-,+*)(' & %$ # \"!",
486
+ " 1 0 /.-,+*)(' & %$ # \"!",
487
+ " 1 0 /.-,+*)(' & %$ # \"!",
488
+ " 1 0 /.-,+*)(' & %$ # \"!",
489
+ " 1 0 /.-,+*)(' & %$ # \"!",
490
+ " 1 0 /.-,+*)(' & %$ # \"!",
491
+ " 1 0 /.-,+*)(' & %$ # \"!",
492
+ " 1 0 /.-,+*)(' & %$ # \"!",
493
+ " 1 0 /.-,+*)(' & %$ # \"!",
494
+ " 1 0 /.-,+*)(' %$ # \"!",
495
+ " 1 0 /.-,+*)(' & %$ # \"!",
496
+ " 1 . +*)(' # \" ",
497
+ " 1 . +*)(' # \" ",
498
+ "> >>>>>>>>> >>>>>>> >> >> ",
499
+ " 1 . +*)(' # \" ",
500
+ " 1 . +*)(' # \" ",
501
+ "Q QQQQQQQQQ QQQQQQQ QQ aQ ",
502
+ "V VVVVVVVVV VVVVVVV VV aV ",
503
+ "T TTTTTTTTT TTTTTTT TT T ",
504
+ "@ @@@@@@@@@ @@@@@@@ @@ @@ ",
505
+ " \x87 ",
506
+ "[ [[[[[[[[[ [[[[[[[ [[ [[ ",
507
+ "D DDDDDDDDD DDDDDDD DD DD ",
508
+ " HH ",
509
+ " \x88 ",
510
+ " F\x89 ",
511
+ "# T# ## # ",
512
+ "% V %% U %% % ",
513
+ "' 'ZY'' 'XW '' ' ",
514
+ "( (ZY(( (XW (( ( ",
515
+ "+ +++++ +++\\[ ++ + ",
516
+ "* ***** ***\\[ ** * ",
517
+ "- ----- ---\\[ -- - ",
518
+ ", ,,,,, ,,,\\[ ,, , ",
519
+ "0 00000_^] 00000 00 0 ",
520
+ "/ /////_^] ///// // / ",
521
+ "2 22222222 22222 22 2 ",
522
+ "3 33333333 33333 33 3 ",
523
+ "4 44444444 44444 44 4 ",
524
+ "8 88888888 888888 88 8 ",
525
+ " ^ ",
526
+ " \x8a ",
527
+ "; f;;;;;;;; ;;;;;;e ;; ; ",
528
+ "< f<<<<<<<< <<<<<<e << < ",
529
+ "O OOOOOOOOO OOOOOOO OO O ",
530
+ "` ````````` ``````` `` ` ",
531
+ "S SSSSSSSSS SSSSSSS SS S ",
532
+ "W WWWWWWWWW WWWWWWW WW W ",
533
+ "\\ \\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\ \\\\ \\\\ ",
534
+ "E EEEEEEEEE EEEEEEE EE EE ",
535
+ " 1 0 /.-,+*)(' & %$ # \"!",
536
+ "] ]]]]]]]]] ]]]]]]] ]] ]] ",
537
+ " G "
538
+ ];
539
+
540
+ XPathParser.gotoTable = [
541
+ "3456789:;<=>?@ AB CDEFGH IJ ",
542
+ " ",
543
+ " ",
544
+ " ",
545
+ "L456789:;<=>?@ AB CDEFGH IJ ",
546
+ " M EFGH IJ ",
547
+ " N;<=>?@ AB CDEFGH IJ ",
548
+ " ",
549
+ " ",
550
+ " ",
551
+ " ",
552
+ " ",
553
+ " ",
554
+ " ",
555
+ " ",
556
+ " ",
557
+ " S EFGH IJ ",
558
+ " ",
559
+ " ",
560
+ " ",
561
+ " ",
562
+ " ",
563
+ " ",
564
+ " ",
565
+ " ",
566
+ " ",
567
+ " ",
568
+ " ",
569
+ " ",
570
+ " e ",
571
+ " ",
572
+ " ",
573
+ " ",
574
+ " ",
575
+ " ",
576
+ " ",
577
+ " ",
578
+ " ",
579
+ " h J ",
580
+ " i j ",
581
+ " ",
582
+ " ",
583
+ " ",
584
+ " ",
585
+ " ",
586
+ " ",
587
+ " ",
588
+ " ",
589
+ " ",
590
+ "o456789:;<=>?@ ABpqCDEFGH IJ ",
591
+ " ",
592
+ " r6789:;<=>?@ AB CDEFGH IJ ",
593
+ " s789:;<=>?@ AB CDEFGH IJ ",
594
+ " t89:;<=>?@ AB CDEFGH IJ ",
595
+ " u89:;<=>?@ AB CDEFGH IJ ",
596
+ " v9:;<=>?@ AB CDEFGH IJ ",
597
+ " w9:;<=>?@ AB CDEFGH IJ ",
598
+ " x9:;<=>?@ AB CDEFGH IJ ",
599
+ " y9:;<=>?@ AB CDEFGH IJ ",
600
+ " z:;<=>?@ AB CDEFGH IJ ",
601
+ " {:;<=>?@ AB CDEFGH IJ ",
602
+ " |;<=>?@ AB CDEFGH IJ ",
603
+ " };<=>?@ AB CDEFGH IJ ",
604
+ " ~;<=>?@ AB CDEFGH IJ ",
605
+ " \x7f=>?@ AB CDEFGH IJ ",
606
+ "\x80456789:;<=>?@ AB CDEFGH IJ\x81",
607
+ " \x82 EFGH IJ ",
608
+ " \x83 EFGH IJ ",
609
+ " ",
610
+ " \x84 GH IJ ",
611
+ " \x85 GH IJ ",
612
+ " i \x86 ",
613
+ " i \x87 ",
614
+ " ",
615
+ " ",
616
+ " ",
617
+ " ",
618
+ " ",
619
+ " ",
620
+ " ",
621
+ " ",
622
+ " ",
623
+ " ",
624
+ " ",
625
+ " ",
626
+ " ",
627
+ " ",
628
+ " ",
629
+ " ",
630
+ " ",
631
+ " ",
632
+ " ",
633
+ " ",
634
+ " ",
635
+ " ",
636
+ " ",
637
+ " ",
638
+ " ",
639
+ " ",
640
+ " ",
641
+ " ",
642
+ " ",
643
+ " ",
644
+ " ",
645
+ " ",
646
+ "o456789:;<=>?@ AB\x8cqCDEFGH IJ ",
647
+ " ",
648
+ " "
649
+ ];
650
+
651
+ XPathParser.productions = [
652
+ [1, 1, 2],
653
+ [2, 1, 3],
654
+ [3, 1, 4],
655
+ [3, 3, 3, -9, 4],
656
+ [4, 1, 5],
657
+ [4, 3, 4, -8, 5],
658
+ [5, 1, 6],
659
+ [5, 3, 5, -22, 6],
660
+ [5, 3, 5, -5, 6],
661
+ [6, 1, 7],
662
+ [6, 3, 6, -23, 7],
663
+ [6, 3, 6, -24, 7],
664
+ [6, 3, 6, -6, 7],
665
+ [6, 3, 6, -7, 7],
666
+ [7, 1, 8],
667
+ [7, 3, 7, -25, 8],
668
+ [7, 3, 7, -26, 8],
669
+ [8, 1, 9],
670
+ [8, 3, 8, -12, 9],
671
+ [8, 3, 8, -11, 9],
672
+ [8, 3, 8, -10, 9],
673
+ [9, 1, 10],
674
+ [9, 2, -26, 9],
675
+ [10, 1, 11],
676
+ [10, 3, 10, -27, 11],
677
+ [11, 1, 12],
678
+ [11, 1, 13],
679
+ [11, 3, 13, -28, 14],
680
+ [11, 3, 13, -4, 14],
681
+ [13, 1, 15],
682
+ [13, 2, 13, 16],
683
+ [15, 1, 17],
684
+ [15, 3, -29, 2, -30],
685
+ [15, 1, -15],
686
+ [15, 1, -16],
687
+ [15, 1, 18],
688
+ [18, 3, -13, -29, -30],
689
+ [18, 4, -13, -29, 19, -30],
690
+ [19, 1, 20],
691
+ [19, 3, 20, -31, 19],
692
+ [20, 1, 2],
693
+ [12, 1, 14],
694
+ [12, 1, 21],
695
+ [21, 1, -28],
696
+ [21, 2, -28, 14],
697
+ [21, 1, 22],
698
+ [14, 1, 23],
699
+ [14, 3, 14, -28, 23],
700
+ [14, 1, 24],
701
+ [23, 2, 25, 26],
702
+ [23, 1, 26],
703
+ [23, 3, 25, 26, 27],
704
+ [23, 2, 26, 27],
705
+ [23, 1, 28],
706
+ [27, 1, 16],
707
+ [27, 2, 16, 27],
708
+ [25, 2, -14, -3],
709
+ [25, 1, -32],
710
+ [26, 1, 29],
711
+ [26, 3, -20, -29, -30],
712
+ [26, 4, -21, -29, -15, -30],
713
+ [16, 3, -33, 30, -34],
714
+ [30, 1, 2],
715
+ [22, 2, -4, 14],
716
+ [24, 3, 14, -4, 23],
717
+ [28, 1, -35],
718
+ [28, 1, -2],
719
+ [17, 2, -36, -18],
720
+ [29, 1, -17],
721
+ [29, 1, -19],
722
+ [29, 1, -18]
723
+ ];
724
+
725
+ XPathParser.DOUBLEDOT = 2;
726
+ XPathParser.DOUBLECOLON = 3;
727
+ XPathParser.DOUBLESLASH = 4;
728
+ XPathParser.NOTEQUAL = 5;
729
+ XPathParser.LESSTHANOREQUAL = 6;
730
+ XPathParser.GREATERTHANOREQUAL = 7;
731
+ XPathParser.AND = 8;
732
+ XPathParser.OR = 9;
733
+ XPathParser.MOD = 10;
734
+ XPathParser.DIV = 11;
735
+ XPathParser.MULTIPLYOPERATOR = 12;
736
+ XPathParser.FUNCTIONNAME = 13;
737
+ XPathParser.AXISNAME = 14;
738
+ XPathParser.LITERAL = 15;
739
+ XPathParser.NUMBER = 16;
740
+ XPathParser.ASTERISKNAMETEST = 17;
741
+ XPathParser.QNAME = 18;
742
+ XPathParser.NCNAMECOLONASTERISK = 19;
743
+ XPathParser.NODETYPE = 20;
744
+ XPathParser.PROCESSINGINSTRUCTIONWITHLITERAL = 21;
745
+ XPathParser.EQUALS = 22;
746
+ XPathParser.LESSTHAN = 23;
747
+ XPathParser.GREATERTHAN = 24;
748
+ XPathParser.PLUS = 25;
749
+ XPathParser.MINUS = 26;
750
+ XPathParser.BAR = 27;
751
+ XPathParser.SLASH = 28;
752
+ XPathParser.LEFTPARENTHESIS = 29;
753
+ XPathParser.RIGHTPARENTHESIS = 30;
754
+ XPathParser.COMMA = 31;
755
+ XPathParser.AT = 32;
756
+ XPathParser.LEFTBRACKET = 33;
757
+ XPathParser.RIGHTBRACKET = 34;
758
+ XPathParser.DOT = 35;
759
+ XPathParser.DOLLAR = 36;
760
+
761
+ XPathParser.prototype.tokenize = function(s1) {
762
+ var types = [];
763
+ var values = [];
764
+ var s = s1 + '\0';
765
+
766
+ var pos = 0;
767
+ var c = s.charAt(pos++);
768
+ while (1) {
769
+ while (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
770
+ c = s.charAt(pos++);
771
+ }
772
+ if (c == '\0' || pos >= s.length) {
773
+ break;
774
+ }
775
+
776
+ if (c == '(') {
777
+ types.push(XPathParser.LEFTPARENTHESIS);
778
+ values.push(c);
779
+ c = s.charAt(pos++);
780
+ continue;
781
+ }
782
+ if (c == ')') {
783
+ types.push(XPathParser.RIGHTPARENTHESIS);
784
+ values.push(c);
785
+ c = s.charAt(pos++);
786
+ continue;
787
+ }
788
+ if (c == '[') {
789
+ types.push(XPathParser.LEFTBRACKET);
790
+ values.push(c);
791
+ c = s.charAt(pos++);
792
+ continue;
793
+ }
794
+ if (c == ']') {
795
+ types.push(XPathParser.RIGHTBRACKET);
796
+ values.push(c);
797
+ c = s.charAt(pos++);
798
+ continue;
799
+ }
800
+ if (c == '@') {
801
+ types.push(XPathParser.AT);
802
+ values.push(c);
803
+ c = s.charAt(pos++);
804
+ continue;
805
+ }
806
+ if (c == ',') {
807
+ types.push(XPathParser.COMMA);
808
+ values.push(c);
809
+ c = s.charAt(pos++);
810
+ continue;
811
+ }
812
+ if (c == '|') {
813
+ types.push(XPathParser.BAR);
814
+ values.push(c);
815
+ c = s.charAt(pos++);
816
+ continue;
817
+ }
818
+ if (c == '+') {
819
+ types.push(XPathParser.PLUS);
820
+ values.push(c);
821
+ c = s.charAt(pos++);
822
+ continue;
823
+ }
824
+ if (c == '-') {
825
+ types.push(XPathParser.MINUS);
826
+ values.push(c);
827
+ c = s.charAt(pos++);
828
+ continue;
829
+ }
830
+ if (c == '=') {
831
+ types.push(XPathParser.EQUALS);
832
+ values.push(c);
833
+ c = s.charAt(pos++);
834
+ continue;
835
+ }
836
+ if (c == '$') {
837
+ types.push(XPathParser.DOLLAR);
838
+ values.push(c);
839
+ c = s.charAt(pos++);
840
+ continue;
841
+ }
842
+
843
+ if (c == '.') {
844
+ c = s.charAt(pos++);
845
+ if (c == '.') {
846
+ types.push(XPathParser.DOUBLEDOT);
847
+ values.push("..");
848
+ c = s.charAt(pos++);
849
+ continue;
850
+ }
851
+ if (c >= '0' && c <= '9') {
852
+ var number = "." + c;
853
+ c = s.charAt(pos++);
854
+ while (c >= '0' && c <= '9') {
855
+ number += c;
856
+ c = s.charAt(pos++);
857
+ }
858
+ types.push(XPathParser.NUMBER);
859
+ values.push(number);
860
+ continue;
861
+ }
862
+ types.push(XPathParser.DOT);
863
+ values.push('.');
864
+ continue;
865
+ }
866
+
867
+ if (c == '\'' || c == '"') {
868
+ var delimiter = c;
869
+ var literal = "";
870
+ while ((c = s.charAt(pos++)) != delimiter) {
871
+ literal += c;
872
+ }
873
+ types.push(XPathParser.LITERAL);
874
+ values.push(literal);
875
+ c = s.charAt(pos++);
876
+ continue;
877
+ }
878
+
879
+ if (c >= '0' && c <= '9') {
880
+ var number = c;
881
+ c = s.charAt(pos++);
882
+ while (c >= '0' && c <= '9') {
883
+ number += c;
884
+ c = s.charAt(pos++);
885
+ }
886
+ if (c == '.') {
887
+ if (s.charAt(pos) >= '0' && s.charAt(pos) <= '9') {
888
+ number += c;
889
+ number += s.charAt(pos++);
890
+ c = s.charAt(pos++);
891
+ while (c >= '0' && c <= '9') {
892
+ number += c;
893
+ c = s.charAt(pos++);
894
+ }
895
+ }
896
+ }
897
+ types.push(XPathParser.NUMBER);
898
+ values.push(number);
899
+ continue;
900
+ }
901
+
902
+ if (c == '*') {
903
+ if (types.length > 0) {
904
+ var last = types[types.length - 1];
905
+ if (last != XPathParser.AT
906
+ && last != XPathParser.DOUBLECOLON
907
+ && last != XPathParser.LEFTPARENTHESIS
908
+ && last != XPathParser.LEFTBRACKET
909
+ && last != XPathParser.AND
910
+ && last != XPathParser.OR
911
+ && last != XPathParser.MOD
912
+ && last != XPathParser.DIV
913
+ && last != XPathParser.MULTIPLYOPERATOR
914
+ && last != XPathParser.SLASH
915
+ && last != XPathParser.DOUBLESLASH
916
+ && last != XPathParser.BAR
917
+ && last != XPathParser.PLUS
918
+ && last != XPathParser.MINUS
919
+ && last != XPathParser.EQUALS
920
+ && last != XPathParser.NOTEQUAL
921
+ && last != XPathParser.LESSTHAN
922
+ && last != XPathParser.LESSTHANOREQUAL
923
+ && last != XPathParser.GREATERTHAN
924
+ && last != XPathParser.GREATERTHANOREQUAL) {
925
+ types.push(XPathParser.MULTIPLYOPERATOR);
926
+ values.push(c);
927
+ c = s.charAt(pos++);
928
+ continue;
929
+ }
930
+ }
931
+ types.push(XPathParser.ASTERISKNAMETEST);
932
+ values.push(c);
933
+ c = s.charAt(pos++);
934
+ continue;
935
+ }
936
+
937
+ if (c == ':') {
938
+ if (s.charAt(pos) == ':') {
939
+ types.push(XPathParser.DOUBLECOLON);
940
+ values.push("::");
941
+ pos++;
942
+ c = s.charAt(pos++);
943
+ continue;
944
+ }
945
+ }
946
+
947
+ if (c == '/') {
948
+ c = s.charAt(pos++);
949
+ if (c == '/') {
950
+ types.push(XPathParser.DOUBLESLASH);
951
+ values.push("//");
952
+ c = s.charAt(pos++);
953
+ continue;
954
+ }
955
+ types.push(XPathParser.SLASH);
956
+ values.push('/');
957
+ continue;
958
+ }
959
+
960
+ if (c == '!') {
961
+ if (s.charAt(pos) == '=') {
962
+ types.push(XPathParser.NOTEQUAL);
963
+ values.push("!=");
964
+ pos++;
965
+ c = s.charAt(pos++);
966
+ continue;
967
+ }
968
+ }
969
+
970
+ if (c == '<') {
971
+ if (s.charAt(pos) == '=') {
972
+ types.push(XPathParser.LESSTHANOREQUAL);
973
+ values.push("<=");
974
+ pos++;
975
+ c = s.charAt(pos++);
976
+ continue;
977
+ }
978
+ types.push(XPathParser.LESSTHAN);
979
+ values.push('<');
980
+ c = s.charAt(pos++);
981
+ continue;
982
+ }
983
+
984
+ if (c == '>') {
985
+ if (s.charAt(pos) == '=') {
986
+ types.push(XPathParser.GREATERTHANOREQUAL);
987
+ values.push(">=");
988
+ pos++;
989
+ c = s.charAt(pos++);
990
+ continue;
991
+ }
992
+ types.push(XPathParser.GREATERTHAN);
993
+ values.push('>');
994
+ c = s.charAt(pos++);
995
+ continue;
996
+ }
997
+
998
+ if (c == '_' || Utilities.isLetter(c.charCodeAt(0))) {
999
+ var name = c;
1000
+ c = s.charAt(pos++);
1001
+ while (Utilities.isNCNameChar(c.charCodeAt(0))) {
1002
+ name += c;
1003
+ c = s.charAt(pos++);
1004
+ }
1005
+ if (types.length > 0) {
1006
+ var last = types[types.length - 1];
1007
+ if (last != XPathParser.AT
1008
+ && last != XPathParser.DOUBLECOLON
1009
+ && last != XPathParser.LEFTPARENTHESIS
1010
+ && last != XPathParser.LEFTBRACKET
1011
+ && last != XPathParser.AND
1012
+ && last != XPathParser.OR
1013
+ && last != XPathParser.MOD
1014
+ && last != XPathParser.DIV
1015
+ && last != XPathParser.MULTIPLYOPERATOR
1016
+ && last != XPathParser.SLASH
1017
+ && last != XPathParser.DOUBLESLASH
1018
+ && last != XPathParser.BAR
1019
+ && last != XPathParser.PLUS
1020
+ && last != XPathParser.MINUS
1021
+ && last != XPathParser.EQUALS
1022
+ && last != XPathParser.NOTEQUAL
1023
+ && last != XPathParser.LESSTHAN
1024
+ && last != XPathParser.LESSTHANOREQUAL
1025
+ && last != XPathParser.GREATERTHAN
1026
+ && last != XPathParser.GREATERTHANOREQUAL) {
1027
+ if (name == "and") {
1028
+ types.push(XPathParser.AND);
1029
+ values.push(name);
1030
+ continue;
1031
+ }
1032
+ if (name == "or") {
1033
+ types.push(XPathParser.OR);
1034
+ values.push(name);
1035
+ continue;
1036
+ }
1037
+ if (name == "mod") {
1038
+ types.push(XPathParser.MOD);
1039
+ values.push(name);
1040
+ continue;
1041
+ }
1042
+ if (name == "div") {
1043
+ types.push(XPathParser.DIV);
1044
+ values.push(name);
1045
+ continue;
1046
+ }
1047
+ }
1048
+ }
1049
+ if (c == ':') {
1050
+ if (s.charAt(pos) == '*') {
1051
+ types.push(XPathParser.NCNAMECOLONASTERISK);
1052
+ values.push(name + ":*");
1053
+ pos++;
1054
+ c = s.charAt(pos++);
1055
+ continue;
1056
+ }
1057
+ if (s.charAt(pos) == '_' || Utilities.isLetter(s.charCodeAt(pos))) {
1058
+ name += ':';
1059
+ c = s.charAt(pos++);
1060
+ while (Utilities.isNCNameChar(c.charCodeAt(0))) {
1061
+ name += c;
1062
+ c = s.charAt(pos++);
1063
+ }
1064
+ if (c == '(') {
1065
+ types.push(XPathParser.FUNCTIONNAME);
1066
+ values.push(name);
1067
+ continue;
1068
+ }
1069
+ types.push(XPathParser.QNAME);
1070
+ values.push(name);
1071
+ continue;
1072
+ }
1073
+ if (s.charAt(pos) == ':') {
1074
+ types.push(XPathParser.AXISNAME);
1075
+ values.push(name);
1076
+ continue;
1077
+ }
1078
+ }
1079
+ if (c == '(') {
1080
+ if (name == "comment" || name == "text" || name == "node") {
1081
+ types.push(XPathParser.NODETYPE);
1082
+ values.push(name);
1083
+ continue;
1084
+ }
1085
+ if (name == "processing-instruction") {
1086
+ if (s.charAt(pos) == ')') {
1087
+ types.push(XPathParser.NODETYPE);
1088
+ } else {
1089
+ types.push(XPathParser.PROCESSINGINSTRUCTIONWITHLITERAL);
1090
+ }
1091
+ values.push(name);
1092
+ continue;
1093
+ }
1094
+ types.push(XPathParser.FUNCTIONNAME);
1095
+ values.push(name);
1096
+ continue;
1097
+ }
1098
+ types.push(XPathParser.QNAME);
1099
+ values.push(name);
1100
+ continue;
1101
+ }
1102
+
1103
+ throw new Error("Unexpected character " + c);
1104
+ }
1105
+ types.push(1);
1106
+ values.push("[EOF]");
1107
+ return [types, values];
1108
+ };
1109
+
1110
+ XPathParser.SHIFT = 's';
1111
+ XPathParser.REDUCE = 'r';
1112
+ XPathParser.ACCEPT = 'a';
1113
+
1114
+ XPathParser.prototype.parse = function(s) {
1115
+ var types;
1116
+ var values;
1117
+ var res = this.tokenize(s);
1118
+ if (res == undefined) {
1119
+ return undefined;
1120
+ }
1121
+ types = res[0];
1122
+ values = res[1];
1123
+ var tokenPos = 0;
1124
+ var state = [];
1125
+ var tokenType = [];
1126
+ var tokenValue = [];
1127
+ var s;
1128
+ var a;
1129
+ var t;
1130
+
1131
+ state.push(0);
1132
+ tokenType.push(1);
1133
+ tokenValue.push("_S");
1134
+
1135
+ a = types[tokenPos];
1136
+ t = values[tokenPos++];
1137
+ while (1) {
1138
+ s = state[state.length - 1];
1139
+ switch (XPathParser.actionTable[s].charAt(a - 1)) {
1140
+ case XPathParser.SHIFT:
1141
+ tokenType.push(-a);
1142
+ tokenValue.push(t);
1143
+ state.push(XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32);
1144
+ a = types[tokenPos];
1145
+ t = values[tokenPos++];
1146
+ break;
1147
+ case XPathParser.REDUCE:
1148
+ var num = XPathParser.productions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32][1];
1149
+ var rhs = [];
1150
+ for (var i = 0; i < num; i++) {
1151
+ tokenType.pop();
1152
+ rhs.unshift(tokenValue.pop());
1153
+ state.pop();
1154
+ }
1155
+ var s_ = state[state.length - 1];
1156
+ tokenType.push(XPathParser.productions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32][0]);
1157
+ if (this.reduceActions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32] == undefined) {
1158
+ tokenValue.push(rhs[0]);
1159
+ } else {
1160
+ tokenValue.push(this.reduceActions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32](rhs));
1161
+ }
1162
+ state.push(XPathParser.gotoTable[s_].charCodeAt(XPathParser.productions[XPathParser.actionTableNumber[s].charCodeAt(a - 1) - 32][0] - 2) - 33);
1163
+ break;
1164
+ case XPathParser.ACCEPT:
1165
+ return new XPath(tokenValue.pop());
1166
+ default:
1167
+ throw new Error("XPath parse error");
1168
+ }
1169
+ }
1170
+ };
1171
+
1172
+ // XPath /////////////////////////////////////////////////////////////////////
1173
+
1174
+ XPath.prototype = new Object();
1175
+ XPath.prototype.constructor = XPath;
1176
+ XPath.superclass = Object.prototype;
1177
+
1178
+ function XPath(e) {
1179
+ this.expression = e;
1180
+ }
1181
+
1182
+ XPath.prototype.toString = function() {
1183
+ return this.expression.toString();
1184
+ };
1185
+
1186
+ XPath.prototype.evaluate = function(c) {
1187
+ c.contextNode = c.expressionContextNode;
1188
+ c.contextSize = 1;
1189
+ c.contextPosition = 1;
1190
+ c.caseInsensitive = false;
1191
+ if (c.contextNode != null) {
1192
+ var doc = c.contextNode;
1193
+ if (doc.nodeType != 9 /*Node.DOCUMENT_NODE*/) {
1194
+ doc = doc.ownerDocument;
1195
+ }
1196
+ try {
1197
+ c.caseInsensitive = doc.implementation.hasFeature("HTML", "2.0");
1198
+ } catch (e) {
1199
+ c.caseInsensitive = true;
1200
+ }
1201
+ }
1202
+ return this.expression.evaluate(c);
1203
+ };
1204
+
1205
+ XPath.XML_NAMESPACE_URI = "http://www.w3.org/XML/1998/namespace";
1206
+ XPath.XMLNS_NAMESPACE_URI = "http://www.w3.org/2000/xmlns/";
1207
+
1208
+ // Expression ////////////////////////////////////////////////////////////////
1209
+
1210
+ Expression.prototype = new Object();
1211
+ Expression.prototype.constructor = Expression;
1212
+ Expression.superclass = Object.prototype;
1213
+
1214
+ function Expression() {
1215
+ }
1216
+
1217
+ Expression.prototype.init = function() {
1218
+ };
1219
+
1220
+ Expression.prototype.toString = function() {
1221
+ return "<Expression>";
1222
+ };
1223
+
1224
+ Expression.prototype.evaluate = function(c) {
1225
+ throw new Error("Could not evaluate expression.");
1226
+ };
1227
+
1228
+ // UnaryOperation ////////////////////////////////////////////////////////////
1229
+
1230
+ UnaryOperation.prototype = new Expression();
1231
+ UnaryOperation.prototype.constructor = UnaryOperation;
1232
+ UnaryOperation.superclass = Expression.prototype;
1233
+
1234
+ function UnaryOperation(rhs) {
1235
+ if (arguments.length > 0) {
1236
+ this.init(rhs);
1237
+ }
1238
+ }
1239
+
1240
+ UnaryOperation.prototype.init = function(rhs) {
1241
+ this.rhs = rhs;
1242
+ };
1243
+
1244
+ // UnaryMinusOperation ///////////////////////////////////////////////////////
1245
+
1246
+ UnaryMinusOperation.prototype = new UnaryOperation();
1247
+ UnaryMinusOperation.prototype.constructor = UnaryMinusOperation;
1248
+ UnaryMinusOperation.superclass = UnaryOperation.prototype;
1249
+
1250
+ function UnaryMinusOperation(rhs) {
1251
+ if (arguments.length > 0) {
1252
+ this.init(rhs);
1253
+ }
1254
+ }
1255
+
1256
+ UnaryMinusOperation.prototype.init = function(rhs) {
1257
+ UnaryMinusOperation.superclass.init.call(this, rhs);
1258
+ };
1259
+
1260
+ UnaryMinusOperation.prototype.evaluate = function(c) {
1261
+ return this.rhs.evaluate(c).number().negate();
1262
+ };
1263
+
1264
+ UnaryMinusOperation.prototype.toString = function() {
1265
+ return "-" + this.rhs.toString();
1266
+ };
1267
+
1268
+ // BinaryOperation ///////////////////////////////////////////////////////////
1269
+
1270
+ BinaryOperation.prototype = new Expression();
1271
+ BinaryOperation.prototype.constructor = BinaryOperation;
1272
+ BinaryOperation.superclass = Expression.prototype;
1273
+
1274
+ function BinaryOperation(lhs, rhs) {
1275
+ if (arguments.length > 0) {
1276
+ this.init(lhs, rhs);
1277
+ }
1278
+ }
1279
+
1280
+ BinaryOperation.prototype.init = function(lhs, rhs) {
1281
+ this.lhs = lhs;
1282
+ this.rhs = rhs;
1283
+ };
1284
+
1285
+ // OrOperation ///////////////////////////////////////////////////////////////
1286
+
1287
+ OrOperation.prototype = new BinaryOperation();
1288
+ OrOperation.prototype.constructor = OrOperation;
1289
+ OrOperation.superclass = BinaryOperation.prototype;
1290
+
1291
+ function OrOperation(lhs, rhs) {
1292
+ if (arguments.length > 0) {
1293
+ this.init(lhs, rhs);
1294
+ }
1295
+ }
1296
+
1297
+ OrOperation.prototype.init = function(lhs, rhs) {
1298
+ OrOperation.superclass.init.call(this, lhs, rhs);
1299
+ };
1300
+
1301
+ OrOperation.prototype.toString = function() {
1302
+ return "(" + this.lhs.toString() + " or " + this.rhs.toString() + ")";
1303
+ };
1304
+
1305
+ OrOperation.prototype.evaluate = function(c) {
1306
+ var b = this.lhs.evaluate(c).bool();
1307
+ if (b.booleanValue()) {
1308
+ return b;
1309
+ }
1310
+ return this.rhs.evaluate(c).bool();
1311
+ };
1312
+
1313
+ // AndOperation //////////////////////////////////////////////////////////////
1314
+
1315
+ AndOperation.prototype = new BinaryOperation();
1316
+ AndOperation.prototype.constructor = AndOperation;
1317
+ AndOperation.superclass = BinaryOperation.prototype;
1318
+
1319
+ function AndOperation(lhs, rhs) {
1320
+ if (arguments.length > 0) {
1321
+ this.init(lhs, rhs);
1322
+ }
1323
+ }
1324
+
1325
+ AndOperation.prototype.init = function(lhs, rhs) {
1326
+ AndOperation.superclass.init.call(this, lhs, rhs);
1327
+ };
1328
+
1329
+ AndOperation.prototype.toString = function() {
1330
+ return "(" + this.lhs.toString() + " and " + this.rhs.toString() + ")";
1331
+ };
1332
+
1333
+ AndOperation.prototype.evaluate = function(c) {
1334
+ var b = this.lhs.evaluate(c).bool();
1335
+ if (!b.booleanValue()) {
1336
+ return b;
1337
+ }
1338
+ return this.rhs.evaluate(c).bool();
1339
+ };
1340
+
1341
+ // EqualsOperation ///////////////////////////////////////////////////////////
1342
+
1343
+ EqualsOperation.prototype = new BinaryOperation();
1344
+ EqualsOperation.prototype.constructor = EqualsOperation;
1345
+ EqualsOperation.superclass = BinaryOperation.prototype;
1346
+
1347
+ function EqualsOperation(lhs, rhs) {
1348
+ if (arguments.length > 0) {
1349
+ this.init(lhs, rhs);
1350
+ }
1351
+ }
1352
+
1353
+ EqualsOperation.prototype.init = function(lhs, rhs) {
1354
+ EqualsOperation.superclass.init.call(this, lhs, rhs);
1355
+ };
1356
+
1357
+ EqualsOperation.prototype.toString = function() {
1358
+ return "(" + this.lhs.toString() + " = " + this.rhs.toString() + ")";
1359
+ };
1360
+
1361
+ EqualsOperation.prototype.evaluate = function(c) {
1362
+ return this.lhs.evaluate(c).equals(this.rhs.evaluate(c));
1363
+ };
1364
+
1365
+ // NotEqualOperation /////////////////////////////////////////////////////////
1366
+
1367
+ NotEqualOperation.prototype = new BinaryOperation();
1368
+ NotEqualOperation.prototype.constructor = NotEqualOperation;
1369
+ NotEqualOperation.superclass = BinaryOperation.prototype;
1370
+
1371
+ function NotEqualOperation(lhs, rhs) {
1372
+ if (arguments.length > 0) {
1373
+ this.init(lhs, rhs);
1374
+ }
1375
+ }
1376
+
1377
+ NotEqualOperation.prototype.init = function(lhs, rhs) {
1378
+ NotEqualOperation.superclass.init.call(this, lhs, rhs);
1379
+ };
1380
+
1381
+ NotEqualOperation.prototype.toString = function() {
1382
+ return "(" + this.lhs.toString() + " != " + this.rhs.toString() + ")";
1383
+ };
1384
+
1385
+ NotEqualOperation.prototype.evaluate = function(c) {
1386
+ return this.lhs.evaluate(c).notequal(this.rhs.evaluate(c));
1387
+ };
1388
+
1389
+ // LessThanOperation /////////////////////////////////////////////////////////
1390
+
1391
+ LessThanOperation.prototype = new BinaryOperation();
1392
+ LessThanOperation.prototype.constructor = LessThanOperation;
1393
+ LessThanOperation.superclass = BinaryOperation.prototype;
1394
+
1395
+ function LessThanOperation(lhs, rhs) {
1396
+ if (arguments.length > 0) {
1397
+ this.init(lhs, rhs);
1398
+ }
1399
+ }
1400
+
1401
+ LessThanOperation.prototype.init = function(lhs, rhs) {
1402
+ LessThanOperation.superclass.init.call(this, lhs, rhs);
1403
+ };
1404
+
1405
+ LessThanOperation.prototype.evaluate = function(c) {
1406
+ return this.lhs.evaluate(c).lessthan(this.rhs.evaluate(c));
1407
+ };
1408
+
1409
+ LessThanOperation.prototype.toString = function() {
1410
+ return "(" + this.lhs.toString() + " < " + this.rhs.toString() + ")";
1411
+ };
1412
+
1413
+ // GreaterThanOperation //////////////////////////////////////////////////////
1414
+
1415
+ GreaterThanOperation.prototype = new BinaryOperation();
1416
+ GreaterThanOperation.prototype.constructor = GreaterThanOperation;
1417
+ GreaterThanOperation.superclass = BinaryOperation.prototype;
1418
+
1419
+ function GreaterThanOperation(lhs, rhs) {
1420
+ if (arguments.length > 0) {
1421
+ this.init(lhs, rhs);
1422
+ }
1423
+ }
1424
+
1425
+ GreaterThanOperation.prototype.init = function(lhs, rhs) {
1426
+ GreaterThanOperation.superclass.init.call(this, lhs, rhs);
1427
+ };
1428
+
1429
+ GreaterThanOperation.prototype.evaluate = function(c) {
1430
+ return this.lhs.evaluate(c).greaterthan(this.rhs.evaluate(c));
1431
+ };
1432
+
1433
+ GreaterThanOperation.prototype.toString = function() {
1434
+ return "(" + this.lhs.toString() + " > " + this.rhs.toString() + ")";
1435
+ };
1436
+
1437
+ // LessThanOrEqualOperation //////////////////////////////////////////////////
1438
+
1439
+ LessThanOrEqualOperation.prototype = new BinaryOperation();
1440
+ LessThanOrEqualOperation.prototype.constructor = LessThanOrEqualOperation;
1441
+ LessThanOrEqualOperation.superclass = BinaryOperation.prototype;
1442
+
1443
+ function LessThanOrEqualOperation(lhs, rhs) {
1444
+ if (arguments.length > 0) {
1445
+ this.init(lhs, rhs);
1446
+ }
1447
+ }
1448
+
1449
+ LessThanOrEqualOperation.prototype.init = function(lhs, rhs) {
1450
+ LessThanOrEqualOperation.superclass.init.call(this, lhs, rhs);
1451
+ };
1452
+
1453
+ LessThanOrEqualOperation.prototype.evaluate = function(c) {
1454
+ return this.lhs.evaluate(c).lessthanorequal(this.rhs.evaluate(c));
1455
+ };
1456
+
1457
+ LessThanOrEqualOperation.prototype.toString = function() {
1458
+ return "(" + this.lhs.toString() + " <= " + this.rhs.toString() + ")";
1459
+ };
1460
+
1461
+ // GreaterThanOrEqualOperation ///////////////////////////////////////////////
1462
+
1463
+ GreaterThanOrEqualOperation.prototype = new BinaryOperation();
1464
+ GreaterThanOrEqualOperation.prototype.constructor = GreaterThanOrEqualOperation;
1465
+ GreaterThanOrEqualOperation.superclass = BinaryOperation.prototype;
1466
+
1467
+ function GreaterThanOrEqualOperation(lhs, rhs) {
1468
+ if (arguments.length > 0) {
1469
+ this.init(lhs, rhs);
1470
+ }
1471
+ }
1472
+
1473
+ GreaterThanOrEqualOperation.prototype.init = function(lhs, rhs) {
1474
+ GreaterThanOrEqualOperation.superclass.init.call(this, lhs, rhs);
1475
+ };
1476
+
1477
+ GreaterThanOrEqualOperation.prototype.evaluate = function(c) {
1478
+ return this.lhs.evaluate(c).greaterthanorequal(this.rhs.evaluate(c));
1479
+ };
1480
+
1481
+ GreaterThanOrEqualOperation.prototype.toString = function() {
1482
+ return "(" + this.lhs.toString() + " >= " + this.rhs.toString() + ")";
1483
+ };
1484
+
1485
+ // PlusOperation /////////////////////////////////////////////////////////////
1486
+
1487
+ PlusOperation.prototype = new BinaryOperation();
1488
+ PlusOperation.prototype.constructor = PlusOperation;
1489
+ PlusOperation.superclass = BinaryOperation.prototype;
1490
+
1491
+ function PlusOperation(lhs, rhs) {
1492
+ if (arguments.length > 0) {
1493
+ this.init(lhs, rhs);
1494
+ }
1495
+ }
1496
+
1497
+ PlusOperation.prototype.init = function(lhs, rhs) {
1498
+ PlusOperation.superclass.init.call(this, lhs, rhs);
1499
+ };
1500
+
1501
+ PlusOperation.prototype.evaluate = function(c) {
1502
+ return this.lhs.evaluate(c).number().plus(this.rhs.evaluate(c).number());
1503
+ };
1504
+
1505
+ PlusOperation.prototype.toString = function() {
1506
+ return "(" + this.lhs.toString() + " + " + this.rhs.toString() + ")";
1507
+ };
1508
+
1509
+ // MinusOperation ////////////////////////////////////////////////////////////
1510
+
1511
+ MinusOperation.prototype = new BinaryOperation();
1512
+ MinusOperation.prototype.constructor = MinusOperation;
1513
+ MinusOperation.superclass = BinaryOperation.prototype;
1514
+
1515
+ function MinusOperation(lhs, rhs) {
1516
+ if (arguments.length > 0) {
1517
+ this.init(lhs, rhs);
1518
+ }
1519
+ }
1520
+
1521
+ MinusOperation.prototype.init = function(lhs, rhs) {
1522
+ MinusOperation.superclass.init.call(this, lhs, rhs);
1523
+ };
1524
+
1525
+ MinusOperation.prototype.evaluate = function(c) {
1526
+ return this.lhs.evaluate(c).number().minus(this.rhs.evaluate(c).number());
1527
+ };
1528
+
1529
+ MinusOperation.prototype.toString = function() {
1530
+ return "(" + this.lhs.toString() + " - " + this.rhs.toString() + ")";
1531
+ };
1532
+
1533
+ // MultiplyOperation /////////////////////////////////////////////////////////
1534
+
1535
+ MultiplyOperation.prototype = new BinaryOperation();
1536
+ MultiplyOperation.prototype.constructor = MultiplyOperation;
1537
+ MultiplyOperation.superclass = BinaryOperation.prototype;
1538
+
1539
+ function MultiplyOperation(lhs, rhs) {
1540
+ if (arguments.length > 0) {
1541
+ this.init(lhs, rhs);
1542
+ }
1543
+ }
1544
+
1545
+ MultiplyOperation.prototype.init = function(lhs, rhs) {
1546
+ MultiplyOperation.superclass.init.call(this, lhs, rhs);
1547
+ };
1548
+
1549
+ MultiplyOperation.prototype.evaluate = function(c) {
1550
+ return this.lhs.evaluate(c).number().multiply(this.rhs.evaluate(c).number());
1551
+ };
1552
+
1553
+ MultiplyOperation.prototype.toString = function() {
1554
+ return "(" + this.lhs.toString() + " * " + this.rhs.toString() + ")";
1555
+ };
1556
+
1557
+ // DivOperation //////////////////////////////////////////////////////////////
1558
+
1559
+ DivOperation.prototype = new BinaryOperation();
1560
+ DivOperation.prototype.constructor = DivOperation;
1561
+ DivOperation.superclass = BinaryOperation.prototype;
1562
+
1563
+ function DivOperation(lhs, rhs) {
1564
+ if (arguments.length > 0) {
1565
+ this.init(lhs, rhs);
1566
+ }
1567
+ }
1568
+
1569
+ DivOperation.prototype.init = function(lhs, rhs) {
1570
+ DivOperation.superclass.init.call(this, lhs, rhs);
1571
+ };
1572
+
1573
+ DivOperation.prototype.evaluate = function(c) {
1574
+ return this.lhs.evaluate(c).number().div(this.rhs.evaluate(c).number());
1575
+ };
1576
+
1577
+ DivOperation.prototype.toString = function() {
1578
+ return "(" + this.lhs.toString() + " div " + this.rhs.toString() + ")";
1579
+ };
1580
+
1581
+ // ModOperation //////////////////////////////////////////////////////////////
1582
+
1583
+ ModOperation.prototype = new BinaryOperation();
1584
+ ModOperation.prototype.constructor = ModOperation;
1585
+ ModOperation.superclass = BinaryOperation.prototype;
1586
+
1587
+ function ModOperation(lhs, rhs) {
1588
+ if (arguments.length > 0) {
1589
+ this.init(lhs, rhs);
1590
+ }
1591
+ }
1592
+
1593
+ ModOperation.prototype.init = function(lhs, rhs) {
1594
+ ModOperation.superclass.init.call(this, lhs, rhs);
1595
+ };
1596
+
1597
+ ModOperation.prototype.evaluate = function(c) {
1598
+ return this.lhs.evaluate(c).number().mod(this.rhs.evaluate(c).number());
1599
+ };
1600
+
1601
+ ModOperation.prototype.toString = function() {
1602
+ return "(" + this.lhs.toString() + " mod " + this.rhs.toString() + ")";
1603
+ };
1604
+
1605
+ // BarOperation //////////////////////////////////////////////////////////////
1606
+
1607
+ BarOperation.prototype = new BinaryOperation();
1608
+ BarOperation.prototype.constructor = BarOperation;
1609
+ BarOperation.superclass = BinaryOperation.prototype;
1610
+
1611
+ function BarOperation(lhs, rhs) {
1612
+ if (arguments.length > 0) {
1613
+ this.init(lhs, rhs);
1614
+ }
1615
+ }
1616
+
1617
+ BarOperation.prototype.init = function(lhs, rhs) {
1618
+ BarOperation.superclass.init.call(this, lhs, rhs);
1619
+ };
1620
+
1621
+ BarOperation.prototype.evaluate = function(c) {
1622
+ return this.lhs.evaluate(c).nodeset().union(this.rhs.evaluate(c).nodeset());
1623
+ };
1624
+
1625
+ BarOperation.prototype.toString = function() {
1626
+ return this.lhs.toString() + " | " + this.rhs.toString();
1627
+ };
1628
+
1629
+ // PathExpr //////////////////////////////////////////////////////////////////
1630
+
1631
+ PathExpr.prototype = new Expression();
1632
+ PathExpr.prototype.constructor = PathExpr;
1633
+ PathExpr.superclass = Expression.prototype;
1634
+
1635
+ function PathExpr(filter, filterPreds, locpath) {
1636
+ if (arguments.length > 0) {
1637
+ this.init(filter, filterPreds, locpath);
1638
+ }
1639
+ }
1640
+
1641
+ PathExpr.prototype.init = function(filter, filterPreds, locpath) {
1642
+ PathExpr.superclass.init.call(this);
1643
+ this.filter = filter;
1644
+ this.filterPredicates = filterPreds;
1645
+ this.locationPath = locpath;
1646
+ };
1647
+
1648
+ PathExpr.prototype.evaluate = function(c) {
1649
+ var nodes;
1650
+ var xpc = new XPathContext();
1651
+ xpc.variableResolver = c.variableResolver;
1652
+ xpc.functionResolver = c.functionResolver;
1653
+ xpc.namespaceResolver = c.namespaceResolver;
1654
+ xpc.expressionContextNode = c.expressionContextNode;
1655
+ xpc.virtualRoot = c.virtualRoot;
1656
+ xpc.caseInsensitive = c.caseInsensitive;
1657
+ if (this.filter == null) {
1658
+ nodes = [ c.contextNode ];
1659
+ } else {
1660
+ var ns = this.filter.evaluate(c);
1661
+ if (!Utilities.instance_of(ns, XNodeSet)) {
1662
+ if (this.filterPredicates != null && this.filterPredicates.length > 0 || this.locationPath != null) {
1663
+ throw new Error("Path expression filter must evaluate to a nodset if predicates or location path are used");
1664
+ }
1665
+ return ns;
1666
+ }
1667
+ nodes = ns.toArray();
1668
+ if (this.filterPredicates != null) {
1669
+ // apply each of the predicates in turn
1670
+ for (var j = 0; j < this.filterPredicates.length; j++) {
1671
+ var pred = this.filterPredicates[j];
1672
+ var newNodes = [];
1673
+ xpc.contextSize = nodes.length;
1674
+ for (xpc.contextPosition = 1; xpc.contextPosition <= xpc.contextSize; xpc.contextPosition++) {
1675
+ xpc.contextNode = nodes[xpc.contextPosition - 1];
1676
+ if (this.predicateMatches(pred, xpc)) {
1677
+ newNodes.push(xpc.contextNode);
1678
+ }
1679
+ }
1680
+ nodes = newNodes;
1681
+ }
1682
+ }
1683
+ }
1684
+ if (this.locationPath != null) {
1685
+ if (this.locationPath.absolute) {
1686
+ if (nodes[0].nodeType != 9 /*Node.DOCUMENT_NODE*/) {
1687
+ if (xpc.virtualRoot != null) {
1688
+ nodes = [ xpc.virtualRoot ];
1689
+ } else {
1690
+ if (nodes[0].ownerDocument == null) {
1691
+ // IE 5.5 doesn't have ownerDocument?
1692
+ var n = nodes[0];
1693
+ while (n.parentNode != null) {
1694
+ n = n.parentNode;
1695
+ }
1696
+ nodes = [ n ];
1697
+ } else {
1698
+ nodes = [ nodes[0].ownerDocument ];
1699
+ }
1700
+ }
1701
+ } else {
1702
+ nodes = [ nodes[0] ];
1703
+ }
1704
+ }
1705
+ for (var i = 0; i < this.locationPath.steps.length; i++) {
1706
+ var step = this.locationPath.steps[i];
1707
+ var newNodes = [];
1708
+ var newLocalContext = [];
1709
+ for (var j = 0; j < nodes.length; j++) {
1710
+ xpc.contextNode = nodes[j];
1711
+ switch (step.axis) {
1712
+ case Step.ANCESTOR:
1713
+ // look at all the ancestor nodes
1714
+ if (xpc.contextNode === xpc.virtualRoot) {
1715
+ break;
1716
+ }
1717
+ var m;
1718
+ if (xpc.contextNode.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
1719
+ m = this.getOwnerElement(xpc.contextNode);
1720
+ } else {
1721
+ m = xpc.contextNode.parentNode;
1722
+ }
1723
+ while (m != null) {
1724
+ if (step.nodeTest.matches(m, xpc)) {
1725
+ newNodes.push(m);
1726
+ }
1727
+ if (m === xpc.virtualRoot) {
1728
+ break;
1729
+ }
1730
+ m = m.parentNode;
1731
+ }
1732
+ break;
1733
+
1734
+ case Step.ANCESTORORSELF:
1735
+ // look at all the ancestor nodes and the current node
1736
+ for (var m = xpc.contextNode; m != null; m = m.nodeType == 2 /*Node.ATTRIBUTE_NODE*/ ? this.getOwnerElement(m) : m.parentNode) {
1737
+ if (step.nodeTest.matches(m, xpc)) {
1738
+ newNodes.push(m);
1739
+ }
1740
+ if (m === xpc.virtualRoot) {
1741
+ break;
1742
+ }
1743
+ }
1744
+ break;
1745
+
1746
+ case Step.ATTRIBUTE:
1747
+ // look at the attributes
1748
+ var nnm = xpc.contextNode.attributes;
1749
+ if (nnm != null) {
1750
+ for (var k = 0; k < nnm.length; k++) {
1751
+ var m = nnm.item(k);
1752
+ if (step.nodeTest.matches(m, xpc)) {
1753
+ newNodes.push(m);
1754
+ }
1755
+ }
1756
+ }
1757
+ break;
1758
+
1759
+ case Step.CHILD:
1760
+ // look at all child elements
1761
+ var pos = 0
1762
+ var tmpContext = []
1763
+ for (var m = xpc.contextNode.firstChild; m != null; m = m.nextSibling) {
1764
+ if (step.nodeTest.matches(m, xpc)) {
1765
+ newNodes.push(m);
1766
+ //keep track of the element position between other matching siblings
1767
+ tmpContext.push({contextPosition: ++pos});
1768
+ }
1769
+ }
1770
+
1771
+ for (var k=0; k<tmpContext.length; k++) {
1772
+ //track size of matching siblings
1773
+ tmpContext[k].contextSize = pos
1774
+ newLocalContext.push(tmpContext[k])
1775
+ }
1776
+
1777
+ break;
1778
+
1779
+ case Step.DESCENDANT:
1780
+ // look at all descendant nodes
1781
+ var st = [ xpc.contextNode.firstChild ];
1782
+ while (st.length > 0) {
1783
+ for (var m = st.pop(); m != null; ) {
1784
+ if (step.nodeTest.matches(m, xpc)) {
1785
+ newNodes.push(m);
1786
+ }
1787
+ if (m.firstChild != null) {
1788
+ st.push(m.nextSibling);
1789
+ m = m.firstChild;
1790
+ } else {
1791
+ m = m.nextSibling;
1792
+ }
1793
+ }
1794
+ }
1795
+ break;
1796
+
1797
+ case Step.DESCENDANTORSELF:
1798
+ // look at self
1799
+ if (step.nodeTest.matches(xpc.contextNode, xpc)) {
1800
+ newNodes.push(xpc.contextNode);
1801
+ }
1802
+ // look at all descendant nodes
1803
+ var st = [ xpc.contextNode.firstChild ];
1804
+ while (st.length > 0) {
1805
+ for (var m = st.pop(); m != null; ) {
1806
+ if (step.nodeTest.matches(m, xpc)) {
1807
+ newNodes.push(m);
1808
+ }
1809
+ if (m.firstChild != null) {
1810
+ st.push(m.nextSibling);
1811
+ m = m.firstChild;
1812
+ } else {
1813
+ m = m.nextSibling;
1814
+ }
1815
+ }
1816
+ }
1817
+ break;
1818
+
1819
+ case Step.FOLLOWING:
1820
+ if (xpc.contextNode === xpc.virtualRoot) {
1821
+ break;
1822
+ }
1823
+ var st = [];
1824
+ if (xpc.contextNode.firstChild != null) {
1825
+ st.unshift(xpc.contextNode.firstChild);
1826
+ } else {
1827
+ st.unshift(xpc.contextNode.nextSibling);
1828
+ }
1829
+ for (var m = xpc.contextNode; m != null && m.nodeType != 9 /*Node.DOCUMENT_NODE*/ && m !== xpc.virtualRoot; m = m.parentNode) {
1830
+ st.unshift(m.nextSibling);
1831
+ }
1832
+ do {
1833
+ for (var m = st.pop(); m != null; ) {
1834
+ if (step.nodeTest.matches(m, xpc)) {
1835
+ newNodes.push(m);
1836
+ }
1837
+ if (m.firstChild != null) {
1838
+ st.push(m.nextSibling);
1839
+ m = m.firstChild;
1840
+ } else {
1841
+ m = m.nextSibling;
1842
+ }
1843
+ }
1844
+ } while (st.length > 0);
1845
+ break;
1846
+
1847
+ case Step.FOLLOWINGSIBLING:
1848
+ if (xpc.contextNode === xpc.virtualRoot) {
1849
+ break;
1850
+ }
1851
+ for (var m = xpc.contextNode.nextSibling; m != null; m = m.nextSibling) {
1852
+ if (step.nodeTest.matches(m, xpc)) {
1853
+ newNodes.push(m);
1854
+ }
1855
+ }
1856
+ break;
1857
+
1858
+ case Step.NAMESPACE:
1859
+ var n = {};
1860
+ if (xpc.contextNode.nodeType == 1 /*Node.ELEMENT_NODE*/) {
1861
+ n["xml"] = XPath.XML_NAMESPACE_URI;
1862
+ n["xmlns"] = XPath.XMLNS_NAMESPACE_URI;
1863
+ for (var m = xpc.contextNode; m != null && m.nodeType == 1 /*Node.ELEMENT_NODE*/; m = m.parentNode) {
1864
+ for (var k = 0; k < m.attributes.length; k++) {
1865
+ var attr = m.attributes.item(k);
1866
+ var nm = String(attr.name);
1867
+ if (nm == "xmlns") {
1868
+ if (n[""] == undefined) {
1869
+ n[""] = attr.value;
1870
+ }
1871
+ } else if (nm.length > 6 && nm.substring(0, 6) == "xmlns:") {
1872
+ var pre = nm.substring(6, nm.length);
1873
+ if (n[pre] == undefined) {
1874
+ n[pre] = attr.value;
1875
+ }
1876
+ }
1877
+ }
1878
+ }
1879
+ for (var pre in n) {
1880
+ var nsn = new NamespaceNode(pre, n[pre], xpc.contextNode);
1881
+ if (step.nodeTest.matches(nsn, xpc)) {
1882
+ newNodes.push(nsn);
1883
+ }
1884
+ }
1885
+ }
1886
+ break;
1887
+
1888
+ case Step.PARENT:
1889
+ m = null;
1890
+ if (xpc.contextNode !== xpc.virtualRoot) {
1891
+ if (xpc.contextNode.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
1892
+ m = this.getOwnerElement(xpc.contextNode);
1893
+ } else {
1894
+ m = xpc.contextNode.parentNode;
1895
+ }
1896
+ }
1897
+ if (m != null && step.nodeTest.matches(m, xpc)) {
1898
+ newNodes.push(m);
1899
+ }
1900
+ break;
1901
+
1902
+ case Step.PRECEDING:
1903
+ var st;
1904
+ if (xpc.virtualRoot != null) {
1905
+ st = [ xpc.virtualRoot ];
1906
+ } else {
1907
+ st = xpc.contextNode.nodeType == 9 /*Node.DOCUMENT_NODE*/
1908
+ ? [ xpc.contextNode ]
1909
+ : [ xpc.contextNode.ownerDocument ];
1910
+ }
1911
+ outer: while (st.length > 0) {
1912
+ for (var m = st.pop(); m != null; ) {
1913
+ if (m == xpc.contextNode) {
1914
+ break outer;
1915
+ }
1916
+ if (step.nodeTest.matches(m, xpc)) {
1917
+ newNodes.unshift(m);
1918
+ }
1919
+ if (m.firstChild != null) {
1920
+ st.push(m.nextSibling);
1921
+ m = m.firstChild;
1922
+ } else {
1923
+ m = m.nextSibling;
1924
+ }
1925
+ }
1926
+ }
1927
+ break;
1928
+
1929
+ case Step.PRECEDINGSIBLING:
1930
+ if (xpc.contextNode === xpc.virtualRoot) {
1931
+ break;
1932
+ }
1933
+ for (var m = xpc.contextNode.previousSibling; m != null; m = m.previousSibling) {
1934
+ if (step.nodeTest.matches(m, xpc)) {
1935
+ newNodes.push(m);
1936
+ }
1937
+ }
1938
+ break;
1939
+
1940
+ case Step.SELF:
1941
+ if (step.nodeTest.matches(xpc.contextNode, xpc)) {
1942
+ newNodes.push(xpc.contextNode);
1943
+ }
1944
+ break;
1945
+
1946
+ default:
1947
+ }
1948
+ }
1949
+ nodes = newNodes;
1950
+ // apply each of the predicates in turn
1951
+ for (var j = 0; j < step.predicates.length; j++) {
1952
+ var pred = step.predicates[j];
1953
+ var newNodes = [];
1954
+ xpc.contextSize = nodes.length;
1955
+ for (xpc.contextPosition = 1; xpc.contextPosition <= xpc.contextSize; xpc.contextPosition++) {
1956
+ xpc.contextNode = nodes[xpc.contextPosition - 1];
1957
+ //if we keep track of the node original context then use it
1958
+ //end goal is to always use original cotnext, now implemented just for CHILD axis
1959
+ var localCtx = newLocalContext.length>0?this.getLocalCtx(xpc, newLocalContext[xpc.contextPosition-1]):xpc
1960
+ if (this.predicateMatches(pred, localCtx)) {
1961
+ newNodes.push(xpc.contextNode);
1962
+ } else {
1963
+ }
1964
+ }
1965
+ nodes = newNodes;
1966
+ //console.log(nodes.length)
1967
+ }
1968
+ }
1969
+ }
1970
+ var ns = new XNodeSet();
1971
+ ns.addArray(nodes);
1972
+ return ns;
1973
+ };
1974
+
1975
+ PathExpr.prototype.getLocalCtx = function(xpc, localCtx, length) {
1976
+ var res = new XPathContext();
1977
+ res.variableResolver = xpc.variableResolver;
1978
+ res.functionResolver = xpc.functionResolver;
1979
+ res.namespaceResolver = xpc.namespaceResolver;
1980
+ res.expressionContextNode = xpc.expressionContextNode;
1981
+ res.virtualRoot = xpc.virtualRoot;
1982
+ res.caseInsensitive = xpc.caseInsensitive;
1983
+ res.contextNode = xpc.contextNode;
1984
+ res.contextPosition = localCtx.contextPosition;
1985
+ res.contextSize = localCtx.contextSize;
1986
+ return res;
1987
+ };
1988
+
1989
+ PathExpr.prototype.predicateMatches = function(pred, c) {
1990
+ var res = pred.evaluate(c);
1991
+ if (Utilities.instance_of(res, XNumber)) {
1992
+ var val = c.contextPosition == res.numberValue()
1993
+ return val;
1994
+ }
1995
+ return res.booleanValue();
1996
+ };
1997
+
1998
+ PathExpr.prototype.toString = function() {
1999
+ if (this.filter != undefined) {
2000
+ var s = this.filter.toString();
2001
+ if (Utilities.instance_of(this.filter, XString)) {
2002
+ s = "'" + s + "'";
2003
+ }
2004
+ if (this.filterPredicates != undefined) {
2005
+ for (var i = 0; i < this.filterPredicates.length; i++) {
2006
+ s = s + "[" + this.filterPredicates[i].toString() + "]";
2007
+ }
2008
+ }
2009
+ if (this.locationPath != undefined) {
2010
+ if (!this.locationPath.absolute) {
2011
+ s += "/";
2012
+ }
2013
+ s += this.locationPath.toString();
2014
+ }
2015
+ return s;
2016
+ }
2017
+ return this.locationPath.toString();
2018
+ };
2019
+
2020
+ PathExpr.prototype.getOwnerElement = function(n) {
2021
+ // DOM 2 has ownerElement
2022
+ if (n.ownerElement) {
2023
+ return n.ownerElement;
2024
+ }
2025
+ // DOM 1 Internet Explorer can use selectSingleNode (ironically)
2026
+ try {
2027
+ if (n.selectSingleNode) {
2028
+ return n.selectSingleNode("..");
2029
+ }
2030
+ } catch (e) {
2031
+ }
2032
+ // Other DOM 1 implementations must use this egregious search
2033
+ var doc = n.nodeType == 9 /*Node.DOCUMENT_NODE*/
2034
+ ? n
2035
+ : n.ownerDocument;
2036
+ var elts = doc.getElementsByTagName("*");
2037
+ for (var i = 0; i < elts.length; i++) {
2038
+ var elt = elts.item(i);
2039
+ var nnm = elt.attributes;
2040
+ for (var j = 0; j < nnm.length; j++) {
2041
+ var an = nnm.item(j);
2042
+ if (an === n) {
2043
+ return elt;
2044
+ }
2045
+ }
2046
+ }
2047
+ return null;
2048
+ };
2049
+
2050
+ // LocationPath //////////////////////////////////////////////////////////////
2051
+
2052
+ LocationPath.prototype = new Object();
2053
+ LocationPath.prototype.constructor = LocationPath;
2054
+ LocationPath.superclass = Object.prototype;
2055
+
2056
+ function LocationPath(abs, steps) {
2057
+ if (arguments.length > 0) {
2058
+ this.init(abs, steps);
2059
+ }
2060
+ }
2061
+
2062
+ LocationPath.prototype.init = function(abs, steps) {
2063
+ this.absolute = abs;
2064
+ this.steps = steps;
2065
+ };
2066
+
2067
+ LocationPath.prototype.toString = function() {
2068
+ var s;
2069
+ if (this.absolute) {
2070
+ s = "/";
2071
+ } else {
2072
+ s = "";
2073
+ }
2074
+ for (var i = 0; i < this.steps.length; i++) {
2075
+ if (i != 0) {
2076
+ s += "/";
2077
+ }
2078
+ s += this.steps[i].toString();
2079
+ }
2080
+ return s;
2081
+ };
2082
+
2083
+ // Step //////////////////////////////////////////////////////////////////////
2084
+
2085
+ Step.prototype = new Object();
2086
+ Step.prototype.constructor = Step;
2087
+ Step.superclass = Object.prototype;
2088
+
2089
+ function Step(axis, nodetest, preds) {
2090
+ if (arguments.length > 0) {
2091
+ this.init(axis, nodetest, preds);
2092
+ }
2093
+ }
2094
+
2095
+ Step.prototype.init = function(axis, nodetest, preds) {
2096
+ this.axis = axis;
2097
+ this.nodeTest = nodetest;
2098
+ this.predicates = preds;
2099
+ };
2100
+
2101
+ Step.prototype.toString = function() {
2102
+ var s;
2103
+ switch (this.axis) {
2104
+ case Step.ANCESTOR:
2105
+ s = "ancestor";
2106
+ break;
2107
+ case Step.ANCESTORORSELF:
2108
+ s = "ancestor-or-self";
2109
+ break;
2110
+ case Step.ATTRIBUTE:
2111
+ s = "attribute";
2112
+ break;
2113
+ case Step.CHILD:
2114
+ s = "child";
2115
+ break;
2116
+ case Step.DESCENDANT:
2117
+ s = "descendant";
2118
+ break;
2119
+ case Step.DESCENDANTORSELF:
2120
+ s = "descendant-or-self";
2121
+ break;
2122
+ case Step.FOLLOWING:
2123
+ s = "following";
2124
+ break;
2125
+ case Step.FOLLOWINGSIBLING:
2126
+ s = "following-sibling";
2127
+ break;
2128
+ case Step.NAMESPACE:
2129
+ s = "namespace";
2130
+ break;
2131
+ case Step.PARENT:
2132
+ s = "parent";
2133
+ break;
2134
+ case Step.PRECEDING:
2135
+ s = "preceding";
2136
+ break;
2137
+ case Step.PRECEDINGSIBLING:
2138
+ s = "preceding-sibling";
2139
+ break;
2140
+ case Step.SELF:
2141
+ s = "self";
2142
+ break;
2143
+ }
2144
+ s += "::";
2145
+ s += this.nodeTest.toString();
2146
+ for (var i = 0; i < this.predicates.length; i++) {
2147
+ s += "[" + this.predicates[i].toString() + "]";
2148
+ }
2149
+ return s;
2150
+ };
2151
+
2152
+ Step.ANCESTOR = 0;
2153
+ Step.ANCESTORORSELF = 1;
2154
+ Step.ATTRIBUTE = 2;
2155
+ Step.CHILD = 3;
2156
+ Step.DESCENDANT = 4;
2157
+ Step.DESCENDANTORSELF = 5;
2158
+ Step.FOLLOWING = 6;
2159
+ Step.FOLLOWINGSIBLING = 7;
2160
+ Step.NAMESPACE = 8;
2161
+ Step.PARENT = 9;
2162
+ Step.PRECEDING = 10;
2163
+ Step.PRECEDINGSIBLING = 11;
2164
+ Step.SELF = 12;
2165
+
2166
+ // NodeTest //////////////////////////////////////////////////////////////////
2167
+
2168
+ NodeTest.prototype = new Object();
2169
+ NodeTest.prototype.constructor = NodeTest;
2170
+ NodeTest.superclass = Object.prototype;
2171
+
2172
+ function NodeTest(type, value) {
2173
+ if (arguments.length > 0) {
2174
+ this.init(type, value);
2175
+ }
2176
+ }
2177
+
2178
+ NodeTest.prototype.init = function(type, value) {
2179
+ this.type = type;
2180
+ this.value = value;
2181
+ };
2182
+
2183
+ NodeTest.prototype.toString = function() {
2184
+ switch (this.type) {
2185
+ case NodeTest.NAMETESTANY:
2186
+ return "*";
2187
+ case NodeTest.NAMETESTPREFIXANY:
2188
+ return this.value + ":*";
2189
+ case NodeTest.NAMETESTRESOLVEDANY:
2190
+ return "{" + this.value + "}*";
2191
+ case NodeTest.NAMETESTQNAME:
2192
+ return this.value;
2193
+ case NodeTest.NAMETESTRESOLVEDNAME:
2194
+ return "{" + this.namespaceURI + "}" + this.value;
2195
+ case NodeTest.COMMENT:
2196
+ return "comment()";
2197
+ case NodeTest.TEXT:
2198
+ return "text()";
2199
+ case NodeTest.PI:
2200
+ if (this.value != undefined) {
2201
+ return "processing-instruction(\"" + this.value + "\")";
2202
+ }
2203
+ return "processing-instruction()";
2204
+ case NodeTest.NODE:
2205
+ return "node()";
2206
+ }
2207
+ return "<unknown nodetest type>";
2208
+ };
2209
+
2210
+ NodeTest.prototype.matches = function(n, xpc) {
2211
+ switch (this.type) {
2212
+ case NodeTest.NAMETESTANY:
2213
+ if (n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/
2214
+ || n.nodeType == 1 /*Node.ELEMENT_NODE*/
2215
+ || n.nodeType == XPathNamespace.XPATH_NAMESPACE_NODE) {
2216
+ return true;
2217
+ }
2218
+ return false;
2219
+ case NodeTest.NAMETESTPREFIXANY:
2220
+ if ((n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/ || n.nodeType == 1 /*Node.ELEMENT_NODE*/)) {
2221
+ var ns = xpc.namespaceResolver.getNamespace(this.value, xpc.expressionContextNode);
2222
+ if (ns == null) {
2223
+ throw new Error("Cannot resolve QName " + this.value);
2224
+ }
2225
+ return true;
2226
+ }
2227
+ return false;
2228
+ case NodeTest.NAMETESTQNAME:
2229
+ if (n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/
2230
+ || n.nodeType == 1 /*Node.ELEMENT_NODE*/
2231
+ || n.nodeType == XPathNamespace.XPATH_NAMESPACE_NODE) {
2232
+ var test = Utilities.resolveQName(this.value, xpc.namespaceResolver, xpc.expressionContextNode, false);
2233
+ if (test[0] == null) {
2234
+ throw new Error("Cannot resolve QName " + this.value);
2235
+ }
2236
+ test[0] = String(test[0]);
2237
+ test[1] = String(test[1]);
2238
+ if (test[0] == "") {
2239
+ test[0] = null;
2240
+ }
2241
+ var node = Utilities.resolveQName(n.nodeName, xpc.namespaceResolver, n, n.nodeType == 1 /*Node.ELEMENT_NODE*/);
2242
+ node[0] = String(node[0]);
2243
+ node[1] = String(node[1]);
2244
+ if (node[0] == "") {
2245
+ node[0] = null;
2246
+ }
2247
+ if (xpc.caseInsensitive) {
2248
+ return test[0] == node[0] && String(test[1]).toLowerCase() == String(node[1]).toLowerCase();
2249
+ }
2250
+ return test[0] == node[0] && test[1] == node[1];
2251
+ }
2252
+ return false;
2253
+ case NodeTest.COMMENT:
2254
+ return n.nodeType == 8 /*Node.COMMENT_NODE*/;
2255
+ case NodeTest.TEXT:
2256
+ return n.nodeType == 3 /*Node.TEXT_NODE*/ || n.nodeType == 4 /*Node.CDATA_SECTION_NODE*/;
2257
+ case NodeTest.PI:
2258
+ return n.nodeType == 7 /*Node.PROCESSING_INSTRUCTION_NODE*/
2259
+ && (this.value == null || n.nodeName == this.value);
2260
+ case NodeTest.NODE:
2261
+ return n.nodeType == 9 /*Node.DOCUMENT_NODE*/
2262
+ || n.nodeType == 1 /*Node.ELEMENT_NODE*/
2263
+ || n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/
2264
+ || n.nodeType == 3 /*Node.TEXT_NODE*/
2265
+ || n.nodeType == 4 /*Node.CDATA_SECTION_NODE*/
2266
+ || n.nodeType == 8 /*Node.COMMENT_NODE*/
2267
+ || n.nodeType == 7 /*Node.PROCESSING_INSTRUCTION_NODE*/;
2268
+ }
2269
+ return false;
2270
+ };
2271
+
2272
+ NodeTest.NAMETESTANY = 0;
2273
+ NodeTest.NAMETESTPREFIXANY = 1;
2274
+ NodeTest.NAMETESTQNAME = 2;
2275
+ NodeTest.COMMENT = 3;
2276
+ NodeTest.TEXT = 4;
2277
+ NodeTest.PI = 5;
2278
+ NodeTest.NODE = 6;
2279
+
2280
+ // VariableReference /////////////////////////////////////////////////////////
2281
+
2282
+ VariableReference.prototype = new Expression();
2283
+ VariableReference.prototype.constructor = VariableReference;
2284
+ VariableReference.superclass = Expression.prototype;
2285
+
2286
+ function VariableReference(v) {
2287
+ if (arguments.length > 0) {
2288
+ this.init(v);
2289
+ }
2290
+ }
2291
+
2292
+ VariableReference.prototype.init = function(v) {
2293
+ this.variable = v;
2294
+ };
2295
+
2296
+ VariableReference.prototype.toString = function() {
2297
+ return "$" + this.variable;
2298
+ };
2299
+
2300
+ VariableReference.prototype.evaluate = function(c) {
2301
+ return c.variableResolver.getVariable(this.variable, c);
2302
+ };
2303
+
2304
+ // FunctionCall //////////////////////////////////////////////////////////////
2305
+
2306
+ FunctionCall.prototype = new Expression();
2307
+ FunctionCall.prototype.constructor = FunctionCall;
2308
+ FunctionCall.superclass = Expression.prototype;
2309
+
2310
+ function FunctionCall(fn, args) {
2311
+ if (arguments.length > 0) {
2312
+ this.init(fn, args);
2313
+ }
2314
+ }
2315
+
2316
+ FunctionCall.prototype.init = function(fn, args) {
2317
+ this.functionName = fn;
2318
+ this.arguments = args;
2319
+ };
2320
+
2321
+ FunctionCall.prototype.toString = function() {
2322
+ var s = this.functionName + "(";
2323
+ for (var i = 0; i < this.arguments.length; i++) {
2324
+ if (i > 0) {
2325
+ s += ", ";
2326
+ }
2327
+ s += this.arguments[i].toString();
2328
+ }
2329
+ return s + ")";
2330
+ };
2331
+
2332
+ FunctionCall.prototype.evaluate = function(c) {
2333
+ var f = c.functionResolver.getFunction(this.functionName, c);
2334
+ if (f == undefined) {
2335
+ throw new Error("Unknown function " + this.functionName);
2336
+ }
2337
+ var a = [c].concat(this.arguments);
2338
+ return f.apply(c.functionResolver.thisArg, a);
2339
+ };
2340
+
2341
+ // XString ///////////////////////////////////////////////////////////////////
2342
+
2343
+ XString.prototype = new Expression();
2344
+ XString.prototype.constructor = XString;
2345
+ XString.superclass = Expression.prototype;
2346
+
2347
+ function XString(s) {
2348
+ if (arguments.length > 0) {
2349
+ this.init(s);
2350
+ }
2351
+ }
2352
+
2353
+ XString.prototype.init = function(s) {
2354
+ this.str = s;
2355
+ };
2356
+
2357
+ XString.prototype.toString = function() {
2358
+ return this.str;
2359
+ };
2360
+
2361
+ XString.prototype.evaluate = function(c) {
2362
+ return this;
2363
+ };
2364
+
2365
+ XString.prototype.string = function() {
2366
+ return this;
2367
+ };
2368
+
2369
+ XString.prototype.number = function() {
2370
+ return new XNumber(this.str);
2371
+ };
2372
+
2373
+ XString.prototype.bool = function() {
2374
+ return new XBoolean(this.str);
2375
+ };
2376
+
2377
+ XString.prototype.nodeset = function() {
2378
+ throw new Error("Cannot convert string to nodeset");
2379
+ };
2380
+
2381
+ XString.prototype.stringValue = function() {
2382
+ return this.str;
2383
+ };
2384
+
2385
+ XString.prototype.numberValue = function() {
2386
+ return this.number().numberValue();
2387
+ };
2388
+
2389
+ XString.prototype.booleanValue = function() {
2390
+ return this.bool().booleanValue();
2391
+ };
2392
+
2393
+ XString.prototype.equals = function(r) {
2394
+ if (Utilities.instance_of(r, XBoolean)) {
2395
+ return this.bool().equals(r);
2396
+ }
2397
+ if (Utilities.instance_of(r, XNumber)) {
2398
+ return this.number().equals(r);
2399
+ }
2400
+ if (Utilities.instance_of(r, XNodeSet)) {
2401
+ return r.compareWithString(this, Operators.equals);
2402
+ }
2403
+ return new XBoolean(this.str == r.str);
2404
+ };
2405
+
2406
+ XString.prototype.notequal = function(r) {
2407
+ if (Utilities.instance_of(r, XBoolean)) {
2408
+ return this.bool().notequal(r);
2409
+ }
2410
+ if (Utilities.instance_of(r, XNumber)) {
2411
+ return this.number().notequal(r);
2412
+ }
2413
+ if (Utilities.instance_of(r, XNodeSet)) {
2414
+ return r.compareWithString(this, Operators.notequal);
2415
+ }
2416
+ return new XBoolean(this.str != r.str);
2417
+ };
2418
+
2419
+ XString.prototype.lessthan = function(r) {
2420
+ if (Utilities.instance_of(r, XNodeSet)) {
2421
+ return r.compareWithNumber(this.number(), Operators.greaterthanorequal);
2422
+ }
2423
+ return this.number().lessthan(r.number());
2424
+ };
2425
+
2426
+ XString.prototype.greaterthan = function(r) {
2427
+ if (Utilities.instance_of(r, XNodeSet)) {
2428
+ return r.compareWithNumber(this.number(), Operators.lessthanorequal);
2429
+ }
2430
+ return this.number().greaterthan(r.number());
2431
+ };
2432
+
2433
+ XString.prototype.lessthanorequal = function(r) {
2434
+ if (Utilities.instance_of(r, XNodeSet)) {
2435
+ return r.compareWithNumber(this.number(), Operators.greaterthan);
2436
+ }
2437
+ return this.number().lessthanorequal(r.number());
2438
+ };
2439
+
2440
+ XString.prototype.greaterthanorequal = function(r) {
2441
+ if (Utilities.instance_of(r, XNodeSet)) {
2442
+ return r.compareWithNumber(this.number(), Operators.lessthan);
2443
+ }
2444
+ return this.number().greaterthanorequal(r.number());
2445
+ };
2446
+
2447
+ // XNumber ///////////////////////////////////////////////////////////////////
2448
+
2449
+ XNumber.prototype = new Expression();
2450
+ XNumber.prototype.constructor = XNumber;
2451
+ XNumber.superclass = Expression.prototype;
2452
+
2453
+ function XNumber(n) {
2454
+ if (arguments.length > 0) {
2455
+ this.init(n);
2456
+ }
2457
+ }
2458
+
2459
+ XNumber.prototype.init = function(n) {
2460
+ this.num = Number(n);
2461
+ };
2462
+
2463
+ XNumber.prototype.toString = function() {
2464
+ return this.num;
2465
+ };
2466
+
2467
+ XNumber.prototype.evaluate = function(c) {
2468
+ return this;
2469
+ };
2470
+
2471
+ XNumber.prototype.string = function() {
2472
+ return new XString(this.num);
2473
+ };
2474
+
2475
+ XNumber.prototype.number = function() {
2476
+ return this;
2477
+ };
2478
+
2479
+ XNumber.prototype.bool = function() {
2480
+ return new XBoolean(this.num);
2481
+ };
2482
+
2483
+ XNumber.prototype.nodeset = function() {
2484
+ throw new Error("Cannot convert number to nodeset");
2485
+ };
2486
+
2487
+ XNumber.prototype.stringValue = function() {
2488
+ return this.string().stringValue();
2489
+ };
2490
+
2491
+ XNumber.prototype.numberValue = function() {
2492
+ return this.num;
2493
+ };
2494
+
2495
+ XNumber.prototype.booleanValue = function() {
2496
+ return this.bool().booleanValue();
2497
+ };
2498
+
2499
+ XNumber.prototype.negate = function() {
2500
+ return new XNumber(-this.num);
2501
+ };
2502
+
2503
+ XNumber.prototype.equals = function(r) {
2504
+ if (Utilities.instance_of(r, XBoolean)) {
2505
+ return this.bool().equals(r);
2506
+ }
2507
+ if (Utilities.instance_of(r, XString)) {
2508
+ return this.equals(r.number());
2509
+ }
2510
+ if (Utilities.instance_of(r, XNodeSet)) {
2511
+ return r.compareWithNumber(this, Operators.equals);
2512
+ }
2513
+ return new XBoolean(this.num == r.num);
2514
+ };
2515
+
2516
+ XNumber.prototype.notequal = function(r) {
2517
+ if (Utilities.instance_of(r, XBoolean)) {
2518
+ return this.bool().notequal(r);
2519
+ }
2520
+ if (Utilities.instance_of(r, XString)) {
2521
+ return this.notequal(r.number());
2522
+ }
2523
+ if (Utilities.instance_of(r, XNodeSet)) {
2524
+ return r.compareWithNumber(this, Operators.notequal);
2525
+ }
2526
+ return new XBoolean(this.num != r.num);
2527
+ };
2528
+
2529
+ XNumber.prototype.lessthan = function(r) {
2530
+ if (Utilities.instance_of(r, XNodeSet)) {
2531
+ return r.compareWithNumber(this, Operators.greaterthanorequal);
2532
+ }
2533
+ if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
2534
+ return this.lessthan(r.number());
2535
+ }
2536
+ return new XBoolean(this.num < r.num);
2537
+ };
2538
+
2539
+ XNumber.prototype.greaterthan = function(r) {
2540
+ if (Utilities.instance_of(r, XNodeSet)) {
2541
+ return r.compareWithNumber(this, Operators.lessthanorequal);
2542
+ }
2543
+ if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
2544
+ return this.greaterthan(r.number());
2545
+ }
2546
+ return new XBoolean(this.num > r.num);
2547
+ };
2548
+
2549
+ XNumber.prototype.lessthanorequal = function(r) {
2550
+ if (Utilities.instance_of(r, XNodeSet)) {
2551
+ return r.compareWithNumber(this, Operators.greaterthan);
2552
+ }
2553
+ if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
2554
+ return this.lessthanorequal(r.number());
2555
+ }
2556
+ return new XBoolean(this.num <= r.num);
2557
+ };
2558
+
2559
+ XNumber.prototype.greaterthanorequal = function(r) {
2560
+ if (Utilities.instance_of(r, XNodeSet)) {
2561
+ return r.compareWithNumber(this, Operators.lessthan);
2562
+ }
2563
+ if (Utilities.instance_of(r, XBoolean) || Utilities.instance_of(r, XString)) {
2564
+ return this.greaterthanorequal(r.number());
2565
+ }
2566
+ return new XBoolean(this.num >= r.num);
2567
+ };
2568
+
2569
+ XNumber.prototype.plus = function(r) {
2570
+ return new XNumber(this.num + r.num);
2571
+ };
2572
+
2573
+ XNumber.prototype.minus = function(r) {
2574
+ return new XNumber(this.num - r.num);
2575
+ };
2576
+
2577
+ XNumber.prototype.multiply = function(r) {
2578
+ return new XNumber(this.num * r.num);
2579
+ };
2580
+
2581
+ XNumber.prototype.div = function(r) {
2582
+ return new XNumber(this.num / r.num);
2583
+ };
2584
+
2585
+ XNumber.prototype.mod = function(r) {
2586
+ return new XNumber(this.num % r.num);
2587
+ };
2588
+
2589
+ // XBoolean //////////////////////////////////////////////////////////////////
2590
+
2591
+ XBoolean.prototype = new Expression();
2592
+ XBoolean.prototype.constructor = XBoolean;
2593
+ XBoolean.superclass = Expression.prototype;
2594
+
2595
+ function XBoolean(b) {
2596
+ if (arguments.length > 0) {
2597
+ this.init(b);
2598
+ }
2599
+ }
2600
+
2601
+ XBoolean.prototype.init = function(b) {
2602
+ this.b = Boolean(b);
2603
+ };
2604
+
2605
+ XBoolean.prototype.toString = function() {
2606
+ return this.b.toString();
2607
+ };
2608
+
2609
+ XBoolean.prototype.evaluate = function(c) {
2610
+ return this;
2611
+ };
2612
+
2613
+ XBoolean.prototype.string = function() {
2614
+ return new XString(this.b);
2615
+ };
2616
+
2617
+ XBoolean.prototype.number = function() {
2618
+ return new XNumber(this.b);
2619
+ };
2620
+
2621
+ XBoolean.prototype.bool = function() {
2622
+ return this;
2623
+ };
2624
+
2625
+ XBoolean.prototype.nodeset = function() {
2626
+ throw new Error("Cannot convert boolean to nodeset");
2627
+ };
2628
+
2629
+ XBoolean.prototype.stringValue = function() {
2630
+ return this.string().stringValue();
2631
+ };
2632
+
2633
+ XBoolean.prototype.numberValue = function() {
2634
+ return this.num().numberValue();
2635
+ };
2636
+
2637
+ XBoolean.prototype.booleanValue = function() {
2638
+ return this.b;
2639
+ };
2640
+
2641
+ XBoolean.prototype.not = function() {
2642
+ return new XBoolean(!this.b);
2643
+ };
2644
+
2645
+ XBoolean.prototype.equals = function(r) {
2646
+ if (Utilities.instance_of(r, XString) || Utilities.instance_of(r, XNumber)) {
2647
+ return this.equals(r.bool());
2648
+ }
2649
+ if (Utilities.instance_of(r, XNodeSet)) {
2650
+ return r.compareWithBoolean(this, Operators.equals);
2651
+ }
2652
+ return new XBoolean(this.b == r.b);
2653
+ };
2654
+
2655
+ XBoolean.prototype.notequal = function(r) {
2656
+ if (Utilities.instance_of(r, XString) || Utilities.instance_of(r, XNumber)) {
2657
+ return this.notequal(r.bool());
2658
+ }
2659
+ if (Utilities.instance_of(r, XNodeSet)) {
2660
+ return r.compareWithBoolean(this, Operators.notequal);
2661
+ }
2662
+ return new XBoolean(this.b != r.b);
2663
+ };
2664
+
2665
+ XBoolean.prototype.lessthan = function(r) {
2666
+ if (Utilities.instance_of(r, XNodeSet)) {
2667
+ return r.compareWithNumber(this.number(), Operators.greaterthanorequal);
2668
+ }
2669
+ return this.number().lessthan(r.number());
2670
+ };
2671
+
2672
+ XBoolean.prototype.greaterthan = function(r) {
2673
+ if (Utilities.instance_of(r, XNodeSet)) {
2674
+ return r.compareWithNumber(this.number(), Operators.lessthanorequal);
2675
+ }
2676
+ return this.number().greaterthan(r.number());
2677
+ };
2678
+
2679
+ XBoolean.prototype.lessthanorequal = function(r) {
2680
+ if (Utilities.instance_of(r, XNodeSet)) {
2681
+ return r.compareWithNumber(this.number(), Operators.greaterthan);
2682
+ }
2683
+ return this.number().lessthanorequal(r.number());
2684
+ };
2685
+
2686
+ XBoolean.prototype.greaterthanorequal = function(r) {
2687
+ if (Utilities.instance_of(r, XNodeSet)) {
2688
+ return r.compareWithNumber(this.number(), Operators.lessthan);
2689
+ }
2690
+ return this.number().greaterthanorequal(r.number());
2691
+ };
2692
+
2693
+ // AVLTree ///////////////////////////////////////////////////////////////////
2694
+
2695
+ AVLTree.prototype = new Object();
2696
+ AVLTree.prototype.constructor = AVLTree;
2697
+ AVLTree.superclass = Object.prototype;
2698
+
2699
+ function AVLTree(n) {
2700
+ this.init(n);
2701
+ }
2702
+
2703
+ AVLTree.prototype.init = function(n) {
2704
+ this.left = null;
2705
+ this.right = null;
2706
+ this.node = n;
2707
+ this.depth = 1;
2708
+ };
2709
+
2710
+ AVLTree.prototype.balance = function() {
2711
+ var ldepth = this.left == null ? 0 : this.left.depth;
2712
+ var rdepth = this.right == null ? 0 : this.right.depth;
2713
+
2714
+ if (ldepth > rdepth + 1) {
2715
+ // LR or LL rotation
2716
+ var lldepth = this.left.left == null ? 0 : this.left.left.depth;
2717
+ var lrdepth = this.left.right == null ? 0 : this.left.right.depth;
2718
+
2719
+ if (lldepth < lrdepth) {
2720
+ // LR rotation consists of a RR rotation of the left child
2721
+ this.left.rotateRR();
2722
+ // plus a LL rotation of this node, which happens anyway
2723
+ }
2724
+ this.rotateLL();
2725
+ } else if (ldepth + 1 < rdepth) {
2726
+ // RR or RL rorarion
2727
+ var rrdepth = this.right.right == null ? 0 : this.right.right.depth;
2728
+ var rldepth = this.right.left == null ? 0 : this.right.left.depth;
2729
+
2730
+ if (rldepth > rrdepth) {
2731
+ // RR rotation consists of a LL rotation of the right child
2732
+ this.right.rotateLL();
2733
+ // plus a RR rotation of this node, which happens anyway
2734
+ }
2735
+ this.rotateRR();
2736
+ }
2737
+ };
2738
+
2739
+ AVLTree.prototype.rotateLL = function() {
2740
+ // the left side is too long => rotate from the left (_not_ leftwards)
2741
+ var nodeBefore = this.node;
2742
+ var rightBefore = this.right;
2743
+ this.node = this.left.node;
2744
+ this.right = this.left;
2745
+ this.left = this.left.left;
2746
+ this.right.left = this.right.right;
2747
+ this.right.right = rightBefore;
2748
+ this.right.node = nodeBefore;
2749
+ this.right.updateInNewLocation();
2750
+ this.updateInNewLocation();
2751
+ };
2752
+
2753
+ AVLTree.prototype.rotateRR = function() {
2754
+ // the right side is too long => rotate from the right (_not_ rightwards)
2755
+ var nodeBefore = this.node;
2756
+ var leftBefore = this.left;
2757
+ this.node = this.right.node;
2758
+ this.left = this.right;
2759
+ this.right = this.right.right;
2760
+ this.left.right = this.left.left;
2761
+ this.left.left = leftBefore;
2762
+ this.left.node = nodeBefore;
2763
+ this.left.updateInNewLocation();
2764
+ this.updateInNewLocation();
2765
+ };
2766
+
2767
+ AVLTree.prototype.updateInNewLocation = function() {
2768
+ this.getDepthFromChildren();
2769
+ };
2770
+
2771
+ AVLTree.prototype.getDepthFromChildren = function() {
2772
+ this.depth = this.node == null ? 0 : 1;
2773
+ if (this.left != null) {
2774
+ this.depth = this.left.depth + 1;
2775
+ }
2776
+ if (this.right != null && this.depth <= this.right.depth) {
2777
+ this.depth = this.right.depth + 1;
2778
+ }
2779
+ };
2780
+
2781
+ AVLTree.prototype.order = function(n1, n2) {
2782
+ if (n1 === n2) {
2783
+ return 0;
2784
+ }
2785
+ var d1 = 0;
2786
+ var d2 = 0;
2787
+ for (var m1 = n1; m1 != null; m1 = m1.parentNode) {
2788
+ d1++;
2789
+ }
2790
+ for (var m2 = n2; m2 != null; m2 = m2.parentNode) {
2791
+ d2++;
2792
+ }
2793
+ if (d1 > d2) {
2794
+ while (d1 > d2) {
2795
+ n1 = n1.parentNode;
2796
+ d1--;
2797
+ }
2798
+ if (n1 == n2) {
2799
+ return 1;
2800
+ }
2801
+ } else if (d2 > d1) {
2802
+ while (d2 > d1) {
2803
+ n2 = n2.parentNode;
2804
+ d2--;
2805
+ }
2806
+ if (n1 == n2) {
2807
+ return -1;
2808
+ }
2809
+ }
2810
+ while (n1.parentNode != n2.parentNode) {
2811
+ n1 = n1.parentNode;
2812
+ n2 = n2.parentNode;
2813
+ }
2814
+ while (n1.previousSibling != null && n2.previousSibling != null) {
2815
+ n1 = n1.previousSibling;
2816
+ n2 = n2.previousSibling;
2817
+ }
2818
+ if (n1.previousSibling == null) {
2819
+ return -1;
2820
+ }
2821
+ return 1;
2822
+ };
2823
+
2824
+ AVLTree.prototype.add = function(n) {
2825
+ if (n === this.node) {
2826
+ return false;
2827
+ }
2828
+
2829
+ var o = this.order(n, this.node);
2830
+
2831
+ var ret = false;
2832
+ if (o == -1) {
2833
+ if (this.left == null) {
2834
+ this.left = new AVLTree(n);
2835
+ ret = true;
2836
+ } else {
2837
+ ret = this.left.add(n);
2838
+ if (ret) {
2839
+ this.balance();
2840
+ }
2841
+ }
2842
+ } else if (o == 1) {
2843
+ if (this.right == null) {
2844
+ this.right = new AVLTree(n);
2845
+ ret = true;
2846
+ } else {
2847
+ ret = this.right.add(n);
2848
+ if (ret) {
2849
+ this.balance();
2850
+ }
2851
+ }
2852
+ }
2853
+
2854
+ if (ret) {
2855
+ this.getDepthFromChildren();
2856
+ }
2857
+ return ret;
2858
+ };
2859
+
2860
+ // XNodeSet //////////////////////////////////////////////////////////////////
2861
+
2862
+ XNodeSet.prototype = new Expression();
2863
+ XNodeSet.prototype.constructor = XNodeSet;
2864
+ XNodeSet.superclass = Expression.prototype;
2865
+
2866
+ function XNodeSet() {
2867
+ this.init();
2868
+ }
2869
+
2870
+ XNodeSet.prototype.init = function() {
2871
+ this.tree = null;
2872
+ this.size = 0;
2873
+ };
2874
+
2875
+ XNodeSet.prototype.toString = function() {
2876
+ var p = this.first();
2877
+ if (p == null) {
2878
+ return "";
2879
+ }
2880
+ return this.stringForNode(p);
2881
+ };
2882
+
2883
+ XNodeSet.prototype.evaluate = function(c) {
2884
+ return this;
2885
+ };
2886
+
2887
+ XNodeSet.prototype.string = function() {
2888
+ return new XString(this.toString());
2889
+ };
2890
+
2891
+ XNodeSet.prototype.stringValue = function() {
2892
+ return this.toString();
2893
+ };
2894
+
2895
+ XNodeSet.prototype.number = function() {
2896
+ return new XNumber(this.string());
2897
+ };
2898
+
2899
+ XNodeSet.prototype.numberValue = function() {
2900
+ return Number(this.string());
2901
+ };
2902
+
2903
+ XNodeSet.prototype.bool = function() {
2904
+ return new XBoolean(this.tree != null);
2905
+ };
2906
+
2907
+ XNodeSet.prototype.booleanValue = function() {
2908
+ return this.tree != null;
2909
+ };
2910
+
2911
+ XNodeSet.prototype.nodeset = function() {
2912
+ return this;
2913
+ };
2914
+
2915
+ XNodeSet.prototype.stringForNode = function(n) {
2916
+ if (n.nodeType == 9 /*Node.DOCUMENT_NODE*/) {
2917
+ n = n.documentElement;
2918
+ }
2919
+ if (n.nodeType == 1 /*Node.ELEMENT_NODE*/) {
2920
+ return this.stringForNodeRec(n);
2921
+ }
2922
+ if (n.isNamespaceNode) {
2923
+ return n.namespace;
2924
+ }
2925
+ return n.nodeValue;
2926
+ };
2927
+
2928
+ XNodeSet.prototype.stringForNodeRec = function(n) {
2929
+ var s = "";
2930
+ for (var n2 = n.firstChild; n2 != null; n2 = n2.nextSibling) {
2931
+ if (n2.nodeType == 3 /*Node.TEXT_NODE*/) {
2932
+ s += n2.nodeValue;
2933
+ } else if (n2.nodeType == 1 /*Node.ELEMENT_NODE*/) {
2934
+ s += this.stringForNodeRec(n2);
2935
+ }
2936
+ }
2937
+ return s;
2938
+ };
2939
+
2940
+ XNodeSet.prototype.first = function() {
2941
+ var p = this.tree;
2942
+ if (p == null) {
2943
+ return null;
2944
+ }
2945
+ while (p.left != null) {
2946
+ p = p.left;
2947
+ }
2948
+ return p.node;
2949
+ };
2950
+
2951
+ XNodeSet.prototype.add = function(n) {
2952
+ var added;
2953
+ if (this.tree == null) {
2954
+ this.tree = new AVLTree(n);
2955
+ added = true;
2956
+ } else {
2957
+ added = this.tree.add(n);
2958
+ }
2959
+ if (added) {
2960
+ this.size++;
2961
+ }
2962
+ };
2963
+
2964
+ XNodeSet.prototype.addArray = function(ns) {
2965
+ for (var i = 0; i < ns.length; i++) {
2966
+ this.add(ns[i]);
2967
+ }
2968
+ };
2969
+
2970
+ XNodeSet.prototype.toArray = function() {
2971
+ var a = [];
2972
+ this.toArrayRec(this.tree, a);
2973
+ return a;
2974
+ };
2975
+
2976
+ XNodeSet.prototype.toArrayRec = function(t, a) {
2977
+ if (t != null) {
2978
+ this.toArrayRec(t.left, a);
2979
+ a.push(t.node);
2980
+ this.toArrayRec(t.right, a);
2981
+ }
2982
+ };
2983
+
2984
+ XNodeSet.prototype.compareWithString = function(r, o) {
2985
+ var a = this.toArray();
2986
+ for (var i = 0; i < a.length; i++) {
2987
+ var n = a[i];
2988
+ var l = new XString(this.stringForNode(n));
2989
+ var res = o(l, r);
2990
+ if (res.booleanValue()) {
2991
+ return res;
2992
+ }
2993
+ }
2994
+ return new XBoolean(false);
2995
+ };
2996
+
2997
+ XNodeSet.prototype.compareWithNumber = function(r, o) {
2998
+ var a = this.toArray();
2999
+ for (var i = 0; i < a.length; i++) {
3000
+ var n = a[i];
3001
+ var l = new XNumber(this.stringForNode(n));
3002
+ var res = o(l, r);
3003
+ if (res.booleanValue()) {
3004
+ return res;
3005
+ }
3006
+ }
3007
+ return new XBoolean(false);
3008
+ };
3009
+
3010
+ XNodeSet.prototype.compareWithBoolean = function(r, o) {
3011
+ return o(this.bool(), r);
3012
+ };
3013
+
3014
+ XNodeSet.prototype.compareWithNodeSet = function(r, o) {
3015
+ var a = this.toArray();
3016
+ for (var i = 0; i < a.length; i++) {
3017
+ var n = a[i];
3018
+ var l = new XString(this.stringForNode(n));
3019
+ var b = r.toArray();
3020
+ for (var j = 0; j < b.length; j++) {
3021
+ var n2 = b[j];
3022
+ var r = new XString(this.stringForNode(n2));
3023
+ var res = o(l, r);
3024
+ if (res.booleanValue()) {
3025
+ return res;
3026
+ }
3027
+ }
3028
+ }
3029
+ return new XBoolean(false);
3030
+ };
3031
+
3032
+ XNodeSet.prototype.equals = function(r) {
3033
+ if (Utilities.instance_of(r, XString)) {
3034
+ return this.compareWithString(r, Operators.equals);
3035
+ }
3036
+ if (Utilities.instance_of(r, XNumber)) {
3037
+ return this.compareWithNumber(r, Operators.equals);
3038
+ }
3039
+ if (Utilities.instance_of(r, XBoolean)) {
3040
+ return this.compareWithBoolean(r, Operators.equals);
3041
+ }
3042
+ return this.compareWithNodeSet(r, Operators.equals);
3043
+ };
3044
+
3045
+ XNodeSet.prototype.notequal = function(r) {
3046
+ if (Utilities.instance_of(r, XString)) {
3047
+ return this.compareWithString(r, Operators.notequal);
3048
+ }
3049
+ if (Utilities.instance_of(r, XNumber)) {
3050
+ return this.compareWithNumber(r, Operators.notequal);
3051
+ }
3052
+ if (Utilities.instance_of(r, XBoolean)) {
3053
+ return this.compareWithBoolean(r, Operators.notequal);
3054
+ }
3055
+ return this.compareWithNodeSet(r, Operators.notequal);
3056
+ };
3057
+
3058
+ XNodeSet.prototype.lessthan = function(r) {
3059
+ if (Utilities.instance_of(r, XString)) {
3060
+ return this.compareWithNumber(r.number(), Operators.lessthan);
3061
+ }
3062
+ if (Utilities.instance_of(r, XNumber)) {
3063
+ return this.compareWithNumber(r, Operators.lessthan);
3064
+ }
3065
+ if (Utilities.instance_of(r, XBoolean)) {
3066
+ return this.compareWithBoolean(r, Operators.lessthan);
3067
+ }
3068
+ return this.compareWithNodeSet(r, Operators.lessthan);
3069
+ };
3070
+
3071
+ XNodeSet.prototype.greaterthan = function(r) {
3072
+ if (Utilities.instance_of(r, XString)) {
3073
+ return this.compareWithNumber(r.number(), Operators.greaterthan);
3074
+ }
3075
+ if (Utilities.instance_of(r, XNumber)) {
3076
+ return this.compareWithNumber(r, Operators.greaterthan);
3077
+ }
3078
+ if (Utilities.instance_of(r, XBoolean)) {
3079
+ return this.compareWithBoolean(r, Operators.greaterthan);
3080
+ }
3081
+ return this.compareWithNodeSet(r, Operators.greaterthan);
3082
+ };
3083
+
3084
+ XNodeSet.prototype.lessthanorequal = function(r) {
3085
+ if (Utilities.instance_of(r, XString)) {
3086
+ return this.compareWithNumber(r.number(), Operators.lessthanorequal);
3087
+ }
3088
+ if (Utilities.instance_of(r, XNumber)) {
3089
+ return this.compareWithNumber(r, Operators.lessthanorequal);
3090
+ }
3091
+ if (Utilities.instance_of(r, XBoolean)) {
3092
+ return this.compareWithBoolean(r, Operators.lessthanorequal);
3093
+ }
3094
+ return this.compareWithNodeSet(r, Operators.lessthanorequal);
3095
+ };
3096
+
3097
+ XNodeSet.prototype.greaterthanorequal = function(r) {
3098
+ if (Utilities.instance_of(r, XString)) {
3099
+ return this.compareWithNumber(r.number(), Operators.greaterthanorequal);
3100
+ }
3101
+ if (Utilities.instance_of(r, XNumber)) {
3102
+ return this.compareWithNumber(r, Operators.greaterthanorequal);
3103
+ }
3104
+ if (Utilities.instance_of(r, XBoolean)) {
3105
+ return this.compareWithBoolean(r, Operators.greaterthanorequal);
3106
+ }
3107
+ return this.compareWithNodeSet(r, Operators.greaterthanorequal);
3108
+ };
3109
+
3110
+ XNodeSet.prototype.union = function(r) {
3111
+ var ns = new XNodeSet();
3112
+ ns.tree = this.tree;
3113
+ ns.size = this.size;
3114
+ ns.addArray(r.toArray());
3115
+ return ns;
3116
+ };
3117
+
3118
+ // XPathNamespace ////////////////////////////////////////////////////////////
3119
+
3120
+ XPathNamespace.prototype = new Object();
3121
+ XPathNamespace.prototype.constructor = XPathNamespace;
3122
+ XPathNamespace.superclass = Object.prototype;
3123
+
3124
+ function XPathNamespace(pre, ns, p) {
3125
+ this.isXPathNamespace = true;
3126
+ this.ownerDocument = p.ownerDocument;
3127
+ this.nodeName = "#namespace";
3128
+ this.prefix = pre;
3129
+ this.localName = pre;
3130
+ this.namespaceURI = ns;
3131
+ this.nodeValue = ns;
3132
+ this.ownerElement = p;
3133
+ this.nodeType = XPathNamespace.XPATH_NAMESPACE_NODE;
3134
+ }
3135
+
3136
+ XPathNamespace.prototype.toString = function() {
3137
+ return "{ \"" + this.prefix + "\", \"" + this.namespaceURI + "\" }";
3138
+ };
3139
+
3140
+ // Operators /////////////////////////////////////////////////////////////////
3141
+
3142
+ var Operators = new Object();
3143
+
3144
+ Operators.equals = function(l, r) {
3145
+ return l.equals(r);
3146
+ };
3147
+
3148
+ Operators.notequal = function(l, r) {
3149
+ return l.notequal(r);
3150
+ };
3151
+
3152
+ Operators.lessthan = function(l, r) {
3153
+ return l.lessthan(r);
3154
+ };
3155
+
3156
+ Operators.greaterthan = function(l, r) {
3157
+ return l.greaterthan(r);
3158
+ };
3159
+
3160
+ Operators.lessthanorequal = function(l, r) {
3161
+ return l.lessthanorequal(r);
3162
+ };
3163
+
3164
+ Operators.greaterthanorequal = function(l, r) {
3165
+ return l.greaterthanorequal(r);
3166
+ };
3167
+
3168
+ // XPathContext //////////////////////////////////////////////////////////////
3169
+
3170
+ XPathContext.prototype = new Object();
3171
+ XPathContext.prototype.constructor = XPathContext;
3172
+ XPathContext.superclass = Object.prototype;
3173
+
3174
+ function XPathContext(vr, nr, fr) {
3175
+ this.variableResolver = vr != null ? vr : new VariableResolver();
3176
+ this.namespaceResolver = nr != null ? nr : new NamespaceResolver();
3177
+ this.functionResolver = fr != null ? fr : new FunctionResolver();
3178
+ }
3179
+
3180
+ // VariableResolver //////////////////////////////////////////////////////////
3181
+
3182
+ VariableResolver.prototype = new Object();
3183
+ VariableResolver.prototype.constructor = VariableResolver;
3184
+ VariableResolver.superclass = Object.prototype;
3185
+
3186
+ function VariableResolver() {
3187
+ }
3188
+
3189
+ VariableResolver.prototype.getVariable = function(vn, c) {
3190
+ var parts = Utilities.splitQName(vn);
3191
+ if (parts[0] != null) {
3192
+ parts[0] = c.namespaceResolver.getNamespace(parts[0], c.expressionContextNode);
3193
+ if (parts[0] == null) {
3194
+ throw new Error("Cannot resolve QName " + fn);
3195
+ }
3196
+ }
3197
+ return this.getVariableWithName(parts[0], parts[1], c.expressionContextNode);
3198
+ };
3199
+
3200
+ VariableResolver.prototype.getVariableWithName = function(ns, ln, c) {
3201
+ return null;
3202
+ };
3203
+
3204
+ // FunctionResolver //////////////////////////////////////////////////////////
3205
+
3206
+ FunctionResolver.prototype = new Object();
3207
+ FunctionResolver.prototype.constructor = FunctionResolver;
3208
+ FunctionResolver.superclass = Object.prototype;
3209
+
3210
+ function FunctionResolver(thisArg) {
3211
+ this.thisArg = thisArg != null ? thisArg : Functions;
3212
+ this.functions = new Object();
3213
+ this.addStandardFunctions();
3214
+ }
3215
+
3216
+ FunctionResolver.prototype.addStandardFunctions = function() {
3217
+ this.functions["{}last"] = Functions.last;
3218
+ this.functions["{}position"] = Functions.position;
3219
+ this.functions["{}count"] = Functions.count;
3220
+ this.functions["{}id"] = Functions.id;
3221
+ this.functions["{}local-name"] = Functions.localName;
3222
+ this.functions["{}namespace-uri"] = Functions.namespaceURI;
3223
+ this.functions["{}name"] = Functions.name;
3224
+ this.functions["{}string"] = Functions.string;
3225
+ this.functions["{}concat"] = Functions.concat;
3226
+ this.functions["{}starts-with"] = Functions.startsWith;
3227
+ this.functions["{}contains"] = Functions.contains;
3228
+ this.functions["{}substring-before"] = Functions.substringBefore;
3229
+ this.functions["{}substring-after"] = Functions.substringAfter;
3230
+ this.functions["{}substring"] = Functions.substring;
3231
+ this.functions["{}string-length"] = Functions.stringLength;
3232
+ this.functions["{}normalize-space"] = Functions.normalizeSpace;
3233
+ this.functions["{}translate"] = Functions.translate;
3234
+ this.functions["{}boolean"] = Functions.boolean_;
3235
+ this.functions["{}not"] = Functions.not;
3236
+ this.functions["{}true"] = Functions.true_;
3237
+ this.functions["{}false"] = Functions.false_;
3238
+ this.functions["{}lang"] = Functions.lang;
3239
+ this.functions["{}number"] = Functions.number;
3240
+ this.functions["{}sum"] = Functions.sum;
3241
+ this.functions["{}floor"] = Functions.floor;
3242
+ this.functions["{}ceiling"] = Functions.ceiling;
3243
+ this.functions["{}round"] = Functions.round;
3244
+ };
3245
+
3246
+ FunctionResolver.prototype.addFunction = function(ns, ln, f) {
3247
+ this.functions["{" + ns + "}" + ln] = f;
3248
+ };
3249
+
3250
+ FunctionResolver.prototype.getFunction = function(fn, c) {
3251
+ var parts = Utilities.resolveQName(fn, c.namespaceResolver, c.contextNode, false);
3252
+ if (parts[0] == null) {
3253
+ throw new Error("Cannot resolve QName " + fn);
3254
+ }
3255
+ return this.getFunctionWithName(parts[0], parts[1], c.contextNode);
3256
+ };
3257
+
3258
+ FunctionResolver.prototype.getFunctionWithName = function(ns, ln, c) {
3259
+ return this.functions["{" + ns + "}" + ln];
3260
+ };
3261
+
3262
+ // NamespaceResolver /////////////////////////////////////////////////////////
3263
+
3264
+ NamespaceResolver.prototype = new Object();
3265
+ NamespaceResolver.prototype.constructor = NamespaceResolver;
3266
+ NamespaceResolver.superclass = Object.prototype;
3267
+
3268
+ function NamespaceResolver() {
3269
+ }
3270
+
3271
+ NamespaceResolver.prototype.getNamespace = function(prefix, n) {
3272
+ if (prefix == "xml") {
3273
+ return XPath.XML_NAMESPACE_URI;
3274
+ } else if (prefix == "xmlns") {
3275
+ return XPath.XMLNS_NAMESPACE_URI;
3276
+ }
3277
+ if (n.nodeType == 9 /*Node.DOCUMENT_NODE*/) {
3278
+ n = n.documentElement;
3279
+ } else if (n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
3280
+ n = PathExpr.prototype.getOwnerElement(n);
3281
+ } else if (n.nodeType != 1 /*Node.ELEMENT_NODE*/) {
3282
+ n = n.parentNode;
3283
+ }
3284
+ while (n != null && n.nodeType == 1 /*Node.ELEMENT_NODE*/) {
3285
+ var nnm = n.attributes;
3286
+ for (var i = 0; i < nnm.length; i++) {
3287
+ var a = nnm.item(i);
3288
+ var aname = a.nodeName;
3289
+ if (aname == "xmlns" && prefix == ""
3290
+ || aname == "xmlns:" + prefix) {
3291
+ return String(a.nodeValue);
3292
+ }
3293
+ }
3294
+ n = n.parentNode;
3295
+ }
3296
+ return null;
3297
+ };
3298
+
3299
+ // Functions /////////////////////////////////////////////////////////////////
3300
+
3301
+ var Functions = new Object();
3302
+
3303
+ Functions.last = function() {
3304
+ var c = arguments[0];
3305
+ if (arguments.length != 1) {
3306
+ throw new Error("Function last expects ()");
3307
+ }
3308
+ return new XNumber(c.contextSize);
3309
+ };
3310
+
3311
+ Functions.position = function() {
3312
+ var c = arguments[0];
3313
+ if (arguments.length != 1) {
3314
+ throw new Error("Function position expects ()");
3315
+ }
3316
+ return new XNumber(c.contextPosition);
3317
+ };
3318
+
3319
+ Functions.count = function() {
3320
+ var c = arguments[0];
3321
+ var ns;
3322
+ if (arguments.length != 2 || !Utilities.instance_of(ns = arguments[1].evaluate(c), XNodeSet)) {
3323
+ throw new Error("Function count expects (node-set)");
3324
+ }
3325
+ return new XNumber(ns.size);
3326
+ };
3327
+
3328
+ Functions.id = function() {
3329
+ var c = arguments[0];
3330
+ var id;
3331
+ if (arguments.length != 2) {
3332
+ throw new Error("Function id expects (object)");
3333
+ }
3334
+ id = arguments[1].evaluate(c);
3335
+ if (Utilities.instance_of(id, XNodeSet)) {
3336
+ id = id.toArray().join(" ");
3337
+ } else {
3338
+ id = id.stringValue();
3339
+ }
3340
+ var ids = id.split(/[\x0d\x0a\x09\x20]+/);
3341
+ var count = 0;
3342
+ var ns = new XNodeSet();
3343
+ var doc = c.contextNode.nodeType == 9 /*Node.DOCUMENT_NODE*/
3344
+ ? c.contextNode
3345
+ : c.contextNode.ownerDocument;
3346
+ for (var i = 0; i < ids.length; i++) {
3347
+ var n;
3348
+ if (doc.getElementById) {
3349
+ n = doc.getElementById(ids[i]);
3350
+ } else {
3351
+ n = Utilities.getElementById(doc, ids[i]);
3352
+ }
3353
+ if (n != null) {
3354
+ ns.add(n);
3355
+ count++;
3356
+ }
3357
+ }
3358
+ return ns;
3359
+ };
3360
+
3361
+ Functions.localName = function() {
3362
+ var c = arguments[0];
3363
+ var n;
3364
+ if (arguments.length == 1) {
3365
+ n = c.contextNode;
3366
+ } else if (arguments.length == 2) {
3367
+ n = arguments[1].evaluate(c).first();
3368
+ } else {
3369
+ throw new Error("Function local-name expects (node-set?)");
3370
+ }
3371
+ if (n == null) {
3372
+ return new XString("");
3373
+ }
3374
+ return new XString(n.localName ? n.localName : n.baseName);
3375
+ };
3376
+
3377
+ Functions.namespaceURI = function() {
3378
+ var c = arguments[0];
3379
+ var n;
3380
+ if (arguments.length == 1) {
3381
+ n = c.contextNode;
3382
+ } else if (arguments.length == 2) {
3383
+ n = arguments[1].evaluate(c).first();
3384
+ } else {
3385
+ throw new Error("Function namespace-uri expects (node-set?)");
3386
+ }
3387
+ if (n == null) {
3388
+ return new XString("");
3389
+ }
3390
+ return new XString(n.namespaceURI);
3391
+ };
3392
+
3393
+ Functions.name = function() {
3394
+ var c = arguments[0];
3395
+ var n;
3396
+ if (arguments.length == 1) {
3397
+ n = c.contextNode;
3398
+ } else if (arguments.length == 2) {
3399
+ n = arguments[1].evaluate(c).first();
3400
+ } else {
3401
+ throw new Error("Function name expects (node-set?)");
3402
+ }
3403
+ if (n == null) {
3404
+ return new XString("");
3405
+ }
3406
+ if (n.nodeType == 1 /*Node.ELEMENT_NODE*/ || n.nodeType == 2 /*Node.ATTRIBUTE_NODE*/) {
3407
+ return new XString(n.nodeName);
3408
+ } else if (n.localName == null) {
3409
+ return new XString("");
3410
+ } else {
3411
+ return new XString(n.localName);
3412
+ }
3413
+ };
3414
+
3415
+ Functions.string = function() {
3416
+ var c = arguments[0];
3417
+ if (arguments.length == 1) {
3418
+ return XNodeSet.prototype.stringForNode(c.contextNode);
3419
+ } else if (arguments.length == 2) {
3420
+ return arguments[1].evaluate(c).string();
3421
+ }
3422
+ throw new Error("Function string expects (object?)");
3423
+ };
3424
+
3425
+ Functions.concat = function() {
3426
+ var c = arguments[0];
3427
+ if (arguments.length < 3) {
3428
+ throw new Error("Function concat expects (string, string, string*)");
3429
+ }
3430
+ var s = "";
3431
+ for (var i = 1; i < arguments.length; i++) {
3432
+ s += arguments[i].evaluate(c).stringValue();
3433
+ }
3434
+ return new XString(s);
3435
+ };
3436
+
3437
+ Functions.startsWith = function() {
3438
+ var c = arguments[0];
3439
+ if (arguments.length != 3) {
3440
+ throw new Error("Function startsWith expects (string, string)");
3441
+ }
3442
+ var s1 = arguments[1].evaluate(c).stringValue();
3443
+ var s2 = arguments[2].evaluate(c).stringValue();
3444
+ return new XBoolean(s1.substring(0, s2.length) == s2);
3445
+ };
3446
+
3447
+ Functions.contains = function() {
3448
+ var c = arguments[0];
3449
+ if (arguments.length != 3) {
3450
+ throw new Error("Function contains expects (string, string)");
3451
+ }
3452
+ var s1 = arguments[1].evaluate(c).stringValue();
3453
+ var s2 = arguments[2].evaluate(c).stringValue();
3454
+ return new XBoolean(s1.indexOf(s2) != -1);
3455
+ };
3456
+
3457
+ Functions.substringBefore = function() {
3458
+ var c = arguments[0];
3459
+ if (arguments.length != 3) {
3460
+ throw new Error("Function substring-before expects (string, string)");
3461
+ }
3462
+ var s1 = arguments[1].evaluate(c).stringValue();
3463
+ var s2 = arguments[2].evaluate(c).stringValue();
3464
+ return new XString(s1.substring(0, s1.indexOf(s2)));
3465
+ };
3466
+
3467
+ Functions.substringAfter = function() {
3468
+ var c = arguments[0];
3469
+ if (arguments.length != 3) {
3470
+ throw new Error("Function substring-after expects (string, string)");
3471
+ }
3472
+ var s1 = arguments[1].evaluate(c).stringValue();
3473
+ var s2 = arguments[2].evaluate(c).stringValue();
3474
+ if (s2.length == 0) {
3475
+ return new XString(s1);
3476
+ }
3477
+ var i = s1.indexOf(s2);
3478
+ if (i == -1) {
3479
+ return new XString("");
3480
+ }
3481
+ return new XString(s1.substring(s1.indexOf(s2) + 1));
3482
+ };
3483
+
3484
+ Functions.substring = function() {
3485
+ var c = arguments[0];
3486
+ if (!(arguments.length == 3 || arguments.length == 4)) {
3487
+ throw new Error("Function substring expects (string, number, number?)");
3488
+ }
3489
+ var s = arguments[1].evaluate(c).stringValue();
3490
+ var n1 = Math.round(arguments[2].evaluate(c).numberValue()) - 1;
3491
+ var n2 = arguments.length == 4 ? n1 + Math.round(arguments[3].evaluate(c).numberValue()) : undefined;
3492
+ return new XString(s.substring(n1, n2));
3493
+ };
3494
+
3495
+ Functions.stringLength = function() {
3496
+ var c = arguments[0];
3497
+ var s;
3498
+ if (arguments.length == 1) {
3499
+ s = XNodeSet.prototype.stringForNode(c.contextNode);
3500
+ } else if (arguments.length == 2) {
3501
+ s = arguments[1].evaluate(c).stringValue();
3502
+ } else {
3503
+ throw new Error("Function string-length expects (string?)");
3504
+ }
3505
+ return new XNumber(s.length);
3506
+ };
3507
+
3508
+ Functions.normalizeSpace = function() {
3509
+ var c = arguments[0];
3510
+ var s;
3511
+ if (arguments.length == 1) {
3512
+ s = XNodeSet.prototype.stringForNode(c.contextNode);
3513
+ } else if (arguments.length == 2) {
3514
+ s = arguments[1].evaluate(c).stringValue();
3515
+ } else {
3516
+ throw new Error("Function normalize-space expects (string?)");
3517
+ }
3518
+ var i = 0;
3519
+ var j = s.length - 1;
3520
+ while (Utilities.isSpace(s.charCodeAt(j))) {
3521
+ j--;
3522
+ }
3523
+ var t = "";
3524
+ while (i <= j && Utilities.isSpace(s.charCodeAt(i))) {
3525
+ i++;
3526
+ }
3527
+ while (i <= j) {
3528
+ if (Utilities.isSpace(s.charCodeAt(i))) {
3529
+ t += " ";
3530
+ while (i <= j && Utilities.isSpace(s.charCodeAt(i))) {
3531
+ i++;
3532
+ }
3533
+ } else {
3534
+ t += s.charAt(i);
3535
+ i++;
3536
+ }
3537
+ }
3538
+ return new XString(t);
3539
+ };
3540
+
3541
+ Functions.translate = function() {
3542
+ var c = arguments[0];
3543
+ if (arguments.length != 4) {
3544
+ throw new Error("Function translate expects (string, string, string)");
3545
+ }
3546
+ var s1 = arguments[1].evaluate(c).stringValue();
3547
+ var s2 = arguments[2].evaluate(c).stringValue();
3548
+ var s3 = arguments[3].evaluate(c).stringValue();
3549
+ var map = [];
3550
+ for (var i = 0; i < s2.length; i++) {
3551
+ var j = s2.charCodeAt(i);
3552
+ if (map[j] == undefined) {
3553
+ var k = i > s3.length ? "" : s3.charAt(i);
3554
+ map[j] = k;
3555
+ }
3556
+ }
3557
+ var t = "";
3558
+ for (var i = 0; i < s1.length; i++) {
3559
+ var c = s1.charCodeAt(i);
3560
+ var r = map[c];
3561
+ if (r == undefined) {
3562
+ t += s1.charAt(i);
3563
+ } else {
3564
+ t += r;
3565
+ }
3566
+ }
3567
+ return new XString(t);
3568
+ };
3569
+
3570
+ Functions.boolean_ = function() {
3571
+ var c = arguments[0];
3572
+ if (arguments.length != 2) {
3573
+ throw new Error("Function boolean expects (object)");
3574
+ }
3575
+ return arguments[1].evaluate(c).bool();
3576
+ };
3577
+
3578
+ Functions.not = function() {
3579
+ var c = arguments[0];
3580
+ if (arguments.length != 2) {
3581
+ throw new Error("Function not expects (object)");
3582
+ }
3583
+ return arguments[1].evaluate(c).bool().not();
3584
+ };
3585
+
3586
+ Functions.true_ = function() {
3587
+ if (arguments.length != 1) {
3588
+ throw new Error("Function true expects ()");
3589
+ }
3590
+ return new XBoolean(true);
3591
+ };
3592
+
3593
+ Functions.false_ = function() {
3594
+ if (arguments.length != 1) {
3595
+ throw new Error("Function false expects ()");
3596
+ }
3597
+ return new XBoolean(false);
3598
+ };
3599
+
3600
+ Functions.lang = function() {
3601
+ var c = arguments[0];
3602
+ if (arguments.length != 2) {
3603
+ throw new Error("Function lang expects (string)");
3604
+ }
3605
+ var lang;
3606
+ for (var n = c.contextNode; n != null && n.nodeType != 9 /*Node.DOCUMENT_NODE*/; n = n.parentNode) {
3607
+ var a = n.getAttributeNS(XPath.XML_NAMESPACE_URI, "lang");
3608
+ if (a != null) {
3609
+ lang = String(a);
3610
+ break;
3611
+ }
3612
+ }
3613
+ if (lang == null) {
3614
+ return new XBoolean(false);
3615
+ }
3616
+ var s = arguments[1].evaluate(c).stringValue();
3617
+ return new XBoolean(lang.substring(0, s.length) == s
3618
+ && (lang.length == s.length || lang.charAt(s.length) == '-'));
3619
+ };
3620
+
3621
+ Functions.number = function() {
3622
+ var c = arguments[0];
3623
+ if (!(arguments.length == 1 || arguments.length == 2)) {
3624
+ throw new Error("Function number expects (object?)");
3625
+ }
3626
+ if (arguments.length == 1) {
3627
+ return new XNumber(XNodeSet.prototype.stringForNode(c.contextNode));
3628
+ }
3629
+ return arguments[1].evaluate(c).number();
3630
+ };
3631
+
3632
+ Functions.sum = function() {
3633
+ var c = arguments[0];
3634
+ var ns;
3635
+ if (arguments.length != 2 || !Utilities.instance_of((ns = arguments[1].evaluate(c)), XNodeSet)) {
3636
+ throw new Error("Function sum expects (node-set)");
3637
+ }
3638
+ ns = ns.toArray();
3639
+ var n = 0;
3640
+ for (var i = 0; i < ns.length; i++) {
3641
+ n += new XNumber(XNodeSet.prototype.stringForNode(ns[i])).numberValue();
3642
+ }
3643
+ return new XNumber(n);
3644
+ };
3645
+
3646
+ Functions.floor = function() {
3647
+ var c = arguments[0];
3648
+ if (arguments.length != 2) {
3649
+ throw new Error("Function floor expects (number)");
3650
+ }
3651
+ return new XNumber(Math.floor(arguments[1].evaluate(c).numberValue()));
3652
+ };
3653
+
3654
+ Functions.ceiling = function() {
3655
+ var c = arguments[0];
3656
+ if (arguments.length != 2) {
3657
+ throw new Error("Function ceiling expects (number)");
3658
+ }
3659
+ return new XNumber(Math.ceil(arguments[1].evaluate(c).numberValue()));
3660
+ };
3661
+
3662
+ Functions.round = function() {
3663
+ var c = arguments[0];
3664
+ if (arguments.length != 2) {
3665
+ throw new Error("Function round expects (number)");
3666
+ }
3667
+ return new XNumber(Math.round(arguments[1].evaluate(c).numberValue()));
3668
+ };
3669
+
3670
+ // Utilities /////////////////////////////////////////////////////////////////
3671
+
3672
+ var Utilities = new Object();
3673
+
3674
+ Utilities.splitQName = function(qn) {
3675
+ var i = qn.indexOf(":");
3676
+ if (i == -1) {
3677
+ return [ null, qn ];
3678
+ }
3679
+ return [ qn.substring(0, i), qn.substring(i + 1) ];
3680
+ };
3681
+
3682
+ Utilities.resolveQName = function(qn, nr, n, useDefault) {
3683
+ var parts = Utilities.splitQName(qn);
3684
+ if (parts[0] != null) {
3685
+ parts[0] = nr.getNamespace(parts[0], n);
3686
+ } else {
3687
+ if (useDefault) {
3688
+ parts[0] = nr.getNamespace("", n);
3689
+ if (parts[0] == null) {
3690
+ parts[0] = "";
3691
+ }
3692
+ } else {
3693
+ parts[0] = "";
3694
+ }
3695
+ }
3696
+ return parts;
3697
+ };
3698
+
3699
+ Utilities.isSpace = function(c) {
3700
+ return c == 0x9 || c == 0xd || c == 0xa || c == 0x20;
3701
+ };
3702
+
3703
+ Utilities.isLetter = function(c) {
3704
+ return c >= 0x0041 && c <= 0x005A ||
3705
+ c >= 0x0061 && c <= 0x007A ||
3706
+ c >= 0x00C0 && c <= 0x00D6 ||
3707
+ c >= 0x00D8 && c <= 0x00F6 ||
3708
+ c >= 0x00F8 && c <= 0x00FF ||
3709
+ c >= 0x0100 && c <= 0x0131 ||
3710
+ c >= 0x0134 && c <= 0x013E ||
3711
+ c >= 0x0141 && c <= 0x0148 ||
3712
+ c >= 0x014A && c <= 0x017E ||
3713
+ c >= 0x0180 && c <= 0x01C3 ||
3714
+ c >= 0x01CD && c <= 0x01F0 ||
3715
+ c >= 0x01F4 && c <= 0x01F5 ||
3716
+ c >= 0x01FA && c <= 0x0217 ||
3717
+ c >= 0x0250 && c <= 0x02A8 ||
3718
+ c >= 0x02BB && c <= 0x02C1 ||
3719
+ c == 0x0386 ||
3720
+ c >= 0x0388 && c <= 0x038A ||
3721
+ c == 0x038C ||
3722
+ c >= 0x038E && c <= 0x03A1 ||
3723
+ c >= 0x03A3 && c <= 0x03CE ||
3724
+ c >= 0x03D0 && c <= 0x03D6 ||
3725
+ c == 0x03DA ||
3726
+ c == 0x03DC ||
3727
+ c == 0x03DE ||
3728
+ c == 0x03E0 ||
3729
+ c >= 0x03E2 && c <= 0x03F3 ||
3730
+ c >= 0x0401 && c <= 0x040C ||
3731
+ c >= 0x040E && c <= 0x044F ||
3732
+ c >= 0x0451 && c <= 0x045C ||
3733
+ c >= 0x045E && c <= 0x0481 ||
3734
+ c >= 0x0490 && c <= 0x04C4 ||
3735
+ c >= 0x04C7 && c <= 0x04C8 ||
3736
+ c >= 0x04CB && c <= 0x04CC ||
3737
+ c >= 0x04D0 && c <= 0x04EB ||
3738
+ c >= 0x04EE && c <= 0x04F5 ||
3739
+ c >= 0x04F8 && c <= 0x04F9 ||
3740
+ c >= 0x0531 && c <= 0x0556 ||
3741
+ c == 0x0559 ||
3742
+ c >= 0x0561 && c <= 0x0586 ||
3743
+ c >= 0x05D0 && c <= 0x05EA ||
3744
+ c >= 0x05F0 && c <= 0x05F2 ||
3745
+ c >= 0x0621 && c <= 0x063A ||
3746
+ c >= 0x0641 && c <= 0x064A ||
3747
+ c >= 0x0671 && c <= 0x06B7 ||
3748
+ c >= 0x06BA && c <= 0x06BE ||
3749
+ c >= 0x06C0 && c <= 0x06CE ||
3750
+ c >= 0x06D0 && c <= 0x06D3 ||
3751
+ c == 0x06D5 ||
3752
+ c >= 0x06E5 && c <= 0x06E6 ||
3753
+ c >= 0x0905 && c <= 0x0939 ||
3754
+ c == 0x093D ||
3755
+ c >= 0x0958 && c <= 0x0961 ||
3756
+ c >= 0x0985 && c <= 0x098C ||
3757
+ c >= 0x098F && c <= 0x0990 ||
3758
+ c >= 0x0993 && c <= 0x09A8 ||
3759
+ c >= 0x09AA && c <= 0x09B0 ||
3760
+ c == 0x09B2 ||
3761
+ c >= 0x09B6 && c <= 0x09B9 ||
3762
+ c >= 0x09DC && c <= 0x09DD ||
3763
+ c >= 0x09DF && c <= 0x09E1 ||
3764
+ c >= 0x09F0 && c <= 0x09F1 ||
3765
+ c >= 0x0A05 && c <= 0x0A0A ||
3766
+ c >= 0x0A0F && c <= 0x0A10 ||
3767
+ c >= 0x0A13 && c <= 0x0A28 ||
3768
+ c >= 0x0A2A && c <= 0x0A30 ||
3769
+ c >= 0x0A32 && c <= 0x0A33 ||
3770
+ c >= 0x0A35 && c <= 0x0A36 ||
3771
+ c >= 0x0A38 && c <= 0x0A39 ||
3772
+ c >= 0x0A59 && c <= 0x0A5C ||
3773
+ c == 0x0A5E ||
3774
+ c >= 0x0A72 && c <= 0x0A74 ||
3775
+ c >= 0x0A85 && c <= 0x0A8B ||
3776
+ c == 0x0A8D ||
3777
+ c >= 0x0A8F && c <= 0x0A91 ||
3778
+ c >= 0x0A93 && c <= 0x0AA8 ||
3779
+ c >= 0x0AAA && c <= 0x0AB0 ||
3780
+ c >= 0x0AB2 && c <= 0x0AB3 ||
3781
+ c >= 0x0AB5 && c <= 0x0AB9 ||
3782
+ c == 0x0ABD ||
3783
+ c == 0x0AE0 ||
3784
+ c >= 0x0B05 && c <= 0x0B0C ||
3785
+ c >= 0x0B0F && c <= 0x0B10 ||
3786
+ c >= 0x0B13 && c <= 0x0B28 ||
3787
+ c >= 0x0B2A && c <= 0x0B30 ||
3788
+ c >= 0x0B32 && c <= 0x0B33 ||
3789
+ c >= 0x0B36 && c <= 0x0B39 ||
3790
+ c == 0x0B3D ||
3791
+ c >= 0x0B5C && c <= 0x0B5D ||
3792
+ c >= 0x0B5F && c <= 0x0B61 ||
3793
+ c >= 0x0B85 && c <= 0x0B8A ||
3794
+ c >= 0x0B8E && c <= 0x0B90 ||
3795
+ c >= 0x0B92 && c <= 0x0B95 ||
3796
+ c >= 0x0B99 && c <= 0x0B9A ||
3797
+ c == 0x0B9C ||
3798
+ c >= 0x0B9E && c <= 0x0B9F ||
3799
+ c >= 0x0BA3 && c <= 0x0BA4 ||
3800
+ c >= 0x0BA8 && c <= 0x0BAA ||
3801
+ c >= 0x0BAE && c <= 0x0BB5 ||
3802
+ c >= 0x0BB7 && c <= 0x0BB9 ||
3803
+ c >= 0x0C05 && c <= 0x0C0C ||
3804
+ c >= 0x0C0E && c <= 0x0C10 ||
3805
+ c >= 0x0C12 && c <= 0x0C28 ||
3806
+ c >= 0x0C2A && c <= 0x0C33 ||
3807
+ c >= 0x0C35 && c <= 0x0C39 ||
3808
+ c >= 0x0C60 && c <= 0x0C61 ||
3809
+ c >= 0x0C85 && c <= 0x0C8C ||
3810
+ c >= 0x0C8E && c <= 0x0C90 ||
3811
+ c >= 0x0C92 && c <= 0x0CA8 ||
3812
+ c >= 0x0CAA && c <= 0x0CB3 ||
3813
+ c >= 0x0CB5 && c <= 0x0CB9 ||
3814
+ c == 0x0CDE ||
3815
+ c >= 0x0CE0 && c <= 0x0CE1 ||
3816
+ c >= 0x0D05 && c <= 0x0D0C ||
3817
+ c >= 0x0D0E && c <= 0x0D10 ||
3818
+ c >= 0x0D12 && c <= 0x0D28 ||
3819
+ c >= 0x0D2A && c <= 0x0D39 ||
3820
+ c >= 0x0D60 && c <= 0x0D61 ||
3821
+ c >= 0x0E01 && c <= 0x0E2E ||
3822
+ c == 0x0E30 ||
3823
+ c >= 0x0E32 && c <= 0x0E33 ||
3824
+ c >= 0x0E40 && c <= 0x0E45 ||
3825
+ c >= 0x0E81 && c <= 0x0E82 ||
3826
+ c == 0x0E84 ||
3827
+ c >= 0x0E87 && c <= 0x0E88 ||
3828
+ c == 0x0E8A ||
3829
+ c == 0x0E8D ||
3830
+ c >= 0x0E94 && c <= 0x0E97 ||
3831
+ c >= 0x0E99 && c <= 0x0E9F ||
3832
+ c >= 0x0EA1 && c <= 0x0EA3 ||
3833
+ c == 0x0EA5 ||
3834
+ c == 0x0EA7 ||
3835
+ c >= 0x0EAA && c <= 0x0EAB ||
3836
+ c >= 0x0EAD && c <= 0x0EAE ||
3837
+ c == 0x0EB0 ||
3838
+ c >= 0x0EB2 && c <= 0x0EB3 ||
3839
+ c == 0x0EBD ||
3840
+ c >= 0x0EC0 && c <= 0x0EC4 ||
3841
+ c >= 0x0F40 && c <= 0x0F47 ||
3842
+ c >= 0x0F49 && c <= 0x0F69 ||
3843
+ c >= 0x10A0 && c <= 0x10C5 ||
3844
+ c >= 0x10D0 && c <= 0x10F6 ||
3845
+ c == 0x1100 ||
3846
+ c >= 0x1102 && c <= 0x1103 ||
3847
+ c >= 0x1105 && c <= 0x1107 ||
3848
+ c == 0x1109 ||
3849
+ c >= 0x110B && c <= 0x110C ||
3850
+ c >= 0x110E && c <= 0x1112 ||
3851
+ c == 0x113C ||
3852
+ c == 0x113E ||
3853
+ c == 0x1140 ||
3854
+ c == 0x114C ||
3855
+ c == 0x114E ||
3856
+ c == 0x1150 ||
3857
+ c >= 0x1154 && c <= 0x1155 ||
3858
+ c == 0x1159 ||
3859
+ c >= 0x115F && c <= 0x1161 ||
3860
+ c == 0x1163 ||
3861
+ c == 0x1165 ||
3862
+ c == 0x1167 ||
3863
+ c == 0x1169 ||
3864
+ c >= 0x116D && c <= 0x116E ||
3865
+ c >= 0x1172 && c <= 0x1173 ||
3866
+ c == 0x1175 ||
3867
+ c == 0x119E ||
3868
+ c == 0x11A8 ||
3869
+ c == 0x11AB ||
3870
+ c >= 0x11AE && c <= 0x11AF ||
3871
+ c >= 0x11B7 && c <= 0x11B8 ||
3872
+ c == 0x11BA ||
3873
+ c >= 0x11BC && c <= 0x11C2 ||
3874
+ c == 0x11EB ||
3875
+ c == 0x11F0 ||
3876
+ c == 0x11F9 ||
3877
+ c >= 0x1E00 && c <= 0x1E9B ||
3878
+ c >= 0x1EA0 && c <= 0x1EF9 ||
3879
+ c >= 0x1F00 && c <= 0x1F15 ||
3880
+ c >= 0x1F18 && c <= 0x1F1D ||
3881
+ c >= 0x1F20 && c <= 0x1F45 ||
3882
+ c >= 0x1F48 && c <= 0x1F4D ||
3883
+ c >= 0x1F50 && c <= 0x1F57 ||
3884
+ c == 0x1F59 ||
3885
+ c == 0x1F5B ||
3886
+ c == 0x1F5D ||
3887
+ c >= 0x1F5F && c <= 0x1F7D ||
3888
+ c >= 0x1F80 && c <= 0x1FB4 ||
3889
+ c >= 0x1FB6 && c <= 0x1FBC ||
3890
+ c == 0x1FBE ||
3891
+ c >= 0x1FC2 && c <= 0x1FC4 ||
3892
+ c >= 0x1FC6 && c <= 0x1FCC ||
3893
+ c >= 0x1FD0 && c <= 0x1FD3 ||
3894
+ c >= 0x1FD6 && c <= 0x1FDB ||
3895
+ c >= 0x1FE0 && c <= 0x1FEC ||
3896
+ c >= 0x1FF2 && c <= 0x1FF4 ||
3897
+ c >= 0x1FF6 && c <= 0x1FFC ||
3898
+ c == 0x2126 ||
3899
+ c >= 0x212A && c <= 0x212B ||
3900
+ c == 0x212E ||
3901
+ c >= 0x2180 && c <= 0x2182 ||
3902
+ c >= 0x3041 && c <= 0x3094 ||
3903
+ c >= 0x30A1 && c <= 0x30FA ||
3904
+ c >= 0x3105 && c <= 0x312C ||
3905
+ c >= 0xAC00 && c <= 0xD7A3 ||
3906
+ c >= 0x4E00 && c <= 0x9FA5 ||
3907
+ c == 0x3007 ||
3908
+ c >= 0x3021 && c <= 0x3029;
3909
+ };
3910
+
3911
+ Utilities.isNCNameChar = function(c) {
3912
+ return c >= 0x0030 && c <= 0x0039
3913
+ || c >= 0x0660 && c <= 0x0669
3914
+ || c >= 0x06F0 && c <= 0x06F9
3915
+ || c >= 0x0966 && c <= 0x096F
3916
+ || c >= 0x09E6 && c <= 0x09EF
3917
+ || c >= 0x0A66 && c <= 0x0A6F
3918
+ || c >= 0x0AE6 && c <= 0x0AEF
3919
+ || c >= 0x0B66 && c <= 0x0B6F
3920
+ || c >= 0x0BE7 && c <= 0x0BEF
3921
+ || c >= 0x0C66 && c <= 0x0C6F
3922
+ || c >= 0x0CE6 && c <= 0x0CEF
3923
+ || c >= 0x0D66 && c <= 0x0D6F
3924
+ || c >= 0x0E50 && c <= 0x0E59
3925
+ || c >= 0x0ED0 && c <= 0x0ED9
3926
+ || c >= 0x0F20 && c <= 0x0F29
3927
+ || c == 0x002E
3928
+ || c == 0x002D
3929
+ || c == 0x005F
3930
+ || Utilities.isLetter(c)
3931
+ || c >= 0x0300 && c <= 0x0345
3932
+ || c >= 0x0360 && c <= 0x0361
3933
+ || c >= 0x0483 && c <= 0x0486
3934
+ || c >= 0x0591 && c <= 0x05A1
3935
+ || c >= 0x05A3 && c <= 0x05B9
3936
+ || c >= 0x05BB && c <= 0x05BD
3937
+ || c == 0x05BF
3938
+ || c >= 0x05C1 && c <= 0x05C2
3939
+ || c == 0x05C4
3940
+ || c >= 0x064B && c <= 0x0652
3941
+ || c == 0x0670
3942
+ || c >= 0x06D6 && c <= 0x06DC
3943
+ || c >= 0x06DD && c <= 0x06DF
3944
+ || c >= 0x06E0 && c <= 0x06E4
3945
+ || c >= 0x06E7 && c <= 0x06E8
3946
+ || c >= 0x06EA && c <= 0x06ED
3947
+ || c >= 0x0901 && c <= 0x0903
3948
+ || c == 0x093C
3949
+ || c >= 0x093E && c <= 0x094C
3950
+ || c == 0x094D
3951
+ || c >= 0x0951 && c <= 0x0954
3952
+ || c >= 0x0962 && c <= 0x0963
3953
+ || c >= 0x0981 && c <= 0x0983
3954
+ || c == 0x09BC
3955
+ || c == 0x09BE
3956
+ || c == 0x09BF
3957
+ || c >= 0x09C0 && c <= 0x09C4
3958
+ || c >= 0x09C7 && c <= 0x09C8
3959
+ || c >= 0x09CB && c <= 0x09CD
3960
+ || c == 0x09D7
3961
+ || c >= 0x09E2 && c <= 0x09E3
3962
+ || c == 0x0A02
3963
+ || c == 0x0A3C
3964
+ || c == 0x0A3E
3965
+ || c == 0x0A3F
3966
+ || c >= 0x0A40 && c <= 0x0A42
3967
+ || c >= 0x0A47 && c <= 0x0A48
3968
+ || c >= 0x0A4B && c <= 0x0A4D
3969
+ || c >= 0x0A70 && c <= 0x0A71
3970
+ || c >= 0x0A81 && c <= 0x0A83
3971
+ || c == 0x0ABC
3972
+ || c >= 0x0ABE && c <= 0x0AC5
3973
+ || c >= 0x0AC7 && c <= 0x0AC9
3974
+ || c >= 0x0ACB && c <= 0x0ACD
3975
+ || c >= 0x0B01 && c <= 0x0B03
3976
+ || c == 0x0B3C
3977
+ || c >= 0x0B3E && c <= 0x0B43
3978
+ || c >= 0x0B47 && c <= 0x0B48
3979
+ || c >= 0x0B4B && c <= 0x0B4D
3980
+ || c >= 0x0B56 && c <= 0x0B57
3981
+ || c >= 0x0B82 && c <= 0x0B83
3982
+ || c >= 0x0BBE && c <= 0x0BC2
3983
+ || c >= 0x0BC6 && c <= 0x0BC8
3984
+ || c >= 0x0BCA && c <= 0x0BCD
3985
+ || c == 0x0BD7
3986
+ || c >= 0x0C01 && c <= 0x0C03
3987
+ || c >= 0x0C3E && c <= 0x0C44
3988
+ || c >= 0x0C46 && c <= 0x0C48
3989
+ || c >= 0x0C4A && c <= 0x0C4D
3990
+ || c >= 0x0C55 && c <= 0x0C56
3991
+ || c >= 0x0C82 && c <= 0x0C83
3992
+ || c >= 0x0CBE && c <= 0x0CC4
3993
+ || c >= 0x0CC6 && c <= 0x0CC8
3994
+ || c >= 0x0CCA && c <= 0x0CCD
3995
+ || c >= 0x0CD5 && c <= 0x0CD6
3996
+ || c >= 0x0D02 && c <= 0x0D03
3997
+ || c >= 0x0D3E && c <= 0x0D43
3998
+ || c >= 0x0D46 && c <= 0x0D48
3999
+ || c >= 0x0D4A && c <= 0x0D4D
4000
+ || c == 0x0D57
4001
+ || c == 0x0E31
4002
+ || c >= 0x0E34 && c <= 0x0E3A
4003
+ || c >= 0x0E47 && c <= 0x0E4E
4004
+ || c == 0x0EB1
4005
+ || c >= 0x0EB4 && c <= 0x0EB9
4006
+ || c >= 0x0EBB && c <= 0x0EBC
4007
+ || c >= 0x0EC8 && c <= 0x0ECD
4008
+ || c >= 0x0F18 && c <= 0x0F19
4009
+ || c == 0x0F35
4010
+ || c == 0x0F37
4011
+ || c == 0x0F39
4012
+ || c == 0x0F3E
4013
+ || c == 0x0F3F
4014
+ || c >= 0x0F71 && c <= 0x0F84
4015
+ || c >= 0x0F86 && c <= 0x0F8B
4016
+ || c >= 0x0F90 && c <= 0x0F95
4017
+ || c == 0x0F97
4018
+ || c >= 0x0F99 && c <= 0x0FAD
4019
+ || c >= 0x0FB1 && c <= 0x0FB7
4020
+ || c == 0x0FB9
4021
+ || c >= 0x20D0 && c <= 0x20DC
4022
+ || c == 0x20E1
4023
+ || c >= 0x302A && c <= 0x302F
4024
+ || c == 0x3099
4025
+ || c == 0x309A
4026
+ || c == 0x00B7
4027
+ || c == 0x02D0
4028
+ || c == 0x02D1
4029
+ || c == 0x0387
4030
+ || c == 0x0640
4031
+ || c == 0x0E46
4032
+ || c == 0x0EC6
4033
+ || c == 0x3005
4034
+ || c >= 0x3031 && c <= 0x3035
4035
+ || c >= 0x309D && c <= 0x309E
4036
+ || c >= 0x30FC && c <= 0x30FE;
4037
+ };
4038
+
4039
+ Utilities.coalesceText = function(n) {
4040
+ for (var m = n.firstChild; m != null; m = m.nextSibling) {
4041
+ if (m.nodeType == 3 /*Node.TEXT_NODE*/ || m.nodeType == 4 /*Node.CDATA_SECTION_NODE*/) {
4042
+ var s = m.nodeValue;
4043
+ var first = m;
4044
+ m = m.nextSibling;
4045
+ while (m != null && (m.nodeType == 3 /*Node.TEXT_NODE*/ || m.nodeType == 4 /*Node.CDATA_SECTION_NODE*/)) {
4046
+ s += m.nodeValue;
4047
+ var del = m;
4048
+ m = m.nextSibling;
4049
+ del.parentNode.removeChild(del);
4050
+ }
4051
+ if (first.nodeType == 4 /*Node.CDATA_SECTION_NODE*/) {
4052
+ var p = first.parentNode;
4053
+ if (first.nextSibling == null) {
4054
+ p.removeChild(first);
4055
+ p.appendChild(p.ownerDocument.createTextNode(s));
4056
+ } else {
4057
+ var next = first.nextSibling;
4058
+ p.removeChild(first);
4059
+ p.insertBefore(p.ownerDocument.createTextNode(s), next);
4060
+ }
4061
+ } else {
4062
+ first.nodeValue = s;
4063
+ }
4064
+ if (m == null) {
4065
+ break;
4066
+ }
4067
+ } else if (m.nodeType == 1 /*Node.ELEMENT_NODE*/) {
4068
+ Utilities.coalesceText(m);
4069
+ }
4070
+ }
4071
+ };
4072
+
4073
+ Utilities.instance_of = function(o, c) {
4074
+ while (o != null) {
4075
+ if (o.constructor === c) {
4076
+ return true;
4077
+ }
4078
+ if (o === Object) {
4079
+ return false;
4080
+ }
4081
+ o = o.constructor.superclass;
4082
+ }
4083
+ return false;
4084
+ };
4085
+
4086
+ Utilities.getElementById = function(n, id) {
4087
+ // Note that this does not check the DTD to check for actual
4088
+ // attributes of type ID, so this may be a bit wrong.
4089
+ if (n.nodeType == 1 /*Node.ELEMENT_NODE*/) {
4090
+ if (n.getAttribute("id") == id
4091
+ || n.getAttributeNS(null, "id") == id) {
4092
+ return n;
4093
+ }
4094
+ }
4095
+ for (var m = n.firstChild; m != null; m = m.nextSibling) {
4096
+ var res = Utilities.getElementById(m, id);
4097
+ if (res != null) {
4098
+ return res;
4099
+ }
4100
+ }
4101
+ return null;
4102
+ };
4103
+
4104
+ // XPathException ////////////////////////////////////////////////////////////
4105
+
4106
+ XPathException.prototype = {};
4107
+ XPathException.prototype.constructor = XPathException;
4108
+ XPathException.superclass = Object.prototype;
4109
+
4110
+ function XPathException(c, e) {
4111
+ this.code = c;
4112
+ this.exception = e;
4113
+ }
4114
+
4115
+ XPathException.prototype.toString = function() {
4116
+ var msg = this.exception ? ": " + this.exception.toString() : "";
4117
+ switch (this.code) {
4118
+ case XPathException.INVALID_EXPRESSION_ERR:
4119
+ return "Invalid expression" + msg;
4120
+ case XPathException.TYPE_ERR:
4121
+ return "Type error" + msg;
4122
+ }
4123
+ };
4124
+
4125
+ XPathException.INVALID_EXPRESSION_ERR = 51;
4126
+ XPathException.TYPE_ERR = 52;
4127
+
4128
+ // XPathExpression ///////////////////////////////////////////////////////////
4129
+
4130
+ XPathExpression.prototype = {};
4131
+ XPathExpression.prototype.constructor = XPathExpression;
4132
+ XPathExpression.superclass = Object.prototype;
4133
+
4134
+ function XPathExpression(e, r, p) {
4135
+ this.xpath = p.parse(e);
4136
+ this.context = new XPathContext();
4137
+ this.context.namespaceResolver = new XPathNSResolverWrapper(r);
4138
+ }
4139
+
4140
+ XPathExpression.prototype.evaluate = function(n, t, res) {
4141
+ this.context.expressionContextNode = n;
4142
+ var result = this.xpath.evaluate(this.context);
4143
+ return new XPathResult(result, t);
4144
+ }
4145
+
4146
+ // XPathNSResolverWrapper ////////////////////////////////////////////////////
4147
+
4148
+ XPathNSResolverWrapper.prototype = {};
4149
+ XPathNSResolverWrapper.prototype.constructor = XPathNSResolverWrapper;
4150
+ XPathNSResolverWrapper.superclass = Object.prototype;
4151
+
4152
+ function XPathNSResolverWrapper(r) {
4153
+ this.xpathNSResolver = r;
4154
+ }
4155
+
4156
+ XPathNSResolverWrapper.prototype.getNamespace = function(prefix, n) {
4157
+ if (this.xpathNSResolver == null) {
4158
+ return null;
4159
+ }
4160
+ return this.xpathNSResolver.lookupNamespaceURI(prefix);
4161
+ };
4162
+
4163
+ // NodeXPathNSResolver ///////////////////////////////////////////////////////
4164
+
4165
+ NodeXPathNSResolver.prototype = {};
4166
+ NodeXPathNSResolver.prototype.constructor = NodeXPathNSResolver;
4167
+ NodeXPathNSResolver.superclass = Object.prototype;
4168
+
4169
+ function NodeXPathNSResolver(n) {
4170
+ this.node = n;
4171
+ this.namespaceResolver = new NamespaceResolver();
4172
+ }
4173
+
4174
+ NodeXPathNSResolver.prototype.lookupNamespaceURI = function(prefix) {
4175
+ return this.namespaceResolver.getNamespace(prefix, this.node);
4176
+ };
4177
+
4178
+ // XPathResult ///////////////////////////////////////////////////////////////
4179
+
4180
+ XPathResult.prototype = {};
4181
+ XPathResult.prototype.constructor = XPathResult;
4182
+ XPathResult.superclass = Object.prototype;
4183
+
4184
+ function XPathResult(v, t) {
4185
+ if (t == XPathResult.ANY_TYPE) {
4186
+ if (v.constructor === XString) {
4187
+ t = XPathResult.STRING_TYPE;
4188
+ } else if (v.constructor === XNumber) {
4189
+ t = XPathResult.NUMBER_TYPE;
4190
+ } else if (v.constructor === XBoolean) {
4191
+ t = XPathResult.BOOLEAN_TYPE;
4192
+ } else if (v.constructor === XNodeSet) {
4193
+ t = XPathResult.UNORDERED_NODE_ITERATOR_TYPE;
4194
+ }
4195
+ }
4196
+ this.resultType = t;
4197
+ switch (t) {
4198
+ case XPathResult.NUMBER_TYPE:
4199
+ this.numberValue = v.numberValue();
4200
+ return;
4201
+ case XPathResult.STRING_TYPE:
4202
+ this.stringValue = v.stringValue();
4203
+ return;
4204
+ case XPathResult.BOOLEAN_TYPE:
4205
+ this.booleanValue = v.booleanValue();
4206
+ return;
4207
+ case XPathResult.ANY_UNORDERED_NODE_TYPE:
4208
+ case XPathResult.FIRST_ORDERED_NODE_TYPE:
4209
+ if (v.constructor === XNodeSet) {
4210
+ this.singleNodeValue = v.first();
4211
+ return;
4212
+ }
4213
+ break;
4214
+ case XPathResult.UNORDERED_NODE_ITERATOR_TYPE:
4215
+ case XPathResult.ORDERED_NODE_ITERATOR_TYPE:
4216
+ if (v.constructor === XNodeSet) {
4217
+ this.invalidIteratorState = false;
4218
+ this.nodes = v.toArray();
4219
+ this.iteratorIndex = 0;
4220
+ return;
4221
+ }
4222
+ break;
4223
+ case XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE:
4224
+ case XPathResult.ORDERED_NODE_SNAPSHOT_TYPE:
4225
+ if (v.constructor === XNodeSet) {
4226
+ this.nodes = v.toArray();
4227
+ this.snapshotLength = this.nodes.length;
4228
+ return;
4229
+ }
4230
+ break;
4231
+ }
4232
+ throw new XPathException(XPathException.TYPE_ERR);
4233
+ };
4234
+
4235
+ XPathResult.prototype.iterateNext = function() {
4236
+ if (this.resultType != XPathResult.UNORDERED_NODE_ITERATOR_TYPE
4237
+ && this.resultType != XPathResult.ORDERED_NODE_ITERATOR_TYPE) {
4238
+ throw new XPathException(XPathException.TYPE_ERR);
4239
+ }
4240
+ return this.nodes[this.iteratorIndex++];
4241
+ };
4242
+
4243
+ XPathResult.prototype.snapshotItem = function(i) {
4244
+ if (this.resultType != XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE
4245
+ && this.resultType != XPathResult.ORDERED_NODE_SNAPSHOT_TYPE) {
4246
+ throw new XPathException(XPathException.TYPE_ERR);
4247
+ }
4248
+ return this.nodes[i];
4249
+ };
4250
+
4251
+ XPathResult.ANY_TYPE = 0;
4252
+ XPathResult.NUMBER_TYPE = 1;
4253
+ XPathResult.STRING_TYPE = 2;
4254
+ XPathResult.BOOLEAN_TYPE = 3;
4255
+ XPathResult.UNORDERED_NODE_ITERATOR_TYPE = 4;
4256
+ XPathResult.ORDERED_NODE_ITERATOR_TYPE = 5;
4257
+ XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE = 6;
4258
+ XPathResult.ORDERED_NODE_SNAPSHOT_TYPE = 7;
4259
+ XPathResult.ANY_UNORDERED_NODE_TYPE = 8;
4260
+ XPathResult.FIRST_ORDERED_NODE_TYPE = 9;
4261
+
4262
+ // DOM 3 XPath support ///////////////////////////////////////////////////////
4263
+
4264
+ function installDOM3XPathSupport(doc, p) {
4265
+ doc.createExpression = function(e, r) {
4266
+ try {
4267
+ return new XPathExpression(e, r, p);
4268
+ } catch (e) {
4269
+ throw new XPathException(XPathException.INVALID_EXPRESSION_ERR, e);
4270
+ }
4271
+ };
4272
+ doc.createNSResolver = function(n) {
4273
+ return new NodeXPathNSResolver(n);
4274
+ };
4275
+ doc.evaluate = function(e, cn, r, t, res) {
4276
+ if (t < 0 || t > 9) {
4277
+ throw { code: 0, toString: function() { return "Request type not supported"; } };
4278
+ }
4279
+ return doc.createExpression(e, r, p).evaluate(cn, t, res);
4280
+ };
4281
+ };
4282
+
4283
+ // ---------------------------------------------------------------------------
4284
+
4285
+ // Install DOM 3 XPath support for the current document.
4286
+ try {
4287
+ var shouldInstall = true;
4288
+ try {
4289
+ if (document.implementation
4290
+ && document.implementation.hasFeature
4291
+ && document.implementation.hasFeature("XPath", null)) {
4292
+ shouldInstall = false;
4293
+ }
4294
+ } catch (e) {
4295
+ }
4296
+ if (shouldInstall) {
4297
+ installDOM3XPathSupport(document, new XPathParser());
4298
+ }
4299
+ } catch (e) {
4300
+ }
4301
+
4302
+
4303
+ function SelectNodes(doc, xpath)
4304
+ {
4305
+ var parser = new XPathParser();
4306
+ var xpath = parser.parse(xpath);
4307
+ var context = new XPathContext();
4308
+ if(doc.documentElement){
4309
+ context.expressionContextNode = doc.documentElement;
4310
+ } else {
4311
+ context.expressionContextNode = doc;
4312
+ }
4313
+ var res = xpath.evaluate(context)
4314
+ return res.toArray();
4315
+ }
4316
+
4317
+ module.exports = SelectNodes;