testcafe 1.14.1 → 1.14.2

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 (332) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE +21 -21
  3. package/bin/testcafe-with-v8-flag-filter.js +0 -0
  4. package/lib/api/exportable-lib/index.js +49 -49
  5. package/lib/api/request-hooks/assert-type.js +7 -7
  6. package/lib/api/request-hooks/hook-method-names.js +9 -9
  7. package/lib/api/request-hooks/hook.js +32 -32
  8. package/lib/api/request-hooks/interfaces.js +2 -2
  9. package/lib/api/request-hooks/request-logger.js +112 -112
  10. package/lib/api/request-hooks/request-mock/create-request-mock.js +10 -10
  11. package/lib/api/request-hooks/request-mock/index.js +44 -44
  12. package/lib/api/request-hooks/request-mock.js +46 -46
  13. package/lib/api/structure/base-unit.js +11 -11
  14. package/lib/api/structure/fixture.js +75 -75
  15. package/lib/api/structure/interfaces.js +2 -2
  16. package/lib/api/structure/test-file.js +31 -31
  17. package/lib/api/structure/test-timeout.js +9 -9
  18. package/lib/api/structure/test.js +85 -85
  19. package/lib/api/structure/testing-unit.js +89 -89
  20. package/lib/api/structure/unit-type.js +9 -9
  21. package/lib/api/test-controller/assertion.js +88 -88
  22. package/lib/api/test-controller/execution-context.js +82 -82
  23. package/lib/api/test-controller/index.js +358 -358
  24. package/lib/api/test-controller/proxy.js +28 -28
  25. package/lib/api/test-page-url.js +60 -60
  26. package/lib/api/test-run-tracker.js +68 -68
  27. package/lib/api/wrap-test-function.js +49 -49
  28. package/lib/assertions/executor.js +74 -74
  29. package/lib/assertions/get-fn.js +46 -46
  30. package/lib/assertions/type.js +20 -20
  31. package/lib/assets/content-types.js +9 -9
  32. package/lib/assets/injectables.js +18 -18
  33. package/lib/browser/connection/command.js +10 -10
  34. package/lib/browser/connection/error-hints.js +9 -9
  35. package/lib/browser/connection/gateway.js +159 -159
  36. package/lib/browser/connection/get-hints.js +33 -33
  37. package/lib/browser/connection/heartbeat-status.js +8 -8
  38. package/lib/browser/connection/index.js +328 -328
  39. package/lib/browser/connection/remotes-queue.js +46 -46
  40. package/lib/browser/connection/service-routes.js +12 -12
  41. package/lib/browser/connection/status.js +12 -12
  42. package/lib/browser/interfaces.js +2 -2
  43. package/lib/browser/provider/built-in/dedicated/base.js +80 -80
  44. package/lib/browser/provider/built-in/dedicated/chrome/browser-client.js +204 -204
  45. package/lib/browser/provider/built-in/dedicated/chrome/build-chrome-args.js +17 -17
  46. package/lib/browser/provider/built-in/dedicated/chrome/config.js +110 -110
  47. package/lib/browser/provider/built-in/dedicated/chrome/create-temp-profile.js +45 -45
  48. package/lib/browser/provider/built-in/dedicated/chrome/elapsed-upperbounds.js +15 -15
  49. package/lib/browser/provider/built-in/dedicated/chrome/index.js +102 -102
  50. package/lib/browser/provider/built-in/dedicated/chrome/interfaces.js +2 -2
  51. package/lib/browser/provider/built-in/dedicated/chrome/local-chrome.js +24 -24
  52. package/lib/browser/provider/built-in/dedicated/chrome/runtime-info.js +29 -29
  53. package/lib/browser/provider/built-in/dedicated/edge/index.js +10 -10
  54. package/lib/browser/provider/built-in/dedicated/edge/runtime-info.js +29 -29
  55. package/lib/browser/provider/built-in/dedicated/firefox/config.js +33 -33
  56. package/lib/browser/provider/built-in/dedicated/firefox/create-temp-profile.js +78 -78
  57. package/lib/browser/provider/built-in/dedicated/firefox/index.js +73 -73
  58. package/lib/browser/provider/built-in/dedicated/firefox/local-firefox.js +36 -36
  59. package/lib/browser/provider/built-in/dedicated/firefox/marionette-client/commands.js +13 -13
  60. package/lib/browser/provider/built-in/dedicated/firefox/marionette-client/index.js +200 -200
  61. package/lib/browser/provider/built-in/dedicated/firefox/runtime-info.js +17 -17
  62. package/lib/browser/provider/built-in/index.js +21 -21
  63. package/lib/browser/provider/built-in/locally-installed.js +30 -30
  64. package/lib/browser/provider/built-in/path.js +47 -47
  65. package/lib/browser/provider/built-in/remote.js +58 -58
  66. package/lib/browser/provider/index.js +303 -303
  67. package/lib/browser/provider/parse-provider-name.js +16 -16
  68. package/lib/browser/provider/plugin-host.js +121 -121
  69. package/lib/browser/provider/pool.js +115 -115
  70. package/lib/browser/provider/utils/argument-parsing.js +74 -74
  71. package/lib/browser/provider/utils/browser-starter.js +34 -34
  72. package/lib/browser/provider/utils/client-functions.js +24 -24
  73. package/lib/browser/provider/utils/get-maximized-headless-window-size.js +9 -9
  74. package/lib/cli/argument-parser.js +284 -284
  75. package/lib/cli/authentication-helper.js +35 -35
  76. package/lib/cli/cli.js +134 -134
  77. package/lib/cli/correct-browsers-and-sources.js +40 -40
  78. package/lib/cli/index.js +19 -19
  79. package/lib/cli/log.js +43 -43
  80. package/lib/cli/remotes-wizard.js +36 -36
  81. package/lib/cli/termination-handler.js +38 -38
  82. package/lib/client/automation/index.js +34 -16
  83. package/lib/client/automation/index.min.js +1 -1
  84. package/lib/client/browser/idle-page/index.html.mustache +35 -35
  85. package/lib/client/browser/idle-page/logo.svg +86 -86
  86. package/lib/client/core/index.js +14 -14
  87. package/lib/client/driver/index.js +46 -16
  88. package/lib/client/driver/index.min.js +1 -1
  89. package/lib/client/driver/internal-properties.js +9 -9
  90. package/lib/client/test-run/iframe.js.mustache +17 -17
  91. package/lib/client/test-run/index.js.mustache +51 -51
  92. package/lib/client/ui/index.js +14 -14
  93. package/lib/client/ui/sprite.svg +42 -42
  94. package/lib/client-functions/builder-symbol.js +4 -4
  95. package/lib/client-functions/client-function-builder.js +155 -155
  96. package/lib/client-functions/replicator.js +61 -61
  97. package/lib/client-functions/return-single-prop-mode.js +8 -8
  98. package/lib/client-functions/selector-api-execution-mode.js +20 -20
  99. package/lib/client-functions/selectors/add-api.js +645 -645
  100. package/lib/client-functions/selectors/create-snapshot-methods.js +13 -13
  101. package/lib/client-functions/selectors/prepare-api-args.js +20 -20
  102. package/lib/client-functions/selectors/selector-attribute-filter.js +22 -22
  103. package/lib/client-functions/selectors/selector-builder.js +153 -153
  104. package/lib/client-functions/selectors/selector-text-filter.js +43 -43
  105. package/lib/client-functions/selectors/snapshot-properties.js +48 -48
  106. package/lib/client-functions/types.js +18 -18
  107. package/lib/compiler/babel/format-babel-produced-code.js +10 -10
  108. package/lib/compiler/babel/get-base-babel-options.js +11 -11
  109. package/lib/compiler/babel/load-libs.js +63 -63
  110. package/lib/compiler/babel/preset-stage-2.js +19 -19
  111. package/lib/compiler/compile-client-function.js +73 -73
  112. package/lib/compiler/compilers.js +33 -33
  113. package/lib/compiler/index.js +92 -92
  114. package/lib/compiler/interfaces.js +2 -2
  115. package/lib/compiler/test-file/api-based.js +146 -146
  116. package/lib/compiler/test-file/base.js +36 -36
  117. package/lib/compiler/test-file/exportble-lib-path.js +5 -5
  118. package/lib/compiler/test-file/formats/coffeescript/compiler.js +38 -38
  119. package/lib/compiler/test-file/formats/coffeescript/get-test-list.js +29 -29
  120. package/lib/compiler/test-file/formats/es-next/compiler.js +42 -42
  121. package/lib/compiler/test-file/formats/es-next/get-test-list.js +166 -166
  122. package/lib/compiler/test-file/formats/es-next/is-flow-code.js +7 -7
  123. package/lib/compiler/test-file/formats/raw.js +85 -85
  124. package/lib/compiler/test-file/formats/typescript/compiler.js +135 -135
  125. package/lib/compiler/test-file/formats/typescript/get-test-list.js +185 -185
  126. package/lib/compiler/test-file/test-file-parser-base.js +214 -214
  127. package/lib/configuration/configuration-base.js +165 -165
  128. package/lib/configuration/constants.js +9 -9
  129. package/lib/configuration/customizable-compilers.js +7 -7
  130. package/lib/configuration/default-values.js +51 -51
  131. package/lib/configuration/interfaces.js +2 -2
  132. package/lib/configuration/option-names.js +53 -53
  133. package/lib/configuration/option-source.js +9 -9
  134. package/lib/configuration/option.js +14 -14
  135. package/lib/configuration/quarantine-option-names.js +8 -8
  136. package/lib/configuration/run-option-names.js +26 -26
  137. package/lib/configuration/screenshot-option-names.js +10 -10
  138. package/lib/configuration/testcafe-configuration.js +163 -163
  139. package/lib/configuration/types.js +2 -2
  140. package/lib/configuration/typescript-configuration.js +62 -62
  141. package/lib/custom-client-scripts/assert-type.js +7 -7
  142. package/lib/custom-client-scripts/client-script-init.js +2 -2
  143. package/lib/custom-client-scripts/client-script.js +106 -106
  144. package/lib/custom-client-scripts/get-code.js +11 -11
  145. package/lib/custom-client-scripts/get-url.js +6 -6
  146. package/lib/custom-client-scripts/load.js +15 -15
  147. package/lib/custom-client-scripts/problematic-scripts.js +2 -2
  148. package/lib/custom-client-scripts/routing.js +36 -36
  149. package/lib/custom-client-scripts/utils.js +60 -60
  150. package/lib/embedding-utils.js +83 -83
  151. package/lib/errors/create-stack-filter.js +18 -18
  152. package/lib/errors/error-list.js +26 -26
  153. package/lib/errors/get-callsite.js +31 -31
  154. package/lib/errors/internal-modules-prefix.js +8 -8
  155. package/lib/errors/is-internal-stack-frame.js +45 -45
  156. package/lib/errors/process-test-fn-error.js +37 -37
  157. package/lib/errors/runtime/index.js +123 -123
  158. package/lib/errors/runtime/templates.js +115 -115
  159. package/lib/errors/runtime/type-assertions.js +112 -112
  160. package/lib/errors/stack-cleaning-hook.js +64 -64
  161. package/lib/errors/test-run/formattable-adapter.js +59 -59
  162. package/lib/errors/test-run/index.js +301 -301
  163. package/lib/errors/test-run/render-error-template.js +31 -31
  164. package/lib/errors/test-run/templates.js +91 -91
  165. package/lib/errors/test-run/utils.js +89 -89
  166. package/lib/errors/types.js +156 -156
  167. package/lib/index.js +81 -81
  168. package/lib/live/bootstrapper.js +43 -43
  169. package/lib/live/controller.js +107 -107
  170. package/lib/live/file-watcher/index.js +67 -67
  171. package/lib/live/file-watcher/modules-graph.js +58 -58
  172. package/lib/live/keyboard-observer.js +76 -76
  173. package/lib/live/logger/index.js +64 -64
  174. package/lib/live/test-run-controller.js +96 -96
  175. package/lib/live/test-run-state.js +6 -6
  176. package/lib/live/test-run.js +56 -56
  177. package/lib/live/test-runner.js +167 -167
  178. package/lib/load-assets.js +29 -29
  179. package/lib/notifications/add-rendered-warning.js +16 -16
  180. package/lib/notifications/debug-logger.js +78 -78
  181. package/lib/notifications/deprecated.js +24 -24
  182. package/lib/notifications/information-message.js +9 -9
  183. package/lib/notifications/warning-log.js +31 -31
  184. package/lib/notifications/warning-message.js +47 -47
  185. package/lib/reporter/command/command-formatter.js +120 -109
  186. package/lib/reporter/command/format-command.js +8 -8
  187. package/lib/reporter/command/interfaces.js +2 -2
  188. package/lib/reporter/index.js +319 -314
  189. package/lib/reporter/interfaces.js +2 -2
  190. package/lib/reporter/plugin-host.js +135 -135
  191. package/lib/reporter/plugin-methods.js +12 -12
  192. package/lib/role/index.js +74 -74
  193. package/lib/role/marker-symbol.js +7 -7
  194. package/lib/role/phase.js +9 -9
  195. package/lib/runner/bootstrapper.js +271 -271
  196. package/lib/runner/browser-job-result.js +9 -9
  197. package/lib/runner/browser-job.js +152 -152
  198. package/lib/runner/browser-set.js +114 -114
  199. package/lib/runner/fixture-hook-controller.js +85 -85
  200. package/lib/runner/index.js +449 -449
  201. package/lib/runner/interfaces.js +2 -2
  202. package/lib/runner/reporter-stream-controller.js +27 -27
  203. package/lib/runner/task/index.js +151 -151
  204. package/lib/runner/task/phase.js +9 -9
  205. package/lib/runner/test-run-controller.js +165 -165
  206. package/lib/runner/tested-app.js +72 -72
  207. package/lib/screenshots/capturer.js +141 -141
  208. package/lib/screenshots/constants.js +11 -11
  209. package/lib/screenshots/crop.js +111 -111
  210. package/lib/screenshots/default-extension.js +4 -4
  211. package/lib/screenshots/index.js +67 -67
  212. package/lib/screenshots/utils.js +39 -39
  213. package/lib/services/compiler/host.js +190 -190
  214. package/lib/services/compiler/io.js +9 -9
  215. package/lib/services/compiler/protocol.js +17 -16
  216. package/lib/services/compiler/service.js +225 -212
  217. package/lib/services/compiler/test-run-proxy.js +111 -111
  218. package/lib/services/interfaces.js +2 -2
  219. package/lib/services/process-title.js +8 -8
  220. package/lib/services/serialization/prepare-options.js +17 -17
  221. package/lib/services/serialization/replicator/create-replicator.js +25 -25
  222. package/lib/services/serialization/replicator/custom-error-transform.js +26 -26
  223. package/lib/services/serialization/test-structure.js +92 -92
  224. package/lib/services/utils/ipc/interfaces.js +30 -30
  225. package/lib/services/utils/ipc/io.js +108 -108
  226. package/lib/services/utils/ipc/message.js +75 -75
  227. package/lib/services/utils/ipc/packet.js +55 -55
  228. package/lib/services/utils/ipc/proxy.js +109 -109
  229. package/lib/services/utils/ipc/transport.js +64 -64
  230. package/lib/shared/errors/index.js +382 -382
  231. package/lib/shared/node-modules-folder-name.js +4 -4
  232. package/lib/test-run/bookmark.js +90 -90
  233. package/lib/test-run/browser-console-messages.js +73 -73
  234. package/lib/test-run/browser-manipulation-queue.js +92 -92
  235. package/lib/test-run/client-messages.js +9 -9
  236. package/lib/test-run/commands/actions.js +486 -483
  237. package/lib/test-run/commands/assertion.js +45 -45
  238. package/lib/test-run/commands/base.js +14 -14
  239. package/lib/test-run/commands/browser-manipulation.js +95 -95
  240. package/lib/test-run/commands/from-object.js +82 -82
  241. package/lib/test-run/commands/observation.js +61 -61
  242. package/lib/test-run/commands/options.js +231 -215
  243. package/lib/test-run/commands/service.js +54 -48
  244. package/lib/test-run/commands/type.js +65 -64
  245. package/lib/test-run/commands/utils.js +87 -87
  246. package/lib/test-run/commands/validations/argument.js +90 -90
  247. package/lib/test-run/commands/validations/factories.js +47 -47
  248. package/lib/test-run/commands/validations/initializers.js +44 -44
  249. package/lib/test-run/debug-log.js +32 -32
  250. package/lib/test-run/execute-js-expression.js +74 -74
  251. package/lib/test-run/index.js +823 -799
  252. package/lib/test-run/marker-symbol.js +7 -7
  253. package/lib/test-run/observed-callsites-storage.js +17 -17
  254. package/lib/test-run/phase.js +16 -16
  255. package/lib/test-run/session-controller.js +104 -104
  256. package/lib/testcafe.js +118 -118
  257. package/lib/utils/assignable.js +39 -39
  258. package/lib/utils/async-event-emitter.js +28 -28
  259. package/lib/utils/async-queue.js +14 -14
  260. package/lib/utils/browser-connection-timeouts.js +19 -19
  261. package/lib/utils/callsite.js +17 -17
  262. package/lib/utils/check-file-path.js +31 -31
  263. package/lib/utils/check-url.js +51 -51
  264. package/lib/utils/convert-to-best-fit-type.js +16 -16
  265. package/lib/utils/correct-file-path.js +21 -21
  266. package/lib/utils/define-lazy-property.js +13 -13
  267. package/lib/utils/delay.js +6 -6
  268. package/lib/utils/delegated-api.js +44 -44
  269. package/lib/utils/detect-display.js +6 -6
  270. package/lib/utils/detect-ffmpeg.js +44 -44
  271. package/lib/utils/diff/colors.js +29 -29
  272. package/lib/utils/diff/index.js +52 -52
  273. package/lib/utils/diff/util.js +23 -23
  274. package/lib/utils/diff.js +29 -29
  275. package/lib/utils/escape-user-agent.js +10 -10
  276. package/lib/utils/flag-list.js +17 -17
  277. package/lib/utils/get-any-key.js +8 -8
  278. package/lib/utils/get-browser.js +8 -8
  279. package/lib/utils/get-common-path.js +34 -34
  280. package/lib/utils/get-filter-fn.js +40 -40
  281. package/lib/utils/get-options/base.js +36 -36
  282. package/lib/utils/get-options/compiler.js +33 -33
  283. package/lib/utils/get-options/grep.js +15 -15
  284. package/lib/utils/get-options/index.js +20 -20
  285. package/lib/utils/get-options/meta.js +22 -22
  286. package/lib/utils/get-options/quarantine.js +91 -91
  287. package/lib/utils/get-options/screenshot.js +17 -17
  288. package/lib/utils/get-options/ssl.js +45 -45
  289. package/lib/utils/get-options/video.js +10 -10
  290. package/lib/utils/get-viewport-width.js +17 -17
  291. package/lib/utils/guard-time-execution.js +10 -10
  292. package/lib/utils/handle-errors.js +74 -74
  293. package/lib/utils/handle-tag-args.js +8 -8
  294. package/lib/utils/http.js +30 -30
  295. package/lib/utils/is-localhost.js +11 -11
  296. package/lib/utils/is-password-input.js +11 -0
  297. package/lib/utils/is-repl.js +10 -10
  298. package/lib/utils/is-window-in-iframe.js +6 -6
  299. package/lib/utils/limit-number.js +10 -10
  300. package/lib/utils/make-reg-exp.js +7 -7
  301. package/lib/utils/moment-loader.js +20 -20
  302. package/lib/utils/parse-file-list.js +71 -71
  303. package/lib/utils/parse-user-agent.js +55 -55
  304. package/lib/utils/path-pattern.js +114 -114
  305. package/lib/utils/prepare-reporters.js +30 -30
  306. package/lib/utils/prerender-callsite.js +18 -18
  307. package/lib/utils/process.js +119 -119
  308. package/lib/utils/promisified-functions.js +46 -46
  309. package/lib/utils/re-executable-promise.js +39 -39
  310. package/lib/utils/render-callsite-sync.js +29 -29
  311. package/lib/utils/render-template.js +9 -9
  312. package/lib/utils/reporter.js +30 -30
  313. package/lib/utils/resolve-path-relatively-cwd.js +7 -7
  314. package/lib/utils/string.js +105 -105
  315. package/lib/utils/temp-directory/cleanup-process/commands.js +7 -7
  316. package/lib/utils/temp-directory/cleanup-process/index.js +143 -143
  317. package/lib/utils/temp-directory/cleanup-process/worker.js +58 -58
  318. package/lib/utils/temp-directory/index.js +87 -87
  319. package/lib/utils/temp-directory/lockfile.js +56 -56
  320. package/lib/utils/thennable.js +7 -7
  321. package/lib/utils/timer.js +15 -15
  322. package/lib/utils/to-posix-path.js +8 -8
  323. package/lib/utils/types.js +2 -2
  324. package/lib/video-recorder/interfaces.js +2 -2
  325. package/lib/video-recorder/process.js +126 -126
  326. package/lib/video-recorder/recorder.js +136 -136
  327. package/lib/video-recorder/test-run-video-recorder.js +69 -69
  328. package/lib/video-recorder/videos.js +37 -37
  329. package/package.json +2 -2
  330. package/ts-defs/index.d.ts +25 -14
  331. package/ts-defs/selectors.d.ts +16 -5
  332. package/ts-defs/testcafe-scripts.d.ts +17 -6
