@yschimke/remote-compose-player-cmp 2.3.0 → 2.5.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/dist/rcPlayer.import-object.mjs +216 -34
- package/dist/rcPlayer.wasm +0 -0
- package/dist/skiko.mjs +5 -36
- package/dist/skiko.wasm +0 -0
- package/package.json +1 -1
|
@@ -54,6 +54,8 @@ const js_code = {
|
|
|
54
54
|
'kotlin.wasm.internal.jsThrow' : wasmTag === wasmJsTag ? (e) => { throw e; } : () => {},
|
|
55
55
|
'kotlin.wasm.internal.getJsEmptyString' : () => '',
|
|
56
56
|
'kotlin.wasm.internal.externrefToInt' : (ref) => Number(ref),
|
|
57
|
+
'kotlin.wasm.internal.intToExternref' : (x) => x,
|
|
58
|
+
'kotlin.wasm.internal.externrefToDouble' : (ref) => Number(ref),
|
|
57
59
|
'kotlin.wasm.internal.externrefToString' : (ref) => String(ref),
|
|
58
60
|
'kotlin.wasm.internal.externrefEquals' : (lhs, rhs) => lhs === rhs,
|
|
59
61
|
'kotlin.wasm.internal.externrefHashCode' :
|
|
@@ -111,11 +113,24 @@ const js_code = {
|
|
|
111
113
|
'kotlin.wasm.internal.getJsFalse' : () => false,
|
|
112
114
|
'kotlin.wasm.internal.kotlinUIntToJsNumberUnsafe' : (x) => x >>> 0,
|
|
113
115
|
'kotlin.wasm.internal.kotlinULongToJsBigIntUnsafe' : (x) => x & 0xFFFFFFFFFFFFFFFFn,
|
|
116
|
+
'kotlin.wasm.internal.newJsArray' : () => [],
|
|
117
|
+
'kotlin.wasm.internal.jsArrayPush' : (array, element) => { array.push(element); },
|
|
114
118
|
'kotlin.wasm.internal.getCachedJsObject_$external_fun' : (p0, p1) => getCachedJsObject(p0, p1),
|
|
115
119
|
'kotlin.wasm.internal.utoa32_$external_fun' : (p0) => String(p0),
|
|
116
120
|
'kotlin.wasm.internal.utoa64_$external_fun' : (p0) => String(p0),
|
|
117
121
|
'kotlin.wasm.internal.itoa32_$external_fun' : (p0) => String(p0),
|
|
118
122
|
'kotlin.wasm.internal.itoa64_$external_fun' : (p0) => String(p0),
|
|
123
|
+
'kotlin.js.jsCatch' : (f) => {
|
|
124
|
+
let result = null;
|
|
125
|
+
try {
|
|
126
|
+
f();
|
|
127
|
+
} catch (e) {
|
|
128
|
+
result = e;
|
|
129
|
+
}
|
|
130
|
+
return result;
|
|
131
|
+
},
|
|
132
|
+
'kotlin.js.__convertKotlinClosureToJsClosure_0' : (f, trampoline) => getCachedJsObject(f, () => trampoline(f, )),
|
|
133
|
+
'kotlin.js.jsThrow' : (e) => { throw e; },
|
|
119
134
|
'kotlin.io.printlnImpl' : (message) => console.log(message),
|
|
120
135
|
'kotlin.js.jsArrayGet' : (array, index) => array[index],
|
|
121
136
|
'kotlin.js.jsArraySet' : (array, index, value) => { array[index] = value },
|
|
@@ -132,7 +147,10 @@ const js_code = {
|
|
|
132
147
|
'kotlin.js.JsString_$external_class_get' : () => JsString,
|
|
133
148
|
'kotlin.js.then_$external_fun' : (_this, p0) => _this.then(p0),
|
|
134
149
|
'kotlin.js.__convertKotlinClosureToJsClosure_1' : (f, trampoline) => getCachedJsObject(f, (p0) => trampoline(f, p0)),
|
|
150
|
+
'kotlin.js.then_$external_fun_1' : (_this, p0, p1) => _this.then(p0, p1),
|
|
135
151
|
'kotlin.js.catch_$external_fun' : (_this, p0) => _this.catch(p0),
|
|
152
|
+
'kotlin.js.Promise_$external_class_instanceof' : (x) => x instanceof Promise,
|
|
153
|
+
'kotlin.js.Promise_$external_class_get' : () => Promise,
|
|
136
154
|
'kotlin.random.initialSeed' : () => ((Math.random() * Math.pow(2, 32)) | 0),
|
|
137
155
|
'kotlin.wasm.internal.getJsClassName' : (jsKlass) => jsKlass.name,
|
|
138
156
|
'kotlin.wasm.internal.instanceOf' : (ref, jsKlass) => ref instanceof jsKlass,
|
|
@@ -142,10 +160,11 @@ const js_code = {
|
|
|
142
160
|
'kotlin.time.tryGetPerformance' : () => typeof globalThis !== 'undefined' && typeof globalThis.performance !== 'undefined' ? globalThis.performance : null,
|
|
143
161
|
'kotlin.time.getPerformanceNow' : (performance) => performance.now(),
|
|
144
162
|
'kotlin.time.dateNow' : () => Date.now(),
|
|
163
|
+
'kotlin.uuid.cryptoGetRandomValues' : (size) => crypto.getRandomValues(new Int8Array(size)),
|
|
164
|
+
'kotlin.uuid.get' : (array, index) => array[index],
|
|
145
165
|
'kotlinx.coroutines.tryGetProcess' : () => (typeof(process) !== 'undefined' && typeof(process.nextTick) === 'function') ? process : null,
|
|
146
166
|
'kotlinx.coroutines.tryGetWindow' : () => (typeof(window) !== 'undefined' && window != null && typeof(window.addEventListener) === 'function') ? window : null,
|
|
147
167
|
'kotlinx.coroutines.nextTick_$external_fun' : (_this, p0) => _this.nextTick(p0),
|
|
148
|
-
'kotlinx.coroutines.__convertKotlinClosureToJsClosure_0' : (f, trampoline) => getCachedJsObject(f, () => trampoline(f, )),
|
|
149
168
|
'kotlinx.coroutines.createScheduleMessagePoster' : (process) => () => Promise.resolve(0).then(process),
|
|
150
169
|
'kotlinx.coroutines.__callJsClosure_(()->Unit)' : (f, ) => f(),
|
|
151
170
|
'kotlinx.coroutines.createRescheduleMessagePoster' : (window) => () => window.postMessage('dispatchCoroutine', '*'),
|
|
@@ -175,7 +194,24 @@ const js_code = {
|
|
|
175
194
|
setTimeout(function () { throw error }, 0);
|
|
176
195
|
}
|
|
177
196
|
},
|
|
197
|
+
'org.khronos.webgl.getMethodImplForInt8Array' : (obj, index) => obj[index],
|
|
198
|
+
'org.khronos.webgl.getMethodImplForUint8Array' : (obj, index) => obj[index],
|
|
199
|
+
'org.khronos.webgl.setMethodImplForInt8Array' : (obj, index, value) => { obj[index] = value; },
|
|
200
|
+
'org.khronos.webgl.byteLength_$external_prop_getter' : (_this) => _this.byteLength,
|
|
201
|
+
'org.khronos.webgl.slice_$external_fun' : (_this, p0, p1, isDefault0) => _this.slice(p0, isDefault0 ? undefined : p1, ),
|
|
202
|
+
'org.khronos.webgl.Int8Array_$external_fun' : (p0) => new Int8Array(p0),
|
|
203
|
+
'org.khronos.webgl.Int8Array_$external_fun_1' : (p0, p1, p2, isDefault0, isDefault1) => new Int8Array(p0, isDefault0 ? undefined : p1, isDefault1 ? undefined : p2, ),
|
|
204
|
+
'org.khronos.webgl.length_$external_prop_getter' : (_this) => _this.length,
|
|
205
|
+
'org.khronos.webgl.buffer_$external_prop_getter' : (_this) => _this.buffer,
|
|
206
|
+
'org.khronos.webgl.Uint8Array_$external_fun' : (p0, p1, p2, isDefault0, isDefault1) => new Uint8Array(p0, isDefault0 ? undefined : p1, isDefault1 ? undefined : p2, ),
|
|
207
|
+
'org.khronos.webgl.length_$external_prop_getter_1' : (_this) => _this.length,
|
|
208
|
+
'org.khronos.webgl.buffer_$external_prop_getter_1' : (_this) => _this.buffer,
|
|
209
|
+
'org.khronos.webgl.byteOffset_$external_prop_getter' : (_this) => _this.byteOffset,
|
|
210
|
+
'org.khronos.webgl.byteLength_$external_prop_getter_1' : (_this) => _this.byteLength,
|
|
178
211
|
'org.w3c.dom.css.cursor_$external_prop_setter' : (_this, v) => _this.cursor = v,
|
|
212
|
+
'org.w3c.dom.css.display_$external_prop_setter' : (_this, v) => _this.display = v,
|
|
213
|
+
'org.w3c.dom.css.fontSize_$external_prop_getter' : (_this) => _this.fontSize,
|
|
214
|
+
'org.w3c.dom.css.fontSize_$external_prop_setter' : (_this, v) => _this.fontSize = v,
|
|
179
215
|
'org.w3c.dom.css.height_$external_prop_setter' : (_this, v) => _this.height = v,
|
|
180
216
|
'org.w3c.dom.css.left_$external_prop_setter' : (_this, v) => _this.left = v,
|
|
181
217
|
'org.w3c.dom.css.opacity_$external_prop_setter' : (_this, v) => _this.opacity = v,
|
|
@@ -186,40 +222,46 @@ const js_code = {
|
|
|
186
222
|
'org.w3c.dom.css.width_$external_prop_setter' : (_this, v) => _this.width = v,
|
|
187
223
|
'org.w3c.dom.css.setProperty_$external_fun' : (_this, p0, p1, p2, isDefault0) => _this.setProperty(p0, p1, isDefault0 ? undefined : p2, ),
|
|
188
224
|
'org.w3c.dom.css.style_$external_prop_getter' : (_this) => _this.style,
|
|
189
|
-
'org.w3c.dom.events.addEventListener_$external_fun' : (_this, p0, p1, p2) => _this.addEventListener(p0, p1, p2),
|
|
190
|
-
'org.w3c.dom.events.addEventListener_$external_fun_1' : (_this, p0, p1) => _this.addEventListener(p0, p1),
|
|
191
225
|
'org.w3c.dom.events.type_$external_prop_getter' : (_this) => _this.type,
|
|
192
226
|
'org.w3c.dom.events.target_$external_prop_getter' : (_this) => _this.target,
|
|
193
227
|
'org.w3c.dom.events.cancelable_$external_prop_getter' : (_this) => _this.cancelable,
|
|
194
228
|
'org.w3c.dom.events.timeStamp_$external_prop_getter' : (_this) => _this.timeStamp,
|
|
195
229
|
'org.w3c.dom.events.preventDefault_$external_fun' : (_this, ) => _this.preventDefault(),
|
|
196
|
-
'org.w3c.dom.events.
|
|
197
|
-
'org.w3c.dom.events.
|
|
230
|
+
'org.w3c.dom.events.Event_$external_class_instanceof' : (x) => x instanceof Event,
|
|
231
|
+
'org.w3c.dom.events.key_$external_prop_getter' : (_this) => _this.key,
|
|
232
|
+
'org.w3c.dom.events.code_$external_prop_getter' : (_this) => _this.code,
|
|
198
233
|
'org.w3c.dom.events.ctrlKey_$external_prop_getter' : (_this) => _this.ctrlKey,
|
|
199
234
|
'org.w3c.dom.events.shiftKey_$external_prop_getter' : (_this) => _this.shiftKey,
|
|
200
235
|
'org.w3c.dom.events.altKey_$external_prop_getter' : (_this) => _this.altKey,
|
|
201
236
|
'org.w3c.dom.events.metaKey_$external_prop_getter' : (_this) => _this.metaKey,
|
|
202
|
-
'org.w3c.dom.events.
|
|
203
|
-
'org.w3c.dom.events.
|
|
204
|
-
'org.w3c.dom.events.
|
|
205
|
-
'org.w3c.dom.events.
|
|
206
|
-
'org.w3c.dom.events.
|
|
207
|
-
'org.w3c.dom.events.
|
|
237
|
+
'org.w3c.dom.events.deltaX_$external_prop_getter' : (_this) => _this.deltaX,
|
|
238
|
+
'org.w3c.dom.events.deltaY_$external_prop_getter' : (_this) => _this.deltaY,
|
|
239
|
+
'org.w3c.dom.events.deltaMode_$external_prop_getter' : (_this) => _this.deltaMode,
|
|
240
|
+
'org.w3c.dom.events.DOM_DELTA_PIXEL_$external_prop_getter' : (_this) => _this.DOM_DELTA_PIXEL,
|
|
241
|
+
'org.w3c.dom.events.DOM_DELTA_LINE_$external_prop_getter' : (_this) => _this.DOM_DELTA_LINE,
|
|
242
|
+
'org.w3c.dom.events.DOM_DELTA_PAGE_$external_prop_getter' : (_this) => _this.DOM_DELTA_PAGE,
|
|
243
|
+
'org.w3c.dom.events.Companion_$external_object_getInstance' : () => WheelEvent,
|
|
244
|
+
'org.w3c.dom.events.WheelEvent_$external_class_instanceof' : (x) => x instanceof WheelEvent,
|
|
245
|
+
'org.w3c.dom.events.addEventListener_$external_fun' : (_this, p0, p1, p2) => _this.addEventListener(p0, p1, p2),
|
|
246
|
+
'org.w3c.dom.events.addEventListener_$external_fun_1' : (_this, p0, p1) => _this.addEventListener(p0, p1),
|
|
247
|
+
'org.w3c.dom.events.removeEventListener_$external_fun' : (_this, p0, p1) => _this.removeEventListener(p0, p1),
|
|
248
|
+
'org.w3c.dom.events.clientX_$external_prop_getter' : (_this) => _this.clientX,
|
|
249
|
+
'org.w3c.dom.events.clientY_$external_prop_getter' : (_this) => _this.clientY,
|
|
208
250
|
'org.w3c.dom.events.ctrlKey_$external_prop_getter_1' : (_this) => _this.ctrlKey,
|
|
209
251
|
'org.w3c.dom.events.shiftKey_$external_prop_getter_1' : (_this) => _this.shiftKey,
|
|
210
252
|
'org.w3c.dom.events.altKey_$external_prop_getter_1' : (_this) => _this.altKey,
|
|
211
253
|
'org.w3c.dom.events.metaKey_$external_prop_getter_1' : (_this) => _this.metaKey,
|
|
212
|
-
'org.w3c.dom.events.
|
|
213
|
-
'org.w3c.dom.events.
|
|
214
|
-
'org.w3c.dom.
|
|
254
|
+
'org.w3c.dom.events.button_$external_prop_getter' : (_this) => _this.button,
|
|
255
|
+
'org.w3c.dom.events.buttons_$external_prop_getter' : (_this) => _this.buttons,
|
|
256
|
+
'org.w3c.dom.events.offsetX_$external_prop_getter' : (_this) => _this.offsetX,
|
|
257
|
+
'org.w3c.dom.events.offsetY_$external_prop_getter' : (_this) => _this.offsetY,
|
|
215
258
|
'org.w3c.dom.AddEventListenerOptions_js_code' : (passive, once, capture) => ({ passive: passive, once: once, capture: capture }),
|
|
259
|
+
'org.w3c.dom.ShadowRootInit' : (mode) => ({ mode: mode }),
|
|
216
260
|
'org.w3c.dom.navigator_$external_prop_getter' : (_this) => _this.navigator,
|
|
217
261
|
'org.w3c.dom.devicePixelRatio_$external_prop_getter' : (_this) => _this.devicePixelRatio,
|
|
218
262
|
'org.w3c.dom.requestAnimationFrame_$external_fun' : (_this, p0) => _this.requestAnimationFrame(p0),
|
|
219
263
|
'org.w3c.dom.matchMedia_$external_fun' : (_this, p0) => _this.matchMedia(p0),
|
|
220
|
-
'org.w3c.dom.
|
|
221
|
-
'org.w3c.dom.setDragImage_$external_fun' : (_this, p0, p1, p2) => _this.setDragImage(p0, p1, p2),
|
|
222
|
-
'org.w3c.dom.setData_$external_fun' : (_this, p0, p1) => _this.setData(p0, p1),
|
|
264
|
+
'org.w3c.dom.getComputedStyle_$external_fun' : (_this, p0, p1, isDefault0) => _this.getComputedStyle(p0, isDefault0 ? undefined : p1, ),
|
|
223
265
|
'org.w3c.dom.tabIndex_$external_prop_setter' : (_this, v) => _this.tabIndex = v,
|
|
224
266
|
'org.w3c.dom.innerText_$external_prop_setter' : (_this, v) => _this.innerText = v,
|
|
225
267
|
'org.w3c.dom.click_$external_fun' : (_this, ) => _this.click(),
|
|
@@ -238,41 +280,72 @@ const js_code = {
|
|
|
238
280
|
'org.w3c.dom.setAttribute_$external_fun' : (_this, p0, p1) => _this.setAttribute(p0, p1),
|
|
239
281
|
'org.w3c.dom.attachShadow_$external_fun' : (_this, p0) => _this.attachShadow(p0),
|
|
240
282
|
'org.w3c.dom.getBoundingClientRect_$external_fun' : (_this, ) => _this.getBoundingClientRect(),
|
|
241
|
-
'org.w3c.dom.matches_$external_prop_getter' : (_this) => _this.matches,
|
|
242
|
-
'org.w3c.dom.addListener_$external_fun' : (_this, p0) => _this.addListener(p0),
|
|
243
|
-
'org.w3c.dom.MediaQueryList_$external_class_instanceof' : (x) => x instanceof MediaQueryList,
|
|
244
|
-
'org.w3c.dom.MediaQueryList_$external_class_get' : () => MediaQueryList,
|
|
245
|
-
'org.w3c.dom.userAgent_$external_prop_getter' : (_this) => _this.userAgent,
|
|
246
|
-
'org.w3c.dom.language_$external_prop_getter' : (_this) => _this.language,
|
|
247
|
-
'org.w3c.dom.dataTransfer_$external_prop_getter' : (_this) => _this.dataTransfer,
|
|
248
|
-
'org.w3c.dom.DragEvent_$external_class_instanceof' : (x) => x instanceof DragEvent,
|
|
249
|
-
'org.w3c.dom.DragEvent_$external_class_get' : () => DragEvent,
|
|
250
283
|
'org.w3c.dom.isConnected_$external_prop_getter' : (_this) => _this.isConnected,
|
|
251
284
|
'org.w3c.dom.firstChild_$external_prop_getter' : (_this) => _this.firstChild,
|
|
252
285
|
'org.w3c.dom.textContent_$external_prop_setter' : (_this, v) => _this.textContent = v,
|
|
253
286
|
'org.w3c.dom.hasChildNodes_$external_fun' : (_this, ) => _this.hasChildNodes(),
|
|
254
287
|
'org.w3c.dom.appendChild_$external_fun' : (_this, p0) => _this.appendChild(p0),
|
|
255
288
|
'org.w3c.dom.removeChild_$external_fun' : (_this, p0) => _this.removeChild(p0),
|
|
256
|
-
'org.w3c.dom.
|
|
257
|
-
'org.w3c.dom.
|
|
258
|
-
'org.w3c.dom.
|
|
259
|
-
'org.w3c.dom.remove_$external_fun' : (_this, ) => _this.remove(),
|
|
260
|
-
'org.w3c.dom.Companion_$external_object_getInstance_1' : () => ({}),
|
|
261
|
-
'org.w3c.dom.HTMLDivElement_$external_class_instanceof' : (x) => x instanceof HTMLDivElement,
|
|
262
|
-
'org.w3c.dom.HTMLDivElement_$external_class_get' : () => HTMLDivElement,
|
|
289
|
+
'org.w3c.dom.dropEffect_$external_prop_setter' : (_this, v) => _this.dropEffect = v,
|
|
290
|
+
'org.w3c.dom.setDragImage_$external_fun' : (_this, p0, p1, p2) => _this.setDragImage(p0, p1, p2),
|
|
291
|
+
'org.w3c.dom.setData_$external_fun' : (_this, p0, p1) => _this.setData(p0, p1),
|
|
263
292
|
'org.w3c.dom.width_$external_prop_getter' : (_this) => _this.width,
|
|
264
293
|
'org.w3c.dom.width_$external_prop_setter' : (_this, v) => _this.width = v,
|
|
265
294
|
'org.w3c.dom.height_$external_prop_getter' : (_this) => _this.height,
|
|
266
295
|
'org.w3c.dom.height_$external_prop_setter' : (_this, v) => _this.height = v,
|
|
267
296
|
'org.w3c.dom.HTMLCanvasElement_$external_class_instanceof' : (x) => x instanceof HTMLCanvasElement,
|
|
268
297
|
'org.w3c.dom.HTMLCanvasElement_$external_class_get' : () => HTMLCanvasElement,
|
|
298
|
+
'org.w3c.dom.HTMLDivElement_$external_class_instanceof' : (x) => x instanceof HTMLDivElement,
|
|
299
|
+
'org.w3c.dom.HTMLDivElement_$external_class_get' : () => HTMLDivElement,
|
|
269
300
|
'org.w3c.dom.HTMLTextAreaElement_$external_class_instanceof' : (x) => x instanceof HTMLTextAreaElement,
|
|
270
301
|
'org.w3c.dom.HTMLTextAreaElement_$external_class_get' : () => HTMLTextAreaElement,
|
|
302
|
+
'org.w3c.dom.matches_$external_prop_getter' : (_this) => _this.matches,
|
|
303
|
+
'org.w3c.dom.addListener_$external_fun' : (_this, p0) => _this.addListener(p0),
|
|
304
|
+
'org.w3c.dom.MediaQueryList_$external_class_instanceof' : (x) => x instanceof MediaQueryList,
|
|
305
|
+
'org.w3c.dom.MediaQueryList_$external_class_get' : () => MediaQueryList,
|
|
271
306
|
'org.w3c.dom.matches_$external_prop_getter_1' : (_this) => _this.matches,
|
|
272
307
|
'org.w3c.dom.MediaQueryListEvent_$external_class_instanceof' : (x) => x instanceof MediaQueryListEvent,
|
|
273
308
|
'org.w3c.dom.MediaQueryListEvent_$external_class_get' : () => MediaQueryListEvent,
|
|
309
|
+
'org.w3c.dom.dataTransfer_$external_prop_getter' : (_this) => _this.dataTransfer,
|
|
310
|
+
'org.w3c.dom.DragEvent_$external_class_instanceof' : (x) => x instanceof DragEvent,
|
|
311
|
+
'org.w3c.dom.DragEvent_$external_class_get' : () => DragEvent,
|
|
312
|
+
'org.w3c.dom.Worker_$external_fun' : (p0, p1, isDefault0) => new Worker(p0, isDefault0 ? undefined : p1, ),
|
|
313
|
+
'org.w3c.dom.postMessage_$external_fun' : (_this, p0, p1, isDefault0) => _this.postMessage(p0, isDefault0 ? undefined : p1, ),
|
|
314
|
+
'org.w3c.dom.Worker_$external_class_instanceof' : (x) => x instanceof Worker,
|
|
315
|
+
'org.w3c.dom.Worker_$external_class_get' : () => Worker,
|
|
316
|
+
'org.w3c.dom.data_$external_prop_getter' : (_this) => _this.data,
|
|
317
|
+
'org.w3c.dom.MessageEvent_$external_class_instanceof' : (x) => x instanceof MessageEvent,
|
|
318
|
+
'org.w3c.dom.readyState_$external_prop_getter_1' : (_this) => _this.readyState,
|
|
319
|
+
'org.w3c.dom.protocol_$external_prop_getter' : (_this) => _this.protocol,
|
|
320
|
+
'org.w3c.dom.binaryType_$external_prop_setter' : (_this, v) => _this.binaryType = v,
|
|
321
|
+
'org.w3c.dom.close_$external_fun' : (_this, p0, p1, isDefault0, isDefault1) => _this.close(isDefault0 ? undefined : p0, isDefault1 ? undefined : p1, ),
|
|
322
|
+
'org.w3c.dom.send_$external_fun' : (_this, p0) => _this.send(p0),
|
|
323
|
+
'org.w3c.dom.send_$external_fun_1' : (_this, p0) => _this.send(p0),
|
|
324
|
+
'org.w3c.dom.OPEN_$external_prop_getter' : (_this) => _this.OPEN,
|
|
325
|
+
'org.w3c.dom.Companion_$external_object_getInstance' : () => WebSocket,
|
|
326
|
+
'org.w3c.dom.code_$external_prop_getter' : (_this) => _this.code,
|
|
327
|
+
'org.w3c.dom.reason_$external_prop_getter' : (_this) => _this.reason,
|
|
328
|
+
'org.w3c.dom.Companion_$external_object_getInstance_1' : () => ({}),
|
|
329
|
+
'org.w3c.dom.userAgent_$external_prop_getter' : (_this) => _this.userAgent,
|
|
330
|
+
'org.w3c.dom.language_$external_prop_getter' : (_this) => _this.language,
|
|
331
|
+
'org.w3c.dom.fetch_$external_fun' : (_this, p0, p1, isDefault0) => _this.fetch(p0, isDefault0 ? undefined : p1, ),
|
|
332
|
+
'org.w3c.dom.Companion_$external_object_getInstance_2' : () => ({}),
|
|
333
|
+
'org.w3c.dom.top_$external_prop_getter' : (_this) => _this.top,
|
|
334
|
+
'org.w3c.dom.left_$external_prop_getter' : (_this) => _this.left,
|
|
335
|
+
'org.w3c.dom.remove_$external_fun' : (_this, ) => _this.remove(),
|
|
336
|
+
'org.w3c.dom.Companion_$external_object_getInstance_3' : () => ({}),
|
|
274
337
|
'org.w3c.dom.pointerevents.pointerId_$external_prop_getter' : (_this) => _this.pointerId,
|
|
275
338
|
'org.w3c.dom.pointerevents.pressure_$external_prop_getter' : (_this) => _this.pressure,
|
|
339
|
+
'org.w3c.dom.url.createObjectURL_$external_fun' : (_this, p0) => _this.createObjectURL(p0),
|
|
340
|
+
'org.w3c.dom.url.revokeObjectURL_$external_fun' : (_this, p0) => _this.revokeObjectURL(p0),
|
|
341
|
+
'org.w3c.dom.url.Companion_$external_object_getInstance' : () => URL,
|
|
342
|
+
'org.w3c.fetch.status_$external_prop_getter' : (_this) => _this.status,
|
|
343
|
+
'org.w3c.fetch.statusText_$external_prop_getter' : (_this) => _this.statusText,
|
|
344
|
+
'org.w3c.fetch.headers_$external_prop_getter' : (_this) => _this.headers,
|
|
345
|
+
'org.w3c.fetch.body_$external_prop_getter' : (_this) => _this.body,
|
|
346
|
+
'org.w3c.fetch.arrayBuffer_$external_fun' : (_this, ) => _this.arrayBuffer(),
|
|
347
|
+
'org.w3c.fetch.get_$external_fun' : (_this, p0) => _this.get(p0),
|
|
348
|
+
'org.w3c.fetch.Companion_$external_object_getInstance' : () => ({}),
|
|
276
349
|
'org.w3c.performance.now_$external_fun' : (_this, ) => _this.now(),
|
|
277
350
|
'org.w3c.performance.performance_$external_prop_getter' : (_this) => _this.performance,
|
|
278
351
|
'kotlinx.browser.window_$external_prop_getter' : () => window,
|
|
@@ -305,9 +378,18 @@ const js_code = {
|
|
|
305
378
|
}
|
|
306
379
|
,
|
|
307
380
|
'org.jetbrains.skiko.wasm.awaitSkiko_$external_prop_getter' : () => _ref_Li9za2lrby5tanM_.awaitSkiko,
|
|
381
|
+
'org.jetbrains.skia.webext.skikoArrayBuffer' : (skikoWasm) => skikoWasm.wasmExports.memory.buffer,
|
|
382
|
+
'org.jetbrains.skia.webext.copyBuffer' : (src, dst, dstOffset) => {
|
|
383
|
+
var dstView = new Uint8Array(dst);
|
|
384
|
+
var srcView = new Uint8Array(src);
|
|
385
|
+
dstView.set(srcView, dstOffset);
|
|
386
|
+
},
|
|
308
387
|
'org.jetbrains.skiko.createContext_$external_fun' : (_this, p0, p1) => _this.createContext(p0, p1),
|
|
309
388
|
'org.jetbrains.skiko.makeContextCurrent_$external_fun' : (_this, p0) => _this.makeContextCurrent(p0),
|
|
310
389
|
'org.jetbrains.skiko.getNavigatorInfo' : () => navigator.userAgentData ? navigator.userAgentData.platform : navigator.platform,
|
|
390
|
+
'org.jetbrains.skiko.defaultFetchInit_js_code' : () => ({}),
|
|
391
|
+
'org.jetbrains.skiko.jsCatch' : function (f) { try { f(); } catch (e) { return e;}; return null; },
|
|
392
|
+
'org.jetbrains.skiko.jsThrow' : (e) => { throw e; },
|
|
311
393
|
'androidx.compose.ui.text.intl.getUserPreferredLanguagesAsArray' : () => window.navigator.languages,
|
|
312
394
|
'androidx.compose.ui.text.FinalizationRegistry_$external_fun' : (p0) => new FinalizationRegistry(p0),
|
|
313
395
|
'androidx.compose.ui.text.register_$external_fun' : (_this, p0, p1) => _this.register(p0, p1),
|
|
@@ -316,6 +398,8 @@ const js_code = {
|
|
|
316
398
|
'androidx.compose.ui.text.intl.parseLanguageTagToIntlLocale' : (languageTag) => new Intl.Locale(languageTag),
|
|
317
399
|
'androidx.compose.ui.text.intl._language_$external_prop_getter' : (_this) => _this.language,
|
|
318
400
|
'androidx.compose.ui.text.intl._baseName_$external_prop_getter' : (_this) => _this.baseName,
|
|
401
|
+
'androidx.lifecycle.WeakRef_$external_fun' : (p0) => new WeakRef(p0),
|
|
402
|
+
'androidx.lifecycle.deref_$external_fun' : (_this, ) => _this.deref(),
|
|
319
403
|
'androidx.compose.ui.internal.weakMap_js_code' : () => (new WeakMap()),
|
|
320
404
|
'androidx.compose.ui.internal.set_$external_fun' : (_this, p0, p1) => _this.set(p0, p1),
|
|
321
405
|
'androidx.compose.ui.internal.get_$external_fun' : (_this, p0) => _this.get(p0),
|
|
@@ -327,6 +411,12 @@ const js_code = {
|
|
|
327
411
|
'androidx.compose.ui.internal.focusExt' : (element, _preventScroll) => element.focus({ preventScroll: _preventScroll }),
|
|
328
412
|
'androidx.compose.ui.node.WeakRef_$external_fun' : (p0) => new WeakRef(p0),
|
|
329
413
|
'androidx.compose.ui.node.deref_$external_fun' : (_this, ) => _this.deref(),
|
|
414
|
+
'androidx.compose.ui.platform.isVibrationSupported' : () =>
|
|
415
|
+
typeof window !== 'undefined' &&
|
|
416
|
+
window.navigator != null &&
|
|
417
|
+
typeof window.navigator.vibrate === 'function'
|
|
418
|
+
,
|
|
419
|
+
'androidx.compose.ui.platform.vibrate' : (pattern) => { window.navigator.vibrate(pattern) },
|
|
330
420
|
'androidx.compose.ui.platform.getW3CClipboard' : () => window.navigator.clipboard,
|
|
331
421
|
'androidx.compose.ui.platform.isSecureContext' : () => window.isSecureContext === true,
|
|
332
422
|
'androidx.compose.ui.platform.isFullClipboardApiSupported' : () => Boolean(
|
|
@@ -339,6 +429,11 @@ const js_code = {
|
|
|
339
429
|
'androidx.compose.ui.platform.isFallbackWriteTextApiAvailable' : () => Boolean(window.navigator.clipboard && window.navigator.clipboard.writeText),
|
|
340
430
|
'androidx.compose.ui.platform.W3CTemporaryClipboard_$external_class_instanceof' : (x) => x instanceof Clipboard,
|
|
341
431
|
'androidx.compose.ui.platform.W3CTemporaryClipboard_$external_class_get' : () => Clipboard,
|
|
432
|
+
'androidx.compose.ui.platform.isFullWakeLockApiSupported' : () => Boolean(
|
|
433
|
+
window.navigator.wakeLock &&
|
|
434
|
+
typeof(WakeLockSentinel) !== 'undefined'
|
|
435
|
+
)
|
|
436
|
+
,
|
|
342
437
|
'androidx.compose.ui.platform.accessibility.removeAllChildrenOf' : (element) => { element.replaceChildren() },
|
|
343
438
|
'androidx.compose.ui.platform.accessibility.setA11YAriaRole' : (element, ariaRoleId) => {
|
|
344
439
|
var roleValue = "";
|
|
@@ -392,6 +487,8 @@ const js_code = {
|
|
|
392
487
|
element.style.height = "" + height + "px";
|
|
393
488
|
},
|
|
394
489
|
'androidx.compose.ui.window.documentIsVisible' : () => document.visibilityState === 'visible',
|
|
490
|
+
'androidx.compose.ui.window.isTouchEvent' : (event) => event.pointerType === 'touch',
|
|
491
|
+
'androidx.compose.ui.window.releasePointerCapture' : (target, pointerId) => { try { target.releasePointerCapture(pointerId) } catch (e) {} },
|
|
395
492
|
'androidx.compose.ui.window.isMouseEvent' : (event) => event.pointerType === 'mouse',
|
|
396
493
|
'androidx.compose.ui.window.setPointerCapture' : (target, pointerId) => { try { target.setPointerCapture(pointerId) } catch (e) {} },
|
|
397
494
|
'androidx.compose.ui.window.getCoalescedEvents' : (pointerEvent) => pointerEvent.getCoalescedEvents ? pointerEvent.getCoalescedEvents() : [],
|
|
@@ -400,7 +497,6 @@ const js_code = {
|
|
|
400
497
|
case 'pointerdown':
|
|
401
498
|
return 1; // PointerEventType.Press
|
|
402
499
|
case 'pointerup':
|
|
403
|
-
case 'pointercancel':
|
|
404
500
|
return 2; // PointerEventType.Release
|
|
405
501
|
case 'pointermove':
|
|
406
502
|
return 3; // PointerEventType.Move
|
|
@@ -434,6 +530,92 @@ const js_code = {
|
|
|
434
530
|
'kotlinx.datetime.internal.getExceptionMessage' : (jsException) => jsException.message,
|
|
435
531
|
'kotlinx.datetime.internal.getZones' : (rulesProvider) => rulesProvider.getTzdbData().zones,
|
|
436
532
|
'kotlinx.datetime.internal.getLinks' : (rulesProvider) => rulesProvider.getTzdbData().links,
|
|
533
|
+
'androidx.compose.foundation.gestures.legacyWheelDeltaX' : (event) => (event.wheelDeltaX == null) ? NaN : event.wheelDeltaX,
|
|
534
|
+
'androidx.compose.foundation.gestures.legacyWheelDeltaY' : (event) => (event.wheelDeltaY == null) ? NaN : event.wheelDeltaY,
|
|
535
|
+
'coil3.decode.blob' : (code) => new Blob([code], { type: 'application/javascript' }),
|
|
536
|
+
'coil3.decode.WebWorkerRequest' : (id, buffer, width, height) => ({ id: id, data: buffer, w: width, h: height }),
|
|
537
|
+
'coil3.decode.id_$external_prop_getter' : (_this) => _this.id,
|
|
538
|
+
'coil3.decode.kind_$external_prop_getter' : (_this) => _this.kind,
|
|
539
|
+
'coil3.decode.buffer_$external_prop_getter' : (_this) => _this.buffer,
|
|
540
|
+
'coil3.decode.message_$external_prop_getter' : (_this) => _this.message,
|
|
541
|
+
'coil3.fetch.fetch' : (url) => fetch(url),
|
|
542
|
+
'coil3.util.WeakRef_$external_fun' : (p0) => new WeakRef(p0),
|
|
543
|
+
'coil3.util.deref_$external_fun' : (_this, ) => _this.deref(),
|
|
544
|
+
'kotlinx.io.node.sep_$external_prop_getter' : (_this) => _this.sep,
|
|
545
|
+
'kotlinx.io.getPlatformName' :
|
|
546
|
+
() => (typeof navigator !== "undefined" && navigator.platform) || "unknown"
|
|
547
|
+
,
|
|
548
|
+
'kotlinx.io.node.loadBuffer' : ((module) => () => module)(((typeof process !== 'undefined') && (process.release.name === 'node')) ? await import(/* webpackIgnore: true */'node:buffer') : null),
|
|
549
|
+
'kotlinx.io.node.loadOs' : ((module) => () => module)(((typeof process !== 'undefined') && (process.release.name === 'node')) ? await import(/* webpackIgnore: true */'node:os') : null),
|
|
550
|
+
'kotlinx.io.node.loadPath' : ((module) => () => module)(((typeof process !== 'undefined') && (process.release.name === 'node')) ? await import(/* webpackIgnore: true */'node:path') : null),
|
|
551
|
+
'kotlinx.io.node.loadFs' : ((module) => () => module)(((typeof process !== 'undefined') && (process.release.name === 'node')) ? await import(/* webpackIgnore: true */'node:fs') : null),
|
|
552
|
+
'io.ktor.utils.io.js.decode' : (decoder, buffer) => { try { return decoder.decode(buffer) } catch(e) { return null } },
|
|
553
|
+
'io.ktor.utils.io.js.tryCreateTextDecoder' : (encoding, fatal) => { try { return new TextDecoder(encoding, { fatal: fatal }) } catch(e) { return null } },
|
|
554
|
+
'io.ktor.utils.io.charsets.toJsArrayImpl' : (x) => new Int8Array(x),
|
|
555
|
+
'io.ktor.util.date.Date_$external_fun' : () => new Date(),
|
|
556
|
+
'io.ktor.util.date.Date_$external_fun_1' : (p0) => new Date(p0),
|
|
557
|
+
'io.ktor.util.date.getTime_$external_fun' : (_this, ) => _this.getTime(),
|
|
558
|
+
'io.ktor.util.date.getUTCDate_$external_fun' : (_this, ) => _this.getUTCDate(),
|
|
559
|
+
'io.ktor.util.date.getUTCDay_$external_fun' : (_this, ) => _this.getUTCDay(),
|
|
560
|
+
'io.ktor.util.date.getUTCFullYear_$external_fun' : (_this, ) => _this.getUTCFullYear(),
|
|
561
|
+
'io.ktor.util.date.getUTCHours_$external_fun' : (_this, ) => _this.getUTCHours(),
|
|
562
|
+
'io.ktor.util.date.getUTCMinutes_$external_fun' : (_this, ) => _this.getUTCMinutes(),
|
|
563
|
+
'io.ktor.util.date.getUTCMonth_$external_fun' : (_this, ) => _this.getUTCMonth(),
|
|
564
|
+
'io.ktor.util.date.getUTCSeconds_$external_fun' : (_this, ) => _this.getUTCSeconds(),
|
|
565
|
+
'io.ktor.util.hasNodeApi' : () =>
|
|
566
|
+
(typeof process !== 'undefined'
|
|
567
|
+
&& process.versions != null
|
|
568
|
+
&& process.versions.node != null) ||
|
|
569
|
+
(typeof window !== 'undefined'
|
|
570
|
+
&& typeof window.process !== 'undefined'
|
|
571
|
+
&& window.process.versions != null
|
|
572
|
+
&& window.process.versions.node != null)
|
|
573
|
+
,
|
|
574
|
+
'io.ktor.util.logging.getKtorLogLevel' : () => process ? process.env.KTOR_LOG_LEVEL : null,
|
|
575
|
+
'io.ktor.util.logging.warn_$external_fun' : (_this, p0) => _this.warn(p0),
|
|
576
|
+
'io.ktor.util.logging.debug_$external_fun' : (_this, p0) => _this.debug(p0),
|
|
577
|
+
'io.ktor.util.logging.console_$external_prop_getter' : () => console,
|
|
578
|
+
'io.ktor.http.locationOrigin' : () => function() {
|
|
579
|
+
var tmpLocation = null
|
|
580
|
+
if (typeof window !== 'undefined') {
|
|
581
|
+
tmpLocation = window.location
|
|
582
|
+
} else if (typeof self !== 'undefined') {
|
|
583
|
+
tmpLocation = self.location
|
|
584
|
+
}
|
|
585
|
+
var origin = ""
|
|
586
|
+
if (tmpLocation) {
|
|
587
|
+
origin = tmpLocation.origin
|
|
588
|
+
}
|
|
589
|
+
return origin && origin != "null" ? origin : "http://localhost"
|
|
590
|
+
}(),
|
|
591
|
+
'io.ktor.client.engine.js.createBrowserWebSocket' : (urlString_capturingHack, protocols) => new WebSocket(urlString_capturingHack, protocols),
|
|
592
|
+
'io.ktor.client.engine.js.createWebSocketNodeJs' : (socketCtor, urlString_capturingHack, headers_capturingHack, protocols) => new socketCtor(urlString_capturingHack, protocols, { headers: headers_capturingHack }),
|
|
593
|
+
'io.ktor.client.engine.js.getKeys' : (headers) => Array.from(headers.keys()),
|
|
594
|
+
'io.ktor.client.engine.js.compatibility.abortControllerCtorBrowser' : () => AbortController,
|
|
595
|
+
'io.ktor.client.fetch.body_$external_prop_setter' : (_this, v) => _this.body = v,
|
|
596
|
+
'io.ktor.client.fetch.headers_$external_prop_setter' : (_this, v) => _this.headers = v,
|
|
597
|
+
'io.ktor.client.fetch.method_$external_prop_setter' : (_this, v) => _this.method = v,
|
|
598
|
+
'io.ktor.client.fetch.redirect_$external_prop_setter' : (_this, v) => _this.redirect = v,
|
|
599
|
+
'io.ktor.client.fetch.signal_$external_prop_setter' : (_this, v) => _this.signal = v,
|
|
600
|
+
'io.ktor.client.fetch.fetch_$external_fun' : (p0, p1, isDefault0) => fetch(p0, isDefault0 ? undefined : p1, ),
|
|
601
|
+
'io.ktor.client.fetch.signal_$external_prop_getter' : (_this) => _this.signal,
|
|
602
|
+
'io.ktor.client.fetch.abort_$external_fun' : (_this, ) => _this.abort(),
|
|
603
|
+
'io.ktor.client.fetch.getReader_$external_fun' : (_this, ) => _this.getReader(),
|
|
604
|
+
'io.ktor.client.fetch.cancel_$external_fun' : (_this, p0, isDefault0) => _this.cancel(isDefault0 ? undefined : p0, ),
|
|
605
|
+
'io.ktor.client.fetch.read_$external_fun' : (_this, ) => _this.read(),
|
|
606
|
+
'io.ktor.client.fetch.done_$external_prop_getter' : (_this) => _this.done,
|
|
607
|
+
'io.ktor.client.fetch.value_$external_prop_getter' : (_this) => _this.value,
|
|
608
|
+
'io.ktor.client.plugins.websocket.tryGetEventDataAsString' : (data) => typeof(data) === 'string' ? data : null,
|
|
609
|
+
'io.ktor.client.plugins.websocket.tryGetEventDataAsArrayBuffer' : (data) => data instanceof ArrayBuffer ? data : null,
|
|
610
|
+
'io.ktor.client.utils.makeJsObject' : () => { return {}; },
|
|
611
|
+
'io.ktor.client.utils.makeImport' : (name) => import(name),
|
|
612
|
+
'io.ktor.client.utils.makeJsCall' : (func, arg) => func.apply(null, arg),
|
|
613
|
+
'io.ktor.client.utils.jsObjectAssign' : () => Object.assign,
|
|
614
|
+
'io.ktor.client.utils.makeJsNew' : (ctor) => new ctor(),
|
|
615
|
+
'io.ktor.client.utils.getObjectField' : (obj, name) => obj[name],
|
|
616
|
+
'io.ktor.client.utils.setObjectField' : (obj, name, value) => obj[name]=value,
|
|
617
|
+
'io.ktor.client.utils.eventAsString' : (event) => JSON.stringify(event, ['message', 'target', 'type', 'isTrusted']),
|
|
618
|
+
'io.ktor.client.utils.toJsArrayImpl' : (x) => new Uint8Array(x),
|
|
437
619
|
'ee.schimke.composeai.rcplayer.wasm.fetchAsBase64' : (url) => fetch(url).then(function (response) {
|
|
438
620
|
if (!response.ok) throw new Error('HTTP ' + response.status);
|
|
439
621
|
return response.arrayBuffer();
|
package/dist/rcPlayer.wasm
CHANGED
|
Binary file
|