@arcware-cloud/pixelstreaming-websdk 1.3.11 → 1.3.13
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/README.md +1 -1
- package/index.cjs.js +377 -132
- package/index.esm.js +392 -145
- package/index.umd.js +377 -132
- package/package.json +1 -1
- package/types/lib/ArcwareConfig.d.ts +1 -1
- package/types/lib/ArcwarePixelStreaming.d.ts +2 -0
- package/types/lib/domain/ArcwareSettingsSchema.d.ts +39 -3
- package/types/lib/features/common.d.ts +0 -2
- package/types/lib/features/whiteLabelling.d.ts +4 -0
- package/types/lib/styles/ArcwarePixelStreamingApplicationStyles.d.ts +65 -0
- package/types/lib/ui/ArcwareLogoLoader/index.d.ts +8 -0
- package/types/shared/lib/Types/ZWhiteLabel.d.ts +24 -0
- package/types/shared/lib/index.d.ts +1 -0
package/index.umd.js
CHANGED
|
@@ -23367,6 +23367,7 @@ const zod_1 = __webpack_require__(8754);
|
|
|
23367
23367
|
const lib_pixelstreamingfrontend_ue5_5_1 = __webpack_require__(693);
|
|
23368
23368
|
const Session_1 = __webpack_require__(2469);
|
|
23369
23369
|
const ArcwareSettingsSchema_1 = __webpack_require__(5602);
|
|
23370
|
+
const whiteLabelling_1 = __webpack_require__(3545);
|
|
23370
23371
|
/** Default arcware signalling endpoint. */
|
|
23371
23372
|
exports.DefaultUrl = `wss://signalling-client.ragnarok.arcware.cloud`;
|
|
23372
23373
|
// The below Logger overrides can likely be removed as PSInfra 5.5 logger supports setting log verbosity
|
|
@@ -23409,7 +23410,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
|
|
|
23409
23410
|
};
|
|
23410
23411
|
}
|
|
23411
23412
|
constructor(config) {
|
|
23412
|
-
var _a, _b;
|
|
23413
|
+
var _a, _b, _c;
|
|
23413
23414
|
const dfToken = new URL(window.location.href).search
|
|
23414
23415
|
.slice(1)
|
|
23415
23416
|
.split("&")
|
|
@@ -23430,7 +23431,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
|
|
|
23430
23431
|
if (!config.initialSettings.ss)
|
|
23431
23432
|
config.initialSettings.ss = exports.DefaultUrl;
|
|
23432
23433
|
super(config);
|
|
23433
|
-
this.VERSION = "1.3.
|
|
23434
|
+
this.VERSION = "1.3.13";
|
|
23434
23435
|
this.settings = settings;
|
|
23435
23436
|
this.session = new Session_1.Session();
|
|
23436
23437
|
this._initialSettings = config.initialSettings;
|
|
@@ -23439,6 +23440,16 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
|
|
|
23439
23440
|
// IMPORTANT NOTE: The feature BrowserSendOffer is no longer supported in PSInfra 5.5.
|
|
23440
23441
|
// The offer is now expected to come from UE. Ensure that your signalling server supports this behaviour.
|
|
23441
23442
|
//this.setFlagEnabled(Flags.BrowserSendOffer, true);
|
|
23443
|
+
if (this.useUrlParams) {
|
|
23444
|
+
// Get the query string from URL
|
|
23445
|
+
const qs = new URLSearchParams(window.location.search);
|
|
23446
|
+
// Retrieve image loading from there
|
|
23447
|
+
const wlParsed = this.useUrlParams ? (0, whiteLabelling_1.readWhiteLabelFromQuery)(qs) : undefined; // respect useUrlParams
|
|
23448
|
+
if (wlParsed) {
|
|
23449
|
+
this.settings.whiteLabelling = Object.assign(Object.assign({}, ((_c = this.settings.whiteLabelling) !== null && _c !== void 0 ? _c : {})), wlParsed);
|
|
23450
|
+
}
|
|
23451
|
+
this.settings.infoButton = qs.has("i") || qs.has("info");
|
|
23452
|
+
}
|
|
23442
23453
|
}
|
|
23443
23454
|
/** Setup connection string. */
|
|
23444
23455
|
get urlFlags() {
|
|
@@ -23546,7 +23557,14 @@ function ArcwareInit({ shareId, projectId }, configuration, forceRefresh = false
|
|
|
23546
23557
|
useUrlParams: (configuration === null || configuration === void 0 ? void 0 : configuration.useUrlParams) === true,
|
|
23547
23558
|
initialSettings: Object.assign({ ss: ArcwareConfig_1.DefaultUrl, AutoConnect: false, StartVideoMuted: true, AutoPlayVideo: true, KeyboardInput: true, MouseInput: true, GamepadInput: true, TouchInput: true, XRControllerInput: true, UseMic: true, SuppressBrowserKeys: true, FakeMouseWithTouches: false, ForceMonoAudio: false, HoveringMouse: true }, configuration === null || configuration === void 0 ? void 0 : configuration.initialSettings),
|
|
23548
23559
|
settings: Object.assign({ shareId,
|
|
23549
|
-
projectId, fullscreenButton: true, audioButton: true, stopButton: false, infoButton: false, micButton: false, settingsButton: false, connectionStrengthIcon: false, connectionIdentifierLoggingDisabled: undefined, errorHandler: undefined, loveLetterHandler: undefined, loveLetterLogging: undefined, queueHandler: undefined, sessionIdHandler: undefined, startHeight: undefined, startWidth: undefined, orientationZoom: undefined
|
|
23560
|
+
projectId, fullscreenButton: true, audioButton: true, stopButton: false, infoButton: false, micButton: false, settingsButton: false, connectionStrengthIcon: false, connectionIdentifierLoggingDisabled: undefined, errorHandler: undefined, loveLetterHandler: undefined, loveLetterLogging: undefined, queueHandler: undefined, sessionIdHandler: undefined, startHeight: undefined, startWidth: undefined, orientationZoom: undefined, whiteLabelling: {
|
|
23561
|
+
splashScreenUrl: undefined,
|
|
23562
|
+
loadingIconFadeMs: undefined,
|
|
23563
|
+
loadingIconUrl: undefined,
|
|
23564
|
+
splashScreenMode: undefined,
|
|
23565
|
+
splashScreenPosition: undefined,
|
|
23566
|
+
splashScreenBgColor: undefined
|
|
23567
|
+
} }, configuration === null || configuration === void 0 ? void 0 : configuration.settings)
|
|
23550
23568
|
});
|
|
23551
23569
|
const PixelStreaming = new ArcwarePixelStreaming_1.ArcwarePixelStreaming(Config);
|
|
23552
23570
|
const Application = new ArcwareApplication_1.ArcwareApplication({ stream: PixelStreaming });
|
|
@@ -23895,6 +23913,7 @@ class ArcwarePixelStreaming extends lib_pixelstreamingfrontend_ue5_5_1.PixelStre
|
|
|
23895
23913
|
});
|
|
23896
23914
|
}
|
|
23897
23915
|
}
|
|
23916
|
+
this.applyBrandingFromSettings();
|
|
23898
23917
|
this.handleMouseLock();
|
|
23899
23918
|
this.injectCustomUI();
|
|
23900
23919
|
}
|
|
@@ -24139,23 +24158,15 @@ class ArcwarePixelStreaming extends lib_pixelstreamingfrontend_ue5_5_1.PixelStre
|
|
|
24139
24158
|
limitedHeight = maxHeight;
|
|
24140
24159
|
limitedWidth = maxHeight * aspectRatio;
|
|
24141
24160
|
}
|
|
24142
|
-
// width: clientWidth * Math.max(window.devicePixelRatio, 1) - for retina device, 1 is min upscale factor
|
|
24143
|
-
const newRes = (0, common_1.capScale)({
|
|
24144
|
-
width: browserWidth * Math.max(window.devicePixelRatio, 1.25),
|
|
24145
|
-
height: browserHeight * Math.max(window.devicePixelRatio, 1.25),
|
|
24146
|
-
}, {
|
|
24147
|
-
width: maxWidth,
|
|
24148
|
-
height: maxHeight,
|
|
24149
|
-
});
|
|
24150
24161
|
// Zoom level for orientation change if provided
|
|
24151
24162
|
if (orientationZoom) {
|
|
24152
|
-
if (
|
|
24153
|
-
if (orientationZoom.hasOwnProperty(
|
|
24163
|
+
if (browserWidth < browserHeight) {
|
|
24164
|
+
if (orientationZoom.hasOwnProperty("portrait"))
|
|
24154
24165
|
(_a = this === null || this === void 0 ? void 0 : this.webRtcController) === null || _a === void 0 ? void 0 : _a.emitUIInteraction({
|
|
24155
24166
|
zoom: orientationZoom.portrait
|
|
24156
24167
|
});
|
|
24157
24168
|
}
|
|
24158
|
-
else if (orientationZoom.hasOwnProperty(
|
|
24169
|
+
else if (orientationZoom.hasOwnProperty("landscape")) {
|
|
24159
24170
|
(_b = this === null || this === void 0 ? void 0 : this.webRtcController) === null || _b === void 0 ? void 0 : _b.emitUIInteraction({
|
|
24160
24171
|
zoom: orientationZoom.landscape
|
|
24161
24172
|
});
|
|
@@ -24225,26 +24236,27 @@ class ArcwarePixelStreaming extends lib_pixelstreamingfrontend_ue5_5_1.PixelStre
|
|
|
24225
24236
|
initLoveLettersContainer() {
|
|
24226
24237
|
var _a;
|
|
24227
24238
|
const logoLoader = new ArcwareLogoLoader_1.ArcwareLogoLoader();
|
|
24239
|
+
this.logoLoader = logoLoader;
|
|
24228
24240
|
if (!this.loveLettersContainer) {
|
|
24229
|
-
const loveLettersContainer = document
|
|
24230
|
-
|
|
24241
|
+
const loveLettersContainer = document.createElement("div");
|
|
24242
|
+
this.loveLettersContainer = loveLettersContainer; // keep the ref
|
|
24243
|
+
const { videoPlayer } = this.webRtcController;
|
|
24231
24244
|
const videoElementParent = videoPlayer.getVideoParentElement();
|
|
24232
|
-
|
|
24233
|
-
videoElementParent
|
|
24234
|
-
const lettersBlock = document
|
|
24245
|
+
loveLettersContainer.classList.add("love-letters-box-root");
|
|
24246
|
+
videoElementParent.appendChild(loveLettersContainer);
|
|
24247
|
+
const lettersBlock = document.createElement("div");
|
|
24235
24248
|
lettersBlock.id = "letters-block";
|
|
24236
|
-
const lettersWrapper = document
|
|
24249
|
+
const lettersWrapper = document.createElement("div");
|
|
24237
24250
|
lettersWrapper.id = "letters-wrapper";
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
lettersBlock
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
}
|
|
24251
|
+
// append your existing loader root (with SVG) into the lettersBlock
|
|
24252
|
+
const loaderRoot = logoLoader.arcwareLogoLoader; // your existing getter
|
|
24253
|
+
lettersBlock.appendChild(loaderRoot);
|
|
24254
|
+
// ensure the loader knows its host
|
|
24255
|
+
(_a = logoLoader.setHostElement) === null || _a === void 0 ? void 0 : _a.call(logoLoader, loaderRoot);
|
|
24256
|
+
loveLettersContainer.appendChild(lettersBlock);
|
|
24257
|
+
lettersBlock.appendChild(lettersWrapper);
|
|
24258
|
+
// apply current (local) settings immediately
|
|
24259
|
+
this.applyBrandingFromSettings();
|
|
24248
24260
|
}
|
|
24249
24261
|
}
|
|
24250
24262
|
pushLetter(letter) {
|
|
@@ -24350,8 +24362,7 @@ class ArcwarePixelStreaming extends lib_pixelstreamingfrontend_ue5_5_1.PixelStre
|
|
|
24350
24362
|
}
|
|
24351
24363
|
}
|
|
24352
24364
|
injectCustomUI() {
|
|
24353
|
-
(0, common_1.waitForElement)(
|
|
24354
|
-
.then(el => {
|
|
24365
|
+
(0, common_1.waitForElement)("#stream-ui").then((el) => {
|
|
24355
24366
|
var _a;
|
|
24356
24367
|
const videoElementParent = (_a = this === null || this === void 0 ? void 0 : this.videoElementParent) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
24357
24368
|
if (videoElementParent) {
|
|
@@ -24359,6 +24370,61 @@ class ArcwarePixelStreaming extends lib_pixelstreamingfrontend_ue5_5_1.PixelStre
|
|
|
24359
24370
|
}
|
|
24360
24371
|
});
|
|
24361
24372
|
}
|
|
24373
|
+
applyBrandingFromSettings() {
|
|
24374
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24375
|
+
const cfg = ((_b = (_a = this === null || this === void 0 ? void 0 : this.config) === null || _a === void 0 ? void 0 : _a.settings.whiteLabelling) !== null && _b !== void 0 ? _b : {});
|
|
24376
|
+
// Loader image + fade
|
|
24377
|
+
try {
|
|
24378
|
+
if (this.logoLoader) {
|
|
24379
|
+
(_d = (_c = this.logoLoader).setImage) === null || _d === void 0 ? void 0 : _d.call(_c, cfg.loadingIconUrl);
|
|
24380
|
+
(_f = (_e = this.logoLoader).setFade) === null || _f === void 0 ? void 0 : _f.call(_e, cfg.loadingIconFadeMs);
|
|
24381
|
+
}
|
|
24382
|
+
}
|
|
24383
|
+
catch (_p) { }
|
|
24384
|
+
// Splash on loveLettersContainer (preferred), fallback to player parent
|
|
24385
|
+
try {
|
|
24386
|
+
const el = (_m = (_g = this.loveLettersContainer) !== null && _g !== void 0 ? _g : (_l = (_k = (_j = (_h = this.webRtcController) === null || _h === void 0 ? void 0 : _h.videoPlayer) === null || _j === void 0 ? void 0 : _j.getVideoParentElement) === null || _k === void 0 ? void 0 : _k.call(_j)) === null || _l === void 0 ? void 0 : _l.parentElement) !== null && _m !== void 0 ? _m : null;
|
|
24387
|
+
if (!el)
|
|
24388
|
+
return;
|
|
24389
|
+
// Clear previous inline choices
|
|
24390
|
+
const s = el.style;
|
|
24391
|
+
s.removeProperty("background-image");
|
|
24392
|
+
s.removeProperty("background-size");
|
|
24393
|
+
s.removeProperty("background-repeat");
|
|
24394
|
+
s.removeProperty("background-position");
|
|
24395
|
+
s.removeProperty("background-color");
|
|
24396
|
+
el.classList.remove("aw-splash");
|
|
24397
|
+
if (cfg.splashScreenUrl) {
|
|
24398
|
+
el.classList.add("aw-splash"); // keeps your global defaults
|
|
24399
|
+
// Compute mode (default to 'contain' if not provided)
|
|
24400
|
+
const mode = ((_o = cfg.splashScreenMode) !== null && _o !== void 0 ? _o : "contain");
|
|
24401
|
+
// Apply sizing/repeat per mode
|
|
24402
|
+
switch (mode) {
|
|
24403
|
+
case "contain":
|
|
24404
|
+
s.backgroundSize = "contain";
|
|
24405
|
+
s.backgroundRepeat = "no-repeat";
|
|
24406
|
+
break;
|
|
24407
|
+
case "cover":
|
|
24408
|
+
s.backgroundSize = "cover";
|
|
24409
|
+
s.backgroundRepeat = "no-repeat";
|
|
24410
|
+
break;
|
|
24411
|
+
case "stretch":
|
|
24412
|
+
s.backgroundSize = "100% 100%";
|
|
24413
|
+
s.backgroundRepeat = "no-repeat";
|
|
24414
|
+
break;
|
|
24415
|
+
case "repeat":
|
|
24416
|
+
s.backgroundSize = "auto"; // keep intrinsic px
|
|
24417
|
+
s.backgroundRepeat = "repeat";
|
|
24418
|
+
break;
|
|
24419
|
+
}
|
|
24420
|
+
// Position & color (optional)
|
|
24421
|
+
s.backgroundPosition = cfg.splashScreenPosition || "center center";
|
|
24422
|
+
s.backgroundColor = cfg.splashScreenBgColor || "var(--color0)";
|
|
24423
|
+
s.backgroundImage = `url("${cfg.splashScreenUrl}")`;
|
|
24424
|
+
}
|
|
24425
|
+
}
|
|
24426
|
+
catch (_q) { }
|
|
24427
|
+
}
|
|
24362
24428
|
}
|
|
24363
24429
|
exports.ArcwarePixelStreaming = ArcwarePixelStreaming;
|
|
24364
24430
|
|
|
@@ -24423,10 +24489,15 @@ exports.ArcwareSettingsSchema = zod_1.z.object({
|
|
|
24423
24489
|
/** Height with which instance should be started */
|
|
24424
24490
|
startHeight: zod_1.z.number().optional(),
|
|
24425
24491
|
/** Zoom functionality */
|
|
24426
|
-
orientationZoom: zod_1.z
|
|
24492
|
+
orientationZoom: zod_1.z
|
|
24493
|
+
.object({
|
|
24427
24494
|
landscape: zod_1.z.number(),
|
|
24428
|
-
portrait: zod_1.z.number()
|
|
24429
|
-
})
|
|
24495
|
+
portrait: zod_1.z.number()
|
|
24496
|
+
})
|
|
24497
|
+
.strict()
|
|
24498
|
+
.optional(),
|
|
24499
|
+
/** Loader customization */
|
|
24500
|
+
whiteLabelling: shared_pixelstreaming_websdk_1.ZWhiteLabel.optional()
|
|
24430
24501
|
});
|
|
24431
24502
|
|
|
24432
24503
|
|
|
@@ -25224,7 +25295,7 @@ exports.DiagnosticsCollector = DiagnosticsCollector;
|
|
|
25224
25295
|
|
|
25225
25296
|
|
|
25226
25297
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25227
|
-
exports.
|
|
25298
|
+
exports.waitForElement = exports.normalizeType = exports.randomHash = exports.extFromMime = exports.sanitizeFilename = exports.truncateByBytes = exports.parseUnknownToObject = void 0;
|
|
25228
25299
|
/** Conservative normalizer: accepts object, strict JSON string, or JSON-ish like {foo: "bar"} */
|
|
25229
25300
|
function parseUnknownToObject(input, opts = { allowJsonish: true }) {
|
|
25230
25301
|
if (input && typeof input === "object")
|
|
@@ -25343,27 +25414,47 @@ function waitForElement(selector, { root = document, timeout = 3000 } = {}) {
|
|
|
25343
25414
|
});
|
|
25344
25415
|
}
|
|
25345
25416
|
exports.waitForElement = waitForElement;
|
|
25346
|
-
|
|
25347
|
-
|
|
25348
|
-
|
|
25349
|
-
|
|
25350
|
-
|
|
25351
|
-
|
|
25352
|
-
|
|
25353
|
-
|
|
25354
|
-
|
|
25355
|
-
|
|
25356
|
-
|
|
25357
|
-
|
|
25358
|
-
|
|
25359
|
-
|
|
25360
|
-
|
|
25361
|
-
|
|
25362
|
-
|
|
25363
|
-
|
|
25364
|
-
|
|
25417
|
+
|
|
25418
|
+
|
|
25419
|
+
/***/ }),
|
|
25420
|
+
|
|
25421
|
+
/***/ 3545:
|
|
25422
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
25423
|
+
|
|
25424
|
+
|
|
25425
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25426
|
+
exports.readWhiteLabelFromQuery = void 0;
|
|
25427
|
+
const shared_pixelstreaming_websdk_1 = __webpack_require__(7910);
|
|
25428
|
+
function decodeBase64OrBase64Url(raw) {
|
|
25429
|
+
const normalized = raw.replace(/-/g, "+").replace(/_/g, "/");
|
|
25430
|
+
const padded = normalized + "===".slice((normalized.length + 3) % 4);
|
|
25431
|
+
if (typeof atob === "function")
|
|
25432
|
+
return atob(padded);
|
|
25433
|
+
// @ts-ignore (Node fallback if this runs server-side)
|
|
25434
|
+
return Buffer.from(padded, "base64").toString("utf-8");
|
|
25435
|
+
}
|
|
25436
|
+
/** Parse ?wl=... (or ?whitelabel=...) → validated partial settings */
|
|
25437
|
+
function readWhiteLabelFromQuery(qs) {
|
|
25438
|
+
var _a;
|
|
25439
|
+
try {
|
|
25440
|
+
const raw = (_a = qs.get("wl")) !== null && _a !== void 0 ? _a : qs.get("whitelabel");
|
|
25441
|
+
if (!raw)
|
|
25442
|
+
return undefined;
|
|
25443
|
+
const jsonStr = decodeBase64OrBase64Url(raw);
|
|
25444
|
+
const obj = JSON.parse(jsonStr);
|
|
25445
|
+
const parsed = shared_pixelstreaming_websdk_1.ZWhiteLabel.safeParse(obj);
|
|
25446
|
+
if (!parsed.success) {
|
|
25447
|
+
//console.warn("[ArcwareConfig] Invalid wl payload:", parsed.error?.flatten?.());
|
|
25448
|
+
return undefined;
|
|
25449
|
+
}
|
|
25450
|
+
return parsed.data;
|
|
25451
|
+
}
|
|
25452
|
+
catch (e) {
|
|
25453
|
+
//console.warn("[ArcwareConfig] Failed to parse wl payload:", e);
|
|
25454
|
+
return undefined;
|
|
25455
|
+
}
|
|
25365
25456
|
}
|
|
25366
|
-
exports.
|
|
25457
|
+
exports.readWhiteLabelFromQuery = readWhiteLabelFromQuery;
|
|
25367
25458
|
|
|
25368
25459
|
|
|
25369
25460
|
/***/ }),
|
|
@@ -25406,16 +25497,27 @@ exports.ArcwareStyles = {
|
|
|
25406
25497
|
"--color11": "rgba(65,0,139,1) !important",
|
|
25407
25498
|
"--color12": "#222224 !important",
|
|
25408
25499
|
"--color13": "#f0f0f2 !important",
|
|
25409
|
-
"--colorBoxShadow": "rgba(0, 0, 0, 0.20) !important"
|
|
25500
|
+
"--colorBoxShadow": "rgba(0, 0, 0, 0.20) !important"
|
|
25410
25501
|
},
|
|
25502
|
+
".aw-splash": {
|
|
25503
|
+
backgroundRepeat: "no-repeat",
|
|
25504
|
+
backgroundPosition: "center center",
|
|
25505
|
+
backgroundSize: "contain",
|
|
25506
|
+
backgroundColor: "var(--color0)"
|
|
25507
|
+
},
|
|
25508
|
+
"@keyframes aw-loader-fade": {
|
|
25509
|
+
from: { opacity: 0.25 },
|
|
25510
|
+
to: { opacity: 1 }
|
|
25511
|
+
},
|
|
25512
|
+
/* ---------- /NEW ---------- */
|
|
25411
25513
|
"#playerUI *": {
|
|
25412
|
-
fontFamily: "system-ui"
|
|
25514
|
+
fontFamily: "system-ui"
|
|
25413
25515
|
},
|
|
25414
25516
|
"#shared-stream-container": {
|
|
25415
|
-
boxSizing: "border-box"
|
|
25517
|
+
boxSizing: "border-box"
|
|
25416
25518
|
},
|
|
25417
25519
|
"#shared-stream-container::-webkit-scrollbar": {
|
|
25418
|
-
width: "10px"
|
|
25520
|
+
width: "10px"
|
|
25419
25521
|
},
|
|
25420
25522
|
"#shared-stream-container::-webkit-scrollbar-track": {
|
|
25421
25523
|
background: "var(--color13)",
|
|
@@ -25424,10 +25526,10 @@ exports.ArcwareStyles = {
|
|
|
25424
25526
|
borderTop: "20px solid var(--color0)",
|
|
25425
25527
|
borderRight: "5px solid var(--color0)",
|
|
25426
25528
|
borderBottom: "20px solid var(--color0)",
|
|
25427
|
-
borderLeft: "5px solid var(--color0)"
|
|
25529
|
+
borderLeft: "5px solid var(--color0)"
|
|
25428
25530
|
},
|
|
25429
25531
|
"#shared-stream-container::-webkit-scrollbar-track-piece": {
|
|
25430
|
-
background: "transparent"
|
|
25532
|
+
background: "transparent"
|
|
25431
25533
|
},
|
|
25432
25534
|
"#shared-stream-container::-webkit-scrollbar-thumb": {
|
|
25433
25535
|
background: "var(--color13)",
|
|
@@ -25435,11 +25537,11 @@ exports.ArcwareStyles = {
|
|
|
25435
25537
|
borderRight: "2px solid var(--color0)",
|
|
25436
25538
|
borderLeft: "2px solid var(--color0)",
|
|
25437
25539
|
transition: "all ease-in-out 0.3s",
|
|
25438
|
-
borderRadius: "7px"
|
|
25540
|
+
borderRadius: "7px"
|
|
25439
25541
|
},
|
|
25440
25542
|
"#shared-stream-container::-webkit-scrollbar-thumb:hover": {
|
|
25441
25543
|
transition: "all ease-in-out 0.3s",
|
|
25442
|
-
background: "var(--color3)"
|
|
25544
|
+
background: "var(--color3)"
|
|
25443
25545
|
},
|
|
25444
25546
|
"#playerUI, #videoElementParent": {
|
|
25445
25547
|
position: "absolute",
|
|
@@ -25453,13 +25555,13 @@ exports.ArcwareStyles = {
|
|
|
25453
25555
|
left: 0,
|
|
25454
25556
|
margin: "auto",
|
|
25455
25557
|
boxSizing: "border-box",
|
|
25456
|
-
pointerEvents: "all"
|
|
25558
|
+
pointerEvents: "all"
|
|
25457
25559
|
},
|
|
25458
25560
|
"#streamingVideo": {
|
|
25459
25561
|
maxWidth: "100%",
|
|
25460
25562
|
maxHeight: "100%",
|
|
25461
25563
|
boxSizing: "border-box",
|
|
25462
|
-
background: "#18181A"
|
|
25564
|
+
background: "#18181A"
|
|
25463
25565
|
},
|
|
25464
25566
|
"#uiFeatures #controls": {
|
|
25465
25567
|
top: "auto",
|
|
@@ -25467,13 +25569,13 @@ exports.ArcwareStyles = {
|
|
|
25467
25569
|
bottom: "10px",
|
|
25468
25570
|
right: "20px",
|
|
25469
25571
|
display: "flex",
|
|
25470
|
-
flexDirection: "column-reverse"
|
|
25572
|
+
flexDirection: "column-reverse"
|
|
25471
25573
|
},
|
|
25472
25574
|
"#uiFeatures #connection": {
|
|
25473
25575
|
bottom: "5px",
|
|
25474
25576
|
left: "10px",
|
|
25475
25577
|
width: "2.5rem",
|
|
25476
|
-
heihgt: "2.5rem"
|
|
25578
|
+
heihgt: "2.5rem"
|
|
25477
25579
|
},
|
|
25478
25580
|
"#uiFeatures button": {
|
|
25479
25581
|
backgroundColor: "var(--color12)",
|
|
@@ -25490,23 +25592,23 @@ exports.ArcwareStyles = {
|
|
|
25490
25592
|
alignItems: "center",
|
|
25491
25593
|
boxShadow: "0px 0px 24px 0px var(--colorBoxShadow)",
|
|
25492
25594
|
borderRadius: "3px",
|
|
25493
|
-
outline: "none"
|
|
25595
|
+
outline: "none"
|
|
25494
25596
|
},
|
|
25495
25597
|
"#uiFeatures button:hover, #uiFeatures button:active": {
|
|
25496
25598
|
padding: "0 !important",
|
|
25497
|
-
border: "none"
|
|
25599
|
+
border: "none"
|
|
25498
25600
|
},
|
|
25499
25601
|
"#uiFeatures button #audioIconMuted, #uiFeatures button #audioIconUnmuted, #uiFeatures button #micIconMuted, #uiFeatures button #micIconUnmuted": {
|
|
25500
25602
|
width: "31px",
|
|
25501
|
-
height: "28px"
|
|
25603
|
+
height: "28px"
|
|
25502
25604
|
},
|
|
25503
25605
|
"#uiFeatures button #maximizeIcon, #uiFeatures button #minimizeIcon": {
|
|
25504
25606
|
width: "25px",
|
|
25505
|
-
height: "25px"
|
|
25607
|
+
height: "25px"
|
|
25506
25608
|
},
|
|
25507
25609
|
"#stopIcon, #playIcon": {
|
|
25508
25610
|
width: "30px",
|
|
25509
|
-
height: "30px"
|
|
25611
|
+
height: "30px"
|
|
25510
25612
|
},
|
|
25511
25613
|
"#uiFeatures button .tooltiptext": {
|
|
25512
25614
|
right: "125%",
|
|
@@ -25515,35 +25617,35 @@ exports.ArcwareStyles = {
|
|
|
25515
25617
|
borderRadius: "3px",
|
|
25516
25618
|
backgroundColor: "var(--color12)",
|
|
25517
25619
|
width: "95px",
|
|
25518
|
-
visibility: "hidden!important"
|
|
25620
|
+
visibility: "hidden!important"
|
|
25519
25621
|
},
|
|
25520
25622
|
"@media (hover: hover) and (pointer: fine)": {
|
|
25521
25623
|
"#uiFeatures button:hover .tooltiptext": {
|
|
25522
|
-
visibility: "visible!important"
|
|
25523
|
-
}
|
|
25624
|
+
visibility: "visible!important"
|
|
25625
|
+
}
|
|
25524
25626
|
},
|
|
25525
25627
|
"#controls>*": {
|
|
25526
25628
|
marginBottom: "0.5rem",
|
|
25527
25629
|
display: "block",
|
|
25528
25630
|
lineHeight: "1.75rem",
|
|
25529
25631
|
padding: "0.5rem",
|
|
25530
|
-
backgroundColor: "var(--color12)"
|
|
25632
|
+
backgroundColor: "var(--color12)"
|
|
25531
25633
|
},
|
|
25532
25634
|
"#uiFeatures #settingsIcon, #uiFeatures #statsIcon": {
|
|
25533
25635
|
width: "27px",
|
|
25534
|
-
height: "27px"
|
|
25636
|
+
height: "27px"
|
|
25535
25637
|
},
|
|
25536
25638
|
".svgIcon": {
|
|
25537
|
-
fill: "var(--color13)"
|
|
25639
|
+
fill: "var(--color13)"
|
|
25538
25640
|
},
|
|
25539
25641
|
"#uiFeatures button:hover .svgIcon, #uiFeatures button:active .svgIcon": {
|
|
25540
|
-
fill: "var(--color12)"
|
|
25642
|
+
fill: "var(--color12)"
|
|
25541
25643
|
},
|
|
25542
25644
|
".tgl-switch .tgl-slider, .tgl-flat:checked+.tgl-slider": {
|
|
25543
|
-
border: "3px solid transparent"
|
|
25645
|
+
border: "3px solid transparent"
|
|
25544
25646
|
},
|
|
25545
25647
|
".tgl-switch .tgl-slider": {
|
|
25546
|
-
background: "none"
|
|
25648
|
+
background: "none"
|
|
25547
25649
|
},
|
|
25548
25650
|
".tgl-switch .tgl-slider::before": {
|
|
25549
25651
|
content: "''",
|
|
@@ -25557,18 +25659,18 @@ exports.ArcwareStyles = {
|
|
|
25557
25659
|
top: "0",
|
|
25558
25660
|
bottom: "0",
|
|
25559
25661
|
left: "0",
|
|
25560
|
-
right: "0"
|
|
25662
|
+
right: "0"
|
|
25561
25663
|
},
|
|
25562
25664
|
".tgl-switch .tgl-slider::after": {
|
|
25563
25665
|
height: "13px",
|
|
25564
25666
|
width: "13px",
|
|
25565
25667
|
borderRadius: "50%",
|
|
25566
25668
|
top: "-2px",
|
|
25567
|
-
left: "-1%"
|
|
25669
|
+
left: "-1%"
|
|
25568
25670
|
},
|
|
25569
25671
|
".tgl-flat:checked+.tgl-slider:after": {
|
|
25570
25672
|
left: "62%",
|
|
25571
|
-
background: "var(--color3)"
|
|
25673
|
+
background: "var(--color3)"
|
|
25572
25674
|
},
|
|
25573
25675
|
".form-control": {
|
|
25574
25676
|
backgroundColor: "transparent",
|
|
@@ -25577,7 +25679,7 @@ exports.ArcwareStyles = {
|
|
|
25577
25679
|
color: "var(--color13)",
|
|
25578
25680
|
textAlign: "left",
|
|
25579
25681
|
fontFamily: "inherit",
|
|
25580
|
-
padding: "5px 15px "
|
|
25682
|
+
padding: "5px 15px "
|
|
25581
25683
|
},
|
|
25582
25684
|
".btn-flat": {
|
|
25583
25685
|
background: "var(--color3)",
|
|
@@ -25587,31 +25689,62 @@ exports.ArcwareStyles = {
|
|
|
25587
25689
|
cursor: "pointer",
|
|
25588
25690
|
borderRadius: "4px",
|
|
25589
25691
|
textTransform: "uppercase",
|
|
25590
|
-
minWidth: "175px"
|
|
25692
|
+
minWidth: "175px"
|
|
25591
25693
|
},
|
|
25592
25694
|
".btn-flat:disabled": {
|
|
25593
25695
|
background: "var(--color7)",
|
|
25594
25696
|
borderColor: "var(--color3)",
|
|
25595
25697
|
color: "var(--color3)",
|
|
25596
|
-
cursor: "default"
|
|
25698
|
+
cursor: "default"
|
|
25597
25699
|
},
|
|
25598
25700
|
".btn-flat:focus": {
|
|
25599
|
-
outline: "none"
|
|
25701
|
+
outline: "none"
|
|
25600
25702
|
},
|
|
25601
25703
|
".arcware-logo-loader": {
|
|
25602
25704
|
position: "relative",
|
|
25603
|
-
display: "
|
|
25705
|
+
display: "flex",
|
|
25706
|
+
alignItems: "center",
|
|
25707
|
+
justifyContent: "center",
|
|
25604
25708
|
width: "12.5%",
|
|
25605
25709
|
height: "12.5%",
|
|
25710
|
+
margin: "0 auto",
|
|
25711
|
+
boxSizing: "border-box"
|
|
25712
|
+
},
|
|
25713
|
+
// image rendering + centering inside the box
|
|
25714
|
+
".arcware-logo-loader img": {
|
|
25715
|
+
maxWidth: "40%",
|
|
25716
|
+
maxHeight: "40%",
|
|
25717
|
+
objectFit: "contain",
|
|
25718
|
+
objectPosition: "center center",
|
|
25719
|
+
display: "block",
|
|
25720
|
+
margin: 0,
|
|
25721
|
+
verticalAlign: "middle"
|
|
25722
|
+
},
|
|
25723
|
+
// fade stays the same
|
|
25724
|
+
".arcware-logo-loader.pulse img": {
|
|
25725
|
+
animation: "aw-loader-fade var(--aw-fade,1200ms) ease-in-out infinite alternate"
|
|
25726
|
+
},
|
|
25727
|
+
".arcware-logo-loader.aw-custom-loader": {
|
|
25728
|
+
width: "auto !important",
|
|
25729
|
+
height: "auto !important"
|
|
25730
|
+
},
|
|
25731
|
+
".arcware-logo-loader.aw-custom-loader img": {
|
|
25732
|
+
display: "block",
|
|
25733
|
+
width: "auto",
|
|
25734
|
+
height: "auto",
|
|
25735
|
+
maxWidth: "80%",
|
|
25736
|
+
maxHeight: "80%",
|
|
25737
|
+
objectFit: "contain",
|
|
25738
|
+
margin: "0 auto" // ensure horizontal centering inside the loader
|
|
25606
25739
|
},
|
|
25607
25740
|
"#playOverlay img#playButton": {
|
|
25608
|
-
width: "5%"
|
|
25741
|
+
width: "5%"
|
|
25609
25742
|
},
|
|
25610
25743
|
"#disconnectOverlay, #errorOverlay": {
|
|
25611
25744
|
textTransform: "initial",
|
|
25612
25745
|
textAlign: "center",
|
|
25613
25746
|
fontSize: "20px",
|
|
25614
|
-
lineHeight: 2.5
|
|
25747
|
+
lineHeight: 2.5
|
|
25615
25748
|
},
|
|
25616
25749
|
"#disconnectOverlay .clickableState": {
|
|
25617
25750
|
textTransform: "initial",
|
|
@@ -25621,13 +25754,13 @@ exports.ArcwareStyles = {
|
|
|
25621
25754
|
fontSize: "18px",
|
|
25622
25755
|
border: "1px solid #DAF693",
|
|
25623
25756
|
margin: "25px auto 0",
|
|
25624
|
-
width: "180px"
|
|
25757
|
+
width: "180px"
|
|
25625
25758
|
},
|
|
25626
25759
|
"#afkOverlay": {
|
|
25627
25760
|
background: "none",
|
|
25628
25761
|
transition: "all ease-in-out 0.5s",
|
|
25629
25762
|
opacity: 1,
|
|
25630
|
-
pointerEvents: "initial"
|
|
25763
|
+
pointerEvents: "initial"
|
|
25631
25764
|
},
|
|
25632
25765
|
"#afkOverlayInner": {
|
|
25633
25766
|
textTransform: "initial",
|
|
@@ -25636,18 +25769,18 @@ exports.ArcwareStyles = {
|
|
|
25636
25769
|
fontSize: "18px",
|
|
25637
25770
|
width: "360px",
|
|
25638
25771
|
textAlign: "center",
|
|
25639
|
-
lineHeight: 2.5
|
|
25772
|
+
lineHeight: 2.5
|
|
25640
25773
|
},
|
|
25641
25774
|
"#afkOverlayInner center::first-line": {
|
|
25642
25775
|
textTransform: "uppercase",
|
|
25643
25776
|
color: "#FF8461",
|
|
25644
25777
|
fontWeight: "bold",
|
|
25645
|
-
fontSize: "24px"
|
|
25778
|
+
fontSize: "24px"
|
|
25646
25779
|
},
|
|
25647
25780
|
"#afkOverlayInner #afkCountDownNumber": {
|
|
25648
25781
|
color: "#DAF693",
|
|
25649
25782
|
fontSize: "26px",
|
|
25650
|
-
lineHeight: "22px"
|
|
25783
|
+
lineHeight: "22px"
|
|
25651
25784
|
},
|
|
25652
25785
|
"#afkOverlayInner center .retry-button": {
|
|
25653
25786
|
textTransform: "initial",
|
|
@@ -25657,7 +25790,7 @@ exports.ArcwareStyles = {
|
|
|
25657
25790
|
fontSize: "18px",
|
|
25658
25791
|
border: "1px solid #DAF693",
|
|
25659
25792
|
margin: "25px auto 0",
|
|
25660
|
-
width: "180px"
|
|
25793
|
+
width: "180px"
|
|
25661
25794
|
},
|
|
25662
25795
|
"#connectOverlay #connectButton": {
|
|
25663
25796
|
textTransform: "initial",
|
|
@@ -25667,33 +25800,33 @@ exports.ArcwareStyles = {
|
|
|
25667
25800
|
fontSize: "18px",
|
|
25668
25801
|
border: "1px solid #DAF693",
|
|
25669
25802
|
margin: "25px auto 0",
|
|
25670
|
-
width: "180px"
|
|
25803
|
+
width: "180px"
|
|
25671
25804
|
},
|
|
25672
25805
|
"#connectOverlay .connection-text": {
|
|
25673
25806
|
textTransform: "initial",
|
|
25674
25807
|
textAlign: "center",
|
|
25675
|
-
margin: "25px auto 0"
|
|
25808
|
+
margin: "25px auto 0"
|
|
25676
25809
|
},
|
|
25677
25810
|
"#connectOverlay .connection-text .title": {
|
|
25678
25811
|
color: "#ffffff",
|
|
25679
25812
|
fontSize: "18px",
|
|
25680
|
-
margin: "5px 0"
|
|
25813
|
+
margin: "5px 0"
|
|
25681
25814
|
},
|
|
25682
25815
|
"#connectOverlay .connection-text .subtitle": {
|
|
25683
25816
|
color: "#ffffff",
|
|
25684
25817
|
opacity: 0.5,
|
|
25685
25818
|
fontSize: "12px",
|
|
25686
|
-
margin: "10px 0"
|
|
25819
|
+
margin: "10px 0"
|
|
25687
25820
|
},
|
|
25688
25821
|
"#infoOverlay.hiddenState": {
|
|
25689
|
-
display: "none"
|
|
25822
|
+
display: "none"
|
|
25690
25823
|
},
|
|
25691
25824
|
"#disconnectOverlay, #playOverlay, #errorOverlay, #microphoneOverlay, #connectOverlay": {
|
|
25692
25825
|
background: "#18181A",
|
|
25693
25826
|
display: "flex",
|
|
25694
25827
|
transition: "all ease-in-out 0.5s",
|
|
25695
25828
|
opacity: 1,
|
|
25696
|
-
pointerEvents: "initial"
|
|
25829
|
+
pointerEvents: "initial"
|
|
25697
25830
|
},
|
|
25698
25831
|
"#microphoneOverlay": {
|
|
25699
25832
|
textTransform: "initial",
|
|
@@ -25712,51 +25845,51 @@ exports.ArcwareStyles = {
|
|
|
25712
25845
|
justifyContent: "center",
|
|
25713
25846
|
alignItems: "center",
|
|
25714
25847
|
flexDirection: "column",
|
|
25715
|
-
zIndex: 99999
|
|
25848
|
+
zIndex: 99999
|
|
25716
25849
|
},
|
|
25717
25850
|
"#microphoneOverlay .title": {
|
|
25718
25851
|
fontSize: "24px",
|
|
25719
25852
|
position: "relative",
|
|
25720
25853
|
marginBottom: "20px",
|
|
25721
|
-
color: "#F0F0F2"
|
|
25854
|
+
color: "#F0F0F2"
|
|
25722
25855
|
},
|
|
25723
25856
|
"#microphoneOverlay .title:after": {
|
|
25724
25857
|
content: "''",
|
|
25725
25858
|
display: "inline-block",
|
|
25726
25859
|
animation: "dotty steps(1,end) 1s infinite",
|
|
25727
|
-
position: "absolute"
|
|
25860
|
+
position: "absolute"
|
|
25728
25861
|
},
|
|
25729
25862
|
"#microphoneOverlay p": {
|
|
25730
25863
|
margin: 0,
|
|
25731
|
-
color: "#858588"
|
|
25864
|
+
color: "#858588"
|
|
25732
25865
|
},
|
|
25733
25866
|
"#microphoneOverlay svg": {
|
|
25734
25867
|
height: "65px",
|
|
25735
25868
|
marginBottom: "15px",
|
|
25736
|
-
marginTop: "-5px"
|
|
25869
|
+
marginTop: "-5px"
|
|
25737
25870
|
},
|
|
25738
25871
|
"#microphoneOverlay .svgIcon": {
|
|
25739
|
-
fill: "#DAF693"
|
|
25872
|
+
fill: "#DAF693"
|
|
25740
25873
|
},
|
|
25741
25874
|
"#disconnectOverlay.hiddenState, #playOverlay.hiddenState, #errorOverlay.hiddenState, #afkOverlay.hiddenState, #microphoneOverlay.hiddenState": {
|
|
25742
25875
|
opacity: 0,
|
|
25743
|
-
pointerEvents: "none"
|
|
25876
|
+
pointerEvents: "none"
|
|
25744
25877
|
},
|
|
25745
25878
|
"#disconnectOverlay.mic-overlay-is-visible, #errorOverlay.mic-overlay-is-visible, #infoOverlay.mic-overlay-is-visible": {
|
|
25746
25879
|
opacity: 0,
|
|
25747
|
-
pointerEvents: "none"
|
|
25880
|
+
pointerEvents: "none"
|
|
25748
25881
|
},
|
|
25749
25882
|
"#infoOverlay.hiddenState, #connectOverlay.hiddenState": {
|
|
25750
|
-
display: "none"
|
|
25883
|
+
display: "none"
|
|
25751
25884
|
},
|
|
25752
25885
|
"#connectOverlay": {
|
|
25753
25886
|
display: "flex",
|
|
25754
25887
|
flexDirection: "column-reverse",
|
|
25755
25888
|
alignItems: "center",
|
|
25756
|
-
justifyContent: "center"
|
|
25889
|
+
justifyContent: "center"
|
|
25757
25890
|
},
|
|
25758
25891
|
"#infoOverlay": {
|
|
25759
|
-
display: "none"
|
|
25892
|
+
display: "none"
|
|
25760
25893
|
},
|
|
25761
25894
|
".love-letters-box-root": {
|
|
25762
25895
|
display: "flex",
|
|
@@ -25768,11 +25901,11 @@ exports.ArcwareStyles = {
|
|
|
25768
25901
|
alignItems: "center",
|
|
25769
25902
|
flexDirection: "column",
|
|
25770
25903
|
background: "#18181A",
|
|
25771
|
-
zIndex: 1
|
|
25904
|
+
zIndex: 1
|
|
25772
25905
|
},
|
|
25773
25906
|
".love-letters-box-root.fade-out": {
|
|
25774
25907
|
opacity: 0,
|
|
25775
|
-
transition: "opacity 0.5s"
|
|
25908
|
+
transition: "opacity 0.5s"
|
|
25776
25909
|
},
|
|
25777
25910
|
"#letters-block": {
|
|
25778
25911
|
position: "absolute",
|
|
@@ -25789,7 +25922,7 @@ exports.ArcwareStyles = {
|
|
|
25789
25922
|
alignItems: "center",
|
|
25790
25923
|
fontSize: "16px",
|
|
25791
25924
|
textTransform: "initial",
|
|
25792
|
-
textAlign: "center"
|
|
25925
|
+
textAlign: "center"
|
|
25793
25926
|
},
|
|
25794
25927
|
"#letters-wrapper": {
|
|
25795
25928
|
height: "77px",
|
|
@@ -25800,62 +25933,88 @@ exports.ArcwareStyles = {
|
|
|
25800
25933
|
alignItems: "center",
|
|
25801
25934
|
justifyContent: "flex-end",
|
|
25802
25935
|
marginTop: "10px",
|
|
25803
|
-
paddingBottom: "2px"
|
|
25936
|
+
paddingBottom: "2px"
|
|
25804
25937
|
},
|
|
25805
25938
|
"#letters-wrapper p": {
|
|
25806
25939
|
textAlign: "center",
|
|
25807
25940
|
lineHeight: 1.25,
|
|
25808
|
-
fontSize: "16px"
|
|
25941
|
+
fontSize: "16px"
|
|
25809
25942
|
},
|
|
25810
25943
|
".letter-animation:nth-last-of-type(1)::after": {
|
|
25811
25944
|
display: "inline-block",
|
|
25812
25945
|
animation: "dotty steps(1,end) 1s infinite",
|
|
25813
25946
|
content: "''",
|
|
25814
|
-
position: "absolute"
|
|
25947
|
+
position: "absolute"
|
|
25815
25948
|
},
|
|
25816
25949
|
".letter-animation": {
|
|
25817
25950
|
transition: "all 0.5s ease-in-out",
|
|
25818
25951
|
transformOrigin: "bottom",
|
|
25819
|
-
margin: "0 auto"
|
|
25952
|
+
margin: "0 auto"
|
|
25820
25953
|
},
|
|
25821
25954
|
".letter-animation-enter": {
|
|
25822
|
-
animation: "fadeInUp 0.75s ease-out"
|
|
25955
|
+
animation: "fadeInUp 0.75s ease-out"
|
|
25823
25956
|
},
|
|
25824
25957
|
".letter-animation-exit": {
|
|
25825
25958
|
opacity: 0,
|
|
25826
25959
|
scale: 0.9,
|
|
25827
25960
|
transition: "all ease-in-out 1s",
|
|
25828
|
-
margin: 0
|
|
25961
|
+
margin: 0
|
|
25829
25962
|
},
|
|
25830
25963
|
"@keyframes dotty": {
|
|
25831
25964
|
"0%": { content: "''" },
|
|
25832
25965
|
"25%": { content: "'.'" },
|
|
25833
25966
|
"50%": { content: "'..'" },
|
|
25834
25967
|
"75%": { content: "'...'" },
|
|
25835
|
-
"100%": { content: "''" }
|
|
25968
|
+
"100%": { content: "''" }
|
|
25836
25969
|
},
|
|
25837
25970
|
"@keyframes fadeInUp": {
|
|
25838
25971
|
from: {
|
|
25839
25972
|
opacity: 0,
|
|
25840
25973
|
transform: " translateY(5px)",
|
|
25841
|
-
scale: 0.9
|
|
25974
|
+
scale: 0.9
|
|
25842
25975
|
},
|
|
25843
25976
|
to: {
|
|
25844
25977
|
opacity: 1,
|
|
25845
25978
|
transform: "translateY(0)",
|
|
25846
|
-
scale: 1
|
|
25847
|
-
}
|
|
25979
|
+
scale: 1
|
|
25980
|
+
}
|
|
25848
25981
|
},
|
|
25849
25982
|
".hidden": {
|
|
25850
25983
|
display: "none",
|
|
25851
|
-
opacity: 0
|
|
25984
|
+
opacity: 0
|
|
25852
25985
|
},
|
|
25853
25986
|
".visible": {
|
|
25854
25987
|
display: "block",
|
|
25855
25988
|
opacity: 1,
|
|
25856
|
-
transition: "opacity 1s ease-out"
|
|
25989
|
+
transition: "opacity 1s ease-out"
|
|
25857
25990
|
},
|
|
25858
|
-
|
|
25991
|
+
// Make the host a flex centering box
|
|
25992
|
+
".love-letters-box-root .arcware-logo-loader": {
|
|
25993
|
+
display: "flex",
|
|
25994
|
+
alignItems: "center",
|
|
25995
|
+
justifyContent: "center"
|
|
25996
|
+
},
|
|
25997
|
+
// When a custom image is active, ignore the legacy 12.5% box
|
|
25998
|
+
".love-letters-box-root .arcware-logo-loader.aw-custom-loader": {
|
|
25999
|
+
width: "auto !important",
|
|
26000
|
+
height: "auto !important"
|
|
26001
|
+
},
|
|
26002
|
+
// Size & center the <img> itself (independent of host size)
|
|
26003
|
+
".love-letters-box-root .arcware-logo-loader.aw-custom-loader img": {
|
|
26004
|
+
display: "block",
|
|
26005
|
+
margin: "0 auto",
|
|
26006
|
+
width: "min(40vmin, 40vw)",
|
|
26007
|
+
height: "auto",
|
|
26008
|
+
objectFit: "contain",
|
|
26009
|
+
objectPosition: "center center"
|
|
26010
|
+
},
|
|
26011
|
+
// (optional) If you prefer the old “percentage of container” behavior:
|
|
26012
|
+
".love-letters-box-root .arcware-logo-loader.aw-custom-loader img.alt-40pct": {
|
|
26013
|
+
width: "40%",
|
|
26014
|
+
maxWidth: "100%",
|
|
26015
|
+
height: "auto"
|
|
26016
|
+
}
|
|
26017
|
+
}
|
|
25859
26018
|
};
|
|
25860
26019
|
|
|
25861
26020
|
|
|
@@ -25877,6 +26036,56 @@ class ArcwareLogoLoader {
|
|
|
25877
26036
|
arcwareLogoLoader.innerHTML = this.getSvg();
|
|
25878
26037
|
return arcwareLogoLoader;
|
|
25879
26038
|
}
|
|
26039
|
+
/** Call this once after you create the wrapper/root that contains the SVG */
|
|
26040
|
+
setHostElement(el) {
|
|
26041
|
+
this._hostEl = el;
|
|
26042
|
+
}
|
|
26043
|
+
/** Swap the loader image at runtime; pass undefined to go back to SVG */
|
|
26044
|
+
setImage(url) {
|
|
26045
|
+
var _a, _b;
|
|
26046
|
+
if (!this._hostEl)
|
|
26047
|
+
return;
|
|
26048
|
+
// lazily create <img> once
|
|
26049
|
+
if (!this._imgEl) {
|
|
26050
|
+
const img = document.createElement("img");
|
|
26051
|
+
img.alt = "Loading";
|
|
26052
|
+
img.style.display = "none"; // hidden until we set a URL
|
|
26053
|
+
this._hostEl.appendChild(img);
|
|
26054
|
+
this._imgEl = img;
|
|
26055
|
+
}
|
|
26056
|
+
if (url && url.trim()) {
|
|
26057
|
+
(_a = this._hostEl) === null || _a === void 0 ? void 0 : _a.classList.add("aw-custom-loader");
|
|
26058
|
+
if (this._imgEl.src !== url)
|
|
26059
|
+
this._imgEl.src = url;
|
|
26060
|
+
// show <img>, hide SVG
|
|
26061
|
+
this._imgEl.style.display = "";
|
|
26062
|
+
const svg = this._hostEl.querySelector("svg");
|
|
26063
|
+
if (svg)
|
|
26064
|
+
svg.style.display = "none";
|
|
26065
|
+
}
|
|
26066
|
+
else {
|
|
26067
|
+
// no url → fall back to SVG
|
|
26068
|
+
(_b = this._hostEl) === null || _b === void 0 ? void 0 : _b.classList.remove("aw-custom-loader");
|
|
26069
|
+
this._imgEl.style.display = "none";
|
|
26070
|
+
const svg = this._hostEl.querySelector("svg");
|
|
26071
|
+
if (svg)
|
|
26072
|
+
svg.style.display = "";
|
|
26073
|
+
}
|
|
26074
|
+
}
|
|
26075
|
+
/** Enable/disable pulsing fade in ms; 0 disables */
|
|
26076
|
+
setFade(ms) {
|
|
26077
|
+
if (!this._hostEl)
|
|
26078
|
+
return;
|
|
26079
|
+
const n = Number(ms) || 0;
|
|
26080
|
+
if (n > 0) {
|
|
26081
|
+
this._hostEl.style.setProperty("--aw-fade", `${n}ms`);
|
|
26082
|
+
this._hostEl.classList.add("pulse"); // uses #aw-loader.pulse styles you added
|
|
26083
|
+
}
|
|
26084
|
+
else {
|
|
26085
|
+
this._hostEl.classList.remove("pulse");
|
|
26086
|
+
this._hostEl.style.removeProperty("--aw-fade");
|
|
26087
|
+
}
|
|
26088
|
+
}
|
|
25880
26089
|
getSvg() {
|
|
25881
26090
|
return `
|
|
25882
26091
|
<svg width="42" height="80" viewBox="0 0 42 80" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -26947,6 +27156,40 @@ exports.Send = {
|
|
|
26947
27156
|
};
|
|
26948
27157
|
|
|
26949
27158
|
|
|
27159
|
+
/***/ }),
|
|
27160
|
+
|
|
27161
|
+
/***/ 6750:
|
|
27162
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
27163
|
+
|
|
27164
|
+
|
|
27165
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
27166
|
+
exports.ZWhiteLabel = void 0;
|
|
27167
|
+
const zod_1 = __webpack_require__(8754);
|
|
27168
|
+
/** Absolute HTTPS URL (no http) */
|
|
27169
|
+
const AbsoluteHttpsUrl = zod_1.z
|
|
27170
|
+
.string()
|
|
27171
|
+
.url()
|
|
27172
|
+
.refine((u) => u.startsWith("https://"), { message: "URL must use https://" });
|
|
27173
|
+
/** Relative path (no scheme like http:, data:, javascript:, etc.) */
|
|
27174
|
+
const RelativePath = zod_1.z
|
|
27175
|
+
.string()
|
|
27176
|
+
.min(1)
|
|
27177
|
+
.refine((s) => !/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(s), { message: "Expected a relative path without a URL scheme" });
|
|
27178
|
+
/** Image URL can be absolute (https) or relative (e.g. /assets/logo.png, ./img.png) */
|
|
27179
|
+
const ImageUrl = zod_1.z.union([AbsoluteHttpsUrl, RelativePath]);
|
|
27180
|
+
/** Strict allowlist for white-label brand fields coming from the URL */
|
|
27181
|
+
exports.ZWhiteLabel = zod_1.z
|
|
27182
|
+
.object({
|
|
27183
|
+
loadingIconUrl: ImageUrl.optional(),
|
|
27184
|
+
loadingIconFadeMs: zod_1.z.number().int().positive().optional(),
|
|
27185
|
+
splashScreenUrl: ImageUrl.optional(),
|
|
27186
|
+
splashScreenMode: zod_1.z.enum(["contain", "cover", "stretch", "repeat"]).optional(),
|
|
27187
|
+
splashScreenPosition: zod_1.z.string().optional(),
|
|
27188
|
+
splashScreenBgColor: zod_1.z.string().optional()
|
|
27189
|
+
})
|
|
27190
|
+
.strict();
|
|
27191
|
+
|
|
27192
|
+
|
|
26950
27193
|
/***/ }),
|
|
26951
27194
|
|
|
26952
27195
|
/***/ 318:
|
|
@@ -26954,8 +27197,10 @@ exports.Send = {
|
|
|
26954
27197
|
|
|
26955
27198
|
|
|
26956
27199
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
26957
|
-
exports.Messages = void 0;
|
|
27200
|
+
exports.ZWhiteLabel = exports.Messages = void 0;
|
|
26958
27201
|
exports.Messages = __webpack_require__(5387);
|
|
27202
|
+
var ZWhiteLabel_1 = __webpack_require__(6750);
|
|
27203
|
+
Object.defineProperty(exports, "ZWhiteLabel", ({ enumerable: true, get: function () { return ZWhiteLabel_1.ZWhiteLabel; } }));
|
|
26959
27204
|
|
|
26960
27205
|
|
|
26961
27206
|
/***/ }),
|