@hippovideo/video-sdk 0.0.0-experimental-57e5188bf2f4-20230412 → 0.0.0-experimental-3f0fc16a9182-20230412
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.
- package/app/188-bundle-hippo-jg92yxh4ptg-b0e470050ed64c1ef410.js +1 -0
- package/app/307-bundle-hippo-jg92yxh4ptg-df96d02d7be681b608e1.js +1 -0
- package/app/{520-bundle-hippo-s5wv9kbacp-88f5445625e785134d69.js → 520-bundle-hippo-jg92yxh4ptg-5b14ec0550c41c49a6f9.js} +1 -1
- package/app/{307-bundle-hippo-s5wv9kbacp-46ceaa5b69d013f1a160.js → 620-bundle-hippo-jg92yxh4ptg-3535e2a9b44bf0802f2b.js} +1 -1
- package/app/693-bundle-hippo-jg92yxh4ptg-44beb732c5c7d51e5148.js +1 -0
- package/app/hv_recorder.css +1 -1
- package/app/hv_recorder.js +1 -1
- package/app/hv_recorder.js.LICENSE.txt +351 -0
- package/app/webpack-common-manifest.json +37 -36
- package/package.json +1 -1
- package/app/188-bundle-hippo-s5wv9kbacp-172cb81eed965b87561f.js +0 -1
- package/app/245-bundle-hippo-s5wv9kbacp-df9840613ab18982c9c7.js +0 -2
- package/app/245-bundle-hippo-s5wv9kbacp-df9840613ab18982c9c7.js.LICENSE.txt +0 -125
- /package/app/{107-bundle-hippo-s5wv9kbacp-3fad86f11646f0cd2296.js → 107-bundle-hippo-jg92yxh4ptg-3fad86f11646f0cd2296.js} +0 -0
- /package/app/{157-bundle-hippo-s5wv9kbacp-43ffe4f0105f15644971.js → 157-bundle-hippo-jg92yxh4ptg-43ffe4f0105f15644971.js} +0 -0
- /package/app/{238-bundle-hippo-s5wv9kbacp-b61acbf599b47f15e1ff.js → 238-bundle-hippo-jg92yxh4ptg-b61acbf599b47f15e1ff.js} +0 -0
- /package/app/{239-bundle-hippo-s5wv9kbacp-29765f212c5b82b9b5c9.js → 239-bundle-hippo-jg92yxh4ptg-29765f212c5b82b9b5c9.js} +0 -0
- /package/app/{283-bundle-hippo-s5wv9kbacp-8e24dc0f420ee494af1f.js → 283-bundle-hippo-jg92yxh4ptg-8e24dc0f420ee494af1f.js} +0 -0
- /package/app/{362-bundle-hippo-s5wv9kbacp-28bf93bdaaaca6e8a7d1.js → 362-bundle-hippo-jg92yxh4ptg-28bf93bdaaaca6e8a7d1.js} +0 -0
- /package/app/{37-bundle-hippo-s5wv9kbacp-9b5af7bec7e324bfea39.js → 37-bundle-hippo-jg92yxh4ptg-9b5af7bec7e324bfea39.js} +0 -0
- /package/app/{442-bundle-hippo-s5wv9kbacp-a40760aafd35feb385c9.js → 442-bundle-hippo-jg92yxh4ptg-a40760aafd35feb385c9.js} +0 -0
- /package/app/{454-bundle-hippo-s5wv9kbacp-640863e104cb8d4444b5.js → 454-bundle-hippo-jg92yxh4ptg-640863e104cb8d4444b5.js} +0 -0
- /package/app/{487-bundle-hippo-s5wv9kbacp-a8a4683af31cd239bdfa.js → 487-bundle-hippo-jg92yxh4ptg-a8a4683af31cd239bdfa.js} +0 -0
- /package/app/{520-bundle-hippo-s5wv9kbacp-88f5445625e785134d69.js.LICENSE.txt → 520-bundle-hippo-jg92yxh4ptg-5b14ec0550c41c49a6f9.js.LICENSE.txt} +0 -0
- /package/app/{525-bundle-hippo-s5wv9kbacp-9e22fb533f478807c968.js → 525-bundle-hippo-jg92yxh4ptg-9e22fb533f478807c968.js} +0 -0
- /package/app/{528-bundle-hippo-s5wv9kbacp-e7c6879087f0bc809436.js → 528-bundle-hippo-jg92yxh4ptg-e7c6879087f0bc809436.js} +0 -0
- /package/app/{582-bundle-hippo-s5wv9kbacp-a9eac0a0dff2505acd77.js → 582-bundle-hippo-jg92yxh4ptg-a9eac0a0dff2505acd77.js} +0 -0
- /package/app/{605-bundle-hippo-s5wv9kbacp-3d6e46646daa3d9ffc77.js → 605-bundle-hippo-jg92yxh4ptg-3d6e46646daa3d9ffc77.js} +0 -0
- /package/app/{611-bundle-hippo-s5wv9kbacp-f7d2a84b0b194f07a962.js → 611-bundle-hippo-jg92yxh4ptg-f7d2a84b0b194f07a962.js} +0 -0
- /package/app/{652-bundle-hippo-s5wv9kbacp-2446a2200548df5c62f3.js → 652-bundle-hippo-jg92yxh4ptg-2446a2200548df5c62f3.js} +0 -0
- /package/app/{66-bundle-hippo-s5wv9kbacp-d26ab7f3718ca8adb7b9.js → 66-bundle-hippo-jg92yxh4ptg-d26ab7f3718ca8adb7b9.js} +0 -0
- /package/app/{660-bundle-hippo-s5wv9kbacp-e4d99213565d245f92b3.js → 660-bundle-hippo-jg92yxh4ptg-e4d99213565d245f92b3.js} +0 -0
- /package/app/{692-bundle-hippo-s5wv9kbacp-98e2778801517c6d709f.js → 692-bundle-hippo-jg92yxh4ptg-98e2778801517c6d709f.js} +0 -0
- /package/app/{751-bundle-hippo-s5wv9kbacp-d3e1ee01d1e1f8c54119.js → 751-bundle-hippo-jg92yxh4ptg-d3e1ee01d1e1f8c54119.js} +0 -0
- /package/app/{771-bundle-hippo-s5wv9kbacp-5a6062e3490ee9261b7e.js → 771-bundle-hippo-jg92yxh4ptg-5a6062e3490ee9261b7e.js} +0 -0
- /package/app/{780-bundle-hippo-s5wv9kbacp-4e7a932e3d7564dbfd08.js → 780-bundle-hippo-jg92yxh4ptg-4e7a932e3d7564dbfd08.js} +0 -0
- /package/app/{795-bundle-hippo-s5wv9kbacp-fa5dee47c4eb61932834.js → 795-bundle-hippo-jg92yxh4ptg-fa5dee47c4eb61932834.js} +0 -0
- /package/app/{823-bundle-hippo-s5wv9kbacp-2b0bbd0da340d8be2937.js → 823-bundle-hippo-jg92yxh4ptg-2b0bbd0da340d8be2937.js} +0 -0
- /package/app/{847-bundle-hippo-s5wv9kbacp-a7274fcf2651c06dc9cc.js → 847-bundle-hippo-jg92yxh4ptg-a7274fcf2651c06dc9cc.js} +0 -0
- /package/app/{85-bundle-hippo-s5wv9kbacp-cee943b1271f7f21df76.js → 85-bundle-hippo-jg92yxh4ptg-cee943b1271f7f21df76.js} +0 -0
- /package/app/{869-bundle-hippo-s5wv9kbacp-ba44b48c8f4a26fe0e40.js → 869-bundle-hippo-jg92yxh4ptg-ba44b48c8f4a26fe0e40.js} +0 -0
- /package/app/{881-bundle-hippo-s5wv9kbacp-1e41c84326fac8446b66.js → 881-bundle-hippo-jg92yxh4ptg-1e41c84326fac8446b66.js} +0 -0
- /package/app/{892-bundle-hippo-s5wv9kbacp-6dc5a8967bfd8695b74a.js → 892-bundle-hippo-jg92yxh4ptg-6dc5a8967bfd8695b74a.js} +0 -0
- /package/app/{907-bundle-hippo-s5wv9kbacp-6b974d5b2e5cef32804d.js → 907-bundle-hippo-jg92yxh4ptg-6b974d5b2e5cef32804d.js} +0 -0
- /package/app/{963-bundle-hippo-s5wv9kbacp-abde1d79679a282d1de2.js → 963-bundle-hippo-jg92yxh4ptg-abde1d79679a282d1de2.js} +0 -0
- /package/app/{99-bundle-hippo-s5wv9kbacp-97ea9400b435050ace92.js → 99-bundle-hippo-jg92yxh4ptg-97ea9400b435050ace92.js} +0 -0
|
@@ -4,6 +4,12 @@ object-assign
|
|
|
4
4
|
@license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
/*!
|
|
8
|
+
Copyright (c) 2018 Jed Watson.
|
|
9
|
+
Licensed under the MIT License (MIT), see
|
|
10
|
+
http://jedwatson.github.io/classnames
|
|
11
|
+
*/
|
|
12
|
+
|
|
7
13
|
/*!
|
|
8
14
|
* https://github.com/furf/jquery-ui-touch-punch
|
|
9
15
|
* jQuery UI Touch Punch 0.2.3
|
|
@@ -28,6 +34,35 @@ object-assign
|
|
|
28
34
|
* jquery.ui.mouse.js
|
|
29
35
|
*/
|
|
30
36
|
|
|
37
|
+
/*!
|
|
38
|
+
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2020
|
|
39
|
+
* @version 1.3.6
|
|
40
|
+
*
|
|
41
|
+
* Date formatter utility library that allows formatting date/time variables or Date objects using PHP DateTime format.
|
|
42
|
+
* This library is a standalone javascript library and does not depend on other libraries or plugins like jQuery. The
|
|
43
|
+
* library also adds support for Universal Module Definition (UMD).
|
|
44
|
+
*
|
|
45
|
+
* @see http://php.net/manual/en/function.date.php
|
|
46
|
+
*
|
|
47
|
+
* For more JQuery plugins visit http://plugins.krajee.com
|
|
48
|
+
* For more Yii related demos visit http://demos.krajee.com
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/*!
|
|
52
|
+
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
53
|
+
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
54
|
+
* @license Licensed under MIT license
|
|
55
|
+
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
56
|
+
* @version v4.2.8+1e68dce6
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
/*!
|
|
60
|
+
* Quill Editor v1.3.7
|
|
61
|
+
* https://quilljs.com/
|
|
62
|
+
* Copyright (c) 2014, Jason Chen
|
|
63
|
+
* Copyright (c) 2013, salesforce.com
|
|
64
|
+
*/
|
|
65
|
+
|
|
31
66
|
/*!
|
|
32
67
|
* Sizzle CSS Selector Engine v2.3.6
|
|
33
68
|
* https://sizzlejs.com/
|
|
@@ -145,6 +180,15 @@ object-assign
|
|
|
145
180
|
* http://jquery.org/license
|
|
146
181
|
*/
|
|
147
182
|
|
|
183
|
+
/*!
|
|
184
|
+
* jQuery UI Effects Blind 1.13.2
|
|
185
|
+
* http://jqueryui.com
|
|
186
|
+
*
|
|
187
|
+
* Copyright jQuery Foundation and other contributors
|
|
188
|
+
* Released under the MIT license.
|
|
189
|
+
* http://jquery.org/license
|
|
190
|
+
*/
|
|
191
|
+
|
|
148
192
|
/*!
|
|
149
193
|
* jQuery UI Effects Fade 1.13.2
|
|
150
194
|
* http://jqueryui.com
|
|
@@ -163,6 +207,15 @@ object-assign
|
|
|
163
207
|
* http://jquery.org/license
|
|
164
208
|
*/
|
|
165
209
|
|
|
210
|
+
/*!
|
|
211
|
+
* jQuery UI Effects Slide 1.13.2
|
|
212
|
+
* http://jqueryui.com
|
|
213
|
+
*
|
|
214
|
+
* Copyright jQuery Foundation and other contributors
|
|
215
|
+
* Released under the MIT license.
|
|
216
|
+
* http://jquery.org/license
|
|
217
|
+
*/
|
|
218
|
+
|
|
166
219
|
/*!
|
|
167
220
|
* jQuery UI Keycode 1.13.2
|
|
168
221
|
* http://jqueryui.com
|
|
@@ -226,6 +279,98 @@ object-assign
|
|
|
226
279
|
* http://jquery.org/license
|
|
227
280
|
*/
|
|
228
281
|
|
|
282
|
+
/*!
|
|
283
|
+
* jQuery Validation Plugin v1.19.5
|
|
284
|
+
*
|
|
285
|
+
* https://jqueryvalidation.org/
|
|
286
|
+
*
|
|
287
|
+
* Copyright (c) 2022 Jörn Zaefferer
|
|
288
|
+
* Released under the MIT license
|
|
289
|
+
*/
|
|
290
|
+
|
|
291
|
+
/*! *****************************************************************************
|
|
292
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
293
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
294
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
295
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
296
|
+
|
|
297
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
298
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
299
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
300
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
301
|
+
|
|
302
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
303
|
+
and limitations under the License.
|
|
304
|
+
***************************************************************************** */
|
|
305
|
+
|
|
306
|
+
/*! ../demux/demuxer-inline */
|
|
307
|
+
|
|
308
|
+
/*! ../demux/demuxer-worker.js */
|
|
309
|
+
|
|
310
|
+
/*! ../events */
|
|
311
|
+
|
|
312
|
+
/*! ../utils/get-self-scope */
|
|
313
|
+
|
|
314
|
+
/*! ../utils/logger */
|
|
315
|
+
|
|
316
|
+
/*! ./get-self-scope */
|
|
317
|
+
|
|
318
|
+
/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
|
|
319
|
+
|
|
320
|
+
/*! DataTables 1.10.18
|
|
321
|
+
* ©2008-2018 SpryMedia Ltd - datatables.net/license
|
|
322
|
+
*/
|
|
323
|
+
|
|
324
|
+
/*! DataTables 1.11.3
|
|
325
|
+
* ©2008-2021 SpryMedia Ltd - datatables.net/license
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
/*! DataTables Foundation integration
|
|
329
|
+
* ©2011-2015 SpryMedia Ltd - datatables.net/license
|
|
330
|
+
*/
|
|
331
|
+
|
|
332
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/eventemitter3/index.js (<- Module is not an ECMAScript module) */
|
|
333
|
+
|
|
334
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/url-toolkit/src/url-toolkit.js (<- Module is not an ECMAScript module) */
|
|
335
|
+
|
|
336
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/crypt/decrypter.js because of ./src/demux/demuxer-worker.js */
|
|
337
|
+
|
|
338
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/crypt/decrypter.js because of ./src/hls.ts */
|
|
339
|
+
|
|
340
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/demux/demuxer-inline.js because of ./src/demux/demuxer-worker.js */
|
|
341
|
+
|
|
342
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/demux/id3.js because of ./src/demux/demuxer-worker.js */
|
|
343
|
+
|
|
344
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/demux/id3.js because of ./src/hls.ts */
|
|
345
|
+
|
|
346
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/demux/mp4demuxer.js because of ./src/demux/demuxer-worker.js */
|
|
347
|
+
|
|
348
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/demux/mp4demuxer.js because of ./src/hls.ts */
|
|
349
|
+
|
|
350
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/errors.ts because of ./src/demux/demuxer-worker.js */
|
|
351
|
+
|
|
352
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/errors.ts because of ./src/hls.ts */
|
|
353
|
+
|
|
354
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/events.js because of ./src/demux/demuxer-worker.js */
|
|
355
|
+
|
|
356
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/events.js because of ./src/hls.ts */
|
|
357
|
+
|
|
358
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/polyfills/number.js because of ./src/demux/demuxer-worker.js */
|
|
359
|
+
|
|
360
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/polyfills/number.js because of ./src/hls.ts */
|
|
361
|
+
|
|
362
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/get-self-scope.js because of ./src/demux/demuxer-worker.js */
|
|
363
|
+
|
|
364
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/get-self-scope.js because of ./src/hls.ts */
|
|
365
|
+
|
|
366
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/logger.js because of ./src/demux/demuxer-worker.js */
|
|
367
|
+
|
|
368
|
+
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/logger.js because of ./src/hls.ts */
|
|
369
|
+
|
|
370
|
+
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
|
|
371
|
+
|
|
372
|
+
/*! ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./src/demux/demuxer.js (referenced with require.resolve) */
|
|
373
|
+
|
|
229
374
|
/*! Player.js - v0.1.0 - 2017-10-24
|
|
230
375
|
* http://github.com/embedly/player.js
|
|
231
376
|
* Copyright (c) 2017 Embedly; Licensed BSD */
|
|
@@ -234,18 +379,200 @@ object-assign
|
|
|
234
379
|
* http://dustjs.com/
|
|
235
380
|
* Copyright (c) 2016 Aleksander Williams; Released under the MIT License */
|
|
236
381
|
|
|
382
|
+
/*! eventemitter3 */
|
|
383
|
+
|
|
384
|
+
/*! exports provided: ErrorTypes, ErrorDetails */
|
|
385
|
+
|
|
386
|
+
/*! exports provided: default */
|
|
387
|
+
|
|
388
|
+
/*! exports provided: default, utf8ArrayToStr */
|
|
389
|
+
|
|
390
|
+
/*! exports provided: enableLogs, logger */
|
|
391
|
+
|
|
392
|
+
/*! exports provided: getSelfScope */
|
|
393
|
+
|
|
394
|
+
/*! exports provided: isFiniteNumber, MAX_SAFE_INTEGER */
|
|
395
|
+
|
|
237
396
|
/*! https://mths.be/punycode v1.3.2 by @mathias */
|
|
238
397
|
|
|
239
398
|
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */
|
|
240
399
|
|
|
400
|
+
/*! no static exports found */
|
|
401
|
+
|
|
241
402
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
242
403
|
|
|
404
|
+
/*!***********************!*\
|
|
405
|
+
!*** ./src/errors.ts ***!
|
|
406
|
+
\***********************/
|
|
407
|
+
|
|
408
|
+
/*!***********************!*\
|
|
409
|
+
!*** ./src/events.js ***!
|
|
410
|
+
\***********************/
|
|
411
|
+
|
|
412
|
+
/*!**************************!*\
|
|
413
|
+
!*** ./src/demux/id3.js ***!
|
|
414
|
+
\**************************/
|
|
415
|
+
|
|
416
|
+
/*!*****************************!*\
|
|
417
|
+
!*** ./src/utils/logger.js ***!
|
|
418
|
+
\*****************************/
|
|
419
|
+
|
|
420
|
+
/*!*********************************!*\
|
|
421
|
+
!*** ./src/demux/mp4demuxer.js ***!
|
|
422
|
+
\*********************************/
|
|
423
|
+
|
|
424
|
+
/*!*********************************!*\
|
|
425
|
+
!*** ./src/hls.ts + 50 modules ***!
|
|
426
|
+
\*********************************/
|
|
427
|
+
|
|
428
|
+
/*!*********************************!*\
|
|
429
|
+
!*** ./src/polyfills/number.js ***!
|
|
430
|
+
\*********************************/
|
|
431
|
+
|
|
432
|
+
/*!*************************************!*\
|
|
433
|
+
!*** ./src/demux/demuxer-worker.js ***!
|
|
434
|
+
\*************************************/
|
|
435
|
+
|
|
436
|
+
/*!*************************************!*\
|
|
437
|
+
!*** ./src/utils/get-self-scope.js ***!
|
|
438
|
+
\*************************************/
|
|
439
|
+
|
|
440
|
+
/*!********************************************!*\
|
|
441
|
+
!*** ./src/crypt/decrypter.js + 3 modules ***!
|
|
442
|
+
\********************************************/
|
|
443
|
+
|
|
444
|
+
/*!*********************************************!*\
|
|
445
|
+
!*** ./node_modules/eventemitter3/index.js ***!
|
|
446
|
+
\*********************************************/
|
|
447
|
+
|
|
448
|
+
/*!**************************************************!*\
|
|
449
|
+
!*** ./node_modules/webworkify-webpack/index.js ***!
|
|
450
|
+
\**************************************************/
|
|
451
|
+
|
|
452
|
+
/*!**************************************************!*\
|
|
453
|
+
!*** ./src/demux/demuxer-inline.js + 12 modules ***!
|
|
454
|
+
\**************************************************/
|
|
455
|
+
|
|
456
|
+
/*!*****************************************************!*\
|
|
457
|
+
!*** ./node_modules/url-toolkit/src/url-toolkit.js ***!
|
|
458
|
+
\*****************************************************/
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* @license
|
|
462
|
+
* Copyright 2017 Google Inc.
|
|
463
|
+
*
|
|
464
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
465
|
+
* you may not use this file except in compliance with the License.
|
|
466
|
+
* You may obtain a copy of the License at
|
|
467
|
+
*
|
|
468
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
469
|
+
*
|
|
470
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
471
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
472
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
473
|
+
* See the License for the specific language governing permissions and
|
|
474
|
+
* limitations under the License.
|
|
475
|
+
*/
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @license
|
|
479
|
+
* Copyright 2017 Google LLC
|
|
480
|
+
*
|
|
481
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
482
|
+
* you may not use this file except in compliance with the License.
|
|
483
|
+
* You may obtain a copy of the License at
|
|
484
|
+
*
|
|
485
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
486
|
+
*
|
|
487
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
488
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
489
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
490
|
+
* See the License for the specific language governing permissions and
|
|
491
|
+
* limitations under the License.
|
|
492
|
+
*/
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* @license
|
|
496
|
+
* Copyright 2018 Google Inc.
|
|
497
|
+
*
|
|
498
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
499
|
+
* you may not use this file except in compliance with the License.
|
|
500
|
+
* You may obtain a copy of the License at
|
|
501
|
+
*
|
|
502
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
503
|
+
*
|
|
504
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
505
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
506
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
507
|
+
* See the License for the specific language governing permissions and
|
|
508
|
+
* limitations under the License.
|
|
509
|
+
*/
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* @license
|
|
513
|
+
* Copyright 2019 Google Inc.
|
|
514
|
+
*
|
|
515
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
516
|
+
* you may not use this file except in compliance with the License.
|
|
517
|
+
* You may obtain a copy of the License at
|
|
518
|
+
*
|
|
519
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
520
|
+
*
|
|
521
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
522
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
523
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
524
|
+
* See the License for the specific language governing permissions and
|
|
525
|
+
* limitations under the License.
|
|
526
|
+
*/
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* @license Complex.js v2.0.11 11/02/2016
|
|
530
|
+
*
|
|
531
|
+
* Copyright (c) 2016, Robert Eisele (robert@xarg.org)
|
|
532
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
533
|
+
**/
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @license Fraction.js v4.0.12 09/09/2015
|
|
537
|
+
* http://www.xarg.org/2014/03/rational-numbers-in-javascript/
|
|
538
|
+
*
|
|
539
|
+
* Copyright (c) 2015, Robert Eisele (robert@xarg.org)
|
|
540
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
541
|
+
**/
|
|
542
|
+
|
|
243
543
|
/**
|
|
244
544
|
* @license almond 0.3.1 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
|
|
245
545
|
* Available via the MIT or new BSD license.
|
|
246
546
|
* see: http://github.com/jrburke/almond for details
|
|
247
547
|
*/
|
|
248
548
|
|
|
549
|
+
/**
|
|
550
|
+
* math.js
|
|
551
|
+
* https://github.com/josdejong/mathjs
|
|
552
|
+
*
|
|
553
|
+
* Math.js is an extensive math library for JavaScript and Node.js,
|
|
554
|
+
* It features real and complex numbers, units, matrices, a large set of
|
|
555
|
+
* mathematical functions, and a flexible expression parser.
|
|
556
|
+
*
|
|
557
|
+
* @version 7.1.0
|
|
558
|
+
* @date 2020-07-13
|
|
559
|
+
*
|
|
560
|
+
* @license
|
|
561
|
+
* Copyright (C) 2013-2020 Jos de Jong <wjosdejong@gmail.com>
|
|
562
|
+
*
|
|
563
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
564
|
+
* use this file except in compliance with the License. You may obtain a copy
|
|
565
|
+
* of the License at
|
|
566
|
+
*
|
|
567
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
568
|
+
*
|
|
569
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
570
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
571
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
572
|
+
* License for the specific language governing permissions and limitations under
|
|
573
|
+
* the License.
|
|
574
|
+
*/
|
|
575
|
+
|
|
249
576
|
/** @license React v0.19.1
|
|
250
577
|
* scheduler.production.min.js
|
|
251
578
|
*
|
|
@@ -281,3 +608,27 @@ object-assign
|
|
|
281
608
|
* This source code is licensed under the MIT license found in the
|
|
282
609
|
* LICENSE file in the root directory of this source tree.
|
|
283
610
|
*/
|
|
611
|
+
|
|
612
|
+
/** @preserve
|
|
613
|
+
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
614
|
+
* derived from CryptoJS.mode.CTR
|
|
615
|
+
* Jan Hruby jhruby.web@gmail.com
|
|
616
|
+
*/
|
|
617
|
+
|
|
618
|
+
/** @preserve
|
|
619
|
+
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
620
|
+
|
|
621
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
622
|
+
|
|
623
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
624
|
+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
625
|
+
|
|
626
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
627
|
+
*/
|
|
628
|
+
|
|
629
|
+
/**!
|
|
630
|
+
* Sortable 1.15.0
|
|
631
|
+
* @author RubaXa <trash@rubaxa.org>
|
|
632
|
+
* @author owenm <owen23355@gmail.com>
|
|
633
|
+
* @license MIT
|
|
634
|
+
*/
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"recorder_api.css": "/hv_recorder.css",
|
|
3
3
|
"recorder_api.js": "/hv_recorder.js",
|
|
4
|
-
"kinesis_util-dyn.js": "/188-bundle-hippo-
|
|
5
|
-
"video_i18n-dyn.js": "/283-bundle-hippo-
|
|
6
|
-
"video_landing_i18n-dyn.js": "/692-bundle-hippo-
|
|
7
|
-
"video_education_i18n-dyn.js": "/37-bundle-hippo-
|
|
8
|
-
"video_spanish_i18n-dyn.js": "/611-bundle-hippo-
|
|
9
|
-
"video_education_spanish_i18n-dyn.js": "/892-bundle-hippo-
|
|
10
|
-
"video_individual_i18n-dyn.js": "/771-bundle-hippo-
|
|
11
|
-
"video_individual_spanish_i18n-dyn.js": "/660-bundle-hippo-
|
|
12
|
-
"directory_i18n-dyn.js": "/362-bundle-hippo-
|
|
13
|
-
"video_directory_education_i18n-dyn.js": "/963-bundle-hippo-
|
|
14
|
-
"directory_spanish_i18n-dyn.js": "/239-bundle-hippo-
|
|
15
|
-
"video_directory_education_spanish_i18n-dyn.js": "/907-bundle-hippo-
|
|
16
|
-
"video_directory_individual_i18n-dyn.js": "/454-bundle-hippo-
|
|
17
|
-
"video_directory_individual_spanish_i18n-dyn.js": "/
|
|
18
|
-
"video_setting_i18n-dyn.js": "/157-bundle-hippo-
|
|
19
|
-
"video_setting_landing_i18n-dyn.js": "/528-bundle-hippo-
|
|
20
|
-
"video_setting_education_i18n-dyn.js": "/85-bundle-hippo-
|
|
21
|
-
"video_setting_spanish_i18n-dyn.js": "/605-bundle-hippo-
|
|
22
|
-
"video_setting_education_spanish_i18n-dyn.js": "/238-bundle-hippo-
|
|
23
|
-
"video_setting_individual_i18n-dyn.js": "/652-bundle-hippo-
|
|
24
|
-
"video_setting_individual_spanish_i18n-dyn.js": "/780-bundle-hippo-
|
|
25
|
-
"video_library_i18n-dyn.js": "/869-bundle-hippo-
|
|
26
|
-
"video_library_education_i18n-dyn.js": "/107-bundle-hippo-
|
|
27
|
-
"video_library_spanish_i18n-dyn.js": "/525-bundle-hippo-
|
|
28
|
-
"video_library_education_spanish_i18n-dyn.js": "/823-bundle-hippo-
|
|
29
|
-
"video_library_individual_i18n-dyn.js": "/66-bundle-hippo-
|
|
30
|
-
"video_library_individual_spanish_i18n-dyn.js": "/847-bundle-hippo-
|
|
31
|
-
"video_subscription_i18n-dyn.js": "/99-bundle-hippo-
|
|
32
|
-
"video_subscription_education_i18n-dyn.js": "/751-bundle-hippo-
|
|
33
|
-
"video_subscription_spanish_i18n-dyn.js": "/487-bundle-hippo-
|
|
34
|
-
"video_subscription_education_spanish_i18n-dyn.js": "/442-bundle-hippo-
|
|
35
|
-
"video_subscription_individual_i18n-dyn.js": "/795-bundle-hippo-
|
|
36
|
-
"video_subscription_individual_spanish_i18n-dyn.js": "/582-bundle-hippo-
|
|
37
|
-
"dash-dyn.js": "/520-bundle-hippo-
|
|
38
|
-
"DownloadRatioRule-dyn.js": "/881-bundle-hippo-
|
|
39
|
-
"
|
|
4
|
+
"kinesis_util-dyn.js": "/188-bundle-hippo-jg92yxh4ptg-b0e470050ed64c1ef410.js",
|
|
5
|
+
"video_i18n-dyn.js": "/283-bundle-hippo-jg92yxh4ptg-8e24dc0f420ee494af1f.js",
|
|
6
|
+
"video_landing_i18n-dyn.js": "/692-bundle-hippo-jg92yxh4ptg-98e2778801517c6d709f.js",
|
|
7
|
+
"video_education_i18n-dyn.js": "/37-bundle-hippo-jg92yxh4ptg-9b5af7bec7e324bfea39.js",
|
|
8
|
+
"video_spanish_i18n-dyn.js": "/611-bundle-hippo-jg92yxh4ptg-f7d2a84b0b194f07a962.js",
|
|
9
|
+
"video_education_spanish_i18n-dyn.js": "/892-bundle-hippo-jg92yxh4ptg-6dc5a8967bfd8695b74a.js",
|
|
10
|
+
"video_individual_i18n-dyn.js": "/771-bundle-hippo-jg92yxh4ptg-5a6062e3490ee9261b7e.js",
|
|
11
|
+
"video_individual_spanish_i18n-dyn.js": "/660-bundle-hippo-jg92yxh4ptg-e4d99213565d245f92b3.js",
|
|
12
|
+
"directory_i18n-dyn.js": "/362-bundle-hippo-jg92yxh4ptg-28bf93bdaaaca6e8a7d1.js",
|
|
13
|
+
"video_directory_education_i18n-dyn.js": "/963-bundle-hippo-jg92yxh4ptg-abde1d79679a282d1de2.js",
|
|
14
|
+
"directory_spanish_i18n-dyn.js": "/239-bundle-hippo-jg92yxh4ptg-29765f212c5b82b9b5c9.js",
|
|
15
|
+
"video_directory_education_spanish_i18n-dyn.js": "/907-bundle-hippo-jg92yxh4ptg-6b974d5b2e5cef32804d.js",
|
|
16
|
+
"video_directory_individual_i18n-dyn.js": "/454-bundle-hippo-jg92yxh4ptg-640863e104cb8d4444b5.js",
|
|
17
|
+
"video_directory_individual_spanish_i18n-dyn.js": "/620-bundle-hippo-jg92yxh4ptg-3535e2a9b44bf0802f2b.js",
|
|
18
|
+
"video_setting_i18n-dyn.js": "/157-bundle-hippo-jg92yxh4ptg-43ffe4f0105f15644971.js",
|
|
19
|
+
"video_setting_landing_i18n-dyn.js": "/528-bundle-hippo-jg92yxh4ptg-e7c6879087f0bc809436.js",
|
|
20
|
+
"video_setting_education_i18n-dyn.js": "/85-bundle-hippo-jg92yxh4ptg-cee943b1271f7f21df76.js",
|
|
21
|
+
"video_setting_spanish_i18n-dyn.js": "/605-bundle-hippo-jg92yxh4ptg-3d6e46646daa3d9ffc77.js",
|
|
22
|
+
"video_setting_education_spanish_i18n-dyn.js": "/238-bundle-hippo-jg92yxh4ptg-b61acbf599b47f15e1ff.js",
|
|
23
|
+
"video_setting_individual_i18n-dyn.js": "/652-bundle-hippo-jg92yxh4ptg-2446a2200548df5c62f3.js",
|
|
24
|
+
"video_setting_individual_spanish_i18n-dyn.js": "/780-bundle-hippo-jg92yxh4ptg-4e7a932e3d7564dbfd08.js",
|
|
25
|
+
"video_library_i18n-dyn.js": "/869-bundle-hippo-jg92yxh4ptg-ba44b48c8f4a26fe0e40.js",
|
|
26
|
+
"video_library_education_i18n-dyn.js": "/107-bundle-hippo-jg92yxh4ptg-3fad86f11646f0cd2296.js",
|
|
27
|
+
"video_library_spanish_i18n-dyn.js": "/525-bundle-hippo-jg92yxh4ptg-9e22fb533f478807c968.js",
|
|
28
|
+
"video_library_education_spanish_i18n-dyn.js": "/823-bundle-hippo-jg92yxh4ptg-2b0bbd0da340d8be2937.js",
|
|
29
|
+
"video_library_individual_i18n-dyn.js": "/66-bundle-hippo-jg92yxh4ptg-d26ab7f3718ca8adb7b9.js",
|
|
30
|
+
"video_library_individual_spanish_i18n-dyn.js": "/847-bundle-hippo-jg92yxh4ptg-a7274fcf2651c06dc9cc.js",
|
|
31
|
+
"video_subscription_i18n-dyn.js": "/99-bundle-hippo-jg92yxh4ptg-97ea9400b435050ace92.js",
|
|
32
|
+
"video_subscription_education_i18n-dyn.js": "/751-bundle-hippo-jg92yxh4ptg-d3e1ee01d1e1f8c54119.js",
|
|
33
|
+
"video_subscription_spanish_i18n-dyn.js": "/487-bundle-hippo-jg92yxh4ptg-a8a4683af31cd239bdfa.js",
|
|
34
|
+
"video_subscription_education_spanish_i18n-dyn.js": "/442-bundle-hippo-jg92yxh4ptg-a40760aafd35feb385c9.js",
|
|
35
|
+
"video_subscription_individual_i18n-dyn.js": "/795-bundle-hippo-jg92yxh4ptg-fa5dee47c4eb61932834.js",
|
|
36
|
+
"video_subscription_individual_spanish_i18n-dyn.js": "/582-bundle-hippo-jg92yxh4ptg-a9eac0a0dff2505acd77.js",
|
|
37
|
+
"dash-dyn.js": "/520-bundle-hippo-jg92yxh4ptg-5b14ec0550c41c49a6f9.js",
|
|
38
|
+
"DownloadRatioRule-dyn.js": "/881-bundle-hippo-jg92yxh4ptg-1e41c84326fac8446b66.js",
|
|
39
|
+
"custom_tracking_delivery-dyn.js": "/307-bundle-hippo-jg92yxh4ptg-df96d02d7be681b608e1.js",
|
|
40
|
+
"693-bundle-hippo-jg92yxh4ptg-js": "/693-bundle-hippo-jg92yxh4ptg-44beb732c5c7d51e5148.js"
|
|
40
41
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkHVRecorder=self.webpackChunkHVRecorder||[]).push([[188],{32125:function(e,t,r){"use strict";r.r(t);var a=r(85614),i=r.n(a),n=r(65759),s=r(96814),o=r.n(s),m=r(98405),u=r.n(m),p=r(64542),c=r.n(p),S=r(80300);let d={},y={},l={},N={},T={},h=[],R={},A={};A[i().analytics.VIDEO_STATS]={seconds:10,calls:20},A[i().analytics.FIRST_FRAME_LOAD]={calls:1},A[i().analytics.UPDATE_BANDWIDTH]={calls:1},A[i().analytics.CLOSE_EVENT]={calls:1};let g={};g[i().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(n).videoAnalyticsIdentity,g[i().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(n).videoAnalyticsIdentity,g[i().kinesisDataStreamType.PERFORMANCE_STATS]=JSON.parse(n).metricLogIdentity;let b={};b[i().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(n).videoAnalyticsFallback,b[i().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(n).videoAnalyticsFallback;let C=1e3*(window.HippoVideo&&window.HippoVideo.AppRegistry&&window.HippoVideo.AppRegistry.KinesisApiTimeout?Number(window.HippoVideo.AppRegistry.KinesisApiTimeout):10);window.onbeforeunload=()=>{for(let e in d)try{d[e].clearCachedId()}catch(e){}};let O={setAnalayticsCognito(e,t){if(e&&t)try{if(d[e])try{d[e].clearCachedId()}catch(e){}d[e]=new(c())({IdentityId:t.identity_id,Logins:{"cognito-identity.amazonaws.com":t.token}},{region:t.region,httpOptions:{timeout:C}}),T[e]=t.stream_name,y[e]=t.region,N[e]=t.bean_stalk_environment,l[e]=null,this._initKinesis(e)}catch(e){console.log(e)}},pushRecord(e,t,r,a){if(!this.isValidKinesisRequest(r))return;a=null==a||a,r.stream_type=e,N[e]&&(r.bean_stalk_environment=N[e]),"HippoVideo"in window&&HippoVideo.Delivery.visitorId&&(r.visitor_id=HippoVideo.Delivery.visitorId),r.recordCreatedTime=(new Date).getTime()/1e3,r.recordCreatedFrom="client";let i=this;d[e]?i._pushRecord(e,t,r,a,(e=>{}),(n=>{i._refreshToken(e,r,(n=>{i.setAnalayticsCognito(e,n),i._pushRecord(e,t,r,a,(e=>{}),(a=>{i._fallback(e,t,r)}))}),(a=>{i._fallback(e,t,r)}))})):i._fallback(e,t,r)},isValidKinesisRequest(e){if(!A[e.type])return!0;let t=e.video_uuid?e.video_uuid:e.page_uuid;if(t){if(R[t]&&R[t][e.type])return!1;let r=(new Date).getTime(),a=A[e.type].seconds?r-1e3*A[e.type].seconds:0;return h.filter((r=>r.id==t&&r.type==e.type&&r.time>a)).length>A[e.type].calls?(R[t]||(R[t]={}),R[t][e.type]=!0,!1):(h.push({id:t,type:e.type,time:r}),!0)}return!1},_refreshToken(e,t,r,a){let n=g[e],s={};e==i().kinesisDataStreamType.VIDEO_ANALYTICS?s.token=t.token:e!=i().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&e!=i().kinesisDataStreamType.PERFORMANCE_STATS||(s.page_id=t.page_id),S.default.call({method:"POST",url:n,data:s,success:e=>{e.status?r(e):a&&a()},error:a})},_pushRecord(e,t,r,a,i,n){if(l[e]){l[e].config.update({httpOptions:{xhrAsync:a}});let s={Data:JSON.stringify(r),PartitionKey:String(t),StreamName:T[e]};l[e].putRecord(s,((e,t)=>{e?n&&n(e):i(t)}))}else n&&n()},_initKinesis(e){l[e]||(l[e]=new(o())({credentials:d[e],region:y[e],httpOptions:{timeout:C}}))},_fallback(e,t,r){let a=b[e];if(a){let n={data:r,partition_key:t};e==i().kinesisDataStreamType.VIDEO_ANALYTICS?n.token=r.token:e==i().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&(n.page_id=r.page_id),S.default.call({method:"POST",url:a,data:n,success:e=>{},error:e=>{}})}},pushRecordToDeliveryStream(e,t,r){let a={...e};var i={DeliveryStreamName:t,Record:{Data:"_"+HippoVideo.getZuluTimeInUTC()+"_\t"+JSON.stringify(r)}};new(u())({region:"us-east-1",credentials:new(c())({IdentityId:a.identity_id,Logins:{"cognito-identity.amazonaws.com":a.token}}),httpOptions:{timeout:C}}).putRecord(i,(function(e,t){e?console.log(e,e.stack):console.log(t)}))}};t.default=O},98347:function(e,t,r){"use strict";r.r(t);var a=r(4942),i=(r(9653),r(57327),r(41539),r(47941),r(82526),r(38880),r(54747),r(49337),r(85614)),n=r.n(i),s=r(65759),o=r(96814),m=r.n(o),u=r(98405),p=r.n(u),c=r(64542),S=r.n(c),d=r(80300);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}var l={},N={},T={},h={},R={},A=[],g={},b={};b[n().analytics.VIDEO_STATS]={seconds:10,calls:20},b[n().analytics.FIRST_FRAME_LOAD]={calls:1},b[n().analytics.UPDATE_BANDWIDTH]={calls:1},b[n().analytics.CLOSE_EVENT]={calls:1};var C={};C[n().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(s).videoAnalyticsIdentity,C[n().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(s).videoAnalyticsIdentity,C[n().kinesisDataStreamType.PERFORMANCE_STATS]=JSON.parse(s).metricLogIdentity;var O={};O[n().kinesisDataStreamType.VIDEO_ANALYTICS]=JSON.parse(s).videoAnalyticsFallback,O[n().kinesisDataStreamType.VIDEO_PAGE_REPORTS]=JSON.parse(s).videoAnalyticsFallback;var P=1e3*(window.HippoVideo&&window.HippoVideo.AppRegistry&&window.HippoVideo.AppRegistry.KinesisApiTimeout?Number(window.HippoVideo.AppRegistry.KinesisApiTimeout):10);window.onbeforeunload=function(){for(var e in l)try{l[e].clearCachedId()}catch(e){}};var _={setAnalayticsCognito:function(e,t){if(e&&t)try{if(l[e])try{l[e].clearCachedId()}catch(e){}l[e]=new(S())({IdentityId:t.identity_id,Logins:{"cognito-identity.amazonaws.com":t.token}},{region:t.region,httpOptions:{timeout:P}}),R[e]=t.stream_name,N[e]=t.region,h[e]=t.bean_stalk_environment,T[e]=null,this._initKinesis(e)}catch(e){console.log(e)}},pushRecord:function(e,t,r,a){if(this.isValidKinesisRequest(r)){a=null==a||a,r.stream_type=e,h[e]&&(r.bean_stalk_environment=h[e]),"HippoVideo"in window&&HippoVideo.Delivery.visitorId&&(r.visitor_id=HippoVideo.Delivery.visitorId),r.recordCreatedTime=(new Date).getTime()/1e3,r.recordCreatedFrom="client";var i=this;l[e]?i._pushRecord(e,t,r,a,(function(e){}),(function(n){i._refreshToken(e,r,(function(n){i.setAnalayticsCognito(e,n),i._pushRecord(e,t,r,a,(function(e){}),(function(a){i._fallback(e,t,r)}))}),(function(a){i._fallback(e,t,r)}))})):i._fallback(e,t,r)}},isValidKinesisRequest:function(e){if(!b[e.type])return!0;var t=e.video_uuid?e.video_uuid:e.page_uuid;if(t){if(g[t]&&g[t][e.type])return!1;var r=(new Date).getTime(),a=b[e.type].seconds?r-1e3*b[e.type].seconds:0;return A.filter((function(r){return r.id==t&&r.type==e.type&&r.time>a})).length>b[e.type].calls?(g[t]||(g[t]={}),g[t][e.type]=!0,!1):(A.push({id:t,type:e.type,time:r}),!0)}return!1},_refreshToken:function(e,t,r,a){var i=C[e],s={};e==n().kinesisDataStreamType.VIDEO_ANALYTICS?s.token=t.token:e!=n().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&e!=n().kinesisDataStreamType.PERFORMANCE_STATS||(s.page_id=t.page_id),d.default.call({method:"POST",url:i,data:s,success:function(e){e.status?r(e):a&&a()},error:a})},_pushRecord:function(e,t,r,a,i,n){if(T[e]){T[e].config.update({httpOptions:{xhrAsync:a}});var s={Data:JSON.stringify(r),PartitionKey:String(t),StreamName:R[e]};T[e].putRecord(s,(function(e,t){e?n&&n(e):i(t)}))}else n&&n()},_initKinesis:function(e){T[e]||(T[e]=new(m())({credentials:l[e],region:N[e],httpOptions:{timeout:P}}))},_fallback:function(e,t,r){var a=O[e];if(a){var i={data:r,partition_key:t};e==n().kinesisDataStreamType.VIDEO_ANALYTICS?i.token=r.token:e==n().kinesisDataStreamType.VIDEO_PAGE_REPORTS&&(i.page_id=r.page_id),d.default.call({method:"POST",url:a,data:i,success:function(e){},error:function(e){}})}},pushRecordToDeliveryStream:function(e,t,r){var i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),n={DeliveryStreamName:t,Record:{Data:"_"+HippoVideo.getZuluTimeInUTC()+"_\t"+JSON.stringify(r)}};new(p())({region:"us-east-1",credentials:new(S())({IdentityId:i.identity_id,Logins:{"cognito-identity.amazonaws.com":i.token}}),httpOptions:{timeout:P}}).putRecord(n,(function(e,t){e?console.log(e,e.stack):console.log(t)}))}};t.default=_},96814:function(e,t,r){r(17321);var a=r(79614),i=a.Service,n=a.apiLoader;n.services.kinesis={},a.Kinesis=i.defineService("kinesis",["2013-12-02"]),Object.defineProperty(n.services.kinesis,"2013-12-02",{get:function(){var e=r(648);return e.paginators=r(10424).o,e.waiters=r(54059).V,e},enumerable:!0,configurable:!0}),e.exports=a.Kinesis},648:function(e){"use strict";e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2013-12-02","endpointPrefix":"kinesis","jsonVersion":"1.1","protocol":"json","protocolSettings":{"h2":"eventstream"},"serviceAbbreviation":"Kinesis","serviceFullName":"Amazon Kinesis","serviceId":"Kinesis","signatureVersion":"v4","targetPrefix":"Kinesis_20131202","uid":"kinesis-2013-12-02"},"operations":{"AddTagsToStream":{"input":{"type":"structure","required":["Tags"],"members":{"StreamName":{},"Tags":{"type":"map","key":{},"value":{}},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"CreateStream":{"input":{"type":"structure","required":["StreamName"],"members":{"StreamName":{},"ShardCount":{"type":"integer"},"StreamModeDetails":{"shape":"S9"}}}},"DecreaseStreamRetentionPeriod":{"input":{"type":"structure","required":["RetentionPeriodHours"],"members":{"StreamName":{},"RetentionPeriodHours":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DeleteStream":{"input":{"type":"structure","members":{"StreamName":{},"EnforceConsumerDeletion":{"type":"boolean"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DeregisterStreamConsumer":{"input":{"type":"structure","members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"ConsumerName":{},"ConsumerARN":{"contextParam":{"name":"ConsumerARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DescribeLimits":{"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["ShardLimit","OpenShardCount","OnDemandStreamCount","OnDemandStreamCountLimit"],"members":{"ShardLimit":{"type":"integer"},"OpenShardCount":{"type":"integer"},"OnDemandStreamCount":{"type":"integer"},"OnDemandStreamCountLimit":{"type":"integer"}}}},"DescribeStream":{"input":{"type":"structure","members":{"StreamName":{},"Limit":{"type":"integer"},"ExclusiveStartShardId":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["StreamDescription"],"members":{"StreamDescription":{"type":"structure","required":["StreamName","StreamARN","StreamStatus","Shards","HasMoreShards","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring"],"members":{"StreamName":{},"StreamARN":{},"StreamStatus":{},"StreamModeDetails":{"shape":"S9"},"Shards":{"shape":"St"},"HasMoreShards":{"type":"boolean"},"RetentionPeriodHours":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"},"EnhancedMonitoring":{"shape":"S10"},"EncryptionType":{},"KeyId":{}}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DescribeStreamConsumer":{"input":{"type":"structure","members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"ConsumerName":{},"ConsumerARN":{"contextParam":{"name":"ConsumerARN"}}}},"output":{"type":"structure","required":["ConsumerDescription"],"members":{"ConsumerDescription":{"type":"structure","required":["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp","StreamARN"],"members":{"ConsumerName":{},"ConsumerARN":{},"ConsumerStatus":{},"ConsumerCreationTimestamp":{"type":"timestamp"},"StreamARN":{}}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DescribeStreamSummary":{"input":{"type":"structure","members":{"StreamName":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["StreamDescriptionSummary"],"members":{"StreamDescriptionSummary":{"type":"structure","required":["StreamName","StreamARN","StreamStatus","RetentionPeriodHours","StreamCreationTimestamp","EnhancedMonitoring","OpenShardCount"],"members":{"StreamName":{},"StreamARN":{},"StreamStatus":{},"StreamModeDetails":{"shape":"S9"},"RetentionPeriodHours":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"},"EnhancedMonitoring":{"shape":"S10"},"EncryptionType":{},"KeyId":{},"OpenShardCount":{"type":"integer"},"ConsumerCount":{"type":"integer"}}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"DisableEnhancedMonitoring":{"input":{"type":"structure","required":["ShardLevelMetrics"],"members":{"StreamName":{},"ShardLevelMetrics":{"shape":"S12"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"shape":"S1f"},"staticContextParams":{"OperationType":{"value":"control"}}},"EnableEnhancedMonitoring":{"input":{"type":"structure","required":["ShardLevelMetrics"],"members":{"StreamName":{},"ShardLevelMetrics":{"shape":"S12"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"shape":"S1f"},"staticContextParams":{"OperationType":{"value":"control"}}},"GetRecords":{"input":{"type":"structure","required":["ShardIterator"],"members":{"ShardIterator":{},"Limit":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["Records"],"members":{"Records":{"type":"list","member":{"type":"structure","required":["SequenceNumber","Data","PartitionKey"],"members":{"SequenceNumber":{},"ApproximateArrivalTimestamp":{"type":"timestamp"},"Data":{"type":"blob"},"PartitionKey":{},"EncryptionType":{}}}},"NextShardIterator":{},"MillisBehindLatest":{"type":"long"},"ChildShards":{"type":"list","member":{"type":"structure","required":["ShardId","ParentShards","HashKeyRange"],"members":{"ShardId":{},"ParentShards":{"type":"list","member":{}},"HashKeyRange":{"shape":"Sv"}}}}}},"staticContextParams":{"OperationType":{"value":"data"}}},"GetShardIterator":{"input":{"type":"structure","required":["ShardId","ShardIteratorType"],"members":{"StreamName":{},"ShardId":{},"ShardIteratorType":{},"StartingSequenceNumber":{},"Timestamp":{"type":"timestamp"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","members":{"ShardIterator":{}}},"staticContextParams":{"OperationType":{"value":"data"}}},"IncreaseStreamRetentionPeriod":{"input":{"type":"structure","required":["RetentionPeriodHours"],"members":{"StreamName":{},"RetentionPeriodHours":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"ListShards":{"input":{"type":"structure","members":{"StreamName":{},"NextToken":{},"ExclusiveStartShardId":{},"MaxResults":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"},"ShardFilter":{"type":"structure","required":["Type"],"members":{"Type":{},"ShardId":{},"Timestamp":{"type":"timestamp"}}},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","members":{"Shards":{"shape":"St"},"NextToken":{}}},"staticContextParams":{"OperationType":{"value":"control"}}},"ListStreamConsumers":{"input":{"type":"structure","required":["StreamARN"],"members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"NextToken":{},"MaxResults":{"type":"integer"},"StreamCreationTimestamp":{"type":"timestamp"}}},"output":{"type":"structure","members":{"Consumers":{"type":"list","member":{"shape":"S27"}},"NextToken":{}}},"staticContextParams":{"OperationType":{"value":"control"}}},"ListStreams":{"input":{"type":"structure","members":{"Limit":{"type":"integer"},"ExclusiveStartStreamName":{},"NextToken":{}}},"output":{"type":"structure","required":["StreamNames","HasMoreStreams"],"members":{"StreamNames":{"type":"list","member":{}},"HasMoreStreams":{"type":"boolean"},"NextToken":{},"StreamSummaries":{"type":"list","member":{"type":"structure","required":["StreamName","StreamARN","StreamStatus"],"members":{"StreamName":{},"StreamARN":{},"StreamStatus":{},"StreamModeDetails":{"shape":"S9"},"StreamCreationTimestamp":{"type":"timestamp"}}}}}}},"ListTagsForStream":{"input":{"type":"structure","members":{"StreamName":{},"ExclusiveStartTagKey":{},"Limit":{"type":"integer"},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["Tags","HasMoreTags"],"members":{"Tags":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"HasMoreTags":{"type":"boolean"}}},"staticContextParams":{"OperationType":{"value":"control"}}},"MergeShards":{"input":{"type":"structure","required":["ShardToMerge","AdjacentShardToMerge"],"members":{"StreamName":{},"ShardToMerge":{},"AdjacentShardToMerge":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"PutRecord":{"input":{"type":"structure","required":["Data","PartitionKey"],"members":{"StreamName":{},"Data":{"type":"blob"},"PartitionKey":{},"ExplicitHashKey":{},"SequenceNumberForOrdering":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["ShardId","SequenceNumber"],"members":{"ShardId":{},"SequenceNumber":{},"EncryptionType":{}}},"staticContextParams":{"OperationType":{"value":"data"}}},"PutRecords":{"input":{"type":"structure","required":["Records"],"members":{"Records":{"type":"list","member":{"type":"structure","required":["Data","PartitionKey"],"members":{"Data":{"type":"blob"},"ExplicitHashKey":{},"PartitionKey":{}}}},"StreamName":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","required":["Records"],"members":{"FailedRecordCount":{"type":"integer"},"Records":{"type":"list","member":{"type":"structure","members":{"SequenceNumber":{},"ShardId":{},"ErrorCode":{},"ErrorMessage":{}}}},"EncryptionType":{}}},"staticContextParams":{"OperationType":{"value":"data"}}},"RegisterStreamConsumer":{"input":{"type":"structure","required":["StreamARN","ConsumerName"],"members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"ConsumerName":{}}},"output":{"type":"structure","required":["Consumer"],"members":{"Consumer":{"shape":"S27"}}},"staticContextParams":{"OperationType":{"value":"control"}}},"RemoveTagsFromStream":{"input":{"type":"structure","required":["TagKeys"],"members":{"StreamName":{},"TagKeys":{"type":"list","member":{}},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"SplitShard":{"input":{"type":"structure","required":["ShardToSplit","NewStartingHashKey"],"members":{"StreamName":{},"ShardToSplit":{},"NewStartingHashKey":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"StartStreamEncryption":{"input":{"type":"structure","required":["EncryptionType","KeyId"],"members":{"StreamName":{},"EncryptionType":{},"KeyId":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"StopStreamEncryption":{"input":{"type":"structure","required":["EncryptionType","KeyId"],"members":{"StreamName":{},"EncryptionType":{},"KeyId":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"staticContextParams":{"OperationType":{"value":"control"}}},"UpdateShardCount":{"input":{"type":"structure","required":["TargetShardCount","ScalingType"],"members":{"StreamName":{},"TargetShardCount":{"type":"integer"},"ScalingType":{},"StreamARN":{"contextParam":{"name":"StreamARN"}}}},"output":{"type":"structure","members":{"StreamName":{},"CurrentShardCount":{"type":"integer"},"TargetShardCount":{"type":"integer"},"StreamARN":{}}},"staticContextParams":{"OperationType":{"value":"control"}}},"UpdateStreamMode":{"input":{"type":"structure","required":["StreamARN","StreamModeDetails"],"members":{"StreamARN":{"contextParam":{"name":"StreamARN"}},"StreamModeDetails":{"shape":"S9"}}},"staticContextParams":{"OperationType":{"value":"control"}}}},"shapes":{"S9":{"type":"structure","required":["StreamMode"],"members":{"StreamMode":{}}},"St":{"type":"list","member":{"type":"structure","required":["ShardId","HashKeyRange","SequenceNumberRange"],"members":{"ShardId":{},"ParentShardId":{},"AdjacentParentShardId":{},"HashKeyRange":{"shape":"Sv"},"SequenceNumberRange":{"type":"structure","required":["StartingSequenceNumber"],"members":{"StartingSequenceNumber":{},"EndingSequenceNumber":{}}}}}},"Sv":{"type":"structure","required":["StartingHashKey","EndingHashKey"],"members":{"StartingHashKey":{},"EndingHashKey":{}}},"S10":{"type":"list","member":{"type":"structure","members":{"ShardLevelMetrics":{"shape":"S12"}}}},"S12":{"type":"list","member":{}},"S1f":{"type":"structure","members":{"StreamName":{},"CurrentShardLevelMetrics":{"shape":"S12"},"DesiredShardLevelMetrics":{"shape":"S12"},"StreamARN":{}}},"S27":{"type":"structure","required":["ConsumerName","ConsumerARN","ConsumerStatus","ConsumerCreationTimestamp"],"members":{"ConsumerName":{},"ConsumerARN":{},"ConsumerStatus":{},"ConsumerCreationTimestamp":{"type":"timestamp"}}}}}')},10424:function(e){"use strict";e.exports=JSON.parse('{"o":{"DescribeStream":{"input_token":"ExclusiveStartShardId","limit_key":"Limit","more_results":"StreamDescription.HasMoreShards","output_token":"StreamDescription.Shards[-1].ShardId","result_key":"StreamDescription.Shards"},"ListStreamConsumers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken"},"ListStreams":{"input_token":"NextToken","limit_key":"Limit","more_results":"HasMoreStreams","output_token":"NextToken","result_key":["StreamNames","StreamSummaries"]}}}')},54059:function(e){"use strict";e.exports=JSON.parse('{"V":{"StreamExists":{"delay":10,"operation":"DescribeStream","maxAttempts":18,"acceptors":[{"expected":"ACTIVE","matcher":"path","state":"success","argument":"StreamDescription.StreamStatus"}]},"StreamNotExists":{"delay":10,"operation":"DescribeStream","maxAttempts":18,"acceptors":[{"expected":"ResourceNotFoundException","matcher":"error","state":"success"}]}}}')}}]);
|