@rive-app/webgl2 2.46.0 → 2.47.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/webgl2",
3
- "version": "2.46.0",
3
+ "version": "2.47.0",
4
4
  "description": "Rive's webgl2 based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.js CHANGED
@@ -9,12 +9,12 @@
9
9
  root["rive"] = factory();
10
10
  })(this, () => {
11
11
  return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
12
  /******/ var __webpack_modules__ = ([
14
13
  /* 0 */,
15
14
  /* 1 */
16
15
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
16
 
17
+ "use strict";
18
18
  __webpack_require__.r(__webpack_exports__);
19
19
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20
20
  /* harmony export */ Animation: () => (/* reexport safe */ _Animation__WEBPACK_IMPORTED_MODULE_0__.Animation)
@@ -27,6 +27,7 @@ __webpack_require__.r(__webpack_exports__);
27
27
  /* 2 */
28
28
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
29
29
 
30
+ "use strict";
30
31
  __webpack_require__.r(__webpack_exports__);
31
32
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
32
33
  /* harmony export */ Animation: () => (/* binding */ Animation)
@@ -149,12 +150,15 @@ var Animation = /** @class */ (function () {
149
150
  /* 3 */
150
151
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
151
152
 
153
+ "use strict";
152
154
  __webpack_require__.r(__webpack_exports__);
153
155
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
154
156
  /* harmony export */ RuntimeLoader: () => (/* binding */ RuntimeLoader)
155
157
  /* harmony export */ });
156
158
  /* harmony import */ var _rive_advanced_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
157
- /* harmony import */ var package_json__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
159
+ /* harmony import */ var _rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
160
+ /* harmony import */ var _rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1__);
161
+ /* harmony import */ var package_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
158
162
  var __assign = (undefined && undefined.__assign) || function () {
159
163
  __assign = Object.assign || function(t) {
160
164
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -168,6 +172,32 @@ var __assign = (undefined && undefined.__assign) || function () {
168
172
  };
169
173
 
170
174
 
175
+
176
+ // A module with a shared memory, an atomic load and a SIMD constant.
177
+ var threadsProbe = new Uint8Array([
178
+ 0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00, 0x01, 0x09, 0x02, 0x60, 0x00,
179
+ 0x01, 0x7f, 0x60, 0x00, 0x01, 0x7b, 0x03, 0x03, 0x02, 0x00, 0x01, 0x05, 0x04,
180
+ 0x01, 0x03, 0x01, 0x01, 0x0a, 0x1f, 0x02, 0x08, 0x00, 0x41, 0x00, 0xfe, 0x10,
181
+ 0x02, 0x00, 0x0b, 0x14, 0x00, 0xfd, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
182
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b,
183
+ ]);
184
+ // Null when this page can run the threaded build, else why not. A page that
185
+ // is not isolated gets no shared memory, and the threaded build never loads.
186
+ function threadsRefusal() {
187
+ if (globalThis.crossOriginIsolated !== true) {
188
+ return "the page is not cross origin isolated";
189
+ }
190
+ try {
191
+ new MessageChannel().port1.postMessage(new SharedArrayBuffer(1));
192
+ }
193
+ catch (_a) {
194
+ return "the page cannot share memory with workers";
195
+ }
196
+ if (!WebAssembly.validate(threadsProbe)) {
197
+ return "the browser cannot run wasm threads with SIMD";
198
+ }
199
+ return null;
200
+ }
171
201
  // Runtime singleton; use getInstance to provide a callback that returns the
172
202
  // Rive runtime
173
203
  var RuntimeLoader = /** @class */ (function () {
@@ -184,8 +214,51 @@ var RuntimeLoader = /** @class */ (function () {
184
214
  }
185
215
  RuntimeLoader.callBackQueue = [];
186
216
  };
187
- // Loads the runtime
217
+ RuntimeLoader.loaded = function (rive) {
218
+ var _a;
219
+ if (RuntimeLoader.enablePerfMarks) {
220
+ performance.mark('rive:wasm-init:end');
221
+ performance.measure('rive:wasm-init', 'rive:wasm-init:start', 'rive:wasm-init:end');
222
+ }
223
+ RuntimeLoader.runtime = rive;
224
+ RuntimeLoader.errorCallbackQueue = [];
225
+ // Fire all the callbacks
226
+ while (RuntimeLoader.callBackQueue.length > 0) {
227
+ (_a = RuntimeLoader.callBackQueue.shift()) === null || _a === void 0 ? void 0 : _a(RuntimeLoader.runtime);
228
+ }
229
+ };
230
+ // Loads the runtime, threaded once per page where it can be, and otherwise
231
+ // without threads.
188
232
  RuntimeLoader.loadRuntime = function () {
233
+ // Other packages bundle an empty module here, which webpack's interop
234
+ // hands over as an object rather than undefined.
235
+ var threaded = (_rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1___default());
236
+ var threadsUrl = RuntimeLoader.wasmThreadsURL;
237
+ // A host's own binary is a build without threads.
238
+ if (typeof threaded !== "function" ||
239
+ threadsUrl === null ||
240
+ RuntimeLoader.wasmBinary !== null ||
241
+ RuntimeLoader.triedThreads) {
242
+ RuntimeLoader.loadUnthreaded();
243
+ return;
244
+ }
245
+ RuntimeLoader.triedThreads = true;
246
+ var refusal = threadsRefusal();
247
+ if (refusal !== null) {
248
+ console.warn("Rive is running without threads: ".concat(refusal, "."));
249
+ RuntimeLoader.loadUnthreaded();
250
+ return;
251
+ }
252
+ if (RuntimeLoader.enablePerfMarks)
253
+ performance.mark('rive:wasm-init:start');
254
+ // Not a catch, which would also take a throw from a callback.
255
+ threaded({ locateFile: function () { return threadsUrl; } }).then(RuntimeLoader.loaded, function (error) {
256
+ var _a;
257
+ console.warn("Rive is running without threads: the threaded build failed to load (".concat((_a = error === null || error === void 0 ? void 0 : error.message) !== null && _a !== void 0 ? _a : error, ")."));
258
+ RuntimeLoader.loadUnthreaded();
259
+ });
260
+ };
261
+ RuntimeLoader.loadUnthreaded = function () {
189
262
  // Capture the URL at call time so the catch closure always refers to the
190
263
  // URL this particular attempt used, even if wasmURL is mutated for a retry.
191
264
  var attemptedUrl = RuntimeLoader.wasmURL;
@@ -195,19 +268,7 @@ var RuntimeLoader = /** @class */ (function () {
195
268
  _rive_advanced_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](__assign({
196
269
  // Loads Wasm bundle
197
270
  locateFile: function () { return attemptedUrl; } }, (wasmBinary ? { wasmBinary: wasmBinary } : {})))
198
- .then(function (rive) {
199
- var _a;
200
- if (RuntimeLoader.enablePerfMarks) {
201
- performance.mark('rive:wasm-init:end');
202
- performance.measure('rive:wasm-init', 'rive:wasm-init:start', 'rive:wasm-init:end');
203
- }
204
- RuntimeLoader.runtime = rive;
205
- RuntimeLoader.errorCallbackQueue = [];
206
- // Fire all the callbacks
207
- while (RuntimeLoader.callBackQueue.length > 0) {
208
- (_a = RuntimeLoader.callBackQueue.shift()) === null || _a === void 0 ? void 0 : _a(RuntimeLoader.runtime);
209
- }
210
- })
271
+ .then(RuntimeLoader.loaded)
211
272
  .catch(function (error) {
212
273
  // Capture specific error details
213
274
  var errorDetails = {
@@ -233,7 +294,7 @@ var RuntimeLoader = /** @class */ (function () {
233
294
  // instead of re-using the same (failing) in-memory binary.
234
295
  RuntimeLoader.wasmBinary = null;
235
296
  RuntimeLoader.setWasmUrl(fallbackUrl);
236
- RuntimeLoader.loadRuntime();
297
+ RuntimeLoader.loadUnthreaded();
237
298
  }
238
299
  else {
239
300
  // When alreadyOnFallback is true, wasmURL has already been overwritten
@@ -306,6 +367,21 @@ var RuntimeLoader = /** @class */ (function () {
306
367
  RuntimeLoader.getWasmFallbackUrl = function () {
307
368
  return RuntimeLoader.wasmFallbackURL;
308
369
  };
370
+ /**
371
+ * Sets the URL of the threaded build's wasm, which
372
+ * `@rive-app/webgl2-threads` loads on a cross origin isolated page. Pass
373
+ * `null` to always load the build without threads. Other packages have no
374
+ * threaded build and ignore it.
375
+ *
376
+ * Defaults to pulling from the unpkg CDN.
377
+ */
378
+ RuntimeLoader.setWasmThreadsUrl = function (url) {
379
+ RuntimeLoader.wasmThreadsURL = url;
380
+ };
381
+ // Gets the threaded build's wasm url (null means threads are off)
382
+ RuntimeLoader.getWasmThreadsUrl = function () {
383
+ return RuntimeLoader.wasmThreadsURL;
384
+ };
309
385
  // Manually sets the wasm binary or clears it with null
310
386
  RuntimeLoader.setWasmBinary = function (value) {
311
387
  if ((value instanceof ArrayBuffer) || value === null) {
@@ -324,11 +400,17 @@ var RuntimeLoader = /** @class */ (function () {
324
400
  RuntimeLoader.callBackQueue = [];
325
401
  // Path to the Wasm file; default path works for testing only;
326
402
  // if embedded wasm is used then this is never used.
327
- RuntimeLoader.wasmURL = "https://unpkg.com/".concat(package_json__WEBPACK_IMPORTED_MODULE_1__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_1__.version, "/rive.wasm");
403
+ RuntimeLoader.wasmURL = "https://unpkg.com/".concat(package_json__WEBPACK_IMPORTED_MODULE_2__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_2__.version, "/rive.wasm");
328
404
  // Fallback WASM URL tried when the primary URL fails. Set to null to disable
329
405
  // the fallback entirely. Defaults to pulling from the jsdelivr CDN.
330
- RuntimeLoader.wasmFallbackURL = "https://cdn.jsdelivr.net/npm/".concat(package_json__WEBPACK_IMPORTED_MODULE_1__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_1__.version, "/rive_fallback.wasm");
406
+ RuntimeLoader.wasmFallbackURL = "https://cdn.jsdelivr.net/npm/".concat(package_json__WEBPACK_IMPORTED_MODULE_2__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_2__.version, "/rive_fallback.wasm");
331
407
  RuntimeLoader.wasmBinary = null;
408
+ // The threaded build's wasm, tried first on a page that can run it. Null
409
+ // in packages without one, or to stay on the build without threads.
410
+ RuntimeLoader.wasmThreadsURL = typeof (_rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1___default()) === "function"
411
+ ? "https://unpkg.com/".concat(package_json__WEBPACK_IMPORTED_MODULE_2__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_2__.version, "/rive_threads.wasm")
412
+ : null;
413
+ RuntimeLoader.triedThreads = false;
332
414
  // Error callbacks enqueued from .getInstance()
333
415
  RuntimeLoader.errorCallbackQueue = [];
334
416
  /**
@@ -345,6 +427,7 @@ var RuntimeLoader = /** @class */ (function () {
345
427
  /* 4 */
346
428
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
347
429
 
430
+ "use strict";
348
431
  __webpack_require__.r(__webpack_exports__);
349
432
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
350
433
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
@@ -681,14 +764,22 @@ l.dynCall_iijii;Oc.iiiji=l.dynCall_iiiji;Oc.iiji=l.dynCall_iiji;Oc.jii=l.dynCall
681
764
 
682
765
  /***/ }),
683
766
  /* 5 */
684
- /***/ ((module) => {
767
+ /***/ (() => {
685
768
 
686
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.46.0","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive_fallback.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts","runtimeLoader.d.ts","utils","semantics"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
769
+ /* (ignored) */
687
770
 
688
771
  /***/ }),
689
772
  /* 6 */
773
+ /***/ ((module) => {
774
+
775
+ "use strict";
776
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.47.0","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive_fallback.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts","runtimeLoader.d.ts","utils","semantics"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
777
+
778
+ /***/ }),
779
+ /* 7 */
690
780
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
691
781
 
782
+ "use strict";
692
783
  __webpack_require__.r(__webpack_exports__);
693
784
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
694
785
  /* harmony export */ AccessibilityOverlay: () => (/* reexport safe */ _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__.AccessibilityOverlay),
@@ -708,23 +799,24 @@ __webpack_require__.r(__webpack_exports__);
708
799
  /* harmony export */ stateNames: () => (/* reexport safe */ _types__WEBPACK_IMPORTED_MODULE_2__.stateNames),
709
800
  /* harmony export */ traitNames: () => (/* reexport safe */ _types__WEBPACK_IMPORTED_MODULE_2__.traitNames)
710
801
  /* harmony export */ });
711
- /* harmony import */ var _semanticTreeModel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
712
- /* harmony import */ var _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
713
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
802
+ /* harmony import */ var _semanticTreeModel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
803
+ /* harmony import */ var _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
804
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
714
805
 
715
806
 
716
807
 
717
808
 
718
809
 
719
810
  /***/ }),
720
- /* 7 */
811
+ /* 8 */
721
812
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
722
813
 
814
+ "use strict";
723
815
  __webpack_require__.r(__webpack_exports__);
724
816
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
725
817
  /* harmony export */ SemanticTreeModel: () => (/* binding */ SemanticTreeModel)
726
818
  /* harmony export */ });
727
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
819
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
728
820
  var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
729
821
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
730
822
  if (ar || !(i in from)) {
@@ -1172,9 +1264,10 @@ function applyGeometry(target, src) {
1172
1264
 
1173
1265
 
1174
1266
  /***/ }),
1175
- /* 8 */
1267
+ /* 9 */
1176
1268
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1177
1269
 
1270
+ "use strict";
1178
1271
  __webpack_require__.r(__webpack_exports__);
1179
1272
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1180
1273
  /* harmony export */ CHECK_STATE_MASK: () => (/* binding */ CHECK_STATE_MASK),
@@ -1360,16 +1453,17 @@ function traitNames(flags) {
1360
1453
 
1361
1454
 
1362
1455
  /***/ }),
1363
- /* 9 */
1456
+ /* 10 */
1364
1457
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1365
1458
 
1459
+ "use strict";
1366
1460
  __webpack_require__.r(__webpack_exports__);
1367
1461
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1368
1462
  /* harmony export */ AccessibilityOverlay: () => (/* binding */ AccessibilityOverlay)
1369
1463
  /* harmony export */ });
1370
- /* harmony import */ var _claimedKeyEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
1371
- /* harmony import */ var _utils_canvasOffset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
1372
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
1464
+ /* harmony import */ var _claimedKeyEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
1465
+ /* harmony import */ var _utils_canvasOffset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
1466
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
1373
1467
 
1374
1468
 
1375
1469
 
@@ -2760,9 +2854,10 @@ function ariaRoleForSemantic(role) {
2760
2854
 
2761
2855
 
2762
2856
  /***/ }),
2763
- /* 10 */
2857
+ /* 11 */
2764
2858
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2765
2859
 
2860
+ "use strict";
2766
2861
  __webpack_require__.r(__webpack_exports__);
2767
2862
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2768
2863
  /* harmony export */ claimKeyEvent: () => (/* binding */ claimKeyEvent),
@@ -2784,9 +2879,10 @@ function isKeyEventClaimed(event) {
2784
2879
 
2785
2880
 
2786
2881
  /***/ }),
2787
- /* 11 */
2882
+ /* 12 */
2788
2883
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2789
2884
 
2885
+ "use strict";
2790
2886
  __webpack_require__.r(__webpack_exports__);
2791
2887
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2792
2888
  /* harmony export */ canvasOffset: () => (/* binding */ canvasOffset)
@@ -2810,9 +2906,10 @@ function canvasOffset(canvas) {
2810
2906
 
2811
2907
 
2812
2908
  /***/ }),
2813
- /* 12 */
2909
+ /* 13 */
2814
2910
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2815
2911
 
2912
+ "use strict";
2816
2913
  __webpack_require__.r(__webpack_exports__);
2817
2914
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2818
2915
  /* harmony export */ AudioAssetWrapper: () => (/* reexport safe */ _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__.AudioAssetWrapper),
@@ -2833,11 +2930,11 @@ __webpack_require__.r(__webpack_exports__);
2833
2930
  /* harmony export */ registerTouchInteractions: () => (/* reexport safe */ _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__.registerTouchInteractions),
2834
2931
  /* harmony export */ sanitizeUrl: () => (/* reexport safe */ _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__.sanitizeUrl)
2835
2932
  /* harmony export */ });
2836
- /* harmony import */ var _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
2837
- /* harmony import */ var _registerKeyboardInteractions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
2838
- /* harmony import */ var _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
2839
- /* harmony import */ var _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(18);
2840
- /* harmony import */ var _riveFont__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19);
2933
+ /* harmony import */ var _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(14);
2934
+ /* harmony import */ var _registerKeyboardInteractions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15);
2935
+ /* harmony import */ var _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18);
2936
+ /* harmony import */ var _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19);
2937
+ /* harmony import */ var _riveFont__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20);
2841
2938
 
2842
2939
 
2843
2940
 
@@ -2846,9 +2943,10 @@ __webpack_require__.r(__webpack_exports__);
2846
2943
 
2847
2944
 
2848
2945
  /***/ }),
2849
- /* 13 */
2946
+ /* 14 */
2850
2947
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2851
2948
 
2949
+ "use strict";
2852
2950
  __webpack_require__.r(__webpack_exports__);
2853
2951
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2854
2952
  /* harmony export */ registerTouchInteractions: () => (/* binding */ registerTouchInteractions)
@@ -3365,17 +3463,18 @@ var registerTouchInteractions = function (_a) {
3365
3463
 
3366
3464
 
3367
3465
  /***/ }),
