@microblink/blinkid-ux-manager 7.7.2 → 7.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/blinkid-ux-manager.js +771 -986
- package/package.json +3 -3
- package/types/core/BlinkIdUxManager.d.ts +2 -3
- package/types/core/BlinkIdUxManager.d.ts.map +1 -1
- package/types/core/blinkid-ui-state.d.ts +7 -7
- package/types/core/uxAnalyticsMappers.d.ts +1 -1
- package/types/core/uxAnalyticsMappers.d.ts.map +1 -1
- package/types/index.rollup.d.ts +9 -9
- package/types/ui/BlinkIdFeedbackUi.d.ts.map +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
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 S, createComponent as l, use as
|
|
4
|
-
import { createRoot as qe, createSignal as L, onMount as
|
|
2
|
+
import { AnalyticService as m1, getDeviceInfo as _1 } from "@microblink/blinkid-core";
|
|
3
|
+
import { insert as S, createComponent as l, use as Ht, template as _, isServer as de, mergeProps as ve, Dynamic as rt, spread as k, effect as Re, Portal as v1, setAttribute as He, memo as y1 } from "solid-js/web";
|
|
4
|
+
import { createRoot as qe, createSignal as L, onMount as zt, Show as W, createContext as xe, createEffect as z, useContext as De, createMemo as ye, on as at, onCleanup as re, $TRACK as E1, untrack as Se, useTransition as T1, createComputed as b1, batch as Pe, splitProps as $t, Switch as Bt, Match as K, createUniqueId as w1, Index as ft } from "solid-js";
|
|
5
5
|
import { cameraManagerStore as gt } from "@microblink/camera-manager";
|
|
6
|
-
import { EnvironmentProvider as
|
|
7
|
-
import { createWithSignal as
|
|
8
|
-
import { createStore as
|
|
9
|
-
import { Dialog as
|
|
6
|
+
import { EnvironmentProvider as A1 } from "@ark-ui/solid/environment";
|
|
7
|
+
import { createWithSignal as pt } from "solid-zustand";
|
|
8
|
+
import { createStore as Vt } from "solid-js/store";
|
|
9
|
+
import { Dialog as Ie, Tooltip as ae } from "@ark-ui/solid";
|
|
10
10
|
import { Dialog as se } from "@ark-ui/solid/dialog";
|
|
11
|
-
const
|
|
11
|
+
const G = Symbol.for("@ts-pattern/matcher"), Kt = Symbol.for("@ts-pattern/isVariadic"), ke = "@ts-pattern/anonymous-select-key", Qe = (t) => !!(t && typeof t == "object"), Me = (t) => t && !!t[G], F = (t, e, n) => {
|
|
12
12
|
if (Me(t)) {
|
|
13
|
-
const i = t[
|
|
13
|
+
const i = t[G](), { matched: r, selections: a } = i.match(e);
|
|
14
14
|
return r && a && Object.keys(a).forEach((s) => n(s, a[s])), r;
|
|
15
15
|
}
|
|
16
16
|
if (Qe(t)) {
|
|
@@ -20,47 +20,47 @@ const x = Symbol.for("@ts-pattern/matcher"), Wt = Symbol.for("@ts-pattern/isVari
|
|
|
20
20
|
let i = [], r = [], a = [];
|
|
21
21
|
for (const s of t.keys()) {
|
|
22
22
|
const o = t[s];
|
|
23
|
-
Me(o) && o[
|
|
23
|
+
Me(o) && o[Kt] ? a.push(o) : a.length ? r.push(o) : i.push(o);
|
|
24
24
|
}
|
|
25
25
|
if (a.length) {
|
|
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) => F(c, s[d], n)) && r.every((c, d) => F(c, o[d], n)) && (a.length === 0 || F(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) => F(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[
|
|
35
|
+
return (i in e || Me(a = r) && a[G]().matcherType === "optional") && F(r, e[i], n);
|
|
36
36
|
var a;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
return Object.is(e, t);
|
|
40
|
-
},
|
|
40
|
+
}, x = (t) => {
|
|
41
41
|
var e, n, i;
|
|
42
|
-
return Qe(t) ? Me(t) ? (e = (n = (i = t[
|
|
42
|
+
return Qe(t) ? Me(t) ? (e = (n = (i = t[G]()).getSelectionKeys) == null ? void 0 : n.call(i)) != null ? e : [] : Array.isArray(t) ? Ee(t, x) : Ee(Object.values(t), x) : [];
|
|
43
43
|
}, Ee = (t, e) => t.reduce((n, i) => n.concat(e(i)), []);
|
|
44
|
-
function
|
|
44
|
+
function O1(...t) {
|
|
45
45
|
if (t.length === 1) {
|
|
46
46
|
const [e] = t;
|
|
47
|
-
return (n) =>
|
|
47
|
+
return (n) => F(e, n, () => {
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
if (t.length === 2) {
|
|
51
51
|
const [e, n] = t;
|
|
52
|
-
return
|
|
52
|
+
return F(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) => O(t, e), or: (e) =>
|
|
57
|
+
function U(t) {
|
|
58
|
+
return Object.assign(t, { optional: () => st(t), and: (e) => O(t, e), or: (e) => Wt(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]() {
|
|
62
62
|
let n = 0;
|
|
63
|
-
const i = [{ value: Object.assign(e, { [
|
|
63
|
+
const i = [{ value: Object.assign(e, { [Kt]: !0 }), done: !1 }, { done: !0, value: void 0 }];
|
|
64
64
|
return { next: () => {
|
|
65
65
|
var r;
|
|
66
66
|
return (r = i[n++]) != null ? r : i.at(-1);
|
|
@@ -68,59 +68,52 @@ 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 U({ [G]: () => ({ match: (e) => {
|
|
72
72
|
let n = {};
|
|
73
73
|
const i = (r, a) => {
|
|
74
74
|
n[r] = a;
|
|
75
75
|
};
|
|
76
|
-
return e === void 0 ? (
|
|
77
|
-
}, getSelectionKeys: () =>
|
|
76
|
+
return e === void 0 ? (x(t).forEach((r) => i(r, void 0)), { matched: !0, selections: n }) : { matched: F(t, e, i), selections: n };
|
|
77
|
+
}, getSelectionKeys: () => x(t), matcherType: "optional" }) });
|
|
78
78
|
}
|
|
79
|
-
const
|
|
79
|
+
const S1 = (t, e) => {
|
|
80
80
|
for (const n of t) if (!e(n)) return !1;
|
|
81
81
|
return !0;
|
|
82
|
-
},
|
|
82
|
+
}, M1 = (t, e) => {
|
|
83
83
|
for (const [n, i] of t.entries()) if (!e(i, n)) return !1;
|
|
84
84
|
return !0;
|
|
85
|
-
}, Dn = (t, e) => {
|
|
86
|
-
const n = Reflect.ownKeys(t);
|
|
87
|
-
for (const i of n) if (!e(i, t[i])) return !1;
|
|
88
|
-
return !0;
|
|
89
85
|
};
|
|
90
86
|
function O(...t) {
|
|
91
|
-
return
|
|
87
|
+
return U({ [G]: () => ({ match: (e) => {
|
|
92
88
|
let n = {};
|
|
93
89
|
const i = (r, a) => {
|
|
94
90
|
n[r] = a;
|
|
95
91
|
};
|
|
96
|
-
return { matched: t.every((r) =>
|
|
97
|
-
}, getSelectionKeys: () => Ee(t,
|
|
92
|
+
return { matched: t.every((r) => F(r, e, i)), selections: n };
|
|
93
|
+
}, getSelectionKeys: () => Ee(t, x), matcherType: "and" }) });
|
|
98
94
|
}
|
|
99
|
-
function
|
|
100
|
-
return
|
|
95
|
+
function Wt(...t) {
|
|
96
|
+
return U({ [G]: () => ({ match: (e) => {
|
|
101
97
|
let n = {};
|
|
102
98
|
const i = (r, a) => {
|
|
103
99
|
n[r] = a;
|
|
104
100
|
};
|
|
105
|
-
return Ee(t,
|
|
106
|
-
}, getSelectionKeys: () => Ee(t,
|
|
101
|
+
return Ee(t, x).forEach((r) => i(r, void 0)), { matched: t.some((r) => F(r, e, i)), selections: n };
|
|
102
|
+
}, getSelectionKeys: () => Ee(t, x), matcherType: "or" }) });
|
|
107
103
|
}
|
|
108
104
|
function v(t) {
|
|
109
|
-
return { [
|
|
105
|
+
return { [G]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
|
|
110
106
|
}
|
|
111
107
|
function Te(...t) {
|
|
112
108
|
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
|
|
114
|
-
let r = { [e ??
|
|
115
|
-
return { matched: n === void 0 ||
|
|
109
|
+
return U({ [G]: () => ({ match: (i) => {
|
|
110
|
+
let r = { [e ?? ke]: i };
|
|
111
|
+
return { matched: n === void 0 || F(n, i, (a, s) => {
|
|
116
112
|
r[a] = s;
|
|
117
113
|
}), selections: r };
|
|
118
|
-
}, getSelectionKeys: () => [e ??
|
|
119
|
-
}
|
|
120
|
-
function qt(t) {
|
|
121
|
-
return !0;
|
|
114
|
+
}, getSelectionKeys: () => [e ?? ke].concat(n === void 0 ? [] : x(n)) }) });
|
|
122
115
|
}
|
|
123
|
-
function
|
|
116
|
+
function $(t) {
|
|
124
117
|
return typeof t == "number";
|
|
125
118
|
}
|
|
126
119
|
function Q(t) {
|
|
@@ -129,7 +122,9 @@ function Q(t) {
|
|
|
129
122
|
function Y(t) {
|
|
130
123
|
return typeof t == "bigint";
|
|
131
124
|
}
|
|
132
|
-
const
|
|
125
|
+
const jt = U(v(function(t) {
|
|
126
|
+
return !0;
|
|
127
|
+
})), C1 = jt, X = (t) => Object.assign(U(t), { startsWith: (e) => {
|
|
133
128
|
return X(O(t, (n = e, v((i) => Q(i) && i.startsWith(n)))));
|
|
134
129
|
var n;
|
|
135
130
|
}, endsWith: (e) => {
|
|
@@ -141,31 +136,31 @@ const Qt = N(v(qt)), Pn = N(v(qt)), kn = Qt, X = (t) => Object.assign(N(t), { st
|
|
|
141
136
|
}, regex: (e) => {
|
|
142
137
|
return X(O(t, (n = e, v((i) => Q(i) && !!i.match(n)))));
|
|
143
138
|
var n;
|
|
144
|
-
} }),
|
|
139
|
+
} }), R1 = X(v(Q)), B = (t) => Object.assign(U(t), { between: (e, n) => B(O(t, ((i, r) => v((a) => $(a) && i <= a && r >= a))(e, n))), lt: (e) => B(O(t, ((n) => v((i) => $(i) && i < n))(e))), gt: (e) => B(O(t, ((n) => v((i) => $(i) && i > n))(e))), lte: (e) => B(O(t, ((n) => v((i) => $(i) && i <= n))(e))), gte: (e) => B(O(t, ((n) => v((i) => $(i) && i >= n))(e))), int: () => B(O(t, v((e) => $(e) && Number.isInteger(e)))), finite: () => B(O(t, v((e) => $(e) && Number.isFinite(e)))), positive: () => B(O(t, v((e) => $(e) && e > 0))), negative: () => B(O(t, v((e) => $(e) && e < 0))) }), D1 = B(v($)), Z = (t) => Object.assign(U(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))) }), P1 = Z(v(Y)), I1 = U(v(function(t) {
|
|
145
140
|
return typeof t == "boolean";
|
|
146
|
-
})),
|
|
141
|
+
})), k1 = U(v(function(t) {
|
|
147
142
|
return typeof t == "symbol";
|
|
148
|
-
})),
|
|
143
|
+
})), N1 = U(v(function(t) {
|
|
149
144
|
return t == null;
|
|
150
|
-
})),
|
|
145
|
+
})), F1 = U(v(function(t) {
|
|
151
146
|
return t != null;
|
|
152
147
|
}));
|
|
153
|
-
var I = { __proto__: null, matcher:
|
|
154
|
-
return Ye({ [
|
|
148
|
+
var I = { __proto__: null, matcher: G, optional: st, array: function(...t) {
|
|
149
|
+
return Ye({ [G]: () => ({ match: (e) => {
|
|
155
150
|
if (!Array.isArray(e)) return { matched: !1 };
|
|
156
151
|
if (t.length === 0) return { matched: !0 };
|
|
157
152
|
const n = t[0];
|
|
158
153
|
let i = {};
|
|
159
|
-
if (e.length === 0) return
|
|
154
|
+
if (e.length === 0) return x(n).forEach((a) => {
|
|
160
155
|
i[a] = [];
|
|
161
156
|
}), { matched: !0, selections: i };
|
|
162
157
|
const r = (a, s) => {
|
|
163
158
|
i[a] = (i[a] || []).concat([s]);
|
|
164
159
|
};
|
|
165
|
-
return { matched: e.every((a) =>
|
|
166
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
160
|
+
return { matched: e.every((a) => F(n, a, r)), selections: i };
|
|
161
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : x(t[0]) }) });
|
|
167
162
|
}, set: function(...t) {
|
|
168
|
-
return
|
|
163
|
+
return U({ [G]: () => ({ match: (e) => {
|
|
169
164
|
if (!(e instanceof Set)) return { matched: !1 };
|
|
170
165
|
let n = {};
|
|
171
166
|
if (e.size === 0) return { matched: !0, selections: n };
|
|
@@ -173,10 +168,10 @@ var I = { __proto__: null, matcher: x, optional: st, array: function(...t) {
|
|
|
173
168
|
const i = (a, s) => {
|
|
174
169
|
n[a] = (n[a] || []).concat([s]);
|
|
175
170
|
}, r = t[0];
|
|
176
|
-
return { matched:
|
|
177
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
171
|
+
return { matched: S1(e, (a) => F(r, a, i)), selections: n };
|
|
172
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : x(t[0]) }) });
|
|
178
173
|
}, map: function(...t) {
|
|
179
|
-
return
|
|
174
|
+
return U({ [G]: () => ({ match: (e) => {
|
|
180
175
|
if (!(e instanceof Map)) return { matched: !1 };
|
|
181
176
|
let n = {};
|
|
182
177
|
if (e.size === 0) return { matched: !0, selections: n };
|
|
@@ -187,36 +182,22 @@ var I = { __proto__: null, matcher: x, optional: st, array: function(...t) {
|
|
|
187
182
|
var r;
|
|
188
183
|
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
184
|
const [a, s] = t;
|
|
190
|
-
return { matched:
|
|
191
|
-
const c =
|
|
185
|
+
return { matched: M1(e, (o, u) => {
|
|
186
|
+
const c = F(a, u, i), d = F(s, o, i);
|
|
192
187
|
return c && d;
|
|
193
188
|
}), selections: n };
|
|
194
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
195
|
-
},
|
|
196
|
-
return
|
|
197
|
-
if (e === null || typeof e != "object" || Array.isArray(e)) return { matched: !1 };
|
|
198
|
-
var n;
|
|
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()}`);
|
|
200
|
-
let i = {};
|
|
201
|
-
const r = (o, u) => {
|
|
202
|
-
i[o] = (i[o] || []).concat([u]);
|
|
203
|
-
}, [a, s] = t.length === 1 ? [mt, t[0]] : t;
|
|
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
|
-
}), selections: i };
|
|
208
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...G(t[0]), ...G(t[1])] }) });
|
|
209
|
-
}, intersection: O, union: jt, not: function(t) {
|
|
210
|
-
return N({ [x]: () => ({ match: (e) => ({ matched: !R(t, e, () => {
|
|
189
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...x(t[0]), ...x(t[1])] }) });
|
|
190
|
+
}, intersection: O, union: Wt, not: function(t) {
|
|
191
|
+
return U({ [G]: () => ({ match: (e) => ({ matched: !F(t, e, () => {
|
|
211
192
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
212
|
-
}, when: v, select: Te, any:
|
|
213
|
-
return
|
|
193
|
+
}, when: v, select: Te, any: jt, _: C1, string: R1, number: D1, bigint: P1, boolean: I1, symbol: k1, nullish: N1, nonNullable: F1, instanceOf: function(t) {
|
|
194
|
+
return U(v(/* @__PURE__ */ function(e) {
|
|
214
195
|
return (n) => n instanceof e;
|
|
215
196
|
}(t)));
|
|
216
197
|
}, shape: function(t) {
|
|
217
|
-
return
|
|
198
|
+
return U(v(O1(t)));
|
|
218
199
|
} };
|
|
219
|
-
class
|
|
200
|
+
class U1 extends Error {
|
|
220
201
|
constructor(e) {
|
|
221
202
|
let n;
|
|
222
203
|
try {
|
|
@@ -243,7 +224,7 @@ class Ne {
|
|
|
243
224
|
let a = !1, s = {};
|
|
244
225
|
const o = (c, d) => {
|
|
245
226
|
a = !0, s[c] = d;
|
|
246
|
-
}, u = !i.some((c) =>
|
|
227
|
+
}, u = !i.some((c) => F(c, this.input, o)) || r && !r(this.input) ? Xe : { matched: !0, value: n(a ? ke in s ? s[ke] : s : this.input, this.input) };
|
|
247
228
|
return new Ne(this.input, u);
|
|
248
229
|
}
|
|
249
230
|
when(e, n) {
|
|
@@ -254,8 +235,9 @@ class Ne {
|
|
|
254
235
|
otherwise(e) {
|
|
255
236
|
return this.state.matched ? this.state.value : e(this.input);
|
|
256
237
|
}
|
|
257
|
-
exhaustive(
|
|
258
|
-
|
|
238
|
+
exhaustive() {
|
|
239
|
+
if (this.state.matched) return this.state.value;
|
|
240
|
+
throw new U1(this.input);
|
|
259
241
|
}
|
|
260
242
|
run() {
|
|
261
243
|
return this.exhaustive();
|
|
@@ -263,35 +245,29 @@ class Ne {
|
|
|
263
245
|
returnType() {
|
|
264
246
|
return this;
|
|
265
247
|
}
|
|
266
|
-
narrow() {
|
|
267
|
-
return this;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
function Hn(t) {
|
|
271
|
-
throw new Ln(t);
|
|
272
248
|
}
|
|
273
|
-
function
|
|
249
|
+
function mt(t) {
|
|
274
250
|
return t.inputImageAnalysisResult.documentClassInfo;
|
|
275
251
|
}
|
|
276
|
-
function
|
|
252
|
+
function G1(t) {
|
|
277
253
|
return t?.country !== void 0 && t?.type !== void 0;
|
|
278
254
|
}
|
|
279
|
-
function
|
|
255
|
+
function x1(t) {
|
|
280
256
|
return t.inputImageAnalysisResult.documentRotation;
|
|
281
257
|
}
|
|
282
258
|
function Fe(t) {
|
|
283
259
|
return t?.type === "passport";
|
|
284
260
|
}
|
|
285
|
-
function
|
|
261
|
+
function pe(t) {
|
|
286
262
|
return Fe(t) && (t?.country === "usa" || t?.country === "india");
|
|
287
263
|
}
|
|
288
264
|
function ie(t) {
|
|
289
265
|
return Fe(t) && t?.country !== "usa" && t?.country !== "india";
|
|
290
266
|
}
|
|
291
|
-
function
|
|
292
|
-
return
|
|
267
|
+
function L1(t) {
|
|
268
|
+
return pe(t) ? "passport-with-barcode" : ie(t) ? "passport-no-barcode" : "other";
|
|
293
269
|
}
|
|
294
|
-
const
|
|
270
|
+
const H1 = [
|
|
295
271
|
"INTRO_FRONT_PAGE",
|
|
296
272
|
"INTRO_BACK_PAGE",
|
|
297
273
|
"INTRO_DATA_PAGE",
|
|
@@ -299,13 +275,13 @@ const Vn = [
|
|
|
299
275
|
"INTRO_LEFT_PAGE",
|
|
300
276
|
"INTRO_RIGHT_PAGE",
|
|
301
277
|
"INTRO_LAST_PAGE"
|
|
302
|
-
],
|
|
278
|
+
], jr = [
|
|
303
279
|
"FLIP_CARD",
|
|
304
280
|
"MOVE_TOP",
|
|
305
281
|
"MOVE_LEFT",
|
|
306
282
|
"MOVE_RIGHT",
|
|
307
283
|
"MOVE_LAST_PAGE"
|
|
308
|
-
],
|
|
284
|
+
], _t = [
|
|
309
285
|
// framing
|
|
310
286
|
"FRONT_PAGE_NOT_IN_FRAME",
|
|
311
287
|
"BACK_PAGE_NOT_IN_FRAME",
|
|
@@ -334,10 +310,10 @@ const Vn = [
|
|
|
334
310
|
"WRONG_RIGHT_PAGE",
|
|
335
311
|
"WRONG_LAST_PAGE",
|
|
336
312
|
"UNSUPPORTED_DOCUMENT"
|
|
337
|
-
],
|
|
313
|
+
], z1 = [
|
|
338
314
|
"PAGE_CAPTURED",
|
|
339
315
|
"DOCUMENT_CAPTURED"
|
|
340
|
-
], ne = 2e3, M = 1500,
|
|
316
|
+
], ne = 2e3, M = 1500, vt = 800, fe = 2e3, Ue = {
|
|
341
317
|
INTRO_FRONT_PAGE: {
|
|
342
318
|
key: "INTRO_FRONT_PAGE",
|
|
343
319
|
reticleType: "searching",
|
|
@@ -451,32 +427,32 @@ const Vn = [
|
|
|
451
427
|
FLIP_CARD: {
|
|
452
428
|
key: "FLIP_CARD",
|
|
453
429
|
reticleType: "flip",
|
|
454
|
-
minDuration:
|
|
430
|
+
minDuration: fe,
|
|
455
431
|
singleEmit: !0
|
|
456
432
|
},
|
|
457
433
|
// Passport pages captured, move to the next page
|
|
458
434
|
MOVE_TOP: {
|
|
459
435
|
key: "MOVE_TOP",
|
|
460
436
|
reticleType: "move_top",
|
|
461
|
-
minDuration:
|
|
437
|
+
minDuration: fe,
|
|
462
438
|
singleEmit: !0
|
|
463
439
|
},
|
|
464
440
|
MOVE_LEFT: {
|
|
465
441
|
key: "MOVE_LEFT",
|
|
466
442
|
reticleType: "move_left",
|
|
467
|
-
minDuration:
|
|
443
|
+
minDuration: fe,
|
|
468
444
|
singleEmit: !0
|
|
469
445
|
},
|
|
470
446
|
MOVE_RIGHT: {
|
|
471
447
|
key: "MOVE_RIGHT",
|
|
472
448
|
reticleType: "move_right",
|
|
473
|
-
minDuration:
|
|
449
|
+
minDuration: fe,
|
|
474
450
|
singleEmit: !0
|
|
475
451
|
},
|
|
476
452
|
MOVE_LAST_PAGE: {
|
|
477
453
|
key: "MOVE_LAST_PAGE",
|
|
478
454
|
reticleType: "flip",
|
|
479
|
-
minDuration:
|
|
455
|
+
minDuration: fe,
|
|
480
456
|
singleEmit: !0
|
|
481
457
|
},
|
|
482
458
|
/**
|
|
@@ -485,14 +461,14 @@ const Vn = [
|
|
|
485
461
|
PAGE_CAPTURED: {
|
|
486
462
|
key: "PAGE_CAPTURED",
|
|
487
463
|
reticleType: "done",
|
|
488
|
-
minDuration:
|
|
464
|
+
minDuration: vt,
|
|
489
465
|
singleEmit: !0
|
|
490
466
|
},
|
|
491
467
|
// Capturing all sides completed
|
|
492
468
|
DOCUMENT_CAPTURED: {
|
|
493
469
|
key: "DOCUMENT_CAPTURED",
|
|
494
470
|
reticleType: "done",
|
|
495
|
-
minDuration:
|
|
471
|
+
minDuration: vt,
|
|
496
472
|
singleEmit: !0
|
|
497
473
|
},
|
|
498
474
|
// image quality checks
|
|
@@ -559,7 +535,7 @@ const Vn = [
|
|
|
559
535
|
minDuration: M
|
|
560
536
|
}
|
|
561
537
|
};
|
|
562
|
-
function
|
|
538
|
+
function $1(t, e) {
|
|
563
539
|
return ot(
|
|
564
540
|
t
|
|
565
541
|
).with(
|
|
@@ -588,7 +564,7 @@ function Wn(t, e) {
|
|
|
588
564
|
inputImageAnalysisResult: {
|
|
589
565
|
scanningSide: "second",
|
|
590
566
|
processingStatus: "scanning-wrong-side",
|
|
591
|
-
documentClassInfo: I.when(
|
|
567
|
+
documentClassInfo: I.when(pe)
|
|
592
568
|
}
|
|
593
569
|
},
|
|
594
570
|
() => "WRONG_LAST_PAGE"
|
|
@@ -635,7 +611,7 @@ function Wn(t, e) {
|
|
|
635
611
|
},
|
|
636
612
|
inputImageAnalysisResult: {
|
|
637
613
|
scanningSide: "first",
|
|
638
|
-
documentClassInfo: I.when(
|
|
614
|
+
documentClassInfo: I.when(pe)
|
|
639
615
|
}
|
|
640
616
|
},
|
|
641
617
|
() => "DATA_PAGE_NOT_IN_FRAME"
|
|
@@ -764,7 +740,7 @@ function Wn(t, e) {
|
|
|
764
740
|
inputImageAnalysisResult: {
|
|
765
741
|
scanningSide: "first",
|
|
766
742
|
documentDetectionStatus: "failed",
|
|
767
|
-
documentClassInfo: I.when(
|
|
743
|
+
documentClassInfo: I.when(pe)
|
|
768
744
|
}
|
|
769
745
|
},
|
|
770
746
|
() => "DATA_PAGE_NOT_IN_FRAME"
|
|
@@ -802,7 +778,7 @@ function Wn(t, e) {
|
|
|
802
778
|
inputImageAnalysisResult: {
|
|
803
779
|
scanningSide: "second",
|
|
804
780
|
documentDetectionStatus: "failed",
|
|
805
|
-
documentClassInfo: I.when(
|
|
781
|
+
documentClassInfo: I.when(pe)
|
|
806
782
|
}
|
|
807
783
|
},
|
|
808
784
|
() => "LAST_PAGE_NOT_IN_FRAME"
|
|
@@ -851,201 +827,7 @@ function Wn(t, e) {
|
|
|
851
827
|
).otherwise(() => {
|
|
852
828
|
});
|
|
853
829
|
}
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* Injected function for queing ping events.
|
|
857
|
-
*/
|
|
858
|
-
#i;
|
|
859
|
-
/**
|
|
860
|
-
* Injected function for triggering sending of queued pinglets.
|
|
861
|
-
*/
|
|
862
|
-
#a;
|
|
863
|
-
constructor({ pingFn: e, sendPingletsFn: n }) {
|
|
864
|
-
this.#i = e, this.#a = n;
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* Safely send a ping event, handling errors gracefully
|
|
868
|
-
*/
|
|
869
|
-
async #t(e) {
|
|
870
|
-
try {
|
|
871
|
-
await this.#i(e);
|
|
872
|
-
} catch (n) {
|
|
873
|
-
console.warn("UX analytics ping failed:", n);
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
/**
|
|
877
|
-
* Safely send queued pinglets, handling errors gracefully
|
|
878
|
-
*/
|
|
879
|
-
async sendPinglets() {
|
|
880
|
-
try {
|
|
881
|
-
await this.#a();
|
|
882
|
-
} catch (e) {
|
|
883
|
-
console.warn("Send pinglets failed:", e);
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
/**
|
|
887
|
-
* Create a camera permission ping
|
|
888
|
-
*/
|
|
889
|
-
#l(e) {
|
|
890
|
-
return {
|
|
891
|
-
schemaName: "ping.sdk.camera.permission",
|
|
892
|
-
schemaVersion: "1.0.0",
|
|
893
|
-
data: e
|
|
894
|
-
};
|
|
895
|
-
}
|
|
896
|
-
/**
|
|
897
|
-
* Create a standardized UX event ping
|
|
898
|
-
*/
|
|
899
|
-
#n(e) {
|
|
900
|
-
return {
|
|
901
|
-
schemaName: "ping.sdk.ux.event",
|
|
902
|
-
schemaVersion: "1.0.0",
|
|
903
|
-
data: e
|
|
904
|
-
};
|
|
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
|
-
}
|
|
917
|
-
logCameraStartedEvent() {
|
|
918
|
-
return this.#t(this.#n({
|
|
919
|
-
eventType: "CameraStarted"
|
|
920
|
-
}));
|
|
921
|
-
}
|
|
922
|
-
logCameraClosedEvent() {
|
|
923
|
-
return this.#t(this.#n({
|
|
924
|
-
eventType: "CameraClosed"
|
|
925
|
-
}));
|
|
926
|
-
}
|
|
927
|
-
logHelpOpenedEvent() {
|
|
928
|
-
return this.#t(this.#n({
|
|
929
|
-
eventType: "HelpOpened"
|
|
930
|
-
}));
|
|
931
|
-
}
|
|
932
|
-
logHelpClosedEvent(e) {
|
|
933
|
-
return this.#t(this.#n({
|
|
934
|
-
eventType: "HelpClosed",
|
|
935
|
-
helpCloseType: e ? "ContentFullyViewed" : "ContentSkipped"
|
|
936
|
-
}));
|
|
937
|
-
}
|
|
938
|
-
logHelpTooltipDisplayedEvent() {
|
|
939
|
-
return this.#t(this.#n({
|
|
940
|
-
eventType: "HelpTooltipDisplayed"
|
|
941
|
-
}));
|
|
942
|
-
}
|
|
943
|
-
logCloseButtonClickedEvent() {
|
|
944
|
-
return this.#t(this.#n({
|
|
945
|
-
eventType: "CloseButtonClicked"
|
|
946
|
-
}));
|
|
947
|
-
}
|
|
948
|
-
logOnboardingDisplayedEvent() {
|
|
949
|
-
return this.#t(this.#n({
|
|
950
|
-
eventType: "OnboardingInfoDisplayed"
|
|
951
|
-
}));
|
|
952
|
-
}
|
|
953
|
-
logAlertDisplayedEvent(e) {
|
|
954
|
-
return this.#t(this.#n({
|
|
955
|
-
eventType: "AlertDisplayed",
|
|
956
|
-
alertType: e
|
|
957
|
-
}));
|
|
958
|
-
}
|
|
959
|
-
logErrorMessageEvent(e) {
|
|
960
|
-
return this.#t(this.#n({
|
|
961
|
-
eventType: "ErrorMessage",
|
|
962
|
-
errorMessageType: e
|
|
963
|
-
}));
|
|
964
|
-
}
|
|
965
|
-
logAppMovedToBackgroundEvent() {
|
|
966
|
-
return this.#t(this.#n({
|
|
967
|
-
eventType: "AppMovedToBackground"
|
|
968
|
-
}));
|
|
969
|
-
}
|
|
970
|
-
logStepTimeoutEvent() {
|
|
971
|
-
return this.#t(this.#n({
|
|
972
|
-
eventType: "StepTimeout"
|
|
973
|
-
}));
|
|
974
|
-
}
|
|
975
|
-
logCameraInputInfo(e) {
|
|
976
|
-
return this.#t({
|
|
977
|
-
schemaName: "ping.sdk.camera.input.info",
|
|
978
|
-
schemaVersion: "1.0.2",
|
|
979
|
-
data: e
|
|
980
|
-
});
|
|
981
|
-
}
|
|
982
|
-
logHardwareCameraInfo(e) {
|
|
983
|
-
return this.#t({
|
|
984
|
-
schemaName: "ping.hardware.camera.info",
|
|
985
|
-
schemaVersion: "1.0.3",
|
|
986
|
-
data: {
|
|
987
|
-
availableCameras: e
|
|
988
|
-
}
|
|
989
|
-
});
|
|
990
|
-
}
|
|
991
|
-
logCameraPermissionCheck(e) {
|
|
992
|
-
return this.#t(this.#l({
|
|
993
|
-
eventType: "CameraPermissionCheck",
|
|
994
|
-
cameraPermissionGranted: e
|
|
995
|
-
}));
|
|
996
|
-
}
|
|
997
|
-
logCameraPermissionRequest() {
|
|
998
|
-
return this.#t(this.#l({
|
|
999
|
-
eventType: "CameraPermissionRequest"
|
|
1000
|
-
}));
|
|
1001
|
-
}
|
|
1002
|
-
logCameraPermissionUserResponse(e) {
|
|
1003
|
-
return this.#t(this.#l({
|
|
1004
|
-
eventType: "CameraPermissionUserResponse",
|
|
1005
|
-
cameraPermissionGranted: e
|
|
1006
|
-
}));
|
|
1007
|
-
}
|
|
1008
|
-
logDeviceOrientation(e) {
|
|
1009
|
-
return this.#t({
|
|
1010
|
-
schemaName: "ping.sdk.scan.conditions",
|
|
1011
|
-
schemaVersion: "1.0.0",
|
|
1012
|
-
data: {
|
|
1013
|
-
updateType: "DeviceOrientation",
|
|
1014
|
-
deviceOrientation: e
|
|
1015
|
-
}
|
|
1016
|
-
});
|
|
1017
|
-
}
|
|
1018
|
-
logFlashlightState(e) {
|
|
1019
|
-
return this.#t({
|
|
1020
|
-
schemaName: "ping.sdk.scan.conditions",
|
|
1021
|
-
schemaVersion: "1.0.0",
|
|
1022
|
-
data: {
|
|
1023
|
-
updateType: "FlashlightState",
|
|
1024
|
-
flashlightOn: e
|
|
1025
|
-
}
|
|
1026
|
-
});
|
|
1027
|
-
}
|
|
1028
|
-
logDeviceInfo(e) {
|
|
1029
|
-
return this.#t({
|
|
1030
|
-
schemaName: "ping.browser.device.info",
|
|
1031
|
-
schemaVersion: "1.0.0",
|
|
1032
|
-
data: e
|
|
1033
|
-
});
|
|
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
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
function qn(t) {
|
|
830
|
+
function B1(t) {
|
|
1049
831
|
const e = Object.keys(t);
|
|
1050
832
|
if (e.length === 0)
|
|
1051
833
|
throw new Error("No members in object!");
|
|
@@ -1054,7 +836,7 @@ function qn(t) {
|
|
|
1054
836
|
a > i && (i = a, n = r);
|
|
1055
837
|
return n;
|
|
1056
838
|
}
|
|
1057
|
-
class
|
|
839
|
+
class V1 {
|
|
1058
840
|
/** The initial key. */
|
|
1059
841
|
initialKey;
|
|
1060
842
|
/** The UI state map. */
|
|
@@ -1241,7 +1023,7 @@ class Qn {
|
|
|
1241
1023
|
}
|
|
1242
1024
|
if (Object.keys(this.summedScores).length === 0)
|
|
1243
1025
|
return this.uiStateMap[this.currentKey];
|
|
1244
|
-
const i =
|
|
1026
|
+
const i = B1(this.summedScores), r = this.uiStateMap[i];
|
|
1245
1027
|
return r.key !== this.currentKey && (this.currentKey = i, this.currentStateStartTime = e), r;
|
|
1246
1028
|
}
|
|
1247
1029
|
/**
|
|
@@ -1259,7 +1041,7 @@ class Qn {
|
|
|
1259
1041
|
return this.ingest(e), this.tick();
|
|
1260
1042
|
}
|
|
1261
1043
|
}
|
|
1262
|
-
function
|
|
1044
|
+
function qt(t) {
|
|
1263
1045
|
switch (t) {
|
|
1264
1046
|
case "front":
|
|
1265
1047
|
return "Front";
|
|
@@ -1269,11 +1051,11 @@ function Yt(t) {
|
|
|
1269
1051
|
return "Unknown";
|
|
1270
1052
|
}
|
|
1271
1053
|
}
|
|
1272
|
-
function
|
|
1054
|
+
function K1(t, e, n) {
|
|
1273
1055
|
const i = n?.width ?? e.width, r = n?.height ?? e.height;
|
|
1274
1056
|
return {
|
|
1275
1057
|
deviceId: t.name,
|
|
1276
|
-
cameraFacing:
|
|
1058
|
+
cameraFacing: qt(t.facingMode),
|
|
1277
1059
|
cameraFrameWidth: e.width,
|
|
1278
1060
|
cameraFrameHeight: e.height,
|
|
1279
1061
|
roiWidth: i,
|
|
@@ -1281,19 +1063,19 @@ function Yn(t, e, n) {
|
|
|
1281
1063
|
viewPortAspectRatio: i / r
|
|
1282
1064
|
};
|
|
1283
1065
|
}
|
|
1284
|
-
function
|
|
1066
|
+
function W1(t) {
|
|
1285
1067
|
return {
|
|
1286
1068
|
deviceId: t.name,
|
|
1287
|
-
cameraFacing:
|
|
1069
|
+
cameraFacing: qt(t.facingMode),
|
|
1288
1070
|
availableResolutions: void 0,
|
|
1289
1071
|
focus: t.singleShotSupported ? "Auto" : "Fixed"
|
|
1290
1072
|
};
|
|
1291
1073
|
}
|
|
1292
|
-
function
|
|
1074
|
+
function j1(t) {
|
|
1293
1075
|
const e = t.facingMode ?? "unknown", n = t.singleShotSupported ? "auto" : "fixed";
|
|
1294
1076
|
return `${t.name}|${e}|${n}`;
|
|
1295
1077
|
}
|
|
1296
|
-
function
|
|
1078
|
+
function q1(t, e) {
|
|
1297
1079
|
if (t.size !== e.size)
|
|
1298
1080
|
return !0;
|
|
1299
1081
|
for (const n of t)
|
|
@@ -1301,12 +1083,12 @@ function Jn(t, e) {
|
|
|
1301
1083
|
return !0;
|
|
1302
1084
|
return !1;
|
|
1303
1085
|
}
|
|
1304
|
-
const
|
|
1086
|
+
const Q1 = {
|
|
1305
1087
|
short: 100,
|
|
1306
1088
|
long: 300
|
|
1307
1089
|
};
|
|
1308
|
-
class
|
|
1309
|
-
#
|
|
1090
|
+
class Y1 {
|
|
1091
|
+
#t = !0;
|
|
1310
1092
|
/**
|
|
1311
1093
|
* Check if haptic feedback is supported by the current browser/device.
|
|
1312
1094
|
*
|
|
@@ -1321,7 +1103,7 @@ class t1 {
|
|
|
1321
1103
|
* @param enabled - Whether haptic feedback should be enabled
|
|
1322
1104
|
*/
|
|
1323
1105
|
setEnabled(e) {
|
|
1324
|
-
this.#
|
|
1106
|
+
this.#t = e;
|
|
1325
1107
|
}
|
|
1326
1108
|
/**
|
|
1327
1109
|
* Check if haptic feedback is currently enabled.
|
|
@@ -1329,7 +1111,7 @@ class t1 {
|
|
|
1329
1111
|
* @returns true if haptic feedback is enabled
|
|
1330
1112
|
*/
|
|
1331
1113
|
isEnabled() {
|
|
1332
|
-
return this.#
|
|
1114
|
+
return this.#t;
|
|
1333
1115
|
}
|
|
1334
1116
|
/**
|
|
1335
1117
|
* Trigger haptic feedback with the specified type.
|
|
@@ -1337,9 +1119,9 @@ class t1 {
|
|
|
1337
1119
|
* @param type - The type of haptic feedback to trigger
|
|
1338
1120
|
*/
|
|
1339
1121
|
triggerFeedback(e) {
|
|
1340
|
-
if (!this.#
|
|
1122
|
+
if (!this.#t || !this.isSupported())
|
|
1341
1123
|
return;
|
|
1342
|
-
const n =
|
|
1124
|
+
const n = Q1[e];
|
|
1343
1125
|
try {
|
|
1344
1126
|
const i = navigator.vibrate([n]);
|
|
1345
1127
|
console.debug(i ? `HapticFeedback: Triggered ${e} feedback (${n}ms)` : `HapticFeedback: Failed to trigger ${e} feedback`);
|
|
@@ -1368,28 +1150,28 @@ class t1 {
|
|
|
1368
1150
|
this.triggerFeedback("short");
|
|
1369
1151
|
}
|
|
1370
1152
|
}
|
|
1371
|
-
class
|
|
1372
|
-
#
|
|
1153
|
+
class X1 {
|
|
1154
|
+
#t = !1;
|
|
1373
1155
|
#a;
|
|
1374
|
-
#
|
|
1375
|
-
#
|
|
1156
|
+
#o;
|
|
1157
|
+
#u = 0;
|
|
1376
1158
|
constructor(e, n = 0) {
|
|
1377
|
-
this.#a = e, this.#
|
|
1159
|
+
this.#a = e, this.#o = n;
|
|
1378
1160
|
}
|
|
1379
1161
|
get running() {
|
|
1380
|
-
return this.#
|
|
1162
|
+
return this.#t;
|
|
1381
1163
|
}
|
|
1382
1164
|
start() {
|
|
1383
|
-
this.#
|
|
1165
|
+
this.#t || (this.#t = !0, requestAnimationFrame(this.#s));
|
|
1384
1166
|
}
|
|
1385
1167
|
stop() {
|
|
1386
|
-
this.#
|
|
1168
|
+
this.#t = !1;
|
|
1387
1169
|
}
|
|
1388
|
-
#
|
|
1389
|
-
this.#
|
|
1170
|
+
#s = (e) => {
|
|
1171
|
+
this.#t && (e - this.#u >= this.#o && (this.#u = e, this.#a(e)), this.#t && requestAnimationFrame(this.#s));
|
|
1390
1172
|
};
|
|
1391
1173
|
}
|
|
1392
|
-
async function
|
|
1174
|
+
async function Z1(t) {
|
|
1393
1175
|
return new Promise((e) => setTimeout(e, t));
|
|
1394
1176
|
}
|
|
1395
1177
|
function ge(t, e, n) {
|
|
@@ -1400,28 +1182,28 @@ function ge(t, e, n) {
|
|
|
1400
1182
|
console.error(`Error in ${n} callback`, r);
|
|
1401
1183
|
}
|
|
1402
1184
|
}
|
|
1403
|
-
const
|
|
1404
|
-
function
|
|
1185
|
+
const J1 = { trailing: !0 };
|
|
1186
|
+
function en(t, e = 25, n = {}) {
|
|
1405
1187
|
if (n = {
|
|
1406
|
-
...
|
|
1188
|
+
...J1,
|
|
1407
1189
|
...n
|
|
1408
1190
|
}, !Number.isFinite(e)) throw new TypeError("Expected `wait` to be a finite number");
|
|
1409
1191
|
let i, r, a = [], s, o;
|
|
1410
|
-
const u = (g,
|
|
1192
|
+
const u = (g, p) => (s = tn(t, g, p), s.finally(() => {
|
|
1411
1193
|
if (s = null, n.trailing && o && !r) {
|
|
1412
1194
|
const h = u(g, o);
|
|
1413
1195
|
return o = null, h;
|
|
1414
1196
|
}
|
|
1415
1197
|
}), s), c = function(...g) {
|
|
1416
|
-
return n.trailing && (o = g), s || new Promise((
|
|
1198
|
+
return n.trailing && (o = g), s || new Promise((p) => {
|
|
1417
1199
|
const h = !r && n.leading;
|
|
1418
1200
|
clearTimeout(r), r = setTimeout(() => {
|
|
1419
1201
|
r = null;
|
|
1420
|
-
const
|
|
1202
|
+
const f = n.leading ? i : u(this, g);
|
|
1421
1203
|
o = null;
|
|
1422
|
-
for (const m of a) m(
|
|
1204
|
+
for (const m of a) m(f);
|
|
1423
1205
|
a = [];
|
|
1424
|
-
}, e), h ? (i = u(this, g),
|
|
1206
|
+
}, e), h ? (i = u(this, g), p(i)) : a.push(p);
|
|
1425
1207
|
});
|
|
1426
1208
|
}, d = (g) => {
|
|
1427
1209
|
g && (clearTimeout(g), r = null);
|
|
@@ -1434,10 +1216,10 @@ function a1(t, e = 25, n = {}) {
|
|
|
1434
1216
|
return o = null, u(this, g);
|
|
1435
1217
|
}, c;
|
|
1436
1218
|
}
|
|
1437
|
-
async function
|
|
1219
|
+
async function tn(t, e, n) {
|
|
1438
1220
|
return await t.apply(e, n);
|
|
1439
1221
|
}
|
|
1440
|
-
function
|
|
1222
|
+
function nn(t) {
|
|
1441
1223
|
return ot(t).with(
|
|
1442
1224
|
{
|
|
1443
1225
|
previousUiStateKey: "PAGE_CAPTURED",
|
|
@@ -1511,24 +1293,24 @@ function o1(t) {
|
|
|
1511
1293
|
).otherwise(() => {
|
|
1512
1294
|
});
|
|
1513
1295
|
}
|
|
1514
|
-
function
|
|
1296
|
+
function rn(t) {
|
|
1515
1297
|
return ot(
|
|
1516
1298
|
t
|
|
1517
1299
|
).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();
|
|
1518
1300
|
}
|
|
1519
|
-
class
|
|
1301
|
+
class an {
|
|
1520
1302
|
/** The camera manager. */
|
|
1521
1303
|
cameraManager;
|
|
1522
1304
|
/** The scanning session. */
|
|
1523
1305
|
scanningSession;
|
|
1524
|
-
#
|
|
1306
|
+
#t;
|
|
1525
1307
|
/**
|
|
1526
1308
|
* The current UI state. Updated internally by the RAF update loop.
|
|
1527
1309
|
* Read externally once at UI mount to seed the initial Solid signal value;
|
|
1528
|
-
* subsequent updates are delivered via
|
|
1310
|
+
* subsequent updates are delivered via `addOnUiStateChangedCallback`.
|
|
1529
1311
|
*/
|
|
1530
1312
|
get uiState() {
|
|
1531
|
-
return this.#
|
|
1313
|
+
return this.#t;
|
|
1532
1314
|
}
|
|
1533
1315
|
/** Latest mapped candidate key before stabilizer applies it to the UI. */
|
|
1534
1316
|
#a;
|
|
@@ -1545,17 +1327,17 @@ class c1 {
|
|
|
1545
1327
|
showProductionOverlay;
|
|
1546
1328
|
/** The device info. */
|
|
1547
1329
|
deviceInfo;
|
|
1548
|
-
#
|
|
1549
|
-
#
|
|
1550
|
-
#
|
|
1551
|
-
#
|
|
1330
|
+
#o;
|
|
1331
|
+
#u;
|
|
1332
|
+
#s;
|
|
1333
|
+
#d = "INTRO_FRONT_PAGE";
|
|
1552
1334
|
#v;
|
|
1553
1335
|
/** Protects worker message channel from concurrent/terminal process calls. */
|
|
1554
|
-
#
|
|
1336
|
+
#i = "ready";
|
|
1555
1337
|
/** The scanning session timeout ID. */
|
|
1556
1338
|
#h;
|
|
1557
1339
|
/** Timeout duration in ms for the scanning session. If null, timeout won't be triggered ever. */
|
|
1558
|
-
#
|
|
1340
|
+
#l = 1e4;
|
|
1559
1341
|
// 10s
|
|
1560
1342
|
/**
|
|
1561
1343
|
* Time in ms before the help tooltip is shown. If null, tooltip won't be auto shown.
|
|
@@ -1569,34 +1351,34 @@ class c1 {
|
|
|
1569
1351
|
*
|
|
1570
1352
|
* @deprecated This option will be removed in a future release. Use `helpTooltipHideDelay` in `FeedbackUiOptions` instead.
|
|
1571
1353
|
*/
|
|
1572
|
-
#
|
|
1354
|
+
#b = 5e3;
|
|
1573
1355
|
// 5s
|
|
1574
1356
|
/** The callbacks for when the UI state changes. */
|
|
1575
|
-
#
|
|
1357
|
+
#f = /* @__PURE__ */ new Set();
|
|
1576
1358
|
/** The callbacks for when a scan result is available. */
|
|
1577
1359
|
#g = /* @__PURE__ */ new Set();
|
|
1578
1360
|
/** The callbacks for when a frame is processed. */
|
|
1579
|
-
#
|
|
1361
|
+
#p = /* @__PURE__ */ new Set();
|
|
1580
1362
|
/** The callbacks for when an error occurs during processing. */
|
|
1581
1363
|
#m = /* @__PURE__ */ new Set();
|
|
1582
1364
|
/** The callbacks for when a document is filtered. */
|
|
1583
1365
|
#_ = /* @__PURE__ */ new Set();
|
|
1584
1366
|
/** Clean up observers, store subscriptions and event listeners. */
|
|
1585
|
-
#
|
|
1367
|
+
#n = /* @__PURE__ */ new Set();
|
|
1586
1368
|
/** The document class filter. */
|
|
1587
|
-
#
|
|
1369
|
+
#c;
|
|
1588
1370
|
/** The haptic feedback manager. */
|
|
1589
|
-
#
|
|
1371
|
+
#r = new Y1();
|
|
1590
1372
|
/** The UX analytics service. */
|
|
1591
1373
|
#e;
|
|
1592
1374
|
/** Tracks last reported camera hardware state. */
|
|
1593
1375
|
#y = /* @__PURE__ */ new Set();
|
|
1594
|
-
/** Debounced wrapper around
|
|
1595
|
-
#
|
|
1376
|
+
/** Debounced wrapper around `#syncCameraInputToAnalytics` (300 ms). */
|
|
1377
|
+
#w = en(() => {
|
|
1596
1378
|
this.#O();
|
|
1597
1379
|
}, 300);
|
|
1598
1380
|
/** Throttled RAF loop that drives UI state updates at 30 FPS. */
|
|
1599
|
-
#A = new
|
|
1381
|
+
#A = new X1((e) => {
|
|
1600
1382
|
this.feedbackStabilizer.tick(), this.#$(this.feedbackStabilizer.currentState.key);
|
|
1601
1383
|
}, 1e3 / 30);
|
|
1602
1384
|
/**
|
|
@@ -1607,15 +1389,15 @@ class c1 {
|
|
|
1607
1389
|
* @param options - Optional manager configuration.
|
|
1608
1390
|
*/
|
|
1609
1391
|
constructor(e, n, i = {}, r, a, s, o) {
|
|
1610
|
-
this.cameraManager = e, this.scanningSession = n, this.sessionSettings = r, this.showDemoOverlay = a, this.showProductionOverlay = s, this.deviceInfo = o, i.initialUiStateKey && (this.#
|
|
1392
|
+
this.cameraManager = e, this.scanningSession = n, this.sessionSettings = r, this.showDemoOverlay = a, this.showProductionOverlay = s, this.deviceInfo = o, i.initialUiStateKey && (this.#d = i.initialUiStateKey), this.feedbackStabilizer = new V1(
|
|
1611
1393
|
Ue,
|
|
1612
|
-
this.#
|
|
1613
|
-
), this.#
|
|
1394
|
+
this.#d
|
|
1395
|
+
), this.#t = this.feedbackStabilizer.currentState, this.#a = this.feedbackStabilizer.currentState.key, this.#s = this.uiState.key, this.#e = new m1({
|
|
1614
1396
|
pingFn: (d) => this.scanningSession.ping(d),
|
|
1615
1397
|
sendPingletsFn: () => this.scanningSession.sendPinglets()
|
|
1616
1398
|
}), this.#e.logDeviceInfo(this.deviceInfo), this.#P();
|
|
1617
1399
|
const u = this.cameraManager.addFrameCaptureCallback(this.#L), c = this.cameraManager.addErrorCallback(this.handleCameraManagerError);
|
|
1618
|
-
this.#
|
|
1400
|
+
this.#n.add(u), this.#n.add(c), this.startUiUpdateLoop();
|
|
1619
1401
|
}
|
|
1620
1402
|
/** The currently applied UI state key. */
|
|
1621
1403
|
get uiStateKey() {
|
|
@@ -1643,35 +1425,35 @@ class c1 {
|
|
|
1643
1425
|
(h) => h.playbackState,
|
|
1644
1426
|
(h) => {
|
|
1645
1427
|
console.debug(`⏯️ ${h}`);
|
|
1646
|
-
const
|
|
1647
|
-
!
|
|
1428
|
+
const f = e !== void 0 && e !== "idle", m = h !== "idle", T = h === "capturing" && e !== "capturing";
|
|
1429
|
+
!f && m ? (this.#e.logCameraStartedEvent(), this.#e.sendPinglets()) : f && !m && (this.#e.logCameraClosedEvent(), this.#e.sendPinglets()), T && this.#s === this.uiState.key && (this.feedbackStabilizer.restartCurrentStateTimer(), this.#s = void 0), e = h, this.#l !== null && (h !== "capturing" ? this.clearScanTimeout() : (console.debug("🔁 continuing timeout"), this.#R(this.uiState)));
|
|
1648
1430
|
}
|
|
1649
1431
|
);
|
|
1650
|
-
this.#
|
|
1432
|
+
this.#n.add(n);
|
|
1651
1433
|
const i = this.cameraManager.subscribe(
|
|
1652
1434
|
(h) => h.cameras,
|
|
1653
1435
|
(h) => {
|
|
1654
|
-
const
|
|
1655
|
-
h.map((A) =>
|
|
1436
|
+
const f = new Set(
|
|
1437
|
+
h.map((A) => j1(A))
|
|
1656
1438
|
), m = this.cameraManager.getState();
|
|
1657
1439
|
if (h.length === 0 && !m.videoElement) {
|
|
1658
|
-
this.#y =
|
|
1440
|
+
this.#y = f;
|
|
1659
1441
|
return;
|
|
1660
1442
|
}
|
|
1661
|
-
if (!
|
|
1443
|
+
if (!q1(f, this.#y))
|
|
1662
1444
|
return;
|
|
1663
|
-
this.#y =
|
|
1445
|
+
this.#y = f;
|
|
1664
1446
|
const T = h.map(
|
|
1665
|
-
(A) =>
|
|
1447
|
+
(A) => W1(A)
|
|
1666
1448
|
);
|
|
1667
1449
|
this.#e.logHardwareCameraInfo(T);
|
|
1668
1450
|
}
|
|
1669
1451
|
);
|
|
1670
|
-
this.#
|
|
1452
|
+
this.#n.add(i);
|
|
1671
1453
|
const r = () => {
|
|
1672
1454
|
document.visibilityState === "hidden" && this.#e.logAppMovedToBackgroundEvent(), this.#e.sendPinglets();
|
|
1673
1455
|
};
|
|
1674
|
-
document.addEventListener("visibilitychange", r), this.#
|
|
1456
|
+
document.addEventListener("visibilitychange", r), this.#n.add(() => {
|
|
1675
1457
|
document.removeEventListener(
|
|
1676
1458
|
"visibilitychange",
|
|
1677
1459
|
r
|
|
@@ -1681,44 +1463,44 @@ class c1 {
|
|
|
1681
1463
|
(h) => h.selectedCamera,
|
|
1682
1464
|
() => this.#O()
|
|
1683
1465
|
);
|
|
1684
|
-
this.#
|
|
1466
|
+
this.#n.add(a);
|
|
1685
1467
|
const s = this.cameraManager.subscribe(
|
|
1686
1468
|
(h) => h.videoResolution,
|
|
1687
1469
|
() => this.#S()
|
|
1688
1470
|
);
|
|
1689
|
-
this.#
|
|
1471
|
+
this.#n.add(s);
|
|
1690
1472
|
const o = this.cameraManager.subscribe(
|
|
1691
1473
|
(h) => h.extractionArea,
|
|
1692
1474
|
() => this.#S()
|
|
1693
1475
|
);
|
|
1694
|
-
this.#
|
|
1476
|
+
this.#n.add(o);
|
|
1695
1477
|
const u = this.cameraManager.subscribe(
|
|
1696
1478
|
(h) => h.cameraPermission,
|
|
1697
|
-
this.#
|
|
1479
|
+
this.#I
|
|
1698
1480
|
);
|
|
1699
|
-
this.#
|
|
1481
|
+
this.#n.add(u);
|
|
1700
1482
|
const c = (h) => {
|
|
1701
|
-
let
|
|
1483
|
+
let f;
|
|
1702
1484
|
switch (h.type) {
|
|
1703
1485
|
case "portrait-primary":
|
|
1704
|
-
|
|
1486
|
+
f = "Portrait";
|
|
1705
1487
|
break;
|
|
1706
1488
|
case "portrait-secondary":
|
|
1707
|
-
|
|
1489
|
+
f = "PortraitUpside";
|
|
1708
1490
|
break;
|
|
1709
1491
|
case "landscape-primary":
|
|
1710
|
-
|
|
1492
|
+
f = "LandscapeLeft";
|
|
1711
1493
|
break;
|
|
1712
1494
|
case "landscape-secondary":
|
|
1713
|
-
|
|
1495
|
+
f = "LandscapeRight";
|
|
1714
1496
|
break;
|
|
1715
1497
|
}
|
|
1716
|
-
this.#e.logDeviceOrientation(
|
|
1498
|
+
this.#e.logDeviceOrientation(f);
|
|
1717
1499
|
}, d = (h) => {
|
|
1718
|
-
const
|
|
1719
|
-
c(
|
|
1500
|
+
const f = h.target;
|
|
1501
|
+
c(f);
|
|
1720
1502
|
};
|
|
1721
|
-
screen.orientation.addEventListener("change", d), c(screen.orientation), this.#
|
|
1503
|
+
screen.orientation.addEventListener("change", d), c(screen.orientation), this.#n.add(() => {
|
|
1722
1504
|
screen.orientation.removeEventListener(
|
|
1723
1505
|
"change",
|
|
1724
1506
|
d
|
|
@@ -1727,37 +1509,37 @@ class c1 {
|
|
|
1727
1509
|
const g = this.cameraManager.subscribe(
|
|
1728
1510
|
(h) => h.selectedCamera?.torchEnabled,
|
|
1729
1511
|
(h) => {
|
|
1730
|
-
h !== void 0 && (h === !0 && this.#
|
|
1512
|
+
h !== void 0 && (h === !0 && this.#r.triggerShort(), this.#e.logFlashlightState(h));
|
|
1731
1513
|
}
|
|
1732
1514
|
);
|
|
1733
|
-
this.#
|
|
1734
|
-
const
|
|
1515
|
+
this.#n.add(g);
|
|
1516
|
+
const p = this.cameraManager.subscribe(
|
|
1735
1517
|
(h) => h.videoElement,
|
|
1736
1518
|
(h) => {
|
|
1737
1519
|
h || (console.debug("Removing camera manager subscriptions"), this.destroy());
|
|
1738
1520
|
}
|
|
1739
1521
|
);
|
|
1740
|
-
this.#
|
|
1522
|
+
this.#n.add(p), this.#n.add(() => {
|
|
1741
1523
|
this.stopUiUpdateLoop();
|
|
1742
1524
|
});
|
|
1743
1525
|
}
|
|
1744
|
-
#
|
|
1526
|
+
#I = (e, n) => {
|
|
1745
1527
|
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();
|
|
1746
1528
|
};
|
|
1747
1529
|
#O() {
|
|
1748
|
-
const e = this.#
|
|
1530
|
+
const e = this.#k();
|
|
1749
1531
|
e && this.#e.logCameraInputInfo(e);
|
|
1750
1532
|
}
|
|
1751
1533
|
#S() {
|
|
1752
|
-
this.#
|
|
1534
|
+
this.#w();
|
|
1753
1535
|
}
|
|
1754
1536
|
#M() {
|
|
1755
|
-
this.#
|
|
1537
|
+
this.#w.cancel();
|
|
1756
1538
|
}
|
|
1757
|
-
#
|
|
1539
|
+
#k() {
|
|
1758
1540
|
const e = this.cameraManager.getState();
|
|
1759
1541
|
if (!(!e.selectedCamera || !e.videoResolution))
|
|
1760
|
-
return
|
|
1542
|
+
return K1(
|
|
1761
1543
|
e.selectedCamera,
|
|
1762
1544
|
e.videoResolution,
|
|
1763
1545
|
e.extractionArea
|
|
@@ -1767,7 +1549,7 @@ class c1 {
|
|
|
1767
1549
|
* Returns the timeout duration in ms. Null if timeout won't be triggered ever.
|
|
1768
1550
|
*/
|
|
1769
1551
|
getTimeoutDuration() {
|
|
1770
|
-
return this.#
|
|
1552
|
+
return this.#l;
|
|
1771
1553
|
}
|
|
1772
1554
|
/**
|
|
1773
1555
|
* Returns the time in ms before the help tooltip is shown. Null if tooltip won't be auto shown.
|
|
@@ -1783,7 +1565,7 @@ class c1 {
|
|
|
1783
1565
|
* @deprecated This option will be removed in a future release. Use `helpTooltipHideDelay` in `FeedbackUiOptions` instead.
|
|
1784
1566
|
*/
|
|
1785
1567
|
getHelpTooltipHideDelay() {
|
|
1786
|
-
return this.#
|
|
1568
|
+
return this.#b;
|
|
1787
1569
|
}
|
|
1788
1570
|
/**
|
|
1789
1571
|
* Gets the haptic feedback manager instance.
|
|
@@ -1791,7 +1573,7 @@ class c1 {
|
|
|
1791
1573
|
* @returns The haptic feedback manager
|
|
1792
1574
|
*/
|
|
1793
1575
|
getHapticFeedbackManager() {
|
|
1794
|
-
return this.#
|
|
1576
|
+
return this.#r;
|
|
1795
1577
|
}
|
|
1796
1578
|
/**
|
|
1797
1579
|
* Enable or disable haptic feedback.
|
|
@@ -1799,7 +1581,7 @@ class c1 {
|
|
|
1799
1581
|
* @param enabled - Whether haptic feedback should be enabled
|
|
1800
1582
|
*/
|
|
1801
1583
|
setHapticFeedbackEnabled(e) {
|
|
1802
|
-
this.#
|
|
1584
|
+
this.#r.setEnabled(e);
|
|
1803
1585
|
}
|
|
1804
1586
|
/**
|
|
1805
1587
|
* Check if haptic feedback is currently enabled.
|
|
@@ -1807,7 +1589,7 @@ class c1 {
|
|
|
1807
1589
|
* @returns true if haptic feedback is enabled
|
|
1808
1590
|
*/
|
|
1809
1591
|
isHapticFeedbackEnabled() {
|
|
1810
|
-
return this.#
|
|
1592
|
+
return this.#r.isEnabled();
|
|
1811
1593
|
}
|
|
1812
1594
|
/**
|
|
1813
1595
|
* Check if haptic feedback is supported by the current browser/device.
|
|
@@ -1815,7 +1597,7 @@ class c1 {
|
|
|
1815
1597
|
* @returns true if haptic feedback is supported
|
|
1816
1598
|
*/
|
|
1817
1599
|
isHapticFeedbackSupported() {
|
|
1818
|
-
return this.#
|
|
1600
|
+
return this.#r.isSupported();
|
|
1819
1601
|
}
|
|
1820
1602
|
/**
|
|
1821
1603
|
* Gets the analytics service for tracking UX events.
|
|
@@ -1840,8 +1622,8 @@ class c1 {
|
|
|
1840
1622
|
* cleanup();
|
|
1841
1623
|
*/
|
|
1842
1624
|
addOnUiStateChangedCallback(e) {
|
|
1843
|
-
return this.#
|
|
1844
|
-
this.#
|
|
1625
|
+
return this.#f.add(e), () => {
|
|
1626
|
+
this.#f.delete(e);
|
|
1845
1627
|
};
|
|
1846
1628
|
}
|
|
1847
1629
|
/**
|
|
@@ -1882,8 +1664,8 @@ class c1 {
|
|
|
1882
1664
|
* cleanup();
|
|
1883
1665
|
*/
|
|
1884
1666
|
addDocumentClassFilter(e) {
|
|
1885
|
-
return this.#
|
|
1886
|
-
this.#
|
|
1667
|
+
return this.#c = e, () => {
|
|
1668
|
+
this.#c = void 0;
|
|
1887
1669
|
};
|
|
1888
1670
|
}
|
|
1889
1671
|
/**
|
|
@@ -1903,8 +1685,8 @@ class c1 {
|
|
|
1903
1685
|
* cleanup();
|
|
1904
1686
|
*/
|
|
1905
1687
|
addOnFrameProcessCallback(e) {
|
|
1906
|
-
return this.#
|
|
1907
|
-
this.#
|
|
1688
|
+
return this.#p.add(e), () => {
|
|
1689
|
+
this.#p.delete(e);
|
|
1908
1690
|
};
|
|
1909
1691
|
}
|
|
1910
1692
|
/**
|
|
@@ -1934,7 +1716,7 @@ class c1 {
|
|
|
1934
1716
|
* @param errorState - The error state.
|
|
1935
1717
|
*/
|
|
1936
1718
|
#E = (e) => {
|
|
1937
|
-
this.#
|
|
1719
|
+
this.#r.triggerLong(), ge(this.#m, e, "onError");
|
|
1938
1720
|
};
|
|
1939
1721
|
/**
|
|
1940
1722
|
* Registers a callback function to be called when a document is filtered.
|
|
@@ -1963,7 +1745,7 @@ class c1 {
|
|
|
1963
1745
|
* @param documentClassInfo - The document class info.
|
|
1964
1746
|
*/
|
|
1965
1747
|
#N = (e) => {
|
|
1966
|
-
this.#
|
|
1748
|
+
this.#r.triggerLong(), ge(
|
|
1967
1749
|
this.#_,
|
|
1968
1750
|
e,
|
|
1969
1751
|
"onDocumentFiltered"
|
|
@@ -1984,7 +1766,7 @@ class c1 {
|
|
|
1984
1766
|
*/
|
|
1985
1767
|
#U = (e) => {
|
|
1986
1768
|
ge(
|
|
1987
|
-
this.#
|
|
1769
|
+
this.#p,
|
|
1988
1770
|
e,
|
|
1989
1771
|
"onFrameProcess"
|
|
1990
1772
|
);
|
|
@@ -1996,7 +1778,7 @@ class c1 {
|
|
|
1996
1778
|
*/
|
|
1997
1779
|
#C = (e) => {
|
|
1998
1780
|
ge(
|
|
1999
|
-
this.#
|
|
1781
|
+
this.#f,
|
|
2000
1782
|
e,
|
|
2001
1783
|
"onUiStateChanged"
|
|
2002
1784
|
);
|
|
@@ -2009,10 +1791,10 @@ class c1 {
|
|
|
2009
1791
|
* @returns boolean indicating if the document should be processed
|
|
2010
1792
|
*/
|
|
2011
1793
|
#G(e) {
|
|
2012
|
-
if (this.#
|
|
1794
|
+
if (this.#c === void 0)
|
|
2013
1795
|
return !0;
|
|
2014
|
-
const n =
|
|
2015
|
-
return !
|
|
1796
|
+
const n = mt(e);
|
|
1797
|
+
return !G1(n) || this.#c(n) ? !0 : (this.cameraManager.stopFrameCapture(), this.#N(n), !1);
|
|
2016
1798
|
}
|
|
2017
1799
|
/**
|
|
2018
1800
|
* Sets the duration after which the scanning session will timeout. The
|
|
@@ -2029,7 +1811,7 @@ class c1 {
|
|
|
2029
1811
|
setTimeoutDuration(e, n = !0) {
|
|
2030
1812
|
if (e !== null && e <= 0)
|
|
2031
1813
|
throw new Error("Timeout duration must be greater than 0");
|
|
2032
|
-
this.#
|
|
1814
|
+
this.#l = e, n && this.setHelpTooltipShowDelay(e !== null ? e / 2 : null);
|
|
2033
1815
|
}
|
|
2034
1816
|
/**
|
|
2035
1817
|
* Sets the duration in milliseconds before the help tooltip is shown.
|
|
@@ -2061,7 +1843,7 @@ class c1 {
|
|
|
2061
1843
|
setHelpTooltipHideDelay(e) {
|
|
2062
1844
|
if (e !== null && e <= 0)
|
|
2063
1845
|
throw new Error("Help tooltip display duration must be greater than 0");
|
|
2064
|
-
this.#
|
|
1846
|
+
this.#b = e;
|
|
2065
1847
|
}
|
|
2066
1848
|
/**
|
|
2067
1849
|
* Sets the timeout for the scanning session.
|
|
@@ -2069,13 +1851,13 @@ class c1 {
|
|
|
2069
1851
|
* @param uiState - The UI state.
|
|
2070
1852
|
*/
|
|
2071
1853
|
#R = (e) => {
|
|
2072
|
-
if (this.#
|
|
1854
|
+
if (this.#l === null) {
|
|
2073
1855
|
console.debug("⏳🟢 timeout duration is null, not starting timeout");
|
|
2074
1856
|
return;
|
|
2075
1857
|
}
|
|
2076
1858
|
this.clearScanTimeout(), console.debug(`⏳🟢 starting timeout for ${e.key}`), this.#h = window.setTimeout(() => {
|
|
2077
1859
|
console.debug("⏳🟢 timeout triggered"), this.cameraManager.stopFrameCapture(), this.#E("timeout"), this.#e.logStepTimeoutEvent(), this.#e.sendPinglets(), this.resetScanningSession(!1);
|
|
2078
|
-
}, this.#
|
|
1860
|
+
}, this.#l);
|
|
2079
1861
|
};
|
|
2080
1862
|
/**
|
|
2081
1863
|
* Handles haptic feedback based on UI state changes.
|
|
@@ -2084,15 +1866,15 @@ class c1 {
|
|
|
2084
1866
|
*/
|
|
2085
1867
|
#x = (e) => {
|
|
2086
1868
|
if (e === "PAGE_CAPTURED") {
|
|
2087
|
-
this.#
|
|
1869
|
+
this.#r.triggerShort();
|
|
2088
1870
|
return;
|
|
2089
1871
|
}
|
|
2090
1872
|
if (e === "DOCUMENT_CAPTURED") {
|
|
2091
|
-
this.#
|
|
1873
|
+
this.#r.triggerLong();
|
|
2092
1874
|
return;
|
|
2093
1875
|
}
|
|
2094
|
-
if (e !== "UNSUPPORTED_DOCUMENT" &&
|
|
2095
|
-
this.#
|
|
1876
|
+
if (e !== "UNSUPPORTED_DOCUMENT" && _t.includes(e)) {
|
|
1877
|
+
this.#r.triggerShort();
|
|
2096
1878
|
return;
|
|
2097
1879
|
}
|
|
2098
1880
|
};
|
|
@@ -2105,20 +1887,20 @@ class c1 {
|
|
|
2105
1887
|
* @returns The processed frame's ArrayBuffer, or undefined if not applicable.
|
|
2106
1888
|
*/
|
|
2107
1889
|
#L = async (e) => {
|
|
2108
|
-
if (this.#
|
|
2109
|
-
if (this.#
|
|
1890
|
+
if (this.#i !== "terminal") {
|
|
1891
|
+
if (this.#i === "busy") {
|
|
2110
1892
|
console.debug("🚦🔴 Thread is busy, skipping frame capture");
|
|
2111
1893
|
return;
|
|
2112
1894
|
}
|
|
2113
|
-
this.#
|
|
1895
|
+
this.#i = "busy";
|
|
2114
1896
|
try {
|
|
2115
1897
|
const n = await this.scanningSession.process(e);
|
|
2116
1898
|
if (n.arrayBuffer.byteLength === 0 && console.warn(
|
|
2117
1899
|
"scanningSession.process did not return ownership of the array buffer!"
|
|
2118
1900
|
), "error" in n)
|
|
2119
1901
|
return console.warn("session process error:", n.error), n.arrayBuffer;
|
|
2120
|
-
this.#v || (this.#v = performance.now(), this.#e.sendPinglets()), this.#
|
|
2121
|
-
|
|
1902
|
+
this.#v || (this.#v = performance.now(), this.#e.sendPinglets()), this.#u = x1(n), this.#o = L1(
|
|
1903
|
+
mt(n)
|
|
2122
1904
|
);
|
|
2123
1905
|
const i = this.#z(n);
|
|
2124
1906
|
return this.#H(i), this.#U(n), this.#G(n) && i && (this.#a = i, this.feedbackStabilizer.ingest(i)), n.arrayBuffer;
|
|
@@ -2129,7 +1911,7 @@ class c1 {
|
|
|
2129
1911
|
errorType: "NonFatal"
|
|
2130
1912
|
}), await this.#e.sendPinglets(), n;
|
|
2131
1913
|
} finally {
|
|
2132
|
-
this.#
|
|
1914
|
+
this.#i === "busy" && (this.#i = "ready");
|
|
2133
1915
|
}
|
|
2134
1916
|
}
|
|
2135
1917
|
};
|
|
@@ -2141,13 +1923,13 @@ class c1 {
|
|
|
2141
1923
|
}), this.#e.sendPinglets();
|
|
2142
1924
|
};
|
|
2143
1925
|
#H = (e) => {
|
|
2144
|
-
e &&
|
|
1926
|
+
e && z1.includes(
|
|
2145
1927
|
e
|
|
2146
|
-
) && (console.debug("🛑 stop processing", e), this.cameraManager.stopFrameCapture(), this.#e.sendPinglets(), e === "DOCUMENT_CAPTURED" && (this.#
|
|
1928
|
+
) && (console.debug("🛑 stop processing", e), this.cameraManager.stopFrameCapture(), this.#e.sendPinglets(), e === "DOCUMENT_CAPTURED" && (this.#i = "terminal"));
|
|
2147
1929
|
};
|
|
2148
1930
|
#z = (e) => {
|
|
2149
1931
|
if (this.sessionSettings)
|
|
2150
|
-
return
|
|
1932
|
+
return $1(e, this.sessionSettings.scanningSettings);
|
|
2151
1933
|
};
|
|
2152
1934
|
/**
|
|
2153
1935
|
* Updates the UI state from the uiStateKey
|
|
@@ -2157,10 +1939,10 @@ class c1 {
|
|
|
2157
1939
|
return;
|
|
2158
1940
|
console.debug(`🔄 UI State changed: ${this.uiState.key} -> ${e}`);
|
|
2159
1941
|
const n = Ue[e];
|
|
2160
|
-
if (this.#
|
|
1942
|
+
if (this.#t = n, e !== "UNSUPPORTED_DOCUMENT" && _t.includes(e)) {
|
|
2161
1943
|
const i = e;
|
|
2162
1944
|
this.#e.logErrorMessageEvent(
|
|
2163
|
-
|
|
1945
|
+
rn(i)
|
|
2164
1946
|
);
|
|
2165
1947
|
}
|
|
2166
1948
|
if (this.#x(n.key), e === "UNSUPPORTED_DOCUMENT") {
|
|
@@ -2170,13 +1952,13 @@ class c1 {
|
|
|
2170
1952
|
this.#C(n), await this.#V(n), this.#B(n.key);
|
|
2171
1953
|
};
|
|
2172
1954
|
#B = (e) => {
|
|
2173
|
-
if (!this.#
|
|
1955
|
+
if (!this.#o)
|
|
2174
1956
|
return;
|
|
2175
1957
|
const n = {
|
|
2176
1958
|
previousUiStateKey: e,
|
|
2177
|
-
paginationType: this.#
|
|
2178
|
-
rotation: this.#
|
|
2179
|
-
}, i =
|
|
1959
|
+
paginationType: this.#o,
|
|
1960
|
+
rotation: this.#u
|
|
1961
|
+
}, i = nn(n);
|
|
2180
1962
|
i && this.feedbackStabilizer.ingest(i);
|
|
2181
1963
|
};
|
|
2182
1964
|
/**
|
|
@@ -2187,14 +1969,14 @@ class c1 {
|
|
|
2187
1969
|
* @param uiState - The UI state.
|
|
2188
1970
|
*/
|
|
2189
1971
|
#V = async (e) => {
|
|
2190
|
-
if (this.#
|
|
1972
|
+
if (this.#l !== null && e.key !== "DOCUMENT_CAPTURED" && this.#R(e), H1.includes(
|
|
2191
1973
|
e.key
|
|
2192
|
-
) && (this.#
|
|
1974
|
+
) && (this.#s = e.key, this.cameraManager.startFrameCapture()), e.key === "DOCUMENT_CAPTURED") {
|
|
2193
1975
|
console.debug(
|
|
2194
1976
|
"Handling DOCUMENT_CAPTURED state from #handleUiStateChange"
|
|
2195
1977
|
), this.clearScanTimeout();
|
|
2196
1978
|
try {
|
|
2197
|
-
await
|
|
1979
|
+
await Z1(e.minDuration);
|
|
2198
1980
|
const n = await this.getSessionResult();
|
|
2199
1981
|
this.#F(n);
|
|
2200
1982
|
} catch (n) {
|
|
@@ -2203,7 +1985,7 @@ class c1 {
|
|
|
2203
1985
|
n
|
|
2204
1986
|
), this.#E("result_retrieval_failed");
|
|
2205
1987
|
} finally {
|
|
2206
|
-
this.#
|
|
1988
|
+
this.#i = "terminal";
|
|
2207
1989
|
}
|
|
2208
1990
|
}
|
|
2209
1991
|
};
|
|
@@ -2211,7 +1993,7 @@ class c1 {
|
|
|
2211
1993
|
* Returns the initial UI state key used when resetting UX state.
|
|
2212
1994
|
*/
|
|
2213
1995
|
getInitialUiStateKey() {
|
|
2214
|
-
return this.#
|
|
1996
|
+
return this.#d;
|
|
2215
1997
|
}
|
|
2216
1998
|
/**
|
|
2217
1999
|
* Overrides the initial UI state key.
|
|
@@ -2220,13 +2002,13 @@ class c1 {
|
|
|
2220
2002
|
* @param applyImmediately - If true, immediately applies and emits this state.
|
|
2221
2003
|
*/
|
|
2222
2004
|
setInitialUiStateKey(e, n = !1) {
|
|
2223
|
-
this.#
|
|
2005
|
+
this.#d = e, n && this.#D(e);
|
|
2224
2006
|
}
|
|
2225
2007
|
/**
|
|
2226
2008
|
* Resets the feedback stabilizer and invokes the onUiStateChanged callbacks.
|
|
2227
2009
|
*/
|
|
2228
|
-
#D = (e = this.#
|
|
2229
|
-
this.feedbackStabilizer.reset(e), this.#
|
|
2010
|
+
#D = (e = this.#d) => {
|
|
2011
|
+
this.feedbackStabilizer.reset(e), this.#t = this.feedbackStabilizer.currentState, this.#a = this.uiState.key, this.#i = "ready", this.#s = e, this.#v = void 0, this.#C(this.uiState);
|
|
2230
2012
|
};
|
|
2231
2013
|
/**
|
|
2232
2014
|
* Clears the scanning session timeout.
|
|
@@ -2259,10 +2041,10 @@ class c1 {
|
|
|
2259
2041
|
console.debug("🔁 Resetting scanning session"), this.clearScanTimeout(), this.#D(), await this.scanningSession.reset(), e && (this.cameraManager.isActive || await this.cameraManager.startCameraStream(), await this.cameraManager.startFrameCapture());
|
|
2260
2042
|
}
|
|
2261
2043
|
clearUserCallbacks() {
|
|
2262
|
-
console.debug("🧹 Clearing all BlinkIdUxManager user callbacks"), this.#
|
|
2044
|
+
console.debug("🧹 Clearing all BlinkIdUxManager user callbacks"), this.#f.clear(), this.#g.clear(), this.#p.clear(), this.#m.clear(), this.#_.clear();
|
|
2263
2045
|
}
|
|
2264
2046
|
cleanupAllObservers() {
|
|
2265
|
-
console.debug("🧹 Removing all BlinkIdUxManager observers"), this.#M(), this.#
|
|
2047
|
+
console.debug("🧹 Removing all BlinkIdUxManager observers"), this.#M(), this.#n.forEach((e) => e()), this.#n.clear();
|
|
2266
2048
|
}
|
|
2267
2049
|
/**
|
|
2268
2050
|
* Resets the BlinkIdUxManager. Clears all callbacks.
|
|
@@ -2270,7 +2052,7 @@ class c1 {
|
|
|
2270
2052
|
* Does not reset the camera manager or the scanning session.
|
|
2271
2053
|
*/
|
|
2272
2054
|
reset() {
|
|
2273
|
-
console.debug("🔁 Resetting BlinkIdUxManager"), this.clearScanTimeout(), this.#M(), this.#
|
|
2055
|
+
console.debug("🔁 Resetting BlinkIdUxManager"), this.clearScanTimeout(), this.#M(), this.#i = "ready", this.clearUserCallbacks(), this.#c = void 0;
|
|
2274
2056
|
}
|
|
2275
2057
|
/**
|
|
2276
2058
|
* Fully tears down the BlinkIdUxManager. Stops frame processing, cancels the
|
|
@@ -2280,10 +2062,10 @@ class c1 {
|
|
|
2280
2062
|
* Does not stop the camera stream or delete the scanning session.
|
|
2281
2063
|
*/
|
|
2282
2064
|
destroy() {
|
|
2283
|
-
console.debug("💥 Destroying BlinkIdUxManager"), this.#
|
|
2065
|
+
console.debug("💥 Destroying BlinkIdUxManager"), this.#i = "terminal", this.clearScanTimeout(), this.cleanupAllObservers(), this.clearUserCallbacks(), this.#c = void 0;
|
|
2284
2066
|
}
|
|
2285
2067
|
}
|
|
2286
|
-
const
|
|
2068
|
+
const qr = async (t, e, n = {}) => {
|
|
2287
2069
|
try {
|
|
2288
2070
|
const [
|
|
2289
2071
|
i,
|
|
@@ -2294,9 +2076,9 @@ const Zr = async (t, e, n = {}) => {
|
|
|
2294
2076
|
e.getSettings(),
|
|
2295
2077
|
e.showDemoOverlay(),
|
|
2296
2078
|
e.showProductionOverlay(),
|
|
2297
|
-
|
|
2079
|
+
_1()
|
|
2298
2080
|
]);
|
|
2299
|
-
return new
|
|
2081
|
+
return new an(
|
|
2300
2082
|
t,
|
|
2301
2083
|
e,
|
|
2302
2084
|
n,
|
|
@@ -2326,22 +2108,22 @@ const Zr = async (t, e, n = {}) => {
|
|
|
2326
2108
|
}
|
|
2327
2109
|
throw i;
|
|
2328
2110
|
}
|
|
2329
|
-
},
|
|
2111
|
+
}, sn = (t, e, n) => qe((i) => (S(e, t(), e.firstChild ? null : void 0), () => {
|
|
2330
2112
|
i(), e instanceof Document || (e.textContent = "");
|
|
2331
2113
|
}), n);
|
|
2332
|
-
function
|
|
2114
|
+
function Qt(t) {
|
|
2333
2115
|
return Object.prototype.toString.call(t).slice(8, -1);
|
|
2334
2116
|
}
|
|
2335
2117
|
function Oe(t) {
|
|
2336
|
-
if (
|
|
2118
|
+
if (Qt(t) !== "Object")
|
|
2337
2119
|
return !1;
|
|
2338
2120
|
const e = Object.getPrototypeOf(t);
|
|
2339
2121
|
return !!e && e.constructor === Object && e === Object.prototype;
|
|
2340
2122
|
}
|
|
2341
|
-
function
|
|
2342
|
-
return
|
|
2123
|
+
function yt(t) {
|
|
2124
|
+
return Qt(t) === "Symbol";
|
|
2343
2125
|
}
|
|
2344
|
-
function
|
|
2126
|
+
function Et(t, e, n, i) {
|
|
2345
2127
|
const r = {}.propertyIsEnumerable.call(i, e) ? "enumerable" : "nonenumerable";
|
|
2346
2128
|
r === "enumerable" && (t[e] = n), r === "nonenumerable" && Object.defineProperty(t, e, {
|
|
2347
2129
|
value: n,
|
|
@@ -2350,7 +2132,7 @@ function Tt(t, e, n, i) {
|
|
|
2350
2132
|
configurable: !0
|
|
2351
2133
|
});
|
|
2352
2134
|
}
|
|
2353
|
-
function
|
|
2135
|
+
function Yt(t, e, n) {
|
|
2354
2136
|
if (!Oe(e))
|
|
2355
2137
|
return e;
|
|
2356
2138
|
let i = {};
|
|
@@ -2358,23 +2140,23 @@ function Zt(t, e, n) {
|
|
|
2358
2140
|
const o = Object.getOwnPropertyNames(t), u = Object.getOwnPropertySymbols(t);
|
|
2359
2141
|
i = [...o, ...u].reduce((c, d) => {
|
|
2360
2142
|
const g = t[d];
|
|
2361
|
-
return (!
|
|
2143
|
+
return (!yt(d) && !Object.getOwnPropertyNames(e).includes(d) || yt(d) && !Object.getOwnPropertySymbols(e).includes(d)) && Et(c, d, g, t), c;
|
|
2362
2144
|
}, {});
|
|
2363
2145
|
}
|
|
2364
2146
|
const r = Object.getOwnPropertyNames(e), a = Object.getOwnPropertySymbols(e);
|
|
2365
2147
|
return [...r, ...a].reduce((o, u) => {
|
|
2366
2148
|
let c = e[u];
|
|
2367
2149
|
const d = Oe(t) ? t[u] : void 0;
|
|
2368
|
-
return d !== void 0 && Oe(c) && (c =
|
|
2150
|
+
return d !== void 0 && Oe(c) && (c = Yt(d, c)), Et(o, u, c, e), o;
|
|
2369
2151
|
}, i);
|
|
2370
2152
|
}
|
|
2371
|
-
function
|
|
2372
|
-
return e.reduce((n, i) =>
|
|
2153
|
+
function on(t, ...e) {
|
|
2154
|
+
return e.reduce((n, i) => Yt(n, i), t);
|
|
2373
2155
|
}
|
|
2374
|
-
var
|
|
2375
|
-
const
|
|
2156
|
+
var ln = /* @__PURE__ */ _("<span>");
|
|
2157
|
+
const Xt = (t) => {
|
|
2376
2158
|
const [e, n] = L(), [i, r] = L();
|
|
2377
|
-
return
|
|
2159
|
+
return zt(() => {
|
|
2378
2160
|
const a = i();
|
|
2379
2161
|
a && n(a.getRootNode());
|
|
2380
2162
|
}), l(W, {
|
|
@@ -2383,18 +2165,18 @@ const Jt = (t) => {
|
|
|
2383
2165
|
},
|
|
2384
2166
|
get fallback() {
|
|
2385
2167
|
return (() => {
|
|
2386
|
-
var a =
|
|
2387
|
-
return
|
|
2168
|
+
var a = ln();
|
|
2169
|
+
return Ht(r, a), a;
|
|
2388
2170
|
})();
|
|
2389
2171
|
},
|
|
2390
|
-
children: (a) => l(
|
|
2172
|
+
children: (a) => l(A1, {
|
|
2391
2173
|
value: () => a(),
|
|
2392
2174
|
get children() {
|
|
2393
2175
|
return t.children(a());
|
|
2394
2176
|
}
|
|
2395
2177
|
})
|
|
2396
2178
|
});
|
|
2397
|
-
},
|
|
2179
|
+
}, cn = {
|
|
2398
2180
|
alert_cancel_btn: "Cancel",
|
|
2399
2181
|
alert_retry_btn: "Retry",
|
|
2400
2182
|
blur_detected: "Keep document and phone still",
|
|
@@ -2456,23 +2238,23 @@ const Jt = (t) => {
|
|
|
2456
2238
|
wrong_left: "Move to the left page",
|
|
2457
2239
|
wrong_right: "Move to the right page",
|
|
2458
2240
|
wrong_top: "Move to the top page"
|
|
2459
|
-
},
|
|
2241
|
+
}, Zt = xe(), un = (t) => {
|
|
2460
2242
|
const [e, n] = (
|
|
2461
2243
|
// avoid initing with original as proxying to the original object will
|
|
2462
2244
|
// mutate the original object on store updates
|
|
2463
|
-
|
|
2245
|
+
Vt({})
|
|
2464
2246
|
), i = () => ({
|
|
2465
|
-
...
|
|
2247
|
+
...cn,
|
|
2466
2248
|
...t.userStrings
|
|
2467
2249
|
});
|
|
2468
|
-
|
|
2250
|
+
z(() => {
|
|
2469
2251
|
n(i());
|
|
2470
2252
|
});
|
|
2471
2253
|
const r = {
|
|
2472
2254
|
t: e,
|
|
2473
2255
|
updateLocalization: n
|
|
2474
2256
|
};
|
|
2475
|
-
return l(
|
|
2257
|
+
return l(Zt.Provider, {
|
|
2476
2258
|
value: r,
|
|
2477
2259
|
get children() {
|
|
2478
2260
|
return t.children;
|
|
@@ -2480,143 +2262,201 @@ const Jt = (t) => {
|
|
|
2480
2262
|
});
|
|
2481
2263
|
};
|
|
2482
2264
|
function he() {
|
|
2483
|
-
const t = De(
|
|
2265
|
+
const t = De(Zt);
|
|
2484
2266
|
if (!t)
|
|
2485
2267
|
throw new Error("LocalizationContext.Provider not in scope.");
|
|
2486
2268
|
return t;
|
|
2487
2269
|
}
|
|
2488
|
-
|
|
2270
|
+
const ze = Symbol("fallback");
|
|
2271
|
+
function Tt(t) {
|
|
2272
|
+
for (const e of t)
|
|
2273
|
+
e.dispose();
|
|
2274
|
+
}
|
|
2275
|
+
function dn(t, e, n, i = {}) {
|
|
2276
|
+
if (de) {
|
|
2277
|
+
const s = t();
|
|
2278
|
+
let o = [];
|
|
2279
|
+
if (s && s.length)
|
|
2280
|
+
for (let u = 0, c = s.length; u < c; u++)
|
|
2281
|
+
o.push(n(() => s[u], () => u));
|
|
2282
|
+
else i.fallback && (o = [i.fallback()]);
|
|
2283
|
+
return () => o;
|
|
2284
|
+
}
|
|
2285
|
+
const r = /* @__PURE__ */ new Map();
|
|
2286
|
+
return re(() => Tt(r.values())), () => {
|
|
2287
|
+
const s = t() || [];
|
|
2288
|
+
return s[E1], Se(() => {
|
|
2289
|
+
if (!s.length)
|
|
2290
|
+
return Tt(r.values()), r.clear(), i.fallback ? [qe((g) => (r.set(ze, { dispose: g }), i.fallback()))] : [];
|
|
2291
|
+
const o = new Array(s.length), u = r.get(ze);
|
|
2292
|
+
if (!r.size || u) {
|
|
2293
|
+
u?.dispose(), r.delete(ze);
|
|
2294
|
+
for (let d = 0; d < s.length; d++) {
|
|
2295
|
+
const g = s[d], p = e(g, d);
|
|
2296
|
+
a(o, g, d, p);
|
|
2297
|
+
}
|
|
2298
|
+
return o;
|
|
2299
|
+
}
|
|
2300
|
+
const c = new Set(r.keys());
|
|
2301
|
+
for (let d = 0; d < s.length; d++) {
|
|
2302
|
+
const g = s[d], p = e(g, d);
|
|
2303
|
+
c.delete(p);
|
|
2304
|
+
const h = r.get(p);
|
|
2305
|
+
h ? (o[d] = h.mapped, h.setIndex?.(d), h.setItem(() => g)) : a(o, g, d, p);
|
|
2306
|
+
}
|
|
2307
|
+
for (const d of c)
|
|
2308
|
+
r.get(d)?.dispose(), r.delete(d);
|
|
2309
|
+
return o;
|
|
2310
|
+
});
|
|
2311
|
+
};
|
|
2312
|
+
function a(s, o, u, c) {
|
|
2313
|
+
qe((d) => {
|
|
2314
|
+
const [g, p] = L(o), h = { setItem: p, dispose: d };
|
|
2315
|
+
if (n.length > 1) {
|
|
2316
|
+
const [f, m] = L(u);
|
|
2317
|
+
h.setIndex = m, h.mapped = n(g, f);
|
|
2318
|
+
} else
|
|
2319
|
+
h.mapped = n(g);
|
|
2320
|
+
r.set(c, h), s[u] = h.mapped;
|
|
2321
|
+
});
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
function hn(t) {
|
|
2325
|
+
const { by: e } = t;
|
|
2326
|
+
return ye(dn(() => t.each, typeof e == "function" ? e : (n) => n[e], t.children, "fallback" in t ? { fallback: () => t.fallback } : void 0));
|
|
2327
|
+
}
|
|
2328
|
+
function fn(t) {
|
|
2489
2329
|
const e = typeof t.on == "function" || Array.isArray(t.on) ? t.on : () => t.on;
|
|
2490
2330
|
return ye(at(e, (n, i) => {
|
|
2491
2331
|
const r = t.children;
|
|
2492
2332
|
return typeof r == "function" && r.length > 0 ? r(n, i) : r;
|
|
2493
2333
|
}));
|
|
2494
2334
|
}
|
|
2495
|
-
var
|
|
2496
|
-
function
|
|
2335
|
+
var gn = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
2336
|
+
function bt(t) {
|
|
2497
2337
|
const e = {};
|
|
2498
2338
|
let n;
|
|
2499
|
-
for (; n =
|
|
2339
|
+
for (; n = gn.exec(t); )
|
|
2500
2340
|
e[n[1]] = n[2];
|
|
2501
2341
|
return e;
|
|
2502
2342
|
}
|
|
2503
|
-
function
|
|
2343
|
+
function pn(t, e) {
|
|
2504
2344
|
if (typeof t == "string") {
|
|
2505
2345
|
if (typeof e == "string")
|
|
2506
2346
|
return `${t};${e}`;
|
|
2507
|
-
t =
|
|
2508
|
-
} else typeof e == "string" && (e =
|
|
2347
|
+
t = bt(t);
|
|
2348
|
+
} else typeof e == "string" && (e = bt(e));
|
|
2509
2349
|
return { ...t, ...e };
|
|
2510
2350
|
}
|
|
2511
|
-
function
|
|
2351
|
+
function Jt(t, e) {
|
|
2512
2352
|
t.indexOf(e) === -1 && t.push(e);
|
|
2513
2353
|
}
|
|
2514
|
-
function
|
|
2354
|
+
function mn(t, e) {
|
|
2515
2355
|
const n = t.indexOf(e);
|
|
2516
2356
|
n > -1 && t.splice(n, 1);
|
|
2517
2357
|
}
|
|
2518
|
-
const
|
|
2358
|
+
const e1 = (t, e, n) => Math.min(Math.max(n, t), e), H = {
|
|
2519
2359
|
duration: 0.3,
|
|
2520
2360
|
delay: 0,
|
|
2521
2361
|
endDelay: 0,
|
|
2522
2362
|
repeat: 0,
|
|
2523
2363
|
easing: "ease"
|
|
2524
|
-
},
|
|
2364
|
+
}, be = (t) => typeof t == "number", le = (t) => Array.isArray(t) && !be(t[0]), _n = (t, e, n) => {
|
|
2525
2365
|
const i = e - t;
|
|
2526
2366
|
return ((n - t) % i + i) % i + t;
|
|
2527
2367
|
};
|
|
2528
|
-
function
|
|
2529
|
-
return le(t) ? t[
|
|
2368
|
+
function vn(t, e) {
|
|
2369
|
+
return le(t) ? t[_n(0, t.length, e)] : t;
|
|
2530
2370
|
}
|
|
2531
|
-
const
|
|
2371
|
+
const t1 = (t, e, n) => -n * t + n * e + t, n1 = () => {
|
|
2532
2372
|
}, J = (t) => t, lt = (t, e, n) => e - t === 0 ? 1 : (n - t) / (e - t);
|
|
2533
|
-
function
|
|
2373
|
+
function i1(t, e) {
|
|
2534
2374
|
const n = t[t.length - 1];
|
|
2535
2375
|
for (let i = 1; i <= e; i++) {
|
|
2536
2376
|
const r = lt(0, e, i);
|
|
2537
|
-
t.push(
|
|
2377
|
+
t.push(t1(n, 1, r));
|
|
2538
2378
|
}
|
|
2539
2379
|
}
|
|
2540
|
-
function
|
|
2380
|
+
function yn(t) {
|
|
2541
2381
|
const e = [0];
|
|
2542
|
-
return
|
|
2382
|
+
return i1(e, t - 1), e;
|
|
2543
2383
|
}
|
|
2544
|
-
function
|
|
2384
|
+
function En(t, e = yn(t.length), n = J) {
|
|
2545
2385
|
const i = t.length, r = i - e.length;
|
|
2546
|
-
return r > 0 &&
|
|
2386
|
+
return r > 0 && i1(e, r), (a) => {
|
|
2547
2387
|
let s = 0;
|
|
2548
2388
|
for (; s < i - 2 && !(a < e[s + 1]); s++)
|
|
2549
2389
|
;
|
|
2550
|
-
let o =
|
|
2551
|
-
return o =
|
|
2390
|
+
let o = e1(0, 1, lt(e[s], e[s + 1], a));
|
|
2391
|
+
return o = vn(n, s)(o), t1(t[s], t[s + 1], o);
|
|
2552
2392
|
};
|
|
2553
2393
|
}
|
|
2554
|
-
const
|
|
2394
|
+
const r1 = (t) => Array.isArray(t) && be(t[0]), Ze = (t) => typeof t == "object" && !!t.createAnimation, we = (t) => typeof t == "function", Tn = (t) => typeof t == "string", $e = {
|
|
2555
2395
|
ms: (t) => t * 1e3,
|
|
2556
2396
|
s: (t) => t / 1e3
|
|
2557
|
-
},
|
|
2558
|
-
function
|
|
2397
|
+
}, a1 = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, bn = 1e-7, wn = 12;
|
|
2398
|
+
function An(t, e, n, i, r) {
|
|
2559
2399
|
let a, s, o = 0;
|
|
2560
2400
|
do
|
|
2561
|
-
s = e + (n - e) / 2, a =
|
|
2562
|
-
while (Math.abs(a) >
|
|
2401
|
+
s = e + (n - e) / 2, a = a1(s, i, r) - t, a > 0 ? n = s : e = s;
|
|
2402
|
+
while (Math.abs(a) > bn && ++o < wn);
|
|
2563
2403
|
return s;
|
|
2564
2404
|
}
|
|
2565
2405
|
function me(t, e, n, i) {
|
|
2566
2406
|
if (t === e && n === i)
|
|
2567
2407
|
return J;
|
|
2568
|
-
const r = (a) =>
|
|
2569
|
-
return (a) => a === 0 || a === 1 ? a :
|
|
2408
|
+
const r = (a) => An(a, 0, 1, t, n);
|
|
2409
|
+
return (a) => a === 0 || a === 1 ? a : a1(r(a), e, i);
|
|
2570
2410
|
}
|
|
2571
|
-
const
|
|
2411
|
+
const On = (t, e = "end") => (n) => {
|
|
2572
2412
|
n = e === "end" ? Math.min(n, 0.999) : Math.max(n, 1e-3);
|
|
2573
2413
|
const i = n * t, r = e === "end" ? Math.floor(i) : Math.ceil(i);
|
|
2574
|
-
return
|
|
2575
|
-
},
|
|
2414
|
+
return e1(0, 1, r / t);
|
|
2415
|
+
}, Sn = {
|
|
2576
2416
|
ease: me(0.25, 0.1, 0.25, 1),
|
|
2577
2417
|
"ease-in": me(0.42, 0, 1, 1),
|
|
2578
2418
|
"ease-in-out": me(0.42, 0, 0.58, 1),
|
|
2579
2419
|
"ease-out": me(0, 0, 0.58, 1)
|
|
2580
|
-
},
|
|
2581
|
-
function
|
|
2582
|
-
if (
|
|
2420
|
+
}, Mn = /\((.*?)\)/;
|
|
2421
|
+
function wt(t) {
|
|
2422
|
+
if (we(t))
|
|
2583
2423
|
return t;
|
|
2584
|
-
if (
|
|
2424
|
+
if (r1(t))
|
|
2585
2425
|
return me(...t);
|
|
2586
|
-
const e =
|
|
2426
|
+
const e = Sn[t];
|
|
2587
2427
|
if (e)
|
|
2588
2428
|
return e;
|
|
2589
2429
|
if (t.startsWith("steps")) {
|
|
2590
|
-
const n =
|
|
2430
|
+
const n = Mn.exec(t);
|
|
2591
2431
|
if (n) {
|
|
2592
2432
|
const i = n[1].split(",");
|
|
2593
|
-
return
|
|
2433
|
+
return On(parseFloat(i[0]), i[1].trim());
|
|
2594
2434
|
}
|
|
2595
2435
|
}
|
|
2596
2436
|
return J;
|
|
2597
2437
|
}
|
|
2598
|
-
class
|
|
2438
|
+
class Cn {
|
|
2599
2439
|
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 } = {}) {
|
|
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((
|
|
2601
|
-
this.resolve =
|
|
2440
|
+
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((p, h) => {
|
|
2441
|
+
this.resolve = p, this.reject = h;
|
|
2602
2442
|
}), i = i || H.easing, Ze(i)) {
|
|
2603
|
-
const
|
|
2604
|
-
i =
|
|
2443
|
+
const p = i.createAnimation(n);
|
|
2444
|
+
i = p.easing, n = p.keyframes || n, r = p.duration || r;
|
|
2605
2445
|
}
|
|
2606
|
-
this.repeat = o, this.easing = le(i) ? J :
|
|
2607
|
-
const g =
|
|
2608
|
-
this.tick = (
|
|
2446
|
+
this.repeat = o, this.easing = le(i) ? J : wt(i), this.updateDuration(r);
|
|
2447
|
+
const g = En(n, u, le(i) ? i.map(wt) : J);
|
|
2448
|
+
this.tick = (p) => {
|
|
2609
2449
|
var h;
|
|
2610
2450
|
a = a;
|
|
2611
|
-
let
|
|
2612
|
-
this.pauseTime !== void 0 ?
|
|
2613
|
-
const m =
|
|
2451
|
+
let f = 0;
|
|
2452
|
+
this.pauseTime !== void 0 ? f = this.pauseTime : f = (p - this.startTime) * this.rate, this.t = f, f /= 1e3, f = Math.max(f - a, 0), this.playState === "finished" && this.pauseTime === void 0 && (f = this.totalDuration);
|
|
2453
|
+
const m = f / this.duration;
|
|
2614
2454
|
let T = Math.floor(m), A = m % 1;
|
|
2615
2455
|
!A && m >= 1 && (A = 1), A === 1 && T--;
|
|
2616
|
-
const
|
|
2617
|
-
(c === "reverse" || c === "alternate" &&
|
|
2618
|
-
const
|
|
2619
|
-
e(
|
|
2456
|
+
const N = T % 2;
|
|
2457
|
+
(c === "reverse" || c === "alternate" && N || c === "alternate-reverse" && !N) && (A = 1 - A);
|
|
2458
|
+
const w = f >= this.totalDuration ? 1 : Math.min(A, 1), R = g(this.easing(w));
|
|
2459
|
+
e(R), this.pauseTime === void 0 && (this.playState === "finished" || f >= this.totalDuration + s) ? (this.playState = "finished", (h = this.resolve) === null || h === void 0 || h.call(this, R)) : this.playState !== "idle" && (this.frameRequestId = requestAnimationFrame(this.tick));
|
|
2620
2460
|
}, d && this.play();
|
|
2621
2461
|
}
|
|
2622
2462
|
play() {
|
|
@@ -2657,13 +2497,13 @@ class D1 {
|
|
|
2657
2497
|
this.rate = e;
|
|
2658
2498
|
}
|
|
2659
2499
|
}
|
|
2660
|
-
var
|
|
2500
|
+
var s1 = function() {
|
|
2661
2501
|
};
|
|
2662
|
-
process.env.NODE_ENV !== "production" && (
|
|
2502
|
+
process.env.NODE_ENV !== "production" && (s1 = function(t, e) {
|
|
2663
2503
|
if (!t)
|
|
2664
2504
|
throw new Error(e);
|
|
2665
2505
|
});
|
|
2666
|
-
class
|
|
2506
|
+
class Rn {
|
|
2667
2507
|
setAnimation(e) {
|
|
2668
2508
|
this.animation = e, e?.finished.then(() => this.clearAnimation()).catch(() => {
|
|
2669
2509
|
});
|
|
@@ -2672,17 +2512,17 @@ class P1 {
|
|
|
2672
2512
|
this.animation = this.generator = void 0;
|
|
2673
2513
|
}
|
|
2674
2514
|
}
|
|
2675
|
-
const
|
|
2676
|
-
function
|
|
2677
|
-
return
|
|
2515
|
+
const Be = /* @__PURE__ */ new WeakMap();
|
|
2516
|
+
function o1(t) {
|
|
2517
|
+
return Be.has(t) || Be.set(t, {
|
|
2678
2518
|
transforms: [],
|
|
2679
2519
|
values: /* @__PURE__ */ new Map()
|
|
2680
|
-
}),
|
|
2520
|
+
}), Be.get(t);
|
|
2681
2521
|
}
|
|
2682
|
-
function
|
|
2683
|
-
return t.has(e) || t.set(e, new
|
|
2522
|
+
function Dn(t, e) {
|
|
2523
|
+
return t.has(e) || t.set(e, new Rn()), t.get(e);
|
|
2684
2524
|
}
|
|
2685
|
-
const
|
|
2525
|
+
const Pn = ["", "X", "Y", "Z"], In = ["translate", "scale", "rotate", "skew"], ce = {
|
|
2686
2526
|
x: "translateX",
|
|
2687
2527
|
y: "translateY",
|
|
2688
2528
|
z: "translateZ"
|
|
@@ -2690,7 +2530,7 @@ const I1 = ["", "X", "Y", "Z"], N1 = ["translate", "scale", "rotate", "skew"], c
|
|
|
2690
2530
|
syntax: "<angle>",
|
|
2691
2531
|
initialValue: "0deg",
|
|
2692
2532
|
toDefaultUnit: (t) => t + "deg"
|
|
2693
|
-
},
|
|
2533
|
+
}, kn = {
|
|
2694
2534
|
translate: {
|
|
2695
2535
|
syntax: "<length-percentage>",
|
|
2696
2536
|
initialValue: "0px",
|
|
@@ -2704,17 +2544,17 @@ const I1 = ["", "X", "Y", "Z"], N1 = ["translate", "scale", "rotate", "skew"], c
|
|
|
2704
2544
|
},
|
|
2705
2545
|
skew: At
|
|
2706
2546
|
}, ue = /* @__PURE__ */ new Map(), Le = (t) => `--motion-${t}`, Ge = ["x", "y", "z"];
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
Ge.push(t + e), ue.set(Le(t + e),
|
|
2547
|
+
In.forEach((t) => {
|
|
2548
|
+
Pn.forEach((e) => {
|
|
2549
|
+
Ge.push(t + e), ue.set(Le(t + e), kn[t]);
|
|
2710
2550
|
});
|
|
2711
2551
|
});
|
|
2712
|
-
const
|
|
2552
|
+
const Nn = (t, e) => Ge.indexOf(t) - Ge.indexOf(e), Fn = new Set(Ge), ct = (t) => Fn.has(t), Un = (t, e) => {
|
|
2713
2553
|
ce[e] && (e = ce[e]);
|
|
2714
|
-
const { transforms: n } =
|
|
2715
|
-
|
|
2716
|
-
},
|
|
2717
|
-
function
|
|
2554
|
+
const { transforms: n } = o1(t);
|
|
2555
|
+
Jt(n, e), t.style.transform = l1(n);
|
|
2556
|
+
}, l1 = (t) => t.sort(Nn).reduce(Gn, "").trim(), Gn = (t, e) => `${t} ${e}(var(${Le(e)}))`, Je = (t) => t.startsWith("--"), Ot = /* @__PURE__ */ new Set();
|
|
2557
|
+
function xn(t) {
|
|
2718
2558
|
if (!Ot.has(t)) {
|
|
2719
2559
|
Ot.add(t);
|
|
2720
2560
|
try {
|
|
@@ -2729,42 +2569,42 @@ function H1(t) {
|
|
|
2729
2569
|
}
|
|
2730
2570
|
}
|
|
2731
2571
|
}
|
|
2732
|
-
const
|
|
2572
|
+
const Ve = (t, e) => document.createElement("div").animate(t, e), St = {
|
|
2733
2573
|
cssRegisterProperty: () => typeof CSS < "u" && Object.hasOwnProperty.call(CSS, "registerProperty"),
|
|
2734
2574
|
waapi: () => Object.hasOwnProperty.call(Element.prototype, "animate"),
|
|
2735
2575
|
partialKeyframes: () => {
|
|
2736
2576
|
try {
|
|
2737
|
-
|
|
2577
|
+
Ve({ opacity: [1] });
|
|
2738
2578
|
} catch {
|
|
2739
2579
|
return !1;
|
|
2740
2580
|
}
|
|
2741
2581
|
return !0;
|
|
2742
2582
|
},
|
|
2743
|
-
finished: () => !!
|
|
2583
|
+
finished: () => !!Ve({ opacity: [0, 1] }, { duration: 1e-3 }).finished,
|
|
2744
2584
|
linearEasing: () => {
|
|
2745
2585
|
try {
|
|
2746
|
-
|
|
2586
|
+
Ve({ opacity: 0 }, { easing: "linear(0, 1)" });
|
|
2747
2587
|
} catch {
|
|
2748
2588
|
return !1;
|
|
2749
2589
|
}
|
|
2750
2590
|
return !0;
|
|
2751
2591
|
}
|
|
2752
|
-
},
|
|
2592
|
+
}, Ke = {}, oe = {};
|
|
2753
2593
|
for (const t in St)
|
|
2754
|
-
oe[t] = () => (
|
|
2755
|
-
const
|
|
2594
|
+
oe[t] = () => (Ke[t] === void 0 && (Ke[t] = St[t]()), Ke[t]);
|
|
2595
|
+
const Ln = 0.015, Hn = (t, e) => {
|
|
2756
2596
|
let n = "";
|
|
2757
|
-
const i = Math.round(e /
|
|
2597
|
+
const i = Math.round(e / Ln);
|
|
2758
2598
|
for (let r = 0; r < i; r++)
|
|
2759
2599
|
n += t(lt(0, i - 1, r)) + ", ";
|
|
2760
2600
|
return n.substring(0, n.length - 2);
|
|
2761
|
-
}, Mt = (t, e) =>
|
|
2762
|
-
function
|
|
2601
|
+
}, Mt = (t, e) => we(t) ? oe.linearEasing() ? `linear(${Hn(t, e)})` : H.easing : r1(t) ? zn(t) : t, zn = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`;
|
|
2602
|
+
function $n(t, e) {
|
|
2763
2603
|
for (let n = 0; n < t.length; n++)
|
|
2764
2604
|
t[n] === null && (t[n] = n ? t[n - 1] : e());
|
|
2765
2605
|
return t;
|
|
2766
2606
|
}
|
|
2767
|
-
const
|
|
2607
|
+
const Bn = (t) => Array.isArray(t) ? t : [t];
|
|
2768
2608
|
function et(t) {
|
|
2769
2609
|
return ce[t] && (t = ce[t]), ct(t) ? Le(t) : t;
|
|
2770
2610
|
}
|
|
@@ -2782,87 +2622,87 @@ const _e = {
|
|
|
2782
2622
|
e = et(e), Je(e) ? t.style.setProperty(e, n) : t.style[e] = n;
|
|
2783
2623
|
}
|
|
2784
2624
|
};
|
|
2785
|
-
function
|
|
2625
|
+
function Vn(t, e = !0) {
|
|
2786
2626
|
if (!(!t || t.playState === "finished"))
|
|
2787
2627
|
try {
|
|
2788
2628
|
t.stop ? t.stop() : (e && t.commitStyles(), t.cancel());
|
|
2789
2629
|
} catch {
|
|
2790
2630
|
}
|
|
2791
2631
|
}
|
|
2792
|
-
function
|
|
2632
|
+
function Kn(t, e) {
|
|
2793
2633
|
var n;
|
|
2794
2634
|
let i = e?.toDefaultUnit || J;
|
|
2795
2635
|
const r = t[t.length - 1];
|
|
2796
|
-
if (
|
|
2636
|
+
if (Tn(r)) {
|
|
2797
2637
|
const a = ((n = r.match(/(-?[\d.]+)([a-z%]*)/)) === null || n === void 0 ? void 0 : n[2]) || "";
|
|
2798
2638
|
a && (i = (s) => s + a);
|
|
2799
2639
|
}
|
|
2800
2640
|
return i;
|
|
2801
2641
|
}
|
|
2802
|
-
function
|
|
2642
|
+
function Wn() {
|
|
2803
2643
|
return window.__MOTION_DEV_TOOLS_RECORD;
|
|
2804
2644
|
}
|
|
2805
|
-
function
|
|
2806
|
-
const a =
|
|
2807
|
-
let o, { duration: u = H.duration, delay: c = H.delay, endDelay: d = H.endDelay, repeat: g = H.repeat, easing:
|
|
2808
|
-
const
|
|
2809
|
-
let
|
|
2810
|
-
|
|
2811
|
-
const y = et(e),
|
|
2812
|
-
return
|
|
2813
|
-
const
|
|
2645
|
+
function jn(t, e, n, i = {}, r) {
|
|
2646
|
+
const a = Wn(), s = i.record !== !1 && a;
|
|
2647
|
+
let o, { duration: u = H.duration, delay: c = H.delay, endDelay: d = H.endDelay, repeat: g = H.repeat, easing: p = H.easing, persist: h = !1, direction: f, offset: m, allowWebkitAcceleration: T = !1, autoplay: A = !0 } = i;
|
|
2648
|
+
const N = o1(t), w = ct(e);
|
|
2649
|
+
let R = oe.waapi();
|
|
2650
|
+
w && Un(t, e);
|
|
2651
|
+
const y = et(e), D = Dn(N.values, y), E = ue.get(y);
|
|
2652
|
+
return Vn(D.animation, !(Ze(p) && D.generator) && i.record !== !1), () => {
|
|
2653
|
+
const P = () => {
|
|
2814
2654
|
var C, q;
|
|
2815
2655
|
return (q = (C = _e.get(t, y)) !== null && C !== void 0 ? C : E?.initialValue) !== null && q !== void 0 ? q : 0;
|
|
2816
2656
|
};
|
|
2817
|
-
let
|
|
2818
|
-
const j =
|
|
2819
|
-
if (Ze(
|
|
2820
|
-
const C =
|
|
2821
|
-
|
|
2657
|
+
let b = $n(Bn(n), P);
|
|
2658
|
+
const j = Kn(b, E);
|
|
2659
|
+
if (Ze(p)) {
|
|
2660
|
+
const C = p.createAnimation(b, e !== "opacity", P, y, D);
|
|
2661
|
+
p = C.easing, b = C.keyframes || b, u = C.duration || u;
|
|
2822
2662
|
}
|
|
2823
|
-
if (Je(y) && (oe.cssRegisterProperty() ?
|
|
2824
|
-
E && (
|
|
2663
|
+
if (Je(y) && (oe.cssRegisterProperty() ? xn(y) : R = !1), w && !oe.linearEasing() && (we(p) || le(p) && p.some(we)) && (R = !1), R) {
|
|
2664
|
+
E && (b = b.map((te) => be(te) ? E.toDefaultUnit(te) : te)), b.length === 1 && (!oe.partialKeyframes() || s) && b.unshift(P());
|
|
2825
2665
|
const C = {
|
|
2826
|
-
delay:
|
|
2827
|
-
duration:
|
|
2828
|
-
endDelay:
|
|
2829
|
-
easing: le(
|
|
2830
|
-
direction:
|
|
2666
|
+
delay: $e.ms(c),
|
|
2667
|
+
duration: $e.ms(u),
|
|
2668
|
+
endDelay: $e.ms(d),
|
|
2669
|
+
easing: le(p) ? void 0 : Mt(p, u),
|
|
2670
|
+
direction: f,
|
|
2831
2671
|
iterations: g + 1,
|
|
2832
2672
|
fill: "both"
|
|
2833
2673
|
};
|
|
2834
2674
|
o = t.animate({
|
|
2835
|
-
[y]:
|
|
2675
|
+
[y]: b,
|
|
2836
2676
|
offset: m,
|
|
2837
|
-
easing: le(
|
|
2838
|
-
}, C), o.finished || (o.finished = new Promise((te,
|
|
2839
|
-
o.onfinish = te, o.oncancel =
|
|
2677
|
+
easing: le(p) ? p.map((te) => Mt(te, u)) : void 0
|
|
2678
|
+
}, C), o.finished || (o.finished = new Promise((te, p1) => {
|
|
2679
|
+
o.onfinish = te, o.oncancel = p1;
|
|
2840
2680
|
}));
|
|
2841
|
-
const q =
|
|
2681
|
+
const q = b[b.length - 1];
|
|
2842
2682
|
o.finished.then(() => {
|
|
2843
2683
|
h || (_e.set(t, y, q), o.cancel());
|
|
2844
|
-
}).catch(
|
|
2845
|
-
} else if (
|
|
2846
|
-
|
|
2684
|
+
}).catch(n1), T || (o.playbackRate = 1.000001);
|
|
2685
|
+
} else if (w)
|
|
2686
|
+
b = b.map((C) => typeof C == "string" ? parseFloat(C) : C), b.length === 1 && b.unshift(parseFloat(P())), o = new r((C) => {
|
|
2847
2687
|
_e.set(t, y, j ? j(C) : C);
|
|
2848
|
-
},
|
|
2688
|
+
}, b, Object.assign(Object.assign({}, i), {
|
|
2849
2689
|
duration: u,
|
|
2850
|
-
easing:
|
|
2690
|
+
easing: p
|
|
2851
2691
|
}));
|
|
2852
2692
|
else {
|
|
2853
|
-
const C =
|
|
2854
|
-
_e.set(t, y, E &&
|
|
2693
|
+
const C = b[b.length - 1];
|
|
2694
|
+
_e.set(t, y, E && be(C) ? E.toDefaultUnit(C) : C);
|
|
2855
2695
|
}
|
|
2856
|
-
return s && a(t, e,
|
|
2696
|
+
return s && a(t, e, b, {
|
|
2857
2697
|
duration: u,
|
|
2858
2698
|
delay: c,
|
|
2859
|
-
easing:
|
|
2699
|
+
easing: p,
|
|
2860
2700
|
repeat: g,
|
|
2861
2701
|
offset: m
|
|
2862
|
-
}, "motion-one"),
|
|
2702
|
+
}, "motion-one"), D.setAnimation(o), o && !A && o.pause(), o;
|
|
2863
2703
|
};
|
|
2864
2704
|
}
|
|
2865
|
-
const
|
|
2705
|
+
const qn = (t, e) => (
|
|
2866
2706
|
/**
|
|
2867
2707
|
* TODO: Make test for this
|
|
2868
2708
|
* Always return a new object otherwise delay is overwritten by results of stagger
|
|
@@ -2870,10 +2710,10 @@ const Y1 = (t, e) => (
|
|
|
2870
2710
|
*/
|
|
2871
2711
|
t[e] ? Object.assign(Object.assign({}, t), t[e]) : Object.assign({}, t)
|
|
2872
2712
|
);
|
|
2873
|
-
function
|
|
2713
|
+
function Qn(t, e) {
|
|
2874
2714
|
return typeof t == "string" ? t = document.querySelectorAll(t) : t instanceof Element && (t = [t]), Array.from(t || []);
|
|
2875
2715
|
}
|
|
2876
|
-
function
|
|
2716
|
+
function c1(t, e) {
|
|
2877
2717
|
var n = {};
|
|
2878
2718
|
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && e.indexOf(i) < 0 && (n[i] = t[i]);
|
|
2879
2719
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -2881,34 +2721,34 @@ function hn(t, e) {
|
|
|
2881
2721
|
e.indexOf(i[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, i[r]) && (n[i[r]] = t[i[r]]);
|
|
2882
2722
|
return n;
|
|
2883
2723
|
}
|
|
2884
|
-
const
|
|
2724
|
+
const Yn = {
|
|
2885
2725
|
any: 0,
|
|
2886
2726
|
all: 1
|
|
2887
2727
|
};
|
|
2888
|
-
function
|
|
2728
|
+
function Xn(t, e, { root: n, margin: i, amount: r = "any" } = {}) {
|
|
2889
2729
|
if (typeof IntersectionObserver > "u")
|
|
2890
2730
|
return () => {
|
|
2891
2731
|
};
|
|
2892
|
-
const a =
|
|
2732
|
+
const a = Qn(t), s = /* @__PURE__ */ new WeakMap(), o = (c) => {
|
|
2893
2733
|
c.forEach((d) => {
|
|
2894
2734
|
const g = s.get(d.target);
|
|
2895
2735
|
if (d.isIntersecting !== !!g)
|
|
2896
2736
|
if (d.isIntersecting) {
|
|
2897
|
-
const
|
|
2898
|
-
|
|
2737
|
+
const p = e(d);
|
|
2738
|
+
we(p) ? s.set(d.target, p) : u.unobserve(d.target);
|
|
2899
2739
|
} else g && (g(d), s.delete(d.target));
|
|
2900
2740
|
});
|
|
2901
2741
|
}, u = new IntersectionObserver(o, {
|
|
2902
2742
|
root: n,
|
|
2903
2743
|
rootMargin: i,
|
|
2904
|
-
threshold: typeof r == "number" ? r :
|
|
2744
|
+
threshold: typeof r == "number" ? r : Yn[r]
|
|
2905
2745
|
});
|
|
2906
2746
|
return a.forEach((c) => u.observe(c)), () => u.disconnect();
|
|
2907
2747
|
}
|
|
2908
|
-
function
|
|
2909
|
-
return typeof t != typeof e ? !0 : Array.isArray(t) && Array.isArray(e) ? !
|
|
2748
|
+
function Zn(t, e) {
|
|
2749
|
+
return typeof t != typeof e ? !0 : Array.isArray(t) && Array.isArray(e) ? !Jn(t, e) : t !== e;
|
|
2910
2750
|
}
|
|
2911
|
-
function
|
|
2751
|
+
function Jn(t, e) {
|
|
2912
2752
|
const n = e.length;
|
|
2913
2753
|
if (n !== t.length)
|
|
2914
2754
|
return !1;
|
|
@@ -2917,57 +2757,57 @@ function ti(t, e) {
|
|
|
2917
2757
|
return !1;
|
|
2918
2758
|
return !0;
|
|
2919
2759
|
}
|
|
2920
|
-
function
|
|
2760
|
+
function ei(t) {
|
|
2921
2761
|
return typeof t == "object";
|
|
2922
2762
|
}
|
|
2923
2763
|
function Ct(t, e) {
|
|
2924
|
-
if (
|
|
2764
|
+
if (ei(t))
|
|
2925
2765
|
return t;
|
|
2926
2766
|
if (t && e)
|
|
2927
2767
|
return e[t];
|
|
2928
2768
|
}
|
|
2929
2769
|
let ee;
|
|
2930
|
-
function
|
|
2770
|
+
function ti() {
|
|
2931
2771
|
if (!ee)
|
|
2932
2772
|
return;
|
|
2933
|
-
const t = ee.sort(
|
|
2773
|
+
const t = ee.sort(ii).map(ri);
|
|
2934
2774
|
t.forEach(Rt), t.forEach(Rt), ee = void 0;
|
|
2935
2775
|
}
|
|
2936
|
-
function
|
|
2937
|
-
ee ?
|
|
2776
|
+
function We(t) {
|
|
2777
|
+
ee ? Jt(ee, t) : (ee = [t], requestAnimationFrame(ti));
|
|
2938
2778
|
}
|
|
2939
|
-
function
|
|
2940
|
-
ee &&
|
|
2779
|
+
function ni(t) {
|
|
2780
|
+
ee && mn(ee, t);
|
|
2941
2781
|
}
|
|
2942
|
-
const
|
|
2782
|
+
const ii = (t, e) => t.getDepth() - e.getDepth(), ri = (t) => t.animateUpdates(), Rt = (t) => t.next(), Dt = (t, e) => new CustomEvent(t, { detail: { target: e } });
|
|
2943
2783
|
function tt(t, e, n) {
|
|
2944
2784
|
t.dispatchEvent(new CustomEvent(e, { detail: { originalEvent: n } }));
|
|
2945
2785
|
}
|
|
2946
2786
|
function Pt(t, e, n) {
|
|
2947
2787
|
t.dispatchEvent(new CustomEvent(e, { detail: { originalEntry: n } }));
|
|
2948
2788
|
}
|
|
2949
|
-
const
|
|
2789
|
+
const ai = {
|
|
2950
2790
|
isActive: (t) => !!t.inView,
|
|
2951
2791
|
subscribe: (t, { enable: e, disable: n }, { inViewOptions: i = {} }) => {
|
|
2952
|
-
const { once: r } = i, a =
|
|
2953
|
-
return
|
|
2792
|
+
const { once: r } = i, a = c1(i, ["once"]);
|
|
2793
|
+
return Xn(t, (s) => {
|
|
2954
2794
|
if (e(), Pt(t, "viewenter", s), !r)
|
|
2955
2795
|
return (o) => {
|
|
2956
2796
|
n(), Pt(t, "viewleave", o);
|
|
2957
2797
|
};
|
|
2958
2798
|
}, a);
|
|
2959
2799
|
}
|
|
2960
|
-
},
|
|
2800
|
+
}, It = (t, e, n) => (i) => {
|
|
2961
2801
|
i.pointerType && i.pointerType !== "mouse" || (n(), tt(t, e, i));
|
|
2962
|
-
},
|
|
2802
|
+
}, si = {
|
|
2963
2803
|
isActive: (t) => !!t.hover,
|
|
2964
2804
|
subscribe: (t, { enable: e, disable: n }) => {
|
|
2965
|
-
const i =
|
|
2805
|
+
const i = It(t, "hoverstart", e), r = It(t, "hoverend", n);
|
|
2966
2806
|
return t.addEventListener("pointerenter", i), t.addEventListener("pointerleave", r), () => {
|
|
2967
2807
|
t.removeEventListener("pointerenter", i), t.removeEventListener("pointerleave", r);
|
|
2968
2808
|
};
|
|
2969
2809
|
}
|
|
2970
|
-
},
|
|
2810
|
+
}, oi = {
|
|
2971
2811
|
isActive: (t) => !!t.press,
|
|
2972
2812
|
subscribe: (t, { enable: e, disable: n }) => {
|
|
2973
2813
|
const i = (a) => {
|
|
@@ -2979,85 +2819,85 @@ const oi = {
|
|
|
2979
2819
|
t.removeEventListener("pointerdown", r), window.removeEventListener("pointerup", i);
|
|
2980
2820
|
};
|
|
2981
2821
|
}
|
|
2982
|
-
}, Ce = { inView:
|
|
2983
|
-
function
|
|
2822
|
+
}, Ce = { inView: ai, hover: si, press: oi }, kt = ["initial", "animate", ...Object.keys(Ce), "exit"], nt = /* @__PURE__ */ new WeakMap();
|
|
2823
|
+
function li(t = {}, e) {
|
|
2984
2824
|
let n, i = e ? e.getDepth() + 1 : 0;
|
|
2985
2825
|
const r = { initial: !0, animate: !0 }, a = {}, s = {};
|
|
2986
|
-
for (const m of
|
|
2826
|
+
for (const m of kt)
|
|
2987
2827
|
s[m] = typeof t[m] == "string" ? t[m] : e?.getContext()[m];
|
|
2988
2828
|
const o = t.initial === !1 ? "animate" : "initial";
|
|
2989
|
-
let u = Ct(t[o] || s[o], t.variants) || {}, c =
|
|
2829
|
+
let u = Ct(t[o] || s[o], t.variants) || {}, c = c1(u, ["transition"]);
|
|
2990
2830
|
const d = Object.assign({}, c);
|
|
2991
2831
|
function* g() {
|
|
2992
2832
|
var m, T;
|
|
2993
2833
|
const A = c;
|
|
2994
2834
|
c = {};
|
|
2995
|
-
const
|
|
2996
|
-
for (const E of
|
|
2835
|
+
const N = {};
|
|
2836
|
+
for (const E of kt) {
|
|
2997
2837
|
if (!r[E])
|
|
2998
2838
|
continue;
|
|
2999
|
-
const
|
|
3000
|
-
if (
|
|
3001
|
-
for (const
|
|
3002
|
-
|
|
2839
|
+
const P = Ct(t[E]);
|
|
2840
|
+
if (P)
|
|
2841
|
+
for (const b in P)
|
|
2842
|
+
b !== "transition" && (c[b] = P[b], N[b] = qn((T = (m = P.transition) !== null && m !== void 0 ? m : t.transition) !== null && T !== void 0 ? T : {}, b));
|
|
3003
2843
|
}
|
|
3004
|
-
const
|
|
2844
|
+
const w = /* @__PURE__ */ new Set([
|
|
3005
2845
|
...Object.keys(c),
|
|
3006
2846
|
...Object.keys(A)
|
|
3007
|
-
]),
|
|
3008
|
-
|
|
3009
|
-
var
|
|
3010
|
-
c[E] === void 0 && (c[E] = d[E]),
|
|
2847
|
+
]), R = [];
|
|
2848
|
+
w.forEach((E) => {
|
|
2849
|
+
var P;
|
|
2850
|
+
c[E] === void 0 && (c[E] = d[E]), Zn(A[E], c[E]) && ((P = d[E]) !== null && P !== void 0 || (d[E] = _e.get(n, E)), R.push(jn(n, E, c[E], N[E], Cn)));
|
|
3011
2851
|
}), yield;
|
|
3012
|
-
const y =
|
|
2852
|
+
const y = R.map((E) => E()).filter(Boolean);
|
|
3013
2853
|
if (!y.length)
|
|
3014
2854
|
return;
|
|
3015
|
-
const
|
|
3016
|
-
n.dispatchEvent(Dt("motionstart",
|
|
3017
|
-
n.dispatchEvent(Dt("motioncomplete",
|
|
3018
|
-
}).catch(
|
|
2855
|
+
const D = c;
|
|
2856
|
+
n.dispatchEvent(Dt("motionstart", D)), Promise.all(y.map((E) => E.finished)).then(() => {
|
|
2857
|
+
n.dispatchEvent(Dt("motioncomplete", D));
|
|
2858
|
+
}).catch(n1);
|
|
3019
2859
|
}
|
|
3020
|
-
const
|
|
3021
|
-
r[m] = T,
|
|
2860
|
+
const p = (m, T) => () => {
|
|
2861
|
+
r[m] = T, We(f);
|
|
3022
2862
|
}, h = () => {
|
|
3023
2863
|
for (const m in Ce) {
|
|
3024
2864
|
const T = Ce[m].isActive(t), A = a[m];
|
|
3025
2865
|
T && !A ? a[m] = Ce[m].subscribe(n, {
|
|
3026
|
-
enable:
|
|
3027
|
-
disable:
|
|
2866
|
+
enable: p(m, !0),
|
|
2867
|
+
disable: p(m, !1)
|
|
3028
2868
|
}, t) : !T && A && (A(), delete a[m]);
|
|
3029
2869
|
}
|
|
3030
|
-
},
|
|
2870
|
+
}, f = {
|
|
3031
2871
|
update: (m) => {
|
|
3032
|
-
n && (t = m, h(),
|
|
2872
|
+
n && (t = m, h(), We(f));
|
|
3033
2873
|
},
|
|
3034
2874
|
setActive: (m, T) => {
|
|
3035
|
-
n && (r[m] = T,
|
|
2875
|
+
n && (r[m] = T, We(f));
|
|
3036
2876
|
},
|
|
3037
2877
|
animateUpdates: g,
|
|
3038
2878
|
getDepth: () => i,
|
|
3039
2879
|
getTarget: () => c,
|
|
3040
2880
|
getOptions: () => t,
|
|
3041
2881
|
getContext: () => s,
|
|
3042
|
-
mount: (m) => (
|
|
3043
|
-
nt.delete(n),
|
|
2882
|
+
mount: (m) => (s1(!!m, "Animation state must be mounted with valid Element"), n = m, nt.set(n, f), h(), () => {
|
|
2883
|
+
nt.delete(n), ni(f);
|
|
3044
2884
|
for (const T in a)
|
|
3045
2885
|
a[T]();
|
|
3046
2886
|
}),
|
|
3047
2887
|
isMounted: () => !!n
|
|
3048
2888
|
};
|
|
3049
|
-
return
|
|
2889
|
+
return f;
|
|
3050
2890
|
}
|
|
3051
|
-
function
|
|
2891
|
+
function ci(t) {
|
|
3052
2892
|
const e = {}, n = [];
|
|
3053
2893
|
for (let i in t) {
|
|
3054
2894
|
const r = t[i];
|
|
3055
2895
|
ct(i) && (ce[i] && (i = ce[i]), n.push(i), i = Le(i));
|
|
3056
2896
|
let a = Array.isArray(r) ? r[0] : r;
|
|
3057
2897
|
const s = ue.get(i);
|
|
3058
|
-
s && (a =
|
|
2898
|
+
s && (a = be(r) ? s.toDefaultUnit(r) : r), e[i] = a;
|
|
3059
2899
|
}
|
|
3060
|
-
return n.length && (e.transform =
|
|
2900
|
+
return n.length && (e.transform = l1(n)), e;
|
|
3061
2901
|
}
|
|
3062
2902
|
var Nt = de ? (t) => t != null && typeof t == "object" && "t" in t : (t) => t instanceof Element;
|
|
3063
2903
|
function it(t, e) {
|
|
@@ -3073,63 +2913,63 @@ function it(t, e) {
|
|
|
3073
2913
|
}
|
|
3074
2914
|
return null;
|
|
3075
2915
|
}
|
|
3076
|
-
function
|
|
2916
|
+
function ui(t, e = Nt, n = Nt) {
|
|
3077
2917
|
const i = ye(t);
|
|
3078
2918
|
return ye(() => it(i(), de ? n : e));
|
|
3079
2919
|
}
|
|
3080
|
-
var
|
|
2920
|
+
var di = () => {
|
|
3081
2921
|
}, Ft = (t, e) => e();
|
|
3082
|
-
function
|
|
2922
|
+
function hi(t, e) {
|
|
3083
2923
|
const n = Se(t), i = n ? [n] : [];
|
|
3084
2924
|
if (de)
|
|
3085
2925
|
return () => i;
|
|
3086
2926
|
const { onEnter: r = Ft, onExit: a = Ft } = e, [s, o] = L(
|
|
3087
2927
|
e.appear ? [] : i
|
|
3088
|
-
), [u] =
|
|
2928
|
+
), [u] = T1();
|
|
3089
2929
|
let c, d = !1;
|
|
3090
|
-
function g(
|
|
3091
|
-
if (!
|
|
2930
|
+
function g(f, m) {
|
|
2931
|
+
if (!f)
|
|
3092
2932
|
return m && m();
|
|
3093
|
-
d = !0, a(
|
|
2933
|
+
d = !0, a(f, () => {
|
|
3094
2934
|
Pe(() => {
|
|
3095
|
-
d = !1, o((T) => T.filter((A) => A !==
|
|
2935
|
+
d = !1, o((T) => T.filter((A) => A !== f)), m && m();
|
|
3096
2936
|
});
|
|
3097
2937
|
});
|
|
3098
2938
|
}
|
|
3099
|
-
function f
|
|
2939
|
+
function p(f) {
|
|
3100
2940
|
const m = c;
|
|
3101
2941
|
if (!m)
|
|
3102
|
-
return
|
|
3103
|
-
c = void 0, o((T) => [m, ...T]), r(m,
|
|
2942
|
+
return f && f();
|
|
2943
|
+
c = void 0, o((T) => [m, ...T]), r(m, f ?? di);
|
|
3104
2944
|
}
|
|
3105
2945
|
const h = e.mode === "out-in" ? (
|
|
3106
2946
|
// exit -> enter
|
|
3107
|
-
(
|
|
2947
|
+
(f) => d || g(f, p)
|
|
3108
2948
|
) : e.mode === "in-out" ? (
|
|
3109
2949
|
// enter -> exit
|
|
3110
|
-
(
|
|
2950
|
+
(f) => p(() => g(f))
|
|
3111
2951
|
) : (
|
|
3112
2952
|
// exit & enter
|
|
3113
|
-
(
|
|
3114
|
-
g(
|
|
2953
|
+
(f) => {
|
|
2954
|
+
g(f), p();
|
|
3115
2955
|
}
|
|
3116
2956
|
);
|
|
3117
|
-
return
|
|
3118
|
-
(
|
|
2957
|
+
return b1(
|
|
2958
|
+
(f) => {
|
|
3119
2959
|
const m = t();
|
|
3120
|
-
return Se(u) ? (u(),
|
|
2960
|
+
return Se(u) ? (u(), f) : (m !== f && (c = m, Pe(() => Se(() => h(f)))), m);
|
|
3121
2961
|
},
|
|
3122
2962
|
e.appear ? void 0 : n
|
|
3123
2963
|
), s;
|
|
3124
2964
|
}
|
|
3125
|
-
var
|
|
2965
|
+
var u1 = xe(), fi = (t) => {
|
|
3126
2966
|
const [e, n] = L(!0), i = {
|
|
3127
2967
|
initial: t.initial ?? !0,
|
|
3128
2968
|
mount: e
|
|
3129
|
-
}, r = l(
|
|
2969
|
+
}, r = l(u1.Provider, {
|
|
3130
2970
|
value: i,
|
|
3131
2971
|
get children() {
|
|
3132
|
-
return
|
|
2972
|
+
return hi(ui(() => t.children), {
|
|
3133
2973
|
appear: i.initial,
|
|
3134
2974
|
mode: t.exitBeforeEnter ? "out-in" : "parallel",
|
|
3135
2975
|
onExit(a, s) {
|
|
@@ -3147,23 +2987,23 @@ var pn = xe(), fi = (t) => {
|
|
|
3147
2987
|
});
|
|
3148
2988
|
return i.initial = !0, r;
|
|
3149
2989
|
};
|
|
3150
|
-
function
|
|
3151
|
-
const r =
|
|
2990
|
+
function gi(t, e, n, i) {
|
|
2991
|
+
const r = li(n?.initial === !1 ? {
|
|
3152
2992
|
...e(),
|
|
3153
2993
|
initial: !1
|
|
3154
2994
|
} : e(), i);
|
|
3155
|
-
return
|
|
2995
|
+
return z(() => {
|
|
3156
2996
|
if (n && !n.mount()) return;
|
|
3157
2997
|
const a = t(), s = r.mount(a);
|
|
3158
|
-
|
|
2998
|
+
z(() => r.update(e())), re(() => {
|
|
3159
2999
|
n && e().exit ? (r.setActive("exit", !0), a.addEventListener("motioncomplete", s)) : s();
|
|
3160
3000
|
});
|
|
3161
|
-
}), [r,
|
|
3001
|
+
}), [r, ci(r.getTarget())];
|
|
3162
3002
|
}
|
|
3163
|
-
var
|
|
3164
|
-
const [e, , n] =
|
|
3003
|
+
var pi = ["initial", "animate", "inView", "inViewOptions", "hover", "press", "variants", "transition", "exit"], mi = ["tag"], Ut = xe(), Gt = (t) => {
|
|
3004
|
+
const [e, , n] = $t(t, pi, mi), [i, r] = gi(() => a, () => ({
|
|
3165
3005
|
...e
|
|
3166
|
-
}), De(
|
|
3006
|
+
}), De(u1), De(Ut));
|
|
3167
3007
|
let a;
|
|
3168
3008
|
return l(Ut.Provider, {
|
|
3169
3009
|
value: i,
|
|
@@ -3176,27 +3016,27 @@ var _i = ["initial", "animate", "inView", "inViewOptions", "hover", "press", "va
|
|
|
3176
3016
|
return t.tag || "div";
|
|
3177
3017
|
},
|
|
3178
3018
|
get style() {
|
|
3179
|
-
return
|
|
3019
|
+
return pn(t.style, r);
|
|
3180
3020
|
}
|
|
3181
3021
|
}));
|
|
3182
3022
|
}
|
|
3183
3023
|
});
|
|
3184
|
-
},
|
|
3024
|
+
}, V = new Proxy(Gt, {
|
|
3185
3025
|
get: (t, e) => (n) => l(Gt, ve(n, {
|
|
3186
3026
|
tag: e
|
|
3187
3027
|
}))
|
|
3188
3028
|
});
|
|
3189
|
-
function
|
|
3029
|
+
function d1(t) {
|
|
3190
3030
|
var e, n, i = "";
|
|
3191
3031
|
if (typeof t == "string" || typeof t == "number") i += t;
|
|
3192
3032
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
3193
3033
|
var r = t.length;
|
|
3194
|
-
for (e = 0; e < r; e++) t[e] && (n =
|
|
3034
|
+
for (e = 0; e < r; e++) t[e] && (n = d1(t[e])) && (i && (i += " "), i += n);
|
|
3195
3035
|
} else for (n in t) t[n] && (i && (i += " "), i += n);
|
|
3196
3036
|
return i;
|
|
3197
3037
|
}
|
|
3198
3038
|
function ut() {
|
|
3199
|
-
for (var t, e, n = 0, i = "", r = arguments.length; n < r; n++) (t = arguments[n]) && (e =
|
|
3039
|
+
for (var t, e, n = 0, i = "", r = arguments.length; n < r; n++) (t = arguments[n]) && (e = d1(t)) && (i && (i += " "), i += e);
|
|
3200
3040
|
return i;
|
|
3201
3041
|
}
|
|
3202
3042
|
const xt = {
|
|
@@ -3250,53 +3090,53 @@ const xt = {
|
|
|
3250
3090
|
// new stuff
|
|
3251
3091
|
BARCODE_NOT_IN_FRAME: () => "scan_the_barcode"
|
|
3252
3092
|
};
|
|
3253
|
-
var
|
|
3093
|
+
var _i = /* @__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>');
|
|
3094
|
+
const vi = (t = {}) => (() => {
|
|
3095
|
+
var e = _i();
|
|
3096
|
+
return k(e, t, !0, !0), e;
|
|
3097
|
+
})();
|
|
3098
|
+
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="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>');
|
|
3254
3099
|
const Ei = (t = {}) => (() => {
|
|
3255
3100
|
var e = yi();
|
|
3256
|
-
return
|
|
3101
|
+
return k(e, t, !0, !0), e;
|
|
3257
3102
|
})();
|
|
3258
|
-
var Ti = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 96
|
|
3259
|
-
const
|
|
3103
|
+
var Ti = /* @__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">');
|
|
3104
|
+
const bi = (t = {}) => (() => {
|
|
3260
3105
|
var e = Ti();
|
|
3261
|
-
return
|
|
3106
|
+
return k(e, t, !0, !0), e;
|
|
3262
3107
|
})();
|
|
3263
|
-
var
|
|
3108
|
+
var wi = /* @__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>');
|
|
3264
3109
|
const Ai = (t = {}) => (() => {
|
|
3265
|
-
var e =
|
|
3266
|
-
return
|
|
3110
|
+
var e = wi();
|
|
3111
|
+
return k(e, t, !0, !0), e;
|
|
3267
3112
|
})();
|
|
3268
|
-
var Oi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0
|
|
3113
|
+
var Oi = /* @__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>');
|
|
3269
3114
|
const Si = (t = {}) => (() => {
|
|
3270
3115
|
var e = Oi();
|
|
3271
|
-
return
|
|
3116
|
+
return k(e, t, !0, !0), e;
|
|
3272
3117
|
})();
|
|
3273
|
-
var Mi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0
|
|
3118
|
+
var Mi = /* @__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">');
|
|
3274
3119
|
const Ci = (t = {}) => (() => {
|
|
3275
3120
|
var e = Mi();
|
|
3276
|
-
return
|
|
3121
|
+
return k(e, t, !0, !0), e;
|
|
3277
3122
|
})();
|
|
3278
|
-
var Ri = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0
|
|
3123
|
+
var Ri = /* @__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>');
|
|
3279
3124
|
const Di = (t = {}) => (() => {
|
|
3280
3125
|
var e = Ri();
|
|
3281
|
-
return
|
|
3126
|
+
return k(e, t, !0, !0), e;
|
|
3282
3127
|
})();
|
|
3283
|
-
var Pi = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0
|
|
3284
|
-
const
|
|
3128
|
+
var Pi = /* @__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>');
|
|
3129
|
+
const Ii = (t = {}) => (() => {
|
|
3285
3130
|
var e = Pi();
|
|
3286
|
-
return
|
|
3131
|
+
return k(e, t, !0, !0), e;
|
|
3287
3132
|
})();
|
|
3288
|
-
var
|
|
3133
|
+
var ki = /* @__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>');
|
|
3289
3134
|
const Ni = (t = {}) => (() => {
|
|
3290
|
-
var e =
|
|
3291
|
-
return
|
|
3292
|
-
})();
|
|
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;
|
|
3135
|
+
var e = ki();
|
|
3136
|
+
return k(e, t, !0, !0), e;
|
|
3297
3137
|
})();
|
|
3298
|
-
var
|
|
3299
|
-
const
|
|
3138
|
+
var Fi = /* @__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>'), h1 = /* @__PURE__ */ _('<div class="absolute perspective-300px bottom-0">'), Ui = /* @__PURE__ */ _("<div class=relative>"), Gi = /* @__PURE__ */ _("<div>"), xi = /* @__PURE__ */ _('<div class="absolute left-0 mt-3 w-full flex justify-center p-inline-4"aria-live=polite aria-atomic=true>');
|
|
3139
|
+
const Li = (t) => {
|
|
3300
3140
|
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 = () => {
|
|
3301
3141
|
switch (t.uiState.key) {
|
|
3302
3142
|
case "MOVE_TOP":
|
|
@@ -3310,50 +3150,50 @@ const zi = (t) => {
|
|
|
3310
3150
|
}
|
|
3311
3151
|
};
|
|
3312
3152
|
return (() => {
|
|
3313
|
-
var r =
|
|
3314
|
-
return S(o, l(
|
|
3153
|
+
var r = Fi(), a = r.firstChild, s = a.firstChild, o = s.firstChild;
|
|
3154
|
+
return S(o, l(Bt, {
|
|
3315
3155
|
get children() {
|
|
3316
3156
|
return [l(K, {
|
|
3317
3157
|
get when() {
|
|
3318
3158
|
return t.uiState.reticleType === "searching";
|
|
3319
3159
|
},
|
|
3320
3160
|
get children() {
|
|
3321
|
-
return l(
|
|
3161
|
+
return l(Bi, {});
|
|
3322
3162
|
}
|
|
3323
3163
|
}), l(K, {
|
|
3324
3164
|
get when() {
|
|
3325
3165
|
return t.uiState.reticleType === "processing";
|
|
3326
3166
|
},
|
|
3327
3167
|
get children() {
|
|
3328
|
-
return l(
|
|
3168
|
+
return l(Ki, {});
|
|
3329
3169
|
}
|
|
3330
3170
|
}), l(K, {
|
|
3331
3171
|
get when() {
|
|
3332
3172
|
return t.uiState.reticleType === "error";
|
|
3333
3173
|
},
|
|
3334
3174
|
get children() {
|
|
3335
|
-
return l(
|
|
3175
|
+
return l(Vi, {});
|
|
3336
3176
|
}
|
|
3337
3177
|
}), l(K, {
|
|
3338
3178
|
get when() {
|
|
3339
3179
|
return n();
|
|
3340
3180
|
},
|
|
3341
3181
|
get children() {
|
|
3342
|
-
return l(
|
|
3182
|
+
return l(Hi, {});
|
|
3343
3183
|
}
|
|
3344
3184
|
}), l(K, {
|
|
3345
3185
|
get when() {
|
|
3346
3186
|
return t.uiState.reticleType === "flip";
|
|
3347
3187
|
},
|
|
3348
3188
|
get children() {
|
|
3349
|
-
return l(
|
|
3189
|
+
return l(zi, {});
|
|
3350
3190
|
}
|
|
3351
3191
|
}), l(K, {
|
|
3352
3192
|
get when() {
|
|
3353
3193
|
return e();
|
|
3354
3194
|
},
|
|
3355
3195
|
get children() {
|
|
3356
|
-
return l(
|
|
3196
|
+
return l($i, {
|
|
3357
3197
|
get direction() {
|
|
3358
3198
|
return i();
|
|
3359
3199
|
},
|
|
@@ -3364,7 +3204,7 @@ const zi = (t) => {
|
|
|
3364
3204
|
}
|
|
3365
3205
|
})];
|
|
3366
3206
|
}
|
|
3367
|
-
})), S(a, l(
|
|
3207
|
+
})), S(a, l(Wi, {
|
|
3368
3208
|
get uiState() {
|
|
3369
3209
|
return t.uiState;
|
|
3370
3210
|
},
|
|
@@ -3373,7 +3213,7 @@ const zi = (t) => {
|
|
|
3373
3213
|
}
|
|
3374
3214
|
}), null), r;
|
|
3375
3215
|
})();
|
|
3376
|
-
},
|
|
3216
|
+
}, Hi = () => l(V, {
|
|
3377
3217
|
initial: {
|
|
3378
3218
|
opacity: 0,
|
|
3379
3219
|
scale: 0.5
|
|
@@ -3391,15 +3231,15 @@ const zi = (t) => {
|
|
|
3391
3231
|
scale: 5
|
|
3392
3232
|
},
|
|
3393
3233
|
get children() {
|
|
3394
|
-
return l(
|
|
3234
|
+
return l(bi, {
|
|
3395
3235
|
class: "[&>path]:fill-[initial] size-24 drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
|
|
3396
3236
|
});
|
|
3397
3237
|
}
|
|
3398
|
-
}),
|
|
3238
|
+
}), zi = () => {
|
|
3399
3239
|
const t = "backface-hidden drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]";
|
|
3400
3240
|
return (() => {
|
|
3401
|
-
var e =
|
|
3402
|
-
return S(e, l(
|
|
3241
|
+
var e = h1();
|
|
3242
|
+
return S(e, l(V, {
|
|
3403
3243
|
class: "relative preserve-3d w-24",
|
|
3404
3244
|
initial: {
|
|
3405
3245
|
opacity: 0
|
|
@@ -3422,9 +3262,9 @@ const zi = (t) => {
|
|
|
3422
3262
|
opacity: 0
|
|
3423
3263
|
},
|
|
3424
3264
|
get children() {
|
|
3425
|
-
return [l(
|
|
3265
|
+
return [l(Ei, {
|
|
3426
3266
|
class: t
|
|
3427
|
-
}), l(
|
|
3267
|
+
}), l(vi, {
|
|
3428
3268
|
get class() {
|
|
3429
3269
|
return ut(t, "absolute top-0 left-0 w-full transform rotate-y-180");
|
|
3430
3270
|
}
|
|
@@ -3432,7 +3272,7 @@ const zi = (t) => {
|
|
|
3432
3272
|
}
|
|
3433
3273
|
})), e;
|
|
3434
3274
|
})();
|
|
3435
|
-
},
|
|
3275
|
+
}, $i = (t) => {
|
|
3436
3276
|
const e = () => {
|
|
3437
3277
|
switch (t.direction) {
|
|
3438
3278
|
case "top":
|
|
@@ -3444,8 +3284,8 @@ const zi = (t) => {
|
|
|
3444
3284
|
}
|
|
3445
3285
|
};
|
|
3446
3286
|
return (() => {
|
|
3447
|
-
var n =
|
|
3448
|
-
return S(n, l(
|
|
3287
|
+
var n = h1();
|
|
3288
|
+
return S(n, l(V, {
|
|
3449
3289
|
class: "relative",
|
|
3450
3290
|
initial: {
|
|
3451
3291
|
opacity: 0
|
|
@@ -3460,8 +3300,8 @@ const zi = (t) => {
|
|
|
3460
3300
|
duration: 0.3
|
|
3461
3301
|
},
|
|
3462
3302
|
get children() {
|
|
3463
|
-
var i =
|
|
3464
|
-
return S(i, l(
|
|
3303
|
+
var i = Ui();
|
|
3304
|
+
return S(i, l(V, {
|
|
3465
3305
|
class: "w-24",
|
|
3466
3306
|
initial: {
|
|
3467
3307
|
opacity: 0.3
|
|
@@ -3476,11 +3316,11 @@ const zi = (t) => {
|
|
|
3476
3316
|
};
|
|
3477
3317
|
},
|
|
3478
3318
|
get children() {
|
|
3479
|
-
return l(
|
|
3319
|
+
return l(Di, {
|
|
3480
3320
|
class: "[&>path]:fill-[currentColor] drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
|
|
3481
3321
|
});
|
|
3482
3322
|
}
|
|
3483
|
-
}), null), S(i, l(
|
|
3323
|
+
}), null), S(i, l(V, {
|
|
3484
3324
|
class: "w-24",
|
|
3485
3325
|
initial: {
|
|
3486
3326
|
opacity: 1
|
|
@@ -3495,11 +3335,11 @@ const zi = (t) => {
|
|
|
3495
3335
|
};
|
|
3496
3336
|
},
|
|
3497
3337
|
get children() {
|
|
3498
|
-
return l(
|
|
3338
|
+
return l(Si, {
|
|
3499
3339
|
class: "[&>path]:fill-[currentColor] drop-shadow-[0_0_15px_rgba(0,0,0,0.1)]"
|
|
3500
3340
|
});
|
|
3501
3341
|
}
|
|
3502
|
-
}), null), S(i, l(
|
|
3342
|
+
}), null), S(i, l(V, {
|
|
3503
3343
|
class: "absolute bottom-0 w-full",
|
|
3504
3344
|
initial: {
|
|
3505
3345
|
y: "0"
|
|
@@ -3514,7 +3354,7 @@ const zi = (t) => {
|
|
|
3514
3354
|
};
|
|
3515
3355
|
},
|
|
3516
3356
|
get children() {
|
|
3517
|
-
return l(
|
|
3357
|
+
return l(Ci, {
|
|
3518
3358
|
class: "scale-130"
|
|
3519
3359
|
});
|
|
3520
3360
|
}
|
|
@@ -3522,7 +3362,7 @@ const zi = (t) => {
|
|
|
3522
3362
|
}
|
|
3523
3363
|
})), n;
|
|
3524
3364
|
})();
|
|
3525
|
-
}, dt = (t) => l(
|
|
3365
|
+
}, dt = (t) => l(V.div, {
|
|
3526
3366
|
get class() {
|
|
3527
3367
|
return ut("absolute bottom-0 grid size-full place-items-center rounded-full backdrop-blur-xl", t.type === "error" ? "bg-error-400/60 " : "bg-gray-550/50");
|
|
3528
3368
|
},
|
|
@@ -3541,10 +3381,10 @@ const zi = (t) => {
|
|
|
3541
3381
|
get children() {
|
|
3542
3382
|
return t.children;
|
|
3543
3383
|
}
|
|
3544
|
-
}),
|
|
3384
|
+
}), Bi = () => l(dt, {
|
|
3545
3385
|
type: "searching",
|
|
3546
3386
|
get children() {
|
|
3547
|
-
return l(
|
|
3387
|
+
return l(V, {
|
|
3548
3388
|
class: "will-change-transform",
|
|
3549
3389
|
animate: {
|
|
3550
3390
|
opacity: 1,
|
|
@@ -3558,23 +3398,23 @@ const zi = (t) => {
|
|
|
3558
3398
|
}
|
|
3559
3399
|
},
|
|
3560
3400
|
get children() {
|
|
3561
|
-
return l(
|
|
3401
|
+
return l(Ii, {
|
|
3562
3402
|
class: "size-12"
|
|
3563
3403
|
});
|
|
3564
3404
|
}
|
|
3565
3405
|
});
|
|
3566
3406
|
}
|
|
3567
|
-
}),
|
|
3407
|
+
}), Vi = () => l(dt, {
|
|
3568
3408
|
type: "error",
|
|
3569
3409
|
get children() {
|
|
3570
|
-
return l(
|
|
3410
|
+
return l(Ai, {
|
|
3571
3411
|
class: "size-12"
|
|
3572
3412
|
});
|
|
3573
3413
|
}
|
|
3574
|
-
}),
|
|
3414
|
+
}), Ki = () => l(dt, {
|
|
3575
3415
|
type: "processing",
|
|
3576
3416
|
get children() {
|
|
3577
|
-
return l(
|
|
3417
|
+
return l(V, {
|
|
3578
3418
|
animate: {
|
|
3579
3419
|
opacity: 1,
|
|
3580
3420
|
rotate: "360deg"
|
|
@@ -3587,13 +3427,13 @@ const zi = (t) => {
|
|
|
3587
3427
|
}
|
|
3588
3428
|
},
|
|
3589
3429
|
get children() {
|
|
3590
|
-
return l(
|
|
3430
|
+
return l(Ni, {
|
|
3591
3431
|
class: "size-12"
|
|
3592
3432
|
});
|
|
3593
3433
|
}
|
|
3594
3434
|
});
|
|
3595
3435
|
}
|
|
3596
|
-
}),
|
|
3436
|
+
}), Wi = (t) => {
|
|
3597
3437
|
const {
|
|
3598
3438
|
t: e
|
|
3599
3439
|
} = he(), n = () => {
|
|
@@ -3602,11 +3442,11 @@ const zi = (t) => {
|
|
|
3602
3442
|
return xt[r]?.(t.isDesktop);
|
|
3603
3443
|
}, i = () => t.uiState.key === "DOCUMENT_CAPTURED" || t.uiState.key === "PAGE_CAPTURED";
|
|
3604
3444
|
return (() => {
|
|
3605
|
-
var r =
|
|
3445
|
+
var r = xi();
|
|
3606
3446
|
return S(r, l(fi, {
|
|
3607
3447
|
exitBeforeEnter: !0,
|
|
3608
3448
|
get children() {
|
|
3609
|
-
return l(
|
|
3449
|
+
return l(fn, {
|
|
3610
3450
|
on: () => t.uiState.key,
|
|
3611
3451
|
get children() {
|
|
3612
3452
|
return l(W, {
|
|
@@ -3614,7 +3454,7 @@ const zi = (t) => {
|
|
|
3614
3454
|
return n();
|
|
3615
3455
|
},
|
|
3616
3456
|
get children() {
|
|
3617
|
-
return l(
|
|
3457
|
+
return l(V.div, {
|
|
3618
3458
|
initial: {
|
|
3619
3459
|
opacity: 0,
|
|
3620
3460
|
transform: "translateY(2rem)"
|
|
@@ -3637,7 +3477,7 @@ const zi = (t) => {
|
|
|
3637
3477
|
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");
|
|
3638
3478
|
},
|
|
3639
3479
|
get children() {
|
|
3640
|
-
var a =
|
|
3480
|
+
var a = Gi();
|
|
3641
3481
|
return S(a, () => e[n()]), a;
|
|
3642
3482
|
}
|
|
3643
3483
|
});
|
|
@@ -3649,17 +3489,17 @@ const zi = (t) => {
|
|
|
3649
3489
|
})), r;
|
|
3650
3490
|
})();
|
|
3651
3491
|
};
|
|
3652
|
-
var
|
|
3492
|
+
var ji = /* @__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">');
|
|
3493
|
+
const qi = (t = {}) => (() => {
|
|
3494
|
+
var e = ji();
|
|
3495
|
+
return k(e, t, !0, !0), e;
|
|
3496
|
+
})();
|
|
3497
|
+
var Qi = /* @__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">');
|
|
3653
3498
|
const Yi = (t = {}) => (() => {
|
|
3654
3499
|
var e = Qi();
|
|
3655
|
-
return
|
|
3656
|
-
})()
|
|
3657
|
-
|
|
3658
|
-
const Zi = (t = {}) => (() => {
|
|
3659
|
-
var e = Xi();
|
|
3660
|
-
return F(e, t, !0, !0), e;
|
|
3661
|
-
})(), mn = xe(), Ji = (t) => {
|
|
3662
|
-
const [e, n] = Kt({});
|
|
3500
|
+
return k(e, t, !0, !0), e;
|
|
3501
|
+
})(), f1 = xe(), Xi = (t) => {
|
|
3502
|
+
const [e, n] = Vt({});
|
|
3663
3503
|
n({
|
|
3664
3504
|
/* eslint-disable solid/reactivity */
|
|
3665
3505
|
blinkIdUxManager: t.blinkIdUxManager,
|
|
@@ -3680,7 +3520,7 @@ const Zi = (t = {}) => (() => {
|
|
|
3680
3520
|
};
|
|
3681
3521
|
return re(() => {
|
|
3682
3522
|
console.debug("BlinkIdUiStoreProvider cleanup");
|
|
3683
|
-
}), l(
|
|
3523
|
+
}), l(f1.Provider, {
|
|
3684
3524
|
value: i,
|
|
3685
3525
|
get children() {
|
|
3686
3526
|
return t.children;
|
|
@@ -3688,14 +3528,14 @@ const Zi = (t = {}) => (() => {
|
|
|
3688
3528
|
});
|
|
3689
3529
|
};
|
|
3690
3530
|
function Ae() {
|
|
3691
|
-
const t = De(
|
|
3531
|
+
const t = De(f1);
|
|
3692
3532
|
if (!t)
|
|
3693
3533
|
throw new Error("BlinkIdUiStoreContext.Provider not in scope");
|
|
3694
3534
|
return t;
|
|
3695
3535
|
}
|
|
3696
3536
|
const Lt = () => {
|
|
3697
|
-
},
|
|
3698
|
-
function
|
|
3537
|
+
}, Zi = (t) => t != null, Ji = (t) => t.filter(Zi), er = (t) => typeof t == "function" && !t.length ? t() : t, tr = (t) => Array.isArray(t) ? t : t ? [t] : [];
|
|
3538
|
+
function nr(t, e, n, i) {
|
|
3699
3539
|
const r = t.length, a = e.length;
|
|
3700
3540
|
let s = 0;
|
|
3701
3541
|
if (!a) {
|
|
@@ -3717,7 +3557,7 @@ function rr(t, e, n, i) {
|
|
|
3717
3557
|
for (u of t)
|
|
3718
3558
|
e.includes(u) || n(u);
|
|
3719
3559
|
}
|
|
3720
|
-
function
|
|
3560
|
+
function ir(t, e) {
|
|
3721
3561
|
if (de)
|
|
3722
3562
|
return { observe: Lt, unobserve: Lt };
|
|
3723
3563
|
const n = new ResizeObserver(t);
|
|
@@ -3726,86 +3566,29 @@ function ar(t, e) {
|
|
|
3726
3566
|
unobserve: n.unobserve.bind(n)
|
|
3727
3567
|
};
|
|
3728
3568
|
}
|
|
3729
|
-
function
|
|
3569
|
+
function rr(t, e, n) {
|
|
3730
3570
|
if (de)
|
|
3731
3571
|
return;
|
|
3732
|
-
const i = /* @__PURE__ */ new WeakMap(), { observe: r, unobserve: a } =
|
|
3572
|
+
const i = /* @__PURE__ */ new WeakMap(), { observe: r, unobserve: a } = ir((s) => {
|
|
3733
3573
|
for (const o of s) {
|
|
3734
|
-
const { contentRect: u, target: c } = o, d = Math.round(u.width), g = Math.round(u.height),
|
|
3735
|
-
(!
|
|
3574
|
+
const { contentRect: u, target: c } = o, d = Math.round(u.width), g = Math.round(u.height), p = i.get(c);
|
|
3575
|
+
(!p || p.width !== d || p.height !== g) && (e(u, c, o), i.set(c, { width: d, height: g }));
|
|
3736
3576
|
}
|
|
3737
3577
|
}, n);
|
|
3738
|
-
|
|
3739
|
-
const o = tr(
|
|
3740
|
-
return
|
|
3578
|
+
z((s) => {
|
|
3579
|
+
const o = Ji(tr(er(t)));
|
|
3580
|
+
return nr(o, s, r, a), o;
|
|
3741
3581
|
}, []);
|
|
3742
3582
|
}
|
|
3743
|
-
var
|
|
3744
|
-
const
|
|
3745
|
-
var e =
|
|
3746
|
-
return
|
|
3747
|
-
})()
|
|
3748
|
-
|
|
3749
|
-
for (const e of t)
|
|
3750
|
-
e.dispose();
|
|
3751
|
-
}
|
|
3752
|
-
function cr(t, e, n, i = {}) {
|
|
3753
|
-
if (de) {
|
|
3754
|
-
const s = t();
|
|
3755
|
-
let o = [];
|
|
3756
|
-
if (s && s.length)
|
|
3757
|
-
for (let u = 0, c = s.length; u < c; u++)
|
|
3758
|
-
o.push(n(() => s[u], () => u));
|
|
3759
|
-
else i.fallback && (o = [i.fallback()]);
|
|
3760
|
-
return () => o;
|
|
3761
|
-
}
|
|
3762
|
-
const r = /* @__PURE__ */ new Map();
|
|
3763
|
-
return re(() => Ht(r.values())), () => {
|
|
3764
|
-
const s = t() || [];
|
|
3765
|
-
return s[An], Se(() => {
|
|
3766
|
-
if (!s.length)
|
|
3767
|
-
return Ht(r.values()), r.clear(), i.fallback ? [qe((g) => (r.set(We, { dispose: g }), i.fallback()))] : [];
|
|
3768
|
-
const o = new Array(s.length), u = r.get(We);
|
|
3769
|
-
if (!r.size || u) {
|
|
3770
|
-
u?.dispose(), r.delete(We);
|
|
3771
|
-
for (let d = 0; d < s.length; d++) {
|
|
3772
|
-
const g = s[d], f = e(g, d);
|
|
3773
|
-
a(o, g, d, f);
|
|
3774
|
-
}
|
|
3775
|
-
return o;
|
|
3776
|
-
}
|
|
3777
|
-
const c = new Set(r.keys());
|
|
3778
|
-
for (let d = 0; d < s.length; d++) {
|
|
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);
|
|
3783
|
-
}
|
|
3784
|
-
for (const d of c)
|
|
3785
|
-
r.get(d)?.dispose(), r.delete(d);
|
|
3786
|
-
return o;
|
|
3787
|
-
});
|
|
3788
|
-
};
|
|
3789
|
-
function a(s, o, u, c) {
|
|
3790
|
-
qe((d) => {
|
|
3791
|
-
const [g, f] = L(o), h = { setItem: f, dispose: d };
|
|
3792
|
-
if (n.length > 1) {
|
|
3793
|
-
const [p, m] = L(u);
|
|
3794
|
-
h.setIndex = m, h.mapped = n(g, p);
|
|
3795
|
-
} else
|
|
3796
|
-
h.mapped = n(g);
|
|
3797
|
-
r.set(c, h), s[u] = h.mapped;
|
|
3798
|
-
});
|
|
3799
|
-
}
|
|
3800
|
-
}
|
|
3801
|
-
function ur(t) {
|
|
3802
|
-
const { by: e } = t;
|
|
3803
|
-
return ye(cr(() => t.each, typeof e == "function" ? e : (n) => n[e], t.children, "fallback" in t ? { fallback: () => t.fallback } : void 0));
|
|
3804
|
-
}
|
|
3805
|
-
var dr = /* @__PURE__ */ _('<div class="grid min-h-0">'), hr = /* @__PURE__ */ _('<div class="flex justify-center gap-2 w-full shrink-0">');
|
|
3583
|
+
var ar = /* @__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>');
|
|
3584
|
+
const sr = (t = {}) => (() => {
|
|
3585
|
+
var e = ar();
|
|
3586
|
+
return k(e, t, !0, !0), e;
|
|
3587
|
+
})();
|
|
3588
|
+
var or = /* @__PURE__ */ _('<div class="grid min-h-0">'), lr = /* @__PURE__ */ _('<div class="flex justify-center gap-2 w-full shrink-0">');
|
|
3806
3589
|
const ht = (t) => {
|
|
3807
|
-
const [e, n] =
|
|
3808
|
-
|
|
3590
|
+
const [e, n] = $t(t, ["initialFocusEl", "role"]), [i, r] = L();
|
|
3591
|
+
rr(i, (s, o) => {
|
|
3809
3592
|
const u = Math.min(o.clientWidth, o.clientHeight), c = Math.min(1, Math.max(0, (u - 300) / 240));
|
|
3810
3593
|
o.style.setProperty("--modal-t", c.toFixed(4));
|
|
3811
3594
|
});
|
|
@@ -3819,7 +3602,7 @@ const ht = (t) => {
|
|
|
3819
3602
|
action: t.actions.primary
|
|
3820
3603
|
}), s;
|
|
3821
3604
|
};
|
|
3822
|
-
return l(
|
|
3605
|
+
return l(Xt, {
|
|
3823
3606
|
children: (s) => {
|
|
3824
3607
|
const o = t.initialFocusEl ? {
|
|
3825
3608
|
initialFocusEl: () => t.initialFocusEl(s)
|
|
@@ -3834,7 +3617,7 @@ const ht = (t) => {
|
|
|
3834
3617
|
return t.open;
|
|
3835
3618
|
},
|
|
3836
3619
|
get children() {
|
|
3837
|
-
return l(
|
|
3620
|
+
return l(v1, {
|
|
3838
3621
|
get mount() {
|
|
3839
3622
|
return t.mountTarget;
|
|
3840
3623
|
},
|
|
@@ -3863,14 +3646,14 @@ const ht = (t) => {
|
|
|
3863
3646
|
return t.onCloseClicked;
|
|
3864
3647
|
},
|
|
3865
3648
|
get children() {
|
|
3866
|
-
return l(
|
|
3649
|
+
return l(sr, {
|
|
3867
3650
|
class: "w-3.5 h-3.5"
|
|
3868
3651
|
});
|
|
3869
3652
|
}
|
|
3870
3653
|
});
|
|
3871
3654
|
}
|
|
3872
3655
|
}), (() => {
|
|
3873
|
-
var u =
|
|
3656
|
+
var u = or();
|
|
3874
3657
|
return S(u, () => t.children), Re((c) => {
|
|
3875
3658
|
var d = t.scrollable !== !1, g = t.scrollable === !1;
|
|
3876
3659
|
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;
|
|
@@ -3883,8 +3666,8 @@ const ht = (t) => {
|
|
|
3883
3666
|
return t.actions;
|
|
3884
3667
|
},
|
|
3885
3668
|
get children() {
|
|
3886
|
-
var u =
|
|
3887
|
-
return S(u, l(
|
|
3669
|
+
var u = lr();
|
|
3670
|
+
return S(u, l(hn, {
|
|
3888
3671
|
get each() {
|
|
3889
3672
|
return a();
|
|
3890
3673
|
},
|
|
@@ -3892,7 +3675,7 @@ const ht = (t) => {
|
|
|
3892
3675
|
children: (c) => {
|
|
3893
3676
|
const d = () => {
|
|
3894
3677
|
const {
|
|
3895
|
-
label:
|
|
3678
|
+
label: p,
|
|
3896
3679
|
...h
|
|
3897
3680
|
} = c().action;
|
|
3898
3681
|
return h;
|
|
@@ -3920,10 +3703,10 @@ const ht = (t) => {
|
|
|
3920
3703
|
}));
|
|
3921
3704
|
}
|
|
3922
3705
|
});
|
|
3923
|
-
},
|
|
3706
|
+
}, cr = (t) => l(ht, ve({
|
|
3924
3707
|
role: "alertdialog"
|
|
3925
3708
|
}, t));
|
|
3926
|
-
var
|
|
3709
|
+
var ur = /* @__PURE__ */ _("<p>");
|
|
3927
3710
|
const je = (t) => {
|
|
3928
3711
|
const {
|
|
3929
3712
|
t: e
|
|
@@ -3940,7 +3723,7 @@ const je = (t) => {
|
|
|
3940
3723
|
}, s = async () => {
|
|
3941
3724
|
r(), t.shouldResetScanningSession && await n.blinkIdUxManager.resetScanningSession(!1);
|
|
3942
3725
|
};
|
|
3943
|
-
return l(
|
|
3726
|
+
return l(cr, {
|
|
3944
3727
|
get mountTarget() {
|
|
3945
3728
|
return n.cameraManagerComponent.overlayLayerNode;
|
|
3946
3729
|
},
|
|
@@ -3958,48 +3741,48 @@ const je = (t) => {
|
|
|
3958
3741
|
};
|
|
3959
3742
|
},
|
|
3960
3743
|
get children() {
|
|
3961
|
-
return [l(
|
|
3744
|
+
return [l(Ie.Title, {
|
|
3962
3745
|
class: "dialog-title",
|
|
3963
3746
|
get children() {
|
|
3964
3747
|
return t.header;
|
|
3965
3748
|
}
|
|
3966
|
-
}), l(
|
|
3749
|
+
}), l(Ie.Description, {
|
|
3967
3750
|
class: "dialog-description",
|
|
3968
3751
|
get children() {
|
|
3969
|
-
var o =
|
|
3752
|
+
var o = ur();
|
|
3970
3753
|
return S(o, () => t.text), o;
|
|
3971
3754
|
}
|
|
3972
3755
|
})];
|
|
3973
3756
|
}
|
|
3974
3757
|
});
|
|
3975
3758
|
};
|
|
3976
|
-
var
|
|
3977
|
-
const
|
|
3759
|
+
var dr = /* @__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">');
|
|
3760
|
+
const hr = (t = {}) => (() => {
|
|
3761
|
+
var e = dr();
|
|
3762
|
+
return k(e, t, !0, !0), e;
|
|
3763
|
+
})();
|
|
3764
|
+
var fr = /* @__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">');
|
|
3765
|
+
const gr = (t = {}) => (() => {
|
|
3978
3766
|
var e = fr();
|
|
3979
|
-
return
|
|
3767
|
+
return k(e, t, !0, !0), e;
|
|
3980
3768
|
})();
|
|
3981
|
-
var
|
|
3769
|
+
var pr = /* @__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>');
|
|
3770
|
+
const mr = (t = {}) => (() => {
|
|
3771
|
+
var e = pr();
|
|
3772
|
+
return k(e, t, !0, !0), e;
|
|
3773
|
+
})();
|
|
3774
|
+
var _r = /* @__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">');
|
|
3982
3775
|
const vr = (t = {}) => (() => {
|
|
3983
3776
|
var e = _r();
|
|
3984
|
-
return
|
|
3777
|
+
return k(e, t, !0, !0), e;
|
|
3985
3778
|
})();
|
|
3986
|
-
var yr = /* @__PURE__ */ _('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0
|
|
3779
|
+
var yr = /* @__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>');
|
|
3987
3780
|
const Er = (t = {}) => (() => {
|
|
3988
3781
|
var e = yr();
|
|
3989
|
-
return
|
|
3990
|
-
})();
|
|
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">');
|
|
3992
|
-
const wr = (t = {}) => (() => {
|
|
3993
|
-
var e = Tr();
|
|
3994
|
-
return F(e, t, !0, !0), e;
|
|
3995
|
-
})();
|
|
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;
|
|
3782
|
+
return k(e, t, !0, !0), e;
|
|
4000
3783
|
})();
|
|
4001
|
-
var
|
|
4002
|
-
const
|
|
3784
|
+
var Tr = /* @__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>'), br = /* @__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">'), wr = /* @__PURE__ */ _('<div class="size-[9px] rounded-full transition-colors">');
|
|
3785
|
+
const Ar = (t) => {
|
|
4003
3786
|
const {
|
|
4004
3787
|
t: e
|
|
4005
3788
|
} = he(), {
|
|
@@ -4009,31 +3792,31 @@ const Cr = (t) => {
|
|
|
4009
3792
|
showHelpModal: !1
|
|
4010
3793
|
}), c = ye(() => [...t.isDesktop ? [{
|
|
4011
3794
|
title: e.help_modal_camera_lens_title,
|
|
4012
|
-
img:
|
|
3795
|
+
img: gr,
|
|
4013
3796
|
description: e.help_modal_camera_lens_details
|
|
4014
3797
|
}] : [], {
|
|
4015
3798
|
title: e.help_modal_title_1,
|
|
4016
|
-
img:
|
|
3799
|
+
img: hr,
|
|
4017
3800
|
description: e.help_modal_details_1
|
|
4018
3801
|
}, {
|
|
4019
3802
|
title: e.help_modal_title_2,
|
|
4020
|
-
img:
|
|
3803
|
+
img: mr,
|
|
4021
3804
|
description: e.help_modal_details_2
|
|
4022
3805
|
}, {
|
|
4023
3806
|
title: e.help_modal_title_3,
|
|
4024
|
-
img:
|
|
3807
|
+
img: vr,
|
|
4025
3808
|
description: t.isDesktop ? e.help_modal_blur_details_desktop : e.help_modal_details_3
|
|
4026
3809
|
}]), d = () => {
|
|
4027
3810
|
n.blinkIdUxManager.analytics.logHelpClosedEvent(o()), a(0);
|
|
4028
3811
|
};
|
|
4029
|
-
|
|
4030
|
-
|
|
3812
|
+
z(at(() => s(), (f) => {
|
|
3813
|
+
f ? n.blinkIdUxManager.analytics.logHelpOpenedEvent() : d();
|
|
4031
3814
|
}, {
|
|
4032
3815
|
defer: !0
|
|
4033
3816
|
})), re(() => {
|
|
4034
3817
|
d();
|
|
4035
3818
|
});
|
|
4036
|
-
const g =
|
|
3819
|
+
const g = w1(), [p, h] = L(null);
|
|
4037
3820
|
return l(ht, {
|
|
4038
3821
|
get mountTarget() {
|
|
4039
3822
|
return n.cameraManagerComponent.overlayLayerNode;
|
|
@@ -4044,7 +3827,7 @@ const Cr = (t) => {
|
|
|
4044
3827
|
showCloseButton: !0,
|
|
4045
3828
|
onEscapeKeyDown: () => u(),
|
|
4046
3829
|
onCloseClicked: () => u(),
|
|
4047
|
-
initialFocusEl: () =>
|
|
3830
|
+
initialFocusEl: () => p(),
|
|
4048
3831
|
get "aria-label"() {
|
|
4049
3832
|
return e.scanning_help;
|
|
4050
3833
|
},
|
|
@@ -4065,44 +3848,44 @@ const Cr = (t) => {
|
|
|
4065
3848
|
};
|
|
4066
3849
|
},
|
|
4067
3850
|
get children() {
|
|
4068
|
-
var
|
|
4069
|
-
return S(T, l(
|
|
3851
|
+
var f = Tr(), m = f.firstChild, T = m.firstChild, A = m.nextSibling;
|
|
3852
|
+
return S(T, l(ft, {
|
|
4070
3853
|
get each() {
|
|
4071
3854
|
return c();
|
|
4072
3855
|
},
|
|
4073
|
-
children: (
|
|
4074
|
-
var
|
|
4075
|
-
return S(
|
|
3856
|
+
children: (N, w) => (() => {
|
|
3857
|
+
var R = br(), y = R.firstChild, D = y.firstChild, E = D.nextSibling, P = E.firstChild, b = P.nextSibling;
|
|
3858
|
+
return S(D, l(rt, {
|
|
4076
3859
|
get component() {
|
|
4077
|
-
return
|
|
3860
|
+
return N().img;
|
|
4078
3861
|
},
|
|
4079
3862
|
class: "w-full max-w-[17.5rem] m-x-auto compact:max-w-[11.25rem]"
|
|
4080
|
-
})), He(
|
|
4081
|
-
var C = r() !==
|
|
4082
|
-
return C !== j.e &&
|
|
3863
|
+
})), He(P, "id", w === 0 ? g : void 0), He(P, "tabindex", w === 0 ? -1 : void 0), S(P, () => N().title), S(b, () => N().description), Re((j) => {
|
|
3864
|
+
var C = r() !== w, q = `${N().title}.`;
|
|
3865
|
+
return C !== j.e && R.classList.toggle("invisible", j.e = C), q !== j.t && He(P, "aria-label", j.t = q), j;
|
|
4083
3866
|
}, {
|
|
4084
3867
|
e: void 0,
|
|
4085
3868
|
t: void 0
|
|
4086
|
-
}),
|
|
3869
|
+
}), R;
|
|
4087
3870
|
})()
|
|
4088
|
-
})), S(A, l(
|
|
3871
|
+
})), S(A, l(ft, {
|
|
4089
3872
|
get each() {
|
|
4090
3873
|
return c();
|
|
4091
3874
|
},
|
|
4092
|
-
children: (
|
|
4093
|
-
var
|
|
3875
|
+
children: (N, w) => (() => {
|
|
3876
|
+
var R = wr();
|
|
4094
3877
|
return Re((y) => {
|
|
4095
|
-
var
|
|
4096
|
-
return
|
|
3878
|
+
var D = r() === w, E = r() !== w;
|
|
3879
|
+
return D !== y.e && R.classList.toggle("bg-primary", y.e = D), E !== y.t && R.classList.toggle("bg-gray-300", y.t = E), y;
|
|
4097
3880
|
}, {
|
|
4098
3881
|
e: void 0,
|
|
4099
3882
|
t: void 0
|
|
4100
|
-
}),
|
|
3883
|
+
}), R;
|
|
4101
3884
|
})()
|
|
4102
|
-
})),
|
|
3885
|
+
})), f;
|
|
4103
3886
|
}
|
|
4104
3887
|
});
|
|
4105
|
-
},
|
|
3888
|
+
}, Or = (t) => {
|
|
4106
3889
|
const {
|
|
4107
3890
|
t: e
|
|
4108
3891
|
} = he(), {
|
|
@@ -4117,19 +3900,19 @@ const Cr = (t) => {
|
|
|
4117
3900
|
h && h > 0 && (c = window.setTimeout(() => {
|
|
4118
3901
|
a(!1);
|
|
4119
3902
|
}, h));
|
|
4120
|
-
},
|
|
3903
|
+
}, p = () => {
|
|
4121
3904
|
const h = n.helpTooltipShowDelay;
|
|
4122
3905
|
h && h > 0 && (u = window.setTimeout(() => {
|
|
4123
3906
|
a(!0), o(!0), g();
|
|
4124
3907
|
}, h));
|
|
4125
3908
|
};
|
|
4126
|
-
return re(d),
|
|
3909
|
+
return re(d), z(() => {
|
|
4127
3910
|
if (!t.isProcessing) {
|
|
4128
3911
|
a(!1), o(!1), d();
|
|
4129
3912
|
return;
|
|
4130
3913
|
}
|
|
4131
|
-
!r() && !s() &&
|
|
4132
|
-
}),
|
|
3914
|
+
!r() && !s() && p();
|
|
3915
|
+
}), z(() => {
|
|
4133
3916
|
r() && n.blinkIdUxManager.analytics.logHelpTooltipDisplayedEvent();
|
|
4134
3917
|
}), l(ae.Root, {
|
|
4135
3918
|
positioning: {
|
|
@@ -4152,7 +3935,7 @@ const Cr = (t) => {
|
|
|
4152
3935
|
showHelpModal: !0
|
|
4153
3936
|
}),
|
|
4154
3937
|
get children() {
|
|
4155
|
-
return l(
|
|
3938
|
+
return l(Er, {
|
|
4156
3939
|
"aria-hidden": "true"
|
|
4157
3940
|
});
|
|
4158
3941
|
}
|
|
@@ -4168,7 +3951,7 @@ const Cr = (t) => {
|
|
|
4168
3951
|
get children() {
|
|
4169
3952
|
return l(ae.ArrowTip, {});
|
|
4170
3953
|
}
|
|
4171
|
-
}),
|
|
3954
|
+
}), y1(() => e.help_tooltip)];
|
|
4172
3955
|
}
|
|
4173
3956
|
});
|
|
4174
3957
|
}
|
|
@@ -4176,18 +3959,18 @@ const Cr = (t) => {
|
|
|
4176
3959
|
}
|
|
4177
3960
|
});
|
|
4178
3961
|
};
|
|
4179
|
-
var
|
|
4180
|
-
const
|
|
4181
|
-
var e =
|
|
4182
|
-
return
|
|
3962
|
+
var Sr = /* @__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">');
|
|
3963
|
+
const Mr = (t = {}) => (() => {
|
|
3964
|
+
var e = Sr();
|
|
3965
|
+
return k(e, t, !0, !0), e;
|
|
4183
3966
|
})();
|
|
4184
|
-
var
|
|
4185
|
-
const
|
|
4186
|
-
var e =
|
|
4187
|
-
return
|
|
3967
|
+
var Cr = /* @__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">');
|
|
3968
|
+
const Rr = (t = {}) => (() => {
|
|
3969
|
+
var e = Cr();
|
|
3970
|
+
return k(e, t, !0, !0), e;
|
|
4188
3971
|
})();
|
|
4189
|
-
var
|
|
4190
|
-
const
|
|
3972
|
+
var Dr = /* @__PURE__ */ _("<p>"), Pr = /* @__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">');
|
|
3973
|
+
const Ir = (t) => {
|
|
4191
3974
|
const {
|
|
4192
3975
|
t: e
|
|
4193
3976
|
} = he(), {
|
|
@@ -4198,7 +3981,7 @@ const Ur = (t) => {
|
|
|
4198
3981
|
showOnboardingGuide: !1
|
|
4199
3982
|
});
|
|
4200
3983
|
};
|
|
4201
|
-
return
|
|
3984
|
+
return z(at(() => r(), (s) => {
|
|
4202
3985
|
s && n.blinkIdUxManager.analytics.logOnboardingDisplayedEvent();
|
|
4203
3986
|
})), l(ht, {
|
|
4204
3987
|
get mountTarget() {
|
|
@@ -4221,77 +4004,79 @@ const Ur = (t) => {
|
|
|
4221
4004
|
};
|
|
4222
4005
|
},
|
|
4223
4006
|
get children() {
|
|
4224
|
-
var s =
|
|
4007
|
+
var s = Pr(), o = s.firstChild, u = o.firstChild, c = u.firstChild;
|
|
4225
4008
|
return S(u, l(rt, {
|
|
4226
4009
|
get component() {
|
|
4227
|
-
return t.isDesktop ?
|
|
4010
|
+
return t.isDesktop ? Rr : Mr;
|
|
4228
4011
|
},
|
|
4229
4012
|
"aria-hidden": "true",
|
|
4230
4013
|
class: "w-full max-w-[17.5rem] m-x-auto compact:col-start-1 compact:self-start compact:max-w-[11.25rem]"
|
|
4231
|
-
}), c), S(c, l(
|
|
4014
|
+
}), c), S(c, l(Ie.Title, {
|
|
4232
4015
|
class: "dialog-title compact:!text-left",
|
|
4233
4016
|
get children() {
|
|
4234
4017
|
return t.isDesktop ? e.onboarding_modal_title_desktop : e.onboarding_modal_title;
|
|
4235
4018
|
}
|
|
4236
|
-
}), null), S(c, l(
|
|
4019
|
+
}), null), S(c, l(Ie.Description, {
|
|
4237
4020
|
class: "dialog-description compact:!text-left",
|
|
4238
4021
|
get children() {
|
|
4239
|
-
var d =
|
|
4022
|
+
var d = Dr();
|
|
4240
4023
|
return S(d, () => t.isDesktop ? e.onboarding_modal_details_desktop : e.onboarding_modal_details), d;
|
|
4241
4024
|
}
|
|
4242
4025
|
}), null), s;
|
|
4243
4026
|
}
|
|
4244
4027
|
});
|
|
4245
4028
|
};
|
|
4246
|
-
var
|
|
4247
|
-
const
|
|
4029
|
+
var kr = /* @__PURE__ */ _("<div><style id=blinkid-ux-manager-style>"), Nr = /* @__PURE__ */ _('<div class="absolute top-[15%] flex justify-center items-center w-full">'), Fr = /* @__PURE__ */ _('<div class="absolute bottom-4 flex justify-center items-center w-full">');
|
|
4030
|
+
const Ur = (t) => {
|
|
4248
4031
|
const {
|
|
4249
4032
|
store: e,
|
|
4250
4033
|
updateStore: n
|
|
4251
|
-
} = Ae(), [i, r] = L(e.blinkIdUxManager.uiState), a = e.blinkIdUxManager.addOnErrorCallback((
|
|
4034
|
+
} = Ae(), [i, r] = L(e.blinkIdUxManager.uiState), a = e.blinkIdUxManager.addOnErrorCallback((w) => {
|
|
4252
4035
|
n({
|
|
4253
|
-
errorState:
|
|
4036
|
+
errorState: w
|
|
4254
4037
|
});
|
|
4255
4038
|
});
|
|
4256
|
-
|
|
4257
|
-
const
|
|
4258
|
-
|
|
4039
|
+
zt(() => {
|
|
4040
|
+
const w = e.cameraManagerComponent.addOnDismountCallback(() => {
|
|
4041
|
+
w(), e.cameraManagerComponent.cameraManager.userInitiatedAbort && e.blinkIdUxManager.analytics.logCloseButtonClickedEvent();
|
|
4259
4042
|
});
|
|
4260
4043
|
});
|
|
4261
4044
|
const s = e.blinkIdUxManager.addOnDocumentFilteredCallback(() => {
|
|
4262
4045
|
n({
|
|
4263
4046
|
documentFiltered: !0
|
|
4264
4047
|
}), e.blinkIdUxManager.analytics.logAlertDisplayedEvent("DocumentClassNotAllowed");
|
|
4265
|
-
}), o =
|
|
4048
|
+
}), o = pt(gt)((w) => w.playbackState), u = pt(gt)((w) => w.errorState), c = () => o() === "capturing", d = () => !f(), g = () => !!e.showTimeoutModal && e.errorState === "timeout", p = () => !!e.showUnsupportedDocumentModal && e.errorState === "unsupported_document", h = () => !!e.showDocumentFilteredModal && e.documentFiltered, f = () => g() || h() || p() || // TODO: Unify modal dialogs in blinkid UX manager
|
|
4266
4049
|
!!e.showOnboardingGuide || !!e.showHelpModal || // camera manager
|
|
4267
4050
|
!!u();
|
|
4268
|
-
|
|
4269
|
-
|
|
4051
|
+
z(() => {
|
|
4052
|
+
f() ? (e.blinkIdUxManager.cameraManager.stopFrameCapture(), e.blinkIdUxManager.stopUiUpdateLoop()) : (e.blinkIdUxManager.cameraManager.startFrameCapture(), e.blinkIdUxManager.startUiUpdateLoop());
|
|
4270
4053
|
});
|
|
4271
4054
|
const m = () => e.blinkIdUxManager.showDemoOverlay, T = () => e.blinkIdUxManager.showProductionOverlay, A = e.blinkIdUxManager.addOnUiStateChangedCallback(r);
|
|
4272
4055
|
re(() => {
|
|
4273
4056
|
A(), a(), s();
|
|
4274
4057
|
});
|
|
4275
|
-
const
|
|
4276
|
-
return
|
|
4058
|
+
const N = () => e.blinkIdUxManager.deviceInfo?.derivedDeviceInfo.formFactors.includes("Desktop");
|
|
4059
|
+
return z(() => {
|
|
4277
4060
|
g() && e.blinkIdUxManager.analytics.logAlertDisplayedEvent("StepTimeout");
|
|
4061
|
+
}), z(() => {
|
|
4062
|
+
p() && e.blinkIdUxManager.analytics.logAlertDisplayedEvent("DocumentNotSupported");
|
|
4278
4063
|
}), (() => {
|
|
4279
|
-
var
|
|
4280
|
-
return
|
|
4064
|
+
var w = kr(), R = w.firstChild;
|
|
4065
|
+
return Ht((y) => {
|
|
4281
4066
|
window.__blinkidUxManagerCssCode && (y.innerHTML = window.__blinkidUxManagerCssCode);
|
|
4282
|
-
},
|
|
4067
|
+
}, R), S(w, l(un, {
|
|
4283
4068
|
get userStrings() {
|
|
4284
4069
|
return t.localization;
|
|
4285
4070
|
},
|
|
4286
4071
|
get children() {
|
|
4287
|
-
return [l(
|
|
4072
|
+
return [l(Xt, {
|
|
4288
4073
|
children: () => {
|
|
4289
4074
|
const {
|
|
4290
4075
|
t: y
|
|
4291
4076
|
} = he();
|
|
4292
4077
|
return e.cameraManagerComponent.updateLocalization({
|
|
4293
4078
|
dialog_title: y.scanning_screen
|
|
4294
|
-
}), [l(
|
|
4079
|
+
}), [l(Bt, {
|
|
4295
4080
|
get children() {
|
|
4296
4081
|
return [l(K, {
|
|
4297
4082
|
get when() {
|
|
@@ -4310,7 +4095,7 @@ const Hr = (t) => {
|
|
|
4310
4095
|
}
|
|
4311
4096
|
}), l(K, {
|
|
4312
4097
|
get when() {
|
|
4313
|
-
return
|
|
4098
|
+
return p();
|
|
4314
4099
|
},
|
|
4315
4100
|
get children() {
|
|
4316
4101
|
return l(je, {
|
|
@@ -4345,12 +4130,12 @@ const Hr = (t) => {
|
|
|
4345
4130
|
return d();
|
|
4346
4131
|
},
|
|
4347
4132
|
get children() {
|
|
4348
|
-
return l(
|
|
4133
|
+
return l(Li, {
|
|
4349
4134
|
get uiState() {
|
|
4350
4135
|
return i();
|
|
4351
4136
|
},
|
|
4352
4137
|
get isDesktop() {
|
|
4353
|
-
return
|
|
4138
|
+
return N();
|
|
4354
4139
|
}
|
|
4355
4140
|
});
|
|
4356
4141
|
}
|
|
@@ -4359,29 +4144,29 @@ const Hr = (t) => {
|
|
|
4359
4144
|
return m();
|
|
4360
4145
|
},
|
|
4361
4146
|
get children() {
|
|
4362
|
-
var
|
|
4363
|
-
return S(
|
|
4147
|
+
var D = Nr();
|
|
4148
|
+
return S(D, l(qi, {
|
|
4364
4149
|
width: "250",
|
|
4365
4150
|
"aria-hidden": "true"
|
|
4366
|
-
})),
|
|
4151
|
+
})), D;
|
|
4367
4152
|
}
|
|
4368
4153
|
}), l(W, {
|
|
4369
4154
|
get when() {
|
|
4370
4155
|
return T();
|
|
4371
4156
|
},
|
|
4372
4157
|
get children() {
|
|
4373
|
-
var
|
|
4374
|
-
return S(
|
|
4158
|
+
var D = Fr();
|
|
4159
|
+
return S(D, l(Yi, {
|
|
4375
4160
|
width: "100",
|
|
4376
4161
|
"aria-hidden": "true"
|
|
4377
|
-
})),
|
|
4162
|
+
})), D;
|
|
4378
4163
|
}
|
|
4379
4164
|
}), l(W, {
|
|
4380
4165
|
get when() {
|
|
4381
4166
|
return e.showHelpButton;
|
|
4382
4167
|
},
|
|
4383
4168
|
get children() {
|
|
4384
|
-
return l(
|
|
4169
|
+
return l(Or, {
|
|
4385
4170
|
get isProcessing() {
|
|
4386
4171
|
return c();
|
|
4387
4172
|
}
|
|
@@ -4389,19 +4174,19 @@ const Hr = (t) => {
|
|
|
4389
4174
|
}
|
|
4390
4175
|
})];
|
|
4391
4176
|
}
|
|
4392
|
-
}), l(
|
|
4177
|
+
}), l(Ir, {
|
|
4393
4178
|
get isDesktop() {
|
|
4394
|
-
return
|
|
4179
|
+
return N();
|
|
4395
4180
|
}
|
|
4396
|
-
}), l(
|
|
4181
|
+
}), l(Ar, {
|
|
4397
4182
|
get isDesktop() {
|
|
4398
|
-
return
|
|
4183
|
+
return N();
|
|
4399
4184
|
}
|
|
4400
4185
|
})];
|
|
4401
4186
|
}
|
|
4402
|
-
}), null),
|
|
4187
|
+
}), null), w;
|
|
4403
4188
|
})();
|
|
4404
|
-
},
|
|
4189
|
+
}, Gr = {
|
|
4405
4190
|
localizationStrings: {},
|
|
4406
4191
|
preserveSdkInstance: !1,
|
|
4407
4192
|
showOnboardingGuide: !0,
|
|
@@ -4412,15 +4197,15 @@ const Hr = (t) => {
|
|
|
4412
4197
|
showTimeoutModal: !0,
|
|
4413
4198
|
showUnsupportedDocumentModal: !0
|
|
4414
4199
|
};
|
|
4415
|
-
function
|
|
4200
|
+
function Qr(t, e, n) {
|
|
4416
4201
|
const i = {
|
|
4417
4202
|
current: () => {
|
|
4418
4203
|
}
|
|
4419
|
-
}, r =
|
|
4204
|
+
}, r = on(Gr, n);
|
|
4420
4205
|
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(() => {
|
|
4421
4206
|
i.current();
|
|
4422
4207
|
});
|
|
4423
|
-
const a =
|
|
4208
|
+
const a = sn(() => l(Xi, {
|
|
4424
4209
|
blinkIdUxManager: t,
|
|
4425
4210
|
cameraManagerComponent: e,
|
|
4426
4211
|
get showOnboardingGuide() {
|
|
@@ -4446,7 +4231,7 @@ function Jr(t, e, n) {
|
|
|
4446
4231
|
},
|
|
4447
4232
|
dismountFeedbackUi: () => i.current(),
|
|
4448
4233
|
get children() {
|
|
4449
|
-
return l(
|
|
4234
|
+
return l(Ur, {
|
|
4450
4235
|
get localization() {
|
|
4451
4236
|
return r.localizationStrings;
|
|
4452
4237
|
}
|
|
@@ -4455,18 +4240,18 @@ function Jr(t, e, n) {
|
|
|
4455
4240
|
}), e.feedbackLayerNode, e.owner);
|
|
4456
4241
|
return i.current = a, a;
|
|
4457
4242
|
}
|
|
4458
|
-
const
|
|
4459
|
-
globalThis.__BLINKID_UX_MANAGER__ ||=
|
|
4460
|
-
globalThis.__BLINKID_UX_MANAGER__ !==
|
|
4243
|
+
const g1 = Symbol();
|
|
4244
|
+
globalThis.__BLINKID_UX_MANAGER__ ||= g1;
|
|
4245
|
+
globalThis.__BLINKID_UX_MANAGER__ !== g1 && console.warn(
|
|
4461
4246
|
"Detected multiple instances of @microblink/blinkid-ux-manager. This can lead to unexpected behavior."
|
|
4462
4247
|
);
|
|
4463
4248
|
export {
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4249
|
+
jr as blinkIdPageTransitionKeys,
|
|
4250
|
+
_t as blinkIdUiErrorStateKeys,
|
|
4251
|
+
H1 as blinkIdUiIntroStateKeys,
|
|
4467
4252
|
Ue as blinkIdUiStateMap,
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4253
|
+
z1 as blinkIdUiStepSuccessKeys,
|
|
4254
|
+
Qr as createBlinkIdFeedbackUi,
|
|
4255
|
+
qr as createBlinkIdUxManager,
|
|
4256
|
+
$1 as getUiStateKey
|
|
4472
4257
|
};
|