@@ -1,86 +1,86 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg class="logo" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- width="276px" height="66px" viewBox="0 0 276 66" enable-background="new 0 0 276 66" xml:space="preserve">
5
- <g>
6
- <g>
7
- <path fill="#FFFFFF" d="M186.956,31.79c0.877-1.653,1.89-2.992,3.036-4.014c1.146-1.021,2.371-1.758,3.676-2.208
8
- c1.305-0.452,2.583-0.676,3.838-0.676c2.721,0,4.751,0.36,6.09,1.083l1.516-3.337c-0.768-0.333-1.713-0.595-2.84-0.789
9
- c-1.127-0.196-2.606-0.293-4.441-0.293c-1.714,0-3.449,0.3-5.208,0.9c-1.759,0.602-3.421,1.555-4.985,2.864
10
- c-1.564,1.308-2.937,2.992-4.117,5.051c-1.18,2.059-2.033,4.563-2.563,7.508c-0.508,2.826-0.579,5.271-0.214,7.328
11
- c0.364,2.061,1.055,3.751,2.071,5.073c1.016,1.321,2.309,2.308,3.873,2.954c1.566,0.646,3.313,0.969,5.24,0.969
12
- c1.59,0,3.112-0.135,4.566-0.405c1.457-0.271,2.705-0.751,3.744-1.442l-0.391-2.933c-0.777,0.422-1.705,0.769-2.777,1.038
13
- c-1.073,0.27-2.297,0.406-3.674,0.406c-1.529,0-2.896-0.272-4.098-0.813c-1.203-0.541-2.188-1.354-2.958-2.437
14
- s-1.282-2.435-1.544-4.06c-0.26-1.623-0.193-3.517,0.195-5.682C185.425,35.473,186.078,33.444,186.956,31.79z M220.857,31.382
15
- c-0.887-0.419-2.127-0.63-3.717-0.63c-1.683,0-3.324,0.167-4.928,0.497s-3.05,0.842-4.335,1.532l0.653,2.751
16
- c0.472-0.248,1.01-0.472,1.609-0.673c0.604-0.199,1.229-0.368,1.881-0.51s1.285-0.248,1.895-0.326
17
- c0.609-0.075,1.175-0.114,1.695-0.114c1.772,0,2.938,0.331,3.49,0.991s0.683,1.82,0.387,3.473
18
- c-0.129,0.723-0.319,1.534-0.573,2.436c-0.418-0.06-0.832-0.091-1.245-0.091h-1.262c-1.682,0-3.238,0.113-4.672,0.339
19
- c-1.432,0.226-2.691,0.602-3.779,1.127c-1.089,0.525-1.986,1.233-2.695,2.118c-0.711,0.888-1.185,1.994-1.422,3.315
20
- c-0.177,0.992-0.16,1.88,0.051,2.66c0.213,0.783,0.573,1.449,1.086,2.009c0.512,0.557,1.16,0.983,1.948,1.282
21
- c0.787,0.302,1.671,0.453,2.647,0.453c0.979,0,1.867-0.105,2.672-0.316c0.802-0.21,1.521-0.473,2.158-0.789
22
- c0.64-0.314,1.199-0.676,1.687-1.082c0.485-0.406,0.902-0.818,1.255-1.241h0.229l0.396,3.159h2.707
23
- c-0.096-0.843-0.099-1.759-0.013-2.753c0.086-0.992,0.229-2.043,0.43-3.155c0.273-1.533,0.611-3.156,1.011-4.871
24
- c0.398-1.713,0.76-3.472,1.084-5.275c0.146-0.813,0.207-1.624,0.185-2.436s-0.226-1.556-0.606-2.231
25
- C222.382,32.354,221.746,31.805,220.857,31.382z M217.751,47.302c-0.224,0.392-0.532,0.8-0.929,1.218
26
- c-0.397,0.422-0.87,0.805-1.422,1.15c-0.553,0.346-1.187,0.63-1.896,0.855c-0.713,0.227-1.499,0.34-2.355,0.34
27
- c-1.19,0-2.108-0.34-2.752-1.016c-0.646-0.678-0.871-1.541-0.684-2.593c0.135-0.752,0.453-1.376,0.956-1.871
28
- c0.501-0.497,1.121-0.887,1.86-1.175c0.738-0.284,1.57-0.479,2.49-0.586c0.92-0.104,1.855-0.157,2.803-0.157
29
- c0.43,0,0.861,0.009,1.305,0.022c0.439,0.016,0.873,0.039,1.296,0.066L217.751,47.302z M234.855,31.112l0.113-0.63
30
- c0.161-0.902,0.326-1.691,0.493-2.368c0.167-0.678,0.394-1.249,0.675-1.714c0.282-0.466,0.666-0.819,1.152-1.06
31
- c0.486-0.241,1.126-0.36,1.922-0.36c0.551,0,1.132,0.044,1.743,0.134c0.608,0.09,1.239,0.286,1.892,0.586l1.366-3.021
32
- c-0.769-0.33-1.515-0.556-2.241-0.676c-0.729-0.12-1.582-0.18-2.561-0.18c-1.223,0-2.276,0.157-3.158,0.473
33
- s-1.641,0.796-2.277,1.442c-0.635,0.648-1.158,1.482-1.57,2.504c-0.414,1.022-0.744,2.224-0.992,3.607l-0.227,1.262h-3.578
34
- l-0.565,3.157h3.578l-3.479,19.392h3.672l3.478-19.392h6.101l0.566-3.157L234.855,31.112L234.855,31.112z M259.768,22.14
35
- l0.17-0.948h-4.082l-3.91,6.72h2.156L259.768,22.14z M258.791,32.195c-0.713-0.631-1.568-1.06-2.568-1.286
36
- c-0.998-0.226-2.02-0.337-3.059-0.337c-3.24,0-5.914,1.006-8.02,3.02c-2.104,2.016-3.502,4.946-4.19,8.794
37
- c-0.324,1.804-0.417,3.427-0.278,4.871c0.139,1.441,0.529,2.683,1.168,3.718c0.639,1.039,1.553,1.836,2.736,2.393
38
- c1.184,0.555,2.648,0.834,4.393,0.834c1.561,0,3.072-0.211,4.539-0.633c1.467-0.42,2.725-0.989,3.771-1.713l-0.907-2.615
39
- c-0.604,0.482-1.463,0.902-2.565,1.263c-1.104,0.362-2.178,0.542-3.215,0.542c-1.347,0-2.451-0.188-3.318-0.563
40
- c-0.863-0.377-1.522-0.916-1.979-1.625c-0.455-0.705-0.729-1.569-0.818-2.592c-0.092-1.021-0.021-2.195,0.219-3.52h14.725
41
- c0.396-1.201,0.688-2.299,0.867-3.29c0.338-1.894,0.352-3.421,0.039-4.577C260.016,33.723,259.503,32.828,258.791,32.195z
42
- M256.628,39.907h-11.376c0.617-2.255,1.553-3.851,2.809-4.781c1.25-0.933,2.778-1.397,4.584-1.397
43
- c1.621,0,2.791,0.459,3.515,1.375C256.881,36.021,257.038,37.623,256.628,39.907z M267.555,32.525
44
- c0.243-0.016,0.448-0.093,0.617-0.228c0.167-0.136,0.249-0.332,0.249-0.589c0-0.345-0.12-0.587-0.366-0.728
45
- c-0.244-0.139-0.537-0.209-0.881-0.209c-0.211,0-0.438,0.01-0.673,0.03c-0.235,0.021-0.419,0.049-0.549,0.09v3.114h0.635v-1.431
46
- l0.587,0.181l0.881,1.25h0.746l-0.904-1.31L267.555,32.525z M267.004,32.212h-0.417V31.36c0.05-0.025,0.114-0.039,0.195-0.042
47
- c0.081-0.004,0.167-0.008,0.258-0.008c0.474,0,0.709,0.141,0.709,0.423c0,0.176-0.063,0.3-0.194,0.372
48
- C267.423,32.177,267.238,32.212,267.004,32.212z M270.201,31.089c-0.167-0.396-0.396-0.73-0.689-1
49
- c-0.296-0.268-0.641-0.473-1.035-0.612c-0.396-0.141-0.816-0.21-1.267-0.21c-0.438,0-0.854,0.069-1.247,0.21
50
- c-0.393,0.139-0.736,0.344-1.033,0.612c-0.298,0.269-0.531,0.603-0.703,1c-0.172,0.396-0.258,0.852-0.258,1.364
51
- c0,0.514,0.084,0.969,0.252,1.365c0.166,0.396,0.396,0.729,0.69,0.998c0.293,0.27,0.636,0.474,1.026,0.613
52
- c0.392,0.141,0.815,0.209,1.271,0.209c0.441,0,0.855-0.068,1.249-0.209c0.39-0.141,0.733-0.345,1.033-0.613
53
- c0.297-0.269,0.532-0.603,0.704-0.998c0.168-0.396,0.256-0.853,0.256-1.365C270.452,31.941,270.369,31.485,270.201,31.089z
54
- M269.492,33.555c-0.129,0.31-0.301,0.565-0.521,0.771c-0.22,0.202-0.48,0.356-0.783,0.456c-0.301,0.101-0.627,0.15-0.979,0.15
55
- c-0.333,0-0.652-0.053-0.953-0.156c-0.302-0.104-0.564-0.258-0.789-0.463c-0.224-0.205-0.402-0.461-0.531-0.771
56
- c-0.131-0.309-0.194-0.67-0.194-1.089c0-0.415,0.06-0.779,0.182-1.088c0.123-0.31,0.294-0.565,0.515-0.771
57
- c0.22-0.205,0.48-0.358,0.783-0.462c0.301-0.104,0.631-0.157,0.989-0.157c0.345,0,0.663,0.053,0.962,0.157
58
- c0.297,0.104,0.557,0.258,0.783,0.462c0.223,0.205,0.4,0.46,0.531,0.771c0.129,0.309,0.195,0.673,0.195,1.088
59
- C269.682,32.878,269.619,33.246,269.492,33.555z M57.74,42.859l-2.851,2.856h11.407l11.406,9.998H17.819l11.406-9.998h8.556
60
- l-2.853-2.856h-8.554L6.412,60h82.695l-19.96-17.141H57.74z"/>
61
- </g>
62
- </g>
63
- <path fill="#3AB6E4" d="M122.255,22.094H97.208v5.501h9.404V53.66h6.284V27.596h9.358L122.255,22.094L122.255,22.094z"/>
64
- <path fill="#3AB6E4" d="M135.885,47.889c-0.519,0.393-1.273,0.774-2.264,1.148c-0.991,0.376-2.111,0.564-3.36,0.564
65
- c-2.011,0-3.467-0.481-4.365-1.443c-0.9-0.963-1.395-2.391-1.486-4.283h13.717c0.152-0.78,0.267-1.532,0.343-2.255
66
- c0.076-0.724,0.115-1.397,0.115-2.028c0-1.742-0.261-3.203-0.78-4.376c-0.521-1.172-1.208-2.102-2.064-2.794
67
- c-0.856-0.693-1.834-1.188-2.935-1.489c-1.101-0.3-2.233-0.45-3.395-0.45c-3.486,0-6.193,0.99-8.119,2.975
68
- c-1.927,1.983-2.89,4.962-2.89,8.931c0,3.697,0.855,6.605,2.568,8.725c1.712,2.121,4.419,3.181,8.119,3.181
69
- c1.772,0,3.447-0.247,5.022-0.744c1.575-0.495,2.822-1.104,3.74-1.827L135.885,47.889z M132.282,36.479
70
- c0.624,0.875,0.875,2.121,0.753,3.744h-8.487c0.152-1.533,0.601-2.759,1.346-3.675c0.745-0.917,1.894-1.376,3.446-1.376
71
- C130.676,35.172,131.659,35.607,132.282,36.479z"/>
72
- <path fill="#3AB6E4" d="M151.497,49.105c-0.535,0.33-1.247,0.496-2.134,0.496c-1.223,0-2.416-0.188-3.576-0.564
73
- c-1.164-0.374-2.096-0.757-2.799-1.148l-1.651,4.375c0.888,0.539,2.04,1.014,3.462,1.42c1.422,0.405,2.942,0.608,4.564,0.608
74
- c2.966,0,5.189-0.653,6.674-1.962c1.482-1.309,2.225-3.104,2.225-5.389c0-1.322-0.26-2.405-0.779-3.246
75
- c-0.521-0.842-1.162-1.525-1.928-2.053c-0.765-0.525-1.604-0.955-2.521-1.285c-0.917-0.332-1.761-0.641-2.522-0.926
76
- c-0.766-0.283-1.406-0.593-1.928-0.923c-0.521-0.333-0.779-0.767-0.779-1.31c0-1.354,0.887-2.028,2.66-2.028
77
- c1.102,0,2.186,0.149,3.258,0.451c1.068,0.302,1.955,0.585,2.66,0.854l1.33-4.237c-0.796-0.451-1.896-0.858-3.303-1.218
78
- c-1.407-0.361-2.982-0.541-4.725-0.541c-2.539,0-4.48,0.584-5.826,1.758c-1.346,1.172-2.019,2.872-2.019,5.096
79
- c0,1.354,0.261,2.457,0.779,3.314c0.521,0.854,1.162,1.563,1.926,2.117c0.765,0.559,1.604,0.992,2.522,1.309s1.76,0.625,2.523,0.926
80
- c0.764,0.3,1.406,0.63,1.926,0.992c0.521,0.359,0.78,0.841,0.78,1.441C152.3,48.22,152.032,48.775,151.497,49.105z"/>
81
- <path fill="#3AB6E4" d="M160.051,36.072h3.165v11.365c0,2.435,0.497,4.187,1.491,5.252c0.993,1.068,2.545,1.603,4.656,1.603
82
- c1.13,0,2.246-0.138,3.348-0.406c1.102-0.27,2.064-0.603,2.891-0.991l-1.056-4.511c-0.55,0.24-1.048,0.423-1.489,0.542
83
- c-0.445,0.121-0.973,0.182-1.582,0.182c-0.889,0-1.492-0.34-1.813-1.017c-0.322-0.676-0.482-1.795-0.482-3.358v-8.659h5.596v-4.96
84
- h-5.596v-5.908l-5.964,1.669v4.239h-3.165V36.072L160.051,36.072z"/>
85
- <path fill="#3AB6E4" d="M76.411,7.152L46.468,37.148L35.061,25.72l-7.128,7.142L46.468,51.43l37.071-37.139L76.411,7.152z"/>
86
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg class="logo" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="276px" height="66px" viewBox="0 0 276 66" enable-background="new 0 0 276 66" xml:space="preserve">
5
+ <g>
6
+ <g>
7
+ <path fill="#FFFFFF" d="M186.956,31.79c0.877-1.653,1.89-2.992,3.036-4.014c1.146-1.021,2.371-1.758,3.676-2.208
8
+ c1.305-0.452,2.583-0.676,3.838-0.676c2.721,0,4.751,0.36,6.09,1.083l1.516-3.337c-0.768-0.333-1.713-0.595-2.84-0.789
9
+ c-1.127-0.196-2.606-0.293-4.441-0.293c-1.714,0-3.449,0.3-5.208,0.9c-1.759,0.602-3.421,1.555-4.985,2.864
10
+ c-1.564,1.308-2.937,2.992-4.117,5.051c-1.18,2.059-2.033,4.563-2.563,7.508c-0.508,2.826-0.579,5.271-0.214,7.328
11
+ c0.364,2.061,1.055,3.751,2.071,5.073c1.016,1.321,2.309,2.308,3.873,2.954c1.566,0.646,3.313,0.969,5.24,0.969
12
+ c1.59,0,3.112-0.135,4.566-0.405c1.457-0.271,2.705-0.751,3.744-1.442l-0.391-2.933c-0.777,0.422-1.705,0.769-2.777,1.038
13
+ c-1.073,0.27-2.297,0.406-3.674,0.406c-1.529,0-2.896-0.272-4.098-0.813c-1.203-0.541-2.188-1.354-2.958-2.437
14
+ s-1.282-2.435-1.544-4.06c-0.26-1.623-0.193-3.517,0.195-5.682C185.425,35.473,186.078,33.444,186.956,31.79z M220.857,31.382
15
+ c-0.887-0.419-2.127-0.63-3.717-0.63c-1.683,0-3.324,0.167-4.928,0.497s-3.05,0.842-4.335,1.532l0.653,2.751
16
+ c0.472-0.248,1.01-0.472,1.609-0.673c0.604-0.199,1.229-0.368,1.881-0.51s1.285-0.248,1.895-0.326
17
+ c0.609-0.075,1.175-0.114,1.695-0.114c1.772,0,2.938,0.331,3.49,0.991s0.683,1.82,0.387,3.473
18
+ c-0.129,0.723-0.319,1.534-0.573,2.436c-0.418-0.06-0.832-0.091-1.245-0.091h-1.262c-1.682,0-3.238,0.113-4.672,0.339
19
+ c-1.432,0.226-2.691,0.602-3.779,1.127c-1.089,0.525-1.986,1.233-2.695,2.118c-0.711,0.888-1.185,1.994-1.422,3.315
20
+ c-0.177,0.992-0.16,1.88,0.051,2.66c0.213,0.783,0.573,1.449,1.086,2.009c0.512,0.557,1.16,0.983,1.948,1.282
21
+ c0.787,0.302,1.671,0.453,2.647,0.453c0.979,0,1.867-0.105,2.672-0.316c0.802-0.21,1.521-0.473,2.158-0.789
22
+ c0.64-0.314,1.199-0.676,1.687-1.082c0.485-0.406,0.902-0.818,1.255-1.241h0.229l0.396,3.159h2.707
23
+ c-0.096-0.843-0.099-1.759-0.013-2.753c0.086-0.992,0.229-2.043,0.43-3.155c0.273-1.533,0.611-3.156,1.011-4.871
24
+ c0.398-1.713,0.76-3.472,1.084-5.275c0.146-0.813,0.207-1.624,0.185-2.436s-0.226-1.556-0.606-2.231
25
+ C222.382,32.354,221.746,31.805,220.857,31.382z M217.751,47.302c-0.224,0.392-0.532,0.8-0.929,1.218
26
+ c-0.397,0.422-0.87,0.805-1.422,1.15c-0.553,0.346-1.187,0.63-1.896,0.855c-0.713,0.227-1.499,0.34-2.355,0.34
27
+ c-1.19,0-2.108-0.34-2.752-1.016c-0.646-0.678-0.871-1.541-0.684-2.593c0.135-0.752,0.453-1.376,0.956-1.871
28
+ c0.501-0.497,1.121-0.887,1.86-1.175c0.738-0.284,1.57-0.479,2.49-0.586c0.92-0.104,1.855-0.157,2.803-0.157
29
+ c0.43,0,0.861,0.009,1.305,0.022c0.439,0.016,0.873,0.039,1.296,0.066L217.751,47.302z M234.855,31.112l0.113-0.63
30
+ c0.161-0.902,0.326-1.691,0.493-2.368c0.167-0.678,0.394-1.249,0.675-1.714c0.282-0.466,0.666-0.819,1.152-1.06
31
+ c0.486-0.241,1.126-0.36,1.922-0.36c0.551,0,1.132,0.044,1.743,0.134c0.608,0.09,1.239,0.286,1.892,0.586l1.366-3.021
32
+ c-0.769-0.33-1.515-0.556-2.241-0.676c-0.729-0.12-1.582-0.18-2.561-0.18c-1.223,0-2.276,0.157-3.158,0.473
33
+ s-1.641,0.796-2.277,1.442c-0.635,0.648-1.158,1.482-1.57,2.504c-0.414,1.022-0.744,2.224-0.992,3.607l-0.227,1.262h-3.578
34
+ l-0.565,3.157h3.578l-3.479,19.392h3.672l3.478-19.392h6.101l0.566-3.157L234.855,31.112L234.855,31.112z M259.768,22.14
35
+ l0.17-0.948h-4.082l-3.91,6.72h2.156L259.768,22.14z M258.791,32.195c-0.713-0.631-1.568-1.06-2.568-1.286
36
+ c-0.998-0.226-2.02-0.337-3.059-0.337c-3.24,0-5.914,1.006-8.02,3.02c-2.104,2.016-3.502,4.946-4.19,8.794
37
+ c-0.324,1.804-0.417,3.427-0.278,4.871c0.139,1.441,0.529,2.683,1.168,3.718c0.639,1.039,1.553,1.836,2.736,2.393
38
+ c1.184,0.555,2.648,0.834,4.393,0.834c1.561,0,3.072-0.211,4.539-0.633c1.467-0.42,2.725-0.989,3.771-1.713l-0.907-2.615
39
+ c-0.604,0.482-1.463,0.902-2.565,1.263c-1.104,0.362-2.178,0.542-3.215,0.542c-1.347,0-2.451-0.188-3.318-0.563
40
+ c-0.863-0.377-1.522-0.916-1.979-1.625c-0.455-0.705-0.729-1.569-0.818-2.592c-0.092-1.021-0.021-2.195,0.219-3.52h14.725
41
+ c0.396-1.201,0.688-2.299,0.867-3.29c0.338-1.894,0.352-3.421,0.039-4.577C260.016,33.723,259.503,32.828,258.791,32.195z
42
+ M256.628,39.907h-11.376c0.617-2.255,1.553-3.851,2.809-4.781c1.25-0.933,2.778-1.397,4.584-1.397
43
+ c1.621,0,2.791,0.459,3.515,1.375C256.881,36.021,257.038,37.623,256.628,39.907z M267.555,32.525
44
+ c0.243-0.016,0.448-0.093,0.617-0.228c0.167-0.136,0.249-0.332,0.249-0.589c0-0.345-0.12-0.587-0.366-0.728
45
+ c-0.244-0.139-0.537-0.209-0.881-0.209c-0.211,0-0.438,0.01-0.673,0.03c-0.235,0.021-0.419,0.049-0.549,0.09v3.114h0.635v-1.431
46
+ l0.587,0.181l0.881,1.25h0.746l-0.904-1.31L267.555,32.525z M267.004,32.212h-0.417V31.36c0.05-0.025,0.114-0.039,0.195-0.042
47
+ c0.081-0.004,0.167-0.008,0.258-0.008c0.474,0,0.709,0.141,0.709,0.423c0,0.176-0.063,0.3-0.194,0.372
48
+ C267.423,32.177,267.238,32.212,267.004,32.212z M270.201,31.089c-0.167-0.396-0.396-0.73-0.689-1
49
+ c-0.296-0.268-0.641-0.473-1.035-0.612c-0.396-0.141-0.816-0.21-1.267-0.21c-0.438,0-0.854,0.069-1.247,0.21
50
+ c-0.393,0.139-0.736,0.344-1.033,0.612c-0.298,0.269-0.531,0.603-0.703,1c-0.172,0.396-0.258,0.852-0.258,1.364
51
+ c0,0.514,0.084,0.969,0.252,1.365c0.166,0.396,0.396,0.729,0.69,0.998c0.293,0.27,0.636,0.474,1.026,0.613
52
+ c0.392,0.141,0.815,0.209,1.271,0.209c0.441,0,0.855-0.068,1.249-0.209c0.39-0.141,0.733-0.345,1.033-0.613
53
+ c0.297-0.269,0.532-0.603,0.704-0.998c0.168-0.396,0.256-0.853,0.256-1.365C270.452,31.941,270.369,31.485,270.201,31.089z
54
+ M269.492,33.555c-0.129,0.31-0.301,0.565-0.521,0.771c-0.22,0.202-0.48,0.356-0.783,0.456c-0.301,0.101-0.627,0.15-0.979,0.15
55
+ c-0.333,0-0.652-0.053-0.953-0.156c-0.302-0.104-0.564-0.258-0.789-0.463c-0.224-0.205-0.402-0.461-0.531-0.771
56
+ c-0.131-0.309-0.194-0.67-0.194-1.089c0-0.415,0.06-0.779,0.182-1.088c0.123-0.31,0.294-0.565,0.515-0.771
57
+ c0.22-0.205,0.48-0.358,0.783-0.462c0.301-0.104,0.631-0.157,0.989-0.157c0.345,0,0.663,0.053,0.962,0.157
58
+ c0.297,0.104,0.557,0.258,0.783,0.462c0.223,0.205,0.4,0.46,0.531,0.771c0.129,0.309,0.195,0.673,0.195,1.088
59
+ C269.682,32.878,269.619,33.246,269.492,33.555z M57.74,42.859l-2.851,2.856h11.407l11.406,9.998H17.819l11.406-9.998h8.556
60
+ l-2.853-2.856h-8.554L6.412,60h82.695l-19.96-17.141H57.74z"/>
61
+ </g>
62
+ </g>
63
+ <path fill="#3AB6E4" d="M122.255,22.094H97.208v5.501h9.404V53.66h6.284V27.596h9.358L122.255,22.094L122.255,22.094z"/>
64
+ <path fill="#3AB6E4" d="M135.885,47.889c-0.519,0.393-1.273,0.774-2.264,1.148c-0.991,0.376-2.111,0.564-3.36,0.564
65
+ c-2.011,0-3.467-0.481-4.365-1.443c-0.9-0.963-1.395-2.391-1.486-4.283h13.717c0.152-0.78,0.267-1.532,0.343-2.255
66
+ c0.076-0.724,0.115-1.397,0.115-2.028c0-1.742-0.261-3.203-0.78-4.376c-0.521-1.172-1.208-2.102-2.064-2.794
67
+ c-0.856-0.693-1.834-1.188-2.935-1.489c-1.101-0.3-2.233-0.45-3.395-0.45c-3.486,0-6.193,0.99-8.119,2.975
68
+ c-1.927,1.983-2.89,4.962-2.89,8.931c0,3.697,0.855,6.605,2.568,8.725c1.712,2.121,4.419,3.181,8.119,3.181
69
+ c1.772,0,3.447-0.247,5.022-0.744c1.575-0.495,2.822-1.104,3.74-1.827L135.885,47.889z M132.282,36.479
70
+ c0.624,0.875,0.875,2.121,0.753,3.744h-8.487c0.152-1.533,0.601-2.759,1.346-3.675c0.745-0.917,1.894-1.376,3.446-1.376
71
+ C130.676,35.172,131.659,35.607,132.282,36.479z"/>
72
+ <path fill="#3AB6E4" d="M151.497,49.105c-0.535,0.33-1.247,0.496-2.134,0.496c-1.223,0-2.416-0.188-3.576-0.564
73
+ c-1.164-0.374-2.096-0.757-2.799-1.148l-1.651,4.375c0.888,0.539,2.04,1.014,3.462,1.42c1.422,0.405,2.942,0.608,4.564,0.608
74
+ c2.966,0,5.189-0.653,6.674-1.962c1.482-1.309,2.225-3.104,2.225-5.389c0-1.322-0.26-2.405-0.779-3.246
75
+ c-0.521-0.842-1.162-1.525-1.928-2.053c-0.765-0.525-1.604-0.955-2.521-1.285c-0.917-0.332-1.761-0.641-2.522-0.926
76
+ c-0.766-0.283-1.406-0.593-1.928-0.923c-0.521-0.333-0.779-0.767-0.779-1.31c0-1.354,0.887-2.028,2.66-2.028
77
+ c1.102,0,2.186,0.149,3.258,0.451c1.068,0.302,1.955,0.585,2.66,0.854l1.33-4.237c-0.796-0.451-1.896-0.858-3.303-1.218
78
+ c-1.407-0.361-2.982-0.541-4.725-0.541c-2.539,0-4.48,0.584-5.826,1.758c-1.346,1.172-2.019,2.872-2.019,5.096
79
+ c0,1.354,0.261,2.457,0.779,3.314c0.521,0.854,1.162,1.563,1.926,2.117c0.765,0.559,1.604,0.992,2.522,1.309s1.76,0.625,2.523,0.926
80
+ c0.764,0.3,1.406,0.63,1.926,0.992c0.521,0.359,0.78,0.841,0.78,1.441C152.3,48.22,152.032,48.775,151.497,49.105z"/>
81
+ <path fill="#3AB6E4" d="M160.051,36.072h3.165v11.365c0,2.435,0.497,4.187,1.491,5.252c0.993,1.068,2.545,1.603,4.656,1.603
82
+ c1.13,0,2.246-0.138,3.348-0.406c1.102-0.27,2.064-0.603,2.891-0.991l-1.056-4.511c-0.55,0.24-1.048,0.423-1.489,0.542
83
+ c-0.445,0.121-0.973,0.182-1.582,0.182c-0.889,0-1.492-0.34-1.813-1.017c-0.322-0.676-0.482-1.795-0.482-3.358v-8.659h5.596v-4.96
84
+ h-5.596v-5.908l-5.964,1.669v4.239h-3.165V36.072L160.051,36.072z"/>
85
+ <path fill="#3AB6E4" d="M76.411,7.152L46.468,37.148L35.061,25.72l-7.128,7.142L46.468,51.43l37.071-37.139L76.411,7.152z"/>
86
+ </svg>
@@ -1,12 +1,12 @@
1
- window['%hammerhead%'].utils.removeInjectedScript();
2
-
3
- // NOTE: We should have the capability to initialize scripts with different contexts.
4
- // This is required for iframes without the src attribute because Hammerhead does not
5
- // inject scripts into such iframes. So, we wrap all scripts in initialization functions.
6
- (function () {
7
- function initTestCafeCore(window, isIFrameWithoutSrc) {
8
- var document = window.document;
9
-
1
+ window['%hammerhead%'].utils.removeInjectedScript();
2
+
3
+ // NOTE: We should have the capability to initialize scripts with different contexts.
4
+ // This is required for iframes without the src attribute because Hammerhead does not
5
+ // inject scripts into such iframes. So, we wrap all scripts in initialization functions.
6
+ (function () {
7
+ function initTestCafeCore(window, isIFrameWithoutSrc) {
8
+ var document = window.document;
9
+
10
10
  (function (hammerhead, Promise$6) {
11
11
  var hammerhead__default = 'default' in hammerhead ? hammerhead['default'] : hammerhead;
12
12
  Promise$6 = Promise$6 && Object.prototype.hasOwnProperty.call(Promise$6, 'default') ? Promise$6['default'] : Promise$6;
@@ -3318,8 +3318,8 @@ window['%hammerhead%'].utils.removeInjectedScript();
3318
3318
  hammerhead__default.on(evalIframeScript, function (e) { return initTestCafeCore(nativeMethods$7.contentWindowGetter.call(e.iframe), true); });
3319
3319
 
3320
3320
  }(window['%hammerhead%'], window['%hammerhead%'].Promise));
3321
-
3322
- }
3323
-
3324
- initTestCafeCore(window);
3325
- })();
3321
+
3322
+ }
3323
+
3324
+ initTestCafeCore(window);
3325
+ })();
@@ -1,12 +1,12 @@
1
- window['%hammerhead%'].utils.removeInjectedScript();
2
-
3
- // NOTE: We should have the capability to initialize scripts with different contexts.
4
- // This is required for iframes without the src attribute because Hammerhead does not
5
- // inject scripts into such iframes. So, we wrap all scripts in initialization functions.
6
- (function () {
7
- function initTestCafeClientDrivers(window, isIFrameWithoutSrc) {
8
- var document = window.document;
9
-
1
+ window['%hammerhead%'].utils.removeInjectedScript();
2
+
3
+ // NOTE: We should have the capability to initialize scripts with different contexts.
4
+ // This is required for iframes without the src attribute because Hammerhead does not
5
+ // inject scripts into such iframes. So, we wrap all scripts in initialization functions.
6
+ (function () {
7
+ function initTestCafeClientDrivers(window, isIFrameWithoutSrc) {
8
+ var document = window.document;
9
+
10
10
  (function (hammerhead, Promise$8, testCafeCore, testcafeAutomation, testCafeUI) {
11
11
  var hammerhead__default = 'default' in hammerhead ? hammerhead['default'] : hammerhead;
12
12
  Promise$8 = Promise$8 && Object.prototype.hasOwnProperty.call(Promise$8, 'default') ? Promise$8['default'] : Promise$8;
@@ -157,6 +157,7 @@ window['%hammerhead%'].utils.removeInjectedScript();
157
157
  setNativeDialogHandler: 'set-native-dialog-handler',
158
158
  getNativeDialogHistory: 'get-native-dialog-history',
159
159
  getBrowserConsoleMessages: 'get-browser-console-messages',
160
+ getActiveElement: 'get-active-element',
160
161
  setTestSpeed: 'set-test-speed',
161
162
  setPageLoadTimeout: 'set-page-load-timeout',
162
163
  debug: 'debug',
@@ -3273,13 +3274,15 @@ window['%hammerhead%'].utils.removeInjectedScript();
3273
3274
  var _this = _super.call(this) || this;
3274
3275
  _this.replace = false;
3275
3276
  _this.paste = false;
3277
+ _this.confidential = void 0;
3276
3278
  _this._assignFrom(obj, validate);
3277
3279
  return _this;
3278
3280
  }
3279
3281
  TypeOptions.prototype._getAssignableProperties = function () {
3280
3282
  return _super.prototype._getAssignableProperties.call(this).concat([
3281
3283
  { name: 'replace', type: booleanOption },
3282
- { name: 'paste', type: booleanOption }
3284
+ { name: 'paste', type: booleanOption },
3285
+ { name: 'confidential', type: booleanOption }
3283
3286
  ]);
3284
3287
  };
3285
3288
  return TypeOptions;
@@ -3335,7 +3338,23 @@ window['%hammerhead%'].utils.removeInjectedScript();
3335
3338
  ];
3336
3339
  };
3337
3340
  return AssertionOptions;
3338
- }(Assignable));
3341
+ }(Assignable));
3342
+ // Press
3343
+ var PressOptions = /** @class */ (function (_super) {
3344
+ __extends(PressOptions, _super);
3345
+ function PressOptions(obj, validate) {
3346
+ var _this = _super.call(this) || this;
3347
+ _this.confidential = void 0;
3348
+ _this._assignFrom(obj, validate);
3349
+ return _this;
3350
+ }
3351
+ PressOptions.prototype._getAssignableProperties = function () {
3352
+ return _super.prototype._getAssignableProperties.call(this).concat([
3353
+ { name: 'confidential', type: booleanOption }
3354
+ ]);
3355
+ };
3356
+ return PressOptions;
3357
+ }(ActionOptions));
3339
3358
 
3340
3359
  function getPointsDistance(start, end) {
3341
3360
  return Math.sqrt(Math.pow(end.x - start.x, 2) + Math.pow(end.y - start.y, 2));
@@ -4887,10 +4906,12 @@ window['%hammerhead%'].utils.removeInjectedScript();
4887
4906
  hammerhead__default.on(hammerhead__default.EVENTS.beforeFormSubmit, function (e) { return _this._onFormSubmit(e); });
4888
4907
  hammerhead__default.on(hammerhead__default.EVENTS.windowOpened, function (e) { return _this._onChildWindowOpened(e); });
4889
4908
  _this.setCustomCommandHandlers(COMMAND_TYPE.unlockPage, function () { return _this._unlockPageAfterTestIsDone(); });
4909
+ _this.setCustomCommandHandlers(COMMAND_TYPE.getActiveElement, function () { return _this._getActiveElement(); });
4890
4910
  // NOTE: initiate the child links restoring process before the window is reloaded
4891
4911
  listeners.addInternalEventBeforeListener(window, ['beforeunload'], function () {
4892
4912
  _this._sendStartToRestoreCommand();
4893
4913
  });
4914
+ _this.replicator = createReplicator([new SelectorNodeTransform()]);
4894
4915
  return _this;
4895
4916
  }
4896
4917
  Driver.prototype._isOpenedInIframe = function () {
@@ -4956,6 +4977,15 @@ window['%hammerhead%'].utils.removeInjectedScript();
4956
4977
  testCafeCore.disableRealEventsPreventing();
4957
4978
  return Promise$7.resolve();
4958
4979
  };
4980
+ Driver.prototype._getActiveElement = function () {
4981
+ return __awaiter(this, void 0, void 0, function () {
4982
+ var activeElement;
4983
+ return __generator(this, function (_a) {
4984
+ activeElement = testCafeCore.domUtils.getActiveElement();
4985
+ return [2 /*return*/, this.replicator.encode(activeElement)];
4986
+ });
4987
+ });
4988
+ };
4959
4989
  Driver.prototype._failIfClientCodeExecutionIsInterrupted = function () {
4960
4990
  // NOTE: ClientFunction should be used primarily for observation. We raise
4961
4991
  // an error if the page was reloaded during ClientFunction execution.
@@ -6385,8 +6415,8 @@ window['%hammerhead%'].utils.removeInjectedScript();
6385
6415
  hammerhead__default.on(evalIframeScript, function (e) { return initTestCafeClientDrivers(nativeMethods$9.contentWindowGetter.call(e.iframe), true); });
6386
6416
 
6387
6417
  }(window['%hammerhead%'], window['%hammerhead%'].Promise, window['%testCafeCore%'], window['%testCafeAutomation%'], window['%testCafeUI%']));
6388
-
6389
- }
6390
-
6391
- initTestCafeClientDrivers(window);
6392
- })();
6418
+
6419
+ }
6420
+
6421
+ initTestCafeClientDrivers(window);
6422
+ })();