3368
- /* 14 */
3466
+ /* 15 */
3369
3467
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3370
3468
 
3469
+ "use strict";
3371
3470
  __webpack_require__.r(__webpack_exports__);
3372
3471
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3373
3472
  /* harmony export */ FocusSessionState: () => (/* binding */ FocusSessionState),
3374
3473
  /* harmony export */ KeyboardInteractions: () => (/* binding */ KeyboardInteractions)
3375
3474
  /* harmony export */ });
3376
- /* harmony import */ var _keyMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
3377
- /* harmony import */ var _semantics_claimedKeyEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
3378
- /* harmony import */ var _textInputProxy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
3475
+ /* harmony import */ var _keyMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16);
3476
+ /* harmony import */ var _semantics_claimedKeyEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
3477
+ /* harmony import */ var _textInputProxy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
3379
3478
 
3380
3479
 
3381
3480
 
@@ -3865,9 +3964,10 @@ var KeyboardInteractions = /** @class */ (function () {
3865
3964
 
3866
3965
 
3867
3966
  /***/ }),
3868
- /* 15 */
3967
+ /* 16 */
3869
3968
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3870
3969
 
3970
+ "use strict";
3871
3971
  __webpack_require__.r(__webpack_exports__);
3872
3972
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3873
3973
  /* harmony export */ Key: () => (/* binding */ Key),
