@neofaceid/web-sdk 1.25.6 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,967 +2,9 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import React, { useRef, useState, useCallback, useReducer, useEffect } from "react";
5
- import require$$0 from "react-dom";
5
+ import { createRoot } from "react-dom/client";
6
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
6
7
  import * as faceapi from "face-api.js";
7
- var client = {};
8
- var hasRequiredClient;
9
- function requireClient() {
10
- if (hasRequiredClient) return client;
11
- hasRequiredClient = 1;
12
- var m = require$$0;
13
- if (process.env.NODE_ENV === "production") {
14
- client.createRoot = m.createRoot;
15
- client.hydrateRoot = m.hydrateRoot;
16
- } else {
17
- var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
18
- client.createRoot = function(c, o) {
19
- i.usingClientEntryPoint = true;
20
- try {
21
- return m.createRoot(c, o);
22
- } finally {
23
- i.usingClientEntryPoint = false;
24
- }
25
- };
26
- client.hydrateRoot = function(c, h, o) {
27
- i.usingClientEntryPoint = true;
28
- try {
29
- return m.hydrateRoot(c, h, o);
30
- } finally {
31
- i.usingClientEntryPoint = false;
32
- }
33
- };
34
- }
35
- return client;
36
- }
37
- var clientExports = requireClient();
38
- var jsxRuntime = { exports: {} };
39
- var reactJsxRuntime_production_min = {};
40
- /**
41
- * @license React
42
- * react-jsx-runtime.production.min.js
43
- *
44
- * Copyright (c) Facebook, Inc. and its affiliates.
45
- *
46
- * This source code is licensed under the MIT license found in the
47
- * LICENSE file in the root directory of this source tree.
48
- */
49
- var hasRequiredReactJsxRuntime_production_min;
50
- function requireReactJsxRuntime_production_min() {
51
- if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
52
- hasRequiredReactJsxRuntime_production_min = 1;
53
- var f = React, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
54
- function q(c, a, g) {
55
- var b, d = {}, e = null, h = null;
56
- void 0 !== g && (e = "" + g);
57
- void 0 !== a.key && (e = "" + a.key);
58
- void 0 !== a.ref && (h = a.ref);
59
- for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
60
- if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
61
- return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
62
- }
63
- reactJsxRuntime_production_min.Fragment = l;
64
- reactJsxRuntime_production_min.jsx = q;
65
- reactJsxRuntime_production_min.jsxs = q;
66
- return reactJsxRuntime_production_min;
67
- }
68
- var reactJsxRuntime_development = {};
69
- /**
70
- * @license React
71
- * react-jsx-runtime.development.js
72
- *
73
- * Copyright (c) Facebook, Inc. and its affiliates.
74
- *
75
- * This source code is licensed under the MIT license found in the
76
- * LICENSE file in the root directory of this source tree.
77
- */
78
- var hasRequiredReactJsxRuntime_development;
79
- function requireReactJsxRuntime_development() {
80
- if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
81
- hasRequiredReactJsxRuntime_development = 1;
82
- if (process.env.NODE_ENV !== "production") {
83
- (function() {
84
- var React$1 = React;
85
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
86
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
87
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
88
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
89
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
90
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
91
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
92
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
93
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
94
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
95
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
96
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
97
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
98
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
99
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
100
- function getIteratorFn(maybeIterable) {
101
- if (maybeIterable === null || typeof maybeIterable !== "object") {
102
- return null;
103
- }
104
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
105
- if (typeof maybeIterator === "function") {
106
- return maybeIterator;
107
- }
108
- return null;
109
- }
110
- var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
111
- function error(format) {
112
- {
113
- {
114
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
115
- args[_key2 - 1] = arguments[_key2];
116
- }
117
- printWarning("error", format, args);
118
- }
119
- }
120
- }
121
- function printWarning(level, format, args) {
122
- {
123
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
124
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
125
- if (stack !== "") {
126
- format += "%s";
127
- args = args.concat([stack]);
128
- }
129
- var argsWithFormat = args.map(function(item) {
130
- return String(item);
131
- });
132
- argsWithFormat.unshift("Warning: " + format);
133
- Function.prototype.apply.call(console[level], console, argsWithFormat);
134
- }
135
- }
136
- var enableScopeAPI = false;
137
- var enableCacheElement = false;
138
- var enableTransitionTracing = false;
139
- var enableLegacyHidden = false;
140
- var enableDebugTracing = false;
141
- var REACT_MODULE_REFERENCE;
142
- {
143
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
144
- }
145
- function isValidElementType(type) {
146
- if (typeof type === "string" || typeof type === "function") {
147
- return true;
148
- }
149
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
150
- return true;
151
- }
152
- if (typeof type === "object" && type !== null) {
153
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
154
- // types supported by any Flight configuration anywhere since
155
- // we don't know which Flight build this will end up being used
156
- // with.
157
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
158
- return true;
159
- }
160
- }
161
- return false;
162
- }
163
- function getWrappedName(outerType, innerType, wrapperName) {
164
- var displayName = outerType.displayName;
165
- if (displayName) {
166
- return displayName;
167
- }
168
- var functionName = innerType.displayName || innerType.name || "";
169
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
170
- }
171
- function getContextName(type) {
172
- return type.displayName || "Context";
173
- }
174
- function getComponentNameFromType(type) {
175
- if (type == null) {
176
- return null;
177
- }
178
- {
179
- if (typeof type.tag === "number") {
180
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
181
- }
182
- }
183
- if (typeof type === "function") {
184
- return type.displayName || type.name || null;
185
- }
186
- if (typeof type === "string") {
187
- return type;
188
- }
189
- switch (type) {
190
- case REACT_FRAGMENT_TYPE:
191
- return "Fragment";
192
- case REACT_PORTAL_TYPE:
193
- return "Portal";
194
- case REACT_PROFILER_TYPE:
195
- return "Profiler";
196
- case REACT_STRICT_MODE_TYPE:
197
- return "StrictMode";
198
- case REACT_SUSPENSE_TYPE:
199
- return "Suspense";
200
- case REACT_SUSPENSE_LIST_TYPE:
201
- return "SuspenseList";
202
- }
203
- if (typeof type === "object") {
204
- switch (type.$$typeof) {
205
- case REACT_CONTEXT_TYPE:
206
- var context = type;
207
- return getContextName(context) + ".Consumer";
208
- case REACT_PROVIDER_TYPE:
209
- var provider = type;
210
- return getContextName(provider._context) + ".Provider";
211
- case REACT_FORWARD_REF_TYPE:
212
- return getWrappedName(type, type.render, "ForwardRef");
213
- case REACT_MEMO_TYPE:
214
- var outerName = type.displayName || null;
215
- if (outerName !== null) {
216
- return outerName;
217
- }
218
- return getComponentNameFromType(type.type) || "Memo";
219
- case REACT_LAZY_TYPE: {
220
- var lazyComponent = type;
221
- var payload = lazyComponent._payload;
222
- var init2 = lazyComponent._init;
223
- try {
224
- return getComponentNameFromType(init2(payload));
225
- } catch (x) {
226
- return null;
227
- }
228
- }
229
- }
230
- }
231
- return null;
232
- }
233
- var assign = Object.assign;
234
- var disabledDepth = 0;
235
- var prevLog;
236
- var prevInfo;
237
- var prevWarn;
238
- var prevError;
239
- var prevGroup;
240
- var prevGroupCollapsed;
241
- var prevGroupEnd;
242
- function disabledLog() {
243
- }
244
- disabledLog.__reactDisabledLog = true;
245
- function disableLogs() {
246
- {
247
- if (disabledDepth === 0) {
248
- prevLog = console.log;
249
- prevInfo = console.info;
250
- prevWarn = console.warn;
251
- prevError = console.error;
252
- prevGroup = console.group;
253
- prevGroupCollapsed = console.groupCollapsed;
254
- prevGroupEnd = console.groupEnd;
255
- var props = {
256
- configurable: true,
257
- enumerable: true,
258
- value: disabledLog,
259
- writable: true
260
- };
261
- Object.defineProperties(console, {
262
- info: props,
263
- log: props,
264
- warn: props,
265
- error: props,
266
- group: props,
267
- groupCollapsed: props,
268
- groupEnd: props
269
- });
270
- }
271
- disabledDepth++;
272
- }
273
- }
274
- function reenableLogs() {
275
- {
276
- disabledDepth--;
277
- if (disabledDepth === 0) {
278
- var props = {
279
- configurable: true,
280
- enumerable: true,
281
- writable: true
282
- };
283
- Object.defineProperties(console, {
284
- log: assign({}, props, {
285
- value: prevLog
286
- }),
287
- info: assign({}, props, {
288
- value: prevInfo
289
- }),
290
- warn: assign({}, props, {
291
- value: prevWarn
292
- }),
293
- error: assign({}, props, {
294
- value: prevError
295
- }),
296
- group: assign({}, props, {
297
- value: prevGroup
298
- }),
299
- groupCollapsed: assign({}, props, {
300
- value: prevGroupCollapsed
301
- }),
302
- groupEnd: assign({}, props, {
303
- value: prevGroupEnd
304
- })
305
- });
306
- }
307
- if (disabledDepth < 0) {
308
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
309
- }
310
- }
311
- }
312
- var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
313
- var prefix;
314
- function describeBuiltInComponentFrame(name, source, ownerFn) {
315
- {
316
- if (prefix === void 0) {
317
- try {
318
- throw Error();
319
- } catch (x) {
320
- var match = x.stack.trim().match(/\n( *(at )?)/);
321
- prefix = match && match[1] || "";
322
- }
323
- }
324
- return "\n" + prefix + name;
325
- }
326
- }
327
- var reentry = false;
328
- var componentFrameCache;
329
- {
330
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
331
- componentFrameCache = new PossiblyWeakMap();
332
- }
333
- function describeNativeComponentFrame(fn, construct) {
334
- if (!fn || reentry) {
335
- return "";
336
- }
337
- {
338
- var frame = componentFrameCache.get(fn);
339
- if (frame !== void 0) {
340
- return frame;
341
- }
342
- }
343
- var control;
344
- reentry = true;
345
- var previousPrepareStackTrace = Error.prepareStackTrace;
346
- Error.prepareStackTrace = void 0;
347
- var previousDispatcher;
348
- {
349
- previousDispatcher = ReactCurrentDispatcher.current;
350
- ReactCurrentDispatcher.current = null;
351
- disableLogs();
352
- }
353
- try {
354
- if (construct) {
355
- var Fake = function() {
356
- throw Error();
357
- };
358
- Object.defineProperty(Fake.prototype, "props", {
359
- set: function() {
360
- throw Error();
361
- }
362
- });
363
- if (typeof Reflect === "object" && Reflect.construct) {
364
- try {
365
- Reflect.construct(Fake, []);
366
- } catch (x) {
367
- control = x;
368
- }
369
- Reflect.construct(fn, [], Fake);
370
- } else {
371
- try {
372
- Fake.call();
373
- } catch (x) {
374
- control = x;
375
- }
376
- fn.call(Fake.prototype);
377
- }
378
- } else {
379
- try {
380
- throw Error();
381
- } catch (x) {
382
- control = x;
383
- }
384
- fn();
385
- }
386
- } catch (sample) {
387
- if (sample && control && typeof sample.stack === "string") {
388
- var sampleLines = sample.stack.split("\n");
389
- var controlLines = control.stack.split("\n");
390
- var s = sampleLines.length - 1;
391
- var c = controlLines.length - 1;
392
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
393
- c--;
394
- }
395
- for (; s >= 1 && c >= 0; s--, c--) {
396
- if (sampleLines[s] !== controlLines[c]) {
397
- if (s !== 1 || c !== 1) {
398
- do {
399
- s--;
400
- c--;
401
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
402
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
403
- if (fn.displayName && _frame.includes("<anonymous>")) {
404
- _frame = _frame.replace("<anonymous>", fn.displayName);
405
- }
406
- {
407
- if (typeof fn === "function") {
408
- componentFrameCache.set(fn, _frame);
409
- }
410
- }
411
- return _frame;
412
- }
413
- } while (s >= 1 && c >= 0);
414
- }
415
- break;
416
- }
417
- }
418
- }
419
- } finally {
420
- reentry = false;
421
- {
422
- ReactCurrentDispatcher.current = previousDispatcher;
423
- reenableLogs();
424
- }
425
- Error.prepareStackTrace = previousPrepareStackTrace;
426
- }
427
- var name = fn ? fn.displayName || fn.name : "";
428
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
429
- {
430
- if (typeof fn === "function") {
431
- componentFrameCache.set(fn, syntheticFrame);
432
- }
433
- }
434
- return syntheticFrame;
435
- }
436
- function describeFunctionComponentFrame(fn, source, ownerFn) {
437
- {
438
- return describeNativeComponentFrame(fn, false);
439
- }
440
- }
441
- function shouldConstruct(Component) {
442
- var prototype = Component.prototype;
443
- return !!(prototype && prototype.isReactComponent);
444
- }
445
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
446
- if (type == null) {
447
- return "";
448
- }
449
- if (typeof type === "function") {
450
- {
451
- return describeNativeComponentFrame(type, shouldConstruct(type));
452
- }
453
- }
454
- if (typeof type === "string") {
455
- return describeBuiltInComponentFrame(type);
456
- }
457
- switch (type) {
458
- case REACT_SUSPENSE_TYPE:
459
- return describeBuiltInComponentFrame("Suspense");
460
- case REACT_SUSPENSE_LIST_TYPE:
461
- return describeBuiltInComponentFrame("SuspenseList");
462
- }
463
- if (typeof type === "object") {
464
- switch (type.$$typeof) {
465
- case REACT_FORWARD_REF_TYPE:
466
- return describeFunctionComponentFrame(type.render);
467
- case REACT_MEMO_TYPE:
468
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
469
- case REACT_LAZY_TYPE: {
470
- var lazyComponent = type;
471
- var payload = lazyComponent._payload;
472
- var init2 = lazyComponent._init;
473
- try {
474
- return describeUnknownElementTypeFrameInDEV(init2(payload), source, ownerFn);
475
- } catch (x) {
476
- }
477
- }
478
- }
479
- }
480
- return "";
481
- }
482
- var hasOwnProperty = Object.prototype.hasOwnProperty;
483
- var loggedTypeFailures = {};
484
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
485
- function setCurrentlyValidatingElement(element) {
486
- {
487
- if (element) {
488
- var owner = element._owner;
489
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
490
- ReactDebugCurrentFrame.setExtraStackFrame(stack);
491
- } else {
492
- ReactDebugCurrentFrame.setExtraStackFrame(null);
493
- }
494
- }
495
- }
496
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
497
- {
498
- var has = Function.call.bind(hasOwnProperty);
499
- for (var typeSpecName in typeSpecs) {
500
- if (has(typeSpecs, typeSpecName)) {
501
- var error$1 = void 0;
502
- try {
503
- if (typeof typeSpecs[typeSpecName] !== "function") {
504
- var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
505
- err.name = "Invariant Violation";
506
- throw err;
507
- }
508
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
509
- } catch (ex) {
510
- error$1 = ex;
511
- }
512
- if (error$1 && !(error$1 instanceof Error)) {
513
- setCurrentlyValidatingElement(element);
514
- error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
515
- setCurrentlyValidatingElement(null);
516
- }
517
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
518
- loggedTypeFailures[error$1.message] = true;
519
- setCurrentlyValidatingElement(element);
520
- error("Failed %s type: %s", location, error$1.message);
521
- setCurrentlyValidatingElement(null);
522
- }
523
- }
524
- }
525
- }
526
- }
527
- var isArrayImpl = Array.isArray;
528
- function isArray(a) {
529
- return isArrayImpl(a);
530
- }
531
- function typeName(value) {
532
- {
533
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
534
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
535
- return type;
536
- }
537
- }
538
- function willCoercionThrow(value) {
539
- {
540
- try {
541
- testStringCoercion(value);
542
- return false;
543
- } catch (e) {
544
- return true;
545
- }
546
- }
547
- }
548
- function testStringCoercion(value) {
549
- return "" + value;
550
- }
551
- function checkKeyStringCoercion(value) {
552
- {
553
- if (willCoercionThrow(value)) {
554
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
555
- return testStringCoercion(value);
556
- }
557
- }
558
- }
559
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
560
- var RESERVED_PROPS = {
561
- key: true,
562
- ref: true,
563
- __self: true,
564
- __source: true
565
- };
566
- var specialPropKeyWarningShown;
567
- var specialPropRefWarningShown;
568
- function hasValidRef(config2) {
569
- {
570
- if (hasOwnProperty.call(config2, "ref")) {
571
- var getter = Object.getOwnPropertyDescriptor(config2, "ref").get;
572
- if (getter && getter.isReactWarning) {
573
- return false;
574
- }
575
- }
576
- }
577
- return config2.ref !== void 0;
578
- }
579
- function hasValidKey(config2) {
580
- {
581
- if (hasOwnProperty.call(config2, "key")) {
582
- var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
583
- if (getter && getter.isReactWarning) {
584
- return false;
585
- }
586
- }
587
- }
588
- return config2.key !== void 0;
589
- }
590
- function warnIfStringRefCannotBeAutoConverted(config2, self) {
591
- {
592
- if (typeof config2.ref === "string" && ReactCurrentOwner.current && self) ;
593
- }
594
- }
595
- function defineKeyPropWarningGetter(props, displayName) {
596
- {
597
- var warnAboutAccessingKey = function() {
598
- if (!specialPropKeyWarningShown) {
599
- specialPropKeyWarningShown = true;
600
- error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
601
- }
602
- };
603
- warnAboutAccessingKey.isReactWarning = true;
604
- Object.defineProperty(props, "key", {
605
- get: warnAboutAccessingKey,
606
- configurable: true
607
- });
608
- }
609
- }
610
- function defineRefPropWarningGetter(props, displayName) {
611
- {
612
- var warnAboutAccessingRef = function() {
613
- if (!specialPropRefWarningShown) {
614
- specialPropRefWarningShown = true;
615
- error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
616
- }
617
- };
618
- warnAboutAccessingRef.isReactWarning = true;
619
- Object.defineProperty(props, "ref", {
620
- get: warnAboutAccessingRef,
621
- configurable: true
622
- });
623
- }
624
- }
625
- var ReactElement = function(type, key, ref, self, source, owner, props) {
626
- var element = {
627
- // This tag allows us to uniquely identify this as a React Element
628
- $$typeof: REACT_ELEMENT_TYPE,
629
- // Built-in properties that belong on the element
630
- type,
631
- key,
632
- ref,
633
- props,
634
- // Record the component responsible for creating this element.
635
- _owner: owner
636
- };
637
- {
638
- element._store = {};
639
- Object.defineProperty(element._store, "validated", {
640
- configurable: false,
641
- enumerable: false,
642
- writable: true,
643
- value: false
644
- });
645
- Object.defineProperty(element, "_self", {
646
- configurable: false,
647
- enumerable: false,
648
- writable: false,
649
- value: self
650
- });
651
- Object.defineProperty(element, "_source", {
652
- configurable: false,
653
- enumerable: false,
654
- writable: false,
655
- value: source
656
- });
657
- if (Object.freeze) {
658
- Object.freeze(element.props);
659
- Object.freeze(element);
660
- }
661
- }
662
- return element;
663
- };
664
- function jsxDEV(type, config2, maybeKey, source, self) {
665
- {
666
- var propName;
667
- var props = {};
668
- var key = null;
669
- var ref = null;
670
- if (maybeKey !== void 0) {
671
- {
672
- checkKeyStringCoercion(maybeKey);
673
- }
674
- key = "" + maybeKey;
675
- }
676
- if (hasValidKey(config2)) {
677
- {
678
- checkKeyStringCoercion(config2.key);
679
- }
680
- key = "" + config2.key;
681
- }
682
- if (hasValidRef(config2)) {
683
- ref = config2.ref;
684
- warnIfStringRefCannotBeAutoConverted(config2, self);
685
- }
686
- for (propName in config2) {
687
- if (hasOwnProperty.call(config2, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
688
- props[propName] = config2[propName];
689
- }
690
- }
691
- if (type && type.defaultProps) {
692
- var defaultProps = type.defaultProps;
693
- for (propName in defaultProps) {
694
- if (props[propName] === void 0) {
695
- props[propName] = defaultProps[propName];
696
- }
697
- }
698
- }
699
- if (key || ref) {
700
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
701
- if (key) {
702
- defineKeyPropWarningGetter(props, displayName);
703
- }
704
- if (ref) {
705
- defineRefPropWarningGetter(props, displayName);
706
- }
707
- }
708
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
709
- }
710
- }
711
- var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
712
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
713
- function setCurrentlyValidatingElement$1(element) {
714
- {
715
- if (element) {
716
- var owner = element._owner;
717
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
718
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
719
- } else {
720
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
721
- }
722
- }
723
- }
724
- var propTypesMisspellWarningShown;
725
- {
726
- propTypesMisspellWarningShown = false;
727
- }
728
- function isValidElement(object2) {
729
- {
730
- return typeof object2 === "object" && object2 !== null && object2.$$typeof === REACT_ELEMENT_TYPE;
731
- }
732
- }
733
- function getDeclarationErrorAddendum() {
734
- {
735
- if (ReactCurrentOwner$1.current) {
736
- var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
737
- if (name) {
738
- return "\n\nCheck the render method of `" + name + "`.";
739
- }
740
- }
741
- return "";
742
- }
743
- }
744
- function getSourceInfoErrorAddendum(source) {
745
- {
746
- return "";
747
- }
748
- }
749
- var ownerHasKeyUseWarning = {};
750
- function getCurrentComponentErrorInfo(parentType) {
751
- {
752
- var info = getDeclarationErrorAddendum();
753
- if (!info) {
754
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
755
- if (parentName) {
756
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
757
- }
758
- }
759
- return info;
760
- }
761
- }
762
- function validateExplicitKey(element, parentType) {
763
- {
764
- if (!element._store || element._store.validated || element.key != null) {
765
- return;
766
- }
767
- element._store.validated = true;
768
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
769
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
770
- return;
771
- }
772
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
773
- var childOwner = "";
774
- if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
775
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
776
- }
777
- setCurrentlyValidatingElement$1(element);
778
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
779
- setCurrentlyValidatingElement$1(null);
780
- }
781
- }
782
- function validateChildKeys(node, parentType) {
783
- {
784
- if (typeof node !== "object") {
785
- return;
786
- }
787
- if (isArray(node)) {
788
- for (var i = 0; i < node.length; i++) {
789
- var child = node[i];
790
- if (isValidElement(child)) {
791
- validateExplicitKey(child, parentType);
792
- }
793
- }
794
- } else if (isValidElement(node)) {
795
- if (node._store) {
796
- node._store.validated = true;
797
- }
798
- } else if (node) {
799
- var iteratorFn = getIteratorFn(node);
800
- if (typeof iteratorFn === "function") {
801
- if (iteratorFn !== node.entries) {
802
- var iterator = iteratorFn.call(node);
803
- var step;
804
- while (!(step = iterator.next()).done) {
805
- if (isValidElement(step.value)) {
806
- validateExplicitKey(step.value, parentType);
807
- }
808
- }
809
- }
810
- }
811
- }
812
- }
813
- }
814
- function validatePropTypes(element) {
815
- {
816
- var type = element.type;
817
- if (type === null || type === void 0 || typeof type === "string") {
818
- return;
819
- }
820
- var propTypes;
821
- if (typeof type === "function") {
822
- propTypes = type.propTypes;
823
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
824
- // Inner props are checked in the reconciler.
825
- type.$$typeof === REACT_MEMO_TYPE)) {
826
- propTypes = type.propTypes;
827
- } else {
828
- return;
829
- }
830
- if (propTypes) {
831
- var name = getComponentNameFromType(type);
832
- checkPropTypes(propTypes, element.props, "prop", name, element);
833
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
834
- propTypesMisspellWarningShown = true;
835
- var _name = getComponentNameFromType(type);
836
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
837
- }
838
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
839
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
840
- }
841
- }
842
- }
843
- function validateFragmentProps(fragment) {
844
- {
845
- var keys = Object.keys(fragment.props);
846
- for (var i = 0; i < keys.length; i++) {
847
- var key = keys[i];
848
- if (key !== "children" && key !== "key") {
849
- setCurrentlyValidatingElement$1(fragment);
850
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
851
- setCurrentlyValidatingElement$1(null);
852
- break;
853
- }
854
- }
855
- if (fragment.ref !== null) {
856
- setCurrentlyValidatingElement$1(fragment);
857
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
858
- setCurrentlyValidatingElement$1(null);
859
- }
860
- }
861
- }
862
- var didWarnAboutKeySpread = {};
863
- function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
864
- {
865
- var validType = isValidElementType(type);
866
- if (!validType) {
867
- var info = "";
868
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
869
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
870
- }
871
- var sourceInfo = getSourceInfoErrorAddendum();
872
- if (sourceInfo) {
873
- info += sourceInfo;
874
- } else {
875
- info += getDeclarationErrorAddendum();
876
- }
877
- var typeString;
878
- if (type === null) {
879
- typeString = "null";
880
- } else if (isArray(type)) {
881
- typeString = "array";
882
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
883
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
884
- info = " Did you accidentally export a JSX literal instead of a component?";
885
- } else {
886
- typeString = typeof type;
887
- }
888
- error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
889
- }
890
- var element = jsxDEV(type, props, key, source, self);
891
- if (element == null) {
892
- return element;
893
- }
894
- if (validType) {
895
- var children = props.children;
896
- if (children !== void 0) {
897
- if (isStaticChildren) {
898
- if (isArray(children)) {
899
- for (var i = 0; i < children.length; i++) {
900
- validateChildKeys(children[i], type);
901
- }
902
- if (Object.freeze) {
903
- Object.freeze(children);
904
- }
905
- } else {
906
- error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
907
- }
908
- } else {
909
- validateChildKeys(children, type);
910
- }
911
- }
912
- }
913
- {
914
- if (hasOwnProperty.call(props, "key")) {
915
- var componentName = getComponentNameFromType(type);
916
- var keys = Object.keys(props).filter(function(k) {
917
- return k !== "key";
918
- });
919
- var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
920
- if (!didWarnAboutKeySpread[componentName + beforeExample]) {
921
- var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
922
- error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
923
- didWarnAboutKeySpread[componentName + beforeExample] = true;
924
- }
925
- }
926
- }
927
- if (type === REACT_FRAGMENT_TYPE) {
928
- validateFragmentProps(element);
929
- } else {
930
- validatePropTypes(element);
931
- }
932
- return element;
933
- }
934
- }
935
- function jsxWithValidationStatic(type, props, key) {
936
- {
937
- return jsxWithValidation(type, props, key, true);
938
- }
939
- }
940
- function jsxWithValidationDynamic(type, props, key) {
941
- {
942
- return jsxWithValidation(type, props, key, false);
943
- }
944
- }
945
- var jsx = jsxWithValidationDynamic;
946
- var jsxs = jsxWithValidationStatic;
947
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
948
- reactJsxRuntime_development.jsx = jsx;
949
- reactJsxRuntime_development.jsxs = jsxs;
950
- })();
951
- }
952
- return reactJsxRuntime_development;
953
- }
954
- var hasRequiredJsxRuntime;
955
- function requireJsxRuntime() {
956
- if (hasRequiredJsxRuntime) return jsxRuntime.exports;
957
- hasRequiredJsxRuntime = 1;
958
- if (process.env.NODE_ENV === "production") {
959
- jsxRuntime.exports = requireReactJsxRuntime_production_min();
960
- } else {
961
- jsxRuntime.exports = requireReactJsxRuntime_development();
962
- }
963
- return jsxRuntime.exports;
964
- }
965
- var jsxRuntimeExports = requireJsxRuntime();
966
8
  class CameraPermissionDenied extends Error {
967
9
  constructor(message) {
968
10
  super(message);
@@ -4024,7 +3066,7 @@ function initializeContext(params) {
4024
3066
  external: (params == null ? void 0 : params.external) ?? void 0
4025
3067
  };
4026
3068
  }
4027
- function process$1(schema, ctx, _params = { path: [], schemaPath: [] }) {
3069
+ function process(schema, ctx, _params = { path: [], schemaPath: [] }) {
4028
3070
  var _a3, _b;
4029
3071
  var _a2;
4030
3072
  const def = schema._zod.def;
@@ -4062,7 +3104,7 @@ function process$1(schema, ctx, _params = { path: [], schemaPath: [] }) {
4062
3104
  if (parent) {
4063
3105
  if (!result.ref)
4064
3106
  result.ref = parent;
4065
- process$1(parent, ctx, params);
3107
+ process(parent, ctx, params);
4066
3108
  ctx.seen.get(parent).isParent = true;
4067
3109
  }
4068
3110
  }
@@ -4345,14 +3387,14 @@ function isTransforming(_schema, _ctx) {
4345
3387
  }
4346
3388
  const createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
4347
3389
  const ctx = initializeContext({ ...params, processors });
4348
- process$1(schema, ctx);
3390
+ process(schema, ctx);
4349
3391
  extractDefs(ctx, schema);
4350
3392
  return finalize(ctx, schema);
4351
3393
  };
4352
3394
  const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) => {
4353
3395
  const { libraryOptions, target } = params ?? {};
4354
3396
  const ctx = initializeContext({ ...libraryOptions ?? {}, target, io, processors });
4355
- process$1(schema, ctx);
3397
+ process(schema, ctx);
4356
3398
  extractDefs(ctx, schema);
4357
3399
  return finalize(ctx, schema);
4358
3400
  };
@@ -4478,7 +3520,7 @@ const arrayProcessor = (schema, ctx, _json, params) => {
4478
3520
  if (typeof maximum === "number")
4479
3521
  json.maxItems = maximum;
4480
3522
  json.type = "array";
4481
- json.items = process$1(def.element, ctx, { ...params, path: [...params.path, "items"] });
3523
+ json.items = process(def.element, ctx, { ...params, path: [...params.path, "items"] });
4482
3524
  };
4483
3525
  const objectProcessor = (schema, ctx, _json, params) => {
4484
3526
  var _a2;
@@ -4488,7 +3530,7 @@ const objectProcessor = (schema, ctx, _json, params) => {
4488
3530
  json.properties = {};
4489
3531
  const shape = def.shape;
4490
3532
  for (const key in shape) {
4491
- json.properties[key] = process$1(shape[key], ctx, {
3533
+ json.properties[key] = process(shape[key], ctx, {
4492
3534
  ...params,
4493
3535
  path: [...params.path, "properties", key]
4494
3536
  });
@@ -4511,7 +3553,7 @@ const objectProcessor = (schema, ctx, _json, params) => {
4511
3553
  if (ctx.io === "output")
4512
3554
  json.additionalProperties = false;
4513
3555
  } else if (def.catchall) {
4514
- json.additionalProperties = process$1(def.catchall, ctx, {
3556
+ json.additionalProperties = process(def.catchall, ctx, {
4515
3557
  ...params,
4516
3558
  path: [...params.path, "additionalProperties"]
4517
3559
  });
@@ -4520,7 +3562,7 @@ const objectProcessor = (schema, ctx, _json, params) => {
4520
3562
  const unionProcessor = (schema, ctx, json, params) => {
4521
3563
  const def = schema._zod.def;
4522
3564
  const isExclusive = def.inclusive === false;
4523
- const options = def.options.map((x, i) => process$1(x, ctx, {
3565
+ const options = def.options.map((x, i) => process(x, ctx, {
4524
3566
  ...params,
4525
3567
  path: [...params.path, isExclusive ? "oneOf" : "anyOf", i]
4526
3568
  }));
@@ -4532,11 +3574,11 @@ const unionProcessor = (schema, ctx, json, params) => {
4532
3574
  };
4533
3575
  const intersectionProcessor = (schema, ctx, json, params) => {
4534
3576
  const def = schema._zod.def;
4535
- const a = process$1(def.left, ctx, {
3577
+ const a = process(def.left, ctx, {
4536
3578
  ...params,
4537
3579
  path: [...params.path, "allOf", 0]
4538
3580
  });
4539
- const b = process$1(def.right, ctx, {
3581
+ const b = process(def.right, ctx, {
4540
3582
  ...params,
4541
3583
  path: [...params.path, "allOf", 1]
4542
3584
  });
@@ -4549,7 +3591,7 @@ const intersectionProcessor = (schema, ctx, json, params) => {
4549
3591
  };
4550
3592
  const nullableProcessor = (schema, ctx, json, params) => {
4551
3593
  const def = schema._zod.def;
4552
- const inner = process$1(def.innerType, ctx, params);
3594
+ const inner = process(def.innerType, ctx, params);
4553
3595
  const seen = ctx.seen.get(schema);
4554
3596
  if (ctx.target === "openapi-3.0") {
4555
3597
  seen.ref = def.innerType;
@@ -4560,20 +3602,20 @@ const nullableProcessor = (schema, ctx, json, params) => {
4560
3602
  };
4561
3603
  const nonoptionalProcessor = (schema, ctx, _json, params) => {
4562
3604
  const def = schema._zod.def;
4563
- process$1(def.innerType, ctx, params);
3605
+ process(def.innerType, ctx, params);
4564
3606
  const seen = ctx.seen.get(schema);
4565
3607
  seen.ref = def.innerType;
4566
3608
  };
4567
3609
  const defaultProcessor = (schema, ctx, json, params) => {
4568
3610
  const def = schema._zod.def;
4569
- process$1(def.innerType, ctx, params);
3611
+ process(def.innerType, ctx, params);
4570
3612
  const seen = ctx.seen.get(schema);
4571
3613
  seen.ref = def.innerType;
4572
3614
  json.default = JSON.parse(JSON.stringify(def.defaultValue));
4573
3615
  };
4574
3616
  const prefaultProcessor = (schema, ctx, json, params) => {
4575
3617
  const def = schema._zod.def;
4576
- process$1(def.innerType, ctx, params);
3618
+ process(def.innerType, ctx, params);
4577
3619
  const seen = ctx.seen.get(schema);
4578
3620
  seen.ref = def.innerType;
4579
3621
  if (ctx.io === "input")
@@ -4581,7 +3623,7 @@ const prefaultProcessor = (schema, ctx, json, params) => {
4581
3623
  };
4582
3624
  const catchProcessor = (schema, ctx, json, params) => {
4583
3625
  const def = schema._zod.def;
4584
- process$1(def.innerType, ctx, params);
3626
+ process(def.innerType, ctx, params);
4585
3627
  const seen = ctx.seen.get(schema);
4586
3628
  seen.ref = def.innerType;
4587
3629
  let catchValue;
@@ -4595,20 +3637,20 @@ const catchProcessor = (schema, ctx, json, params) => {
4595
3637
  const pipeProcessor = (schema, ctx, _json, params) => {
4596
3638
  const def = schema._zod.def;
4597
3639
  const innerType = ctx.io === "input" ? def.in._zod.def.type === "transform" ? def.out : def.in : def.out;
4598
- process$1(innerType, ctx, params);
3640
+ process(innerType, ctx, params);
4599
3641
  const seen = ctx.seen.get(schema);
4600
3642
  seen.ref = innerType;
4601
3643
  };
4602
3644
  const readonlyProcessor = (schema, ctx, json, params) => {
4603
3645
  const def = schema._zod.def;
4604
- process$1(def.innerType, ctx, params);
3646
+ process(def.innerType, ctx, params);
4605
3647
  const seen = ctx.seen.get(schema);
4606
3648
  seen.ref = def.innerType;
4607
3649
  json.readOnly = true;
4608
3650
  };
4609
3651
  const optionalProcessor = (schema, ctx, _json, params) => {
4610
3652
  const def = schema._zod.def;
4611
- process$1(def.innerType, ctx, params);
3653
+ process(def.innerType, ctx, params);
4612
3654
  const seen = ctx.seen.get(schema);
4613
3655
  seen.ref = def.innerType;
4614
3656
  };
@@ -7196,23 +6238,23 @@ function FaceCaptureModal({ accessToken, onClose, onSuccess }) {
7196
6238
  dispatch({ type: "RESET" });
7197
6239
  setLivenessAttempts(0);
7198
6240
  };
7199
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.overlay, children: [
7200
- /* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: keyframes }),
7201
- /* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: mediaStyles }),
7202
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.modal, className: "modal", children: [
7203
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", style: styles.closeButton, onClick: onClose, children: "×" }),
7204
- /* @__PURE__ */ jsxRuntimeExports.jsx("video", { ref: videoRef, style: styles.video, autoPlay: true, playsInline: true, muted: true }),
7205
- /* @__PURE__ */ jsxRuntimeExports.jsx("canvas", { ref: canvasRef, style: styles.canvas }),
7206
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.guide }),
7207
- state.status === "ready" && !faceDetected && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.message, children: "Centralize seu rosto no círculo" }),
7208
- state.status === "capturing" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.message, children: "Por favor, pisque os olhos" }),
7209
- state.status === "uploading" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.spinner }),
7210
- state.status === "success" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.message, children: "Autenticado!" }),
7211
- state.status === "error" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.message, children: state.message }),
7212
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.controls, children: [
7213
- state.status === "ready" && faceDetected && /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", style: styles.button, onClick: handleCapture, children: "Capturar" }),
7214
- state.status === "capturing" && /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", style: styles.button, onClick: handleCapture, children: "Capturar" }),
7215
- state.status === "error" && /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", style: styles.button, onClick: handleRetry, children: "Tentar Novamente" })
6241
+ return /* @__PURE__ */ jsxs("div", { style: styles.overlay, children: [
6242
+ /* @__PURE__ */ jsx("style", { children: keyframes }),
6243
+ /* @__PURE__ */ jsx("style", { children: mediaStyles }),
6244
+ /* @__PURE__ */ jsxs("div", { style: styles.modal, className: "modal", children: [
6245
+ /* @__PURE__ */ jsx("button", { type: "button", style: styles.closeButton, onClick: onClose, children: "×" }),
6246
+ /* @__PURE__ */ jsx("video", { ref: videoRef, style: styles.video, autoPlay: true, playsInline: true, muted: true }),
6247
+ /* @__PURE__ */ jsx("canvas", { ref: canvasRef, style: styles.canvas }),
6248
+ /* @__PURE__ */ jsx("div", { style: styles.guide }),
6249
+ state.status === "ready" && !faceDetected && /* @__PURE__ */ jsx("div", { style: styles.message, children: "Centralize seu rosto no círculo" }),
6250
+ state.status === "capturing" && /* @__PURE__ */ jsx("div", { style: styles.message, children: "Por favor, pisque os olhos" }),
6251
+ state.status === "uploading" && /* @__PURE__ */ jsx("div", { style: styles.spinner }),
6252
+ state.status === "success" && /* @__PURE__ */ jsx("div", { style: styles.message, children: "Autenticado!" }),
6253
+ state.status === "error" && /* @__PURE__ */ jsx("div", { style: styles.message, children: state.message }),
6254
+ /* @__PURE__ */ jsxs("div", { style: styles.controls, children: [
6255
+ state.status === "ready" && faceDetected && /* @__PURE__ */ jsx("button", { type: "button", style: styles.button, onClick: handleCapture, children: "Capturar" }),
6256
+ state.status === "capturing" && /* @__PURE__ */ jsx("button", { type: "button", style: styles.button, onClick: handleCapture, children: "Capturar" }),
6257
+ state.status === "error" && /* @__PURE__ */ jsx("button", { type: "button", style: styles.button, onClick: handleRetry, children: "Tentar Novamente" })
7216
6258
  ] })
7217
6259
  ] })
7218
6260
  ] });
@@ -8170,18 +7212,18 @@ function BiometricRegistrationModal({
8170
7212
  if (state.status !== "liveness") return null;
8171
7213
  const progress = `${state.currentStepIndex + 1}/${state.stepSequence.length - 1}`;
8172
7214
  const { stepProgress } = state;
8173
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "liveness-container", children: [
8174
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "progress-indicator", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "progress-text", children: progress }) }),
8175
- faceDetected && faceDistance !== "ok" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `status-badge ${faceDistance === "not-centered" ? "warning" : "error"}`, children: [
7215
+ return /* @__PURE__ */ jsxs("div", { className: "liveness-container", children: [
7216
+ /* @__PURE__ */ jsx("div", { className: "progress-indicator", children: /* @__PURE__ */ jsx("span", { className: "progress-text", children: progress }) }),
7217
+ faceDetected && faceDistance !== "ok" && /* @__PURE__ */ jsxs("div", { className: `status-badge ${faceDistance === "not-centered" ? "warning" : "error"}`, children: [
8176
7218
  faceDistance === "too-far" && "Aproxime-se mais",
8177
7219
  faceDistance === "too-close" && "Afaste-se um pouco",
8178
7220
  faceDistance === "not-centered" && "Centralize seu rosto"
8179
7221
  ] }),
8180
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "video-wrapper", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
7222
+ /* @__PURE__ */ jsx("div", { className: "video-wrapper", children: /* @__PURE__ */ jsx(
8181
7223
  "div",
8182
7224
  {
8183
7225
  className: `video-circle ${faceDetected && faceDistance === "ok" ? "face-detected" : ""} ${stepProgress > 0 ? "capturing" : ""}`,
8184
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
7226
+ children: /* @__PURE__ */ jsx(
8185
7227
  "video",
8186
7228
  {
8187
7229
  ref: videoRef,
@@ -8193,12 +7235,12 @@ function BiometricRegistrationModal({
8193
7235
  )
8194
7236
  }
8195
7237
  ) }),
8196
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "instruction-box", children: [
8197
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "instruction-text", children: livenessInstructions[state.step] }),
8198
- stepProgress > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "progress-bar", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "progress-fill", style: { width: `${stepProgress}%` } }) })
7238
+ /* @__PURE__ */ jsxs("div", { className: "instruction-box", children: [
7239
+ /* @__PURE__ */ jsx("p", { className: "instruction-text", children: livenessInstructions[state.step] }),
7240
+ stepProgress > 0 && /* @__PURE__ */ jsx("div", { className: "progress-bar", children: /* @__PURE__ */ jsx("div", { className: "progress-fill", style: { width: `${stepProgress}%` } }) })
8199
7241
  ] }),
8200
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "branding-small", children: [
8201
- /* @__PURE__ */ jsxRuntimeExports.jsx(
7242
+ /* @__PURE__ */ jsxs("div", { className: "branding-small", children: [
7243
+ /* @__PURE__ */ jsx(
8202
7244
  "span",
8203
7245
  {
8204
7246
  className: "brand-logo-small",
@@ -8206,19 +7248,19 @@ function BiometricRegistrationModal({
8206
7248
  dangerouslySetInnerHTML: { __html: NEOFACEID_MARK_MONO_SVG }
8207
7249
  }
8208
7250
  ),
8209
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "NeoFaceId by" }),
8210
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "brand-name", children: "OCTA" })
7251
+ /* @__PURE__ */ jsx("span", { children: "NeoFaceId by" }),
7252
+ /* @__PURE__ */ jsx("span", { className: "brand-name", children: "OCTA" })
8211
7253
  ] })
8212
7254
  ] });
8213
7255
  };
8214
- const renderProcessing = () => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "processing-container", children: [
8215
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "spinner-wrapper", children: [
8216
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "spinner" }),
8217
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "spinner-ring" })
7256
+ const renderProcessing = () => /* @__PURE__ */ jsxs("div", { className: "processing-container", children: [
7257
+ /* @__PURE__ */ jsxs("div", { className: "spinner-wrapper", children: [
7258
+ /* @__PURE__ */ jsx("div", { className: "spinner" }),
7259
+ /* @__PURE__ */ jsx("div", { className: "spinner-ring" })
8218
7260
  ] }),
8219
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { children: "Processando biometria" }),
8220
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: "Analisando suas capturas faciais..." }),
8221
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
7261
+ /* @__PURE__ */ jsx("h3", { children: "Processando biometria" }),
7262
+ /* @__PURE__ */ jsx("p", { children: "Analisando suas capturas faciais..." }),
7263
+ /* @__PURE__ */ jsxs(
8222
7264
  "div",
8223
7265
  {
8224
7266
  className: "branding",
@@ -8228,18 +7270,18 @@ function BiometricRegistrationModal({
8228
7270
  borderTop: "1px solid rgba(255, 255, 255, 0.1)"
8229
7271
  },
8230
7272
  children: [
8231
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "NeoFaceId by" }),
8232
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "brand-name", children: "OCTA" })
7273
+ /* @__PURE__ */ jsx("span", { children: "NeoFaceId by" }),
7274
+ /* @__PURE__ */ jsx("span", { className: "brand-name", children: "OCTA" })
8233
7275
  ]
8234
7276
  }
8235
7277
  )
8236
7278
  ] });
8237
7279
  const renderError = () => {
8238
7280
  if (state.status !== "error") return null;
8239
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "result-container error", children: [
8240
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "result-icon error-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "60", height: "60", viewBox: "0 0 60 60", fill: "none", children: [
8241
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "30", cy: "30", r: "28", stroke: "currentColor", strokeWidth: "3" }),
8242
- /* @__PURE__ */ jsxRuntimeExports.jsx(
7281
+ return /* @__PURE__ */ jsxs("div", { className: "result-container error", children: [
7282
+ /* @__PURE__ */ jsx("div", { className: "result-icon error-icon", children: /* @__PURE__ */ jsxs("svg", { width: "60", height: "60", viewBox: "0 0 60 60", fill: "none", children: [
7283
+ /* @__PURE__ */ jsx("circle", { cx: "30", cy: "30", r: "28", stroke: "currentColor", strokeWidth: "3" }),
7284
+ /* @__PURE__ */ jsx(
8243
7285
  "path",
8244
7286
  {
8245
7287
  d: "M20 20 L40 40 M40 20 L20 40",
@@ -8249,10 +7291,10 @@ function BiometricRegistrationModal({
8249
7291
  }
8250
7292
  )
8251
7293
  ] }) }),
8252
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { children: "Não foi possível processar" }),
8253
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: state.message }),
8254
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "button-group", children: [
8255
- state.retryable && /* @__PURE__ */ jsxRuntimeExports.jsx(
7294
+ /* @__PURE__ */ jsx("h3", { children: "Não foi possível processar" }),
7295
+ /* @__PURE__ */ jsx("p", { children: state.message }),
7296
+ /* @__PURE__ */ jsxs("div", { className: "button-group", children: [
7297
+ state.retryable && /* @__PURE__ */ jsx(
8256
7298
  "button",
8257
7299
  {
8258
7300
  type: "button",
@@ -8261,18 +7303,18 @@ function BiometricRegistrationModal({
8261
7303
  children: "Tentar Novamente"
8262
7304
  }
8263
7305
  ),
8264
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: "ghost-button", onClick: onClose, children: "Cancelar" })
7306
+ /* @__PURE__ */ jsx("button", { type: "button", className: "ghost-button", onClick: onClose, children: "Cancelar" })
8265
7307
  ] })
8266
7308
  ] });
8267
7309
  };
8268
- const renderCameraLoading = () => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "processing-container", children: [
8269
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "spinner-wrapper", children: [
8270
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "spinner" }),
8271
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "spinner-ring" })
7310
+ const renderCameraLoading = () => /* @__PURE__ */ jsxs("div", { className: "processing-container", children: [
7311
+ /* @__PURE__ */ jsxs("div", { className: "spinner-wrapper", children: [
7312
+ /* @__PURE__ */ jsx("div", { className: "spinner" }),
7313
+ /* @__PURE__ */ jsx("div", { className: "spinner-ring" })
8272
7314
  ] }),
8273
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { children: "Inicializando câmera" }),
8274
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: "Aguarde enquanto preparamos a câmera..." }),
8275
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
7315
+ /* @__PURE__ */ jsx("h3", { children: "Inicializando câmera" }),
7316
+ /* @__PURE__ */ jsx("p", { children: "Aguarde enquanto preparamos a câmera..." }),
7317
+ /* @__PURE__ */ jsxs(
8276
7318
  "div",
8277
7319
  {
8278
7320
  className: "branding",
@@ -8282,16 +7324,16 @@ function BiometricRegistrationModal({
8282
7324
  borderTop: "1px solid rgba(255, 255, 255, 0.1)"
8283
7325
  },
8284
7326
  children: [
8285
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "NeoFaceId by" }),
8286
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "brand-name", children: "OCTA" })
7327
+ /* @__PURE__ */ jsx("span", { children: "NeoFaceId by" }),
7328
+ /* @__PURE__ */ jsx("span", { className: "brand-name", children: "OCTA" })
8287
7329
  ]
8288
7330
  }
