@microblink/blinkid-ux-manager 7.7.0 → 7.7.2
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/blinkid-ux-manager.js +789 -724
- package/package.json +3 -3
- package/types/core/BlinkIdUxManager.d.ts +1 -0
- package/types/core/BlinkIdUxManager.d.ts.map +1 -1
- package/types/core/createBlinkIdUxManager.d.ts.map +1 -1
- package/types/core/createBlinkIdUxManager.test.d.ts +5 -0
- package/types/core/createBlinkIdUxManager.test.d.ts.map +1 -0
- package/types/core/test-helpers.integration.d.ts +10 -46
- package/types/core/test-helpers.integration.d.ts.map +1 -1
- package/types/index.rollup.d.ts +1 -0
- package/types/ui/BlinkIdFeedbackUi.d.ts.map +1 -1
- package/types/ui/dialogs/OnboardingGuideModal.d.ts.map +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function(){"use strict";(r=>{window.__blinkidUxManagerCssCode=r})("*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.container{width:100%}.dialog-description{margin-top:1em;text-align:center;text-wrap:pretty;font-size:1em;--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity));line-height:calc(1em + .5rem)}.btn{height:2.5rem;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:calc(var(--mb-size)*2.5rem);border-style:none;padding-left:calc(var(--mb-size)*1.5rem);padding-right:calc(var(--mb-size)*1.5rem);padding-top:calc(var(--mb-size)*.25rem);padding-bottom:calc(var(--mb-size)*.25rem);text-wrap:nowrap;font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.1s}.btn:disabled{cursor:not-allowed}.btn-primary{--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity))}.btn-secondary{background-color:transparent;--un-text-opacity:1;color:rgb(var(--color-primary) / var(--un-text-opacity));--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(var(--color-primary) / var(--un-ring-opacity)) }.btn-primary:enabled:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-700-rgb-value) / var(--un-bg-opacity))}.btn-secondary:enabled:hover{--un-bg-opacity:1;background-color:rgb(var(--color-accent-25-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-700-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-700-rgb-value) / var(--un-ring-opacity)) }.btn-primary:enabled:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-800-rgb-value) / var(--un-bg-opacity))}.btn-secondary:enabled:active{--un-bg-opacity:1;background-color:rgb(var(--color-accent-50-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-accent-800-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-accent-800-rgb-value) / var(--un-ring-opacity)) }.btn-primary:disabled{--un-bg-opacity:1;background-color:rgb(var(--color-gray-300-rgb-value) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(var(--color-gray-500-rgb-value) / var(--un-text-opacity))}.dialog-title{text-align:center;text-wrap:pretty;font-size:1.5em;--un-text-opacity:1;color:rgb(var(--color-gray-700-rgb-value) / var(--un-text-opacity));font-weight:700;line-height:calc(1em + .5rem)}.btn-secondary:disabled{--un-text-opacity:1;color:rgb(var(--color-gray-400-rgb-value) / var(--un-text-opacity));--un-ring-opacity:1;--un-ring-color:rgb(var(--color-gray-400-rgb-value) / var(--un-ring-opacity)) }.btn:enabled:focus-visible{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-primary) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}.btn-focus:enabled:focus-visible{outline-width:2px;--un-outline-color-opacity:1;outline-color:rgb(var(--color-primary) / var(--un-outline-color-opacity));outline-offset:4px;outline-style:solid}@media (min-width: 380px){.container{max-width:380px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\\[--arrow-background\\:rgb\\(var\\(--color-primary\\)\\)\\]{--arrow-background:rgb(var(--color-primary))}.\\[--arrow-size\\:0\\.5rem\\]{--arrow-size:.5rem}.\\[--modal-t\\:0\\]{--modal-t:0}.contain-strict{contain:strict}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.invisible{visibility:hidden}.backface-hidden{backface-visibility:hidden}.absolute,.pos-absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:calc(var(--mb-size)*0rem)}.bottom-4{bottom:calc(var(--mb-size)*1rem)}.left-0{left:calc(var(--mb-size)*0rem)}.right-2\\.5{right:.625rem}.right-4{right:calc(var(--mb-size)*1rem)}.top-\\[15\\%\\]{top:15%}.top-0{top:calc(var(--mb-size)*0rem)}.top-2\\.5{top:.625rem}.z-10{z-index:10}.grid{display:grid}.grid-rows-\\[minmax\\(0\\,1fr\\)_auto\\]{grid-template-rows:minmax(0,1fr) auto}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-area-\\[1\\/1\\]{grid-area:1/1}.m-x-auto{margin-left:auto;margin-right:auto}.ms{margin-inline-start:1rem}.mt-3{margin-top:calc(var(--mb-size)*.75rem)}.\\[\\&_svg\\]\\:size-7 svg{width:calc(var(--mb-size)*1.75rem);height:calc(var(--mb-size)*1.75rem)}.size-\\[9px\\]{width:9px;height:9px}.size-12{width:calc(var(--mb-size)*3rem);height:calc(var(--mb-size)*3rem)}.size-24{width:calc(var(--mb-size)*6rem);height:calc(var(--mb-size)*6rem)}.size-9{width:calc(var(--mb-size)*2.25rem);height:calc(var(--mb-size)*2.25rem)}.size-full{width:100%;height:100%}.h-3\\.5{height:.875rem}.h-8{height:calc(var(--mb-size)*2rem)}.h-full{height:100%}.max-h-full{max-height:100%}.max-w-\\[17\\.5rem\\]{max-width:17.5rem}.max-w-\\[30ch\\]{max-width:30ch}.max-w-45{max-width:calc(var(--mb-size)*11.25rem)}.min-h-0{min-height:calc(var(--mb-size)*0rem)}.min-w-0{min-width:calc(var(--mb-size)*0rem)}.w-\\[min\\(540px\\,100\\%\\)\\]{width:min(540px,100%)}.w-100dvw{width:100dvw}.w-24{width:calc(var(--mb-size)*6rem)}.w-3\\.5{width:.875rem}.w-8{width:calc(var(--mb-size)*2rem)}.w-full{width:100%}.flex{display:flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.perspective-300px{-webkit-perspective:300px;perspective:300px}.rotate-y-180{--un-rotate:0;--un-rotate-y:180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-130{--un-scale-x:1.3;--un-scale-y:1.3;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.preserve-3d{transform-style:preserve-3d}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.select-none{-webkit-user-select:none;user-select:none}.appearance-none{-webkit-appearance:none;appearance:none}.place-items-center{place-items:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:calc(var(--mb-size)*.25rem)}.gap-2{gap:calc(var(--mb-size)*.5rem)}.gap-3{gap:calc(var(--mb-size)*.75rem)}.gap-6{gap:calc(var(--mb-size)*1.5rem)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2{border-radius:calc(var(--mb-size)*.5rem)}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border-none{border-style:none}.bg-black{--un-bg-opacity:1;background-color:rgb(var(--color-black-rgb-value) / var(--un-bg-opacity))}.bg-error-400\\/60{background-color:rgb(var(--color-error-400-rgb-value) / .6)}.bg-gray-300{--un-bg-opacity:1;background-color:rgb(var(--color-gray-300-rgb-value) / var(--un-bg-opacity))}.bg-gray-550\\/50{background-color:rgb(var(--color-gray-550-rgb-value) / .5)}.bg-gray-550\\/90{background-color:rgb(var(--color-gray-550-rgb-value) / .9)}.bg-primary{--un-bg-opacity:1;background-color:rgb(var(--color-primary) / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(var(--color-white-rgb-value) / var(--un-bg-opacity))}.hover\\:bg-gray-100:hover{--un-bg-opacity:1;background-color:rgb(var(--color-gray-100-rgb-value) / var(--un-bg-opacity))}.active\\:bg-gray-200:active{--un-bg-opacity:1;background-color:rgb(var(--color-gray-200-rgb-value) / var(--un-bg-opacity))}.bg-opacity-50{--un-bg-opacity:.5}.\\[\\&\\>path\\]\\:fill-\\[currentColor\\]>path{fill:currentColor}.\\[\\&\\>path\\]\\:fill-\\[initial\\]>path{fill:initial}.p-\\[clamp\\(1\\.5rem\\,6dvmin\\,3rem\\)\\]{padding:clamp(1.5rem,6dvmin,3rem)}.p-2{padding:calc(var(--mb-size)*.5rem)}.px-2{padding-left:calc(var(--mb-size)*.5rem);padding-right:calc(var(--mb-size)*.5rem)}.py-3{padding-top:calc(var(--mb-size)*.75rem);padding-bottom:calc(var(--mb-size)*.75rem)}.p-inline-4{padding-inline-start:calc(var(--mb-size)*1rem);padding-inline-end:calc(var(--mb-size)*1rem)}.text-align-center,.text-center{text-align:center}.text-balance{text-wrap:balance}.text-base{font-size:calc(var(--mb-size)*1rem);line-height:calc(var(--mb-size)*1.5rem)}.text-sm{font-size:calc(var(--mb-size)*.875rem);line-height:calc(var(--mb-size)*1.25rem)}.text-\\[calc\\(0\\.875rem\\+0\\.125rem\\*var\\(--modal-t\\)\\)\\]{font-size:calc(.875rem + .125rem * var(--modal-t))}.color-white,.text-white{--un-text-opacity:1;color:rgb(var(--color-white-rgb-value) / var(--un-text-opacity))}.color-dark-900{--un-text-opacity:1;color:rgb(15 15 15 / var(--un-text-opacity))}.font-bold{font-weight:700}.text-shadow-\\[0_1px_4px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{text-shadow:0 1px 4px rgba(0,0,0,.1)}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.backdrop-blur-sm{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-xl{--un-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.drop-shadow-\\[0_0_15px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--un-drop-shadow:drop-shadow(0 0 15px rgba(0,0,0,.1));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.drop-shadow-md{--un-drop-shadow:drop-shadow(0 4px 3px var(--un-drop-shadow-color, rgb(0 0 0 / .07))) drop-shadow(0 2px 2px var(--un-drop-shadow-color, rgb(0 0 0 / .06)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-duration-100{transition-duration:.1s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.will-change-transform{will-change:transform}.h-100dvh{height:100dvh}@media (max-height: 639.9px){.lt-h-sm\\:gap-4{gap:calc(var(--mb-size)*1rem)}}@media (max-height: 639.9px) and (min-width: 380px){.compact\\:col-start-1{grid-column-start:1}.compact\\:col-start-2{grid-column-start:2}.compact\\:grid-cols-\\[minmax\\(7rem\\,11\\.25rem\\)_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(7rem,11.25rem) minmax(0,1fr)}.compact\\:grid-rows-\\[minmax\\(0\\,1fr\\)\\]{grid-template-rows:minmax(0,1fr)}.compact\\:h-full{height:100%}.compact\\:max-w-\\[11\\.25rem\\]{max-width:11.25rem}.compact\\:min-h-0{min-height:calc(var(--mb-size)*0rem)}.compact\\:self-start{align-self:flex-start}.compact\\:overflow-hidden{overflow:hidden}.compact\\:overflow-y-auto{overflow-y:auto}.compact\\:\\!text-left{text-align:left!important}}")})();
|
|
2
|
-
import { getDeviceInfo as
|
|
3
|
-
import { insert as
|
|
4
|
-
import { createRoot as qe, createSignal as L, onMount as $t, Show as W, createContext as xe, createEffect as V, useContext as De, createMemo as ye, on as at, untrack as Se, useTransition as
|
|
2
|
+
import { getDeviceInfo as yn } from "@microblink/blinkid-core";
|
|
3
|
+
import { insert as S, createComponent as l, use as zt, template as _, isServer as de, mergeProps as ve, Dynamic as rt, spread as F, effect as Re, Portal as En, setAttribute as He, memo as Tn } from "solid-js/web";
|
|
4
|
+
import { createRoot as qe, createSignal as L, onMount as $t, Show as W, createContext as xe, createEffect as V, useContext as De, createMemo as ye, on as at, untrack as Se, useTransition as wn, createComputed as bn, batch as Pe, splitProps as Bt, onCleanup as re, Switch as Vt, Match as K, $TRACK as An, createUniqueId as On, Index as pt } from "solid-js";
|
|
5
5
|
import { cameraManagerStore as gt } from "@microblink/camera-manager";
|
|
6
|
-
import { EnvironmentProvider as
|
|
6
|
+
import { EnvironmentProvider as Sn } from "@ark-ui/solid/environment";
|
|
7
7
|
import { createWithSignal as ft } from "solid-zustand";
|
|
8
8
|
import { createStore as Kt } from "solid-js/store";
|
|
9
9
|
import { Dialog as ke, Tooltip as ae } from "@ark-ui/solid";
|
|
10
10
|
import { Dialog as se } from "@ark-ui/solid/dialog";
|
|
11
|
-
const x = Symbol.for("@ts-pattern/matcher"), Wt = Symbol.for("@ts-pattern/isVariadic"), Ie = "@ts-pattern/anonymous-select-key", Qe = (t) => !!(t && typeof t == "object"), Me = (t) => t && !!t[x],
|
|
11
|
+
const x = Symbol.for("@ts-pattern/matcher"), Wt = Symbol.for("@ts-pattern/isVariadic"), Ie = "@ts-pattern/anonymous-select-key", Qe = (t) => !!(t && typeof t == "object"), Me = (t) => t && !!t[x], R = (t, e, n) => {
|
|
12
12
|
if (Me(t)) {
|
|
13
13
|
const i = t[x](), { matched: r, selections: a } = i.match(e);
|
|
14
14
|
return r && a && Object.keys(a).forEach((s) => n(s, a[s])), r;
|
|
@@ -26,13 +26,13 @@ const x = Symbol.for("@ts-pattern/matcher"), Wt = Symbol.for("@ts-pattern/isVari
|
|
|
26
26
|
if (a.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
|
|
27
27
|
if (e.length < i.length + r.length) return !1;
|
|
28
28
|
const s = e.slice(0, i.length), o = r.length === 0 ? [] : e.slice(-r.length), u = e.slice(i.length, r.length === 0 ? 1 / 0 : -r.length);
|
|
29
|
-
return i.every((c, d) =>
|
|
29
|
+
return i.every((c, d) => R(c, s[d], n)) && r.every((c, d) => R(c, o[d], n)) && (a.length === 0 || R(a[0], u, n));
|
|
30
30
|
}
|
|
31
|
-
return t.length === e.length && t.every((s, o) =>
|
|
31
|
+
return t.length === e.length && t.every((s, o) => R(s, e[o], n));
|
|
32
32
|
}
|
|
33
33
|
return Reflect.ownKeys(t).every((i) => {
|
|
34
34
|
const r = t[i];
|
|
35
|
-
return (i in e || Me(a = r) && a[x]().matcherType === "optional") &&
|
|
35
|
+
return (i in e || Me(a = r) && a[x]().matcherType === "optional") && R(r, e[i], n);
|
|
36
36
|
var a;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -41,21 +41,21 @@ const x = Symbol.for("@ts-pattern/matcher"), Wt = Symbol.for("@ts-pattern/isVari
|
|
|
41
41
|
var e, n, i;
|
|
42
42
|
return Qe(t) ? Me(t) ? (e = (n = (i = t[x]()).getSelectionKeys) == null ? void 0 : n.call(i)) != null ? e : [] : Array.isArray(t) ? Ee(t, G) : Ee(Object.values(t), G) : [];
|
|
43
43
|
}, Ee = (t, e) => t.reduce((n, i) => n.concat(e(i)), []);
|
|
44
|
-
function
|
|
44
|
+
function Mn(...t) {
|
|
45
45
|
if (t.length === 1) {
|
|
46
46
|
const [e] = t;
|
|
47
|
-
return (n) =>
|
|
47
|
+
return (n) => R(e, n, () => {
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
if (t.length === 2) {
|
|
51
51
|
const [e, n] = t;
|
|
52
|
-
return
|
|
52
|
+
return R(e, n, () => {
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return Object.assign(t, { optional: () => st(t), and: (e) =>
|
|
57
|
+
function N(t) {
|
|
58
|
+
return Object.assign(t, { optional: () => st(t), and: (e) => O(t, e), or: (e) => jt(t, e), select: (e) => e === void 0 ? Te(t) : Te(e, t) });
|
|
59
59
|
}
|
|
60
60
|
function Ye(t) {
|
|
61
61
|
return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
|
|
@@ -68,51 +68,51 @@ function Ye(t) {
|
|
|
68
68
|
} }))(t), { optional: () => Ye(st(t)), select: (e) => Ye(e === void 0 ? Te(t) : Te(e, t)) });
|
|
69
69
|
}
|
|
70
70
|
function st(t) {
|
|
71
|
-
return
|
|
71
|
+
return N({ [x]: () => ({ match: (e) => {
|
|
72
72
|
let n = {};
|
|
73
73
|
const i = (r, a) => {
|
|
74
74
|
n[r] = a;
|
|
75
75
|
};
|
|
76
|
-
return e === void 0 ? (G(t).forEach((r) => i(r, void 0)), { matched: !0, selections: n }) : { matched:
|
|
76
|
+
return e === void 0 ? (G(t).forEach((r) => i(r, void 0)), { matched: !0, selections: n }) : { matched: R(t, e, i), selections: n };
|
|
77
77
|
}, getSelectionKeys: () => G(t), matcherType: "optional" }) });
|
|
78
78
|
}
|
|
79
|
-
const
|
|
79
|
+
const Cn = (t, e) => {
|
|
80
80
|
for (const n of t) if (!e(n)) return !1;
|
|
81
81
|
return !0;
|
|
82
|
-
},
|
|
82
|
+
}, Rn = (t, e) => {
|
|
83
83
|
for (const [n, i] of t.entries()) if (!e(i, n)) return !1;
|
|
84
84
|
return !0;
|
|
85
|
-
},
|
|
85
|
+
}, Dn = (t, e) => {
|
|
86
86
|
const n = Reflect.ownKeys(t);
|
|
87
87
|
for (const i of n) if (!e(i, t[i])) return !1;
|
|
88
88
|
return !0;
|
|
89
89
|
};
|
|
90
|
-
function
|
|
91
|
-
return
|
|
90
|
+
function O(...t) {
|
|
91
|
+
return N({ [x]: () => ({ match: (e) => {
|
|
92
92
|
let n = {};
|
|
93
93
|
const i = (r, a) => {
|
|
94
94
|
n[r] = a;
|
|
95
95
|
};
|
|
96
|
-
return { matched: t.every((r) =>
|
|
96
|
+
return { matched: t.every((r) => R(r, e, i)), selections: n };
|
|
97
97
|
}, getSelectionKeys: () => Ee(t, G), matcherType: "and" }) });
|
|
98
98
|
}
|
|
99
99
|
function jt(...t) {
|
|
100
|
-
return
|
|
100
|
+
return N({ [x]: () => ({ match: (e) => {
|
|
101
101
|
let n = {};
|
|
102
102
|
const i = (r, a) => {
|
|
103
103
|
n[r] = a;
|
|
104
104
|
};
|
|
105
|
-
return Ee(t, G).forEach((r) => i(r, void 0)), { matched: t.some((r) =>
|
|
105
|
+
return Ee(t, G).forEach((r) => i(r, void 0)), { matched: t.some((r) => R(r, e, i)), selections: n };
|
|
106
106
|
}, getSelectionKeys: () => Ee(t, G), matcherType: "or" }) });
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function v(t) {
|
|
109
109
|
return { [x]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
|
|
110
110
|
}
|
|
111
111
|
function Te(...t) {
|
|
112
112
|
const e = typeof t[0] == "string" ? t[0] : void 0, n = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
|
|
113
|
-
return
|
|
113
|
+
return N({ [x]: () => ({ match: (i) => {
|
|
114
114
|
let r = { [e ?? Ie]: i };
|
|
115
|
-
return { matched: n === void 0 ||
|
|
115
|
+
return { matched: n === void 0 || R(n, i, (a, s) => {
|
|
116
116
|
r[a] = s;
|
|
117
117
|
}), selections: r };
|
|
118
118
|
}, getSelectionKeys: () => [e ?? Ie].concat(n === void 0 ? [] : G(n)) }) });
|
|
@@ -129,28 +129,28 @@ function Q(t) {
|
|
|
129
129
|
function Y(t) {
|
|
130
130
|
return typeof t == "bigint";
|
|
131
131
|
}
|
|
132
|
-
const Qt =
|
|
133
|
-
return X(
|
|
132
|
+
const Qt = N(v(qt)), Pn = N(v(qt)), kn = Qt, X = (t) => Object.assign(N(t), { startsWith: (e) => {
|
|
133
|
+
return X(O(t, (n = e, v((i) => Q(i) && i.startsWith(n)))));
|
|
134
134
|
var n;
|
|
135
135
|
}, endsWith: (e) => {
|
|
136
|
-
return X(
|
|
136
|
+
return X(O(t, (n = e, v((i) => Q(i) && i.endsWith(n)))));
|
|
137
137
|
var n;
|
|
138
|
-
}, minLength: (e) => X(
|
|
139
|
-
return X(
|
|
138
|
+
}, minLength: (e) => X(O(t, ((n) => v((i) => Q(i) && i.length >= n))(e))), length: (e) => X(O(t, ((n) => v((i) => Q(i) && i.length === n))(e))), maxLength: (e) => X(O(t, ((n) => v((i) => Q(i) && i.length <= n))(e))), includes: (e) => {
|
|
139
|
+
return X(O(t, (n = e, v((i) => Q(i) && i.includes(n)))));
|
|
140
140
|
var n;
|
|
141
141
|
}, regex: (e) => {
|
|
142
|
-
return X(
|
|
142
|
+
return X(O(t, (n = e, v((i) => Q(i) && !!i.match(n)))));
|
|
143
143
|
var n;
|
|
144
|
-
} }), mt = X(
|
|
144
|
+
} }), mt = X(v(Q)), $ = (t) => Object.assign(N(t), { between: (e, n) => $(O(t, ((i, r) => v((a) => z(a) && i <= a && r >= a))(e, n))), lt: (e) => $(O(t, ((n) => v((i) => z(i) && i < n))(e))), gt: (e) => $(O(t, ((n) => v((i) => z(i) && i > n))(e))), lte: (e) => $(O(t, ((n) => v((i) => z(i) && i <= n))(e))), gte: (e) => $(O(t, ((n) => v((i) => z(i) && i >= n))(e))), int: () => $(O(t, v((e) => z(e) && Number.isInteger(e)))), finite: () => $(O(t, v((e) => z(e) && Number.isFinite(e)))), positive: () => $(O(t, v((e) => z(e) && e > 0))), negative: () => $(O(t, v((e) => z(e) && e < 0))) }), In = $(v(z)), Z = (t) => Object.assign(N(t), { between: (e, n) => Z(O(t, ((i, r) => v((a) => Y(a) && i <= a && r >= a))(e, n))), lt: (e) => Z(O(t, ((n) => v((i) => Y(i) && i < n))(e))), gt: (e) => Z(O(t, ((n) => v((i) => Y(i) && i > n))(e))), lte: (e) => Z(O(t, ((n) => v((i) => Y(i) && i <= n))(e))), gte: (e) => Z(O(t, ((n) => v((i) => Y(i) && i >= n))(e))), positive: () => Z(O(t, v((e) => Y(e) && e > 0))), negative: () => Z(O(t, v((e) => Y(e) && e < 0))) }), Nn = Z(v(Y)), Fn = N(v(function(t) {
|
|
145
145
|
return typeof t == "boolean";
|
|
146
|
-
})),
|
|
146
|
+
})), Un = N(v(function(t) {
|
|
147
147
|
return typeof t == "symbol";
|
|
148
|
-
})),
|
|
148
|
+
})), Gn = N(v(function(t) {
|
|
149
149
|
return t == null;
|
|
150
|
-
})),
|
|
150
|
+
})), xn = N(v(function(t) {
|
|
151
151
|
return t != null;
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var I = { __proto__: null, matcher: x, optional: st, array: function(...t) {
|
|
154
154
|
return Ye({ [x]: () => ({ match: (e) => {
|
|
155
155
|
if (!Array.isArray(e)) return { matched: !1 };
|
|
156
156
|
if (t.length === 0) return { matched: !0 };
|
|
@@ -162,10 +162,10 @@ var k = { __proto__: null, matcher: x, optional: st, array: function(...t) {
|
|
|
162
162
|
const r = (a, s) => {
|
|
163
163
|
i[a] = (i[a] || []).concat([s]);
|
|
164
164
|
};
|
|
165
|
-
return { matched: e.every((a) =>
|
|
165
|
+
return { matched: e.every((a) => R(n, a, r)), selections: i };
|
|
166
166
|
}, getSelectionKeys: () => t.length === 0 ? [] : G(t[0]) }) });
|
|
167
167
|
}, set: function(...t) {
|
|
168
|
-
return
|
|
168
|
+
return N({ [x]: () => ({ match: (e) => {
|
|
169
169
|
if (!(e instanceof Set)) return { matched: !1 };
|
|
170
170
|
let n = {};
|
|
171
171
|
if (e.size === 0) return { matched: !0, selections: n };
|
|
@@ -173,10 +173,10 @@ var k = { __proto__: null, matcher: x, optional: st, array: function(...t) {
|
|
|
173
173
|
const i = (a, s) => {
|
|
174
174
|
n[a] = (n[a] || []).concat([s]);
|
|
175
175
|
}, r = t[0];
|
|
176
|
-
return { matched:
|
|
176
|
+
return { matched: Cn(e, (a) => R(r, a, i)), selections: n };
|
|
177
177
|
}, getSelectionKeys: () => t.length === 0 ? [] : G(t[0]) }) });
|
|
178
178
|
}, map: function(...t) {
|
|
179
|
-
return
|
|
179
|
+
return N({ [x]: () => ({ match: (e) => {
|
|
180
180
|
if (!(e instanceof Map)) return { matched: !1 };
|
|
181
181
|
let n = {};
|
|
182
182
|
if (e.size === 0) return { matched: !0, selections: n };
|
|
@@ -187,13 +187,13 @@ var k = { __proto__: null, matcher: x, optional: st, array: function(...t) {
|
|
|
187
187
|
var r;
|
|
188
188
|
if (t.length === 1) throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(r = t[0]) == null ? void 0 : r.toString()}`);
|
|
189
189
|
const [a, s] = t;
|
|
190
|
-
return { matched:
|
|
191
|
-
const c =
|
|
190
|
+
return { matched: Rn(e, (o, u) => {
|
|
191
|
+
const c = R(a, u, i), d = R(s, o, i);
|
|
192
192
|
return c && d;
|
|
193
193
|
}), selections: n };
|
|
194
194
|
}, getSelectionKeys: () => t.length === 0 ? [] : [...G(t[0]), ...G(t[1])] }) });
|
|
195
195
|
}, record: function(...t) {
|
|
196
|
-
return
|
|
196
|
+
return N({ [x]: () => ({ match: (e) => {
|
|
197
197
|
if (e === null || typeof e != "object" || Array.isArray(e)) return { matched: !1 };
|
|
198
198
|
var n;
|
|
199
199
|
if (t.length === 0) throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(n = t[0]) == null ? void 0 : n.toString()}`);
|
|
@@ -201,22 +201,22 @@ var k = { __proto__: null, matcher: x, optional: st, array: function(...t) {
|
|
|
201
201
|
const r = (o, u) => {
|
|
202
202
|
i[o] = (i[o] || []).concat([u]);
|
|
203
203
|
}, [a, s] = t.length === 1 ? [mt, t[0]] : t;
|
|
204
|
-
return { matched:
|
|
205
|
-
const c = typeof o != "string" || Number.isNaN(Number(o)) ? null : Number(o), d = c !== null &&
|
|
206
|
-
return (
|
|
204
|
+
return { matched: Dn(e, (o, u) => {
|
|
205
|
+
const c = typeof o != "string" || Number.isNaN(Number(o)) ? null : Number(o), d = c !== null && R(a, c, r), g = R(a, o, r), f = R(s, u, r);
|
|
206
|
+
return (g || d) && f;
|
|
207
207
|
}), selections: i };
|
|
208
208
|
}, getSelectionKeys: () => t.length === 0 ? [] : [...G(t[0]), ...G(t[1])] }) });
|
|
209
|
-
}, intersection:
|
|
210
|
-
return
|
|
209
|
+
}, intersection: O, union: jt, not: function(t) {
|
|
210
|
+
return N({ [x]: () => ({ match: (e) => ({ matched: !R(t, e, () => {
|
|
211
211
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
212
|
-
}, when:
|
|
213
|
-
return
|
|
212
|
+
}, when: v, select: Te, any: Qt, unknown: Pn, _: kn, string: mt, number: In, bigint: Nn, boolean: Fn, symbol: Un, nullish: Gn, nonNullable: xn, instanceOf: function(t) {
|
|
213
|
+
return N(v(/* @__PURE__ */ function(e) {
|
|
214
214
|
return (n) => n instanceof e;
|
|
215
215
|
}(t)));
|
|
216
216
|
}, shape: function(t) {
|
|
217
|
-
return
|
|
217
|
+
return N(v(Mn(t)));
|
|
218
218
|
} };
|
|
219
|
-
class
|
|
219
|
+
class Ln extends Error {
|
|
220
220
|
constructor(e) {
|
|
221
221
|
let n;
|
|
222
222
|
try {
|
|
@@ -243,7 +243,7 @@ class Ne {
|
|
|
243
243
|
let a = !1, s = {};
|
|
244
244
|
const o = (c, d) => {
|
|
245
245
|
a = !0, s[c] = d;
|
|
246
|
-
}, u = !i.some((c) =>
|
|
246
|
+
}, u = !i.some((c) => R(c, this.input, o)) || r && !r(this.input) ? Xe : { matched: !0, value: n(a ? Ie in s ? s[Ie] : s : this.input, this.input) };
|
|
247
247
|
return new Ne(this.input, u);
|
|
248
248
|
}
|
|
249
249
|
when(e, n) {
|
|
@@ -254,7 +254,7 @@ class Ne {
|
|
|
254
254
|
otherwise(e) {
|
|
255
255
|
return this.state.matched ? this.state.value : e(this.input);
|
|
256
256
|
}
|
|
257
|
-
exhaustive(e =
|
|
257
|
+
exhaustive(e = Hn) {
|
|
258
258
|
return this.state.matched ? this.state.value : e(this.input);
|
|
259
259
|
}
|
|
260
260
|
run() {
|
|
@@ -267,16 +267,16 @@ class Ne {
|
|
|
267
267
|
return this;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
throw new
|
|
270
|
+
function Hn(t) {
|
|
271
|
+
throw new Ln(t);
|
|
272
272
|
}
|
|
273
273
|
function _t(t) {
|
|
274
274
|
return t.inputImageAnalysisResult.documentClassInfo;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function zn(t) {
|
|
277
277
|
return t?.country !== void 0 && t?.type !== void 0;
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function $n(t) {
|
|
280
280
|
return t.inputImageAnalysisResult.documentRotation;
|
|
281
281
|
}
|
|
282
282
|
function Fe(t) {
|
|
@@ -288,10 +288,10 @@ function fe(t) {
|
|
|
288
288
|
function ie(t) {
|
|
289
289
|
return Fe(t) && t?.country !== "usa" && t?.country !== "india";
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Bn(t) {
|
|
292
292
|
return fe(t) ? "passport-with-barcode" : ie(t) ? "passport-no-barcode" : "other";
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const Vn = [
|
|
295
295
|
"INTRO_FRONT_PAGE",
|
|
296
296
|
"INTRO_BACK_PAGE",
|
|
297
297
|
"INTRO_DATA_PAGE",
|
|
@@ -299,7 +299,7 @@ const Yt = [
|
|
|
299
299
|
"INTRO_LEFT_PAGE",
|
|
300
300
|
"INTRO_RIGHT_PAGE",
|
|
301
301
|
"INTRO_LAST_PAGE"
|
|
302
|
-
],
|
|
302
|
+
], Xr = [
|
|
303
303
|
"FLIP_CARD",
|
|
304
304
|
"MOVE_TOP",
|
|
305
305
|
"MOVE_LEFT",
|
|
@@ -334,7 +334,7 @@ const Yt = [
|
|
|
334
334
|
"WRONG_RIGHT_PAGE",
|
|
335
335
|
"WRONG_LAST_PAGE",
|
|
336
336
|
"UNSUPPORTED_DOCUMENT"
|
|
337
|
-
],
|
|
337
|
+
], Kn = [
|
|
338
338
|
"PAGE_CAPTURED",
|
|
339
339
|
"DOCUMENT_CAPTURED"
|
|
340
340
|
], ne = 2e3, M = 1500, yt = 800, pe = 2e3, Ue = {
|
|
@@ -559,7 +559,7 @@ const Yt = [
|
|
|
559
559
|
minDuration: M
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
|
-
function
|
|
562
|
+
function Wn(t, e) {
|
|
563
563
|
return ot(
|
|
564
564
|
t
|
|
565
565
|
).with(
|
|
@@ -588,7 +588,7 @@ function W1(t, e) {
|
|
|
588
588
|
inputImageAnalysisResult: {
|
|
589
589
|
scanningSide: "second",
|
|
590
590
|
processingStatus: "scanning-wrong-side",
|
|
591
|
-
documentClassInfo:
|
|
591
|
+
documentClassInfo: I.when(fe)
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
() => "WRONG_LAST_PAGE"
|
|
@@ -597,7 +597,7 @@ function W1(t, e) {
|
|
|
597
597
|
inputImageAnalysisResult: {
|
|
598
598
|
scanningSide: "second",
|
|
599
599
|
processingStatus: "scanning-wrong-side",
|
|
600
|
-
documentClassInfo:
|
|
600
|
+
documentClassInfo: I.when(ie),
|
|
601
601
|
documentRotation: "counter-clockwise-90"
|
|
602
602
|
}
|
|
603
603
|
},
|
|
@@ -607,7 +607,7 @@ function W1(t, e) {
|
|
|
607
607
|
inputImageAnalysisResult: {
|
|
608
608
|
scanningSide: "second",
|
|
609
609
|
processingStatus: "scanning-wrong-side",
|
|
610
|
-
documentClassInfo:
|
|
610
|
+
documentClassInfo: I.when(ie),
|
|
611
611
|
documentRotation: "clockwise-90"
|
|
612
612
|
}
|
|
613
613
|
},
|
|
@@ -617,7 +617,7 @@ function W1(t, e) {
|
|
|
617
617
|
inputImageAnalysisResult: {
|
|
618
618
|
scanningSide: "second",
|
|
619
619
|
processingStatus: "scanning-wrong-side",
|
|
620
|
-
documentClassInfo:
|
|
620
|
+
documentClassInfo: I.when(ie)
|
|
621
621
|
}
|
|
622
622
|
},
|
|
623
623
|
() => "WRONG_TOP_PAGE"
|
|
@@ -635,7 +635,7 @@ function W1(t, e) {
|
|
|
635
635
|
},
|
|
636
636
|
inputImageAnalysisResult: {
|
|
637
637
|
scanningSide: "first",
|
|
638
|
-
documentClassInfo:
|
|
638
|
+
documentClassInfo: I.when(fe)
|
|
639
639
|
}
|
|
640
640
|
},
|
|
641
641
|
() => "DATA_PAGE_NOT_IN_FRAME"
|
|
@@ -670,7 +670,7 @@ function W1(t, e) {
|
|
|
670
670
|
).with(
|
|
671
671
|
{
|
|
672
672
|
inputImageAnalysisResult: {
|
|
673
|
-
documentLightingStatus:
|
|
673
|
+
documentLightingStatus: I.when(
|
|
674
674
|
(n) => n === "too-bright" && e?.skipImagesWithInadequateLightingConditions
|
|
675
675
|
)
|
|
676
676
|
}
|
|
@@ -679,7 +679,7 @@ function W1(t, e) {
|
|
|
679
679
|
).with(
|
|
680
680
|
{
|
|
681
681
|
inputImageAnalysisResult: {
|
|
682
|
-
documentLightingStatus:
|
|
682
|
+
documentLightingStatus: I.when(
|
|
683
683
|
(n) => n === "too-dark" && e?.skipImagesWithInadequateLightingConditions
|
|
684
684
|
)
|
|
685
685
|
}
|
|
@@ -688,7 +688,7 @@ function W1(t, e) {
|
|
|
688
688
|
).with(
|
|
689
689
|
{
|
|
690
690
|
inputImageAnalysisResult: {
|
|
691
|
-
glareDetectionStatus:
|
|
691
|
+
glareDetectionStatus: I.when(
|
|
692
692
|
(n) => n === "detected" && e?.skipImagesWithGlare
|
|
693
693
|
)
|
|
694
694
|
}
|
|
@@ -704,7 +704,7 @@ function W1(t, e) {
|
|
|
704
704
|
).with(
|
|
705
705
|
{
|
|
706
706
|
inputImageAnalysisResult: {
|
|
707
|
-
documentHandOcclusionStatus:
|
|
707
|
+
documentHandOcclusionStatus: I.when(
|
|
708
708
|
(n) => n === "detected" && e?.skipImagesOccludedByHand
|
|
709
709
|
)
|
|
710
710
|
}
|
|
@@ -713,7 +713,7 @@ function W1(t, e) {
|
|
|
713
713
|
).with(
|
|
714
714
|
{
|
|
715
715
|
inputImageAnalysisResult: {
|
|
716
|
-
missingMandatoryFields:
|
|
716
|
+
missingMandatoryFields: I.when(
|
|
717
717
|
(n) => Array.isArray(n) && n.length > 0
|
|
718
718
|
)
|
|
719
719
|
}
|
|
@@ -744,7 +744,7 @@ function W1(t, e) {
|
|
|
744
744
|
{
|
|
745
745
|
inputImageAnalysisResult: {
|
|
746
746
|
processingStatus: "image-return-failed",
|
|
747
|
-
imageExtractionFailures:
|
|
747
|
+
imageExtractionFailures: I.when(
|
|
748
748
|
(n) => Array.isArray(n) && n.includes("face")
|
|
749
749
|
)
|
|
750
750
|
}
|
|
@@ -753,7 +753,7 @@ function W1(t, e) {
|
|
|
753
753
|
).with(
|
|
754
754
|
{
|
|
755
755
|
inputImageAnalysisResult: {
|
|
756
|
-
blurDetectionStatus:
|
|
756
|
+
blurDetectionStatus: I.when(
|
|
757
757
|
(n) => n === "detected" && e?.skipImagesWithBlur
|
|
758
758
|
)
|
|
759
759
|
}
|
|
@@ -764,7 +764,7 @@ function W1(t, e) {
|
|
|
764
764
|
inputImageAnalysisResult: {
|
|
765
765
|
scanningSide: "first",
|
|
766
766
|
documentDetectionStatus: "failed",
|
|
767
|
-
documentClassInfo:
|
|
767
|
+
documentClassInfo: I.when(fe)
|
|
768
768
|
}
|
|
769
769
|
},
|
|
770
770
|
() => "DATA_PAGE_NOT_IN_FRAME"
|
|
@@ -773,7 +773,7 @@ function W1(t, e) {
|
|
|
773
773
|
inputImageAnalysisResult: {
|
|
774
774
|
scanningSide: "second",
|
|
775
775
|
documentDetectionStatus: "failed",
|
|
776
|
-
documentClassInfo:
|
|
776
|
+
documentClassInfo: I.when(ie),
|
|
777
777
|
documentRotation: "counter-clockwise-90"
|
|
778
778
|
}
|
|
779
779
|
},
|
|
@@ -783,7 +783,7 @@ function W1(t, e) {
|
|
|
783
783
|
inputImageAnalysisResult: {
|
|
784
784
|
scanningSide: "second",
|
|
785
785
|
documentDetectionStatus: "failed",
|
|
786
|
-
documentClassInfo:
|
|
786
|
+
documentClassInfo: I.when(ie),
|
|
787
787
|
documentRotation: "clockwise-90"
|
|
788
788
|
}
|
|
789
789
|
},
|
|
@@ -793,7 +793,7 @@ function W1(t, e) {
|
|
|
793
793
|
inputImageAnalysisResult: {
|
|
794
794
|
scanningSide: "second",
|
|
795
795
|
documentDetectionStatus: "failed",
|
|
796
|
-
documentClassInfo:
|
|
796
|
+
documentClassInfo: I.when(ie)
|
|
797
797
|
}
|
|
798
798
|
},
|
|
799
799
|
() => "TOP_PAGE_NOT_IN_FRAME"
|
|
@@ -802,7 +802,7 @@ function W1(t, e) {
|
|
|
802
802
|
inputImageAnalysisResult: {
|
|
803
803
|
scanningSide: "second",
|
|
804
804
|
documentDetectionStatus: "failed",
|
|
805
|
-
documentClassInfo:
|
|
805
|
+
documentClassInfo: I.when(fe)
|
|
806
806
|
}
|
|
807
807
|
},
|
|
808
808
|
() => "LAST_PAGE_NOT_IN_FRAME"
|
|
@@ -814,7 +814,7 @@ function W1(t, e) {
|
|
|
814
814
|
inputImageAnalysisResult: {
|
|
815
815
|
scanningSide: "first",
|
|
816
816
|
documentDetectionStatus: "failed",
|
|
817
|
-
documentClassInfo:
|
|
817
|
+
documentClassInfo: I.when((n) => !Fe(n))
|
|
818
818
|
}
|
|
819
819
|
},
|
|
820
820
|
() => "FRONT_PAGE_NOT_IN_FRAME"
|
|
@@ -826,7 +826,7 @@ function W1(t, e) {
|
|
|
826
826
|
inputImageAnalysisResult: {
|
|
827
827
|
scanningSide: "second",
|
|
828
828
|
documentDetectionStatus: "failed",
|
|
829
|
-
documentClassInfo:
|
|
829
|
+
documentClassInfo: I.when((n) => !Fe(n))
|
|
830
830
|
}
|
|
831
831
|
},
|
|
832
832
|
() => "BACK_PAGE_NOT_IN_FRAME"
|
|
@@ -851,7 +851,7 @@ function W1(t, e) {
|
|
|
851
851
|
).otherwise(() => {
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
|
-
class
|
|
854
|
+
class jn {
|
|
855
855
|
/**
|
|
856
856
|
* Injected function for queing ping events.
|
|
857
857
|
*/
|
|
@@ -866,7 +866,7 @@ class j1 {
|
|
|
866
866
|
/**
|
|
867
867
|
* Safely send a ping event, handling errors gracefully
|
|
868
868
|
*/
|
|
869
|
-
async #
|
|
869
|
+
async #t(e) {
|
|
870
870
|
try {
|
|
871
871
|
await this.#i(e);
|
|
872
872
|
} catch (n) {
|
|
@@ -903,73 +903,84 @@ class j1 {
|
|
|
903
903
|
data: e
|
|
904
904
|
};
|
|
905
905
|
}
|
|
906
|
+
#c(e) {
|
|
907
|
+
if (e instanceof Error)
|
|
908
|
+
return e.message;
|
|
909
|
+
if (typeof e == "object" && e !== null)
|
|
910
|
+
try {
|
|
911
|
+
return JSON.stringify(e);
|
|
912
|
+
} catch {
|
|
913
|
+
return String(e);
|
|
914
|
+
}
|
|
915
|
+
return String(e);
|
|
916
|
+
}
|
|
906
917
|
logCameraStartedEvent() {
|
|
907
|
-
return this.#
|
|
918
|
+
return this.#t(this.#n({
|
|
908
919
|
eventType: "CameraStarted"
|
|
909
920
|
}));
|
|
910
921
|
}
|
|
911
922
|
logCameraClosedEvent() {
|
|
912
|
-
return this.#
|
|
923
|
+
return this.#t(this.#n({
|
|
913
924
|
eventType: "CameraClosed"
|
|
914
925
|
}));
|
|
915
926
|
}
|
|
916
927
|
logHelpOpenedEvent() {
|
|
917
|
-
return this.#
|
|
928
|
+
return this.#t(this.#n({
|
|
918
929
|
eventType: "HelpOpened"
|
|
919
930
|
}));
|
|
920
931
|
}
|
|
921
932
|
logHelpClosedEvent(e) {
|
|
922
|
-
return this.#
|
|
933
|
+
return this.#t(this.#n({
|
|
923
934
|
eventType: "HelpClosed",
|
|
924
935
|
helpCloseType: e ? "ContentFullyViewed" : "ContentSkipped"
|
|
925
936
|
}));
|
|
926
937
|
}
|
|
927
938
|
logHelpTooltipDisplayedEvent() {
|
|
928
|
-
return this.#
|
|
939
|
+
return this.#t(this.#n({
|
|
929
940
|
eventType: "HelpTooltipDisplayed"
|
|
930
941
|
}));
|
|
931
942
|
}
|
|
932
943
|
logCloseButtonClickedEvent() {
|
|
933
|
-
return this.#
|
|
944
|
+
return this.#t(this.#n({
|
|
934
945
|
eventType: "CloseButtonClicked"
|
|
935
946
|
}));
|
|
936
947
|
}
|
|
937
948
|
logOnboardingDisplayedEvent() {
|
|
938
|
-
return this.#
|
|
949
|
+
return this.#t(this.#n({
|
|
939
950
|
eventType: "OnboardingInfoDisplayed"
|
|
940
951
|
}));
|
|
941
952
|
}
|
|
942
953
|
logAlertDisplayedEvent(e) {
|
|
943
|
-
return this.#
|
|
954
|
+
return this.#t(this.#n({
|
|
944
955
|
eventType: "AlertDisplayed",
|
|
945
956
|
alertType: e
|
|
946
957
|
}));
|
|
947
958
|
}
|
|
948
959
|
logErrorMessageEvent(e) {
|
|
949
|
-
return this.#
|
|
960
|
+
return this.#t(this.#n({
|
|
950
961
|
eventType: "ErrorMessage",
|
|
951
962
|
errorMessageType: e
|
|
952
963
|
}));
|
|
953
964
|
}
|
|
954
965
|
logAppMovedToBackgroundEvent() {
|
|
955
|
-
return this.#
|
|
966
|
+
return this.#t(this.#n({
|
|
956
967
|
eventType: "AppMovedToBackground"
|
|
957
968
|
}));
|
|
958
969
|
}
|
|
959
970
|
logStepTimeoutEvent() {
|
|
960
|
-
return this.#
|
|
971
|
+
return this.#t(this.#n({
|
|
961
972
|
eventType: "StepTimeout"
|
|
962
973
|
}));
|
|
963
974
|
}
|
|
964
975
|
logCameraInputInfo(e) {
|
|
965
|
-
return this.#
|
|
976
|
+
return this.#t({
|
|
966
977
|
schemaName: "ping.sdk.camera.input.info",
|
|
967
978
|
schemaVersion: "1.0.2",
|
|
968
979
|
data: e
|
|
969
980
|
});
|
|
970
981
|
}
|
|
971
982
|
logHardwareCameraInfo(e) {
|
|
972
|
-
return this.#
|
|
983
|
+
return this.#t({
|
|
973
984
|
schemaName: "ping.hardware.camera.info",
|
|
974
985
|
schemaVersion: "1.0.3",
|
|
975
986
|
data: {
|
|
@@ -978,24 +989,24 @@ class j1 {
|
|
|
978
989
|
});
|
|
979
990
|
}
|
|
980
991
|
logCameraPermissionCheck(e) {
|
|
981
|
-
return this.#
|
|
992
|
+
return this.#t(this.#l({
|
|
982
993
|
eventType: "CameraPermissionCheck",
|
|
983
994
|
cameraPermissionGranted: e
|
|
984
995
|
}));
|
|
985
996
|
}
|
|
986
997
|
logCameraPermissionRequest() {
|
|
987
|
-
return this.#
|
|
998
|
+
return this.#t(this.#l({
|
|
988
999
|
eventType: "CameraPermissionRequest"
|
|
989
1000
|
}));
|
|
990
1001
|
}
|
|
991
1002
|
logCameraPermissionUserResponse(e) {
|
|
992
|
-
return this.#
|
|
1003
|
+
return this.#t(this.#l({
|
|
993
1004
|
eventType: "CameraPermissionUserResponse",
|
|
994
1005
|
cameraPermissionGranted: e
|
|
995
1006
|
}));
|
|
996
1007
|
}
|
|
997
1008
|
logDeviceOrientation(e) {
|
|
998
|
-
return this.#
|
|
1009
|
+
return this.#t({
|
|
999
1010
|
schemaName: "ping.sdk.scan.conditions",
|
|
1000
1011
|
schemaVersion: "1.0.0",
|
|
1001
1012
|
data: {
|
|
@@ -1005,7 +1016,7 @@ class j1 {
|
|
|
1005
1016
|
});
|
|
1006
1017
|
}
|
|
1007
1018
|
logFlashlightState(e) {
|
|
1008
|
-
return this.#
|
|
1019
|
+
return this.#t({
|
|
1009
1020
|
schemaName: "ping.sdk.scan.conditions",
|
|
1010
1021
|
schemaVersion: "1.0.0",
|
|
1011
1022
|
data: {
|
|
@@ -1015,14 +1026,26 @@ class j1 {
|
|
|
1015
1026
|
});
|
|
1016
1027
|
}
|
|
1017
1028
|
logDeviceInfo(e) {
|
|
1018
|
-
return this.#
|
|
1029
|
+
return this.#t({
|
|
1019
1030
|
schemaName: "ping.browser.device.info",
|
|
1020
1031
|
schemaVersion: "1.0.0",
|
|
1021
1032
|
data: e
|
|
1022
1033
|
});
|
|
1023
1034
|
}
|
|
1035
|
+
logErrorEvent({ origin: e, error: n, errorType: i, sessionNumber: r }) {
|
|
1036
|
+
return this.#t({
|
|
1037
|
+
schemaName: "ping.error",
|
|
1038
|
+
schemaVersion: "1.0.0",
|
|
1039
|
+
sessionNumber: r,
|
|
1040
|
+
data: {
|
|
1041
|
+
errorType: i,
|
|
1042
|
+
errorMessage: `${e}: ${this.#c(n)}`,
|
|
1043
|
+
stackTrace: n instanceof Error ? n.stack : void 0
|
|
1044
|
+
}
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1024
1047
|
}
|
|
1025
|
-
function
|
|
1048
|
+
function qn(t) {
|
|
1026
1049
|
const e = Object.keys(t);
|
|
1027
1050
|
if (e.length === 0)
|
|
1028
1051
|
throw new Error("No members in object!");
|
|
@@ -1031,7 +1054,7 @@ function q1(t) {
|
|
|
1031
1054
|
a > i && (i = a, n = r);
|
|
1032
1055
|
return n;
|
|
1033
1056
|
}
|
|
1034
|
-
class
|
|
1057
|
+
class Qn {
|
|
1035
1058
|
/** The initial key. */
|
|
1036
1059
|
initialKey;
|
|
1037
1060
|
/** The UI state map. */
|
|
@@ -1218,7 +1241,7 @@ class Q1 {
|
|
|
1218
1241
|
}
|
|
1219
1242
|
if (Object.keys(this.summedScores).length === 0)
|
|
1220
1243
|
return this.uiStateMap[this.currentKey];
|
|
1221
|
-
const i =
|
|
1244
|
+
const i = qn(this.summedScores), r = this.uiStateMap[i];
|
|
1222
1245
|
return r.key !== this.currentKey && (this.currentKey = i, this.currentStateStartTime = e), r;
|
|
1223
1246
|
}
|
|
1224
1247
|
/**
|
|
@@ -1236,7 +1259,7 @@ class Q1 {
|
|
|
1236
1259
|
return this.ingest(e), this.tick();
|
|
1237
1260
|
}
|
|
1238
1261
|
}
|
|
1239
|
-
function
|
|
1262
|
+
function Yt(t) {
|
|
1240
1263
|
switch (t) {
|
|
1241
1264
|
case "front":
|
|
1242
1265
|
return "Front";
|
|
@@ -1246,11 +1269,11 @@ function Zt(t) {
|
|
|
1246
1269
|
return "Unknown";
|
|
1247
1270
|
}
|
|
1248
1271
|
}
|
|
1249
|
-
function
|
|
1272
|
+
function Yn(t, e, n) {
|
|
1250
1273
|
const i = n?.width ?? e.width, r = n?.height ?? e.height;
|
|
1251
1274
|
return {
|
|
1252
1275
|
deviceId: t.name,
|
|
1253
|
-
cameraFacing:
|
|
1276
|
+
cameraFacing: Yt(t.facingMode),
|
|
1254
1277
|
cameraFrameWidth: e.width,
|
|
1255
1278
|
cameraFrameHeight: e.height,
|
|
1256
1279
|
roiWidth: i,
|
|
@@ -1258,19 +1281,19 @@ function Y1(t, e, n) {
|
|
|
1258
1281
|
viewPortAspectRatio: i / r
|
|
1259
1282
|
};
|
|
1260
1283
|
}
|
|
1261
|
-
function
|
|
1284
|
+
function Xn(t) {
|
|
1262
1285
|
return {
|
|
1263
1286
|
deviceId: t.name,
|
|
1264
|
-
cameraFacing:
|
|
1287
|
+
cameraFacing: Yt(t.facingMode),
|
|
1265
1288
|
availableResolutions: void 0,
|
|
1266
1289
|
focus: t.singleShotSupported ? "Auto" : "Fixed"
|
|
1267
1290
|
};
|
|
1268
1291
|
}
|
|
1269
|
-
function
|
|
1292
|
+
function Zn(t) {
|
|
1270
1293
|
const e = t.facingMode ?? "unknown", n = t.singleShotSupported ? "auto" : "fixed";
|
|
1271
1294
|
return `${t.name}|${e}|${n}`;
|
|
1272
1295
|
}
|
|
1273
|
-
function
|
|
1296
|
+
function Jn(t, e) {
|
|
1274
1297
|
if (t.size !== e.size)
|
|
1275
1298
|
return !0;
|
|
1276
1299
|
for (const n of t)
|
|
@@ -1278,11 +1301,11 @@ function J1(t, e) {
|
|
|
1278
1301
|
return !0;
|
|
1279
1302
|
return !1;
|
|
1280
1303
|
}
|
|
1281
|
-
const
|
|
1304
|
+
const e1 = {
|
|
1282
1305
|
short: 100,
|
|
1283
1306
|
long: 300
|
|
1284
1307
|
};
|
|
1285
|
-
class
|
|
1308
|
+
class t1 {
|
|
1286
1309
|
#i = !0;
|
|
1287
1310
|
/**
|
|
1288
1311
|
* Check if haptic feedback is supported by the current browser/device.
|
|
@@ -1316,7 +1339,7 @@ class tn {
|
|
|
1316
1339
|
triggerFeedback(e) {
|
|
1317
1340
|
if (!this.#i || !this.isSupported())
|
|
1318
1341
|
return;
|
|
1319
|
-
const n =
|
|
1342
|
+
const n = e1[e];
|
|
1320
1343
|
try {
|
|
1321
1344
|
const i = navigator.vibrate([n]);
|
|
1322
1345
|
console.debug(i ? `HapticFeedback: Triggered ${e} feedback (${n}ms)` : `HapticFeedback: Failed to trigger ${e} feedback`);
|
|
@@ -1345,13 +1368,13 @@ class tn {
|
|
|
1345
1368
|
this.triggerFeedback("short");
|
|
1346
1369
|
}
|
|
1347
1370
|
}
|
|
1348
|
-
class
|
|
1371
|
+
class n1 {
|
|
1349
1372
|
#i = !1;
|
|
1350
1373
|
#a;
|
|
1351
|
-
#
|
|
1374
|
+
#t;
|
|
1352
1375
|
#l = 0;
|
|
1353
1376
|
constructor(e, n = 0) {
|
|
1354
|
-
this.#a = e, this.#
|
|
1377
|
+
this.#a = e, this.#t = n;
|
|
1355
1378
|
}
|
|
1356
1379
|
get running() {
|
|
1357
1380
|
return this.#i;
|
|
@@ -1363,10 +1386,10 @@ class nn {
|
|
|
1363
1386
|
this.#i = !1;
|
|
1364
1387
|
}
|
|
1365
1388
|
#n = (e) => {
|
|
1366
|
-
this.#i && (e - this.#l >= this.#
|
|
1389
|
+
this.#i && (e - this.#l >= this.#t && (this.#l = e, this.#a(e)), this.#i && requestAnimationFrame(this.#n));
|
|
1367
1390
|
};
|
|
1368
1391
|
}
|
|
1369
|
-
async function
|
|
1392
|
+
async function i1(t) {
|
|
1370
1393
|
return new Promise((e) => setTimeout(e, t));
|
|
1371
1394
|
}
|
|
1372
1395
|
function ge(t, e, n) {
|
|
@@ -1377,44 +1400,44 @@ function ge(t, e, n) {
|
|
|
1377
1400
|
console.error(`Error in ${n} callback`, r);
|
|
1378
1401
|
}
|
|
1379
1402
|
}
|
|
1380
|
-
const
|
|
1381
|
-
function
|
|
1403
|
+
const r1 = { trailing: !0 };
|
|
1404
|
+
function a1(t, e = 25, n = {}) {
|
|
1382
1405
|
if (n = {
|
|
1383
|
-
...
|
|
1406
|
+
...r1,
|
|
1384
1407
|
...n
|
|
1385
1408
|
}, !Number.isFinite(e)) throw new TypeError("Expected `wait` to be a finite number");
|
|
1386
1409
|
let i, r, a = [], s, o;
|
|
1387
|
-
const u = (
|
|
1410
|
+
const u = (g, f) => (s = s1(t, g, f), s.finally(() => {
|
|
1388
1411
|
if (s = null, n.trailing && o && !r) {
|
|
1389
|
-
const h = u(
|
|
1412
|
+
const h = u(g, o);
|
|
1390
1413
|
return o = null, h;
|
|
1391
1414
|
}
|
|
1392
|
-
}), s), c = function(...
|
|
1393
|
-
return n.trailing && (o =
|
|
1415
|
+
}), s), c = function(...g) {
|
|
1416
|
+
return n.trailing && (o = g), s || new Promise((f) => {
|
|
1394
1417
|
const h = !r && n.leading;
|
|
1395
1418
|
clearTimeout(r), r = setTimeout(() => {
|
|
1396
1419
|
r = null;
|
|
1397
|
-
const p = n.leading ? i : u(this,
|
|
1420
|
+
const p = n.leading ? i : u(this, g);
|
|
1398
1421
|
o = null;
|
|
1399
|
-
for (const
|
|
1422
|
+
for (const m of a) m(p);
|
|
1400
1423
|
a = [];
|
|
1401
|
-
}, e), h ? (i = u(this,
|
|
1424
|
+
}, e), h ? (i = u(this, g), f(i)) : a.push(f);
|
|
1402
1425
|
});
|
|
1403
|
-
}, d = (
|
|
1404
|
-
|
|
1426
|
+
}, d = (g) => {
|
|
1427
|
+
g && (clearTimeout(g), r = null);
|
|
1405
1428
|
};
|
|
1406
1429
|
return c.isPending = () => !!r, c.cancel = () => {
|
|
1407
1430
|
d(r), a = [], o = null;
|
|
1408
1431
|
}, c.flush = () => {
|
|
1409
1432
|
if (d(r), !o || s) return;
|
|
1410
|
-
const
|
|
1411
|
-
return o = null, u(this,
|
|
1433
|
+
const g = o;
|
|
1434
|
+
return o = null, u(this, g);
|
|
1412
1435
|
}, c;
|
|
1413
1436
|
}
|
|
1414
|
-
async function
|
|
1437
|
+
async function s1(t, e, n) {
|
|
1415
1438
|
return await t.apply(e, n);
|
|
1416
1439
|
}
|
|
1417
|
-
function
|
|
1440
|
+
function o1(t) {
|
|
1418
1441
|
return ot(t).with(
|
|
1419
1442
|
{
|
|
1420
1443
|
previousUiStateKey: "PAGE_CAPTURED",
|
|
@@ -1488,12 +1511,12 @@ function ln(t) {
|
|
|
1488
1511
|
).otherwise(() => {
|
|
1489
1512
|
});
|
|
1490
1513
|
}
|
|
1491
|
-
function
|
|
1514
|
+
function l1(t) {
|
|
1492
1515
|
return ot(
|
|
1493
1516
|
t
|
|
1494
1517
|
).with("BLUR_DETECTED", () => "EliminateBlur").with("GLARE_DETECTED", () => "EliminateGlare").with("TOO_DARK", () => "IncreaseLighting").with("TOO_BRIGHT", () => "DecreaseLighting").with("OCCLUDED", () => "KeepVisible").with("FACE_PHOTO_OCCLUDED", () => "KeepVisible").with("WRONG_SIDE", () => "FlipSide").with("WRONG_TOP_PAGE", () => "FlipSide").with("WRONG_LEFT_PAGE", () => "FlipSide").with("WRONG_RIGHT_PAGE", () => "FlipSide").with("WRONG_LAST_PAGE", () => "FlipSide").with("FRONT_PAGE_NOT_IN_FRAME", () => "KeepVisible").with("BACK_PAGE_NOT_IN_FRAME", () => "KeepVisible").with("DATA_PAGE_NOT_IN_FRAME", () => "KeepVisible").with("TOP_PAGE_NOT_IN_FRAME", () => "KeepVisible").with("LEFT_PAGE_NOT_IN_FRAME", () => "KeepVisible").with("RIGHT_PAGE_NOT_IN_FRAME", () => "KeepVisible").with("LAST_PAGE_NOT_IN_FRAME", () => "KeepVisible").with("BARCODE_NOT_IN_FRAME", () => "KeepVisible").with("DOCUMENT_FRAMING_CAMERA_TOO_FAR", () => "MoveCloser").with("DOCUMENT_FRAMING_CAMERA_TOO_CLOSE", () => "MoveFarther").with("DOCUMENT_FRAMING_CAMERA_ANGLE_TOO_STEEP", () => "AlignDocument").with("DOCUMENT_TOO_CLOSE_TO_FRAME_EDGE", () => "MoveFromEdge").exhaustive();
|
|
1495
1518
|
}
|
|
1496
|
-
class
|
|
1519
|
+
class c1 {
|
|
1497
1520
|
/** The camera manager. */
|
|
1498
1521
|
cameraManager;
|
|
1499
1522
|
/** The scanning session. */
|
|
@@ -1522,17 +1545,17 @@ class un {
|
|
|
1522
1545
|
showProductionOverlay;
|
|
1523
1546
|
/** The device info. */
|
|
1524
1547
|
deviceInfo;
|
|
1525
|
-
#
|
|
1548
|
+
#t;
|
|
1526
1549
|
#l;
|
|
1527
1550
|
#n;
|
|
1528
|
-
#
|
|
1551
|
+
#c = "INTRO_FRONT_PAGE";
|
|
1529
1552
|
#v;
|
|
1530
1553
|
/** Protects worker message channel from concurrent/terminal process calls. */
|
|
1531
1554
|
#s = "ready";
|
|
1532
1555
|
/** The scanning session timeout ID. */
|
|
1533
1556
|
#h;
|
|
1534
1557
|
/** Timeout duration in ms for the scanning session. If null, timeout won't be triggered ever. */
|
|
1535
|
-
#
|
|
1558
|
+
#u = 1e4;
|
|
1536
1559
|
// 10s
|
|
1537
1560
|
/**
|
|
1538
1561
|
* Time in ms before the help tooltip is shown. If null, tooltip won't be auto shown.
|
|
@@ -1546,7 +1569,7 @@ class un {
|
|
|
1546
1569
|
*
|
|
1547
1570
|
* @deprecated This option will be removed in a future release. Use `helpTooltipHideDelay` in `FeedbackUiOptions` instead.
|
|
1548
1571
|
*/
|
|
1549
|
-
#
|
|
1572
|
+
#w = 5e3;
|
|
1550
1573
|
// 5s
|
|
1551
1574
|
/** The callbacks for when the UI state changes. */
|
|
1552
1575
|
#p = /* @__PURE__ */ new Set();
|
|
@@ -1561,19 +1584,19 @@ class un {
|
|
|
1561
1584
|
/** Clean up observers, store subscriptions and event listeners. */
|
|
1562
1585
|
#r = /* @__PURE__ */ new Set();
|
|
1563
1586
|
/** The document class filter. */
|
|
1564
|
-
#
|
|
1587
|
+
#d;
|
|
1565
1588
|
/** The haptic feedback manager. */
|
|
1566
|
-
#o = new
|
|
1589
|
+
#o = new t1();
|
|
1567
1590
|
/** The UX analytics service. */
|
|
1568
|
-
#
|
|
1591
|
+
#e;
|
|
1569
1592
|
/** Tracks last reported camera hardware state. */
|
|
1570
1593
|
#y = /* @__PURE__ */ new Set();
|
|
1571
1594
|
/** Debounced wrapper around {@link #syncCameraInputToAnalytics} (300 ms). */
|
|
1572
|
-
#
|
|
1595
|
+
#b = a1(() => {
|
|
1573
1596
|
this.#O();
|
|
1574
1597
|
}, 300);
|
|
1575
1598
|
/** Throttled RAF loop that drives UI state updates at 30 FPS. */
|
|
1576
|
-
#A = new
|
|
1599
|
+
#A = new n1((e) => {
|
|
1577
1600
|
this.feedbackStabilizer.tick(), this.#$(this.feedbackStabilizer.currentState.key);
|
|
1578
1601
|
}, 1e3 / 30);
|
|
1579
1602
|
/**
|
|
@@ -1584,15 +1607,15 @@ class un {
|
|
|
1584
1607
|
* @param options - Optional manager configuration.
|
|
1585
1608
|
*/
|
|
1586
1609
|
constructor(e, n, i = {}, r, a, s, o) {
|
|
1587
|
-
this.cameraManager = e, this.scanningSession = n, this.sessionSettings = r, this.showDemoOverlay = a, this.showProductionOverlay = s, this.deviceInfo = o, i.initialUiStateKey && (this.#
|
|
1610
|
+
this.cameraManager = e, this.scanningSession = n, this.sessionSettings = r, this.showDemoOverlay = a, this.showProductionOverlay = s, this.deviceInfo = o, i.initialUiStateKey && (this.#c = i.initialUiStateKey), this.feedbackStabilizer = new Qn(
|
|
1588
1611
|
Ue,
|
|
1589
|
-
this.#
|
|
1590
|
-
), this.#i = this.feedbackStabilizer.currentState, this.#a = this.feedbackStabilizer.currentState.key, this.#n = this.uiState.key, this.#
|
|
1591
|
-
pingFn: (
|
|
1612
|
+
this.#c
|
|
1613
|
+
), this.#i = this.feedbackStabilizer.currentState, this.#a = this.feedbackStabilizer.currentState.key, this.#n = this.uiState.key, this.#e = new jn({
|
|
1614
|
+
pingFn: (d) => this.scanningSession.ping(d),
|
|
1592
1615
|
sendPingletsFn: () => this.scanningSession.sendPinglets()
|
|
1593
|
-
}), this.#
|
|
1594
|
-
const u = this.cameraManager.addFrameCaptureCallback(this.#L);
|
|
1595
|
-
this.#r.add(u), this.startUiUpdateLoop();
|
|
1616
|
+
}), this.#e.logDeviceInfo(this.deviceInfo), this.#P();
|
|
1617
|
+
const u = this.cameraManager.addFrameCaptureCallback(this.#L), c = this.cameraManager.addErrorCallback(this.handleCameraManagerError);
|
|
1618
|
+
this.#r.add(u), this.#r.add(c), this.startUiUpdateLoop();
|
|
1596
1619
|
}
|
|
1597
1620
|
/** The currently applied UI state key. */
|
|
1598
1621
|
get uiStateKey() {
|
|
@@ -1620,8 +1643,8 @@ class un {
|
|
|
1620
1643
|
(h) => h.playbackState,
|
|
1621
1644
|
(h) => {
|
|
1622
1645
|
console.debug(`⏯️ ${h}`);
|
|
1623
|
-
const p = e !== void 0 && e !== "idle",
|
|
1624
|
-
!p &&
|
|
1646
|
+
const p = e !== void 0 && e !== "idle", m = h !== "idle", T = h === "capturing" && e !== "capturing";
|
|
1647
|
+
!p && m ? (this.#e.logCameraStartedEvent(), this.#e.sendPinglets()) : p && !m && (this.#e.logCameraClosedEvent(), this.#e.sendPinglets()), T && this.#n === this.uiState.key && (this.feedbackStabilizer.restartCurrentStateTimer(), this.#n = void 0), e = h, this.#u !== null && (h !== "capturing" ? this.clearScanTimeout() : (console.debug("🔁 continuing timeout"), this.#R(this.uiState)));
|
|
1625
1648
|
}
|
|
1626
1649
|
);
|
|
1627
1650
|
this.#r.add(n);
|
|
@@ -1629,24 +1652,24 @@ class un {
|
|
|
1629
1652
|
(h) => h.cameras,
|
|
1630
1653
|
(h) => {
|
|
1631
1654
|
const p = new Set(
|
|
1632
|
-
h.map((
|
|
1633
|
-
),
|
|
1634
|
-
if (h.length === 0 && !
|
|
1655
|
+
h.map((A) => Zn(A))
|
|
1656
|
+
), m = this.cameraManager.getState();
|
|
1657
|
+
if (h.length === 0 && !m.videoElement) {
|
|
1635
1658
|
this.#y = p;
|
|
1636
1659
|
return;
|
|
1637
1660
|
}
|
|
1638
|
-
if (!
|
|
1661
|
+
if (!Jn(p, this.#y))
|
|
1639
1662
|
return;
|
|
1640
1663
|
this.#y = p;
|
|
1641
|
-
const
|
|
1642
|
-
(
|
|
1664
|
+
const T = h.map(
|
|
1665
|
+
(A) => Xn(A)
|
|
1643
1666
|
);
|
|
1644
|
-
this.#
|
|
1667
|
+
this.#e.logHardwareCameraInfo(T);
|
|
1645
1668
|
}
|
|
1646
1669
|
);
|
|
1647
1670
|
this.#r.add(i);
|
|
1648
1671
|
const r = () => {
|
|
1649
|
-
document.visibilityState === "hidden" && this.#
|
|
1672
|
+
document.visibilityState === "hidden" && this.#e.logAppMovedToBackgroundEvent(), this.#e.sendPinglets();
|
|
1650
1673
|
};
|
|
1651
1674
|
document.addEventListener("visibilitychange", r), this.#r.add(() => {
|
|
1652
1675
|
document.removeEventListener(
|
|
@@ -1690,7 +1713,7 @@ class un {
|
|
|
1690
1713
|
p = "LandscapeRight";
|
|
1691
1714
|
break;
|
|
1692
1715
|
}
|
|
1693
|
-
this.#
|
|
1716
|
+
this.#e.logDeviceOrientation(p);
|
|
1694
1717
|
}, d = (h) => {
|
|
1695
1718
|
const p = h.target;
|
|
1696
1719
|
c(p);
|
|
@@ -1701,40 +1724,40 @@ class un {
|
|
|
1701
1724
|
d
|
|
1702
1725
|
);
|
|
1703
1726
|
});
|
|
1704
|
-
const
|
|
1727
|
+
const g = this.cameraManager.subscribe(
|
|
1705
1728
|
(h) => h.selectedCamera?.torchEnabled,
|
|
1706
1729
|
(h) => {
|
|
1707
|
-
h !== void 0 && (h === !0 && this.#o.triggerShort(), this.#
|
|
1730
|
+
h !== void 0 && (h === !0 && this.#o.triggerShort(), this.#e.logFlashlightState(h));
|
|
1708
1731
|
}
|
|
1709
1732
|
);
|
|
1710
|
-
this.#r.add(
|
|
1711
|
-
const
|
|
1733
|
+
this.#r.add(g);
|
|
1734
|
+
const f = this.cameraManager.subscribe(
|
|
1712
1735
|
(h) => h.videoElement,
|
|
1713
1736
|
(h) => {
|
|
1714
1737
|
h || (console.debug("Removing camera manager subscriptions"), this.destroy());
|
|
1715
1738
|
}
|
|
1716
1739
|
);
|
|
1717
|
-
this.#r.add(
|
|
1740
|
+
this.#r.add(f), this.#r.add(() => {
|
|
1718
1741
|
this.stopUiUpdateLoop();
|
|
1719
1742
|
});
|
|
1720
1743
|
}
|
|
1721
1744
|
#k = (e, n) => {
|
|
1722
|
-
n === void 0 && (e === "granted" ? (console.debug("previously granted"), this.#
|
|
1745
|
+
n === void 0 && (e === "granted" ? (console.debug("previously granted"), this.#e.logCameraPermissionCheck(!0)) : e === "denied" ? (console.debug("previously blocked"), this.#e.logCameraPermissionCheck(!1)) : e === "prompt" && (console.debug("Waiting for user response"), this.#e.logCameraPermissionCheck(!1), this.#e.logCameraPermissionRequest())), n === "prompt" && (e === "granted" ? (console.debug("user granted permission"), this.#e.logCameraPermissionUserResponse(!0)) : e === "denied" && (console.debug("user denied permission"), this.#e.logCameraPermissionUserResponse(!1))), n === "denied" && (e === "granted" ? console.debug("user gave permission in browser settings") : e === "prompt" ? (console.debug("retrying for camera permission"), this.#e.logCameraPermissionCheck(!1), this.#e.logCameraPermissionRequest()) : e === void 0 && console.debug("user reset permission")), n === "granted" && (e === "denied" ? console.debug("user revoked permission") : e === "prompt" && console.debug("user reset permission after granting v1")), this.#e.sendPinglets();
|
|
1723
1746
|
};
|
|
1724
1747
|
#O() {
|
|
1725
1748
|
const e = this.#I();
|
|
1726
|
-
e && this.#
|
|
1749
|
+
e && this.#e.logCameraInputInfo(e);
|
|
1727
1750
|
}
|
|
1728
1751
|
#S() {
|
|
1729
|
-
this.#
|
|
1752
|
+
this.#b();
|
|
1730
1753
|
}
|
|
1731
1754
|
#M() {
|
|
1732
|
-
this.#
|
|
1755
|
+
this.#b.cancel();
|
|
1733
1756
|
}
|
|
1734
1757
|
#I() {
|
|
1735
1758
|
const e = this.cameraManager.getState();
|
|
1736
1759
|
if (!(!e.selectedCamera || !e.videoResolution))
|
|
1737
|
-
return
|
|
1760
|
+
return Yn(
|
|
1738
1761
|
e.selectedCamera,
|
|
1739
1762
|
e.videoResolution,
|
|
1740
1763
|
e.extractionArea
|
|
@@ -1744,7 +1767,7 @@ class un {
|
|
|
1744
1767
|
* Returns the timeout duration in ms. Null if timeout won't be triggered ever.
|
|
1745
1768
|
*/
|
|
1746
1769
|
getTimeoutDuration() {
|
|
1747
|
-
return this.#
|
|
1770
|
+
return this.#u;
|
|
1748
1771
|
}
|
|
1749
1772
|
/**
|
|
1750
1773
|
* Returns the time in ms before the help tooltip is shown. Null if tooltip won't be auto shown.
|
|
@@ -1760,7 +1783,7 @@ class un {
|
|
|
1760
1783
|
* @deprecated This option will be removed in a future release. Use `helpTooltipHideDelay` in `FeedbackUiOptions` instead.
|
|
1761
1784
|
*/
|
|
1762
1785
|
getHelpTooltipHideDelay() {
|
|
1763
|
-
return this.#
|
|
1786
|
+
return this.#w;
|
|
1764
1787
|
}
|
|
1765
1788
|
/**
|
|
1766
1789
|
* Gets the haptic feedback manager instance.
|
|
@@ -1800,7 +1823,7 @@ class un {
|
|
|
1800
1823
|
* @returns The UX analytics service
|
|
1801
1824
|
*/
|
|
1802
1825
|
get analytics() {
|
|
1803
|
-
return this.#
|
|
1826
|
+
return this.#e;
|
|
1804
1827
|
}
|
|
1805
1828
|
/**
|
|
1806
1829
|
* Adds a callback function to be executed when the UI state changes.
|
|
@@ -1859,8 +1882,8 @@ class un {
|
|
|
1859
1882
|
* cleanup();
|
|
1860
1883
|
*/
|
|
1861
1884
|
addDocumentClassFilter(e) {
|
|
1862
|
-
return this.#
|
|
1863
|
-
this.#
|
|
1885
|
+
return this.#d = e, () => {
|
|
1886
|
+
this.#d = void 0;
|
|
1864
1887
|
};
|
|
1865
1888
|
}
|
|
1866
1889
|
/**
|
|
@@ -1986,10 +2009,10 @@ class un {
|
|
|
1986
2009
|
* @returns boolean indicating if the document should be processed
|
|
1987
2010
|
*/
|
|
1988
2011
|
#G(e) {
|
|
1989
|
-
if (this.#
|
|
2012
|
+
if (this.#d === void 0)
|
|
1990
2013
|
return !0;
|
|
1991
2014
|
const n = _t(e);
|
|
1992
|
-
return
|
|
2015
|
+
return !zn(n) || this.#d(n) ? !0 : (this.cameraManager.stopFrameCapture(), this.#N(n), !1);
|
|
1993
2016
|
}
|
|
1994
2017
|
/**
|
|
1995
2018
|
* Sets the duration after which the scanning session will timeout. The
|
|
@@ -2006,7 +2029,7 @@ class un {
|
|
|
2006
2029
|
setTimeoutDuration(e, n = !0) {
|
|
2007
2030
|
if (e !== null && e <= 0)
|
|
2008
2031
|
throw new Error("Timeout duration must be greater than 0");
|
|
2009
|
-
this.#
|
|
2032
|
+
this.#u = e, n && this.setHelpTooltipShowDelay(e !== null ? e / 2 : null);
|
|
2010
2033
|
}
|
|
2011
2034
|
/**
|
|
2012
2035
|
* Sets the duration in milliseconds before the help tooltip is shown.
|
|
@@ -2038,7 +2061,7 @@ class un {
|
|
|
2038
2061
|
setHelpTooltipHideDelay(e) {
|
|
2039
2062
|
if (e !== null && e <= 0)
|
|
2040
2063
|
throw new Error("Help tooltip display duration must be greater than 0");
|
|
2041
|
-
this.#
|
|
2064
|
+
this.#w = e;
|
|
2042
2065
|
}
|
|
2043
2066
|
/**
|
|
2044
2067
|
* Sets the timeout for the scanning session.
|
|
@@ -2046,13 +2069,13 @@ class un {
|
|
|
2046
2069
|
* @param uiState - The UI state.
|
|
2047
2070
|
*/
|
|
2048
2071
|
#R = (e) => {
|
|
2049
|
-
if (this.#
|
|
2072
|
+
if (this.#u === null) {
|
|
2050
2073
|
console.debug("⏳🟢 timeout duration is null, not starting timeout");
|
|
2051
2074
|
return;
|
|
2052
2075
|
}
|
|
2053
2076
|
this.clearScanTimeout(), console.debug(`⏳🟢 starting timeout for ${e.key}`), this.#h = window.setTimeout(() => {
|
|
2054
|
-
console.debug("⏳🟢 timeout triggered"), this.cameraManager.stopFrameCapture(), this.#E("timeout"), this.#
|
|
2055
|
-
}, this.#
|
|
2077
|
+
console.debug("⏳🟢 timeout triggered"), this.cameraManager.stopFrameCapture(), this.#E("timeout"), this.#e.logStepTimeoutEvent(), this.#e.sendPinglets(), this.resetScanningSession(!1);
|
|
2078
|
+
}, this.#u);
|
|
2056
2079
|
};
|
|
2057
2080
|
/**
|
|
2058
2081
|
* Handles haptic feedback based on UI state changes.
|
|
@@ -2094,24 +2117,37 @@ class un {
|
|
|
2094
2117
|
"scanningSession.process did not return ownership of the array buffer!"
|
|
2095
2118
|
), "error" in n)
|
|
2096
2119
|
return console.warn("session process error:", n.error), n.arrayBuffer;
|
|
2097
|
-
this.#v || (this.#v = performance.now(), this.#
|
|
2120
|
+
this.#v || (this.#v = performance.now(), this.#e.sendPinglets()), this.#l = $n(n), this.#t = Bn(
|
|
2098
2121
|
_t(n)
|
|
2099
2122
|
);
|
|
2100
2123
|
const i = this.#z(n);
|
|
2101
2124
|
return this.#H(i), this.#U(n), this.#G(n) && i && (this.#a = i, this.feedbackStabilizer.ingest(i)), n.arrayBuffer;
|
|
2125
|
+
} catch (n) {
|
|
2126
|
+
throw await this.#e.logErrorEvent({
|
|
2127
|
+
origin: "ux.frameCapture",
|
|
2128
|
+
error: n,
|
|
2129
|
+
errorType: "NonFatal"
|
|
2130
|
+
}), await this.#e.sendPinglets(), n;
|
|
2102
2131
|
} finally {
|
|
2103
2132
|
this.#s === "busy" && (this.#s = "ready");
|
|
2104
2133
|
}
|
|
2105
2134
|
}
|
|
2106
2135
|
};
|
|
2136
|
+
handleCameraManagerError = (e) => {
|
|
2137
|
+
this.#e.logErrorEvent({
|
|
2138
|
+
origin: "cameraManager.error",
|
|
2139
|
+
error: e,
|
|
2140
|
+
errorType: "NonFatal"
|
|
2141
|
+
}), this.#e.sendPinglets();
|
|
2142
|
+
};
|
|
2107
2143
|
#H = (e) => {
|
|
2108
|
-
e &&
|
|
2144
|
+
e && Kn.includes(
|
|
2109
2145
|
e
|
|
2110
|
-
) && (console.debug("🛑 stop processing", e), this.cameraManager.stopFrameCapture(), this.#
|
|
2146
|
+
) && (console.debug("🛑 stop processing", e), this.cameraManager.stopFrameCapture(), this.#e.sendPinglets(), e === "DOCUMENT_CAPTURED" && (this.#s = "terminal"));
|
|
2111
2147
|
};
|
|
2112
2148
|
#z = (e) => {
|
|
2113
2149
|
if (this.sessionSettings)
|
|
2114
|
-
return
|
|
2150
|
+
return Wn(e, this.sessionSettings.scanningSettings);
|
|
2115
2151
|
};
|
|
2116
2152
|
/**
|
|
2117
2153
|
* Updates the UI state from the uiStateKey
|
|
@@ -2123,8 +2159,8 @@ class un {
|
|
|
2123
2159
|
const n = Ue[e];
|
|
2124
2160
|
if (this.#i = n, e !== "UNSUPPORTED_DOCUMENT" && vt.includes(e)) {
|
|
2125
2161
|
const i = e;
|
|
2126
|
-
this.#
|
|
2127
|
-
|
|
2162
|
+
this.#e.logErrorMessageEvent(
|
|
2163
|
+
l1(i)
|
|
2128
2164
|
);
|
|
2129
2165
|
}
|
|
2130
2166
|
if (this.#x(n.key), e === "UNSUPPORTED_DOCUMENT") {
|
|
@@ -2134,13 +2170,13 @@ class un {
|
|
|
2134
2170
|
this.#C(n), await this.#V(n), this.#B(n.key);
|
|
2135
2171
|
};
|
|
2136
2172
|
#B = (e) => {
|
|
2137
|
-
if (!this.#
|
|
2173
|
+
if (!this.#t)
|
|
2138
2174
|
return;
|
|
2139
2175
|
const n = {
|
|
2140
2176
|
previousUiStateKey: e,
|
|
2141
|
-
paginationType: this.#
|
|
2177
|
+
paginationType: this.#t,
|
|
2142
2178
|
rotation: this.#l
|
|
2143
|
-
}, i =
|
|
2179
|
+
}, i = o1(n);
|
|
2144
2180
|
i && this.feedbackStabilizer.ingest(i);
|
|
2145
2181
|
};
|
|
2146
2182
|
/**
|
|
@@ -2151,21 +2187,21 @@ class un {
|
|
|
2151
2187
|
* @param uiState - The UI state.
|
|
2152
2188
|
*/
|
|
2153
2189
|
#V = async (e) => {
|
|
2154
|
-
if (this.#
|
|
2190
|
+
if (this.#u !== null && e.key !== "DOCUMENT_CAPTURED" && this.#R(e), Vn.includes(
|
|
2155
2191
|
e.key
|
|
2156
2192
|
) && (this.#n = e.key, this.cameraManager.startFrameCapture()), e.key === "DOCUMENT_CAPTURED") {
|
|
2157
2193
|
console.debug(
|
|
2158
2194
|
"Handling DOCUMENT_CAPTURED state from #handleUiStateChange"
|
|
2159
2195
|
), this.clearScanTimeout();
|
|
2160
2196
|
try {
|
|
2161
|
-
await
|
|
2197
|
+
await i1(e.minDuration);
|
|
2162
2198
|
const n = await this.getSessionResult();
|
|
2163
2199
|
this.#F(n);
|
|
2164
2200
|
} catch (n) {
|
|
2165
2201
|
console.error(
|
|
2166
2202
|
"Failed to retrieve scan result after document capture:",
|
|
2167
2203
|
n
|
|
2168
|
-
), this.#E("result_retrieval_failed")
|
|
2204
|
+
), this.#E("result_retrieval_failed");
|
|
2169
2205
|
} finally {
|
|
2170
2206
|
this.#s = "terminal";
|
|
2171
2207
|
}
|
|
@@ -2175,7 +2211,7 @@ class un {
|
|
|
2175
2211
|
* Returns the initial UI state key used when resetting UX state.
|
|
2176
2212
|
*/
|
|
2177
2213
|
getInitialUiStateKey() {
|
|
2178
|
-
return this.#
|
|
2214
|
+
return this.#c;
|
|
2179
2215
|
}
|
|
2180
2216
|
/**
|
|
2181
2217
|
* Overrides the initial UI state key.
|
|
@@ -2184,12 +2220,12 @@ class un {
|
|
|
2184
2220
|
* @param applyImmediately - If true, immediately applies and emits this state.
|
|
2185
2221
|
*/
|
|
2186
2222
|
setInitialUiStateKey(e, n = !1) {
|
|
2187
|
-
this.#
|
|
2223
|
+
this.#c = e, n && this.#D(e);
|
|
2188
2224
|
}
|
|
2189
2225
|
/**
|
|
2190
2226
|
* Resets the feedback stabilizer and invokes the onUiStateChanged callbacks.
|
|
2191
2227
|
*/
|
|
2192
|
-
#D = (e = this.#
|
|
2228
|
+
#D = (e = this.#c) => {
|
|
2193
2229
|
this.feedbackStabilizer.reset(e), this.#i = this.feedbackStabilizer.currentState, this.#a = this.uiState.key, this.#s = "ready", this.#n = e, this.#v = void 0, this.#C(this.uiState);
|
|
2194
2230
|
};
|
|
2195
2231
|
/**
|
|
@@ -2204,7 +2240,15 @@ class un {
|
|
|
2204
2240
|
* @returns The result.
|
|
2205
2241
|
*/
|
|
2206
2242
|
async getSessionResult() {
|
|
2207
|
-
|
|
2243
|
+
try {
|
|
2244
|
+
return await this.scanningSession.getResult();
|
|
2245
|
+
} catch (e) {
|
|
2246
|
+
throw await this.#e.logErrorEvent({
|
|
2247
|
+
origin: "ux.getSessionResult",
|
|
2248
|
+
error: e,
|
|
2249
|
+
errorType: "NonFatal"
|
|
2250
|
+
}), await this.#e.sendPinglets(), e;
|
|
2251
|
+
}
|
|
2208
2252
|
}
|
|
2209
2253
|
/**
|
|
2210
2254
|
* Resets the scanning session.
|
|
@@ -2226,7 +2270,7 @@ class un {
|
|
|
2226
2270
|
* Does not reset the camera manager or the scanning session.
|
|
2227
2271
|
*/
|
|
2228
2272
|
reset() {
|
|
2229
|
-
console.debug("🔁 Resetting BlinkIdUxManager"), this.clearScanTimeout(), this.#M(), this.#s = "ready", this.clearUserCallbacks(), this.#
|
|
2273
|
+
console.debug("🔁 Resetting BlinkIdUxManager"), this.clearScanTimeout(), this.#M(), this.#s = "ready", this.clearUserCallbacks(), this.#d = void 0;
|
|
2230
2274
|
}
|
|
2231
2275
|
/**
|
|
2232
2276
|
* Fully tears down the BlinkIdUxManager. Stops frame processing, cancels the
|
|
@@ -2236,39 +2280,66 @@ class un {
|
|
|
2236
2280
|
* Does not stop the camera stream or delete the scanning session.
|
|
2237
2281
|
*/
|
|
2238
2282
|
destroy() {
|
|
2239
|
-
console.debug("💥 Destroying BlinkIdUxManager"), this.#s = "terminal", this.clearScanTimeout(), this.cleanupAllObservers(), this.clearUserCallbacks(), this.#
|
|
2283
|
+
console.debug("💥 Destroying BlinkIdUxManager"), this.#s = "terminal", this.clearScanTimeout(), this.cleanupAllObservers(), this.clearUserCallbacks(), this.#d = void 0;
|
|
2240
2284
|
}
|
|
2241
2285
|
}
|
|
2242
2286
|
const Zr = async (t, e, n = {}) => {
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2287
|
+
try {
|
|
2288
|
+
const [
|
|
2289
|
+
i,
|
|
2290
|
+
r,
|
|
2291
|
+
a,
|
|
2292
|
+
s
|
|
2293
|
+
] = await Promise.all([
|
|
2294
|
+
e.getSettings(),
|
|
2295
|
+
e.showDemoOverlay(),
|
|
2296
|
+
e.showProductionOverlay(),
|
|
2297
|
+
yn()
|
|
2298
|
+
]);
|
|
2299
|
+
return new c1(
|
|
2300
|
+
t,
|
|
2301
|
+
e,
|
|
2302
|
+
n,
|
|
2303
|
+
i,
|
|
2304
|
+
r,
|
|
2305
|
+
a,
|
|
2306
|
+
s
|
|
2307
|
+
);
|
|
2308
|
+
} catch (i) {
|
|
2309
|
+
try {
|
|
2310
|
+
await e.ping({
|
|
2311
|
+
schemaName: "ping.error",
|
|
2312
|
+
schemaVersion: "1.0.0",
|
|
2313
|
+
data: {
|
|
2314
|
+
errorType: "Crash",
|
|
2315
|
+
errorMessage: `ux.createBlinkIdUxManager: ${i instanceof Error ? i.message : String(i)}`,
|
|
2316
|
+
stackTrace: i instanceof Error ? i.stack : void 0
|
|
2317
|
+
}
|
|
2318
|
+
});
|
|
2319
|
+
} catch (r) {
|
|
2320
|
+
throw console.warn("Failed to report error pinglet:", r), i;
|
|
2321
|
+
}
|
|
2322
|
+
try {
|
|
2323
|
+
await e.sendPinglets();
|
|
2324
|
+
} catch (r) {
|
|
2325
|
+
console.warn("Failed to flush error pinglets:", r);
|
|
2326
|
+
}
|
|
2327
|
+
throw i;
|
|
2328
|
+
}
|
|
2329
|
+
}, u1 = (t, e, n) => qe((i) => (S(e, t(), e.firstChild ? null : void 0), () => {
|
|
2259
2330
|
i(), e instanceof Document || (e.textContent = "");
|
|
2260
2331
|
}), n);
|
|
2261
|
-
function
|
|
2332
|
+
function Xt(t) {
|
|
2262
2333
|
return Object.prototype.toString.call(t).slice(8, -1);
|
|
2263
2334
|
}
|
|
2264
2335
|
function Oe(t) {
|
|
2265
|
-
if (
|
|
2336
|
+
if (Xt(t) !== "Object")
|
|
2266
2337
|
return !1;
|
|
2267
2338
|
const e = Object.getPrototypeOf(t);
|
|
2268
2339
|
return !!e && e.constructor === Object && e === Object.prototype;
|
|
2269
2340
|
}
|
|
2270
2341
|
function Et(t) {
|
|
2271
|
-
return
|
|
2342
|
+
return Xt(t) === "Symbol";
|
|
2272
2343
|
}
|
|
2273
2344
|
function Tt(t, e, n, i) {
|
|
2274
2345
|
const r = {}.propertyIsEnumerable.call(i, e) ? "enumerable" : "nonenumerable";
|
|
@@ -2279,29 +2350,29 @@ function Tt(t, e, n, i) {
|
|
|
2279
2350
|
configurable: !0
|
|
2280
2351
|
});
|
|
2281
2352
|
}
|
|
2282
|
-
function
|
|
2353
|
+
function Zt(t, e, n) {
|
|
2283
2354
|
if (!Oe(e))
|
|
2284
2355
|
return e;
|
|
2285
2356
|
let i = {};
|
|
2286
2357
|
if (Oe(t)) {
|
|
2287
2358
|
const o = Object.getOwnPropertyNames(t), u = Object.getOwnPropertySymbols(t);
|
|
2288
2359
|
i = [...o, ...u].reduce((c, d) => {
|
|
2289
|
-
const
|
|
2290
|
-
return (!Et(d) && !Object.getOwnPropertyNames(e).includes(d) || Et(d) && !Object.getOwnPropertySymbols(e).includes(d)) && Tt(c, d,
|
|
2360
|
+
const g = t[d];
|
|
2361
|
+
return (!Et(d) && !Object.getOwnPropertyNames(e).includes(d) || Et(d) && !Object.getOwnPropertySymbols(e).includes(d)) && Tt(c, d, g, t), c;
|
|
2291
2362
|
}, {});
|
|
2292
2363
|
}
|
|
2293
2364
|
const r = Object.getOwnPropertyNames(e), a = Object.getOwnPropertySymbols(e);
|
|
2294
2365
|
return [...r, ...a].reduce((o, u) => {
|
|
2295
2366
|
let c = e[u];
|
|
2296
2367
|
const d = Oe(t) ? t[u] : void 0;
|
|
2297
|
-
return d !== void 0 && Oe(c) && (c =
|
|
2368
|
+
return d !== void 0 && Oe(c) && (c = Zt(d, c)), Tt(o, u, c, e), o;
|
|
2298
2369
|
}, i);
|
|
2299
2370
|
}
|
|
2300
|
-
function
|
|
2301
|
-
return e.reduce((n, i) =>
|
|
2371
|
+
function d1(t, ...e) {
|
|
2372
|
+
return e.reduce((n, i) => Zt(n, i), t);
|
|
2302
2373
|
}
|
|
2303
|
-
var
|
|
2304
|
-
const
|
|
2374
|
+
var h1 = /* @__PURE__ */ _("<span>");
|
|
2375
|
+
const Jt = (t) => {
|
|
2305
2376
|
const [e, n] = L(), [i, r] = L();
|
|
2306
2377
|
return $t(() => {
|
|
2307
2378
|
const a = i();
|
|
@@ -2312,18 +2383,18 @@ const t1 = (t) => {
|
|
|
2312
2383
|
},
|
|
2313
2384
|
get fallback() {
|
|
2314
2385
|
return (() => {
|
|
2315
|
-
var a =
|
|
2386
|
+
var a = h1();
|
|
2316
2387
|
return zt(r, a), a;
|
|
2317
2388
|
})();
|
|
2318
2389
|
},
|
|
2319
|
-
children: (a) => l(
|
|
2390
|
+
children: (a) => l(Sn, {
|
|
2320
2391
|
value: () => a(),
|
|
2321
2392
|
get children() {
|
|
2322
2393
|
return t.children(a());
|
|
2323
2394
|
}
|
|
2324
2395
|
})
|
|
2325
2396
|
});
|
|
2326
|
-
},
|
|
2397
|
+
}, p1 = {
|
|
2327
2398
|
alert_cancel_btn: "Cancel",
|
|
2328
2399
|
alert_retry_btn: "Retry",
|
|
2329
2400
|
blur_detected: "Keep document and phone still",
|
|
@@ -2385,13 +2456,13 @@ const t1 = (t) => {
|
|
|
2385
2456
|
wrong_left: "Move to the left page",
|
|
2386
2457
|
wrong_right: "Move to the right page",
|
|
2387
2458
|
wrong_top: "Move to the top page"
|
|
2388
|
-
},
|
|
2459
|
+
}, en = xe(), g1 = (t) => {
|
|
2389
2460
|
const [e, n] = (
|
|
2390
2461
|
// avoid initing with original as proxying to the original object will
|
|
2391
2462
|
// mutate the original object on store updates
|
|
2392
2463
|
Kt({})
|
|
2393
2464
|
), i = () => ({
|
|
2394
|
-
...
|
|
2465
|
+
...p1,
|
|
2395
2466
|
...t.userStrings
|
|
2396
2467
|
});
|
|
2397
2468
|
V(() => {
|
|
@@ -2401,7 +2472,7 @@ const t1 = (t) => {
|
|
|
2401
2472
|
t: e,
|
|
2402
2473
|
updateLocalization: n
|
|
2403
2474
|
};
|
|
2404
|
-
return l(
|
|
2475
|
+
return l(en.Provider, {
|
|
2405
2476
|
value: r,
|
|
2406
2477
|
get children() {
|
|
2407
2478
|
return t.children;
|
|
@@ -2409,143 +2480,143 @@ const t1 = (t) => {
|
|
|
2409
2480
|
});
|
|
2410
2481
|
};
|
|
2411
2482
|
function he() {
|
|
2412
|
-
const t = De(
|
|
2483
|
+
const t = De(en);
|
|
2413
2484
|
if (!t)
|
|
2414
2485
|
throw new Error("LocalizationContext.Provider not in scope.");
|
|
2415
2486
|
return t;
|
|
2416
2487
|
}
|
|
2417
|
-
function
|
|
2488
|
+
function f1(t) {
|
|
2418
2489
|
const e = typeof t.on == "function" || Array.isArray(t.on) ? t.on : () => t.on;
|
|
2419
2490
|
return ye(at(e, (n, i) => {
|
|
2420
2491
|
const r = t.children;
|
|
2421
2492
|
return typeof r == "function" && r.length > 0 ? r(n, i) : r;
|
|
2422
2493
|
}));
|
|
2423
2494
|
}
|
|
2424
|
-
var
|
|
2425
|
-
function
|
|
2495
|
+
var m1 = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
2496
|
+
function wt(t) {
|
|
2426
2497
|
const e = {};
|
|
2427
2498
|
let n;
|
|
2428
|
-
for (; n =
|
|
2499
|
+
for (; n = m1.exec(t); )
|
|
2429
2500
|
e[n[1]] = n[2];
|
|
2430
2501
|
return e;
|
|
2431
2502
|
}
|
|
2432
|
-
function
|
|
2503
|
+
function _1(t, e) {
|
|
2433
2504
|
if (typeof t == "string") {
|
|
2434
2505
|
if (typeof e == "string")
|
|
2435
2506
|
return `${t};${e}`;
|
|
2436
|
-
t =
|
|
2437
|
-
} else typeof e == "string" && (e =
|
|
2507
|
+
t = wt(t);
|
|
2508
|
+
} else typeof e == "string" && (e = wt(e));
|
|
2438
2509
|
return { ...t, ...e };
|
|
2439
2510
|
}
|
|
2440
|
-
function
|
|
2511
|
+
function tn(t, e) {
|
|
2441
2512
|
t.indexOf(e) === -1 && t.push(e);
|
|
2442
2513
|
}
|
|
2443
|
-
function
|
|
2514
|
+
function v1(t, e) {
|
|
2444
2515
|
const n = t.indexOf(e);
|
|
2445
2516
|
n > -1 && t.splice(n, 1);
|
|
2446
2517
|
}
|
|
2447
|
-
const
|
|
2518
|
+
const nn = (t, e, n) => Math.min(Math.max(n, t), e), H = {
|
|
2448
2519
|
duration: 0.3,
|
|
2449
2520
|
delay: 0,
|
|
2450
2521
|
endDelay: 0,
|
|
2451
2522
|
repeat: 0,
|
|
2452
2523
|
easing: "ease"
|
|
2453
|
-
},
|
|
2524
|
+
}, we = (t) => typeof t == "number", le = (t) => Array.isArray(t) && !we(t[0]), y1 = (t, e, n) => {
|
|
2454
2525
|
const i = e - t;
|
|
2455
2526
|
return ((n - t) % i + i) % i + t;
|
|
2456
2527
|
};
|
|
2457
|
-
function
|
|
2458
|
-
return le(t) ? t[
|
|
2528
|
+
function E1(t, e) {
|
|
2529
|
+
return le(t) ? t[y1(0, t.length, e)] : t;
|
|
2459
2530
|
}
|
|
2460
|
-
const
|
|
2531
|
+
const rn = (t, e, n) => -n * t + n * e + t, an = () => {
|
|
2461
2532
|
}, J = (t) => t, lt = (t, e, n) => e - t === 0 ? 1 : (n - t) / (e - t);
|
|
2462
|
-
function
|
|
2533
|
+
function sn(t, e) {
|
|
2463
2534
|
const n = t[t.length - 1];
|
|
2464
2535
|
for (let i = 1; i <= e; i++) {
|
|
2465
2536
|
const r = lt(0, e, i);
|
|
2466
|
-
t.push(
|
|
2537
|
+
t.push(rn(n, 1, r));
|
|
2467
2538
|
}
|
|
2468
2539
|
}
|
|
2469
|
-
function
|
|
2540
|
+
function T1(t) {
|
|
2470
2541
|
const e = [0];
|
|
2471
|
-
return
|
|
2542
|
+
return sn(e, t - 1), e;
|
|
2472
2543
|
}
|
|
2473
|
-
function
|
|
2544
|
+
function w1(t, e = T1(t.length), n = J) {
|
|
2474
2545
|
const i = t.length, r = i - e.length;
|
|
2475
|
-
return r > 0 &&
|
|
2546
|
+
return r > 0 && sn(e, r), (a) => {
|
|
2476
2547
|
let s = 0;
|
|
2477
2548
|
for (; s < i - 2 && !(a < e[s + 1]); s++)
|
|
2478
2549
|
;
|
|
2479
|
-
let o =
|
|
2480
|
-
return o =
|
|
2550
|
+
let o = nn(0, 1, lt(e[s], e[s + 1], a));
|
|
2551
|
+
return o = E1(n, s)(o), rn(t[s], t[s + 1], o);
|
|
2481
2552
|
};
|
|
2482
2553
|
}
|
|
2483
|
-
const
|
|
2554
|
+
const on = (t) => Array.isArray(t) && we(t[0]), Ze = (t) => typeof t == "object" && !!t.createAnimation, be = (t) => typeof t == "function", b1 = (t) => typeof t == "string", ze = {
|
|
2484
2555
|
ms: (t) => t * 1e3,
|
|
2485
2556
|
s: (t) => t / 1e3
|
|
2486
|
-
},
|
|
2487
|
-
function
|
|
2557
|
+
}, ln = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, A1 = 1e-7, O1 = 12;
|
|
2558
|
+
function S1(t, e, n, i, r) {
|
|
2488
2559
|
let a, s, o = 0;
|
|
2489
2560
|
do
|
|
2490
|
-
s = e + (n - e) / 2, a =
|
|
2491
|
-
while (Math.abs(a) >
|
|
2561
|
+
s = e + (n - e) / 2, a = ln(s, i, r) - t, a > 0 ? n = s : e = s;
|
|
2562
|
+
while (Math.abs(a) > A1 && ++o < O1);
|
|
2492
2563
|
return s;
|
|
2493
2564
|
}
|
|
2494
2565
|
function me(t, e, n, i) {
|
|
2495
2566
|
if (t === e && n === i)
|
|
2496
2567
|
return J;
|
|
2497
|
-
const r = (a) =>
|
|
2498
|
-
return (a) => a === 0 || a === 1 ? a :
|
|
2568
|
+
const r = (a) => S1(a, 0, 1, t, n);
|
|
2569
|
+
return (a) => a === 0 || a === 1 ? a : ln(r(a), e, i);
|
|
2499
2570
|
}
|
|
2500
|
-
const
|
|
2571
|
+
const M1 = (t, e = "end") => (n) => {
|
|
2501
2572
|
n = e === "end" ? Math.min(n, 0.999) : Math.max(n, 1e-3);
|
|
2502
2573
|
const i = n * t, r = e === "end" ? Math.floor(i) : Math.ceil(i);
|
|
2503
|
-
return
|
|
2504
|
-
},
|
|
2574
|
+
return nn(0, 1, r / t);
|
|
2575
|
+
}, C1 = {
|
|
2505
2576
|
ease: me(0.25, 0.1, 0.25, 1),
|
|
2506
2577
|
"ease-in": me(0.42, 0, 1, 1),
|
|
2507
2578
|
"ease-in-out": me(0.42, 0, 0.58, 1),
|
|
2508
2579
|
"ease-out": me(0, 0, 0.58, 1)
|
|
2509
|
-
},
|
|
2510
|
-
function
|
|
2511
|
-
if (
|
|
2580
|
+
}, R1 = /\((.*?)\)/;
|
|
2581
|
+
function bt(t) {
|
|
2582
|
+
if (be(t))
|
|
2512
2583
|
return t;
|
|
2513
|
-
if (
|
|
2584
|
+
if (on(t))
|
|
2514
2585
|
return me(...t);
|
|
2515
|
-
const e =
|
|
2586
|
+
const e = C1[t];
|
|
2516
2587
|
if (e)
|
|
2517
2588
|
return e;
|
|
2518
2589
|
if (t.startsWith("steps")) {
|
|
2519
|
-
const n =
|
|
2590
|
+
const n = R1.exec(t);
|
|
2520
2591
|
if (n) {
|
|
2521
2592
|
const i = n[1].split(",");
|
|
2522
|
-
return
|
|
2593
|
+
return M1(parseFloat(i[0]), i[1].trim());
|
|
2523
2594
|
}
|
|
2524
2595
|
}
|
|
2525
2596
|
return J;
|
|
2526
2597
|
}
|
|
2527
|
-
class
|
|
2598
|
+
class D1 {
|
|
2528
2599
|
constructor(e, n = [0, 1], { easing: i, duration: r = H.duration, delay: a = H.delay, endDelay: s = H.endDelay, repeat: o = H.repeat, offset: u, direction: c = "normal", autoplay: d = !0 } = {}) {
|
|
2529
|
-
if (this.startTime = null, this.rate = 1, this.t = 0, this.cancelTimestamp = null, this.easing = J, this.duration = 0, this.totalDuration = 0, this.repeat = 0, this.playState = "idle", this.finished = new Promise((
|
|
2530
|
-
this.resolve =
|
|
2600
|
+
if (this.startTime = null, this.rate = 1, this.t = 0, this.cancelTimestamp = null, this.easing = J, this.duration = 0, this.totalDuration = 0, this.repeat = 0, this.playState = "idle", this.finished = new Promise((f, h) => {
|
|
2601
|
+
this.resolve = f, this.reject = h;
|
|
2531
2602
|
}), i = i || H.easing, Ze(i)) {
|
|
2532
|
-
const
|
|
2533
|
-
i =
|
|
2603
|
+
const f = i.createAnimation(n);
|
|
2604
|
+
i = f.easing, n = f.keyframes || n, r = f.duration || r;
|
|
2534
2605
|
}
|
|
2535
|
-
this.repeat = o, this.easing = le(i) ? J :
|
|
2536
|
-
const
|
|
2537
|
-
this.tick = (
|
|
2606
|
+
this.repeat = o, this.easing = le(i) ? J : bt(i), this.updateDuration(r);
|
|
2607
|
+
const g = w1(n, u, le(i) ? i.map(bt) : J);
|
|
2608
|
+
this.tick = (f) => {
|
|
2538
2609
|
var h;
|
|
2539
2610
|
a = a;
|
|
2540
2611
|
let p = 0;
|
|
2541
|
-
this.pauseTime !== void 0 ? p = this.pauseTime : p = (
|
|
2542
|
-
const
|
|
2543
|
-
let
|
|
2544
|
-
!
|
|
2545
|
-
const U =
|
|
2546
|
-
(c === "reverse" || c === "alternate" && U || c === "alternate-reverse" && !U) && (
|
|
2547
|
-
const
|
|
2548
|
-
e(
|
|
2612
|
+
this.pauseTime !== void 0 ? p = this.pauseTime : p = (f - this.startTime) * this.rate, this.t = p, p /= 1e3, p = Math.max(p - a, 0), this.playState === "finished" && this.pauseTime === void 0 && (p = this.totalDuration);
|
|
2613
|
+
const m = p / this.duration;
|
|
2614
|
+
let T = Math.floor(m), A = m % 1;
|
|
2615
|
+
!A && m >= 1 && (A = 1), A === 1 && T--;
|
|
2616
|
+
const U = T % 2;
|
|
2617
|
+
(c === "reverse" || c === "alternate" && U || c === "alternate-reverse" && !U) && (A = 1 - A);
|
|
2618
|
+
const b = p >= this.totalDuration ? 1 : Math.min(A, 1), D = g(this.easing(b));
|
|
2619
|
+
e(D), this.pauseTime === void 0 && (this.playState === "finished" || p >= this.totalDuration + s) ? (this.playState = "finished", (h = this.resolve) === null || h === void 0 || h.call(this, D)) : this.playState !== "idle" && (this.frameRequestId = requestAnimationFrame(this.tick));
|
|
2549
2620
|
}, d && this.play();
|
|
2550
2621
|
}
|
|
2551
2622
|
play() {
|
|
@@ -2586,13 +2657,13 @@ class Pn {
|
|
|
2586
2657
|
this.rate = e;
|
|
2587
2658
|
}
|
|
2588
2659
|
}
|
|
2589
|
-
var
|
|
2660
|
+
var cn = function() {
|
|
2590
2661
|
};
|
|
2591
|
-
process.env.NODE_ENV !== "production" && (
|
|
2662
|
+
process.env.NODE_ENV !== "production" && (cn = function(t, e) {
|
|
2592
2663
|
if (!t)
|
|
2593
2664
|
throw new Error(e);
|
|
2594
2665
|
});
|
|
2595
|
-
class
|
|
2666
|
+
class P1 {
|
|
2596
2667
|
setAnimation(e) {
|
|
2597
2668
|
this.animation = e, e?.finished.then(() => this.clearAnimation()).catch(() => {
|
|
2598
2669
|
});
|
|
@@ -2602,16 +2673,16 @@ class kn {
|
|
|
2602
2673
|
}
|
|
2603
2674
|
}
|
|
2604
2675
|
const $e = /* @__PURE__ */ new WeakMap();
|
|
2605
|
-
function
|
|
2676
|
+
function un(t) {
|
|
2606
2677
|
return $e.has(t) || $e.set(t, {
|
|
2607
2678
|
transforms: [],
|
|
2608
2679
|
values: /* @__PURE__ */ new Map()
|
|
2609
2680
|
}), $e.get(t);
|
|
2610
2681
|
}
|
|
2611
|
-
function
|
|
2612
|
-
return t.has(e) || t.set(e, new
|
|
2682
|
+
function k1(t, e) {
|
|
2683
|
+
return t.has(e) || t.set(e, new P1()), t.get(e);
|
|
2613
2684
|
}
|
|
2614
|
-
const
|
|
2685
|
+
const I1 = ["", "X", "Y", "Z"], N1 = ["translate", "scale", "rotate", "skew"], ce = {
|
|
2615
2686
|
x: "translateX",
|
|
2616
2687
|
y: "translateY",
|
|
2617
2688
|
z: "translateZ"
|
|
@@ -2619,7 +2690,7 @@ const Nn = ["", "X", "Y", "Z"], Fn = ["translate", "scale", "rotate", "skew"], c
|
|
|
2619
2690
|
syntax: "<angle>",
|
|
2620
2691
|
initialValue: "0deg",
|
|
2621
2692
|
toDefaultUnit: (t) => t + "deg"
|
|
2622
|
-
},
|
|
2693
|
+
}, F1 = {
|
|
2623
2694
|
translate: {
|
|
2624
2695
|
syntax: "<length-percentage>",
|
|
2625
2696
|
initialValue: "0px",
|
|
@@ -2633,17 +2704,17 @@ const Nn = ["", "X", "Y", "Z"], Fn = ["translate", "scale", "rotate", "skew"], c
|
|
|
2633
2704
|
},
|
|
2634
2705
|
skew: At
|
|
2635
2706
|
}, ue = /* @__PURE__ */ new Map(), Le = (t) => `--motion-${t}`, Ge = ["x", "y", "z"];
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
Ge.push(t + e), ue.set(Le(t + e),
|
|
2707
|
+
N1.forEach((t) => {
|
|
2708
|
+
I1.forEach((e) => {
|
|
2709
|
+
Ge.push(t + e), ue.set(Le(t + e), F1[t]);
|
|
2639
2710
|
});
|
|
2640
2711
|
});
|
|
2641
|
-
const
|
|
2712
|
+
const U1 = (t, e) => Ge.indexOf(t) - Ge.indexOf(e), G1 = new Set(Ge), ct = (t) => G1.has(t), x1 = (t, e) => {
|
|
2642
2713
|
ce[e] && (e = ce[e]);
|
|
2643
|
-
const { transforms: n } =
|
|
2644
|
-
|
|
2645
|
-
},
|
|
2646
|
-
function
|
|
2714
|
+
const { transforms: n } = un(t);
|
|
2715
|
+
tn(n, e), t.style.transform = dn(n);
|
|
2716
|
+
}, dn = (t) => t.sort(U1).reduce(L1, "").trim(), L1 = (t, e) => `${t} ${e}(var(${Le(e)}))`, Je = (t) => t.startsWith("--"), Ot = /* @__PURE__ */ new Set();
|
|
2717
|
+
function H1(t) {
|
|
2647
2718
|
if (!Ot.has(t)) {
|
|
2648
2719
|
Ot.add(t);
|
|
2649
2720
|
try {
|
|
@@ -2681,19 +2752,19 @@ const Be = (t, e) => document.createElement("div").animate(t, e), St = {
|
|
|
2681
2752
|
}, Ve = {}, oe = {};
|
|
2682
2753
|
for (const t in St)
|
|
2683
2754
|
oe[t] = () => (Ve[t] === void 0 && (Ve[t] = St[t]()), Ve[t]);
|
|
2684
|
-
const
|
|
2755
|
+
const z1 = 0.015, $1 = (t, e) => {
|
|
2685
2756
|
let n = "";
|
|
2686
|
-
const i = Math.round(e /
|
|
2757
|
+
const i = Math.round(e / z1);
|
|
2687
2758
|
for (let r = 0; r < i; r++)
|
|
2688
2759
|
n += t(lt(0, i - 1, r)) + ", ";
|
|
2689
2760
|
return n.substring(0, n.length - 2);
|
|
2690
|
-
}, Mt = (t, e) =>
|
|
2691
|
-
function
|
|
2761
|
+
}, Mt = (t, e) => be(t) ? oe.linearEasing() ? `linear(${$1(t, e)})` : H.easing : on(t) ? B1(t) : t, B1 = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`;
|
|
2762
|
+
function V1(t, e) {
|
|
2692
2763
|
for (let n = 0; n < t.length; n++)
|
|
2693
2764
|
t[n] === null && (t[n] = n ? t[n - 1] : e());
|
|
2694
2765
|
return t;
|
|
2695
2766
|
}
|
|
2696
|
-
const
|
|
2767
|
+
const K1 = (t) => Array.isArray(t) ? t : [t];
|
|
2697
2768
|
function et(t) {
|
|
2698
2769
|
return ce[t] && (t = ce[t]), ct(t) ? Le(t) : t;
|
|
2699
2770
|
}
|
|
@@ -2711,87 +2782,87 @@ const _e = {
|
|
|
2711
2782
|
e = et(e), Je(e) ? t.style.setProperty(e, n) : t.style[e] = n;
|
|
2712
2783
|
}
|
|
2713
2784
|
};
|
|
2714
|
-
function
|
|
2785
|
+
function W1(t, e = !0) {
|
|
2715
2786
|
if (!(!t || t.playState === "finished"))
|
|
2716
2787
|
try {
|
|
2717
2788
|
t.stop ? t.stop() : (e && t.commitStyles(), t.cancel());
|
|
2718
2789
|
} catch {
|
|
2719
2790
|
}
|
|
2720
2791
|
}
|
|
2721
|
-
function
|
|
2792
|
+
function j1(t, e) {
|
|
2722
2793
|
var n;
|
|
2723
2794
|
let i = e?.toDefaultUnit || J;
|
|
2724
2795
|
const r = t[t.length - 1];
|
|
2725
|
-
if (
|
|
2796
|
+
if (b1(r)) {
|
|
2726
2797
|
const a = ((n = r.match(/(-?[\d.]+)([a-z%]*)/)) === null || n === void 0 ? void 0 : n[2]) || "";
|
|
2727
2798
|
a && (i = (s) => s + a);
|
|
2728
2799
|
}
|
|
2729
2800
|
return i;
|
|
2730
2801
|
}
|
|
2731
|
-
function
|
|
2802
|
+
function q1() {
|
|
2732
2803
|
return window.__MOTION_DEV_TOOLS_RECORD;
|
|
2733
2804
|
}
|
|
2734
|
-
function
|
|
2735
|
-
const a =
|
|
2736
|
-
let o, { duration: u = H.duration, delay: c = H.delay, endDelay: d = H.endDelay, repeat:
|
|
2737
|
-
const U =
|
|
2738
|
-
let
|
|
2739
|
-
|
|
2740
|
-
const
|
|
2741
|
-
return
|
|
2742
|
-
const
|
|
2743
|
-
var
|
|
2744
|
-
return (q = (
|
|
2805
|
+
function Q1(t, e, n, i = {}, r) {
|
|
2806
|
+
const a = q1(), s = i.record !== !1 && a;
|
|
2807
|
+
let o, { duration: u = H.duration, delay: c = H.delay, endDelay: d = H.endDelay, repeat: g = H.repeat, easing: f = H.easing, persist: h = !1, direction: p, offset: m, allowWebkitAcceleration: T = !1, autoplay: A = !0 } = i;
|
|
2808
|
+
const U = un(t), b = ct(e);
|
|
2809
|
+
let D = oe.waapi();
|
|
2810
|
+
b && x1(t, e);
|
|
2811
|
+
const y = et(e), P = k1(U.values, y), E = ue.get(y);
|
|
2812
|
+
return W1(P.animation, !(Ze(f) && P.generator) && i.record !== !1), () => {
|
|
2813
|
+
const k = () => {
|
|
2814
|
+
var C, q;
|
|
2815
|
+
return (q = (C = _e.get(t, y)) !== null && C !== void 0 ? C : E?.initialValue) !== null && q !== void 0 ? q : 0;
|
|
2745
2816
|
};
|
|
2746
|
-
let
|
|
2747
|
-
const j =
|
|
2748
|
-
if (Ze(
|
|
2749
|
-
const
|
|
2750
|
-
|
|
2817
|
+
let w = V1(K1(n), k);
|
|
2818
|
+
const j = j1(w, E);
|
|
2819
|
+
if (Ze(f)) {
|
|
2820
|
+
const C = f.createAnimation(w, e !== "opacity", k, y, P);
|
|
2821
|
+
f = C.easing, w = C.keyframes || w, u = C.duration || u;
|
|
2751
2822
|
}
|
|
2752
|
-
if (Je(
|
|
2753
|
-
|
|
2754
|
-
const
|
|
2823
|
+
if (Je(y) && (oe.cssRegisterProperty() ? H1(y) : D = !1), b && !oe.linearEasing() && (be(f) || le(f) && f.some(be)) && (D = !1), D) {
|
|
2824
|
+
E && (w = w.map((te) => we(te) ? E.toDefaultUnit(te) : te)), w.length === 1 && (!oe.partialKeyframes() || s) && w.unshift(k());
|
|
2825
|
+
const C = {
|
|
2755
2826
|
delay: ze.ms(c),
|
|
2756
2827
|
duration: ze.ms(u),
|
|
2757
2828
|
endDelay: ze.ms(d),
|
|
2758
|
-
easing: le(
|
|
2829
|
+
easing: le(f) ? void 0 : Mt(f, u),
|
|
2759
2830
|
direction: p,
|
|
2760
|
-
iterations:
|
|
2831
|
+
iterations: g + 1,
|
|
2761
2832
|
fill: "both"
|
|
2762
2833
|
};
|
|
2763
2834
|
o = t.animate({
|
|
2764
|
-
[
|
|
2765
|
-
offset:
|
|
2766
|
-
easing: le(
|
|
2767
|
-
},
|
|
2768
|
-
o.onfinish = te, o.oncancel =
|
|
2835
|
+
[y]: w,
|
|
2836
|
+
offset: m,
|
|
2837
|
+
easing: le(f) ? f.map((te) => Mt(te, u)) : void 0
|
|
2838
|
+
}, C), o.finished || (o.finished = new Promise((te, vn) => {
|
|
2839
|
+
o.onfinish = te, o.oncancel = vn;
|
|
2769
2840
|
}));
|
|
2770
|
-
const q =
|
|
2841
|
+
const q = w[w.length - 1];
|
|
2771
2842
|
o.finished.then(() => {
|
|
2772
|
-
h || (_e.set(t,
|
|
2773
|
-
}).catch(
|
|
2774
|
-
} else if (
|
|
2775
|
-
|
|
2776
|
-
_e.set(t,
|
|
2777
|
-
},
|
|
2843
|
+
h || (_e.set(t, y, q), o.cancel());
|
|
2844
|
+
}).catch(an), T || (o.playbackRate = 1.000001);
|
|
2845
|
+
} else if (b)
|
|
2846
|
+
w = w.map((C) => typeof C == "string" ? parseFloat(C) : C), w.length === 1 && w.unshift(parseFloat(k())), o = new r((C) => {
|
|
2847
|
+
_e.set(t, y, j ? j(C) : C);
|
|
2848
|
+
}, w, Object.assign(Object.assign({}, i), {
|
|
2778
2849
|
duration: u,
|
|
2779
|
-
easing:
|
|
2850
|
+
easing: f
|
|
2780
2851
|
}));
|
|
2781
2852
|
else {
|
|
2782
|
-
const
|
|
2783
|
-
_e.set(t,
|
|
2853
|
+
const C = w[w.length - 1];
|
|
2854
|
+
_e.set(t, y, E && we(C) ? E.toDefaultUnit(C) : C);
|
|
2784
2855
|
}
|
|
2785
|
-
return s && a(t, e,
|
|
2856
|
+
return s && a(t, e, w, {
|
|
2786
2857
|
duration: u,
|
|
2787
2858
|
delay: c,
|
|
2788
|
-
easing:
|
|
2789
|
-
repeat:
|
|
2790
|
-
offset:
|
|
2791
|
-
}, "motion-one"),
|
|
2859
|
+
easing: f,
|
|
2860
|
+
repeat: g,
|
|
2861
|
+
offset: m
|
|
2862
|
+
}, "motion-one"), P.setAnimation(o), o && !A && o.pause(), o;
|
|
2792
2863
|
};
|
|
2793
2864
|
}
|
|
2794
|
-
const
|
|
2865
|
+
const Y1 = (t, e) => (
|
|
2795
2866
|
/**
|
|
2796
2867
|
* TODO: Make test for this
|
|
2797
2868
|
* Always return a new object otherwise delay is overwritten by results of stagger
|
|
@@ -2799,10 +2870,10 @@ const Xn = (t, e) => (
|
|
|
2799
2870
|
*/
|
|
2800
2871
|
t[e] ? Object.assign(Object.assign({}, t), t[e]) : Object.assign({}, t)
|
|
2801
2872
|
);
|
|
2802
|
-
function
|
|
2873
|
+
function X1(t, e) {
|
|
2803
2874
|
return typeof t == "string" ? t = document.querySelectorAll(t) : t instanceof Element && (t = [t]), Array.from(t || []);
|
|
2804
2875
|
}
|
|
2805
|
-
function
|
|
2876
|
+
function hn(t, e) {
|
|
2806
2877
|
var n = {};
|
|
2807
2878
|
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && e.indexOf(i) < 0 && (n[i] = t[i]);
|
|
2808
2879
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -2810,34 +2881,34 @@ function p1(t, e) {
|
|
|
2810
2881
|
e.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, i[r]) && (n[i[r]] = t[i[r]]);
|
|
2811
2882
|
return n;
|
|
2812
2883
|
}
|
|
2813
|
-
const
|
|
2884
|
+
const Z1 = {
|
|
2814
2885
|
any: 0,
|
|
2815
2886
|
all: 1
|
|
2816
2887
|
};
|
|
2817
|
-
function
|
|
2888
|
+
function J1(t, e, { root: n, margin: i, amount: r = "any" } = {}) {
|
|
2818
2889
|
if (typeof IntersectionObserver > "u")
|
|
2819
2890
|
return () => {
|
|
2820
2891
|
};
|
|
2821
|
-
const a =
|
|
2892
|
+
const a = X1(t), s = /* @__PURE__ */ new WeakMap(), o = (c) => {
|
|
2822
2893
|
c.forEach((d) => {
|
|
2823
|
-
const
|
|
2824
|
-
if (d.isIntersecting !== !!
|
|
2894
|
+
const g = s.get(d.target);
|
|
2895
|
+
if (d.isIntersecting !== !!g)
|
|
2825
2896
|
if (d.isIntersecting) {
|
|
2826
|
-
const
|
|
2827
|
-
|
|
2828
|
-
} else
|
|
2897
|
+
const f = e(d);
|
|
2898
|
+
be(f) ? s.set(d.target, f) : u.unobserve(d.target);
|
|
2899
|
+
} else g && (g(d), s.delete(d.target));
|
|
2829
2900
|
});
|
|
2830
2901
|
}, u = new IntersectionObserver(o, {
|
|
2831
2902
|
root: n,
|
|
2832
2903
|
rootMargin: i,
|
|
2833
|
-
threshold: typeof r == "number" ? r :
|
|
2904
|
+
threshold: typeof r == "number" ? r : Z1[r]
|
|
2834
2905
|
});
|
|
2835
2906
|
return a.forEach((c) => u.observe(c)), () => u.disconnect();
|
|
2836
2907
|
}
|
|
2837
|
-
function
|
|
2838
|
-
return typeof t != typeof e ? !0 : Array.isArray(t) && Array.isArray(e) ? !
|
|
2908
|
+
function ei(t, e) {
|
|
2909
|
+
return typeof t != typeof e ? !0 : Array.isArray(t) && Array.isArray(e) ? !ti(t, e) : t !== e;
|
|
2839
2910
|
}
|
|
2840
|
-
function
|
|
2911
|
+
function ti(t, e) {
|
|
2841
2912
|
const n = e.length;
|
|
2842
2913
|
if (n !== t.length)
|
|
2843
2914
|
return !1;
|
|
@@ -2846,40 +2917,40 @@ function ni(t, e) {
|
|
|
2846
2917
|
return !1;
|
|
2847
2918
|
return !0;
|
|
2848
2919
|
}
|
|
2849
|
-
function
|
|
2920
|
+
function ni(t) {
|
|
2850
2921
|
return typeof t == "object";
|
|
2851
2922
|
}
|
|
2852
2923
|
function Ct(t, e) {
|
|
2853
|
-
if (
|
|
2924
|
+
if (ni(t))
|
|
2854
2925
|
return t;
|
|
2855
2926
|
if (t && e)
|
|
2856
2927
|
return e[t];
|
|
2857
2928
|
}
|
|
2858
2929
|
let ee;
|
|
2859
|
-
function
|
|
2930
|
+
function ii() {
|
|
2860
2931
|
if (!ee)
|
|
2861
2932
|
return;
|
|
2862
|
-
const t = ee.sort(
|
|
2933
|
+
const t = ee.sort(ai).map(si);
|
|
2863
2934
|
t.forEach(Rt), t.forEach(Rt), ee = void 0;
|
|
2864
2935
|
}
|
|
2865
2936
|
function Ke(t) {
|
|
2866
|
-
ee ?
|
|
2937
|
+
ee ? tn(ee, t) : (ee = [t], requestAnimationFrame(ii));
|
|
2867
2938
|
}
|
|
2868
|
-
function
|
|
2869
|
-
ee &&
|
|
2939
|
+
function ri(t) {
|
|
2940
|
+
ee && v1(ee, t);
|
|
2870
2941
|
}
|
|
2871
|
-
const
|
|
2942
|
+
const ai = (t, e) => t.getDepth() - e.getDepth(), si = (t) => t.animateUpdates(), Rt = (t) => t.next(), Dt = (t, e) => new CustomEvent(t, { detail: { target: e } });
|
|
2872
2943
|
function tt(t, e, n) {
|
|
2873
2944
|
t.dispatchEvent(new CustomEvent(e, { detail: { originalEvent: n } }));
|
|
2874
2945
|
}
|
|
2875
2946
|
function Pt(t, e, n) {
|
|
2876
2947
|
t.dispatchEvent(new CustomEvent(e, { detail: { originalEntry: n } }));
|
|
2877
2948
|
}
|
|
2878
|
-
const
|
|
2949
|
+
const oi = {
|
|
2879
2950
|
isActive: (t) => !!t.inView,
|
|
2880
2951
|
subscribe: (t, { enable: e, disable: n }, { inViewOptions: i = {} }) => {
|
|
2881
|
-
const { once: r } = i, a =
|
|
2882
|
-
return
|
|
2952
|
+
const { once: r } = i, a = hn(i, ["once"]);
|
|
2953
|
+
return J1(t, (s) => {
|
|
2883
2954
|
if (e(), Pt(t, "viewenter", s), !r)
|
|
2884
2955
|
return (o) => {
|
|
2885
2956
|
n(), Pt(t, "viewleave", o);
|
|
@@ -2888,7 +2959,7 @@ const li = {
|
|
|
2888
2959
|
}
|
|
2889
2960
|
}, kt = (t, e, n) => (i) => {
|
|
2890
2961
|
i.pointerType && i.pointerType !== "mouse" || (n(), tt(t, e, i));
|
|
2891
|
-
},
|
|
2962
|
+
}, li = {
|
|
2892
2963
|
isActive: (t) => !!t.hover,
|
|
2893
2964
|
subscribe: (t, { enable: e, disable: n }) => {
|
|
2894
2965
|
const i = kt(t, "hoverstart", e), r = kt(t, "hoverend", n);
|
|
@@ -2896,7 +2967,7 @@ const li = {
|
|
|
2896
2967
|
t.removeEventListener("pointerenter", i), t.removeEventListener("pointerleave", r);
|
|
2897
2968
|
};
|
|
2898
2969
|
}
|
|
2899
|
-
},
|
|
2970
|
+
}, ci = {
|
|
2900
2971
|
isActive: (t) => !!t.press,
|
|
2901
2972
|
subscribe: (t, { enable: e, disable: n }) => {
|
|
2902
2973
|
const i = (a) => {
|
|
@@ -2908,85 +2979,85 @@ const li = {
|
|
|
2908
2979
|
t.removeEventListener("pointerdown", r), window.removeEventListener("pointerup", i);
|
|
2909
2980
|
};
|
|
2910
2981
|
}
|
|
2911
|
-
}, Ce = { inView:
|
|
2912
|
-
function
|
|
2982
|
+
}, Ce = { inView: oi, hover: li, press: ci }, It = ["initial", "animate", ...Object.keys(Ce), "exit"], nt = /* @__PURE__ */ new WeakMap();
|
|
2983
|
+
function ui(t = {}, e) {
|
|
2913
2984
|
let n, i = e ? e.getDepth() + 1 : 0;
|
|
2914
2985
|
const r = { initial: !0, animate: !0 }, a = {}, s = {};
|
|
2915
|
-
for (const
|
|
2916
|
-
s[
|
|
2986
|
+
for (const m of It)
|
|
2987
|
+
s[m] = typeof t[m] == "string" ? t[m] : e?.getContext()[m];
|
|
2917
2988
|
const o = t.initial === !1 ? "animate" : "initial";
|
|
2918
|
-
let u = Ct(t[o] || s[o], t.variants) || {}, c =
|
|
2989
|
+
let u = Ct(t[o] || s[o], t.variants) || {}, c = hn(u, ["transition"]);
|
|
2919
2990
|
const d = Object.assign({}, c);
|
|
2920
|
-
function*
|
|
2921
|
-
var
|
|
2922
|
-
const
|
|
2991
|
+
function* g() {
|
|
2992
|
+
var m, T;
|
|
2993
|
+
const A = c;
|
|
2923
2994
|
c = {};
|
|
2924
2995
|
const U = {};
|
|
2925
|
-
for (const
|
|
2926
|
-
if (!r[
|
|
2996
|
+
for (const E of It) {
|
|
2997
|
+
if (!r[E])
|
|
2927
2998
|
continue;
|
|
2928
|
-
const
|
|
2929
|
-
if (
|
|
2930
|
-
for (const
|
|
2931
|
-
|
|
2999
|
+
const k = Ct(t[E]);
|
|
3000
|
+
if (k)
|
|
3001
|
+
for (const w in k)
|
|
3002
|
+
w !== "transition" && (c[w] = k[w], U[w] = Y1((T = (m = k.transition) !== null && m !== void 0 ? m : t.transition) !== null && T !== void 0 ? T : {}, w));
|
|
2932
3003
|
}
|
|
2933
|
-
const
|
|
3004
|
+
const b = /* @__PURE__ */ new Set([
|
|
2934
3005
|
...Object.keys(c),
|
|
2935
|
-
...Object.keys(
|
|
2936
|
-
]),
|
|
2937
|
-
|
|
2938
|
-
var
|
|
2939
|
-
c[
|
|
3006
|
+
...Object.keys(A)
|
|
3007
|
+
]), D = [];
|
|
3008
|
+
b.forEach((E) => {
|
|
3009
|
+
var k;
|
|
3010
|
+
c[E] === void 0 && (c[E] = d[E]), ei(A[E], c[E]) && ((k = d[E]) !== null && k !== void 0 || (d[E] = _e.get(n, E)), D.push(Q1(n, E, c[E], U[E], D1)));
|
|
2940
3011
|
}), yield;
|
|
2941
|
-
const
|
|
2942
|
-
if (!
|
|
3012
|
+
const y = D.map((E) => E()).filter(Boolean);
|
|
3013
|
+
if (!y.length)
|
|
2943
3014
|
return;
|
|
2944
|
-
const
|
|
2945
|
-
n.dispatchEvent(Dt("motionstart",
|
|
2946
|
-
n.dispatchEvent(Dt("motioncomplete",
|
|
2947
|
-
}).catch(
|
|
3015
|
+
const P = c;
|
|
3016
|
+
n.dispatchEvent(Dt("motionstart", P)), Promise.all(y.map((E) => E.finished)).then(() => {
|
|
3017
|
+
n.dispatchEvent(Dt("motioncomplete", P));
|
|
3018
|
+
}).catch(an);
|
|
2948
3019
|
}
|
|
2949
|
-
const
|
|
2950
|
-
r[
|
|
3020
|
+
const f = (m, T) => () => {
|
|
3021
|
+
r[m] = T, Ke(p);
|
|
2951
3022
|
}, h = () => {
|
|
2952
|
-
for (const
|
|
2953
|
-
const
|
|
2954
|
-
|
|
2955
|
-
enable:
|
|
2956
|
-
disable:
|
|
2957
|
-
}, t) : !
|
|
3023
|
+
for (const m in Ce) {
|
|
3024
|
+
const T = Ce[m].isActive(t), A = a[m];
|
|
3025
|
+
T && !A ? a[m] = Ce[m].subscribe(n, {
|
|
3026
|
+
enable: f(m, !0),
|
|
3027
|
+
disable: f(m, !1)
|
|
3028
|
+
}, t) : !T && A && (A(), delete a[m]);
|
|
2958
3029
|
}
|
|
2959
3030
|
}, p = {
|
|
2960
|
-
update: (
|
|
2961
|
-
n && (t =
|
|
3031
|
+
update: (m) => {
|
|
3032
|
+
n && (t = m, h(), Ke(p));
|
|
2962
3033
|
},
|
|
2963
|
-
setActive: (
|
|
2964
|
-
n && (r[
|
|
3034
|
+
setActive: (m, T) => {
|
|
3035
|
+
n && (r[m] = T, Ke(p));
|
|
2965
3036
|
},
|
|
2966
|
-
animateUpdates:
|
|
3037
|
+
animateUpdates: g,
|
|
2967
3038
|
getDepth: () => i,
|
|
2968
3039
|
getTarget: () => c,
|
|
2969
3040
|
getOptions: () => t,
|
|
2970
3041
|
getContext: () => s,
|
|
2971
|
-
mount: (
|
|
2972
|
-
nt.delete(n),
|
|
2973
|
-
for (const
|
|
2974
|
-
a[
|
|
3042
|
+
mount: (m) => (cn(!!m, "Animation state must be mounted with valid Element"), n = m, nt.set(n, p), h(), () => {
|
|
3043
|
+
nt.delete(n), ri(p);
|
|
3044
|
+
for (const T in a)
|
|
3045
|
+
a[T]();
|
|
2975
3046
|
}),
|
|
2976
3047
|
isMounted: () => !!n
|
|
2977
3048
|
};
|
|
2978
3049
|
return p;
|
|
2979
3050
|
}
|
|
2980
|
-
function
|
|
3051
|
+
function di(t) {
|
|
2981
3052
|
const e = {}, n = [];
|
|
2982
3053
|
for (let i in t) {
|
|
2983
3054
|
const r = t[i];
|
|
2984
3055
|
ct(i) && (ce[i] && (i = ce[i]), n.push(i), i = Le(i));
|
|
2985
3056
|
let a = Array.isArray(r) ? r[0] : r;
|
|
2986
3057
|
const s = ue.get(i);
|
|
2987
|
-
s && (a =
|
|
3058
|
+
s && (a = we(r) ? s.toDefaultUnit(r) : r), e[i] = a;
|
|
2988
3059
|
}
|
|
2989
|
-
return n.length && (e.transform =
|
|
3060
|
+
return n.length && (e.transform = dn(n)), e;
|
|
2990
3061
|
}
|
|
2991
3062
|
var Nt = de ? (t) => t != null && typeof t == "object" && "t" in t : (t) => t instanceof Element;
|
|
2992
3063
|
function it(t, e) {
|
|
@@ -3002,63 +3073,63 @@ function it(t, e) {
|
|
|
3002
3073
|
}
|
|
3003
3074
|
return null;
|
|
3004
3075
|
}
|
|
3005
|
-
function
|
|
3076
|
+
function hi(t, e = Nt, n = Nt) {
|
|
3006
3077
|
const i = ye(t);
|
|
3007
3078
|
return ye(() => it(i(), de ? n : e));
|
|
3008
3079
|
}
|
|
3009
|
-
var
|
|
3080
|
+
var pi = () => {
|
|
3010
3081
|
}, Ft = (t, e) => e();
|
|
3011
|
-
function
|
|
3082
|
+
function gi(t, e) {
|
|
3012
3083
|
const n = Se(t), i = n ? [n] : [];
|
|
3013
3084
|
if (de)
|
|
3014
3085
|
return () => i;
|
|
3015
3086
|
const { onEnter: r = Ft, onExit: a = Ft } = e, [s, o] = L(
|
|
3016
3087
|
e.appear ? [] : i
|
|
3017
|
-
), [u] =
|
|
3088
|
+
), [u] = wn();
|
|
3018
3089
|
let c, d = !1;
|
|
3019
|
-
function
|
|
3090
|
+
function g(p, m) {
|
|
3020
3091
|
if (!p)
|
|
3021
|
-
return
|
|
3092
|
+
return m && m();
|
|
3022
3093
|
d = !0, a(p, () => {
|
|
3023
3094
|
Pe(() => {
|
|
3024
|
-
d = !1, o((
|
|
3095
|
+
d = !1, o((T) => T.filter((A) => A !== p)), m && m();
|
|
3025
3096
|
});
|
|
3026
3097
|
});
|
|
3027
3098
|
}
|
|
3028
|
-
function
|
|
3029
|
-
const
|
|
3030
|
-
if (!
|
|
3099
|
+
function f(p) {
|
|
3100
|
+
const m = c;
|
|
3101
|
+
if (!m)
|
|
3031
3102
|
return p && p();
|
|
3032
|
-
c = void 0, o((
|
|
3103
|
+
c = void 0, o((T) => [m, ...T]), r(m, p ?? pi);
|
|
3033
3104
|
}
|
|
3034
3105
|
const h = e.mode === "out-in" ? (
|
|
3035
3106
|
// exit -> enter
|
|
3036
|
-
(p) => d ||
|
|
3107
|
+
(p) => d || g(p, f)
|
|
3037
3108
|
) : e.mode === "in-out" ? (
|
|
3038
3109
|
// enter -> exit
|
|
3039
|
-
(p) =>
|
|
3110
|
+
(p) => f(() => g(p))
|
|
3040
3111
|
) : (
|
|
3041
3112
|
// exit & enter
|
|
3042
3113
|
(p) => {
|
|
3043
|
-
|
|
3114
|
+
g(p), f();
|
|
3044
3115
|
}
|
|
3045
3116
|
);
|
|
3046
|
-
return
|
|
3117
|
+
return bn(
|
|
3047
3118
|
(p) => {
|
|
3048
|
-
const
|
|
3049
|
-
return Se(u) ? (u(), p) : (
|
|
3119
|
+
const m = t();
|
|
3120
|
+
return Se(u) ? (u(), p) : (m !== p && (c = m, Pe(() => Se(() => h(p)))), m);
|
|
3050
3121
|
},
|
|
3051
3122
|
e.appear ? void 0 : n
|
|
3052
3123
|
), s;
|
|
3053
3124
|
}
|
|
3054
|
-
var
|
|
3125
|
+
var pn = xe(), fi = (t) => {
|
|
3055
3126
|
const [e, n] = L(!0), i = {
|
|
3056
3127
|
initial: t.initial ?? !0,
|
|
3057
3128
|
mount: e
|
|
3058
|
-
}, r = l(
|
|
3129
|
+
}, r = l(pn.Provider, {
|
|
3059
3130
|
value: i,
|
|
3060
3131
|
get children() {
|
|
3061
|
-
return
|
|
3132
|
+
return gi(hi(() => t.children), {
|
|
3062
3133
|
appear: i.initial,
|
|
3063
3134
|
mode: t.exitBeforeEnter ? "out-in" : "parallel",
|
|
3064
3135
|
onExit(a, s) {
|
|
@@ -3076,8 +3147,8 @@ var g1 = xe(), mi = (t) => {
|
|
|
3076
3147
|
});
|
|
3077
3148
|
return i.initial = !0, r;
|
|
3078
3149
|
};
|
|
3079
|
-
function
|
|
3080
|
-
const r =
|
|
3150
|
+
function mi(t, e, n, i) {
|
|
3151
|
+
const r = ui(n?.initial === !1 ? {
|
|
3081
3152
|
...e(),
|
|
3082
3153
|
initial: !1
|
|
3083
3154
|
} : e(), i);
|
|
@@ -3087,12 +3158,12 @@ function _i(t, e, n, i) {
|
|
|
3087
3158
|
V(() => r.update(e())), re(() => {
|
|
3088
3159
|
n && e().exit ? (r.setActive("exit", !0), a.addEventListener("motioncomplete", s)) : s();
|
|
3089
3160
|
});
|
|
3090
|
-
}), [r,
|
|
3161
|
+
}), [r, di(r.getTarget())];
|
|
3091
3162
|
}
|
|
3092
|
-
var
|
|
3093
|
-
const [e, , n] = Bt(t,
|
|
3163
|
+
var _i = ["initial", "animate", "inView", "inViewOptions", "hover", "press", "variants", "transition", "exit"], vi = ["tag"], Ut = xe(), Gt = (t) => {
|
|
3164
|
+
const [e, , n] = Bt(t, _i, vi), [i, r] = mi(() => a, () => ({
|
|
3094
3165
|
...e
|
|
3095
|
-
}), De(
|
|
3166
|
+
}), De(pn), De(Ut));
|
|
3096
3167
|
let a;
|
|
3097
3168
|
return l(Ut.Provider, {
|
|
3098
3169
|
value: i,
|
|
@@ -3105,7 +3176,7 @@ var vi = ["initial", "animate", "inView", "inViewOptions", "hover", "press", "va
|
|
|
3105
3176
|
return t.tag || "div";
|
|
3106
3177
|
},
|
|
3107
3178
|
get style() {
|
|
3108
|
-
return
|
|
3179
|
+
return _1(t.style, r);
|
|
3109
3180
|
}
|
|
3110
3181
|
}));
|
|
3111
3182
|
}
|
|
@@ -3115,17 +3186,17 @@ var vi = ["initial", "animate", "inView", "inViewOptions", "hover", "press", "va
|
|
|
3115
3186
|
tag: e
|
|
3116
3187
|
}))
|
|
3117
3188
|
});
|
|
3118
|
-
function
|
|
3189
|
+
function gn(t) {
|
|
3119
3190
|
var e, n, i = "";
|
|
3120
3191
|
if (typeof t == "string" || typeof t == "number") i += t;
|
|
3121
3192
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
3122
3193
|
var r = t.length;
|
|
3123
|
-
for (e = 0; e < r; e++) t[e] && (n =
|
|
3194
|
+
for (e = 0; e < r; e++) t[e] && (n = gn(t[e])) && (i && (i += " "), i += n);
|
|
3124
3195
|
} else for (n in t) t[n] && (i && (i += " "), i += n);
|
|
3125
3196
|
return i;
|
|
3126
3197
|
}
|
|
3127
3198
|
function ut() {
|
|
3128
|
-
for (var t, e, n = 0, i = "", r = arguments.length; n < r; n++) (t = arguments[n]) && (e =
|
|
3199
|
+
for (var t, e, n = 0, i = "", r = arguments.length; n < r; n++) (t = arguments[n]) && (e = gn(t)) && (i && (i += " "), i += e);
|
|
3129
3200
|
return i;
|
|
3130
3201
|
}
|
|
3131
3202
|
const xt = {
|
|
@@ -3179,53 +3250,53 @@ const xt = {
|
|
|
3179
3250
|
// new stuff
|
|
3180
3251
|
BARCODE_NOT_IN_FRAME: () => "scan_the_barcode"
|
|
3181
3252
|
};
|
|
3182
|
-
var
|
|
3183
|
-
const
|
|
3184
|
-
var e =
|
|
3185
|
-
return
|
|
3253
|
+
var yi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 60"><path fill=#fff fill-rule=evenodd d="M0 6a6 6 0 0 1 6-6h84a6 6 0 0 1 6 6v48a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6zm10.2 7.8c0-1.325 1.11-2.4 2.48-2.4h69.44c1.37 0 2.48 1.075 2.48 2.4s-1.11 2.4-2.48 2.4H12.68c-1.37 0-2.48-1.074-2.48-2.4m70.5 35.4a3.9 3.9 0 1 0 0-7.8 3.9 3.9 0 0 0 0 7.8m-70.5-3c0-1.326 1.098-2.4 2.451-2.4H34.15c1.353 0 2.451 1.075 2.451 2.4s-1.098 2.4-2.451 2.4h-21.5c-1.354 0-2.451-1.075-2.451-2.4Zm2.474-13.8c-1.366 0-2.474 1.075-2.474 2.4 0 1.326 1.108 2.4 2.474 2.4h30.452c1.366 0 2.474-1.075 2.474-2.4s-1.108-2.4-2.474-2.4z"clip-rule=evenodd>');
|
|
3254
|
+
const Ei = (t = {}) => (() => {
|
|
3255
|
+
var e = yi();
|
|
3256
|
+
return F(e, t, !0, !0), e;
|
|
3186
3257
|
})();
|
|
3187
|
-
var
|
|
3258
|
+
var Ti = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 60"><path fill=#fff fill-rule=evenodd d="M6 0a6 6 0 0 0-6 6v48a6 6 0 0 0 6 6h84a6 6 0 0 0 6-6V6a6 6 0 0 0-6-6zm42.671 10.8c-1.365 0-2.471 1.074-2.471 2.4s1.106 2.4 2.471 2.4H82.13c1.365 0 2.471-1.075 2.471-2.4s-1.106-2.4-2.471-2.4zM72 49.2c0-1.326 1.058-2.4 2.364-2.4h7.272c1.306 0 2.364 1.075 2.364 2.4s-1.058 2.4-2.364 2.4h-7.272C73.058 51.6 72 50.525 72 49.2M48.702 33.6c-1.382 0-2.502 1.075-2.502 2.4s1.12 2.4 2.502 2.4h15.396c1.382 0 2.502-1.075 2.502-2.4s-1.12-2.4-2.502-2.4zm-2.502-9c0-1.326 1.106-2.4 2.471-2.4H82.13c1.365 0 2.471 1.075 2.471 2.4S83.494 27 82.129 27H48.67c-1.365 0-2.471-1.075-2.471-2.4M13.265 10.8c-1.693 0-3.065 1.407-3.065 3.144v24.024c0 1.117.569 2.097 1.42 2.653.266.174.59.224.894.138a1.12 1.12 0 0 0 .698-.587c1.385-2.82 3.678-5.021 6.438-6.162.373-.154.637-.504.688-.915.05-.41-.119-.816-.443-1.062a7.23 7.23 0 0 1-2.84-5.78c0-3.962 3.115-7.164 6.945-7.164s6.944 3.203 6.944 7.165a7.23 7.23 0 0 1-2.839 5.78 1.16 1.16 0 0 0-.442 1.061c.05.41.314.76.688.915 2.76 1.14 5.052 3.343 6.437 6.162.142.288.395.501.698.587.304.086.628.036.893-.138a3.16 3.16 0 0 0 1.421-2.653V13.944c0-1.737-1.372-3.144-3.065-3.144z"clip-rule=evenodd>');
|
|
3188
3259
|
const wi = (t = {}) => (() => {
|
|
3189
|
-
var e =
|
|
3190
|
-
return
|
|
3260
|
+
var e = Ti();
|
|
3261
|
+
return F(e, t, !0, !0), e;
|
|
3191
3262
|
})();
|
|
3192
|
-
var
|
|
3193
|
-
const
|
|
3194
|
-
var e =
|
|
3195
|
-
return
|
|
3263
|
+
var bi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96 96"><rect width=96 height=96 fill=#fff rx=48></rect><path fill=#000 d="M44.972 57.46a2 2 0 0 1-1.414-.584l-8.484-8.486a2 2 0 1 1 2.826-2.83l7.07 7.07L57.7 39.904a2 2 0 1 1 2.83 2.828L46.386 56.876a2 2 0 0 1-1.414.584">');
|
|
3264
|
+
const Ai = (t = {}) => (() => {
|
|
3265
|
+
var e = bi();
|
|
3266
|
+
return F(e, t, !0, !0), e;
|
|
3196
3267
|
})();
|
|
3197
|
-
var
|
|
3198
|
-
const
|
|
3199
|
-
var e =
|
|
3200
|
-
return
|
|
3268
|
+
var Oi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 100 100"><path fill=#fff fill-rule=evenodd d="M50 7.692C26.634 7.692 7.692 26.634 7.692 50S26.634 92.308 50 92.308 92.308 73.366 92.308 50 73.366 7.692 50 7.692M0 50C0 22.386 22.386 0 50 0s50 22.386 50 50-22.386 50-50 50S0 77.614 0 50"clip-rule=evenodd opacity=.75></path><circle cx=50 cy=50 r=4 fill=#fff>');
|
|
3269
|
+
const Si = (t = {}) => (() => {
|
|
3270
|
+
var e = Oi();
|
|
3271
|
+
return F(e, t, !0, !0), e;
|
|
3201
3272
|
})();
|
|
3202
|
-
var
|
|
3203
|
-
const
|
|
3204
|
-
var e =
|
|
3205
|
-
return
|
|
3273
|
+
var Mi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 120 76"><path fill=#fff fill-rule=evenodd d="M118 .5H2a2 2 0 0 0-2 2V68a7.5 7.5 0 0 0 7.5 7.5h105A7.5 7.5 0 0 0 120 68V2.5a2 2 0 0 0-2-2m-14.875 18.75h-38.75a3.125 3.125 0 1 0 0 6.25h38.75a3.125 3.125 0 1 0 0-6.25m-38.75 30h17.5a3.125 3.125 0 1 1 0 6.25h-17.5a3.125 3.125 0 1 1 0-6.25m38.75-15h-38.75a3.125 3.125 0 1 0 0 6.25h38.75a3.125 3.125 0 1 0 0-6.25M16.665 15.5c-2.3 0-4.165 1.935-4.165 4.322v33.034a4.36 4.36 0 0 0 1.93 3.648c.36.239.801.307 1.213.19.412-.118.757-.411.95-.807 1.881-3.877 4.997-6.904 8.746-8.473.508-.213.866-.694.935-1.258a1.6 1.6 0 0 0-.602-1.46c-2.34-1.795-3.857-4.685-3.857-7.947 0-5.448 4.231-9.851 9.435-9.851s9.435 4.403 9.435 9.851c0 3.262-1.517 6.152-3.857 7.947-.44.337-.671.896-.602 1.46s.427 1.045.935 1.258c3.75 1.569 6.865 4.596 8.747 8.473.192.396.537.689.949.807.412.117.852.049 1.213-.19A4.36 4.36 0 0 0 50 52.857V19.822c0-2.387-1.864-4.322-4.164-4.322z"clip-rule=evenodd>');
|
|
3274
|
+
const Ci = (t = {}) => (() => {
|
|
3275
|
+
var e = Mi();
|
|
3276
|
+
return F(e, t, !0, !0), e;
|
|
3206
3277
|
})();
|
|
3207
|
-
var
|
|
3208
|
-
const
|
|
3209
|
-
var e =
|
|
3210
|
-
return
|
|
3278
|
+
var Ri = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 144 86"><path stroke=#fff stroke-linecap=round stroke-linejoin=round stroke-width=4 d="M9.119 2H2v7.119M134.883 2h7.118v7.119M134.883 83.865h7.118v-7.119M9.119 83.865H2v-7.119">');
|
|
3279
|
+
const Di = (t = {}) => (() => {
|
|
3280
|
+
var e = Ri();
|
|
3281
|
+
return F(e, t, !0, !0), e;
|
|
3211
3282
|
})();
|
|
3212
|
-
var
|
|
3213
|
-
const
|
|
3214
|
-
var e =
|
|
3215
|
-
return
|
|
3283
|
+
var Pi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 120 75"><path fill=#fff fill-rule=evenodd d="M6 0a6 6 0 0 0-6 6v67a2 2 0 0 0 2 2h116a2 2 0 0 0 2-2V6a6 6 0 0 0-6-6zm82.125 56.25h15a3.125 3.125 0 1 1 0 6.25h-15a3.125 3.125 0 1 1 0-6.25m-32.5-42.5h-40a3.125 3.125 0 1 0 0 6.25h40a3.125 3.125 0 1 0 0-6.25m-40 12.5h25a3.125 3.125 0 1 1 0 6.25h-25a3.125 3.125 0 1 1 0-6.25"clip-rule=evenodd>');
|
|
3284
|
+
const ki = (t = {}) => (() => {
|
|
3285
|
+
var e = Pi();
|
|
3286
|
+
return F(e, t, !0, !0), e;
|
|
3216
3287
|
})();
|
|
3217
|
-
var
|
|
3218
|
-
const
|
|
3219
|
-
var e =
|
|
3220
|
-
return
|
|
3288
|
+
var Ii = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 100 100"><path fill=#fff fill-rule=evenodd d="M67.122 11.998a42.16 42.16 0 0 0-34.244 0l-3.397-7.644a50.52 50.52 0 0 1 41.038 0zm-55.124 20.88a42.16 42.16 0 0 0 0 34.244l-7.644 3.397a50.52 50.52 0 0 1 0-41.038zm76.004 34.244a42.16 42.16 0 0 0 0-34.244l7.644-3.397a50.52 50.52 0 0 1 0 41.038zm-55.124 20.88a42.16 42.16 0 0 0 34.244 0l3.397 7.644a50.52 50.52 0 0 1-41.038 0z"clip-rule=evenodd opacity=.75></path><circle cx=50 cy=50 r=4 fill=#fff>');
|
|
3289
|
+
const Ni = (t = {}) => (() => {
|
|
3290
|
+
var e = Ii();
|
|
3291
|
+
return F(e, t, !0, !0), e;
|
|
3221
3292
|
})();
|
|
3222
|
-
var
|
|
3223
|
-
const
|
|
3224
|
-
var e =
|
|
3225
|
-
return
|
|
3293
|
+
var Fi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 101 100"><path fill=#fff fill-rule=evenodd d="M50.301 7.692C26.935 7.692 7.994 26.634 7.994 50S26.935 92.308 50.3 92.308 92.61 73.366 92.61 50 73.667 7.692 50.301 7.692M.301 50c0-27.614 22.386-50 50-50s50 22.386 50 50-22.386 50-50 50-50-22.386-50-50"clip-rule=evenodd opacity=.3></path><circle cx=50.3 cy=50 r=4 fill=#fff></circle><path fill=#fff fill-rule=evenodd d="M29.148 13.36C8.912 25.043 1.977 50.918 13.662 71.154L7 75C-6.807 51.085 1.387 20.506 25.301 6.699z"clip-rule=evenodd>');
|
|
3294
|
+
const Ui = (t = {}) => (() => {
|
|
3295
|
+
var e = Fi();
|
|
3296
|
+
return F(e, t, !0, !0), e;
|
|
3226
3297
|
})();
|
|
3227
|
-
var
|
|
3228
|
-
const
|
|
3298
|
+
var Gi = /* @__PURE__ */ _('<div class="absolute left-0 top-0 grid size-full select-none place-items-center contain-strict overflow-hidden"><div><div class=size-24><div class="relative size-full grid place-items-center"aria-hidden=true>'), fn = /* @__PURE__ */ _('<div class="absolute perspective-300px bottom-0">'), xi = /* @__PURE__ */ _("<div class=relative>"), Li = /* @__PURE__ */ _("<div>"), Hi = /* @__PURE__ */ _('<div class="absolute left-0 mt-3 w-full flex justify-center p-inline-4"aria-live=polite aria-atomic=true>');
|
|
3299
|
+
const zi = (t) => {
|
|
3229
3300
|
const e = () => t.uiState.key === "MOVE_TOP" || t.uiState.key === "MOVE_LEFT" || t.uiState.key === "MOVE_RIGHT", n = () => t.uiState.key === "DOCUMENT_CAPTURED" || t.uiState.key === "PAGE_CAPTURED", i = () => {
|
|
3230
3301
|
switch (t.uiState.key) {
|
|
3231
3302
|
case "MOVE_TOP":
|
|
@@ -3239,50 +3310,50 @@ const $i = (t) => {
|
|
|
3239
3310
|
}
|
|
3240
3311
|
};
|
|
3241
3312
|
return (() => {
|
|
3242
|
-
var r =
|
|
3243
|
-
return
|
|
3313
|
+
var r = Gi(), a = r.firstChild, s = a.firstChild, o = s.firstChild;
|
|
3314
|
+
return S(o, l(Vt, {
|
|
3244
3315
|
get children() {
|
|
3245
3316
|
return [l(K, {
|
|
3246
3317
|
get when() {
|
|
3247
3318
|
return t.uiState.reticleType === "searching";
|
|
3248
3319
|
},
|
|
3249
3320
|
get children() {
|
|
3250
|
-
return l(
|
|
3321
|
+
return l(Ki, {});
|
|
3251
3322
|
}
|
|
3252
3323
|
}), l(K, {
|
|
3253
3324
|
get when() {
|
|
3254
3325
|
return t.uiState.reticleType === "processing";
|
|
3255
3326
|
},
|
|
3256
3327
|
get children() {
|
|
3257
|
-
return l(
|
|
3328
|
+
return l(ji, {});
|
|
3258
3329
|
}
|
|
3259
3330
|
}), l(K, {
|
|
3260
3331
|
get when() {
|
|
3261
3332
|
return t.uiState.reticleType === "error";
|
|
3262
3333
|
},
|
|
3263
3334
|
get children() {
|
|
3264
|
-
return l(
|
|
3335
|
+
return l(Wi, {});
|
|
3265
3336
|
}
|
|
3266
3337
|
}), l(K, {
|
|
3267
3338
|
get when() {
|
|
3268
3339
|
return n();
|
|
3269
3340
|
},
|
|
3270
3341
|
get children() {
|
|
3271
|
-
return l(
|
|
3342
|
+
return l($i, {});
|
|
3272
3343
|
}
|
|
3273
3344
|
}), l(K, {
|
|
3274
3345
|
get when() {
|
|
3275
3346
|
return t.uiState.reticleType === "flip";
|
|
3276
3347
|
},
|
|
3277
3348
|
get children() {
|
|
3278
|
-
return l(
|
|
3349
|
+
return l(Bi, {});
|
|
3279
3350
|
}
|
|
3280
3351
|
}), l(K, {
|
|
3281
3352
|
get when() {
|
|
3282
3353
|
return e();
|
|
3283
3354
|
},
|
|
3284
3355
|
get children() {
|
|
3285
|
-
return l(
|
|
3356
|
+
return l(Vi, {
|
|
3286
3357
|
get direction() {
|
|
3287
3358
|
return i();
|
|
3288
3359
|
},
|
|
@@ -3293,7 +3364,7 @@ const $i = (t) => {
|
|
|
3293
3364
|
}
|
|
3294
3365
|
})];
|
|
3295
3366
|
}
|
|
3296
|
-
})),
|
|
3367
|
+
})), S(a, l(qi, {
|
|
3297
3368
|
get uiState() {
|
|
3298
3369
|
return t.uiState;
|
|
3299
3370
|
},
|
|
@@ -3302,7 +3373,7 @@ const $i = (t) => {
|
|
|
3302
3373
|
}
|
|
3303
3374
|
}), null), r;
|
|
3304
3375
|
})();
|
|
3305
|
-
},
|
|
3376
|
+
}, $i = () => l(B, {
|
|
3306
3377
|
initial: {
|
|
3307
3378
|
opacity: 0,
|
|
3308
3379
|
scale: 0.5
|
|
@@ -3320,15 +3391,15 @@ const $i = (t) => {
|
|
|
3320
3391
|
scale: 5
|
|
3321
3392
|
},
|
|
3322
3393
|
get children() {
|
|
3323
|
-
return l(
|
|
3394
|
+
return l(Ai, {
|
|
3324
3395
|
class: "[&>path]:fill-[initial] size-24 drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
|
|
3325
3396
|
});
|
|
3326
3397
|
}
|
|
3327
|
-
}),
|
|
3398
|
+
}), Bi = () => {
|
|
3328
3399
|
const t = "backface-hidden drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]";
|
|
3329
3400
|
return (() => {
|
|
3330
|
-
var e =
|
|
3331
|
-
return
|
|
3401
|
+
var e = fn();
|
|
3402
|
+
return S(e, l(B, {
|
|
3332
3403
|
class: "relative preserve-3d w-24",
|
|
3333
3404
|
initial: {
|
|
3334
3405
|
opacity: 0
|
|
@@ -3353,7 +3424,7 @@ const $i = (t) => {
|
|
|
3353
3424
|
get children() {
|
|
3354
3425
|
return [l(wi, {
|
|
3355
3426
|
class: t
|
|
3356
|
-
}), l(
|
|
3427
|
+
}), l(Ei, {
|
|
3357
3428
|
get class() {
|
|
3358
3429
|
return ut(t, "absolute top-0 left-0 w-full transform rotate-y-180");
|
|
3359
3430
|
}
|
|
@@ -3361,7 +3432,7 @@ const $i = (t) => {
|
|
|
3361
3432
|
}
|
|
3362
3433
|
})), e;
|
|
3363
3434
|
})();
|
|
3364
|
-
},
|
|
3435
|
+
}, Vi = (t) => {
|
|
3365
3436
|
const e = () => {
|
|
3366
3437
|
switch (t.direction) {
|
|
3367
3438
|
case "top":
|
|
@@ -3373,8 +3444,8 @@ const $i = (t) => {
|
|
|
3373
3444
|
}
|
|
3374
3445
|
};
|
|
3375
3446
|
return (() => {
|
|
3376
|
-
var n =
|
|
3377
|
-
return
|
|
3447
|
+
var n = fn();
|
|
3448
|
+
return S(n, l(B, {
|
|
3378
3449
|
class: "relative",
|
|
3379
3450
|
initial: {
|
|
3380
3451
|
opacity: 0
|
|
@@ -3389,8 +3460,8 @@ const $i = (t) => {
|
|
|
3389
3460
|
duration: 0.3
|
|
3390
3461
|
},
|
|
3391
3462
|
get children() {
|
|
3392
|
-
var i =
|
|
3393
|
-
return
|
|
3463
|
+
var i = xi();
|
|
3464
|
+
return S(i, l(B, {
|
|
3394
3465
|
class: "w-24",
|
|
3395
3466
|
initial: {
|
|
3396
3467
|
opacity: 0.3
|
|
@@ -3405,11 +3476,11 @@ const $i = (t) => {
|
|
|
3405
3476
|
};
|
|
3406
3477
|
},
|
|
3407
3478
|
get children() {
|
|
3408
|
-
return l(
|
|
3479
|
+
return l(ki, {
|
|
3409
3480
|
class: "[&>path]:fill-[currentColor] drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
|
|
3410
3481
|
});
|
|
3411
3482
|
}
|
|
3412
|
-
}), null),
|
|
3483
|
+
}), null), S(i, l(B, {
|
|
3413
3484
|
class: "w-24",
|
|
3414
3485
|
initial: {
|
|
3415
3486
|
opacity: 1
|
|
@@ -3424,11 +3495,11 @@ const $i = (t) => {
|
|
|
3424
3495
|
};
|
|
3425
3496
|
},
|
|
3426
3497
|
get children() {
|
|
3427
|
-
return l(
|
|
3498
|
+
return l(Ci, {
|
|
3428
3499
|
class: "[&>path]:fill-[currentColor] drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
|
|
3429
3500
|
});
|
|
3430
3501
|
}
|
|
3431
|
-
}), null),
|
|
3502
|
+
}), null), S(i, l(B, {
|
|
3432
3503
|
class: "absolute bottom-0 w-full",
|
|
3433
3504
|
initial: {
|
|
3434
3505
|
y: "0"
|
|
@@ -3443,7 +3514,7 @@ const $i = (t) => {
|
|
|
3443
3514
|
};
|
|
3444
3515
|
},
|
|
3445
3516
|
get children() {
|
|
3446
|
-
return l(
|
|
3517
|
+
return l(Di, {
|
|
3447
3518
|
class: "scale-130"
|
|
3448
3519
|
});
|
|
3449
3520
|
}
|
|
@@ -3470,7 +3541,7 @@ const $i = (t) => {
|
|
|
3470
3541
|
get children() {
|
|
3471
3542
|
return t.children;
|
|
3472
3543
|
}
|
|
3473
|
-
}),
|
|
3544
|
+
}), Ki = () => l(dt, {
|
|
3474
3545
|
type: "searching",
|
|
3475
3546
|
get children() {
|
|
3476
3547
|
return l(B, {
|
|
@@ -3487,20 +3558,20 @@ const $i = (t) => {
|
|
|
3487
3558
|
}
|
|
3488
3559
|
},
|
|
3489
3560
|
get children() {
|
|
3490
|
-
return l(
|
|
3561
|
+
return l(Ni, {
|
|
3491
3562
|
class: "size-12"
|
|
3492
3563
|
});
|
|
3493
3564
|
}
|
|
3494
3565
|
});
|
|
3495
3566
|
}
|
|
3496
|
-
}),
|
|
3567
|
+
}), Wi = () => l(dt, {
|
|
3497
3568
|
type: "error",
|
|
3498
3569
|
get children() {
|
|
3499
|
-
return l(
|
|
3570
|
+
return l(Si, {
|
|
3500
3571
|
class: "size-12"
|
|
3501
3572
|
});
|
|
3502
3573
|
}
|
|
3503
|
-
}),
|
|
3574
|
+
}), ji = () => l(dt, {
|
|
3504
3575
|
type: "processing",
|
|
3505
3576
|
get children() {
|
|
3506
3577
|
return l(B, {
|
|
@@ -3516,13 +3587,13 @@ const $i = (t) => {
|
|
|
3516
3587
|
}
|
|
3517
3588
|
},
|
|
3518
3589
|
get children() {
|
|
3519
|
-
return l(
|
|
3590
|
+
return l(Ui, {
|
|
3520
3591
|
class: "size-12"
|
|
3521
3592
|
});
|
|
3522
3593
|
}
|
|
3523
3594
|
});
|
|
3524
3595
|
}
|
|
3525
|
-
}),
|
|
3596
|
+
}), qi = (t) => {
|
|
3526
3597
|
const {
|
|
3527
3598
|
t: e
|
|
3528
3599
|
} = he(), n = () => {
|
|
@@ -3531,11 +3602,11 @@ const $i = (t) => {
|
|
|
3531
3602
|
return xt[r]?.(t.isDesktop);
|
|
3532
3603
|
}, i = () => t.uiState.key === "DOCUMENT_CAPTURED" || t.uiState.key === "PAGE_CAPTURED";
|
|
3533
3604
|
return (() => {
|
|
3534
|
-
var r =
|
|
3535
|
-
return
|
|
3605
|
+
var r = Hi();
|
|
3606
|
+
return S(r, l(fi, {
|
|
3536
3607
|
exitBeforeEnter: !0,
|
|
3537
3608
|
get children() {
|
|
3538
|
-
return l(
|
|
3609
|
+
return l(f1, {
|
|
3539
3610
|
on: () => t.uiState.key,
|
|
3540
3611
|
get children() {
|
|
3541
3612
|
return l(W, {
|
|
@@ -3566,8 +3637,8 @@ const $i = (t) => {
|
|
|
3566
3637
|
return ut("max-w-45 text-base gap-1 rounded-2 bg-gray-550/90 px-2 py-3 text-center text-balance text-white font-bold text-shadow-[0_1px_4px_rgba(0,0,0,0.1)] backdrop-blur-xl will-change-transform", i() && "sr-only");
|
|
3567
3638
|
},
|
|
3568
3639
|
get children() {
|
|
3569
|
-
var a =
|
|
3570
|
-
return
|
|
3640
|
+
var a = Li();
|
|
3641
|
+
return S(a, () => e[n()]), a;
|
|
3571
3642
|
}
|
|
3572
3643
|
});
|
|
3573
3644
|
}
|
|
@@ -3578,16 +3649,16 @@ const $i = (t) => {
|
|
|
3578
3649
|
})), r;
|
|
3579
3650
|
})();
|
|
3580
3651
|
};
|
|
3581
|
-
var
|
|
3582
|
-
const
|
|
3583
|
-
var e =
|
|
3584
|
-
return
|
|
3652
|
+
var Qi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 250 35"><g fill=#0062F2 clip-path=url(#a)><path fill-rule=evenodd d="m30.827 6.401 4.006 9.975a3.44 3.44 0 0 1-.03 2.648l-4.24 9.882a3.46 3.46 0 0 1-1.896 1.848l-10.003 3.998a3.47 3.47 0 0 1-2.651-.03L6.107 30.49a3.46 3.46 0 0 1-1.852-1.892L.249 18.621a3.45 3.45 0 0 1 .03-2.645l4.24-9.883a3.46 3.46 0 0 1 1.896-1.848L16.417.248a3.47 3.47 0 0 1 2.652.03l9.905 4.23a3.46 3.46 0 0 1 1.853 1.893m-5.763 17.945c.771-.396 1.612-.827 2.534-1.331 1.52-.826 2.624-2.255 2.905-3.561.308-1.32-.213-2.516-1.256-3.172-2.383-1.523-3.362-3.42-4.842-6.291-.397-.769-.83-1.607-1.334-2.526-.824-1.517-2.256-2.621-3.565-2.898-1.323-.308-2.522.211-3.18 1.253-1.526 2.376-3.428 3.352-6.304 4.829-.77.395-1.611.827-2.534 1.33-1.52.828-2.626 2.256-2.905 3.563-.308 1.318.212 2.516 1.256 3.171 2.383 1.523 3.362 3.42 4.842 6.291.397.769.829 1.607 1.334 2.526.824 1.517 2.256 2.621 3.565 2.898 1.323.308 2.522-.21 3.18-1.252 1.526-2.378 3.428-3.354 6.304-4.83"clip-rule=evenodd></path><path d="M62.466 23.715 55.704 6.373H51.2v22.57h3.073V11.192l7.007 17.846h2.242l7.07-18.005v17.91h3.168V6.373h-4.534zM83.133 6.373h-3.325v22.57h3.324zM127.593 17.637a7.42 7.42 0 0 0 1.38-4.363c0-1.847-.795-3.57-2.24-4.853-1.49-1.32-3.561-2.045-5.84-2.045h-9.178v22.57h3.325v-8.072h5.385l4.698 8.069h3.946l-5.027-8.624a7.66 7.66 0 0 0 3.551-2.682m-2.008-4.331a4.5 4.5 0 0 1-.323 1.729 4.4 4.4 0 0 1-.961 1.464c-.846.845-2.034 1.31-3.344 1.31h-5.921V9.471h5.921c2.638 0 4.628 1.648 4.628 3.835M143.07 5.991c-3.121 0-5.934 1.224-7.934 3.445-1.924 2.142-2.984 5.062-2.984 8.221 0 3.16 1.06 6.095 2.984 8.234 1.993 2.214 4.81 3.43 7.934 3.43 3.137 0 5.965-1.22 7.961-3.43 1.927-2.136 2.988-5.06 2.988-8.234 0-3.173-1.061-6.08-2.987-8.22-2.001-2.225-4.828-3.446-7.962-3.446m0 20.17a7 7 0 0 1-2.969-.646 7.1 7.1 0 0 1-2.433-1.846c-1.372-1.58-2.127-3.716-2.127-6.012s.755-4.415 2.127-6c1.397-1.615 3.315-2.504 5.402-2.504s4.013.889 5.418 2.505c1.381 1.59 2.143 3.718 2.143 6 0 2.28-.761 4.428-2.143 6.011a7.2 7.2 0 0 1-2.442 1.845c-.935.43-1.95.651-2.976.648M172.244 17.103c1.939-1.087 3.091-2.995 3.091-5.132 0-3.296-2.885-5.598-7.006-5.598h-9.75v22.57h10.22c4.06 0 7.006-2.743 7.006-6.521.003-2.267-1.358-4.29-3.561-5.319m-3.348 8.742h-6.994v-7.003h6.518c2.39 0 3.998 1.3 3.998 3.232.002 2.29-1.382 3.77-3.522 3.77m-.852-10.04h-6.142V9.472h6.518c2.143 0 3.524 1.13 3.524 2.882.003 1.72-1.204 3.453-3.9 3.453zM183.92 6.373h-3.326v22.57h14.551V25.78H183.92zM202.18 6.373h-3.326v22.57h3.326zM223.067 23.071 211.48 6.443l-.05-.07h-3.214v22.57h3.136V11.418l12.205 17.525h2.646V6.373h-3.136zM241.061 16.303l8.702-9.93h-4.068L235.56 17.918V6.373h-3.326v22.57h3.326V22.39l3.226-3.641 7.182 10.193H250zM104.791 21.307c-1.483 3.425-3.386 4.887-6.377 4.887-2.043 0-3.915-.886-5.27-2.494-1.334-1.584-2.07-3.73-2.07-6.043 0-2.295.72-4.427 2.023-6.003 1.336-1.613 3.19-2.501 5.224-2.501 2.754 0 4.768 1.393 6.158 4.258l.059.122h3.479l-.016-.098c-.083-.476-.254-.92-.42-1.357l-.053-.141a9.3 9.3 0 0 0-3.561-4.367c-1.603-1.048-3.535-1.579-5.741-1.579-3.017 0-5.739 1.224-7.666 3.448-1.853 2.14-2.874 5.059-2.874 8.218 0 3.202 1.026 6.134 2.89 8.255 1.963 2.233 4.65 3.412 7.775 3.412 2.189 0 4.113-.575 5.718-1.71q.406-.286.777-.615c1.628-1.437 2.861-3.481 3.297-5.468l.011-.052q.023-.103.039-.206l.017-.098h-3.366z"></path></g><defs><clipPath id=a><path fill=#fff d="M0 0h250v35H0z">');
|
|
3653
|
+
const Yi = (t = {}) => (() => {
|
|
3654
|
+
var e = Qi();
|
|
3655
|
+
return F(e, t, !0, !0), e;
|
|
3585
3656
|
})();
|
|
3586
|
-
var
|
|
3587
|
-
const
|
|
3588
|
-
var e =
|
|
3589
|
-
return
|
|
3590
|
-
})(),
|
|
3657
|
+
var Xi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 95 28"><path fill=#fff d="M25.088 7.572c1.314 0 2.178-.891 2.178-2.16 0-1.287-.855-2.151-2.178-2.151h-2.601V9.84h1.152V7.572zm-.225-3.285c.765 0 1.197.396 1.197 1.116s-.423 1.143-1.215 1.143h-1.206v-2.26zM27.772 7.608c0 1.386.999 2.34 2.376 2.34s2.376-.954 2.376-2.34-.999-2.34-2.376-2.34-2.376.954-2.376 2.34m1.098 0c0-.81.522-1.36 1.278-1.36s1.278.55 1.278 1.36-.522 1.359-1.278 1.359-1.278-.55-1.278-1.36M34.336 9.84h1.07l.613-1.908c.225-.73.306-1.044.35-1.251.037.225.136.648.316 1.233l.612 1.926h1.026l1.539-4.446H38.7l-.594 1.908c-.081.279-.225.81-.297 1.143a16 16 0 0 0-.288-1.143l-.594-1.908h-1.116L35.2 7.302c-.144.44-.225.72-.306 1.152a15 15 0 0 0-.27-1.152l-.585-1.908h-1.143zM42.476 9.957c1.16 0 1.97-.585 2.16-1.557h-1.017c-.126.423-.522.657-1.125.657-.73 0-1.143-.396-1.224-1.18l3.348-.008v-.333c0-1.386-.846-2.277-2.178-2.277-1.305 0-2.214.963-2.214 2.358 0 1.377.927 2.34 2.25 2.34m-.027-3.798c.657 0 1.08.405 1.08 1.017h-2.232c.108-.666.504-1.017 1.152-1.017M48.467 5.376a2 2 0 0 0-.486-.063c-.595 0-1.017.297-1.206.738l-.063-.648h-1.036V9.84h1.099V7.68c0-.864.495-1.287 1.287-1.287h.405zM51.23 9.957c1.16 0 1.97-.585 2.16-1.557h-1.018c-.126.423-.522.657-1.125.657-.729 0-1.143-.396-1.224-1.18l3.348-.008v-.333c0-1.386-.846-2.277-2.178-2.277-1.305 0-2.214.963-2.214 2.358 0 1.377.927 2.34 2.25 2.34m-.028-3.798c.657 0 1.08.405 1.08 1.017H50.05c.108-.666.504-1.017 1.152-1.017M56.257 9.957c.675 0 1.251-.297 1.521-.81l.072.693h1.008V3.144h-1.089V5.96c-.279-.441-.828-.702-1.449-.702-1.341 0-2.151.99-2.151 2.376 0 1.377.801 2.322 2.088 2.322m.243-1.008c-.765 0-1.233-.558-1.233-1.35s.468-1.36 1.233-1.36 1.26.559 1.26 1.36c0 .8-.495 1.35-1.26 1.35M63.805 9.84l.072-.693c.261.513.828.81 1.494.81 1.278 0 2.115-.945 2.115-2.313 0-1.404-.774-2.394-2.043-2.394-.675 0-1.269.297-1.557.792V3.144h-1.098V9.84zm.09-2.241c0-.801.495-1.36 1.251-1.36.774 0 1.233.568 1.233 1.36s-.459 1.35-1.233 1.35c-.756 0-1.25-.55-1.25-1.35M67.986 11.9c.243.064.513.1.82.1.728 0 1.196-.342 1.53-1.17l2.177-5.436H71.38l-1.206 3.24-1.143-3.24h-1.16l1.79 4.635-.126.333c-.189.522-.459.62-.89.62h-.658z"></path><g fill=#fff clip-path=url(#a)><path d="m9.816 23.595-2.89-7.432H5v9.673h1.314v-7.608l2.996 7.649h.958l3.023-7.717v7.676h1.355v-9.673h-1.939zM18.653 16.163H17.23v9.673h1.422zM37.663 20.991a3.2 3.2 0 0 0 .59-1.87c0-.791-.34-1.53-.958-2.08-.637-.565-1.523-.876-2.497-.876h-3.924v9.673h1.421v-3.46h2.303l2.009 3.459h1.687l-2.15-3.696a3.3 3.3 0 0 0 1.519-1.15m-.86-1.856a1.93 1.93 0 0 1-.548 1.369c-.362.362-.87.561-1.43.561h-2.532v-3.573h2.532c1.128 0 1.979.706 1.979 1.643M44.28 16c-1.334 0-2.537.525-3.392 1.477-.822.918-1.276 2.169-1.276 3.523s.453 2.612 1.276 3.529c.852.948 2.057 1.47 3.392 1.47 1.341 0 2.55-.523 3.404-1.47.824-.916 1.278-2.17 1.278-3.53s-.454-2.605-1.278-3.522C46.83 16.523 45.62 16 44.28 16m0 8.645a3 3 0 0 1-1.27-.278 3.05 3.05 0 0 1-1.04-.79c-.586-.678-.909-1.593-.909-2.577s.323-1.892.91-2.572a3.02 3.02 0 0 1 2.31-1.073c.892 0 1.715.381 2.316 1.074.59.68.916 1.593.916 2.57 0 .979-.325 1.899-.916 2.578a3.1 3.1 0 0 1-1.044.79c-.4.184-.834.28-1.273.278M56.754 20.762c.83-.466 1.322-1.284 1.322-2.2 0-1.412-1.233-2.399-2.995-2.399h-4.17v9.673h4.37c1.736 0 2.996-1.175 2.996-2.795.001-.97-.581-1.838-1.523-2.279m-1.431 3.746h-2.99v-3h2.786c1.022 0 1.71.556 1.71 1.384 0 .982-.591 1.616-1.506 1.616m-.364-4.302h-2.627V17.49h2.787c.916 0 1.507.485 1.507 1.236.001.736-.515 1.48-1.667 1.48zM61.746 16.163h-1.422v9.673h6.222v-1.355h-4.8zM69.554 16.163h-1.422v9.673h1.422zM78.484 23.32l-4.954-7.127-.021-.03h-1.375v9.673h1.341v-7.51l5.219 7.51h1.131v-9.673h-1.34zM86.178 20.419l3.72-4.256H88.16l-4.333 4.948v-4.948h-1.422v9.673h1.422v-2.808l1.38-1.56 3.07 4.368H90zM27.913 22.564c-.634 1.468-1.448 2.094-2.726 2.094-.874 0-1.674-.38-2.253-1.069-.571-.678-.885-1.598-.885-2.59 0-.983.307-1.896.864-2.572.571-.691 1.364-1.072 2.234-1.072 1.177 0 2.039.597 2.633 1.825l.025.052h1.488l-.007-.042c-.036-.204-.109-.394-.18-.581l-.023-.06a3.98 3.98 0 0 0-1.522-1.872c-.685-.45-1.511-.677-2.455-.677-1.29 0-2.453.525-3.277 1.478-.793.917-1.23 2.168-1.23 3.522 0 1.372.44 2.628 1.237 3.538.839.956 1.988 1.462 3.324 1.462.936 0 1.758-.247 2.445-.733q.173-.123.332-.264c.696-.616 1.223-1.491 1.41-2.343l.004-.022q.01-.045.017-.089l.007-.041h-1.439z"></path></g><defs><clipPath id=a><path fill=#fff d="M5 16h85v10H5z">');
|
|
3658
|
+
const Zi = (t = {}) => (() => {
|
|
3659
|
+
var e = Xi();
|
|
3660
|
+
return F(e, t, !0, !0), e;
|
|
3661
|
+
})(), mn = xe(), Ji = (t) => {
|
|
3591
3662
|
const [e, n] = Kt({});
|
|
3592
3663
|
n({
|
|
3593
3664
|
/* eslint-disable solid/reactivity */
|
|
@@ -3609,7 +3680,7 @@ const Ji = (t = {}) => (() => {
|
|
|
3609
3680
|
};
|
|
3610
3681
|
return re(() => {
|
|
3611
3682
|
console.debug("BlinkIdUiStoreProvider cleanup");
|
|
3612
|
-
}), l(
|
|
3683
|
+
}), l(mn.Provider, {
|
|
3613
3684
|
value: i,
|
|
3614
3685
|
get children() {
|
|
3615
3686
|
return t.children;
|
|
@@ -3617,14 +3688,14 @@ const Ji = (t = {}) => (() => {
|
|
|
3617
3688
|
});
|
|
3618
3689
|
};
|
|
3619
3690
|
function Ae() {
|
|
3620
|
-
const t = De(
|
|
3691
|
+
const t = De(mn);
|
|
3621
3692
|
if (!t)
|
|
3622
3693
|
throw new Error("BlinkIdUiStoreContext.Provider not in scope");
|
|
3623
3694
|
return t;
|
|
3624
3695
|
}
|
|
3625
3696
|
const Lt = () => {
|
|
3626
|
-
},
|
|
3627
|
-
function
|
|
3697
|
+
}, er = (t) => t != null, tr = (t) => t.filter(er), nr = (t) => typeof t == "function" && !t.length ? t() : t, ir = (t) => Array.isArray(t) ? t : t ? [t] : [];
|
|
3698
|
+
function rr(t, e, n, i) {
|
|
3628
3699
|
const r = t.length, a = e.length;
|
|
3629
3700
|
let s = 0;
|
|
3630
3701
|
if (!a) {
|
|
@@ -3646,7 +3717,7 @@ function ar(t, e, n, i) {
|
|
|
3646
3717
|
for (u of t)
|
|
3647
3718
|
e.includes(u) || n(u);
|
|
3648
3719
|
}
|
|
3649
|
-
function
|
|
3720
|
+
function ar(t, e) {
|
|
3650
3721
|
if (de)
|
|
3651
3722
|
return { observe: Lt, unobserve: Lt };
|
|
3652
3723
|
const n = new ResizeObserver(t);
|
|
@@ -3655,30 +3726,30 @@ function sr(t, e) {
|
|
|
3655
3726
|
unobserve: n.unobserve.bind(n)
|
|
3656
3727
|
};
|
|
3657
3728
|
}
|
|
3658
|
-
function
|
|
3729
|
+
function sr(t, e, n) {
|
|
3659
3730
|
if (de)
|
|
3660
3731
|
return;
|
|
3661
|
-
const i = /* @__PURE__ */ new WeakMap(), { observe: r, unobserve: a } =
|
|
3732
|
+
const i = /* @__PURE__ */ new WeakMap(), { observe: r, unobserve: a } = ar((s) => {
|
|
3662
3733
|
for (const o of s) {
|
|
3663
|
-
const { contentRect: u, target: c } = o, d = Math.round(u.width),
|
|
3664
|
-
(!
|
|
3734
|
+
const { contentRect: u, target: c } = o, d = Math.round(u.width), g = Math.round(u.height), f = i.get(c);
|
|
3735
|
+
(!f || f.width !== d || f.height !== g) && (e(u, c, o), i.set(c, { width: d, height: g }));
|
|
3665
3736
|
}
|
|
3666
3737
|
}, n);
|
|
3667
3738
|
V((s) => {
|
|
3668
|
-
const o =
|
|
3669
|
-
return
|
|
3739
|
+
const o = tr(ir(nr(t)));
|
|
3740
|
+
return rr(o, s, r, a), o;
|
|
3670
3741
|
}, []);
|
|
3671
3742
|
}
|
|
3672
|
-
var
|
|
3673
|
-
const
|
|
3674
|
-
var e =
|
|
3675
|
-
return
|
|
3743
|
+
var or = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 14 14"><path fill=#000 fill-rule=evenodd d="M13.707 1.707A1 1 0 0 0 12.293.293L7 5.586 1.707.293A1 1 0 0 0 .293 1.707L5.586 7 .293 12.293a1 1 0 1 0 1.414 1.414L7 8.414l5.293 5.293a1 1 0 0 0 1.414-1.414L8.414 7z"clip-rule=evenodd>');
|
|
3744
|
+
const lr = (t = {}) => (() => {
|
|
3745
|
+
var e = or();
|
|
3746
|
+
return F(e, t, !0, !0), e;
|
|
3676
3747
|
})(), We = Symbol("fallback");
|
|
3677
3748
|
function Ht(t) {
|
|
3678
3749
|
for (const e of t)
|
|
3679
3750
|
e.dispose();
|
|
3680
3751
|
}
|
|
3681
|
-
function
|
|
3752
|
+
function cr(t, e, n, i = {}) {
|
|
3682
3753
|
if (de) {
|
|
3683
3754
|
const s = t();
|
|
3684
3755
|
let o = [];
|
|
@@ -3691,24 +3762,24 @@ function ur(t, e, n, i = {}) {
|
|
|
3691
3762
|
const r = /* @__PURE__ */ new Map();
|
|
3692
3763
|
return re(() => Ht(r.values())), () => {
|
|
3693
3764
|
const s = t() || [];
|
|
3694
|
-
return s[
|
|
3765
|
+
return s[An], Se(() => {
|
|
3695
3766
|
if (!s.length)
|
|
3696
|
-
return Ht(r.values()), r.clear(), i.fallback ? [qe((
|
|
3767
|
+
return Ht(r.values()), r.clear(), i.fallback ? [qe((g) => (r.set(We, { dispose: g }), i.fallback()))] : [];
|
|
3697
3768
|
const o = new Array(s.length), u = r.get(We);
|
|
3698
3769
|
if (!r.size || u) {
|
|
3699
3770
|
u?.dispose(), r.delete(We);
|
|
3700
3771
|
for (let d = 0; d < s.length; d++) {
|
|
3701
|
-
const
|
|
3702
|
-
a(o,
|
|
3772
|
+
const g = s[d], f = e(g, d);
|
|
3773
|
+
a(o, g, d, f);
|
|
3703
3774
|
}
|
|
3704
3775
|
return o;
|
|
3705
3776
|
}
|
|
3706
3777
|
const c = new Set(r.keys());
|
|
3707
3778
|
for (let d = 0; d < s.length; d++) {
|
|
3708
|
-
const
|
|
3709
|
-
c.delete(
|
|
3710
|
-
const h = r.get(
|
|
3711
|
-
h ? (o[d] = h.mapped, h.setIndex?.(d), h.setItem(() =>
|
|
3779
|
+
const g = s[d], f = e(g, d);
|
|
3780
|
+
c.delete(f);
|
|
3781
|
+
const h = r.get(f);
|
|
3782
|
+
h ? (o[d] = h.mapped, h.setIndex?.(d), h.setItem(() => g)) : a(o, g, d, f);
|
|
3712
3783
|
}
|
|
3713
3784
|
for (const d of c)
|
|
3714
3785
|
r.get(d)?.dispose(), r.delete(d);
|
|
@@ -3717,24 +3788,24 @@ function ur(t, e, n, i = {}) {
|
|
|
3717
3788
|
};
|
|
3718
3789
|
function a(s, o, u, c) {
|
|
3719
3790
|
qe((d) => {
|
|
3720
|
-
const [
|
|
3791
|
+
const [g, f] = L(o), h = { setItem: f, dispose: d };
|
|
3721
3792
|
if (n.length > 1) {
|
|
3722
|
-
const [p,
|
|
3723
|
-
h.setIndex =
|
|
3793
|
+
const [p, m] = L(u);
|
|
3794
|
+
h.setIndex = m, h.mapped = n(g, p);
|
|
3724
3795
|
} else
|
|
3725
|
-
h.mapped = n(
|
|
3796
|
+
h.mapped = n(g);
|
|
3726
3797
|
r.set(c, h), s[u] = h.mapped;
|
|
3727
3798
|
});
|
|
3728
3799
|
}
|
|
3729
3800
|
}
|
|
3730
|
-
function
|
|
3801
|
+
function ur(t) {
|
|
3731
3802
|
const { by: e } = t;
|
|
3732
|
-
return ye(
|
|
3803
|
+
return ye(cr(() => t.each, typeof e == "function" ? e : (n) => n[e], t.children, "fallback" in t ? { fallback: () => t.fallback } : void 0));
|
|
3733
3804
|
}
|
|
3734
|
-
var
|
|
3805
|
+
var dr = /* @__PURE__ */ _('<div class="grid min-h-0">'), hr = /* @__PURE__ */ _('<div class="flex justify-center gap-2 w-full shrink-0">');
|
|
3735
3806
|
const ht = (t) => {
|
|
3736
3807
|
const [e, n] = Bt(t, ["initialFocusEl", "role"]), [i, r] = L();
|
|
3737
|
-
|
|
3808
|
+
sr(i, (s, o) => {
|
|
3738
3809
|
const u = Math.min(o.clientWidth, o.clientHeight), c = Math.min(1, Math.max(0, (u - 300) / 240));
|
|
3739
3810
|
o.style.setProperty("--modal-t", c.toFixed(4));
|
|
3740
3811
|
});
|
|
@@ -3748,7 +3819,7 @@ const ht = (t) => {
|
|
|
3748
3819
|
action: t.actions.primary
|
|
3749
3820
|
}), s;
|
|
3750
3821
|
};
|
|
3751
|
-
return l(
|
|
3822
|
+
return l(Jt, {
|
|
3752
3823
|
children: (s) => {
|
|
3753
3824
|
const o = t.initialFocusEl ? {
|
|
3754
3825
|
initialFocusEl: () => t.initialFocusEl(s)
|
|
@@ -3763,7 +3834,7 @@ const ht = (t) => {
|
|
|
3763
3834
|
return t.open;
|
|
3764
3835
|
},
|
|
3765
3836
|
get children() {
|
|
3766
|
-
return l(
|
|
3837
|
+
return l(En, {
|
|
3767
3838
|
get mount() {
|
|
3768
3839
|
return t.mountTarget;
|
|
3769
3840
|
},
|
|
@@ -3792,17 +3863,17 @@ const ht = (t) => {
|
|
|
3792
3863
|
return t.onCloseClicked;
|
|
3793
3864
|
},
|
|
3794
3865
|
get children() {
|
|
3795
|
-
return l(
|
|
3866
|
+
return l(lr, {
|
|
3796
3867
|
class: "w-3.5 h-3.5"
|
|
3797
3868
|
});
|
|
3798
3869
|
}
|
|
3799
3870
|
});
|
|
3800
3871
|
}
|
|
3801
3872
|
}), (() => {
|
|
3802
|
-
var u =
|
|
3803
|
-
return
|
|
3804
|
-
var d = t.scrollable !== !1,
|
|
3805
|
-
return d !== c.e && u.classList.toggle("overflow-y-auto", c.e = d),
|
|
3873
|
+
var u = dr();
|
|
3874
|
+
return S(u, () => t.children), Re((c) => {
|
|
3875
|
+
var d = t.scrollable !== !1, g = t.scrollable === !1;
|
|
3876
|
+
return d !== c.e && u.classList.toggle("overflow-y-auto", c.e = d), g !== c.t && u.classList.toggle("overflow-hidden", c.t = g), c;
|
|
3806
3877
|
}, {
|
|
3807
3878
|
e: void 0,
|
|
3808
3879
|
t: void 0
|
|
@@ -3812,8 +3883,8 @@ const ht = (t) => {
|
|
|
3812
3883
|
return t.actions;
|
|
3813
3884
|
},
|
|
3814
3885
|
get children() {
|
|
3815
|
-
var u =
|
|
3816
|
-
return
|
|
3886
|
+
var u = hr();
|
|
3887
|
+
return S(u, l(ur, {
|
|
3817
3888
|
get each() {
|
|
3818
3889
|
return a();
|
|
3819
3890
|
},
|
|
@@ -3821,13 +3892,13 @@ const ht = (t) => {
|
|
|
3821
3892
|
children: (c) => {
|
|
3822
3893
|
const d = () => {
|
|
3823
3894
|
const {
|
|
3824
|
-
label:
|
|
3895
|
+
label: f,
|
|
3825
3896
|
...h
|
|
3826
3897
|
} = c().action;
|
|
3827
3898
|
return h;
|
|
3828
|
-
},
|
|
3899
|
+
}, g = c().type === "primary" ? "btn-primary" : "btn-secondary";
|
|
3829
3900
|
return l(se.CloseTrigger, ve({
|
|
3830
|
-
class: `btn ${
|
|
3901
|
+
class: `btn ${g} max-w-[30ch] flex-1 min-w-0`
|
|
3831
3902
|
}, d, {
|
|
3832
3903
|
get children() {
|
|
3833
3904
|
return c().action.label;
|
|
@@ -3849,10 +3920,10 @@ const ht = (t) => {
|
|
|
3849
3920
|
}));
|
|
3850
3921
|
}
|
|
3851
3922
|
});
|
|
3852
|
-
},
|
|
3923
|
+
}, pr = (t) => l(ht, ve({
|
|
3853
3924
|
role: "alertdialog"
|
|
3854
3925
|
}, t));
|
|
3855
|
-
var
|
|
3926
|
+
var gr = /* @__PURE__ */ _("<p>");
|
|
3856
3927
|
const je = (t) => {
|
|
3857
3928
|
const {
|
|
3858
3929
|
t: e
|
|
@@ -3869,7 +3940,7 @@ const je = (t) => {
|
|
|
3869
3940
|
}, s = async () => {
|
|
3870
3941
|
r(), t.shouldResetScanningSession && await n.blinkIdUxManager.resetScanningSession(!1);
|
|
3871
3942
|
};
|
|
3872
|
-
return l(
|
|
3943
|
+
return l(pr, {
|
|
3873
3944
|
get mountTarget() {
|
|
3874
3945
|
return n.cameraManagerComponent.overlayLayerNode;
|
|
3875
3946
|
},
|
|
@@ -3895,40 +3966,40 @@ const je = (t) => {
|
|
|
3895
3966
|
}), l(ke.Description, {
|
|
3896
3967
|
class: "dialog-description",
|
|
3897
3968
|
get children() {
|
|
3898
|
-
var o =
|
|
3899
|
-
return
|
|
3969
|
+
var o = gr();
|
|
3970
|
+
return S(o, () => t.text), o;
|
|
3900
3971
|
}
|
|
3901
3972
|
})];
|
|
3902
3973
|
}
|
|
3903
3974
|
});
|
|
3904
3975
|
};
|
|
3905
|
-
var
|
|
3906
|
-
const
|
|
3907
|
-
var e =
|
|
3908
|
-
return
|
|
3976
|
+
var fr = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 200 141"><path fill=#F43F5E d="M109.286 125.612c0 5.336-4.317 9.662-9.643 9.662-5.325 0-9.643-4.326-9.643-9.662s4.318-9.663 9.643-9.663 9.643 4.326 9.643 9.663"></path><path fill=#fff d="m100.788 125.612 1.831-1.835a.82.82 0 0 0 .238-.574.81.81 0 0 0-1.383-.574l-1.831 1.835-1.83-1.835a.8.8 0 0 0-.573-.238.8.8 0 0 0-.572.238.81.81 0 0 0 0 1.148l1.83 1.835-1.83 1.836a.81.81 0 1 0 1.144 1.148l1.831-1.836 1.831 1.836a.8.8 0 0 0 .572.236.806.806 0 0 0 .795-.968.8.8 0 0 0-.222-.416z"></path><path fill=#142641 d="M161.5 20.04H64.215c-2.722 0-4.929 2.196-4.929 4.903v51.748c0 2.708 2.207 4.903 4.929 4.903H161.5c2.722 0 4.929-2.195 4.929-4.903V24.943c0-2.707-2.207-4.902-4.929-4.902"opacity=.3></path><path fill=#fff d="M163.643 16.462H66.358c-2.723 0-4.93 2.195-4.93 4.903v51.747c0 2.709 2.207 4.903 4.93 4.903h97.285c2.722 0 4.929-2.195 4.929-4.903V21.365c0-2.708-2.207-4.903-4.929-4.903"></path><path fill=#F43F5E fill-rule=evenodd d="M69.286 67.995c0-.395.322-.716.719-.716h46.42a.717.717 0 1 1 0 1.432h-46.42a.717.717 0 0 1-.719-.716"clip-rule=evenodd></path><path fill=#142641 d="M63.717 82.235a5 5 0 0 1-.14-.218c-.206-.339-.414-.662-.625-.988-2.026-3.136-4.22-6.53-4.543-25.877-.097-5.832-.058-13.945-.026-20.58.014-2.822.026-5.376.026-7.374-12.568 8.43-12.91 9.316-17.37 20.89a474 474 0 0 1-2.77 7.064c-6.622 16.43-6.48 27.494-5.834 34.573a80 80 0 0 0 2.395 13.427l2.41 8.966a5.19 5.19 0 0 0 5.01 3.831h24.337c2.977 0 5.671-1.794 6.612-4.614.73-2.187 1.406-4.445 2.07-6.659.534-1.784 1.06-3.54 1.6-5.208.59-1.83 1.093-3.452 1.518-4.896L95.06 76.064c3.147-3.493 2.667-8.928-1.044-11.818a8.08 8.08 0 0 0-10.322.319z"opacity=.3></path><path fill=#142641 fill-rule=evenodd d="M67.038 17.179a4.185 4.185 0 0 0-4.183 4.186v51.747c0 2.31 1.87 4.187 4.182 4.187h96.64a4.185 4.185 0 0 0 4.183-4.187V21.365a4.185 4.185 0 0 0-4.183-4.186zm-5.61 4.186a5.614 5.614 0 0 1 5.61-5.619h96.639a5.614 5.614 0 0 1 5.609 5.619v51.747a5.614 5.614 0 0 1-5.609 5.619h-96.64a5.614 5.614 0 0 1-5.608-5.62z"clip-rule=evenodd></path><path fill=#fff fill-rule=evenodd d="M66.472 74.959c-.872-.544-1.698-1.364-2.415-2.544-.453-.747-.793-1.283-1.05-1.856-.978-2.183-.751-4.9-1.035-21.822-.098-5.855-.058-14.373-.025-21.239.013-2.884.025-5.477.025-7.457-14.797 9.89-18.556 17.248-26.062 35.808-7.268 17.97-5.192 27.718-3.886 33.845l.055.257c.368 1.735.617 3.494.865 5.253.156 1.107.313 2.214.5 3.315l1.735 10.255c.422 2.489 2.597 4.312 5.136 4.312H64.33c2.988 0 5.693-1.794 6.637-4.614.733-2.188 1.411-4.446 2.077-6.661.537-1.785 1.065-3.54 1.606-5.21a197 197 0 0 0 1.517-4.871l16.744-18.52c3.157-3.493 2.675-8.928-1.048-11.819a8.13 8.13 0 0 0-10.359.319z"clip-rule=evenodd></path><path fill=#142641 fill-rule=evenodd d="m62.69 18.61-1.118.747c-7.448 4.983-12.162 9.36-15.955 14.856-3.778 5.475-6.62 12.032-10.37 21.314-3.66 9.059-4.98 16.076-5.209 21.622-.23 5.544.63 9.588 1.285 12.664l.057.265c.363 1.708.608 3.444.857 5.209v.005c.156 1.105.314 2.221.502 3.333l1.736 10.265c.48 2.837 2.954 4.912 5.841 4.912H64.33c3.272 0 6.268-1.97 7.318-5.107.736-2.201 1.417-4.47 2.082-6.684l.001-.005c.537-1.788 1.063-3.538 1.601-5.2.57-1.76 1.06-3.332 1.476-4.739l16.634-18.419c3.436-3.803 2.911-9.721-1.14-12.87a8.84 8.84 0 0 0-11.274.348l-14.61 12.89c-.614-.47-1.208-1.12-1.747-2.01l-.158-.258c-.38-.624-.644-1.059-.85-1.52-.426-.951-.616-2.048-.717-5.122-.057-1.744-.087-4.08-.127-7.333-.031-2.464-.068-5.454-.13-9.11-.097-5.852-.057-14.37-.025-21.245v-.002c.013-2.886.026-5.483.026-7.467zm-1.436 2.69c-.004 1.752-.014 3.84-.024 6.11v.007c-.033 6.868-.073 15.4.026 21.269.06 3.632.098 6.614.128 9.079.041 3.272.07 5.632.129 7.388.1 3.067.287 4.422.84 5.656.245.55.561 1.068.933 1.678l.157.258c.769 1.265 1.67 2.171 2.648 2.782l.455.284 15.433-13.616a7.404 7.404 0 0 1 9.441-.29c3.396 2.638 3.835 7.6.956 10.789l-16.852 18.66-.046.155a196 196 0 0 1-1.511 4.86c-.543 1.676-1.073 3.44-1.608 5.224l-.002.004c-.666 2.219-1.342 4.469-2.07 6.647-.839 2.508-3.252 4.13-5.957 4.13H40.316c-2.19 0-4.064-1.574-4.427-3.721l-1.736-10.265c-.185-1.09-.34-2.19-.496-3.3l-.002-.011c-.247-1.753-.498-3.534-.872-5.295l-.055-.257c-.65-3.057-1.48-6.957-1.257-12.317.222-5.363 1.499-12.22 5.106-21.149 3.756-9.296 6.546-15.71 10.222-21.038 3.472-5.031 7.756-9.12 14.455-13.721"clip-rule=evenodd></path><path fill=#142641 fill-rule=evenodd d="M68.006 73.609a.72.72 0 0 0-.959.328c-.218.446-.712.973-1.46 1.521-.733.538-1.65 1.05-2.63 1.487-.978.436-2.001.788-2.941 1.009-.951.224-1.768.303-2.352.233a.715.715 0 1 0-.172 1.418c.824.098 1.828-.02 2.854-.262a18.4 18.4 0 0 0 3.198-1.094c1.05-.468 2.06-1.03 2.894-1.641.819-.6 1.53-1.294 1.898-2.045a.713.713 0 0 0-.33-.954"clip-rule=evenodd></path><path fill=#000 d="M83.572 47.954c-4.726 0-8.572-3.853-8.572-8.588 0-4.736 3.846-8.59 8.572-8.59s8.571 3.854 8.571 8.59-3.845 8.588-8.57 8.588m0-15.922c-4.035 0-7.321 3.29-7.321 7.336s3.283 7.336 7.321 7.336 7.321-3.29 7.321-7.336-3.283-7.336-7.32-7.336"></path><path fill=#142641 fill-rule=evenodd d="M105.715 35.071c0-.395.321-.716.716-.716h46.424a.716.716 0 1 1 0 1.432h-46.424a.716.716 0 0 1-.716-.716M105.715 43.66c0-.395.321-.716.716-.716h46.424a.716.716 0 1 1 0 1.432h-46.424a.716.716 0 0 1-.716-.716M69.286 24.335c0-.395.319-.716.712-.716h89.291c.393 0 .711.32.711.716a.713.713 0 0 1-.711.716H69.998a.714.714 0 0 1-.712-.716M105.715 52.965c0-.396.322-.716.719-.716h33.561c.398 0 .72.32.72.716a.72.72 0 0 1-.72.715h-33.561a.717.717 0 0 1-.719-.715M83.572 47.943c-7.274 0-12.87 4.641-12.87 10.038a.709.709 0 1 1-1.416 0c0-6.476 6.562-11.458 14.286-11.458s14.286 4.982 14.286 11.457a.709.709 0 1 1-1.416 0c0-5.396-5.596-10.037-12.87-10.037"clip-rule=evenodd></path><path fill=#000 d="M142.721 68.704a.578.578 0 0 1-.525-.821.58.58 0 0 1 .324-.303 7.5 7.5 0 0 0 2.706-1.756c-.375-.102-.765-.283-1.064-.594-.354-.37-.521-.862-.477-1.42.032-.44.216-.885.526-1.285q.091-.119.181-.24c.294-.395.63-.845 1.122-1.146.514-.315 1.116-.387 1.615-.197.461.176.804.568.964 1.105a2.33 2.33 0 0 1-.063 1.472 8 8 0 0 1-.503 1.128 6.9 6.9 0 0 0 2.105-.839.683.683 0 0 1 .954.915c-.127.232-.248.542-.099.712.111.127.328.125.484.058.306-.135.528-.409.769-.944a.85.85 0 0 1 .999-.467c.131.036.251.101.352.192.589.53 1.409.81 2.181.753a2.98 2.98 0 0 0 2.241-1.33.58.58 0 0 1 1.044.197.59.59 0 0 1-.068.43 4.15 4.15 0 0 1-3.129 1.859 4.12 4.12 0 0 1-2.737-.8c-.243.45-.6.913-1.182 1.17-.655.29-1.388.147-1.826-.356a1.43 1.43 0 0 1-.352-.892 8 8 0 0 1-2.584.634 8.73 8.73 0 0 1-3.752 2.735.6.6 0 0 1-.201.037zm3.831-6.71a.85.85 0 0 0-.434.132c-.301.183-.542.507-.797.85l-.194.258c-.121.154-.267.396-.288.664-.023.304.079.45.158.531.199.209.602.34 1.084.361a7.4 7.4 0 0 0 .86-1.666c.093-.259.109-.525.042-.745-.086-.285-.223-.339-.269-.357a.5.5 0 0 0-.162-.028">');
|
|
3977
|
+
const mr = (t = {}) => (() => {
|
|
3978
|
+
var e = fr();
|
|
3979
|
+
return F(e, t, !0, !0), e;
|
|
3909
3980
|
})();
|
|
3910
|
-
var
|
|
3911
|
-
const
|
|
3912
|
-
var e =
|
|
3913
|
-
return
|
|
3981
|
+
var _r = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><g clip-path=url(#a)><path fill=#142641 d="M250.018 148.033V36.899c0-6.423-5.339-11.63-11.924-11.63H41.906c-6.585 0-11.923 5.207-11.924 11.63v111.134a.98.98 0 0 1-.99.967.98.98 0 0 1-.992-.967V36.899c0-7.49 6.226-13.563 13.906-13.563h196.188c7.68 0 13.906 6.072 13.906 13.563v111.134a.98.98 0 0 1-.991.967.98.98 0 0 1-.991-.967"></path><path fill=#142641 d="M39.894 148.033V89.5c0-.534.559-1 1.106-1s.876.466.876 1v58.533a.98.98 0 0 1-.991.967.98.98 0 0 1-.991-.967m198.23 0V49.436c0-1.551-1.25-2.818-2.821-2.896l-.153-.004H46.832c-1.643 0-2.974 1.299-2.974 2.9v10a.98.98 0 0 1-.991.966.98.98 0 0 1-.991-.967v-9.999c0-2.67 2.219-4.833 4.956-4.833H235.15l.255.006c2.618.13 4.701 2.241 4.701 4.827v98.597a.98.98 0 0 1-.991.967.98.98 0 0 1-.991-.967"></path><path fill=#F9FAFB d="M142.058 46.536 90.442 148.035h70.446l45.796-101.499zm75.59 0-47.651 101.5 8.35-.001 46.892-101.499z"opacity=.95></path><circle cx=142.477 cy=35.569 r=4.4 fill=#142641></circle><path fill=#10B990 d="M170.726 34.45c0-15.75-13.091-28.517-29.239-28.517s-29.239 12.768-29.239 28.517c0 15.75 13.091 28.517 29.239 28.517s29.239-12.768 29.239-28.517m1.982 0c0 16.817-13.978 30.45-31.221 30.45s-31.221-13.633-31.221-30.45S124.244 4 141.487 4s31.221 13.633 31.221 30.45"></path><path fill=#142641 d="m108.755 118.085-52.701-1.986c-5.722-.215-10.321-4.799-10.565-10.529l-.38-8.99c-.126-2.961-3.673-4.401-5.818-2.363l-1.885 1.79a3.444 3.444 0 0 1-5.184-.508l-8.098-11.426c-3.597-5.075-2.28-12.122 2.907-15.542l66.992-44.183c12.839-8.467 29.862 1.239 29.156 16.625l-3.056 66.64c-.276 6.026-5.349 10.699-11.368 10.472"opacity=.3></path><path fill=#fff d="m102.732 112.197-42.838-.71c-5.396-.089-9.902-4.156-10.568-9.536l-3.076-24.86c-.394-3.183-3.32-5.414-6.478-4.938-2.982.45-5.094 3.162-4.811 6.178l1.278 13.627c.101 1.075-1.297 1.569-1.888.667L22.238 74.146c-3.27-4.987-1.927-11.688 3.007-15.017L87.85 16.901c12.643-8.528 29.566 1.023 28.894 16.308l-3.015 68.59c-.259 5.886-5.134 10.495-10.997 10.398"></path><path fill=#142641 d="M47.891 83.96a1 1 0 0 0-1.395-.197l-10.64 7.963a.99.99 0 0 0-.198 1.388 1 1 0 0 0 1.396.197l10.64-7.963c.44-.33.528-.95.197-1.388"></path><path fill=#142641 d="M118.73 33.251c.696-16.096-17.289-26.148-30.742-17.183l-63.23 42.138c-5.456 3.635-6.939 10.97-3.321 16.422L33.69 93.094c1.17 1.765 3.934.794 3.732-1.31l-1.308-13.598c-.24-2.5 1.53-4.748 4.025-5.117 2.631-.39 5.07 1.452 5.402 4.08l3.143 24.88c.74 5.864 5.7 10.295 11.64 10.4l43.3.763c6.477.114 11.865-4.932 12.144-11.373zm-83.292 58.75a.1.1 0 0 1-.03.02c-.02.006-.032.004-.036.004l-.004-.004-.015-.019L23.1 73.536c-3.014-4.542-1.779-10.654 2.766-13.683l63.232-42.138c12.096-8.06 28.266.979 27.641 15.45l-2.963 68.569c-.232 5.366-4.721 9.569-10.117 9.474l-43.301-.762c-4.948-.087-9.08-3.78-9.696-8.665l-3.144-24.88c-.471-3.73-3.935-6.346-7.673-5.793-3.544.524-6.056 3.717-5.715 7.266l1.308 13.599V92"></path><path fill=#142641 d="M97.578 28.952a1 1 0 0 0-1.394-.213l-59.81 43.72a.99.99 0 0 0-.213 1.388 1 1 0 0 0 1.393.21l59.81-43.719a.99.99 0 0 0 .214-1.386M102.021 47.61a.996.996 0 0 0-1.975-.262l-7.86 58.672a.99.99 0 0 0 .856 1.114.996.996 0 0 0 1.12-.852z"></path><path fill=#10B981 d="M139.5 189c7.456 0 13.5-6.044 13.5-13.5s-6.044-13.5-13.5-13.5-13.5 6.044-13.5 13.5 6.044 13.5 13.5 13.5"></path><path fill=#fff d="M145.536 171.523a1.144 1.144 0 0 0-1.62 0l-6.022 6.023-2.622-2.623a1.144 1.144 0 0 0-1.62 0 1.143 1.143 0 0 0 0 1.62l3.395 3.401c.225.224.518.334.81.334h.074c.292 0 .585-.11.81-.334l6.795-6.796a1.143 1.143 0 0 0 0-1.62z"></path></g><defs><clipPath id=a><path fill=#fff d="M0 0h280v197H0z">');
|
|
3982
|
+
const vr = (t = {}) => (() => {
|
|
3983
|
+
var e = _r();
|
|
3984
|
+
return F(e, t, !0, !0), e;
|
|
3914
3985
|
})();
|
|
3915
|
-
var
|
|
3916
|
-
const
|
|
3917
|
-
var e =
|
|
3918
|
-
return
|
|
3986
|
+
var yr = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 200 141"><path fill=#F43F5E d="M108.572 125.612c0 5.336-4.317 9.662-9.643 9.662-5.325 0-9.643-4.326-9.643-9.662s4.318-9.663 9.643-9.663 9.643 4.326 9.643 9.663M172.655 110.221H27.345c-4.048 0-7.345-3.275-7.345-7.301V15.89c0-4.024 3.293-7.301 7.345-7.301h145.31c4.048 0 7.345 3.274 7.345 7.3v87.034c0 4.023-3.294 7.3-7.345 7.3zM27.345 10.252c-3.13 0-5.675 2.53-5.675 5.641v87.03c0 3.111 2.545 5.641 5.675 5.641h145.31c3.129 0 5.674-2.53 5.674-5.641V15.89c0-3.11-2.545-5.64-5.674-5.64H27.345z"></path><path fill=#fff d="m100.073 125.612 1.831-1.835a.82.82 0 0 0 .238-.574.81.81 0 0 0-1.383-.574l-1.83 1.835-1.831-1.835a.8.8 0 0 0-.573-.238.8.8 0 0 0-.572.238.81.81 0 0 0 0 1.148l1.83 1.835-1.83 1.836a.81.81 0 0 0 .572 1.384.8.8 0 0 0 .573-.236l1.83-1.836 1.831 1.836a.8.8 0 0 0 .572.236.806.806 0 0 0 .796-.968.8.8 0 0 0-.223-.416z"></path><path fill=#142641 d="M162.78 21.472H34.363c-1.725 0-3.38.685-4.6 1.904a6.5 6.5 0 0 0-1.906 4.595v68.596a6.49 6.49 0 0 0 4.016 6.004c.79.327 1.635.495 2.49.495H162.78c.854 0 1.7-.168 2.49-.494a6.508 6.508 0 0 0 4.016-6.005V27.97a6.49 6.49 0 0 0-4.016-6.004 6.5 6.5 0 0 0-2.49-.495"opacity=.3></path><path fill=#fff d="M165.637 17.178H37.22a6.51 6.51 0 0 0-6.01 4.011 6.5 6.5 0 0 0-.496 2.488v68.595a6.49 6.49 0 0 0 4.016 6.005c.79.327 1.636.495 2.49.495h128.417a6.52 6.52 0 0 0 4.6-1.904 6.48 6.48 0 0 0 1.905-4.596V23.677a6.5 6.5 0 0 0-1.905-4.596 6.5 6.5 0 0 0-4.6-1.903"></path><path fill=#000 d="M165.529 100.203H37.328c-4.039 0-7.328-3.307-7.328-7.375V23.837c0-4.065 3.286-7.375 7.328-7.375h128.201c4.039 0 7.328 3.307 7.328 7.375v68.991c0 4.065-3.285 7.375-7.328 7.375M37.328 18.143c-3.122 0-5.661 2.555-5.661 5.697v68.99c0 3.144 2.539 5.7 5.66 5.7H165.53c3.123 0 5.662-2.556 5.662-5.7V23.838c0-3.143-2.539-5.698-5.662-5.698H37.328z"></path><path fill=#000 d="M60 59.406c-6.301 0-11.429-5.138-11.429-11.451S53.7 36.502 60 36.502s11.428 5.139 11.428 11.453S66.301 59.406 60 59.406m0-21.23c-5.381 0-9.762 4.387-9.762 9.781 0 5.396 4.377 9.782 9.762 9.782 5.384 0 9.762-4.386 9.762-9.782 0-5.394-4.378-9.78-9.762-9.78"></path><path fill=#000 d="M78.564 73.571a.83.83 0 0 1-.588-.245.84.84 0 0 1-.244-.592c0-7.458-7.77-13.523-17.32-13.523s-17.32 6.065-17.32 13.523a.84.84 0 0 1-.251.576.83.83 0 0 1-1.412-.576c0-8.378 8.515-15.197 18.983-15.197s18.983 6.819 18.983 15.197a.834.834 0 0 1-.831.837m72.302-31.024H89.491a.83.83 0 0 1-.573-.253.84.84 0 0 1 .573-1.42h61.375a.839.839 0 0 1 0 1.673m.127 11.8H89.617a.83.83 0 0 1-.588-.245.84.84 0 0 1 .588-1.429h61.376a.839.839 0 0 1 0 1.674m-16.917 11.699H89.631a.83.83 0 0 1-.573-.254.84.84 0 0 1 .573-1.42h44.445a.83.83 0 0 1 .808.837.832.832 0 0 1-.808.837m.02 21.98a.83.83 0 0 1-.779-.546.845.845 0 0 1 .49-1.078 10.8 10.8 0 0 0 3.886-2.537c-.54-.147-1.099-.409-1.528-.858-.509-.535-.748-1.245-.685-2.051.046-.636.309-1.28.755-1.858l.26-.345c.422-.572.905-1.222 1.61-1.657.739-.455 1.604-.559 2.32-.285.662.255 1.154.82 1.384 1.597.199.67.17 1.406-.09 2.126q-.301.841-.722 1.63a9.8 9.8 0 0 0 3.022-1.212.976.976 0 0 1 1.188.133.99.99 0 0 1 .182 1.19c-.183.334-.356.783-.143 1.027.16.184.472.18.696.084.439-.194.758-.59 1.104-1.363a1.23 1.23 0 0 1 .859-.693 1.24 1.24 0 0 1 1.081.295c.845.767 2.023 1.171 3.131 1.088 1.285-.094 2.519-.833 3.218-1.921a.834.834 0 0 1 1.138-.23.843.843 0 0 1 .263 1.138c-.975 1.522-2.695 2.553-4.492 2.683a5.9 5.9 0 0 1-3.93-1.155c-.35.65-.862 1.32-1.697 1.691-.941.418-1.993.21-2.622-.516a2.06 2.06 0 0 1-.506-1.288 11.4 11.4 0 0 1-3.71.917 12.55 12.55 0 0 1-5.387 3.95.8.8 0 0 1-.29.054zm5.5-9.695a1.2 1.2 0 0 0-.622.191c-.433.265-.779.733-1.145 1.229q-.14.19-.279.371c-.173.224-.383.573-.413.96-.033.44.113.65.226.768.287.3.866.492 1.557.522.512-.747.927-1.555 1.235-2.407.133-.375.156-.76.06-1.078-.123-.412-.319-.489-.386-.516a.7.7 0 0 0-.233-.04m21.715-50.89H42.261a.83.83 0 0 1-.589-.245.84.84 0 0 1 .589-1.43h119.05a.84.84 0 0 1 .588 1.429.83.83 0 0 1-.588.246M78.564 86.044H42.26a.83.83 0 0 1-.573-.254.84.84 0 0 1 .573-1.42h36.303a.83.83 0 0 1 .588.245.84.84 0 0 1-.588 1.429"></path><path fill=#F9FAFB d="M74.123 16.462 40 100.202h34.123l30.275-83.74zm40.145 0-34.123 83.741 5.52-.001 33.621-83.74z"opacity=.95>');
|
|
3987
|
+
const Er = (t = {}) => (() => {
|
|
3988
|
+
var e = yr();
|
|
3989
|
+
return F(e, t, !0, !0), e;
|
|
3919
3990
|
})();
|
|
3920
|
-
var br = /* @__PURE__ */ v('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 200 141"><path fill=#F43F5E d="M108.572 125.612c0 5.336-4.317 9.662-9.643 9.662-5.325 0-9.643-4.326-9.643-9.662s4.318-9.663 9.643-9.663 9.643 4.326 9.643 9.663"></path><path fill=#142641 d="M162.781 20.757H34.364a6.51 6.51 0 0 0-6.011 4.012 6.5 6.5 0 0 0-.496 2.487V95.85a6.49 6.49 0 0 0 4.017 6.005c.79.326 1.635.494 2.49.494H162.78c1.725 0 3.38-.684 4.6-1.903a6.5 6.5 0 0 0 1.905-4.596V27.256a6.49 6.49 0 0 0-4.016-6.005 6.5 6.5 0 0 0-2.489-.495z"opacity=.3></path><path fill=#fff d="M166.352 17.178H37.934c-1.725 0-3.38.684-4.6 1.903a6.5 6.5 0 0 0-1.905 4.596v68.595a6.49 6.49 0 0 0 4.015 6.005c.79.326 1.636.495 2.49.495h128.418a6.52 6.52 0 0 0 4.6-1.904 6.5 6.5 0 0 0 1.905-4.596V23.677a6.5 6.5 0 0 0-1.905-4.596 6.5 6.5 0 0 0-4.6-1.903"></path><g fill=#000 opacity=.4><path d="M165.529 99.487H37.328c-4.04 0-7.328-3.306-7.328-7.375v-68.99c0-4.066 3.285-7.376 7.328-7.376h128.201c4.039 0 7.328 3.307 7.328 7.375v68.991c0 4.065-3.285 7.375-7.328 7.375M37.328 17.427c-3.123 0-5.662 2.555-5.662 5.698v68.99c0 3.143 2.54 5.698 5.662 5.698h128.201c3.123 0 5.662-2.555 5.662-5.697V23.12c0-3.143-2.539-5.698-5.662-5.698H37.328z"></path><path d="M60 58.69c-6.301 0-11.429-5.137-11.429-11.451S53.7 35.787 60 35.787c6.3 0 11.428 5.137 11.428 11.451S66.301 58.69 60 58.69m0-21.229c-5.381 0-9.762 4.386-9.762 9.781s4.378 9.782 9.761 9.782c5.385 0 9.762-4.387 9.762-9.782S65.384 37.461 60 37.461"></path><path d="M78.59 72.855a.83.83 0 0 1-.588-.245.84.84 0 0 1-.244-.591c0-7.459-7.769-13.524-17.319-13.524S43.12 64.56 43.12 72.019a.84.84 0 0 1-.243.591.83.83 0 0 1-1.42-.591c0-8.38 8.514-15.198 18.982-15.198S79.422 63.64 79.422 72.02a.834.834 0 0 1-.832.836m72.298-31.024H89.514a.83.83 0 0 1-.589-.245.84.84 0 0 1 .589-1.429h61.374a.83.83 0 0 1 .588.246.84.84 0 0 1 0 1.183.83.83 0 0 1-.588.245m.129 11.8H89.644a.83.83 0 0 1-.588-.245.84.84 0 0 1 .588-1.429h61.373a.83.83 0 0 1 .832.837.83.83 0 0 1-.832.837m-16.916 11.7H89.653a.83.83 0 0 1-.588-.246.84.84 0 0 1 .588-1.429h44.445a.83.83 0 0 1 .588.246.84.84 0 0 1 0 1.183.83.83 0 0 1-.588.246zm.016 21.979a.83.83 0 0 1-.778-.546.845.845 0 0 1 .489-1.078 10.8 10.8 0 0 0 3.887-2.537c-.539-.147-1.098-.409-1.528-.857-.509-.536-.748-1.245-.686-2.052.047-.636.31-1.279.756-1.858q.13-.17.26-.345c.422-.572.905-1.222 1.61-1.657.738-.455 1.604-.559 2.319-.284.663.254 1.155.82 1.384 1.597.2.669.17 1.406-.09 2.125a12 12 0 0 1-.721 1.63 9.8 9.8 0 0 0 3.021-1.212.976.976 0 0 1 1.191.13c.32.31.396.801.18 1.193-.183.334-.357.783-.143 1.027.159.185.472.181.695.084.439-.194.758-.589 1.105-1.362a1.215 1.215 0 0 1 1.433-.675c.188.051.361.146.506.276.846.767 2.02 1.172 3.132 1.088 1.284-.094 2.518-.833 3.217-1.921a.833.833 0 0 1 1.138-.23.843.843 0 0 1 .263 1.138c-.975 1.522-2.695 2.553-4.492 2.684a5.9 5.9 0 0 1-3.929-1.155c-.35.65-.862 1.319-1.697 1.69-.942.419-1.994.211-2.623-.515a2.07 2.07 0 0 1-.505-1.289 11.4 11.4 0 0 1-3.71.918 12.55 12.55 0 0 1-5.388 3.949.8.8 0 0 1-.289.054zm5.501-9.695a1.23 1.23 0 0 0-.623.191c-.432.265-.778.733-1.144 1.229q-.138.188-.28.371c-.173.225-.383.573-.413.96-.032.44.114.65.227.768.286.301.865.492 1.557.522.512-.746.927-1.555 1.235-2.407.133-.375.156-.76.06-1.078-.124-.412-.32-.488-.386-.516a.7.7 0 0 0-.233-.04m21.717-50.89H42.285a.83.83 0 0 1-.572-.254.84.84 0 0 1 .572-1.42h119.05a.83.83 0 0 1 .808.837.84.84 0 0 1-.808.836M78.59 85.327H42.285a.83.83 0 0 1-.79-.51.84.84 0 0 1 .464-1.107.8.8 0 0 1 .326-.057h36.302a.84.84 0 0 1 0 1.673z"></path></g><g fill=#000 opacity=.3><path d="m166.422 97.871-128.03 3.046c-4.034.097-7.393-3.126-7.49-7.183l-1.614-68.84c-.096-4.056 3.11-7.434 7.144-7.531l128.03-3.046c4.035-.097 7.394 3.127 7.49 7.183l1.618 68.836c.096 4.057-3.109 7.435-7.144 7.532l-.003.003zM36.472 19.036c-3.117.074-5.593 2.685-5.52 5.818L32.57 93.69c.074 3.133 2.67 5.624 5.786 5.55l128.03-3.046c3.116-.074 5.593-2.685 5.52-5.818l-1.618-68.836c-.073-3.133-2.67-5.623-5.785-5.55L36.471 19.037"></path><path d="M60.27 59.403c-6.3.15-11.544-4.865-11.694-11.178-.15-6.315 4.853-11.569 11.155-11.72s11.545 4.864 11.695 11.178-4.854 11.57-11.155 11.72m-.5-21.227c-5.38.127-9.655 4.617-9.528 10.008.127 5.392 4.608 9.675 9.989 9.548s9.655-4.617 9.528-10.009-4.607-9.675-9.988-9.547"></path><path d="M78.963 73.294a.83.83 0 0 1-.853-.816c-.176-7.442-8.09-13.314-17.64-13.087S43.289 65.858 43.465 73.3a.84.84 0 0 1-.813.818.83.83 0 0 1-.851-.779c-.197-8.364 8.159-15.37 18.629-15.62 10.47-.247 19.149 6.353 19.345 14.718a.837.837 0 0 1-.812.856m71.587-32.681L89.163 42.07a.83.83 0 0 1-.816-.816.84.84 0 0 1 .776-.854l61.387-1.458a.833.833 0 0 1 .816.816.834.834 0 0 1-.776.855m.406 11.774-61.387 1.457a.83.83 0 0 1-.853-.816.84.84 0 0 1 .813-.855l61.388-1.457a.83.83 0 0 1 .838.816.83.83 0 0 1-.799.855m-16.648 12.08-44.453 1.057a.83.83 0 0 1-.825-.817.84.84 0 0 1 .785-.855l44.453-1.055a.836.836 0 0 1 .04 1.67m.536 21.937a.83.83 0 0 1-.831-.668.836.836 0 0 1 .501-.943 10.8 10.8 0 0 0 3.829-2.627c-.543-.133-1.109-.38-1.548-.822-.523-.521-.776-1.223-.736-2.032.033-.635.28-1.283.712-1.871q.126-.17.25-.351c.409-.582.876-1.243 1.571-1.69.726-.472 1.592-.6 2.314-.342.669.237 1.175.792 1.425 1.56.216.666.203 1.398-.04 2.126a12 12 0 0 1-.686 1.644 9.8 9.8 0 0 0 2.993-1.28.99.99 0 0 1 1.195.1c.33.302.413.79.21 1.187-.173.338-.336.789-.12 1.026.166.18.476.17.699.066.433-.203.746-.608 1.075-1.386a1.22 1.22 0 0 1 1.419-.708c.189.046.364.136.512.263.863.742 2.048 1.123 3.156 1.013a4.27 4.27 0 0 0 3.173-1.995.83.83 0 0 1 1.138-.267.835.835 0 0 1 .283 1.14c-.939 1.543-2.636 2.612-4.43 2.786a5.9 5.9 0 0 1-3.959-1.059c-.336.655-.829 1.336-1.658 1.727-.932.439-1.991.258-2.633-.45-.32-.35-.511-.8-.539-1.274-1.165.54-2.412.88-3.689 1.002a12.55 12.55 0 0 1-5.293 4.07.9.9 0 0 1-.29.061zm5.273-9.805c-.221.01-.435.08-.619.204-.426.273-.759.748-1.115 1.253l-.27.377c-.166.227-.369.578-.389.966-.024.438.129.645.246.762.293.294.879.471 1.571.484a10.4 10.4 0 0 0 1.175-2.432c.127-.378.14-.762.037-1.08-.133-.41-.333-.48-.399-.504a.7.7 0 0 0-.237-.034zm20.527-51.308L41.568 28.118a.83.83 0 0 1-.853-.816.84.84 0 0 1 .813-.855l119.076-2.828a.83.83 0 0 1 .825.817.833.833 0 0 1-.785.855M79.255 85.74l-36.31.863a.83.83 0 0 1-.815-.816.84.84 0 0 1 .776-.855l36.31-.862a.83.83 0 0 1 .793.494.84.84 0 0 1-.432 1.11.8.8 0 0 1-.322.067"></path></g><g fill=#000 opacity=.2><path d="m168.027 95.162-128.279 6.463c-4.043.203-7.498-2.909-7.702-6.939l-3.465-68.369c-.203-4.03 2.918-7.474 6.96-7.677l128.278-6.463c4.044-.203 7.499 2.909 7.703 6.939l3.468 68.372c.204 4.03-2.917 7.474-6.961 7.678zM35.625 20.3c-3.125.157-5.535 2.82-5.378 5.93l3.469 68.373c.157 3.111 2.827 5.517 5.95 5.361l128.277-6.463c3.125-.156 5.535-2.818 5.378-5.93l-3.469-68.372c-.156-3.112-2.828-5.518-5.949-5.361z"></path><path d="M60.577 60.107c-6.296.317-11.675-4.554-11.991-10.86-.317-6.305 4.544-11.697 10.837-12.014 6.292-.318 11.674 4.554 11.99 10.859.318 6.308-4.544 11.698-10.836 12.015M59.507 38.9c-5.376.271-9.53 4.879-9.257 10.265s4.868 9.55 10.244 9.276c5.374-.274 9.53-4.878 9.256-10.265-.273-5.386-4.868-9.55-10.243-9.275"></path><path d="M79.495 73.105a.833.833 0 0 1-.874-.788c-.372-7.403-8.448-13.033-17.998-12.55-9.548.482-17.014 6.897-16.637 14.3a.831.831 0 0 1-1.39.658.83.83 0 0 1-.273-.575c-.42-8.318 7.753-15.515 18.221-16.044s19.327 5.81 19.747 14.128a.83.83 0 0 1-.79.871zm70.74-34.45L88.86 41.754a.831.831 0 1 1-.084-1.66l61.376-3.098a.83.83 0 0 1 .794.474.84.84 0 0 1-.135.914.83.83 0 0 1-.576.273m.723 11.71L89.583 53.46a.832.832 0 1 1-.084-1.66l61.376-3.097a.833.833 0 0 1 .659 1.388.83.83 0 0 1-.576.272M134.63 62.833l-44.444 2.243a.832.832 0 1 1-.083-1.66l44.444-2.243a.84.84 0 0 1 .793.474.82.82 0 0 1 .032.635.83.83 0 0 1-.427.472.8.8 0 0 1-.315.079m1.123 21.817a.84.84 0 0 1-.851-.644.83.83 0 0 1 .478-.953 10.8 10.8 0 0 0 3.758-2.715c-.55-.12-1.12-.35-1.569-.776-.537-.505-.81-1.198-.79-2.003.016-.632.246-1.284.663-1.883l.243-.356c.397-.589.843-1.258 1.526-1.727.716-.489 1.576-.639 2.306-.402.676.22 1.195.759 1.465 1.514.234.655.24 1.387.017 2.116-.171.566-.387 1.12-.643 1.653a9.8 9.8 0 0 0 2.959-1.354.983.983 0 0 1 1.439 1.244c-.166.34-.316.796-.094 1.026.17.176.48.156.7.046.43-.216.73-.625 1.037-1.407a1.22 1.22 0 0 1 1.402-.744c.191.042.369.128.52.25a4.33 4.33 0 0 0 3.185.926 4.27 4.27 0 0 0 3.118-2.073.834.834 0 0 1 1.136-.306c.4.23.536.739.307 1.135-.9 1.56-2.569 2.672-4.358 2.894a5.92 5.92 0 0 1-3.988-.948c-.316.662-.796 1.351-1.612 1.764-.92.462-1.983.31-2.649-.38a2.06 2.06 0 0 1-.573-1.254c-1.151.57-2.39.94-3.665 1.098a12.54 12.54 0 0 1-5.187 4.192.8.8 0 0 1-.287.067zm5.014-9.902a1.2 1.2 0 0 0-.613.22c-.42.286-.74.768-1.083 1.277q-.13.197-.259.383c-.16.23-.354.586-.364.971-.01.436.146.64.267.753.303.285.89.445 1.582.439.475-.767.849-1.591 1.113-2.453.117-.38.117-.761.007-1.074-.144-.403-.347-.47-.414-.493a.7.7 0 0 0-.236-.026zm19.157-51.615-119.05 6.009a.833.833 0 0 1-.659-1.388.83.83 0 0 1 .576-.273l119.049-6.009a.831.831 0 0 1 .084 1.661M80.121 85.486l-36.302 1.833a.832.832 0 1 1-.083-1.66l36.301-1.834a.834.834 0 0 1 .826 1.11.83.83 0 0 1-.742.55"></path></g><g fill=#000 opacity=.2><path d="M163.691 102.34 35.523 95.612c-4.04-.211-7.152-3.681-6.942-7.733l3.59-68.738c.21-4.052 3.67-7.174 7.71-6.963l128.166 6.729c4.041.21 7.153 3.68 6.943 7.733l-3.587 68.737c-.21 4.052-3.669 7.174-7.709 6.963zm-123.9-88.489c-3.12-.165-5.792 2.249-5.955 5.38L30.249 87.97c-.163 3.128 2.242 5.809 5.364 5.973l128.168 6.729c3.119.163 5.791-2.249 5.955-5.38l3.585-68.739c.164-3.128-2.241-5.808-5.364-5.972z"></path><path d="M60.118 55.812c-6.292-.331-11.146-5.73-10.817-12.034s5.718-11.168 12.01-10.838 11.145 5.73 10.815 12.034-5.717 11.168-12.009 10.838m1.106-21.205c-5.374-.28-9.975 3.872-10.26 9.257-.282 5.386 3.866 9.997 9.24 10.28s9.976-3.871 10.26-9.257c.279-5.385-3.866-9.996-9.24-10.28"></path><path d="M77.66 71.323a.83.83 0 0 1-.576-.278.85.85 0 0 1-.213-.606c.386-7.478-7.058-13.968-16.594-14.476-9.537-.507-17.613 5.17-17.999 12.645a.85.85 0 0 1-.281.566.83.83 0 0 1-1.162-.061.85.85 0 0 1-.221-.593c.436-8.402 9.294-14.788 19.75-14.237 10.451.551 18.603 7.837 18.168 16.24a.85.85 0 0 1-.275.581.83.83 0 0 1-.6.216zm73.815-27.291-61.294-3.24a.83.83 0 0 1-.575-.278.846.846 0 0 1 .06-1.188.83.83 0 0 1 .602-.215l61.293 3.24a.83.83 0 0 1 .554.288.847.847 0 0 1-.06 1.165.83.83 0 0 1-.58.228m-.482 11.837-61.294-3.24a.83.83 0 0 1-.575-.277.846.846 0 0 1 .06-1.188.83.83 0 0 1 .602-.215l61.293 3.24a.83.83 0 0 1 .576.277.85.85 0 0 1-.061 1.188.83.83 0 0 1-.601.215m-17.504 10.84-44.386-2.346a.83.83 0 0 1-.576-.277.847.847 0 0 1 .061-1.19.83.83 0 0 1 .602-.214l44.386 2.346a.83.83 0 0 1 .545.292.85.85 0 0 1-.06 1.156.83.83 0 0 1-.572.232m-1.124 22.037a.83.83 0 0 1-.521-.224.84.84 0 0 1-.134-1.067.83.83 0 0 1 .448-.349 10.8 10.8 0 0 0 4.013-2.34c-.532-.177-1.074-.467-1.481-.94-.482-.565-.681-1.287-.579-2.094.08-.635.377-1.264.853-1.822q.138-.162.276-.332c.452-.552.965-1.177 1.694-1.577.758-.417 1.633-.477 2.332-.165.649.29 1.112.885 1.301 1.674.167.683.097 1.419-.199 2.128-.23.551-.499 1.086-.809 1.596a9.7 9.7 0 0 0 3.078-1.055.976.976 0 0 1 1.181.192c.303.325.353.823.12 1.203-.2.326-.396.766-.196 1.022.15.195.459.208.692.12.449-.17.788-.55 1.175-1.307a1.23 1.23 0 0 1 .895-.652 1.23 1.23 0 0 1 1.064.353c.806.814 1.957 1.28 3.068 1.257a4.26 4.26 0 0 0 3.311-1.758.83.83 0 0 1 1.162-.191.844.844 0 0 1 .189 1.173c-1.051 1.475-2.825 2.416-4.625 2.456a5.87 5.87 0 0 1-3.864-1.367c-.382.631-.928 1.277-1.783 1.606-.962.37-2.003.108-2.592-.652a2.1 2.1 0 0 1-.439-1.32 11.3 11.3 0 0 1-3.754.722c-1.487 1.694-3.427 2.991-5.583 3.677a.8.8 0 0 1-.293.037zm5.996-9.43a1.2 1.2 0 0 0-.632.157c-.446.242-.815.692-1.205 1.17q-.149.182-.299.36c-.183.215-.413.551-.463.94-.056.438.08.656.186.784.273.316.839.538 1.528.608a10.6 10.6 0 0 0 1.357-2.35c.154-.369.197-.752.117-1.078-.103-.42-.296-.508-.359-.534a.6.6 0 0 0-.233-.05zm24.334-49.878L43.802 23.153a.83.83 0 0 1-.56-.284.847.847 0 0 1 .059-1.172c.16-.15.37-.23.587-.225l118.894 6.286a.83.83 0 0 1 .742.559.85.85 0 0 1-.228.906.83.83 0 0 1-.601.215M77.011 83.829l-36.254-1.915a.83.83 0 0 1-.554-.288.85.85 0 0 1 .06-1.165.83.83 0 0 1 .58-.228l36.255 1.916a.83.83 0 0 1 .575.277.84.84 0 0 1 .133.925.84.84 0 0 1-.474.431.8.8 0 0 1-.321.047"></path></g><g fill=#000 opacity=.3><path d="M164.356 100.916 36.416 97.69c-4.031-.1-7.227-3.477-7.128-7.525l1.72-68.69c.1-4.049 3.463-7.258 7.494-7.158l127.939 3.226c4.032.1 7.228 3.477 7.129 7.525l-1.72 68.69c-.1 4.049-3.463 7.259-7.494 7.158M38.463 15.983c-3.114-.08-5.712 2.402-5.792 5.532l-1.72 68.69c-.08 3.126 2.392 5.735 5.508 5.815l127.939 3.227c3.114.08 5.712-2.402 5.792-5.532l1.72-68.69c.08-3.126-2.392-5.735-5.509-5.815z"></path><path d="M60.428 57.256c-6.297-.158-11.295-5.422-11.138-11.736.156-6.31 5.41-11.318 11.712-11.161 6.297.157 11.294 5.422 11.138 11.736s-5.411 11.318-11.712 11.16m.534-21.223c-5.381-.138-9.87 4.139-10.002 9.53-.137 5.392 4.13 9.889 9.511 10.023 5.381.133 9.868-4.14 10.002-9.531.136-5.392-4.13-9.89-9.511-10.022"></path><path d="M78.15 72.22a.83.83 0 0 1-.812-.854c.187-7.439-7.431-13.685-16.98-13.926s-17.469 5.615-17.656 13.054a.836.836 0 0 1-.851.8.83.83 0 0 1-.813-.84c.21-8.36 8.896-14.945 19.36-14.68 10.467.264 18.81 7.278 18.6 15.638a.837.837 0 0 1-.852.815zm73.069-29.125L89.852 41.55a.83.83 0 0 1-.813-.855.836.836 0 0 1 .853-.815l61.367 1.546a.836.836 0 0 1-.04 1.67m-.166 11.774-61.367-1.546a.83.83 0 0 1-.785-.855.84.84 0 0 1 .824-.816l61.368 1.546a.836.836 0 0 1-.04 1.67m-17.207 11.246-44.44-1.122a.83.83 0 0 1-.812-.855.84.84 0 0 1 .532-.76.8.8 0 0 1 .32-.056l44.44 1.123a.834.834 0 0 1 .785.854.836.836 0 0 1-.825.816m-.533 21.92a.834.834 0 0 1-.797-.709.834.834 0 0 1 .548-.917 10.8 10.8 0 0 0 3.951-2.435c-.537-.16-1.089-.434-1.505-.895-.496-.548-.715-1.26-.635-2.064.063-.631.343-1.266.802-1.834q.135-.166.269-.337c.44-.562.935-1.196 1.651-1.614.749-.433 1.617-.517 2.326-.227.655.27 1.135.849 1.345 1.627.183.675.133 1.406-.143 2.12a12 12 0 0 1-.766 1.608 9.8 9.8 0 0 0 3.052-1.133.98.98 0 0 1 1.467.73 1 1 0 0 1-.129.623c-.19.327-.376.772-.17 1.019.157.19.466.194.693.1.442-.184.771-.568 1.141-1.333a1.224 1.224 0 0 1 1.95-.35 4.3 4.3 0 0 0 3.102 1.165 4.27 4.27 0 0 0 3.265-1.837.83.83 0 0 1 1.503.313.83.83 0 0 1-.129.626 5.95 5.95 0 0 1-4.559 2.565 5.9 5.9 0 0 1-3.9-1.253c-.366.638-.896 1.293-1.741 1.643-.952.395-2 .16-2.609-.577a2.07 2.07 0 0 1-.476-1.3c-1.19.483-2.453.761-3.735.822a12.54 12.54 0 0 1-5.485 3.805.9.9 0 0 1-.292.046zm5.741-9.532a1.3 1.3 0 0 0-.629.174c-.439.254-.795.711-1.174 1.196-.097.123-.193.247-.29.363-.176.218-.396.561-.435.946-.044.437.096.651.209.771.28.307.852.511 1.544.561a10.7 10.7 0 0 0 1.295-2.37c.143-.371.176-.756.087-1.076-.114-.415-.311-.498-.373-.522a.6.6 0 0 0-.234-.043m22.988-50.211L43.006 25.289a.83.83 0 0 1-.798-.854.837.837 0 0 1 .838-.816l119.036 3.003a.831.831 0 0 1 .775.854.836.836 0 0 1-.815.816M77.841 84.659l-36.3-.916a.83.83 0 0 1-.826-.855.836.836 0 0 1 .866-.814l36.3.915a.83.83 0 0 1 .769.531.84.84 0 0 1-.485 1.087.8.8 0 0 1-.325.052"></path></g><path fill=#F43F5E d="M172.655 110.221H27.345c-4.048 0-7.345-3.275-7.345-7.301V15.89c0-4.024 3.293-7.301 7.345-7.301h145.31c4.048 0 7.345 3.274 7.345 7.3v87.034c0 4.023-3.294 7.3-7.345 7.3zM27.345 10.252c-3.13 0-5.675 2.53-5.675 5.641v87.03c0 3.111 2.545 5.641 5.675 5.641h145.31c3.129 0 5.674-2.53 5.674-5.641V15.89c0-3.11-2.545-5.64-5.674-5.64H27.345z"></path><path fill=#fff d="m100.073 125.612 1.831-1.835a.82.82 0 0 0 .238-.574.81.81 0 0 0-1.383-.574l-1.83 1.835-1.831-1.835a.8.8 0 0 0-.573-.238.8.8 0 0 0-.572.238.81.81 0 0 0 0 1.148l1.83 1.835-1.83 1.836a.81.81 0 0 0 .572 1.384.8.8 0 0 0 .573-.236l1.83-1.836 1.831 1.836a.8.8 0 0 0 .572.236.806.806 0 0 0 .796-.968.8.8 0 0 0-.223-.416z">');
|
|
3991
|
+
var Tr = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 200 141"><path fill=#F43F5E d="M108.572 125.612c0 5.336-4.317 9.662-9.643 9.662-5.325 0-9.643-4.326-9.643-9.662s4.318-9.663 9.643-9.663 9.643 4.326 9.643 9.663"></path><path fill=#142641 d="M162.781 20.757H34.364a6.51 6.51 0 0 0-6.011 4.012 6.5 6.5 0 0 0-.496 2.487V95.85a6.49 6.49 0 0 0 4.017 6.005c.79.326 1.635.494 2.49.494H162.78c1.725 0 3.38-.684 4.6-1.903a6.5 6.5 0 0 0 1.905-4.596V27.256a6.49 6.49 0 0 0-4.016-6.005 6.5 6.5 0 0 0-2.489-.495z"opacity=.3></path><path fill=#fff d="M166.352 17.178H37.934c-1.725 0-3.38.684-4.6 1.903a6.5 6.5 0 0 0-1.905 4.596v68.595a6.49 6.49 0 0 0 4.015 6.005c.79.326 1.636.495 2.49.495h128.418a6.52 6.52 0 0 0 4.6-1.904 6.5 6.5 0 0 0 1.905-4.596V23.677a6.5 6.5 0 0 0-1.905-4.596 6.5 6.5 0 0 0-4.6-1.903"></path><g fill=#000 opacity=.4><path d="M165.529 99.487H37.328c-4.04 0-7.328-3.306-7.328-7.375v-68.99c0-4.066 3.285-7.376 7.328-7.376h128.201c4.039 0 7.328 3.307 7.328 7.375v68.991c0 4.065-3.285 7.375-7.328 7.375M37.328 17.427c-3.123 0-5.662 2.555-5.662 5.698v68.99c0 3.143 2.54 5.698 5.662 5.698h128.201c3.123 0 5.662-2.555 5.662-5.697V23.12c0-3.143-2.539-5.698-5.662-5.698H37.328z"></path><path d="M60 58.69c-6.301 0-11.429-5.137-11.429-11.451S53.7 35.787 60 35.787c6.3 0 11.428 5.137 11.428 11.451S66.301 58.69 60 58.69m0-21.229c-5.381 0-9.762 4.386-9.762 9.781s4.378 9.782 9.761 9.782c5.385 0 9.762-4.387 9.762-9.782S65.384 37.461 60 37.461"></path><path d="M78.59 72.855a.83.83 0 0 1-.588-.245.84.84 0 0 1-.244-.591c0-7.459-7.769-13.524-17.319-13.524S43.12 64.56 43.12 72.019a.84.84 0 0 1-.243.591.83.83 0 0 1-1.42-.591c0-8.38 8.514-15.198 18.982-15.198S79.422 63.64 79.422 72.02a.834.834 0 0 1-.832.836m72.298-31.024H89.514a.83.83 0 0 1-.589-.245.84.84 0 0 1 .589-1.429h61.374a.83.83 0 0 1 .588.246.84.84 0 0 1 0 1.183.83.83 0 0 1-.588.245m.129 11.8H89.644a.83.83 0 0 1-.588-.245.84.84 0 0 1 .588-1.429h61.373a.83.83 0 0 1 .832.837.83.83 0 0 1-.832.837m-16.916 11.7H89.653a.83.83 0 0 1-.588-.246.84.84 0 0 1 .588-1.429h44.445a.83.83 0 0 1 .588.246.84.84 0 0 1 0 1.183.83.83 0 0 1-.588.246zm.016 21.979a.83.83 0 0 1-.778-.546.845.845 0 0 1 .489-1.078 10.8 10.8 0 0 0 3.887-2.537c-.539-.147-1.098-.409-1.528-.857-.509-.536-.748-1.245-.686-2.052.047-.636.31-1.279.756-1.858q.13-.17.26-.345c.422-.572.905-1.222 1.61-1.657.738-.455 1.604-.559 2.319-.284.663.254 1.155.82 1.384 1.597.2.669.17 1.406-.09 2.125a12 12 0 0 1-.721 1.63 9.8 9.8 0 0 0 3.021-1.212.976.976 0 0 1 1.191.13c.32.31.396.801.18 1.193-.183.334-.357.783-.143 1.027.159.185.472.181.695.084.439-.194.758-.589 1.105-1.362a1.215 1.215 0 0 1 1.433-.675c.188.051.361.146.506.276.846.767 2.02 1.172 3.132 1.088 1.284-.094 2.518-.833 3.217-1.921a.833.833 0 0 1 1.138-.23.843.843 0 0 1 .263 1.138c-.975 1.522-2.695 2.553-4.492 2.684a5.9 5.9 0 0 1-3.929-1.155c-.35.65-.862 1.319-1.697 1.69-.942.419-1.994.211-2.623-.515a2.07 2.07 0 0 1-.505-1.289 11.4 11.4 0 0 1-3.71.918 12.55 12.55 0 0 1-5.388 3.949.8.8 0 0 1-.289.054zm5.501-9.695a1.23 1.23 0 0 0-.623.191c-.432.265-.778.733-1.144 1.229q-.138.188-.28.371c-.173.225-.383.573-.413.96-.032.44.114.65.227.768.286.301.865.492 1.557.522.512-.746.927-1.555 1.235-2.407.133-.375.156-.76.06-1.078-.124-.412-.32-.488-.386-.516a.7.7 0 0 0-.233-.04m21.717-50.89H42.285a.83.83 0 0 1-.572-.254.84.84 0 0 1 .572-1.42h119.05a.83.83 0 0 1 .808.837.84.84 0 0 1-.808.836M78.59 85.327H42.285a.83.83 0 0 1-.79-.51.84.84 0 0 1 .464-1.107.8.8 0 0 1 .326-.057h36.302a.84.84 0 0 1 0 1.673z"></path></g><g fill=#000 opacity=.3><path d="m166.422 97.871-128.03 3.046c-4.034.097-7.393-3.126-7.49-7.183l-1.614-68.84c-.096-4.056 3.11-7.434 7.144-7.531l128.03-3.046c4.035-.097 7.394 3.127 7.49 7.183l1.618 68.836c.096 4.057-3.109 7.435-7.144 7.532l-.003.003zM36.472 19.036c-3.117.074-5.593 2.685-5.52 5.818L32.57 93.69c.074 3.133 2.67 5.624 5.786 5.55l128.03-3.046c3.116-.074 5.593-2.685 5.52-5.818l-1.618-68.836c-.073-3.133-2.67-5.623-5.785-5.55L36.471 19.037"></path><path d="M60.27 59.403c-6.3.15-11.544-4.865-11.694-11.178-.15-6.315 4.853-11.569 11.155-11.72s11.545 4.864 11.695 11.178-4.854 11.57-11.155 11.72m-.5-21.227c-5.38.127-9.655 4.617-9.528 10.008.127 5.392 4.608 9.675 9.989 9.548s9.655-4.617 9.528-10.009-4.607-9.675-9.988-9.547"></path><path d="M78.963 73.294a.83.83 0 0 1-.853-.816c-.176-7.442-8.09-13.314-17.64-13.087S43.289 65.858 43.465 73.3a.84.84 0 0 1-.813.818.83.83 0 0 1-.851-.779c-.197-8.364 8.159-15.37 18.629-15.62 10.47-.247 19.149 6.353 19.345 14.718a.837.837 0 0 1-.812.856m71.587-32.681L89.163 42.07a.83.83 0 0 1-.816-.816.84.84 0 0 1 .776-.854l61.387-1.458a.833.833 0 0 1 .816.816.834.834 0 0 1-.776.855m.406 11.774-61.387 1.457a.83.83 0 0 1-.853-.816.84.84 0 0 1 .813-.855l61.388-1.457a.83.83 0 0 1 .838.816.83.83 0 0 1-.799.855m-16.648 12.08-44.453 1.057a.83.83 0 0 1-.825-.817.84.84 0 0 1 .785-.855l44.453-1.055a.836.836 0 0 1 .04 1.67m.536 21.937a.83.83 0 0 1-.831-.668.836.836 0 0 1 .501-.943 10.8 10.8 0 0 0 3.829-2.627c-.543-.133-1.109-.38-1.548-.822-.523-.521-.776-1.223-.736-2.032.033-.635.28-1.283.712-1.871q.126-.17.25-.351c.409-.582.876-1.243 1.571-1.69.726-.472 1.592-.6 2.314-.342.669.237 1.175.792 1.425 1.56.216.666.203 1.398-.04 2.126a12 12 0 0 1-.686 1.644 9.8 9.8 0 0 0 2.993-1.28.99.99 0 0 1 1.195.1c.33.302.413.79.21 1.187-.173.338-.336.789-.12 1.026.166.18.476.17.699.066.433-.203.746-.608 1.075-1.386a1.22 1.22 0 0 1 1.419-.708c.189.046.364.136.512.263.863.742 2.048 1.123 3.156 1.013a4.27 4.27 0 0 0 3.173-1.995.83.83 0 0 1 1.138-.267.835.835 0 0 1 .283 1.14c-.939 1.543-2.636 2.612-4.43 2.786a5.9 5.9 0 0 1-3.959-1.059c-.336.655-.829 1.336-1.658 1.727-.932.439-1.991.258-2.633-.45-.32-.35-.511-.8-.539-1.274-1.165.54-2.412.88-3.689 1.002a12.55 12.55 0 0 1-5.293 4.07.9.9 0 0 1-.29.061zm5.273-9.805c-.221.01-.435.08-.619.204-.426.273-.759.748-1.115 1.253l-.27.377c-.166.227-.369.578-.389.966-.024.438.129.645.246.762.293.294.879.471 1.571.484a10.4 10.4 0 0 0 1.175-2.432c.127-.378.14-.762.037-1.08-.133-.41-.333-.48-.399-.504a.7.7 0 0 0-.237-.034zm20.527-51.308L41.568 28.118a.83.83 0 0 1-.853-.816.84.84 0 0 1 .813-.855l119.076-2.828a.83.83 0 0 1 .825.817.833.833 0 0 1-.785.855M79.255 85.74l-36.31.863a.83.83 0 0 1-.815-.816.84.84 0 0 1 .776-.855l36.31-.862a.83.83 0 0 1 .793.494.84.84 0 0 1-.432 1.11.8.8 0 0 1-.322.067"></path></g><g fill=#000 opacity=.2><path d="m168.027 95.162-128.279 6.463c-4.043.203-7.498-2.909-7.702-6.939l-3.465-68.369c-.203-4.03 2.918-7.474 6.96-7.677l128.278-6.463c4.044-.203 7.499 2.909 7.703 6.939l3.468 68.372c.204 4.03-2.917 7.474-6.961 7.678zM35.625 20.3c-3.125.157-5.535 2.82-5.378 5.93l3.469 68.373c.157 3.111 2.827 5.517 5.95 5.361l128.277-6.463c3.125-.156 5.535-2.818 5.378-5.93l-3.469-68.372c-.156-3.112-2.828-5.518-5.949-5.361z"></path><path d="M60.577 60.107c-6.296.317-11.675-4.554-11.991-10.86-.317-6.305 4.544-11.697 10.837-12.014 6.292-.318 11.674 4.554 11.99 10.859.318 6.308-4.544 11.698-10.836 12.015M59.507 38.9c-5.376.271-9.53 4.879-9.257 10.265s4.868 9.55 10.244 9.276c5.374-.274 9.53-4.878 9.256-10.265-.273-5.386-4.868-9.55-10.243-9.275"></path><path d="M79.495 73.105a.833.833 0 0 1-.874-.788c-.372-7.403-8.448-13.033-17.998-12.55-9.548.482-17.014 6.897-16.637 14.3a.831.831 0 0 1-1.39.658.83.83 0 0 1-.273-.575c-.42-8.318 7.753-15.515 18.221-16.044s19.327 5.81 19.747 14.128a.83.83 0 0 1-.79.871zm70.74-34.45L88.86 41.754a.831.831 0 1 1-.084-1.66l61.376-3.098a.83.83 0 0 1 .794.474.84.84 0 0 1-.135.914.83.83 0 0 1-.576.273m.723 11.71L89.583 53.46a.832.832 0 1 1-.084-1.66l61.376-3.097a.833.833 0 0 1 .659 1.388.83.83 0 0 1-.576.272M134.63 62.833l-44.444 2.243a.832.832 0 1 1-.083-1.66l44.444-2.243a.84.84 0 0 1 .793.474.82.82 0 0 1 .032.635.83.83 0 0 1-.427.472.8.8 0 0 1-.315.079m1.123 21.817a.84.84 0 0 1-.851-.644.83.83 0 0 1 .478-.953 10.8 10.8 0 0 0 3.758-2.715c-.55-.12-1.12-.35-1.569-.776-.537-.505-.81-1.198-.79-2.003.016-.632.246-1.284.663-1.883l.243-.356c.397-.589.843-1.258 1.526-1.727.716-.489 1.576-.639 2.306-.402.676.22 1.195.759 1.465 1.514.234.655.24 1.387.017 2.116-.171.566-.387 1.12-.643 1.653a9.8 9.8 0 0 0 2.959-1.354.983.983 0 0 1 1.439 1.244c-.166.34-.316.796-.094 1.026.17.176.48.156.7.046.43-.216.73-.625 1.037-1.407a1.22 1.22 0 0 1 1.402-.744c.191.042.369.128.52.25a4.33 4.33 0 0 0 3.185.926 4.27 4.27 0 0 0 3.118-2.073.834.834 0 0 1 1.136-.306c.4.23.536.739.307 1.135-.9 1.56-2.569 2.672-4.358 2.894a5.92 5.92 0 0 1-3.988-.948c-.316.662-.796 1.351-1.612 1.764-.92.462-1.983.31-2.649-.38a2.06 2.06 0 0 1-.573-1.254c-1.151.57-2.39.94-3.665 1.098a12.54 12.54 0 0 1-5.187 4.192.8.8 0 0 1-.287.067zm5.014-9.902a1.2 1.2 0 0 0-.613.22c-.42.286-.74.768-1.083 1.277q-.13.197-.259.383c-.16.23-.354.586-.364.971-.01.436.146.64.267.753.303.285.89.445 1.582.439.475-.767.849-1.591 1.113-2.453.117-.38.117-.761.007-1.074-.144-.403-.347-.47-.414-.493a.7.7 0 0 0-.236-.026zm19.157-51.615-119.05 6.009a.833.833 0 0 1-.659-1.388.83.83 0 0 1 .576-.273l119.049-6.009a.831.831 0 0 1 .084 1.661M80.121 85.486l-36.302 1.833a.832.832 0 1 1-.083-1.66l36.301-1.834a.834.834 0 0 1 .826 1.11.83.83 0 0 1-.742.55"></path></g><g fill=#000 opacity=.2><path d="M163.691 102.34 35.523 95.612c-4.04-.211-7.152-3.681-6.942-7.733l3.59-68.738c.21-4.052 3.67-7.174 7.71-6.963l128.166 6.729c4.041.21 7.153 3.68 6.943 7.733l-3.587 68.737c-.21 4.052-3.669 7.174-7.709 6.963zm-123.9-88.489c-3.12-.165-5.792 2.249-5.955 5.38L30.249 87.97c-.163 3.128 2.242 5.809 5.364 5.973l128.168 6.729c3.119.163 5.791-2.249 5.955-5.38l3.585-68.739c.164-3.128-2.241-5.808-5.364-5.972z"></path><path d="M60.118 55.812c-6.292-.331-11.146-5.73-10.817-12.034s5.718-11.168 12.01-10.838 11.145 5.73 10.815 12.034-5.717 11.168-12.009 10.838m1.106-21.205c-5.374-.28-9.975 3.872-10.26 9.257-.282 5.386 3.866 9.997 9.24 10.28s9.976-3.871 10.26-9.257c.279-5.385-3.866-9.996-9.24-10.28"></path><path d="M77.66 71.323a.83.83 0 0 1-.576-.278.85.85 0 0 1-.213-.606c.386-7.478-7.058-13.968-16.594-14.476-9.537-.507-17.613 5.17-17.999 12.645a.85.85 0 0 1-.281.566.83.83 0 0 1-1.162-.061.85.85 0 0 1-.221-.593c.436-8.402 9.294-14.788 19.75-14.237 10.451.551 18.603 7.837 18.168 16.24a.85.85 0 0 1-.275.581.83.83 0 0 1-.6.216zm73.815-27.291-61.294-3.24a.83.83 0 0 1-.575-.278.846.846 0 0 1 .06-1.188.83.83 0 0 1 .602-.215l61.293 3.24a.83.83 0 0 1 .554.288.847.847 0 0 1-.06 1.165.83.83 0 0 1-.58.228m-.482 11.837-61.294-3.24a.83.83 0 0 1-.575-.277.846.846 0 0 1 .06-1.188.83.83 0 0 1 .602-.215l61.293 3.24a.83.83 0 0 1 .576.277.85.85 0 0 1-.061 1.188.83.83 0 0 1-.601.215m-17.504 10.84-44.386-2.346a.83.83 0 0 1-.576-.277.847.847 0 0 1 .061-1.19.83.83 0 0 1 .602-.214l44.386 2.346a.83.83 0 0 1 .545.292.85.85 0 0 1-.06 1.156.83.83 0 0 1-.572.232m-1.124 22.037a.83.83 0 0 1-.521-.224.84.84 0 0 1-.134-1.067.83.83 0 0 1 .448-.349 10.8 10.8 0 0 0 4.013-2.34c-.532-.177-1.074-.467-1.481-.94-.482-.565-.681-1.287-.579-2.094.08-.635.377-1.264.853-1.822q.138-.162.276-.332c.452-.552.965-1.177 1.694-1.577.758-.417 1.633-.477 2.332-.165.649.29 1.112.885 1.301 1.674.167.683.097 1.419-.199 2.128-.23.551-.499 1.086-.809 1.596a9.7 9.7 0 0 0 3.078-1.055.976.976 0 0 1 1.181.192c.303.325.353.823.12 1.203-.2.326-.396.766-.196 1.022.15.195.459.208.692.12.449-.17.788-.55 1.175-1.307a1.23 1.23 0 0 1 .895-.652 1.23 1.23 0 0 1 1.064.353c.806.814 1.957 1.28 3.068 1.257a4.26 4.26 0 0 0 3.311-1.758.83.83 0 0 1 1.162-.191.844.844 0 0 1 .189 1.173c-1.051 1.475-2.825 2.416-4.625 2.456a5.87 5.87 0 0 1-3.864-1.367c-.382.631-.928 1.277-1.783 1.606-.962.37-2.003.108-2.592-.652a2.1 2.1 0 0 1-.439-1.32 11.3 11.3 0 0 1-3.754.722c-1.487 1.694-3.427 2.991-5.583 3.677a.8.8 0 0 1-.293.037zm5.996-9.43a1.2 1.2 0 0 0-.632.157c-.446.242-.815.692-1.205 1.17q-.149.182-.299.36c-.183.215-.413.551-.463.94-.056.438.08.656.186.784.273.316.839.538 1.528.608a10.6 10.6 0 0 0 1.357-2.35c.154-.369.197-.752.117-1.078-.103-.42-.296-.508-.359-.534a.6.6 0 0 0-.233-.05zm24.334-49.878L43.802 23.153a.83.83 0 0 1-.56-.284.847.847 0 0 1 .059-1.172c.16-.15.37-.23.587-.225l118.894 6.286a.83.83 0 0 1 .742.559.85.85 0 0 1-.228.906.83.83 0 0 1-.601.215M77.011 83.829l-36.254-1.915a.83.83 0 0 1-.554-.288.85.85 0 0 1 .06-1.165.83.83 0 0 1 .58-.228l36.255 1.916a.83.83 0 0 1 .575.277.84.84 0 0 1 .133.925.84.84 0 0 1-.474.431.8.8 0 0 1-.321.047"></path></g><g fill=#000 opacity=.3><path d="M164.356 100.916 36.416 97.69c-4.031-.1-7.227-3.477-7.128-7.525l1.72-68.69c.1-4.049 3.463-7.258 7.494-7.158l127.939 3.226c4.032.1 7.228 3.477 7.129 7.525l-1.72 68.69c-.1 4.049-3.463 7.259-7.494 7.158M38.463 15.983c-3.114-.08-5.712 2.402-5.792 5.532l-1.72 68.69c-.08 3.126 2.392 5.735 5.508 5.815l127.939 3.227c3.114.08 5.712-2.402 5.792-5.532l1.72-68.69c.08-3.126-2.392-5.735-5.509-5.815z"></path><path d="M60.428 57.256c-6.297-.158-11.295-5.422-11.138-11.736.156-6.31 5.41-11.318 11.712-11.161 6.297.157 11.294 5.422 11.138 11.736s-5.411 11.318-11.712 11.16m.534-21.223c-5.381-.138-9.87 4.139-10.002 9.53-.137 5.392 4.13 9.889 9.511 10.023 5.381.133 9.868-4.14 10.002-9.531.136-5.392-4.13-9.89-9.511-10.022"></path><path d="M78.15 72.22a.83.83 0 0 1-.812-.854c.187-7.439-7.431-13.685-16.98-13.926s-17.469 5.615-17.656 13.054a.836.836 0 0 1-.851.8.83.83 0 0 1-.813-.84c.21-8.36 8.896-14.945 19.36-14.68 10.467.264 18.81 7.278 18.6 15.638a.837.837 0 0 1-.852.815zm73.069-29.125L89.852 41.55a.83.83 0 0 1-.813-.855.836.836 0 0 1 .853-.815l61.367 1.546a.836.836 0 0 1-.04 1.67m-.166 11.774-61.367-1.546a.83.83 0 0 1-.785-.855.84.84 0 0 1 .824-.816l61.368 1.546a.836.836 0 0 1-.04 1.67m-17.207 11.246-44.44-1.122a.83.83 0 0 1-.812-.855.84.84 0 0 1 .532-.76.8.8 0 0 1 .32-.056l44.44 1.123a.834.834 0 0 1 .785.854.836.836 0 0 1-.825.816m-.533 21.92a.834.834 0 0 1-.797-.709.834.834 0 0 1 .548-.917 10.8 10.8 0 0 0 3.951-2.435c-.537-.16-1.089-.434-1.505-.895-.496-.548-.715-1.26-.635-2.064.063-.631.343-1.266.802-1.834q.135-.166.269-.337c.44-.562.935-1.196 1.651-1.614.749-.433 1.617-.517 2.326-.227.655.27 1.135.849 1.345 1.627.183.675.133 1.406-.143 2.12a12 12 0 0 1-.766 1.608 9.8 9.8 0 0 0 3.052-1.133.98.98 0 0 1 1.467.73 1 1 0 0 1-.129.623c-.19.327-.376.772-.17 1.019.157.19.466.194.693.1.442-.184.771-.568 1.141-1.333a1.224 1.224 0 0 1 1.95-.35 4.3 4.3 0 0 0 3.102 1.165 4.27 4.27 0 0 0 3.265-1.837.83.83 0 0 1 1.503.313.83.83 0 0 1-.129.626 5.95 5.95 0 0 1-4.559 2.565 5.9 5.9 0 0 1-3.9-1.253c-.366.638-.896 1.293-1.741 1.643-.952.395-2 .16-2.609-.577a2.07 2.07 0 0 1-.476-1.3c-1.19.483-2.453.761-3.735.822a12.54 12.54 0 0 1-5.485 3.805.9.9 0 0 1-.292.046zm5.741-9.532a1.3 1.3 0 0 0-.629.174c-.439.254-.795.711-1.174 1.196-.097.123-.193.247-.29.363-.176.218-.396.561-.435.946-.044.437.096.651.209.771.28.307.852.511 1.544.561a10.7 10.7 0 0 0 1.295-2.37c.143-.371.176-.756.087-1.076-.114-.415-.311-.498-.373-.522a.6.6 0 0 0-.234-.043m22.988-50.211L43.006 25.289a.83.83 0 0 1-.798-.854.837.837 0 0 1 .838-.816l119.036 3.003a.831.831 0 0 1 .775.854.836.836 0 0 1-.815.816M77.841 84.659l-36.3-.916a.83.83 0 0 1-.826-.855.836.836 0 0 1 .866-.814l36.3.915a.83.83 0 0 1 .769.531.84.84 0 0 1-.485 1.087.8.8 0 0 1-.325.052"></path></g><path fill=#F43F5E d="M172.655 110.221H27.345c-4.048 0-7.345-3.275-7.345-7.301V15.89c0-4.024 3.293-7.301 7.345-7.301h145.31c4.048 0 7.345 3.274 7.345 7.3v87.034c0 4.023-3.294 7.3-7.345 7.3zM27.345 10.252c-3.13 0-5.675 2.53-5.675 5.641v87.03c0 3.111 2.545 5.641 5.675 5.641h145.31c3.129 0 5.674-2.53 5.674-5.641V15.89c0-3.11-2.545-5.64-5.674-5.64H27.345z"></path><path fill=#fff d="m100.073 125.612 1.831-1.835a.82.82 0 0 0 .238-.574.81.81 0 0 0-1.383-.574l-1.83 1.835-1.831-1.835a.8.8 0 0 0-.573-.238.8.8 0 0 0-.572.238.81.81 0 0 0 0 1.148l1.83 1.835-1.83 1.836a.81.81 0 0 0 .572 1.384.8.8 0 0 0 .573-.236l1.83-1.836 1.831 1.836a.8.8 0 0 0 .572.236.806.806 0 0 0 .796-.968.8.8 0 0 0-.223-.416z">');
|
|
3921
3992
|
const wr = (t = {}) => (() => {
|
|
3922
|
-
var e =
|
|
3923
|
-
return
|
|
3993
|
+
var e = Tr();
|
|
3994
|
+
return F(e, t, !0, !0), e;
|
|
3924
3995
|
})();
|
|
3925
|
-
var
|
|
3926
|
-
const
|
|
3927
|
-
var e =
|
|
3928
|
-
return
|
|
3996
|
+
var br = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 36 36"><path fill=#0062F2 fill-rule=evenodd d="M12 15c0-3.315 2.685-6 6-6s6 2.685 6 6c0 1.924-1.185 2.96-2.339 3.968-1.095.957-2.161 1.889-2.161 3.532h-3c0-2.732 1.413-3.815 2.656-4.767C20.13 16.985 21 16.319 21 15c0-1.65-1.35-3-3-3s-3 1.35-3 3zm7.5 9v3h-3v-3z"clip-rule=evenodd>');
|
|
3997
|
+
const Ar = (t = {}) => (() => {
|
|
3998
|
+
var e = br();
|
|
3999
|
+
return F(e, t, !0, !0), e;
|
|
3929
4000
|
})();
|
|
3930
|
-
var
|
|
3931
|
-
const
|
|
4001
|
+
var Or = /* @__PURE__ */ _('<div role=region class="h-full min-h-0 overflow-hidden grid grid-rows-[minmax(0,1fr)_auto]"><div class="min-h-0 overflow-y-auto compact:overflow-hidden"><div aria-live=polite aria-atomic=true class="grid h-full min-h-0"></div></div><div class="relative z-10 bg-white flex items-center justify-center gap-3 py-3"aria-hidden=true>'), Sr = /* @__PURE__ */ _('<div class="grid-area-[1/1] min-h-0 compact:h-full"><article class="grid grid-cols-1 gap-2 min-h-0 compact:h-full compact:grid-cols-[minmax(7rem,11.25rem)_minmax(0,1fr)] compact:grid-rows-[minmax(0,1fr)]"><div aria-hidden=true class="compact:col-start-1 compact:self-start"></div><div class="compact:col-start-2 compact:min-h-0 compact:h-full compact:overflow-y-auto"><h2 class="dialog-title compact:!text-left"></h2><p class="dialog-description compact:!text-left">'), Mr = /* @__PURE__ */ _('<div class="size-[9px] rounded-full transition-colors">');
|
|
4002
|
+
const Cr = (t) => {
|
|
3932
4003
|
const {
|
|
3933
4004
|
t: e
|
|
3934
4005
|
} = he(), {
|
|
@@ -3938,15 +4009,15 @@ const Rr = (t) => {
|
|
|
3938
4009
|
showHelpModal: !1
|
|
3939
4010
|
}), c = ye(() => [...t.isDesktop ? [{
|
|
3940
4011
|
title: e.help_modal_camera_lens_title,
|
|
3941
|
-
img:
|
|
4012
|
+
img: vr,
|
|
3942
4013
|
description: e.help_modal_camera_lens_details
|
|
3943
4014
|
}] : [], {
|
|
3944
4015
|
title: e.help_modal_title_1,
|
|
3945
|
-
img:
|
|
4016
|
+
img: mr,
|
|
3946
4017
|
description: e.help_modal_details_1
|
|
3947
4018
|
}, {
|
|
3948
4019
|
title: e.help_modal_title_2,
|
|
3949
|
-
img:
|
|
4020
|
+
img: Er,
|
|
3950
4021
|
description: e.help_modal_details_2
|
|
3951
4022
|
}, {
|
|
3952
4023
|
title: e.help_modal_title_3,
|
|
@@ -3962,7 +4033,7 @@ const Rr = (t) => {
|
|
|
3962
4033
|
})), re(() => {
|
|
3963
4034
|
d();
|
|
3964
4035
|
});
|
|
3965
|
-
const
|
|
4036
|
+
const g = On(), [f, h] = L(null);
|
|
3966
4037
|
return l(ht, {
|
|
3967
4038
|
get mountTarget() {
|
|
3968
4039
|
return n.cameraManagerComponent.overlayLayerNode;
|
|
@@ -3973,7 +4044,7 @@ const Rr = (t) => {
|
|
|
3973
4044
|
showCloseButton: !0,
|
|
3974
4045
|
onEscapeKeyDown: () => u(),
|
|
3975
4046
|
onCloseClicked: () => u(),
|
|
3976
|
-
initialFocusEl: () =>
|
|
4047
|
+
initialFocusEl: () => f(),
|
|
3977
4048
|
get "aria-label"() {
|
|
3978
4049
|
return e.scanning_help;
|
|
3979
4050
|
},
|
|
@@ -3994,44 +4065,44 @@ const Rr = (t) => {
|
|
|
3994
4065
|
};
|
|
3995
4066
|
},
|
|
3996
4067
|
get children() {
|
|
3997
|
-
var p =
|
|
3998
|
-
return
|
|
4068
|
+
var p = Or(), m = p.firstChild, T = m.firstChild, A = m.nextSibling;
|
|
4069
|
+
return S(T, l(pt, {
|
|
3999
4070
|
get each() {
|
|
4000
4071
|
return c();
|
|
4001
4072
|
},
|
|
4002
|
-
children: (U,
|
|
4003
|
-
var
|
|
4004
|
-
return
|
|
4073
|
+
children: (U, b) => (() => {
|
|
4074
|
+
var D = Sr(), y = D.firstChild, P = y.firstChild, E = P.nextSibling, k = E.firstChild, w = k.nextSibling;
|
|
4075
|
+
return S(P, l(rt, {
|
|
4005
4076
|
get component() {
|
|
4006
4077
|
return U().img;
|
|
4007
4078
|
},
|
|
4008
4079
|
class: "w-full max-w-[17.5rem] m-x-auto compact:max-w-[11.25rem]"
|
|
4009
|
-
})), He(
|
|
4010
|
-
var
|
|
4011
|
-
return
|
|
4080
|
+
})), He(k, "id", b === 0 ? g : void 0), He(k, "tabindex", b === 0 ? -1 : void 0), S(k, () => U().title), S(w, () => U().description), Re((j) => {
|
|
4081
|
+
var C = r() !== b, q = `${U().title}.`;
|
|
4082
|
+
return C !== j.e && D.classList.toggle("invisible", j.e = C), q !== j.t && He(k, "aria-label", j.t = q), j;
|
|
4012
4083
|
}, {
|
|
4013
4084
|
e: void 0,
|
|
4014
4085
|
t: void 0
|
|
4015
|
-
}),
|
|
4086
|
+
}), D;
|
|
4016
4087
|
})()
|
|
4017
|
-
})),
|
|
4088
|
+
})), S(A, l(pt, {
|
|
4018
4089
|
get each() {
|
|
4019
4090
|
return c();
|
|
4020
4091
|
},
|
|
4021
|
-
children: (U,
|
|
4022
|
-
var
|
|
4023
|
-
return Re((
|
|
4024
|
-
var
|
|
4025
|
-
return
|
|
4092
|
+
children: (U, b) => (() => {
|
|
4093
|
+
var D = Mr();
|
|
4094
|
+
return Re((y) => {
|
|
4095
|
+
var P = r() === b, E = r() !== b;
|
|
4096
|
+
return P !== y.e && D.classList.toggle("bg-primary", y.e = P), E !== y.t && D.classList.toggle("bg-gray-300", y.t = E), y;
|
|
4026
4097
|
}, {
|
|
4027
4098
|
e: void 0,
|
|
4028
4099
|
t: void 0
|
|
4029
|
-
}),
|
|
4100
|
+
}), D;
|
|
4030
4101
|
})()
|
|
4031
4102
|
})), p;
|
|
4032
4103
|
}
|
|
4033
4104
|
});
|
|
4034
|
-
},
|
|
4105
|
+
}, Rr = (t) => {
|
|
4035
4106
|
const {
|
|
4036
4107
|
t: e
|
|
4037
4108
|
} = he(), {
|
|
@@ -4041,15 +4112,15 @@ const Rr = (t) => {
|
|
|
4041
4112
|
let u, c;
|
|
4042
4113
|
const d = () => {
|
|
4043
4114
|
u !== void 0 && (window.clearTimeout(u), u = void 0), c !== void 0 && (window.clearTimeout(c), c = void 0);
|
|
4044
|
-
},
|
|
4115
|
+
}, g = () => {
|
|
4045
4116
|
const h = n.helpTooltipHideDelay;
|
|
4046
4117
|
h && h > 0 && (c = window.setTimeout(() => {
|
|
4047
4118
|
a(!1);
|
|
4048
4119
|
}, h));
|
|
4049
|
-
},
|
|
4120
|
+
}, f = () => {
|
|
4050
4121
|
const h = n.helpTooltipShowDelay;
|
|
4051
4122
|
h && h > 0 && (u = window.setTimeout(() => {
|
|
4052
|
-
a(!0), o(!0),
|
|
4123
|
+
a(!0), o(!0), g();
|
|
4053
4124
|
}, h));
|
|
4054
4125
|
};
|
|
4055
4126
|
return re(d), V(() => {
|
|
@@ -4057,7 +4128,7 @@ const Rr = (t) => {
|
|
|
4057
4128
|
a(!1), o(!1), d();
|
|
4058
4129
|
return;
|
|
4059
4130
|
}
|
|
4060
|
-
!r() && !s() &&
|
|
4131
|
+
!r() && !s() && f();
|
|
4061
4132
|
}), V(() => {
|
|
4062
4133
|
r() && n.blinkIdUxManager.analytics.logHelpTooltipDisplayedEvent();
|
|
4063
4134
|
}), l(ae.Root, {
|
|
@@ -4081,7 +4152,7 @@ const Rr = (t) => {
|
|
|
4081
4152
|
showHelpModal: !0
|
|
4082
4153
|
}),
|
|
4083
4154
|
get children() {
|
|
4084
|
-
return l(
|
|
4155
|
+
return l(Ar, {
|
|
4085
4156
|
"aria-hidden": "true"
|
|
4086
4157
|
});
|
|
4087
4158
|
}
|
|
@@ -4097,7 +4168,7 @@ const Rr = (t) => {
|
|
|
4097
4168
|
get children() {
|
|
4098
4169
|
return l(ae.ArrowTip, {});
|
|
4099
4170
|
}
|
|
4100
|
-
}),
|
|
4171
|
+
}), Tn(() => e.help_tooltip)];
|
|
4101
4172
|
}
|
|
4102
4173
|
});
|
|
4103
4174
|
}
|
|
@@ -4105,18 +4176,18 @@ const Rr = (t) => {
|
|
|
4105
4176
|
}
|
|
4106
4177
|
});
|
|
4107
4178
|
};
|
|
4108
|
-
var
|
|
4109
|
-
const
|
|
4110
|
-
var e =
|
|
4111
|
-
return
|
|
4179
|
+
var Dr = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 200 141"><path fill=#10B990 d="M108.571 125.612c0 5.336-4.317 9.662-9.643 9.662-5.325 0-9.643-4.326-9.643-9.662s4.318-9.663 9.643-9.663 9.643 4.326 9.643 9.663M172.655 110.221H27.345c-4.048 0-7.345-3.275-7.345-7.301V15.89c0-4.024 3.293-7.301 7.345-7.301h145.31c4.048 0 7.345 3.274 7.345 7.3v87.034c0 4.023-3.294 7.3-7.345 7.3zM27.345 10.252c-3.13 0-5.675 2.53-5.675 5.641v87.03c0 3.111 2.545 5.641 5.675 5.641h145.31c3.129 0 5.674-2.53 5.674-5.641V15.89c0-3.11-2.545-5.64-5.674-5.64H27.345z"></path><path fill=#fff d="M103.322 122.629a.86.86 0 0 0-.599-.238.87.87 0 0 0-.599.238l-4.453 4.267-1.94-1.857a.875.875 0 0 0-1.198 0 .8.8 0 0 0-.248.573.78.78 0 0 0 .249.574l2.51 2.409a.86.86 0 0 0 .6.237h.053a.86.86 0 0 0 .6-.237l5.025-4.814a.8.8 0 0 0 .184-.263.78.78 0 0 0-.184-.885z"></path><path fill=#142641 d="M162.065 21.472H33.648a6.5 6.5 0 0 0-6.505 6.5v68.595a6.5 6.5 0 0 0 6.505 6.499h128.417a6.5 6.5 0 0 0 6.506-6.499V27.971a6.5 6.5 0 0 0-6.506-6.499"opacity=.3></path><path fill=#fff d="M164.923 17.178H36.506A6.5 6.5 0 0 0 30 23.677v68.596a6.5 6.5 0 0 0 6.506 6.499h128.417a6.5 6.5 0 0 0 6.506-6.5V23.678c0-3.59-2.913-6.5-6.506-6.5"></path><path fill=#000 d="M164.814 99.487H36.613c-4.039 0-7.328-3.278-7.328-7.311V23.774c0-4.03 3.286-7.312 7.328-7.312h128.201c4.039 0 7.328 3.279 7.328 7.311v68.403c0 4.03-3.286 7.311-7.328 7.311M36.613 18.127c-3.123 0-5.662 2.535-5.662 5.65V92.18c0 3.116 2.54 5.65 5.662 5.65h128.201c3.122 0 5.662-2.534 5.662-5.65V23.774c0-3.116-2.54-5.65-5.662-5.65H36.613z"></path><path fill=#000 d="M59.286 58.69c-6.3 0-11.429-5.137-11.429-11.451s5.128-11.452 11.43-11.452c6.3 0 11.428 5.137 11.428 11.452 0 6.313-5.128 11.451-11.429 11.451m0-21.23c-5.38 0-9.761 4.386-9.761 9.782 0 5.395 4.377 9.782 9.761 9.782s9.762-4.387 9.762-9.782-4.377-9.782-9.762-9.782"></path><path fill=#000 d="M77.85 73.57a.834.834 0 0 1-.832-.836c0-7.457-7.77-13.524-17.32-13.524s-17.32 6.066-17.32 13.524a.834.834 0 0 1-.832.837.834.834 0 0 1-.831-.837c0-8.379 8.515-15.197 18.983-15.197S78.68 64.356 78.68 72.734a.834.834 0 0 1-.831.837m72.303-31.022H88.778a.83.83 0 0 1-.588-.245.84.84 0 0 1-.245-.592c0-.462.373-.837.833-.837h61.375c.459 0 .832.374.832.837a.836.836 0 0 1-.832.837m.126 11.798H88.903a.834.834 0 0 1-.831-.836c0-.462.372-.837.831-.837h61.376c.459 0 .832.375.832.837a.835.835 0 0 1-.832.836m-16.917 11.7H88.917a.835.835 0 0 1-.832-.837c0-.461.372-.837.832-.837h44.445c.459 0 .831.375.831.837a.834.834 0 0 1-.831.837m.02 21.98a.83.83 0 0 1-.779-.546.844.844 0 0 1 .49-1.078 10.8 10.8 0 0 0 3.886-2.538c-.54-.147-1.099-.408-1.528-.857-.509-.535-.748-1.245-.685-2.051.046-.636.309-1.28.755-1.858l.26-.345c.422-.572.905-1.222 1.61-1.657.739-.455 1.604-.562 2.32-.284.662.254 1.154.82 1.384 1.596.2.67.17 1.406-.09 2.126q-.302.842-.722 1.63a9.8 9.8 0 0 0 3.022-1.212.98.98 0 0 1 1.19.13c.32.309.397.801.18 1.193-.183.334-.356.783-.143 1.027.16.184.472.18.696.084.439-.194.758-.59 1.104-1.363a1.23 1.23 0 0 1 .859-.693 1.23 1.23 0 0 1 1.081.295c.845.766 2.02 1.171 3.131 1.088 1.285-.094 2.519-.834 3.218-1.921a.83.83 0 0 1 1.152-.251.84.84 0 0 1 .249 1.158c-.975 1.523-2.695 2.554-4.492 2.684a5.9 5.9 0 0 1-3.93-1.155c-.35.65-.861 1.32-1.697 1.69-.941.42-1.993.212-2.622-.515a2.07 2.07 0 0 1-.506-1.288 11.4 11.4 0 0 1-3.71.917 12.55 12.55 0 0 1-5.387 3.95.8.8 0 0 1-.29.054zm5.5-9.695c-.196 0-.422.067-.622.191-.433.264-.779.733-1.145 1.228q-.14.19-.279.372c-.173.224-.383.573-.413.96-.033.439.113.65.226.767.287.302.866.493 1.557.523.512-.746.927-1.555 1.235-2.407.133-.375.157-.76.06-1.078-.123-.412-.319-.489-.386-.515a.6.6 0 0 0-.233-.04m21.715-50.89H41.547a.834.834 0 0 1-.832-.837c0-.462.372-.837.831-.837h119.051c.459 0 .832.374.832.837a.835.835 0 0 1-.832.836M77.85 86.043H41.546a.83.83 0 0 1-.587-.245.84.84 0 0 1-.244-.592c0-.462.372-.837.831-.837H77.85c.459 0 .831.374.831.837a.834.834 0 0 1-.831.837">');
|
|
4180
|
+
const Pr = (t = {}) => (() => {
|
|
4181
|
+
var e = Dr();
|
|
4182
|
+
return F(e, t, !0, !0), e;
|
|
4112
4183
|
})();
|
|
4113
|
-
var
|
|
4114
|
-
const
|
|
4115
|
-
var e =
|
|
4116
|
-
return
|
|
4184
|
+
var kr = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 280 197"><path fill=#10B990 d="M152 175.5c0 7.456-6.044 13.5-13.5 13.5-7.455 0-13.5-6.044-13.5-13.5s6.045-13.5 13.5-13.5c7.456 0 13.5 6.044 13.5 13.5"></path><path fill=#fff d="M144.651 171.333a1.214 1.214 0 0 0-1.292-.246 1.2 1.2 0 0 0-.385.246l-6.234 5.962-2.715-2.596a1.214 1.214 0 0 0-1.293-.246 1.2 1.2 0 0 0-.384.246q-.167.16-.258.368a1.1 1.1 0 0 0 .258 1.236l3.516 3.366c.231.222.535.331.838.331h.075c.304 0 .607-.109.839-.331l7.035-6.727a1.1 1.1 0 0 0 .349-.802 1.106 1.106 0 0 0-.349-.802z"></path><path fill=#142641 d="M251 154V39.033c0-6.644-5.386-12.03-12.03-12.03H41.03c-6.644 0-12.03 5.386-12.03 12.03V154a1 1 0 0 1-2 0V39.033c0-7.748 6.282-14.03 14.03-14.03h197.94c7.748 0 14.03 6.282 14.03 14.03V154a1 1 0 0 1-2 0"></path><path fill=#142641 d="M238 154V52.003a3 3 0 0 0-2.846-2.996l-.154-.004H45a3 3 0 0 0-3 3V154a1 1 0 0 1-2 0V52.003a5 5 0 0 1 5-5h190l.257.007A5 5 0 0 1 240 52.003V154a1 1 0 0 1-2 0"></path><circle cx=142.5 cy=37.5 r=4.5 fill=#142641></circle><path fill=#142641 d="M195.02 68H76.98A5.977 5.977 0 0 0 71 73.974v63.052A5.977 5.977 0 0 0 76.98 143h118.04a5.977 5.977 0 0 0 5.98-5.974V73.974A5.977 5.977 0 0 0 195.02 68"opacity=.3></path><path fill=#fff d="M75 68.609C75 64.959 77.933 62 81.55 62h117.9c3.617 0 6.55 2.959 6.55 6.609v62.782c0 3.65-2.933 6.609-6.55 6.609H81.55c-3.617 0-6.55-2.959-6.55-6.609z"></path><path fill=#142641 d="M199.45 135.988V138H81.55v-2.012zm4.556-4.596V68.608c0-2.538-2.04-4.596-4.556-4.596H81.55c-2.516 0-4.555 2.058-4.556 4.596v62.784c0 2.538 2.04 4.596 4.556 4.596V138c-3.505 0-6.366-2.777-6.541-6.268l-.009-.34V68.608C75 64.958 77.933 62 81.55 62h117.9c3.618 0 6.55 2.959 6.55 6.608v62.784l-.008.34c-.175 3.491-3.037 6.268-6.542 6.268v-2.012c2.516 0 4.556-2.058 4.556-4.596"></path><path fill=#142641 d="M112.984 90.533c0-4.71-3.804-8.527-8.495-8.527-4.692 0-8.495 3.818-8.495 8.527s3.803 8.526 8.495 8.526 8.495-3.817 8.495-8.526m59.026 21.886c.551 0 .999.449.999 1.003s-.448 1.003-.999 1.003h-38.976a1 1 0 0 1-.999-1.003 1 1 0 0 1 .999-1.003zm13.991-15.047a1 1 0 0 1 .999 1.003 1 1 0 0 1-.999 1.003h-52.967c-.552 0-.999-.449-.999-1.003s.447-1.003.999-1.003zm0-14.043a1 1 0 0 1 .999 1.003 1 1 0 0 1-.999 1.003h-52.967c-.552 0-.999-.45-.999-1.003 0-.554.447-1.003.999-1.003zm-71.019 7.204c0 3.951-2.169 7.391-5.376 9.193 7.334 1.752 12.871 7.365 12.871 14.271a1 1 0 0 1-.999 1.003 1 1 0 0 1-.999-1.003c0-6.915-6.857-12.834-15.74-12.834s-15.74 5.919-15.74 12.834c0 .554-.448 1.003-1 1.003s-.999-.449-.999-1.003c0-6.796 5.362-12.342 12.522-14.186a10.54 10.54 0 0 1-5.526-9.278c0-5.817 4.698-10.533 10.493-10.533s10.493 4.716 10.493 10.533">');
|
|
4185
|
+
const Ir = (t = {}) => (() => {
|
|
4186
|
+
var e = kr();
|
|
4187
|
+
return F(e, t, !0, !0), e;
|
|
4117
4188
|
})();
|
|
4118
|
-
var
|
|
4119
|
-
const
|
|
4189
|
+
var Nr = /* @__PURE__ */ _("<p>"), Fr = /* @__PURE__ */ _('<div role=region class="h-full min-h-0"><div class="h-full min-h-0 overflow-y-auto compact:overflow-hidden"><article class="grid grid-cols-1 gap-2 min-h-0 compact:h-full compact:grid-cols-[minmax(7rem,11.25rem)_minmax(0,1fr)] compact:grid-rows-[minmax(0,1fr)]"><div class="compact:col-start-2 compact:min-h-0 compact:h-full compact:overflow-y-auto">');
|
|
4190
|
+
const Ur = (t) => {
|
|
4120
4191
|
const {
|
|
4121
4192
|
t: e
|
|
4122
4193
|
} = he(), {
|
|
@@ -4129,8 +4200,6 @@ const Gr = (t) => {
|
|
|
4129
4200
|
};
|
|
4130
4201
|
return V(at(() => r(), (s) => {
|
|
4131
4202
|
s && n.blinkIdUxManager.analytics.logOnboardingDisplayedEvent();
|
|
4132
|
-
}, {
|
|
4133
|
-
defer: !0
|
|
4134
4203
|
})), l(ht, {
|
|
4135
4204
|
get mountTarget() {
|
|
4136
4205
|
return n.cameraManagerComponent.overlayLayerNode;
|
|
@@ -4152,80 +4221,76 @@ const Gr = (t) => {
|
|
|
4152
4221
|
};
|
|
4153
4222
|
},
|
|
4154
4223
|
get children() {
|
|
4155
|
-
var s =
|
|
4156
|
-
return
|
|
4224
|
+
var s = Fr(), o = s.firstChild, u = o.firstChild, c = u.firstChild;
|
|
4225
|
+
return S(u, l(rt, {
|
|
4157
4226
|
get component() {
|
|
4158
|
-
return t.isDesktop ?
|
|
4227
|
+
return t.isDesktop ? Ir : Pr;
|
|
4159
4228
|
},
|
|
4160
4229
|
"aria-hidden": "true",
|
|
4161
4230
|
class: "w-full max-w-[17.5rem] m-x-auto compact:col-start-1 compact:self-start compact:max-w-[11.25rem]"
|
|
4162
|
-
}), c),
|
|
4231
|
+
}), c), S(c, l(ke.Title, {
|
|
4163
4232
|
class: "dialog-title compact:!text-left",
|
|
4164
4233
|
get children() {
|
|
4165
4234
|
return t.isDesktop ? e.onboarding_modal_title_desktop : e.onboarding_modal_title;
|
|
4166
4235
|
}
|
|
4167
|
-
}), null),
|
|
4236
|
+
}), null), S(c, l(ke.Description, {
|
|
4168
4237
|
class: "dialog-description compact:!text-left",
|
|
4169
4238
|
get children() {
|
|
4170
|
-
var d =
|
|
4171
|
-
return
|
|
4239
|
+
var d = Nr();
|
|
4240
|
+
return S(d, () => t.isDesktop ? e.onboarding_modal_details_desktop : e.onboarding_modal_details), d;
|
|
4172
4241
|
}
|
|
4173
4242
|
}), null), s;
|
|
4174
4243
|
}
|
|
4175
4244
|
});
|
|
4176
4245
|
};
|
|
4177
|
-
var
|
|
4178
|
-
const
|
|
4246
|
+
var Gr = /* @__PURE__ */ _("<div><style id=blinkid-ux-manager-style>"), xr = /* @__PURE__ */ _('<div class="absolute top-[15%] flex justify-center items-center w-full">'), Lr = /* @__PURE__ */ _('<div class="absolute bottom-4 flex justify-center items-center w-full">');
|
|
4247
|
+
const Hr = (t) => {
|
|
4179
4248
|
const {
|
|
4180
4249
|
store: e,
|
|
4181
4250
|
updateStore: n
|
|
4182
|
-
} = Ae(), [i, r] = L(e.blinkIdUxManager.uiState), a = e.blinkIdUxManager.addOnErrorCallback((
|
|
4251
|
+
} = Ae(), [i, r] = L(e.blinkIdUxManager.uiState), a = e.blinkIdUxManager.addOnErrorCallback((b) => {
|
|
4183
4252
|
n({
|
|
4184
|
-
errorState:
|
|
4253
|
+
errorState: b
|
|
4185
4254
|
});
|
|
4186
4255
|
});
|
|
4187
4256
|
$t(() => {
|
|
4188
|
-
const
|
|
4189
|
-
|
|
4257
|
+
const b = e.cameraManagerComponent.addOnDismountCallback(() => {
|
|
4258
|
+
b(), e.cameraManagerComponent.cameraManager.userInitiatedAbort && e.blinkIdUxManager.analytics.logCloseButtonClickedEvent();
|
|
4190
4259
|
});
|
|
4191
4260
|
});
|
|
4192
4261
|
const s = e.blinkIdUxManager.addOnDocumentFilteredCallback(() => {
|
|
4193
4262
|
n({
|
|
4194
4263
|
documentFiltered: !0
|
|
4195
4264
|
}), e.blinkIdUxManager.analytics.logAlertDisplayedEvent("DocumentClassNotAllowed");
|
|
4196
|
-
}), o = ft(gt)((
|
|
4197
|
-
// processing + pseudo-processing
|
|
4198
|
-
(c() || d.includes(i().key)) && // never show while modal is open
|
|
4199
|
-
!f()
|
|
4200
|
-
), g = () => !!e.showTimeoutModal && e.errorState === "timeout", h = () => !!e.showUnsupportedDocumentModal && e.errorState === "unsupported_document", p = () => !!e.showDocumentFilteredModal && e.documentFiltered, f = () => g() || p() || h() || // TODO: Unify modal dialogs in blinkid UX manager
|
|
4265
|
+
}), o = ft(gt)((b) => b.playbackState), u = ft(gt)((b) => b.errorState), c = () => o() === "capturing", d = () => !p(), g = () => !!e.showTimeoutModal && e.errorState === "timeout", f = () => !!e.showUnsupportedDocumentModal && e.errorState === "unsupported_document", h = () => !!e.showDocumentFilteredModal && e.documentFiltered, p = () => g() || h() || f() || // TODO: Unify modal dialogs in blinkid UX manager
|
|
4201
4266
|
!!e.showOnboardingGuide || !!e.showHelpModal || // camera manager
|
|
4202
4267
|
!!u();
|
|
4203
4268
|
V(() => {
|
|
4204
|
-
|
|
4269
|
+
p() ? (e.blinkIdUxManager.cameraManager.stopFrameCapture(), e.blinkIdUxManager.stopUiUpdateLoop()) : (e.blinkIdUxManager.cameraManager.startFrameCapture(), e.blinkIdUxManager.startUiUpdateLoop());
|
|
4205
4270
|
});
|
|
4206
|
-
const
|
|
4271
|
+
const m = () => e.blinkIdUxManager.showDemoOverlay, T = () => e.blinkIdUxManager.showProductionOverlay, A = e.blinkIdUxManager.addOnUiStateChangedCallback(r);
|
|
4207
4272
|
re(() => {
|
|
4208
|
-
|
|
4273
|
+
A(), a(), s();
|
|
4209
4274
|
});
|
|
4210
|
-
const
|
|
4275
|
+
const U = () => e.blinkIdUxManager.deviceInfo?.derivedDeviceInfo.formFactors.includes("Desktop");
|
|
4211
4276
|
return V(() => {
|
|
4212
4277
|
g() && e.blinkIdUxManager.analytics.logAlertDisplayedEvent("StepTimeout");
|
|
4213
4278
|
}), (() => {
|
|
4214
|
-
var
|
|
4215
|
-
return zt((
|
|
4216
|
-
window.__blinkidUxManagerCssCode && (
|
|
4217
|
-
},
|
|
4279
|
+
var b = Gr(), D = b.firstChild;
|
|
4280
|
+
return zt((y) => {
|
|
4281
|
+
window.__blinkidUxManagerCssCode && (y.innerHTML = window.__blinkidUxManagerCssCode);
|
|
4282
|
+
}, D), S(b, l(g1, {
|
|
4218
4283
|
get userStrings() {
|
|
4219
4284
|
return t.localization;
|
|
4220
4285
|
},
|
|
4221
4286
|
get children() {
|
|
4222
|
-
return [l(
|
|
4287
|
+
return [l(Jt, {
|
|
4223
4288
|
children: () => {
|
|
4224
4289
|
const {
|
|
4225
|
-
t:
|
|
4290
|
+
t: y
|
|
4226
4291
|
} = he();
|
|
4227
4292
|
return e.cameraManagerComponent.updateLocalization({
|
|
4228
|
-
dialog_title:
|
|
4293
|
+
dialog_title: y.scanning_screen
|
|
4229
4294
|
}), [l(Vt, {
|
|
4230
4295
|
get children() {
|
|
4231
4296
|
return [l(K, {
|
|
@@ -4235,40 +4300,40 @@ const zr = (t) => {
|
|
|
4235
4300
|
get children() {
|
|
4236
4301
|
return l(je, {
|
|
4237
4302
|
get header() {
|
|
4238
|
-
return
|
|
4303
|
+
return y.scan_unsuccessful;
|
|
4239
4304
|
},
|
|
4240
4305
|
get text() {
|
|
4241
|
-
return
|
|
4306
|
+
return y.scan_unsuccessful_details;
|
|
4242
4307
|
},
|
|
4243
4308
|
shouldResetScanningSession: !0
|
|
4244
4309
|
});
|
|
4245
4310
|
}
|
|
4246
4311
|
}), l(K, {
|
|
4247
4312
|
get when() {
|
|
4248
|
-
return
|
|
4313
|
+
return f();
|
|
4249
4314
|
},
|
|
4250
4315
|
get children() {
|
|
4251
4316
|
return l(je, {
|
|
4252
4317
|
get header() {
|
|
4253
|
-
return
|
|
4318
|
+
return y.document_not_recognized;
|
|
4254
4319
|
},
|
|
4255
4320
|
get text() {
|
|
4256
|
-
return
|
|
4321
|
+
return y.document_not_recognized_details;
|
|
4257
4322
|
},
|
|
4258
4323
|
shouldResetScanningSession: !0
|
|
4259
4324
|
});
|
|
4260
4325
|
}
|
|
4261
4326
|
}), l(K, {
|
|
4262
4327
|
get when() {
|
|
4263
|
-
return
|
|
4328
|
+
return h();
|
|
4264
4329
|
},
|
|
4265
4330
|
get children() {
|
|
4266
4331
|
return l(je, {
|
|
4267
4332
|
get header() {
|
|
4268
|
-
return
|
|
4333
|
+
return y.document_filtered;
|
|
4269
4334
|
},
|
|
4270
4335
|
get text() {
|
|
4271
|
-
return
|
|
4336
|
+
return y.document_filtered_details;
|
|
4272
4337
|
},
|
|
4273
4338
|
shouldResetScanningSession: !0
|
|
4274
4339
|
});
|
|
@@ -4277,46 +4342,46 @@ const zr = (t) => {
|
|
|
4277
4342
|
}
|
|
4278
4343
|
}), l(W, {
|
|
4279
4344
|
get when() {
|
|
4280
|
-
return
|
|
4345
|
+
return d();
|
|
4281
4346
|
},
|
|
4282
4347
|
get children() {
|
|
4283
|
-
return l(
|
|
4348
|
+
return l(zi, {
|
|
4284
4349
|
get uiState() {
|
|
4285
4350
|
return i();
|
|
4286
4351
|
},
|
|
4287
4352
|
get isDesktop() {
|
|
4288
|
-
return
|
|
4353
|
+
return U();
|
|
4289
4354
|
}
|
|
4290
4355
|
});
|
|
4291
4356
|
}
|
|
4292
4357
|
}), l(W, {
|
|
4293
4358
|
get when() {
|
|
4294
|
-
return
|
|
4359
|
+
return m();
|
|
4295
4360
|
},
|
|
4296
4361
|
get children() {
|
|
4297
|
-
var
|
|
4298
|
-
return
|
|
4362
|
+
var P = xr();
|
|
4363
|
+
return S(P, l(Yi, {
|
|
4299
4364
|
width: "250",
|
|
4300
4365
|
"aria-hidden": "true"
|
|
4301
|
-
})),
|
|
4366
|
+
})), P;
|
|
4302
4367
|
}
|
|
4303
4368
|
}), l(W, {
|
|
4304
4369
|
get when() {
|
|
4305
|
-
return
|
|
4370
|
+
return T();
|
|
4306
4371
|
},
|
|
4307
4372
|
get children() {
|
|
4308
|
-
var
|
|
4309
|
-
return
|
|
4373
|
+
var P = Lr();
|
|
4374
|
+
return S(P, l(Zi, {
|
|
4310
4375
|
width: "100",
|
|
4311
4376
|
"aria-hidden": "true"
|
|
4312
|
-
})),
|
|
4377
|
+
})), P;
|
|
4313
4378
|
}
|
|
4314
4379
|
}), l(W, {
|
|
4315
4380
|
get when() {
|
|
4316
4381
|
return e.showHelpButton;
|
|
4317
4382
|
},
|
|
4318
4383
|
get children() {
|
|
4319
|
-
return l(
|
|
4384
|
+
return l(Rr, {
|
|
4320
4385
|
get isProcessing() {
|
|
4321
4386
|
return c();
|
|
4322
4387
|
}
|
|
@@ -4324,19 +4389,19 @@ const zr = (t) => {
|
|
|
4324
4389
|
}
|
|
4325
4390
|
})];
|
|
4326
4391
|
}
|
|
4327
|
-
}), l(
|
|
4392
|
+
}), l(Ur, {
|
|
4328
4393
|
get isDesktop() {
|
|
4329
|
-
return
|
|
4394
|
+
return U();
|
|
4330
4395
|
}
|
|
4331
|
-
}), l(
|
|
4396
|
+
}), l(Cr, {
|
|
4332
4397
|
get isDesktop() {
|
|
4333
|
-
return
|
|
4398
|
+
return U();
|
|
4334
4399
|
}
|
|
4335
4400
|
})];
|
|
4336
4401
|
}
|
|
4337
|
-
}), null),
|
|
4402
|
+
}), null), b;
|
|
4338
4403
|
})();
|
|
4339
|
-
},
|
|
4404
|
+
}, zr = {
|
|
4340
4405
|
localizationStrings: {},
|
|
4341
4406
|
preserveSdkInstance: !1,
|
|
4342
4407
|
showOnboardingGuide: !0,
|
|
@@ -4351,11 +4416,11 @@ function Jr(t, e, n) {
|
|
|
4351
4416
|
const i = {
|
|
4352
4417
|
current: () => {
|
|
4353
4418
|
}
|
|
4354
|
-
}, r =
|
|
4419
|
+
}, r = d1(zr, n);
|
|
4355
4420
|
n.showHelpTooltipTimeout !== void 0 && n.helpTooltipShowDelay === void 0 && (console.warn("FeedbackUiOptions.showHelpTooltipTimeout is deprecated and will be removed in a future release. Use helpTooltipShowDelay instead."), r.helpTooltipShowDelay = n.showHelpTooltipTimeout), e.addOnDismountCallback(() => {
|
|
4356
4421
|
i.current();
|
|
4357
4422
|
});
|
|
4358
|
-
const a =
|
|
4423
|
+
const a = u1(() => l(Ji, {
|
|
4359
4424
|
blinkIdUxManager: t,
|
|
4360
4425
|
cameraManagerComponent: e,
|
|
4361
4426
|
get showOnboardingGuide() {
|
|
@@ -4381,7 +4446,7 @@ function Jr(t, e, n) {
|
|
|
4381
4446
|
},
|
|
4382
4447
|
dismountFeedbackUi: () => i.current(),
|
|
4383
4448
|
get children() {
|
|
4384
|
-
return l(
|
|
4449
|
+
return l(Hr, {
|
|
4385
4450
|
get localization() {
|
|
4386
4451
|
return r.localizationStrings;
|
|
4387
4452
|
}
|
|
@@ -4390,18 +4455,18 @@ function Jr(t, e, n) {
|
|
|
4390
4455
|
}), e.feedbackLayerNode, e.owner);
|
|
4391
4456
|
return i.current = a, a;
|
|
4392
4457
|
}
|
|
4393
|
-
const
|
|
4394
|
-
globalThis.__BLINKID_UX_MANAGER__ ||=
|
|
4395
|
-
globalThis.__BLINKID_UX_MANAGER__ !==
|
|
4458
|
+
const _n = Symbol();
|
|
4459
|
+
globalThis.__BLINKID_UX_MANAGER__ ||= _n;
|
|
4460
|
+
globalThis.__BLINKID_UX_MANAGER__ !== _n && console.warn(
|
|
4396
4461
|
"Detected multiple instances of @microblink/blinkid-ux-manager. This can lead to unexpected behavior."
|
|
4397
4462
|
);
|
|
4398
4463
|
export {
|
|
4399
|
-
|
|
4464
|
+
Xr as blinkIdPageTransitionKeys,
|
|
4400
4465
|
vt as blinkIdUiErrorStateKeys,
|
|
4401
|
-
|
|
4466
|
+
Vn as blinkIdUiIntroStateKeys,
|
|
4402
4467
|
Ue as blinkIdUiStateMap,
|
|
4403
|
-
|
|
4468
|
+
Kn as blinkIdUiStepSuccessKeys,
|
|
4404
4469
|
Jr as createBlinkIdFeedbackUi,
|
|
4405
4470
|
Zr as createBlinkIdUxManager,
|
|
4406
|
-
|
|
4471
|
+
Wn as getUiStateKey
|
|
4407
4472
|
};
|