@@ -4228,14 +4328,15 @@ function modifiersFromEvent(event) {
4228
4328
 
4229
4329
 
4230
4330
  /***/ }),
4231
- /* 16 */
4331
+ /* 17 */
4232
4332
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4233
4333
 
4334
+ "use strict";
4234
4335
  __webpack_require__.r(__webpack_exports__);
4235
4336
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4236
4337
  /* harmony export */ TextInputProxy: () => (/* binding */ TextInputProxy)
4237
4338
  /* harmony export */ });
4238
- /* harmony import */ var _canvasOffset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
4339
+ /* harmony import */ var _canvasOffset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
4239
4340
 
4240
4341
  // 16px: the smallest font size at which iOS Safari doesn't zoom on focus
4241
4342
  var FONT_SIZE_PX = 16;
@@ -4450,9 +4551,10 @@ function clamp(v, min, max) {
4450
4551
 
4451
4552
 
4452
4553
  /***/ }),
4453
- /* 17 */
4554
+ /* 18 */
4454
4555
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4455
4556
 
4557
+ "use strict";
4456
4558
  __webpack_require__.r(__webpack_exports__);
4457
4559
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4458
4560
  /* harmony export */ BLANK_URL: () => (/* binding */ BLANK_URL),
@@ -4503,9 +4605,10 @@ function sanitizeUrl(url) {
4503
4605
 
4504
4606
 
4505
4607
  /***/ }),