8289
7331
  )
8290
7332
  ] });
8291
- const renderSuccess = () => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "result-container success", children: [
8292
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "result-icon success-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "60", height: "60", viewBox: "0 0 60 60", fill: "none", children: [
8293
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "30", cy: "30", r: "28", stroke: "currentColor", strokeWidth: "3" }),
8294
- /* @__PURE__ */ jsxRuntimeExports.jsx(
7333
+ const renderSuccess = () => /* @__PURE__ */ jsxs("div", { className: "result-container success", children: [
7334
+ /* @__PURE__ */ jsx("div", { className: "result-icon success-icon", children: /* @__PURE__ */ jsxs("svg", { width: "60", height: "60", viewBox: "0 0 60 60", fill: "none", children: [
7335
+ /* @__PURE__ */ jsx("circle", { cx: "30", cy: "30", r: "28", stroke: "currentColor", strokeWidth: "3" }),
7336
+ /* @__PURE__ */ jsx(
8295
7337
  "path",
8296
7338
  {
8297
7339
  d: "M15 30 L25 40 L45 20",
@@ -8302,18 +7344,18 @@ function BiometricRegistrationModal({
8302
7344
  }
8303
7345
  )
8304
7346
  ] }) }),
8305
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { children: onPhotosCaptured ? "Captura concluída!" : "Verificação concluída!" }),
8306
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: onPhotosCaptured ? "Suas capturas faciais foram realizadas" : "Sua biometria foi registrada com sucesso" }),
8307
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: "primary-button", onClick: onClose, children: "Continuar" })
7347
+ /* @__PURE__ */ jsx("h3", { children: onPhotosCaptured ? "Captura concluída!" : "Verificação concluída!" }),
7348
+ /* @__PURE__ */ jsx("p", { children: onPhotosCaptured ? "Suas capturas faciais foram realizadas" : "Sua biometria foi registrada com sucesso" }),
7349
+ /* @__PURE__ */ jsx("button", { type: "button", className: "primary-button", onClick: onClose, children: "Continuar" })
8308
7350
  ] });
