@myinterview/widget-react 1.1.22-development-2bfa0c3 → 1.1.23-development-94da5c1
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/cjs/components/CountDown.d.ts +2 -2
- package/dist/cjs/components/Counter.d.ts +2 -2
- package/dist/cjs/components/DeviceSelector.d.ts +2 -1
- package/dist/cjs/components/Setup.d.ts +1 -0
- package/dist/cjs/components/SetupChecks.d.ts +1 -0
- package/dist/cjs/components/VideoCamera.d.ts +1 -0
- package/dist/cjs/index.js +408 -190
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/configInterface.d.ts +1 -0
- package/dist/cjs/interfaces/recorderInterface.d.ts +4 -1
- package/dist/cjs/interfaces/widgetInterface.d.ts +2 -0
- package/dist/cjs/utils/debug.utils.d.ts +1 -0
- package/dist/cjs/utils/messages.utils.d.ts +1 -0
- package/dist/esm/components/CountDown.d.ts +2 -2
- package/dist/esm/components/Counter.d.ts +2 -2
- package/dist/esm/components/DeviceSelector.d.ts +2 -1
- package/dist/esm/components/Setup.d.ts +1 -0
- package/dist/esm/components/SetupChecks.d.ts +1 -0
- package/dist/esm/components/VideoCamera.d.ts +1 -0
- package/dist/esm/index.js +408 -190
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +1 -0
- package/dist/esm/interfaces/recorderInterface.d.ts +4 -1
- package/dist/esm/interfaces/widgetInterface.d.ts +2 -0
- package/dist/esm/utils/debug.utils.d.ts +1 -0
- package/dist/esm/utils/messages.utils.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -2071,7 +2071,10 @@ function visit(
|
|
|
2071
2071
|
const [memoize, unmemoize] = memo;
|
|
2072
2072
|
|
|
2073
2073
|
// Get the simple cases out of the way first
|
|
2074
|
-
if (
|
|
2074
|
+
if (
|
|
2075
|
+
value == null || // this matches null and undefined -> eqeq not eqeqeq
|
|
2076
|
+
(['number', 'boolean', 'string'].includes(typeof value) && !isNaN$1(value))
|
|
2077
|
+
) {
|
|
2075
2078
|
return value ;
|
|
2076
2079
|
}
|
|
2077
2080
|
|
|
@@ -2209,11 +2212,6 @@ function stringifyValue(
|
|
|
2209
2212
|
return '[NaN]';
|
|
2210
2213
|
}
|
|
2211
2214
|
|
|
2212
|
-
// this catches `undefined` (but not `null`, which is a primitive and can be serialized on its own)
|
|
2213
|
-
if (value === void 0) {
|
|
2214
|
-
return '[undefined]';
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
2215
|
if (typeof value === 'function') {
|
|
2218
2216
|
return `[Function: ${getFunctionName(value)}]`;
|
|
2219
2217
|
}
|
|
@@ -5796,7 +5794,7 @@ function getEventForEnvelopeItem(item, type) {
|
|
|
5796
5794
|
return Array.isArray(item) ? (item )[1] : undefined;
|
|
5797
5795
|
}
|
|
5798
5796
|
|
|
5799
|
-
const SDK_VERSION = '7.
|
|
5797
|
+
const SDK_VERSION = '7.51.2';
|
|
5800
5798
|
|
|
5801
5799
|
let originalFunctionToString;
|
|
5802
5800
|
|
|
@@ -8335,7 +8333,7 @@ function maskInputValue({ input, maskInputSelector, unmaskInputSelector, maskInp
|
|
|
8335
8333
|
if (unmaskInputSelector && input.matches(unmaskInputSelector)) {
|
|
8336
8334
|
return text;
|
|
8337
8335
|
}
|
|
8338
|
-
if (input.hasAttribute('
|
|
8336
|
+
if (input.hasAttribute('data-rr-is-password')) {
|
|
8339
8337
|
type = 'password';
|
|
8340
8338
|
}
|
|
8341
8339
|
if (isInputTypeMasked({ maskInputOptions, tagName, type }) ||
|
|
@@ -8368,6 +8366,21 @@ function is2DCanvasBlank(canvas) {
|
|
|
8368
8366
|
}
|
|
8369
8367
|
return true;
|
|
8370
8368
|
}
|
|
8369
|
+
function getInputType(element) {
|
|
8370
|
+
const type = element.type;
|
|
8371
|
+
return element.hasAttribute('data-rr-is-password')
|
|
8372
|
+
? 'password'
|
|
8373
|
+
: type
|
|
8374
|
+
? type.toLowerCase()
|
|
8375
|
+
: null;
|
|
8376
|
+
}
|
|
8377
|
+
function getInputValue(el, tagName, type) {
|
|
8378
|
+
typeof type === 'string' ? type.toLowerCase() : '';
|
|
8379
|
+
if (tagName === 'INPUT' && (type === 'radio' || type === 'checkbox')) {
|
|
8380
|
+
return el.getAttribute('value') || '';
|
|
8381
|
+
}
|
|
8382
|
+
return el.value;
|
|
8383
|
+
}
|
|
8371
8384
|
|
|
8372
8385
|
let _id = 1;
|
|
8373
8386
|
const tagNameRegex = new RegExp('[^a-z0-9-_:]');
|
|
@@ -8406,6 +8419,13 @@ function getCssRuleString(rule) {
|
|
|
8406
8419
|
catch (_a) {
|
|
8407
8420
|
}
|
|
8408
8421
|
}
|
|
8422
|
+
return validateStringifiedCssRule(cssStringified);
|
|
8423
|
+
}
|
|
8424
|
+
function validateStringifiedCssRule(cssStringified) {
|
|
8425
|
+
if (cssStringified.indexOf(':') > -1) {
|
|
8426
|
+
const regex = /(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;
|
|
8427
|
+
return cssStringified.replace(regex, '$1\\$2');
|
|
8428
|
+
}
|
|
8409
8429
|
return cssStringified;
|
|
8410
8430
|
}
|
|
8411
8431
|
function isCSSImportRule(rule) {
|
|
@@ -8414,7 +8434,7 @@ function isCSSImportRule(rule) {
|
|
|
8414
8434
|
function stringifyStyleSheet(sheet) {
|
|
8415
8435
|
return sheet.cssRules
|
|
8416
8436
|
? Array.from(sheet.cssRules)
|
|
8417
|
-
.map((rule) => rule.cssText
|
|
8437
|
+
.map((rule) => rule.cssText ? validateStringifiedCssRule(rule.cssText) : '')
|
|
8418
8438
|
.join('')
|
|
8419
8439
|
: '';
|
|
8420
8440
|
}
|
|
@@ -8749,14 +8769,15 @@ function serializeNode(n, options) {
|
|
|
8749
8769
|
tagName === 'select' ||
|
|
8750
8770
|
tagName === 'option') {
|
|
8751
8771
|
const el = n;
|
|
8752
|
-
const
|
|
8772
|
+
const type = getInputType(el);
|
|
8773
|
+
const value = getInputValue(el, tagName.toUpperCase(), type);
|
|
8753
8774
|
const checked = n.checked;
|
|
8754
|
-
if (
|
|
8755
|
-
|
|
8775
|
+
if (type !== 'submit' &&
|
|
8776
|
+
type !== 'button' &&
|
|
8756
8777
|
value) {
|
|
8757
8778
|
attributes.value = maskInputValue({
|
|
8758
8779
|
input: el,
|
|
8759
|
-
type
|
|
8780
|
+
type,
|
|
8760
8781
|
tagName,
|
|
8761
8782
|
value,
|
|
8762
8783
|
maskInputSelector,
|
|
@@ -9229,15 +9250,8 @@ function snapshot(n, options) {
|
|
|
9229
9250
|
function skipAttribute(tagName, attributeName, value) {
|
|
9230
9251
|
return ((tagName === 'video' || tagName === 'audio') && attributeName === 'autoplay');
|
|
9231
9252
|
}
|
|
9232
|
-
function getInputValue(tagName, el, attributes) {
|
|
9233
|
-
if (tagName === 'input' &&
|
|
9234
|
-
(attributes.type === 'radio' || attributes.type === 'checkbox')) {
|
|
9235
|
-
return el.getAttribute('value') || '';
|
|
9236
|
-
}
|
|
9237
|
-
return el.value;
|
|
9238
|
-
}
|
|
9239
9253
|
|
|
9240
|
-
var EventType;
|
|
9254
|
+
var EventType$1;
|
|
9241
9255
|
(function (EventType) {
|
|
9242
9256
|
EventType[EventType["DomContentLoaded"] = 0] = "DomContentLoaded";
|
|
9243
9257
|
EventType[EventType["Load"] = 1] = "Load";
|
|
@@ -9246,7 +9260,7 @@ var EventType;
|
|
|
9246
9260
|
EventType[EventType["Meta"] = 4] = "Meta";
|
|
9247
9261
|
EventType[EventType["Custom"] = 5] = "Custom";
|
|
9248
9262
|
EventType[EventType["Plugin"] = 6] = "Plugin";
|
|
9249
|
-
})(EventType || (EventType = {}));
|
|
9263
|
+
})(EventType$1 || (EventType$1 = {}));
|
|
9250
9264
|
var IncrementalSource;
|
|
9251
9265
|
(function (IncrementalSource) {
|
|
9252
9266
|
IncrementalSource[IncrementalSource["Mutation"] = 0] = "Mutation";
|
|
@@ -9861,9 +9875,9 @@ class MutationBuffer {
|
|
|
9861
9875
|
this.attributes.push(item);
|
|
9862
9876
|
}
|
|
9863
9877
|
if (m.attributeName === 'type' &&
|
|
9864
|
-
|
|
9878
|
+
target.tagName === 'INPUT' &&
|
|
9865
9879
|
(m.oldValue || '').toLowerCase() === 'password') {
|
|
9866
|
-
|
|
9880
|
+
target.setAttribute('data-rr-is-password', 'true');
|
|
9867
9881
|
}
|
|
9868
9882
|
if (m.attributeName === 'style') {
|
|
9869
9883
|
const old = this.doc.createElement('span');
|
|
@@ -10260,27 +10274,25 @@ function initInputObserver({ inputCb, doc, mirror, blockClass, blockSelector, un
|
|
|
10260
10274
|
isBlocked(target, blockClass, blockSelector, unblockSelector)) {
|
|
10261
10275
|
return;
|
|
10262
10276
|
}
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10277
|
+
const el = target;
|
|
10278
|
+
const type = getInputType(el);
|
|
10279
|
+
if (el.classList.contains(ignoreClass) ||
|
|
10280
|
+
(ignoreSelector && el.matches(ignoreSelector))) {
|
|
10266
10281
|
return;
|
|
10267
10282
|
}
|
|
10268
|
-
let text =
|
|
10283
|
+
let text = getInputValue(el, tagName, type);
|
|
10269
10284
|
let isChecked = false;
|
|
10270
|
-
if (target.hasAttribute('rr_is_password')) {
|
|
10271
|
-
type = 'password';
|
|
10272
|
-
}
|
|
10273
10285
|
if (type === 'radio' || type === 'checkbox') {
|
|
10274
10286
|
isChecked = target.checked;
|
|
10275
10287
|
}
|
|
10276
|
-
|
|
10288
|
+
if (hasInputMaskOptions({
|
|
10277
10289
|
maskInputOptions,
|
|
10278
10290
|
maskInputSelector,
|
|
10279
10291
|
tagName,
|
|
10280
10292
|
type,
|
|
10281
10293
|
})) {
|
|
10282
10294
|
text = maskInputValue({
|
|
10283
|
-
input:
|
|
10295
|
+
input: el,
|
|
10284
10296
|
maskInputOptions,
|
|
10285
10297
|
maskInputSelector,
|
|
10286
10298
|
unmaskInputSelector,
|
|
@@ -10297,8 +10309,18 @@ function initInputObserver({ inputCb, doc, mirror, blockClass, blockSelector, un
|
|
|
10297
10309
|
.querySelectorAll(`input[type="radio"][name="${name}"]`)
|
|
10298
10310
|
.forEach((el) => {
|
|
10299
10311
|
if (el !== target) {
|
|
10312
|
+
const text = maskInputValue({
|
|
10313
|
+
input: el,
|
|
10314
|
+
maskInputOptions,
|
|
10315
|
+
maskInputSelector,
|
|
10316
|
+
unmaskInputSelector,
|
|
10317
|
+
tagName,
|
|
10318
|
+
type,
|
|
10319
|
+
value: getInputValue(el, tagName, type),
|
|
10320
|
+
maskInputFn,
|
|
10321
|
+
});
|
|
10300
10322
|
cbWithDedup(el, callbackWrapper(wrapEventWithUserTriggeredFlag)({
|
|
10301
|
-
text
|
|
10323
|
+
text,
|
|
10302
10324
|
isChecked: !isChecked,
|
|
10303
10325
|
userTriggered: false,
|
|
10304
10326
|
}, userTriggeredOnInput));
|
|
@@ -11211,17 +11233,17 @@ function record(options = {}) {
|
|
|
11211
11233
|
wrappedEmit = (e, isCheckout) => {
|
|
11212
11234
|
var _a;
|
|
11213
11235
|
if (((_a = mutationBuffers[0]) === null || _a === void 0 ? void 0 : _a.isFrozen()) &&
|
|
11214
|
-
e.type !== EventType.FullSnapshot &&
|
|
11215
|
-
!(e.type === EventType.IncrementalSnapshot &&
|
|
11236
|
+
e.type !== EventType$1.FullSnapshot &&
|
|
11237
|
+
!(e.type === EventType$1.IncrementalSnapshot &&
|
|
11216
11238
|
e.data.source === IncrementalSource.Mutation)) {
|
|
11217
11239
|
mutationBuffers.forEach((buf) => buf.unfreeze());
|
|
11218
11240
|
}
|
|
11219
11241
|
emit(eventProcessor(e), isCheckout);
|
|
11220
|
-
if (e.type === EventType.FullSnapshot) {
|
|
11242
|
+
if (e.type === EventType$1.FullSnapshot) {
|
|
11221
11243
|
lastFullSnapshotEvent = e;
|
|
11222
11244
|
incrementalSnapshotCount = 0;
|
|
11223
11245
|
}
|
|
11224
|
-
else if (e.type === EventType.IncrementalSnapshot) {
|
|
11246
|
+
else if (e.type === EventType$1.IncrementalSnapshot) {
|
|
11225
11247
|
if (e.data.source === IncrementalSource.Mutation &&
|
|
11226
11248
|
e.data.isAttachIframe) {
|
|
11227
11249
|
return;
|
|
@@ -11237,16 +11259,16 @@ function record(options = {}) {
|
|
|
11237
11259
|
};
|
|
11238
11260
|
const wrappedMutationEmit = (m) => {
|
|
11239
11261
|
wrappedEmit(wrapEvent({
|
|
11240
|
-
type: EventType.IncrementalSnapshot,
|
|
11262
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11241
11263
|
data: Object.assign({ source: IncrementalSource.Mutation }, m),
|
|
11242
11264
|
}));
|
|
11243
11265
|
};
|
|
11244
11266
|
const wrappedScrollEmit = (p) => wrappedEmit(wrapEvent({
|
|
11245
|
-
type: EventType.IncrementalSnapshot,
|
|
11267
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11246
11268
|
data: Object.assign({ source: IncrementalSource.Scroll }, p),
|
|
11247
11269
|
}));
|
|
11248
11270
|
const wrappedCanvasMutationEmit = (p) => wrappedEmit(wrapEvent({
|
|
11249
|
-
type: EventType.IncrementalSnapshot,
|
|
11271
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11250
11272
|
data: Object.assign({ source: IncrementalSource.CanvasMutation }, p),
|
|
11251
11273
|
}));
|
|
11252
11274
|
const iframeManager = new IframeManager({
|
|
@@ -11291,7 +11313,7 @@ function record(options = {}) {
|
|
|
11291
11313
|
takeFullSnapshot = (isCheckout = false) => {
|
|
11292
11314
|
var _a, _b, _c, _d;
|
|
11293
11315
|
wrappedEmit(wrapEvent({
|
|
11294
|
-
type: EventType.Meta,
|
|
11316
|
+
type: EventType$1.Meta,
|
|
11295
11317
|
data: {
|
|
11296
11318
|
href: window.location.href,
|
|
11297
11319
|
width: getWindowWidth(),
|
|
@@ -11334,7 +11356,7 @@ function record(options = {}) {
|
|
|
11334
11356
|
}
|
|
11335
11357
|
mirror.map = idNodeMap;
|
|
11336
11358
|
wrappedEmit(wrapEvent({
|
|
11337
|
-
type: EventType.FullSnapshot,
|
|
11359
|
+
type: EventType$1.FullSnapshot,
|
|
11338
11360
|
data: {
|
|
11339
11361
|
node,
|
|
11340
11362
|
initialOffset: {
|
|
@@ -11359,7 +11381,7 @@ function record(options = {}) {
|
|
|
11359
11381
|
const handlers = [];
|
|
11360
11382
|
handlers.push(on$1('DOMContentLoaded', () => {
|
|
11361
11383
|
wrappedEmit(wrapEvent({
|
|
11362
|
-
type: EventType.DomContentLoaded,
|
|
11384
|
+
type: EventType$1.DomContentLoaded,
|
|
11363
11385
|
data: {},
|
|
11364
11386
|
}));
|
|
11365
11387
|
}));
|
|
@@ -11369,40 +11391,40 @@ function record(options = {}) {
|
|
|
11369
11391
|
onMutation,
|
|
11370
11392
|
mutationCb: wrappedMutationEmit,
|
|
11371
11393
|
mousemoveCb: (positions, source) => wrappedEmit(wrapEvent({
|
|
11372
|
-
type: EventType.IncrementalSnapshot,
|
|
11394
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11373
11395
|
data: {
|
|
11374
11396
|
source,
|
|
11375
11397
|
positions,
|
|
11376
11398
|
},
|
|
11377
11399
|
})),
|
|
11378
11400
|
mouseInteractionCb: (d) => wrappedEmit(wrapEvent({
|
|
11379
|
-
type: EventType.IncrementalSnapshot,
|
|
11401
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11380
11402
|
data: Object.assign({ source: IncrementalSource.MouseInteraction }, d),
|
|
11381
11403
|
})),
|
|
11382
11404
|
scrollCb: wrappedScrollEmit,
|
|
11383
11405
|
viewportResizeCb: (d) => wrappedEmit(wrapEvent({
|
|
11384
|
-
type: EventType.IncrementalSnapshot,
|
|
11406
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11385
11407
|
data: Object.assign({ source: IncrementalSource.ViewportResize }, d),
|
|
11386
11408
|
})),
|
|
11387
11409
|
inputCb: (v) => wrappedEmit(wrapEvent({
|
|
11388
|
-
type: EventType.IncrementalSnapshot,
|
|
11410
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11389
11411
|
data: Object.assign({ source: IncrementalSource.Input }, v),
|
|
11390
11412
|
})),
|
|
11391
11413
|
mediaInteractionCb: (p) => wrappedEmit(wrapEvent({
|
|
11392
|
-
type: EventType.IncrementalSnapshot,
|
|
11414
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11393
11415
|
data: Object.assign({ source: IncrementalSource.MediaInteraction }, p),
|
|
11394
11416
|
})),
|
|
11395
11417
|
styleSheetRuleCb: (r) => wrappedEmit(wrapEvent({
|
|
11396
|
-
type: EventType.IncrementalSnapshot,
|
|
11418
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11397
11419
|
data: Object.assign({ source: IncrementalSource.StyleSheetRule }, r),
|
|
11398
11420
|
})),
|
|
11399
11421
|
styleDeclarationCb: (r) => wrappedEmit(wrapEvent({
|
|
11400
|
-
type: EventType.IncrementalSnapshot,
|
|
11422
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11401
11423
|
data: Object.assign({ source: IncrementalSource.StyleDeclaration }, r),
|
|
11402
11424
|
})),
|
|
11403
11425
|
canvasMutationCb: wrappedCanvasMutationEmit,
|
|
11404
11426
|
fontCb: (p) => wrappedEmit(wrapEvent({
|
|
11405
|
-
type: EventType.IncrementalSnapshot,
|
|
11427
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11406
11428
|
data: Object.assign({ source: IncrementalSource.Font }, p),
|
|
11407
11429
|
})),
|
|
11408
11430
|
blockClass,
|
|
@@ -11435,7 +11457,7 @@ function record(options = {}) {
|
|
|
11435
11457
|
observer: p.observer,
|
|
11436
11458
|
options: p.options,
|
|
11437
11459
|
callback: (payload) => wrappedEmit(wrapEvent({
|
|
11438
|
-
type: EventType.Plugin,
|
|
11460
|
+
type: EventType$1.Plugin,
|
|
11439
11461
|
data: {
|
|
11440
11462
|
plugin: p.name,
|
|
11441
11463
|
payload,
|
|
@@ -11463,7 +11485,7 @@ function record(options = {}) {
|
|
|
11463
11485
|
else {
|
|
11464
11486
|
handlers.push(on$1('load', () => {
|
|
11465
11487
|
wrappedEmit(wrapEvent({
|
|
11466
|
-
type: EventType.Load,
|
|
11488
|
+
type: EventType$1.Load,
|
|
11467
11489
|
data: {},
|
|
11468
11490
|
}));
|
|
11469
11491
|
init();
|
|
@@ -11482,7 +11504,7 @@ record.addCustomEvent = (tag, payload) => {
|
|
|
11482
11504
|
throw new Error('please add custom event after start recording');
|
|
11483
11505
|
}
|
|
11484
11506
|
wrappedEmit(wrapEvent({
|
|
11485
|
-
type: EventType.Custom,
|
|
11507
|
+
type: EventType$1.Custom,
|
|
11486
11508
|
data: {
|
|
11487
11509
|
tag,
|
|
11488
11510
|
payload,
|
|
@@ -11637,6 +11659,14 @@ function t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0
|
|
|
11637
11659
|
|
|
11638
11660
|
function e(){const e=new Blob([r]);return URL.createObjectURL(e)}
|
|
11639
11661
|
|
|
11662
|
+
/**
|
|
11663
|
+
* Converts a timestamp to ms, if it was in s, or keeps it as ms.
|
|
11664
|
+
*/
|
|
11665
|
+
function timestampToMs(timestamp) {
|
|
11666
|
+
const isMs = timestamp > 9999999999;
|
|
11667
|
+
return isMs ? timestamp : timestamp * 1000;
|
|
11668
|
+
}
|
|
11669
|
+
|
|
11640
11670
|
/**
|
|
11641
11671
|
* A basic event buffer that does not do any compression.
|
|
11642
11672
|
* Used as fallback if the compression worker cannot be loaded or is disabled.
|
|
@@ -11653,20 +11683,19 @@ class EventBufferArray {
|
|
|
11653
11683
|
return this.events.length > 0;
|
|
11654
11684
|
}
|
|
11655
11685
|
|
|
11686
|
+
/** @inheritdoc */
|
|
11687
|
+
get type() {
|
|
11688
|
+
return 'sync';
|
|
11689
|
+
}
|
|
11690
|
+
|
|
11656
11691
|
/** @inheritdoc */
|
|
11657
11692
|
destroy() {
|
|
11658
11693
|
this.events = [];
|
|
11659
11694
|
}
|
|
11660
11695
|
|
|
11661
11696
|
/** @inheritdoc */
|
|
11662
|
-
async addEvent(event
|
|
11663
|
-
if (isCheckout) {
|
|
11664
|
-
this.events = [event];
|
|
11665
|
-
return;
|
|
11666
|
-
}
|
|
11667
|
-
|
|
11697
|
+
async addEvent(event) {
|
|
11668
11698
|
this.events.push(event);
|
|
11669
|
-
return;
|
|
11670
11699
|
}
|
|
11671
11700
|
|
|
11672
11701
|
/** @inheritdoc */
|
|
@@ -11680,6 +11709,22 @@ class EventBufferArray {
|
|
|
11680
11709
|
resolve(JSON.stringify(eventsRet));
|
|
11681
11710
|
});
|
|
11682
11711
|
}
|
|
11712
|
+
|
|
11713
|
+
/** @inheritdoc */
|
|
11714
|
+
clear() {
|
|
11715
|
+
this.events = [];
|
|
11716
|
+
}
|
|
11717
|
+
|
|
11718
|
+
/** @inheritdoc */
|
|
11719
|
+
getEarliestTimestamp() {
|
|
11720
|
+
const timestamp = this.events.map(event => event.timestamp).sort()[0];
|
|
11721
|
+
|
|
11722
|
+
if (!timestamp) {
|
|
11723
|
+
return null;
|
|
11724
|
+
}
|
|
11725
|
+
|
|
11726
|
+
return timestampToMs(timestamp);
|
|
11727
|
+
}
|
|
11683
11728
|
}
|
|
11684
11729
|
|
|
11685
11730
|
/**
|
|
@@ -11787,11 +11832,20 @@ class WorkerHandler {
|
|
|
11787
11832
|
* Exported only for testing.
|
|
11788
11833
|
*/
|
|
11789
11834
|
class EventBufferCompressionWorker {
|
|
11790
|
-
/** @inheritdoc */
|
|
11791
11835
|
|
|
11792
11836
|
constructor(worker) {
|
|
11793
11837
|
this._worker = new WorkerHandler(worker);
|
|
11794
|
-
this.
|
|
11838
|
+
this._earliestTimestamp = null;
|
|
11839
|
+
}
|
|
11840
|
+
|
|
11841
|
+
/** @inheritdoc */
|
|
11842
|
+
get hasEvents() {
|
|
11843
|
+
return !!this._earliestTimestamp;
|
|
11844
|
+
}
|
|
11845
|
+
|
|
11846
|
+
/** @inheritdoc */
|
|
11847
|
+
get type() {
|
|
11848
|
+
return 'worker';
|
|
11795
11849
|
}
|
|
11796
11850
|
|
|
11797
11851
|
/**
|
|
@@ -11814,13 +11868,10 @@ class EventBufferCompressionWorker {
|
|
|
11814
11868
|
*
|
|
11815
11869
|
* Returns true if event was successfuly received and processed by worker.
|
|
11816
11870
|
*/
|
|
11817
|
-
|
|
11818
|
-
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
-
// This event is a checkout, make sure worker buffer is cleared before
|
|
11822
|
-
// proceeding.
|
|
11823
|
-
await this._clear();
|
|
11871
|
+
addEvent(event) {
|
|
11872
|
+
const timestamp = timestampToMs(event.timestamp);
|
|
11873
|
+
if (!this._earliestTimestamp || timestamp < this._earliestTimestamp) {
|
|
11874
|
+
this._earliestTimestamp = timestamp;
|
|
11824
11875
|
}
|
|
11825
11876
|
|
|
11826
11877
|
return this._sendEventToWorker(event);
|
|
@@ -11833,6 +11884,18 @@ class EventBufferCompressionWorker {
|
|
|
11833
11884
|
return this._finishRequest();
|
|
11834
11885
|
}
|
|
11835
11886
|
|
|
11887
|
+
/** @inheritdoc */
|
|
11888
|
+
clear() {
|
|
11889
|
+
this._earliestTimestamp = null;
|
|
11890
|
+
// We do not wait on this, as we assume the order of messages is consistent for the worker
|
|
11891
|
+
void this._worker.postMessage('clear');
|
|
11892
|
+
}
|
|
11893
|
+
|
|
11894
|
+
/** @inheritdoc */
|
|
11895
|
+
getEarliestTimestamp() {
|
|
11896
|
+
return this._earliestTimestamp;
|
|
11897
|
+
}
|
|
11898
|
+
|
|
11836
11899
|
/**
|
|
11837
11900
|
* Send the event to the worker.
|
|
11838
11901
|
*/
|
|
@@ -11846,15 +11909,10 @@ class EventBufferCompressionWorker {
|
|
|
11846
11909
|
async _finishRequest() {
|
|
11847
11910
|
const response = await this._worker.postMessage('finish');
|
|
11848
11911
|
|
|
11849
|
-
this.
|
|
11912
|
+
this._earliestTimestamp = null;
|
|
11850
11913
|
|
|
11851
11914
|
return response;
|
|
11852
11915
|
}
|
|
11853
|
-
|
|
11854
|
-
/** Clear any pending events from the worker. */
|
|
11855
|
-
_clear() {
|
|
11856
|
-
return this._worker.postMessage('clear');
|
|
11857
|
-
}
|
|
11858
11916
|
}
|
|
11859
11917
|
|
|
11860
11918
|
/**
|
|
@@ -11872,6 +11930,11 @@ class EventBufferProxy {
|
|
|
11872
11930
|
this._ensureWorkerIsLoadedPromise = this._ensureWorkerIsLoaded();
|
|
11873
11931
|
}
|
|
11874
11932
|
|
|
11933
|
+
/** @inheritdoc */
|
|
11934
|
+
get type() {
|
|
11935
|
+
return this._used.type;
|
|
11936
|
+
}
|
|
11937
|
+
|
|
11875
11938
|
/** @inheritDoc */
|
|
11876
11939
|
get hasEvents() {
|
|
11877
11940
|
return this._used.hasEvents;
|
|
@@ -11883,13 +11946,23 @@ class EventBufferProxy {
|
|
|
11883
11946
|
this._compression.destroy();
|
|
11884
11947
|
}
|
|
11885
11948
|
|
|
11949
|
+
/** @inheritdoc */
|
|
11950
|
+
clear() {
|
|
11951
|
+
return this._used.clear();
|
|
11952
|
+
}
|
|
11953
|
+
|
|
11954
|
+
/** @inheritdoc */
|
|
11955
|
+
getEarliestTimestamp() {
|
|
11956
|
+
return this._used.getEarliestTimestamp();
|
|
11957
|
+
}
|
|
11958
|
+
|
|
11886
11959
|
/**
|
|
11887
11960
|
* Add an event to the event buffer.
|
|
11888
11961
|
*
|
|
11889
11962
|
* Returns true if event was successfully added.
|
|
11890
11963
|
*/
|
|
11891
|
-
addEvent(event
|
|
11892
|
-
return this._used.addEvent(event
|
|
11964
|
+
addEvent(event) {
|
|
11965
|
+
return this._used.addEvent(event);
|
|
11893
11966
|
}
|
|
11894
11967
|
|
|
11895
11968
|
/** @inheritDoc */
|
|
@@ -12190,10 +12263,7 @@ async function addEvent(
|
|
|
12190
12263
|
return null;
|
|
12191
12264
|
}
|
|
12192
12265
|
|
|
12193
|
-
|
|
12194
|
-
// requires coordination with frontend
|
|
12195
|
-
const isMs = event.timestamp > 9999999999;
|
|
12196
|
-
const timestampInMs = isMs ? event.timestamp : event.timestamp * 1000;
|
|
12266
|
+
const timestampInMs = timestampToMs(event.timestamp);
|
|
12197
12267
|
|
|
12198
12268
|
// Throw out events that happen more than 5 minutes ago. This can happen if
|
|
12199
12269
|
// page has been left open and idle for a long period of time and user
|
|
@@ -12203,15 +12273,12 @@ async function addEvent(
|
|
|
12203
12273
|
return null;
|
|
12204
12274
|
}
|
|
12205
12275
|
|
|
12206
|
-
// Only record earliest event if a new session was created, otherwise it
|
|
12207
|
-
// shouldn't be relevant
|
|
12208
|
-
const earliestEvent = replay.getContext().earliestEvent;
|
|
12209
|
-
if (replay.session && replay.session.segmentId === 0 && (!earliestEvent || timestampInMs < earliestEvent)) {
|
|
12210
|
-
replay.getContext().earliestEvent = timestampInMs;
|
|
12211
|
-
}
|
|
12212
|
-
|
|
12213
12276
|
try {
|
|
12214
|
-
|
|
12277
|
+
if (isCheckout) {
|
|
12278
|
+
replay.eventBuffer.clear();
|
|
12279
|
+
}
|
|
12280
|
+
|
|
12281
|
+
return await replay.eventBuffer.addEvent(event);
|
|
12215
12282
|
} catch (error) {
|
|
12216
12283
|
(typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && logger.error(error);
|
|
12217
12284
|
await replay.stop('addEvent');
|
|
@@ -12273,22 +12340,18 @@ function handleAfterSendEvent(replay) {
|
|
|
12273
12340
|
return;
|
|
12274
12341
|
}
|
|
12275
12342
|
|
|
12276
|
-
// Add error to list of errorIds of replay
|
|
12343
|
+
// Add error to list of errorIds of replay. This is ok to do even if not
|
|
12344
|
+
// sampled because context will get reset at next checkout.
|
|
12345
|
+
// XXX: There is also a race condition where it's possible to capture an
|
|
12346
|
+
// error to Sentry before Replay SDK has loaded, but response returns after
|
|
12347
|
+
// it was loaded, and this gets called.
|
|
12277
12348
|
if (event.event_id) {
|
|
12278
12349
|
replay.getContext().errorIds.add(event.event_id);
|
|
12279
12350
|
}
|
|
12280
12351
|
|
|
12281
|
-
//
|
|
12352
|
+
// If error event is tagged with replay id it means it was sampled (when in buffer mode)
|
|
12282
12353
|
// Need to be very careful that this does not cause an infinite loop
|
|
12283
|
-
if (
|
|
12284
|
-
replay.recordingMode === 'buffer' &&
|
|
12285
|
-
event.exception &&
|
|
12286
|
-
event.message !== UNABLE_TO_SEND_REPLAY // ignore this error because otherwise we could loop indefinitely with trying to capture replay and failing
|
|
12287
|
-
) {
|
|
12288
|
-
if (!isSampled(replay.getOptions().errorSampleRate)) {
|
|
12289
|
-
return;
|
|
12290
|
-
}
|
|
12291
|
-
|
|
12354
|
+
if (replay.recordingMode === 'buffer' && event.tags && event.tags.replayId) {
|
|
12292
12355
|
setTimeout(() => {
|
|
12293
12356
|
// Capture current event buffer as new replay
|
|
12294
12357
|
void replay.sendBufferedReplayOrFlush();
|
|
@@ -12352,7 +12415,7 @@ function addBreadcrumbEvent(replay, breadcrumb) {
|
|
|
12352
12415
|
|
|
12353
12416
|
replay.addUpdate(() => {
|
|
12354
12417
|
void addEvent(replay, {
|
|
12355
|
-
type: EventType.Custom,
|
|
12418
|
+
type: EventType$1.Custom,
|
|
12356
12419
|
// TODO: We were converting from ms to seconds for breadcrumbs, spans,
|
|
12357
12420
|
// but maybe we should just keep them as milliseconds
|
|
12358
12421
|
timestamp: (breadcrumb.timestamp || 0) * 1000,
|
|
@@ -12420,15 +12483,18 @@ const handleDomListener =
|
|
|
12420
12483
|
|
|
12421
12484
|
/**
|
|
12422
12485
|
* An event handler to react to DOM events.
|
|
12486
|
+
* Exported for tests only.
|
|
12423
12487
|
*/
|
|
12424
12488
|
function handleDom(handlerData) {
|
|
12425
12489
|
let target;
|
|
12426
12490
|
let targetNode;
|
|
12427
12491
|
|
|
12492
|
+
const isClick = handlerData.name === 'click';
|
|
12493
|
+
|
|
12428
12494
|
// Accessing event.target can throw (see getsentry/raven-js#838, #768)
|
|
12429
12495
|
try {
|
|
12430
|
-
targetNode = getTargetNode(handlerData);
|
|
12431
|
-
target = htmlTreeAsString(targetNode);
|
|
12496
|
+
targetNode = isClick ? getClickTargetNode(handlerData.event) : getTargetNode(handlerData.event);
|
|
12497
|
+
target = htmlTreeAsString(targetNode, { maxStringLength: 200 });
|
|
12432
12498
|
} catch (e) {
|
|
12433
12499
|
target = '<unknown>';
|
|
12434
12500
|
}
|
|
@@ -12462,12 +12528,29 @@ function handleDom(handlerData) {
|
|
|
12462
12528
|
});
|
|
12463
12529
|
}
|
|
12464
12530
|
|
|
12465
|
-
function getTargetNode(
|
|
12466
|
-
if (isEventWithTarget(
|
|
12467
|
-
return
|
|
12531
|
+
function getTargetNode(event) {
|
|
12532
|
+
if (isEventWithTarget(event)) {
|
|
12533
|
+
return event.target;
|
|
12468
12534
|
}
|
|
12469
12535
|
|
|
12470
|
-
return
|
|
12536
|
+
return event;
|
|
12537
|
+
}
|
|
12538
|
+
|
|
12539
|
+
const INTERACTIVE_SELECTOR = 'button,a';
|
|
12540
|
+
|
|
12541
|
+
// For clicks, we check if the target is inside of a button or link
|
|
12542
|
+
// If so, we use this as the target instead
|
|
12543
|
+
// This is useful because if you click on the image in <button><img></button>,
|
|
12544
|
+
// The target will be the image, not the button, which we don't want here
|
|
12545
|
+
function getClickTargetNode(event) {
|
|
12546
|
+
const target = getTargetNode(event);
|
|
12547
|
+
|
|
12548
|
+
if (!target || !(target instanceof Element)) {
|
|
12549
|
+
return target;
|
|
12550
|
+
}
|
|
12551
|
+
|
|
12552
|
+
const closestInteractive = target.closest(INTERACTIVE_SELECTOR);
|
|
12553
|
+
return closestInteractive || target;
|
|
12471
12554
|
}
|
|
12472
12555
|
|
|
12473
12556
|
function isEventWithTarget(event) {
|
|
@@ -12497,6 +12580,30 @@ function isRrwebError(event, hint) {
|
|
|
12497
12580
|
});
|
|
12498
12581
|
}
|
|
12499
12582
|
|
|
12583
|
+
/**
|
|
12584
|
+
* Determine if event should be sampled (only applies in buffer mode).
|
|
12585
|
+
* When an event is captured by `hanldleGlobalEvent`, when in buffer mode
|
|
12586
|
+
* we determine if we want to sample the error or not.
|
|
12587
|
+
*/
|
|
12588
|
+
function shouldSampleForBufferEvent(replay, event) {
|
|
12589
|
+
if (replay.recordingMode !== 'buffer') {
|
|
12590
|
+
return false;
|
|
12591
|
+
}
|
|
12592
|
+
|
|
12593
|
+
// ignore this error because otherwise we could loop indefinitely with
|
|
12594
|
+
// trying to capture replay and failing
|
|
12595
|
+
if (event.message === UNABLE_TO_SEND_REPLAY) {
|
|
12596
|
+
return false;
|
|
12597
|
+
}
|
|
12598
|
+
|
|
12599
|
+
// Require the event to be an error event & to have an exception
|
|
12600
|
+
if (!event.exception || event.type) {
|
|
12601
|
+
return false;
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
return isSampled(replay.getOptions().errorSampleRate);
|
|
12605
|
+
}
|
|
12606
|
+
|
|
12500
12607
|
/**
|
|
12501
12608
|
* Returns a listener to be added to `addGlobalEventProcessor(listener)`.
|
|
12502
12609
|
*/
|
|
@@ -12526,8 +12633,16 @@ function handleGlobalEventListener(
|
|
|
12526
12633
|
return null;
|
|
12527
12634
|
}
|
|
12528
12635
|
|
|
12529
|
-
//
|
|
12530
|
-
if
|
|
12636
|
+
// When in buffer mode, we decide to sample here.
|
|
12637
|
+
// Later, in `handleAfterSendEvent`, if the replayId is set, we know that we sampled
|
|
12638
|
+
// And convert the buffer session to a full session
|
|
12639
|
+
const isErrorEventSampled = shouldSampleForBufferEvent(replay, event);
|
|
12640
|
+
|
|
12641
|
+
// Tag errors if it has been sampled in buffer mode, or if it is session mode
|
|
12642
|
+
// Only tag transactions if in session mode
|
|
12643
|
+
const shouldTagReplayId = isErrorEventSampled || replay.recordingMode === 'session';
|
|
12644
|
+
|
|
12645
|
+
if (shouldTagReplayId) {
|
|
12531
12646
|
event.tags = { ...event.tags, replayId: replay.getSessionId() };
|
|
12532
12647
|
}
|
|
12533
12648
|
|
|
@@ -12577,7 +12692,7 @@ function createPerformanceSpans(
|
|
|
12577
12692
|
) {
|
|
12578
12693
|
return entries.map(({ type, start, end, name, data }) =>
|
|
12579
12694
|
addEvent(replay, {
|
|
12580
|
-
type: EventType.Custom,
|
|
12695
|
+
type: EventType$1.Custom,
|
|
12581
12696
|
timestamp: start,
|
|
12582
12697
|
data: {
|
|
12583
12698
|
tag: 'performanceSpan',
|
|
@@ -13909,7 +14024,8 @@ function addGlobalListeners(replay) {
|
|
|
13909
14024
|
client.on('afterSendEvent', handleAfterSendEvent(replay));
|
|
13910
14025
|
client.on('createDsc', (dsc) => {
|
|
13911
14026
|
const replayId = replay.getSessionId();
|
|
13912
|
-
|
|
14027
|
+
// We do not want to set the DSC when in buffer mode, as that means the replay has not been sent (yet)
|
|
14028
|
+
if (replayId && replay.isEnabled() && replay.recordingMode === 'session') {
|
|
13913
14029
|
dsc.replay_id = replayId;
|
|
13914
14030
|
}
|
|
13915
14031
|
});
|
|
@@ -14189,6 +14305,23 @@ function debounce(func, wait, options) {
|
|
|
14189
14305
|
return debounced;
|
|
14190
14306
|
}
|
|
14191
14307
|
|
|
14308
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14309
|
+
|
|
14310
|
+
var EventType; (function (EventType) {
|
|
14311
|
+
const DomContentLoaded = 0; EventType[EventType["DomContentLoaded"] = DomContentLoaded] = "DomContentLoaded";
|
|
14312
|
+
const Load = 1; EventType[EventType["Load"] = Load] = "Load";
|
|
14313
|
+
const FullSnapshot = 2; EventType[EventType["FullSnapshot"] = FullSnapshot] = "FullSnapshot";
|
|
14314
|
+
const IncrementalSnapshot = 3; EventType[EventType["IncrementalSnapshot"] = IncrementalSnapshot] = "IncrementalSnapshot";
|
|
14315
|
+
const Meta = 4; EventType[EventType["Meta"] = Meta] = "Meta";
|
|
14316
|
+
const Custom = 5; EventType[EventType["Custom"] = Custom] = "Custom";
|
|
14317
|
+
const Plugin = 6; EventType[EventType["Plugin"] = Plugin] = "Plugin";
|
|
14318
|
+
})(EventType || (EventType = {}));
|
|
14319
|
+
|
|
14320
|
+
/**
|
|
14321
|
+
* This is a partial copy of rrweb's eventWithTime type which only contains the properties
|
|
14322
|
+
* we specifcally need in the SDK.
|
|
14323
|
+
*/
|
|
14324
|
+
|
|
14192
14325
|
/**
|
|
14193
14326
|
* Handler for recording events.
|
|
14194
14327
|
*
|
|
@@ -14231,6 +14364,14 @@ function getHandleRecordingEmit(replay) {
|
|
|
14231
14364
|
return false;
|
|
14232
14365
|
}
|
|
14233
14366
|
|
|
14367
|
+
// Additionally, create a meta event that will capture certain SDK settings.
|
|
14368
|
+
// In order to handle buffer mode, this needs to either be done when we
|
|
14369
|
+
// receive checkout events or at flush time.
|
|
14370
|
+
//
|
|
14371
|
+
// `isCheckout` is always true, but want to be explicit that it should
|
|
14372
|
+
// only be added for checkouts
|
|
14373
|
+
void addSettingsEvent(replay, isCheckout);
|
|
14374
|
+
|
|
14234
14375
|
// If there is a previousSessionId after a full snapshot occurs, then
|
|
14235
14376
|
// the replay session was started due to session expiration. The new session
|
|
14236
14377
|
// is started before triggering a new checkout and contains the id
|
|
@@ -14241,10 +14382,10 @@ function getHandleRecordingEmit(replay) {
|
|
|
14241
14382
|
return true;
|
|
14242
14383
|
}
|
|
14243
14384
|
|
|
14244
|
-
//
|
|
14245
|
-
// checkout
|
|
14246
|
-
if (replay.recordingMode === 'buffer' && replay.session) {
|
|
14247
|
-
const
|
|
14385
|
+
// When in buffer mode, make sure we adjust the session started date to the current earliest event of the buffer
|
|
14386
|
+
// this should usually be the timestamp of the checkout event, but to be safe...
|
|
14387
|
+
if (replay.recordingMode === 'buffer' && replay.session && replay.eventBuffer) {
|
|
14388
|
+
const earliestEvent = replay.eventBuffer.getEarliestTimestamp();
|
|
14248
14389
|
if (earliestEvent) {
|
|
14249
14390
|
replay.session.started = earliestEvent;
|
|
14250
14391
|
|
|
@@ -14268,6 +14409,46 @@ function getHandleRecordingEmit(replay) {
|
|
|
14268
14409
|
};
|
|
14269
14410
|
}
|
|
14270
14411
|
|
|
14412
|
+
/**
|
|
14413
|
+
* Exported for tests
|
|
14414
|
+
*/
|
|
14415
|
+
function createOptionsEvent(replay) {
|
|
14416
|
+
const options = replay.getOptions();
|
|
14417
|
+
return {
|
|
14418
|
+
type: EventType.Custom,
|
|
14419
|
+
timestamp: Date.now(),
|
|
14420
|
+
data: {
|
|
14421
|
+
tag: 'options',
|
|
14422
|
+
payload: {
|
|
14423
|
+
sessionSampleRate: options.sessionSampleRate,
|
|
14424
|
+
errorSampleRate: options.errorSampleRate,
|
|
14425
|
+
useCompressionOption: options.useCompression,
|
|
14426
|
+
blockAllMedia: options.blockAllMedia,
|
|
14427
|
+
maskAllText: options.maskAllText,
|
|
14428
|
+
maskAllInputs: options.maskAllInputs,
|
|
14429
|
+
useCompression: replay.eventBuffer ? replay.eventBuffer.type === 'worker' : false,
|
|
14430
|
+
networkDetailHasUrls: options.networkDetailAllowUrls.length > 0,
|
|
14431
|
+
networkCaptureBodies: options.networkCaptureBodies,
|
|
14432
|
+
networkRequestHasHeaders: options.networkRequestHeaders.length > 0,
|
|
14433
|
+
networkResponseHasHeaders: options.networkResponseHeaders.length > 0,
|
|
14434
|
+
},
|
|
14435
|
+
},
|
|
14436
|
+
};
|
|
14437
|
+
}
|
|
14438
|
+
|
|
14439
|
+
/**
|
|
14440
|
+
* Add a "meta" event that contains a simplified view on current configuration
|
|
14441
|
+
* options. This should only be included on the first segment of a recording.
|
|
14442
|
+
*/
|
|
14443
|
+
function addSettingsEvent(replay, isCheckout) {
|
|
14444
|
+
// Only need to add this event when sending the first segment
|
|
14445
|
+
if (!isCheckout || !replay.session || replay.session.segmentId !== 0) {
|
|
14446
|
+
return Promise.resolve(null);
|
|
14447
|
+
}
|
|
14448
|
+
|
|
14449
|
+
return addEvent(replay, createOptionsEvent(replay), false);
|
|
14450
|
+
}
|
|
14451
|
+
|
|
14271
14452
|
/**
|
|
14272
14453
|
* Create a replay envelope ready to be sent.
|
|
14273
14454
|
* This includes both the replay event, as well as the recording data.
|
|
@@ -14382,7 +14563,6 @@ async function sendReplayRequest({
|
|
|
14382
14563
|
eventContext,
|
|
14383
14564
|
timestamp,
|
|
14384
14565
|
session,
|
|
14385
|
-
options,
|
|
14386
14566
|
}) {
|
|
14387
14567
|
const preparedRecordingData = prepareRecordingData({
|
|
14388
14568
|
recordingData,
|
|
@@ -14424,15 +14604,6 @@ async function sendReplayRequest({
|
|
|
14424
14604
|
return;
|
|
14425
14605
|
}
|
|
14426
14606
|
|
|
14427
|
-
replayEvent.contexts = {
|
|
14428
|
-
...replayEvent.contexts,
|
|
14429
|
-
replay: {
|
|
14430
|
-
...(replayEvent.contexts && replayEvent.contexts.replay),
|
|
14431
|
-
session_sample_rate: options.sessionSampleRate,
|
|
14432
|
-
error_sample_rate: options.errorSampleRate,
|
|
14433
|
-
},
|
|
14434
|
-
};
|
|
14435
|
-
|
|
14436
14607
|
/*
|
|
14437
14608
|
For reference, the fully built event looks something like this:
|
|
14438
14609
|
{
|
|
@@ -14463,10 +14634,6 @@ async function sendReplayRequest({
|
|
|
14463
14634
|
},
|
|
14464
14635
|
"sdkProcessingMetadata": {},
|
|
14465
14636
|
"contexts": {
|
|
14466
|
-
"replay": {
|
|
14467
|
-
"session_sample_rate": 1,
|
|
14468
|
-
"error_sample_rate": 0,
|
|
14469
|
-
},
|
|
14470
14637
|
},
|
|
14471
14638
|
}
|
|
14472
14639
|
*/
|
|
@@ -14650,7 +14817,6 @@ class ReplayContainer {
|
|
|
14650
14817
|
errorIds: new Set(),
|
|
14651
14818
|
traceIds: new Set(),
|
|
14652
14819
|
urls: [],
|
|
14653
|
-
earliestEvent: null,
|
|
14654
14820
|
initialTimestamp: Date.now(),
|
|
14655
14821
|
initialUrl: '',
|
|
14656
14822
|
};}
|
|
@@ -14660,7 +14826,7 @@ class ReplayContainer {
|
|
|
14660
14826
|
recordingOptions,
|
|
14661
14827
|
}
|
|
14662
14828
|
|
|
14663
|
-
) {ReplayContainer.prototype.__init.call(this);ReplayContainer.prototype.__init2.call(this);ReplayContainer.prototype.__init3.call(this);ReplayContainer.prototype.__init4.call(this);ReplayContainer.prototype.__init5.call(this);ReplayContainer.prototype.__init6.call(this);ReplayContainer.prototype.__init7.call(this);ReplayContainer.prototype.__init8.call(this);ReplayContainer.prototype.__init9.call(this);ReplayContainer.prototype.__init10.call(this);ReplayContainer.prototype.__init11.call(this);ReplayContainer.prototype.__init12.call(this);ReplayContainer.prototype.__init13.call(this);ReplayContainer.prototype.__init14.call(this);ReplayContainer.prototype.__init15.call(this);ReplayContainer.prototype.__init16.call(this);ReplayContainer.prototype.__init17.call(this);
|
|
14829
|
+
) {ReplayContainer.prototype.__init.call(this);ReplayContainer.prototype.__init2.call(this);ReplayContainer.prototype.__init3.call(this);ReplayContainer.prototype.__init4.call(this);ReplayContainer.prototype.__init5.call(this);ReplayContainer.prototype.__init6.call(this);ReplayContainer.prototype.__init7.call(this);ReplayContainer.prototype.__init8.call(this);ReplayContainer.prototype.__init9.call(this);ReplayContainer.prototype.__init10.call(this);ReplayContainer.prototype.__init11.call(this);ReplayContainer.prototype.__init12.call(this);ReplayContainer.prototype.__init13.call(this);ReplayContainer.prototype.__init14.call(this);ReplayContainer.prototype.__init15.call(this);ReplayContainer.prototype.__init16.call(this);ReplayContainer.prototype.__init17.call(this);ReplayContainer.prototype.__init18.call(this);
|
|
14664
14830
|
this._recordingOptions = recordingOptions;
|
|
14665
14831
|
this._options = options;
|
|
14666
14832
|
|
|
@@ -15152,6 +15318,7 @@ class ReplayContainer {
|
|
|
15152
15318
|
WINDOW.document.addEventListener('visibilitychange', this._handleVisibilityChange);
|
|
15153
15319
|
WINDOW.addEventListener('blur', this._handleWindowBlur);
|
|
15154
15320
|
WINDOW.addEventListener('focus', this._handleWindowFocus);
|
|
15321
|
+
WINDOW.addEventListener('keydown', this._handleKeyboardEvent);
|
|
15155
15322
|
|
|
15156
15323
|
// There is no way to remove these listeners, so ensure they are only added once
|
|
15157
15324
|
if (!this._hasInitializedCoreListeners) {
|
|
@@ -15180,6 +15347,7 @@ class ReplayContainer {
|
|
|
15180
15347
|
|
|
15181
15348
|
WINDOW.removeEventListener('blur', this._handleWindowBlur);
|
|
15182
15349
|
WINDOW.removeEventListener('focus', this._handleWindowFocus);
|
|
15350
|
+
WINDOW.removeEventListener('keydown', this._handleKeyboardEvent);
|
|
15183
15351
|
|
|
15184
15352
|
if (this._performanceObserver) {
|
|
15185
15353
|
this._performanceObserver.disconnect();
|
|
@@ -15230,6 +15398,11 @@ class ReplayContainer {
|
|
|
15230
15398
|
this._doChangeToForegroundTasks(breadcrumb);
|
|
15231
15399
|
};}
|
|
15232
15400
|
|
|
15401
|
+
/** Ensure page remains active when a key is pressed. */
|
|
15402
|
+
__init16() {this._handleKeyboardEvent = () => {
|
|
15403
|
+
this.triggerUserActivity();
|
|
15404
|
+
};}
|
|
15405
|
+
|
|
15233
15406
|
/**
|
|
15234
15407
|
* Tasks to run when we consider a page to be hidden (via blurring and/or visibility)
|
|
15235
15408
|
*/
|
|
@@ -15309,7 +15482,7 @@ class ReplayContainer {
|
|
|
15309
15482
|
_createCustomBreadcrumb(breadcrumb) {
|
|
15310
15483
|
this.addUpdate(() => {
|
|
15311
15484
|
void addEvent(this, {
|
|
15312
|
-
type: EventType.Custom,
|
|
15485
|
+
type: EventType$1.Custom,
|
|
15313
15486
|
timestamp: breadcrumb.timestamp || 0,
|
|
15314
15487
|
data: {
|
|
15315
15488
|
tag: 'breadcrumb',
|
|
@@ -15350,22 +15523,35 @@ class ReplayContainer {
|
|
|
15350
15523
|
this._context.errorIds.clear();
|
|
15351
15524
|
this._context.traceIds.clear();
|
|
15352
15525
|
this._context.urls = [];
|
|
15353
|
-
|
|
15526
|
+
}
|
|
15527
|
+
|
|
15528
|
+
/** Update the initial timestamp based on the buffer content. */
|
|
15529
|
+
_updateInitialTimestampFromEventBuffer() {
|
|
15530
|
+
const { session, eventBuffer } = this;
|
|
15531
|
+
if (!session || !eventBuffer) {
|
|
15532
|
+
return;
|
|
15533
|
+
}
|
|
15534
|
+
|
|
15535
|
+
// we only ever update this on the initial segment
|
|
15536
|
+
if (session.segmentId) {
|
|
15537
|
+
return;
|
|
15538
|
+
}
|
|
15539
|
+
|
|
15540
|
+
const earliestEvent = eventBuffer.getEarliestTimestamp();
|
|
15541
|
+
if (earliestEvent && earliestEvent < this._context.initialTimestamp) {
|
|
15542
|
+
this._context.initialTimestamp = earliestEvent;
|
|
15543
|
+
}
|
|
15354
15544
|
}
|
|
15355
15545
|
|
|
15356
15546
|
/**
|
|
15357
15547
|
* Return and clear _context
|
|
15358
15548
|
*/
|
|
15359
15549
|
_popEventContext() {
|
|
15360
|
-
if (this._context.earliestEvent && this._context.earliestEvent < this._context.initialTimestamp) {
|
|
15361
|
-
this._context.initialTimestamp = this._context.earliestEvent;
|
|
15362
|
-
}
|
|
15363
|
-
|
|
15364
15550
|
const _context = {
|
|
15365
15551
|
initialTimestamp: this._context.initialTimestamp,
|
|
15366
15552
|
initialUrl: this._context.initialUrl,
|
|
15367
|
-
errorIds: Array.from(this._context.errorIds)
|
|
15368
|
-
traceIds: Array.from(this._context.traceIds)
|
|
15553
|
+
errorIds: Array.from(this._context.errorIds),
|
|
15554
|
+
traceIds: Array.from(this._context.traceIds),
|
|
15369
15555
|
urls: this._context.urls,
|
|
15370
15556
|
};
|
|
15371
15557
|
|
|
@@ -15404,6 +15590,9 @@ class ReplayContainer {
|
|
|
15404
15590
|
}
|
|
15405
15591
|
|
|
15406
15592
|
try {
|
|
15593
|
+
// This uses the data from the eventBuffer, so we need to call this before `finish()
|
|
15594
|
+
this._updateInitialTimestampFromEventBuffer();
|
|
15595
|
+
|
|
15407
15596
|
// Note this empties the event buffer regardless of outcome of sending replay
|
|
15408
15597
|
const recordingData = await this.eventBuffer.finish();
|
|
15409
15598
|
|
|
@@ -15444,7 +15633,7 @@ class ReplayContainer {
|
|
|
15444
15633
|
* Flush recording data to Sentry. Creates a lock so that only a single flush
|
|
15445
15634
|
* can be active at a time. Do not call this directly.
|
|
15446
15635
|
*/
|
|
15447
|
-
|
|
15636
|
+
__init17() {this._flush = async ({
|
|
15448
15637
|
force = false,
|
|
15449
15638
|
}
|
|
15450
15639
|
|
|
@@ -15499,7 +15688,7 @@ class ReplayContainer {
|
|
|
15499
15688
|
}
|
|
15500
15689
|
|
|
15501
15690
|
/** Handler for rrweb.record.onMutation */
|
|
15502
|
-
|
|
15691
|
+
__init18() {this._onMutationHandler = (mutations) => {
|
|
15503
15692
|
const count = mutations.length;
|
|
15504
15693
|
|
|
15505
15694
|
const mutationLimit = this._options._experiments.mutationLimit || 0;
|
|
@@ -15738,6 +15927,8 @@ class Replay {
|
|
|
15738
15927
|
errorSampleRate,
|
|
15739
15928
|
useCompression,
|
|
15740
15929
|
blockAllMedia,
|
|
15930
|
+
maskAllInputs,
|
|
15931
|
+
maskAllText,
|
|
15741
15932
|
networkDetailAllowUrls,
|
|
15742
15933
|
networkCaptureBodies,
|
|
15743
15934
|
networkRequestHeaders: _getMergedNetworkHeaders(networkRequestHeaders),
|
|
@@ -24965,6 +25156,7 @@ var ACTIONS$7;
|
|
|
24965
25156
|
ACTIONS["SET_MEDIA_RECORDER"] = "SET_MEDIA_RECORDER";
|
|
24966
25157
|
ACTIONS["SET_MIC_ERROR"] = "SET_MIC_ERROR";
|
|
24967
25158
|
ACTIONS["SET_PERMISSION_LISTENER"] = "SET_PERMISSION_LISTENER";
|
|
25159
|
+
ACTIONS["SET_ACTIVELY_STOPPED"] = "SET_ACTIVELY_STOPPED";
|
|
24968
25160
|
})(ACTIONS$7 || (ACTIONS$7 = {}));
|
|
24969
25161
|
var EVENTS$6;
|
|
24970
25162
|
(function (EVENTS) {
|
|
@@ -25054,6 +25246,7 @@ const CAMERA_STATES = {
|
|
|
25054
25246
|
WAITING: 'WAITING',
|
|
25055
25247
|
ERROR: 'ERROR',
|
|
25056
25248
|
READY: 'READY',
|
|
25249
|
+
SKIP: 'SKIP',
|
|
25057
25250
|
};
|
|
25058
25251
|
const MICROPHONE_STATES = {
|
|
25059
25252
|
WAITING: 'WAITING',
|
|
@@ -25083,6 +25276,7 @@ var STATES$5;
|
|
|
25083
25276
|
STATES["SETUP__TEST__CAMERA__WAITING"] = "testCameraWaiting";
|
|
25084
25277
|
STATES["SETUP__TEST__CAMERA__ERROR"] = "testCameraError";
|
|
25085
25278
|
STATES["SETUP__TEST__CAMERA__SUCCESS"] = "testCameraSuccess";
|
|
25279
|
+
STATES["SETUP__TEST__CAMERA__SKIP"] = "testCameraSkip";
|
|
25086
25280
|
STATES["SETUP__TEST__MICROPHONE"] = "testMicrophone";
|
|
25087
25281
|
STATES["SETUP__TEST__MICROPHONE__WAITING"] = "testMicrophoneWaiting";
|
|
25088
25282
|
STATES["SETUP__TEST__MICROPHONE__ERROR"] = "testMicrophoneError";
|
|
@@ -25192,6 +25386,7 @@ var SERVICES$1;
|
|
|
25192
25386
|
})(SERVICES$1 || (SERVICES$1 = {}));
|
|
25193
25387
|
var GUARDS$3;
|
|
25194
25388
|
(function (GUARDS) {
|
|
25389
|
+
GUARDS["IS_VIDEO_RECORDING_SKIP"] = "isVideoRecordingSkip";
|
|
25195
25390
|
GUARDS["NO_STORAGE"] = "noStorage";
|
|
25196
25391
|
GUARDS["NO_RECORDER"] = "noRecorder";
|
|
25197
25392
|
GUARDS["IS_THINKING_TIME"] = "isThinkingTime";
|
|
@@ -29939,7 +30134,7 @@ const configGenerator = () => {
|
|
|
29939
30134
|
let release;
|
|
29940
30135
|
try {
|
|
29941
30136
|
environment !== null && environment !== void 0 ? environment : (environment = "staging");
|
|
29942
|
-
release !== null && release !== void 0 ? release : (release = "1.1.
|
|
30137
|
+
release !== null && release !== void 0 ? release : (release = "1.1.23");
|
|
29943
30138
|
}
|
|
29944
30139
|
catch (_a) {
|
|
29945
30140
|
console.error('sentry configGenerator error');
|
|
@@ -30454,7 +30649,7 @@ const DeviceSelectorList = ({ deviceList, selectedDevice, onDeviceSelected, devi
|
|
|
30454
30649
|
${device.deviceId === (selectedDevice === null || selectedDevice === void 0 ? void 0 : selectedDevice.deviceId) ? 'myinterview-widget-device__select-option--selected' : ''}`, size: "S-Regular", onClick: () => onDeviceSelected(deviceType, device.deviceId) }, device.label))))));
|
|
30455
30650
|
};
|
|
30456
30651
|
|
|
30457
|
-
const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices = [], selectedAudioDevice, selectedVideoDevice, myinterviewRef, }) => {
|
|
30652
|
+
const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices = [], selectedAudioDevice, selectedVideoDevice, myinterviewRef, recordWithoutVideo, }) => {
|
|
30458
30653
|
const menuRef = useRef(null);
|
|
30459
30654
|
const [isSettingsOpen, setSettingsOpen] = useState(false);
|
|
30460
30655
|
useEffect(() => {
|
|
@@ -30473,7 +30668,7 @@ const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices =
|
|
|
30473
30668
|
(_b = (_a = myinterviewRef === null || myinterviewRef === void 0 ? void 0 : myinterviewRef.current) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.removeEventListener('mousedown', checkIfClickedOutside);
|
|
30474
30669
|
};
|
|
30475
30670
|
}, [isSettingsOpen]);
|
|
30476
|
-
return isMobile
|
|
30671
|
+
return (isMobile && !recordWithoutVideo)
|
|
30477
30672
|
? (React__default.createElement("span", { className: "myinterview-widget-device myinterview-widget-device__mobile", onClick: () => handleDeviceChange(), role: "presentation" },
|
|
30478
30673
|
React__default.createElement(Ne, null)))
|
|
30479
30674
|
: (React__default.createElement("div", { ref: menuRef, className: "myinterview-widget-device myinterview-widget-device__desktop" },
|
|
@@ -30481,7 +30676,7 @@ const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices =
|
|
|
30481
30676
|
React__default.createElement(ke, null)),
|
|
30482
30677
|
isSettingsOpen && (React__default.createElement("div", { className: "myinterview-widget-device__modal" },
|
|
30483
30678
|
React__default.createElement("div", { className: "myinterview-widget-device__select-wrapper" },
|
|
30484
|
-
React__default.createElement(DeviceSelectorList, { deviceList: videoDevices, selectedDevice: selectedVideoDevice, onDeviceSelected: handleDeviceChange, deviceType: "video" }),
|
|
30679
|
+
!recordWithoutVideo && (React__default.createElement(DeviceSelectorList, { deviceList: videoDevices, selectedDevice: selectedVideoDevice, onDeviceSelected: handleDeviceChange, deviceType: "video" })),
|
|
30485
30680
|
React__default.createElement(DeviceSelectorList, { deviceList: audioDevices, selectedDevice: selectedAudioDevice, onDeviceSelected: handleDeviceChange, deviceType: "audio" }))))));
|
|
30486
30681
|
};
|
|
30487
30682
|
|
|
@@ -30544,14 +30739,15 @@ const PracticeMode = () => {
|
|
|
30544
30739
|
React__default.createElement(Qe, { size: "S-Regular", color: "primary" }, t('practice.title'))));
|
|
30545
30740
|
};
|
|
30546
30741
|
|
|
30547
|
-
const VideoCamera = React__default.forwardRef(({ isCameraDisplayed, microphoneRef, isPracticeModeDisplayed, errorType, isPermissionStepsOpen, onDisplayPermissionSteps, onClosePermissionSteps, onRecorderRetry, isRecorderCanChangeSettings, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, handleDeviceChange, canStartRecording, currentQuestion, numberOfQuestions, currentQuestionObj, isRecording, durations, recordingTime, isCountDown, countdown, isQuestionDisplayed, onReInitRecorder, myinterviewRef, isAssessment, }, videoRef) => (React__default.createElement("div", { className: `myinterview-widget-video-camera ${!isCameraDisplayed ? 'myinterview-widget-video-camera--hidden' : ''}` },
|
|
30548
|
-
React__default.createElement("
|
|
30742
|
+
const VideoCamera = React__default.forwardRef(({ recordWithoutVideo, isCameraDisplayed, microphoneRef, isPracticeModeDisplayed, errorType, isPermissionStepsOpen, onDisplayPermissionSteps, onClosePermissionSteps, onRecorderRetry, isRecorderCanChangeSettings, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, handleDeviceChange, canStartRecording, currentQuestion, numberOfQuestions, currentQuestionObj, isRecording, durations, recordingTime, isCountDown, countdown, isQuestionDisplayed, onReInitRecorder, myinterviewRef, isAssessment, }, videoRef) => (React__default.createElement("div", { className: `myinterview-widget-video-camera ${!isCameraDisplayed ? 'myinterview-widget-video-camera--hidden' : ''}` },
|
|
30743
|
+
recordWithoutVideo ? (React__default.createElement("div", { className: "myinterview-widget-video-camera__recording-without-video" },
|
|
30744
|
+
React__default.createElement(Se, null))) : React__default.createElement("video", { ref: videoRef, playsInline: true, autoPlay: true, disablePictureInPicture: true, controls: false, muted: true, hidden: isAssessment }),
|
|
30549
30745
|
canStartRecording && React__default.createElement(QuestionNumber, { currentQuestion: currentQuestion, numberOfQuestions: numberOfQuestions }),
|
|
30550
30746
|
isRecording && (React__default.createElement("div", { className: "myinterview-widget-video-camera__recording-counter-wrapper" },
|
|
30551
30747
|
React__default.createElement(Counter, { limit: durations, counter: recordingTime, isRecording: true }))),
|
|
30552
30748
|
microphoneRef && React__default.createElement(MicrophoneIndicator, { microphoneRef: microphoneRef }),
|
|
30553
30749
|
isPracticeModeDisplayed && React__default.createElement(PracticeMode, null),
|
|
30554
|
-
isRecorderCanChangeSettings && (React__default.createElement(DeviceSelector, { myinterviewRef: myinterviewRef, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange })),
|
|
30750
|
+
isRecorderCanChangeSettings && (React__default.createElement(DeviceSelector, { recordWithoutVideo: recordWithoutVideo, myinterviewRef: myinterviewRef, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange })),
|
|
30555
30751
|
isCountDown && React__default.createElement(CountDown, { countDown: countdown }),
|
|
30556
30752
|
((errorType && (!isPermissionStepsOpen || isMobile)) || (!isRecording && isQuestionDisplayed && (!(videoDevices === null || videoDevices === void 0 ? void 0 : videoDevices.length) || (currentQuestionObj)))) && (React__default.createElement(RecorderModal, { isRecording: isRecording, errorType: errorType, onDisplayPermissionSteps: onDisplayPermissionSteps, onReInitRecorder: onReInitRecorder, onRecorderRetry: onRecorderRetry, currentQuestionObj: currentQuestionObj, deviceList: audioDevices || [], selectedDevice: selectedAudioDevice, onDeviceSelected: handleDeviceChange, deviceType: "audio" })),
|
|
30557
30753
|
!isMobile && isPermissionStepsOpen && (React__default.createElement("div", { className: "myinterview-widget-video-camera__permissions" },
|
|
@@ -38819,7 +39015,7 @@ const InnerView = React__default.forwardRef(({ widgetMachine, sendToWidget, reco
|
|
|
38819
39015
|
const [isQuestionVideoWatched, setIsQuestionVideoWatched] = useState(false);
|
|
38820
39016
|
const innerRef = useRef(null);
|
|
38821
39017
|
const { previewRef, questions, currentQuestion, currentTake, recordingType, isConnected, checksState, widgetConfig, failedRecordingMessage, timer, } = widgetMachine.context;
|
|
38822
|
-
const { recordingTime, countdown, durations, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, microphoneRef, mediaStream, } = recorderMachine.context;
|
|
39018
|
+
const { recordingTime, countdown, durations, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, microphoneRef, mediaStream, recordWithoutVideo, } = recorderMachine.context;
|
|
38823
39019
|
const currentQuestionObj = questions[currentQuestion - 1];
|
|
38824
39020
|
const isAssessment = !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.answerType) && currentQuestionObj.answerType !== ANSWER_TYPES.VIDEO;
|
|
38825
39021
|
const isThinkingTime = isAssessment ? !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.partDuration) : !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.thinkingTime);
|
|
@@ -38862,7 +39058,7 @@ const InnerView = React__default.forwardRef(({ widgetMachine, sendToWidget, reco
|
|
|
38862
39058
|
}, [isUploadingState]);
|
|
38863
39059
|
useEffect(() => {
|
|
38864
39060
|
var _a, _b, _c;
|
|
38865
|
-
if (mediaStream) {
|
|
39061
|
+
if (mediaStream && !recordWithoutVideo) {
|
|
38866
39062
|
const settings = (_a = mediaStream.getVideoTracks()[0]) === null || _a === void 0 ? void 0 : _a.getSettings();
|
|
38867
39063
|
const { aspectRatio, width, height } = settings;
|
|
38868
39064
|
const _width = isMobile ? Math.min(Number(width), Number(height)) : Number(width);
|
|
@@ -38945,7 +39141,7 @@ const InnerView = React__default.forwardRef(({ widgetMachine, sendToWidget, reco
|
|
|
38945
39141
|
React__default.createElement("div", { ref: innerRef, className: innerClassNames },
|
|
38946
39142
|
React__default.createElement("div", { className: contentClasseNames },
|
|
38947
39143
|
isExplanationState && (React__default.createElement(Explanation, { isVideoQuestion: !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.videoQuestion), isAssessment: isAssessment, timeLimit: isAssessment ? currentQuestionObj.partDuration : currentQuestionObj.thinkingTime, answerType: currentQuestionObj.answerType || ANSWER_TYPES.VIDEO, duration: currentQuestionObj.partDuration, takes: currentQuestionObj.numOfRetakes })),
|
|
38948
|
-
React__default.createElement(VideoCamera, { myinterviewRef: myinterviewRef, ref: videoRef, microphoneRef: microphoneRef, isCameraDisplayed: isCameraDisplayed, isPracticeModeDisplayed: !isQuestionMode && isRecording, errorType: errorType, isPermissionStepsOpen: isSliderModalOpen, onDisplayPermissionSteps: onOpenSliderModal, onReInitRecorder: onReInitRecorder, onClosePermissionSteps: onCloseSliderModal, onRecorderRetry: isSetupState ? onRecorderRetry : onReInitRecorder, isRecorderCanChangeSettings: isRecorderCanChangeSettings, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange, canStartRecording: canStartRecording, currentQuestion: currentQuestion, numberOfQuestions: questions.length, currentQuestionObj: currentQuestionObj, isRecording: isRecording, durations: durations, recordingTime: recordingTime, isCountDown: isCountDown, countdown: countdown, isQuestionDisplayed: isQuestionDisplayed, isAssessment: isAssessment }),
|
|
39144
|
+
React__default.createElement(VideoCamera, { recordWithoutVideo: recordWithoutVideo, myinterviewRef: myinterviewRef, ref: videoRef, microphoneRef: microphoneRef, isCameraDisplayed: isCameraDisplayed, isPracticeModeDisplayed: !isQuestionMode && isRecording, errorType: errorType, isPermissionStepsOpen: isSliderModalOpen, onDisplayPermissionSteps: onOpenSliderModal, onReInitRecorder: onReInitRecorder, onClosePermissionSteps: onCloseSliderModal, onRecorderRetry: isSetupState ? onRecorderRetry : onReInitRecorder, isRecorderCanChangeSettings: isRecorderCanChangeSettings, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange, canStartRecording: canStartRecording, currentQuestion: currentQuestion, numberOfQuestions: questions.length, currentQuestionObj: currentQuestionObj, isRecording: isRecording, durations: durations, recordingTime: recordingTime, isCountDown: isCountDown, countdown: countdown, isQuestionDisplayed: isQuestionDisplayed, isAssessment: isAssessment }),
|
|
38949
39145
|
isAssessmentState && !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.answerType) && (currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.answerType) !== ANSWER_TYPES.VIDEO
|
|
38950
39146
|
&& (React__default.createElement(AssessmentController, { currentQuestionObj: currentQuestionObj, timer: timer, currentQuestion: currentQuestion, numberOfQuestions: questions.length, onSubmitAssessment: onSubmitAssessment })),
|
|
38951
39147
|
isTimesUpState && React__default.createElement(TimesUp, { onContinue: onContinue }),
|
|
@@ -39025,6 +39221,7 @@ const ICON_BY_CAMERA_STATE = {
|
|
|
39025
39221
|
WAITING: { el: React__default.createElement(Loading, null), color: 'neutral-20' },
|
|
39026
39222
|
ERROR: { el: React__default.createElement(be, null), color: 'error' },
|
|
39027
39223
|
READY: { el: React__default.createElement(Ae, null), color: 'success' },
|
|
39224
|
+
SKIP: { el: React__default.createElement(be, null), color: 'success' },
|
|
39028
39225
|
};
|
|
39029
39226
|
const ICON_BY_MICROPHONE_STATE = {
|
|
39030
39227
|
WAITING: { el: React__default.createElement(Loading, null), color: 'neutral-20' },
|
|
@@ -39037,14 +39234,14 @@ const ICON_BY_INTERNET_STATE = {
|
|
|
39037
39234
|
SLOW_CONNECTION: { el: React__default.createElement(be, null), color: 'success' },
|
|
39038
39235
|
CONNECTED: { el: React__default.createElement(Ae, null), color: 'success' },
|
|
39039
39236
|
};
|
|
39040
|
-
const SetupChecks = ({ checksState, checksMessages, canRetrySpeedTest, onRetry, }) => {
|
|
39237
|
+
const SetupChecks = ({ checksState, checksMessages, canRetrySpeedTest, onRetry, recordWithoutVideo, }) => {
|
|
39041
39238
|
const { t } = useTranslation();
|
|
39042
39239
|
return (React__default.createElement("div", { className: "myinterview-widget-checks" },
|
|
39043
|
-
React__default.createElement("div", { className: "myinterview-widget-checks__item" },
|
|
39240
|
+
!recordWithoutVideo && (React__default.createElement("div", { className: "myinterview-widget-checks__item" },
|
|
39044
39241
|
React__default.createElement("div", { className: `myinterview-widget-checks__icon color--${ICON_BY_CAMERA_STATE[checksState.camera].color}` }, ICON_BY_CAMERA_STATE[checksState.camera].el),
|
|
39045
39242
|
React__default.createElement("div", { className: "myinterview-widget-checks__text-wrapper" },
|
|
39046
39243
|
React__default.createElement(Qe, null, t('setup.camera.name')),
|
|
39047
|
-
React__default.createElement(Qe, { color: "neutral-50" }, t(checksMessages.camera)))),
|
|
39244
|
+
React__default.createElement(Qe, { color: "neutral-50" }, t(checksMessages.camera))))),
|
|
39048
39245
|
React__default.createElement("div", { className: "myinterview-widget-checks__item" },
|
|
39049
39246
|
React__default.createElement("div", { className: `myinterview-widget-checks__icon color--${ICON_BY_MICROPHONE_STATE[checksState.microphone].color}` }, ICON_BY_MICROPHONE_STATE[checksState.microphone].el),
|
|
39050
39247
|
React__default.createElement("div", { className: "myinterview-widget-checks__text-wrapper" },
|
|
@@ -39059,7 +39256,7 @@ const SetupChecks = ({ checksState, checksMessages, canRetrySpeedTest, onRetry,
|
|
|
39059
39256
|
canRetrySpeedTest && (React__default.createElement("button", { className: "myinterview-widget-checks__retry", onClick: onRetry, type: "button" }, t('buttons.btn_internet_test_again'))))))));
|
|
39060
39257
|
};
|
|
39061
39258
|
|
|
39062
|
-
const Setup = ({ widgetMachine, sendToWidget, isPracticeDisabled }) => {
|
|
39259
|
+
const Setup = ({ widgetMachine, sendToWidget, isPracticeDisabled, recordWithoutVideo }) => {
|
|
39063
39260
|
const canRetrySpeedTest = widgetMachine.nextEvents.includes(EVENTS$5.RETRY) && widgetMachine.context.speedTestResult < FAST_UPLOAD_SPEED;
|
|
39064
39261
|
const canStartInterview = widgetMachine.can(EVENTS$5.QUESTION_MODE);
|
|
39065
39262
|
const { isResumed } = widgetMachine.context;
|
|
@@ -39074,7 +39271,7 @@ const Setup = ({ widgetMachine, sendToWidget, isPracticeDisabled }) => {
|
|
|
39074
39271
|
});
|
|
39075
39272
|
return (React__default.createElement("div", { className: "myinterview-widget-outer__setup myinterview-widget--rtl-support" },
|
|
39076
39273
|
React__default.createElement(Qe, { className: "myinterview-widget-outer__title", size: "H2-Bold" }, t('setup.title')),
|
|
39077
|
-
React__default.createElement(SetupChecks, { checksState: widgetMachine.context.checksState, checksMessages: widgetMachine.context.checksMessage, canRetrySpeedTest: canRetrySpeedTest, onRetry: onRetry }),
|
|
39274
|
+
React__default.createElement(SetupChecks, { recordWithoutVideo: recordWithoutVideo, checksState: widgetMachine.context.checksState, checksMessages: widgetMachine.context.checksMessage, canRetrySpeedTest: canRetrySpeedTest, onRetry: onRetry }),
|
|
39078
39275
|
React__default.createElement("div", { className: "myinterview-widget-outer__mode-wrapper" },
|
|
39079
39276
|
!isPracticeDisabled && (React__default.createElement(C, { className: "myinterview-widget-outer__mode-button", onClick: () => sendToWidget(EVENTS$5.PRACTICE_MODE), backgroundColor: "special", disabled: !canStartInterview }, t('buttons.btn_practice'))),
|
|
39080
39277
|
React__default.createElement(C, { className: startButtonClassNames, color: "special", backgroundColor: "white", onClick: () => sendToWidget(EVENTS$5.QUESTION_MODE), disabled: !canStartInterview }, t(isResumed ? 'welcome.resumeInterview' : 'buttons.btn_start').toUpperCase()))));
|
|
@@ -39166,7 +39363,7 @@ const OuterView = ({ widgetMachine, sendToWidget, recorderRef }) => {
|
|
|
39166
39363
|
var _a;
|
|
39167
39364
|
const { questions, currentQuestion, widgetConfig: { job, video, company, config }, recordingType, isConnected, totalFileSize, totalUploadedFilesSize, totalUploadSpeed, } = widgetMachine.context;
|
|
39168
39365
|
const [recorderMachine] = useActor(recorderRef);
|
|
39169
|
-
const { countdown } = recorderMachine.context;
|
|
39366
|
+
const { countdown, recordWithoutVideo } = recorderMachine.context;
|
|
39170
39367
|
const currentQuestionObj = questions[currentQuestion - 1];
|
|
39171
39368
|
const isOuterViewDisplayed = widgetMachine.hasTag(TAGS.DISPLAY_OUTER_VIEW);
|
|
39172
39369
|
const isSetupState = widgetMachine.matches(STATES$5.SETUP);
|
|
@@ -39191,7 +39388,7 @@ const OuterView = ({ widgetMachine, sendToWidget, recorderRef }) => {
|
|
|
39191
39388
|
React__default.createElement(Header, { logo: (job === null || job === void 0 ? void 0 : job.logo) || '', companyName: (job === null || job === void 0 ? void 0 : job.company) || (company === null || company === void 0 ? void 0 : company.name) || '', jobTitle: (job === null || job === void 0 ? void 0 : job.title) || '', forDesktopLayout: true }),
|
|
39192
39389
|
isPracticeMode && !isSetupState && (React__default.createElement(PracticeModeInfo, null)),
|
|
39193
39390
|
isCountDown && React__default.createElement(CountDown, { countDown: countdown }),
|
|
39194
|
-
isSetupState && React__default.createElement(Setup, { widgetMachine: widgetMachine, sendToWidget: sendToWidget, isPracticeDisabled: !!config.disablePractice }),
|
|
39391
|
+
isSetupState && React__default.createElement(Setup, { recordWithoutVideo: recordWithoutVideo, widgetMachine: widgetMachine, sendToWidget: sendToWidget, isPracticeDisabled: !!config.disablePractice }),
|
|
39195
39392
|
isQuestionsListDisplayed && React__default.createElement(QuestionsList, { questions: questions, currentQuestion: currentQuestion, isPracticeMode: isPracticeMode, questionsStatus: questionsStatus }),
|
|
39196
39393
|
isQuestionDisplayed && React__default.createElement(Question, { questionObj: currentQuestionObj }),
|
|
39197
39394
|
(isUploadingState || isConfirmState) && (React__default.createElement(Upload, { isConnected: isConnected, totalFileSize: totalFileSize, totalUploadedFilesSize: totalUploadedFilesSize, totalUploadSpeed: totalUploadSpeed }))));
|
|
@@ -43023,7 +43220,9 @@ var AsapAction = (function (_super) {
|
|
|
43023
43220
|
var actions = scheduler.actions;
|
|
43024
43221
|
if (id != null && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) {
|
|
43025
43222
|
immediateProvider.clearImmediate(id);
|
|
43026
|
-
scheduler._scheduled
|
|
43223
|
+
if (scheduler._scheduled === id) {
|
|
43224
|
+
scheduler._scheduled = undefined;
|
|
43225
|
+
}
|
|
43027
43226
|
}
|
|
43028
43227
|
return undefined;
|
|
43029
43228
|
};
|
|
@@ -43515,6 +43714,7 @@ const initialState = {
|
|
|
43515
43714
|
isSafeMode: false,
|
|
43516
43715
|
isAutoStart: false,
|
|
43517
43716
|
isMicError: false,
|
|
43717
|
+
isActivelyStopped: false,
|
|
43518
43718
|
};
|
|
43519
43719
|
const recorderMachineV2 = createMachine({
|
|
43520
43720
|
predictableActionArguments: true,
|
|
@@ -43733,6 +43933,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43733
43933
|
on: {
|
|
43734
43934
|
[EVENTS$6.STOP_RECORDING]: {
|
|
43735
43935
|
actions: [
|
|
43936
|
+
ACTIONS$7.SET_ACTIVELY_STOPPED,
|
|
43736
43937
|
ACTIONS$7.STOP_COUNT_DOWN_ACTOR,
|
|
43737
43938
|
ACTIONS$7.STOP_MEDIA_RECORDER,
|
|
43738
43939
|
ACTIONS$7.STOP_MICROPHONE_MACHINE,
|
|
@@ -43833,21 +44034,22 @@ const recorderMachineV2 = createMachine({
|
|
|
43833
44034
|
try {
|
|
43834
44035
|
const audioDeviceId = context.selectedAudioDevice && context.selectedAudioDevice.deviceId;
|
|
43835
44036
|
const videoDeviceId = context.selectedVideoDevice && context.selectedVideoDevice.deviceId;
|
|
44037
|
+
const isVideoOff = () => !!context.recordWithoutVideo;
|
|
43836
44038
|
const defaultConstraint = {
|
|
43837
|
-
video:
|
|
44039
|
+
video: !isVideoOff(),
|
|
43838
44040
|
audio: true,
|
|
43839
44041
|
};
|
|
43840
44042
|
const mobileConstrains = {
|
|
43841
44043
|
audio: {
|
|
43842
44044
|
deviceId: audioDeviceId ? { exact: audioDeviceId } : undefined,
|
|
43843
44045
|
},
|
|
43844
|
-
video: Object.assign(Object.assign({}, context.constraint.video), {
|
|
44046
|
+
video: isVideoOff() ? false : Object.assign(Object.assign({}, context.constraint.video), { deviceId: videoDeviceId ? { exact: videoDeviceId } : undefined, aspectRatio: 16 / 9 }),
|
|
43845
44047
|
};
|
|
43846
44048
|
const desktopConstraints = {
|
|
43847
44049
|
audio: {
|
|
43848
44050
|
deviceId: audioDeviceId ? { exact: audioDeviceId } : undefined,
|
|
43849
44051
|
},
|
|
43850
|
-
video: Object.assign(Object.assign({}, context.constraint.video), { deviceId: videoDeviceId ? { exact: videoDeviceId } : undefined, aspectRatio: 16 / 9 }),
|
|
44052
|
+
video: isVideoOff() ? false : Object.assign(Object.assign({}, context.constraint.video), { deviceId: videoDeviceId ? { exact: videoDeviceId } : undefined, aspectRatio: 16 / 9 }),
|
|
43851
44053
|
};
|
|
43852
44054
|
const constraintCheck = () => {
|
|
43853
44055
|
if (context.isSafeMode)
|
|
@@ -43862,20 +44064,22 @@ const recorderMachineV2 = createMachine({
|
|
|
43862
44064
|
const audioDevices = devices.filter(({ kind }) => kind === 'audioinput');
|
|
43863
44065
|
let currentVideo;
|
|
43864
44066
|
let currentAudio;
|
|
43865
|
-
if (!isFireFox)
|
|
44067
|
+
if (!isVideoOff() && !isFireFox)
|
|
43866
44068
|
currentVideo = mediaStream.getVideoTracks()[0].getCapabilities();
|
|
44069
|
+
if (!isFireFox)
|
|
43867
44070
|
currentAudio = mediaStream.getAudioTracks()[0].getCapabilities();
|
|
43868
|
-
|
|
43869
|
-
const selectedVideoDevice = !isFireFox ? videoDevices
|
|
44071
|
+
const selectedVideoDevice = (!isFireFox && !isVideoOff()) ? videoDevices
|
|
43870
44072
|
.filter((device) => device.deviceId === currentVideo.deviceId)[0] : undefined; // TODO: use find instead of filter
|
|
43871
44073
|
const selectedAudioDevice = !isFireFox ? audioDevices
|
|
43872
44074
|
.filter((device) => device.deviceId === currentAudio.deviceId)[0] : undefined; // TODO: use find instead of filter
|
|
43873
44075
|
if (context.videoRef.current) {
|
|
43874
44076
|
context.videoRef.current.srcObject = mediaStream;
|
|
43875
44077
|
}
|
|
43876
|
-
|
|
44078
|
+
const [track] = isVideoOff() ? mediaStream.getAudioTracks() : mediaStream.getVideoTracks();
|
|
44079
|
+
const permissionName = isVideoOff() ? 'microphone' : 'camera';
|
|
44080
|
+
track.onended = (_event) => {
|
|
43877
44081
|
if ('permissions' in navigator && 'query' in navigator.permissions && !isFireFox) {
|
|
43878
|
-
navigator.permissions.query({ name:
|
|
44082
|
+
navigator.permissions.query({ name: permissionName })
|
|
43879
44083
|
.then((permissionStatus) => {
|
|
43880
44084
|
if (permissionStatus.state === 'denied') {
|
|
43881
44085
|
callback({ type: 'RECORDER_DEVICE_ERROR', data: recorderErrors.NotAllowedError });
|
|
@@ -43884,14 +44088,13 @@ const recorderMachineV2 = createMachine({
|
|
|
43884
44088
|
}
|
|
43885
44089
|
};
|
|
43886
44090
|
navigator.mediaDevices.ondevicechange = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
43887
|
-
var _a, _b;
|
|
44091
|
+
var _a, _b, _c;
|
|
43888
44092
|
const newDevices = yield navigator.mediaDevices.enumerateDevices();
|
|
43889
44093
|
const newVideoDevices = newDevices.filter(({ kind }) => kind === 'videoinput');
|
|
43890
44094
|
const newAudioDevices = newDevices.filter(({ kind }) => kind === 'audioinput');
|
|
43891
|
-
|
|
43892
|
-
|
|
43893
|
-
|
|
43894
|
-
|| (mediaStream.getAudioTracks()[0].readyState === 'ended' && ((_b = context.audioDevices) === null || _b === void 0 ? void 0 : _b.length) !== newAudioDevices.length)) {
|
|
44095
|
+
if ((mediaStream.getAudioTracks()[0].readyState === 'ended' && ((_a = context.audioDevices) === null || _a === void 0 ? void 0 : _a.length) !== newAudioDevices.length)
|
|
44096
|
+
|| (!isVideoOff() && ((mediaStream.getVideoTracks()[0].readyState === 'ended' && ((_b = context.videoDevices) === null || _b === void 0 ? void 0 : _b.length) !== newVideoDevices.length)
|
|
44097
|
+
|| (mediaStream.getAudioTracks()[0].readyState === 'ended' && ((_c = context.audioDevices) === null || _c === void 0 ? void 0 : _c.length) !== newAudioDevices.length)))) {
|
|
43895
44098
|
callback({ type: EVENTS$6.UPDATE_CURRENT_DEVICE, data: recorderErrors.NotAllowedError });
|
|
43896
44099
|
}
|
|
43897
44100
|
callback({ type: EVENTS$6.UPDATE_DEVICES_LIST, data: { newVideoDevices, newAudioDevices } });
|
|
@@ -43905,7 +44108,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43905
44108
|
}
|
|
43906
44109
|
}),
|
|
43907
44110
|
[SERVICES$2.GET_MEDIA_RECORDER]: (context) => (callback) => __awaiter(void 0, void 0, void 0, function* () {
|
|
43908
|
-
var
|
|
44111
|
+
var _d;
|
|
43909
44112
|
const { mediaStream, mimeType, videoBitsPerSecond } = context;
|
|
43910
44113
|
let startTime;
|
|
43911
44114
|
let pausedTime;
|
|
@@ -43945,7 +44148,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43945
44148
|
webm = new File([blob], Date.now().toString(), {
|
|
43946
44149
|
type: mimeType,
|
|
43947
44150
|
});
|
|
43948
|
-
callback({ type:
|
|
44151
|
+
callback({ type: EVENTS$6.SEND_CURRENT_TAKE, data: { webm, videoLength } });
|
|
43949
44152
|
})
|
|
43950
44153
|
.catch((error) => {
|
|
43951
44154
|
console.error('fixVideoMetadata', error);
|
|
@@ -43967,7 +44170,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43967
44170
|
};
|
|
43968
44171
|
mediaRecorder.start(10000);
|
|
43969
44172
|
callback({ type: EVENTS$6.SET_MEDIA_RECORDER, data: mediaRecorder });
|
|
43970
|
-
emitTrackEvent({ eventType: 'cameraInitialized', extraData: { label: (
|
|
44173
|
+
emitTrackEvent({ eventType: 'cameraInitialized', extraData: { label: (_d = context.selectedVideoDevice) === null || _d === void 0 ? void 0 : _d.label } });
|
|
43971
44174
|
if (context.isMicError)
|
|
43972
44175
|
callback(EVENTS$6.PAUSE_MEDIA_RECORDER);
|
|
43973
44176
|
return () => {
|
|
@@ -43994,6 +44197,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43994
44197
|
[ACTIONS$7.INIT_COUNT_DOWN_ACTOR]: assign$2({
|
|
43995
44198
|
countDownRef: (context, event, meta) => spawn(counterMachine.withContext(Object.assign(Object.assign({}, counterMachine.context), { callback: meta.action.data.callback })), { name: 'countDownRef' }),
|
|
43996
44199
|
}),
|
|
44200
|
+
[ACTIONS$7.SET_ACTIVELY_STOPPED]: assign$2((context) => ({ isActivelyStopped: true })),
|
|
43997
44201
|
[ACTIONS$7.STOP_COUNT_DOWN_ACTOR]: assign$2((context) => {
|
|
43998
44202
|
context.countDownRef.stop();
|
|
43999
44203
|
return {
|
|
@@ -44064,7 +44268,7 @@ const recorderMachineV2 = createMachine({
|
|
|
44064
44268
|
// send success event to the parent, to be able to proceed to the next step
|
|
44065
44269
|
[ACTIONS$7.SEND_SUCCESS_TO_PARENT]: sendParent$1((context, event) => (Object.assign(Object.assign({}, event), { type: EVENTS$5.READY_TO_START_RECORDING }))),
|
|
44066
44270
|
// on stop recording send webm file to storage machine
|
|
44067
|
-
[ACTIONS$7.SEND_CURRENT_TAKE]: sendParent$1((
|
|
44271
|
+
[ACTIONS$7.SEND_CURRENT_TAKE]: sendParent$1(({ isActivelyStopped }, event) => (Object.assign(Object.assign({}, event), { type: EVENTS$5.STOP_RECORDING, data: Object.assign(Object.assign({}, event.data), { isActivelyStopped }) }))),
|
|
44068
44272
|
// send null param to mic machine to be able to stop sound detecting
|
|
44069
44273
|
[ACTIONS$7.STOP_MICROPHONE_MACHINE]: send$2((_, _event) => ({ type: EVENTS$3.ON_SET_MEDIA_STREAM, data: null }), { to: (context) => context.microphoneRef }),
|
|
44070
44274
|
// clean mic error, this is really sensitive, !! a lot of user can't start recording coz of it
|
|
@@ -44139,13 +44343,13 @@ const recorderMachineV2 = createMachine({
|
|
|
44139
44343
|
[ACTIONS$7.UPDATE_RECORDING_TIME]: assign$2({
|
|
44140
44344
|
recordingTime: (context) => context.recordingTime + 1,
|
|
44141
44345
|
}),
|
|
44142
|
-
[ACTIONS$7.UPDATE_MACHINE_FOR_NEW_QUESTION]: assign$2((context, _event) => (Object.assign(Object.assign({}, initialState), { selectedAudioDevice: context.selectedAudioDevice, selectedVideoDevice: context.selectedVideoDevice, videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, facingMode: context.facingMode }))),
|
|
44346
|
+
[ACTIONS$7.UPDATE_MACHINE_FOR_NEW_QUESTION]: assign$2((context, _event) => (Object.assign(Object.assign({}, initialState), { selectedAudioDevice: context.selectedAudioDevice, selectedVideoDevice: context.selectedVideoDevice, videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, facingMode: context.facingMode, recordWithoutVideo: context.recordWithoutVideo }))),
|
|
44143
44347
|
[ACTIONS$7.DISABLED_AUTO_START]: assign$2({
|
|
44144
44348
|
isAutoStart: (_, _event) => false,
|
|
44145
44349
|
}),
|
|
44146
44350
|
[ACTIONS$7.RESET_MACHINE]: assign$2((context, event) => {
|
|
44147
44351
|
var _a;
|
|
44148
|
-
return (Object.assign(Object.assign({}, initialState), { videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, isAutoStart: ((_a = event.data) === null || _a === void 0 ? void 0 : _a.isAutoStart) || context.isAutoStart }));
|
|
44352
|
+
return (Object.assign(Object.assign({}, initialState), { videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, isAutoStart: ((_a = event.data) === null || _a === void 0 ? void 0 : _a.isAutoStart) || context.isAutoStart, recordWithoutVideo: context.recordWithoutVideo }));
|
|
44149
44353
|
}),
|
|
44150
44354
|
[ACTIONS$7.STOP_MEDIA_RECORDER]: assign$2({
|
|
44151
44355
|
mediaRecorder: (context) => {
|
|
@@ -44524,6 +44728,7 @@ const CAMERA_STATES_MESSAGES = {
|
|
|
44524
44728
|
WAITING: 'setup.camera.WAITING',
|
|
44525
44729
|
ERROR: 'setup.camera.ERROR',
|
|
44526
44730
|
READY: 'setup.camera.READY',
|
|
44731
|
+
SKIP: 'setup.camera.SKIP',
|
|
44527
44732
|
};
|
|
44528
44733
|
const MICROPHONE_STATES_MESSAGES = {
|
|
44529
44734
|
WAITING: 'setup.microphone.WAITING',
|
|
@@ -44560,6 +44765,7 @@ var DEBUG;
|
|
|
44560
44765
|
DEBUG["WELCOME_PAGE_STAGE"] = "In welcome page stage";
|
|
44561
44766
|
DEBUG["SETUP_STAGE"] = "In setup stage";
|
|
44562
44767
|
DEBUG["MEIDA_DEVICE_SUCCESS"] = "Media device available";
|
|
44768
|
+
DEBUG["MEDIA_DEVICE_SWITCH_OFF"] = "Media device is off";
|
|
44563
44769
|
DEBUG["MEDIA_DEVICE_ERROR"] = "Media device error";
|
|
44564
44770
|
DEBUG["NO_SOUND_DETECTED"] = "No sound detected";
|
|
44565
44771
|
DEBUG["DEVICE_CHANGED"] = "Device changed";
|
|
@@ -44593,7 +44799,7 @@ const MAPPED_EVENT_TYPES = {
|
|
|
44593
44799
|
PRACTICE: EVENT_TYPES.TIMES_UP,
|
|
44594
44800
|
},
|
|
44595
44801
|
};
|
|
44596
|
-
const questionEventFormatter = (questionActionType) => pure_1(({ recordingType, questions, currentQuestion, widgetConfig, currentTake }) => {
|
|
44802
|
+
const questionEventFormatter = (questionActionType) => pure_1(({ recordingType, questions, currentQuestion, widgetConfig, currentTake }, event) => {
|
|
44597
44803
|
var _a, _b;
|
|
44598
44804
|
const isQuestionMode = recordingType === TAKE_TYPES.QUESTION;
|
|
44599
44805
|
const currentQuestionFile = isQuestionMode ? (_b = (_a = widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.video) === null || _a === void 0 ? void 0 : _a.videos) === null || _b === void 0 ? void 0 : _b[currentQuestion - 1] : null;
|
|
@@ -44601,10 +44807,11 @@ const questionEventFormatter = (questionActionType) => pure_1(({ recordingType,
|
|
|
44601
44807
|
const isAssessment = currentQuestionObj.answerType && currentQuestionObj.answerType !== ANSWER_TYPES.VIDEO;
|
|
44602
44808
|
return {
|
|
44603
44809
|
type: ACTIONS$6.EMIT_TRACKING_EVENT,
|
|
44604
|
-
data: Object.assign({ eventType: isQuestionMode ? MAPPED_EVENT_TYPES[questionActionType].QUESTION : MAPPED_EVENT_TYPES[questionActionType].PRACTICE }, (currentQuestionFile && { extraData: Object.assign(Object.assign(
|
|
44810
|
+
data: Object.assign({ eventType: isQuestionMode ? MAPPED_EVENT_TYPES[questionActionType].QUESTION : MAPPED_EVENT_TYPES[questionActionType].PRACTICE }, (currentQuestionFile && { extraData: Object.assign(Object.assign({ questionFilename: currentQuestionFile.filename, questionNumber: currentQuestion }, (!isAssessment && {
|
|
44605
44811
|
currentTake,
|
|
44606
44812
|
numberOfTakes: currentQuestionObj.numOfRetakes,
|
|
44607
|
-
|
|
44813
|
+
isActivelyStopped: (event.data || {}).isActivelyStopped,
|
|
44814
|
+
})), { questionType: currentQuestionObj.videoQuestion ? 'video' : 'text', answerType: currentQuestionObj.answerType || ANSWER_TYPES.VIDEO }) })),
|
|
44608
44815
|
};
|
|
44609
44816
|
});
|
|
44610
44817
|
const accWidgetMachine = createMachine({
|
|
@@ -44774,10 +44981,17 @@ const accWidgetMachine = createMachine({
|
|
|
44774
44981
|
target: `.${STATES$5.SETUP__TEST__CAMERA__ERROR}`,
|
|
44775
44982
|
cond: GUARDS$3.IS_VIDEO_ERROR,
|
|
44776
44983
|
},
|
|
44777
|
-
[EVENTS$5.READY_TO_START_RECORDING]:
|
|
44778
|
-
|
|
44779
|
-
|
|
44780
|
-
|
|
44984
|
+
[EVENTS$5.READY_TO_START_RECORDING]: [
|
|
44985
|
+
{
|
|
44986
|
+
actions: [{ type: ACTIONS$6.CONSOLE_DEBUG, data: { message: `CAMERA: ${DEBUG.MEDIA_DEVICE_SWITCH_OFF}` } }],
|
|
44987
|
+
target: `.${STATES$5.SETUP__TEST__CAMERA__SKIP}`,
|
|
44988
|
+
cond: GUARDS$3.IS_VIDEO_RECORDING_SKIP,
|
|
44989
|
+
},
|
|
44990
|
+
{
|
|
44991
|
+
actions: [{ type: ACTIONS$6.CONSOLE_DEBUG, data: { message: `CAMERA: ${DEBUG.MEIDA_DEVICE_SUCCESS}` } }],
|
|
44992
|
+
target: `.${STATES$5.SETUP__TEST__CAMERA__SUCCESS}`,
|
|
44993
|
+
},
|
|
44994
|
+
],
|
|
44781
44995
|
},
|
|
44782
44996
|
states: {
|
|
44783
44997
|
[STATES$5.SETUP__TEST__CAMERA__WAITING]: {
|
|
@@ -44789,6 +45003,9 @@ const accWidgetMachine = createMachine({
|
|
|
44789
45003
|
[STATES$5.SETUP__TEST__CAMERA__SUCCESS]: {
|
|
44790
45004
|
entry: [{ type: ACTIONS$6.SET_CHECKS, data: { key: 'camera', state: CAMERA_STATES.READY, message: CAMERA_STATES_MESSAGES.READY } }],
|
|
44791
45005
|
},
|
|
45006
|
+
[STATES$5.SETUP__TEST__CAMERA__SKIP]: {
|
|
45007
|
+
entry: [{ type: ACTIONS$6.SET_CHECKS, data: { key: 'camera', state: CAMERA_STATES.SKIP, message: CAMERA_STATES_MESSAGES.READY } }],
|
|
45008
|
+
},
|
|
44792
45009
|
},
|
|
44793
45010
|
},
|
|
44794
45011
|
[STATES$5.SETUP__TEST__MICROPHONE]: {
|
|
@@ -45308,7 +45525,7 @@ const accWidgetMachine = createMachine({
|
|
|
45308
45525
|
storageRef: spawn(storageMachine, { name: 'storage' }),
|
|
45309
45526
|
})),
|
|
45310
45527
|
[ACTIONS$6.SPAWN_RECORDER]: assign$2((context) => ({
|
|
45311
|
-
recorderRef: spawn(recorderMachineV2.withContext(Object.assign(Object.assign({}, recorderMachineV2.context), { videoRef: context.videoRef, speedTestLevel: SPEED_TEST_LEVEL.HIGH })), { name: 'recorder' }),
|
|
45528
|
+
recorderRef: spawn(recorderMachineV2.withContext(Object.assign(Object.assign({}, recorderMachineV2.context), { videoRef: context.videoRef, speedTestLevel: SPEED_TEST_LEVEL.HIGH, recordWithoutVideo: context.widgetConfig.config.recordWithoutVideo })), { name: 'recorder' }),
|
|
45312
45529
|
})),
|
|
45313
45530
|
[ACTIONS$6.SPAWN_PREVIEW]: assign$2((_) => ({
|
|
45314
45531
|
previewRef: spawn(previewMachine, { name: 'preview' }),
|
|
@@ -45458,6 +45675,7 @@ const accWidgetMachine = createMachine({
|
|
|
45458
45675
|
},
|
|
45459
45676
|
},
|
|
45460
45677
|
guards: {
|
|
45678
|
+
[GUARDS$3.IS_VIDEO_RECORDING_SKIP]: ({ widgetConfig }) => !!widgetConfig.config.recordWithoutVideo,
|
|
45461
45679
|
[GUARDS$3.NO_STORAGE]: ({ storageRef }) => !storageRef,
|
|
45462
45680
|
[GUARDS$3.NO_RECORDER]: ({ recorderRef }) => !recorderRef,
|
|
45463
45681
|
[GUARDS$3.IS_THINKING_TIME]: ({ questions, currentQuestion }) => {
|
|
@@ -45474,7 +45692,7 @@ const accWidgetMachine = createMachine({
|
|
|
45474
45692
|
[GUARDS$3.CAN_RETEST_SPEED_CONNECTION]: ({ speedTestResult }) => (speedTestResult || 0) < FAST_UPLOAD_SPEED,
|
|
45475
45693
|
[GUARDS$3.IS_CONNECTED]: ({ isConnected }) => isConnected,
|
|
45476
45694
|
[GUARDS$3.IS_DISCONNECTED]: ({ isConnected }) => !isConnected,
|
|
45477
|
-
[GUARDS$3.CAN_START_INTERVIEW]: ({ checksState }) => checksState.camera === CAMERA_STATES.READY && checksState.microphone === MICROPHONE_STATES.READY && [INTERNET_STATES.CONNECTED, INTERNET_STATES.SLOW_CONNECTION].includes(checksState.internet),
|
|
45695
|
+
[GUARDS$3.CAN_START_INTERVIEW]: ({ checksState }) => (checksState.camera === CAMERA_STATES.READY || checksState.camera === CAMERA_STATES.SKIP) && checksState.microphone === MICROPHONE_STATES.READY && [INTERNET_STATES.CONNECTED, INTERNET_STATES.SLOW_CONNECTION].includes(checksState.internet),
|
|
45478
45696
|
[GUARDS$3.ARE_ALL_QUESTIONS_UPLOADED]: ({ widgetConfig }) => { var _a, _b; return !!((_b = (_a = widgetConfig.video) === null || _a === void 0 ? void 0 : _a.videos) === null || _b === void 0 ? void 0 : _b.every((video) => video.uploaded)); },
|
|
45479
45697
|
[GUARDS$3.SHOULD_SHOW_WELCOME]: ({ widgetConfig }) => !!widgetConfig.config.introVideo || !!widgetConfig.config.welcomeTitle || !!widgetConfig.config.welcomeText,
|
|
45480
45698
|
[GUARDS$3.IS_NO_SOUND_ERROR]: (_, { data }) => data.code === MICROPHONE_NO_SOUND_ERROR_CODE,
|
|
@@ -48076,7 +48294,7 @@ const Main = ({ widgetConfig, setShouldShowWaterMark, myinterviewRef, isWidgetMi
|
|
|
48076
48294
|
isMobile && (React__default.createElement(SliderModal, { isOpen: isSliderModalOpen, onClose: () => setIsSliderModalOpen(false), onRetry: isSetupState ? onRecorderRetry : onReInitRecorder }))));
|
|
48077
48295
|
};
|
|
48078
48296
|
|
|
48079
|
-
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap\");:host,:root,html[data-theme=light]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#fff;--color-black:#000;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(50.24deg,#135 -146.43%,#557ede -0.68%,#6690ff 75.97%)}html[data-theme=dark]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#222;--color-black:#ddd;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(135deg,#51beff,#6690ff)}.color--primary{color:var(--color-primary)}.background-color--primary{background-color:var(--color-primary)}.border-color--primary{border-color:var(--color-primary)}.color--secondary{color:var(--color-secondary)}.background-color--secondary{background-color:var(--color-secondary)}.border-color--secondary{border-color:var(--color-secondary)}.color--premium{color:var(--color-premium)}.background-color--premium{background-color:var(--color-premium)}.border-color--premium{border-color:var(--color-premium)}.color--special{color:var(--color-special)}.background-color--special{background-color:var(--color-special)}.border-color--special{border-color:var(--color-special)}.color--neutral-10{color:var(--color-neutral-10)}.background-color--neutral-10{background-color:var(--color-neutral-10)}.border-color--neutral-10{border-color:var(--color-neutral-10)}.color--neutral-20{color:var(--color-neutral-20)}.background-color--neutral-20{background-color:var(--color-neutral-20)}.border-color--neutral-20{border-color:var(--color-neutral-20)}.color--neutral-30{color:var(--color-neutral-30)}.background-color--neutral-30{background-color:var(--color-neutral-30)}.border-color--neutral-30{border-color:var(--color-neutral-30)}.color--neutral-40{color:var(--color-neutral-40)}.background-color--neutral-40{background-color:var(--color-neutral-40)}.border-color--neutral-40{border-color:var(--color-neutral-40)}.color--neutral-50{color:var(--color-neutral-50)}.background-color--neutral-50{background-color:var(--color-neutral-50)}.border-color--neutral-50{border-color:var(--color-neutral-50)}.color--neutral-60{color:var(--color-neutral-60)}.background-color--neutral-60{background-color:var(--color-neutral-60)}.border-color--neutral-60{border-color:var(--color-neutral-60)}.color--neutral-70{color:var(--color-neutral-70)}.background-color--neutral-70{background-color:var(--color-neutral-70)}.border-color--neutral-70{border-color:var(--color-neutral-70)}.color--neutral-90{color:var(--color-neutral-90)}.background-color--neutral-90{background-color:var(--color-neutral-90)}.border-color--neutral-90{border-color:var(--color-neutral-90)}.color--white{color:var(--color-white)}.background-color--white{background-color:var(--color-white)}.border-color--white{border-color:var(--color-white)}.color--black{color:var(--color-black)}.background-color--black{background-color:var(--color-black)}.border-color--black{border-color:var(--color-black)}.color--success{color:var(--color-success)}.background-color--success{background-color:var(--color-success)}.border-color--success{border-color:var(--color-success)}.color--warning{color:var(--color-warning)}.background-color--warning{background-color:var(--color-warning)}.border-color--warning{border-color:var(--color-warning)}.color--error{color:var(--color-error)}.background-color--error{background-color:var(--color-error)}.border-color--error{border-color:var(--color-error)}.color--info{color:var(--color-info)}.background-color--info{background-color:var(--color-info)}.border-color--info{border-color:var(--color-info)}.background-color--malibu{background:var(--color-malibu)}*{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0;outline:none;padding:0}body{background-color:var(--color-white)}@keyframes react-loading-skeleton{to{transform:translateX(100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;width:100%;z-index:1}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));background-repeat:no-repeat;content:\" \";display:var(--pseudo-element-display);height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}.myinterview-button{border:none;border-radius:10px;cursor:pointer;font-weight:700;height:45px;letter-spacing:1px}.myinterview-button:disabled{cursor:unset;opacity:.6;pointer-events:none}.myinterview-button--small{font-size:10px;height:35px;min-width:100px;padding:0 20px}.myinterview-button--medium{font-size:12px;height:45px;min-width:150px;padding:0 30px}.myinterview-button--large{font-size:16px;height:65px;min-width:180px;padding:0 45px}.dropdown{align-items:center;cursor:pointer;display:flex;font-size:14px;justify-content:space-between;padding:15px;white-space:nowrap}.dropdown--rtl{direction:rtl}.dropdown--rtl .dropdown__input{padding-left:30px;padding-right:15px}.dropdown--rtl .dropdown__arrow-wrapper,.dropdown--rtl .dropdown__clear-wrapper{margin-left:0;margin-right:5px}.dropdown--rtl .dropdown__item span{margin-left:5px;margin-right:0}.dropdown--rtl.dropdown--with-icon{padding-left:15px;padding-right:10px}.dropdown--rtl.dropdown--with-icon .dropdown__selected-item,.dropdown--rtl.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:0;padding-right:8px}.dropdown--standalone{border:.5px solid var(--color-neutral-30);border-radius:10px;border-width:.5px!important;height:50px;position:relative}.dropdown--with-icon{padding-left:10px}.dropdown--with-icon svg{height:22px}.dropdown--with-icon .dropdown__selected-item,.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:8px}.dropdown--opened{border-radius:10px 10px 0 0;box-shadow:0 0 10px -2px #0000001a}.dropdown--opened .dropdown__options{box-shadow:0 0 10px -2px #0000001a;visibility:visible}.dropdown--opened .dropdown__arrow-wrapper{transform:rotate(-180deg)}.dropdown--upside.dropdown--opened{border-radius:0 0 4px 4px;border-top:0}.dropdown--upside .dropdown__options{border-bottom:0;border-radius:10px 10px 0 0;border-top:.5px solid var(--color-neutral-30);bottom:auto;top:0;transform:translateY(-100%)}.dropdown__selected-item{flex:1;overflow:hidden;text-overflow:ellipsis}.dropdown__selected-item::selection{background-color:initial}.dropdown__selected-item--placeholder{opacity:.5}.dropdown__input{border:0;border-radius:10px;height:100%;left:0;opacity:0;padding:15px 30px 15px 15px;pointer-events:none;position:absolute;top:0;width:100%;z-index:0}.dropdown__input--searchable:focus{opacity:1}.dropdown__input--searchable:focus+.dropdown__selected-item{opacity:0!important}.dropdown__arrow-wrapper,.dropdown__clear-wrapper{align-items:center;display:flex;flex-shrink:0;justify-content:center;margin-left:5px;transition:.2s;width:1em}.dropdown__options{background-color:var(--color-white);border:.5px solid var(--color-neutral-30);border-radius:0 0 4px 4px;border-top:0;bottom:0;left:-.75px;list-style:none;margin:0;max-height:0;overflow:auto;padding:0;position:absolute;transform:translateY(100%);visibility:hidden;width:calc(100% + 1.25px)}.dropdown__item{cursor:pointer;max-width:100%;overflow:hidden;padding:15px;text-overflow:ellipsis}.dropdown__item:not(:last-child){border-bottom:.5px solid var(--color-neutral-30)}.dropdown__item--highlighted,.dropdown__item:hover{background-color:var(--color-primary);color:var(--color-white)}.dropdown__item span{margin-right:5px}.tag{background-color:#dde8f6;border-radius:3px;color:#4a90e2;display:inline-block;font-size:13px;font-weight:500;letter-spacing:.5px;margin:5px 8px 5px 0;padding:4px 11px;text-transform:capitalize}.myinterview-text--XS{font-size:12px;line-height:20px}.myinterview-text--S{font-size:14px;line-height:22px}.myinterview-text--M{font-size:16px;line-height:24px}.myinterview-text--L{font-size:18px;line-height:26px}.myinterview-text--H3{font-size:20px;line-height:28px}.myinterview-text--H2{font-size:24px;line-height:32px}.myinterview-text--H1{font-size:30px;line-height:38px}.myinterview-text--D3{font-size:38px;line-height:46px}.myinterview-text--D2{font-size:48px;line-height:54px}.myinterview-text--D1{font-size:56px;line-height:64px}.myinterview-text--regular{font-weight:400}.myinterview-text--semibold{font-weight:600}.myinterview-text--bold{font-weight:700}.myinterview-text--italic{font-style:italic}.myinterview-text--truncated{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggle-switch{align-items:center;border-radius:99999px;cursor:pointer;display:flex;position:relative;transition:.2s}.toggle-switch__indicator{border-radius:50%;height:.65em;left:10%;position:absolute;transition:.2s;width:.65em}.toggle-switch__indicator--active{left:90%;transform:translateX(-100%)}.toggle-switch:active .toggle-switch__indicator{height:.5em;width:.5em}.toggle-text{align-items:center;cursor:pointer;display:flex;justify-content:center;width:fit-content}.toggle-text__arrow-wrapepr{align-items:center;display:flex;margin-left:5px;transition:.25s ease-in-out;width:1em}.toggle-text__arrow-wrapepr--opened{transform:rotate(-180deg)}.progress{align-items:center;border-radius:50%;display:flex;height:1em;justify-content:center;width:1em}.progress__fill{border-radius:50%;height:.7em;width:.7em}.input-text{display:flex;flex-direction:column;flex-grow:1}.input-text__field{border:.5px solid var(--color-neutral-30);border-radius:10px;font-size:14px;padding:14px 16px;width:100%}.input-text__field--with-icon{padding:14px 43px!important}.input-text__icon-container{margin:10px 12px;position:absolute}.input-text__icon-container i{vertical-align:-webkit-baseline-middle}.input-text__icon-container i svg{height:22px;width:22px}.input-text--error{border:1px solid var(--color-error)}.input-text__error-msg{color:var(--color-error);margin-top:3px}.dnd-wrapper{border:1px solid var(--color-neutral-30);border-radius:10px;height:50px;max-width:500px;padding:7px 10px;position:relative;transition:.3s ease-in-out;width:100%}.dnd-wrapper--rtl{direction:rtl}.dnd-wrapper--rtl .dnd-wrapper__placeholder{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__label .progress{margin-left:5px;margin-right:0}.dnd-wrapper--rtl .dnd-wrapper__text{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__icon--close{margin-left:0;margin-right:auto}.dnd-wrapper__placeholder{color:var(--color-neutral-50);font-size:14px;margin-left:5px}.dnd-wrapper__left-hand{align-items:flex-end;display:flex}.dnd-wrapper--scale{transform:scale(1.1)}.dnd-wrapper--border-solid{border:.5px solid var(--color-neutral-30)}.dnd-wrapper__label{align-items:center;display:flex;font-size:14px;height:100%;justify-content:center}.dnd-wrapper__label svg{height:16px;vertical-align:middle;width:16px}.dnd-wrapper__label--with-icon{justify-content:space-between}.dnd-wrapper__label--with-icon i{color:var(--color-neutral-60)}.dnd-wrapper__label--uploaded,.dnd-wrapper__label--uploading{justify-content:flex-start}.dnd-wrapper__label .progress{height:18px;margin-right:5px;width:18px}.dnd-wrapper__icon{align-items:center;display:flex}.dnd-wrapper__icon--clip{font-size:18px;transform:rotate(10deg) rotateX(180deg)}.dnd-wrapper__icon--close{cursor:pointer;margin-left:auto;z-index:10}.dnd-wrapper__text{margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd-wrapper__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.dnd-wrapper__input:disabled{cursor:auto}.myinterview-modal-wrapper{border-radius:4px;box-shadow:0 4px 6px -1px #00000014,0 2px 4px -1px #0000000f;left:50%;max-height:90vh;max-width:90vw;overflow:auto;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:30}.myinterview-modal-wrapper--fullscreen{border-radius:0;box-shadow:none;height:100vh;left:0;max-height:100vh;max-width:100vw;padding:0;top:0;transform:none;width:100vw}.myinterview-modal-wrapper__box{height:100%;max-height:100%;max-width:100%;overflow:auto;width:100%}.myinterview-modal-wrapper__close-btn{cursor:pointer;height:16px;position:absolute;right:20px;top:20px;width:16px}.myinterview-modal-wrapper-background{background-color:#0000001a;height:100vh;left:0;position:fixed;top:0;width:100vw}.phone-number{border:.5px solid var(--color-neutral-30);border-radius:10px;display:flex;position:relative}.phone-number--rtl{direction:rtl}.phone-number--rtl .input-text{direction:ltr}.phone-number--rtl .input-text input{text-align:end}.phone-number--rtl .dropdown{border-left:.5px solid var(--color-neutral-20);border-right:0!important}.phone-number--opened{border-radius:10px 10px 0 0!important}.phone-number--opened--up{border-radius:0 0 10px 10px!important}.phone-number .dropdown{border-right:.5px solid var(--color-neutral-20);padding:0 15px;width:75px}.phone-number .dropdown__selected-item{font-size:16px}.phone-number .dropdown--opened{border-radius:unset!important;box-shadow:unset!important}.phone-number .input-text{border:0;flex:1}.myinterview-logo-wrapper{max-height:400px}.myinterview-checkbox{align-items:center;border-radius:4px;border-style:solid;border-width:1px;display:flex;flex-shrink:0;justify-content:center;position:relative;transition:all .15s ease-out}.myinterview-checkbox__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.myinterview-checkbox__checkmark{border-radius:50%;display:flex;height:100%;padding:2px;transform:scale(0);transition:.15s ease-out;width:100%}.myinterview-checkbox__checkmark--checked{border-radius:0;transform:scale(1)}.myinterview-checkbox__checkmark svg{height:100%;width:100%}.myinterview-widget-no-select{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.myinterview-widget-scroll-indicator::-webkit-scrollbar{display:initial!important;width:5px}.myinterview-widget-scroll-indicator::-webkit-scrollbar-thumb{background:var(--color-neutral-40)}@keyframes fade-in{0%{opacity:0}}:host{--myinterview-widget-dynamic-overflow:auto;--myinterview-widget-background-height:calc(40vh - 100px);--myinterview-widget-background-preview-display:none;--myinterview-widget-video-aspect-ratio:0.75;--myinterview-widget-camera-transform:translateZ(0) rotateY(180deg);--myinterview-widget-outer-width:530px;--myinterview-widget-recorder-border-radius:10px;--myinterview-widget-preview-video-border-radius:20px;--myinterview-background-opacity:0;--myinterview-widget-wrapper-padding:20px}@media (min-width:1200px){:host{--myinterview-widget-recorder-border-radius:20px;--myinterview-widget-preview-video-border-radius:10px;--myinterview-widget-video-aspect-ratio:1.77778;--myinterview-widget-wrapper-padding:10px}}.myinterview-widget{word-wrap:normal;--myinterview-widget-layout-top:0;--myinterview-widget-layout-right:0;--myinterview-widget-layout-bottom:0;--myinterview-widget-layout-left:0;border-collapse:initial;border-spacing:0;caption-side:top;cursor:auto;direction:ltr;empty-cells:show;font-size:1rem;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;line-height:normal;list-style-image:none;list-style-position:outside;list-style-type:disc;orphans:2;quotes:initial;tab-size:8;text-align:initial;text-align-last:auto;text-decoration-color:initial;text-indent:0;text-justify:auto;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;widows:2;word-break:normal;word-spacing:normal}.myinterview-widget *,.myinterview-widget :after,.myinterview-widget :before{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0}.myinterview-widget__layout{background-color:var(--color-white);border-radius:0;bottom:0;display:flex;flex-direction:column;left:0;max-height:100%;padding:20px 20px 0;position:fixed;right:0;top:0;transform:translateZ(0);-webkit-transform:translateZ(0);z-index:2147483000}.myinterview-widget__layout--animated{animation:myinterview-widget-open .4s ease-out;-webkit-animation:myinterview-widget-open .4s ease-out;-moz-animation:myinterview-widget-open .4s ease-out;-o-animation:myinterview-widget-open .4s ease-out}.myinterview-widget__layout--minimized{animation:myinterview-widget-minimize .5s ease-in-out forwards;-webkit-animation:myinterview-widget-minimize .5s ease-in-out forwards;-moz-animation:myinterview-widget-minimize .5s ease-in-out forwards;-o-animation:myinterview-widget-minimize .5s ease-in-out forwards;overflow:hidden}.myinterview-widget__layout--minimized>*{opacity:0;transition:opacity .2s ease-out}@media (min-width:480px){.myinterview-widget__layout{display:grid;grid-template-columns:minmax(20px,1fr) minmax(auto,480px) minmax(20px,1fr);padding:20px 0 0}.myinterview-widget__layout>*{grid-column:2}.myinterview-widget__layout>.full{grid-column:1/-1;padding:0}}@media (min-width:1200px){.myinterview-widget__layout{grid-template-columns:10px 1fr 10px;padding:50px 0}}@keyframes myinterview-widget-open{0%{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;overflow:hidden;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top)}50%{background-color:var(--color-white)}}@keyframes myinterview-widget-minimize{90%{border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:1;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:2147483000}99%{opacity:0}to{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:0;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:-1}}.myinterview-widget-icons__play-button{cursor:pointer;position:relative}.myinterview-widget-icons__play-button svg{color:var(--color-primary)}.myinterview-widget-icons__play-button svg path{transition:d .4s ease-out;-webkit-transition:d .4s}.myinterview-widget-icons__play-button svg rect{transition:rx .4s;-webkit-transition:rx .4s}.myinterview-widget-icons__loading{background-color:currentColor;border-radius:50%;height:38px;overflow:hidden;position:relative;transform:translateZ(0);width:38px}.myinterview-widget-icons__loading:after{animation:slide 1s infinite;background:linear-gradient(to right,currentColor,var(--color-neutral-10),currentColor);content:\"\";height:100%;left:-50px;position:absolute;width:100%}.myinterview-widget-icons__no-camera-mic{align-items:center;background-color:#eff6fe;border-radius:50%;display:flex;height:80px;justify-content:center;position:relative;width:80px}.myinterview-widget-icons__no-camera-mic__camera,.myinterview-widget-icons__no-camera-mic__mic{align-items:center;border-radius:4px;display:flex;height:28px;justify-content:center;position:absolute;width:28px}.myinterview-widget-icons__no-camera-mic__camera svg,.myinterview-widget-icons__no-camera-mic__mic svg{height:20px;width:20px}.myinterview-widget-icons__no-camera-mic__camera{background-color:var(--color-primary);color:var(--color-white);transform:translate(-35%,-35%)}.myinterview-widget-icons__no-camera-mic__mic{background-color:var(--color-white);color:var(--color-primary);transform:translate(35%,35%)}.myinterview-widget__wrapper{-ms-overflow-style:none;display:flex;flex:1;flex-direction:column;overflow:hidden;position:relative;scrollbar-width:none}.myinterview-widget__wrapper ::-webkit-scrollbar,.myinterview-widget__wrapper::-webkit-scrollbar{display:none}.myinterview-widget__wrapper--hide-header .myinterview-widget-header{visibility:hidden}.myinterview-widget__background{background:linear-gradient(50.24deg,var(--color-primary) 0,var(--color-special) 75%);height:var(--myinterview-widget-background-height);left:0;opacity:var(--myinterview-background-opacity);overflow:hidden;position:absolute;top:0;transition:opacity .5s;width:100%}.myinterview-widget__background:before{border:6vh solid hsla(0,0%,100%,.267);border-radius:50%;content:\"\";height:30vh;position:absolute;right:0;top:0;transform:translate(50%,-50%);width:30vh}.myinterview-widget__background:after{background-color:var(--color-white);border-radius:20px 20px 0 0;bottom:0;content:\"\";display:var(--myinterview-widget-background-preview-display);height:20px;position:absolute;width:100%}@media (min-width:1200px){.myinterview-widget__background:after{display:none}.myinterview-widget__background{height:100vh;left:auto;right:0;width:calc(100% - var(--myinterview-widget-outer-width))}.myinterview-widget__background:before{border:12vh solid hsla(0,0%,100%,.267);height:70vh;width:70vh}}.myinterview-widget__watermark{display:none}@media (min-width:1200px){.myinterview-widget__watermark{bottom:20px;display:flex;height:64px;left:20px;position:absolute}}.myinterview-widget__background-dots{display:none}@media (min-width:1200px){.myinterview-widget__background-dots{background-image:radial-gradient(hsla(0,0%,100%,.467) 15%,#0000 0);background-position:0 0,50px 50px;background-size:20px 20px;bottom:0;display:flex;height:200px;position:absolute;right:0;width:200px}}.myinterview-widget__views{--myinterview-widget-views-margin-top:0px;--myinterview-widget-practice-opacity:1;-webkit-overflow-scrolling:touch;color:var(--color-primary);display:flex;flex:1;flex-direction:column;overflow-y:var(--myinterview-widget-dynamic-overflow);scroll-snap-type:y mandatory;z-index:20}.myinterview-widget__views--uploading{gap:0;justify-content:center;margin-bottom:30px}@media (min-width:1200px){.myinterview-widget__views{align-items:start;flex:initial;flex:1;flex-direction:row-reverse;gap:0;justify-content:flex-end;overflow:hidden;padding:0;scroll-snap-type:none}.myinterview-widget__views--uploading{margin-bottom:0}}.myinterview-widget__views--rtl .myinterview-widget--rtl-support{direction:rtl}.myinterview-widget-recording-action-button{margin-bottom:20px;min-height:45px;position:relative;scroll-snap-align:end;z-index:1}@media (min-width:1200px){.myinterview-widget-recording-action-button{display:none}}.myinterview-widget-recording-action-button--video-question:disabled{display:none!important}.myinterview-widget-recording-action-button--stop-recording{border:1px solid var(--color-neutral-40)!important}@media (min-width:1200px){.myinterview-widget-recording-action-button--stop-recording{border:none!important}}.myinterview-widget-rotate-screen{align-items:center;animation:fade-in .3s;background-color:var(--color-white);display:none;height:100%;justify-content:center;left:0;padding:20px!important;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-rotate-screen svg{flex:0;margin-right:40px;min-width:120px}@media screen and (orientation:landscape){.myinterview-widget-rotate-screen{display:flex}}.myinterview-widget-unsupported-modal{align-items:center;background-color:var(--color-white);display:flex;height:100%;justify-content:center;left:0;padding:20px;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-unsupported-modal__message{text-align:center}.myinterview-widget-minimize{color:var(--color-white);cursor:pointer;display:none;height:20px;position:fixed;right:30px;top:30px;width:20px;z-index:50}@media (min-width:1024px){.myinterview-widget-minimize{display:flex}}.myinterview-widget-header{display:flex;flex-wrap:wrap;gap:18px;height:fit-content;margin:0 0 20px;max-height:112px;max-width:100%;overflow:hidden;transition:all .2s}.myinterview-widget-header--hidden{height:0;margin:0;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header--hidden{height:fit-content;margin:0 0 20px}}.myinterview-widget-header__logo{height:48px}.myinterview-widget-header__logo img{flex-shrink:1;max-height:100%;max-width:100%;object-fit:contain;overflow:hidden}.myinterview-widget-header__details-wrapper{display:flex;flex-direction:column;flex-shrink:0;justify-content:center;letter-spacing:.2px;max-width:100%;min-width:60%;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header{display:none;max-width:var(--myinterview-widget-outer-width);overflow:visible;padding-left:20px}.myinterview-widget-header__company-name{color:var(--color-neutral-50)}.myinterview-widget-header__job-title{color:var(--color-neutral-90)}}.myinterview-widget-header--desktop-layout{display:none}@media (min-width:1200px){.myinterview-widget-header--desktop-layout{display:flex;min-height:48px}}.myinterview-widget-inner{align-items:center;display:flex;flex-direction:column;margin-bottom:20px;min-height:min((100vw - 40px) * 1/var(--myinterview-widget-video-aspect-ratio),480px * 1/var(--myinterview-widget-video-aspect-ratio));position:relative;scroll-snap-align:start;z-index:1}.myinterview-widget-inner--no-snap{scroll-snap-align:none}@media (min-width:1200px){.myinterview-widget-inner{background-color:var(--color-white);border-radius:var(--myinterview-widget-recorder-border-radius);box-shadow:0 4px 14px -2px #00000026;height:calc((100vw - 20px - var(--myinterview-widget-outer-width))*9/16);margin:auto;max-height:440px;max-width:782.2222222222px;min-height:auto;overflow:hidden;width:100%}}.myinterview-widget-inner--hidden{max-height:0;min-height:0;overflow:hidden;visibility:hidden}.myinterview-widget-inner--welcome-hidden{aspect-ratio:16/9;visibility:hidden;width:100%}.myinterview-widget-inner__content{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-height:100%;max-width:fit-content;min-height:200px;min-width:200px;overflow:hidden;position:sticky;top:0}.myinterview-widget-inner__content--full-width{min-width:100%}@media (min-width:1200px){.myinterview-widget-inner__content{height:100%;max-width:100%;position:relative;width:100%}}.myinterview-widget-inner__content--error{display:flex;flex:1;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-width:100%;min-height:fit-content;width:100%}.myinterview-widget-inner .myinterview-widget-explanation{align-items:center;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:100%;justify-content:center;padding:20px;position:absolute;text-align:center;white-space:pre-line;width:100%;z-index:1}.myinterview-widget-inner .myinterview-widget-explanation .myinterview-widget-question__question-parameters{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-explanation__main{margin-bottom:15px;max-width:50ch}.myinterview-widget-inner .myinterview-widget-explanation__header{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-times-up{align-items:center;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;gap:10px;justify-content:center;padding:20px;text-align:center}.myinterview-widget-inner .myinterview-widget-times-up__button{margin-top:50px}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-times-up__button,.myinterview-widget-inner .myinterview-widget-times-up__title{margin-top:auto}}.myinterview-widget-inner .myinterview-widget-recording-action-button{display:none}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-recording-action-button{bottom:20px;display:block;left:50%;margin:0;position:absolute;transform:translate(-50%);white-space:nowrap;width:fit-content;z-index:20}}.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-height:fit-content;min-width:100%}.myinterview-widget-inner--video-question-state .myinterview-widget-inner__content,.myinterview-widget-inner--welcome-page-state .myinterview-widget-inner__content{aspect-ratio:auto;height:auto}@media (min-width:1200px){.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-width:auto}.myinterview-widget-inner--video-question-state .myinterview-widget-recording-action-button,.myinterview-widget-inner--welcome-page-state .myinterview-widget-recording-action-button{bottom:70px}}.myinterview-widget-inner--full{flex:1;scroll-snap-align:none}.myinterview-widget-inner--full .myinterview-widget-inner__content{flex:1;height:max-content;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-inner--full{flex:auto}}.myinterview-widget-outer{border-radius:10px;display:flex;flex-direction:column;padding-bottom:20px;scroll-snap-align:end}.myinterview-widget-outer--no-snap{scroll-snap-align:none}.myinterview-widget-outer--hidden{display:none}.myinterview-widget-outer--uploading{flex:0;padding:0}@media (min-width:1200px){.myinterview-widget-outer{background-color:initial;flex:none;height:100%;padding:0 20px 0 0!important;width:var(--myinterview-widget-outer-width)}.myinterview-widget-outer>*{padding:0 20px}.myinterview-widget-outer--hidden{display:flex}.myinterview-widget-outer--uploading{padding:0}}.myinterview-widget-outer .myinterview-widget-question{background-color:#fffffff2;border-radius:10px;margin:0 auto;transition:opacity .25s;width:100%}@media (min-width:1200px){.myinterview-widget-outer .myinterview-widget-question{padding:40px 20px 0}.myinterview-widget-outer .myinterview-widget-question__question{font-size:26px;line-height:36px}}.myinterview-widget-outer--hide-question .myinterview-widget-question{display:none}.myinterview-widget-outer__setup{display:flex;flex:1;flex-direction:column}.myinterview-widget-outer__title{margin-bottom:15px}.myinterview-widget-outer__mode-wrapper{background-color:var(--color-white);bottom:0;display:flex;justify-content:space-around;margin-top:15px;padding:10px 0;position:sticky}.myinterview-widget-outer__mode-wrapper:before{background-color:var(--color-white);content:\"\";height:40px;left:0;mask-image:linear-gradient(#0000,var(--color-black));-webkit-mask-image:linear-gradient(#0000,var(--color-black));mask-mode:alpha;position:absolute;top:0;transform:translateY(-100%);width:100%}@media (min-width:1200px){.myinterview-widget-outer__mode-wrapper{background-color:initial;flex-direction:column;justify-content:flex-start;padding:0;position:static;width:65%}.myinterview-widget-outer__mode-wrapper:after,.myinterview-widget-outer__mode-wrapper:before{display:none}}.myinterview-widget-outer__mode-button{letter-spacing:.5px;max-width:42%!important;min-width:100px!important;padding:0 15px!important;width:150px!important}.myinterview-widget-outer__mode-button--start{border:1px solid!important}.myinterview-widget-outer__mode-button--single{background-color:var(--color-special);color:var(--color-white);max-width:100%!important;width:100%!important}@media (min-width:1200px){.myinterview-widget-outer__mode-button{max-width:100%!important;min-width:150px!important;width:100%!important}.myinterview-widget-outer__mode-button:first-child{margin-bottom:20px}}.myinterview-widget-outer__practice-mode-info{margin-bottom:20px}.myinterview-widget-outer .myinterview-widget__countdown-mobile{display:none}.myinterview-widget-video-camera{border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex:1;flex-direction:column;max-height:100%;position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-video-camera{transform:translateZ(0) scale(1.005)}}.myinterview-widget-video-camera--hidden{display:none}.myinterview-widget-video-camera video{border-radius:var(--myinterview-widget-recorder-border-radius);object-fit:contain;overflow:hidden;transform:var(--myinterview-widget-camera-transform);-webkit-transform:var(--myinterview-widget-camera-transform);width:100%}.myinterview-widget-video-camera__recording-counter-wrapper{align-self:center;position:absolute;top:var(--myinterview-widget-wrapper-padding);width:70px;z-index:2}.myinterview-widget-video-camera__permissions{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);color:var(--color-neutral-90);display:flex;height:100%;justify-content:center;padding:20px;position:absolute;width:100%;z-index:21}.myinterview-widget-video-camera__permissions-close{cursor:pointer;left:25px;position:absolute;top:25px;width:20px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{align-items:center;background-color:var(--color-primary);border-radius:50%;bottom:18px;color:var(--color-white);display:flex;height:40px;isolation:isolate;justify-content:center;left:18px;padding:10px;position:absolute;width:40px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator--hidden{visibility:hidden}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{bottom:25px;left:25px}}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator:after{background:radial-gradient(#0000 40%,var(--color-primary) 90%);border-radius:50%;content:\"\";height:100%;position:absolute;transform:scale(var(--myinterview-widget-voice-level));transform-origin:center;width:100%;will-change:transform;z-index:-1}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator svg{height:100%;width:100%}.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:var(--myinterview-widget-practice-opacity);position:absolute;right:10px;top:10px;transition:opacity .3s}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:1;right:25px;top:25px}}.myinterview-widget-video-camera .myinterview-widget__question-number{left:var(--myinterview-widget-wrapper-padding);top:var(--myinterview-widget-wrapper-padding);z-index:25}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__question-number{letter-spacing:.5px}}.myinterview-widget-video-camera .myinterview-widget__countdown-desktop{display:none}.myinterview-widget-video-camera__watermark{height:50px;left:15px;opacity:.5;position:absolute;top:15px;width:120px}@media (min-width:1200px){.myinterview-widget-video-camera__watermark{left:25px;top:25px}}.myinterview-widget-recorder-modal{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);bottom:0;color:var(--color-neutral-90);display:flex;filter:drop-shadow(0 0 0 rgba(0,0,0,.2));justify-content:center;left:0;min-height:100%;overflow:hidden;padding:var(--myinterview-widget-wrapper-padding);position:absolute;right:0;text-align:center;top:0;z-index:20}.myinterview-widget-recorder-modal__content-wrapper{align-items:center;display:flex;flex-direction:column;gap:5px;letter-spacing:.5px}@media (min-width:1200px){.myinterview-widget-recorder-modal__content-wrapper{max-width:700px}}.myinterview-widget-recorder-modal__question{max-width:100%;overflow:hidden;overflow-wrap:break-word;text-align:start}@media (min-width:1200px){.myinterview-widget-recorder-modal__question{text-align:center}.myinterview-widget-recorder-modal__question .myinterview-widget__question-duration{justify-content:center}}.myinterview-widget-checks{display:flex;flex-direction:column}.myinterview-widget-checks__item{align-items:center;display:flex;gap:20px;margin-bottom:20px}.myinterview-widget-checks__icon{align-items:center;display:flex;height:100%;justify-content:center;width:40px}.myinterview-widget-checks__text-wrapper{display:flex;flex-direction:column}.myinterview-widget-checks__retry{background-color:initial;border:0;cursor:pointer;margin-left:10px;text-decoration:underline}.myinterview-widget-preview__container{background-color:var(--color-white);display:flex;flex-direction:column;min-height:100%;padding-top:var(--myinterview-widget-wrapper-padding);position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-preview__container{max-height:100%;padding:var(--myinterview-widget-wrapper-padding)}}.myinterview-widget-preview__container .myinterview-widget__question-number{margin-bottom:var(--myinterview-widget-wrapper-padding);position:relative}.myinterview-widget-preview__container .myinterview-widget-errors{animation:fade-in .3s;background-color:var(--color-white);bottom:0;left:0;padding:20px;position:absolute;right:0;text-align:center;top:0;transform:translateZ(150px);-webkit-transform:translateZ(150px);z-index:150}.myinterview-widget-preview__title{margin-bottom:30px;text-align:center}@media (min-width:1200px){.myinterview-widget-preview__title{color:var(--color-neutral-90);margin-bottom:12px}}.myinterview-widget-preview__background{animation:background-fade-in .3s ease-out;background-color:#000000e6;height:100%;isolation:isolate;left:0;position:fixed;top:0;transform:translateZ(150px);width:100%;z-index:150}@keyframes background-fade-in{0%{background-color:#0000;transform:translateZ(-2px);z-index:-2}}.myinterview-widget-preview__close{background-color:var(--color-neutral-60);border-radius:2.5rem;bottom:1vh;left:50%;padding:3px 8px;pointer-events:none;position:absolute;transform:translateX(-50%)}.myinterview-widget-preview__main{animation:fade-in .5s;display:flex;height:350px;margin:auto;overflow:hidden;position:relative;touch-action:pan-y;width:100%;z-index:1}.myinterview-widget-preview__items-wrapper{--myinterview-widget-preview-transform-x:0;--myinterview-widget-preview-item-transition:0ms;--myinterview-widget-item-width:100%;box-sizing:initial;display:flex;margin-bottom:10px;position:relative;transition-duration:0ms;transition-property:transform;width:100%;z-index:2}.myinterview-widget-preview__items-wrapper--centered{justify-content:center}.myinterview-widget-preview__item{display:flex;flex-direction:column;flex-shrink:0;height:100%;justify-content:center;padding:2%;position:relative;transition:transform var(--myinterview-widget-preview-item-transition);width:var(--myinterview-widget-item-width);z-index:1}.myinterview-widget-preview__item--current{z-index:2}.myinterview-widget-preview__item--single-take{flex:1;max-width:50%}.myinterview-widget-preview__video-wrapper{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);display:flex;margin:0 auto;opacity:1;overflow:hidden;position:relative;transition-delay:.29s;z-index:3}.myinterview-widget-preview__video-wrapper--mobile{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);height:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper{border-radius:var(--myinterview-widget-preview-video-border-radius);margin:0}}.myinterview-widget-preview__video-wrapper:before{background-color:rgba(0,0,0,.267);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;left:0;pointer-events:none;position:absolute;top:0;transform:translateZ(1px);transition:background-color .3s;width:100%;z-index:1}.myinterview-widget-preview__video-wrapper--current:before,.myinterview-widget-preview__video-wrapper--preview:before,.myinterview-widget-preview__video-wrapper:hover:before{background-color:#0000;pointer-events:none}.myinterview-widget-preview__video-wrapper--preview-mobile{opacity:0}.myinterview-widget-preview__video-wrapper:after{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;pointer-events:none;position:absolute;transition:.15s;width:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper:after{border-radius:var(--myinterview-widget-preview-video-border-radius)}}.myinterview-widget-preview__video-wrapper--selected:before{background-color:#0000;z-index:-1}.myinterview-widget-preview__video-wrapper--selected:after{border:3px solid var(--color-primary)}.myinterview-widget-preview__video{cursor:pointer;transform:translateZ(0);-webkit-transform:translateZ(0);width:100%}.myinterview-widget-preview__dynamic-video{--myinterview-preview-video-top:50%;--myinterview-preview-video-left:50%;--myinterview-preview-video-width:0%;--myinterview-preview-video-height:0%;border-radius:var(--myinterview-widget-preview-video-border-radius);height:var(--myinterview-preview-video-height);left:var(--myinterview-preview-video-left);position:fixed;top:var(--myinterview-preview-video-top);transform:translateZ(-1px);transition:all .3s ease-out;transition-delay:.01s;visibility:hidden;width:var(--myinterview-preview-video-width);z-index:-1}.myinterview-widget-preview__dynamic-video--preview{border-radius:0;height:100%;left:0;max-height:70vh;top:46%;transform:translate3d(0,-50%,200px);visibility:visible;width:100%;z-index:200}.myinterview-widget-preview__number-wrapper{align-items:center;cursor:pointer;display:flex;gap:5px;margin:7px auto 0;position:relative;width:fit-content}@media (min-width:1200px){.myinterview-widget-preview__number-wrapper{margin:7px 0 0}}.myinterview-widget-preview__selected-check-mark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;height:20px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:20px}.myinterview-widget-preview__selected-check-mark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-preview__selected-check-mark--selected{border:1px solid var(--color-primary)}.myinterview-widget-preview__selected-check-mark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-preview__dots-wrapper{align-items:center;display:flex;height:20px;justify-content:center;width:100%}.myinterview-widget-preview__dot{background-color:var(--color-neutral-20);border-radius:50%;cursor:pointer;height:10px;margin:0 7px;position:relative;transition:.3s ease-out;width:10px}.myinterview-widget-preview__dot--selected{background-color:var(--color-primary);cursor:auto;transform:scale(1.5);-webkit-transform:scale(1.5)}.myinterview-widget-preview__play-container{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.myinterview-widget-preview__play-button-wrapper{left:50%;top:50%;transform:translateZ(1px);transition:opacity .3s;width:60px}@media (min-width:1200px){.myinterview-widget-preview__play-button-wrapper{max-width:76px;width:25%}}.myinterview-widget-preview__horizontal-line{display:none}@media (min-width:1200px){.myinterview-widget-preview__horizontal-line{background-color:#bdbdbd;display:block;height:1px;margin:15px auto;width:50%}}.myinterview-widget-preview__preview-buttons{align-items:center;display:flex;flex-direction:column;gap:20px;margin-bottom:10px;margin-top:33px;max-width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons{gap:10px;margin-top:auto}}.myinterview-widget-preview__preview-buttons-top{display:flex;gap:10px;justify-content:space-evenly;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons-top{justify-content:center;width:auto}}.myinterview-widget-preview__preview-button{max-width:45%;min-width:100px;width:150px}.myinterview-widget-preview__preview-button--retake{align-items:center;border:1px solid var(--color-neutral-30);display:flex;justify-content:center;max-width:100%}.myinterview-widget-preview__preview-button--start-interview{background-color:initial;color:var(--color-primary);font-size:13px;max-height:30px;max-width:max-content;padding:0;width:max-content}@media (min-width:1200px){.myinterview-widget-preview__preview-button{flex:1;max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-wrapper{max-width:45%;min-width:100px;text-align:center;width:150px}@media (min-width:1200px){.myinterview-widget-preview__retakes-wrapper{max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-left{color:var(--color-neutral-60)}.myinterview-widget-preview__arrow{align-items:center;animation:fade-in .3s;display:flex;height:100%;justify-content:center;min-width:40px;position:absolute;right:0;z-index:5}@media (min-width:1200px){.myinterview-widget-preview__arrow{min-width:4%}.myinterview-widget-preview__arrow:before{background-color:#fff;content:\"\";height:100%;left:0;mask-image:linear-gradient(to right,#0000,var(--color-black));-webkit-mask-image:linear-gradient(to right,#0000,var(--color-black));position:absolute;transform:translateX(5px);width:100%}}.myinterview-widget-preview__arrow--prev{left:0;right:auto;transform:translateZ(5px) rotateY(180deg)}@media (min-width:1200px){.myinterview-widget-preview__arrow--prev{transform:translateZ(5px) rotateY(180deg)}}.myinterview-widget-preview__arrow-icon-wrapper{align-items:center;background-color:var(--color-white);border:1px solid var(--color-neutral-30);border-radius:50%;color:var(--color-neutral-90);cursor:pointer;display:flex;height:36px;justify-content:center;position:relative;transform:translateY(-11px);width:36px}@media (min-width:1200px){.myinterview-widget-preview__arrow-icon-wrapper{box-shadow:0 4px 30px #00000026}}.myinterview-widget-video-question{aspect-ratio:16/9;background-color:var(--color-black);border-radius:var(--myinterview-widget-recorder-border-radius);height:fit-content;isolation:isolate;margin:auto;overflow:hidden;position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-video-question{height:100%}}.myinterview-widget-video-question--hidden{position:absolute;visibility:hidden;z-index:-1}.myinterview-widget-video-question--loading{background-color:hsla(0,0%,100%,.467)}.myinterview-widget-video-question--loading:before{animation:slide 1.5s infinite;background:linear-gradient(to right,#0000,var(--color-neutral-10),#0000);content:\"\";height:100%;left:-100%;position:absolute;top:0;width:100%;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question--loading{background-color:#ccd7f5}}.myinterview-widget-video-question:after{content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}.myinterview-widget-video-question--done:after{background-color:var(--color-black)}.myinterview-widget-video-question__play-button-wrapper{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transition:transform .2s ease-out,opacity .3s ease-out;width:clamp(50px,15vw,76px);z-index:1}.myinterview-widget-video-question__play-button-wrapper--hidden{opacity:0;pointer-events:none;touch-action:none;transform:translate(-50%,-50%) scale(1.3);-webkit-transform:translate(-50%,-50%) scale(1.3)}.myinterview-widget-video-question__controls{align-items:center;bottom:0;display:flex;justify-content:center;left:0;margin:10px 12px;position:absolute;right:0;transition:opacity .2s,transform .2s;z-index:1}.myinterview-widget-video-question__controls--inactive{opacity:0;pointer-events:none;touch-action:none;transform:translateY(25%)}.myinterview-widget-video-question__controls>:not(:last-child){margin-right:15px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button{min-width:40px;width:50px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button .myinterview-widget-icons svg{color:var(--color-white)}.myinterview-widget-video-question__timebar-counter-wrapper{width:100%}.myinterview-widget-video-question__counter-wrapper{-webkit-text-stroke-width:.5px;-webkit-text-stroke-color:var(--color-neutral-90);color:var(--color-white);font-size:13px;font-weight:700}.myinterview-widget-video-question__time-bar{background-color:hsla(0,0%,100%,.467);border-radius:2.5rem;cursor:pointer;height:10px;margin-bottom:5px;position:relative;width:100%}.myinterview-widget-video-question__time-bar--disabled{cursor:auto;pointer-events:none}.myinterview-widget-video-question__time-bar:before{content:\"\";height:30px;left:0;position:absolute;top:0;transform:translateY(-30%);width:100%}@media (min-width:1200px){.myinterview-widget-video-question__time-bar:before{display:none}}.myinterview-widget-video-question__time-bar-progress{background-color:var(--color-primary);border-radius:2.5rem;height:100%;position:absolute;transition:width .25s linear}.myinterview-widget-video-question__time-bar-progress:after{background-color:var(--color-primary);border-radius:50%;content:\"\";height:15px;left:100%;pointer-events:none;position:absolute;top:50%;touch-action:none;transform:translate(-50%,-50%);width:15px}.myinterview-widget-video-question__time-bar-progress--changing{transition:none}.myinterview-widget-video-question__time-bar-progress--unchangeable{cursor:auto}.myinterview-widget-video-question__time-bar-progress--unchangeable:after{display:none}.myinterview-widget-video-question__retry-button{margin-top:20px;width:100%;z-index:2}.myinterview-widget-video-question__retry-button--hidden{position:absolute;visibility:hidden;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question__retry-button{bottom:70px;left:50%;margin:0 auto;position:absolute;transform:translateX(-50%);width:fit-content}}@keyframes slide{50%{opacity:.9}to{left:100%;opacity:1}}.myinterview-widget-device{align-items:center;background-color:var(--color-white);border-radius:50%;color:var(--color-neutral-90);display:flex;height:40px;justify-content:center;position:absolute;right:18px;width:40px}.myinterview-widget-device__mobile{bottom:18px}.myinterview-widget-device__desktop{right:18px;top:18px;z-index:30}@media (min-width:1200px){.myinterview-widget-device__desktop{right:25px;top:25px}}.myinterview-widget-device__menu-button{align-items:center;background-color:initial;border:none;border-radius:50%;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.myinterview-widget-device__modal{--myinterview-widget-select-device-height:48px;background-color:var(--color-white);border-radius:20px;bottom:-15px;box-shadow:0 2px 12px -4px #0000001a;max-width:400px;min-width:300px;position:absolute;right:-12px;transform:translateY(100%)}.myinterview-widget-device__modal:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:20px;position:absolute;right:22px;top:-8px;transform:rotate(45deg);width:20px}.myinterview-widget-device__select-wrapper{display:flex;flex-direction:column;overflow:hidden;padding:20px}.myinterview-widget-device__select-group{display:flex;flex-direction:column}.myinterview-widget-device__select-group:not(:last-child):after{background-color:var(--color-neutral-20);content:\"\";height:1px;margin:10px 0;width:100%}.myinterview-widget-device__selected-device{cursor:pointer;display:flex;height:var(--myinterview-widget-select-device-height);width:100%}.myinterview-widget-device__select-icon{align-items:center;display:flex;min-width:40px}.myinterview-widget-device__select-icon svg{height:20px;width:20px}.myinterview-widget-device__selected-title-wrapper{flex:1;overflow:hidden;padding-right:23px}.myinterview-widget-device__selected-title{line-height:var(--myinterview-widget-select-device-height)!important;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.myinterview-widget-device__arrow{align-items:center;display:flex;margin-left:auto;transform:rotate(0);transition:.2s}.myinterview-widget-device__arrow--open{transform:rotate(-180deg)}.myinterview-widget-device__select-list{display:flex;flex-direction:column;max-height:0;overflow:hidden;transition:max-height .2s ease-out}.myinterview-widget-device__select-list--open{max-height:calc(var(--myinterview-widget-select-device-height)*2);overflow:auto;transition:max-height .2s ease-in}.myinterview-widget-device__select-option{border-radius:4px;cursor:pointer;line-height:var(--myinterview-widget-select-device-height)!important;min-height:var(--myinterview-widget-select-device-height);overflow:hidden;padding:0 40px;text-overflow:ellipsis;white-space:nowrap}.myinterview-widget-device__select-option--selected,.myinterview-widget-device__select-option:hover{color:var(--color-primary)!important}.myinterview-widget-device__select-option--selected{background-color:rgba(90,164,245,.051)!important}.myinterview-widget__countdown-mobile{align-items:center;background-color:var(--color-white);border-radius:2.5rem;display:flex;height:25px;left:50%;padding:6px 10px;position:absolute;top:var(--myinterview-widget-wrapper-padding);transform:translateX(-50%);z-index:30}.myinterview-widget__countdown-mobile--red{color:var(--color-error)}@media (min-width:1200px){.myinterview-widget__countdown-mobile[hidden]{display:none}}.myinterview-widget__countdown-desktop{display:none}@media (min-width:1200px){.myinterview-widget__countdown-desktop{--myinterview-widget-p:100;--myinterview-widget-b:5px;--myinterview-widget-w:160px;align-items:center;display:flex;height:var(--myinterview-widget-w);justify-content:center;margin:auto;padding:0;position:relative;transform:rotateY(180deg);width:var(--myinterview-widget-w)}.myinterview-widget__countdown-desktop:after,.myinterview-widget__countdown-desktop:before{border-radius:50%;content:\"\";position:absolute}.myinterview-widget__countdown-desktop:before{background:radial-gradient(farthest-side,var(--color-primary) 100%,#0000) top/var(--myinterview-widget-b) var(--myinterview-widget-b) no-repeat,conic-gradient(var(--color-primary) calc((var(--myinterview-widget-p))*1%),#0000 0);inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));transition:all 1s}.myinterview-widget__countdown-desktop:after{background:var(--color-primary);inset:calc(50% - var(--myinterview-widget-b)/2);transform:rotate(calc(var(--myinterview-widget-p)*3.6deg)) translateY(calc(50% - var(--myinterview-widget-w)/2))}.myinterview-widget__countdown-desktop[hidden]{display:none}}.myinterview-widget__countdown-desktop .myinterview-widget__countdown-desktop-text{align-items:center;border:var(--myinterview-widget-b) solid #edf6fe;border-radius:50%;display:flex;height:100%;justify-content:center;position:absolute;transform:rotateY(180deg);width:100%;z-index:-1}.myinterview-widget-counter{align-items:center;background-color:var(--color-white);border-radius:2.5rem;color:var(--color-neutral-90);display:flex;gap:5px;height:25px;justify-content:center}.myinterview-widget-counter__dot{background-color:var(--color-error);border-radius:50%;height:10px;width:10px}.myinterview-widget-counter__clock{display:flex}.myinterview-widget-counter__timer{transition:color .25s}.myinterview-widget-counter__timer--red{color:#f45b2b}.myinterview-widget-loader{-webkit-animation:fade 1.6s infinite;-moz-animation:fade 1.6s infinite;-o-animation:fade 1.6s infinite;animation:fade 1.6s infinite;margin:auto;width:80px}@keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-o-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-moz-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-webkit-keyframes fade{0%,to{opacity:0}50%{opacity:1}}.myinterview-widget-error{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto}.myinterview-widget-error__message{margin-bottom:10px}.myinterview-widget-errors{align-items:center;display:flex;flex-direction:column;justify-content:center}.myinterview-widget-errors__icon{margin-bottom:15px}.myinterview-widget-errors__details,.myinterview-widget-errors__title{margin-bottom:5px}.myinterview-widget-errors__cta{cursor:pointer;margin-bottom:5px;position:relative;text-decoration:underline}.myinterview-widget-errors__cta .myinterview-widget-select-native{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.myinterview-widget-errors__cta--secondary{text-transform:capitalize}.myinterview-widget-slider-modal{animation:close-modal .3s forwards;bottom:0;height:100vh;height:-moz-available;height:-webkit-fill-available;height:stretch;left:0;min-height:100vh;min-height:-moz-available;min-height:-webkit-fill-available;min-height:stretch;overflow:hidden;position:fixed;width:100vw;z-index:50}.myinterview-widget-slider-modal__wrapper{-webkit-overflow-scrolling:touch;height:100%;overflow-y:auto;scroll-snap-type:y mandatory;width:100%}.myinterview-widget-slider-modal__top{min-height:100%;scroll-snap-align:start;touch-action:none}.myinterview-widget-slider-modal__bottom{background-color:var(--color-white);border-radius:20px 20px 0 0;display:flex;flex-direction:column;height:10%;isolation:isolate;min-height:10%;overflow:hidden;position:relative;scroll-snap-align:end;transition:min-height .5s,height .5s;visibility:hidden}.myinterview-widget-slider-modal__pill{background-color:var(--color-neutral-30);border-radius:2.5rem;margin:20px auto 32px;min-height:4px;width:60px}.myinterview-widget-slider-modal--open{animation:none;background-color:#0009;visibility:visible}.myinterview-widget-slider-modal--open .myinterview-widget-slider-modal__bottom{height:80%;min-height:80%;visibility:visible}@keyframes close-modal{0%{background-color:#0009}to{background-color:#0000;visibility:hidden}}.myinterview-widget-permissions__wrapper{display:flex;flex:1;flex-direction:column;margin:0 auto;max-height:100%;max-width:480px;overflow:auto;padding:0 20px 20px;width:100%}@media (min-width:1200px){.myinterview-widget-permissions__wrapper{padding:0 20px}}.myinterview-widget-permissions__icon-wrapper{align-items:center;background-color:#eff6fe;border-radius:50%;color:var(--color-primary);display:flex;justify-content:center;margin:0 auto 20px;min-height:70px;min-width:70px}.myinterview-widget-permissions__icon-wrapper svg{height:32px;width:32px}@media (min-width:1200px){.myinterview-widget-permissions__icon-wrapper{display:none!important}}.myinterview-widget-permissions__title{margin-bottom:20px;text-align:center}@media (min-width:1200px){.myinterview-widget-permissions__title{margin-bottom:15px}}.myinterview-widget-permissions__sub-title{margin-bottom:10px}.myinterview-widget-permissions__steps-wrapper{margin-bottom:15px;padding:0 20px}.myinterview-widget-permissions__step{font-size:14px;list-style:decimal;margin-bottom:10px}.myinterview-widget-permissions__step .text--bold{font-weight:700}.myinterview-widget-permissions__step .safari__key{background-color:var(--color-neutral-20);border-radius:2px;padding:2px 4px}.myinterview-widget-permissions__button{margin-top:auto;min-height:45px}.myinterview-widget-question{margin-bottom:10px;position:relative}.myinterview-widget-question>*{position:relative;z-index:1}.myinterview-widget-question__question{letter-spacing:.5px;margin-bottom:6px}.myinterview-widget-question__description{letter-spacing:.5px}.myinterview-widget-question__question-parameters{align-items:center;display:inline-flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}.myinterview-widget-question__question-parameters>*{white-space:nowrap}.myinterview-widget-questions-list{display:none}@media (min-width:1200px){.myinterview-widget-questions-list{display:flex;flex-direction:column;overflow-y:auto;padding:0;position:relative}.myinterview-widget-questions-item{align-items:center;border-radius:0 4px 4px 0;display:flex;gap:20px;letter-spacing:.5px;max-width:100%;min-height:90px;overflow:hidden;padding:20px;position:relative}.myinterview-widget-questions-item__number{align-items:center;background-color:var(--color-neutral-20);border-radius:50%;color:var(--color-neutral-90);display:flex;height:38px;justify-content:center;min-width:38px}.myinterview-widget-questions-item__number--icon{background-color:var(--color-white);color:var(--color-primary)}.myinterview-widget-questions-item__wrapper{flex:1;overflow:hidden}.myinterview-widget-questions-item__question{display:flex;flex-direction:column;gap:2px;overflow:hidden}.myinterview-widget-questions-item__duration-wrapper{align-items:center;color:var(--color-neutral-50);display:flex;font-size:12px;gap:5px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper *{font-size:12px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper svg{width:15px}.myinterview-widget-questions-item--active{background-color:#f7fbff}.myinterview-widget-questions-item--active:before{background-color:var(--color-primary);content:\"\";height:100%;left:0;position:absolute;width:3px}.myinterview-widget-questions-item--active .myinterview-widget-questions-item__number{background-color:var(--color-white);border:1px solid var(--color-primary);color:var(--color-primary)}}.myinterview-widget-upload{align-items:center;background-color:var(--color-white);border-radius:20px;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto;max-height:500px;overflow:hidden;padding:40px;text-align:center;width:100%}@media (min-width:1200px){.myinterview-widget-upload{margin:0;min-height:360px}}.myinterview-widget-upload__icon{align-items:center;background-color:#5aa4f5;border:12px solid #d7e8fb;border-radius:50%;color:var(--color-white);display:flex;height:110px;justify-content:center;margin-bottom:30px;min-height:110px;position:relative;width:110px}.myinterview-widget-upload__icon:before{background-color:initial;border:12px solid #99c6f8;border-radius:50%;content:\"\";height:100%;position:absolute;width:100%}.myinterview-widget-upload__title{margin-bottom:20px}.myinterview-widget-upload__sub-title{margin-bottom:40px;white-space:pre-line}.myinterview-widget-upload__progress{margin-bottom:10px;width:100%}.myinterview-widget-upload__time-left{align-items:center;color:var(--color-neutral-90);display:flex;gap:10px}.myinterview-widget-top-tips{background-color:var(--color-white);color:var(--color-neutral-90);display:flex;flex-direction:column;padding:50px}.myinterview-widget-top-tips__title{margin-bottom:20px}.myinterview-widget-top-tips__tips{margin-bottom:10px;padding:0 15px}.myinterview-widget-top-tips li{margin-bottom:10px}.myinterview-widget__practice-mode{border-radius:2.5rem;height:36px;padding:5px 15px}.myinterview-widget__practice-mode,.myinterview-widget__recording-button{align-items:center;background-color:var(--color-white);display:flex;justify-content:center}.myinterview-widget__recording-button{border:1px solid var(--color-neutral-30);border-radius:50%;height:64px;width:64px}.myinterview-widget__recording-button-inner{background-color:var(--color-error);border-radius:50%;height:52px;width:52px}.myinterview-widget__recording-button-inner--stop{border-radius:2px;height:16px;width:16px}.myinterview-widget__question-number{display:flex;gap:5px;position:absolute}@media (min-width:1200px){.myinterview-widget__question-number{margin-left:10px}}.myinterview-widget__question-number-track{direction:ltr;display:flex;gap:5px}.myinterview-widget__question-duration{align-items:center;display:flex;gap:8px}.myinterview-widget__question-duration svg{height:1em;width:1em}.myinterview-widget__progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:2.5rem;height:15px;overflow:hidden;width:100%}.myinterview-widget__progress::-webkit-progress-bar{background-color:#e7f1ef}.myinterview-widget__progress::-webkit-progress-value{background-color:var(--color-success);transition:.3s}.myinterview-widget__dot-separator{background-color:currentColor;border-radius:50%;height:3px;width:3px}.myinterview-widget-welcome-page{display:flex;flex-direction:column;gap:20px;height:100%;margin:30px 0;max-height:100%;overflow:auto;position:relative}@media (min-width:1200px){.myinterview-widget-welcome-page{padding:0 20px}}.myinterview-widget-welcome-page__text-wrapper{display:flex;flex-direction:column;position:relative}.myinterview-widget-welcome-page__text{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;white-space:pre-line}.myinterview-widget-welcome-page__text--closed{-webkit-line-clamp:4;line-clamp:4}.myinterview-widget-welcome-page__toggle{margin-left:auto}.myinterview-widget-welcome-page__action-buttons{display:flex;gap:20px;justify-content:space-between}.myinterview-widget-welcome-page__continue-button{flex:1;max-width:250px;min-width:fit-content}.myinterview-widget-welcome-page__top-tips-button{margin:0 auto}.myinterview-widget-welcome-page__top-tips{align-items:center;display:flex;gap:10px;justify-content:center}.myinterview-modal-wrapper{background-color:var(--color-white);border-radius:0;height:100vh;max-height:100%;max-width:500px;opacity:0;pointer-events:none;top:calc(50% + 40px);transition:top .2s ease-out,opacity .2s ease-out;width:100vw}@media (min-width:480px){.myinterview-modal-wrapper{border-radius:10px;height:auto}}.myinterview-modal-wrapper--opened{opacity:1;pointer-events:all;top:50%}.myinterview-modal-wrapper__close-btn{color:var(--color-neutral-90)}.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:20px;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;justify-content:space-between;overflow:auto;padding:var(--myinterview-widget-wrapper-padding)}@media (min-width:1200px){.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:7px;align-items:center}.myinterview-widget-assessment .myinterview-widget-question{display:none}}.myinterview-widget-assessment .myinterview-widget__question-number{align-self:flex-start;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative}.myinterview-widget-assessment__countdown-wrapper{display:flex;height:100%;justify-content:center;left:0;padding:var(--myinterview-widget-wrapper-padding);pointer-events:none;position:absolute;top:0;width:100%}.myinterview-widget-assessment__countdown-wrapper .myinterview-widget__countdown-mobile{background-color:var(--color-neutral-10);position:sticky;top:0}.myinterview-widget-assessment__instructions{margin-bottom:var(--myinterview-widget-assessment-spacing);z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__instructions{text-align:center}}.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{align-items:center;display:flex;flex:1;flex-direction:column;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{width:550px}}.myinterview-widget-assessment__input{border:.5px solid var(--color-neutral-40);border-radius:4px;flex:1;min-height:100px;padding:15px 15px 30px;resize:none;width:100%}.myinterview-widget-assessment__input::placeholder{color:var(--color-neutral-40)}.myinterview-widget-assessment__options-form{display:flex;flex-direction:column;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__options-form{margin:auto 0}}.myinterview-widget-assessment__option{align-items:center;cursor:pointer;display:flex;gap:var(--myinterview-widget-assessment-spacing);padding:var(--myinterview-widget-assessment-spacing) 0;position:relative}.myinterview-widget-assessment__option:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:100%;left:0;opacity:.1;pointer-events:none;position:absolute;top:0;transition:background-color .1s;width:100%;z-index:-1}.myinterview-widget-assessment__option:active:before{background-color:var(--color-primary)}.myinterview-widget-assessment__option:not(:last-child){border-bottom:1px solid var(--color-neutral-20)}.myinterview-widget-assessment__checkmark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;flex-shrink:0;height:16px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:16px}.myinterview-widget-assessment__checkmark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-assessment__checkmark--selected{border:1px solid var(--color-primary)}.myinterview-widget-assessment__checkmark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-assessment .myinterview-widget__characters-limit{bottom:10px;position:absolute;right:15px}.myinterview-widget-assessment__submit-button{min-height:45px;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__submit-button{width:auto}}";
|
|
48297
|
+
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap\");:host,:root,html[data-theme=light]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#fff;--color-black:#000;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(50.24deg,#135 -146.43%,#557ede -0.68%,#6690ff 75.97%)}html[data-theme=dark]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#222;--color-black:#ddd;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(135deg,#51beff,#6690ff)}.color--primary{color:var(--color-primary)}.background-color--primary{background-color:var(--color-primary)}.border-color--primary{border-color:var(--color-primary)}.color--secondary{color:var(--color-secondary)}.background-color--secondary{background-color:var(--color-secondary)}.border-color--secondary{border-color:var(--color-secondary)}.color--premium{color:var(--color-premium)}.background-color--premium{background-color:var(--color-premium)}.border-color--premium{border-color:var(--color-premium)}.color--special{color:var(--color-special)}.background-color--special{background-color:var(--color-special)}.border-color--special{border-color:var(--color-special)}.color--neutral-10{color:var(--color-neutral-10)}.background-color--neutral-10{background-color:var(--color-neutral-10)}.border-color--neutral-10{border-color:var(--color-neutral-10)}.color--neutral-20{color:var(--color-neutral-20)}.background-color--neutral-20{background-color:var(--color-neutral-20)}.border-color--neutral-20{border-color:var(--color-neutral-20)}.color--neutral-30{color:var(--color-neutral-30)}.background-color--neutral-30{background-color:var(--color-neutral-30)}.border-color--neutral-30{border-color:var(--color-neutral-30)}.color--neutral-40{color:var(--color-neutral-40)}.background-color--neutral-40{background-color:var(--color-neutral-40)}.border-color--neutral-40{border-color:var(--color-neutral-40)}.color--neutral-50{color:var(--color-neutral-50)}.background-color--neutral-50{background-color:var(--color-neutral-50)}.border-color--neutral-50{border-color:var(--color-neutral-50)}.color--neutral-60{color:var(--color-neutral-60)}.background-color--neutral-60{background-color:var(--color-neutral-60)}.border-color--neutral-60{border-color:var(--color-neutral-60)}.color--neutral-70{color:var(--color-neutral-70)}.background-color--neutral-70{background-color:var(--color-neutral-70)}.border-color--neutral-70{border-color:var(--color-neutral-70)}.color--neutral-90{color:var(--color-neutral-90)}.background-color--neutral-90{background-color:var(--color-neutral-90)}.border-color--neutral-90{border-color:var(--color-neutral-90)}.color--white{color:var(--color-white)}.background-color--white{background-color:var(--color-white)}.border-color--white{border-color:var(--color-white)}.color--black{color:var(--color-black)}.background-color--black{background-color:var(--color-black)}.border-color--black{border-color:var(--color-black)}.color--success{color:var(--color-success)}.background-color--success{background-color:var(--color-success)}.border-color--success{border-color:var(--color-success)}.color--warning{color:var(--color-warning)}.background-color--warning{background-color:var(--color-warning)}.border-color--warning{border-color:var(--color-warning)}.color--error{color:var(--color-error)}.background-color--error{background-color:var(--color-error)}.border-color--error{border-color:var(--color-error)}.color--info{color:var(--color-info)}.background-color--info{background-color:var(--color-info)}.border-color--info{border-color:var(--color-info)}.background-color--malibu{background:var(--color-malibu)}*{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0;outline:none;padding:0}body{background-color:var(--color-white)}@keyframes react-loading-skeleton{to{transform:translateX(100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;width:100%;z-index:1}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));background-repeat:no-repeat;content:\" \";display:var(--pseudo-element-display);height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}.myinterview-button{border:none;border-radius:10px;cursor:pointer;font-weight:700;height:45px;letter-spacing:1px}.myinterview-button:disabled{cursor:unset;opacity:.6;pointer-events:none}.myinterview-button--small{font-size:10px;height:35px;min-width:100px;padding:0 20px}.myinterview-button--medium{font-size:12px;height:45px;min-width:150px;padding:0 30px}.myinterview-button--large{font-size:16px;height:65px;min-width:180px;padding:0 45px}.dropdown{align-items:center;cursor:pointer;display:flex;font-size:14px;justify-content:space-between;padding:15px;white-space:nowrap}.dropdown--rtl{direction:rtl}.dropdown--rtl .dropdown__input{padding-left:30px;padding-right:15px}.dropdown--rtl .dropdown__arrow-wrapper,.dropdown--rtl .dropdown__clear-wrapper{margin-left:0;margin-right:5px}.dropdown--rtl .dropdown__item span{margin-left:5px;margin-right:0}.dropdown--rtl.dropdown--with-icon{padding-left:15px;padding-right:10px}.dropdown--rtl.dropdown--with-icon .dropdown__selected-item,.dropdown--rtl.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:0;padding-right:8px}.dropdown--standalone{border:.5px solid var(--color-neutral-30);border-radius:10px;border-width:.5px!important;height:50px;position:relative}.dropdown--with-icon{padding-left:10px}.dropdown--with-icon svg{height:22px}.dropdown--with-icon .dropdown__selected-item,.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:8px}.dropdown--opened{border-radius:10px 10px 0 0;box-shadow:0 0 10px -2px #0000001a}.dropdown--opened .dropdown__options{box-shadow:0 0 10px -2px #0000001a;visibility:visible}.dropdown--opened .dropdown__arrow-wrapper{transform:rotate(-180deg)}.dropdown--upside.dropdown--opened{border-radius:0 0 4px 4px;border-top:0}.dropdown--upside .dropdown__options{border-bottom:0;border-radius:10px 10px 0 0;border-top:.5px solid var(--color-neutral-30);bottom:auto;top:0;transform:translateY(-100%)}.dropdown__selected-item{flex:1;overflow:hidden;text-overflow:ellipsis}.dropdown__selected-item::selection{background-color:initial}.dropdown__selected-item--placeholder{opacity:.5}.dropdown__input{border:0;border-radius:10px;height:100%;left:0;opacity:0;padding:15px 30px 15px 15px;pointer-events:none;position:absolute;top:0;width:100%;z-index:0}.dropdown__input--searchable:focus{opacity:1}.dropdown__input--searchable:focus+.dropdown__selected-item{opacity:0!important}.dropdown__arrow-wrapper,.dropdown__clear-wrapper{align-items:center;display:flex;flex-shrink:0;justify-content:center;margin-left:5px;transition:.2s;width:1em}.dropdown__options{background-color:var(--color-white);border:.5px solid var(--color-neutral-30);border-radius:0 0 4px 4px;border-top:0;bottom:0;left:-.75px;list-style:none;margin:0;max-height:0;overflow:auto;padding:0;position:absolute;transform:translateY(100%);visibility:hidden;width:calc(100% + 1.25px)}.dropdown__item{cursor:pointer;max-width:100%;overflow:hidden;padding:15px;text-overflow:ellipsis}.dropdown__item:not(:last-child){border-bottom:.5px solid var(--color-neutral-30)}.dropdown__item--highlighted,.dropdown__item:hover{background-color:var(--color-primary);color:var(--color-white)}.dropdown__item span{margin-right:5px}.tag{background-color:#dde8f6;border-radius:3px;color:#4a90e2;display:inline-block;font-size:13px;font-weight:500;letter-spacing:.5px;margin:5px 8px 5px 0;padding:4px 11px;text-transform:capitalize}.myinterview-text--XS{font-size:12px;line-height:20px}.myinterview-text--S{font-size:14px;line-height:22px}.myinterview-text--M{font-size:16px;line-height:24px}.myinterview-text--L{font-size:18px;line-height:26px}.myinterview-text--H3{font-size:20px;line-height:28px}.myinterview-text--H2{font-size:24px;line-height:32px}.myinterview-text--H1{font-size:30px;line-height:38px}.myinterview-text--D3{font-size:38px;line-height:46px}.myinterview-text--D2{font-size:48px;line-height:54px}.myinterview-text--D1{font-size:56px;line-height:64px}.myinterview-text--regular{font-weight:400}.myinterview-text--semibold{font-weight:600}.myinterview-text--bold{font-weight:700}.myinterview-text--italic{font-style:italic}.myinterview-text--truncated{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggle-switch{align-items:center;border-radius:99999px;cursor:pointer;display:flex;position:relative;transition:.2s}.toggle-switch__indicator{border-radius:50%;height:.65em;left:10%;position:absolute;transition:.2s;width:.65em}.toggle-switch__indicator--active{left:90%;transform:translateX(-100%)}.toggle-switch:active .toggle-switch__indicator{height:.5em;width:.5em}.toggle-text{align-items:center;cursor:pointer;display:flex;justify-content:center;width:fit-content}.toggle-text__arrow-wrapepr{align-items:center;display:flex;margin-left:5px;transition:.25s ease-in-out;width:1em}.toggle-text__arrow-wrapepr--opened{transform:rotate(-180deg)}.progress{align-items:center;border-radius:50%;display:flex;height:1em;justify-content:center;width:1em}.progress__fill{border-radius:50%;height:.7em;width:.7em}.input-text{display:flex;flex-direction:column;flex-grow:1}.input-text__field{border:.5px solid var(--color-neutral-30);border-radius:10px;font-size:14px;padding:14px 16px;width:100%}.input-text__field--with-icon{padding:14px 43px!important}.input-text__icon-container{margin:10px 12px;position:absolute}.input-text__icon-container i{vertical-align:-webkit-baseline-middle}.input-text__icon-container i svg{height:22px;width:22px}.input-text--error{border:1px solid var(--color-error)}.input-text__error-msg{color:var(--color-error);margin-top:3px}.dnd-wrapper{border:1px solid var(--color-neutral-30);border-radius:10px;height:50px;max-width:500px;padding:7px 10px;position:relative;transition:.3s ease-in-out;width:100%}.dnd-wrapper--rtl{direction:rtl}.dnd-wrapper--rtl .dnd-wrapper__placeholder{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__label .progress{margin-left:5px;margin-right:0}.dnd-wrapper--rtl .dnd-wrapper__text{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__icon--close{margin-left:0;margin-right:auto}.dnd-wrapper__placeholder{color:var(--color-neutral-50);font-size:14px;margin-left:5px}.dnd-wrapper__left-hand{align-items:flex-end;display:flex}.dnd-wrapper--scale{transform:scale(1.1)}.dnd-wrapper--border-solid{border:.5px solid var(--color-neutral-30)}.dnd-wrapper__label{align-items:center;display:flex;font-size:14px;height:100%;justify-content:center}.dnd-wrapper__label svg{height:16px;vertical-align:middle;width:16px}.dnd-wrapper__label--with-icon{justify-content:space-between}.dnd-wrapper__label--with-icon i{color:var(--color-neutral-60)}.dnd-wrapper__label--uploaded,.dnd-wrapper__label--uploading{justify-content:flex-start}.dnd-wrapper__label .progress{height:18px;margin-right:5px;width:18px}.dnd-wrapper__icon{align-items:center;display:flex}.dnd-wrapper__icon--clip{font-size:18px;transform:rotate(10deg) rotateX(180deg)}.dnd-wrapper__icon--close{cursor:pointer;margin-left:auto;z-index:10}.dnd-wrapper__text{margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd-wrapper__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.dnd-wrapper__input:disabled{cursor:auto}.myinterview-modal-wrapper{border-radius:4px;box-shadow:0 4px 6px -1px #00000014,0 2px 4px -1px #0000000f;left:50%;max-height:90vh;max-width:90vw;overflow:auto;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:30}.myinterview-modal-wrapper--fullscreen{border-radius:0;box-shadow:none;height:100vh;left:0;max-height:100vh;max-width:100vw;padding:0;top:0;transform:none;width:100vw}.myinterview-modal-wrapper__box{height:100%;max-height:100%;max-width:100%;overflow:auto;width:100%}.myinterview-modal-wrapper__close-btn{cursor:pointer;height:16px;position:absolute;right:20px;top:20px;width:16px}.myinterview-modal-wrapper-background{background-color:#0000001a;height:100vh;left:0;position:fixed;top:0;width:100vw}.phone-number{border:.5px solid var(--color-neutral-30);border-radius:10px;display:flex;position:relative}.phone-number--rtl{direction:rtl}.phone-number--rtl .input-text{direction:ltr}.phone-number--rtl .input-text input{text-align:end}.phone-number--rtl .dropdown{border-left:.5px solid var(--color-neutral-20);border-right:0!important}.phone-number--opened{border-radius:10px 10px 0 0!important}.phone-number--opened--up{border-radius:0 0 10px 10px!important}.phone-number .dropdown{border-right:.5px solid var(--color-neutral-20);padding:0 15px;width:75px}.phone-number .dropdown__selected-item{font-size:16px}.phone-number .dropdown--opened{border-radius:unset!important;box-shadow:unset!important}.phone-number .input-text{border:0;flex:1}.myinterview-logo-wrapper{max-height:400px}.myinterview-checkbox{align-items:center;border-radius:4px;border-style:solid;border-width:1px;display:flex;flex-shrink:0;justify-content:center;position:relative;transition:all .15s ease-out}.myinterview-checkbox__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.myinterview-checkbox__checkmark{border-radius:50%;display:flex;height:100%;padding:2px;transform:scale(0);transition:.15s ease-out;width:100%}.myinterview-checkbox__checkmark--checked{border-radius:0;transform:scale(1)}.myinterview-checkbox__checkmark svg{height:100%;width:100%}.myinterview-widget-no-select{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.myinterview-widget-scroll-indicator::-webkit-scrollbar{display:initial!important;width:5px}.myinterview-widget-scroll-indicator::-webkit-scrollbar-thumb{background:var(--color-neutral-40)}@keyframes fade-in{0%{opacity:0}}:host{--myinterview-widget-dynamic-overflow:auto;--myinterview-widget-background-height:calc(40vh - 100px);--myinterview-widget-background-preview-display:none;--myinterview-widget-video-aspect-ratio:0.75;--myinterview-widget-camera-transform:translateZ(0) rotateY(180deg);--myinterview-widget-outer-width:530px;--myinterview-widget-recorder-border-radius:10px;--myinterview-widget-preview-video-border-radius:20px;--myinterview-background-opacity:0;--myinterview-widget-wrapper-padding:20px}@media (min-width:1200px){:host{--myinterview-widget-recorder-border-radius:20px;--myinterview-widget-preview-video-border-radius:10px;--myinterview-widget-video-aspect-ratio:1.77778;--myinterview-widget-wrapper-padding:10px}}.myinterview-widget{word-wrap:normal;--myinterview-widget-layout-top:0;--myinterview-widget-layout-right:0;--myinterview-widget-layout-bottom:0;--myinterview-widget-layout-left:0;border-collapse:initial;border-spacing:0;caption-side:top;cursor:auto;direction:ltr;empty-cells:show;font-size:1rem;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;line-height:normal;list-style-image:none;list-style-position:outside;list-style-type:disc;orphans:2;quotes:initial;tab-size:8;text-align:initial;text-align-last:auto;text-decoration-color:initial;text-indent:0;text-justify:auto;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;widows:2;word-break:normal;word-spacing:normal}.myinterview-widget *,.myinterview-widget :after,.myinterview-widget :before{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0}.myinterview-widget__layout{background-color:var(--color-white);border-radius:0;bottom:0;display:flex;flex-direction:column;left:0;max-height:100%;padding:20px 20px 0;position:fixed;right:0;top:0;transform:translateZ(0);-webkit-transform:translateZ(0);z-index:2147483000}.myinterview-widget__layout--animated{animation:myinterview-widget-open .4s ease-out;-webkit-animation:myinterview-widget-open .4s ease-out;-moz-animation:myinterview-widget-open .4s ease-out;-o-animation:myinterview-widget-open .4s ease-out}.myinterview-widget__layout--minimized{animation:myinterview-widget-minimize .5s ease-in-out forwards;-webkit-animation:myinterview-widget-minimize .5s ease-in-out forwards;-moz-animation:myinterview-widget-minimize .5s ease-in-out forwards;-o-animation:myinterview-widget-minimize .5s ease-in-out forwards;overflow:hidden}.myinterview-widget__layout--minimized>*{opacity:0;transition:opacity .2s ease-out}@media (min-width:480px){.myinterview-widget__layout{display:grid;grid-template-columns:minmax(20px,1fr) minmax(auto,480px) minmax(20px,1fr);padding:20px 0 0}.myinterview-widget__layout>*{grid-column:2}.myinterview-widget__layout>.full{grid-column:1/-1;padding:0}}@media (min-width:1200px){.myinterview-widget__layout{grid-template-columns:10px 1fr 10px;padding:50px 0}}@keyframes myinterview-widget-open{0%{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;overflow:hidden;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top)}50%{background-color:var(--color-white)}}@keyframes myinterview-widget-minimize{90%{border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:1;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:2147483000}99%{opacity:0}to{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:0;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:-1}}.myinterview-widget-icons__play-button{cursor:pointer;position:relative}.myinterview-widget-icons__play-button svg{color:var(--color-primary)}.myinterview-widget-icons__play-button svg path{transition:d .4s ease-out;-webkit-transition:d .4s}.myinterview-widget-icons__play-button svg rect{transition:rx .4s;-webkit-transition:rx .4s}.myinterview-widget-icons__loading{background-color:currentColor;border-radius:50%;height:38px;overflow:hidden;position:relative;transform:translateZ(0);width:38px}.myinterview-widget-icons__loading:after{animation:slide 1s infinite;background:linear-gradient(to right,currentColor,var(--color-neutral-10),currentColor);content:\"\";height:100%;left:-50px;position:absolute;width:100%}.myinterview-widget-icons__no-camera-mic{align-items:center;background-color:#eff6fe;border-radius:50%;display:flex;height:80px;justify-content:center;position:relative;width:80px}.myinterview-widget-icons__no-camera-mic__camera,.myinterview-widget-icons__no-camera-mic__mic{align-items:center;border-radius:4px;display:flex;height:28px;justify-content:center;position:absolute;width:28px}.myinterview-widget-icons__no-camera-mic__camera svg,.myinterview-widget-icons__no-camera-mic__mic svg{height:20px;width:20px}.myinterview-widget-icons__no-camera-mic__camera{background-color:var(--color-primary);color:var(--color-white);transform:translate(-35%,-35%)}.myinterview-widget-icons__no-camera-mic__mic{background-color:var(--color-white);color:var(--color-primary);transform:translate(35%,35%)}.myinterview-widget__wrapper{-ms-overflow-style:none;display:flex;flex:1;flex-direction:column;overflow:hidden;position:relative;scrollbar-width:none}.myinterview-widget__wrapper ::-webkit-scrollbar,.myinterview-widget__wrapper::-webkit-scrollbar{display:none}.myinterview-widget__wrapper--hide-header .myinterview-widget-header{visibility:hidden}.myinterview-widget__background{background:linear-gradient(50.24deg,var(--color-primary) 0,var(--color-special) 75%);height:var(--myinterview-widget-background-height);left:0;opacity:var(--myinterview-background-opacity);overflow:hidden;position:absolute;top:0;transition:opacity .5s;width:100%}.myinterview-widget__background:before{border:6vh solid hsla(0,0%,100%,.267);border-radius:50%;content:\"\";height:30vh;position:absolute;right:0;top:0;transform:translate(50%,-50%);width:30vh}.myinterview-widget__background:after{background-color:var(--color-white);border-radius:20px 20px 0 0;bottom:0;content:\"\";display:var(--myinterview-widget-background-preview-display);height:20px;position:absolute;width:100%}@media (min-width:1200px){.myinterview-widget__background:after{display:none}.myinterview-widget__background{height:100vh;left:auto;right:0;width:calc(100% - var(--myinterview-widget-outer-width))}.myinterview-widget__background:before{border:12vh solid hsla(0,0%,100%,.267);height:70vh;width:70vh}}.myinterview-widget__watermark{display:none}@media (min-width:1200px){.myinterview-widget__watermark{bottom:20px;display:flex;height:64px;left:20px;position:absolute}}.myinterview-widget__background-dots{display:none}@media (min-width:1200px){.myinterview-widget__background-dots{background-image:radial-gradient(hsla(0,0%,100%,.467) 15%,#0000 0);background-position:0 0,50px 50px;background-size:20px 20px;bottom:0;display:flex;height:200px;position:absolute;right:0;width:200px}}.myinterview-widget__views{--myinterview-widget-views-margin-top:0px;--myinterview-widget-practice-opacity:1;-webkit-overflow-scrolling:touch;color:var(--color-primary);display:flex;flex:1;flex-direction:column;overflow-y:var(--myinterview-widget-dynamic-overflow);scroll-snap-type:y mandatory;z-index:20}.myinterview-widget__views--uploading{gap:0;justify-content:center;margin-bottom:30px}@media (min-width:1200px){.myinterview-widget__views{align-items:start;flex:initial;flex:1;flex-direction:row-reverse;gap:0;justify-content:flex-end;overflow:hidden;padding:0;scroll-snap-type:none}.myinterview-widget__views--uploading{margin-bottom:0}}.myinterview-widget__views--rtl .myinterview-widget--rtl-support{direction:rtl}.myinterview-widget-recording-action-button{margin-bottom:20px;min-height:45px;position:relative;scroll-snap-align:end;z-index:1}@media (min-width:1200px){.myinterview-widget-recording-action-button{display:none}}.myinterview-widget-recording-action-button--video-question:disabled{display:none!important}.myinterview-widget-recording-action-button--stop-recording{border:1px solid var(--color-neutral-40)!important}@media (min-width:1200px){.myinterview-widget-recording-action-button--stop-recording{border:none!important}}.myinterview-widget-rotate-screen{align-items:center;animation:fade-in .3s;background-color:var(--color-white);display:none;height:100%;justify-content:center;left:0;padding:20px!important;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-rotate-screen svg{flex:0;margin-right:40px;min-width:120px}@media screen and (orientation:landscape){.myinterview-widget-rotate-screen{display:flex}}.myinterview-widget-unsupported-modal{align-items:center;background-color:var(--color-white);display:flex;height:100%;justify-content:center;left:0;padding:20px;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-unsupported-modal__message{text-align:center}.myinterview-widget-minimize{color:var(--color-white);cursor:pointer;display:none;height:20px;position:fixed;right:30px;top:30px;width:20px;z-index:50}@media (min-width:1024px){.myinterview-widget-minimize{display:flex}}.myinterview-widget-header{display:flex;flex-wrap:wrap;gap:18px;height:fit-content;margin:0 0 20px;max-height:112px;max-width:100%;overflow:hidden;transition:all .2s}.myinterview-widget-header--hidden{height:0;margin:0;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header--hidden{height:fit-content;margin:0 0 20px}}.myinterview-widget-header__logo{height:48px}.myinterview-widget-header__logo img{flex-shrink:1;max-height:100%;max-width:100%;object-fit:contain;overflow:hidden}.myinterview-widget-header__details-wrapper{display:flex;flex-direction:column;flex-shrink:0;justify-content:center;letter-spacing:.2px;max-width:100%;min-width:60%;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header{display:none;max-width:var(--myinterview-widget-outer-width);overflow:visible;padding-left:20px}.myinterview-widget-header__company-name{color:var(--color-neutral-50)}.myinterview-widget-header__job-title{color:var(--color-neutral-90)}}.myinterview-widget-header--desktop-layout{display:none}@media (min-width:1200px){.myinterview-widget-header--desktop-layout{display:flex;min-height:48px}}.myinterview-widget-inner{align-items:center;display:flex;flex-direction:column;margin-bottom:20px;min-height:min((100vw - 40px) * 1/var(--myinterview-widget-video-aspect-ratio),480px * 1/var(--myinterview-widget-video-aspect-ratio));position:relative;scroll-snap-align:start;z-index:1}.myinterview-widget-inner--no-snap{scroll-snap-align:none}@media (min-width:1200px){.myinterview-widget-inner{background-color:var(--color-white);border-radius:var(--myinterview-widget-recorder-border-radius);box-shadow:0 4px 14px -2px #00000026;height:calc((100vw - 20px - var(--myinterview-widget-outer-width))*9/16);margin:auto;max-height:440px;max-width:782.2222222222px;min-height:auto;overflow:hidden;width:100%}}.myinterview-widget-inner--hidden{max-height:0;min-height:0;overflow:hidden;visibility:hidden}.myinterview-widget-inner--welcome-hidden{aspect-ratio:16/9;visibility:hidden;width:100%}.myinterview-widget-inner__content{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-height:100%;max-width:fit-content;min-height:200px;min-width:200px;overflow:hidden;position:sticky;top:0}.myinterview-widget-inner__content--full-width{min-width:100%}@media (min-width:1200px){.myinterview-widget-inner__content{height:100%;max-width:100%;position:relative;width:100%}}.myinterview-widget-inner__content--error{display:flex;flex:1;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-width:100%;min-height:fit-content;width:100%}.myinterview-widget-inner .myinterview-widget-explanation{align-items:center;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:100%;justify-content:center;padding:20px;position:absolute;text-align:center;white-space:pre-line;width:100%;z-index:1}.myinterview-widget-inner .myinterview-widget-explanation .myinterview-widget-question__question-parameters{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-explanation__main{margin-bottom:15px;max-width:50ch}.myinterview-widget-inner .myinterview-widget-explanation__header{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-times-up{align-items:center;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;gap:10px;justify-content:center;padding:20px;text-align:center}.myinterview-widget-inner .myinterview-widget-times-up__button{margin-top:50px}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-times-up__button,.myinterview-widget-inner .myinterview-widget-times-up__title{margin-top:auto}}.myinterview-widget-inner .myinterview-widget-recording-action-button{display:none}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-recording-action-button{bottom:20px;display:block;left:50%;margin:0;position:absolute;transform:translate(-50%);white-space:nowrap;width:fit-content;z-index:20}}.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-height:fit-content;min-width:100%}.myinterview-widget-inner--video-question-state .myinterview-widget-inner__content,.myinterview-widget-inner--welcome-page-state .myinterview-widget-inner__content{aspect-ratio:auto;height:auto}@media (min-width:1200px){.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-width:auto}.myinterview-widget-inner--video-question-state .myinterview-widget-recording-action-button,.myinterview-widget-inner--welcome-page-state .myinterview-widget-recording-action-button{bottom:70px}}.myinterview-widget-inner--full{flex:1;scroll-snap-align:none}.myinterview-widget-inner--full .myinterview-widget-inner__content{flex:1;height:max-content;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-inner--full{flex:auto}}.myinterview-widget-outer{border-radius:10px;display:flex;flex-direction:column;padding-bottom:20px;scroll-snap-align:end}.myinterview-widget-outer--no-snap{scroll-snap-align:none}.myinterview-widget-outer--hidden{display:none}.myinterview-widget-outer--uploading{flex:0;padding:0}@media (min-width:1200px){.myinterview-widget-outer{background-color:initial;flex:none;height:100%;padding:0 20px 0 0!important;width:var(--myinterview-widget-outer-width)}.myinterview-widget-outer>*{padding:0 20px}.myinterview-widget-outer--hidden{display:flex}.myinterview-widget-outer--uploading{padding:0}}.myinterview-widget-outer .myinterview-widget-question{background-color:#fffffff2;border-radius:10px;margin:0 auto;transition:opacity .25s;width:100%}@media (min-width:1200px){.myinterview-widget-outer .myinterview-widget-question{padding:40px 20px 0}.myinterview-widget-outer .myinterview-widget-question__question{font-size:26px;line-height:36px}}.myinterview-widget-outer--hide-question .myinterview-widget-question{display:none}.myinterview-widget-outer__setup{display:flex;flex:1;flex-direction:column}.myinterview-widget-outer__title{margin-bottom:15px}.myinterview-widget-outer__mode-wrapper{background-color:var(--color-white);bottom:0;display:flex;justify-content:space-around;margin-top:15px;padding:10px 0;position:sticky}.myinterview-widget-outer__mode-wrapper:before{background-color:var(--color-white);content:\"\";height:40px;left:0;mask-image:linear-gradient(#0000,var(--color-black));-webkit-mask-image:linear-gradient(#0000,var(--color-black));mask-mode:alpha;position:absolute;top:0;transform:translateY(-100%);width:100%}@media (min-width:1200px){.myinterview-widget-outer__mode-wrapper{background-color:initial;flex-direction:column;justify-content:flex-start;padding:0;position:static;width:65%}.myinterview-widget-outer__mode-wrapper:after,.myinterview-widget-outer__mode-wrapper:before{display:none}}.myinterview-widget-outer__mode-button{letter-spacing:.5px;max-width:42%!important;min-width:100px!important;padding:0 15px!important;width:150px!important}.myinterview-widget-outer__mode-button--start{border:1px solid!important}.myinterview-widget-outer__mode-button--single{background-color:var(--color-special);color:var(--color-white);max-width:100%!important;width:100%!important}@media (min-width:1200px){.myinterview-widget-outer__mode-button{max-width:100%!important;min-width:150px!important;width:100%!important}.myinterview-widget-outer__mode-button:first-child{margin-bottom:20px}}.myinterview-widget-outer__practice-mode-info{margin-bottom:20px}.myinterview-widget-outer .myinterview-widget__countdown-mobile{display:none}.myinterview-widget-video-camera{border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex:1;flex-direction:column;max-height:100%;position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-video-camera{transform:translateZ(0) scale(1.005)}}.myinterview-widget-video-camera--hidden{display:none}.myinterview-widget-video-camera video{border-radius:var(--myinterview-widget-recorder-border-radius);object-fit:contain;overflow:hidden;transform:var(--myinterview-widget-camera-transform);-webkit-transform:var(--myinterview-widget-camera-transform);width:100%}.myinterview-widget-video-camera__recording-without-video{align-items:center;background-color:#fff;display:flex;height:100%;justify-content:center}.myinterview-widget-video-camera__recording-without-video svg{height:45px;width:45px}.myinterview-widget-video-camera__recording-counter-wrapper{align-self:center;position:absolute;top:var(--myinterview-widget-wrapper-padding);width:70px;z-index:2}.myinterview-widget-video-camera__permissions{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);color:var(--color-neutral-90);display:flex;height:100%;justify-content:center;padding:20px;position:absolute;width:100%;z-index:21}.myinterview-widget-video-camera__permissions-close{cursor:pointer;left:25px;position:absolute;top:25px;width:20px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{align-items:center;background-color:var(--color-primary);border-radius:50%;bottom:18px;color:var(--color-white);display:flex;height:40px;isolation:isolate;justify-content:center;left:18px;padding:10px;position:absolute;width:40px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator--hidden{visibility:hidden}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{bottom:25px;left:25px}}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator:after{background:radial-gradient(#0000 40%,var(--color-primary) 90%);border-radius:50%;content:\"\";height:100%;position:absolute;transform:scale(var(--myinterview-widget-voice-level));transform-origin:center;width:100%;will-change:transform;z-index:-1}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator svg{height:100%;width:100%}.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:var(--myinterview-widget-practice-opacity);position:absolute;right:10px;top:10px;transition:opacity .3s}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:1;right:25px;top:25px}}.myinterview-widget-video-camera .myinterview-widget__question-number{left:var(--myinterview-widget-wrapper-padding);top:var(--myinterview-widget-wrapper-padding);z-index:25}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__question-number{letter-spacing:.5px}}.myinterview-widget-video-camera .myinterview-widget__countdown-desktop{display:none}.myinterview-widget-video-camera__watermark{height:50px;left:15px;opacity:.5;position:absolute;top:15px;width:120px}@media (min-width:1200px){.myinterview-widget-video-camera__watermark{left:25px;top:25px}}.myinterview-widget-recorder-modal{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);bottom:0;color:var(--color-neutral-90);display:flex;filter:drop-shadow(0 0 0 rgba(0,0,0,.2));justify-content:center;left:0;min-height:100%;overflow:hidden;padding:var(--myinterview-widget-wrapper-padding);position:absolute;right:0;text-align:center;top:0;z-index:20}.myinterview-widget-recorder-modal__content-wrapper{align-items:center;display:flex;flex-direction:column;gap:5px;letter-spacing:.5px}@media (min-width:1200px){.myinterview-widget-recorder-modal__content-wrapper{max-width:700px}}.myinterview-widget-recorder-modal__question{max-width:100%;overflow:hidden;overflow-wrap:break-word;text-align:start}@media (min-width:1200px){.myinterview-widget-recorder-modal__question{text-align:center}.myinterview-widget-recorder-modal__question .myinterview-widget__question-duration{justify-content:center}}.myinterview-widget-checks{display:flex;flex-direction:column}.myinterview-widget-checks__item{align-items:center;display:flex;gap:20px;margin-bottom:20px}.myinterview-widget-checks__icon{align-items:center;display:flex;height:100%;justify-content:center;width:40px}.myinterview-widget-checks__text-wrapper{display:flex;flex-direction:column}.myinterview-widget-checks__retry{background-color:initial;border:0;cursor:pointer;margin-left:10px;text-decoration:underline}.myinterview-widget-preview__container{background-color:var(--color-white);display:flex;flex-direction:column;min-height:100%;padding-top:var(--myinterview-widget-wrapper-padding);position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-preview__container{max-height:100%;padding:var(--myinterview-widget-wrapper-padding)}}.myinterview-widget-preview__container .myinterview-widget__question-number{margin-bottom:var(--myinterview-widget-wrapper-padding);position:relative}.myinterview-widget-preview__container .myinterview-widget-errors{animation:fade-in .3s;background-color:var(--color-white);bottom:0;left:0;padding:20px;position:absolute;right:0;text-align:center;top:0;transform:translateZ(150px);-webkit-transform:translateZ(150px);z-index:150}.myinterview-widget-preview__title{margin-bottom:30px;text-align:center}@media (min-width:1200px){.myinterview-widget-preview__title{color:var(--color-neutral-90);margin-bottom:12px}}.myinterview-widget-preview__background{animation:background-fade-in .3s ease-out;background-color:#000000e6;height:100%;isolation:isolate;left:0;position:fixed;top:0;transform:translateZ(150px);width:100%;z-index:150}@keyframes background-fade-in{0%{background-color:#0000;transform:translateZ(-2px);z-index:-2}}.myinterview-widget-preview__close{background-color:var(--color-neutral-60);border-radius:2.5rem;bottom:1vh;left:50%;padding:3px 8px;pointer-events:none;position:absolute;transform:translateX(-50%)}.myinterview-widget-preview__main{animation:fade-in .5s;display:flex;height:350px;margin:auto;overflow:hidden;position:relative;touch-action:pan-y;width:100%;z-index:1}.myinterview-widget-preview__items-wrapper{--myinterview-widget-preview-transform-x:0;--myinterview-widget-preview-item-transition:0ms;--myinterview-widget-item-width:100%;box-sizing:initial;display:flex;margin-bottom:10px;position:relative;transition-duration:0ms;transition-property:transform;width:100%;z-index:2}.myinterview-widget-preview__items-wrapper--centered{justify-content:center}.myinterview-widget-preview__item{display:flex;flex-direction:column;flex-shrink:0;height:100%;justify-content:center;padding:2%;position:relative;transition:transform var(--myinterview-widget-preview-item-transition);width:var(--myinterview-widget-item-width);z-index:1}.myinterview-widget-preview__item--current{z-index:2}.myinterview-widget-preview__item--single-take{flex:1;max-width:50%}.myinterview-widget-preview__video-wrapper{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);display:flex;margin:0 auto;opacity:1;overflow:hidden;position:relative;transition-delay:.29s;z-index:3}.myinterview-widget-preview__video-wrapper--mobile{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);height:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper{border-radius:var(--myinterview-widget-preview-video-border-radius);margin:0}}.myinterview-widget-preview__video-wrapper:before{background-color:rgba(0,0,0,.267);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;left:0;pointer-events:none;position:absolute;top:0;transform:translateZ(1px);transition:background-color .3s;width:100%;z-index:1}.myinterview-widget-preview__video-wrapper--current:before,.myinterview-widget-preview__video-wrapper--preview:before,.myinterview-widget-preview__video-wrapper:hover:before{background-color:#0000;pointer-events:none}.myinterview-widget-preview__video-wrapper--preview-mobile{opacity:0}.myinterview-widget-preview__video-wrapper:after{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;pointer-events:none;position:absolute;transition:.15s;width:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper:after{border-radius:var(--myinterview-widget-preview-video-border-radius)}}.myinterview-widget-preview__video-wrapper--selected:before{background-color:#0000;z-index:-1}.myinterview-widget-preview__video-wrapper--selected:after{border:3px solid var(--color-primary)}.myinterview-widget-preview__video{cursor:pointer;transform:translateZ(0);-webkit-transform:translateZ(0);width:100%}.myinterview-widget-preview__dynamic-video{--myinterview-preview-video-top:50%;--myinterview-preview-video-left:50%;--myinterview-preview-video-width:0%;--myinterview-preview-video-height:0%;border-radius:var(--myinterview-widget-preview-video-border-radius);height:var(--myinterview-preview-video-height);left:var(--myinterview-preview-video-left);position:fixed;top:var(--myinterview-preview-video-top);transform:translateZ(-1px);transition:all .3s ease-out;transition-delay:.01s;visibility:hidden;width:var(--myinterview-preview-video-width);z-index:-1}.myinterview-widget-preview__dynamic-video--preview{border-radius:0;height:100%;left:0;max-height:70vh;top:46%;transform:translate3d(0,-50%,200px);visibility:visible;width:100%;z-index:200}.myinterview-widget-preview__number-wrapper{align-items:center;cursor:pointer;display:flex;gap:5px;margin:7px auto 0;position:relative;width:fit-content}@media (min-width:1200px){.myinterview-widget-preview__number-wrapper{margin:7px 0 0}}.myinterview-widget-preview__selected-check-mark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;height:20px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:20px}.myinterview-widget-preview__selected-check-mark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-preview__selected-check-mark--selected{border:1px solid var(--color-primary)}.myinterview-widget-preview__selected-check-mark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-preview__dots-wrapper{align-items:center;display:flex;height:20px;justify-content:center;width:100%}.myinterview-widget-preview__dot{background-color:var(--color-neutral-20);border-radius:50%;cursor:pointer;height:10px;margin:0 7px;position:relative;transition:.3s ease-out;width:10px}.myinterview-widget-preview__dot--selected{background-color:var(--color-primary);cursor:auto;transform:scale(1.5);-webkit-transform:scale(1.5)}.myinterview-widget-preview__play-container{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.myinterview-widget-preview__play-button-wrapper{left:50%;top:50%;transform:translateZ(1px);transition:opacity .3s;width:60px}@media (min-width:1200px){.myinterview-widget-preview__play-button-wrapper{max-width:76px;width:25%}}.myinterview-widget-preview__horizontal-line{display:none}@media (min-width:1200px){.myinterview-widget-preview__horizontal-line{background-color:#bdbdbd;display:block;height:1px;margin:15px auto;width:50%}}.myinterview-widget-preview__preview-buttons{align-items:center;display:flex;flex-direction:column;gap:20px;margin-bottom:10px;margin-top:33px;max-width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons{gap:10px;margin-top:auto}}.myinterview-widget-preview__preview-buttons-top{display:flex;gap:10px;justify-content:space-evenly;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons-top{justify-content:center;width:auto}}.myinterview-widget-preview__preview-button{max-width:45%;min-width:100px;width:150px}.myinterview-widget-preview__preview-button--retake{align-items:center;border:1px solid var(--color-neutral-30);display:flex;justify-content:center;max-width:100%}.myinterview-widget-preview__preview-button--start-interview{background-color:initial;color:var(--color-primary);font-size:13px;max-height:30px;max-width:max-content;padding:0;width:max-content}@media (min-width:1200px){.myinterview-widget-preview__preview-button{flex:1;max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-wrapper{max-width:45%;min-width:100px;text-align:center;width:150px}@media (min-width:1200px){.myinterview-widget-preview__retakes-wrapper{max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-left{color:var(--color-neutral-60)}.myinterview-widget-preview__arrow{align-items:center;animation:fade-in .3s;display:flex;height:100%;justify-content:center;min-width:40px;position:absolute;right:0;z-index:5}@media (min-width:1200px){.myinterview-widget-preview__arrow{min-width:4%}.myinterview-widget-preview__arrow:before{background-color:#fff;content:\"\";height:100%;left:0;mask-image:linear-gradient(to right,#0000,var(--color-black));-webkit-mask-image:linear-gradient(to right,#0000,var(--color-black));position:absolute;transform:translateX(5px);width:100%}}.myinterview-widget-preview__arrow--prev{left:0;right:auto;transform:translateZ(5px) rotateY(180deg)}@media (min-width:1200px){.myinterview-widget-preview__arrow--prev{transform:translateZ(5px) rotateY(180deg)}}.myinterview-widget-preview__arrow-icon-wrapper{align-items:center;background-color:var(--color-white);border:1px solid var(--color-neutral-30);border-radius:50%;color:var(--color-neutral-90);cursor:pointer;display:flex;height:36px;justify-content:center;position:relative;transform:translateY(-11px);width:36px}@media (min-width:1200px){.myinterview-widget-preview__arrow-icon-wrapper{box-shadow:0 4px 30px #00000026}}.myinterview-widget-video-question{aspect-ratio:16/9;background-color:var(--color-black);border-radius:var(--myinterview-widget-recorder-border-radius);height:fit-content;isolation:isolate;margin:auto;overflow:hidden;position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-video-question{height:100%}}.myinterview-widget-video-question--hidden{position:absolute;visibility:hidden;z-index:-1}.myinterview-widget-video-question--loading{background-color:hsla(0,0%,100%,.467)}.myinterview-widget-video-question--loading:before{animation:slide 1.5s infinite;background:linear-gradient(to right,#0000,var(--color-neutral-10),#0000);content:\"\";height:100%;left:-100%;position:absolute;top:0;width:100%;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question--loading{background-color:#ccd7f5}}.myinterview-widget-video-question:after{content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}.myinterview-widget-video-question--done:after{background-color:var(--color-black)}.myinterview-widget-video-question__play-button-wrapper{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transition:transform .2s ease-out,opacity .3s ease-out;width:clamp(50px,15vw,76px);z-index:1}.myinterview-widget-video-question__play-button-wrapper--hidden{opacity:0;pointer-events:none;touch-action:none;transform:translate(-50%,-50%) scale(1.3);-webkit-transform:translate(-50%,-50%) scale(1.3)}.myinterview-widget-video-question__controls{align-items:center;bottom:0;display:flex;justify-content:center;left:0;margin:10px 12px;position:absolute;right:0;transition:opacity .2s,transform .2s;z-index:1}.myinterview-widget-video-question__controls--inactive{opacity:0;pointer-events:none;touch-action:none;transform:translateY(25%)}.myinterview-widget-video-question__controls>:not(:last-child){margin-right:15px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button{min-width:40px;width:50px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button .myinterview-widget-icons svg{color:var(--color-white)}.myinterview-widget-video-question__timebar-counter-wrapper{width:100%}.myinterview-widget-video-question__counter-wrapper{-webkit-text-stroke-width:.5px;-webkit-text-stroke-color:var(--color-neutral-90);color:var(--color-white);font-size:13px;font-weight:700}.myinterview-widget-video-question__time-bar{background-color:hsla(0,0%,100%,.467);border-radius:2.5rem;cursor:pointer;height:10px;margin-bottom:5px;position:relative;width:100%}.myinterview-widget-video-question__time-bar--disabled{cursor:auto;pointer-events:none}.myinterview-widget-video-question__time-bar:before{content:\"\";height:30px;left:0;position:absolute;top:0;transform:translateY(-30%);width:100%}@media (min-width:1200px){.myinterview-widget-video-question__time-bar:before{display:none}}.myinterview-widget-video-question__time-bar-progress{background-color:var(--color-primary);border-radius:2.5rem;height:100%;position:absolute;transition:width .25s linear}.myinterview-widget-video-question__time-bar-progress:after{background-color:var(--color-primary);border-radius:50%;content:\"\";height:15px;left:100%;pointer-events:none;position:absolute;top:50%;touch-action:none;transform:translate(-50%,-50%);width:15px}.myinterview-widget-video-question__time-bar-progress--changing{transition:none}.myinterview-widget-video-question__time-bar-progress--unchangeable{cursor:auto}.myinterview-widget-video-question__time-bar-progress--unchangeable:after{display:none}.myinterview-widget-video-question__retry-button{margin-top:20px;width:100%;z-index:2}.myinterview-widget-video-question__retry-button--hidden{position:absolute;visibility:hidden;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question__retry-button{bottom:70px;left:50%;margin:0 auto;position:absolute;transform:translateX(-50%);width:fit-content}}@keyframes slide{50%{opacity:.9}to{left:100%;opacity:1}}.myinterview-widget-device{align-items:center;background-color:var(--color-white);border-radius:50%;color:var(--color-neutral-90);display:flex;height:40px;justify-content:center;position:absolute;right:18px;width:40px}.myinterview-widget-device__mobile{bottom:18px}.myinterview-widget-device__desktop{right:18px;top:18px;z-index:30}@media (min-width:1200px){.myinterview-widget-device__desktop{right:25px;top:25px}}.myinterview-widget-device__menu-button{align-items:center;background-color:initial;border:none;border-radius:50%;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.myinterview-widget-device__modal{--myinterview-widget-select-device-height:48px;background-color:var(--color-white);border-radius:20px;bottom:-15px;box-shadow:0 2px 12px -4px #0000001a;max-width:400px;min-width:300px;position:absolute;right:-12px;transform:translateY(100%)}.myinterview-widget-device__modal:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:20px;position:absolute;right:22px;top:-8px;transform:rotate(45deg);width:20px}.myinterview-widget-device__select-wrapper{display:flex;flex-direction:column;overflow:hidden;padding:20px}.myinterview-widget-device__select-group{display:flex;flex-direction:column}.myinterview-widget-device__select-group:not(:last-child):after{background-color:var(--color-neutral-20);content:\"\";height:1px;margin:10px 0;width:100%}.myinterview-widget-device__selected-device{cursor:pointer;display:flex;height:var(--myinterview-widget-select-device-height);width:100%}.myinterview-widget-device__select-icon{align-items:center;display:flex;min-width:40px}.myinterview-widget-device__select-icon svg{height:20px;width:20px}.myinterview-widget-device__selected-title-wrapper{flex:1;overflow:hidden;padding-right:23px}.myinterview-widget-device__selected-title{line-height:var(--myinterview-widget-select-device-height)!important;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.myinterview-widget-device__arrow{align-items:center;display:flex;margin-left:auto;transform:rotate(0);transition:.2s}.myinterview-widget-device__arrow--open{transform:rotate(-180deg)}.myinterview-widget-device__select-list{display:flex;flex-direction:column;max-height:0;overflow:hidden;transition:max-height .2s ease-out}.myinterview-widget-device__select-list--open{max-height:calc(var(--myinterview-widget-select-device-height)*2);overflow:auto;transition:max-height .2s ease-in}.myinterview-widget-device__select-option{border-radius:4px;cursor:pointer;line-height:var(--myinterview-widget-select-device-height)!important;min-height:var(--myinterview-widget-select-device-height);overflow:hidden;padding:0 40px;text-overflow:ellipsis;white-space:nowrap}.myinterview-widget-device__select-option--selected,.myinterview-widget-device__select-option:hover{color:var(--color-primary)!important}.myinterview-widget-device__select-option--selected{background-color:rgba(90,164,245,.051)!important}.myinterview-widget__countdown-mobile{align-items:center;background-color:var(--color-white);border-radius:2.5rem;display:flex;height:25px;left:50%;padding:6px 10px;position:absolute;top:var(--myinterview-widget-wrapper-padding);transform:translateX(-50%);z-index:30}.myinterview-widget__countdown-mobile--red{color:var(--color-error)}@media (min-width:1200px){.myinterview-widget__countdown-mobile[hidden]{display:none}}.myinterview-widget__countdown-desktop{display:none}@media (min-width:1200px){.myinterview-widget__countdown-desktop{--myinterview-widget-p:100;--myinterview-widget-b:5px;--myinterview-widget-w:160px;align-items:center;display:flex;height:var(--myinterview-widget-w);justify-content:center;margin:auto;padding:0;position:relative;transform:rotateY(180deg);width:var(--myinterview-widget-w)}.myinterview-widget__countdown-desktop:after,.myinterview-widget__countdown-desktop:before{border-radius:50%;content:\"\";position:absolute}.myinterview-widget__countdown-desktop:before{background:radial-gradient(farthest-side,var(--color-primary) 100%,#0000) top/var(--myinterview-widget-b) var(--myinterview-widget-b) no-repeat,conic-gradient(var(--color-primary) calc((var(--myinterview-widget-p))*1%),#0000 0);inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));transition:all 1s}.myinterview-widget__countdown-desktop:after{background:var(--color-primary);inset:calc(50% - var(--myinterview-widget-b)/2);transform:rotate(calc(var(--myinterview-widget-p)*3.6deg)) translateY(calc(50% - var(--myinterview-widget-w)/2))}.myinterview-widget__countdown-desktop[hidden]{display:none}}.myinterview-widget__countdown-desktop .myinterview-widget__countdown-desktop-text{align-items:center;border:var(--myinterview-widget-b) solid #edf6fe;border-radius:50%;display:flex;height:100%;justify-content:center;position:absolute;transform:rotateY(180deg);width:100%;z-index:-1}.myinterview-widget-counter{align-items:center;background-color:var(--color-white);border-radius:2.5rem;color:var(--color-neutral-90);display:flex;gap:5px;height:25px;justify-content:center}.myinterview-widget-counter__dot{background-color:var(--color-error);border-radius:50%;height:10px;width:10px}.myinterview-widget-counter__clock{display:flex}.myinterview-widget-counter__timer{transition:color .25s}.myinterview-widget-counter__timer--red{color:#f45b2b}.myinterview-widget-loader{-webkit-animation:fade 1.6s infinite;-moz-animation:fade 1.6s infinite;-o-animation:fade 1.6s infinite;animation:fade 1.6s infinite;margin:auto;width:80px}@keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-o-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-moz-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-webkit-keyframes fade{0%,to{opacity:0}50%{opacity:1}}.myinterview-widget-error{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto}.myinterview-widget-error__message{margin-bottom:10px}.myinterview-widget-errors{align-items:center;display:flex;flex-direction:column;justify-content:center}.myinterview-widget-errors__icon{margin-bottom:15px}.myinterview-widget-errors__details,.myinterview-widget-errors__title{margin-bottom:5px}.myinterview-widget-errors__cta{cursor:pointer;margin-bottom:5px;position:relative;text-decoration:underline}.myinterview-widget-errors__cta .myinterview-widget-select-native{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.myinterview-widget-errors__cta--secondary{text-transform:capitalize}.myinterview-widget-slider-modal{animation:close-modal .3s forwards;bottom:0;height:100vh;height:-moz-available;height:-webkit-fill-available;height:stretch;left:0;min-height:100vh;min-height:-moz-available;min-height:-webkit-fill-available;min-height:stretch;overflow:hidden;position:fixed;width:100vw;z-index:50}.myinterview-widget-slider-modal__wrapper{-webkit-overflow-scrolling:touch;height:100%;overflow-y:auto;scroll-snap-type:y mandatory;width:100%}.myinterview-widget-slider-modal__top{min-height:100%;scroll-snap-align:start;touch-action:none}.myinterview-widget-slider-modal__bottom{background-color:var(--color-white);border-radius:20px 20px 0 0;display:flex;flex-direction:column;height:10%;isolation:isolate;min-height:10%;overflow:hidden;position:relative;scroll-snap-align:end;transition:min-height .5s,height .5s;visibility:hidden}.myinterview-widget-slider-modal__pill{background-color:var(--color-neutral-30);border-radius:2.5rem;margin:20px auto 32px;min-height:4px;width:60px}.myinterview-widget-slider-modal--open{animation:none;background-color:#0009;visibility:visible}.myinterview-widget-slider-modal--open .myinterview-widget-slider-modal__bottom{height:80%;min-height:80%;visibility:visible}@keyframes close-modal{0%{background-color:#0009}to{background-color:#0000;visibility:hidden}}.myinterview-widget-permissions__wrapper{display:flex;flex:1;flex-direction:column;margin:0 auto;max-height:100%;max-width:480px;overflow:auto;padding:0 20px 20px;width:100%}@media (min-width:1200px){.myinterview-widget-permissions__wrapper{padding:0 20px}}.myinterview-widget-permissions__icon-wrapper{align-items:center;background-color:#eff6fe;border-radius:50%;color:var(--color-primary);display:flex;justify-content:center;margin:0 auto 20px;min-height:70px;min-width:70px}.myinterview-widget-permissions__icon-wrapper svg{height:32px;width:32px}@media (min-width:1200px){.myinterview-widget-permissions__icon-wrapper{display:none!important}}.myinterview-widget-permissions__title{margin-bottom:20px;text-align:center}@media (min-width:1200px){.myinterview-widget-permissions__title{margin-bottom:15px}}.myinterview-widget-permissions__sub-title{margin-bottom:10px}.myinterview-widget-permissions__steps-wrapper{margin-bottom:15px;padding:0 20px}.myinterview-widget-permissions__step{font-size:14px;list-style:decimal;margin-bottom:10px}.myinterview-widget-permissions__step .text--bold{font-weight:700}.myinterview-widget-permissions__step .safari__key{background-color:var(--color-neutral-20);border-radius:2px;padding:2px 4px}.myinterview-widget-permissions__button{margin-top:auto;min-height:45px}.myinterview-widget-question{margin-bottom:10px;position:relative}.myinterview-widget-question>*{position:relative;z-index:1}.myinterview-widget-question__question{letter-spacing:.5px;margin-bottom:6px}.myinterview-widget-question__description{letter-spacing:.5px}.myinterview-widget-question__question-parameters{align-items:center;display:inline-flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}.myinterview-widget-question__question-parameters>*{white-space:nowrap}.myinterview-widget-questions-list{display:none}@media (min-width:1200px){.myinterview-widget-questions-list{display:flex;flex-direction:column;overflow-y:auto;padding:0;position:relative}.myinterview-widget-questions-item{align-items:center;border-radius:0 4px 4px 0;display:flex;gap:20px;letter-spacing:.5px;max-width:100%;min-height:90px;overflow:hidden;padding:20px;position:relative}.myinterview-widget-questions-item__number{align-items:center;background-color:var(--color-neutral-20);border-radius:50%;color:var(--color-neutral-90);display:flex;height:38px;justify-content:center;min-width:38px}.myinterview-widget-questions-item__number--icon{background-color:var(--color-white);color:var(--color-primary)}.myinterview-widget-questions-item__wrapper{flex:1;overflow:hidden}.myinterview-widget-questions-item__question{display:flex;flex-direction:column;gap:2px;overflow:hidden}.myinterview-widget-questions-item__duration-wrapper{align-items:center;color:var(--color-neutral-50);display:flex;font-size:12px;gap:5px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper *{font-size:12px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper svg{width:15px}.myinterview-widget-questions-item--active{background-color:#f7fbff}.myinterview-widget-questions-item--active:before{background-color:var(--color-primary);content:\"\";height:100%;left:0;position:absolute;width:3px}.myinterview-widget-questions-item--active .myinterview-widget-questions-item__number{background-color:var(--color-white);border:1px solid var(--color-primary);color:var(--color-primary)}}.myinterview-widget-upload{align-items:center;background-color:var(--color-white);border-radius:20px;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto;max-height:500px;overflow:hidden;padding:40px;text-align:center;width:100%}@media (min-width:1200px){.myinterview-widget-upload{margin:0;min-height:360px}}.myinterview-widget-upload__icon{align-items:center;background-color:#5aa4f5;border:12px solid #d7e8fb;border-radius:50%;color:var(--color-white);display:flex;height:110px;justify-content:center;margin-bottom:30px;min-height:110px;position:relative;width:110px}.myinterview-widget-upload__icon:before{background-color:initial;border:12px solid #99c6f8;border-radius:50%;content:\"\";height:100%;position:absolute;width:100%}.myinterview-widget-upload__title{margin-bottom:20px}.myinterview-widget-upload__sub-title{margin-bottom:40px;white-space:pre-line}.myinterview-widget-upload__progress{margin-bottom:10px;width:100%}.myinterview-widget-upload__time-left{align-items:center;color:var(--color-neutral-90);display:flex;gap:10px}.myinterview-widget-top-tips{background-color:var(--color-white);color:var(--color-neutral-90);display:flex;flex-direction:column;padding:50px}.myinterview-widget-top-tips__title{margin-bottom:20px}.myinterview-widget-top-tips__tips{margin-bottom:10px;padding:0 15px}.myinterview-widget-top-tips li{margin-bottom:10px}.myinterview-widget__practice-mode{border-radius:2.5rem;height:36px;padding:5px 15px}.myinterview-widget__practice-mode,.myinterview-widget__recording-button{align-items:center;background-color:var(--color-white);display:flex;justify-content:center}.myinterview-widget__recording-button{border:1px solid var(--color-neutral-30);border-radius:50%;height:64px;width:64px}.myinterview-widget__recording-button-inner{background-color:var(--color-error);border-radius:50%;height:52px;width:52px}.myinterview-widget__recording-button-inner--stop{border-radius:2px;height:16px;width:16px}.myinterview-widget__question-number{display:flex;gap:5px;position:absolute}@media (min-width:1200px){.myinterview-widget__question-number{margin-left:10px}}.myinterview-widget__question-number-track{direction:ltr;display:flex;gap:5px}.myinterview-widget__question-duration{align-items:center;display:flex;gap:8px}.myinterview-widget__question-duration svg{height:1em;width:1em}.myinterview-widget__progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:2.5rem;height:15px;overflow:hidden;width:100%}.myinterview-widget__progress::-webkit-progress-bar{background-color:#e7f1ef}.myinterview-widget__progress::-webkit-progress-value{background-color:var(--color-success);transition:.3s}.myinterview-widget__dot-separator{background-color:currentColor;border-radius:50%;height:3px;width:3px}.myinterview-widget-welcome-page{display:flex;flex-direction:column;gap:20px;height:100%;margin:30px 0;max-height:100%;overflow:auto;position:relative}@media (min-width:1200px){.myinterview-widget-welcome-page{padding:0 20px}}.myinterview-widget-welcome-page__text-wrapper{display:flex;flex-direction:column;position:relative}.myinterview-widget-welcome-page__text{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;white-space:pre-line}.myinterview-widget-welcome-page__text--closed{-webkit-line-clamp:4;line-clamp:4}.myinterview-widget-welcome-page__toggle{margin-left:auto}.myinterview-widget-welcome-page__action-buttons{display:flex;gap:20px;justify-content:space-between}.myinterview-widget-welcome-page__continue-button{flex:1;max-width:250px;min-width:fit-content}.myinterview-widget-welcome-page__top-tips-button{margin:0 auto}.myinterview-widget-welcome-page__top-tips{align-items:center;display:flex;gap:10px;justify-content:center}.myinterview-modal-wrapper{background-color:var(--color-white);border-radius:0;height:100vh;max-height:100%;max-width:500px;opacity:0;pointer-events:none;top:calc(50% + 40px);transition:top .2s ease-out,opacity .2s ease-out;width:100vw}@media (min-width:480px){.myinterview-modal-wrapper{border-radius:10px;height:auto}}.myinterview-modal-wrapper--opened{opacity:1;pointer-events:all;top:50%}.myinterview-modal-wrapper__close-btn{color:var(--color-neutral-90)}.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:20px;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;justify-content:space-between;overflow:auto;padding:var(--myinterview-widget-wrapper-padding)}@media (min-width:1200px){.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:7px;align-items:center}.myinterview-widget-assessment .myinterview-widget-question{display:none}}.myinterview-widget-assessment .myinterview-widget__question-number{align-self:flex-start;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative}.myinterview-widget-assessment__countdown-wrapper{display:flex;height:100%;justify-content:center;left:0;padding:var(--myinterview-widget-wrapper-padding);pointer-events:none;position:absolute;top:0;width:100%}.myinterview-widget-assessment__countdown-wrapper .myinterview-widget__countdown-mobile{background-color:var(--color-neutral-10);position:sticky;top:0}.myinterview-widget-assessment__instructions{margin-bottom:var(--myinterview-widget-assessment-spacing);z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__instructions{text-align:center}}.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{align-items:center;display:flex;flex:1;flex-direction:column;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{width:550px}}.myinterview-widget-assessment__input{border:.5px solid var(--color-neutral-40);border-radius:4px;flex:1;min-height:100px;padding:15px 15px 30px;resize:none;width:100%}.myinterview-widget-assessment__input::placeholder{color:var(--color-neutral-40)}.myinterview-widget-assessment__options-form{display:flex;flex-direction:column;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__options-form{margin:auto 0}}.myinterview-widget-assessment__option{align-items:center;cursor:pointer;display:flex;gap:var(--myinterview-widget-assessment-spacing);padding:var(--myinterview-widget-assessment-spacing) 0;position:relative}.myinterview-widget-assessment__option:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:100%;left:0;opacity:.1;pointer-events:none;position:absolute;top:0;transition:background-color .1s;width:100%;z-index:-1}.myinterview-widget-assessment__option:active:before{background-color:var(--color-primary)}.myinterview-widget-assessment__option:not(:last-child){border-bottom:1px solid var(--color-neutral-20)}.myinterview-widget-assessment__checkmark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;flex-shrink:0;height:16px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:16px}.myinterview-widget-assessment__checkmark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-assessment__checkmark--selected{border:1px solid var(--color-primary)}.myinterview-widget-assessment__checkmark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-assessment .myinterview-widget__characters-limit{bottom:10px;position:absolute;right:15px}.myinterview-widget-assessment__submit-button{min-height:45px;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__submit-button{width:auto}}";
|
|
48080
48298
|
|
|
48081
48299
|
const RotateScreenIcon = () => (React__default.createElement("svg", { width: "824", height: "800", viewBox: "0 0 824 800", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
48082
48300
|
React__default.createElement("rect", { x: "2.5", y: "2.5", width: "385", height: "795", rx: "37.5", stroke: "currentColor", strokeWidth: "5" }),
|