4506
- /* 18 */
4608
+ /* 19 */
4507
4609
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4508
4610
 
4611
+ "use strict";
4509
4612
  __webpack_require__.r(__webpack_exports__);
4510
4613
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4511
4614
  /* harmony export */ AudioAssetWrapper: () => (/* binding */ AudioAssetWrapper),
@@ -4803,9 +4906,10 @@ var createFinalization = function (target, finalizable) {
4803
4906
 
4804
4907
 
4805
4908
  /***/ }),
4806
- /* 19 */
4909
+ /* 20 */
4807
4910
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4808
4911
 
4912
+ "use strict";
4809
4913
  __webpack_require__.r(__webpack_exports__);
4810
4914
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4811
4915
  /* harmony export */ RiveFont: () => (/* binding */ RiveFont)
@@ -4903,6 +5007,18 @@ var RiveFont = /** @class */ (function () {
4903
5007
  /******/ }
4904
5008
  /******/
4905
5009
  /************************************************************************/
5010
+ /******/ /* webpack/runtime/compat get default export */
5011
+ /******/ (() => {
5012
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
5013
+ /******/ __webpack_require__.n = (module) => {
5014
+ /******/ var getter = module && module.__esModule ?
5015
+ /******/ () => (module['default']) :
5016
+ /******/ () => (module);
5017
+ /******/ __webpack_require__.d(getter, { a: getter });
5018
+ /******/ return getter;
5019
+ /******/ };
5020
+ /******/ })();
5021
+ /******/
4906
5022
  /******/ /* webpack/runtime/define property getters */
4907
5023
  /******/ (() => {
4908
5024
  /******/ // define getter functions for harmony exports
@@ -4933,8 +5049,9 @@ var RiveFont = /** @class */ (function () {
4933
5049
  /******/
4934
5050
  /************************************************************************/
4935
5051
  var __webpack_exports__ = {};
4936
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
5052
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
4937
5053
  (() => {
5054
+ "use strict";
4938
5055
  __webpack_require__.r(__webpack_exports__);
4939
5056
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4940
5057
  /* harmony export */ Alignment: () => (/* binding */ Alignment),
@@ -4974,8 +5091,8 @@ __webpack_require__.r(__webpack_exports__);
4974
5091
  /* harmony export */ });
4975
5092
  /* harmony import */ var _animation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
4976
5093
  /* harmony import */ var _runtimeLoader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
4977
- /* harmony import */ var _semantics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
4978
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12);
5094
+ /* harmony import */ var _semantics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
5095
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
4979
5096
  var __extends = (undefined && undefined.__extends) || (function () {
4980
5097
  var extendStatics = function (d, b) {
4981
5098
  extendStatics = Object.setPrototypeOf ||