8309
7351
  const renderDuplicate = () => {
8310
7352
  if (state.status !== "duplicate") return null;
8311
7353
  const greeting = state.personName && state.personName !== "Pessoa identificada" ? `Olá, ${state.personName.split(" ")[0]}!` : "Olá!";
8312
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "result-container duplicate scale-in", children: [
8313
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { style: { marginTop: "0px" }, children: greeting }),
8314
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { style: { marginBottom: "32px", fontSize: "15px" }, children: "Identificamos seu cadastro biométrico em nossa rede. Você já faz parte da NeoFaceId!" }),
8315
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "button-group-vertical", children: [
8316
- /* @__PURE__ */ jsxRuntimeExports.jsx(
7354
+ return /* @__PURE__ */ jsxs("div", { className: "result-container duplicate scale-in", children: [
7355
+ /* @__PURE__ */ jsx("h3", { style: { marginTop: "0px" }, children: greeting }),
7356
+ /* @__PURE__ */ jsx("p", { style: { marginBottom: "32px", fontSize: "15px" }, children: "Identificamos seu cadastro biométrico em nossa rede. Você já faz parte da NeoFaceId!" }),
7357
+ /* @__PURE__ */ jsxs("div", { className: "button-group-vertical", children: [
7358
+ /* @__PURE__ */ jsx(
8317
7359
  "button",
8318
7360
  {
8319
7361
  type: "button",
@@ -8325,7 +7367,7 @@ function BiometricRegistrationModal({
8325
7367
  children: "Ir para o Login"
8326
7368
  }
8327
7369
  ),
8328
- /* @__PURE__ */ jsxRuntimeExports.jsx(
7370
+ /* @__PURE__ */ jsx(
8329
7371
  "button",
8330
7372
  {
8331
7373
  type: "button",
@@ -8338,9 +7380,9 @@ function BiometricRegistrationModal({
8338
7380
  children: "Esqueci minha senha"
8339
7381
  }
8340
7382
  ),
8341
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "support-section", children: [
8342
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: "Não reconhece esta conta?" }),
8343
- /* @__PURE__ */ jsxRuntimeExports.jsx(
7383
+ /* @__PURE__ */ jsxs("div", { className: "support-section", children: [
7384
+ /* @__PURE__ */ jsx("p", { children: "Não reconhece esta conta?" }),
7385
+ /* @__PURE__ */ jsx(
8344
7386
  "button",
8345
7387
  {
8346
7388
  type: "button",
@@ -8351,7 +7393,7 @@ function BiometricRegistrationModal({
8351
7393
  )
8352
7394
  ] })
8353
7395
  ] }),
8354
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
7396
+ /* @__PURE__ */ jsxs(
8355
7397
  "div",
8356
7398
  {
8357
7399
  className: "branding",
@@ -8362,7 +7404,7 @@ function BiometricRegistrationModal({
8362
7404
  width: "100%"
8363
7405
  },
8364
7406
  children: [
8365
- /* @__PURE__ */ jsxRuntimeExports.jsx(
7407
+ /* @__PURE__ */ jsx(
8366
7408
  "span",
8367
7409
  {
8368
7410
  className: "brand-logo",
@@ -8370,15 +7412,15 @@ function BiometricRegistrationModal({
8370
7412
  dangerouslySetInnerHTML: { __html: NEOFACEID_MARK_MONO_SVG }
8371
7413
  }
8372
7414
  ),
8373
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "NeoFaceId by" }),
8374
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "brand-name", children: "OCTA" })
7415
+ /* @__PURE__ */ jsx("span", { children: "NeoFaceId by" }),
7416
+ /* @__PURE__ */ jsx("span", { className: "brand-name", children: "OCTA" })
8375
7417
  ]
8376
7418
  }
8377
7419
  )
8378
7420
  ] });
8379
7421
  };
8380
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
8381
- /* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: `
7422
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
7423
+ /* @__PURE__ */ jsx("style", { children: `
8382
7424
  @keyframes fadeIn {
8383
7425
  from { opacity: 0; transform: scale(0.95); }
8384
7426
  to { opacity: 1; transform: scale(1); }
@@ -9010,8 +8052,8 @@ function BiometricRegistrationModal({
9010
8052
  }
9011
8053
  }
9012
8054
  ` }),
9013
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal-overlay", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-content", children: [
9014
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: "close-button", onClick: onClose, children: "×" }),
8055
+ /* @__PURE__ */ jsx("div", { className: "modal-overlay", children: /* @__PURE__ */ jsxs("div", { className: "modal-content", children: [
8056
+ /* @__PURE__ */ jsx("button", { type: "button", className: "close-button", onClick: onClose, children: "×" }),
9015
8057
  state.status === "liveness" && renderLivenessDetection(),
9016
8058
  state.status === "camera-loading" && renderCameraLoading(),
9017
8059
  state.status === "processing" && renderProcessing(),
@@ -9019,7 +8061,7 @@ function BiometricRegistrationModal({
9019
8061
  state.status === "success" && renderSuccess(),
9020
8062
  state.status === "duplicate" && renderDuplicate()
9021
8063
  ] }) }),
9022
- /* @__PURE__ */ jsxRuntimeExports.jsx("canvas", { ref: canvasRef })
8064
+ /* @__PURE__ */ jsx("canvas", { ref: canvasRef })
9023
8065
  ] });
9024
8066
  }
9025
8067
  function ConsentModalComponent({
@@ -9030,8 +8072,8 @@ function ConsentModalComponent({
9030
8072
  onAccept,
9031
8073
  onDecline
9032
8074
  }) {
9033
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
9034
- /* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: `
8075
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
8076
+ /* @__PURE__ */ jsx("style", { children: `
9035
8077
  @keyframes neofaceidConsentFadeIn {
9036
8078
  from { opacity: 0; }
9037
8079
  to { opacity: 1; }
@@ -9152,19 +8194,19 @@ function ConsentModalComponent({
9152
8194
  }
9153
8195
  }
9154
8196
  ` }),
9155
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "neofaceid-consent-overlay", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "neofaceid-consent-modal", children: [
9156
- /* @__PURE__ */ jsxRuntimeExports.jsxs("h3", { className: "neofaceid-consent-title", children: [
8197
+ /* @__PURE__ */ jsx("div", { className: "neofaceid-consent-overlay", children: /* @__PURE__ */ jsxs("div", { className: "neofaceid-consent-modal", children: [
8198
+ /* @__PURE__ */ jsxs("h3", { className: "neofaceid-consent-title", children: [
9157
8199
  "Uso do seu rosto para ",
9158
8200
  purpose
9159
8201
  ] }),
9160
- /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "neofaceid-consent-message", children: [
8202
+ /* @__PURE__ */ jsxs("p", { className: "neofaceid-consent-message", children: [
9161
8203
  "Esta captura é realizada com base em ",
9162
8204
  legalBasis,
9163
8205
  ". Os dados biométricos coletados são retidos por até ",
9164
8206
  retentionDays,
9165
8207
  " dias, conforme a finalidade informada."
9166
8208
  ] }),
9167
- /* @__PURE__ */ jsxRuntimeExports.jsx(
8209
+ /* @__PURE__ */ jsx(
9168
8210
  "a",
9169
8211
  {
9170
8212
  href: privacyPolicyUrl,
@@ -9174,8 +8216,8 @@ function ConsentModalComponent({
9174
8216
  children: "Ver política de privacidade"
9175
8217
  }
9176
8218
  ),
9177
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "neofaceid-consent-actions", children: [
9178
- /* @__PURE__ */ jsxRuntimeExports.jsx(
8219
+ /* @__PURE__ */ jsxs("div", { className: "neofaceid-consent-actions", children: [
8220
+ /* @__PURE__ */ jsx(
9179
8221
  "button",
9180
8222
  {
9181
8223
  type: "button",
@@ -9184,7 +8226,7 @@ function ConsentModalComponent({
9184
8226
  children: "Aceito e continuar"
9185
8227
  }
9186
8228
  ),
9187
- /* @__PURE__ */ jsxRuntimeExports.jsx(
8229
+ /* @__PURE__ */ jsx(
9188
8230
  "button",
9189
8231
  {
9190
8232
  type: "button",
@@ -9209,9 +8251,9 @@ class ConsentModal {
9209
8251
  this.container = document.createElement("div");
9210
8252
  this.container.id = "neofaceid-consent-modal-container";
9211
8253
  document.body.appendChild(this.container);
9212
- this.root = clientExports.createRoot(this.container);
8254
+ this.root = createRoot(this.container);
9213
8255
  this.root.render(
9214
- /* @__PURE__ */ jsxRuntimeExports.jsx(
8256
+ /* @__PURE__ */ jsx(
9215
8257
  ConsentModalComponent,
9216
8258
  {
9217
8259
  ...props,
@@ -10023,8 +9065,8 @@ function FallbackPromptComponent({
10023
9065
  const modal = new ForgotPasswordModal(applicationToken);
10024
9066
  modal.open();
10025
9067
  };
10026
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
10027
- /* @__PURE__ */ jsxRuntimeExports.jsx("style", { children: `
9068
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
9069
+ /* @__PURE__ */ jsx("style", { children: `
10028
9070
  @keyframes slideUp {
10029
9071
  from {
10030
9072
  opacity: 0;
@@ -10166,10 +9208,10 @@ function FallbackPromptComponent({
10166
9208
  }
10167
9209
  }
10168
9210
  ` }),
10169
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "neofaceid-fallback-overlay", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "neofaceid-fallback-prompt", children: [
10170
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "neofaceid-fallback-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10171
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "32", cy: "32", r: "30", stroke: "currentColor", strokeWidth: "3", fill: "none" }),
10172
- /* @__PURE__ */ jsxRuntimeExports.jsx(
9211
+ /* @__PURE__ */ jsx("div", { className: "neofaceid-fallback-overlay", children: /* @__PURE__ */ jsxs("div", { className: "neofaceid-fallback-prompt", children: [
9212
+ /* @__PURE__ */ jsx("div", { className: "neofaceid-fallback-icon", children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
9213
+ /* @__PURE__ */ jsx("circle", { cx: "32", cy: "32", r: "30", stroke: "currentColor", strokeWidth: "3", fill: "none" }),
9214
+ /* @__PURE__ */ jsx(
10173
9215
  "path",
10174
9216
  {
10175
9217
  d: "M20 20 L44 44 M44 20 L20 44",
@@ -10179,10 +9221,10 @@ function FallbackPromptComponent({
10179
9221
  }
10180
9222
  )
10181
9223
  ] }) }),
10182
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "neofaceid-fallback-title", children: "Não foi possível reconhecer" }),
10183
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "neofaceid-fallback-message", children: (error == null ? void 0 : error.getFriendlyMessage()) || "Não conseguimos reconhecer sua face. Tente novamente ou use email e senha." }),
10184
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "neofaceid-fallback-actions", children: [
10185
- /* @__PURE__ */ jsxRuntimeExports.jsx(
9224
+ /* @__PURE__ */ jsx("h3", { className: "neofaceid-fallback-title", children: "Não foi possível reconhecer" }),
9225
+ /* @__PURE__ */ jsx("p", { className: "neofaceid-fallback-message", children: (error == null ? void 0 : error.getFriendlyMessage()) || "Não conseguimos reconhecer sua face. Tente novamente ou use email e senha." }),
9226
+ /* @__PURE__ */ jsxs("div", { className: "neofaceid-fallback-actions", children: [
9227
+ /* @__PURE__ */ jsx(
10186
9228
  "button",
10187
9229
  {
10188
9230
  type: "button",
@@ -10191,7 +9233,7 @@ function FallbackPromptComponent({
10191
9233
  children: "Tentar Novamente"
10192
9234
  }
10193
9235
  ),
10194
- /* @__PURE__ */ jsxRuntimeExports.jsx(
9236
+ /* @__PURE__ */ jsx(
10195
9237
  "button",
10196
9238
  {
10197
9239
  type: "button",
@@ -10200,7 +9242,7 @@ function FallbackPromptComponent({
10200
9242
  children: "Entrar com Email e Senha"
10201
9243
  }
10202
9244
  ),
10203
- applicationToken && /* @__PURE__ */ jsxRuntimeExports.jsx(
9245
+ applicationToken && /* @__PURE__ */ jsx(
10204
9246
  "button",
10205
9247
  {
10206
9248
  type: "button",
@@ -10209,7 +9251,7 @@ function FallbackPromptComponent({
10209
9251
  children: "Esqueceu sua senha?"
10210
9252
  }
10211
9253
  ),
10212
- onCancel && /* @__PURE__ */ jsxRuntimeExports.jsx(
9254
+ onCancel && /* @__PURE__ */ jsx(
10213
9255
  "button",
10214
9256
  {
10215
9257
  type: "button",
@@ -10237,7 +9279,7 @@ class FallbackPrompt {
10237
9279
  this.container = document.createElement("div");
10238
9280
  this.container.id = "neofaceid-fallback-prompt";
10239
9281
  document.body.appendChild(this.container);
10240
- this.root = clientExports.createRoot(this.container);
9282
+ this.root = createRoot(this.container);
10241
9283
  this.render(error, onRetry, onCredentials, onCancel, applicationToken);
10242
9284
  }
10243
9285
  /**
@@ -10259,7 +9301,7 @@ class FallbackPrompt {
10259
9301
  render(error, onRetry, onCredentials, onCancel, applicationToken) {
10260
9302
  if (!this.root || !this.container) return;
10261
9303
  this.root.render(
10262
- /* @__PURE__ */ jsxRuntimeExports.jsx(
9304
+ /* @__PURE__ */ jsx(
10263
9305
  FallbackPromptComponent,
10264
9306
  {
10265
9307
  error,
@@ -11375,8 +10417,8 @@ const biometricDetection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
11375
10417
  initializeBiometricDetection,
11376
10418
  isAdvancedDetectionAvailable
11377
10419
  }, Symbol.toStringTag, { value: "Module" }));
11378
- const VERSION = "1.25.6";
11379
- const RELEASE_DATE = "2026-08-29";
10420
+ const VERSION = "1.26.0";
10421
+ const RELEASE_DATE = "2026-08-31";
11380
10422
  class OnboardingCaptureModal {
11381
10423
  constructor(options) {
11382
10424
  __publicField(this, "overlay", null);
@@ -13109,7 +12151,7 @@ function start(applicationToken, callbacks) {
13109
12151
  });
13110
12152
  }
13111
12153
  });
13112
- const root = clientExports.createRoot(container);
12154
+ const root = createRoot(container);
13113
12155
  root.render(modalElement);
13114
12156
  }).catch((error) => {
13115
12157
  cleanup();
@@ -13151,7 +12193,7 @@ function startBiometricRegistration(personData, applicationToken, callbacks, opt
13151
12193
  callbacks.onError("BIOMETRIC_REGISTRATION_ERROR", error);
13152
12194
  }
13153
12195
  });
13154
- rootRef = clientExports.createRoot(container);
12196
+ rootRef = createRoot(container);
13155
12197
  rootRef.render(modalElement);
13156
12198
  }).catch((error) => {
13157
12199
  cleanup();
@@ -13198,7 +12240,7 @@ function startLivenessCapture(applicationToken, callbacks) {
13198
12240
  callbacks.onError("LIVENESS_CAPTURE_ERROR", error);
13199
12241
  }
13200
12242
  });
13201
- rootRef = clientExports.createRoot(container);
12243
+ rootRef = createRoot(container);
13202
12244
  rootRef.render(modalElement);
13203
12245
  }).catch((error) => {
13204
12246
  cleanup();