@regulaforensics/idv-gui 3.1.239 → 3.2.1-nightly

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.umd.cjs CHANGED
@@ -1,62 +1,6 @@
1
- (function(er,Or){typeof exports=="object"&&typeof module!="undefined"?Or(exports):typeof define=="function"&&define.amd?define(["exports"],Or):(er=typeof globalThis!="undefined"?globalThis:er||self,Or(er.RegulaIdvGui={}))})(this,function(er){"use strict";var W_=Object.defineProperty,H_=Object.defineProperties;var G_=Object.getOwnPropertyDescriptors;var ns=Object.getOwnPropertySymbols;var VS=Object.prototype.hasOwnProperty,$S=Object.prototype.propertyIsEnumerable;var BS=(er,Or,Ar)=>Or in er?W_(er,Or,{enumerable:!0,configurable:!0,writable:!0,value:Ar}):er[Or]=Ar,ce=(er,Or)=>{for(var Ar in Or||(Or={}))VS.call(Or,Ar)&&BS(er,Ar,Or[Ar]);if(ns)for(var Ar of ns(Or))$S.call(Or,Ar)&&BS(er,Ar,Or[Ar]);return er},or=(er,Or)=>H_(er,G_(Or));var au=(er,Or)=>{var Ar={};for(var it in er)VS.call(er,it)&&Or.indexOf(it)<0&&(Ar[it]=er[it]);if(er!=null&&ns)for(var it of ns(er))Or.indexOf(it)<0&&$S.call(er,it)&&(Ar[it]=er[it]);return Ar};var dn=(er,Or,Ar)=>new Promise((it,kn)=>{var Po=vn=>{try{Ci(Ar.next(vn))}catch(_i){kn(_i)}},Ye=vn=>{try{Ci(Ar.throw(vn))}catch(_i){kn(_i)}},Ci=vn=>vn.done?it(vn.value):Promise.resolve(vn.value).then(Po,Ye);Ci((Ar=Ar.apply(er,Or)).next())});var Or=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ar(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var it={exports:{}},kn={},Po={exports:{}},Ye={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Ci;function vn(){if(Ci)return Ye;Ci=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.iterator;function h(k){return k===null||typeof k!="object"?null:(k=g&&k[g]||k["@@iterator"],typeof k=="function"?k:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,w={};function C(k,Y,ge){this.props=k,this.context=Y,this.refs=w,this.updater=ge||b}C.prototype.isReactComponent={},C.prototype.setState=function(k,Y){if(typeof k!="object"&&typeof k!="function"&&k!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,k,Y,"setState")},C.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function N(){}N.prototype=C.prototype;function O(k,Y,ge){this.props=k,this.context=Y,this.refs=w,this.updater=ge||b}var T=O.prototype=new N;T.constructor=O,S(T,C.prototype),T.isPureReactComponent=!0;var R=Array.isArray,F=Object.prototype.hasOwnProperty,j={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function L(k,Y,ge){var Se,fe={},Pe=null,Ae=null;if(Y!=null)for(Se in Y.ref!==void 0&&(Ae=Y.ref),Y.key!==void 0&&(Pe=""+Y.key),Y)F.call(Y,Se)&&!x.hasOwnProperty(Se)&&(fe[Se]=Y[Se]);var xe=arguments.length-2;if(xe===1)fe.children=ge;else if(1<xe){for(var _e=Array(xe),Ge=0;Ge<xe;Ge++)_e[Ge]=arguments[Ge+2];fe.children=_e}if(k&&k.defaultProps)for(Se in xe=k.defaultProps,xe)fe[Se]===void 0&&(fe[Se]=xe[Se]);return{$$typeof:t,type:k,key:Pe,ref:Ae,props:fe,_owner:j.current}}function U(k,Y){return{$$typeof:t,type:k.type,key:Y,ref:k.ref,props:k.props,_owner:k._owner}}function J(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function H(k){var Y={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(ge){return Y[ge]})}var $=/\/+/g;function le(k,Y){return typeof k=="object"&&k!==null&&k.key!=null?H(""+k.key):Y.toString(36)}function G(k,Y,ge,Se,fe){var Pe=typeof k;(Pe==="undefined"||Pe==="boolean")&&(k=null);var Ae=!1;if(k===null)Ae=!0;else switch(Pe){case"string":case"number":Ae=!0;break;case"object":switch(k.$$typeof){case t:case n:Ae=!0}}if(Ae)return Ae=k,fe=fe(Ae),k=Se===""?"."+le(Ae,0):Se,R(fe)?(ge="",k!=null&&(ge=k.replace($,"$&/")+"/"),G(fe,Y,ge,"",function(Ge){return Ge})):fe!=null&&(J(fe)&&(fe=U(fe,ge+(!fe.key||Ae&&Ae.key===fe.key?"":(""+fe.key).replace($,"$&/")+"/")+k)),Y.push(fe)),1;if(Ae=0,Se=Se===""?".":Se+":",R(k))for(var xe=0;xe<k.length;xe++){Pe=k[xe];var _e=Se+le(Pe,xe);Ae+=G(Pe,Y,ge,_e,fe)}else if(_e=h(k),typeof _e=="function")for(k=_e.call(k),xe=0;!(Pe=k.next()).done;)Pe=Pe.value,_e=Se+le(Pe,xe++),Ae+=G(Pe,Y,ge,_e,fe);else if(Pe==="object")throw Y=String(k),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.");return Ae}function re(k,Y,ge){if(k==null)return k;var Se=[],fe=0;return G(k,Se,"","",function(Pe){return Y.call(ge,Pe,fe++)}),Se}function oe(k){if(k._status===-1){var Y=k._result;Y=Y(),Y.then(function(ge){(k._status===0||k._status===-1)&&(k._status=1,k._result=ge)},function(ge){(k._status===0||k._status===-1)&&(k._status=2,k._result=ge)}),k._status===-1&&(k._status=0,k._result=Y)}if(k._status===1)return k._result.default;throw k._result}var te={current:null},Z={transition:null},z={ReactCurrentDispatcher:te,ReactCurrentBatchConfig:Z,ReactCurrentOwner:j};function ae(){throw Error("act(...) is not supported in production builds of React.")}return Ye.Children={map:re,forEach:function(k,Y,ge){re(k,function(){Y.apply(this,arguments)},ge)},count:function(k){var Y=0;return re(k,function(){Y++}),Y},toArray:function(k){return re(k,function(Y){return Y})||[]},only:function(k){if(!J(k))throw Error("React.Children.only expected to receive a single React element child.");return k}},Ye.Component=C,Ye.Fragment=i,Ye.Profiler=l,Ye.PureComponent=O,Ye.StrictMode=a,Ye.Suspense=p,Ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,Ye.act=ae,Ye.cloneElement=function(k,Y,ge){if(k==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+k+".");var Se=S({},k.props),fe=k.key,Pe=k.ref,Ae=k._owner;if(Y!=null){if(Y.ref!==void 0&&(Pe=Y.ref,Ae=j.current),Y.key!==void 0&&(fe=""+Y.key),k.type&&k.type.defaultProps)var xe=k.type.defaultProps;for(_e in Y)F.call(Y,_e)&&!x.hasOwnProperty(_e)&&(Se[_e]=Y[_e]===void 0&&xe!==void 0?xe[_e]:Y[_e])}var _e=arguments.length-2;if(_e===1)Se.children=ge;else if(1<_e){xe=Array(_e);for(var Ge=0;Ge<_e;Ge++)xe[Ge]=arguments[Ge+2];Se.children=xe}return{$$typeof:t,type:k.type,key:fe,ref:Pe,props:Se,_owner:Ae}},Ye.createContext=function(k){return k={$$typeof:f,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},k.Provider={$$typeof:c,_context:k},k.Consumer=k},Ye.createElement=L,Ye.createFactory=function(k){var Y=L.bind(null,k);return Y.type=k,Y},Ye.createRef=function(){return{current:null}},Ye.forwardRef=function(k){return{$$typeof:d,render:k}},Ye.isValidElement=J,Ye.lazy=function(k){return{$$typeof:m,_payload:{_status:-1,_result:k},_init:oe}},Ye.memo=function(k,Y){return{$$typeof:y,type:k,compare:Y===void 0?null:Y}},Ye.startTransition=function(k){var Y=Z.transition;Z.transition={};try{k()}finally{Z.transition=Y}},Ye.unstable_act=ae,Ye.useCallback=function(k,Y){return te.current.useCallback(k,Y)},Ye.useContext=function(k){return te.current.useContext(k)},Ye.useDebugValue=function(){},Ye.useDeferredValue=function(k){return te.current.useDeferredValue(k)},Ye.useEffect=function(k,Y){return te.current.useEffect(k,Y)},Ye.useId=function(){return te.current.useId()},Ye.useImperativeHandle=function(k,Y,ge){return te.current.useImperativeHandle(k,Y,ge)},Ye.useInsertionEffect=function(k,Y){return te.current.useInsertionEffect(k,Y)},Ye.useLayoutEffect=function(k,Y){return te.current.useLayoutEffect(k,Y)},Ye.useMemo=function(k,Y){return te.current.useMemo(k,Y)},Ye.useReducer=function(k,Y,ge){return te.current.useReducer(k,Y,ge)},Ye.useRef=function(k){return te.current.useRef(k)},Ye.useState=function(k){return te.current.useState(k)},Ye.useSyncExternalStore=function(k,Y,ge){return te.current.useSyncExternalStore(k,Y,ge)},Ye.useTransition=function(){return te.current.useTransition()},Ye.version="18.3.1",Ye}var _i;function uu(){return _i||(_i=1,Po.exports=vn()),Po.exports}/**
10
- * @license React
11
- * react-jsx-runtime.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var s1;function US(){if(s1)return kn;s1=1;var t=uu(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function f(d,p,y){var m,g={},h=null,b=null;y!==void 0&&(h=""+y),p.key!==void 0&&(h=""+p.key),p.ref!==void 0&&(b=p.ref);for(m in p)a.call(p,m)&&!c.hasOwnProperty(m)&&(g[m]=p[m]);if(d&&d.defaultProps)for(m in p=d.defaultProps,p)g[m]===void 0&&(g[m]=p[m]);return{$$typeof:n,type:d,key:h,ref:b,props:g,_owner:l.current}}return kn.Fragment=i,kn.jsx=f,kn.jsxs=f,kn}var c1;function zS(){return c1||(c1=1,it.exports=US()),it.exports}var _=zS(),f1={},d1={},To,v1;function Xe(){if(v1)return To;v1=1;var t=function(n){return n&&n.Math===Math&&n};return To=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof Or=="object"&&Or)||t(typeof To=="object"&&To)||function(){return this}()||Function("return this")(),To}var is={},os,p1;function We(){return p1||(p1=1,os=function(t){try{return!!t()}catch(n){return!0}}),os}var as,y1;function ur(){if(y1)return as;y1=1;var t=We();return as=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),as}var us,h1;function jo(){if(h1)return us;h1=1;var t=We();return us=!t(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")}),us}var ls,m1;function dr(){if(m1)return ls;m1=1;var t=jo(),n=Function.prototype.call;return ls=t?n.bind(n):function(){return n.apply(n,arguments)},ls}var ss={},g1;function cs(){if(g1)return ss;g1=1;var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!t.call({1:2},1);return ss.f=i?function(l){var c=n(this,l);return!!c&&c.enumerable}:t,ss}var fs,w1;function Oi(){return w1||(w1=1,fs=function(t,n){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:n}}),fs}var ds,b1;function rr(){if(b1)return ds;b1=1;var t=jo(),n=Function.prototype,i=n.call,a=t&&n.bind.bind(i,i);return ds=t?a:function(l){return function(){return i.apply(l,arguments)}},ds}var vs,S1;function mt(){if(S1)return vs;S1=1;var t=rr(),n=t({}.toString),i=t("".slice);return vs=function(a){return i(n(a),8,-1)},vs}var ps,E1;function lu(){if(E1)return ps;E1=1;var t=rr(),n=We(),i=mt(),a=Object,l=t("".split);return ps=n(function(){return!a("z").propertyIsEnumerable(0)})?function(c){return i(c)==="String"?l(c,""):a(c)}:a,ps}var ys,C1;function xi(){return C1||(C1=1,ys=function(t){return t==null}),ys}var hs,_1;function pn(){if(_1)return hs;_1=1;var t=xi(),n=TypeError;return hs=function(i){if(t(i))throw new n("Can't call method on "+i);return i},hs}var ms,O1;function Rt(){if(O1)return ms;O1=1;var t=lu(),n=pn();return ms=function(i){return t(n(i))},ms}var gs,x1;function vr(){if(x1)return gs;x1=1;var t=typeof document=="object"&&document.all;return gs=typeof t=="undefined"&&t!==void 0?function(n){return typeof n=="function"||n===t}:function(n){return typeof n=="function"},gs}var ws,I1;function Ir(){if(I1)return ws;I1=1;var t=vr();return ws=function(n){return typeof n=="object"?n!==null:t(n)},ws}var bs,R1;function Pt(){if(R1)return bs;R1=1;var t=Xe(),n=vr(),i=function(a){return n(a)?a:void 0};return bs=function(a,l){return arguments.length<2?i(t[a]):t[a]&&t[a][l]},bs}var Ss,P1;function yn(){if(P1)return Ss;P1=1;var t=rr();return Ss=t({}.isPrototypeOf),Ss}var Es,T1;function Ii(){if(T1)return Es;T1=1;var t=Xe(),n=t.navigator,i=n&&n.userAgent;return Es=i?String(i):"",Es}var Cs,j1;function ko(){if(j1)return Cs;j1=1;var t=Xe(),n=Ii(),i=t.process,a=t.Deno,l=i&&i.versions||a&&a.version,c=l&&l.v8,f,d;return c&&(f=c.split("."),d=f[0]>0&&f[0]<4?1:+(f[0]+f[1])),!d&&n&&(f=n.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=n.match(/Chrome\/(\d+)/),f&&(d=+f[1]))),Cs=d,Cs}var _s,k1;function Ri(){if(k1)return _s;k1=1;var t=ko(),n=We(),i=Xe(),a=i.String;return _s=!!Object.getOwnPropertySymbols&&!n(function(){var l=Symbol("symbol detection");return!a(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&&t&&t<41}),_s}var Os,A1;function N1(){if(A1)return Os;A1=1;var t=Ri();return Os=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Os}var xs,D1;function Ao(){if(D1)return xs;D1=1;var t=Pt(),n=vr(),i=yn(),a=N1(),l=Object;return xs=a?function(c){return typeof c=="symbol"}:function(c){var f=t("Symbol");return n(f)&&i(f.prototype,l(c))},xs}var Is,F1;function No(){if(F1)return Is;F1=1;var t=String;return Is=function(n){try{return t(n)}catch(i){return"Object"}},Is}var Rs,L1;function Mr(){if(L1)return Rs;L1=1;var t=vr(),n=No(),i=TypeError;return Rs=function(a){if(t(a))return a;throw new i(n(a)+" is not a function")},Rs}var Ps,M1;function Do(){if(M1)return Ps;M1=1;var t=Mr(),n=xi();return Ps=function(i,a){var l=i[a];return n(l)?void 0:t(l)},Ps}var Ts,q1;function B1(){if(q1)return Ts;q1=1;var t=dr(),n=vr(),i=Ir(),a=TypeError;return Ts=function(l,c){var f,d;if(c==="string"&&n(f=l.toString)&&!i(d=t(f,l))||n(f=l.valueOf)&&!i(d=t(f,l))||c!=="string"&&n(f=l.toString)&&!i(d=t(f,l)))return d;throw new a("Can't convert object to primitive value")},Ts}var js={exports:{}},ks,V1;function Hr(){return V1||(V1=1,ks=!1),ks}var As,$1;function Ns(){if($1)return As;$1=1;var t=Xe(),n=Object.defineProperty;return As=function(i,a){try{n(t,i,{value:a,configurable:!0,writable:!0})}catch(l){t[i]=a}return a},As}var U1;function Ds(){if(U1)return js.exports;U1=1;var t=Hr(),n=Xe(),i=Ns(),a="__core-js_shared__",l=js.exports=n[a]||i(a,{});return(l.versions||(l.versions=[])).push({version:"3.45.1",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"}),js.exports}var Fs,z1;function Pi(){if(z1)return Fs;z1=1;var t=Ds();return Fs=function(n,i){return t[n]||(t[n]=i||{})},Fs}var Ls,W1;function gt(){if(W1)return Ls;W1=1;var t=pn(),n=Object;return Ls=function(i){return n(t(i))},Ls}var Ms,H1;function Rr(){if(H1)return Ms;H1=1;var t=rr(),n=gt(),i=t({}.hasOwnProperty);return Ms=Object.hasOwn||function(l,c){return i(n(l),c)},Ms}var qs,G1;function su(){if(G1)return qs;G1=1;var t=rr(),n=0,i=Math.random(),a=t(1.1.toString);return qs=function(l){return"Symbol("+(l===void 0?"":l)+")_"+a(++n+i,36)},qs}var Bs,K1;function pr(){if(K1)return Bs;K1=1;var t=Xe(),n=Pi(),i=Rr(),a=su(),l=Ri(),c=N1(),f=t.Symbol,d=n("wks"),p=c?f.for||f:f&&f.withoutSetter||a;return Bs=function(y){return i(d,y)||(d[y]=l&&i(f,y)?f[y]:p("Symbol."+y)),d[y]},Bs}var Vs,Q1;function $s(){if(Q1)return Vs;Q1=1;var t=dr(),n=Ir(),i=Ao(),a=Do(),l=B1(),c=pr(),f=TypeError,d=c("toPrimitive");return Vs=function(p,y){if(!n(p)||i(p))return p;var m=a(p,d),g;if(m){if(y===void 0&&(y="default"),g=t(m,p,y),!n(g)||i(g))return g;throw new f("Can't convert object to primitive value")}return y===void 0&&(y="number"),l(p,y)},Vs}var Us,Y1;function zs(){if(Y1)return Us;Y1=1;var t=$s(),n=Ao();return Us=function(i){var a=t(i,"string");return n(a)?a:a+""},Us}var Ws,Z1;function cu(){if(Z1)return Ws;Z1=1;var t=Xe(),n=Ir(),i=t.document,a=n(i)&&n(i.createElement);return Ws=function(l){return a?i.createElement(l):{}},Ws}var Hs,X1;function J1(){if(X1)return Hs;X1=1;var t=ur(),n=We(),i=cu();return Hs=!t&&!n(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!==7}),Hs}var ey;function Qn(){if(ey)return is;ey=1;var t=ur(),n=dr(),i=cs(),a=Oi(),l=Rt(),c=zs(),f=Rr(),d=J1(),p=Object.getOwnPropertyDescriptor;return is.f=t?p:function(m,g){if(m=l(m),g=c(g),d)try{return p(m,g)}catch(h){}if(f(m,g))return a(!n(i.f,m,g),m[g])},is}var Gs={},Ks,ry;function ty(){if(ry)return Ks;ry=1;var t=ur(),n=We();return Ks=t&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Ks}var Qs,ny;function yr(){if(ny)return Qs;ny=1;var t=Ir(),n=String,i=TypeError;return Qs=function(a){if(t(a))return a;throw new i(n(a)+" is not an object")},Qs}var iy;function ot(){if(iy)return Gs;iy=1;var t=ur(),n=J1(),i=ty(),a=yr(),l=zs(),c=TypeError,f=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p="enumerable",y="configurable",m="writable";return Gs.f=t?i?function(h,b,S){if(a(h),b=l(b),a(S),typeof h=="function"&&b==="prototype"&&"value"in S&&m in S&&!S[m]){var w=d(h,b);w&&w[m]&&(h[b]=S.value,S={configurable:y in S?S[y]:w[y],enumerable:p in S?S[p]:w[p],writable:!1})}return f(h,b,S)}:f:function(h,b,S){if(a(h),b=l(b),a(S),n)try{return f(h,b,S)}catch(w){}if("get"in S||"set"in S)throw new c("Accessors not supported");return"value"in S&&(h[b]=S.value),h},Gs}var Ys,oy;function Xt(){if(oy)return Ys;oy=1;var t=ur(),n=ot(),i=Oi();return Ys=t?function(a,l,c){return n.f(a,l,i(1,c))}:function(a,l,c){return a[l]=c,a},Ys}var Zs={exports:{}},Xs,ay;function Fo(){if(ay)return Xs;ay=1;var t=ur(),n=Rr(),i=Function.prototype,a=t&&Object.getOwnPropertyDescriptor,l=n(i,"name"),c=l&&function(){}.name==="something",f=l&&(!t||t&&a(i,"name").configurable);return Xs={EXISTS:l,PROPER:c,CONFIGURABLE:f},Xs}var Js,uy;function ec(){if(uy)return Js;uy=1;var t=rr(),n=vr(),i=Ds(),a=t(Function.toString);return n(i.inspectSource)||(i.inspectSource=function(l){return a(l)}),Js=i.inspectSource,Js}var rc,ly;function WS(){if(ly)return rc;ly=1;var t=Xe(),n=vr(),i=t.WeakMap;return rc=n(i)&&/native code/.test(String(i)),rc}var tc,sy;function fu(){if(sy)return tc;sy=1;var t=Pi(),n=su(),i=t("keys");return tc=function(a){return i[a]||(i[a]=n(a))},tc}var nc,cy;function Lo(){return cy||(cy=1,nc={}),nc}var ic,fy;function Tt(){if(fy)return ic;fy=1;var t=WS(),n=Xe(),i=Ir(),a=Xt(),l=Rr(),c=Ds(),f=fu(),d=Lo(),p="Object already initialized",y=n.TypeError,m=n.WeakMap,g,h,b,S=function(O){return b(O)?h(O):g(O,{})},w=function(O){return function(T){var R;if(!i(T)||(R=h(T)).type!==O)throw new y("Incompatible receiver, "+O+" required");return R}};if(t||c.state){var C=c.state||(c.state=new m);C.get=C.get,C.has=C.has,C.set=C.set,g=function(O,T){if(C.has(O))throw new y(p);return T.facade=O,C.set(O,T),T},h=function(O){return C.get(O)||{}},b=function(O){return C.has(O)}}else{var N=f("state");d[N]=!0,g=function(O,T){if(l(O,N))throw new y(p);return T.facade=O,a(O,N,T),T},h=function(O){return l(O,N)?O[N]:{}},b=function(O){return l(O,N)}}return ic={set:g,get:h,has:b,enforce:S,getterFor:w},ic}var dy;function vy(){if(dy)return Zs.exports;dy=1;var t=rr(),n=We(),i=vr(),a=Rr(),l=ur(),c=Fo().CONFIGURABLE,f=ec(),d=Tt(),p=d.enforce,y=d.get,m=String,g=Object.defineProperty,h=t("".slice),b=t("".replace),S=t([].join),w=l&&!n(function(){return g(function(){},"length",{value:8}).length!==8}),C=String(String).split("String"),N=Zs.exports=function(O,T,R){h(m(T),0,7)==="Symbol("&&(T="["+b(m(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),R&&R.getter&&(T="get "+T),R&&R.setter&&(T="set "+T),(!a(O,"name")||c&&O.name!==T)&&(l?g(O,"name",{value:T,configurable:!0}):O.name=T),w&&R&&a(R,"arity")&&O.length!==R.arity&&g(O,"length",{value:R.arity});try{R&&a(R,"constructor")&&R.constructor?l&&g(O,"prototype",{writable:!1}):O.prototype&&(O.prototype=void 0)}catch(j){}var F=p(O);return a(F,"source")||(F.source=S(C,typeof T=="string"?T:"")),O};return Function.prototype.toString=N(function(){return i(this)&&y(this).source||f(this)},"toString"),Zs.exports}var oc,py;function Yr(){if(py)return oc;py=1;var t=vr(),n=ot(),i=vy(),a=Ns();return oc=function(l,c,f,d){d||(d={});var p=d.enumerable,y=d.name!==void 0?d.name:c;if(t(f)&&i(f,y,d),d.global)p?l[c]=f:a(c,f);else{try{d.unsafe?l[c]&&(p=!0):delete l[c]}catch(m){}p?l[c]=f:n.f(l,c,{value:f,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return l},oc}var ac={},uc,yy;function HS(){if(yy)return uc;yy=1;var t=Math.ceil,n=Math.floor;return uc=Math.trunc||function(a){var l=+a;return(l>0?n:t)(l)},uc}var lc,hy;function sc(){if(hy)return lc;hy=1;var t=HS();return lc=function(n){var i=+n;return i!==i||i===0?0:t(i)},lc}var cc,my;function gy(){if(my)return cc;my=1;var t=sc(),n=Math.max,i=Math.min;return cc=function(a,l){var c=t(a);return c<0?n(c+l,0):i(c,l)},cc}var fc,wy;function dc(){if(wy)return fc;wy=1;var t=sc(),n=Math.min;return fc=function(i){var a=t(i);return a>0?n(a,9007199254740991):0},fc}var vc,by;function Jt(){if(by)return vc;by=1;var t=dc();return vc=function(n){return t(n.length)},vc}var pc,Sy;function yc(){if(Sy)return pc;Sy=1;var t=Rt(),n=gy(),i=Jt(),a=function(l){return function(c,f,d){var p=t(c),y=i(p);if(y===0)return!l&&-1;var m=n(d,y),g;if(l&&f!==f){for(;y>m;)if(g=p[m++],g!==g)return!0}else for(;y>m;m++)if((l||m in p)&&p[m]===f)return l||m||0;return!l&&-1}};return pc={includes:a(!0),indexOf:a(!1)},pc}var hc,Ey;function Cy(){if(Ey)return hc;Ey=1;var t=rr(),n=Rr(),i=Rt(),a=yc().indexOf,l=Lo(),c=t([].push);return hc=function(f,d){var p=i(f),y=0,m=[],g;for(g in p)!n(l,g)&&n(p,g)&&c(m,g);for(;d.length>y;)n(p,g=d[y++])&&(~a(m,g)||c(m,g));return m},hc}var mc,_y;function gc(){return _y||(_y=1,mc=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),mc}var Oy;function Ti(){if(Oy)return ac;Oy=1;var t=Cy(),n=gc(),i=n.concat("length","prototype");return ac.f=Object.getOwnPropertyNames||function(l){return t(l,i)},ac}var wc={},xy;function bc(){return xy||(xy=1,wc.f=Object.getOwnPropertySymbols),wc}var Sc,Iy;function Ry(){if(Iy)return Sc;Iy=1;var t=Pt(),n=rr(),i=Ti(),a=bc(),l=yr(),c=n([].concat);return Sc=t("Reflect","ownKeys")||function(d){var p=i.f(l(d)),y=a.f;return y?c(p,y(d)):p},Sc}var Ec,Py;function Cc(){if(Py)return Ec;Py=1;var t=Rr(),n=Ry(),i=Qn(),a=ot();return Ec=function(l,c,f){for(var d=n(c),p=a.f,y=i.f,m=0;m<d.length;m++){var g=d[m];!t(l,g)&&!(f&&t(f,g))&&p(l,g,y(c,g))}},Ec}var _c,Ty;function Mo(){if(Ty)return _c;Ty=1;var t=We(),n=vr(),i=/#|\.prototype\./,a=function(p,y){var m=c[l(p)];return m===d?!0:m===f?!1:n(y)?t(y):!!y},l=a.normalize=function(p){return String(p).replace(i,".").toLowerCase()},c=a.data={},f=a.NATIVE="N",d=a.POLYFILL="P";return _c=a,_c}var Oc,jy;function je(){if(jy)return Oc;jy=1;var t=Xe(),n=Qn().f,i=Xt(),a=Yr(),l=Ns(),c=Cc(),f=Mo();return Oc=function(d,p){var y=d.target,m=d.global,g=d.stat,h,b,S,w,C,N;if(m?b=t:g?b=t[y]||l(y,{}):b=t[y]&&t[y].prototype,b)for(S in p){if(C=p[S],d.dontCallGetSet?(N=n(b,S),w=N&&N.value):w=b[S],h=f(m?S:y+(g?".":"#")+S,d.forced),!h&&w!==void 0){if(typeof C==typeof w)continue;c(C,w)}(d.sham||w&&w.sham)&&i(C,"sham",!0),a(b,S,C,d)}},Oc}var xc,ky;function Ic(){if(ky)return xc;ky=1;var t=pr(),n=t("toStringTag"),i={};return i[n]="z",xc=String(i)==="[object z]",xc}var Rc,Ay;function du(){if(Ay)return Rc;Ay=1;var t=Ic(),n=vr(),i=mt(),a=pr(),l=a("toStringTag"),c=Object,f=i(function(){return arguments}())==="Arguments",d=function(p,y){try{return p[y]}catch(m){}};return Rc=t?i:function(p){var y,m,g;return p===void 0?"Undefined":p===null?"Null":typeof(m=d(y=c(p),l))=="string"?m:f?i(y):(g=i(y))==="Object"&&n(y.callee)?"Arguments":g},Rc}var Pc,Ny;function at(){if(Ny)return Pc;Ny=1;var t=du(),n=String;return Pc=function(i){if(t(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(i)},Pc}var Tc={},jc,Dy;function vu(){if(Dy)return jc;Dy=1;var t=Cy(),n=gc();return jc=Object.keys||function(a){return t(a,n)},jc}var Fy;function kc(){if(Fy)return Tc;Fy=1;var t=ur(),n=ty(),i=ot(),a=yr(),l=Rt(),c=vu();return Tc.f=t&&!n?Object.defineProperties:function(d,p){a(d);for(var y=l(p),m=c(p),g=m.length,h=0,b;g>h;)i.f(d,b=m[h++],y[b]);return d},Tc}var Ac,Ly;function My(){if(Ly)return Ac;Ly=1;var t=Pt();return Ac=t("document","documentElement"),Ac}var Nc,qy;function en(){if(qy)return Nc;qy=1;var t=yr(),n=kc(),i=gc(),a=Lo(),l=My(),c=cu(),f=fu(),d=">",p="<",y="prototype",m="script",g=f("IE_PROTO"),h=function(){},b=function(O){return p+m+d+O+p+"/"+m+d},S=function(O){O.write(b("")),O.close();var T=O.parentWindow.Object;return O=null,T},w=function(){var O=c("iframe"),T="java"+m+":",R;return O.style.display="none",l.appendChild(O),O.src=String(T),R=O.contentWindow.document,R.open(),R.write(b("document.F=Object")),R.close(),R.F},C,N=function(){try{C=new ActiveXObject("htmlfile")}catch(T){}N=typeof document!="undefined"?document.domain&&C?S(C):w():S(C);for(var O=i.length;O--;)delete N[y][i[O]];return N()};return a[g]=!0,Nc=Object.create||function(T,R){var F;return T!==null?(h[y]=t(T),F=new h,h[y]=null,F[g]=T):F=N(),R===void 0?F:n.f(F,R)},Nc}var Dc={},Fc,By;function ji(){if(By)return Fc;By=1;var t=rr();return Fc=t([].slice),Fc}var Vy;function $y(){if(Vy)return Dc;Vy=1;var t=mt(),n=Rt(),i=Ti().f,a=ji(),l=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(f){try{return i(f)}catch(d){return a(l)}};return Dc.f=function(d){return l&&t(d)==="Window"?c(d):i(n(d))},Dc}var Lc,Uy;function hn(){if(Uy)return Lc;Uy=1;var t=vy(),n=ot();return Lc=function(i,a,l){return l.get&&t(l.get,a,{getter:!0}),l.set&&t(l.set,a,{setter:!0}),n.f(i,a,l)},Lc}var Mc={},zy;function Wy(){if(zy)return Mc;zy=1;var t=pr();return Mc.f=t,Mc}var qc,Hy;function Bc(){if(Hy)return qc;Hy=1;var t=Xe();return qc=t,qc}var Vc,Gy;function $c(){if(Gy)return Vc;Gy=1;var t=Bc(),n=Rr(),i=Wy(),a=ot().f;return Vc=function(l){var c=t.Symbol||(t.Symbol={});n(c,l)||a(c,l,{value:i.f(l)})},Vc}var Uc,Ky;function Qy(){if(Ky)return Uc;Ky=1;var t=dr(),n=Pt(),i=pr(),a=Yr();return Uc=function(){var l=n("Symbol"),c=l&&l.prototype,f=c&&c.valueOf,d=i("toPrimitive");c&&!c[d]&&a(c,d,function(p){return t(f,this)},{arity:1})},Uc}var zc,Yy;function ki(){if(Yy)return zc;Yy=1;var t=ot().f,n=Rr(),i=pr(),a=i("toStringTag");return zc=function(l,c,f){l&&!f&&(l=l.prototype),l&&!n(l,a)&&t(l,a,{configurable:!0,value:c})},zc}var Wc,Zy;function pu(){if(Zy)return Wc;Zy=1;var t=mt(),n=rr();return Wc=function(i){if(t(i)==="Function")return n(i)},Wc}var Hc,Xy;function Yn(){if(Xy)return Hc;Xy=1;var t=pu(),n=Mr(),i=jo(),a=t(t.bind);return Hc=function(l,c){return n(l),c===void 0?l:i?a(l,c):function(){return l.apply(c,arguments)}},Hc}var Gc,Jy;function Zn(){if(Jy)return Gc;Jy=1;var t=mt();return Gc=Array.isArray||function(i){return t(i)==="Array"},Gc}var Kc,eh;function yu(){if(eh)return Kc;eh=1;var t=rr(),n=We(),i=vr(),a=du(),l=Pt(),c=ec(),f=function(){},d=l("Reflect","construct"),p=/^\s*(?:class|function)\b/,y=t(p.exec),m=!p.test(f),g=function(S){if(!i(S))return!1;try{return d(f,[],S),!0}catch(w){return!1}},h=function(S){if(!i(S))return!1;switch(a(S)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!y(p,c(S))}catch(w){return!0}};return h.sham=!0,Kc=!d||n(function(){var b;return g(g.call)||!g(Object)||!g(function(){b=!0})||b})?h:g,Kc}var Qc,rh;function GS(){if(rh)return Qc;rh=1;var t=Zn(),n=yu(),i=Ir(),a=pr(),l=a("species"),c=Array;return Qc=function(f){var d;return t(f)&&(d=f.constructor,n(d)&&(d===c||t(d.prototype))?d=void 0:i(d)&&(d=d[l],d===null&&(d=void 0))),d===void 0?c:d},Qc}var Yc,th;function Zc(){if(th)return Yc;th=1;var t=GS();return Yc=function(n,i){return new(t(n))(i===0?0:i)},Yc}var Xc,nh;function Ai(){if(nh)return Xc;nh=1;var t=Yn(),n=rr(),i=lu(),a=gt(),l=Jt(),c=Zc(),f=n([].push),d=function(p){var y=p===1,m=p===2,g=p===3,h=p===4,b=p===6,S=p===7,w=p===5||b;return function(C,N,O,T){for(var R=a(C),F=i(R),j=l(F),x=t(N,O),L=0,U=T||c,J=y?U(C,j):m||S?U(C,0):void 0,H,$;j>L;L++)if((w||L in F)&&(H=F[L],$=x(H,L,R),p))if(y)J[L]=$;else if($)switch(p){case 3:return!0;case 5:return H;case 6:return L;case 2:f(J,H)}else switch(p){case 4:return!1;case 7:f(J,H)}return b?-1:g||h?h:J}};return Xc={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)},Xc}var ih;function KS(){if(ih)return d1;ih=1;var t=je(),n=Xe(),i=dr(),a=rr(),l=Hr(),c=ur(),f=Ri(),d=We(),p=Rr(),y=yn(),m=yr(),g=Rt(),h=zs(),b=at(),S=Oi(),w=en(),C=vu(),N=Ti(),O=$y(),T=bc(),R=Qn(),F=ot(),j=kc(),x=cs(),L=Yr(),U=hn(),J=Pi(),H=fu(),$=Lo(),le=su(),G=pr(),re=Wy(),oe=$c(),te=Qy(),Z=ki(),z=Tt(),ae=Ai().forEach,k=H("hidden"),Y="Symbol",ge="prototype",Se=z.set,fe=z.getterFor(Y),Pe=Object[ge],Ae=n.Symbol,xe=Ae&&Ae[ge],_e=n.RangeError,Ge=n.TypeError,nr=n.QObject,lr=R.f,Le=F.f,Ve=O.f,Ke=x.f,Qe=a([].push),Me=J("symbols"),$e=J("op-symbols"),Je=J("wks"),mr=!nr||!nr[ge]||!nr[ge].findChild,br=function(Ee,we,he){var Ne=lr(Pe,we);Ne&&delete Pe[we],Le(Ee,we,he),Ne&&Ee!==Pe&&Le(Pe,we,Ne)},A=c&&d(function(){return w(Le({},"a",{get:function(){return Le(this,"a",{value:7}).a}})).a!==7})?br:Le,V=function(Ee,we){var he=Me[Ee]=w(xe);return Se(he,{type:Y,tag:Ee,description:we}),c||(he.description=we),he},q=function(we,he,Ne){we===Pe&&q($e,he,Ne),m(we);var He=h(he);return m(Ne),p(Me,He)?(Ne.enumerable?(p(we,k)&&we[k][He]&&(we[k][He]=!1),Ne=w(Ne,{enumerable:S(0,!1)})):(p(we,k)||Le(we,k,S(1,w(null))),we[k][He]=!0),A(we,He,Ne)):Le(we,He,Ne)},se=function(we,he){m(we);var Ne=g(he),He=C(Ne).concat(Fe(Ne));return ae(He,function(fr){(!c||i(X,Ne,fr))&&q(we,fr,Ne[fr])}),we},ne=function(we,he){return he===void 0?w(we):se(w(we),he)},X=function(we){var he=h(we),Ne=i(Ke,this,he);return this===Pe&&p(Me,he)&&!p($e,he)?!1:Ne||!p(this,he)||!p(Me,he)||p(this,k)&&this[k][he]?Ne:!0},ie=function(we,he){var Ne=g(we),He=h(he);if(!(Ne===Pe&&p(Me,He)&&!p($e,He))){var fr=lr(Ne,He);return fr&&p(Me,He)&&!(p(Ne,k)&&Ne[k][He])&&(fr.enumerable=!0),fr}},be=function(we){var he=Ve(g(we)),Ne=[];return ae(he,function(He){!p(Me,He)&&!p($,He)&&Qe(Ne,He)}),Ne},Fe=function(Ee){var we=Ee===Pe,he=Ve(we?$e:g(Ee)),Ne=[];return ae(he,function(He){p(Me,He)&&(!we||p(Pe,He))&&Qe(Ne,Me[He])}),Ne};return f||(Ae=function(){if(y(xe,this))throw new Ge("Symbol is not a constructor");var we=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),he=le(we),Ne=function(He){var fr=this===void 0?n:this;fr===Pe&&i(Ne,$e,He),p(fr,k)&&p(fr[k],he)&&(fr[k][he]=!1);var zt=S(1,He);try{A(fr,he,zt)}catch(jt){if(!(jt instanceof _e))throw jt;br(fr,he,zt)}};return c&&mr&&A(Pe,he,{configurable:!0,set:Ne}),V(he,we)},xe=Ae[ge],L(xe,"toString",function(){return fe(this).tag}),L(Ae,"withoutSetter",function(Ee){return V(le(Ee),Ee)}),x.f=X,F.f=q,j.f=se,R.f=ie,N.f=O.f=be,T.f=Fe,re.f=function(Ee){return V(G(Ee),Ee)},c&&(U(xe,"description",{configurable:!0,get:function(){return fe(this).description}}),l||L(Pe,"propertyIsEnumerable",X,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Ae}),ae(C(Je),function(Ee){oe(Ee)}),t({target:Y,stat:!0,forced:!f},{useSetter:function(){mr=!0},useSimple:function(){mr=!1}}),t({target:"Object",stat:!0,forced:!f,sham:!c},{create:ne,defineProperty:q,defineProperties:se,getOwnPropertyDescriptor:ie}),t({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:be}),te(),Z(Ae,Y),$[k]=!0,d1}var oh={},Jc,ah;function uh(){if(ah)return Jc;ah=1;var t=Ri();return Jc=t&&!!Symbol.for&&!!Symbol.keyFor,Jc}var lh;function QS(){if(lh)return oh;lh=1;var t=je(),n=Pt(),i=Rr(),a=at(),l=Pi(),c=uh(),f=l("string-to-symbol-registry"),d=l("symbol-to-string-registry");return t({target:"Symbol",stat:!0,forced:!c},{for:function(p){var y=a(p);if(i(f,y))return f[y];var m=n("Symbol")(y);return f[y]=m,d[m]=y,m}}),oh}var sh={},ch;function YS(){if(ch)return sh;ch=1;var t=je(),n=Rr(),i=Ao(),a=No(),l=Pi(),c=uh(),f=l("symbol-to-string-registry");return t({target:"Symbol",stat:!0,forced:!c},{keyFor:function(p){if(!i(p))throw new TypeError(a(p)+" is not a symbol");if(n(f,p))return f[p]}}),sh}var fh={},ef,dh;function Ni(){if(dh)return ef;dh=1;var t=jo(),n=Function.prototype,i=n.apply,a=n.call;return ef=typeof Reflect=="object"&&Reflect.apply||(t?a.bind(i):function(){return a.apply(i,arguments)}),ef}var rf,vh;function ZS(){if(vh)return rf;vh=1;var t=rr(),n=Zn(),i=vr(),a=mt(),l=at(),c=t([].push);return rf=function(f){if(i(f))return f;if(n(f)){for(var d=f.length,p=[],y=0;y<d;y++){var m=f[y];typeof m=="string"?c(p,m):(typeof m=="number"||a(m)==="Number"||a(m)==="String")&&c(p,l(m))}var g=p.length,h=!0;return function(b,S){if(h)return h=!1,S;if(n(this))return S;for(var w=0;w<g;w++)if(p[w]===b)return S}}},rf}var ph;function yh(){if(ph)return fh;ph=1;var t=je(),n=Pt(),i=Ni(),a=dr(),l=rr(),c=We(),f=vr(),d=Ao(),p=ji(),y=ZS(),m=Ri(),g=String,h=n("JSON","stringify"),b=l(/./.exec),S=l("".charAt),w=l("".charCodeAt),C=l("".replace),N=l(1.1.toString),O=/[\uD800-\uDFFF]/g,T=/^[\uD800-\uDBFF]$/,R=/^[\uDC00-\uDFFF]$/,F=!m||c(function(){var U=n("Symbol")("stringify detection");return h([U])!=="[null]"||h({a:U})!=="{}"||h(Object(U))!=="{}"}),j=c(function(){return h("\uDF06\uD834")!=='"\\udf06\\ud834"'||h("\uDEAD")!=='"\\udead"'}),x=function(U,J){var H=p(arguments),$=y(J);if(!(!f($)&&(U===void 0||d(U))))return H[1]=function(le,G){if(f($)&&(G=a($,this,g(le),G)),!d(G))return G},i(h,null,H)},L=function(U,J,H){var $=S(H,J-1),le=S(H,J+1);return b(T,U)&&!b(R,le)||b(R,U)&&!b(T,$)?"\\u"+N(w(U,0),16):U};return h&&t({target:"JSON",stat:!0,arity:3,forced:F||j},{stringify:function(J,H,$){var le=p(arguments),G=i(F?x:h,null,le);return j&&typeof G=="string"?C(G,O,L):G}}),fh}var hh={},mh;function XS(){if(mh)return hh;mh=1;var t=je(),n=Ri(),i=We(),a=bc(),l=gt(),c=!n||i(function(){a.f(1)});return t({target:"Object",stat:!0,forced:c},{getOwnPropertySymbols:function(d){var p=a.f;return p?p(l(d)):[]}}),hh}var gh;function JS(){return gh||(gh=1,KS(),QS(),YS(),yh(),XS()),f1}JS();var wh={},bh;function e8(){if(bh)return wh;bh=1;var t=je(),n=ur(),i=Xe(),a=rr(),l=Rr(),c=vr(),f=yn(),d=at(),p=hn(),y=Cc(),m=i.Symbol,g=m&&m.prototype;if(n&&c(m)&&(!("description"in g)||m().description!==void 0)){var h={},b=function(){var F=arguments.length<1||arguments[0]===void 0?void 0:d(arguments[0]),j=f(g,this)?new m(F):F===void 0?m():m(F);return F===""&&(h[j]=!0),j};y(b,m),b.prototype=g,g.constructor=b;var S=String(m("description detection"))==="Symbol(description detection)",w=a(g.valueOf),C=a(g.toString),N=/^Symbol\((.*)\)[^)]+$/,O=a("".replace),T=a("".slice);p(g,"description",{configurable:!0,get:function(){var F=w(this);if(l(h,F))return"";var j=C(F),x=S?T(j,7,-1):O(j,N,"$1");return x===""?void 0:x}}),t({global:!0,constructor:!0,forced:!0},{Symbol:b})}return wh}e8();var Sh={},Eh;function r8(){if(Eh)return Sh;Eh=1;var t=$c();return t("iterator"),Sh}r8();var Ch={},_h;function t8(){if(_h)return Ch;_h=1;var t=$c(),n=Qy();return t("toPrimitive"),n(),Ch}t8();var Oh={},tf,xh;function n8(){if(xh)return tf;xh=1;var t=rr(),n=Mr();return tf=function(i,a,l){try{return t(n(Object.getOwnPropertyDescriptor(i,a)[l]))}catch(c){}},tf}var nf,Ih;function Rh(){if(Ih)return nf;Ih=1;var t=Ir();return nf=function(n){return t(n)||n===null},nf}var of,Ph;function i8(){if(Ph)return of;Ph=1;var t=Rh(),n=String,i=TypeError;return of=function(a){if(t(a))return a;throw new i("Can't set "+n(a)+" as a prototype")},of}var af,Th;function qo(){if(Th)return af;Th=1;var t=n8(),n=Ir(),i=pn(),a=i8();return af=Object.setPrototypeOf||("__proto__"in{}?function(){var l=!1,c={},f;try{f=t(Object.prototype,"__proto__","set"),f(c,[]),l=c instanceof Array}catch(d){}return function(p,y){return i(p),a(y),n(p)&&(l?f(p,y):p.__proto__=y),p}}():void 0),af}var uf,jh;function kh(){if(jh)return uf;jh=1;var t=ot().f;return uf=function(n,i,a){a in n||t(n,a,{configurable:!0,get:function(){return i[a]},set:function(l){i[a]=l}})},uf}var lf,Ah;function hu(){if(Ah)return lf;Ah=1;var t=vr(),n=Ir(),i=qo();return lf=function(a,l,c){var f,d;return i&&t(f=l.constructor)&&f!==c&&n(d=f.prototype)&&d!==c.prototype&&i(a,d),a},lf}var sf,Nh;function Dh(){if(Nh)return sf;Nh=1;var t=at();return sf=function(n,i){return n===void 0?arguments.length<2?"":i:t(n)},sf}var cf,Fh;function o8(){if(Fh)return cf;Fh=1;var t=Ir(),n=Xt();return cf=function(i,a){t(a)&&"cause"in a&&n(i,"cause",a.cause)},cf}var ff,Lh;function a8(){if(Lh)return ff;Lh=1;var t=rr(),n=Error,i=t("".replace),a=function(f){return String(new n(f).stack)}("zxcasd"),l=/\n\s*at [^:]*:[^\n]*/,c=l.test(a);return ff=function(f,d){if(c&&typeof f=="string"&&!n.prepareStackTrace)for(;d--;)f=i(f,l,"");return f},ff}var df,Mh;function u8(){if(Mh)return df;Mh=1;var t=We(),n=Oi();return df=!t(function(){var i=new Error("a");return"stack"in i?(Object.defineProperty(i,"stack",n(1,7)),i.stack!==7):!0}),df}var vf,qh;function l8(){if(qh)return vf;qh=1;var t=Xt(),n=a8(),i=u8(),a=Error.captureStackTrace;return vf=function(l,c,f,d){i&&(a?a(l,c):t(l,"stack",n(f,d)))},vf}var pf,Bh;function s8(){if(Bh)return pf;Bh=1;var t=Pt(),n=Rr(),i=Xt(),a=yn(),l=qo(),c=Cc(),f=kh(),d=hu(),p=Dh(),y=o8(),m=l8(),g=ur(),h=Hr();return pf=function(b,S,w,C){var N="stackTraceLimit",O=C?2:1,T=b.split("."),R=T[T.length-1],F=t.apply(null,T);if(F){var j=F.prototype;if(!h&&n(j,"cause")&&delete j.cause,!w)return F;var x=t("Error"),L=S(function(U,J){var H=p(C?J:U,void 0),$=C?new F(U):new F;return H!==void 0&&i($,"message",H),m($,L,$.stack,2),this&&a(j,this)&&d($,this,L),arguments.length>O&&y($,arguments[O]),$});if(L.prototype=j,R!=="Error"?l?l(L,x):c(L,x,{name:!0}):g&&N in F&&(f(L,F,N),f(L,F,"prepareStackTrace")),c(L,F),!h)try{j.name!==R&&i(j,"name",R),j.constructor=L}catch(U){}return L}},pf}var Vh;function c8(){if(Vh)return Oh;Vh=1;var t=je(),n=Xe(),i=Ni(),a=s8(),l="WebAssembly",c=n[l],f=new Error("e",{cause:7}).cause!==7,d=function(y,m){var g={};g[y]=a(y,m,f),t({global:!0,constructor:!0,arity:1,forced:f},g)},p=function(y,m){if(c&&c[y]){var g={};g[y]=a(l+"."+y,m,f),t({target:l,stat:!0,constructor:!0,arity:1,forced:f},g)}};return d("Error",function(y){return function(g){return i(y,this,arguments)}}),d("EvalError",function(y){return function(g){return i(y,this,arguments)}}),d("RangeError",function(y){return function(g){return i(y,this,arguments)}}),d("ReferenceError",function(y){return function(g){return i(y,this,arguments)}}),d("SyntaxError",function(y){return function(g){return i(y,this,arguments)}}),d("TypeError",function(y){return function(g){return i(y,this,arguments)}}),d("URIError",function(y){return function(g){return i(y,this,arguments)}}),p("CompileError",function(y){return function(g){return i(y,this,arguments)}}),p("LinkError",function(y){return function(g){return i(y,this,arguments)}}),p("RuntimeError",function(y){return function(g){return i(y,this,arguments)}}),Oh}c8();var $h={},yf,Uh;function f8(){if(Uh)return yf;Uh=1;var t=ur(),n=We(),i=yr(),a=Dh(),l=Error.prototype.toString,c=n(function(){if(t){var f=Object.create(Object.defineProperty({},"name",{get:function(){return this===f}}));if(l.call(f)!=="true")return!0}return l.call({message:1,name:2})!=="2: 1"||l.call({})!=="Error"});return yf=c?function(){var d=i(this),p=a(d.name,"Error"),y=a(d.message);return p?y?p+": "+y:p:y}:l,yf}var zh;function d8(){if(zh)return $h;zh=1;var t=Yr(),n=f8(),i=Error.prototype;return i.toString!==n&&t(i,"toString",n),$h}d8();var hf,Wh;function mu(){if(Wh)return hf;Wh=1;var t=pr(),n=en(),i=ot().f,a=t("unscopables"),l=Array.prototype;return l[a]===void 0&&i(l,a,{configurable:!0,value:n(null)}),hf=function(c){l[a][c]=!0},hf}var mf,Hh;function Bo(){return Hh||(Hh=1,mf={}),mf}var gf,Gh;function Kh(){if(Gh)return gf;Gh=1;var t=We();return gf=!t(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype}),gf}var wf,Qh;function Vo(){if(Qh)return wf;Qh=1;var t=Rr(),n=vr(),i=gt(),a=fu(),l=Kh(),c=a("IE_PROTO"),f=Object,d=f.prototype;return wf=l?f.getPrototypeOf:function(p){var y=i(p);if(t(y,c))return y[c];var m=y.constructor;return n(m)&&y instanceof m?m.prototype:y instanceof f?d:null},wf}var bf,Yh;function gu(){if(Yh)return bf;Yh=1;var t=We(),n=vr(),i=Ir(),a=en(),l=Vo(),c=Yr(),f=pr(),d=Hr(),p=f("iterator"),y=!1,m,g,h;[].keys&&(h=[].keys(),"next"in h?(g=l(l(h)),g!==Object.prototype&&(m=g)):y=!0);var b=!i(m)||t(function(){var S={};return m[p].call(S)!==S});return b?m={}:d&&(m=a(m)),n(m[p])||c(m,p,function(){return this}),bf={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:y},bf}var Sf,Zh;function Xh(){if(Zh)return Sf;Zh=1;var t=gu().IteratorPrototype,n=en(),i=Oi(),a=ki(),l=Bo(),c=function(){return this};return Sf=function(f,d,p,y){var m=d+" Iterator";return f.prototype=n(t,{next:i(+!y,p)}),a(f,m,!1,!0),l[m]=c,f},Sf}var Ef,Jh;function Cf(){if(Jh)return Ef;Jh=1;var t=je(),n=dr(),i=Hr(),a=Fo(),l=vr(),c=Xh(),f=Vo(),d=qo(),p=ki(),y=Xt(),m=Yr(),g=pr(),h=Bo(),b=gu(),S=a.PROPER,w=a.CONFIGURABLE,C=b.IteratorPrototype,N=b.BUGGY_SAFARI_ITERATORS,O=g("iterator"),T="keys",R="values",F="entries",j=function(){return this};return Ef=function(x,L,U,J,H,$,le){c(U,L,J);var G=function(Se){if(Se===H&&z)return z;if(!N&&Se&&Se in te)return te[Se];switch(Se){case T:return function(){return new U(this,Se)};case R:return function(){return new U(this,Se)};case F:return function(){return new U(this,Se)}}return function(){return new U(this)}},re=L+" Iterator",oe=!1,te=x.prototype,Z=te[O]||te["@@iterator"]||H&&te[H],z=!N&&Z||G(H),ae=L==="Array"&&te.entries||Z,k,Y,ge;if(ae&&(k=f(ae.call(new x)),k!==Object.prototype&&k.next&&(!i&&f(k)!==C&&(d?d(k,C):l(k[O])||m(k,O,j)),p(k,re,!0,!0),i&&(h[re]=j))),S&&H===R&&Z&&Z.name!==R&&(!i&&w?y(te,"name",R):(oe=!0,z=function(){return n(Z,this)})),H)if(Y={values:G(R),keys:$?z:G(T),entries:G(F)},le)for(ge in Y)(N||oe||!(ge in te))&&m(te,ge,Y[ge]);else t({target:L,proto:!0,forced:N||oe},Y);return(!i||le)&&te[O]!==z&&m(te,O,z,{name:H}),h[L]=z,Y},Ef}var _f,e0;function $o(){return e0||(e0=1,_f=function(t,n){return{value:t,done:n}}),_f}var Of,r0;function t0(){if(r0)return Of;r0=1;var t=Rt(),n=mu(),i=Bo(),a=Tt(),l=ot().f,c=Cf(),f=$o(),d=Hr(),p=ur(),y="Array Iterator",m=a.set,g=a.getterFor(y);Of=c(Array,"Array",function(b,S){m(this,{type:y,target:t(b),index:0,kind:S})},function(){var b=g(this),S=b.target,w=b.index++;if(!S||w>=S.length)return b.target=null,f(void 0,!0);switch(b.kind){case"keys":return f(w,!1);case"values":return f(S[w],!1)}return f([w,S[w]],!1)},"values");var h=i.Arguments=i.Array;if(n("keys"),n("values"),n("entries"),!d&&p&&h.name!=="values")try{l(h,"name",{value:"values"})}catch(b){}return Of}t0();var n0={},xf,i0;function v8(){if(i0)return xf;i0=1;var t=yr(),n=B1(),i=TypeError;return xf=function(a){if(t(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new i("Incorrect hint");return n(this,a)},xf}var o0;function p8(){if(o0)return n0;o0=1;var t=Rr(),n=Yr(),i=v8(),a=pr(),l=a("toPrimitive"),c=Date.prototype;return t(c,l)||n(c,l,i),n0}p8();var a0={},If,u0;function l0(){if(u0)return If;u0=1;var t=rr(),n=Mr(),i=Ir(),a=Rr(),l=ji(),c=jo(),f=Function,d=t([].concat),p=t([].join),y={},m=function(g,h,b){if(!a(y,h)){for(var S=[],w=0;w<h;w++)S[w]="a["+w+"]";y[h]=f("C,a","return new C("+p(S,",")+")")}return y[h](g,b)};return If=c?f.bind:function(h){var b=n(this),S=b.prototype,w=l(arguments,1),C=function(){var O=d(w,l(arguments));return this instanceof C?m(b,O.length,O):b.apply(h,O)};return i(S)&&(C.prototype=S),C},If}var s0;function y8(){if(s0)return a0;s0=1;var t=je(),n=l0();return t({target:"Function",proto:!0,forced:Function.bind!==n},{bind:n}),a0}y8();var c0={},Rf,f0;function h8(){if(f0)return Rf;f0=1;var t=rr();return Rf=t(1.1.valueOf),Rf}var Pf,d0;function v0(){return d0||(d0=1,Pf=`
18
- \v\f\r                 \u2028\u2029\uFEFF`),Pf}var Tf,p0;function y0(){if(p0)return Tf;p0=1;var t=rr(),n=pn(),i=at(),a=v0(),l=t("".replace),c=RegExp("^["+a+"]+"),f=RegExp("(^|[^"+a+"])["+a+"]+$"),d=function(p){return function(y){var m=i(n(y));return p&1&&(m=l(m,c,"")),p&2&&(m=l(m,f,"$1")),m}};return Tf={start:d(1),end:d(2),trim:d(3)},Tf}var h0;function m8(){if(h0)return c0;h0=1;var t=je(),n=Hr(),i=ur(),a=Xe(),l=Bc(),c=rr(),f=Mo(),d=Rr(),p=hu(),y=yn(),m=Ao(),g=$s(),h=We(),b=Ti().f,S=Qn().f,w=ot().f,C=h8(),N=y0().trim,O="Number",T=a[O],R=l[O],F=T.prototype,j=a.TypeError,x=c("".slice),L=c("".charCodeAt),U=function(re){var oe=g(re,"number");return typeof oe=="bigint"?oe:J(oe)},J=function(re){var oe=g(re,"number"),te,Z,z,ae,k,Y,ge,Se;if(m(oe))throw new j("Cannot convert a Symbol value to a number");if(typeof oe=="string"&&oe.length>2){if(oe=N(oe),te=L(oe,0),te===43||te===45){if(Z=L(oe,2),Z===88||Z===120)return NaN}else if(te===48){switch(L(oe,1)){case 66:case 98:z=2,ae=49;break;case 79:case 111:z=8,ae=55;break;default:return+oe}for(k=x(oe,2),Y=k.length,ge=0;ge<Y;ge++)if(Se=L(k,ge),Se<48||Se>ae)return NaN;return parseInt(k,z)}}return+oe},H=f(O,!T(" 0o1")||!T("0b1")||T("+0x1")),$=function(re){return y(F,re)&&h(function(){C(re)})},le=function(oe){var te=arguments.length<1?0:T(U(oe));return $(this)?p(Object(te),this,le):te};le.prototype=F,H&&!n&&(F.constructor=le),t({global:!0,constructor:!0,wrap:!0,forced:H},{Number:le});var G=function(re,oe){for(var te=i?b(oe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Z=0,z;te.length>Z;Z++)d(oe,z=te[Z])&&!d(re,z)&&w(re,z,S(oe,z))};return n&&R&&G(l[O],R),(H||n)&&G(l[O],T),c0}m8();var m0={},g0;function g8(){if(g0)return m0;g0=1;var t=je(),n=ur(),i=en();return t({target:"Object",stat:!0,sham:!n},{create:i}),m0}g8();var w0={},b0;function w8(){if(b0)return w0;b0=1;var t=je(),n=ur(),i=ot().f;return t({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!n},{defineProperty:i}),w0}w8();var S0={},E0;function b8(){if(E0)return S0;E0=1;var t=je(),n=We(),i=gt(),a=Vo(),l=Kh(),c=n(function(){a(1)});return t({target:"Object",stat:!0,forced:c,sham:!l},{getPrototypeOf:function(d){return a(i(d))}}),S0}b8();var C0={},_0;function S8(){if(_0)return C0;_0=1;var t=ur(),n=hn(),i=Ir(),a=Rh(),l=gt(),c=pn(),f=Object.getPrototypeOf,d=Object.setPrototypeOf,p=Object.prototype,y="__proto__";if(t&&f&&d&&!(y in p))try{n(p,y,{configurable:!0,get:function(){return f(l(this))},set:function(g){var h=c(this);a(g)&&i(h)&&d(h,g)}})}catch(m){}return C0}S8();var O0={},x0;function E8(){if(x0)return O0;x0=1;var t=je(),n=qo();return t({target:"Object",stat:!0},{setPrototypeOf:n}),O0}E8();var I0={},jf,R0;function C8(){if(R0)return jf;R0=1;var t=Ic(),n=du();return jf=t?{}.toString:function(){return"[object "+n(this)+"]"},jf}var P0;function _8(){if(P0)return I0;P0=1;var t=Ic(),n=Yr(),i=C8();return t||n(Object.prototype,"toString",i,{unsafe:!0}),I0}_8();var T0={},kf,j0;function k0(){if(j0)return kf;j0=1;var t=ur(),n=We(),i=rr(),a=Vo(),l=vu(),c=Rt(),f=cs().f,d=i(f),p=i([].push),y=t&&n(function(){var g=Object.create(null);return g[2]=2,!d(g,2)}),m=function(g){return function(h){for(var b=c(h),S=l(b),w=y&&a(b)===null,C=S.length,N=0,O=[],T;C>N;)T=S[N++],(!t||(w?T in b:d(b,T)))&&p(O,g?[T,b[T]]:b[T]);return O}};return kf={entries:m(!0),values:m(!1)},kf}var A0;function O8(){if(A0)return T0;A0=1;var t=je(),n=k0().values;return t({target:"Object",stat:!0},{values:function(a){return n(a)}}),T0}O8();var N0={},Af,D0;function F0(){if(D0)return Af;D0=1;var t=yu(),n=No(),i=TypeError;return Af=function(a){if(t(a))return a;throw new i(n(a)+" is not a constructor")},Af}var L0;function x8(){if(L0)return N0;L0=1;var t=je(),n=Pt(),i=Ni(),a=l0(),l=F0(),c=yr(),f=Ir(),d=en(),p=We(),y=n("Reflect","construct"),m=Object.prototype,g=[].push,h=p(function(){function w(){}return!(y(function(){},[],w)instanceof w)}),b=!p(function(){y(function(){})}),S=h||b;return t({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(C,N){l(C),c(N);var O=arguments.length<3?C:l(arguments[2]);if(b&&!h)return y(C,N,O);if(C===O){switch(N.length){case 0:return new C;case 1:return new C(N[0]);case 2:return new C(N[0],N[1]);case 3:return new C(N[0],N[1],N[2]);case 4:return new C(N[0],N[1],N[2],N[3])}var T=[null];return i(g,T,N),new(i(a,C,T))}var R=O.prototype,F=d(f(R)?R:m),j=i(C,F,N);return f(j)?j:F}}),N0}x8();var M0={},Nf,q0;function B0(){if(q0)return Nf;q0=1;var t=rr(),n=sc(),i=at(),a=pn(),l=t("".charAt),c=t("".charCodeAt),f=t("".slice),d=function(p){return function(y,m){var g=i(a(y)),h=n(m),b=g.length,S,w;return h<0||h>=b?p?"":void 0:(S=c(g,h),S<55296||S>56319||h+1===b||(w=c(g,h+1))<56320||w>57343?p?l(g,h):S:p?f(g,h,h+2):(S-55296<<10)+(w-56320)+65536)}};return Nf={codeAt:d(!1),charAt:d(!0)},Nf}var V0;function I8(){if(V0)return M0;V0=1;var t=B0().charAt,n=at(),i=Tt(),a=Cf(),l=$o(),c="String Iterator",f=i.set,d=i.getterFor(c);return a(String,"String",function(p){f(this,{type:c,string:n(p),index:0})},function(){var y=d(this),m=y.string,g=y.index,h;return g>=m.length?l(void 0,!0):(h=t(m,g),y.index+=h.length,l(h,!1))}),M0}I8();var $0={},Df,U0;function z0(){return U0||(U0=1,Df={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),Df}var Ff,W0;function H0(){if(W0)return Ff;W0=1;var t=cu(),n=t("span").classList,i=n&&n.constructor&&n.constructor.prototype;return Ff=i===Object.prototype?void 0:i,Ff}var G0;function R8(){if(G0)return $0;G0=1;var t=Xe(),n=z0(),i=H0(),a=t0(),l=Xt(),c=ki(),f=pr(),d=f("iterator"),p=a.values,y=function(g,h){if(g){if(g[d]!==p)try{l(g,d,p)}catch(S){g[d]=p}if(c(g,h,!0),n[h]){for(var b in a)if(g[b]!==a[b])try{l(g,b,a[b])}catch(S){g[b]=a[b]}}}};for(var m in n)y(t[m]&&t[m].prototype,m);return y(i,"DOMTokenList"),$0}R8();var K0={},Q0={},Lf,Y0;function Mf(){if(Y0)return Lf;Y0=1;var t=Xe(),n=Ii(),i=mt(),a=function(l){return n.slice(0,l.length)===l};return Lf=function(){return a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":t.Bun&&typeof Bun.version=="string"?"BUN":t.Deno&&typeof Deno.version=="object"?"DENO":i(t.process)==="process"?"NODE":t.window&&t.document?"BROWSER":"REST"}(),Lf}var qf,Z0;function X0(){if(Z0)return qf;Z0=1;var t=TypeError;return qf=function(n,i){if(n<i)throw new t("Not enough arguments");return n},qf}var Bf,J0;function em(){if(J0)return Bf;J0=1;var t=Xe(),n=Ni(),i=vr(),a=Mf(),l=Ii(),c=ji(),f=X0(),d=t.Function,p=/MSIE .\./.test(l)||a==="BUN"&&function(){var y=t.Bun.version.split(".");return y.length<3||y[0]==="0"&&(y[1]<3||y[1]==="3"&&y[2]==="0")}();return Bf=function(y,m){var g=m?2:1;return p?function(h,b){var S=f(arguments.length,1)>g,w=i(h)?h:d(h),C=S?c(arguments,g):[],N=S?function(){n(w,this,C)}:w;return m?y(N,b):y(N)}:y},Bf}var rm;function P8(){if(rm)return Q0;rm=1;var t=je(),n=Xe(),i=em(),a=i(n.setInterval,!0);return t({global:!0,bind:!0,forced:n.setInterval!==a},{setInterval:a}),Q0}var tm={},nm;function T8(){if(nm)return tm;nm=1;var t=je(),n=Xe(),i=em(),a=i(n.setTimeout,!0);return t({global:!0,bind:!0,forced:n.setTimeout!==a},{setTimeout:a}),tm}var im;function j8(){return im||(im=1,P8(),T8()),K0}j8();var om={},Vf,am;function $f(){if(am)return Vf;am=1;var t=TypeError,n=9007199254740991;return Vf=function(i){if(i>n)throw t("Maximum allowed index exceeded");return i},Vf}var Uf,um;function Uo(){if(um)return Uf;um=1;var t=ur(),n=ot(),i=Oi();return Uf=function(a,l,c){t?n.f(a,l,i(0,c)):a[l]=c},Uf}var zf,lm;function wu(){if(lm)return zf;lm=1;var t=We(),n=pr(),i=ko(),a=n("species");return zf=function(l){return i>=51||!t(function(){var c=[],f=c.constructor={};return f[a]=function(){return{foo:1}},c[l](Boolean).foo!==1})},zf}var sm;function k8(){if(sm)return om;sm=1;var t=je(),n=We(),i=Zn(),a=Ir(),l=gt(),c=Jt(),f=$f(),d=Uo(),p=Zc(),y=wu(),m=pr(),g=ko(),h=m("isConcatSpreadable"),b=g>=51||!n(function(){var C=[];return C[h]=!1,C.concat()[0]!==C}),S=function(C){if(!a(C))return!1;var N=C[h];return N!==void 0?!!N:i(C)},w=!b||!y("concat");return t({target:"Array",proto:!0,arity:1,forced:w},{concat:function(N){var O=l(this),T=p(O,0),R=0,F,j,x,L,U;for(F=-1,x=arguments.length;F<x;F++)if(U=F===-1?O:arguments[F],S(U))for(L=c(U),f(R+L),j=0;j<L;j++,R++)j in U&&d(T,R,U[j]);else f(R+1),d(T,R++,U);return T.length=R,T}}),om}k8();var cm={},fm;function A8(){if(fm)return cm;fm=1;var t=je(),n=Ai().find,i=mu(),a="find",l=!0;return a in[]&&Array(1)[a](function(){l=!1}),t({target:"Array",proto:!0,forced:l},{find:function(f){return n(this,f,arguments.length>1?arguments[1]:void 0)}}),i(a),cm}A8();var dm={},Wf,vm;function zo(){if(vm)return Wf;vm=1;var t=We();return Wf=function(n,i){var a=[][n];return!!a&&t(function(){a.call(null,i||function(){return 1},1)})},Wf}var pm;function N8(){if(pm)return dm;pm=1;var t=je(),n=pu(),i=yc().indexOf,a=zo(),l=n([].indexOf),c=!!l&&1/l([1],1,-0)<0,f=c||!a("indexOf");return t({target:"Array",proto:!0,forced:f},{indexOf:function(p){var y=arguments.length>1?arguments[1]:void 0;return c?l(this,p,y)||0:i(this,p,y)}}),dm}N8();var ym={},hm;function D8(){if(hm)return ym;hm=1;var t=je(),n=rr(),i=lu(),a=Rt(),l=zo(),c=n([].join),f=i!==Object,d=f||!l("join",",");return t({target:"Array",proto:!0,forced:d},{join:function(y){return c(a(this),y===void 0?",":y)}}),ym}D8();var mm={},Hf,gm;function F8(){if(gm)return Hf;gm=1;var t=ur(),n=Zn(),i=TypeError,a=Object.getOwnPropertyDescriptor,l=t&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(c){return c instanceof TypeError}}();return Hf=l?function(c,f){if(n(c)&&!a(c,"length").writable)throw new i("Cannot set read only .length");return c.length=f}:function(c,f){return c.length=f},Hf}var wm;function L8(){if(wm)return mm;wm=1;var t=je(),n=gt(),i=Jt(),a=F8(),l=$f(),c=We(),f=c(function(){return[].push.call({length:4294967296},1)!==4294967297}),d=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(y){return y instanceof TypeError}},p=f||!d();return t({target:"Array",proto:!0,arity:1,forced:p},{push:function(m){var g=n(this),h=i(g),b=arguments.length;l(h+b);for(var S=0;S<b;S++)g[h]=arguments[S],h++;return a(g,h),h}}),mm}L8();var bm={},Sm;function M8(){if(Sm)return bm;Sm=1;var t=rr(),n=Yr(),i=Date.prototype,a="Invalid Date",l="toString",c=t(i[l]),f=t(i.getTime);return String(new Date(NaN))!==a&&n(i,l,function(){var p=f(this);return p===p?c(this):a}),bm}M8();var Em={},Cm={},Gf={exports:{}},Kf,_m;function q8(){if(_m)return Kf;_m=1;var t=We();return Kf=t(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}}),Kf}var Qf,Om;function B8(){if(Om)return Qf;Om=1;var t=We(),n=Ir(),i=mt(),a=q8(),l=Object.isExtensible,c=t(function(){});return Qf=c||a?function(d){return!n(d)||a&&i(d)==="ArrayBuffer"?!1:l?l(d):!0}:l,Qf}var Yf,xm;function V8(){if(xm)return Yf;xm=1;var t=We();return Yf=!t(function(){return Object.isExtensible(Object.preventExtensions({}))}),Yf}var Im;function Rm(){if(Im)return Gf.exports;Im=1;var t=je(),n=rr(),i=Lo(),a=Ir(),l=Rr(),c=ot().f,f=Ti(),d=$y(),p=B8(),y=su(),m=V8(),g=!1,h=y("meta"),b=0,S=function(R){c(R,h,{value:{objectID:"O"+b++,weakData:{}}})},w=function(R,F){if(!a(R))return typeof R=="symbol"?R:(typeof R=="string"?"S":"P")+R;if(!l(R,h)){if(!p(R))return"F";if(!F)return"E";S(R)}return R[h].objectID},C=function(R,F){if(!l(R,h)){if(!p(R))return!0;if(!F)return!1;S(R)}return R[h].weakData},N=function(R){return m&&g&&p(R)&&!l(R,h)&&S(R),R},O=function(){T.enable=function(){},g=!0;var R=f.f,F=n([].splice),j={};j[h]=1,R(j).length&&(f.f=function(x){for(var L=R(x),U=0,J=L.length;U<J;U++)if(L[U]===h){F(L,U,1);break}return L},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f}))},T=Gf.exports={enable:O,fastKey:w,getWeakData:C,onFreeze:N};return i[h]=!0,Gf.exports}var Zf,Pm;function Tm(){if(Pm)return Zf;Pm=1;var t=pr(),n=Bo(),i=t("iterator"),a=Array.prototype;return Zf=function(l){return l!==void 0&&(n.Array===l||a[i]===l)},Zf}var Xf,jm;function bu(){if(jm)return Xf;jm=1;var t=du(),n=Do(),i=xi(),a=Bo(),l=pr(),c=l("iterator");return Xf=function(f){if(!i(f))return n(f,c)||n(f,"@@iterator")||a[t(f)]},Xf}var Jf,km;function Am(){if(km)return Jf;km=1;var t=dr(),n=Mr(),i=yr(),a=No(),l=bu(),c=TypeError;return Jf=function(f,d){var p=arguments.length<2?l(f):d;if(n(p))return i(t(p,f));throw new c(a(f)+" is not iterable")},Jf}var ed,Nm;function Bt(){if(Nm)return ed;Nm=1;var t=dr(),n=yr(),i=Do();return ed=function(a,l,c){var f,d;n(a);try{if(f=i(a,"return"),!f){if(l==="throw")throw c;return c}f=t(f,a)}catch(p){d=!0,f=p}if(l==="throw")throw c;if(d)throw f;return n(f),c},ed}var rd,Dm;function mn(){if(Dm)return rd;Dm=1;var t=Yn(),n=dr(),i=yr(),a=No(),l=Tm(),c=Jt(),f=yn(),d=Am(),p=bu(),y=Bt(),m=TypeError,g=function(b,S){this.stopped=b,this.result=S},h=g.prototype;return rd=function(b,S,w){var C=w&&w.that,N=!!(w&&w.AS_ENTRIES),O=!!(w&&w.IS_RECORD),T=!!(w&&w.IS_ITERATOR),R=!!(w&&w.INTERRUPTED),F=t(S,C),j,x,L,U,J,H,$,le=function(re){return j&&y(j,"normal"),new g(!0,re)},G=function(re){return N?(i(re),R?F(re[0],re[1],le):F(re[0],re[1])):R?F(re,le):F(re)};if(O)j=b.iterator;else if(T)j=b;else{if(x=p(b),!x)throw new m(a(b)+" is not iterable");if(l(x)){for(L=0,U=c(b);U>L;L++)if(J=G(b[L]),J&&f(h,J))return J;return new g(!1)}j=d(b,x)}for(H=O?b.next:j.next;!($=n(H,j)).done;){try{J=G($.value)}catch(re){y(j,"throw",re)}if(typeof J=="object"&&J&&f(h,J))return J}return new g(!1)},rd}var td,Fm;function Su(){if(Fm)return td;Fm=1;var t=yn(),n=TypeError;return td=function(i,a){if(t(a,i))return i;throw new n("Incorrect invocation")},td}var nd,Lm;function id(){if(Lm)return nd;Lm=1;var t=pr(),n=t("iterator"),i=!1;try{var a=0,l={next:function(){return{done:!!a++}},return:function(){i=!0}};l[n]=function(){return this},Array.from(l,function(){throw 2})}catch(c){}return nd=function(c,f){try{if(!f&&!i)return!1}catch(y){return!1}var d=!1;try{var p={};p[n]=function(){return{next:function(){return{done:d=!0}}}},c(p)}catch(y){}return d},nd}var od,Mm;function $8(){if(Mm)return od;Mm=1;var t=je(),n=Xe(),i=rr(),a=Mo(),l=Yr(),c=Rm(),f=mn(),d=Su(),p=vr(),y=xi(),m=Ir(),g=We(),h=id(),b=ki(),S=hu();return od=function(w,C,N){var O=w.indexOf("Map")!==-1,T=w.indexOf("Weak")!==-1,R=O?"set":"add",F=n[w],j=F&&F.prototype,x=F,L={},U=function(oe){var te=i(j[oe]);l(j,oe,oe==="add"?function(z){return te(this,z===0?0:z),this}:oe==="delete"?function(Z){return T&&!m(Z)?!1:te(this,Z===0?0:Z)}:oe==="get"?function(z){return T&&!m(z)?void 0:te(this,z===0?0:z)}:oe==="has"?function(z){return T&&!m(z)?!1:te(this,z===0?0:z)}:function(z,ae){return te(this,z===0?0:z,ae),this})},J=a(w,!p(F)||!(T||j.forEach&&!g(function(){new F().entries().next()})));if(J)x=N.getConstructor(C,w,O,R),c.enable();else if(a(w,!0)){var H=new x,$=H[R](T?{}:-0,1)!==H,le=g(function(){H.has(1)}),G=h(function(oe){new F(oe)}),re=!T&&g(function(){for(var oe=new F,te=5;te--;)oe[R](te,te);return!oe.has(-0)});G||(x=C(function(oe,te){d(oe,j);var Z=S(new F,oe,x);return y(te)||f(te,Z[R],{that:Z,AS_ENTRIES:O}),Z}),x.prototype=j,j.constructor=x),(le||re)&&(U("delete"),U("has"),O&&U("get")),(re||$)&&U(R),T&&j.clear&&delete j.clear}return L[w]=x,t({global:!0,constructor:!0,forced:x!==F},L),b(x,w),T||N.setStrong(x,w,O),x},od}var ad,qm;function Bm(){if(qm)return ad;qm=1;var t=Yr();return ad=function(n,i,a){for(var l in i)t(n,l,i[l],a);return n},ad}var ud,Vm;function ld(){if(Vm)return ud;Vm=1;var t=Pt(),n=hn(),i=pr(),a=ur(),l=i("species");return ud=function(c){var f=t(c);a&&f&&!f[l]&&n(f,l,{configurable:!0,get:function(){return this}})},ud}var sd,$m;function U8(){if($m)return sd;$m=1;var t=en(),n=hn(),i=Bm(),a=Yn(),l=Su(),c=xi(),f=mn(),d=Cf(),p=$o(),y=ld(),m=ur(),g=Rm().fastKey,h=Tt(),b=h.set,S=h.getterFor;return sd={getConstructor:function(w,C,N,O){var T=w(function(L,U){l(L,R),b(L,{type:C,index:t(null),first:null,last:null,size:0}),m||(L.size=0),c(U)||f(U,L[O],{that:L,AS_ENTRIES:N})}),R=T.prototype,F=S(C),j=function(L,U,J){var H=F(L),$=x(L,U),le,G;return $?$.value=J:(H.last=$={index:G=g(U,!0),key:U,value:J,previous:le=H.last,next:null,removed:!1},H.first||(H.first=$),le&&(le.next=$),m?H.size++:L.size++,G!=="F"&&(H.index[G]=$)),L},x=function(L,U){var J=F(L),H=g(U),$;if(H!=="F")return J.index[H];for($=J.first;$;$=$.next)if($.key===U)return $};return i(R,{clear:function(){for(var U=this,J=F(U),H=J.first;H;)H.removed=!0,H.previous&&(H.previous=H.previous.next=null),H=H.next;J.first=J.last=null,J.index=t(null),m?J.size=0:U.size=0},delete:function(L){var U=this,J=F(U),H=x(U,L);if(H){var $=H.next,le=H.previous;delete J.index[H.index],H.removed=!0,le&&(le.next=$),$&&($.previous=le),J.first===H&&(J.first=$),J.last===H&&(J.last=le),m?J.size--:U.size--}return!!H},forEach:function(U){for(var J=F(this),H=a(U,arguments.length>1?arguments[1]:void 0),$;$=$?$.next:J.first;)for(H($.value,$.key,this);$&&$.removed;)$=$.previous},has:function(U){return!!x(this,U)}}),i(R,N?{get:function(U){var J=x(this,U);return J&&J.value},set:function(U,J){return j(this,U===0?0:U,J)}}:{add:function(U){return j(this,U=U===0?0:U,U)}}),m&&n(R,"size",{configurable:!0,get:function(){return F(this).size}}),T},setStrong:function(w,C,N){var O=C+" Iterator",T=S(C),R=S(O);d(w,C,function(F,j){b(this,{type:O,target:F,state:T(F),kind:j,last:null})},function(){for(var F=R(this),j=F.kind,x=F.last;x&&x.removed;)x=x.previous;return!F.target||!(F.last=x=x?x.next:F.state.first)?(F.target=null,p(void 0,!0)):p(j==="keys"?x.key:j==="values"?x.value:[x.key,x.value],!1)},N?"entries":"values",!N,!0),y(C)}},sd}var Um;function z8(){if(Um)return Cm;Um=1;var t=$8(),n=U8();return t("Map",function(i){return function(){return i(this,arguments.length?arguments[0]:void 0)}},n),Cm}var zm;function W8(){return zm||(zm=1,z8()),Em}W8();var Wm={},Hm;function H8(){if(Hm)return Wm;Hm=1;var t=je(),n=gt(),i=vu(),a=We(),l=a(function(){i(1)});return t({target:"Object",stat:!0,forced:l},{keys:function(f){return i(n(f))}}),Wm}H8();var Gm={},cd,Km;function G8(){if(Km)return cd;Km=1;var t=Xe(),n=We(),i=t.RegExp,a=!n(function(){var l=!0;try{i(".","d")}catch(h){l=!1}var c={},f="",d=l?"dgimsy":"gimsy",p=function(h,b){Object.defineProperty(c,h,{get:function(){return f+=b,!0}})},y={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};l&&(y.hasIndices="d");for(var m in y)p(m,y[m]);var g=Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(c);return g!==d||f!==d});return cd={correct:a},cd}var fd,Qm;function Ym(){if(Qm)return fd;Qm=1;var t=yr();return fd=function(){var n=t(this),i="";return n.hasIndices&&(i+="d"),n.global&&(i+="g"),n.ignoreCase&&(i+="i"),n.multiline&&(i+="m"),n.dotAll&&(i+="s"),n.unicode&&(i+="u"),n.unicodeSets&&(i+="v"),n.sticky&&(i+="y"),i},fd}var dd,Zm;function vd(){if(Zm)return dd;Zm=1;var t=dr(),n=Rr(),i=yn(),a=G8(),l=Ym(),c=RegExp.prototype;return dd=a.correct?function(f){return f.flags}:function(f){return!a.correct&&i(c,f)&&!n(f,"flags")?t(l,f):f.flags},dd}var Xm;function K8(){if(Xm)return Gm;Xm=1;var t=Fo().PROPER,n=Yr(),i=yr(),a=at(),l=We(),c=vd(),f="toString",d=RegExp.prototype,p=d[f],y=l(function(){return p.call({source:"a",flags:"b"})!=="/a/b"}),m=t&&p.name!==f;return(y||m)&&n(d,f,function(){var h=i(this),b=a(h.source),S=a(c(h));return"/"+b+"/"+S},{unsafe:!0}),Gm}K8();var Jm={},eg={},rg;function Q8(){if(rg)return eg;rg=1;var t=je(),n=Xe(),i=Su(),a=yr(),l=vr(),c=Vo(),f=hn(),d=Uo(),p=We(),y=Rr(),m=pr(),g=gu().IteratorPrototype,h=ur(),b=Hr(),S="constructor",w="Iterator",C=m("toStringTag"),N=TypeError,O=n[w],T=b||!l(O)||O.prototype!==g||!p(function(){O({})}),R=function(){if(i(this,g),c(this)===g)throw new N("Abstract class Iterator not directly constructable")},F=function(j,x){h?f(g,j,{configurable:!0,get:function(){return x},set:function(L){if(a(this),this===g)throw new N("You can't redefine this property");y(this,j)?this[j]=L:d(this,j,L)}}):g[j]=x};return y(g,C)||F(C,w),(T||!y(g,S)||g[S]===Object)&&F(S,R),R.prototype=g,t({global:!0,constructor:!0,forced:T},{Iterator:R}),eg}var tg;function Y8(){return tg||(tg=1,Q8()),Jm}Y8();var ng={},ig={},pd,og;function An(){return og||(og=1,pd=function(t){return{iterator:t,next:t.next,done:!1}}),pd}var yd,ag;function Xn(){if(ag)return yd;ag=1;var t=Xe();return yd=function(n,i){var a=t.Iterator,l=a&&a.prototype,c=l&&l[n],f=!1;if(c)try{c.call({next:function(){return{done:!0}},return:function(){f=!0}},-1)}catch(d){d instanceof i||(f=!1)}if(!f)return c},yd}var ug;function Z8(){if(ug)return ig;ug=1;var t=je(),n=dr(),i=mn(),a=Mr(),l=yr(),c=An(),f=Bt(),d=Xn(),p=d("find",TypeError);return t({target:"Iterator",proto:!0,real:!0,forced:p},{find:function(m){l(this);try{a(m)}catch(b){f(this,"throw",b)}if(p)return n(p,this,m);var g=c(this),h=0;return i(g,function(b,S){if(m(b,h++))return S(b)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),ig}var lg;function X8(){return lg||(lg=1,Z8()),ng}X8();function Di(t){"@babel/helpers - typeof";return Di=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Di(t)}function J8(t,n,i){return n=Ho(n),e5(t,md()?Reflect.construct(n,i||[],Ho(t).constructor):n.apply(t,i))}function e5(t,n){if(n&&(Di(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return r5(t)}function r5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t5(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Wo(t,n)}function hd(t){var n=typeof Map=="function"?new Map:void 0;return hd=function(a){if(a===null||!i5(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(n!==void 0){if(n.has(a))return n.get(a);n.set(a,l)}function l(){return n5(a,arguments,Ho(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Wo(l,a)},hd(t)}function n5(t,n,i){if(md())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,n);var l=new(t.bind.apply(t,a));return i&&Wo(l,i.prototype),l}function md(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(md=function(){return!!t})()}function i5(t){try{return Function.toString.call(t).indexOf("[native code]")!==-1}catch(n){return typeof t=="function"}}function Wo(t,n){return Wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},Wo(t,n)}function Ho(t){return Ho=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(t)}function sg(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function cg(t,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,dg(a.key),a)}}function fg(t,n,i){return n&&cg(t.prototype,n),i&&cg(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function rn(t,n,i){return(n=dg(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function dg(t){var n=o5(t,"string");return Di(n)=="symbol"?n:n+""}function o5(t,n){if(Di(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(Di(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var vg=function(){function t(n){var i=n.errorCode,a=n.errorCodeKey,l=n.message,c=n.underlyingError,f=n.underlyingBaseError,d=n.domain,p=n.module,y=n.errorEnumName,m=n.shortDomainCode;sg(this,t),rn(this,"errorCode",void 0),rn(this,"errorCodeKey",void 0),rn(this,"message",void 0),rn(this,"underlyingError",void 0),rn(this,"underlyingBaseError",void 0),rn(this,"domain",void 0),rn(this,"module",void 0),rn(this,"errorEnumName",void 0),rn(this,"shortDomainCode",void 0),this.errorCode=i,this.errorCodeKey=a,this.message=l,this.underlyingError=c,this.underlyingBaseError=f,this.module=p,this.domain=d,this.errorEnumName=y,this.shortDomainCode=m}return fg(t,[{key:"lastUnderlyingError",get:function(){for(var i,a=this.underlyingBaseError;((l=a)===null||l===void 0?void 0:l.underlyingBaseError)instanceof t;){var l;a=a.underlyingBaseError}return(i=a)===null||i===void 0?void 0:i.underlyingError}},{key:"toObject",value:function(){var i={errorCode:this.errorCode,errorCodeKey:this.errorCodeKey,errorEnumName:this.errorEnumName,message:this.message,module:this.module,underlyingError:this.underlyingError,lastUnderlineError:this.lastUnderlyingError};return this.underlyingBaseError&&this.underlyingBaseError instanceof t&&(i.underlyingBaseError=this.underlyingBaseError.toObject()),i}},{key:"shortChain",get:function(){var i="".concat(this.shortDomainCode,":").concat(this.errorCode).concat(this.underlyingError?"-"+this.underlyingError:"");return this.underlyingBaseError instanceof t&&(i+="-".concat(this.underlyingBaseError.shortChain)),i}},{key:"fullChain",get:function(){var i="".concat(this.module,".").concat(this.domain,":").concat(this.errorCodeKey).concat(this.underlyingError?"-"+this.underlyingError:"");return this.underlyingBaseError instanceof t&&(i+="-".concat(this.underlyingBaseError.fullChain)),i}}],[{key:"getErrorKey",value:function(i,a){var l=Object.keys(a).find(function(c){return a[c]===i});if(!l)throw new Error("Invalid errorCode: ".concat(i," in enum"));return l}}])}(),a5=function(t){function n(){var i;sg(this,n);for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return i=J8(this,n,[].concat(l)),rn(i,"props",void 0),i}return t5(n,t),fg(n)}(hd(HTMLElement));function u5(t,n){if(n.displayName?console.log("Register module: ".concat(n.displayName)):console.error('Missed "displayName" when register module'),n.getSupportedTemplates&&typeof n.getSupportedTemplates=="function"){var i=n.getSupportedTemplates();console.log("".concat(n==null?void 0:n.displayName," supported templates: ").concat(i.join(", ")))}else console.error('Missed "getSupportedTemplates" method when register module');if(n.initialize&&typeof n.initialize=="function"||console.error("".concat(n==null?void 0:n.displayName,' "initialize" method was not implemented')),n.deinitialize&&typeof n.deinitialize=="function"||console.error("".concat(n==null?void 0:n.displayName,' "deinitialize" method was not implemented')),n.isReady&&typeof n.isReady=="function"||console.error("".concat(n==null?void 0:n.displayName,' "isReady" method was not implemented')),n.getIdentifier&&typeof n.getIdentifier=="function"){var a=n.getIdentifier();console.log("Module id: ".concat(a))}else console.error('Missed "getIdentifier" when register module');customElements.get(n.getIdentifier())?console.log("Module ".concat(t," has already registered")):customElements.define(t,n),console.log("-------")}var tr=uu();const cr=Ar(tr);var pg=tr.createContext(void 0),yg=function(n){var i=n.perform,a=n.children;return _.jsx(pg.Provider,{value:{perform:i},children:a})},Fi=function(){var n=tr.useContext(pg);if(!n)throw new Error("usePerform must be used within a PerformProvider");return n},hg={},mg;function l5(){if(mg)return hg;mg=1;var t=je(),n=We(),i=gt(),a=$s(),l=n(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});return t({target:"Date",proto:!0,arity:1,forced:l},{toJSON:function(f){var d=i(this),p=a(d,"number");return typeof p=="number"&&!isFinite(p)?null:d.toISOString()}}),hg}l5(),yh();var gg={},gd,wg;function wd(){if(wg)return gd;wg=1;var t=yr(),n=Bt();return gd=function(i,a,l,c){try{return c?a(t(l)[0],l[1]):a(l)}catch(f){n(i,"throw",f)}},gd}var bd,bg;function s5(){if(bg)return bd;bg=1;var t=Yn(),n=dr(),i=gt(),a=wd(),l=Tm(),c=yu(),f=Jt(),d=Uo(),p=Am(),y=bu(),m=Array;return bd=function(h){var b=i(h),S=c(this),w=arguments.length,C=w>1?arguments[1]:void 0,N=C!==void 0;N&&(C=t(C,w>2?arguments[2]:void 0));var O=y(b),T=0,R,F,j,x,L,U;if(O&&!(this===m&&l(O)))for(F=S?new this:[],x=p(b,O),L=x.next;!(j=n(L,x)).done;T++)U=N?a(x,C,[j.value,T],!0):j.value,d(F,T,U);else for(R=f(b),F=S?new this(R):m(R);R>T;T++)U=N?C(b[T],T):b[T],d(F,T,U);return F.length=T,F},bd}var Sg;function c5(){if(Sg)return gg;Sg=1;var t=je(),n=s5(),i=id(),a=!i(function(l){Array.from(l)});return t({target:"Array",stat:!0,forced:a},{from:n}),gg}c5();var Eg={},Cg;function f5(){if(Cg)return Eg;Cg=1;var t=je(),n=Zn();return t({target:"Array",stat:!0},{isArray:n}),Eg}f5();var _g={},Og;function d5(){if(Og)return _g;Og=1;var t=je(),n=Zn(),i=yu(),a=Ir(),l=gy(),c=Jt(),f=Rt(),d=Uo(),p=pr(),y=wu(),m=ji(),g=y("slice"),h=p("species"),b=Array,S=Math.max;return t({target:"Array",proto:!0,forced:!g},{slice:function(C,N){var O=f(this),T=c(O),R=l(C,T),F=l(N===void 0?T:N,T),j,x,L;if(n(O)&&(j=O.constructor,i(j)&&(j===b||n(j.prototype))?j=void 0:a(j)&&(j=j[h],j===null&&(j=void 0)),j===b||j===void 0))return m(O,R,F);for(x=new(j===void 0?b:j)(S(F-R,0)),L=0;R<F;R++,L++)R in O&&d(x,L,O[R]);return x.length=L,x}}),_g}d5();var xg={},Ig;function v5(){if(Ig)return xg;Ig=1;var t=ur(),n=Fo().EXISTS,i=rr(),a=hn(),l=Function.prototype,c=i(l.toString),f=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,d=i(f.exec),p="name";return t&&!n&&a(l,p,{configurable:!0,get:function(){try{return d(f,c(this))[1]}catch(y){return""}}}),xg}v5();var Rg={},Sd,Pg;function Ed(){if(Pg)return Sd;Pg=1;var t=We(),n=Xe(),i=n.RegExp,a=t(function(){var f=i("a","y");return f.lastIndex=2,f.exec("abcd")!==null}),l=a||t(function(){return!i("a","y").sticky}),c=a||t(function(){var f=i("^r","gy");return f.lastIndex=2,f.exec("str")!==null});return Sd={BROKEN_CARET:c,MISSED_STICKY:l,UNSUPPORTED_Y:a},Sd}var Cd,Tg;function _d(){if(Tg)return Cd;Tg=1;var t=We(),n=Xe(),i=n.RegExp;return Cd=t(function(){var a=i(".","s");return!(a.dotAll&&a.test(`
19
- `)&&a.flags==="s")}),Cd}var Od,jg;function kg(){if(jg)return Od;jg=1;var t=We(),n=Xe(),i=n.RegExp;return Od=t(function(){var a=i("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"}),Od}var xd,Ag;function Ng(){if(Ag)return xd;Ag=1;var t=dr(),n=rr(),i=at(),a=Ym(),l=Ed(),c=Pi(),f=en(),d=Tt().get,p=_d(),y=kg(),m=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,h=g,b=n("".charAt),S=n("".indexOf),w=n("".replace),C=n("".slice),N=function(){var F=/a/,j=/b*/g;return t(g,F,"a"),t(g,j,"a"),F.lastIndex!==0||j.lastIndex!==0}(),O=l.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,R=N||T||O||p||y;return R&&(h=function(j){var x=this,L=d(x),U=i(j),J=L.raw,H,$,le,G,re,oe,te;if(J)return J.lastIndex=x.lastIndex,H=t(h,J,U),x.lastIndex=J.lastIndex,H;var Z=L.groups,z=O&&x.sticky,ae=t(a,x),k=x.source,Y=0,ge=U;if(z&&(ae=w(ae,"y",""),S(ae,"g")===-1&&(ae+="g"),ge=C(U,x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&b(U,x.lastIndex-1)!==`
20
- `)&&(k="(?: "+k+")",ge=" "+ge,Y++),$=new RegExp("^(?:"+k+")",ae)),T&&($=new RegExp("^"+k+"$(?!\\s)",ae)),N&&(le=x.lastIndex),G=t(g,z?$:x,ge),z?G?(G.input=C(G.input,Y),G[0]=C(G[0],Y),G.index=x.lastIndex,x.lastIndex+=G[0].length):x.lastIndex=0:N&&G&&(x.lastIndex=x.global?G.index+G[0].length:le),T&&G&&G.length>1&&t(m,G[0],$,function(){for(re=1;re<arguments.length-2;re++)arguments[re]===void 0&&(G[re]=void 0)}),G&&Z)for(G.groups=oe=f(null),re=0;re<Z.length;re++)te=Z[re],oe[te[0]]=G[te[1]];return G}),xd=h,xd}var Dg;function Fg(){if(Dg)return Rg;Dg=1;var t=je(),n=Ng();return t({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n}),Rg}Fg();var Lg={},Mg;function p5(){if(Mg)return Lg;Mg=1,Fg();var t=je(),n=dr(),i=vr(),a=yr(),l=at(),c=function(){var d=!1,p=/[ac]/;return p.exec=function(){return d=!0,/./.exec.apply(this,arguments)},p.test("abc")===!0&&d}(),f=/./.test;return t({target:"RegExp",proto:!0,forced:!c},{test:function(d){var p=a(this),y=l(d),m=p.exec;if(!i(m))return n(f,p,y);var g=n(m,p,y);return g===null?!1:(a(g),!0)}}),Lg}p5();var y5={width:"86px",height:"86px",flex:"0 0 86px",marginBottom:"16px",display:"flex",justifyContent:"center",alignItems:"center",alignContent:"center"},qg={},Bg;function h5(){if(Bg)return qg;Bg=1;var t=je(),n=Ai().filter,i=wu(),a=i("filter");return t({target:"Array",proto:!0,forced:!a},{filter:function(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}}),qg}h5();var Vg={},Id,$g;function Ug(){if($g)return Id;$g=1;var t=Ai().forEach,n=zo(),i=n("forEach");return Id=i?[].forEach:function(l){return t(this,l,arguments.length>1?arguments[1]:void 0)},Id}var zg;function m5(){if(zg)return Vg;zg=1;var t=je(),n=Ug();return t({target:"Array",proto:!0,forced:[].forEach!==n},{forEach:n}),Vg}m5();var Wg={},Hg;function g5(){if(Hg)return Wg;Hg=1;var t=je(),n=ur(),i=kc().f;return t({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!n},{defineProperties:i}),Wg}g5();var Gg={},Kg;function w5(){if(Kg)return Gg;Kg=1;var t=je(),n=We(),i=Rt(),a=Qn().f,l=ur(),c=!l||n(function(){a(1)});return t({target:"Object",stat:!0,forced:c,sham:!l},{getOwnPropertyDescriptor:function(d,p){return a(i(d),p)}}),Gg}w5();var Qg={},Yg;function b5(){if(Yg)return Qg;Yg=1;var t=je(),n=ur(),i=Ry(),a=Rt(),l=Qn(),c=Uo();return t({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(d){for(var p=a(d),y=l.f,m=i(p),g={},h=0,b,S;m.length>h;)S=y(p,b=m[h++]),S!==void 0&&c(g,b,S);return g}}),Qg}b5();var Zg={},Xg={},Rd,Jg;function S5(){if(Jg)return Rd;Jg=1;var t=Bt();return Rd=function(n,i,a){for(var l=n.length-1;l>=0;l--)if(n[l]!==void 0)try{a=t(n[l].iterator,i,a)}catch(c){i="throw",a=c}if(i==="throw")throw a;return a},Rd}var Pd,e2;function Td(){if(e2)return Pd;e2=1;var t=dr(),n=en(),i=Xt(),a=Bm(),l=pr(),c=Tt(),f=Do(),d=gu().IteratorPrototype,p=$o(),y=Bt(),m=S5(),g=l("toStringTag"),h="IteratorHelper",b="WrapForValidIterator",S="normal",w="throw",C=c.set,N=function(R){var F=c.getterFor(R?b:h);return a(n(d),{next:function(){var x=F(this);if(R)return x.nextHandler();if(x.done)return p(void 0,!0);try{var L=x.nextHandler();return x.returnHandlerResult?L:p(L,x.done)}catch(U){throw x.done=!0,U}},return:function(){var j=F(this),x=j.iterator;if(j.done=!0,R){var L=f(x,"return");return L?t(L,x):p(void 0,!0)}if(j.inner)try{y(j.inner.iterator,S)}catch(U){return y(x,w,U)}if(j.openIters)try{m(j.openIters,S)}catch(U){return y(x,w,U)}return x&&y(x,S),p(void 0,!0)}})},O=N(!0),T=N(!1);return i(T,g,"Iterator Helper"),Pd=function(R,F,j){var x=function(U,J){J?(J.iterator=U.iterator,J.next=U.next):J=U,J.type=F?b:h,J.returnHandlerResult=!!j,J.nextHandler=R,J.counter=0,J.done=!1,C(this,J)};return x.prototype=F?O:T,x},Pd}var jd,r2;function kd(){return r2||(r2=1,jd=function(t,n){var i=typeof Iterator=="function"&&Iterator.prototype[t];if(i)try{i.call({next:null},n).next()}catch(a){return!0}}),jd}var t2;function E5(){if(t2)return Xg;t2=1;var t=je(),n=dr(),i=Mr(),a=yr(),l=An(),c=Td(),f=wd(),d=Hr(),p=Bt(),y=kd(),m=Xn(),g=!d&&!y("filter",function(){}),h=!d&&!g&&m("filter",TypeError),b=d||g||h,S=c(function(){for(var w=this.iterator,C=this.predicate,N=this.next,O,T,R;;){if(O=a(n(N,w)),T=this.done=!!O.done,T)return;if(R=O.value,f(w,C,[R,this.counter++],!0))return R}});return t({target:"Iterator",proto:!0,real:!0,forced:b},{filter:function(C){a(this);try{i(C)}catch(N){p(this,"throw",N)}return h?n(h,this,C):new S(l(this),{predicate:C})}}),Xg}var n2;function C5(){return n2||(n2=1,E5()),Zg}C5();var i2={},o2={},a2;function _5(){if(a2)return o2;a2=1;var t=je(),n=dr(),i=mn(),a=Mr(),l=yr(),c=An(),f=Bt(),d=Xn(),p=d("forEach",TypeError);return t({target:"Iterator",proto:!0,real:!0,forced:p},{forEach:function(m){l(this);try{a(m)}catch(b){f(this,"throw",b)}if(p)return n(p,this,m);var g=c(this),h=0;i(g,function(b){m(b,h++)},{IS_RECORD:!0})}}),o2}var u2;function O5(){return u2||(u2=1,_5()),i2}O5();var l2={},s2;function x5(){if(s2)return l2;s2=1;var t=Xe(),n=z0(),i=H0(),a=Ug(),l=Xt(),c=function(d){if(d&&d.forEach!==a)try{l(d,"forEach",a)}catch(p){d.forEach=a}};for(var f in n)n[f]&&c(t[f]&&t[f].prototype);return c(i),l2}x5();var Vt={INFO:"INFO",INFO_DETAILS:"INFO_DETAILS",STATUS:"STATUS",PROGRESS:"PROGRESS",QUESTIONS:"QUESTIONS",CAMERA:"CAMERA",GALLERY:"GALLERY"},Eu={LEFT:"LEFT",CENTER:"CENTER",RIGHT:"RIGHT"},Cu={ASPECT_FILL:"ASPECT_FILL",ASPECT_FIT:"ASPECT_FIT",FILL:"FILL"},Li={TEXT_EXPANDABLE:"text_expandable",TEXT_SINGLE_LINE:"text_single_line",SELECTOR_OPTIONS:"selector_options",SELECTOR_BUTTONS:"selector_buttons",SELECTOR_DROPDOWN:"selector_dropdown",MULTI_SELECTOR_DROPDOWN:"multi_selector_dropdown"},_u={FREE_TEXT:"FREE_TEXT",EMAIL:"EMAIL",NUMBER:"NUMBER",SECURE:"SECURE"},c2={},f2;function I5(){if(f2)return c2;f2=1;var t=je(),n=Ai().map,i=wu(),a=i("map");return t({target:"Array",proto:!0,forced:!a},{map:function(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}}),c2}I5();var d2={},Ad,v2;function R5(){if(v2)return Ad;v2=1;var t=Mr(),n=gt(),i=lu(),a=Jt(),l=TypeError,c="Reduce of empty array with no initial value",f=function(d){return function(p,y,m,g){var h=n(p),b=i(h),S=a(h);if(t(y),S===0&&m<2)throw new l(c);var w=d?S-1:0,C=d?-1:1;if(m<2)for(;;){if(w in b){g=b[w],w+=C;break}if(w+=C,d?w<0:S<=w)throw new l(c)}for(;d?w>=0:S>w;w+=C)w in b&&(g=y(g,b[w],w,h));return g}};return Ad={left:f(!1),right:f(!0)},Ad}var Nd,p2;function Ou(){if(p2)return Nd;p2=1;var t=Mf();return Nd=t==="NODE",Nd}var y2;function P5(){if(y2)return d2;y2=1;var t=je(),n=R5().left,i=zo(),a=ko(),l=Ou(),c=!l&&a>79&&a<83,f=c||!i("reduce");return t({target:"Array",proto:!0,forced:f},{reduce:function(p){var y=arguments.length;return n(this,p,y,y>1?arguments[1]:void 0)}}),d2}P5();var h2={},m2;function T5(){if(m2)return h2;m2=1;var t=je(),n=k0().entries;return t({target:"Object",stat:!0},{entries:function(a){return n(a)}}),h2}T5();var g2={},w2={},Dd,b2;function S2(){if(b2)return Dd;b2=1;var t=yr(),n=F0(),i=xi(),a=pr(),l=a("species");return Dd=function(c,f){var d=t(c).constructor,p;return d===void 0||i(p=t(d)[l])?f:n(p)},Dd}var Fd,E2;function C2(){if(E2)return Fd;E2=1;var t=Ii();return Fd=/(?:ipad|iphone|ipod).*applewebkit/i.test(t),Fd}var Ld,_2;function O2(){if(_2)return Ld;_2=1;var t=Xe(),n=Ni(),i=Yn(),a=vr(),l=Rr(),c=We(),f=My(),d=ji(),p=cu(),y=X0(),m=C2(),g=Ou(),h=t.setImmediate,b=t.clearImmediate,S=t.process,w=t.Dispatch,C=t.Function,N=t.MessageChannel,O=t.String,T=0,R={},F="onreadystatechange",j,x,L,U;c(function(){j=t.location});var J=function(G){if(l(R,G)){var re=R[G];delete R[G],re()}},H=function(G){return function(){J(G)}},$=function(G){J(G.data)},le=function(G){t.postMessage(O(G),j.protocol+"//"+j.host)};return(!h||!b)&&(h=function(re){y(arguments.length,1);var oe=a(re)?re:C(re),te=d(arguments,1);return R[++T]=function(){n(oe,void 0,te)},x(T),T},b=function(re){delete R[re]},g?x=function(G){S.nextTick(H(G))}:w&&w.now?x=function(G){w.now(H(G))}:N&&!m?(L=new N,U=L.port2,L.port1.onmessage=$,x=i(U.postMessage,U)):t.addEventListener&&a(t.postMessage)&&!t.importScripts&&j&&j.protocol!=="file:"&&!c(le)?(x=le,t.addEventListener("message",$,!1)):F in p("script")?x=function(G){f.appendChild(p("script"))[F]=function(){f.removeChild(this),J(G)}}:x=function(G){setTimeout(H(G),0)}),Ld={set:h,clear:b},Ld}var Md,x2;function j5(){if(x2)return Md;x2=1;var t=Xe(),n=ur(),i=Object.getOwnPropertyDescriptor;return Md=function(a){if(!n)return t[a];var l=i(t,a);return l&&l.value},Md}var qd,I2;function R2(){if(I2)return qd;I2=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(n){var i={item:n,next:null},a=this.tail;a?a.next=i:this.head=i,this.tail=i},get:function(){var n=this.head;if(n){var i=this.head=n.next;return i===null&&(this.tail=null),n.item}}},qd=t,qd}var Bd,P2;function k5(){if(P2)return Bd;P2=1;var t=Ii();return Bd=/ipad|iphone|ipod/i.test(t)&&typeof Pebble!="undefined",Bd}var Vd,T2;function A5(){if(T2)return Vd;T2=1;var t=Ii();return Vd=/web0s(?!.*chrome)/i.test(t),Vd}var $d,j2;function N5(){if(j2)return $d;j2=1;var t=Xe(),n=j5(),i=Yn(),a=O2().set,l=R2(),c=C2(),f=k5(),d=A5(),p=Ou(),y=t.MutationObserver||t.WebKitMutationObserver,m=t.document,g=t.process,h=t.Promise,b=n("queueMicrotask"),S,w,C,N,O;if(!b){var T=new l,R=function(){var F,j;for(p&&(F=g.domain)&&F.exit();j=T.get();)try{j()}catch(x){throw T.head&&S(),x}F&&F.enter()};!c&&!p&&!d&&y&&m?(w=!0,C=m.createTextNode(""),new y(R).observe(C,{characterData:!0}),S=function(){C.data=w=!w}):!f&&h&&h.resolve?(N=h.resolve(void 0),N.constructor=h,O=i(N.then,N),S=function(){O(R)}):p?S=function(){g.nextTick(R)}:(a=i(a,t),S=function(){a(R)}),b=function(F){T.head||S(),T.add(F)}}return $d=b,$d}var Ud,k2;function D5(){return k2||(k2=1,Ud=function(t,n){try{arguments.length===1?console.error(t):console.error(t,n)}catch(i){}}),Ud}var zd,A2;function xu(){return A2||(A2=1,zd=function(t){try{return{error:!1,value:t()}}catch(n){return{error:!0,value:n}}}),zd}var Wd,N2;function Go(){if(N2)return Wd;N2=1;var t=Xe();return Wd=t.Promise,Wd}var Hd,D2;function Ko(){if(D2)return Hd;D2=1;var t=Xe(),n=Go(),i=vr(),a=Mo(),l=ec(),c=pr(),f=Mf(),d=Hr(),p=ko(),y=n&&n.prototype,m=c("species"),g=!1,h=i(t.PromiseRejectionEvent),b=a("Promise",function(){var S=l(n),w=S!==String(n);if(!w&&p===66||d&&!(y.catch&&y.finally))return!0;if(!p||p<51||!/native code/.test(S)){var C=new n(function(T){T(1)}),N=function(T){T(function(){},function(){})},O=C.constructor={};if(O[m]=N,g=C.then(function(){})instanceof N,!g)return!0}return!w&&(f==="BROWSER"||f==="DENO")&&!h});return Hd={CONSTRUCTOR:b,REJECTION_EVENT:h,SUBCLASSING:g},Hd}var Gd={},F2;function Mi(){if(F2)return Gd;F2=1;var t=Mr(),n=TypeError,i=function(a){var l,c;this.promise=new a(function(f,d){if(l!==void 0||c!==void 0)throw new n("Bad Promise constructor");l=f,c=d}),this.resolve=t(l),this.reject=t(c)};return Gd.f=function(a){return new i(a)},Gd}var L2;function F5(){if(L2)return w2;L2=1;var t=je(),n=Hr(),i=Ou(),a=Xe(),l=Bc(),c=dr(),f=Yr(),d=qo(),p=ki(),y=ld(),m=Mr(),g=vr(),h=Ir(),b=Su(),S=S2(),w=O2().set,C=N5(),N=D5(),O=xu(),T=R2(),R=Tt(),F=Go(),j=Ko(),x=Mi(),L="Promise",U=j.CONSTRUCTOR,J=j.REJECTION_EVENT,H=j.SUBCLASSING,$=R.getterFor(L),le=R.set,G=F&&F.prototype,re=F,oe=G,te=a.TypeError,Z=a.document,z=a.process,ae=x.f,k=ae,Y=!!(Z&&Z.createEvent&&a.dispatchEvent),ge="unhandledrejection",Se="rejectionhandled",fe=0,Pe=1,Ae=2,xe=1,_e=2,Ge,nr,lr,Le,Ve=function(q){var se;return h(q)&&g(se=q.then)?se:!1},Ke=function(q,se){var ne=se.value,X=se.state===Pe,ie=X?q.ok:q.fail,be=q.resolve,Fe=q.reject,Ee=q.domain,we,he,Ne;try{ie?(X||(se.rejection===_e&&mr(se),se.rejection=xe),ie===!0?we=ne:(Ee&&Ee.enter(),we=ie(ne),Ee&&(Ee.exit(),Ne=!0)),we===q.promise?Fe(new te("Promise-chain cycle")):(he=Ve(we))?c(he,we,be,Fe):be(we)):Fe(ne)}catch(He){Ee&&!Ne&&Ee.exit(),Fe(He)}},Qe=function(q,se){q.notified||(q.notified=!0,C(function(){for(var ne=q.reactions,X;X=ne.get();)Ke(X,q);q.notified=!1,se&&!q.rejection&&$e(q)}))},Me=function(q,se,ne){var X,ie;Y?(X=Z.createEvent("Event"),X.promise=se,X.reason=ne,X.initEvent(q,!1,!0),a.dispatchEvent(X)):X={promise:se,reason:ne},!J&&(ie=a["on"+q])?ie(X):q===ge&&N("Unhandled promise rejection",ne)},$e=function(q){c(w,a,function(){var se=q.facade,ne=q.value,X=Je(q),ie;if(X&&(ie=O(function(){i?z.emit("unhandledRejection",ne,se):Me(ge,se,ne)}),q.rejection=i||Je(q)?_e:xe,ie.error))throw ie.value})},Je=function(q){return q.rejection!==xe&&!q.parent},mr=function(q){c(w,a,function(){var se=q.facade;i?z.emit("rejectionHandled",se):Me(Se,se,q.value)})},br=function(q,se,ne){return function(X){q(se,X,ne)}},A=function(q,se,ne){q.done||(q.done=!0,ne&&(q=ne),q.value=se,q.state=Ae,Qe(q,!0))},V=function(q,se,ne){if(!q.done){q.done=!0,ne&&(q=ne);try{if(q.facade===se)throw new te("Promise can't be resolved itself");var X=Ve(se);X?C(function(){var ie={done:!1};try{c(X,se,br(V,ie,q),br(A,ie,q))}catch(be){A(ie,be,q)}}):(q.value=se,q.state=Pe,Qe(q,!1))}catch(ie){A({done:!1},ie,q)}}};if(U&&(re=function(se){b(this,oe),m(se),c(Ge,this);var ne=$(this);try{se(br(V,ne),br(A,ne))}catch(X){A(ne,X)}},oe=re.prototype,Ge=function(se){le(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new T,rejection:!1,state:fe,value:null})},Ge.prototype=f(oe,"then",function(se,ne){var X=$(this),ie=ae(S(this,re));return X.parent=!0,ie.ok=g(se)?se:!0,ie.fail=g(ne)&&ne,ie.domain=i?z.domain:void 0,X.state===fe?X.reactions.add(ie):C(function(){Ke(ie,X)}),ie.promise}),nr=function(){var q=new Ge,se=$(q);this.promise=q,this.resolve=br(V,se),this.reject=br(A,se)},x.f=ae=function(q){return q===re||q===lr?new nr(q):k(q)},!n&&g(F)&&G!==Object.prototype)){Le=G.then,H||f(G,"then",function(se,ne){var X=this;return new re(function(ie,be){c(Le,X,ie,be)}).then(se,ne)},{unsafe:!0});try{delete G.constructor}catch(q){}d&&d(G,oe)}return t({global:!0,constructor:!0,wrap:!0,forced:U},{Promise:re}),lr=l.Promise,p(re,L,!1,!0),y(L),w2}var M2={},Kd,q2;function Qd(){if(q2)return Kd;q2=1;var t=Go(),n=id(),i=Ko().CONSTRUCTOR;return Kd=i||!n(function(a){t.all(a).then(void 0,function(){})}),Kd}var B2;function L5(){if(B2)return M2;B2=1;var t=je(),n=dr(),i=Mr(),a=Mi(),l=xu(),c=mn(),f=Qd();return t({target:"Promise",stat:!0,forced:f},{all:function(p){var y=this,m=a.f(y),g=m.resolve,h=m.reject,b=l(function(){var S=i(y.resolve),w=[],C=0,N=1;c(p,function(O){var T=C++,R=!1;N++,n(S,y,O).then(function(F){R||(R=!0,w[T]=F,--N||g(w))},h)}),--N||g(w)});return b.error&&h(b.value),m.promise}}),M2}var V2={},$2;function M5(){if($2)return V2;$2=1;var t=je(),n=Hr(),i=Ko().CONSTRUCTOR,a=Go(),l=Pt(),c=vr(),f=Yr(),d=a&&a.prototype;if(t({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(y){return this.then(void 0,y)}}),!n&&c(a)){var p=l("Promise").prototype.catch;d.catch!==p&&f(d,"catch",p,{unsafe:!0})}return V2}var U2={},z2;function q5(){if(z2)return U2;z2=1;var t=je(),n=dr(),i=Mr(),a=Mi(),l=xu(),c=mn(),f=Qd();return t({target:"Promise",stat:!0,forced:f},{race:function(p){var y=this,m=a.f(y),g=m.reject,h=l(function(){var b=i(y.resolve);c(p,function(S){n(b,y,S).then(m.resolve,g)})});return h.error&&g(h.value),m.promise}}),U2}var W2={},H2;function B5(){if(H2)return W2;H2=1;var t=je(),n=Mi(),i=Ko().CONSTRUCTOR;return t({target:"Promise",stat:!0,forced:i},{reject:function(l){var c=n.f(this),f=c.reject;return f(l),c.promise}}),W2}var G2={},Yd,K2;function V5(){if(K2)return Yd;K2=1;var t=yr(),n=Ir(),i=Mi();return Yd=function(a,l){if(t(a),n(l)&&l.constructor===a)return l;var c=i.f(a),f=c.resolve;return f(l),c.promise},Yd}var Q2;function $5(){if(Q2)return G2;Q2=1;var t=je(),n=Pt(),i=Hr(),a=Go(),l=Ko().CONSTRUCTOR,c=V5(),f=n("Promise"),d=i&&!l;return t({target:"Promise",stat:!0,forced:i||l},{resolve:function(y){return c(d&&this===f?a:this,y)}}),G2}var Y2;function U5(){return Y2||(Y2=1,F5(),L5(),M5(),q5(),B5(),$5()),g2}U5();var Z2={},Zd,X2;function z5(){if(X2)return Zd;X2=1;var t=Fo().PROPER,n=We(),i=v0(),a="​…᠎";return Zd=function(l){return n(function(){return!!i[l]()||a[l]()!==a||t&&i[l].name!==l})},Zd}var J2;function W5(){if(J2)return Z2;J2=1;var t=je(),n=y0().trim,i=z5();return t({target:"String",proto:!0,forced:i("trim")},{trim:function(){return n(this)}}),Z2}W5();var e4={},r4={},t4;function H5(){if(t4)return r4;t4=1;var t=je(),n=dr(),i=Mr(),a=yr(),l=An(),c=Td(),f=wd(),d=Bt(),p=kd(),y=Xn(),m=Hr(),g=!m&&!p("map",function(){}),h=!m&&!g&&y("map",TypeError),b=m||g||h,S=c(function(){var w=this.iterator,C=a(n(this.next,w)),N=this.done=!!C.done;if(!N)return f(w,this.mapper,[C.value,this.counter++],!0)});return t({target:"Iterator",proto:!0,real:!0,forced:b},{map:function(C){a(this);try{i(C)}catch(N){d(this,"throw",N)}return h?n(h,this,C):new S(l(this),{mapper:C})}}),r4}var n4;function G5(){return n4||(n4=1,H5()),e4}G5();var i4={},o4={},a4;function K5(){if(a4)return o4;a4=1;var t=je(),n=mn(),i=Mr(),a=yr(),l=An(),c=Bt(),f=Xn(),d=Ni(),p=We(),y=TypeError,m=p(function(){[].keys().reduce(function(){},void 0)}),g=!m&&f("reduce",y);return t({target:"Iterator",proto:!0,real:!0,forced:m||g},{reduce:function(b){a(this);try{i(b)}catch(O){c(this,"throw",O)}var S=arguments.length<2,w=S?void 0:arguments[1];if(g)return d(g,this,S?[b]:[b,w]);var C=l(this),N=0;if(n(C,function(O){S?(S=!1,w=O):w=b(w,O,N),N++},{IS_RECORD:!0}),S)throw new y("Reduce of empty iterator with no initial value");return w}}),o4}var u4;function Q5(){return u4||(u4=1,K5()),i4}Q5();var Qo="#005fcc",Iu="idv-gui",Yo={DECODING_FAILED:"DECODING_FAILED"},Xd={text:"text",selector:"selector",multiSelector:"multiSelector"},l4={NOT_EMPTY:"notEmpty",REGEX:"regex"};function Jd(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.toStringTag||"@@toStringTag";function c(b,S,w,C){var N=S&&S.prototype instanceof d?S:d,O=Object.create(N.prototype);return wt(O,"_invoke",function(T,R,F){var j,x,L,U=0,J=F||[],H=!1,$={p:0,n:0,v:t,a:le,f:le.bind(t,4),d:function(re,oe){return j=re,x=0,L=t,$.n=oe,f}};function le(G,re){for(x=G,L=re,n=0;!H&&U&&!oe&&n<J.length;n++){var oe,te=J[n],Z=$.p,z=te[2];G>3?(oe=z===re)&&(L=te[(x=te[4])?5:(x=3,3)],te[4]=te[5]=t):te[0]<=Z&&((oe=G<2&&Z<te[1])?(x=0,$.v=re,$.n=te[1]):Z<z&&(oe=G<3||te[0]>re||re>z)&&(te[4]=G,te[5]=re,$.n=z,x=0))}if(oe||G>1)return f;throw H=!0,re}return function(G,re,oe){if(U>1)throw TypeError("Generator is already running");for(H&&re===1&&le(re,oe),x=re,L=oe;(n=x<2?t:L)||!H;){j||(x?x<3?(x>1&&($.n=-1),le(x,L)):$.n=L:$.v=L);try{if(U=2,j){if(x||(G="next"),n=j[G]){if(!(n=n.call(j,L)))throw TypeError("iterator result is not an object");if(!n.done)return n;L=n.value,x<2&&(x=0)}else x===1&&(n=j.return)&&n.call(j),x<2&&(L=TypeError("The iterator does not provide a '"+G+"' method"),x=1);j=t}else if((n=(H=$.n<0)?L:T.call(R,$))!==f)break}catch(te){j=t,x=1,L=te}finally{U=1}}return{value:n,done:H}}}(b,w,C),!0),O}var f={};function d(){}function p(){}function y(){}n=Object.getPrototypeOf;var m=[][a]?n(n([][a]())):(wt(n={},a,function(){return this}),n),g=y.prototype=d.prototype=Object.create(m);function h(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,y):(b.__proto__=y,wt(b,l,"GeneratorFunction")),b.prototype=Object.create(g),b}return p.prototype=y,wt(g,"constructor",y),wt(y,"constructor",p),p.displayName="GeneratorFunction",wt(y,l,"GeneratorFunction"),wt(g),wt(g,l,"Generator"),wt(g,a,function(){return this}),wt(g,"toString",function(){return"[object Generator]"}),(Jd=function(){return{w:c,m:h}})()}function wt(t,n,i,a){var l=Object.defineProperty;try{l({},"",{})}catch(c){l=0}wt=function(f,d,p,y){function m(g,h){wt(f,g,function(b){return this._invoke(g,h,b)})}d?l?l(f,d,{value:p,enumerable:!y,configurable:!y,writable:!y}):f[d]=p:(m("next",0),m("throw",1),m("return",2))},wt(t,n,i,a)}function s4(t,n,i,a,l,c,f){try{var d=t[c](f),p=d.value}catch(y){return void i(y)}d.done?n(p):Promise.resolve(p).then(a,l)}function Y5(t){return function(){var n=this,i=arguments;return new Promise(function(a,l){var c=t.apply(n,i);function f(p){s4(c,a,l,f,d,"next",p)}function d(p){s4(c,a,l,f,d,"throw",p)}f(void 0)})}}function c4(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function qi(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?c4(Object(i),!0).forEach(function(a){Ru(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c4(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function Ru(t,n,i){return(n=Z5(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function Z5(t){var n=X5(t,"string");return Jn(n)=="symbol"?n:n+""}function X5(t,n){if(Jn(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(Jn(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function Jn(t){"@babel/helpers - typeof";return Jn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Jn(t)}function J5(t,n){return n6(t)||t6(t,n)||r6(t,n)||e6()}function e6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
21
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r6(t,n){if(t){if(typeof t=="string")return f4(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?f4(t,n):void 0}}function f4(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function t6(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function n6(t){if(Array.isArray(t))return t}function d4(t){return t===Eu.CENTER?"center":t===Eu.RIGHT?"right":"left"}function ev(t){if(Jn(t)==="object"&&t!==null)for(var n in t)Jn(t[n])==="object"?ev(t[n]):t[n]==="true"?t[n]=!0:t[n]==="false"&&(t[n]=!1);return t}function i6(t){return Object.entries(t).map(function(n){var i=J5(n,2),a=i[0],l=i[1];return{id:a,value:typeof l=="string"?l.trim():l}}).filter(function(n){return!!n.value})}var o6=function(n){return Array.isArray(n)?n.length===0:n===0?!1:!n};function Ze(t){if(t){var n=/^#(?:[0-9a-fA-F]{3}){1,2}$/;return n.test(t)?t:void 0}}var a6=function(n,i){return n.reduce(function(a,l){if(l.answerType===Xd.text){var c;if((c=l.property)!==null&&c!==void 0&&c.id){var f=i.find(function(g){return g.name===l.property.id});if(f!=null&&f.string)return qi(qi({},a),{},Ru({},l.id,f.string))}}if(l.answerType===Xd.selector){var d;if((d=l.property)!==null&&d!==void 0&&d.id){var p=i.find(function(g){return g.name===l.property.id});if(p!=null&&p.string)return qi(qi({},a),{},Ru({},l.id,p.string))}}if(l.answerType===Xd.multiSelector){var y;if((y=l.property)!==null&&y!==void 0&&y.id){var m=i.find(function(g){return g.name===l.property.id});if(m!=null&&m.array)return qi(qi({},a),{},Ru({},l.id,m.array))}}return a},{})},v4=function(n){return new Promise(function(i,a){var l=new FileReader;l.onload=function(){var c=l.result;if(typeof c=="string"){var f=c.split(",")[1];i(f)}else a(new Error("Unexpected result type"))},l.onerror=function(){return a(l.error)},l.readAsDataURL(n)})},u6=function(){var t=Y5(Jd().m(function n(){var i,a;return Jd().w(function(l){for(;;)switch(l.p=l.n){case 0:return l.p=0,l.n=1,navigator.mediaDevices.getUserMedia({video:!0});case 1:return i=l.v,i.getTracks().forEach(function(c){return c.stop()}),l.a(2,"allowed");case 2:if(l.p=2,a=l.v,(a==null?void 0:a.name)!=="NotAllowedError"){l.n=3;break}return l.a(2,"denied");case 3:return l.a(2,"error")}},n,null,[[0,2]])}));return function(){return t.apply(this,arguments)}}(),p4=function(n){var i=n.indicatorColor,a=tr.useRef(null),l=Ze(i)||"#000000",c=60,f=5,d=.75,p=(c-f)/2,y=2*Math.PI*p,m=1-d,g=360/1e3;return tr.useEffect(function(){if(!a.current)return;var h=!0,b=0,S=performance.now();function w(C){if(h){var N=C-S;S=C,b=(b+g*N)%360,a.current&&(a.current.style.transform="rotate(".concat(b,"deg)")),requestAnimationFrame(w)}}return requestAnimationFrame(w),function(){h=!1}},[]),_.jsx("svg",{ref:a,width:c,height:c,viewBox:"0 0 ".concat(c," ").concat(c),children:_.jsx("circle",{cx:c/2,cy:c/2,r:p,fill:"none",stroke:l,strokeWidth:f,strokeDasharray:"".concat(y*d," ").concat(y*m),strokeDashoffset:0,strokeLinecap:"butt",transform:"rotate(-45 ".concat(c/2," ").concat(c/2,")")})})};function l6(t){var n=t.size,i=t.color;return _.jsxs("svg",{width:n||86,height:n||86,viewBox:"0 0 87 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("ellipse",{cx:"43.4053",cy:"43",rx:"40",ry:"40",transform:"rotate(90 43.4053 43)",stroke:"#FF3B30",strokeWidth:"3"}),_.jsx("path",{d:"M56.9053 29L29.4053 56.5",stroke:i||"#FF3B30",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),_.jsx("path",{d:"M29.4053 29L56.9053 56.5",stroke:i||"#FF3B30",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})}function s6(t){var n=t.size;return _.jsxs("svg",{width:n||48,height:n||48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("circle",{cx:"24.5",cy:"24",r:"18",stroke:"#0E1F97",strokeWidth:"3"}),_.jsx("path",{d:"M17.3803 18.3406V29.2496H15.0739V20.5298H15.0099L12.5117 22.0959V20.0504L15.2124 18.3406H17.3803Z",fill:"#0E1F97"}),_.jsx("path",{d:"M23.2927 29.3988C22.4724 29.3988 21.7426 29.2656 21.1034 28.9993C20.4678 28.7294 19.9688 28.3619 19.6066 27.8967C19.2444 27.4315 19.0633 26.9041 19.0633 26.3146C19.0633 25.8601 19.1663 25.4428 19.3722 25.0629C19.5818 24.6793 19.8659 24.3615 20.2245 24.1094C20.5832 23.8537 20.9845 23.6903 21.4284 23.6193V23.5447C20.846 23.4276 20.3737 23.1452 20.0115 22.6978C19.6492 22.2468 19.4681 21.723 19.4681 21.1264C19.4681 20.5618 19.6333 20.0593 19.9635 19.619C20.2938 19.1751 20.7465 18.8271 21.3218 18.5749C21.9007 18.3192 22.5576 18.1914 23.2927 18.1914C24.0278 18.1914 24.683 18.3192 25.2583 18.5749C25.8371 18.8306 26.2916 19.1804 26.6219 19.6243C26.9521 20.0646 27.1191 20.5653 27.1226 21.1264C27.1191 21.7266 26.9344 22.2504 26.5686 22.6978C26.2029 23.1452 25.7341 23.4276 25.1624 23.5447V23.6193C25.5992 23.6903 25.9951 23.8537 26.3502 24.1094C26.7089 24.3615 26.993 24.6793 27.2025 25.0629C27.4156 25.4428 27.5239 25.8601 27.5274 26.3146C27.5239 26.9041 27.341 27.4315 26.9788 27.8967C26.6166 28.3619 26.1159 28.7294 25.4767 28.9993C24.841 29.2656 24.113 29.3988 23.2927 29.3988ZM23.2927 27.7049C23.6585 27.7049 23.9781 27.6392 24.2515 27.5078C24.5249 27.3729 24.738 27.1882 24.8907 26.9538C25.047 26.7159 25.1251 26.4425 25.1251 26.1335C25.1251 25.8175 25.0452 25.5387 24.8854 25.2972C24.7256 25.0522 24.509 24.8604 24.2355 24.7219C23.9621 24.5799 23.6478 24.5089 23.2927 24.5089C22.9411 24.5089 22.6269 24.5799 22.3499 24.7219C22.0729 24.8604 21.8545 25.0522 21.6947 25.2972C21.5384 25.5387 21.4603 25.8175 21.4603 26.1335C21.4603 26.4425 21.5367 26.7159 21.6894 26.9538C21.8421 27.1882 22.0569 27.3729 22.3339 27.5078C22.6109 27.6392 22.9305 27.7049 23.2927 27.7049ZM23.2927 22.831C23.5981 22.831 23.8698 22.7688 24.1077 22.6445C24.3456 22.5202 24.532 22.348 24.667 22.1278C24.8019 21.9077 24.8694 21.6538 24.8694 21.3661C24.8694 21.082 24.8019 20.8335 24.667 20.6204C24.532 20.4038 24.3474 20.2351 24.113 20.1143C23.8786 19.9901 23.6052 19.9279 23.2927 19.9279C22.9838 19.9279 22.7103 19.9901 22.4724 20.1143C22.2345 20.2351 22.048 20.4038 21.9131 20.6204C21.7817 20.8335 21.716 21.082 21.716 21.3661C21.716 21.6538 21.7835 21.9077 21.9184 22.1278C22.0534 22.348 22.2398 22.5202 22.4777 22.6445C22.7156 22.7688 22.9873 22.831 23.2927 22.831Z",fill:"#0E1F97"}),_.jsx("path",{d:"M31.65 27.5877V20.0451H33.557V27.5877H31.65ZM28.8322 24.7699V22.8629H36.3748V24.7699H28.8322Z",fill:"#0E1F97"})]})}function c6(t){var n=t.size,i=t.color;return _.jsx("svg",{width:n||20,height:n||20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:_.jsx("path",{d:"M14.3976 12.2816C14.2402 12.2816 14.0863 12.235 13.9555 12.1478C13.8246 12.0605 13.7225 11.9364 13.6623 11.7913C13.602 11.6461 13.5862 11.4864 13.6169 11.3322C13.6476 11.1781 13.7234 11.0365 13.8346 10.9254C13.9459 10.8143 14.0877 10.7386 14.242 10.7079C14.3964 10.6772 14.5564 10.6929 14.7018 10.753C14.8473 10.8131 14.9716 10.9149 15.059 11.0456C15.1465 11.1762 15.1932 11.3298 15.1932 11.4869C15.193 11.6976 15.1091 11.8995 14.9599 12.0485C14.8108 12.1974 14.6086 12.2813 14.3976 12.2816ZM5.60241 12.2816C5.44501 12.2816 5.29115 12.235 5.16026 12.1478C5.02938 12.0605 4.92736 11.9364 4.8671 11.7913C4.80684 11.6461 4.79105 11.4864 4.82173 11.3322C4.85241 11.1781 4.92817 11.0365 5.03944 10.9254C5.15071 10.8143 5.2925 10.7386 5.44686 10.7079C5.60122 10.6772 5.76123 10.6929 5.90665 10.753C6.05207 10.8131 6.17638 10.9149 6.26384 11.0456C6.35131 11.1762 6.39801 11.3298 6.39804 11.4869C6.39784 11.6976 6.31396 11.8995 6.1648 12.0485C6.01564 12.1975 5.81339 12.2813 5.60241 12.2816ZM14.6829 7.4962L16.2732 4.74639C16.2949 4.70883 16.309 4.66736 16.3147 4.62435C16.3204 4.58134 16.3176 4.53763 16.3064 4.49571C16.2952 4.4538 16.2758 4.41451 16.2493 4.38007C16.2229 4.34564 16.1899 4.31674 16.1523 4.29502C16.1147 4.27331 16.0732 4.2592 16.0301 4.25352C15.987 4.24783 15.9432 4.25067 15.9012 4.26187C15.8592 4.27308 15.8199 4.29243 15.7854 4.31882C15.7509 4.34521 15.722 4.37813 15.7002 4.41569L14.0899 7.20023C12.8585 6.63913 11.4755 6.32669 9.99985 6.32669C8.52419 6.32669 7.14135 6.63958 5.90995 7.20023L4.29979 4.41569C4.27807 4.37812 4.24915 4.34519 4.21468 4.31877C4.18021 4.29236 4.14087 4.27299 4.0989 4.26175C4.05694 4.25052 4.01316 4.24765 3.97009 4.25331C3.92701 4.25897 3.88547 4.27304 3.84784 4.29472C3.8102 4.31641 3.77722 4.34528 3.75077 4.37969C3.72431 4.4141 3.7049 4.45338 3.69365 4.49528C3.6824 4.53718 3.67953 4.58088 3.68519 4.62389C3.69086 4.6669 3.70496 4.70837 3.72668 4.74594L5.31705 7.4962C2.5863 8.97904 0.718522 11.739 0.445312 14.9999H19.5547C19.2812 11.739 17.4135 8.97904 14.6829 7.4962Z",fill:i||"#626262"})})}function f6(t){var n=t.size;return _.jsx("svg",{width:n||20,height:n||20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:_.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8697 8.22896C14.0747 8.43399 14.0747 8.7664 13.8697 8.97143L9.99844 12.8427L6.12721 8.97143C5.92218 8.7664 5.92218 8.43399 6.12721 8.22896C6.33223 8.02394 6.66464 8.02394 6.86967 8.22896L9.99844 11.3577L13.1272 8.22896C13.3322 8.02394 13.6646 8.02394 13.8697 8.22896Z",fill:"#787878"})})}var d6=function(n){var i=n.size,a=n.color;return _.jsxs("svg",{width:i||20,height:i||20,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("g",{clipPath:"url(#clip0_6789_106796)",children:_.jsx("path",{d:"M18.1829 14.9885C17.9034 15.6343 17.5725 16.2288 17.1892 16.7753C16.6667 17.5204 16.2389 18.0362 15.9092 18.3226C15.3981 18.7927 14.8505 19.0334 14.2641 19.0471C13.8432 19.0471 13.3355 18.9273 12.7445 18.6843C12.1517 18.4424 11.6068 18.3226 11.1086 18.3226C10.5861 18.3226 10.0257 18.4424 9.42633 18.6843C8.82603 18.9273 8.34243 19.054 7.97269 19.0665C7.41037 19.0905 6.84988 18.8429 6.29042 18.3226C5.93334 18.0111 5.48671 17.4771 4.95166 16.7206C4.37759 15.9127 3.90563 14.9759 3.53589 13.908C3.13991 12.7544 2.94141 11.6373 2.94141 10.5559C2.94141 9.31706 3.20904 8.24861 3.74512 7.35325C4.16643 6.63407 4.72692 6.06675 5.42841 5.65028C6.12991 5.23381 6.88787 5.02158 7.70414 5.008C8.15077 5.008 8.73647 5.14618 9.46432 5.41774C10.1901 5.69022 10.6561 5.82839 10.8605 5.82839C11.0132 5.82839 11.5309 5.66682 12.4086 5.34471C13.2385 5.046 13.939 4.92231 14.5128 4.97103C16.0678 5.09654 17.236 5.70961 18.0129 6.81412C16.6222 7.65688 15.9343 8.83726 15.948 10.3515C15.9605 11.531 16.3883 12.5125 17.2291 13.2918C17.6102 13.6535 18.0357 13.9331 18.5091 14.1316C18.4065 14.4294 18.2981 14.7147 18.1829 14.9885ZM14.6166 0.952815C14.6166 1.87728 14.279 2.74045 13.6059 3.53939C12.7936 4.48918 11.8111 5.03801 10.7457 4.9514C10.7321 4.8405 10.7242 4.72377 10.7242 4.60111C10.7242 3.71363 11.1105 2.76384 11.7965 1.98726C12.139 1.59407 12.5746 1.26713 13.1028 1.00633C13.6298 0.749416 14.1284 0.607338 14.5972 0.583008C14.6109 0.706594 14.6166 0.830189 14.6166 0.952803V0.952815Z",fill:a||"#626262"})}),_.jsx("defs",{children:_.jsx("clipPath",{id:"clip0_6789_106796",children:_.jsx("rect",{width:"19.4597",height:"19.458",fill:"white",transform:"translate(0.996094)"})})})]})};function v6(t){var n=t.size;return _.jsxs("svg",{width:n||24,height:n||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("path",{d:"M20 12H6",stroke:"#8C8C8C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),_.jsx("path",{d:"M13 19L6 12L13 5",stroke:"#8C8C8C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function p6(t){var n=t.size;return _.jsxs("svg",{width:n||48,height:n||48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("path",{d:"M8.25 37.5C7.69772 37.5 7.25 37.0523 7.25 36.5L7.25 13C7.25 12.4477 7.69771 12 8.25 12L40.75 12C41.3023 12 41.75 12.4477 41.75 13L41.75 36.5C41.75 37.0523 41.3023 37.5 40.75 37.5L8.25 37.5Z",stroke:"#0E1F97",strokeWidth:"3"}),_.jsx("path",{d:"M24.5 29.5C21.8766 29.5 19.75 27.3734 19.75 24.75C19.75 22.1266 21.8766 20 24.5 20C27.1234 20 29.25 22.1266 29.25 24.75C29.25 27.3734 27.1234 29.5 24.5 29.5Z",stroke:"#0E1F97",strokeWidth:"4"}),_.jsx("rect",{x:"6.5",y:"23.3999",width:"12",height:"2.4",fill:"#0E1F97"}),_.jsx("rect",{x:"29.9004",y:"23.3999",width:"12",height:"2.4",fill:"#0E1F97"})]})}function y6(t){var n=t.size,i=t.color;return _.jsxs("svg",{width:n||24,height:n||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("path",{d:"M12 23C18.0746 23 23 18.0746 23 12C23 5.92545 18.0746 1 12 0.999999C5.92545 0.999999 1 5.92545 1 12C1 18.0746 5.92545 23 12 23ZM12 2.86607C17.0433 2.86607 21.1339 6.9567 21.1339 12C21.1339 17.0433 17.0433 21.1339 12 21.1339C6.9567 21.1339 2.86607 17.0433 2.86607 12C2.86607 6.9567 6.9567 2.86607 12 2.86607Z",fill:i||"#8C8C8C"}),_.jsx("path",{d:"M13 7C13 6.73478 12.8946 6.48043 12.7071 6.29289C12.5196 6.10536 12.2652 6 12 6C11.7348 6 11.4804 6.10536 11.2929 6.29289C11.1054 6.48043 11 6.73478 11 7C11 7.26522 11.1054 7.51957 11.2929 7.70711C11.4804 7.89464 11.7348 8 12 8C12.2652 8 12.5196 7.89464 12.7071 7.70711C12.8946 7.51957 13 7.26522 13 7Z",fill:i||"#8C8C8C"}),_.jsx("rect",{x:"13",y:"18",width:"2",height:"8",transform:"rotate(-180 13 18)",fill:"#8C8C8C"})]})}function h6(t){var n=t.size;return _.jsxs("svg",{width:n||24,height:n||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("rect",{x:"12.5",y:"1.5",width:"10",height:"21",rx:"1.5",stroke:"#8C8C8C"}),_.jsx("path",{d:"M1 10.5C0.723858 10.5 0.5 10.7239 0.5 11C0.5 11.2761 0.723858 11.5 1 11.5V10.5ZM9.35355 11.3536C9.54882 11.1583 9.54882 10.8417 9.35355 10.6464L6.17157 7.46447C5.97631 7.2692 5.65973 7.2692 5.46447 7.46447C5.2692 7.65973 5.2692 7.97631 5.46447 8.17157L8.29289 11L5.46447 13.8284C5.2692 14.0237 5.2692 14.3403 5.46447 14.5355C5.65973 14.7308 5.97631 14.7308 6.17157 14.5355L9.35355 11.3536ZM1 11.5H9V10.5H1V11.5Z",fill:"#8C8C8C"}),_.jsx("path",{d:"M15 2H20C20 2.55228 19.5523 3 19 3H16C15.4477 3 15 2.55228 15 2Z",fill:"#8C8C8C"}),_.jsx("circle",{cx:"17.5",cy:"20",r:"1",fill:"#8C8C8C"})]})}function m6(t){var n=t.size;return _.jsxs("svg",{width:n||48,height:n||48,viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("circle",{cx:"15.5004",cy:"10.8002",r:"3.6",stroke:"#0E1F97",strokeWidth:"3"}),_.jsx("circle",{cx:"35.2998",cy:"19.7998",r:"3",stroke:"#0E1F97",strokeWidth:"3"}),_.jsx("path",{d:"M28.0146 20.3999C29.2496 18.4972 30.705 17.9696 32.2994 18.2728M42.5841 20.3999C41.3491 18.4972 39.8938 17.9696 38.2994 18.2728",stroke:"#0E1F97",strokeWidth:"3"}),_.jsx("path",{d:"M12.5 41.7002V30.6002H9.5V19.2002H21.5V30.6002H18.5V41.7002",stroke:"#0E1F97",strokeWidth:"3"}),_.jsx("path",{d:"M32.2998 41.7001V37.2001H29.2998L33.4998 27.6001H37.0998L41.2998 37.2001H38.2998V41.7001",stroke:"#0E1F97",strokeWidth:"3"})]})}var y4=function(n){var i=n.size,a=n.color;return _.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:i||24,height:i||24,fill:a||"rgba(0,0,0,0.6)",children:_.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})},g6=function(n){var i=n.size,a=n.color,l=3;return _.jsxs("svg",{width:i?i*l:39,height:i||13,viewBox:"0 0 39 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("path",{d:"M5.88952 5.98264C6.70681 5.48369 7.28459 4.49575 7.28459 3.40906C7.28459 1.34699 5.65607 0 3.60916 0C1.56225 0 0 1.34743 0 3.67543V5.42175H1.49815V3.675C1.49815 2.27819 2.44624 1.49642 3.61046 1.49642C4.77468 1.49642 5.60583 2.29465 5.60583 3.40906C5.60583 4.52347 4.70798 5.42132 3.54376 5.42132H1.49815V9.21326H2.995V6.75186H3.57711C5.04061 6.75186 6.00516 7.88272 6.03851 9.21326H7.60163C7.57391 7.89658 6.94373 6.56778 5.89082 5.98264",fill:a||"#8C8C8C"}),_.jsx("path",{d:"M37.5857 2.6262V3.57429C37.1863 2.97573 36.4877 2.57812 35.4902 2.57812C33.6608 2.57812 32.2969 4.04163 32.2969 5.92092C32.2969 7.78332 33.6608 9.26371 35.4902 9.26371C36.4379 9.26371 37.1201 8.88127 37.5857 8.29916V9.21391H38.9994V2.6262H37.5857ZM35.6566 7.83183C34.592 7.83183 33.8271 7.00025 33.8271 5.91919C33.8271 4.83813 34.592 4.00654 35.6566 4.00654C36.7212 4.00654 37.5025 4.83813 37.5025 5.91919C37.5025 7.00025 36.7229 7.83183 35.6566 7.83183Z",fill:a||"#8C8C8C"}),_.jsx("path",{d:"M27.5078 6.0384C27.5078 7.33559 26.8426 7.81808 25.9945 7.81808C25.1465 7.81808 24.4812 7.33559 24.4812 6.0384V2.62891H22.9844V5.9717C22.9844 8.16717 24.1152 9.26339 25.9945 9.26339C27.8738 9.26339 29.0047 8.16587 29.0047 5.9717V2.62891H27.5078V6.0384Z",fill:a||"#8C8C8C"}),_.jsx("path",{d:"M11.2922 2.57812C9.44578 2.57812 8.01562 4.09143 8.01562 5.93781C8.01562 7.78419 9.44491 9.26371 11.342 9.26371C12.4893 9.26371 13.3209 8.86481 14.003 8.14974L13.1879 7.18519C12.7388 7.58409 12.1735 7.86691 11.3753 7.86691C10.5771 7.86691 9.82865 7.46758 9.59693 6.60264H14.5184C14.578 6.34086 14.6059 6.07286 14.6016 5.80441C14.6016 3.94201 13.1381 2.57812 11.2922 2.57812ZM9.51248 5.42197C9.71214 4.55574 10.4437 3.97536 11.3749 3.97536C12.3061 3.97536 12.938 4.54058 13.1212 5.42197H9.51248Z",fill:a||"#8C8C8C"}),_.jsx("path",{d:"M31.4988 0.0664062H30.002V9.2134H31.4988V0.0664062Z",fill:a||"#8C8C8C"}),_.jsx("path",{d:"M20.572 3.57429C20.2394 3.00864 19.4745 2.57812 18.4766 2.57812C16.7302 2.57812 15.2832 4.04163 15.2832 5.92092C15.2832 7.78332 16.7302 9.21261 18.4766 9.21261C19.4247 9.21261 20.0232 8.92978 20.4888 8.34637V8.94537C20.4888 10.2426 19.5741 10.7082 18.6927 10.7082C17.8113 10.7082 17.1127 10.275 16.9797 9.32782H15.5162C15.5829 10.991 16.913 12.0565 18.6927 12.0565C20.4724 12.0565 21.9844 11.0421 21.9844 8.84662V2.6262H20.572V3.57429ZM18.6429 7.78202C17.5783 7.78202 16.8134 7.00025 16.8134 5.91962C16.8134 4.839 17.5783 4.00698 18.6429 4.00698C19.7075 4.00698 20.4888 4.83856 20.4888 5.91962C20.4888 7.00068 19.7071 7.78202 18.6429 7.78202Z",fill:a||"#8C8C8C"})]})};function w6(t){var n=t.size,i=t.color;return _.jsxs("svg",{width:n||86,height:n||86,viewBox:"0 0 86 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("ellipse",{cx:"43",cy:"43",rx:"40",ry:"40",transform:"rotate(90 43 43)",stroke:i||"#FCB937",strokeWidth:"3"}),_.jsx("path",{d:"M40.8789 48.5352L40.5859 25H44.9805L44.6875 48.5352H40.8789ZM42.7832 60.4736C42.002 60.4736 41.3428 60.2051 40.8057 59.668C40.2686 59.1309 40 58.4717 40 57.6904C40 56.8929 40.2686 56.2337 40.8057 55.7129C41.3428 55.1758 42.002 54.9072 42.7832 54.9072C43.5807 54.9072 44.2399 55.1758 44.7607 55.7129C45.2979 56.2337 45.5664 56.8929 45.5664 57.6904C45.5664 58.4717 45.2979 59.1309 44.7607 59.668C44.2399 60.2051 43.5807 60.4736 42.7832 60.4736Z",fill:i||"#FCB937"})]})}function b6(){return _.jsxs("svg",{width:"113",height:"16",viewBox:"0 0 113 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("path",{d:"M1.35197 12V3.27273H4.6247C5.29515 3.27273 5.85765 3.39773 6.3122 3.64773C6.76958 3.89773 7.11475 4.24148 7.34771 4.67898C7.5835 5.11364 7.7014 5.60795 7.7014 6.16193C7.7014 6.72159 7.5835 7.21875 7.34771 7.65341C7.11191 8.08807 6.7639 8.4304 6.30367 8.6804C5.84345 8.92756 5.27668 9.05114 4.60339 9.05114H2.43435V7.75142H4.39032C4.78237 7.75142 5.10339 7.68324 5.35339 7.54688C5.60339 7.41051 5.78805 7.22301 5.90737 6.98438C6.02953 6.74574 6.0906 6.47159 6.0906 6.16193C6.0906 5.85227 6.02953 5.57955 5.90737 5.34375C5.78805 5.10795 5.60197 4.92472 5.34913 4.79403C5.09913 4.66051 4.77668 4.59375 4.3818 4.59375H2.93293V12H1.35197ZM11.6478 12.1278C11.0086 12.1278 10.4546 11.9872 9.98587 11.706C9.51712 11.4247 9.15349 11.0312 8.89497 10.5256C8.63928 10.0199 8.51144 9.42898 8.51144 8.75284C8.51144 8.0767 8.63928 7.48437 8.89497 6.97585C9.15349 6.46733 9.51712 6.07244 9.98587 5.79119C10.4546 5.50994 11.0086 5.36932 11.6478 5.36932C12.287 5.36932 12.841 5.50994 13.3097 5.79119C13.7785 6.07244 14.1407 6.46733 14.3964 6.97585C14.6549 7.48437 14.7842 8.0767 14.7842 8.75284C14.7842 9.42898 14.6549 10.0199 14.3964 10.5256C14.1407 11.0312 13.7785 11.4247 13.3097 11.706C12.841 11.9872 12.287 12.1278 11.6478 12.1278ZM11.6563 10.892C12.0029 10.892 12.2927 10.7969 12.5256 10.6065C12.7586 10.4134 12.9319 10.1548 13.0455 9.83097C13.162 9.5071 13.2202 9.14631 13.2202 8.74858C13.2202 8.34801 13.162 7.9858 13.0455 7.66193C12.9319 7.33523 12.7586 7.07528 12.5256 6.8821C12.2927 6.68892 12.0029 6.59233 11.6563 6.59233C11.3012 6.59233 11.0058 6.68892 10.77 6.8821C10.537 7.07528 10.3623 7.33523 10.2458 7.66193C10.1322 7.9858 10.0754 8.34801 10.0754 8.74858C10.0754 9.14631 10.1322 9.5071 10.2458 9.83097C10.3623 10.1548 10.537 10.4134 10.77 10.6065C11.0058 10.7969 11.3012 10.892 11.6563 10.892ZM17.1368 12L15.2874 5.45455H16.8598L18.0104 10.0568H18.0701L19.2462 5.45455H20.8016L21.9777 10.0312H22.0417L23.1752 5.45455H24.7519L22.8982 12H21.2917L20.0644 7.5767H19.9749L18.7476 12H17.1368ZM28.4192 12.1278C27.7629 12.1278 27.1962 11.9915 26.7189 11.7188C26.2445 11.4432 25.8794 11.054 25.6237 10.5511C25.368 10.0455 25.2402 9.45028 25.2402 8.76562C25.2402 8.09233 25.368 7.50142 25.6237 6.9929C25.8822 6.48153 26.243 6.08381 26.7061 5.79972C27.1692 5.51278 27.7132 5.36932 28.3382 5.36932C28.7416 5.36932 29.1223 5.43466 29.4802 5.56534C29.841 5.69318 30.1592 5.89205 30.4348 6.16193C30.7132 6.43182 30.932 6.77557 31.091 7.19318C31.2501 7.60795 31.3297 8.10227 31.3297 8.67614V9.14915H25.9646V8.10938H29.851C29.8481 7.81392 29.7842 7.55114 29.6592 7.32102C29.5342 7.08807 29.3595 6.90483 29.1351 6.77131C28.9135 6.63778 28.655 6.57102 28.3595 6.57102C28.0442 6.57102 27.7672 6.64773 27.5285 6.80114C27.2899 6.9517 27.1038 7.15057 26.9703 7.39773C26.8396 7.64205 26.7729 7.91051 26.77 8.20312V9.1108C26.77 9.49148 26.8396 9.81818 26.9788 10.0909C27.118 10.3608 27.3126 10.5682 27.5626 10.7131C27.8126 10.8551 28.1052 10.9261 28.4405 10.9261C28.6649 10.9261 28.868 10.8949 29.0499 10.8324C29.2317 10.767 29.3893 10.6719 29.5229 10.5469C29.6564 10.4219 29.7572 10.267 29.8254 10.0824L31.2658 10.2443C31.1749 10.625 31.0016 10.9574 30.7459 11.2415C30.493 11.5227 30.1692 11.7415 29.7743 11.8977C29.3794 12.0511 28.9277 12.1278 28.4192 12.1278ZM32.5147 12V5.45455H34.0105V6.54545H34.0786C34.198 6.16761 34.4025 5.87642 34.6923 5.67188C34.9849 5.46449 35.3187 5.3608 35.6937 5.3608C35.7789 5.3608 35.8741 5.36506 35.9792 5.37358C36.0872 5.37926 36.1767 5.3892 36.2477 5.40341V6.82244C36.1823 6.79972 36.0786 6.77983 35.9366 6.76278C35.7974 6.7429 35.6625 6.73295 35.5318 6.73295C35.2505 6.73295 34.9977 6.79403 34.7732 6.91619C34.5517 7.03551 34.3769 7.2017 34.2491 7.41477C34.1213 7.62784 34.0573 7.87358 34.0573 8.15199V12H32.5147ZM39.7807 12.1278C39.1245 12.1278 38.5577 11.9915 38.0804 11.7188C37.606 11.4432 37.241 11.054 36.9853 10.5511C36.7296 10.0455 36.6018 9.45028 36.6018 8.76562C36.6018 8.09233 36.7296 7.50142 36.9853 6.9929C37.2438 6.48153 37.6046 6.08381 38.0677 5.79972C38.5307 5.51278 39.0748 5.36932 39.6998 5.36932C40.1032 5.36932 40.4839 5.43466 40.8418 5.56534C41.2026 5.69318 41.5208 5.89205 41.7964 6.16193C42.0748 6.43182 42.2935 6.77557 42.4526 7.19318C42.6117 7.60795 42.6912 8.10227 42.6912 8.67614V9.14915H37.3262V8.10938H41.2126C41.2097 7.81392 41.1458 7.55114 41.0208 7.32102C40.8958 7.08807 40.7211 6.90483 40.4966 6.77131C40.2751 6.63778 40.0165 6.57102 39.7211 6.57102C39.4057 6.57102 39.1287 6.64773 38.8901 6.80114C38.6515 6.9517 38.4654 7.15057 38.3319 7.39773C38.2012 7.64205 38.1344 7.91051 38.1316 8.20312V9.1108C38.1316 9.49148 38.2012 9.81818 38.3404 10.0909C38.4796 10.3608 38.6742 10.5682 38.9242 10.7131C39.1742 10.8551 39.4668 10.9261 39.802 10.9261C40.0265 10.9261 40.2296 10.8949 40.4114 10.8324C40.5932 10.767 40.7509 10.6719 40.8844 10.5469C41.0179 10.4219 41.1188 10.267 41.187 10.0824L42.6273 10.2443C42.5364 10.625 42.3631 10.9574 42.1074 11.2415C41.8546 11.5227 41.5307 11.7415 41.1358 11.8977C40.741 12.0511 40.2893 12.1278 39.7807 12.1278ZM46.3053 12.1151C45.7911 12.1151 45.3308 11.983 44.9246 11.7188C44.5183 11.4545 44.1973 11.071 43.9615 10.5682C43.7257 10.0653 43.6078 9.45455 43.6078 8.7358C43.6078 8.00852 43.7271 7.39489 43.9658 6.89489C44.2073 6.39205 44.5325 6.01278 44.9416 5.7571C45.3507 5.49858 45.8067 5.36932 46.3095 5.36932C46.693 5.36932 47.0084 5.43466 47.2555 5.56534C47.5027 5.69318 47.6987 5.84801 47.8436 6.02983C47.9885 6.20881 48.1007 6.37784 48.1803 6.53693H48.2442V3.27273H49.7911V12H48.274V10.9688H48.1803C48.1007 11.1278 47.9857 11.2969 47.8351 11.4759C47.6845 11.652 47.4857 11.8026 47.2385 11.9276C46.9913 12.0526 46.6803 12.1151 46.3053 12.1151ZM46.7357 10.8494C47.0624 10.8494 47.3408 10.7614 47.5709 10.5852C47.801 10.4062 47.9757 10.1577 48.095 9.83949C48.2144 9.52131 48.274 9.15057 48.274 8.72727C48.274 8.30398 48.2144 7.93608 48.095 7.62358C47.9786 7.31108 47.8053 7.06818 47.5751 6.89489C47.3479 6.72159 47.068 6.63494 46.7357 6.63494C46.3919 6.63494 46.105 6.72443 45.8749 6.90341C45.6448 7.08239 45.4715 7.32955 45.355 7.64489C45.2385 7.96023 45.1803 8.32102 45.1803 8.72727C45.1803 9.13636 45.2385 9.50142 45.355 9.82244C45.4743 10.1406 45.649 10.392 45.8791 10.5767C46.1121 10.7585 46.3976 10.8494 46.7357 10.8494ZM54.2396 12V3.27273H55.7822V6.53693H55.8462C55.9257 6.37784 56.0379 6.20881 56.1828 6.02983C56.3277 5.84801 56.5237 5.69318 56.7709 5.56534C57.018 5.43466 57.3334 5.36932 57.7169 5.36932C58.2226 5.36932 58.6785 5.49858 59.0848 5.7571C59.4939 6.01278 59.8178 6.39205 60.0564 6.89489C60.2979 7.39489 60.4186 8.00852 60.4186 8.7358C60.4186 9.45455 60.3007 10.0653 60.0649 10.5682C59.8291 11.071 59.5081 11.4545 59.1018 11.7188C58.6956 11.983 58.2354 12.1151 57.7212 12.1151C57.3462 12.1151 57.0351 12.0526 56.7879 11.9276C56.5408 11.8026 56.3419 11.652 56.1913 11.4759C56.0436 11.2969 55.9285 11.1278 55.8462 10.9688H55.7567V12H54.2396ZM55.7524 8.72727C55.7524 9.15057 55.8121 9.52131 55.9314 9.83949C56.0535 10.1577 56.2283 10.4062 56.4555 10.5852C56.6856 10.7614 56.9641 10.8494 57.2908 10.8494C57.6317 10.8494 57.9172 10.7585 58.1473 10.5767C58.3774 10.392 58.5507 10.1406 58.6672 9.82244C58.7865 9.50142 58.8462 9.13636 58.8462 8.72727C58.8462 8.32102 58.7879 7.96023 58.6714 7.64489C58.555 7.32955 58.3817 7.08239 58.1516 6.90341C57.9214 6.72443 57.6345 6.63494 57.2908 6.63494C56.9612 6.63494 56.6814 6.72159 56.4513 6.89489C56.2212 7.06818 56.0464 7.31108 55.9271 7.62358C55.8106 7.93608 55.7524 8.30398 55.7524 8.72727ZM62.3462 14.4545C62.136 14.4545 61.9414 14.4375 61.7624 14.4034C61.5862 14.3722 61.4456 14.3352 61.3405 14.2926L61.6985 13.0909C61.9229 13.1563 62.1232 13.1875 62.2993 13.1847C62.4754 13.1818 62.6303 13.1264 62.7638 13.0185C62.9002 12.9134 63.0152 12.7372 63.109 12.4901L63.2411 12.1364L60.8675 5.45455H62.5039L64.0124 10.3977H64.0806L65.5933 5.45455H67.234L64.6132 12.7926C64.4911 13.1392 64.3291 13.4361 64.1274 13.6832C63.9257 13.9332 63.6786 14.1236 63.386 14.2543C63.0962 14.3878 62.7496 14.4545 62.3462 14.4545Z",fill:"#8C8C8C"}),_.jsx("path",{d:"M77.3427 8.45085C78.2228 7.91285 78.8451 6.84759 78.8451 5.67586C78.8451 3.45241 77.0913 2 74.8869 2C72.6825 2 71 3.45288 71 5.96307V7.84606H72.6134V5.9626C72.6134 4.45649 73.6345 3.61353 74.8883 3.61353C76.142 3.61353 77.0371 4.47423 77.0371 5.67586C77.0371 6.87748 76.0702 7.8456 74.8164 7.8456H72.6134V11.9343H74.2254V9.28026H74.8523C76.4284 9.28026 77.4672 10.4996 77.5031 11.9343H79.1865C79.1567 10.5146 78.478 9.08178 77.3441 8.45085",fill:"#BD7DFF"}),_.jsx("path",{d:"M111.477 4.83175V5.85404C111.047 5.20862 110.295 4.77991 109.221 4.77991C107.251 4.77991 105.782 6.35794 105.782 8.38431C105.782 10.3925 107.251 11.9887 109.221 11.9887C110.241 11.9887 110.976 11.5763 111.477 10.9487V11.935H113V4.83175H111.477ZM109.4 10.4448C108.253 10.4448 107.43 9.54811 107.43 8.38244C107.43 7.21678 108.253 6.32012 109.4 6.32012C110.546 6.32012 111.388 7.21678 111.388 8.38244C111.388 9.54811 110.548 10.4448 109.4 10.4448Z",fill:"#BD7DFF"}),_.jsx("path",{d:"M100.624 8.51104C100.624 9.90974 99.908 10.43 98.9947 10.43C98.0814 10.43 97.3649 9.90974 97.3649 8.51104V4.83472H95.7529V8.43912C95.7529 10.8064 96.9708 11.9884 98.9947 11.9884C101.019 11.9884 102.236 10.805 102.236 8.43912V4.83472H100.624V8.51104Z",fill:"#BD7DFF"}),_.jsx("path",{d:"M83.161 4.77991C81.1725 4.77991 79.6323 6.41165 79.6323 8.40252C79.6323 10.3934 81.1716 11.9887 83.2146 11.9887C84.4502 11.9887 85.3458 11.5586 86.0804 10.7876L85.2026 9.74752C84.7189 10.1776 84.1102 10.4826 83.2505 10.4826C82.3909 10.4826 81.5848 10.052 81.3353 9.11939H86.6355C86.6996 8.83711 86.7297 8.54814 86.725 8.25869C86.725 6.25053 85.1489 4.77991 83.161 4.77991ZM81.2443 7.84631C81.4594 6.91229 82.2472 6.28649 83.25 6.28649C84.2529 6.28649 84.9334 6.89594 85.1307 7.84631H81.2443Z",fill:"#BD7DFF"}),_.jsx("path",{d:"M104.923 2.07153H103.311V11.9344H104.923V2.07153Z",fill:"#BD7DFF"}),_.jsx("path",{d:"M93.1547 5.85404C92.7965 5.24412 91.9727 4.77991 90.8981 4.77991C89.0174 4.77991 87.459 6.35794 87.459 8.38431C87.459 10.3925 89.0174 11.9336 90.8981 11.9336C91.9191 11.9336 92.5637 11.6287 93.0651 10.9996V11.6455C93.0651 13.0442 92.08 13.5462 91.1308 13.5462C90.1816 13.5462 89.4292 13.0792 89.286 12.0578H87.7099C87.7818 13.8512 89.2142 15 91.1308 15C93.0474 15 94.6758 13.9063 94.6758 11.539V4.83175H93.1547V5.85404ZM91.0772 10.3911C89.9307 10.3911 89.1069 9.54811 89.1069 8.38291C89.1069 7.21772 89.9307 6.32058 91.0772 6.32058C92.2237 6.32058 93.0651 7.21725 93.0651 8.38291C93.0651 9.54858 92.2232 10.3911 91.0772 10.3911Z",fill:"#BD7DFF"})]})}var S6=function(n){var i=n.size,a=i===void 0?100:i,l=n.color,c=l===void 0?"#5DA600":l;return _.jsxs("svg",{width:a,height:a,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("ellipse",{cx:"50.0001",cy:"49.9999",rx:"46.5116",ry:"46.5116",transform:"rotate(90 50.0001 49.9999)",stroke:c,strokeWidth:"3.48837"}),_.jsx("path",{d:"M74.4185 36.0469L44.7753 63.9539L30.2325 50.2627",stroke:c,strokeWidth:"3.48837",strokeLinecap:"round",strokeLinejoin:"round"})]})},E6=function(){return _.jsxs("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"9.5",stroke:"#7E57C5"}),_.jsx("rect",{x:"3",y:"3.5",width:"14",height:"14",rx:"7",fill:"#7E57C5"})]})},C6=function(){return _.jsx("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:_.jsx("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"9.5",stroke:"#8C8C8C"})})},_6=function(){return _.jsxs("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsx("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"3.5",fill:"#7E57C5",stroke:"#7E57C5"}),_.jsx("path",{d:"M16.6335 6.71849C16.243 6.32797 15.6098 6.32797 15.2193 6.71849L9.09149 12.8463L5.12147 8.8763C4.73095 8.48577 4.09778 8.48577 3.70726 8.8763C3.31674 9.26682 3.31674 9.89999 3.70726 10.2905L9.09541 15.6787L16.6335 8.1327C17.0241 7.74218 17.0241 7.10902 16.6335 6.71849Z",fill:"white"})]})},O6=function(){return _.jsx("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:_.jsx("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"3.5",stroke:"#8C8C8C"})})},x6=function(n){var i=n.color,a=i===void 0?"#237804":i;return _.jsx("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:_.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.15385 2.15377C7.35887 2.35879 7.35887 2.69121 7.15385 2.89623L2.67894 7.3712L0.153877 4.84616C-0.0511485 4.64114 -0.0511485 4.30872 0.153877 4.1037C0.358901 3.89867 0.691313 3.89867 0.896338 4.1037L2.67894 5.88628L6.41139 2.15377C6.61641 1.94874 6.94882 1.94874 7.15385 2.15377Z",fill:a})})},I6=function(n){var i=n.color,a=i===void 0?"#262626":i;return _.jsx("svg",{width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:_.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.86967 0.228964C9.07469 0.433989 9.07469 0.766401 8.86967 0.971426L4.99844 4.84266L1.12721 0.971426C0.922181 0.766401 0.922181 0.433989 1.12721 0.228964C1.33223 0.023939 1.66464 0.023939 1.86967 0.228964L4.99844 3.35773L8.12721 0.228964C8.33223 0.023939 8.66464 0.023939 8.86967 0.228964Z",fill:a})})},R6=function(n){var i=n.size,a=n.color,l=a===void 0?"#ffffff":a;return _.jsxs("svg",{width:i||40,height:i||40,viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsxs("g",{clipPath:"url(#clip0_2629_17763)",children:[_.jsx("path",{d:"M3.99993 17C3.53533 17 3.30303 17 3.10985 16.9616C2.31642 16.8038 1.69618 16.1835 1.5384 15.3901C1.49998 15.1969 1.49999 14.9646 1.5 14.5L1.50019 7.19993C1.50022 6.07985 1.50024 5.51981 1.71823 5.092C1.90998 4.71568 2.21594 4.40973 2.59226 4.21799C3.02008 4.00001 3.58012 4.00001 4.7002 4.00002L17 4.00004C17.4646 4.00004 17.6969 4.00005 17.8901 4.03847C18.6835 4.19628 19.3037 4.81649 19.4615 5.60989C19.4999 5.80308 19.4999 6.03539 19.4999 6.50001",stroke:l}),_.jsx("path",{d:"M6.7002 6.50002L18.2998 6.50002C18.8681 6.50002 19.2648 6.50021 19.5732 6.52541C19.8753 6.55011 20.0491 6.59615 20.1807 6.6631C20.4629 6.80691 20.6931 7.03711 20.8369 7.31935C20.9039 7.45093 20.9499 7.62472 20.9746 7.92677C20.9998 8.23519 21 8.63191 21 9.20021V15.7998C21 16.3681 20.9998 16.7648 20.9746 17.0733C20.9499 17.3753 20.9039 17.5491 20.8369 17.6807C20.6931 17.9629 20.4629 18.1931 20.1807 18.3369C20.0491 18.4039 19.8753 18.4499 19.5732 18.4746C19.2648 18.4998 18.8681 18.5 18.2998 18.5H6.7002C6.13188 18.5 5.73519 18.4998 5.42676 18.4746C5.12471 18.4499 4.95091 18.4039 4.81934 18.3369C4.53709 18.1931 4.30689 17.9629 4.16309 17.6807C4.09614 17.5491 4.05009 17.3753 4.02539 17.0733C4.0002 16.7648 3.99999 16.3681 4 15.7998L4 9.20021C4.00001 8.63192 4.00018 8.23519 4.02539 7.92677C4.05012 7.6245 4.09703 7.45096 4.16406 7.31935C4.30788 7.03712 4.5371 6.80691 4.81934 6.6631C4.95099 6.59606 5.12529 6.55012 5.42773 6.52541C5.73609 6.50024 6.13215 6.50001 6.7002 6.50002Z",stroke:l}),_.jsx("path",{d:"M4 16L7.66852 12.7391C8.11271 12.3443 8.80118 12.4217 9.14662 12.9053L11 15.5L14.6647 10.6138C15.075 10.0666 15.9013 10.0837 16.2887 10.6472L21 17.5",stroke:l}),_.jsx("path",{d:"M9 18.5L11 15.5L14.6647 10.6138C15.075 10.0666 15.9013 10.0837 16.2887 10.6472L21 17.5",stroke:l}),_.jsx("circle",{cx:"7.5",cy:"10",r:"1",fill:l})]}),_.jsx("defs",{children:_.jsx("clipPath",{id:"clip0_2629_17763",children:_.jsx("rect",{width:"22",height:"22",fill:"white",transform:"translate(0.5 1.90735e-05)"})})})]})},P6=function(n){var i=n.size,a=i===void 0?40:i,l=n.color,c=l===void 0?"#ffffff":l;return _.jsxs("svg",{width:a,height:a,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_.jsxs("g",{clipPath:"url(#clip0_2629_17707)",children:[_.jsx("path",{d:"M8.7041 3.67972H15.2959C15.3348 3.67968 15.3734 3.69153 15.4053 3.7139C15.4211 3.72502 15.4347 3.73877 15.4463 3.75394L15.4746 3.80472L16.1699 5.75394L16.2881 6.08597H19.5625C20.236 6.08597 20.7812 6.63125 20.7812 7.30472V17.1016C20.7812 17.7751 20.236 18.3203 19.5625 18.3203H4.4375C3.76403 18.3203 3.21875 17.7751 3.21875 17.1016V7.30472C3.21875 6.63125 3.76403 6.08597 4.4375 6.08597H7.71191L7.83008 5.75491L8.52832 3.80374L8.5293 3.80179C8.55486 3.73029 8.62456 3.6798 8.7041 3.67972ZM12 8.00784C9.82464 8.00784 8.0625 9.76998 8.0625 11.9453C8.0625 14.1207 9.82464 15.8828 12 15.8828C14.1754 15.8828 15.9375 14.1207 15.9375 11.9453C15.9375 9.76998 14.1754 8.00784 12 8.00784Z",stroke:c}),_.jsx("circle",{cx:"18",cy:"9.00003",r:"1",fill:c})]}),_.jsx("defs",{children:_.jsx("clipPath",{id:"clip0_2629_17707",children:_.jsx("rect",{width:"22",height:"22",fill:c})})})]})},Pu;function Zo(t){"@babel/helpers - typeof";return Zo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Zo(t)}function wr(t,n,i){return(n=T6(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function T6(t){var n=j6(t,"string");return Zo(n)=="symbol"?n:n+""}function j6(t,n){if(Zo(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(Zo(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var k6=function(){return _.jsx("div",{})},hr={WARNING:"warning_icon",SPINNER:"spinner",ERROR:"failure",AGE:"age",ANDROID:"android",ARROW:"arrow",APPLE:"apple",BACK:"back",BIOMETRIC:"biometricIcon",INFO:"info",TO_MOBILE:"toMobile",UNDERAGE:"underage",CROSS:"cross",REGULA_LOGO:"regulaLogo",POWERED_BY:"signature",SUCCESS:"success",DEFAULT:"empty",CIRCLE_SELECTED:"radio_selected",CIRCLE_NORMAL:"radio_normal",SQUARE_SELECTED:"square_selected",SQUARE_NORMAL:"square_normal",SELECTED:"selected",CHEVRON_DOWN:"chevronDown",CLOSE_ICON:"close_icon",GALLERY_ICON:"gallery",CAMERA_ICON:"camera"},Tu=(Pu={},wr(wr(wr(wr(wr(wr(wr(wr(wr(wr(Pu,hr.WARNING,w6),hr.SPINNER,p4),hr.ERROR,l6),hr.AGE,s6),hr.ANDROID,c6),hr.ARROW,f6),hr.APPLE,d6),hr.BACK,v6),hr.BIOMETRIC,p6),hr.INFO,y6),wr(wr(wr(wr(wr(wr(wr(wr(wr(wr(Pu,hr.TO_MOBILE,h6),hr.UNDERAGE,m6),hr.CROSS,y4),hr.REGULA_LOGO,g6),hr.DEFAULT,k6),hr.POWERED_BY,b6),hr.SUCCESS,S6),hr.CIRCLE_SELECTED,E6),hr.CIRCLE_NORMAL,C6),hr.SQUARE_SELECTED,_6),wr(wr(wr(wr(wr(wr(Pu,hr.SQUARE_NORMAL,O6),hr.SELECTED,x6),hr.CHEVRON_DOWN,I6),hr.CLOSE_ICON,y4),hr.GALLERY_ICON,R6),hr.CAMERA_ICON,P6)),A6=function(n){var i=n.type,a=n.size,l=n.color,c=Tu[i]||Tu[hr.DEFAULT];return _.jsx(c,{size:a,color:l})};function N6(t,n){return M6(t)||L6(t,n)||F6(t,n)||D6()}function D6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
22
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function F6(t,n){if(t){if(typeof t=="string")return h4(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?h4(t,n):void 0}}function h4(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function L6(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function M6(t){if(Array.isArray(t))return t}var Zr=function(n){var i=n.imageId,a=n.imageURL,l=n.base64,c=n.contentMode,f=c===void 0?Cu.ASPECT_FILL:c,d=n.cornerRadius,p=n.backgroundColor,y=function(O){if(O===Cu.ASPECT_FILL)return"cover";if(O===Cu.ASPECT_FIT)return"contain";if(O===Cu.FILL)return"fill"},m=tr.useState(!0),g=N6(m,2),h=g[0],b=g[1],S=h&&a,w=function(){b(!1)};if(l)return _.jsx("img",{style:{width:"100%",height:"100%",objectFit:y(f),borderRadius:d,backgroundColor:Ze(p)||"transparent",display:S?"none":"block"},src:l});if(i){var C=i in Tu?i:"default";return _.jsx(A6,{type:C})}if(a)return _.jsxs(_.Fragment,{children:[S&&_.jsx("div",{style:{width:"100%",height:"100%",backgroundColor:"#e0e0e0",borderRadius:d}}),_.jsx("img",{style:{width:"100%",height:"100%",objectFit:y(f),borderRadius:d,backgroundColor:p,display:S?"none":"block"},src:a,onLoad:w})]})},q6=function(n){var i=n.signature;return _.jsx("footer",{"data-ui":"gui-footer",part:"gui-footer",style:{display:"flex",justifyContent:"center",alignItems:"center",alignContent:"center",height:"100%",width:"100%"},children:_.jsx("a",{href:"",children:_.jsx(Zr,{imageId:i==null?void 0:i.imageId})})})};function Xo(t){"@babel/helpers - typeof";return Xo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Xo(t)}function m4(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function rv(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?m4(Object(i),!0).forEach(function(a){B6(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):m4(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function B6(t,n,i){return(n=V6(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function V6(t){var n=$6(t,"string");return Xo(n)=="symbol"?n:n+""}function $6(t,n){if(Xo(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(Xo(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function U6(t,n){return G6(t)||H6(t,n)||W6(t,n)||z6()}function z6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W6(t,n){if(t){if(typeof t=="string")return g4(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?g4(t,n):void 0}}function g4(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function H6(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function G6(t){if(Array.isArray(t))return t}var K6={display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"18px",height:"36px",minWidth:"36px",border:"none",cursor:"pointer"},Q6=function(n){var i,a=n.dataTestId,l=n.responseBody,c=n.image,f=n.title,d=n.backgroundColor,p=d===void 0?"transparent":d,y=n.cornerRadius,m=n.highlightColor,g=tr.useState(!1),h=U6(g,2),b=h[0],S=h[1],w=b&&m?m:p,C=Fi(),N=C.perform,O=function(){var R=JSON.parse(JSON.stringify(l));ev(R),N(R)};return _.jsxs("button",{"data-ui":"gui-close-button",part:"gui-close-button","data-test":a,onClick:O,className:"hover-button",style:rv(rv(rv({},K6),y&&{borderRadius:y}),{},{backgroundColor:(i=Ze(w))!==null&&i!==void 0?i:"transparent"}),onMouseEnter:function(){return S(!0)},onMouseLeave:function(){return S(!1)},children:[c&&_.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"24px",height:"24px"},children:_.jsx(Zr,ce({},c))}),f&&_.jsx("div",{style:{padding:"0 5px"},children:_.jsx(qr,ce({},f))})]})},Y6=function(n){var i=n.closeButton;return _.jsx("header",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",paddingRight:"16px"},"data-ui":"gui-header",part:"gui-header",children:_.jsx("div",{children:i&&_.jsx(Q6,ce({dataTestId:"close-btn"},i))})})},w4={},tv,b4;function Z6(){if(b4)return tv;b4=1;var t=Zn(),n=Jt(),i=$f(),a=Yn(),l=function(c,f,d,p,y,m,g,h){for(var b=y,S=0,w=g?a(g,h):!1,C,N;S<p;)S in d&&(C=w?w(d[S],S,f):d[S],m>0&&t(C)?(N=n(C),b=l(c,f,C,N,b,m-1)-1):(i(b+1),c[b]=C),b++),S++;return b};return tv=l,tv}var S4;function X6(){if(S4)return w4;S4=1;var t=je(),n=Z6(),i=Mr(),a=gt(),l=Jt(),c=Zc();return t({target:"Array",proto:!0},{flatMap:function(d){var p=a(this),y=l(p),m;return i(d),m=c(p,0),m.length=n(m,p,p,y,0,1,d,arguments.length>1?arguments[1]:void 0),m}}),w4}X6();var E4={},C4;function J6(){if(C4)return E4;C4=1;var t=mu();return t("flatMap"),E4}J6();var _4={},nv,O4;function iv(){if(O4)return nv;O4=1;var t=Ir(),n=mt(),i=pr(),a=i("match");return nv=function(l){var c;return t(l)&&((c=l[a])!==void 0?!!c:n(l)==="RegExp")},nv}var ov,x4;function e9(){if(x4)return ov;x4=1;var t=B0().charAt;return ov=function(n,i,a){return i+(a?t(n,i).length:1)},ov}var av,I4;function r9(){if(I4)return av;I4=1;var t=dr(),n=yr(),i=vr(),a=mt(),l=Ng(),c=TypeError;return av=function(f,d){var p=f.exec;if(i(p)){var y=t(p,f,d);return y!==null&&n(y),y}if(a(f)==="RegExp")return t(l,f,d);throw new c("RegExp#exec called on incompatible receiver")},av}var R4;function t9(){if(R4)return _4;R4=1;var t=je(),n=dr(),i=pu(),a=Xh(),l=$o(),c=pn(),f=dc(),d=at(),p=yr(),y=Ir(),m=mt(),g=iv(),h=vd(),b=Do(),S=Yr(),w=We(),C=pr(),N=S2(),O=e9(),T=r9(),R=Tt(),F=Hr(),j=C("matchAll"),x="RegExp String",L=x+" Iterator",U=R.set,J=R.getterFor(L),H=RegExp.prototype,$=TypeError,le=i("".indexOf),G=i("".matchAll),re=!!G&&!w(function(){G("a",/./)}),oe=a(function(z,ae,k,Y){U(this,{type:L,regexp:z,string:ae,global:k,unicode:Y,done:!1})},x,function(){var z=J(this);if(z.done)return l(void 0,!0);var ae=z.regexp,k=z.string,Y=T(ae,k);return Y===null?(z.done=!0,l(void 0,!0)):z.global?(d(Y[0])===""&&(ae.lastIndex=O(k,f(ae.lastIndex),z.unicode)),l(Y,!1)):(z.done=!0,l(Y,!1))}),te=function(Z){var z=p(this),ae=d(Z),k=N(z,RegExp),Y=d(h(z)),ge,Se,fe;return ge=new k(k===RegExp?z.source:z,Y),Se=!!~le(Y,"g"),fe=!!~le(Y,"u"),ge.lastIndex=f(z.lastIndex),new oe(ge,ae,Se,fe)};return t({target:"String",proto:!0,forced:re},{matchAll:function(z){var ae=c(this),k,Y,ge,Se;if(y(z)){if(g(z)&&(k=d(c(h(z))),!~le(k,"g")))throw new $("`.matchAll` does not allow non-global regexes");if(re)return G(ae,z);if(ge=b(z,j),ge===void 0&&F&&m(z)==="RegExp"&&(ge=te),ge)return n(ge,z,ae)}else if(re)return G(ae,z);return Y=d(ae),Se=new RegExp(z,"g"),F?n(te,Se,Y):Se[j](Y)}}),F||j in H||S(H,j,te),_4}t9();var P4={},uv,T4;function j4(){if(T4)return uv;T4=1;var t=iv(),n=TypeError;return uv=function(i){if(t(i))throw new n("The method doesn't accept regular expressions");return i},uv}var lv,k4;function A4(){if(k4)return lv;k4=1;var t=pr(),n=t("match");return lv=function(i){var a=/./;try{"/./"[i](a)}catch(l){try{return a[n]=!1,"/./"[i](a)}catch(c){}}return!1},lv}var N4;function n9(){if(N4)return P4;N4=1;var t=je(),n=pu(),i=Qn().f,a=dc(),l=at(),c=j4(),f=pn(),d=A4(),p=Hr(),y=n("".slice),m=Math.min,g=d("startsWith"),h=!p&&!g&&!!function(){var b=i(String.prototype,"startsWith");return b&&!b.writable}();return t({target:"String",proto:!0,forced:!h&&!g},{startsWith:function(S){var w=l(f(this));c(S);var C=a(m(arguments.length>1?arguments[1]:void 0,w.length)),N=l(S);return y(w,C,C+N.length)===N}}),P4}n9();var D4={},F4={},sv,L4;function i9(){if(L4)return sv;L4=1;var t=dr(),n=yr(),i=An(),a=bu();return sv=function(l,c){(!c||typeof l!="string")&&n(l);var f=a(l);return i(n(f!==void 0?t(f,l):l))},sv}var M4;function o9(){if(M4)return F4;M4=1;var t=je(),n=dr(),i=Mr(),a=yr(),l=An(),c=i9(),f=Td(),d=Bt(),p=Hr(),y=kd(),m=Xn(),g=!p&&!y("flatMap",function(){}),h=!p&&!g&&m("flatMap",TypeError),b=p||g||h,S=f(function(){for(var w=this.iterator,C=this.mapper,N,O;;){if(O=this.inner)try{if(N=a(n(O.next,O.iterator)),!N.done)return N.value;this.inner=null}catch(T){d(w,"throw",T)}if(N=a(n(this.next,w)),this.done=!!N.done)return;try{this.inner=c(C(N.value,this.counter++),!1)}catch(T){d(w,"throw",T)}}});return t({target:"Iterator",proto:!0,real:!0,forced:b},{flatMap:function(C){a(this);try{i(C)}catch(N){d(this,"throw",N)}return h?n(h,this,C):new S(l(this),{mapper:C,inner:null})}}),F4}var q4;function a9(){return q4||(q4=1,o9()),D4}a9();function u9(t,n){return c9(t)||s9(t,n)||B4(t,n)||l9()}function l9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
24
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s9(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function c9(t){if(Array.isArray(t))return t}function f9(t,n){var i=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=B4(t))||n){i&&(t=i);var a=0,l=function(){};return{s:l,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(y){throw y},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
25
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c,f=!0,d=!1;return{s:function(){i=i.call(t)},n:function(){var y=i.next();return f=y.done,y},e:function(y){d=!0,c=y},f:function(){try{f||i.return==null||i.return()}finally{if(d)throw c}}}}function B4(t,n){if(t){if(typeof t=="string")return V4(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?V4(t,n):void 0}}function V4(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function d9(t){var n=/\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g,i=[],a=0,l=f9(t.matchAll(n)),c;try{for(l.s();!(c=l.n()).done;){var f,d=c.value,p=u9(d,3),y=p[0],m=p[1],g=p[2],h=(f=d.index)!==null&&f!==void 0?f:0;h>a&&i.push(t.slice(a,h));var b=g.startsWith("http")?g:"https://".concat(g);i.push(_.jsx("a",{href:b,target:"_blank",rel:"noopener noreferrer",children:m},h)),a=h+y.length}}catch(S){l.e(S)}finally{l.f()}return a<t.length&&i.push(t.slice(a)),i}function $4(t){var n=t.split(`
26
- `);return n.flatMap(function(i,a){var l=d9(i);return a===n.length-1?l:[].concat(l,[_.jsx("br",{},"br-"+a)])})}var qr=function(n){var i=n.text,a=n.fontName,l=a===void 0?"":a,c=n.fontSize,f=c===void 0?"17px":c,d=n.fontColor,p=n.alignment,y=p===void 0?Eu.LEFT:p,m=n.backgroundColor,g=n.cornerRadius,h=g===void 0?0:g,b=n.htmlFor,S={fontFamily:[l,"-apple-system","BlinkMacSystemFont","sans-serif"].filter(Boolean).join(", "),fontSize:f,color:Ze(d)||"#000000",textAlign:d4(y),backgroundColor:Ze(m)||"transparent",borderRadius:h},w=typeof i=="string"&&i.trim()&&$4(i);return b?_.jsx("label",{"data-ui":"gui-label",part:"gui-label",style:S,htmlFor:b,children:w}):_.jsx("div",{"data-ui":"gui-label",part:"gui-label",style:S,children:w})};function v9(t,n){return m9(t)||h9(t,n)||y9(t,n)||p9()}function p9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
27
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y9(t,n){if(t){if(typeof t=="string")return U4(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?U4(t,n):void 0}}function U4(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function h9(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function m9(t){if(Array.isArray(t))return t}var z4=function(n){var i,a,l=n.title,c=n.image,f=n.responseBody,d=n.backgroundColor,p=d===void 0?"transparent":d,y=n.cornerRadius,m=n.highlightColor,g=n.dataTestId,h=n.borderColor,b=n.borderWidth,S=n.type,w=S===void 0?"RESPONSE_BODY":S,C=tr.useState(!1),N=v9(C,2),O=N[0],T=N[1],R=O&&Ze(m)?m:p,F=Fi(),j=F.perform,x=function(){if(w==="RESPONSE_BODY"){var J=JSON.parse(JSON.stringify(f));ev(J),j(J)}},L={height:"50px",width:"100%",padding:"10px 16px",textAlign:"center",fontSize:"16px",fontWeight:"400",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:5,borderRadius:y||0,borderStyle:h&&b?"solid":void 0,backgroundColor:(i=Ze(R))!==null&&i!==void 0?i:"transparent",borderColor:(a=Ze(h))!==null&&a!==void 0?a:"none",borderWidth:b!=null?b:0,overflow:"hidden",transition:".3s",outlineColor:Qo};return _.jsxs("button",{"data-ui":"gui-button",part:"gui-button",type:w==="FORM"?"submit":"button","data-test":g,onClick:x,style:L,onMouseEnter:function(){return T(!0)},onMouseLeave:function(){return T(!1)},children:[c&&_.jsx(Zr,ce({},c)),l&&_.jsx("div",{style:{flexGrow:c?0:1},children:_.jsx(qr,ce({},l))})]})};function Jo(t){"@babel/helpers - typeof";return Jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Jo(t)}var g9=["items"];function W4(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function H4(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?W4(Object(i),!0).forEach(function(a){w9(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):W4(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function w9(t,n,i){return(n=b9(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function b9(t){var n=S9(t,"string");return Jo(n)=="symbol"?n:n+""}function S9(t,n){if(Jo(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(Jo(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function E9(t,n){if(t==null)return{};var i,a,l=C9(t,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);for(a=0;a<c.length;a++)i=c[a],n.indexOf(i)===-1&&{}.propertyIsEnumerable.call(t,i)&&(l[i]=t[i])}return l}function C9(t,n){if(t==null)return{};var i={};for(var a in t)if({}.hasOwnProperty.call(t,a)){if(n.indexOf(a)!==-1)continue;i[a]=t[a]}return i}var _9=function(n){var i=n.items,a=E9(n,g9),l={display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center",alignSelf:"flex-end",justifyContent:"center",gap:"8px",width:"100%",height:"auto",alignContent:"flex-end",paddingTop:"20px"};return _.jsx("div",{part:"gui-buttons","data-ui":"gui-buttons",style:H4(H4({},l),a),children:i.map(function(c){var f,d;return _.jsx(z4,ce({dataTestId:"button-"+((f=c.title)===null||f===void 0?void 0:f.text)},c),(d=c.title)===null||d===void 0?void 0:d.text)})})};function ea(t){"@babel/helpers - typeof";return ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ea(t)}function G4(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function O9(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?G4(Object(i),!0).forEach(function(a){x9(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):G4(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function x9(t,n,i){return(n=I9(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function I9(t){var n=R9(t,"string");return ea(n)=="symbol"?n:n+""}function R9(t,n){if(ea(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(ea(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var ei=function(n){var i=n.children,a=n.header,l=n.footer,c=n.backgroundColor,f=c===void 0?"white":c,d=n.buttons,p=a?60:10,y=l?30:10,m={position:"relative",display:"flex",flexGrow:1,flexDirection:"column",alignItems:"center",alignContent:"center",justifyContent:"center",margin:"0 auto",paddingTop:a?p+10+"px":"10px",paddingBottom:l?y+10+"px":"10px",paddingLeft:"20px",paddingRight:"20px",height:"100%",width:"100%",backgroundColor:Ze(f)};return _.jsxs("div",{part:"gui-base-container","data-ui":"gui-base-container",id:"base-container",style:O9({},m),children:[a&&_.jsx("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:p},children:_.jsx(Y6,{closeButton:a.closeButton})}),_.jsx("div",{style:{height:"100%",width:"100%",flex:"1 1 100%",overflow:"hidden"},children:i}),(d==null?void 0:d.length)&&_.jsx(_9,{items:d}),l&&_.jsx("div",{style:{position:"absolute",bottom:"0",left:"0",width:"100%",height:y},children:_.jsx(q6,ce({},l))})]})},cv=function(n){var i=n.text,a=n.fontName,l=a===void 0?"":a,c=n.fontColor,f=n.alignment,d=f===void 0?Eu.LEFT:f,p=n.fontSize,y=p===void 0?17:p,m=n.backgroundColor,g=n.cornerRadius,h=g===void 0?0:g;return _.jsx("div",{"data-ui":"gui-description",part:"gui-description",style:{fontFamily:[l,"-apple-system","BlinkMacSystemFont","sans-serif"].filter(Boolean).join(", "),fontSize:y,textAlign:d4(d),color:Ze(c)||"#000000",borderRadius:h,backgroundColor:Ze(m)||"transparent",whiteSpace:"pre-line"},children:i&&$4(i)})};function P9(t,n){return A9(t)||k9(t,n)||j9(t,n)||T9()}function T9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
28
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j9(t,n){if(t){if(typeof t=="string")return K4(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?K4(t,n):void 0}}function K4(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function k9(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function A9(t){if(Array.isArray(t))return t}var N9=function(n){var i=n.header,a=n.footer,l=n.image,c=n.title,f=n.description,d=n.buttons,p=n.backgroundColor,y=tr.useRef(null),m=tr.useState(!1),g=P9(m,2),h=g[0],b=g[1];return tr.useEffect(function(){y.current&&b(y.current.scrollHeight>y.current.clientHeight+2)},[]),_.jsx(ei,{header:i,buttons:d,footer:a,backgroundColor:p,children:_.jsxs("div",{part:"gui-status-screen",style:{display:"flex",justifyContent:h?"flex-start":"center",alignItems:"center",alignContent:"center",flex:1,height:"100%",flexDirection:"column"},children:[l&&_.jsx("div",{style:y5,children:_.jsx(Zr,ce({},l))}),(c==null?void 0:c.text)&&_.jsx("div",{ref:y,style:{width:"100%",overflow:h?"auto":"hidden"},children:_.jsx("div",{style:{margin:"0 auto",fontSize:"20px",fontWeight:700,maxWidth:"345px",textAlign:"center",lineHeight:"1.2",display:"flex",flexDirection:"column",justifyContent:h?"flex-start":"center",alignItems:"center",alignContent:"center"},children:c&&_.jsx(qr,ce({},c))})}),f&&_.jsx("div",{style:{lineHeight:"28px",fontWeight:"400",marginTop:"16px"},children:_.jsx(cv,ce({},f))})]})})},D9={width:"100%",height:"auto",marginBottom:"32px",aspectRatio:1.61},F9={position:"relative",display:"flex",flexGrow:1,flexDirection:"column",alignItems:"stretch",alignContent:"center",margin:"0 auto",height:"100%",width:"100%",minHeight:"100%",overflow:"auto"};function ra(t){"@babel/helpers - typeof";return ra=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ra(t)}function Q4(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function Y4(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?Q4(Object(i),!0).forEach(function(a){L9(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Q4(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function L9(t,n,i){return(n=M9(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function M9(t){var n=q9(t,"string");return ra(n)=="symbol"?n:n+""}function q9(t,n){if(ra(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(ra(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var B9=function(n){var i=n.title,a=n.header,l=n.footer,c=n.image,f=n.description,d=n.buttons,p=n.backgroundColor;return _.jsx(ei,{header:a,footer:l,buttons:d,backgroundColor:p,children:_.jsx(_.Fragment,{children:_.jsxs("div",{style:Y4(Y4({},F9),{},{justifyContent:c?"flex-start":"center"}),children:[c&&_.jsx("div",{style:D9,children:_.jsx(Zr,ce({},c))}),i&&_.jsx("div",{style:{marginBottom:20,lineHeight:"39.2px"},children:_.jsx(qr,ce({},i))}),f&&_.jsx("div",{style:{lineHeight:"28px",fontWeight:"400"},children:_.jsx(cv,ce({},f))})]})})})},V9=function(n){var i=n.indicatorColor,a=i===void 0?"black":i;return _.jsx(_.Fragment,{children:_.jsx(p4,{indicatorColor:a})})},Z4=function(n){var i=n.progressView,a=n.footer,l=n.backgroundColor;return _.jsx(ei,{footer:a,backgroundColor:l,children:_.jsx("div",{style:{flex:"1 1 100%",display:"flex",justifyContent:"center",alignItems:"center",alignContent:"center",flexDirection:"column",gap:"20px",height:"100%",width:"100%"},children:_.jsx(V9,{indicatorColor:Ze(i==null?void 0:i.indicatorColor)||"#000000"})})})};function ta(t){"@babel/helpers - typeof";return ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ta(t)}function X4(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function J4(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?X4(Object(i),!0).forEach(function(a){$9(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):X4(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function $9(t,n,i){return(n=U9(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function U9(t){var n=z9(t,"string");return ta(n)=="symbol"?n:n+""}function z9(t,n){if(ta(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(ta(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var W9=function(n){var i=n.title,a=n.description,l=n.image,c=n.backgroundColor,f=n.cornerRadius,d=f===void 0?0:f,p=n.isLastChild,y={display:"flex",alignItems:"flex-start",justifyContent:"space-between",borderBottom:p?"none":"1px solid #E0E0E0",padding:"16px 0",gap:16};return _.jsxs("div",{className:"details-item",style:J4(J4({},y),{},{backgroundColor:Ze(c)||"transparent",borderRadius:d}),children:[_.jsxs("div",{style:{flex:"0 1 auto"},children:[_.jsx("div",{style:{marginBottom:5,fontWeight:"bold",lineHeight:"21px"},children:_.jsx(qr,ce({},i))}),_.jsx("div",{style:{lineHeight:"21px",fontWeight:"400"},children:_.jsx(cv,ce({},a))})]}),_.jsx("div",{style:{aspectRatio:"1 / 1",width:120,height:120,flex:"0 0 120px"},children:_.jsx(Zr,ce({},l))})]})};function na(t){"@babel/helpers - typeof";return na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},na(t)}function e3(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function r3(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?e3(Object(i),!0).forEach(function(a){H9(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e3(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function H9(t,n,i){return(n=G9(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function G9(t){var n=K9(t,"string");return na(n)=="symbol"?n:n+""}function K9(t,n){if(na(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(na(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var Q9={display:"flex",flexDirection:"column",padding:"0 16px"},Y9=function(n){var i=n.items,a=n.backgroundColor,l=n.cornerRadius,c=l===void 0?16:l;return _.jsx("div",{className:"details",style:r3(r3({},Q9),{},{backgroundColor:Ze(a)||"white",borderRadius:c}),children:i.map(function(f,d){return _.jsx(W9,ce({isLastChild:d===i.length-1},f),d)})})};function Z9(t,n){return r7(t)||e7(t,n)||J9(t,n)||X9()}function X9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
29
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J9(t,n){if(t){if(typeof t=="string")return t3(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?t3(t,n):void 0}}function t3(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function e7(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function r7(t){if(Array.isArray(t))return t}var t7=function(n){var i=n.title,a=n.header,l=n.footer,c=n.details,f=n.buttons,d=n.backgroundColor,p=tr.useRef(null),y=tr.useState(!1),m=Z9(y,2),g=m[0],h=m[1];return tr.useEffect(function(){p.current&&h(p.current.scrollHeight>p.current.clientHeight)},[]),_.jsx(ei,{header:a,buttons:f,footer:l,backgroundColor:d,children:_.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:g?"flex-start":"center",height:"100%",minHeight:"100%",overflow:"auto"},ref:p,children:[_.jsx("div",{style:{marginBottom:i?"16px":"0",fontWeight:400,fontSize:"28px"},children:i&&_.jsx(qr,ce({},i))}),c&&_.jsx(Y9,ce({},c))]})})},ia=t=>t.type==="checkbox",ri=t=>t instanceof Date,ut=t=>t==null;const n3=t=>typeof t=="object";var Nr=t=>!ut(t)&&!Array.isArray(t)&&n3(t)&&!ri(t),i3=t=>Nr(t)&&t.target?ia(t.target)?t.target.checked:t.target.value:t,n7=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,o3=(t,n)=>t.has(n7(n)),i7=t=>{const n=t.constructor&&t.constructor.prototype;return Nr(n)&&n.hasOwnProperty("isPrototypeOf")},fv=typeof window!="undefined"&&typeof window.HTMLElement!="undefined"&&typeof document!="undefined";function Gr(t){let n;const i=Array.isArray(t),a=typeof FileList!="undefined"?t instanceof FileList:!1;if(t instanceof Date)n=new Date(t);else if(t instanceof Set)n=new Set(t);else if(!(fv&&(t instanceof Blob||a))&&(i||Nr(t)))if(n=i?[]:{},!i&&!i7(t))n=t;else for(const l in t)t.hasOwnProperty(l)&&(n[l]=Gr(t[l]));else return t;return n}var ju=t=>Array.isArray(t)?t.filter(Boolean):[],Dr=t=>t===void 0,Ce=(t,n,i)=>{if(!n||!Nr(t))return i;const a=ju(n.split(/[,[\].]+?/)).reduce((l,c)=>ut(l)?l:l[c],t);return Dr(a)||a===t?Dr(t[n])?i:t[n]:a},bt=t=>typeof t=="boolean",dv=t=>/^\w*$/.test(t),a3=t=>ju(t.replace(/["|']|\]/g,"").split(/\.|\[/)),gr=(t,n,i)=>{let a=-1;const l=dv(n)?[n]:a3(n),c=l.length,f=c-1;for(;++a<c;){const d=l[a];let p=i;if(a!==f){const y=t[d];p=Nr(y)||Array.isArray(y)?y:isNaN(+l[a+1])?{}:[]}if(d==="__proto__"||d==="constructor"||d==="prototype")return;t[d]=p,t=t[d]}};const ku={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},$t={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},gn={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},o7=cr.createContext(null),vv=()=>cr.useContext(o7);var u3=(t,n,i,a=!0)=>{const l={defaultValues:n._defaultValues};for(const c in t)Object.defineProperty(l,c,{get:()=>{const f=c;return n._proxyFormState[f]!==$t.all&&(n._proxyFormState[f]=!a||$t.all),i&&(i[f]=!0),t[f]}});return l},pv=t=>ut(t)||!n3(t);function wn(t,n){if(pv(t)||pv(n))return t===n;if(ri(t)&&ri(n))return t.getTime()===n.getTime();const i=Object.keys(t),a=Object.keys(n);if(i.length!==a.length)return!1;for(const l of i){const c=t[l];if(!a.includes(l))return!1;if(l!=="ref"){const f=n[l];if(ri(c)&&ri(f)||Nr(c)&&Nr(f)||Array.isArray(c)&&Array.isArray(f)?!wn(c,f):c!==f)return!1}}return!0}const l3=(t,n)=>{const i=tr.useRef(n);wn(n,i.current)||(i.current=n),tr.useEffect(t,i.current)};function a7(t){const n=vv(),{control:i=n.control,disabled:a,name:l,exact:c}=t||{},[f,d]=cr.useState(i._formState),p=cr.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return l3(()=>i._subscribe({name:l,formState:p.current,exact:c,callback:y=>{!a&&d(ce(ce({},i._formState),y))}}),[l,a,c]),cr.useEffect(()=>{p.current.isValid&&i._setValid(!0)},[i]),cr.useMemo(()=>u3(f,i,p.current,!1),[f,i])}var tn=t=>typeof t=="string",s3=(t,n,i,a,l)=>tn(t)?(a&&n.watch.add(t),Ce(i,t,l)):Array.isArray(t)?t.map(c=>(a&&n.watch.add(c),Ce(i,c))):(a&&(n.watchAll=!0),i);function u7(t){const n=vv(),{control:i=n.control,name:a,defaultValue:l,disabled:c,exact:f}=t||{},[d,p]=cr.useState(i._getWatch(a,l));return l3(()=>i._subscribe({name:a,formState:{values:!0},exact:f,callback:y=>!c&&p(s3(a,i._names,y.values||i._formValues,!1,l))}),[a,l,c,f]),cr.useEffect(()=>i._removeUnmounted()),d}function l7(t){const n=vv(),{name:i,disabled:a,control:l=n.control,shouldUnregister:c}=t,f=o3(l._names.array,i),d=u7({control:l,name:i,defaultValue:Ce(l._formValues,i,Ce(l._defaultValues,i,t.defaultValue)),exact:!0}),p=a7({control:l,name:i,exact:!0}),y=cr.useRef(t),m=cr.useRef(l.register(i,ce(or(ce({},t.rules),{value:d}),bt(t.disabled)?{disabled:t.disabled}:{}))),g=cr.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Ce(p.errors,i)},isDirty:{enumerable:!0,get:()=>!!Ce(p.dirtyFields,i)},isTouched:{enumerable:!0,get:()=>!!Ce(p.touchedFields,i)},isValidating:{enumerable:!0,get:()=>!!Ce(p.validatingFields,i)},error:{enumerable:!0,get:()=>Ce(p.errors,i)}}),[p,i]),h=cr.useCallback(C=>m.current.onChange({target:{value:i3(C),name:i},type:ku.CHANGE}),[i]),b=cr.useCallback(()=>m.current.onBlur({target:{value:Ce(l._formValues,i),name:i},type:ku.BLUR}),[i,l._formValues]),S=cr.useCallback(C=>{const N=Ce(l._fields,i);N&&C&&(N._f.ref={focus:()=>C.focus(),select:()=>C.select(),setCustomValidity:O=>C.setCustomValidity(O),reportValidity:()=>C.reportValidity()})},[l._fields,i]),w=cr.useMemo(()=>or(ce({name:i,value:d},bt(a)||p.disabled?{disabled:p.disabled||a}:{}),{onChange:h,onBlur:b,ref:S}),[i,a,p.disabled,h,b,S,d]);return cr.useEffect(()=>{const C=l._options.shouldUnregister||c;l.register(i,ce(ce({},y.current.rules),bt(y.current.disabled)?{disabled:y.current.disabled}:{}));const N=(O,T)=>{const R=Ce(l._fields,O);R&&R._f&&(R._f.mount=T)};if(N(i,!0),C){const O=Gr(Ce(l._options.defaultValues,i));gr(l._defaultValues,i,O),Dr(Ce(l._formValues,i))&&gr(l._formValues,i,O)}return!f&&l.register(i),()=>{(f?C&&!l._state.action:C)?l.unregister(i):N(i,!1)}},[i,l,f,c]),cr.useEffect(()=>{l._setDisabledField({disabled:a,name:i})},[a,i,l]),cr.useMemo(()=>({field:w,formState:p,fieldState:g}),[w,p,g])}const c3=t=>t.render(l7(t));var s7=(t,n,i,a,l)=>n?or(ce({},i[t]),{types:or(ce({},i[t]&&i[t].types?i[t].types:{}),{[a]:l||!0})}):{},oa=t=>Array.isArray(t)?t:[t],f3=()=>{let t=[];return{get observers(){return t},next:l=>{for(const c of t)c.next&&c.next(l)},subscribe:l=>(t.push(l),{unsubscribe:()=>{t=t.filter(c=>c!==l)}}),unsubscribe:()=>{t=[]}}},lt=t=>Nr(t)&&!Object.keys(t).length,yv=t=>t.type==="file",Ut=t=>typeof t=="function",Au=t=>{if(!fv)return!1;const n=t?t.ownerDocument:0;return t instanceof(n&&n.defaultView?n.defaultView.HTMLElement:HTMLElement)},d3=t=>t.type==="select-multiple",hv=t=>t.type==="radio",c7=t=>hv(t)||ia(t),mv=t=>Au(t)&&t.isConnected;function f7(t,n){const i=n.slice(0,-1).length;let a=0;for(;a<i;)t=Dr(t)?a++:t[n[a++]];return t}function d7(t){for(const n in t)if(t.hasOwnProperty(n)&&!Dr(t[n]))return!1;return!0}function Br(t,n){const i=Array.isArray(n)?n:dv(n)?[n]:a3(n),a=i.length===1?t:f7(t,i),l=i.length-1,c=i[l];return a&&delete a[c],l!==0&&(Nr(a)&&lt(a)||Array.isArray(a)&&d7(a))&&Br(t,i.slice(0,-1)),t}var v3=t=>{for(const n in t)if(Ut(t[n]))return!0;return!1};function Nu(t,n={}){const i=Array.isArray(t);if(Nr(t)||i)for(const a in t)Array.isArray(t[a])||Nr(t[a])&&!v3(t[a])?(n[a]=Array.isArray(t[a])?[]:{},Nu(t[a],n[a])):ut(t[a])||(n[a]=!0);return n}function p3(t,n,i){const a=Array.isArray(t);if(Nr(t)||a)for(const l in t)Array.isArray(t[l])||Nr(t[l])&&!v3(t[l])?Dr(n)||pv(i[l])?i[l]=Array.isArray(t[l])?Nu(t[l],[]):ce({},Nu(t[l])):p3(t[l],ut(n)?{}:n[l],i[l]):i[l]=!wn(t[l],n[l]);return i}var aa=(t,n)=>p3(t,n,Nu(n));const y3={value:!1,isValid:!1},h3={value:!0,isValid:!0};var m3=t=>{if(Array.isArray(t)){if(t.length>1){const n=t.filter(i=>i&&i.checked&&!i.disabled).map(i=>i.value);return{value:n,isValid:!!n.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!Dr(t[0].attributes.value)?Dr(t[0].value)||t[0].value===""?h3:{value:t[0].value,isValid:!0}:h3:y3}return y3},g3=(t,{valueAsNumber:n,valueAsDate:i,setValueAs:a})=>Dr(t)?t:n?t===""?NaN:t&&+t:i&&tn(t)?new Date(t):a?a(t):t;const w3={isValid:!1,value:null};var b3=t=>Array.isArray(t)?t.reduce((n,i)=>i&&i.checked&&!i.disabled?{isValid:!0,value:i.value}:n,w3):w3;function S3(t){const n=t.ref;return yv(n)?n.files:hv(n)?b3(t.refs).value:d3(n)?[...n.selectedOptions].map(({value:i})=>i):ia(n)?m3(t.refs).value:g3(Dr(n.value)?t.ref.value:n.value,t)}var v7=(t,n,i,a)=>{const l={};for(const c of t){const f=Ce(n,c);f&&gr(l,c,f._f)}return{criteriaMode:i,names:[...t],fields:l,shouldUseNativeValidation:a}},Du=t=>t instanceof RegExp,ua=t=>Dr(t)?t:Du(t)?t.source:Nr(t)?Du(t.value)?t.value.source:t.value:t,E3=t=>({isOnSubmit:!t||t===$t.onSubmit,isOnBlur:t===$t.onBlur,isOnChange:t===$t.onChange,isOnAll:t===$t.all,isOnTouch:t===$t.onTouched});const C3="AsyncFunction";var p7=t=>!!t&&!!t.validate&&!!(Ut(t.validate)&&t.validate.constructor.name===C3||Nr(t.validate)&&Object.values(t.validate).find(n=>n.constructor.name===C3)),y7=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate),_3=(t,n,i)=>!i&&(n.watchAll||n.watch.has(t)||[...n.watch].some(a=>t.startsWith(a)&&/^\.\w+/.test(t.slice(a.length))));const la=(t,n,i,a)=>{for(const c of i||Object.keys(t)){const f=Ce(t,c);if(f){const l=f,{_f:d}=l,p=au(l,["_f"]);if(d){if(d.refs&&d.refs[0]&&n(d.refs[0],c)&&!a)return!0;if(d.ref&&n(d.ref,d.name)&&!a)return!0;if(la(p,n))break}else if(Nr(p)&&la(p,n))break}}};function O3(t,n,i){const a=Ce(t,i);if(a||dv(i))return{error:a,name:i};const l=i.split(".");for(;l.length;){const c=l.join("."),f=Ce(n,c),d=Ce(t,c);if(f&&!Array.isArray(f)&&i!==c)return{name:i};if(d&&d.type)return{name:c,error:d};l.pop()}return{name:i}}var h7=(t,n,i,a)=>{i(t);const f=t,{name:l}=f,c=au(f,["name"]);return lt(c)||Object.keys(c).length>=Object.keys(n).length||Object.keys(c).find(d=>n[d]===(!a||$t.all))},m7=(t,n,i)=>!t||!n||t===n||oa(t).some(a=>a&&(i?a===n:a.startsWith(n)||n.startsWith(a))),g7=(t,n,i,a,l)=>l.isOnAll?!1:!i&&l.isOnTouch?!(n||t):(i?a.isOnBlur:l.isOnBlur)?!t:(i?a.isOnChange:l.isOnChange)?t:!0,w7=(t,n)=>!ju(Ce(t,n)).length&&Br(t,n),b7=(t,n,i)=>{const a=oa(Ce(t,i));return gr(a,"root",n[i]),gr(t,i,a),t},Fu=t=>tn(t);function x3(t,n,i="validate"){if(Fu(t)||Array.isArray(t)&&t.every(Fu)||bt(t)&&!t)return{type:i,message:Fu(t)?t:"",ref:n}}var Bi=t=>Nr(t)&&!Du(t)?t:{value:t,message:""},I3=(t,n,i,a,l,c)=>dn(this,null,function*(){const{ref:f,refs:d,required:p,maxLength:y,minLength:m,min:g,max:h,pattern:b,validate:S,name:w,valueAsNumber:C,mount:N}=t._f,O=Ce(i,w);if(!N||n.has(w))return{};const T=d?d[0]:f,R=$=>{l&&T.reportValidity&&(T.setCustomValidity(bt($)?"":$||""),T.reportValidity())},F={},j=hv(f),x=ia(f),L=j||x,U=(C||yv(f))&&Dr(f.value)&&Dr(O)||Au(f)&&f.value===""||O===""||Array.isArray(O)&&!O.length,J=s7.bind(null,w,a,F),H=($,le,G,re=gn.maxLength,oe=gn.minLength)=>{const te=$?le:G;F[w]=ce({type:$?re:oe,message:te,ref:f},J($?re:oe,te))};if(c?!Array.isArray(O)||!O.length:p&&(!L&&(U||ut(O))||bt(O)&&!O||x&&!m3(d).isValid||j&&!b3(d).isValid)){const{value:$,message:le}=Fu(p)?{value:!!p,message:p}:Bi(p);if($&&(F[w]=ce({type:gn.required,message:le,ref:T},J(gn.required,le)),!a))return R(le),F}if(!U&&(!ut(g)||!ut(h))){let $,le;const G=Bi(h),re=Bi(g);if(!ut(O)&&!isNaN(O)){const oe=f.valueAsNumber||O&&+O;ut(G.value)||($=oe>G.value),ut(re.value)||(le=oe<re.value)}else{const oe=f.valueAsDate||new Date(O),te=ae=>new Date(new Date().toDateString()+" "+ae),Z=f.type=="time",z=f.type=="week";tn(G.value)&&O&&($=Z?te(O)>te(G.value):z?O>G.value:oe>new Date(G.value)),tn(re.value)&&O&&(le=Z?te(O)<te(re.value):z?O<re.value:oe<new Date(re.value))}if(($||le)&&(H(!!$,G.message,re.message,gn.max,gn.min),!a))return R(F[w].message),F}if((y||m)&&!U&&(tn(O)||c&&Array.isArray(O))){const $=Bi(y),le=Bi(m),G=!ut($.value)&&O.length>+$.value,re=!ut(le.value)&&O.length<+le.value;if((G||re)&&(H(G,$.message,le.message),!a))return R(F[w].message),F}if(b&&!U&&tn(O)){const{value:$,message:le}=Bi(b);if(Du($)&&!O.match($)&&(F[w]=ce({type:gn.pattern,message:le,ref:f},J(gn.pattern,le)),!a))return R(le),F}if(S){if(Ut(S)){const $=yield S(O,i),le=x3($,T);if(le&&(F[w]=ce(ce({},le),J(gn.validate,le.message)),!a))return R(le.message),F}else if(Nr(S)){let $={};for(const le in S){if(!lt($)&&!a)break;const G=x3(yield S[le](O,i),T,le);G&&($=ce(ce({},G),J(le,G.message)),R(G.message),a&&(F[w]=$))}if(!lt($)&&(F[w]=ce({ref:T},$),!a))return F}}return R(!0),F});const S7={mode:$t.onSubmit,reValidateMode:$t.onChange,shouldFocusError:!0};function E7(t={}){let n=ce(ce({},S7),t),i={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ut(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1};const a={};let l=Nr(n.defaultValues)||Nr(n.values)?Gr(n.values||n.defaultValues)||{}:{},c=n.shouldUnregister?{}:Gr(l),f={action:!1,mount:!1,watch:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},p,y=0;const m={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let g=ce({},m);const h={array:f3(),state:f3()},b=E3(n.mode),S=E3(n.reValidateMode),w=n.criteriaMode===$t.all,C=A=>V=>{clearTimeout(y),y=setTimeout(A,V)},N=A=>dn(this,null,function*(){if(!n.disabled&&(m.isValid||g.isValid||A)){const V=n.resolver?lt((yield U()).errors):yield H(a,!0);V!==i.isValid&&h.state.next({isValid:V})}}),O=(A,V)=>{!n.disabled&&(m.isValidating||m.validatingFields||g.isValidating||g.validatingFields)&&((A||Array.from(d.mount)).forEach(q=>{q&&(V?gr(i.validatingFields,q,V):Br(i.validatingFields,q))}),h.state.next({validatingFields:i.validatingFields,isValidating:!lt(i.validatingFields)}))},T=(A,V=[],q,se,ne=!0,X=!0)=>{if(se&&q&&!n.disabled){if(f.action=!0,X&&Array.isArray(Ce(a,A))){const ie=q(Ce(a,A),se.argA,se.argB);ne&&gr(a,A,ie)}if(X&&Array.isArray(Ce(i.errors,A))){const ie=q(Ce(i.errors,A),se.argA,se.argB);ne&&gr(i.errors,A,ie),w7(i.errors,A)}if((m.touchedFields||g.touchedFields)&&X&&Array.isArray(Ce(i.touchedFields,A))){const ie=q(Ce(i.touchedFields,A),se.argA,se.argB);ne&&gr(i.touchedFields,A,ie)}(m.dirtyFields||g.dirtyFields)&&(i.dirtyFields=aa(l,c)),h.state.next({name:A,isDirty:le(A,V),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else gr(c,A,V)},R=(A,V)=>{gr(i.errors,A,V),h.state.next({errors:i.errors})},F=A=>{i.errors=A,h.state.next({errors:i.errors,isValid:!1})},j=(A,V,q,se)=>{const ne=Ce(a,A);if(ne){const X=Ce(c,A,Dr(q)?Ce(l,A):q);Dr(X)||se&&se.defaultChecked||V?gr(c,A,V?X:S3(ne._f)):oe(A,X),f.mount&&N()}},x=(A,V,q,se,ne)=>{let X=!1,ie=!1;const be={name:A};if(!n.disabled){if(!q||se){(m.isDirty||g.isDirty)&&(ie=i.isDirty,i.isDirty=be.isDirty=le(),X=ie!==be.isDirty);const Fe=wn(Ce(l,A),V);ie=!!Ce(i.dirtyFields,A),Fe?Br(i.dirtyFields,A):gr(i.dirtyFields,A,!0),be.dirtyFields=i.dirtyFields,X=X||(m.dirtyFields||g.dirtyFields)&&ie!==!Fe}if(q){const Fe=Ce(i.touchedFields,A);Fe||(gr(i.touchedFields,A,q),be.touchedFields=i.touchedFields,X=X||(m.touchedFields||g.touchedFields)&&Fe!==q)}X&&ne&&h.state.next(be)}return X?be:{}},L=(A,V,q,se)=>{const ne=Ce(i.errors,A),X=(m.isValid||g.isValid)&&bt(V)&&i.isValid!==V;if(n.delayError&&q?(p=C(()=>R(A,q)),p(n.delayError)):(clearTimeout(y),p=null,q?gr(i.errors,A,q):Br(i.errors,A)),(q?!wn(ne,q):ne)||!lt(se)||X){const ie=or(ce(ce({},se),X&&bt(V)?{isValid:V}:{}),{errors:i.errors,name:A});i=ce(ce({},i),ie),h.state.next(ie)}},U=A=>dn(this,null,function*(){O(A,!0);const V=yield n.resolver(c,n.context,v7(A||d.mount,a,n.criteriaMode,n.shouldUseNativeValidation));return O(A),V}),J=A=>dn(this,null,function*(){const{errors:V}=yield U(A);if(A)for(const q of A){const se=Ce(V,q);se?gr(i.errors,q,se):Br(i.errors,q)}else i.errors=V;return V}),H=(se,ne,...X)=>dn(this,[se,ne,...X],function*(A,V,q={valid:!0}){for(const be in A){const Fe=A[be];if(Fe){const ie=Fe,{_f:Ee}=ie,we=au(ie,["_f"]);if(Ee){const he=d.array.has(Ee.name),Ne=Fe._f&&p7(Fe._f);Ne&&m.validatingFields&&O([be],!0);const He=yield I3(Fe,d.disabled,c,w,n.shouldUseNativeValidation&&!V,he);if(Ne&&m.validatingFields&&O([be]),He[Ee.name]&&(q.valid=!1,V))break;!V&&(Ce(He,Ee.name)?he?b7(i.errors,He,Ee.name):gr(i.errors,Ee.name,He[Ee.name]):Br(i.errors,Ee.name))}!lt(we)&&(yield H(we,V,q))}}return q.valid}),$=()=>{for(const A of d.unMount){const V=Ce(a,A);V&&(V._f.refs?V._f.refs.every(q=>!mv(q)):!mv(V._f.ref))&&_e(A)}d.unMount=new Set},le=(A,V)=>!n.disabled&&(A&&V&&gr(c,A,V),!wn(Y(),l)),G=(A,V,q)=>s3(A,d,ce({},f.mount?c:Dr(V)?l:tn(A)?{[A]:V}:V),q,V),re=A=>ju(Ce(f.mount?c:l,A,n.shouldUnregister?Ce(l,A,[]):[])),oe=(A,V,q={})=>{const se=Ce(a,A);let ne=V;if(se){const X=se._f;X&&(!X.disabled&&gr(c,A,g3(V,X)),ne=Au(X.ref)&&ut(V)?"":V,d3(X.ref)?[...X.ref.options].forEach(ie=>ie.selected=ne.includes(ie.value)):X.refs?ia(X.ref)?X.refs.length>1?X.refs.forEach(ie=>(!ie.defaultChecked||!ie.disabled)&&(ie.checked=Array.isArray(ne)?!!ne.find(be=>be===ie.value):ne===ie.value)):X.refs[0]&&(X.refs[0].checked=!!ne):X.refs.forEach(ie=>ie.checked=ie.value===ne):yv(X.ref)?X.ref.value="":(X.ref.value=ne,X.ref.type||h.state.next({name:A,values:Gr(c)})))}(q.shouldDirty||q.shouldTouch)&&x(A,ne,q.shouldTouch,q.shouldDirty,!0),q.shouldValidate&&k(A)},te=(A,V,q)=>{for(const se in V){const ne=V[se],X=`${A}.${se}`,ie=Ce(a,X);(d.array.has(A)||Nr(ne)||ie&&!ie._f)&&!ri(ne)?te(X,ne,q):oe(X,ne,q)}},Z=(A,V,q={})=>{const se=Ce(a,A),ne=d.array.has(A),X=Gr(V);gr(c,A,X),ne?(h.array.next({name:A,values:Gr(c)}),(m.isDirty||m.dirtyFields||g.isDirty||g.dirtyFields)&&q.shouldDirty&&h.state.next({name:A,dirtyFields:aa(l,c),isDirty:le(A,X)})):se&&!se._f&&!ut(X)?te(A,X,q):oe(A,X,q),_3(A,d)&&h.state.next(ce({},i)),h.state.next({name:f.mount?A:void 0,values:Gr(c)})},z=A=>dn(this,null,function*(){f.mount=!0;const V=A.target;let q=V.name,se=!0;const ne=Ce(a,q),X=ie=>{se=Number.isNaN(ie)||ri(ie)&&isNaN(ie.getTime())||wn(ie,Ce(c,q,ie))};if(ne){let ie,be;const Fe=V.type?S3(ne._f):i3(A),Ee=A.type===ku.BLUR||A.type===ku.FOCUS_OUT,we=!y7(ne._f)&&!n.resolver&&!Ce(i.errors,q)&&!ne._f.deps||g7(Ee,Ce(i.touchedFields,q),i.isSubmitted,S,b),he=_3(q,d,Ee);gr(c,q,Fe),Ee?(ne._f.onBlur&&ne._f.onBlur(A),p&&p(0)):ne._f.onChange&&ne._f.onChange(A);const Ne=x(q,Fe,Ee),He=!lt(Ne)||he;if(!Ee&&h.state.next({name:q,type:A.type,values:Gr(c)}),we)return(m.isValid||g.isValid)&&(n.mode==="onBlur"?Ee&&N():Ee||N()),He&&h.state.next(ce({name:q},he?{}:Ne));if(!Ee&&he&&h.state.next(ce({},i)),n.resolver){const{errors:fr}=yield U([q]);if(X(Fe),se){const zt=O3(i.errors,a,q),jt=O3(fr,a,zt.name||q);ie=jt.error,q=jt.name,be=lt(fr)}}else O([q],!0),ie=(yield I3(ne,d.disabled,c,w,n.shouldUseNativeValidation))[q],O([q]),X(Fe),se&&(ie?be=!1:(m.isValid||g.isValid)&&(be=yield H(a,!0)));se&&(ne._f.deps&&k(ne._f.deps),L(q,be,ie,Ne))}}),ae=(A,V)=>{if(Ce(i.errors,V)&&A.focus)return A.focus(),1},k=(q,...se)=>dn(this,[q,...se],function*(A,V={}){let ne,X;const ie=oa(A);if(n.resolver){const be=yield J(Dr(A)?A:ie);ne=lt(be),X=A?!ie.some(Fe=>Ce(be,Fe)):ne}else A?(X=(yield Promise.all(ie.map(be=>dn(this,null,function*(){const Fe=Ce(a,be);return yield H(Fe&&Fe._f?{[be]:Fe}:Fe)})))).every(Boolean),!(!X&&!i.isValid)&&N()):X=ne=yield H(a);return h.state.next(or(ce(ce({},!tn(A)||(m.isValid||g.isValid)&&ne!==i.isValid?{}:{name:A}),n.resolver||!A?{isValid:ne}:{}),{errors:i.errors})),V.shouldFocus&&!X&&la(a,ae,A?ie:d.mount),X}),Y=A=>{const V=ce({},f.mount?c:l);return Dr(A)?V:tn(A)?Ce(V,A):A.map(q=>Ce(V,q))},ge=(A,V)=>({invalid:!!Ce((V||i).errors,A),isDirty:!!Ce((V||i).dirtyFields,A),error:Ce((V||i).errors,A),isValidating:!!Ce(i.validatingFields,A),isTouched:!!Ce((V||i).touchedFields,A)}),Se=A=>{A&&oa(A).forEach(V=>Br(i.errors,V)),h.state.next({errors:A?i.errors:{}})},fe=(A,V,q)=>{const se=(Ce(a,A,{_f:{}})._f||{}).ref,Ee=Ce(i.errors,A)||{},{ref:X,message:ie,type:be}=Ee,Fe=au(Ee,["ref","message","type"]);gr(i.errors,A,or(ce(ce({},Fe),V),{ref:se})),h.state.next({name:A,errors:i.errors,isValid:!1}),q&&q.shouldFocus&&se&&se.focus&&se.focus()},Pe=(A,V)=>Ut(A)?h.state.subscribe({next:q=>A(G(void 0,V),q)}):G(A,V,!0),Ae=A=>h.state.subscribe({next:V=>{m7(A.name,V.name,A.exact)&&h7(V,A.formState||m,Je,A.reRenderRoot)&&A.callback(ce(ce({values:ce({},c)},i),V))}}).unsubscribe,xe=A=>(f.mount=!0,g=ce(ce({},g),A.formState),Ae(or(ce({},A),{formState:g}))),_e=(A,V={})=>{for(const q of A?oa(A):d.mount)d.mount.delete(q),d.array.delete(q),V.keepValue||(Br(a,q),Br(c,q)),!V.keepError&&Br(i.errors,q),!V.keepDirty&&Br(i.dirtyFields,q),!V.keepTouched&&Br(i.touchedFields,q),!V.keepIsValidating&&Br(i.validatingFields,q),!n.shouldUnregister&&!V.keepDefaultValue&&Br(l,q);h.state.next({values:Gr(c)}),h.state.next(ce(ce({},i),V.keepDirty?{isDirty:le()}:{})),!V.keepIsValid&&N()},Ge=({disabled:A,name:V})=>{(bt(A)&&f.mount||A||d.disabled.has(V))&&(A?d.disabled.add(V):d.disabled.delete(V))},nr=(A,V={})=>{let q=Ce(a,A);const se=bt(V.disabled)||bt(n.disabled);return gr(a,A,or(ce({},q||{}),{_f:ce(or(ce({},q&&q._f?q._f:{ref:{name:A}}),{name:A,mount:!0}),V)})),d.mount.add(A),q?Ge({disabled:bt(V.disabled)?V.disabled:n.disabled,name:A}):j(A,!0,V.value),or(ce(ce({},se?{disabled:V.disabled||n.disabled}:{}),n.progressive?{required:!!V.required,min:ua(V.min),max:ua(V.max),minLength:ua(V.minLength),maxLength:ua(V.maxLength),pattern:ua(V.pattern)}:{}),{name:A,onChange:z,onBlur:z,ref:ne=>{if(ne){nr(A,V),q=Ce(a,A);const X=Dr(ne.value)&&ne.querySelectorAll&&ne.querySelectorAll("input,select,textarea")[0]||ne,ie=c7(X),be=q._f.refs||[];if(ie?be.find(Fe=>Fe===X):X===q._f.ref)return;gr(a,A,{_f:ce(ce({},q._f),ie?{refs:[...be.filter(mv),X,...Array.isArray(Ce(l,A))?[{}]:[]],ref:{type:X.type,name:A}}:{ref:X})}),j(A,!1,void 0,X)}else q=Ce(a,A,{}),q._f&&(q._f.mount=!1),(n.shouldUnregister||V.shouldUnregister)&&!(o3(d.array,A)&&f.action)&&d.unMount.add(A)}})},lr=()=>n.shouldFocusError&&la(a,ae,d.mount),Le=A=>{bt(A)&&(h.state.next({disabled:A}),la(a,(V,q)=>{const se=Ce(a,q);se&&(V.disabled=se._f.disabled||A,Array.isArray(se._f.refs)&&se._f.refs.forEach(ne=>{ne.disabled=se._f.disabled||A}))},0,!1))},Ve=(A,V)=>q=>dn(this,null,function*(){let se;q&&(q.preventDefault&&q.preventDefault(),q.persist&&q.persist());let ne=Gr(c);if(h.state.next({isSubmitting:!0}),n.resolver){const{errors:X,values:ie}=yield U();i.errors=X,ne=ie}else yield H(a);if(d.disabled.size)for(const X of d.disabled)gr(ne,X,void 0);if(Br(i.errors,"root"),lt(i.errors)){h.state.next({errors:{}});try{yield A(ne,q)}catch(X){se=X}}else V&&(yield V(ce({},i.errors),q)),lr(),setTimeout(lr);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:lt(i.errors)&&!se,submitCount:i.submitCount+1,errors:i.errors}),se)throw se}),Ke=(A,V={})=>{Ce(a,A)&&(Dr(V.defaultValue)?Z(A,Gr(Ce(l,A))):(Z(A,V.defaultValue),gr(l,A,Gr(V.defaultValue))),V.keepTouched||Br(i.touchedFields,A),V.keepDirty||(Br(i.dirtyFields,A),i.isDirty=V.defaultValue?le(A,Gr(Ce(l,A))):le()),V.keepError||(Br(i.errors,A),m.isValid&&N()),h.state.next(ce({},i)))},Qe=(A,V={})=>{const q=A?Gr(A):l,se=Gr(q),ne=lt(A),X=ne?l:se;if(V.keepDefaultValues||(l=q),!V.keepValues){if(V.keepDirtyValues){const ie=new Set([...d.mount,...Object.keys(aa(l,c))]);for(const be of Array.from(ie))Ce(i.dirtyFields,be)?gr(X,be,Ce(c,be)):Z(be,Ce(X,be))}else{if(fv&&Dr(A))for(const ie of d.mount){const be=Ce(a,ie);if(be&&be._f){const Fe=Array.isArray(be._f.refs)?be._f.refs[0]:be._f.ref;if(Au(Fe)){const Ee=Fe.closest("form");if(Ee){Ee.reset();break}}}}for(const ie of d.mount)Z(ie,Ce(X,ie))}c=Gr(X),h.array.next({values:ce({},X)}),h.state.next({values:ce({},X)})}d={mount:V.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},f.mount=!m.isValid||!!V.keepIsValid||!!V.keepDirtyValues,f.watch=!!n.shouldUnregister,h.state.next({submitCount:V.keepSubmitCount?i.submitCount:0,isDirty:ne?!1:V.keepDirty?i.isDirty:!!(V.keepDefaultValues&&!wn(A,l)),isSubmitted:V.keepIsSubmitted?i.isSubmitted:!1,dirtyFields:ne?{}:V.keepDirtyValues?V.keepDefaultValues&&c?aa(l,c):i.dirtyFields:V.keepDefaultValues&&A?aa(l,A):V.keepDirty?i.dirtyFields:{},touchedFields:V.keepTouched?i.touchedFields:{},errors:V.keepErrors?i.errors:{},isSubmitSuccessful:V.keepIsSubmitSuccessful?i.isSubmitSuccessful:!1,isSubmitting:!1})},Me=(A,V)=>Qe(Ut(A)?A(c):A,V),$e=(A,V={})=>{const q=Ce(a,A),se=q&&q._f;if(se){const ne=se.refs?se.refs[0]:se.ref;ne.focus&&(ne.focus(),V.shouldSelect&&Ut(ne.select)&&ne.select())}},Je=A=>{i=ce(ce({},i),A)},br={control:{register:nr,unregister:_e,getFieldState:ge,handleSubmit:Ve,setError:fe,_subscribe:Ae,_runSchema:U,_getWatch:G,_getDirty:le,_setValid:N,_setFieldArray:T,_setDisabledField:Ge,_setErrors:F,_getFieldArray:re,_reset:Qe,_resetDefaultValues:()=>Ut(n.defaultValues)&&n.defaultValues().then(A=>{Me(A,n.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:$,_disableForm:Le,_subjects:h,_proxyFormState:m,get _fields(){return a},get _formValues(){return c},get _state(){return f},set _state(A){f=A},get _defaultValues(){return l},get _names(){return d},set _names(A){d=A},get _formState(){return i},get _options(){return n},set _options(A){n=ce(ce({},n),A)}},subscribe:xe,trigger:k,register:nr,handleSubmit:Ve,watch:Pe,setValue:Z,getValues:Y,reset:Me,resetField:Ke,clearErrors:Se,unregister:_e,setError:fe,setFocus:$e,getFieldState:ge};return or(ce({},br),{formControl:br})}const C7=typeof window!="undefined"?cr.useLayoutEffect:cr.useEffect;function _7(t={}){const n=cr.useRef(void 0),i=cr.useRef(void 0),[a,l]=cr.useState({isDirty:!1,isValidating:!1,isLoading:Ut(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,isReady:!1,defaultValues:Ut(t.defaultValues)?void 0:t.defaultValues});n.current||(n.current=or(ce({},t.formControl?t.formControl:E7(t)),{formState:a}),t.formControl&&t.defaultValues&&!Ut(t.defaultValues)&&t.formControl.reset(t.defaultValues,t.resetOptions));const c=n.current.control;return c._options=t,C7(()=>{const f=c._subscribe({formState:c._proxyFormState,callback:()=>l(ce({},c._formState)),reRenderRoot:!0});return l(d=>or(ce({},d),{isReady:!0})),f},[c]),cr.useEffect(()=>c._disableForm(t.disabled),[c,t.disabled]),cr.useEffect(()=>{t.mode&&(c._options.mode=t.mode),t.reValidateMode&&(c._options.reValidateMode=t.reValidateMode),t.errors&&!lt(t.errors)&&c._setErrors(t.errors)},[c,t.errors,t.mode,t.reValidateMode]),cr.useEffect(()=>{t.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[c,t.shouldUnregister]),cr.useEffect(()=>{if(c._proxyFormState.isDirty){const f=c._getDirty();f!==a.isDirty&&c._subjects.state.next({isDirty:f})}},[c,a.isDirty]),cr.useEffect(()=>{t.values&&!wn(t.values,i.current)?(c._reset(t.values,c._options.resetOptions),i.current=t.values,l(f=>ce({},f))):c._resetDefaultValues()},[c,t.values]),cr.useEffect(()=>{c._state.mount||(c._setValid(),c._state.mount=!0),c._state.watch&&(c._state.watch=!1,c._subjects.state.next(ce({},c._formState))),c._removeUnmounted()}),n.current.formState=u3(a,c),n.current}var R3={},P3;function O7(){if(P3)return R3;P3=1;var t=ur(),n=Xe(),i=rr(),a=Mo(),l=hu(),c=Xt(),f=en(),d=Ti().f,p=yn(),y=iv(),m=at(),g=vd(),h=Ed(),b=kh(),S=Yr(),w=We(),C=Rr(),N=Tt().enforce,O=ld(),T=pr(),R=_d(),F=kg(),j=T("match"),x=n.RegExp,L=x.prototype,U=n.SyntaxError,J=i(L.exec),H=i("".charAt),$=i("".replace),le=i("".indexOf),G=i("".slice),re=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,oe=/a/g,te=/a/g,Z=new x(oe)!==oe,z=h.MISSED_STICKY,ae=h.UNSUPPORTED_Y,k=t&&(!Z||z||R||F||w(function(){return te[j]=!1,x(oe)!==oe||x(te)===te||String(x(oe,"i"))!=="/a/i"})),Y=function(Ae){for(var xe=Ae.length,_e=0,Ge="",nr=!1,lr;_e<=xe;_e++){if(lr=H(Ae,_e),lr==="\\"){Ge+=lr+H(Ae,++_e);continue}!nr&&lr==="."?Ge+="[\\s\\S]":(lr==="["?nr=!0:lr==="]"&&(nr=!1),Ge+=lr)}return Ge},ge=function(Ae){for(var xe=Ae.length,_e=0,Ge="",nr=[],lr=f(null),Le=!1,Ve=!1,Ke=0,Qe="",Me;_e<=xe;_e++){if(Me=H(Ae,_e),Me==="\\")Me+=H(Ae,++_e);else if(Me==="]")Le=!1;else if(!Le)switch(!0){case Me==="[":Le=!0;break;case Me==="(":if(Ge+=Me,G(Ae,_e+1,_e+3)==="?:")continue;J(re,G(Ae,_e+1))&&(_e+=2,Ve=!0),Ke++;continue;case(Me===">"&&Ve):if(Qe===""||C(lr,Qe))throw new U("Invalid capture group name");lr[Qe]=!0,nr[nr.length]=[Qe,Ke],Ve=!1,Qe="";continue}Ve?Qe+=Me:Ge+=Me}return[Ge,nr]};if(a("RegExp",k)){for(var Se=function(xe,_e){var Ge=p(L,this),nr=y(xe),lr=_e===void 0,Le=[],Ve=xe,Ke,Qe,Me,$e,Je,mr;if(!Ge&&nr&&lr&&xe.constructor===Se)return xe;if((nr||p(L,xe))&&(xe=xe.source,lr&&(_e=g(Ve))),xe=xe===void 0?"":m(xe),_e=_e===void 0?"":m(_e),Ve=xe,R&&"dotAll"in oe&&(Qe=!!_e&&le(_e,"s")>-1,Qe&&(_e=$(_e,/s/g,""))),Ke=_e,z&&"sticky"in oe&&(Me=!!_e&&le(_e,"y")>-1,Me&&ae&&(_e=$(_e,/y/g,""))),F&&($e=ge(xe),xe=$e[0],Le=$e[1]),Je=l(x(xe,_e),Ge?this:L,Se),(Qe||Me||Le.length)&&(mr=N(Je),Qe&&(mr.dotAll=!0,mr.raw=Se(Y(xe),Ke)),Me&&(mr.sticky=!0),Le.length&&(mr.groups=Le)),xe!==Ve)try{c(Je,"source",Ve===""?"(?:)":Ve)}catch(br){}return Je},fe=d(x),Pe=0;fe.length>Pe;)b(Se,x,fe[Pe++]);L.constructor=Se,Se.prototype=L,S(n,"RegExp",Se,{constructor:!0})}return O("RegExp"),R3}O7();var T3={},j3;function x7(){if(j3)return T3;j3=1;var t=ur(),n=_d(),i=mt(),a=hn(),l=Tt().get,c=RegExp.prototype,f=TypeError;return t&&n&&a(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if(i(this)==="RegExp")return!!l(this).dotAll;throw new f("Incompatible receiver, RegExp required")}}}),T3}x7();var k3={},A3;function I7(){if(A3)return k3;A3=1;var t=ur(),n=Ed().MISSED_STICKY,i=mt(),a=hn(),l=Tt().get,c=RegExp.prototype,f=TypeError;return t&&n&&a(c,"sticky",{configurable:!0,get:function(){if(this!==c){if(i(this)==="RegExp")return!!l(this).sticky;throw new f("Incompatible receiver, RegExp required")}}}),k3}I7();var Vi=function(n,i){var a={};return n.forEach(function(l,c){if(l.type===l4.NOT_EMPTY&&(a.required=function(d){return i&&o6(d)?l.message:!0}),l.type===l4.REGEX){var f=new RegExp(l.regex);a["regex_".concat(c)]=function(d){return!i&&!d?!0:typeof d!="string"?l.message:f.test(d)||l.message}}}),a},N3={},D3;function R7(){if(D3)return N3;D3=1;var t=je(),n=Ai().some,i=zo(),a=i("some");return t({target:"Array",proto:!0,forced:!a},{some:function(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}}),N3}R7();var F3={},L3={},M3;function P7(){if(M3)return L3;M3=1;var t=je(),n=dr(),i=mn(),a=Mr(),l=yr(),c=An(),f=Bt(),d=Xn(),p=d("some",TypeError);return t({target:"Iterator",proto:!0,real:!0,forced:p},{some:function(m){l(this);try{a(m)}catch(b){f(this,"throw",b)}if(p)return n(p,this,m);var g=c(this),h=0;return i(g,function(b,S){if(m(b,h++))return S()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),L3}var q3;function T7(){return q3||(q3=1,P7()),F3}T7();function sa(t){"@babel/helpers - typeof";return sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},sa(t)}function B3(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function V3(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?B3(Object(i),!0).forEach(function(a){j7(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):B3(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function j7(t,n,i){return(n=k7(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function k7(t){var n=A7(t,"string");return sa(n)=="symbol"?n:n+""}function A7(t,n){if(sa(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(sa(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function N7(t){return L7(t)||F7(t)||$3(t)||D7()}function D7(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
30
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function F7(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function L7(t){if(Array.isArray(t))return gv(t)}function Lu(t,n){return B7(t)||q7(t,n)||$3(t,n)||M7()}function M7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
31
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $3(t,n){if(t){if(typeof t=="string")return gv(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?gv(t,n):void 0}}function gv(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function q7(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function B7(t){if(Array.isArray(t))return t}var V7=function(n){var i=n.isOpen,a=n.image;return _.jsx("div",{"data-ui":"gui-custom-select-chevron",style:{width:"16px",height:"16px",display:"flex",alignItems:"center",justifyContent:"center",transform:i?"rotate(180deg)":"none",transformOrigin:"50% 50%",transition:".2s",flexShrink:0},children:a?_.jsx(Zr,ce({},a)):_.jsx(Zr,{imageId:"chevronDown"})})},$7=function(n){var i=n.isChosen,a=n.option,l=n.onOptionClickCallback,c=n.isHovered,f=n.onHover,d=n.onHoverEnd,p=i?a.layoutSelected.image:a.layout.image,y=function(g,h){var b,S,w,C;if(!g&&!h)return(b=Ze(a.layout.backgroundColor))!==null&&b!==void 0?b:"transparent";if(!g&&h)return(S=Ze(a.layoutSelected.backgroundColor))!==null&&S!==void 0?S:"transparent";if(g&&!h)return(w=Ze(a.layout.highlightColor))!==null&&w!==void 0?w:"#F4F4F4";if(g&&h)return(C=Ze(a.layoutSelected.highlightColor))!==null&&C!==void 0?C:"#F4F4F4"};return _.jsxs("div",{style:{padding:"5px 8px",background:y(c,i),fontSize:13,display:"flex",justifyContent:"space-between",alignItems:"center",gap:8,borderRadius:4,cursor:"pointer"},"data-select-id":a.value,onClick:l(a),onMouseEnter:f,onMouseLeave:d,children:[_.jsx(qr,or(ce({},a.layout.title),{text:a.label})),_.jsx("div",{style:{display:"flex",flexShrink:0},children:_.jsx(Zr,ce({},p))})]},a.value)},U3=function(n){var i,a,l,c,f,d,p,y,m=n.name,g=n.options,h=n.isMulti,b=h===void 0?!1:h,S=n.isClearable,w=S===void 0?!1:S,C=n.value,N=n.onChange,O=n.placeholder,T=n.closeMenuOnSelect,R=T===void 0?!0:T,F=n.onBlur,j=n.parentElementRef,x=n.controlLayout,L=n.pickerLayout,U=tr.useState(!1),J=Lu(U,2),H=J[0],$=J[1],le=tr.useState(C),G=Lu(le,2),re=G[0],oe=G[1],te=tr.useState("down"),Z=Lu(te,2),z=Z[0],ae=Z[1],k=tr.useState(null),Y=Lu(k,2),ge=Y[0],Se=Y[1],fe=tr.useRef(null),Pe=tr.useRef(null);tr.useLayoutEffect(function(){var Le,Ve,Ke;if(H){var Qe=(Le=fe.current)===null||Le===void 0?void 0:Le.getBoundingClientRect(),Me=(Ve=Pe.current)===null||Ve===void 0?void 0:Ve.getBoundingClientRect(),$e=(Ke=j.current)===null||Ke===void 0?void 0:Ke.getBoundingClientRect();if(!(!Qe||!Me||!$e)){var Je=Qe.bottom+Me.height<$e.bottom;ae(Je?"down":"up")}}},[H]),tr.useEffect(function(){N(re)},[re]);var Ae=function(Ve){return function(Ke){var Qe;Ke.stopPropagation(),(Ke.type==="touchend"||((Qe=Ke.nativeEvent)===null||Qe===void 0?void 0:Qe.pointerType)==="touch")&&Se(null),R&&$(!1),oe(function(Me){if(!b)return[Ve];var $e=Me.some(function(Je){return Je.value===Ve.value});return $e?Me.filter(function(Je){return Je.value!==Ve.value}):[].concat(N7(Me),[Ve])})}},xe=function(){F&&F(),$(!1)},_e=function(Ve){return function(Ke){Ke.stopPropagation(),oe(function(Qe){return Qe.filter(function(Me){return Me.value!==Ve.value})})}},Ge=function(Ve){Ve.stopPropagation(),oe([])},nr=(i=Ze(x==null?void 0:x.borderColor))!==null&&i!==void 0?i:"#D9D9D9",lr=(a=Ze(x==null?void 0:x.highlightBorderColor))!==null&&a!==void 0?a:"#7E57C5";return _.jsx("div",{"data-ui":"gui-custom-select",ref:fe,children:_.jsxs("div",{"data-ui":"gui-select-name-"+m,style:{backgroundColor:Ze(x==null?void 0:x.backgroundColor),borderStyle:"solid",borderColor:H?lr:nr,borderWidth:(l=x==null?void 0:x.borderWidth)!==null&&l!==void 0?l:1,borderRadius:(c=x==null?void 0:x.cornerRadius)!==null&&c!==void 0?c:8,minHeight:"41px",position:"relative",zIndex:"auto",padding:"8px 11px 8px 8px",cursor:"pointer",display:"flex",alignItems:"center",gap:10},tabIndex:0,onBlur:xe,onClick:function(){return $(!H)},children:[_.jsxs("div",{"data-ui":"gui-custom-select-multi-choose-container",style:{display:"flex",gap:8,alignItems:"flex-start",alignContent:"center",flexWrap:"wrap",width:"100%"},children:[!re.length&&_.jsx("span",{style:{fontSize:13,color:"#8C8C8C"},children:O}),re.map(function(Le){if(b){var Ve,Ke,Qe,Me,$e=x==null?void 0:x.chip;return _.jsxs("div",{style:{padding:"0px 5px",display:"flex",gap:8,backgroundColor:(Ve=Ze($e==null?void 0:$e.backgroundColor))!==null&&Ve!==void 0?Ve:"#F2F2F2",borderRadius:(Ke=$e==null?void 0:$e.cornerRadius)!==null&&Ke!==void 0?Ke:4,userSelect:"none",alignItems:"center"},children:[_.jsx(qr,or(ce({},$e==null?void 0:$e.title),{fontSize:(Qe=$e==null||(Me=$e.title)===null||Me===void 0?void 0:Me.fontSize)!==null&&Qe!==void 0?Qe:13,text:Le.label})),_.jsx("div",{style:{display:"flex",alignItems:"center",cursor:"pointer",width:"16px",height:"16px"},onClick:_e(Le),children:$e!=null&&$e.removeImage?_.jsx(Zr,ce({},$e.removeImage)):_.jsx(Zr,{imageId:"cross"})})]},Le.value)}else{var Je,mr=x==null?void 0:x.title;return _.jsx("div",{style:{display:"flex",userSelect:"none"},children:_.jsx(qr,or(ce({},mr),{fontSize:(Je=mr==null?void 0:mr.fontSize)!==null&&Je!==void 0?Je:13,text:Le.label}))},Le.value)}})]}),w&&re.length?_.jsx("div",{style:{display:"flex",alignItems:"center",cursor:"pointer",width:"16px",height:"16px",zIndex:1},onClick:Ge,children:x!=null&&x.clearButton?_.jsx(Zr,ce({},x.clearButton)):_.jsx(Zr,{imageId:"cross"})}):null,w?_.jsx("div",{style:{width:"1px",alignSelf:"stretch",backgroundColor:"#D9D9D9"}}):null,_.jsx(V7,{isOpen:H,image:x==null?void 0:x.expandButton}),H&&_.jsx("div",{"data-ui":"gui-custom-select-dropdown-menu",ref:Pe,style:V3(V3({position:"absolute"},z==="down"?{top:"calc(100% + 1px)"}:{bottom:"calc(100% + 1px)"}),{},{left:0,border:"1px solid #e8e8e8",width:"100%",backgroundColor:(f=Ze(L==null?void 0:L.backgroundColor))!==null&&f!==void 0?f:"#ffffff",borderRadius:(d=L==null?void 0:L.cornerRadius)!==null&&d!==void 0?d:8,borderStyle:"solid",borderColor:(p=Ze(L==null?void 0:L.borderColor))!==null&&p!==void 0?p:"#D9D9D9",borderWidth:(y=L==null?void 0:L.borderWidth)!==null&&y!==void 0?y:1,maxHeight:"500px",overflow:"auto",zIndex:2,boxShadow:"0 3px 15px rgba(0,0,0,.2)",padding:"8px",display:"flex",flexDirection:"column",gap:"2px",cursor:"default"}),onClick:function(Le){return Le.stopPropagation()},children:g.map(function(Le){var Ve=re.some(function(Ke){return Ke.value===Le.value});return _.jsx($7,{isChosen:Ve,option:Le,onOptionClickCallback:Ae,isHovered:ge===Le.value,onHover:function(){return Se(Le.value)},onHoverEnd:function(){return Se(null)}},Le.label)})})]})})},U7=function(n){var i=n.control,a=n.layout,l=n.dataSourceQuestion,c=n.parentElementRef,f=l.options.map(function(p){return{value:String(p.id),label:p.text,layout:a.option,layoutSelected:a.optionSelected}}),d=String(l.id);return _.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px",boxSizing:"border-box"},children:[a.title&&_.jsx(qr,or(ce({},a.title),{text:l.text,htmlFor:d})),_.jsx(c3,{name:d,control:i,rules:{required:!!l.required,validate:Vi(l.validators,!!l.required)},render:function(p){var y=p.field,m=f.find(function(g){return g.value===y.value});return _.jsx(U3,{options:f,placeholder:l.placeholder,closeMenuOnSelect:!0,name:y.name,value:m?[m]:[],onChange:function(g){var h=g&&Array.isArray(g)&&g.length?g[0].value:null;y.onChange(h)},parentElementRef:c,isMulti:!1,isClearable:!1,controlLayout:a.dropdownControl,pickerLayout:a.dropdownPicker})}})]})},z3={},W3;function z7(){if(W3)return z3;W3=1;var t=je(),n=yc().includes,i=We(),a=mu(),l=i(function(){return!Array(1).includes()});return t({target:"Array",proto:!0,forced:l},{includes:function(f){return n(this,f,arguments.length>1?arguments[1]:void 0)}}),a("includes"),z3}z7();var H3={},G3;function W7(){if(G3)return H3;G3=1;var t=je(),n=rr(),i=j4(),a=pn(),l=at(),c=A4(),f=n("".indexOf);return t({target:"String",proto:!0,forced:!c("includes")},{includes:function(p){return!!~f(l(a(this)),l(i(p)),arguments.length>1?arguments[1]:void 0)}}),H3}W7();var H7=function(n){var i=n.control,a=n.layout,l=n.dataSourceQuestion,c=n.parentElementRef,f=l.options.map(function(p){return{value:String(p.id),label:p.text,layout:a.option,layoutSelected:a.optionSelected}}),d=String(l.id);return _.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px",boxSizing:"border-box"},children:[a.title&&_.jsx(qr,or(ce({},a.title),{text:l.text,htmlFor:d})),_.jsx(c3,{name:d,control:i,rules:{required:!!l.required,validate:Vi(l.validators,!!l.required)},render:function(p){var y=p.field,m=f.filter(function(g){var h;return(h=y.value)===null||h===void 0?void 0:h.includes(g.value)});return _.jsx(U3,{name:d,options:f,placeholder:l.placeholder,closeMenuOnSelect:!1,value:m,onChange:function(g){var h=g.map(function(b){return b.value});y.onChange(h)},parentElementRef:c,isMulti:!0,isClearable:!0,controlLayout:a.dropdownControl,pickerLayout:a.dropdownPicker})}})]})};function G7(t,n){return Z7(t)||Y7(t,n)||Q7(t,n)||K7()}function K7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
32
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q7(t,n){if(t){if(typeof t=="string")return K3(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?K3(t,n):void 0}}function K3(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function Y7(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function Z7(t){if(Array.isArray(t))return t}var Q3=function(){var n=tr.useState(!1),i=G7(n,2),a=i[0],l=i[1];return tr.useEffect(function(){var c=function(){return l(!0)},f=function(){return l(!1)};return window.addEventListener("keydown",c),window.addEventListener("mousedown",f),function(){window.removeEventListener("keydown",c),window.removeEventListener("mousedown",f)}},[]),a};function ca(t){"@babel/helpers - typeof";return ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ca(t)}function Y3(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function Z3(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?Y3(Object(i),!0).forEach(function(a){X7(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Y3(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function X7(t,n,i){return(n=J7(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function J7(t){var n=eE(t,"string");return ca(n)=="symbol"?n:n+""}function eE(t,n){if(ca(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(ca(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function rE(t,n){return oE(t)||iE(t,n)||nE(t,n)||tE()}function tE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
33
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nE(t,n){if(t){if(typeof t=="string")return X3(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?X3(t,n):void 0}}function X3(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function iE(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function oE(t){if(Array.isArray(t))return t}var aE=function(n){var i=n.option,a=n.layout,l=n.dataSourceQuestion,c=n.register,f=n.watch,d=tr.useState(!1),p=rE(d,2),y=p[0],m=p[1],g=Q3(),h=String(l.id),b=f(h),S=b===String(i.id),w=a.option,C=a.optionSelected,N={backgroundColor:Ze(C.backgroundColor),borderRadius:C.cornerRadius},O={backgroundColor:Ze(w.backgroundColor),borderRadius:w.cornerRadius},T=y&&g?{filter:"drop-shadow(0 0 1px ".concat(Qo,")")}:{};return _.jsx("div",{children:_.jsxs("label",{style:Z3({display:"flex",alignItems:"center",alignContent:"center",gap:8,cursor:"pointer"},S?N:O),children:[_.jsx("div",{style:Z3({display:"flex",alignItems:"center",alignContent:"center"},T),children:_.jsx(Zr,ce({},S?C.image:w.image))}),_.jsx(qr,or(ce({},S?C.title:w.title),{text:i.text})),_.jsx("input",or(ce({style:{width:1,height:1,opacity:0,position:"absolute",left:"50%"}},c(h,{required:!!l.required,validate:Vi(l.validators,!!l.required)})),{value:i.id,type:"radio",onFocus:function(){return m(!0)},onBlur:function(){return m(!1)}}))]})},i.id)},uE=function(n){var i=n.layout,a=n.register,l=n.watch,c=n.dataSourceQuestion;return _.jsx("div",{style:{boxSizing:"border-box"},children:_.jsxs("fieldset",{style:{margin:0,padding:0,border:"none",display:"flex",flexDirection:"column",gap:"16px"},children:[i.title&&_.jsx("legend",{style:{margin:0,padding:0,marginBottom:"16px"},children:_.jsx(qr,or(ce({},i.title),{text:c.text}))}),c.options.map(function(f){return _.jsx(aE,{register:a,watch:l,layout:i,option:f,dataSourceQuestion:c},f.id)})]})})};function fa(t){"@babel/helpers - typeof";return fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},fa(t)}function J3(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function ew(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?J3(Object(i),!0).forEach(function(a){lE(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):J3(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function lE(t,n,i){return(n=sE(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function sE(t){var n=cE(t,"string");return fa(n)=="symbol"?n:n+""}function cE(t,n){if(fa(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(fa(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function fE(t,n){return yE(t)||pE(t,n)||vE(t,n)||dE()}function dE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
34
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vE(t,n){if(t){if(typeof t=="string")return rw(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?rw(t,n):void 0}}function rw(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function pE(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function yE(t){if(Array.isArray(t))return t}var hE=function(n){var i=n.option,a=n.layout,l=n.dataSourceQuestion,c=n.register,f=n.watch,d=tr.useState(!1),p=fE(d,2),y=p[0],m=p[1],g=Q3(),h=String(l.id),b=f(h),S=b===String(i.id),w=a.option,C=a.optionSelected,N={borderRadius:w.cornerRadius,background:Ze(w.backgroundColor),borderColor:Ze(w.borderColor),borderWidth:w.borderWidth},O={borderRadius:C.cornerRadius,background:Ze(C.backgroundColor),borderColor:Ze(C.borderColor),borderWidth:C.borderWidth},T=y&&g?{outline:"2px solid ".concat(Qo)}:{};return _.jsx("div",{style:{display:"flex",flexGrow:1},children:_.jsxs("label",{style:ew(ew({width:"100%",padding:"8px 16px",cursor:"pointer",borderStyle:"solid",position:"relative"},S?O:N),T),children:[_.jsx("input",or(ce({style:{width:1,height:1,opacity:0,position:"absolute",left:"50%"}},c(h,{required:!!l.required,validate:Vi(l.validators,!!l.required)})),{value:i.id,type:"radio",onFocus:function(){return m(!0)},onBlur:function(){return m(!1)}})),_.jsx(qr,or(ce({},S?C.title:w.title),{text:i.text}))]})},i.id)},mE=function(n){var i=n.layout,a=n.watch,l=n.register,c=n.dataSourceQuestion;return _.jsx("div",{style:{boxSizing:"border-box"},children:_.jsxs("fieldset",{style:{margin:0,padding:0,border:"none"},children:[i.title&&_.jsx("legend",{style:{margin:0,padding:0,marginBottom:"16px"},children:_.jsx(qr,or(ce({},i.title),{text:c.text}))}),_.jsx("div",{style:{display:"flex",justifyContent:"center",gap:5},children:c.options.map(function(f){return _.jsx(hE,{register:l,watch:a,layout:i,option:f,dataSourceQuestion:c},f.id)})})]})})};function da(t){"@babel/helpers - typeof";return da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},da(t)}function tw(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function wv(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?tw(Object(i),!0).forEach(function(a){gE(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):tw(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function gE(t,n,i){return(n=wE(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function wE(t){var n=bE(t,"string");return da(n)=="symbol"?n:n+""}function bE(t,n){if(da(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(da(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var SE=function(n){var i=n.children,a=n.backgroundColor,l=n.cornerRadius,c=l===void 0?0:l,f=n.isError,d=n.isRequired,p=n.validationBorderColor,y=n.validationBorderWidth,m=wv({position:"relative",flexShrink:0,width:"100%",fontWeight:300,lineHeight:"140%",backgroundColor:Ze(a)||"transparent",borderRadius:c,padding:"16px",boxSizing:"border-box",height:"auto"},f&&wv(wv({},Ze(p)&&{borderColor:p,borderStyle:"solid"}),y&&{borderWidth:y}));return _.jsxs("div",{style:m,children:[d&&_.jsx("span",{style:{color:Ze(p),position:"absolute",left:"6px",top:"18px"},children:"*"}),i]})};function EE(t,n){return xE(t)||OE(t,n)||_E(t,n)||CE()}function CE(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
35
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _E(t,n){if(t){if(typeof t=="string")return nw(t,n);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?nw(t,n):void 0}}function nw(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,a=Array(n);i<n;i++)a[i]=t[i];return a}function OE(t,n){var i=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a,l,c,f,d=[],p=!0,y=!1;try{if(c=(i=i.call(t)).next,n!==0)for(;!(p=(a=c.call(i)).done)&&(d.push(a.value),d.length!==n);p=!0);}catch(m){y=!0,l=m}finally{try{if(!p&&i.return!=null&&(f=i.return(),Object(f)!==f))return}finally{if(y)throw l}}return d}}function xE(t){if(Array.isArray(t))return t}var IE=function(n){var i=n.validationErrorsTypes,a=n.title;return i?_.jsx("div",{style:{width:"100%",fontSize:12},children:Object.entries(i).map(function(l){var c=EE(l,2),f=c[0],d=c[1];return _.jsx(qr,or(ce({},a),{text:d}),f)})}):null},RE=function(n){var i,a,l,c,f,d,p,y,m,g,h,b,S,w,C,N,O=n.layout,T=n.dataSourceQuestion,R=n.register,F=String(T.id),j=function(L){return L?L===_u.EMAIL?"email":L===_u.FREE_TEXT?"text":L===_u.NUMBER?"number":L===_u.SECURE?"password":"text":"text"};return _.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[_.jsx(qr,or(ce({},O.title),{text:T.text,htmlFor:F})),_.jsx("input",or(ce({},R(F,{required:!!T.required,validate:Vi(T.validators,!!T.required)})),{id:F,type:j((i=O.textField)===null||i===void 0?void 0:i.inputType),style:{fontFamily:(a=O==null||(l=O.textField)===null||l===void 0?void 0:l.fontName)!==null&&a!==void 0?a:"sans-serif",fontSize:(c=O==null||(f=O.textField)===null||f===void 0?void 0:f.fontSize)!==null&&c!==void 0?c:15,color:(d=Ze(O==null||(p=O.textField)===null||p===void 0?void 0:p.fontColor))!==null&&d!==void 0?d:"#000000",height:"42px",borderWidth:(y=O==null||(m=O.textField)===null||m===void 0?void 0:m.borderWidth)!==null&&y!==void 0?y:1,borderColor:(g=Ze(O==null||(h=O.textField)===null||h===void 0?void 0:h.borderColor))!==null&&g!==void 0?g:"#d9d9d9",borderStyle:"solid",borderRadius:(b=O==null||(S=O.textField)===null||S===void 0?void 0:S.cornerRadius)!==null&&b!==void 0?b:8,padding:"11px",boxSizing:"border-box",backgroundColor:(w=Ze(O==null||(C=O.textField)===null||C===void 0?void 0:C.backgroundColor))!==null&&w!==void 0?w:"#FFFFFF",outlineColor:Qo},placeholder:(N=T.placeholder)!==null&&N!==void 0?N:"","data-id":F}))]})},PE=function(n){var i,a,l,c,f,d,p,y,m,g,h,b,S,w=n.layout,C=n.dataSourceQuestion,N=n.register,O=String(C.id);return _.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[_.jsx(qr,or(ce({},w.title),{text:C.text,htmlFor:O})),_.jsx("textarea",or(ce({},N(O,{required:!!C.required,validate:Vi(C.validators,!!C.required)})),{id:O,placeholder:(i=C.placeholder)!==null&&i!==void 0?i:"",onChange:function(T){T.target.style.height="auto",T.target.style.height="".concat(T.target.scrollHeight-15,"px")},"data-id":O,style:{fontFamily:"sans-serif",fontSize:(a=w==null||(l=w.textField)===null||l===void 0?void 0:l.fontSize)!==null&&a!==void 0?a:15,color:(c=Ze(w==null||(f=w.textField)===null||f===void 0?void 0:f.fontColor))!==null&&c!==void 0?c:"#000000",resize:"none",overflow:"hidden",height:"42px",minHeight:"42px",borderWidth:(d=w==null||(p=w.textField)===null||p===void 0?void 0:p.borderWidth)!==null&&d!==void 0?d:1,borderColor:(y=Ze(w==null||(m=w.textField)===null||m===void 0?void 0:m.borderColor))!==null&&y!==void 0?y:"#d9d9d9",borderStyle:"solid",borderRadius:(g=w==null||(h=w.textField)===null||h===void 0?void 0:h.cornerRadius)!==null&&g!==void 0?g:8,padding:"11px",boxSizing:"border-box",backgroundColor:(b=Ze(w==null||(S=w.textField)===null||S===void 0?void 0:S.backgroundColor))!==null&&b!==void 0?b:"#FFFFFF",outlineColor:Qo}}))]})};function $i(t){"@babel/helpers - typeof";return $i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},$i(t)}function TE(t,n,i){return Object.defineProperty(t,"prototype",{writable:!1}),t}function jE(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function kE(t,n,i){return n=Mu(n),AE(t,iw()?Reflect.construct(n,i||[],Mu(t).constructor):n.apply(t,i))}function AE(t,n){if(n&&($i(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return NE(t)}function NE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(iw=function(){return!!t})()}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function DE(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&bv(t,n)}function bv(t,n){return bv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},bv(t,n)}function Sv(t,n,i){return(n=FE(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function FE(t){var n=LE(t,"string");return $i(n)=="symbol"?n:n+""}function LE(t,n){if($i(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if($i(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var Ui=function(t){function n(i){var a=i.errorCode,l=i.message,c=i.underlyingError,f=i.underlyingBaseError;jE(this,n);var d=vg.getErrorKey(a,Yo);return kE(this,n,[{errorCode:a,errorCodeKey:d,errorEnumName:n.ERROR_ENUM_NAME,module:n.MODULE,message:l,underlyingError:c,underlyingBaseError:f,domain:n.ERROR_ENUM_NAME,shortDomainCode:n.SHORT_CODE}])}return DE(n,t),TE(n)}(vg);Sv(Ui,"MODULE",Iu),Sv(Ui,"ERROR_ENUM_NAME","GuiModuleError"),Sv(Ui,"SHORT_CODE","GM");var ME=function(n){var i=n.header,a=n.title,l=n.buttons,c=n.footer,f=n.questions,d=n.dataSource,p=n.properties,y=n.backgroundColor,m=Fi(),g=m.perform,h=p?a6(d.questions,p):{},b=tr.useRef(null),S=_7({criteriaMode:"all",defaultValues:h}),w=S.register,C=S.handleSubmit,N=S.formState.errors,O=S.reset,T=S.watch,R=S.control,F=function(x){g(i6(x)),O()};return _.jsx(ei,{header:i,footer:c,backgroundColor:y,children:_.jsxs("form",{onSubmit:C(F),style:{height:"100%",fontFamily:"sans-serif",display:"flex",flexDirection:"column",gap:"15px"},noValidate:!0,children:[_.jsxs("div",{style:{flex:"1 1 100%",display:"flex",justifyContent:"flex-start",alignItems:"center",alignContent:"center",flexDirection:"column",gap:"10px",height:"100%",width:"100%",overflow:"auto",position:"relative",backgroundColor:Ze(f.backgroundColor)||"transparent"},ref:b,children:[a&&_.jsx("div",{style:{lineHeight:"39.2px",width:"100%"},children:_.jsx(qr,ce({},a))}),_.jsx("div",{"data-ui":"gui-questions",part:"gui-questions",style:{width:"100%",display:"flex",gap:"10px",flexDirection:"column"},children:d.questions.map(function(j){var x,L=d.static,U=function(oe,te){return te.find(function(Z){var z;if((z=Z.questionIds)!==null&&z!==void 0&&z.length)return Z.questionIds.find(function(ae){return oe===ae})})},J=function(oe,te){return te.find(function(Z){return!Z.questionIds&&Z.answerType===oe})},H=L?U(String(j.id),f.itemTypes)||J(j.answerType,f.itemTypes):f.itemTypes.find(function(re){return re.answerType===j.answerType});if(!H){var $=new Ui({errorCode:Yo.DECODING_FAILED,message:"The question template has not been found"});g($);return}var le=H==null?void 0:H.displayType,G=j.id in N&&((x=N[j.id])===null||x===void 0?void 0:x.types);return _.jsxs(tr.Fragment,{children:[_.jsxs(SE,{backgroundColor:H==null?void 0:H.backgroundColor,cornerRadius:H==null?void 0:H.cornerRadius,isError:!!G,isRequired:j.required,validationBorderColor:H==null?void 0:H.validationBorderColor,validationBorderWidth:H==null?void 0:H.validationBorderWidth,children:[le===Li.TEXT_EXPANDABLE&&_.jsx(PE,{layout:H,dataSourceQuestion:j,register:w}),le===Li.TEXT_SINGLE_LINE&&_.jsx(RE,{layout:H,dataSourceQuestion:j,register:w}),le===Li.SELECTOR_OPTIONS&&_.jsx(uE,{layout:H,dataSourceQuestion:j,watch:T,register:w}),le===Li.SELECTOR_BUTTONS&&_.jsx(mE,{layout:H,dataSourceQuestion:j,watch:T,register:w}),le===Li.SELECTOR_DROPDOWN&&_.jsx(U7,{control:R,layout:H,dataSourceQuestion:j,parentElementRef:b}),le===Li.MULTI_SELECTOR_DROPDOWN&&_.jsx(H7,{control:R,layout:H,dataSourceQuestion:j,parentElementRef:b})]}),G&&_.jsx(IE,{validationErrorsTypes:G,title:H.validationMessage})]},j.id)})})]}),!!(l!=null&&l.length)&&_.jsx("div",{style:{display:"flex",width:"100%",flexGrow:0,flexShrink:0,justifyContent:"center",alignItems:"flex-end",padding:"2px"},children:l.map(function(j,x){return _.jsx(z4,ce({dataTestId:"question-button"},j),x)})})]})})},ow={},aw;function qE(){if(aw)return ow;aw=1;var t=je(),n=dr(),i=Mr(),a=Mi(),l=xu(),c=mn(),f=Qd();return t({target:"Promise",stat:!0,forced:f},{allSettled:function(p){var y=this,m=a.f(y),g=m.resolve,h=m.reject,b=l(function(){var S=i(y.resolve),w=[],C=0,N=1;c(p,function(O){var T=C++,R=!1;N++,n(S,y,O).then(function(F){R||(R=!0,w[T]={status:"fulfilled",value:F},--N||g(w))},function(F){R||(R=!0,w[T]={status:"rejected",reason:F},--N||g(w))})}),--N||g(w)});return b.error&&h(b.value),m.promise}}),ow}qE();var BE={display:"none"},VE={display:"flex",alignItems:"center",justifyContent:"center",width:"250px",height:"50px",border:0,borderRadius:"16px",backgroundColor:"#7e57c5",cursor:"pointer"},$E={position:"relative",display:"flex",flexGrow:1,flexDirection:"column",alignItems:"center",alignContent:"center",margin:"0 auto",height:"100%",width:"100%",minHeight:"100%",overflow:"auto"};function va(t){"@babel/helpers - typeof";return va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},va(t)}function uw(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function lw(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?uw(Object(i),!0).forEach(function(a){UE(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):uw(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function UE(t,n,i){return(n=zE(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function zE(t){var n=WE(t,"string");return va(n)=="symbol"?n:n+""}function WE(t,n){if(va(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(va(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function pa(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.toStringTag||"@@toStringTag";function c(b,S,w,C){var N=S&&S.prototype instanceof d?S:d,O=Object.create(N.prototype);return St(O,"_invoke",function(T,R,F){var j,x,L,U=0,J=F||[],H=!1,$={p:0,n:0,v:t,a:le,f:le.bind(t,4),d:function(re,oe){return j=re,x=0,L=t,$.n=oe,f}};function le(G,re){for(x=G,L=re,n=0;!H&&U&&!oe&&n<J.length;n++){var oe,te=J[n],Z=$.p,z=te[2];G>3?(oe=z===re)&&(L=te[(x=te[4])?5:(x=3,3)],te[4]=te[5]=t):te[0]<=Z&&((oe=G<2&&Z<te[1])?(x=0,$.v=re,$.n=te[1]):Z<z&&(oe=G<3||te[0]>re||re>z)&&(te[4]=G,te[5]=re,$.n=z,x=0))}if(oe||G>1)return f;throw H=!0,re}return function(G,re,oe){if(U>1)throw TypeError("Generator is already running");for(H&&re===1&&le(re,oe),x=re,L=oe;(n=x<2?t:L)||!H;){j||(x?x<3?(x>1&&($.n=-1),le(x,L)):$.n=L:$.v=L);try{if(U=2,j){if(x||(G="next"),n=j[G]){if(!(n=n.call(j,L)))throw TypeError("iterator result is not an object");if(!n.done)return n;L=n.value,x<2&&(x=0)}else x===1&&(n=j.return)&&n.call(j),x<2&&(L=TypeError("The iterator does not provide a '"+G+"' method"),x=1);j=t}else if((n=(H=$.n<0)?L:T.call(R,$))!==f)break}catch(te){j=t,x=1,L=te}finally{U=1}}return{value:n,done:H}}}(b,w,C),!0),O}var f={};function d(){}function p(){}function y(){}n=Object.getPrototypeOf;var m=[][a]?n(n([][a]())):(St(n={},a,function(){return this}),n),g=y.prototype=d.prototype=Object.create(m);function h(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,y):(b.__proto__=y,St(b,l,"GeneratorFunction")),b.prototype=Object.create(g),b}return p.prototype=y,St(g,"constructor",y),St(y,"constructor",p),p.displayName="GeneratorFunction",St(y,l,"GeneratorFunction"),St(g),St(g,l,"Generator"),St(g,a,function(){return this}),St(g,"toString",function(){return"[object Generator]"}),(pa=function(){return{w:c,m:h}})()}function St(t,n,i,a){var l=Object.defineProperty;try{l({},"",{})}catch(c){l=0}St=function(f,d,p,y){function m(g,h){St(f,g,function(b){return this._invoke(g,h,b)})}d?l?l(f,d,{value:p,enumerable:!y,configurable:!y,writable:!y}):f[d]=p:(m("next",0),m("throw",1),m("return",2))},St(t,n,i,a)}function sw(t,n,i,a,l,c,f){try{var d=t[c](f),p=d.value}catch(y){return void i(y)}d.done?n(p):Promise.resolve(p).then(a,l)}function cw(t){return function(){var n=this,i=arguments;return new Promise(function(a,l){var c=t.apply(n,i);function f(p){sw(c,a,l,f,d,"next",p)}function d(p){sw(c,a,l,f,d,"throw",p)}f(void 0)})}}var HE=function(n){var i,a=n.header,l=n.footer,c=n.buttons,f=n.backgroundColor,d=n.selectionLimit,p=Fi(),y=p.perform,m=tr.useRef(null),g=typeof d=="number"&&(d===0||d>1),h=function(){var S=cw(pa().m(function w(C){var N,O,T,R,F;return pa().w(function(j){for(;;)switch(j.p=j.n){case 0:if(O=Array.from((N=C.target.files)!==null&&N!==void 0?N:[]),O.length){j.n=1;break}return j.a(2);case 1:return j.p=1,j.n=2,Promise.allSettled(O.map(function(){var x=cw(pa().m(function L(U){var J,H;return pa().w(function($){for(;;)switch($.n){case 0:return $.n=1,v4(U);case 1:return J=$.v,H={name:U.name,type:U.type,size:U.size,lastModified:U.lastModified},$.a(2,{content:J,metadata:H})}},L)}));return function(L){return x.apply(this,arguments)}}()));case 2:T=j.v,R=T.filter(function(x){return x.status==="fulfilled"}).map(function(x){return x.value}),y({cancel:!1,permissionDenied:!1,files:R}),j.n=4;break;case 3:j.p=3,F=j.v,console.error("Error: ",F);case 4:return j.a(2)}},w,null,[[1,3]])}));return function(C){return S.apply(this,arguments)}}(),b=function(){var w;(w=m.current)===null||w===void 0||w.showPicker()};return _.jsx(ei,{header:a,footer:l,backgroundColor:f,children:_.jsx(_.Fragment,{children:_.jsxs("div",{style:lw(lw({},$E),{},{justifyContent:"center"}),children:[_.jsx("input",or(ce({style:BE,ref:m,type:"file",accept:"image/*"},g?{multiple:!0}:{}),{onChange:h})),_.jsx("button",{style:VE,onClick:b,children:_.jsx(Zr,{imageId:c==null||(i=c[0])===null||i===void 0||(i=i.image)===null||i===void 0?void 0:i.imageId})})]})})})},Ie={},ya={exports:{}},GE=ya.exports,fw;function KE(){return fw||(fw=1,function(t,n){(function(i,a){var l="1.0.39",c="",f="?",d="function",p="undefined",y="object",m="string",g="major",h="model",b="name",S="type",w="vendor",C="version",N="architecture",O="console",T="mobile",R="tablet",F="smarttv",j="wearable",x="embedded",L=500,U="Amazon",J="Apple",H="ASUS",$="BlackBerry",le="Browser",G="Chrome",re="Edge",oe="Firefox",te="Google",Z="Huawei",z="LG",ae="Microsoft",k="Motorola",Y="Opera",ge="Samsung",Se="Sharp",fe="Sony",Pe="Xiaomi",Ae="Zebra",xe="Facebook",_e="Chromium OS",Ge="Mac OS",nr=" Browser",lr=function(ne,X){var ie={};for(var be in ne)X[be]&&X[be].length%2===0?ie[be]=X[be].concat(ne[be]):ie[be]=ne[be];return ie},Le=function(ne){for(var X={},ie=0;ie<ne.length;ie++)X[ne[ie].toUpperCase()]=ne[ie];return X},Ve=function(ne,X){return typeof ne===m?Ke(X).indexOf(Ke(ne))!==-1:!1},Ke=function(ne){return ne.toLowerCase()},Qe=function(ne){return typeof ne===m?ne.replace(/[^\d\.]/g,c).split(".")[0]:a},Me=function(ne,X){if(typeof ne===m)return ne=ne.replace(/^\s\s*/,c),typeof X===p?ne:ne.substring(0,L)},$e=function(ne,X){for(var ie=0,be,Fe,Ee,we,he,Ne;ie<X.length&&!he;){var He=X[ie],fr=X[ie+1];for(be=Fe=0;be<He.length&&!he&&He[be];)if(he=He[be++].exec(ne),he)for(Ee=0;Ee<fr.length;Ee++)Ne=he[++Fe],we=fr[Ee],typeof we===y&&we.length>0?we.length===2?typeof we[1]==d?this[we[0]]=we[1].call(this,Ne):this[we[0]]=we[1]:we.length===3?typeof we[1]===d&&!(we[1].exec&&we[1].test)?this[we[0]]=Ne?we[1].call(this,Ne,we[2]):a:this[we[0]]=Ne?Ne.replace(we[1],we[2]):a:we.length===4&&(this[we[0]]=Ne?we[3].call(this,Ne.replace(we[1],we[2])):a):this[we]=Ne||a;ie+=2}},Je=function(ne,X){for(var ie in X)if(typeof X[ie]===y&&X[ie].length>0){for(var be=0;be<X[ie].length;be++)if(Ve(X[ie][be],ne))return ie===f?a:ie}else if(Ve(X[ie],ne))return ie===f?a:ie;return X.hasOwnProperty("*")?X["*"]:ne},mr={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},br={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},A={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[b,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[b,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[b,C],[/opios[\/ ]+([\w\.]+)/i],[C,[b,Y+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[b,Y+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[b,Y]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[b,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[b,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[b,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[b,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[b,"UC"+le]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[b,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[b,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[b,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[b,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[b,"Smart Lenovo "+le]],[/(avast|avg)\/([\w\.]+)/i],[[b,/(.+)/,"$1 Secure "+le],C],[/\bfocus\/([\w\.]+)/i],[C,[b,oe+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[b,Y+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[b,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[b,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[b,Y+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[b,"MIUI "+le]],[/fxios\/([-\w\.]+)/i],[C,[b,oe]],[/\bqihu|(qi?ho?o?|360)browser/i],[[b,"360"+nr]],[/\b(qq)\/([\w\.]+)/i],[[b,/(.+)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[b,/(.+)/,"$1"+nr],C],[/samsungbrowser\/([\w\.]+)/i],[C,[b,ge+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[b,/_/g," "],C],[/metasr[\/ ]?([\d\.]+)/i],[C,[b,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[b,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[b,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[b],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[b,xe],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[b,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[b,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[b,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[b,G+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[b,G+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[b,"Android "+le]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[b,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[b,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,b],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[b,[C,Je,mr]],[/(webkit|khtml)\/([\w\.]+)/i],[b,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[b,"Netscape"],C],[/(wolvic)\/([\w\.]+)/i],[b,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[b,oe+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[b,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[b,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[N,"amd64"]],[/(ia32(?=;))/i],[[N,Ke]],[/((?:i[346]|x)86)[;\)]/i],[[N,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[N,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[N,"armhf"]],[/windows (ce|mobile); ppc;/i],[[N,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[N,/ower/,c,Ke]],[/(sun4\w)[;\)]/i],[[N,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[N,Ke]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[h,[w,ge],[S,R]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[h,[w,ge],[S,T]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[w,J],[S,T]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[w,J],[S,R]],[/(macintosh);/i],[h,[w,J]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[w,Se],[S,T]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[h,[w,Z],[S,R]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[w,Z],[S,T]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[h,/_/g," "],[w,Pe],[S,T]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[h,/_/g," "],[w,Pe],[S,R]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[w,"OPPO"],[S,T]],[/\b(opd2\d{3}a?) bui/i],[h,[w,"OPPO"],[S,R]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[w,"Vivo"],[S,T]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[h,[w,"Realme"],[S,T]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[w,k],[S,T]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[w,k],[S,R]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[w,z],[S,R]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[w,z],[S,T]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[h,[w,"Lenovo"],[S,R]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[h,/_/g," "],[w,"Nokia"],[S,T]],[/(pixel c)\b/i],[h,[w,te],[S,R]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[w,te],[S,T]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[h,[w,fe],[S,T]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[w,fe],[S,R]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[w,"OnePlus"],[S,T]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[w,U],[S,R]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[w,U],[S,T]],[/(playbook);[-\w\),; ]+(rim)/i],[h,w,[S,R]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[w,$],[S,T]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[w,H],[S,R]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[w,H],[S,T]],[/(nexus 9)/i],[h,[w,"HTC"],[S,R]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[w,[h,/_/g," "],[S,T]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[h,[w,"TCL"],[S,R]],[/(itel) ((\w+))/i],[[w,Ke],h,[S,Je,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[w,"Acer"],[S,R]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[w,"Meizu"],[S,T]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[h,[w,"Ulefone"],[S,T]],[/droid.+; (a(?:015|06[35]|142p?))/i],[h,[w,"Nothing"],[S,T]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[w,h,[S,T]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[w,h,[S,R]],[/(surface duo)/i],[h,[w,ae],[S,R]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[w,"Fairphone"],[S,T]],[/(u304aa)/i],[h,[w,"AT&T"],[S,T]],[/\bsie-(\w*)/i],[h,[w,"Siemens"],[S,T]],[/\b(rct\w+) b/i],[h,[w,"RCA"],[S,R]],[/\b(venue[\d ]{2,7}) b/i],[h,[w,"Dell"],[S,R]],[/\b(q(?:mv|ta)\w+) b/i],[h,[w,"Verizon"],[S,R]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[w,"Barnes & Noble"],[S,R]],[/\b(tm\d{3}\w+) b/i],[h,[w,"NuVision"],[S,R]],[/\b(k88) b/i],[h,[w,"ZTE"],[S,R]],[/\b(nx\d{3}j) b/i],[h,[w,"ZTE"],[S,T]],[/\b(gen\d{3}) b.+49h/i],[h,[w,"Swiss"],[S,T]],[/\b(zur\d{3}) b/i],[h,[w,"Swiss"],[S,R]],[/\b((zeki)?tb.*\b) b/i],[h,[w,"Zeki"],[S,R]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[w,"Dragon Touch"],h,[S,R]],[/\b(ns-?\w{0,9}) b/i],[h,[w,"Insignia"],[S,R]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[w,"NextBook"],[S,R]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[w,"Voice"],h,[S,T]],[/\b(lvtel\-)?(v1[12]) b/i],[[w,"LvTel"],h,[S,T]],[/\b(ph-1) /i],[h,[w,"Essential"],[S,T]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[w,"Envizen"],[S,R]],[/\b(trio[-\w\. ]+) b/i],[h,[w,"MachSpeed"],[S,R]],[/\btu_(1491) b/i],[h,[w,"Rotor"],[S,R]],[/(shield[\w ]+) b/i],[h,[w,"Nvidia"],[S,R]],[/(sprint) (\w+)/i],[w,h,[S,T]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[w,ae],[S,T]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[w,Ae],[S,R]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[w,Ae],[S,T]],[/smart-tv.+(samsung)/i],[w,[S,F]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[w,ge],[S,F]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[w,z],[S,F]],[/(apple) ?tv/i],[w,[h,J+" TV"],[S,F]],[/crkey/i],[[h,G+"cast"],[w,te],[S,F]],[/droid.+aft(\w+)( bui|\))/i],[h,[w,U],[S,F]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[w,Se],[S,F]],[/(bravia[\w ]+)( bui|\))/i],[h,[w,fe],[S,F]],[/(mitv-\w{5}) bui/i],[h,[w,Pe],[S,F]],[/Hbbtv.*(technisat) (.*);/i],[w,h,[S,F]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[w,Me],[h,Me],[S,F]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[S,F]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[w,h,[S,O]],[/droid.+; (shield) bui/i],[h,[w,"Nvidia"],[S,O]],[/(playstation [345portablevi]+)/i],[h,[w,fe],[S,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[w,ae],[S,O]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[h,[w,ge],[S,j]],[/((pebble))app/i],[w,h,[S,j]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[w,J],[S,j]],[/droid.+; (glass) \d/i],[h,[w,te],[S,j]],[/droid.+; (wt63?0{2,3})\)/i],[h,[w,Ae],[S,j]],[/(quest( \d| pro)?)/i],[h,[w,xe],[S,j]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[w,[S,x]],[/(aeobc)\b/i],[h,[w,U],[S,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[h,[S,T]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[S,R]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[S,R]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[S,T]],[/(android[-\w\. ]{0,9});.+buil/i],[h,[w,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[b,re+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[b,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[b,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,b]],os:[[/microsoft (windows) (vista|xp)/i],[b,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[b,[C,Je,br]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,Je,br],[b,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[b,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[b,Ge],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,b],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[b,C],[/\(bb(10);/i],[C,[b,$]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[b,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[b,oe+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[b,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[b,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[b,G+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[b,_e],C],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[b,C],[/(sunos) ?([\w\.\d]*)/i],[[b,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[b,C]]},V=function(ne,X){if(typeof ne===y&&(X=ne,ne=a),!(this instanceof V))return new V(ne,X).getResult();var ie=typeof i!==p&&i.navigator?i.navigator:a,be=ne||(ie&&ie.userAgent?ie.userAgent:c),Fe=ie&&ie.userAgentData?ie.userAgentData:a,Ee=X?lr(A,X):A,we=ie&&ie.userAgent==be;return this.getBrowser=function(){var he={};return he[b]=a,he[C]=a,$e.call(he,be,Ee.browser),he[g]=Qe(he[C]),we&&ie&&ie.brave&&typeof ie.brave.isBrave==d&&(he[b]="Brave"),he},this.getCPU=function(){var he={};return he[N]=a,$e.call(he,be,Ee.cpu),he},this.getDevice=function(){var he={};return he[w]=a,he[h]=a,he[S]=a,$e.call(he,be,Ee.device),we&&!he[S]&&Fe&&Fe.mobile&&(he[S]=T),we&&he[h]=="Macintosh"&&ie&&typeof ie.standalone!==p&&ie.maxTouchPoints&&ie.maxTouchPoints>2&&(he[h]="iPad",he[S]=R),he},this.getEngine=function(){var he={};return he[b]=a,he[C]=a,$e.call(he,be,Ee.engine),he},this.getOS=function(){var he={};return he[b]=a,he[C]=a,$e.call(he,be,Ee.os),we&&!he[b]&&Fe&&Fe.platform&&Fe.platform!="Unknown"&&(he[b]=Fe.platform.replace(/chrome os/i,_e).replace(/macos/i,Ge)),he},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return be},this.setUA=function(he){return be=typeof he===m&&he.length>L?Me(he,L):he,this},this.setUA(be),this};V.VERSION=l,V.BROWSER=Le([b,C,g]),V.CPU=Le([N]),V.DEVICE=Le([h,w,S,O,T,F,R,j,x]),V.ENGINE=V.OS=Le([b,C]),t.exports&&(n=t.exports=V),n.UAParser=V;var q=typeof i!==p&&(i.jQuery||i.Zepto);if(q&&!q.ua){var se=new V;q.ua=se.getResult(),q.ua.get=function(){return se.getUA()},q.ua.set=function(ne){se.setUA(ne);var X=se.getResult();for(var ie in X)q.ua[ie]=X[ie]}}})(typeof window=="object"?window:GE)}(ya,ya.exports)),ya.exports}var dw;function QE(){if(dw)return Ie;dw=1,Object.defineProperty(Ie,"__esModule",{value:!0});function t(W){return W&&typeof W=="object"&&"default"in W?W.default:W}var n=uu(),i=t(n),a=KE(),l=new a,c=l.getBrowser(),f=l.getCPU(),d=l.getDevice(),p=l.getEngine(),y=l.getOS(),m=l.getUA(),g=function(I){return l.setUA(I)},h=function(I){if(!I){console.error("No userAgent string was provided");return}var D=new a(I);return{UA:D,browser:D.getBrowser(),cpu:D.getCPU(),device:D.getDevice(),engine:D.getEngine(),os:D.getOS(),ua:D.getUA(),setUserAgent:function(de){return D.setUA(de)}}},b=Object.freeze({ClientUAInstance:l,browser:c,cpu:f,device:d,engine:p,os:y,ua:m,setUa:g,parseUserAgent:h});function S(W,I){var D=Object.keys(W);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(W);I&&(ue=ue.filter(function(de){return Object.getOwnPropertyDescriptor(W,de).enumerable})),D.push.apply(D,ue)}return D}function w(W){for(var I=1;I<arguments.length;I++){var D=arguments[I]!=null?arguments[I]:{};I%2?S(Object(D),!0).forEach(function(ue){R(W,ue,D[ue])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(D)):S(Object(D)).forEach(function(ue){Object.defineProperty(W,ue,Object.getOwnPropertyDescriptor(D,ue))})}return W}function C(W){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(I){return typeof I}:C=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},C(W)}function N(W,I){if(!(W instanceof I))throw new TypeError("Cannot call a class as a function")}function O(W,I){for(var D=0;D<I.length;D++){var ue=I[D];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(W,ue.key,ue)}}function T(W,I,D){return I&&O(W.prototype,I),W}function R(W,I,D){return I in W?Object.defineProperty(W,I,{value:D,enumerable:!0,configurable:!0,writable:!0}):W[I]=D,W}function F(){return F=Object.assign||function(W){for(var I=1;I<arguments.length;I++){var D=arguments[I];for(var ue in D)Object.prototype.hasOwnProperty.call(D,ue)&&(W[ue]=D[ue])}return W},F.apply(this,arguments)}function j(W,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(I&&I.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),I&&L(W,I)}function x(W){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)},x(W)}function L(W,I){return L=Object.setPrototypeOf||function(ue,de){return ue.__proto__=de,ue},L(W,I)}function U(W,I){if(W==null)return{};var D={},ue=Object.keys(W),de,ze;for(ze=0;ze<ue.length;ze++)de=ue[ze],!(I.indexOf(de)>=0)&&(D[de]=W[de]);return D}function J(W,I){if(W==null)return{};var D=U(W,I),ue,de;if(Object.getOwnPropertySymbols){var ze=Object.getOwnPropertySymbols(W);for(de=0;de<ze.length;de++)ue=ze[de],!(I.indexOf(ue)>=0)&&Object.prototype.propertyIsEnumerable.call(W,ue)&&(D[ue]=W[ue])}return D}function H(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function $(W,I){if(I&&(typeof I=="object"||typeof I=="function"))return I;if(I!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H(W)}function le(W,I){return G(W)||re(W,I)||oe(W,I)||Z()}function G(W){if(Array.isArray(W))return W}function re(W,I){var D=W==null?null:typeof Symbol!="undefined"&&W[Symbol.iterator]||W["@@iterator"];if(D!=null){var ue=[],de=!0,ze=!1,Er,Jr;try{for(D=D.call(W);!(de=(Er=D.next()).done)&&(ue.push(Er.value),!(I&&ue.length===I));de=!0);}catch(no){ze=!0,Jr=no}finally{try{!de&&D.return!=null&&D.return()}finally{if(ze)throw Jr}}return ue}}function oe(W,I){if(W){if(typeof W=="string")return te(W,I);var D=Object.prototype.toString.call(W).slice(8,-1);if(D==="Object"&&W.constructor&&(D=W.constructor.name),D==="Map"||D==="Set")return Array.from(W);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return te(W,I)}}function te(W,I){(I==null||I>W.length)&&(I=W.length);for(var D=0,ue=new Array(I);D<I;D++)ue[D]=W[D];return ue}function Z(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
36
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},ae={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},k={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},Y={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},ge=function(I){switch(I){case z.Mobile:return{isMobile:!0};case z.Tablet:return{isTablet:!0};case z.SmartTv:return{isSmartTV:!0};case z.Console:return{isConsole:!0};case z.Wearable:return{isWearable:!0};case z.Browser:return{isBrowser:!0};case z.Embedded:return{isEmbedded:!0};default:return Y}},Se=function(I){return g(I)},fe=function(I){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return I||D},Pe=function(){return typeof window!="undefined"&&(window.navigator||navigator)?window.navigator||navigator:!1},Ae=function(I){var D=Pe();return D&&D.platform&&(D.platform.indexOf(I)!==-1||D.platform==="MacIntel"&&D.maxTouchPoints>1&&!window.MSStream)},xe=function(I,D,ue,de,ze){return{isBrowser:I,browserMajorVersion:fe(D.major),browserFullVersion:fe(D.version),browserName:fe(D.name),engineName:fe(ue.name),engineVersion:fe(ue.version),osName:fe(de.name),osVersion:fe(de.version),userAgent:fe(ze)}},_e=function(I,D,ue,de){return w({},I,{vendor:fe(D.vendor),model:fe(D.model),os:fe(ue.name),osVersion:fe(ue.version),ua:fe(de)})},Ge=function(I,D,ue,de){return{isSmartTV:I,engineName:fe(D.name),engineVersion:fe(D.version),osName:fe(ue.name),osVersion:fe(ue.version),userAgent:fe(de)}},nr=function(I,D,ue,de){return{isConsole:I,engineName:fe(D.name),engineVersion:fe(D.version),osName:fe(ue.name),osVersion:fe(ue.version),userAgent:fe(de)}},lr=function(I,D,ue,de){return{isWearable:I,engineName:fe(D.name),engineVersion:fe(D.version),osName:fe(ue.name),osVersion:fe(ue.version),userAgent:fe(de)}},Le=function(I,D,ue,de,ze){return{isEmbedded:I,vendor:fe(D.vendor),model:fe(D.model),engineName:fe(ue.name),engineVersion:fe(ue.version),osName:fe(de.name),osVersion:fe(de.version),userAgent:fe(ze)}};function Ve(W){var I=W?h(W):b,D=I.device,ue=I.browser,de=I.engine,ze=I.os,Er=I.ua,Jr=ge(D.type),no=Jr.isBrowser,ka=Jr.isMobile,io=Jr.isTablet,oo=Jr.isSmartTV,Aa=Jr.isConsole,Wt=Jr.isWearable,ao=Jr.isEmbedded;if(no)return xe(no,ue,de,ze,Er);if(oo)return Ge(oo,de,ze,Er);if(Aa)return nr(Aa,de,ze,Er);if(ka||io)return _e(Jr,D,ze,Er);if(Wt)return lr(Wt,de,ze,Er);if(ao)return Le(ao,D,de,ze,Er)}var Ke=function(I){var D=I.type;return D===z.Mobile},Qe=function(I){var D=I.type;return D===z.Tablet},Me=function(I){var D=I.type;return D===z.Mobile||D===z.Tablet},$e=function(I){var D=I.type;return D===z.SmartTv},Je=function(I){var D=I.type;return D===z.Browser},mr=function(I){var D=I.type;return D===z.Wearable},br=function(I){var D=I.type;return D===z.Console},A=function(I){var D=I.type;return D===z.Embedded},V=function(I){var D=I.vendor;return fe(D)},q=function(I){var D=I.model;return fe(D)},se=function(I){var D=I.type;return fe(D,"browser")},ne=function(I){var D=I.name;return D===k.Android},X=function(I){var D=I.name;return D===k.Windows},ie=function(I){var D=I.name;return D===k.MAC_OS},be=function(I){var D=I.name;return D===k.WindowsPhone},Fe=function(I){var D=I.name;return D===k.IOS},Ee=function(I){var D=I.version;return fe(D)},we=function(I){var D=I.name;return fe(D)},he=function(I){var D=I.name;return D===ae.Chrome},Ne=function(I){var D=I.name;return D===ae.Firefox},He=function(I){var D=I.name;return D===ae.Chromium},fr=function(I){var D=I.name;return D===ae.Edge},zt=function(I){var D=I.name;return D===ae.Yandex},jt=function(I){var D=I.name;return D===ae.Safari||D===ae.MobileSafari},Gi=function(I){var D=I.name;return D===ae.MobileSafari},Ki=function(I){var D=I.name;return D===ae.Opera},Sn=function(I){var D=I.name;return D===ae.InternetExplorer||D===ae.Ie},En=function(I){var D=I.name;return D===ae.MIUI},ma=function(I){var D=I.name;return D===ae.SamsungBrowser},ga=function(I){var D=I.version;return fe(D)},wa=function(I){var D=I.major;return fe(D)},ba=function(I){var D=I.name;return fe(D)},Sa=function(I){var D=I.name;return fe(D)},Qi=function(I){var D=I.version;return fe(D)},Ea=function(){var I=Pe(),D=I&&I.userAgent&&I.userAgent.toLowerCase();return typeof D=="string"?/electron/.test(D):!1},kt=function(I){return typeof I=="string"&&I.indexOf("Edg/")!==-1},Yi=function(){var I=Pe();return I&&(/iPad|iPhone|iPod/.test(I.platform)||I.platform==="MacIntel"&&I.maxTouchPoints>1)&&!window.MSStream},Xr=function(){return Ae("iPad")},$u=function(){return Ae("iPhone")},Nn=function(){return Ae("iPod")},ti=function(I){return fe(I)};function ni(W){var I=W||b,D=I.device,ue=I.browser,de=I.os,ze=I.engine,Er=I.ua;return{isSmartTV:$e(D),isConsole:br(D),isWearable:mr(D),isEmbedded:A(D),isMobileSafari:Gi(ue)||Xr(),isChromium:He(ue),isMobile:Me(D)||Xr(),isMobileOnly:Ke(D),isTablet:Qe(D)||Xr(),isBrowser:Je(D),isDesktop:Je(D),isAndroid:ne(de),isWinPhone:be(de),isIOS:Fe(de)||Xr(),isChrome:he(ue),isFirefox:Ne(ue),isSafari:jt(ue),isOpera:Ki(ue),isIE:Sn(ue),osVersion:Ee(de),osName:we(de),fullBrowserVersion:ga(ue),browserVersion:wa(ue),browserName:ba(ue),mobileVendor:V(D),mobileModel:q(D),engineName:Sa(ze),engineVersion:Qi(ze),getUA:ti(Er),isEdge:fr(ue)||kt(Er),isYandex:zt(ue),deviceType:se(D),isIOS13:Yi(),isIPad13:Xr(),isIPhone13:$u(),isIPod13:Nn(),isElectron:Ea(),isEdgeChromium:kt(Er),isLegacyEdge:fr(ue)&&!kt(Er),isWindows:X(de),isMacOs:ie(de),isMIUI:En(ue),isSamsungBrowser:ma(ue)}}var Zi=$e(d),Uu=br(d),zu=mr(d),Iv=A(d),Cn=Gi(c)||Xr(),Wu=He(c),ii=Me(d)||Xr(),Hu=Ke(d),Ca=Qe(d)||Xr(),_a=Je(d),Gu=Je(d),Oa=ne(y),Ku=be(y),Qu=Fe(y)||Xr(),Pr=he(c),Rv=Ne(c),xa=jt(c),Yu=Ki(c),oi=Sn(c),Pv=Ee(y),Zu=we(y),Xi=ga(c),At=wa(c),Tv=ba(c),Ct=V(d),jv=q(d),kv=Sa(p),Av=Qi(p),Ji=ti(m),eo=fr(c)||kt(m),ai=zt(c),ro=se(d),Nv=Yi(),Dv=Xr(),Ia=$u(),Xu=Nn(),Ra=Ea(),ui=kt(m),Fv=fr(c)&&!kt(m),Pa=X(y),sr=ie(y),Ju=En(c),el=ma(c),Ta=function(I){if(!I||typeof I!="string"){console.error("No valid user agent string was provided");return}var D=h(I),ue=D.device,de=D.browser,ze=D.os,Er=D.engine,Jr=D.ua;return ni({device:ue,browser:de,os:ze,engine:Er,ua:Jr})},rl=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return Oa?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},tl=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return _a?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},nl=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return oi?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},ja=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return Qu?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},to=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return ii?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},nn=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return Ca?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},on=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return Ku?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},an=function(I){var D=I.renderWithFragment,ue=I.children;I.viewClassName,I.style;var de=J(I,["renderWithFragment","children","viewClassName","style"]);return Hu?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},li=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return Zi?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},si=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return Uu?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},un=function(I){var D=I.renderWithFragment,ue=I.children,de=J(I,["renderWithFragment","children"]);return zu?D?i.createElement(n.Fragment,null,ue):i.createElement("div",de,ue):null},Lv=function(I){var D=I.renderWithFragment,ue=I.children;I.viewClassName,I.style;var de=I.condition,ze=J(I,["renderWithFragment","children","viewClassName","style","condition"]);return de?D?i.createElement(n.Fragment,null,ue):i.createElement("div",ze,ue):null};function il(W){return function(I){j(D,I);function D(ue){var de;return N(this,D),de=$(this,x(D).call(this,ue)),de.isEventListenerAdded=!1,de.handleOrientationChange=de.handleOrientationChange.bind(H(de)),de.onOrientationChange=de.onOrientationChange.bind(H(de)),de.onPageLoad=de.onPageLoad.bind(H(de)),de.state={isLandscape:!1,isPortrait:!1},de}return T(D,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var de=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:de===0,isLandscape:de===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window=="undefined"?"undefined":C(window))!==void 0&&ii&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return i.createElement(W,F({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),D}(i.Component)}function ci(){var W=n.useState(function(){var ze=window.innerWidth>window.innerHeight?90:0;return{isPortrait:ze===0,isLandscape:ze===90,orientation:ze===0?"portrait":"landscape"}}),I=le(W,2),D=I[0],ue=I[1],de=n.useCallback(function(){var ze=window.innerWidth>window.innerHeight?90:0,Er={isPortrait:ze===0,isLandscape:ze===90,orientation:ze===0?"portrait":"landscape"};D.orientation!==Er.orientation&&ue(Er)},[D.orientation]);return n.useEffect(function(){return(typeof window=="undefined"?"undefined":C(window))!==void 0&&ii&&(de(),window.addEventListener("load",de,!1),window.addEventListener("resize",de,!1)),function(){window.removeEventListener("resize",de,!1),window.removeEventListener("load",de,!1)}},[de]),D}function ol(W){var I=W||window.navigator.userAgent;return h(I)}function al(W){var I=W||window.navigator.userAgent,D=ol(I),ue=ni(D);return[ue,D]}return Ie.AndroidView=rl,Ie.BrowserTypes=ae,Ie.BrowserView=tl,Ie.ConsoleView=si,Ie.CustomView=Lv,Ie.IEView=nl,Ie.IOSView=ja,Ie.MobileOnlyView=an,Ie.MobileView=to,Ie.OsTypes=k,Ie.SmartTVView=li,Ie.TabletView=nn,Ie.WearableView=un,Ie.WinPhoneView=on,Ie.browserName=Tv,Ie.browserVersion=At,Ie.deviceDetect=Ve,Ie.deviceType=ro,Ie.engineName=kv,Ie.engineVersion=Av,Ie.fullBrowserVersion=Xi,Ie.getSelectorsByUserAgent=Ta,Ie.getUA=Ji,Ie.isAndroid=Oa,Ie.isBrowser=_a,Ie.isChrome=Pr,Ie.isChromium=Wu,Ie.isConsole=Uu,Ie.isDesktop=Gu,Ie.isEdge=eo,Ie.isEdgeChromium=ui,Ie.isElectron=Ra,Ie.isEmbedded=Iv,Ie.isFirefox=Rv,Ie.isIE=oi,Ie.isIOS=Qu,Ie.isIOS13=Nv,Ie.isIPad13=Dv,Ie.isIPhone13=Ia,Ie.isIPod13=Xu,Ie.isLegacyEdge=Fv,Ie.isMIUI=Ju,Ie.isMacOs=sr,Ie.isMobile=ii,Ie.isMobileOnly=Hu,Ie.isMobileSafari=Cn,Ie.isOpera=Yu,Ie.isSafari=xa,Ie.isSamsungBrowser=el,Ie.isSmartTV=Zi,Ie.isTablet=Ca,Ie.isWearable=zu,Ie.isWinPhone=Ku,Ie.isWindows=Pa,Ie.isYandex=ai,Ie.mobileModel=jv,Ie.mobileVendor=Ct,Ie.osName=Zu,Ie.osVersion=Pv,Ie.parseUserAgent=h,Ie.setUserAgent=Se,Ie.useDeviceData=ol,Ie.useDeviceSelectors=al,Ie.useMobileOrientation=ci,Ie.withOrientationChange=il,Ie}var YE=QE(),ZE={display:"none"},XE={display:"flex",alignItems:"center",justifyContent:"center",width:"250px",height:"50px",border:0,borderRadius:"16px",background:"#7e57c5",cursor:"pointer"},JE={position:"relative",display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",minHeight:"100%",overflow:"auto"};function ha(t){"@babel/helpers - typeof";return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ha(t)}function vw(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function pw(t){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?vw(Object(i),!0).forEach(function(a){eC(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):vw(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function eC(t,n,i){return(n=rC(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function rC(t){var n=tC(t,"string");return ha(n)=="symbol"?n:n+""}function tC(t,n){if(ha(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(ha(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function bn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,n,i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.toStringTag||"@@toStringTag";function c(b,S,w,C){var N=S&&S.prototype instanceof d?S:d,O=Object.create(N.prototype);return Et(O,"_invoke",function(T,R,F){var j,x,L,U=0,J=F||[],H=!1,$={p:0,n:0,v:t,a:le,f:le.bind(t,4),d:function(re,oe){return j=re,x=0,L=t,$.n=oe,f}};function le(G,re){for(x=G,L=re,n=0;!H&&U&&!oe&&n<J.length;n++){var oe,te=J[n],Z=$.p,z=te[2];G>3?(oe=z===re)&&(L=te[(x=te[4])?5:(x=3,3)],te[4]=te[5]=t):te[0]<=Z&&((oe=G<2&&Z<te[1])?(x=0,$.v=re,$.n=te[1]):Z<z&&(oe=G<3||te[0]>re||re>z)&&(te[4]=G,te[5]=re,$.n=z,x=0))}if(oe||G>1)return f;throw H=!0,re}return function(G,re,oe){if(U>1)throw TypeError("Generator is already running");for(H&&re===1&&le(re,oe),x=re,L=oe;(n=x<2?t:L)||!H;){j||(x?x<3?(x>1&&($.n=-1),le(x,L)):$.n=L:$.v=L);try{if(U=2,j){if(x||(G="next"),n=j[G]){if(!(n=n.call(j,L)))throw TypeError("iterator result is not an object");if(!n.done)return n;L=n.value,x<2&&(x=0)}else x===1&&(n=j.return)&&n.call(j),x<2&&(L=TypeError("The iterator does not provide a '"+G+"' method"),x=1);j=t}else if((n=(H=$.n<0)?L:T.call(R,$))!==f)break}catch(te){j=t,x=1,L=te}finally{U=1}}return{value:n,done:H}}}(b,w,C),!0),O}var f={};function d(){}function p(){}function y(){}n=Object.getPrototypeOf;var m=[][a]?n(n([][a]())):(Et(n={},a,function(){return this}),n),g=y.prototype=d.prototype=Object.create(m);function h(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,y):(b.__proto__=y,Et(b,l,"GeneratorFunction")),b.prototype=Object.create(g),b}return p.prototype=y,Et(g,"constructor",y),Et(y,"constructor",p),p.displayName="GeneratorFunction",Et(y,l,"GeneratorFunction"),Et(g),Et(g,l,"Generator"),Et(g,a,function(){return this}),Et(g,"toString",function(){return"[object Generator]"}),(bn=function(){return{w:c,m:h}})()}function Et(t,n,i,a){var l=Object.defineProperty;try{l({},"",{})}catch(c){l=0}Et=function(f,d,p,y){function m(g,h){Et(f,g,function(b){return this._invoke(g,h,b)})}d?l?l(f,d,{value:p,enumerable:!y,configurable:!y,writable:!y}):f[d]=p:(m("next",0),m("throw",1),m("return",2))},Et(t,n,i,a)}function yw(t,n,i,a,l,c,f){try{var d=t[c](f),p=d.value}catch(y){return void i(y)}d.done?n(p):Promise.resolve(p).then(a,l)}function qu(t){return function(){var n=this,i=arguments;return new Promise(function(a,l){var c=t.apply(n,i);function f(p){yw(c,a,l,f,d,"next",p)}function d(p){yw(c,a,l,f,d,"throw",p)}f(void 0)})}}var nC=function(n){var i,a=n.header,l=n.footer,c=n.backgroundColor,f=n.buttons,d=n.selectionLimit,p=Fi(),y=p.perform,m=tr.useRef(null),g=typeof d=="number"&&(d===0||d>1),h=function(){var S=qu(bn().m(function w(C){var N,O,T,R,F;return bn().w(function(j){for(;;)switch(j.p=j.n){case 0:if(O=Array.from((N=C.target.files)!==null&&N!==void 0?N:[]),O.length){j.n=1;break}return j.a(2);case 1:return j.p=1,j.n=2,Promise.allSettled(O.map(function(){var x=qu(bn().m(function L(U){var J,H;return bn().w(function($){for(;;)switch($.n){case 0:return $.n=1,v4(U);case 1:return J=$.v,H={name:U.name,type:U.type,size:U.size,lastModified:U.lastModified},$.a(2,{content:J,metadata:H})}},L)}));return function(L){return x.apply(this,arguments)}}()));case 2:T=j.v,R=T.filter(function(x){return x.status==="fulfilled"}).map(function(x){return x.value}),y({cancel:!1,permissionDenied:!1,files:R}),j.n=4;break;case 3:j.p=3,F=j.v,console.error("Error: ",F);case 4:return j.a(2)}},w,null,[[1,3]])}));return function(C){return S.apply(this,arguments)}}(),b=function(){var S=qu(bn().m(function w(){var C;return bn().w(function(N){for(;;)switch(N.n){case 0:(C=m.current)===null||C===void 0||C.showPicker();case 1:return N.a(2)}},w)}));return function(){return S.apply(this,arguments)}}();return tr.useEffect(function(){qu(bn().m(function S(){var w;return bn().w(function(C){for(;;)switch(C.n){case 0:if(!YE.isDesktop){C.n=1;break}return C.a(2);case 1:return C.n=2,u6();case 2:w=C.v,(w==="denied"||w==="error")&&y({cancel:!1,permissionDenied:!0,files:[]});case 3:return C.a(2)}},S)}))()},[]),_.jsx(ei,{header:a,footer:l,backgroundColor:c,children:_.jsx(_.Fragment,{children:_.jsxs("div",{style:pw(pw({},JE),{},{justifyContent:"center"}),children:[_.jsx("input",or(ce({style:ZE,ref:m,type:"file",accept:"image/*",capture:!0},g?{multiple:!0}:{}),{onChange:h})),_.jsx("button",{style:XE,onClick:b,children:_.jsx(Zr,{imageId:f==null||(i=f[0])===null||i===void 0||(i=i.image)===null||i===void 0?void 0:i.imageId})})]})})})},hw=function(n){var i=n.templateId,a=n.templateLayout,l=n.dataSource,c=n.properties,f=Fi(),d=f.perform;if(!i||!a)return _.jsx(Z4,{});var p=c!=null&&c.length?JSON.stringify(c):"default-key";if(i===Vt.STATUS)return _.jsx(N9,{header:a==null?void 0:a.header,footer:a==null?void 0:a.footer,image:a==null?void 0:a.image,description:a==null?void 0:a.description,title:a==null?void 0:a.title,buttons:a==null?void 0:a.buttons,backgroundColor:a==null?void 0:a.backgroundColor});if(i===Vt.INFO)return _.jsx(B9,{header:a==null?void 0:a.header,footer:a==null?void 0:a.footer,image:a==null?void 0:a.image,title:a==null?void 0:a.title,description:a==null?void 0:a.description,buttons:a==null?void 0:a.buttons,backgroundColor:a==null?void 0:a.backgroundColor});if(i===Vt.PROGRESS)return _.jsx(Z4,{header:a==null?void 0:a.header,footer:a==null?void 0:a.footer,progressView:a==null?void 0:a.progressView,backgroundColor:a==null?void 0:a.backgroundColor});if(i===Vt.INFO_DETAILS)return _.jsx(t7,{header:a==null?void 0:a.header,title:a==null?void 0:a.title,details:a==null?void 0:a.details,buttons:a==null?void 0:a.buttons,footer:a==null?void 0:a.footer,backgroundColor:a==null?void 0:a.backgroundColor});if(i===Vt.CAMERA)return _.jsx(_.Fragment,{children:_.jsx(nC,{header:a==null?void 0:a.header,buttons:a==null?void 0:a.buttons,footer:a==null?void 0:a.footer,backgroundColor:n.backgroundColor,selectionLimit:n.selectionLimit})});if(i===Vt.GALLERY)return _.jsx(_.Fragment,{children:_.jsx(HE,{header:a==null?void 0:a.header,buttons:a==null?void 0:a.buttons,footer:a==null?void 0:a.footer,backgroundColor:n.backgroundColor,selectionLimit:n.selectionLimit})});if(l&&l!==null&&l!==void 0&&l.questions.length&&i===Vt.QUESTIONS)return _.jsx(ME,{dataSource:l,properties:c,questions:a.questions,header:a==null?void 0:a.header,footer:a==null?void 0:a.footer,title:a==null?void 0:a.title,buttons:a==null?void 0:a.buttons,backgroundColor:a==null?void 0:a.backgroundColor},p);if(i===Vt.QUESTIONS&&!l){var y=new Ui({errorCode:Yo.DECODING_FAILED,message:"No data for questions"});return d(y),null}var m=new Ui({errorCode:Yo.DECODING_FAILED,message:"Unsupported step template"});return d(m),null},Bu={},Ev={exports:{}},ft={},Cv={exports:{}},_v={};/**
37
- * @license React
38
- * scheduler.production.min.js
39
- *
40
- * Copyright (c) Facebook, Inc. and its affiliates.
41
- *
42
- * This source code is licensed under the MIT license found in the
43
- * LICENSE file in the root directory of this source tree.
44
- */var mw;function iC(){return mw||(mw=1,function(t){function n(Z,z){var ae=Z.length;Z.push(z);e:for(;0<ae;){var k=ae-1>>>1,Y=Z[k];if(0<l(Y,z))Z[k]=z,Z[ae]=Y,ae=k;else break e}}function i(Z){return Z.length===0?null:Z[0]}function a(Z){if(Z.length===0)return null;var z=Z[0],ae=Z.pop();if(ae!==z){Z[0]=ae;e:for(var k=0,Y=Z.length,ge=Y>>>1;k<ge;){var Se=2*(k+1)-1,fe=Z[Se],Pe=Se+1,Ae=Z[Pe];if(0>l(fe,ae))Pe<Y&&0>l(Ae,fe)?(Z[k]=Ae,Z[Pe]=ae,k=Pe):(Z[k]=fe,Z[Se]=ae,k=Se);else if(Pe<Y&&0>l(Ae,ae))Z[k]=Ae,Z[Pe]=ae,k=Pe;else break e}}return z}function l(Z,z){var ae=Z.sortIndex-z.sortIndex;return ae!==0?ae:Z.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var f=Date,d=f.now();t.unstable_now=function(){return f.now()-d}}var p=[],y=[],m=1,g=null,h=3,b=!1,S=!1,w=!1,C=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(Z){for(var z=i(y);z!==null;){if(z.callback===null)a(y);else if(z.startTime<=Z)a(y),z.sortIndex=z.expirationTime,n(p,z);else break;z=i(y)}}function R(Z){if(w=!1,T(Z),!S)if(i(p)!==null)S=!0,oe(F);else{var z=i(y);z!==null&&te(R,z.startTime-Z)}}function F(Z,z){S=!1,w&&(w=!1,N(L),L=-1),b=!0;var ae=h;try{for(T(z),g=i(p);g!==null&&(!(g.expirationTime>z)||Z&&!H());){var k=g.callback;if(typeof k=="function"){g.callback=null,h=g.priorityLevel;var Y=k(g.expirationTime<=z);z=t.unstable_now(),typeof Y=="function"?g.callback=Y:g===i(p)&&a(p),T(z)}else a(p);g=i(p)}if(g!==null)var ge=!0;else{var Se=i(y);Se!==null&&te(R,Se.startTime-z),ge=!1}return ge}finally{g=null,h=ae,b=!1}}var j=!1,x=null,L=-1,U=5,J=-1;function H(){return!(t.unstable_now()-J<U)}function $(){if(x!==null){var Z=t.unstable_now();J=Z;var z=!0;try{z=x(!0,Z)}finally{z?le():(j=!1,x=null)}}else j=!1}var le;if(typeof O=="function")le=function(){O($)};else if(typeof MessageChannel!="undefined"){var G=new MessageChannel,re=G.port2;G.port1.onmessage=$,le=function(){re.postMessage(null)}}else le=function(){C($,0)};function oe(Z){x=Z,j||(j=!0,le())}function te(Z,z){L=C(function(){Z(t.unstable_now())},z)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(Z){Z.callback=null},t.unstable_continueExecution=function(){S||b||(S=!0,oe(F))},t.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<Z?Math.floor(1e3/Z):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return i(p)},t.unstable_next=function(Z){switch(h){case 1:case 2:case 3:var z=3;break;default:z=h}var ae=h;h=z;try{return Z()}finally{h=ae}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(Z,z){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var ae=h;h=Z;try{return z()}finally{h=ae}},t.unstable_scheduleCallback=function(Z,z,ae){var k=t.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?k+ae:k):ae=k,Z){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=ae+Y,Z={id:m++,callback:z,priorityLevel:Z,startTime:ae,expirationTime:Y,sortIndex:-1},ae>k?(Z.sortIndex=ae,n(y,Z),i(p)===null&&Z===i(y)&&(w?(N(L),L=-1):w=!0,te(R,ae-k))):(Z.sortIndex=Y,n(p,Z),S||b||(S=!0,oe(F))),Z},t.unstable_shouldYield=H,t.unstable_wrapCallback=function(Z){var z=h;return function(){var ae=h;h=z;try{return Z.apply(this,arguments)}finally{h=ae}}}}(_v)),_v}var gw;function oC(){return gw||(gw=1,Cv.exports=iC()),Cv.exports}/**
45
- * @license React
46
- * react-dom.production.min.js
47
- *
48
- * Copyright (c) Facebook, Inc. and its affiliates.
49
- *
50
- * This source code is licensed under the MIT license found in the
51
- * LICENSE file in the root directory of this source tree.
52
- */var ww;function aC(){if(ww)return ft;ww=1;var t=uu(),n=oC();function i(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function c(e,r){f(e,r),f(e+"Capture",r)}function f(e,r){for(l[e]=r,e=0;e<r.length;e++)a.add(r[e])}var d=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),p=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},g={};function h(e){return p.call(g,e)?!0:p.call(m,e)?!1:y.test(e)?g[e]=!0:(m[e]=!0,!1)}function b(e,r,o,u){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return u?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function S(e,r,o,u){if(r===null||typeof r=="undefined"||b(e,r,o,u))return!0;if(u)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function w(e,r,o,u,s,v,E){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=s,this.mustUseProperty=o,this.propertyName=e,this.type=r,this.sanitizeURL=v,this.removeEmptyString=E}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new w(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];C[r]=new w(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new w(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){C[e]=new w(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new w(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new w(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){C[e]=new w(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){C[e]=new w(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){C[e]=new w(e,5,!1,e.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(N,O);C[r]=new w(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(N,O);C[r]=new w(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(N,O);C[r]=new w(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){C[e]=new w(e,1,!1,e.toLowerCase(),null,!1,!1)}),C.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){C[e]=new w(e,1,!1,e.toLowerCase(),null,!0,!0)});function T(e,r,o,u){var s=C.hasOwnProperty(r)?C[r]:null;(s!==null?s.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(S(r,o,s,u)&&(o=null),u||s===null?h(r)&&(o===null?e.removeAttribute(r):e.setAttribute(r,""+o)):s.mustUseProperty?e[s.propertyName]=o===null?s.type===3?!1:"":o:(r=s.attributeName,u=s.attributeNamespace,o===null?e.removeAttribute(r):(s=s.type,o=s===3||s===4&&o===!0?"":""+o,u?e.setAttributeNS(u,r,o):e.setAttribute(r,o))))}var R=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),j=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),J=Symbol.for("react.provider"),H=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),Z=Symbol.iterator;function z(e){return e===null||typeof e!="object"?null:(e=Z&&e[Z]||e["@@iterator"],typeof e=="function"?e:null)}var ae=Object.assign,k;function Y(e){if(k===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);k=r&&r[1]||""}return`
53
- `+k+e}var ge=!1;function Se(e,r){if(!e||ge)return"";ge=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(ee){var u=ee}Reflect.construct(e,[],r)}else{try{r.call()}catch(ee){u=ee}e.call(r.prototype)}else{try{throw Error()}catch(ee){u=ee}e()}}catch(ee){if(ee&&u&&typeof ee.stack=="string"){for(var s=ee.stack.split(`
54
- `),v=u.stack.split(`
55
- `),E=s.length-1,P=v.length-1;1<=E&&0<=P&&s[E]!==v[P];)P--;for(;1<=E&&0<=P;E--,P--)if(s[E]!==v[P]){if(E!==1||P!==1)do if(E--,P--,0>P||s[E]!==v[P]){var M=`
56
- `+s[E].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=E&&0<=P);break}}}finally{ge=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?Y(e):""}function fe(e){switch(e.tag){case 5:return Y(e.type);case 16:return Y("Lazy");case 13:return Y("Suspense");case 19:return Y("SuspenseList");case 0:case 2:case 15:return e=Se(e.type,!1),e;case 11:return e=Se(e.type.render,!1),e;case 1:return e=Se(e.type,!0),e;default:return""}}function Pe(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case x:return"Fragment";case j:return"Portal";case U:return"Profiler";case L:return"StrictMode";case le:return"Suspense";case G:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case H:return(e.displayName||"Context")+".Consumer";case J:return(e._context.displayName||"Context")+".Provider";case $:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case re:return r=e.displayName||null,r!==null?r:Pe(e.type)||"Memo";case oe:r=e._payload,e=e._init;try{return Pe(e(r))}catch(o){}}return null}function Ae(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=r.render,e=e.displayName||e.name||"",r.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pe(r);case 8:return r===L?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function xe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _e(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ge(e){var r=_e(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),u=""+e[r];if(!e.hasOwnProperty(r)&&typeof o!="undefined"&&typeof o.get=="function"&&typeof o.set=="function"){var s=o.get,v=o.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return s.call(this)},set:function(E){u=""+E,v.call(this,E)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(E){u=""+E},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function nr(e){e._valueTracker||(e._valueTracker=Ge(e))}function lr(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),u="";return e&&(u=_e(e)?e.checked?"true":"false":e.value),e=u,e!==o?(r.setValue(e),!0):!1}function Le(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(r){return e.body}}function Ve(e,r){var o=r.checked;return ae({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o!=null?o:e._wrapperState.initialChecked})}function Ke(e,r){var o=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;o=xe(r.value!=null?r.value:o),e._wrapperState={initialChecked:u,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Qe(e,r){r=r.checked,r!=null&&T(e,"checked",r,!1)}function Me(e,r){Qe(e,r);var o=xe(r.value),u=r.type;if(o!=null)u==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(u==="submit"||u==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?Je(e,r.type,o):r.hasOwnProperty("defaultValue")&&Je(e,r.type,xe(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function $e(e,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var u=r.type;if(!(u!=="submit"&&u!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,o||r===e.value||(e.value=r),e.defaultValue=r}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function Je(e,r,o){(r!=="number"||Le(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var mr=Array.isArray;function br(e,r,o,u){if(e=e.options,r){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=!0;for(o=0;o<e.length;o++)s=r.hasOwnProperty("$"+e[o].value),e[o].selected!==s&&(e[o].selected=s),s&&u&&(e[o].defaultSelected=!0)}else{for(o=""+xe(o),r=null,s=0;s<e.length;s++){if(e[s].value===o){e[s].selected=!0,u&&(e[s].defaultSelected=!0);return}r!==null||e[s].disabled||(r=e[s])}r!==null&&(r.selected=!0)}}function A(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(i(91));return ae({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function V(e,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(i(92));if(mr(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),o=r}e._wrapperState={initialValue:xe(o)}}function q(e,r){var o=xe(r.value),u=xe(r.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),r.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),u!=null&&(e.defaultValue=""+u)}function se(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}function ne(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function X(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?ne(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ie,be=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(r,o,u,s){MSApp.execUnsafeLocalFunction(function(){return e(r,o,u,s)})}:e}(function(e,r){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=r;else{for(ie=ie||document.createElement("div"),ie.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=ie.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Fe(e,r){if(r){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=r;return}}e.textContent=r}var Ee={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];Object.keys(Ee).forEach(function(e){we.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),Ee[r]=Ee[e]})});function he(e,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||Ee.hasOwnProperty(e)&&Ee[e]?(""+r).trim():r+"px"}function Ne(e,r){e=e.style;for(var o in r)if(r.hasOwnProperty(o)){var u=o.indexOf("--")===0,s=he(o,r[o],u);o==="float"&&(o="cssFloat"),u?e.setProperty(o,s):e[o]=s}}var He=ae({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fr(e,r){if(r){if(He[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(i(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(i(61))}if(r.style!=null&&typeof r.style!="object")throw Error(i(62))}}function zt(e,r){if(e.indexOf("-")===-1)return typeof r.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var jt=null;function Gi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ki=null,Sn=null,En=null;function ma(e){if(e=Wa(e)){if(typeof Ki!="function")throw Error(i(280));var r=e.stateNode;r&&(r=gl(r),Ki(e.stateNode,e.type,r))}}function ga(e){Sn?En?En.push(e):En=[e]:Sn=e}function wa(){if(Sn){var e=Sn,r=En;if(En=Sn=null,ma(e),r)for(e=0;e<r.length;e++)ma(r[e])}}function ba(e,r){return e(r)}function Sa(){}var Qi=!1;function Ea(e,r,o){if(Qi)return e(r,o);Qi=!0;try{return ba(e,r,o)}finally{Qi=!1,(Sn!==null||En!==null)&&(Sa(),wa())}}function kt(e,r){var o=e.stateNode;if(o===null)return null;var u=gl(o);if(u===null)return null;o=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,r,typeof o));return o}var Yi=!1;if(d)try{var Xr={};Object.defineProperty(Xr,"passive",{get:function(){Yi=!0}}),window.addEventListener("test",Xr,Xr),window.removeEventListener("test",Xr,Xr)}catch(e){Yi=!1}function $u(e,r,o,u,s,v,E,P,M){var ee=Array.prototype.slice.call(arguments,3);try{r.apply(o,ee)}catch(pe){this.onError(pe)}}var Nn=!1,ti=null,ni=!1,Zi=null,Uu={onError:function(e){Nn=!0,ti=e}};function zu(e,r,o,u,s,v,E,P,M){Nn=!1,ti=null,$u.apply(Uu,arguments)}function Iv(e,r,o,u,s,v,E,P,M){if(zu.apply(this,arguments),Nn){if(Nn){var ee=ti;Nn=!1,ti=null}else throw Error(i(198));ni||(ni=!0,Zi=ee)}}function Cn(e){var r=e,o=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(o=r.return),e=r.return;while(e)}return r.tag===3?o:null}function Wu(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function ii(e){if(Cn(e)!==e)throw Error(i(188))}function Hu(e){var r=e.alternate;if(!r){if(r=Cn(e),r===null)throw Error(i(188));return r!==e?null:e}for(var o=e,u=r;;){var s=o.return;if(s===null)break;var v=s.alternate;if(v===null){if(u=s.return,u!==null){o=u;continue}break}if(s.child===v.child){for(v=s.child;v;){if(v===o)return ii(s),e;if(v===u)return ii(s),r;v=v.sibling}throw Error(i(188))}if(o.return!==u.return)o=s,u=v;else{for(var E=!1,P=s.child;P;){if(P===o){E=!0,o=s,u=v;break}if(P===u){E=!0,u=s,o=v;break}P=P.sibling}if(!E){for(P=v.child;P;){if(P===o){E=!0,o=v,u=s;break}if(P===u){E=!0,u=v,o=s;break}P=P.sibling}if(!E)throw Error(i(189))}}if(o.alternate!==u)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:r}function Ca(e){return e=Hu(e),e!==null?_a(e):null}function _a(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=_a(e);if(r!==null)return r;e=e.sibling}return null}var Gu=n.unstable_scheduleCallback,Oa=n.unstable_cancelCallback,Ku=n.unstable_shouldYield,Qu=n.unstable_requestPaint,Pr=n.unstable_now,Rv=n.unstable_getCurrentPriorityLevel,xa=n.unstable_ImmediatePriority,Yu=n.unstable_UserBlockingPriority,oi=n.unstable_NormalPriority,Pv=n.unstable_LowPriority,Zu=n.unstable_IdlePriority,Xi=null,At=null;function Tv(e){if(At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(Xi,e,void 0,(e.current.flags&128)===128)}catch(r){}}var Ct=Math.clz32?Math.clz32:Av,jv=Math.log,kv=Math.LN2;function Av(e){return e>>>=0,e===0?32:31-(jv(e)/kv|0)|0}var Ji=64,eo=4194304;function ai(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ro(e,r){var o=e.pendingLanes;if(o===0)return 0;var u=0,s=e.suspendedLanes,v=e.pingedLanes,E=o&268435455;if(E!==0){var P=E&~s;P!==0?u=ai(P):(v&=E,v!==0&&(u=ai(v)))}else E=o&~s,E!==0?u=ai(E):v!==0&&(u=ai(v));if(u===0)return 0;if(r!==0&&r!==u&&(r&s)===0&&(s=u&-u,v=r&-r,s>=v||s===16&&(v&4194240)!==0))return r;if((u&4)!==0&&(u|=o&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=u;0<r;)o=31-Ct(r),s=1<<o,u|=e[o],r&=~s;return u}function Nv(e,r){switch(e){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dv(e,r){for(var o=e.suspendedLanes,u=e.pingedLanes,s=e.expirationTimes,v=e.pendingLanes;0<v;){var E=31-Ct(v),P=1<<E,M=s[E];M===-1?((P&o)===0||(P&u)!==0)&&(s[E]=Nv(P,r)):M<=r&&(e.expiredLanes|=P),v&=~P}}function Ia(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Xu(){var e=Ji;return Ji<<=1,(Ji&4194240)===0&&(Ji=64),e}function Ra(e){for(var r=[],o=0;31>o;o++)r.push(e);return r}function ui(e,r,o){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-Ct(r),e[r]=o}function Fv(e,r){var o=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0<o;){var s=31-Ct(o),v=1<<s;r[s]=0,u[s]=-1,e[s]=-1,o&=~v}}function Pa(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var u=31-Ct(o),s=1<<u;s&r|e[u]&r&&(e[u]|=r),o&=~s}}var sr=0;function Ju(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var el,Ta,rl,tl,nl,ja=!1,to=[],nn=null,on=null,an=null,li=new Map,si=new Map,un=[],Lv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function il(e,r){switch(e){case"focusin":case"focusout":nn=null;break;case"dragenter":case"dragleave":on=null;break;case"mouseover":case"mouseout":an=null;break;case"pointerover":case"pointerout":li.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":si.delete(r.pointerId)}}function ci(e,r,o,u,s,v){return e===null||e.nativeEvent!==v?(e={blockedOn:r,domEventName:o,eventSystemFlags:u,nativeEvent:v,targetContainers:[s]},r!==null&&(r=Wa(r),r!==null&&Ta(r)),e):(e.eventSystemFlags|=u,r=e.targetContainers,s!==null&&r.indexOf(s)===-1&&r.push(s),e)}function ol(e,r,o,u,s){switch(r){case"focusin":return nn=ci(nn,e,r,o,u,s),!0;case"dragenter":return on=ci(on,e,r,o,u,s),!0;case"mouseover":return an=ci(an,e,r,o,u,s),!0;case"pointerover":var v=s.pointerId;return li.set(v,ci(li.get(v)||null,e,r,o,u,s)),!0;case"gotpointercapture":return v=s.pointerId,si.set(v,ci(si.get(v)||null,e,r,o,u,s)),!0}return!1}function al(e){var r=fi(e.target);if(r!==null){var o=Cn(r);if(o!==null){if(r=o.tag,r===13){if(r=Wu(o),r!==null){e.blockedOn=r,nl(e.priority,function(){rl(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function W(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var o=oo(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var u=new o.constructor(o.type,o);jt=u,o.target.dispatchEvent(u),jt=null}else return r=Wa(o),r!==null&&Ta(r),e.blockedOn=o,!1;r.shift()}return!0}function I(e,r,o){W(e)&&o.delete(r)}function D(){ja=!1,nn!==null&&W(nn)&&(nn=null),on!==null&&W(on)&&(on=null),an!==null&&W(an)&&(an=null),li.forEach(I),si.forEach(I)}function ue(e,r){e.blockedOn===r&&(e.blockedOn=null,ja||(ja=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,D)))}function de(e){function r(s){return ue(s,e)}if(0<to.length){ue(to[0],e);for(var o=1;o<to.length;o++){var u=to[o];u.blockedOn===e&&(u.blockedOn=null)}}for(nn!==null&&ue(nn,e),on!==null&&ue(on,e),an!==null&&ue(an,e),li.forEach(r),si.forEach(r),o=0;o<un.length;o++)u=un[o],u.blockedOn===e&&(u.blockedOn=null);for(;0<un.length&&(o=un[0],o.blockedOn===null);)al(o),o.blockedOn===null&&un.shift()}var ze=R.ReactCurrentBatchConfig,Er=!0;function Jr(e,r,o,u){var s=sr,v=ze.transition;ze.transition=null;try{sr=1,ka(e,r,o,u)}finally{sr=s,ze.transition=v}}function no(e,r,o,u){var s=sr,v=ze.transition;ze.transition=null;try{sr=4,ka(e,r,o,u)}finally{sr=s,ze.transition=v}}function ka(e,r,o,u){if(Er){var s=oo(e,r,o,u);if(s===null)Jv(e,r,u,io,o),il(e,u);else if(ol(s,e,r,o,u))u.stopPropagation();else if(il(e,u),r&4&&-1<Lv.indexOf(e)){for(;s!==null;){var v=Wa(s);if(v!==null&&el(v),v=oo(e,r,o,u),v===null&&Jv(e,r,u,io,o),v===s)break;s=v}s!==null&&u.stopPropagation()}else Jv(e,r,u,null,o)}}var io=null;function oo(e,r,o,u){if(io=null,e=Gi(u),e=fi(e),e!==null)if(r=Cn(e),r===null)e=null;else if(o=r.tag,o===13){if(e=Wu(r),e!==null)return e;e=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null);return io=e,null}function Aa(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Rv()){case xa:return 1;case Yu:return 4;case oi:case Pv:return 16;case Zu:return 536870912;default:return 16}default:return 16}}var Wt=null,ao=null,ul=null;function Iw(){if(ul)return ul;var e,r=ao,o=r.length,u,s="value"in Wt?Wt.value:Wt.textContent,v=s.length;for(e=0;e<o&&r[e]===s[e];e++);var E=o-e;for(u=1;u<=E&&r[o-u]===s[v-u];u++);return ul=s.slice(e,1<u?1-u:void 0)}function ll(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function sl(){return!0}function Rw(){return!1}function _t(e){function r(o,u,s,v,E){this._reactName=o,this._targetInst=s,this.type=u,this.nativeEvent=v,this.target=E,this.currentTarget=null;for(var P in e)e.hasOwnProperty(P)&&(o=e[P],this[P]=o?o(v):v[P]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?sl:Rw,this.isPropagationStopped=Rw,this}return ae(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=sl)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=sl)},persist:function(){},isPersistent:sl}),r}var uo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mv=_t(uo),Na=ae({},uo,{view:0,detail:0}),gC=_t(Na),qv,Bv,Da,cl=ae({},Na,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$v,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Da&&(Da&&e.type==="mousemove"?(qv=e.screenX-Da.screenX,Bv=e.screenY-Da.screenY):Bv=qv=0,Da=e),qv)},movementY:function(e){return"movementY"in e?e.movementY:Bv}}),Pw=_t(cl),wC=ae({},cl,{dataTransfer:0}),bC=_t(wC),SC=ae({},Na,{relatedTarget:0}),Vv=_t(SC),EC=ae({},uo,{animationName:0,elapsedTime:0,pseudoElement:0}),CC=_t(EC),_C=ae({},uo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),OC=_t(_C),xC=ae({},uo,{data:0}),Tw=_t(xC),IC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},RC={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},PC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function TC(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=PC[e])?!!r[e]:!1}function $v(){return TC}var jC=ae({},Na,{key:function(e){if(e.key){var r=IC[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=ll(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?RC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$v,charCode:function(e){return e.type==="keypress"?ll(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ll(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kC=_t(jC),AC=ae({},cl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jw=_t(AC),NC=ae({},Na,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$v}),DC=_t(NC),FC=ae({},uo,{propertyName:0,elapsedTime:0,pseudoElement:0}),LC=_t(FC),MC=ae({},cl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qC=_t(MC),BC=[9,13,27,32],Uv=d&&"CompositionEvent"in window,Fa=null;d&&"documentMode"in document&&(Fa=document.documentMode);var VC=d&&"TextEvent"in window&&!Fa,kw=d&&(!Uv||Fa&&8<Fa&&11>=Fa),Aw=" ",Nw=!1;function Dw(e,r){switch(e){case"keyup":return BC.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var lo=!1;function $C(e,r){switch(e){case"compositionend":return Fw(r);case"keypress":return r.which!==32?null:(Nw=!0,Aw);case"textInput":return e=r.data,e===Aw&&Nw?null:e;default:return null}}function UC(e,r){if(lo)return e==="compositionend"||!Uv&&Dw(e,r)?(e=Iw(),ul=ao=Wt=null,lo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return kw&&r.locale!=="ko"?null:r.data;default:return null}}var zC={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Lw(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!zC[e.type]:r==="textarea"}function Mw(e,r,o,u){ga(u),r=yl(r,"onChange"),0<r.length&&(o=new Mv("onChange","change",null,o,u),e.push({event:o,listeners:r}))}var La=null,Ma=null;function WC(e){tb(e,0)}function fl(e){var r=po(e);if(lr(r))return e}function HC(e,r){if(e==="change")return r}var qw=!1;if(d){var zv;if(d){var Wv="oninput"in document;if(!Wv){var Bw=document.createElement("div");Bw.setAttribute("oninput","return;"),Wv=typeof Bw.oninput=="function"}zv=Wv}else zv=!1;qw=zv&&(!document.documentMode||9<document.documentMode)}function Vw(){La&&(La.detachEvent("onpropertychange",$w),Ma=La=null)}function $w(e){if(e.propertyName==="value"&&fl(Ma)){var r=[];Mw(r,Ma,e,Gi(e)),Ea(WC,r)}}function GC(e,r,o){e==="focusin"?(Vw(),La=r,Ma=o,La.attachEvent("onpropertychange",$w)):e==="focusout"&&Vw()}function KC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fl(Ma)}function QC(e,r){if(e==="click")return fl(r)}function YC(e,r){if(e==="input"||e==="change")return fl(r)}function ZC(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Ht=typeof Object.is=="function"?Object.is:ZC;function qa(e,r){if(Ht(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var o=Object.keys(e),u=Object.keys(r);if(o.length!==u.length)return!1;for(u=0;u<o.length;u++){var s=o[u];if(!p.call(r,s)||!Ht(e[s],r[s]))return!1}return!0}function Uw(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zw(e,r){var o=Uw(e);e=0;for(var u;o;){if(o.nodeType===3){if(u=e+o.textContent.length,e<=r&&u>=r)return{node:o,offset:r-e};e=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Uw(o)}}function Ww(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?Ww(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function Hw(){for(var e=window,r=Le();r instanceof e.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch(u){o=!1}if(o)e=r.contentWindow;else break;r=Le(e.document)}return r}function Hv(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}function XC(e){var r=Hw(),o=e.focusedElem,u=e.selectionRange;if(r!==o&&o&&o.ownerDocument&&Ww(o.ownerDocument.documentElement,o)){if(u!==null&&Hv(o)){if(r=u.start,e=u.end,e===void 0&&(e=r),"selectionStart"in o)o.selectionStart=r,o.selectionEnd=Math.min(e,o.value.length);else if(e=(r=o.ownerDocument||document)&&r.defaultView||window,e.getSelection){e=e.getSelection();var s=o.textContent.length,v=Math.min(u.start,s);u=u.end===void 0?v:Math.min(u.end,s),!e.extend&&v>u&&(s=u,u=v,v=s),s=zw(o,v);var E=zw(o,u);s&&E&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==E.node||e.focusOffset!==E.offset)&&(r=r.createRange(),r.setStart(s.node,s.offset),e.removeAllRanges(),v>u?(e.addRange(r),e.extend(E.node,E.offset)):(r.setEnd(E.node,E.offset),e.addRange(r)))}}for(r=[],e=o;e=e.parentNode;)e.nodeType===1&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<r.length;o++)e=r[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var JC=d&&"documentMode"in document&&11>=document.documentMode,so=null,Gv=null,Ba=null,Kv=!1;function Gw(e,r,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Kv||so==null||so!==Le(u)||(u=so,"selectionStart"in u&&Hv(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ba&&qa(Ba,u)||(Ba=u,u=yl(Gv,"onSelect"),0<u.length&&(r=new Mv("onSelect","select",null,r,o),e.push({event:r,listeners:u}),r.target=so)))}function dl(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var co={animationend:dl("Animation","AnimationEnd"),animationiteration:dl("Animation","AnimationIteration"),animationstart:dl("Animation","AnimationStart"),transitionend:dl("Transition","TransitionEnd")},Qv={},Kw={};d&&(Kw=document.createElement("div").style,"AnimationEvent"in window||(delete co.animationend.animation,delete co.animationiteration.animation,delete co.animationstart.animation),"TransitionEvent"in window||delete co.transitionend.transition);function vl(e){if(Qv[e])return Qv[e];if(!co[e])return e;var r=co[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in Kw)return Qv[e]=r[o];return e}var Qw=vl("animationend"),Yw=vl("animationiteration"),Zw=vl("animationstart"),Xw=vl("transitionend"),Jw=new Map,eb="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dn(e,r){Jw.set(e,r),c(r,[e])}for(var Yv=0;Yv<eb.length;Yv++){var Zv=eb[Yv],e_=Zv.toLowerCase(),r_=Zv[0].toUpperCase()+Zv.slice(1);Dn(e_,"on"+r_)}Dn(Qw,"onAnimationEnd"),Dn(Yw,"onAnimationIteration"),Dn(Zw,"onAnimationStart"),Dn("dblclick","onDoubleClick"),Dn("focusin","onFocus"),Dn("focusout","onBlur"),Dn(Xw,"onTransitionEnd"),f("onMouseEnter",["mouseout","mouseover"]),f("onMouseLeave",["mouseout","mouseover"]),f("onPointerEnter",["pointerout","pointerover"]),f("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Va="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),t_=new Set("cancel close invalid load scroll toggle".split(" ").concat(Va));function rb(e,r,o){var u=e.type||"unknown-event";e.currentTarget=o,Iv(u,r,void 0,e),e.currentTarget=null}function tb(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var u=e[o],s=u.event;u=u.listeners;e:{var v=void 0;if(r)for(var E=u.length-1;0<=E;E--){var P=u[E],M=P.instance,ee=P.currentTarget;if(P=P.listener,M!==v&&s.isPropagationStopped())break e;rb(s,P,ee),v=M}else for(E=0;E<u.length;E++){if(P=u[E],M=P.instance,ee=P.currentTarget,P=P.listener,M!==v&&s.isPropagationStopped())break e;rb(s,P,ee),v=M}}}if(ni)throw e=Zi,ni=!1,Zi=null,e}function Cr(e,r){var o=r[op];o===void 0&&(o=r[op]=new Set);var u=e+"__bubble";o.has(u)||(nb(r,e,2,!1),o.add(u))}function Xv(e,r,o){var u=0;r&&(u|=4),nb(o,e,u,r)}var pl="_reactListening"+Math.random().toString(36).slice(2);function $a(e){if(!e[pl]){e[pl]=!0,a.forEach(function(o){o!=="selectionchange"&&(t_.has(o)||Xv(o,!1,e),Xv(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[pl]||(r[pl]=!0,Xv("selectionchange",!1,r))}}function nb(e,r,o,u){switch(Aa(r)){case 1:var s=Jr;break;case 4:s=no;break;default:s=ka}o=s.bind(null,r,o,e),s=void 0,!Yi||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(s=!0),u?s!==void 0?e.addEventListener(r,o,{capture:!0,passive:s}):e.addEventListener(r,o,!0):s!==void 0?e.addEventListener(r,o,{passive:s}):e.addEventListener(r,o,!1)}function Jv(e,r,o,u,s){var v=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var E=u.tag;if(E===3||E===4){var P=u.stateNode.containerInfo;if(P===s||P.nodeType===8&&P.parentNode===s)break;if(E===4)for(E=u.return;E!==null;){var M=E.tag;if((M===3||M===4)&&(M=E.stateNode.containerInfo,M===s||M.nodeType===8&&M.parentNode===s))return;E=E.return}for(;P!==null;){if(E=fi(P),E===null)return;if(M=E.tag,M===5||M===6){u=v=E;continue e}P=P.parentNode}}u=u.return}Ea(function(){var ee=v,pe=Gi(o),ye=[];e:{var ve=Jw.get(e);if(ve!==void 0){var Oe=Mv,Te=e;switch(e){case"keypress":if(ll(o)===0)break e;case"keydown":case"keyup":Oe=kC;break;case"focusin":Te="focus",Oe=Vv;break;case"focusout":Te="blur",Oe=Vv;break;case"beforeblur":case"afterblur":Oe=Vv;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Oe=Pw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=bC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=DC;break;case Qw:case Yw:case Zw:Oe=CC;break;case Xw:Oe=LC;break;case"scroll":Oe=gC;break;case"wheel":Oe=qC;break;case"copy":case"cut":case"paste":Oe=OC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=jw}var ke=(r&4)!==0,Fr=!ke&&e==="scroll",K=ke?ve!==null?ve+"Capture":null:ve;ke=[];for(var B=ee,Q;B!==null;){Q=B;var me=Q.stateNode;if(Q.tag===5&&me!==null&&(Q=me,K!==null&&(me=kt(B,K),me!=null&&ke.push(Ua(B,me,Q)))),Fr)break;B=B.return}0<ke.length&&(ve=new Oe(ve,Te,null,o,pe),ye.push({event:ve,listeners:ke}))}}if((r&7)===0){e:{if(ve=e==="mouseover"||e==="pointerover",Oe=e==="mouseout"||e==="pointerout",ve&&o!==jt&&(Te=o.relatedTarget||o.fromElement)&&(fi(Te)||Te[_n]))break e;if((Oe||ve)&&(ve=pe.window===pe?pe:(ve=pe.ownerDocument)?ve.defaultView||ve.parentWindow:window,Oe?(Te=o.relatedTarget||o.toElement,Oe=ee,Te=Te?fi(Te):null,Te!==null&&(Fr=Cn(Te),Te!==Fr||Te.tag!==5&&Te.tag!==6)&&(Te=null)):(Oe=null,Te=ee),Oe!==Te)){if(ke=Pw,me="onMouseLeave",K="onMouseEnter",B="mouse",(e==="pointerout"||e==="pointerover")&&(ke=jw,me="onPointerLeave",K="onPointerEnter",B="pointer"),Fr=Oe==null?ve:po(Oe),Q=Te==null?ve:po(Te),ve=new ke(me,B+"leave",Oe,o,pe),ve.target=Fr,ve.relatedTarget=Q,me=null,fi(pe)===ee&&(ke=new ke(K,B+"enter",Te,o,pe),ke.target=Q,ke.relatedTarget=Fr,me=ke),Fr=me,Oe&&Te)r:{for(ke=Oe,K=Te,B=0,Q=ke;Q;Q=fo(Q))B++;for(Q=0,me=K;me;me=fo(me))Q++;for(;0<B-Q;)ke=fo(ke),B--;for(;0<Q-B;)K=fo(K),Q--;for(;B--;){if(ke===K||K!==null&&ke===K.alternate)break r;ke=fo(ke),K=fo(K)}ke=null}else ke=null;Oe!==null&&ib(ye,ve,Oe,ke,!1),Te!==null&&Fr!==null&&ib(ye,Fr,Te,ke,!0)}}e:{if(ve=ee?po(ee):window,Oe=ve.nodeName&&ve.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&ve.type==="file")var De=HC;else if(Lw(ve))if(qw)De=YC;else{De=KC;var qe=GC}else(Oe=ve.nodeName)&&Oe.toLowerCase()==="input"&&(ve.type==="checkbox"||ve.type==="radio")&&(De=QC);if(De&&(De=De(e,ee))){Mw(ye,De,o,pe);break e}qe&&qe(e,ve,ee),e==="focusout"&&(qe=ve._wrapperState)&&qe.controlled&&ve.type==="number"&&Je(ve,"number",ve.value)}switch(qe=ee?po(ee):window,e){case"focusin":(Lw(qe)||qe.contentEditable==="true")&&(so=qe,Gv=ee,Ba=null);break;case"focusout":Ba=Gv=so=null;break;case"mousedown":Kv=!0;break;case"contextmenu":case"mouseup":case"dragend":Kv=!1,Gw(ye,o,pe);break;case"selectionchange":if(JC)break;case"keydown":case"keyup":Gw(ye,o,pe)}var Be;if(Uv)e:{switch(e){case"compositionstart":var Ue="onCompositionStart";break e;case"compositionend":Ue="onCompositionEnd";break e;case"compositionupdate":Ue="onCompositionUpdate";break e}Ue=void 0}else lo?Dw(e,o)&&(Ue="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ue="onCompositionStart");Ue&&(kw&&o.locale!=="ko"&&(lo||Ue!=="onCompositionStart"?Ue==="onCompositionEnd"&&lo&&(Be=Iw()):(Wt=pe,ao="value"in Wt?Wt.value:Wt.textContent,lo=!0)),qe=yl(ee,Ue),0<qe.length&&(Ue=new Tw(Ue,e,null,o,pe),ye.push({event:Ue,listeners:qe}),Be?Ue.data=Be:(Be=Fw(o),Be!==null&&(Ue.data=Be)))),(Be=VC?$C(e,o):UC(e,o))&&(ee=yl(ee,"onBeforeInput"),0<ee.length&&(pe=new Tw("onBeforeInput","beforeinput",null,o,pe),ye.push({event:pe,listeners:ee}),pe.data=Be))}tb(ye,r)})}function Ua(e,r,o){return{instance:e,listener:r,currentTarget:o}}function yl(e,r){for(var o=r+"Capture",u=[];e!==null;){var s=e,v=s.stateNode;s.tag===5&&v!==null&&(s=v,v=kt(e,o),v!=null&&u.unshift(Ua(e,v,s)),v=kt(e,r),v!=null&&u.push(Ua(e,v,s))),e=e.return}return u}function fo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ib(e,r,o,u,s){for(var v=r._reactName,E=[];o!==null&&o!==u;){var P=o,M=P.alternate,ee=P.stateNode;if(M!==null&&M===u)break;P.tag===5&&ee!==null&&(P=ee,s?(M=kt(o,v),M!=null&&E.unshift(Ua(o,M,P))):s||(M=kt(o,v),M!=null&&E.push(Ua(o,M,P)))),o=o.return}E.length!==0&&e.push({event:r,listeners:E})}var n_=/\r\n?/g,i_=/\u0000|\uFFFD/g;function ob(e){return(typeof e=="string"?e:""+e).replace(n_,`
57
- `).replace(i_,"")}function hl(e,r,o){if(r=ob(r),ob(e)!==r&&o)throw Error(i(425))}function ml(){}var ep=null,rp=null;function tp(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var np=typeof setTimeout=="function"?setTimeout:void 0,o_=typeof clearTimeout=="function"?clearTimeout:void 0,ab=typeof Promise=="function"?Promise:void 0,a_=typeof queueMicrotask=="function"?queueMicrotask:typeof ab!="undefined"?function(e){return ab.resolve(null).then(e).catch(u_)}:np;function u_(e){setTimeout(function(){throw e})}function ip(e,r){var o=r,u=0;do{var s=o.nextSibling;if(e.removeChild(o),s&&s.nodeType===8)if(o=s.data,o==="/$"){if(u===0){e.removeChild(s),de(r);return}u--}else o!=="$"&&o!=="$?"&&o!=="$!"||u++;o=s}while(o);de(r)}function Fn(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return e}function ub(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return e;r--}else o==="/$"&&r++}e=e.previousSibling}return null}var vo=Math.random().toString(36).slice(2),ln="__reactFiber$"+vo,za="__reactProps$"+vo,_n="__reactContainer$"+vo,op="__reactEvents$"+vo,l_="__reactListeners$"+vo,s_="__reactHandles$"+vo;function fi(e){var r=e[ln];if(r)return r;for(var o=e.parentNode;o;){if(r=o[_n]||o[ln]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=ub(e);e!==null;){if(o=e[ln])return o;e=ub(e)}return r}e=o,o=e.parentNode}return null}function Wa(e){return e=e[ln]||e[_n],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function po(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function gl(e){return e[za]||null}var ap=[],yo=-1;function Ln(e){return{current:e}}function _r(e){0>yo||(e.current=ap[yo],ap[yo]=null,yo--)}function Sr(e,r){yo++,ap[yo]=e.current,e.current=r}var Mn={},et=Ln(Mn),dt=Ln(!1),di=Mn;function ho(e,r){var o=e.type.contextTypes;if(!o)return Mn;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===r)return u.__reactInternalMemoizedMaskedChildContext;var s={},v;for(v in o)s[v]=r[v];return u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=s),s}function vt(e){return e=e.childContextTypes,e!=null}function wl(){_r(dt),_r(et)}function lb(e,r,o){if(et.current!==Mn)throw Error(i(168));Sr(et,r),Sr(dt,o)}function sb(e,r,o){var u=e.stateNode;if(r=r.childContextTypes,typeof u.getChildContext!="function")return o;u=u.getChildContext();for(var s in u)if(!(s in r))throw Error(i(108,Ae(e)||"Unknown",s));return ae({},o,u)}function bl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mn,di=et.current,Sr(et,e),Sr(dt,dt.current),!0}function cb(e,r,o){var u=e.stateNode;if(!u)throw Error(i(169));o?(e=sb(e,r,di),u.__reactInternalMemoizedMergedChildContext=e,_r(dt),_r(et),Sr(et,e)):_r(dt),Sr(dt,o)}var On=null,Sl=!1,up=!1;function fb(e){On===null?On=[e]:On.push(e)}function c_(e){Sl=!0,fb(e)}function qn(){if(!up&&On!==null){up=!0;var e=0,r=sr;try{var o=On;for(sr=1;e<o.length;e++){var u=o[e];do u=u(!0);while(u!==null)}On=null,Sl=!1}catch(s){throw On!==null&&(On=On.slice(e+1)),Gu(xa,qn),s}finally{sr=r,up=!1}}return null}var mo=[],go=0,El=null,Cl=0,Nt=[],Dt=0,vi=null,xn=1,In="";function pi(e,r){mo[go++]=Cl,mo[go++]=El,El=e,Cl=r}function db(e,r,o){Nt[Dt++]=xn,Nt[Dt++]=In,Nt[Dt++]=vi,vi=e;var u=xn;e=In;var s=32-Ct(u)-1;u&=~(1<<s),o+=1;var v=32-Ct(r)+s;if(30<v){var E=s-s%5;v=(u&(1<<E)-1).toString(32),u>>=E,s-=E,xn=1<<32-Ct(r)+s|o<<s|u,In=v+e}else xn=1<<v|o<<s|u,In=e}function lp(e){e.return!==null&&(pi(e,1),db(e,1,0))}function sp(e){for(;e===El;)El=mo[--go],mo[go]=null,Cl=mo[--go],mo[go]=null;for(;e===vi;)vi=Nt[--Dt],Nt[Dt]=null,In=Nt[--Dt],Nt[Dt]=null,xn=Nt[--Dt],Nt[Dt]=null}var Ot=null,xt=null,xr=!1,Gt=null;function vb(e,r){var o=qt(5,null,null,0);o.elementType="DELETED",o.stateNode=r,o.return=e,r=e.deletions,r===null?(e.deletions=[o],e.flags|=16):r.push(o)}function pb(e,r){switch(e.tag){case 5:var o=e.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(e.stateNode=r,Ot=e,xt=Fn(r.firstChild),!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,Ot=e,xt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(o=vi!==null?{id:xn,overflow:In}:null,e.memoizedState={dehydrated:r,treeContext:o,retryLane:1073741824},o=qt(18,null,null,0),o.stateNode=r,o.return=e,e.child=o,Ot=e,xt=null,!0):!1;default:return!1}}function cp(e){return(e.mode&1)!==0&&(e.flags&128)===0}function fp(e){if(xr){var r=xt;if(r){var o=r;if(!pb(e,r)){if(cp(e))throw Error(i(418));r=Fn(o.nextSibling);var u=Ot;r&&pb(e,r)?vb(u,o):(e.flags=e.flags&-4097|2,xr=!1,Ot=e)}}else{if(cp(e))throw Error(i(418));e.flags=e.flags&-4097|2,xr=!1,Ot=e}}}function yb(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ot=e}function _l(e){if(e!==Ot)return!1;if(!xr)return yb(e),xr=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!tp(e.type,e.memoizedProps)),r&&(r=xt)){if(cp(e))throw hb(),Error(i(418));for(;r;)vb(e,r),r=Fn(r.nextSibling)}if(yb(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(r===0){xt=Fn(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}e=e.nextSibling}xt=null}}else xt=Ot?Fn(e.stateNode.nextSibling):null;return!0}function hb(){for(var e=xt;e;)e=Fn(e.nextSibling)}function wo(){xt=Ot=null,xr=!1}function dp(e){Gt===null?Gt=[e]:Gt.push(e)}var f_=R.ReactCurrentBatchConfig;function Ha(e,r,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var u=o.stateNode}if(!u)throw Error(i(147,e));var s=u,v=""+e;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===v?r.ref:(r=function(E){var P=s.refs;E===null?delete P[v]:P[v]=E},r._stringRef=v,r)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function Ol(e,r){throw e=Object.prototype.toString.call(r),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function mb(e){var r=e._init;return r(e._payload)}function gb(e){function r(K,B){if(e){var Q=K.deletions;Q===null?(K.deletions=[B],K.flags|=16):Q.push(B)}}function o(K,B){if(!e)return null;for(;B!==null;)r(K,B),B=B.sibling;return null}function u(K,B){for(K=new Map;B!==null;)B.key!==null?K.set(B.key,B):K.set(B.index,B),B=B.sibling;return K}function s(K,B){return K=Gn(K,B),K.index=0,K.sibling=null,K}function v(K,B,Q){return K.index=Q,e?(Q=K.alternate,Q!==null?(Q=Q.index,Q<B?(K.flags|=2,B):Q):(K.flags|=2,B)):(K.flags|=1048576,B)}function E(K){return e&&K.alternate===null&&(K.flags|=2),K}function P(K,B,Q,me){return B===null||B.tag!==6?(B=n1(Q,K.mode,me),B.return=K,B):(B=s(B,Q),B.return=K,B)}function M(K,B,Q,me){var De=Q.type;return De===x?pe(K,B,Q.props.children,me,Q.key):B!==null&&(B.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===oe&&mb(De)===B.type)?(me=s(B,Q.props),me.ref=Ha(K,B,Q),me.return=K,me):(me=Ql(Q.type,Q.key,Q.props,null,K.mode,me),me.ref=Ha(K,B,Q),me.return=K,me)}function ee(K,B,Q,me){return B===null||B.tag!==4||B.stateNode.containerInfo!==Q.containerInfo||B.stateNode.implementation!==Q.implementation?(B=i1(Q,K.mode,me),B.return=K,B):(B=s(B,Q.children||[]),B.return=K,B)}function pe(K,B,Q,me,De){return B===null||B.tag!==7?(B=Ei(Q,K.mode,me,De),B.return=K,B):(B=s(B,Q),B.return=K,B)}function ye(K,B,Q){if(typeof B=="string"&&B!==""||typeof B=="number")return B=n1(""+B,K.mode,Q),B.return=K,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case F:return Q=Ql(B.type,B.key,B.props,null,K.mode,Q),Q.ref=Ha(K,null,B),Q.return=K,Q;case j:return B=i1(B,K.mode,Q),B.return=K,B;case oe:var me=B._init;return ye(K,me(B._payload),Q)}if(mr(B)||z(B))return B=Ei(B,K.mode,Q,null),B.return=K,B;Ol(K,B)}return null}function ve(K,B,Q,me){var De=B!==null?B.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number")return De!==null?null:P(K,B,""+Q,me);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case F:return Q.key===De?M(K,B,Q,me):null;case j:return Q.key===De?ee(K,B,Q,me):null;case oe:return De=Q._init,ve(K,B,De(Q._payload),me)}if(mr(Q)||z(Q))return De!==null?null:pe(K,B,Q,me,null);Ol(K,Q)}return null}function Oe(K,B,Q,me,De){if(typeof me=="string"&&me!==""||typeof me=="number")return K=K.get(Q)||null,P(B,K,""+me,De);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case F:return K=K.get(me.key===null?Q:me.key)||null,M(B,K,me,De);case j:return K=K.get(me.key===null?Q:me.key)||null,ee(B,K,me,De);case oe:var qe=me._init;return Oe(K,B,Q,qe(me._payload),De)}if(mr(me)||z(me))return K=K.get(Q)||null,pe(B,K,me,De,null);Ol(B,me)}return null}function Te(K,B,Q,me){for(var De=null,qe=null,Be=B,Ue=B=0,Wr=null;Be!==null&&Ue<Q.length;Ue++){Be.index>Ue?(Wr=Be,Be=null):Wr=Be.sibling;var ar=ve(K,Be,Q[Ue],me);if(ar===null){Be===null&&(Be=Wr);break}e&&Be&&ar.alternate===null&&r(K,Be),B=v(ar,B,Ue),qe===null?De=ar:qe.sibling=ar,qe=ar,Be=Wr}if(Ue===Q.length)return o(K,Be),xr&&pi(K,Ue),De;if(Be===null){for(;Ue<Q.length;Ue++)Be=ye(K,Q[Ue],me),Be!==null&&(B=v(Be,B,Ue),qe===null?De=Be:qe.sibling=Be,qe=Be);return xr&&pi(K,Ue),De}for(Be=u(K,Be);Ue<Q.length;Ue++)Wr=Oe(Be,K,Ue,Q[Ue],me),Wr!==null&&(e&&Wr.alternate!==null&&Be.delete(Wr.key===null?Ue:Wr.key),B=v(Wr,B,Ue),qe===null?De=Wr:qe.sibling=Wr,qe=Wr);return e&&Be.forEach(function(Kn){return r(K,Kn)}),xr&&pi(K,Ue),De}function ke(K,B,Q,me){var De=z(Q);if(typeof De!="function")throw Error(i(150));if(Q=De.call(Q),Q==null)throw Error(i(151));for(var qe=De=null,Be=B,Ue=B=0,Wr=null,ar=Q.next();Be!==null&&!ar.done;Ue++,ar=Q.next()){Be.index>Ue?(Wr=Be,Be=null):Wr=Be.sibling;var Kn=ve(K,Be,ar.value,me);if(Kn===null){Be===null&&(Be=Wr);break}e&&Be&&Kn.alternate===null&&r(K,Be),B=v(Kn,B,Ue),qe===null?De=Kn:qe.sibling=Kn,qe=Kn,Be=Wr}if(ar.done)return o(K,Be),xr&&pi(K,Ue),De;if(Be===null){for(;!ar.done;Ue++,ar=Q.next())ar=ye(K,ar.value,me),ar!==null&&(B=v(ar,B,Ue),qe===null?De=ar:qe.sibling=ar,qe=ar);return xr&&pi(K,Ue),De}for(Be=u(K,Be);!ar.done;Ue++,ar=Q.next())ar=Oe(Be,K,Ue,ar.value,me),ar!==null&&(e&&ar.alternate!==null&&Be.delete(ar.key===null?Ue:ar.key),B=v(ar,B,Ue),qe===null?De=ar:qe.sibling=ar,qe=ar);return e&&Be.forEach(function(z_){return r(K,z_)}),xr&&pi(K,Ue),De}function Fr(K,B,Q,me){if(typeof Q=="object"&&Q!==null&&Q.type===x&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case F:e:{for(var De=Q.key,qe=B;qe!==null;){if(qe.key===De){if(De=Q.type,De===x){if(qe.tag===7){o(K,qe.sibling),B=s(qe,Q.props.children),B.return=K,K=B;break e}}else if(qe.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===oe&&mb(De)===qe.type){o(K,qe.sibling),B=s(qe,Q.props),B.ref=Ha(K,qe,Q),B.return=K,K=B;break e}o(K,qe);break}else r(K,qe);qe=qe.sibling}Q.type===x?(B=Ei(Q.props.children,K.mode,me,Q.key),B.return=K,K=B):(me=Ql(Q.type,Q.key,Q.props,null,K.mode,me),me.ref=Ha(K,B,Q),me.return=K,K=me)}return E(K);case j:e:{for(qe=Q.key;B!==null;){if(B.key===qe)if(B.tag===4&&B.stateNode.containerInfo===Q.containerInfo&&B.stateNode.implementation===Q.implementation){o(K,B.sibling),B=s(B,Q.children||[]),B.return=K,K=B;break e}else{o(K,B);break}else r(K,B);B=B.sibling}B=i1(Q,K.mode,me),B.return=K,K=B}return E(K);case oe:return qe=Q._init,Fr(K,B,qe(Q._payload),me)}if(mr(Q))return Te(K,B,Q,me);if(z(Q))return ke(K,B,Q,me);Ol(K,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"?(Q=""+Q,B!==null&&B.tag===6?(o(K,B.sibling),B=s(B,Q),B.return=K,K=B):(o(K,B),B=n1(Q,K.mode,me),B.return=K,K=B),E(K)):o(K,B)}return Fr}var bo=gb(!0),wb=gb(!1),xl=Ln(null),Il=null,So=null,vp=null;function pp(){vp=So=Il=null}function yp(e){var r=xl.current;_r(xl),e._currentValue=r}function hp(e,r,o){for(;e!==null;){var u=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),e===o)break;e=e.return}}function Eo(e,r){Il=e,vp=So=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(pt=!0),e.firstContext=null)}function Ft(e){var r=e._currentValue;if(vp!==e)if(e={context:e,memoizedValue:r,next:null},So===null){if(Il===null)throw Error(i(308));So=e,Il.dependencies={lanes:0,firstContext:e}}else So=So.next=e;return r}var yi=null;function mp(e){yi===null?yi=[e]:yi.push(e)}function bb(e,r,o,u){var s=r.interleaved;return s===null?(o.next=o,mp(r)):(o.next=s.next,s.next=o),r.interleaved=o,Rn(e,u)}function Rn(e,r){e.lanes|=r;var o=e.alternate;for(o!==null&&(o.lanes|=r),o=e,e=e.return;e!==null;)e.childLanes|=r,o=e.alternate,o!==null&&(o.childLanes|=r),o=e,e=e.return;return o.tag===3?o.stateNode:null}var Bn=!1;function gp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Sb(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pn(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function Vn(e,r,o){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(ir&2)!==0){var s=u.pending;return s===null?r.next=r:(r.next=s.next,s.next=r),u.pending=r,Rn(e,o)}return s=u.interleaved,s===null?(r.next=r,mp(u)):(r.next=s.next,s.next=r),u.interleaved=r,Rn(e,o)}function Rl(e,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,Pa(e,o)}}function Eb(e,r){var o=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,o===u)){var s=null,v=null;if(o=o.firstBaseUpdate,o!==null){do{var E={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};v===null?s=v=E:v=v.next=E,o=o.next}while(o!==null);v===null?s=v=r:v=v.next=r}else s=v=r;o={baseState:u.baseState,firstBaseUpdate:s,lastBaseUpdate:v,shared:u.shared,effects:u.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}function Pl(e,r,o,u){var s=e.updateQueue;Bn=!1;var v=s.firstBaseUpdate,E=s.lastBaseUpdate,P=s.shared.pending;if(P!==null){s.shared.pending=null;var M=P,ee=M.next;M.next=null,E===null?v=ee:E.next=ee,E=M;var pe=e.alternate;pe!==null&&(pe=pe.updateQueue,P=pe.lastBaseUpdate,P!==E&&(P===null?pe.firstBaseUpdate=ee:P.next=ee,pe.lastBaseUpdate=M))}if(v!==null){var ye=s.baseState;E=0,pe=ee=M=null,P=v;do{var ve=P.lane,Oe=P.eventTime;if((u&ve)===ve){pe!==null&&(pe=pe.next={eventTime:Oe,lane:0,tag:P.tag,payload:P.payload,callback:P.callback,next:null});e:{var Te=e,ke=P;switch(ve=r,Oe=o,ke.tag){case 1:if(Te=ke.payload,typeof Te=="function"){ye=Te.call(Oe,ye,ve);break e}ye=Te;break e;case 3:Te.flags=Te.flags&-65537|128;case 0:if(Te=ke.payload,ve=typeof Te=="function"?Te.call(Oe,ye,ve):Te,ve==null)break e;ye=ae({},ye,ve);break e;case 2:Bn=!0}}P.callback!==null&&P.lane!==0&&(e.flags|=64,ve=s.effects,ve===null?s.effects=[P]:ve.push(P))}else Oe={eventTime:Oe,lane:ve,tag:P.tag,payload:P.payload,callback:P.callback,next:null},pe===null?(ee=pe=Oe,M=ye):pe=pe.next=Oe,E|=ve;if(P=P.next,P===null){if(P=s.shared.pending,P===null)break;ve=P,P=ve.next,ve.next=null,s.lastBaseUpdate=ve,s.shared.pending=null}}while(!0);if(pe===null&&(M=ye),s.baseState=M,s.firstBaseUpdate=ee,s.lastBaseUpdate=pe,r=s.shared.interleaved,r!==null){s=r;do E|=s.lane,s=s.next;while(s!==r)}else v===null&&(s.shared.lanes=0);gi|=E,e.lanes=E,e.memoizedState=ye}}function Cb(e,r,o){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var u=e[r],s=u.callback;if(s!==null){if(u.callback=null,u=o,typeof s!="function")throw Error(i(191,s));s.call(u)}}}var Ga={},sn=Ln(Ga),Ka=Ln(Ga),Qa=Ln(Ga);function hi(e){if(e===Ga)throw Error(i(174));return e}function wp(e,r){switch(Sr(Qa,r),Sr(Ka,e),Sr(sn,Ga),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:X(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=X(r,e)}_r(sn),Sr(sn,r)}function Co(){_r(sn),_r(Ka),_r(Qa)}function _b(e){hi(Qa.current);var r=hi(sn.current),o=X(r,e.type);r!==o&&(Sr(Ka,e),Sr(sn,o))}function bp(e){Ka.current===e&&(_r(sn),_r(Ka))}var Tr=Ln(0);function Tl(e){for(var r=e;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Sp=[];function Ep(){for(var e=0;e<Sp.length;e++)Sp[e]._workInProgressVersionPrimary=null;Sp.length=0}var jl=R.ReactCurrentDispatcher,Cp=R.ReactCurrentBatchConfig,mi=0,jr=null,Vr=null,Ur=null,kl=!1,Ya=!1,Za=0,d_=0;function rt(){throw Error(i(321))}function _p(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!Ht(e[o],r[o]))return!1;return!0}function Op(e,r,o,u,s,v){if(mi=v,jr=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,jl.current=e===null||e.memoizedState===null?h_:m_,e=o(u,s),Ya){v=0;do{if(Ya=!1,Za=0,25<=v)throw Error(i(301));v+=1,Ur=Vr=null,r.updateQueue=null,jl.current=g_,e=o(u,s)}while(Ya)}if(jl.current=Dl,r=Vr!==null&&Vr.next!==null,mi=0,Ur=Vr=jr=null,kl=!1,r)throw Error(i(300));return e}function xp(){var e=Za!==0;return Za=0,e}function cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ur===null?jr.memoizedState=Ur=e:Ur=Ur.next=e,Ur}function Lt(){if(Vr===null){var e=jr.alternate;e=e!==null?e.memoizedState:null}else e=Vr.next;var r=Ur===null?jr.memoizedState:Ur.next;if(r!==null)Ur=r,Vr=e;else{if(e===null)throw Error(i(310));Vr=e,e={memoizedState:Vr.memoizedState,baseState:Vr.baseState,baseQueue:Vr.baseQueue,queue:Vr.queue,next:null},Ur===null?jr.memoizedState=Ur=e:Ur=Ur.next=e}return Ur}function Xa(e,r){return typeof r=="function"?r(e):r}function Ip(e){var r=Lt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var u=Vr,s=u.baseQueue,v=o.pending;if(v!==null){if(s!==null){var E=s.next;s.next=v.next,v.next=E}u.baseQueue=s=v,o.pending=null}if(s!==null){v=s.next,u=u.baseState;var P=E=null,M=null,ee=v;do{var pe=ee.lane;if((mi&pe)===pe)M!==null&&(M=M.next={lane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),u=ee.hasEagerState?ee.eagerState:e(u,ee.action);else{var ye={lane:pe,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null};M===null?(P=M=ye,E=u):M=M.next=ye,jr.lanes|=pe,gi|=pe}ee=ee.next}while(ee!==null&&ee!==v);M===null?E=u:M.next=P,Ht(u,r.memoizedState)||(pt=!0),r.memoizedState=u,r.baseState=E,r.baseQueue=M,o.lastRenderedState=u}if(e=o.interleaved,e!==null){s=e;do v=s.lane,jr.lanes|=v,gi|=v,s=s.next;while(s!==e)}else s===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function Rp(e){var r=Lt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var u=o.dispatch,s=o.pending,v=r.memoizedState;if(s!==null){o.pending=null;var E=s=s.next;do v=e(v,E.action),E=E.next;while(E!==s);Ht(v,r.memoizedState)||(pt=!0),r.memoizedState=v,r.baseQueue===null&&(r.baseState=v),o.lastRenderedState=v}return[v,u]}function Ob(){}function xb(e,r){var o=jr,u=Lt(),s=r(),v=!Ht(u.memoizedState,s);if(v&&(u.memoizedState=s,pt=!0),u=u.queue,Pp(Pb.bind(null,o,u,e),[e]),u.getSnapshot!==r||v||Ur!==null&&Ur.memoizedState.tag&1){if(o.flags|=2048,Ja(9,Rb.bind(null,o,u,s,r),void 0,null),zr===null)throw Error(i(349));(mi&30)!==0||Ib(o,r,s)}return s}function Ib(e,r,o){e.flags|=16384,e={getSnapshot:r,value:o},r=jr.updateQueue,r===null?(r={lastEffect:null,stores:null},jr.updateQueue=r,r.stores=[e]):(o=r.stores,o===null?r.stores=[e]:o.push(e))}function Rb(e,r,o,u){r.value=o,r.getSnapshot=u,Tb(r)&&jb(e)}function Pb(e,r,o){return o(function(){Tb(r)&&jb(e)})}function Tb(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!Ht(e,o)}catch(u){return!0}}function jb(e){var r=Rn(e,1);r!==null&&Zt(r,e,1,-1)}function kb(e){var r=cn();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xa,lastRenderedState:e},r.queue=e,e=e.dispatch=y_.bind(null,jr,e),[r.memoizedState,e]}function Ja(e,r,o,u){return e={tag:e,create:r,destroy:o,deps:u,next:null},r=jr.updateQueue,r===null?(r={lastEffect:null,stores:null},jr.updateQueue=r,r.lastEffect=e.next=e):(o=r.lastEffect,o===null?r.lastEffect=e.next=e:(u=o.next,o.next=e,e.next=u,r.lastEffect=e)),e}function Ab(){return Lt().memoizedState}function Al(e,r,o,u){var s=cn();jr.flags|=e,s.memoizedState=Ja(1|r,o,void 0,u===void 0?null:u)}function Nl(e,r,o,u){var s=Lt();u=u===void 0?null:u;var v=void 0;if(Vr!==null){var E=Vr.memoizedState;if(v=E.destroy,u!==null&&_p(u,E.deps)){s.memoizedState=Ja(r,o,v,u);return}}jr.flags|=e,s.memoizedState=Ja(1|r,o,v,u)}function Nb(e,r){return Al(8390656,8,e,r)}function Pp(e,r){return Nl(2048,8,e,r)}function Db(e,r){return Nl(4,2,e,r)}function Fb(e,r){return Nl(4,4,e,r)}function Lb(e,r){if(typeof r=="function")return e=e(),r(e),function(){r(null)};if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function Mb(e,r,o){return o=o!=null?o.concat([e]):null,Nl(4,4,Lb.bind(null,r,e),o)}function Tp(){}function qb(e,r){var o=Lt();r=r===void 0?null:r;var u=o.memoizedState;return u!==null&&r!==null&&_p(r,u[1])?u[0]:(o.memoizedState=[e,r],e)}function Bb(e,r){var o=Lt();r=r===void 0?null:r;var u=o.memoizedState;return u!==null&&r!==null&&_p(r,u[1])?u[0]:(e=e(),o.memoizedState=[e,r],e)}function Vb(e,r,o){return(mi&21)===0?(e.baseState&&(e.baseState=!1,pt=!0),e.memoizedState=o):(Ht(o,r)||(o=Xu(),jr.lanes|=o,gi|=o,e.baseState=!0),r)}function v_(e,r){var o=sr;sr=o!==0&&4>o?o:4,e(!0);var u=Cp.transition;Cp.transition={};try{e(!1),r()}finally{sr=o,Cp.transition=u}}function $b(){return Lt().memoizedState}function p_(e,r,o){var u=Wn(e);if(o={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null},Ub(e))zb(r,o);else if(o=bb(e,r,o,u),o!==null){var s=ct();Zt(o,e,u,s),Wb(o,r,u)}}function y_(e,r,o){var u=Wn(e),s={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null};if(Ub(e))zb(r,s);else{var v=e.alternate;if(e.lanes===0&&(v===null||v.lanes===0)&&(v=r.lastRenderedReducer,v!==null))try{var E=r.lastRenderedState,P=v(E,o);if(s.hasEagerState=!0,s.eagerState=P,Ht(P,E)){var M=r.interleaved;M===null?(s.next=s,mp(r)):(s.next=M.next,M.next=s),r.interleaved=s;return}}catch(ee){}finally{}o=bb(e,r,s,u),o!==null&&(s=ct(),Zt(o,e,u,s),Wb(o,r,u))}}function Ub(e){var r=e.alternate;return e===jr||r!==null&&r===jr}function zb(e,r){Ya=kl=!0;var o=e.pending;o===null?r.next=r:(r.next=o.next,o.next=r),e.pending=r}function Wb(e,r,o){if((o&4194240)!==0){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,Pa(e,o)}}var Dl={readContext:Ft,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useInsertionEffect:rt,useLayoutEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useMutableSource:rt,useSyncExternalStore:rt,useId:rt,unstable_isNewReconciler:!1},h_={readContext:Ft,useCallback:function(e,r){return cn().memoizedState=[e,r===void 0?null:r],e},useContext:Ft,useEffect:Nb,useImperativeHandle:function(e,r,o){return o=o!=null?o.concat([e]):null,Al(4194308,4,Lb.bind(null,r,e),o)},useLayoutEffect:function(e,r){return Al(4194308,4,e,r)},useInsertionEffect:function(e,r){return Al(4,2,e,r)},useMemo:function(e,r){var o=cn();return r=r===void 0?null:r,e=e(),o.memoizedState=[e,r],e},useReducer:function(e,r,o){var u=cn();return r=o!==void 0?o(r):r,u.memoizedState=u.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},u.queue=e,e=e.dispatch=p_.bind(null,jr,e),[u.memoizedState,e]},useRef:function(e){var r=cn();return e={current:e},r.memoizedState=e},useState:kb,useDebugValue:Tp,useDeferredValue:function(e){return cn().memoizedState=e},useTransition:function(){var e=kb(!1),r=e[0];return e=v_.bind(null,e[1]),cn().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,o){var u=jr,s=cn();if(xr){if(o===void 0)throw Error(i(407));o=o()}else{if(o=r(),zr===null)throw Error(i(349));(mi&30)!==0||Ib(u,r,o)}s.memoizedState=o;var v={value:o,getSnapshot:r};return s.queue=v,Nb(Pb.bind(null,u,v,e),[e]),u.flags|=2048,Ja(9,Rb.bind(null,u,v,o,r),void 0,null),o},useId:function(){var e=cn(),r=zr.identifierPrefix;if(xr){var o=In,u=xn;o=(u&~(1<<32-Ct(u)-1)).toString(32)+o,r=":"+r+"R"+o,o=Za++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=d_++,r=":"+r+"r"+o.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},m_={readContext:Ft,useCallback:qb,useContext:Ft,useEffect:Pp,useImperativeHandle:Mb,useInsertionEffect:Db,useLayoutEffect:Fb,useMemo:Bb,useReducer:Ip,useRef:Ab,useState:function(){return Ip(Xa)},useDebugValue:Tp,useDeferredValue:function(e){var r=Lt();return Vb(r,Vr.memoizedState,e)},useTransition:function(){var e=Ip(Xa)[0],r=Lt().memoizedState;return[e,r]},useMutableSource:Ob,useSyncExternalStore:xb,useId:$b,unstable_isNewReconciler:!1},g_={readContext:Ft,useCallback:qb,useContext:Ft,useEffect:Pp,useImperativeHandle:Mb,useInsertionEffect:Db,useLayoutEffect:Fb,useMemo:Bb,useReducer:Rp,useRef:Ab,useState:function(){return Rp(Xa)},useDebugValue:Tp,useDeferredValue:function(e){var r=Lt();return Vr===null?r.memoizedState=e:Vb(r,Vr.memoizedState,e)},useTransition:function(){var e=Rp(Xa)[0],r=Lt().memoizedState;return[e,r]},useMutableSource:Ob,useSyncExternalStore:xb,useId:$b,unstable_isNewReconciler:!1};function Kt(e,r){if(e&&e.defaultProps){r=ae({},r),e=e.defaultProps;for(var o in e)r[o]===void 0&&(r[o]=e[o]);return r}return r}function jp(e,r,o,u){r=e.memoizedState,o=o(u,r),o=o==null?r:ae({},r,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Fl={isMounted:function(e){return(e=e._reactInternals)?Cn(e)===e:!1},enqueueSetState:function(e,r,o){e=e._reactInternals;var u=ct(),s=Wn(e),v=Pn(u,s);v.payload=r,o!=null&&(v.callback=o),r=Vn(e,v,s),r!==null&&(Zt(r,e,s,u),Rl(r,e,s))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var u=ct(),s=Wn(e),v=Pn(u,s);v.tag=1,v.payload=r,o!=null&&(v.callback=o),r=Vn(e,v,s),r!==null&&(Zt(r,e,s,u),Rl(r,e,s))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=ct(),u=Wn(e),s=Pn(o,u);s.tag=2,r!=null&&(s.callback=r),r=Vn(e,s,u),r!==null&&(Zt(r,e,u,o),Rl(r,e,u))}};function Hb(e,r,o,u,s,v,E){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,v,E):r.prototype&&r.prototype.isPureReactComponent?!qa(o,u)||!qa(s,v):!0}function Gb(e,r,o){var u=!1,s=Mn,v=r.contextType;return typeof v=="object"&&v!==null?v=Ft(v):(s=vt(r)?di:et.current,u=r.contextTypes,v=(u=u!=null)?ho(e,s):Mn),r=new r(o,v),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Fl,e.stateNode=r,r._reactInternals=e,u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=v),r}function Kb(e,r,o,u){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,u),r.state!==e&&Fl.enqueueReplaceState(r,r.state,null)}function kp(e,r,o,u){var s=e.stateNode;s.props=o,s.state=e.memoizedState,s.refs={},gp(e);var v=r.contextType;typeof v=="object"&&v!==null?s.context=Ft(v):(v=vt(r)?di:et.current,s.context=ho(e,v)),s.state=e.memoizedState,v=r.getDerivedStateFromProps,typeof v=="function"&&(jp(e,r,v,o),s.state=e.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(r=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),r!==s.state&&Fl.enqueueReplaceState(s,s.state,null),Pl(e,o,s,u),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function _o(e,r){try{var o="",u=r;do o+=fe(u),u=u.return;while(u);var s=o}catch(v){s=`
58
- Error generating stack: `+v.message+`
59
- `+v.stack}return{value:e,source:r,stack:s,digest:null}}function Ap(e,r,o){return{value:e,source:null,stack:o!=null?o:null,digest:r!=null?r:null}}function Np(e,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var w_=typeof WeakMap=="function"?WeakMap:Map;function Qb(e,r,o){o=Pn(-1,o),o.tag=3,o.payload={element:null};var u=r.value;return o.callback=function(){Ul||(Ul=!0,Qp=u),Np(e,r)},o}function Yb(e,r,o){o=Pn(-1,o),o.tag=3;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var s=r.value;o.payload=function(){return u(s)},o.callback=function(){Np(e,r)}}var v=e.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(o.callback=function(){Np(e,r),typeof u!="function"&&(Un===null?Un=new Set([this]):Un.add(this));var E=r.stack;this.componentDidCatch(r.value,{componentStack:E!==null?E:""})}),o}function Zb(e,r,o){var u=e.pingCache;if(u===null){u=e.pingCache=new w_;var s=new Set;u.set(r,s)}else s=u.get(r),s===void 0&&(s=new Set,u.set(r,s));s.has(o)||(s.add(o),e=A_.bind(null,e,r,o),r.then(e,e))}function Xb(e){do{var r;if((r=e.tag===13)&&(r=e.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return e;e=e.return}while(e!==null);return null}function Jb(e,r,o,u,s){return(e.mode&1)===0?(e===r?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(r=Pn(-1,1),r.tag=2,Vn(o,r,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=s,e)}var b_=R.ReactCurrentOwner,pt=!1;function st(e,r,o,u){r.child=e===null?wb(r,null,o,u):bo(r,e.child,o,u)}function eS(e,r,o,u,s){o=o.render;var v=r.ref;return Eo(r,s),u=Op(e,r,o,u,v,s),o=xp(),e!==null&&!pt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~s,Tn(e,r,s)):(xr&&o&&lp(r),r.flags|=1,st(e,r,u,s),r.child)}function rS(e,r,o,u,s){if(e===null){var v=o.type;return typeof v=="function"&&!t1(v)&&v.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=v,tS(e,r,v,u,s)):(e=Ql(o.type,null,u,r,r.mode,s),e.ref=r.ref,e.return=r,r.child=e)}if(v=e.child,(e.lanes&s)===0){var E=v.memoizedProps;if(o=o.compare,o=o!==null?o:qa,o(E,u)&&e.ref===r.ref)return Tn(e,r,s)}return r.flags|=1,e=Gn(v,u),e.ref=r.ref,e.return=r,r.child=e}function tS(e,r,o,u,s){if(e!==null){var v=e.memoizedProps;if(qa(v,u)&&e.ref===r.ref)if(pt=!1,r.pendingProps=u=v,(e.lanes&s)!==0)(e.flags&131072)!==0&&(pt=!0);else return r.lanes=e.lanes,Tn(e,r,s)}return Dp(e,r,o,u,s)}function nS(e,r,o){var u=r.pendingProps,s=u.children,v=e!==null?e.memoizedState:null;if(u.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Sr(xo,It),It|=o;else{if((o&1073741824)===0)return e=v!==null?v.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:e,cachePool:null,transitions:null},r.updateQueue=null,Sr(xo,It),It|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=v!==null?v.baseLanes:o,Sr(xo,It),It|=u}else v!==null?(u=v.baseLanes|o,r.memoizedState=null):u=o,Sr(xo,It),It|=u;return st(e,r,s,o),r.child}function iS(e,r){var o=r.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function Dp(e,r,o,u,s){var v=vt(o)?di:et.current;return v=ho(r,v),Eo(r,s),o=Op(e,r,o,u,v,s),u=xp(),e!==null&&!pt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~s,Tn(e,r,s)):(xr&&u&&lp(r),r.flags|=1,st(e,r,o,s),r.child)}function oS(e,r,o,u,s){if(vt(o)){var v=!0;bl(r)}else v=!1;if(Eo(r,s),r.stateNode===null)Ml(e,r),Gb(r,o,u),kp(r,o,u,s),u=!0;else if(e===null){var E=r.stateNode,P=r.memoizedProps;E.props=P;var M=E.context,ee=o.contextType;typeof ee=="object"&&ee!==null?ee=Ft(ee):(ee=vt(o)?di:et.current,ee=ho(r,ee));var pe=o.getDerivedStateFromProps,ye=typeof pe=="function"||typeof E.getSnapshotBeforeUpdate=="function";ye||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(P!==u||M!==ee)&&Kb(r,E,u,ee),Bn=!1;var ve=r.memoizedState;E.state=ve,Pl(r,u,E,s),M=r.memoizedState,P!==u||ve!==M||dt.current||Bn?(typeof pe=="function"&&(jp(r,o,pe,u),M=r.memoizedState),(P=Bn||Hb(r,o,P,u,ve,M,ee))?(ye||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(r.flags|=4194308)):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=M),E.props=u,E.state=M,E.context=ee,u=P):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{E=r.stateNode,Sb(e,r),P=r.memoizedProps,ee=r.type===r.elementType?P:Kt(r.type,P),E.props=ee,ye=r.pendingProps,ve=E.context,M=o.contextType,typeof M=="object"&&M!==null?M=Ft(M):(M=vt(o)?di:et.current,M=ho(r,M));var Oe=o.getDerivedStateFromProps;(pe=typeof Oe=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(P!==ye||ve!==M)&&Kb(r,E,u,M),Bn=!1,ve=r.memoizedState,E.state=ve,Pl(r,u,E,s);var Te=r.memoizedState;P!==ye||ve!==Te||dt.current||Bn?(typeof Oe=="function"&&(jp(r,o,Oe,u),Te=r.memoizedState),(ee=Bn||Hb(r,o,ee,u,ve,Te,M)||!1)?(pe||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(u,Te,M),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(u,Te,M)),typeof E.componentDidUpdate=="function"&&(r.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof E.componentDidUpdate!="function"||P===e.memoizedProps&&ve===e.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||P===e.memoizedProps&&ve===e.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=Te),E.props=u,E.state=Te,E.context=M,u=ee):(typeof E.componentDidUpdate!="function"||P===e.memoizedProps&&ve===e.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||P===e.memoizedProps&&ve===e.memoizedState||(r.flags|=1024),u=!1)}return Fp(e,r,o,u,v,s)}function Fp(e,r,o,u,s,v){iS(e,r);var E=(r.flags&128)!==0;if(!u&&!E)return s&&cb(r,o,!1),Tn(e,r,v);u=r.stateNode,b_.current=r;var P=E&&typeof o.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,e!==null&&E?(r.child=bo(r,e.child,null,v),r.child=bo(r,null,P,v)):st(e,r,P,v),r.memoizedState=u.state,s&&cb(r,o,!0),r.child}function aS(e){var r=e.stateNode;r.pendingContext?lb(e,r.pendingContext,r.pendingContext!==r.context):r.context&&lb(e,r.context,!1),wp(e,r.containerInfo)}function uS(e,r,o,u,s){return wo(),dp(s),r.flags|=256,st(e,r,o,u),r.child}var Lp={dehydrated:null,treeContext:null,retryLane:0};function Mp(e){return{baseLanes:e,cachePool:null,transitions:null}}function lS(e,r,o){var u=r.pendingProps,s=Tr.current,v=!1,E=(r.flags&128)!==0,P;if((P=E)||(P=e!==null&&e.memoizedState===null?!1:(s&2)!==0),P?(v=!0,r.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Sr(Tr,s&1),e===null)return fp(r),e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((r.mode&1)===0?r.lanes=1:e.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(E=u.children,e=u.fallback,v?(u=r.mode,v=r.child,E={mode:"hidden",children:E},(u&1)===0&&v!==null?(v.childLanes=0,v.pendingProps=E):v=Yl(E,u,0,null),e=Ei(e,u,o,null),v.return=r,e.return=r,v.sibling=e,r.child=v,r.child.memoizedState=Mp(o),r.memoizedState=Lp,e):qp(r,E));if(s=e.memoizedState,s!==null&&(P=s.dehydrated,P!==null))return S_(e,r,E,u,P,s,o);if(v){v=u.fallback,E=r.mode,s=e.child,P=s.sibling;var M={mode:"hidden",children:u.children};return(E&1)===0&&r.child!==s?(u=r.child,u.childLanes=0,u.pendingProps=M,r.deletions=null):(u=Gn(s,M),u.subtreeFlags=s.subtreeFlags&14680064),P!==null?v=Gn(P,v):(v=Ei(v,E,o,null),v.flags|=2),v.return=r,u.return=r,u.sibling=v,r.child=u,u=v,v=r.child,E=e.child.memoizedState,E=E===null?Mp(o):{baseLanes:E.baseLanes|o,cachePool:null,transitions:E.transitions},v.memoizedState=E,v.childLanes=e.childLanes&~o,r.memoizedState=Lp,u}return v=e.child,e=v.sibling,u=Gn(v,{mode:"visible",children:u.children}),(r.mode&1)===0&&(u.lanes=o),u.return=r,u.sibling=null,e!==null&&(o=r.deletions,o===null?(r.deletions=[e],r.flags|=16):o.push(e)),r.child=u,r.memoizedState=null,u}function qp(e,r){return r=Yl({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function Ll(e,r,o,u){return u!==null&&dp(u),bo(r,e.child,null,o),e=qp(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function S_(e,r,o,u,s,v,E){if(o)return r.flags&256?(r.flags&=-257,u=Ap(Error(i(422))),Ll(e,r,E,u)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(v=u.fallback,s=r.mode,u=Yl({mode:"visible",children:u.children},s,0,null),v=Ei(v,s,E,null),v.flags|=2,u.return=r,v.return=r,u.sibling=v,r.child=u,(r.mode&1)!==0&&bo(r,e.child,null,E),r.child.memoizedState=Mp(E),r.memoizedState=Lp,v);if((r.mode&1)===0)return Ll(e,r,E,null);if(s.data==="$!"){if(u=s.nextSibling&&s.nextSibling.dataset,u)var P=u.dgst;return u=P,v=Error(i(419)),u=Ap(v,u,void 0),Ll(e,r,E,u)}if(P=(E&e.childLanes)!==0,pt||P){if(u=zr,u!==null){switch(E&-E){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=(s&(u.suspendedLanes|E))!==0?0:s,s!==0&&s!==v.retryLane&&(v.retryLane=s,Rn(e,s),Zt(u,e,s,-1))}return r1(),u=Ap(Error(i(421))),Ll(e,r,E,u)}return s.data==="$?"?(r.flags|=128,r.child=e.child,r=N_.bind(null,e),s._reactRetry=r,null):(e=v.treeContext,xt=Fn(s.nextSibling),Ot=r,xr=!0,Gt=null,e!==null&&(Nt[Dt++]=xn,Nt[Dt++]=In,Nt[Dt++]=vi,xn=e.id,In=e.overflow,vi=r),r=qp(r,u.children),r.flags|=4096,r)}function sS(e,r,o){e.lanes|=r;var u=e.alternate;u!==null&&(u.lanes|=r),hp(e.return,r,o)}function Bp(e,r,o,u,s){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:s}:(v.isBackwards=r,v.rendering=null,v.renderingStartTime=0,v.last=u,v.tail=o,v.tailMode=s)}function cS(e,r,o){var u=r.pendingProps,s=u.revealOrder,v=u.tail;if(st(e,r,u.children,o),u=Tr.current,(u&2)!==0)u=u&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sS(e,o,r);else if(e.tag===19)sS(e,o,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(Sr(Tr,u),(r.mode&1)===0)r.memoizedState=null;else switch(s){case"forwards":for(o=r.child,s=null;o!==null;)e=o.alternate,e!==null&&Tl(e)===null&&(s=o),o=o.sibling;o=s,o===null?(s=r.child,r.child=null):(s=o.sibling,o.sibling=null),Bp(r,!1,s,o,v);break;case"backwards":for(o=null,s=r.child,r.child=null;s!==null;){if(e=s.alternate,e!==null&&Tl(e)===null){r.child=s;break}e=s.sibling,s.sibling=o,o=s,s=e}Bp(r,!0,o,null,v);break;case"together":Bp(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Ml(e,r){(r.mode&1)===0&&e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2)}function Tn(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),gi|=r.lanes,(o&r.childLanes)===0)return null;if(e!==null&&r.child!==e.child)throw Error(i(153));if(r.child!==null){for(e=r.child,o=Gn(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=Gn(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}function E_(e,r,o){switch(r.tag){case 3:aS(r),wo();break;case 5:_b(r);break;case 1:vt(r.type)&&bl(r);break;case 4:wp(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,s=r.memoizedProps.value;Sr(xl,u._currentValue),u._currentValue=s;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(Sr(Tr,Tr.current&1),r.flags|=128,null):(o&r.child.childLanes)!==0?lS(e,r,o):(Sr(Tr,Tr.current&1),e=Tn(e,r,o),e!==null?e.sibling:null);Sr(Tr,Tr.current&1);break;case 19:if(u=(o&r.childLanes)!==0,(e.flags&128)!==0){if(u)return cS(e,r,o);r.flags|=128}if(s=r.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Sr(Tr,Tr.current),u)break;return null;case 22:case 23:return r.lanes=0,nS(e,r,o)}return Tn(e,r,o)}var fS,Vp,dS,vS;fS=function(e,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Vp=function(){},dS=function(e,r,o,u){var s=e.memoizedProps;if(s!==u){e=r.stateNode,hi(sn.current);var v=null;switch(o){case"input":s=Ve(e,s),u=Ve(e,u),v=[];break;case"select":s=ae({},s,{value:void 0}),u=ae({},u,{value:void 0}),v=[];break;case"textarea":s=A(e,s),u=A(e,u),v=[];break;default:typeof s.onClick!="function"&&typeof u.onClick=="function"&&(e.onclick=ml)}fr(o,u);var E;o=null;for(ee in s)if(!u.hasOwnProperty(ee)&&s.hasOwnProperty(ee)&&s[ee]!=null)if(ee==="style"){var P=s[ee];for(E in P)P.hasOwnProperty(E)&&(o||(o={}),o[E]="")}else ee!=="dangerouslySetInnerHTML"&&ee!=="children"&&ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&ee!=="autoFocus"&&(l.hasOwnProperty(ee)?v||(v=[]):(v=v||[]).push(ee,null));for(ee in u){var M=u[ee];if(P=s!=null?s[ee]:void 0,u.hasOwnProperty(ee)&&M!==P&&(M!=null||P!=null))if(ee==="style")if(P){for(E in P)!P.hasOwnProperty(E)||M&&M.hasOwnProperty(E)||(o||(o={}),o[E]="");for(E in M)M.hasOwnProperty(E)&&P[E]!==M[E]&&(o||(o={}),o[E]=M[E])}else o||(v||(v=[]),v.push(ee,o)),o=M;else ee==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,P=P?P.__html:void 0,M!=null&&P!==M&&(v=v||[]).push(ee,M)):ee==="children"?typeof M!="string"&&typeof M!="number"||(v=v||[]).push(ee,""+M):ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&(l.hasOwnProperty(ee)?(M!=null&&ee==="onScroll"&&Cr("scroll",e),v||P===M||(v=[])):(v=v||[]).push(ee,M))}o&&(v=v||[]).push("style",o);var ee=v;(r.updateQueue=ee)&&(r.flags|=4)}},vS=function(e,r,o,u){o!==u&&(r.flags|=4)};function eu(e,r){if(!xr)switch(e.tailMode){case"hidden":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function tt(e){var r=e.alternate!==null&&e.alternate.child===e.child,o=0,u=0;if(r)for(var s=e.child;s!==null;)o|=s.lanes|s.childLanes,u|=s.subtreeFlags&14680064,u|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)o|=s.lanes|s.childLanes,u|=s.subtreeFlags,u|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=u,e.childLanes=o,r}function C_(e,r,o){var u=r.pendingProps;switch(sp(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tt(r),null;case 1:return vt(r.type)&&wl(),tt(r),null;case 3:return u=r.stateNode,Co(),_r(dt),_r(et),Ep(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(e===null||e.child===null)&&(_l(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Gt!==null&&(Xp(Gt),Gt=null))),Vp(e,r),tt(r),null;case 5:bp(r);var s=hi(Qa.current);if(o=r.type,e!==null&&r.stateNode!=null)dS(e,r,o,u,s),e.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(i(166));return tt(r),null}if(e=hi(sn.current),_l(r)){u=r.stateNode,o=r.type;var v=r.memoizedProps;switch(u[ln]=r,u[za]=v,e=(r.mode&1)!==0,o){case"dialog":Cr("cancel",u),Cr("close",u);break;case"iframe":case"object":case"embed":Cr("load",u);break;case"video":case"audio":for(s=0;s<Va.length;s++)Cr(Va[s],u);break;case"source":Cr("error",u);break;case"img":case"image":case"link":Cr("error",u),Cr("load",u);break;case"details":Cr("toggle",u);break;case"input":Ke(u,v),Cr("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!v.multiple},Cr("invalid",u);break;case"textarea":V(u,v),Cr("invalid",u)}fr(o,v),s=null;for(var E in v)if(v.hasOwnProperty(E)){var P=v[E];E==="children"?typeof P=="string"?u.textContent!==P&&(v.suppressHydrationWarning!==!0&&hl(u.textContent,P,e),s=["children",P]):typeof P=="number"&&u.textContent!==""+P&&(v.suppressHydrationWarning!==!0&&hl(u.textContent,P,e),s=["children",""+P]):l.hasOwnProperty(E)&&P!=null&&E==="onScroll"&&Cr("scroll",u)}switch(o){case"input":nr(u),$e(u,v,!0);break;case"textarea":nr(u),se(u);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(u.onclick=ml)}u=s,r.updateQueue=u,u!==null&&(r.flags|=4)}else{E=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ne(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=E.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof u.is=="string"?e=E.createElement(o,{is:u.is}):(e=E.createElement(o),o==="select"&&(E=e,u.multiple?E.multiple=!0:u.size&&(E.size=u.size))):e=E.createElementNS(e,o),e[ln]=r,e[za]=u,fS(e,r,!1,!1),r.stateNode=e;e:{switch(E=zt(o,u),o){case"dialog":Cr("cancel",e),Cr("close",e),s=u;break;case"iframe":case"object":case"embed":Cr("load",e),s=u;break;case"video":case"audio":for(s=0;s<Va.length;s++)Cr(Va[s],e);s=u;break;case"source":Cr("error",e),s=u;break;case"img":case"image":case"link":Cr("error",e),Cr("load",e),s=u;break;case"details":Cr("toggle",e),s=u;break;case"input":Ke(e,u),s=Ve(e,u),Cr("invalid",e);break;case"option":s=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},s=ae({},u,{value:void 0}),Cr("invalid",e);break;case"textarea":V(e,u),s=A(e,u),Cr("invalid",e);break;default:s=u}fr(o,s),P=s;for(v in P)if(P.hasOwnProperty(v)){var M=P[v];v==="style"?Ne(e,M):v==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&be(e,M)):v==="children"?typeof M=="string"?(o!=="textarea"||M!=="")&&Fe(e,M):typeof M=="number"&&Fe(e,""+M):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(l.hasOwnProperty(v)?M!=null&&v==="onScroll"&&Cr("scroll",e):M!=null&&T(e,v,M,E))}switch(o){case"input":nr(e),$e(e,u,!1);break;case"textarea":nr(e),se(e);break;case"option":u.value!=null&&e.setAttribute("value",""+xe(u.value));break;case"select":e.multiple=!!u.multiple,v=u.value,v!=null?br(e,!!u.multiple,v,!1):u.defaultValue!=null&&br(e,!!u.multiple,u.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=ml)}switch(o){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return tt(r),null;case 6:if(e&&r.stateNode!=null)vS(e,r,e.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(i(166));if(o=hi(Qa.current),hi(sn.current),_l(r)){if(u=r.stateNode,o=r.memoizedProps,u[ln]=r,(v=u.nodeValue!==o)&&(e=Ot,e!==null))switch(e.tag){case 3:hl(u.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&hl(u.nodeValue,o,(e.mode&1)!==0)}v&&(r.flags|=4)}else u=(o.nodeType===9?o:o.ownerDocument).createTextNode(u),u[ln]=r,r.stateNode=u}return tt(r),null;case 13:if(_r(Tr),u=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(xr&&xt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)hb(),wo(),r.flags|=98560,v=!1;else if(v=_l(r),u!==null&&u.dehydrated!==null){if(e===null){if(!v)throw Error(i(318));if(v=r.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(i(317));v[ln]=r}else wo(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;tt(r),v=!1}else Gt!==null&&(Xp(Gt),Gt=null),v=!0;if(!v)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=o,r):(u=u!==null,u!==(e!==null&&e.memoizedState!==null)&&u&&(r.child.flags|=8192,(r.mode&1)!==0&&(e===null||(Tr.current&1)!==0?$r===0&&($r=3):r1())),r.updateQueue!==null&&(r.flags|=4),tt(r),null);case 4:return Co(),Vp(e,r),e===null&&$a(r.stateNode.containerInfo),tt(r),null;case 10:return yp(r.type._context),tt(r),null;case 17:return vt(r.type)&&wl(),tt(r),null;case 19:if(_r(Tr),v=r.memoizedState,v===null)return tt(r),null;if(u=(r.flags&128)!==0,E=v.rendering,E===null)if(u)eu(v,!1);else{if($r!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(E=Tl(e),E!==null){for(r.flags|=128,eu(v,!1),u=E.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=o,o=r.child;o!==null;)v=o,e=u,v.flags&=14680066,E=v.alternate,E===null?(v.childLanes=0,v.lanes=e,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=E.childLanes,v.lanes=E.lanes,v.child=E.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=E.memoizedProps,v.memoizedState=E.memoizedState,v.updateQueue=E.updateQueue,v.type=E.type,e=E.dependencies,v.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Sr(Tr,Tr.current&1|2),r.child}e=e.sibling}v.tail!==null&&Pr()>Io&&(r.flags|=128,u=!0,eu(v,!1),r.lanes=4194304)}else{if(!u)if(e=Tl(E),e!==null){if(r.flags|=128,u=!0,o=e.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),eu(v,!0),v.tail===null&&v.tailMode==="hidden"&&!E.alternate&&!xr)return tt(r),null}else 2*Pr()-v.renderingStartTime>Io&&o!==1073741824&&(r.flags|=128,u=!0,eu(v,!1),r.lanes=4194304);v.isBackwards?(E.sibling=r.child,r.child=E):(o=v.last,o!==null?o.sibling=E:r.child=E,v.last=E)}return v.tail!==null?(r=v.tail,v.rendering=r,v.tail=r.sibling,v.renderingStartTime=Pr(),r.sibling=null,o=Tr.current,Sr(Tr,u?o&1|2:o&1),r):(tt(r),null);case 22:case 23:return e1(),u=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==u&&(r.flags|=8192),u&&(r.mode&1)!==0?(It&1073741824)!==0&&(tt(r),r.subtreeFlags&6&&(r.flags|=8192)):tt(r),null;case 24:return null;case 25:return null}throw Error(i(156,r.tag))}function __(e,r){switch(sp(r),r.tag){case 1:return vt(r.type)&&wl(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return Co(),_r(dt),_r(et),Ep(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return bp(r),null;case 13:if(_r(Tr),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(i(340));wo()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return _r(Tr),null;case 4:return Co(),null;case 10:return yp(r.type._context),null;case 22:case 23:return e1(),null;case 24:return null;default:return null}}var ql=!1,nt=!1,O_=typeof WeakSet=="function"?WeakSet:Set,Re=null;function Oo(e,r){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(u){kr(e,r,u)}else o.current=null}function $p(e,r,o){try{o()}catch(u){kr(e,r,u)}}var pS=!1;function x_(e,r){if(ep=Er,e=Hw(),Hv(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var u=o.getSelection&&o.getSelection();if(u&&u.rangeCount!==0){o=u.anchorNode;var s=u.anchorOffset,v=u.focusNode;u=u.focusOffset;try{o.nodeType,v.nodeType}catch(me){o=null;break e}var E=0,P=-1,M=-1,ee=0,pe=0,ye=e,ve=null;r:for(;;){for(var Oe;ye!==o||s!==0&&ye.nodeType!==3||(P=E+s),ye!==v||u!==0&&ye.nodeType!==3||(M=E+u),ye.nodeType===3&&(E+=ye.nodeValue.length),(Oe=ye.firstChild)!==null;)ve=ye,ye=Oe;for(;;){if(ye===e)break r;if(ve===o&&++ee===s&&(P=E),ve===v&&++pe===u&&(M=E),(Oe=ye.nextSibling)!==null)break;ye=ve,ve=ye.parentNode}ye=Oe}o=P===-1||M===-1?null:{start:P,end:M}}else o=null}o=o||{start:0,end:0}}else o=null;for(rp={focusedElem:e,selectionRange:o},Er=!1,Re=r;Re!==null;)if(r=Re,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Re=e;else for(;Re!==null;){r=Re;try{var Te=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Te!==null){var ke=Te.memoizedProps,Fr=Te.memoizedState,K=r.stateNode,B=K.getSnapshotBeforeUpdate(r.elementType===r.type?ke:Kt(r.type,ke),Fr);K.__reactInternalSnapshotBeforeUpdate=B}break;case 3:var Q=r.stateNode.containerInfo;Q.nodeType===1?Q.textContent="":Q.nodeType===9&&Q.documentElement&&Q.removeChild(Q.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(me){kr(r,r.return,me)}if(e=r.sibling,e!==null){e.return=r.return,Re=e;break}Re=r.return}return Te=pS,pS=!1,Te}function ru(e,r,o){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var s=u=u.next;do{if((s.tag&e)===e){var v=s.destroy;s.destroy=void 0,v!==void 0&&$p(r,o,v)}s=s.next}while(s!==u)}}function Bl(e,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var u=o.create;o.destroy=u()}o=o.next}while(o!==r)}}function Up(e){var r=e.ref;if(r!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof r=="function"?r(e):r.current=e}}function yS(e){var r=e.alternate;r!==null&&(e.alternate=null,yS(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[ln],delete r[za],delete r[op],delete r[l_],delete r[s_])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hS(e){return e.tag===5||e.tag===3||e.tag===4}function mS(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function zp(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?o.nodeType===8?o.parentNode.insertBefore(e,r):o.insertBefore(e,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(e,o)):(r=o,r.appendChild(e)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=ml));else if(u!==4&&(e=e.child,e!==null))for(zp(e,r,o),e=e.sibling;e!==null;)zp(e,r,o),e=e.sibling}function Wp(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?o.insertBefore(e,r):o.appendChild(e);else if(u!==4&&(e=e.child,e!==null))for(Wp(e,r,o),e=e.sibling;e!==null;)Wp(e,r,o),e=e.sibling}var Kr=null,Qt=!1;function $n(e,r,o){for(o=o.child;o!==null;)gS(e,r,o),o=o.sibling}function gS(e,r,o){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Xi,o)}catch(P){}switch(o.tag){case 5:nt||Oo(o,r);case 6:var u=Kr,s=Qt;Kr=null,$n(e,r,o),Kr=u,Qt=s,Kr!==null&&(Qt?(e=Kr,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):Kr.removeChild(o.stateNode));break;case 18:Kr!==null&&(Qt?(e=Kr,o=o.stateNode,e.nodeType===8?ip(e.parentNode,o):e.nodeType===1&&ip(e,o),de(e)):ip(Kr,o.stateNode));break;case 4:u=Kr,s=Qt,Kr=o.stateNode.containerInfo,Qt=!0,$n(e,r,o),Kr=u,Qt=s;break;case 0:case 11:case 14:case 15:if(!nt&&(u=o.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){s=u=u.next;do{var v=s,E=v.destroy;v=v.tag,E!==void 0&&((v&2)!==0||(v&4)!==0)&&$p(o,r,E),s=s.next}while(s!==u)}$n(e,r,o);break;case 1:if(!nt&&(Oo(o,r),u=o.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=o.memoizedProps,u.state=o.memoizedState,u.componentWillUnmount()}catch(P){kr(o,r,P)}$n(e,r,o);break;case 21:$n(e,r,o);break;case 22:o.mode&1?(nt=(u=nt)||o.memoizedState!==null,$n(e,r,o),nt=u):$n(e,r,o);break;default:$n(e,r,o)}}function wS(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new O_),r.forEach(function(u){var s=D_.bind(null,e,u);o.has(u)||(o.add(u),u.then(s,s))})}}function Yt(e,r){var o=r.deletions;if(o!==null)for(var u=0;u<o.length;u++){var s=o[u];try{var v=e,E=r,P=E;e:for(;P!==null;){switch(P.tag){case 5:Kr=P.stateNode,Qt=!1;break e;case 3:Kr=P.stateNode.containerInfo,Qt=!0;break e;case 4:Kr=P.stateNode.containerInfo,Qt=!0;break e}P=P.return}if(Kr===null)throw Error(i(160));gS(v,E,s),Kr=null,Qt=!1;var M=s.alternate;M!==null&&(M.return=null),s.return=null}catch(ee){kr(s,r,ee)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)bS(r,e),r=r.sibling}function bS(e,r){var o=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Yt(r,e),fn(e),u&4){try{ru(3,e,e.return),Bl(3,e)}catch(ke){kr(e,e.return,ke)}try{ru(5,e,e.return)}catch(ke){kr(e,e.return,ke)}}break;case 1:Yt(r,e),fn(e),u&512&&o!==null&&Oo(o,o.return);break;case 5:if(Yt(r,e),fn(e),u&512&&o!==null&&Oo(o,o.return),e.flags&32){var s=e.stateNode;try{Fe(s,"")}catch(ke){kr(e,e.return,ke)}}if(u&4&&(s=e.stateNode,s!=null)){var v=e.memoizedProps,E=o!==null?o.memoizedProps:v,P=e.type,M=e.updateQueue;if(e.updateQueue=null,M!==null)try{P==="input"&&v.type==="radio"&&v.name!=null&&Qe(s,v),zt(P,E);var ee=zt(P,v);for(E=0;E<M.length;E+=2){var pe=M[E],ye=M[E+1];pe==="style"?Ne(s,ye):pe==="dangerouslySetInnerHTML"?be(s,ye):pe==="children"?Fe(s,ye):T(s,pe,ye,ee)}switch(P){case"input":Me(s,v);break;case"textarea":q(s,v);break;case"select":var ve=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!v.multiple;var Oe=v.value;Oe!=null?br(s,!!v.multiple,Oe,!1):ve!==!!v.multiple&&(v.defaultValue!=null?br(s,!!v.multiple,v.defaultValue,!0):br(s,!!v.multiple,v.multiple?[]:"",!1))}s[za]=v}catch(ke){kr(e,e.return,ke)}}break;case 6:if(Yt(r,e),fn(e),u&4){if(e.stateNode===null)throw Error(i(162));s=e.stateNode,v=e.memoizedProps;try{s.nodeValue=v}catch(ke){kr(e,e.return,ke)}}break;case 3:if(Yt(r,e),fn(e),u&4&&o!==null&&o.memoizedState.isDehydrated)try{de(r.containerInfo)}catch(ke){kr(e,e.return,ke)}break;case 4:Yt(r,e),fn(e);break;case 13:Yt(r,e),fn(e),s=e.child,s.flags&8192&&(v=s.memoizedState!==null,s.stateNode.isHidden=v,!v||s.alternate!==null&&s.alternate.memoizedState!==null||(Kp=Pr())),u&4&&wS(e);break;case 22:if(pe=o!==null&&o.memoizedState!==null,e.mode&1?(nt=(ee=nt)||pe,Yt(r,e),nt=ee):Yt(r,e),fn(e),u&8192){if(ee=e.memoizedState!==null,(e.stateNode.isHidden=ee)&&!pe&&(e.mode&1)!==0)for(Re=e,pe=e.child;pe!==null;){for(ye=Re=pe;Re!==null;){switch(ve=Re,Oe=ve.child,ve.tag){case 0:case 11:case 14:case 15:ru(4,ve,ve.return);break;case 1:Oo(ve,ve.return);var Te=ve.stateNode;if(typeof Te.componentWillUnmount=="function"){u=ve,o=ve.return;try{r=u,Te.props=r.memoizedProps,Te.state=r.memoizedState,Te.componentWillUnmount()}catch(ke){kr(u,o,ke)}}break;case 5:Oo(ve,ve.return);break;case 22:if(ve.memoizedState!==null){CS(ye);continue}}Oe!==null?(Oe.return=ve,Re=Oe):CS(ye)}pe=pe.sibling}e:for(pe=null,ye=e;;){if(ye.tag===5){if(pe===null){pe=ye;try{s=ye.stateNode,ee?(v=s.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(P=ye.stateNode,M=ye.memoizedProps.style,E=M!=null&&M.hasOwnProperty("display")?M.display:null,P.style.display=he("display",E))}catch(ke){kr(e,e.return,ke)}}}else if(ye.tag===6){if(pe===null)try{ye.stateNode.nodeValue=ee?"":ye.memoizedProps}catch(ke){kr(e,e.return,ke)}}else if((ye.tag!==22&&ye.tag!==23||ye.memoizedState===null||ye===e)&&ye.child!==null){ye.child.return=ye,ye=ye.child;continue}if(ye===e)break e;for(;ye.sibling===null;){if(ye.return===null||ye.return===e)break e;pe===ye&&(pe=null),ye=ye.return}pe===ye&&(pe=null),ye.sibling.return=ye.return,ye=ye.sibling}}break;case 19:Yt(r,e),fn(e),u&4&&wS(e);break;case 21:break;default:Yt(r,e),fn(e)}}function fn(e){var r=e.flags;if(r&2){try{e:{for(var o=e.return;o!==null;){if(hS(o)){var u=o;break e}o=o.return}throw Error(i(160))}switch(u.tag){case 5:var s=u.stateNode;u.flags&32&&(Fe(s,""),u.flags&=-33);var v=mS(e);Wp(e,v,s);break;case 3:case 4:var E=u.stateNode.containerInfo,P=mS(e);zp(e,P,E);break;default:throw Error(i(161))}}catch(M){kr(e,e.return,M)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function I_(e,r,o){Re=e,SS(e)}function SS(e,r,o){for(var u=(e.mode&1)!==0;Re!==null;){var s=Re,v=s.child;if(s.tag===22&&u){var E=s.memoizedState!==null||ql;if(!E){var P=s.alternate,M=P!==null&&P.memoizedState!==null||nt;P=ql;var ee=nt;if(ql=E,(nt=M)&&!ee)for(Re=s;Re!==null;)E=Re,M=E.child,E.tag===22&&E.memoizedState!==null?_S(s):M!==null?(M.return=E,Re=M):_S(s);for(;v!==null;)Re=v,SS(v),v=v.sibling;Re=s,ql=P,nt=ee}ES(e)}else(s.subtreeFlags&8772)!==0&&v!==null?(v.return=s,Re=v):ES(e)}}function ES(e){for(;Re!==null;){var r=Re;if((r.flags&8772)!==0){var o=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:nt||Bl(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!nt)if(o===null)u.componentDidMount();else{var s=r.elementType===r.type?o.memoizedProps:Kt(r.type,o.memoizedProps);u.componentDidUpdate(s,o.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var v=r.updateQueue;v!==null&&Cb(r,v,u);break;case 3:var E=r.updateQueue;if(E!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}Cb(r,E,o)}break;case 5:var P=r.stateNode;if(o===null&&r.flags&4){o=P;var M=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&o.focus();break;case"img":M.src&&(o.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var ee=r.alternate;if(ee!==null){var pe=ee.memoizedState;if(pe!==null){var ye=pe.dehydrated;ye!==null&&de(ye)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}nt||r.flags&512&&Up(r)}catch(ve){kr(r,r.return,ve)}}if(r===e){Re=null;break}if(o=r.sibling,o!==null){o.return=r.return,Re=o;break}Re=r.return}}function CS(e){for(;Re!==null;){var r=Re;if(r===e){Re=null;break}var o=r.sibling;if(o!==null){o.return=r.return,Re=o;break}Re=r.return}}function _S(e){for(;Re!==null;){var r=Re;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{Bl(4,r)}catch(M){kr(r,o,M)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var s=r.return;try{u.componentDidMount()}catch(M){kr(r,s,M)}}var v=r.return;try{Up(r)}catch(M){kr(r,v,M)}break;case 5:var E=r.return;try{Up(r)}catch(M){kr(r,E,M)}}}catch(M){kr(r,r.return,M)}if(r===e){Re=null;break}var P=r.sibling;if(P!==null){P.return=r.return,Re=P;break}Re=r.return}}var R_=Math.ceil,Vl=R.ReactCurrentDispatcher,Hp=R.ReactCurrentOwner,Mt=R.ReactCurrentBatchConfig,ir=0,zr=null,Lr=null,Qr=0,It=0,xo=Ln(0),$r=0,tu=null,gi=0,$l=0,Gp=0,nu=null,yt=null,Kp=0,Io=1/0,jn=null,Ul=!1,Qp=null,Un=null,zl=!1,zn=null,Wl=0,iu=0,Yp=null,Hl=-1,Gl=0;function ct(){return(ir&6)!==0?Pr():Hl!==-1?Hl:Hl=Pr()}function Wn(e){return(e.mode&1)===0?1:(ir&2)!==0&&Qr!==0?Qr&-Qr:f_.transition!==null?(Gl===0&&(Gl=Xu()),Gl):(e=sr,e!==0||(e=window.event,e=e===void 0?16:Aa(e.type)),e)}function Zt(e,r,o,u){if(50<iu)throw iu=0,Yp=null,Error(i(185));ui(e,o,u),((ir&2)===0||e!==zr)&&(e===zr&&((ir&2)===0&&($l|=o),$r===4&&Hn(e,Qr)),ht(e,u),o===1&&ir===0&&(r.mode&1)===0&&(Io=Pr()+500,Sl&&qn()))}function ht(e,r){var o=e.callbackNode;Dv(e,r);var u=ro(e,e===zr?Qr:0);if(u===0)o!==null&&Oa(o),e.callbackNode=null,e.callbackPriority=0;else if(r=u&-u,e.callbackPriority!==r){if(o!=null&&Oa(o),r===1)e.tag===0?c_(xS.bind(null,e)):fb(xS.bind(null,e)),a_(function(){(ir&6)===0&&qn()}),o=null;else{switch(Ju(u)){case 1:o=xa;break;case 4:o=Yu;break;case 16:o=oi;break;case 536870912:o=Zu;break;default:o=oi}o=NS(o,OS.bind(null,e))}e.callbackPriority=r,e.callbackNode=o}}function OS(e,r){if(Hl=-1,Gl=0,(ir&6)!==0)throw Error(i(327));var o=e.callbackNode;if(Ro()&&e.callbackNode!==o)return null;var u=ro(e,e===zr?Qr:0);if(u===0)return null;if((u&30)!==0||(u&e.expiredLanes)!==0||r)r=Kl(e,u);else{r=u;var s=ir;ir|=2;var v=RS();(zr!==e||Qr!==r)&&(jn=null,Io=Pr()+500,bi(e,r));do try{j_();break}catch(P){IS(e,P)}while(!0);pp(),Vl.current=v,ir=s,Lr!==null?r=0:(zr=null,Qr=0,r=$r)}if(r!==0){if(r===2&&(s=Ia(e),s!==0&&(u=s,r=Zp(e,s))),r===1)throw o=tu,bi(e,0),Hn(e,u),ht(e,Pr()),o;if(r===6)Hn(e,u);else{if(s=e.current.alternate,(u&30)===0&&!P_(s)&&(r=Kl(e,u),r===2&&(v=Ia(e),v!==0&&(u=v,r=Zp(e,v))),r===1))throw o=tu,bi(e,0),Hn(e,u),ht(e,Pr()),o;switch(e.finishedWork=s,e.finishedLanes=u,r){case 0:case 1:throw Error(i(345));case 2:Si(e,yt,jn);break;case 3:if(Hn(e,u),(u&130023424)===u&&(r=Kp+500-Pr(),10<r)){if(ro(e,0)!==0)break;if(s=e.suspendedLanes,(s&u)!==u){ct(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=np(Si.bind(null,e,yt,jn),r);break}Si(e,yt,jn);break;case 4:if(Hn(e,u),(u&4194240)===u)break;for(r=e.eventTimes,s=-1;0<u;){var E=31-Ct(u);v=1<<E,E=r[E],E>s&&(s=E),u&=~v}if(u=s,u=Pr()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*R_(u/1960))-u,10<u){e.timeoutHandle=np(Si.bind(null,e,yt,jn),u);break}Si(e,yt,jn);break;case 5:Si(e,yt,jn);break;default:throw Error(i(329))}}}return ht(e,Pr()),e.callbackNode===o?OS.bind(null,e):null}function Zp(e,r){var o=nu;return e.current.memoizedState.isDehydrated&&(bi(e,r).flags|=256),e=Kl(e,r),e!==2&&(r=yt,yt=o,r!==null&&Xp(r)),e}function Xp(e){yt===null?yt=e:yt.push.apply(yt,e)}function P_(e){for(var r=e;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var u=0;u<o.length;u++){var s=o[u],v=s.getSnapshot;s=s.value;try{if(!Ht(v(),s))return!1}catch(E){return!1}}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Hn(e,r){for(r&=~Gp,r&=~$l,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var o=31-Ct(r),u=1<<o;e[o]=-1,r&=~u}}function xS(e){if((ir&6)!==0)throw Error(i(327));Ro();var r=ro(e,0);if((r&1)===0)return ht(e,Pr()),null;var o=Kl(e,r);if(e.tag!==0&&o===2){var u=Ia(e);u!==0&&(r=u,o=Zp(e,u))}if(o===1)throw o=tu,bi(e,0),Hn(e,r),ht(e,Pr()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Si(e,yt,jn),ht(e,Pr()),null}function Jp(e,r){var o=ir;ir|=1;try{return e(r)}finally{ir=o,ir===0&&(Io=Pr()+500,Sl&&qn())}}function wi(e){zn!==null&&zn.tag===0&&(ir&6)===0&&Ro();var r=ir;ir|=1;var o=Mt.transition,u=sr;try{if(Mt.transition=null,sr=1,e)return e()}finally{sr=u,Mt.transition=o,ir=r,(ir&6)===0&&qn()}}function e1(){It=xo.current,_r(xo)}function bi(e,r){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,o_(o)),Lr!==null)for(o=Lr.return;o!==null;){var u=o;switch(sp(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&wl();break;case 3:Co(),_r(dt),_r(et),Ep();break;case 5:bp(u);break;case 4:Co();break;case 13:_r(Tr);break;case 19:_r(Tr);break;case 10:yp(u.type._context);break;case 22:case 23:e1()}o=o.return}if(zr=e,Lr=e=Gn(e.current,null),Qr=It=r,$r=0,tu=null,Gp=$l=gi=0,yt=nu=null,yi!==null){for(r=0;r<yi.length;r++)if(o=yi[r],u=o.interleaved,u!==null){o.interleaved=null;var s=u.next,v=o.pending;if(v!==null){var E=v.next;v.next=s,u.next=E}o.pending=u}yi=null}return e}function IS(e,r){do{var o=Lr;try{if(pp(),jl.current=Dl,kl){for(var u=jr.memoizedState;u!==null;){var s=u.queue;s!==null&&(s.pending=null),u=u.next}kl=!1}if(mi=0,Ur=Vr=jr=null,Ya=!1,Za=0,Hp.current=null,o===null||o.return===null){$r=1,tu=r,Lr=null;break}e:{var v=e,E=o.return,P=o,M=r;if(r=Qr,P.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var ee=M,pe=P,ye=pe.tag;if((pe.mode&1)===0&&(ye===0||ye===11||ye===15)){var ve=pe.alternate;ve?(pe.updateQueue=ve.updateQueue,pe.memoizedState=ve.memoizedState,pe.lanes=ve.lanes):(pe.updateQueue=null,pe.memoizedState=null)}var Oe=Xb(E);if(Oe!==null){Oe.flags&=-257,Jb(Oe,E,P,v,r),Oe.mode&1&&Zb(v,ee,r),r=Oe,M=ee;var Te=r.updateQueue;if(Te===null){var ke=new Set;ke.add(M),r.updateQueue=ke}else Te.add(M);break e}else{if((r&1)===0){Zb(v,ee,r),r1();break e}M=Error(i(426))}}else if(xr&&P.mode&1){var Fr=Xb(E);if(Fr!==null){(Fr.flags&65536)===0&&(Fr.flags|=256),Jb(Fr,E,P,v,r),dp(_o(M,P));break e}}v=M=_o(M,P),$r!==4&&($r=2),nu===null?nu=[v]:nu.push(v),v=E;do{switch(v.tag){case 3:v.flags|=65536,r&=-r,v.lanes|=r;var K=Qb(v,M,r);Eb(v,K);break e;case 1:P=M;var B=v.type,Q=v.stateNode;if((v.flags&128)===0&&(typeof B.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&(Un===null||!Un.has(Q)))){v.flags|=65536,r&=-r,v.lanes|=r;var me=Yb(v,P,r);Eb(v,me);break e}}v=v.return}while(v!==null)}TS(o)}catch(De){r=De,Lr===o&&o!==null&&(Lr=o=o.return);continue}break}while(!0)}function RS(){var e=Vl.current;return Vl.current=Dl,e===null?Dl:e}function r1(){($r===0||$r===3||$r===2)&&($r=4),zr===null||(gi&268435455)===0&&($l&268435455)===0||Hn(zr,Qr)}function Kl(e,r){var o=ir;ir|=2;var u=RS();(zr!==e||Qr!==r)&&(jn=null,bi(e,r));do try{T_();break}catch(s){IS(e,s)}while(!0);if(pp(),ir=o,Vl.current=u,Lr!==null)throw Error(i(261));return zr=null,Qr=0,$r}function T_(){for(;Lr!==null;)PS(Lr)}function j_(){for(;Lr!==null&&!Ku();)PS(Lr)}function PS(e){var r=AS(e.alternate,e,It);e.memoizedProps=e.pendingProps,r===null?TS(e):Lr=r,Hp.current=null}function TS(e){var r=e;do{var o=r.alternate;if(e=r.return,(r.flags&32768)===0){if(o=C_(o,r,It),o!==null){Lr=o;return}}else{if(o=__(o,r),o!==null){o.flags&=32767,Lr=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{$r=6,Lr=null;return}}if(r=r.sibling,r!==null){Lr=r;return}Lr=r=e}while(r!==null);$r===0&&($r=5)}function Si(e,r,o){var u=sr,s=Mt.transition;try{Mt.transition=null,sr=1,k_(e,r,o,u)}finally{Mt.transition=s,sr=u}return null}function k_(e,r,o,u){do Ro();while(zn!==null);if((ir&6)!==0)throw Error(i(327));o=e.finishedWork;var s=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var v=o.lanes|o.childLanes;if(Fv(e,v),e===zr&&(Lr=zr=null,Qr=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||zl||(zl=!0,NS(oi,function(){return Ro(),null})),v=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||v){v=Mt.transition,Mt.transition=null;var E=sr;sr=1;var P=ir;ir|=4,Hp.current=null,x_(e,o),bS(o,e),XC(rp),Er=!!ep,rp=ep=null,e.current=o,I_(o),Qu(),ir=P,sr=E,Mt.transition=v}else e.current=o;if(zl&&(zl=!1,zn=e,Wl=s),v=e.pendingLanes,v===0&&(Un=null),Tv(o.stateNode),ht(e,Pr()),r!==null)for(u=e.onRecoverableError,o=0;o<r.length;o++)s=r[o],u(s.value,{componentStack:s.stack,digest:s.digest});if(Ul)throw Ul=!1,e=Qp,Qp=null,e;return(Wl&1)!==0&&e.tag!==0&&Ro(),v=e.pendingLanes,(v&1)!==0?e===Yp?iu++:(iu=0,Yp=e):iu=0,qn(),null}function Ro(){if(zn!==null){var e=Ju(Wl),r=Mt.transition,o=sr;try{if(Mt.transition=null,sr=16>e?16:e,zn===null)var u=!1;else{if(e=zn,zn=null,Wl=0,(ir&6)!==0)throw Error(i(331));var s=ir;for(ir|=4,Re=e.current;Re!==null;){var v=Re,E=v.child;if((Re.flags&16)!==0){var P=v.deletions;if(P!==null){for(var M=0;M<P.length;M++){var ee=P[M];for(Re=ee;Re!==null;){var pe=Re;switch(pe.tag){case 0:case 11:case 15:ru(8,pe,v)}var ye=pe.child;if(ye!==null)ye.return=pe,Re=ye;else for(;Re!==null;){pe=Re;var ve=pe.sibling,Oe=pe.return;if(yS(pe),pe===ee){Re=null;break}if(ve!==null){ve.return=Oe,Re=ve;break}Re=Oe}}}var Te=v.alternate;if(Te!==null){var ke=Te.child;if(ke!==null){Te.child=null;do{var Fr=ke.sibling;ke.sibling=null,ke=Fr}while(ke!==null)}}Re=v}}if((v.subtreeFlags&2064)!==0&&E!==null)E.return=v,Re=E;else e:for(;Re!==null;){if(v=Re,(v.flags&2048)!==0)switch(v.tag){case 0:case 11:case 15:ru(9,v,v.return)}var K=v.sibling;if(K!==null){K.return=v.return,Re=K;break e}Re=v.return}}var B=e.current;for(Re=B;Re!==null;){E=Re;var Q=E.child;if((E.subtreeFlags&2064)!==0&&Q!==null)Q.return=E,Re=Q;else e:for(E=B;Re!==null;){if(P=Re,(P.flags&2048)!==0)try{switch(P.tag){case 0:case 11:case 15:Bl(9,P)}}catch(De){kr(P,P.return,De)}if(P===E){Re=null;break e}var me=P.sibling;if(me!==null){me.return=P.return,Re=me;break e}Re=P.return}}if(ir=s,qn(),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(Xi,e)}catch(De){}u=!0}return u}finally{sr=o,Mt.transition=r}}return!1}function jS(e,r,o){r=_o(o,r),r=Qb(e,r,1),e=Vn(e,r,1),r=ct(),e!==null&&(ui(e,1,r),ht(e,r))}function kr(e,r,o){if(e.tag===3)jS(e,e,o);else for(;r!==null;){if(r.tag===3){jS(r,e,o);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Un===null||!Un.has(u))){e=_o(o,e),e=Yb(r,e,1),r=Vn(r,e,1),e=ct(),r!==null&&(ui(r,1,e),ht(r,e));break}}r=r.return}}function A_(e,r,o){var u=e.pingCache;u!==null&&u.delete(r),r=ct(),e.pingedLanes|=e.suspendedLanes&o,zr===e&&(Qr&o)===o&&($r===4||$r===3&&(Qr&130023424)===Qr&&500>Pr()-Kp?bi(e,0):Gp|=o),ht(e,r)}function kS(e,r){r===0&&((e.mode&1)===0?r=1:(r=eo,eo<<=1,(eo&130023424)===0&&(eo=4194304)));var o=ct();e=Rn(e,r),e!==null&&(ui(e,r,o),ht(e,o))}function N_(e){var r=e.memoizedState,o=0;r!==null&&(o=r.retryLane),kS(e,o)}function D_(e,r){var o=0;switch(e.tag){case 13:var u=e.stateNode,s=e.memoizedState;s!==null&&(o=s.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(i(314))}u!==null&&u.delete(r),kS(e,o)}var AS;AS=function(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps||dt.current)pt=!0;else{if((e.lanes&o)===0&&(r.flags&128)===0)return pt=!1,E_(e,r,o);pt=(e.flags&131072)!==0}else pt=!1,xr&&(r.flags&1048576)!==0&&db(r,Cl,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;Ml(e,r),e=r.pendingProps;var s=ho(r,et.current);Eo(r,o),s=Op(null,r,u,e,s,o);var v=xp();return r.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,vt(u)?(v=!0,bl(r)):v=!1,r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,gp(r),s.updater=Fl,r.stateNode=s,s._reactInternals=r,kp(r,u,e,o),r=Fp(null,r,u,!0,v,o)):(r.tag=0,xr&&v&&lp(r),st(null,r,s,o),r=r.child),r;case 16:u=r.elementType;e:{switch(Ml(e,r),e=r.pendingProps,s=u._init,u=s(u._payload),r.type=u,s=r.tag=L_(u),e=Kt(u,e),s){case 0:r=Dp(null,r,u,e,o);break e;case 1:r=oS(null,r,u,e,o);break e;case 11:r=eS(null,r,u,e,o);break e;case 14:r=rS(null,r,u,Kt(u.type,e),o);break e}throw Error(i(306,u,""))}return r;case 0:return u=r.type,s=r.pendingProps,s=r.elementType===u?s:Kt(u,s),Dp(e,r,u,s,o);case 1:return u=r.type,s=r.pendingProps,s=r.elementType===u?s:Kt(u,s),oS(e,r,u,s,o);case 3:e:{if(aS(r),e===null)throw Error(i(387));u=r.pendingProps,v=r.memoizedState,s=v.element,Sb(e,r),Pl(r,u,null,o);var E=r.memoizedState;if(u=E.element,v.isDehydrated)if(v={element:u,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},r.updateQueue.baseState=v,r.memoizedState=v,r.flags&256){s=_o(Error(i(423)),r),r=uS(e,r,u,o,s);break e}else if(u!==s){s=_o(Error(i(424)),r),r=uS(e,r,u,o,s);break e}else for(xt=Fn(r.stateNode.containerInfo.firstChild),Ot=r,xr=!0,Gt=null,o=wb(r,null,u,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(wo(),u===s){r=Tn(e,r,o);break e}st(e,r,u,o)}r=r.child}return r;case 5:return _b(r),e===null&&fp(r),u=r.type,s=r.pendingProps,v=e!==null?e.memoizedProps:null,E=s.children,tp(u,s)?E=null:v!==null&&tp(u,v)&&(r.flags|=32),iS(e,r),st(e,r,E,o),r.child;case 6:return e===null&&fp(r),null;case 13:return lS(e,r,o);case 4:return wp(r,r.stateNode.containerInfo),u=r.pendingProps,e===null?r.child=bo(r,null,u,o):st(e,r,u,o),r.child;case 11:return u=r.type,s=r.pendingProps,s=r.elementType===u?s:Kt(u,s),eS(e,r,u,s,o);case 7:return st(e,r,r.pendingProps,o),r.child;case 8:return st(e,r,r.pendingProps.children,o),r.child;case 12:return st(e,r,r.pendingProps.children,o),r.child;case 10:e:{if(u=r.type._context,s=r.pendingProps,v=r.memoizedProps,E=s.value,Sr(xl,u._currentValue),u._currentValue=E,v!==null)if(Ht(v.value,E)){if(v.children===s.children&&!dt.current){r=Tn(e,r,o);break e}}else for(v=r.child,v!==null&&(v.return=r);v!==null;){var P=v.dependencies;if(P!==null){E=v.child;for(var M=P.firstContext;M!==null;){if(M.context===u){if(v.tag===1){M=Pn(-1,o&-o),M.tag=2;var ee=v.updateQueue;if(ee!==null){ee=ee.shared;var pe=ee.pending;pe===null?M.next=M:(M.next=pe.next,pe.next=M),ee.pending=M}}v.lanes|=o,M=v.alternate,M!==null&&(M.lanes|=o),hp(v.return,o,r),P.lanes|=o;break}M=M.next}}else if(v.tag===10)E=v.type===r.type?null:v.child;else if(v.tag===18){if(E=v.return,E===null)throw Error(i(341));E.lanes|=o,P=E.alternate,P!==null&&(P.lanes|=o),hp(E,o,r),E=v.sibling}else E=v.child;if(E!==null)E.return=v;else for(E=v;E!==null;){if(E===r){E=null;break}if(v=E.sibling,v!==null){v.return=E.return,E=v;break}E=E.return}v=E}st(e,r,s.children,o),r=r.child}return r;case 9:return s=r.type,u=r.pendingProps.children,Eo(r,o),s=Ft(s),u=u(s),r.flags|=1,st(e,r,u,o),r.child;case 14:return u=r.type,s=Kt(u,r.pendingProps),s=Kt(u.type,s),rS(e,r,u,s,o);case 15:return tS(e,r,r.type,r.pendingProps,o);case 17:return u=r.type,s=r.pendingProps,s=r.elementType===u?s:Kt(u,s),Ml(e,r),r.tag=1,vt(u)?(e=!0,bl(r)):e=!1,Eo(r,o),Gb(r,u,s),kp(r,u,s,o),Fp(null,r,u,!0,e,o);case 19:return cS(e,r,o);case 22:return nS(e,r,o)}throw Error(i(156,r.tag))};function NS(e,r){return Gu(e,r)}function F_(e,r,o,u){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,r,o,u){return new F_(e,r,o,u)}function t1(e){return e=e.prototype,!(!e||!e.isReactComponent)}function L_(e){if(typeof e=="function")return t1(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$)return 11;if(e===re)return 14}return 2}function Gn(e,r){var o=e.alternate;return o===null?(o=qt(e.tag,r,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=r,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,r=e.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Ql(e,r,o,u,s,v){var E=2;if(u=e,typeof e=="function")t1(e)&&(E=1);else if(typeof e=="string")E=5;else e:switch(e){case x:return Ei(o.children,s,v,r);case L:E=8,s|=8;break;case U:return e=qt(12,o,r,s|2),e.elementType=U,e.lanes=v,e;case le:return e=qt(13,o,r,s),e.elementType=le,e.lanes=v,e;case G:return e=qt(19,o,r,s),e.elementType=G,e.lanes=v,e;case te:return Yl(o,s,v,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J:E=10;break e;case H:E=9;break e;case $:E=11;break e;case re:E=14;break e;case oe:E=16,u=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return r=qt(E,o,r,s),r.elementType=e,r.type=u,r.lanes=v,r}function Ei(e,r,o,u){return e=qt(7,e,u,r),e.lanes=o,e}function Yl(e,r,o,u){return e=qt(22,e,u,r),e.elementType=te,e.lanes=o,e.stateNode={isHidden:!1},e}function n1(e,r,o){return e=qt(6,e,null,r),e.lanes=o,e}function i1(e,r,o){return r=qt(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function M_(e,r,o,u,s){this.tag=r,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ra(0),this.expirationTimes=Ra(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ra(0),this.identifierPrefix=u,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function o1(e,r,o,u,s,v,E,P,M){return e=new M_(e,r,o,P,M),r===1?(r=1,v===!0&&(r|=8)):r=0,v=qt(3,null,null,r),e.current=v,v.stateNode=e,v.memoizedState={element:u,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},gp(v),e}function q_(e,r,o){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:u==null?null:""+u,children:e,containerInfo:r,implementation:o}}function DS(e){if(!e)return Mn;e=e._reactInternals;e:{if(Cn(e)!==e||e.tag!==1)throw Error(i(170));var r=e;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(vt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(vt(o))return sb(e,o,r)}return r}function FS(e,r,o,u,s,v,E,P,M){return e=o1(o,u,!0,e,s,v,E,P,M),e.context=DS(null),o=e.current,u=ct(),s=Wn(o),v=Pn(u,s),v.callback=r!=null?r:null,Vn(o,v,s),e.current.lanes=s,ui(e,s,u),ht(e,u),e}function Zl(e,r,o,u){var s=r.current,v=ct(),E=Wn(s);return o=DS(o),r.context===null?r.context=o:r.pendingContext=o,r=Pn(v,E),r.payload={element:e},u=u===void 0?null:u,u!==null&&(r.callback=u),e=Vn(s,r,E),e!==null&&(Zt(e,s,E,v),Rl(e,s,E)),E}function Xl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function LS(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function a1(e,r){LS(e,r),(e=e.alternate)&&LS(e,r)}function B_(){return null}var MS=typeof reportError=="function"?reportError:function(e){console.error(e)};function u1(e){this._internalRoot=e}Jl.prototype.render=u1.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(i(409));Zl(e,r,null,null)},Jl.prototype.unmount=u1.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;wi(function(){Zl(null,e,null,null)}),r[_n]=null}};function Jl(e){this._internalRoot=e}Jl.prototype.unstable_scheduleHydration=function(e){if(e){var r=tl();e={blockedOn:null,target:e,priority:r};for(var o=0;o<un.length&&r!==0&&r<un[o].priority;o++);un.splice(o,0,e),o===0&&al(e)}};function l1(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function es(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function qS(){}function V_(e,r,o,u,s){if(s){if(typeof u=="function"){var v=u;u=function(){var ee=Xl(E);v.call(ee)}}var E=FS(r,u,e,0,null,!1,!1,"",qS);return e._reactRootContainer=E,e[_n]=E.current,$a(e.nodeType===8?e.parentNode:e),wi(),E}for(;s=e.lastChild;)e.removeChild(s);if(typeof u=="function"){var P=u;u=function(){var ee=Xl(M);P.call(ee)}}var M=o1(e,0,!1,null,null,!1,!1,"",qS);return e._reactRootContainer=M,e[_n]=M.current,$a(e.nodeType===8?e.parentNode:e),wi(function(){Zl(r,M,o,u)}),M}function rs(e,r,o,u,s){var v=o._reactRootContainer;if(v){var E=v;if(typeof s=="function"){var P=s;s=function(){var M=Xl(E);P.call(M)}}Zl(r,E,e,s)}else E=V_(o,r,e,s,u);return Xl(E)}el=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var o=ai(r.pendingLanes);o!==0&&(Pa(r,o|1),ht(r,Pr()),(ir&6)===0&&(Io=Pr()+500,qn()))}break;case 13:wi(function(){var u=Rn(e,1);if(u!==null){var s=ct();Zt(u,e,1,s)}}),a1(e,1)}},Ta=function(e){if(e.tag===13){var r=Rn(e,134217728);if(r!==null){var o=ct();Zt(r,e,134217728,o)}a1(e,134217728)}},rl=function(e){if(e.tag===13){var r=Wn(e),o=Rn(e,r);if(o!==null){var u=ct();Zt(o,e,r,u)}a1(e,r)}},tl=function(){return sr},nl=function(e,r){var o=sr;try{return sr=e,r()}finally{sr=o}},Ki=function(e,r,o){switch(r){case"input":if(Me(e,o),r=o.name,o.type==="radio"&&r!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var u=o[r];if(u!==e&&u.form===e.form){var s=gl(u);if(!s)throw Error(i(90));lr(u),Me(u,s)}}}break;case"textarea":q(e,o);break;case"select":r=o.value,r!=null&&br(e,!!o.multiple,r,!1)}},ba=Jp,Sa=wi;var $_={usingClientEntryPoint:!1,Events:[Wa,po,gl,ga,wa,Jp]},ou={findFiberByHostInstance:fi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},U_={bundleType:ou.bundleType,version:ou.version,rendererPackageName:ou.rendererPackageName,rendererConfig:ou.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:R.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ca(e),e===null?null:e.stateNode},findFiberByHostInstance:ou.findFiberByHostInstance||B_,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var ts=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ts.isDisabled&&ts.supportsFiber)try{Xi=ts.inject(U_),At=ts}catch(e){}}return ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$_,ft.createPortal=function(e,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!l1(r))throw Error(i(200));return q_(e,r,null,o)},ft.createRoot=function(e,r){if(!l1(e))throw Error(i(299));var o=!1,u="",s=MS;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(s=r.onRecoverableError)),r=o1(e,1,!1,null,null,o,!1,u,s),e[_n]=r.current,$a(e.nodeType===8?e.parentNode:e),new u1(r)},ft.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Ca(r),e=e===null?null:e.stateNode,e},ft.flushSync=function(e){return wi(e)},ft.hydrate=function(e,r,o){if(!es(r))throw Error(i(200));return rs(null,e,r,!0,o)},ft.hydrateRoot=function(e,r,o){if(!l1(e))throw Error(i(405));var u=o!=null&&o.hydratedSources||null,s=!1,v="",E=MS;if(o!=null&&(o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(v=o.identifierPrefix),o.onRecoverableError!==void 0&&(E=o.onRecoverableError)),r=FS(r,null,e,1,o!=null?o:null,s,!1,v,E),e[_n]=r.current,$a(e),u)for(e=0;e<u.length;e++)o=u[e],s=o._getVersion,s=s(o._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[o,s]:r.mutableSourceEagerHydrationData.push(o,s);return new Jl(r)},ft.render=function(e,r,o){if(!es(r))throw Error(i(200));return rs(null,e,r,!1,o)},ft.unmountComponentAtNode=function(e){if(!es(e))throw Error(i(40));return e._reactRootContainer?(wi(function(){rs(null,null,e,!1,function(){e._reactRootContainer=null,e[_n]=null})}),!0):!1},ft.unstable_batchedUpdates=Jp,ft.unstable_renderSubtreeIntoContainer=function(e,r,o,u){if(!es(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return rs(e,r,o,!1,u)},ft.version="18.3.1-next-f1338f8080-20240426",ft}var bw;function uC(){if(bw)return Ev.exports;bw=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),Ev.exports=aC(),Ev.exports}var Sw;function lC(){if(Sw)return Bu;Sw=1;var t=uC();return Bu.createRoot=t.createRoot,Bu.hydrateRoot=t.hydrateRoot,Bu}var sC=lC();function zi(t){"@babel/helpers - typeof";return zi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},zi(t)}function cC(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Ew(t,n){for(var i=0;i<n.length;i++){var a=n[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,_w(a.key),a)}}function fC(t,n,i){return n&&Ew(t.prototype,n),i&&Ew(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function dC(t,n,i){return n=Vu(n),vC(t,Cw()?Reflect.construct(n,[],Vu(t).constructor):n.apply(t,i))}function vC(t,n){if(n&&(zi(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pC(t)}function pC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(n){}return(Cw=function(){return!!t})()}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function yC(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Ov(t,n)}function Ov(t,n){return Ov=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},Ov(t,n)}function Wi(t,n,i){return(n=_w(n))in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function _w(t){var n=hC(t,"string");return zi(n)=="symbol"?n:n+""}function hC(t,n){if(zi(t)!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,n);if(zi(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}var xv=!1,mC=function(n){var i=n.children,a="#gui-idv-web-c *, #gui-idv-web-c *::before, #gui-idv-web-c *::after {box-sizing: border-box;}";return _.jsxs(_.Fragment,{children:[_.jsx("style",{children:a}),i]})},Ow=function(n){var i=n.children;return _.jsx("div",{part:"gui-idv",id:"gui-idv-web-c",style:{backgroundColor:"white",height:"100%",width:"100%"},children:i})},xw=function(n){var i=n.moduleProps,a=n.perform,l=i,c=l.templateId,f=l.templateLayout,d=l.dataSource,p=l.properties,y=function(g){a&&a(g)};return c===Vt.QUESTIONS?_.jsx(yg,{perform:y,children:_.jsx(Ow,{children:_.jsx(hw,{properties:p,dataSource:d,templateId:c,templateLayout:f})})}):_.jsx(yg,{perform:y,children:_.jsx(Ow,{children:_.jsx(hw,ce(ce({templateId:c,templateLayout:f},i.backgroundColor?{backgroundColor:i.backgroundColor}:{}),typeof i.selectionLimit=="number"?{selectionLimit:i.selectionLimit}:{}))})})},Hi=function(t){function n(){var i;return cC(this,n),i=dC(this,n),Wi(i,"_root",sC.createRoot(i.attachShadow({mode:"open"}))),Wi(i,"_mounted",!1),Wi(i,"props",null),i}return yC(n,t),fC(n,[{key:"setProps",value:function(a){this.props={idvEventListener:a.idvEventListener,moduleProps:a.moduleProps,isProcessing:a.isProcessing,perform:a.perform},this.render()}},{key:"connectedCallback",value:function(){this.render(),this._mounted=!0}},{key:"render",value:function(){if(!this.props)return"";if(this.shadowRoot){var a=document.createElement("style");a.id="idv-gui-styles",a.textContent=`
1
+ (function(ae,pe){typeof exports=="object"&&typeof module!="undefined"?pe(exports):typeof define=="function"&&define.amd?define(["exports"],pe):(ae=typeof globalThis!="undefined"?globalThis:ae||self,pe(ae.RegulaIdvGui={}))})(this,(function(ae){"use strict";var Jl=Object.defineProperty,Ql=Object.defineProperties;var e1=Object.getOwnPropertyDescriptors;var kr=Object.getOwnPropertySymbols;var Oo=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable;var ko=(ae,pe,B)=>pe in ae?Jl(ae,pe,{enumerable:!0,configurable:!0,writable:!0,value:B}):ae[pe]=B,y=(ae,pe)=>{for(var B in pe||(pe={}))Oo.call(pe,B)&&ko(ae,B,pe[B]);if(kr)for(var B of kr(pe))To.call(pe,B)&&ko(ae,B,pe[B]);return ae},G=(ae,pe)=>Ql(ae,e1(pe));var Ot=(ae,pe)=>{var B={};for(var Pe in ae)Oo.call(ae,Pe)&&pe.indexOf(Pe)<0&&(B[Pe]=ae[Pe]);if(ae!=null&&kr)for(var Pe of kr(ae))pe.indexOf(Pe)<0&&To.call(ae,Pe)&&(B[Pe]=ae[Pe]);return B};var me=(ae,pe,B)=>new Promise((Pe,Qe)=>{var ir=et=>{try{Tt(B.next(et))}catch(mt){Qe(mt)}},or=et=>{try{Tt(B.throw(et))}catch(mt){Qe(mt)}},Tt=et=>et.done?Pe(et.value):Promise.resolve(et.value).then(ir,or);Tt((B=B.apply(ae,pe)).next())});var pe,B,Pe,Qe,ir,or,Tt,et,mt,Or,Tr,fn,Ut={},hn=[],Fo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ht=Array.isArray;function tt(e,t){for(var r in t)e[r]=t[r];return e}function Fr(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function rt(e,t,r){var n,i,o,a={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?pe.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return Wt(e,a,n,i,null)}function Wt(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i==null?++Pe:i,__i:-1,__u:0};return i==null&&B.vnode!=null&&B.vnode(o),o}function pn(){return{current:null}}function Ve(e){return e.children}function Ge(e,t){this.props=e,this.context=t}function Ft(e,t){if(t==null)return e.__?Ft(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Ft(e):null}function _n(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return _n(e)}}function Ar(e){(!e.__d&&(e.__d=!0)&&Qe.push(e)&&!sr.__r++||ir!=B.debounceRendering)&&((ir=B.debounceRendering)||or)(sr)}function sr(){for(var e,t,r,n,i,o,a,l=1;Qe.length;)Qe.length>l&&Qe.sort(Tt),e=Qe.shift(),l=Qe.length,e.__d&&(r=void 0,n=void 0,i=(n=(t=e).__v).__e,o=[],a=[],t.__P&&((r=tt({},n)).__v=n.__v+1,B.vnode&&B.vnode(r),Ir(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[i]:null,o,i==null?Ft(n):i,!!(32&n.__u),a),r.__v=n.__v,r.__.__k[r.__i]=r,wn(o,r,a),n.__e=n.__=null,r.__e!=i&&_n(r)));sr.__r=0}function gn(e,t,r,n,i,o,a,l,m,g,w){var h,c,v,p,_,x,T,I=n&&n.__k||hn,k=t.length;for(m=Ao(r,t,I,m,k),h=0;h<k;h++)(v=r.__k[h])!=null&&(c=v.__i==-1?Ut:I[v.__i]||Ut,v.__i=h,x=Ir(e,v,c,i,o,a,l,m,g,w),p=v.__e,v.ref&&c.ref!=v.ref&&(c.ref&&Rr(c.ref,null,v),w.push(v.ref,v.__c||p,v)),_==null&&p!=null&&(_=p),(T=!!(4&v.__u))||c.__k===v.__k?m=mn(v,m,e,T):typeof v.type=="function"&&x!==void 0?m=x:p&&(m=p.nextSibling),v.__u&=-7);return r.__e=_,m}function Ao(e,t,r,n,i){var o,a,l,m,g,w=r.length,h=w,c=0;for(e.__k=new Array(i),o=0;o<i;o++)(a=t[o])!=null&&typeof a!="boolean"&&typeof a!="function"?(m=o+c,(a=e.__k[o]=typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?Wt(null,a,null,null,null):Ht(a)?Wt(Ve,{children:a},null,null,null):a.constructor==null&&a.__b>0?Wt(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,l=null,(g=a.__i=Io(a,r,m,h))!=-1&&(h--,(l=r[g])&&(l.__u|=2)),l==null||l.__v==null?(g==-1&&(i>w?c--:i<w&&c++),typeof a.type!="function"&&(a.__u|=4)):g!=m&&(g==m-1?c--:g==m+1?c++:(g>m?c--:c++,a.__u|=4))):e.__k[o]=null;if(h)for(o=0;o<w;o++)(l=r[o])!=null&&(2&l.__u)==0&&(l.__e==n&&(n=Ft(l)),yn(l,l));return n}function mn(e,t,r,n){var i,o;if(typeof e.type=="function"){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=mn(i[o],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=Ft(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function st(e,t){return t=t||[],e==null||typeof e=="boolean"||(Ht(e)?e.some(function(r){st(r,t)}):t.push(e)),t}function Io(e,t,r,n){var i,o,a,l=e.key,m=e.type,g=t[r],w=g!=null&&(2&g.__u)==0;if(g===null&&e.key==null||w&&l==g.key&&m==g.type)return r;if(n>(w?1:0)){for(i=r-1,o=r+1;i>=0||o<t.length;)if((g=t[a=i>=0?i--:o++])!=null&&(2&g.__u)==0&&l==g.key&&m==g.type)return a}return-1}function vn(e,t,r){t[0]=="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||Fo.test(t)?r:r+"px"}function ar(e,t,r,n,i){var o,a;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||vn(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||vn(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(et,"$1")),a=t.toLowerCase(),t=a in e||t=="onFocusOut"||t=="onFocusIn"?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=mt,e.addEventListener(t,o?Tr:Or,o)):e.removeEventListener(t,o?Tr:Or,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r==null?"":r;break e}catch(l){}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function bn(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=mt++;else if(t.t<r.u)return;return r(B.event?B.event(t):t)}}}function Ir(e,t,r,n,i,o,a,l,m,g){var w,h,c,v,p,_,x,T,I,k,F,V,q,L,le,de,re,J=t.type;if(t.constructor!=null)return null;128&r.__u&&(m=!!(32&r.__u),o=[l=t.__e=r.__e]),(w=B.__b)&&w(t);e:if(typeof J=="function")try{if(T=t.props,I="prototype"in J&&J.prototype.render,k=(w=J.contextType)&&n[w.__c],F=w?k?k.props.value:w.__:n,r.__c?x=(h=t.__c=r.__c).__=h.__E:(I?t.__c=h=new J(T,F):(t.__c=h=new Ge(T,F),h.constructor=J,h.render=Ro),k&&k.sub(h),h.props=T,h.state||(h.state={}),h.context=F,h.__n=n,c=h.__d=!0,h.__h=[],h._sb=[]),I&&h.__s==null&&(h.__s=h.state),I&&J.getDerivedStateFromProps!=null&&(h.__s==h.state&&(h.__s=tt({},h.__s)),tt(h.__s,J.getDerivedStateFromProps(T,h.__s))),v=h.props,p=h.state,h.__v=t,c)I&&J.getDerivedStateFromProps==null&&h.componentWillMount!=null&&h.componentWillMount(),I&&h.componentDidMount!=null&&h.__h.push(h.componentDidMount);else{if(I&&J.getDerivedStateFromProps==null&&T!==v&&h.componentWillReceiveProps!=null&&h.componentWillReceiveProps(T,F),!h.__e&&h.shouldComponentUpdate!=null&&h.shouldComponentUpdate(T,h.__s,F)===!1||t.__v==r.__v){for(t.__v!=r.__v&&(h.props=T,h.state=h.__s,h.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(W){W&&(W.__=t)}),V=0;V<h._sb.length;V++)h.__h.push(h._sb[V]);h._sb=[],h.__h.length&&a.push(h);break e}h.componentWillUpdate!=null&&h.componentWillUpdate(T,h.__s,F),I&&h.componentDidUpdate!=null&&h.__h.push(function(){h.componentDidUpdate(v,p,_)})}if(h.context=F,h.props=T,h.__P=e,h.__e=!1,q=B.__r,L=0,I){for(h.state=h.__s,h.__d=!1,q&&q(t),w=h.render(h.props,h.state,h.context),le=0;le<h._sb.length;le++)h.__h.push(h._sb[le]);h._sb=[]}else do h.__d=!1,q&&q(t),w=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++L<25);h.state=h.__s,h.getChildContext!=null&&(n=tt(tt({},n),h.getChildContext())),I&&!c&&h.getSnapshotBeforeUpdate!=null&&(_=h.getSnapshotBeforeUpdate(v,p)),de=w,w!=null&&w.type===Ve&&w.key==null&&(de=Cn(w.props.children)),l=gn(e,Ht(de)?de:[de],t,r,n,i,o,a,l,m,g),h.base=t.__e,t.__u&=-161,h.__h.length&&a.push(h),x&&(h.__E=h.__=null)}catch(W){if(t.__v=null,m||o!=null)if(W.then){for(t.__u|=m?160:128;l&&l.nodeType==8&&l.nextSibling;)l=l.nextSibling;o[o.indexOf(l)]=null,t.__e=l}else{for(re=o.length;re--;)Fr(o[re]);Vr(t)}else t.__e=r.__e,t.__k=r.__k,W.then||Vr(t);B.__e(W,t,r)}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):l=t.__e=Vo(r.__e,t,r,n,i,o,a,m,g);return(w=B.diffed)&&w(t),128&t.__u?void 0:l}function Vr(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Vr)}function wn(e,t,r){for(var n=0;n<r.length;n++)Rr(r[n],r[++n],r[++n]);B.__c&&B.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){B.__e(o,i.__v)}})}function Cn(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:Ht(e)?e.map(Cn):tt({},e)}function Vo(e,t,r,n,i,o,a,l,m){var g,w,h,c,v,p,_,x=r.props,T=t.props,I=t.type;if(I=="svg"?i="http://www.w3.org/2000/svg":I=="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(g=0;g<o.length;g++)if((v=o[g])&&"setAttribute"in v==!!I&&(I?v.localName==I:v.nodeType==3)){e=v,o[g]=null;break}}if(e==null){if(I==null)return document.createTextNode(T);e=document.createElementNS(i,I,T.is&&T),l&&(B.__m&&B.__m(t,o),l=!1),o=null}if(I==null)x===T||l&&e.data==T||(e.data=T);else{if(o=o&&pe.call(e.childNodes),x=r.props||Ut,!l&&o!=null)for(x={},g=0;g<e.attributes.length;g++)x[(v=e.attributes[g]).name]=v.value;for(g in x)if(v=x[g],g!="children"){if(g=="dangerouslySetInnerHTML")h=v;else if(!(g in T)){if(g=="value"&&"defaultValue"in T||g=="checked"&&"defaultChecked"in T)continue;ar(e,g,null,v,i)}}for(g in T)v=T[g],g=="children"?c=v:g=="dangerouslySetInnerHTML"?w=v:g=="value"?p=v:g=="checked"?_=v:l&&typeof v!="function"||x[g]===v||ar(e,g,v,x[g],i);if(w)l||h&&(w.__html==h.__html||w.__html==e.innerHTML)||(e.innerHTML=w.__html),t.__k=[];else if(h&&(e.innerHTML=""),gn(t.type=="template"?e.content:e,Ht(c)?c:[c],t,r,n,I=="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:r.__k&&Ft(r,0),l,m),o!=null)for(g=o.length;g--;)Fr(o[g]);l||(g="value",I=="progress"&&p==null?e.removeAttribute("value"):p!=null&&(p!==e[g]||I=="progress"&&!p||I=="option"&&p!=x[g])&&ar(e,g,p,x[g],i),g="checked",_!=null&&_!=e[g]&&ar(e,g,_,x[g],i))}return e}function Rr(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){B.__e(i,r)}}function yn(e,t,r){var n,i;if(B.unmount&&B.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||Rr(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){B.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&yn(n[i],t,r||typeof e.type!="function");r||Fr(e.__e),e.__c=e.__=e.__e=void 0}function Ro(e,t,r){return this.constructor(e,r)}function vt(e,t,r){var n,i,o,a;t==document&&(t=document.documentElement),B.__&&B.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],a=[],Ir(t,e=(!n&&r||t).__k=rt(Ve,null,[e]),i||Ut,Ut,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?pe.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,a),wn(o,e,a)}function xn(e,t){vt(e,t,xn)}function Mo(e,t,r){var n,i,o,a,l=tt({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:l[o]=t[o]===void 0&&a!=null?a[o]:t[o];return arguments.length>2&&(l.children=arguments.length>3?pe.call(arguments,2):r),Wt(e.type,l,n||e.key,i||e.ref,null)}function Mr(e){function t(r){var n,i;return this.getChildContext||(n=new Set,(i={})[t.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(o){this.props.value!=o.value&&n.forEach(function(a){a.__e=!0,Ar(a)})},this.sub=function(o){n.add(o);var a=o.componentWillUnmount;o.componentWillUnmount=function(){n&&n.delete(o),a&&a.call(o)}}),r.children}return t.__c="__cC"+fn++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}pe=hn.slice,B={__e:function(e,t,r,n){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),a=i.__d),a)return i.__E=i}catch(l){e=l}throw e}},Pe=0,Ge.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=tt({},this.state),typeof e=="function"&&(e=e(tt({},r),this.props)),e&&tt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ar(this))},Ge.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ar(this))},Ge.prototype.render=Ve,Qe=[],or=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Tt=function(e,t){return e.__v.__b-t.__v.__b},sr.__r=0,et=/(PointerCapture)$|Capture$/i,mt=0,Or=bn(!1),Tr=bn(!0),fn=0;var Do=0;function s(e,t,r,n,i,o){t||(t={});var a,l,m=t;if("ref"in m)for(l in m={},t)l=="ref"?a=t[l]:m[l]=t[l];var g={type:e,props:m,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Do,__i:-1,__u:0,__source:i,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)m[l]===void 0&&(m[l]=a[l]);return B.vnode&&B.vnode(g),g}class bt{constructor({errorCode:t,errorCodeKey:r,message:n,underlyingError:i,underlyingBaseError:o,domain:a,module:l,errorEnumName:m,shortDomainCode:g}){this.errorCode=t,this.errorCodeKey=r,this.message=n,this.underlyingError=i,this.underlyingBaseError=o,this.module=l,this.domain=a,this.errorEnumName=m,this.shortDomainCode=g}static getErrorKey(t,r){const n=Object.keys(r).find(i=>r[i]===t);if(!n)throw new Error(`Invalid errorCode: ${t} in enum`);return n}get lastUnderlyingError(){let t=this.underlyingBaseError;for(;(t==null?void 0:t.underlyingBaseError)instanceof bt;)t=t.underlyingBaseError;return t==null?void 0:t.underlyingError}toObject(){const t={errorCode:this.errorCode,errorCodeKey:this.errorCodeKey,errorEnumName:this.errorEnumName,message:this.message,module:this.module,underlyingError:this.underlyingError,lastUnderlineError:this.lastUnderlyingError};return this.underlyingBaseError&&this.underlyingBaseError instanceof bt&&(t.underlyingBaseError=this.underlyingBaseError.toObject()),t}get shortChain(){let t=`${this.shortDomainCode}:${this.errorCode}${this.underlyingError?"-"+this.underlyingError:""}`;return this.underlyingBaseError instanceof bt&&(t+=`-${this.underlyingBaseError.shortChain}`),t}get fullChain(){let t=`${this.module}.${this.domain}:${this.errorCodeKey}${this.underlyingError?"-"+this.underlyingError:""}`;return this.underlyingBaseError instanceof bt&&(t+=`-${this.underlyingBaseError.fullChain}`),t}}class Po extends HTMLElement{}function No(e,t){if(t.displayName?console.log(`Register module: ${t.displayName}`):console.error('Missed "displayName" when register module'),t.getSupportedTemplates&&typeof t.getSupportedTemplates=="function"){const r=t.getSupportedTemplates();console.log(`${t==null?void 0:t.displayName} supported templates: ${r.join(", ")}`)}else console.error('Missed "getSupportedTemplates" method when register module');if(t.initialize&&typeof t.initialize=="function"||console.error(`${t==null?void 0:t.displayName} "initialize" method was not implemented`),t.deinitialize&&typeof t.deinitialize=="function"||console.error(`${t==null?void 0:t.displayName} "deinitialize" method was not implemented`),t.isReady&&typeof t.isReady=="function"||console.error(`${t==null?void 0:t.displayName} "isReady" method was not implemented`),t.getIdentifier&&typeof t.getIdentifier=="function"){const r=t.getIdentifier();console.log(`Module id: ${r}`)}else console.error('Missed "getIdentifier" when register module');customElements.get(t.getIdentifier())?console.log(`Module ${e} has already registered`):customElements.define(e,t),console.log("-------")}const lr={FORM:"form",DATA:"data"};var at,_e,Dr,En,At=0,Sn=[],we=B,kn=we.__b,On=we.__r,Tn=we.diffed,Fn=we.__c,An=we.unmount,In=we.__;function wt(e,t){we.__h&&we.__h(_e,e,At||t),At=0;var r=_e.__H||(_e.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Ae(e){return At=1,cr(Rn,e)}function cr(e,t,r){var n=wt(at++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Rn(void 0,t),function(l){var m=n.__N?n.__N[0]:n.__[0],g=n.t(m,l);m!==g&&(n.__N=[g,n.__[1]],n.__c.setState({}))}],n.__c=_e,!_e.__f)){var i=function(l,m,g){if(!n.__c.__H)return!0;var w=n.__c.__H.__.filter(function(c){return!!c.__c});if(w.every(function(c){return!c.__N}))return!o||o.call(this,l,m,g);var h=n.__c.props!==l;return w.forEach(function(c){if(c.__N){var v=c.__[0];c.__=c.__N,c.__N=void 0,v!==c.__[0]&&(h=!0)}}),o&&o.call(this,l,m,g)||h};_e.__f=!0;var o=_e.shouldComponentUpdate,a=_e.componentWillUpdate;_e.componentWillUpdate=function(l,m,g){if(this.__e){var w=o;o=void 0,i(l,m,g),o=w}a&&a.call(this,l,m,g)},_e.shouldComponentUpdate=i}return n.__N||n.__}function ze(e,t){var r=wt(at++,3);!we.__s&&Hr(r.__H,t)&&(r.__=e,r.u=t,_e.__H.__h.push(r))}function ft(e,t){var r=wt(at++,4);!we.__s&&Hr(r.__H,t)&&(r.__=e,r.u=t,_e.__h.push(r))}function qe(e){return At=5,jt(function(){return{current:e}},[])}function Pr(e,t,r){At=6,ft(function(){if(typeof e=="function"){var n=e(t());return function(){e(null),n&&typeof n=="function"&&n()}}if(e)return e.current=t(),function(){return e.current=null}},r==null?r:r.concat(e))}function jt(e,t){var r=wt(at++,7);return Hr(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function Nr(e,t){return At=8,jt(function(){return e},t)}function $t(e){var t=_e.context[e.__c],r=wt(at++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(_e)),t.props.value):e.__}function Br(e,t){we.useDebugValue&&we.useDebugValue(t?t(e):e)}function Bo(e){var t=wt(at++,10),r=Ae();return t.__=e,_e.componentDidCatch||(_e.componentDidCatch=function(n,i){t.__&&t.__(n,i),r[1](n)}),[r[0],function(){r[1](void 0)}]}function Lr(){var e=wt(at++,11);if(!e.__){for(var t=_e.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function Lo(){for(var e;e=Sn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(dr),e.__H.__h.forEach(Ur),e.__H.__h=[]}catch(t){e.__H.__h=[],we.__e(t,e.__v)}}we.__b=function(e){_e=null,kn&&kn(e)},we.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),In&&In(e,t)},we.__r=function(e){On&&On(e),at=0;var t=(_e=e.__c).__H;t&&(Dr===_e?(t.__h=[],_e.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.forEach(dr),t.__h.forEach(Ur),t.__h=[],at=0)),Dr=_e},we.diffed=function(e){Tn&&Tn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Sn.push(t)!==1&&En===we.requestAnimationFrame||((En=we.requestAnimationFrame)||Uo)(Lo)),t.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Dr=_e=null},we.__c=function(e,t){t.some(function(r){try{r.__h.forEach(dr),r.__h=r.__h.filter(function(n){return!n.__||Ur(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],we.__e(n,r.__v)}}),Fn&&Fn(e,t)},we.unmount=function(e){An&&An(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{dr(n)}catch(i){t=i}}),r.__H=void 0,t&&we.__e(t,r.__v))};var Vn=typeof requestAnimationFrame=="function";function Uo(e){var t,r=function(){clearTimeout(n),Vn&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);Vn&&(t=requestAnimationFrame(r))}function dr(e){var t=_e,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),_e=t}function Ur(e){var t=_e;e.__c=e.__(),_e=t}function Hr(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Rn(e,t){return typeof t=="function"?t(e):t}const Wr=Mr(void 0),Mn=({perform:e,children:t,setIsProcessingCallback:r})=>s(Wr.Provider,{value:{perform:e,setIsProcessingCallback:r},children:t}),Ct=()=>{const e=$t(Wr);if(!e)throw new Error("usePerform must be used within a PerformProvider");return{perform:e.perform}},Ho=()=>{const e=$t(Wr);if(!e)throw new Error("useSetIsProcessingCallback must be used within a Context Provider");return{setIsProcessingCallback:e.setIsProcessingCallback}},Wo={width:"86px",height:"86px",flex:"0 0 86px",marginBottom:"16px",display:"flex",justifyContent:"center",alignItems:"center",alignContent:"center"},Ze={INFO:"INFO",INFO_DETAILS:"INFO_DETAILS",STATUS:"STATUS",PROGRESS:"PROGRESS",QUESTIONS:"QUESTIONS",CAMERA:"CAMERA",GALLERY:"GALLERY",GEOLOCATION:"GEOLOCATION"},ur={LEFT:"LEFT",CENTER:"CENTER",RIGHT:"RIGHT"},fr={ASPECT_FILL:"ASPECT_FILL",ASPECT_FIT:"ASPECT_FIT",FILL:"FILL"},It={TEXT_EXPANDABLE:"text_expandable",TEXT_SINGLE_LINE:"text_single_line",SELECTOR_OPTIONS:"selector_options",SELECTOR_BUTTONS:"selector_buttons",SELECTOR_DROPDOWN:"selector_dropdown",MULTI_SELECTOR_DROPDOWN:"multi_selector_dropdown"},hr={FREE_TEXT:"FREE_TEXT",EMAIL:"EMAIL",NUMBER:"NUMBER",SECURE:"SECURE"},zt="#005fcc",pr="idv-gui",qt={DECODING_FAILED:"DECODING_FAILED"},jr={text:"text",selector:"selector",multiSelector:"multiSelector"},Dn={NOT_EMPTY:"notEmpty",REGEX:"regex"};function Pn(e){return e===ur.CENTER?"center":e===ur.RIGHT?"right":"left"}function $r(e){if(typeof e=="object"&&e!==null)for(const t in e)typeof e[t]=="object"?$r(e[t]):e[t]==="true"?e[t]=!0:e[t]==="false"&&(e[t]=!1);return e}function jo(e){return Object.entries(e).map(([t,r])=>({id:t,value:typeof r=="string"?r.trim():r})).filter(t=>!!t.value)}const $o=e=>Array.isArray(e)?e.length===0:e===0?!1:!e;function K(e){return e&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e)?e:void 0}const zo=(e,t)=>e.reduce((r,n)=>{var i,o,a;if(n.answerType===jr.text&&(i=n.property)!=null&&i.id){const l=t.find(m=>m.name===n.property.id);if(l!=null&&l.string)return G(y({},r),{[n.id]:l.string})}if(n.answerType===jr.selector&&(o=n.property)!=null&&o.id){const l=t.find(m=>m.name===n.property.id);if(l!=null&&l.string)return G(y({},r),{[n.id]:l.string})}if(n.answerType===jr.multiSelector&&(a=n.property)!=null&&a.id){const l=t.find(m=>m.name===n.property.id);if(l!=null&&l.array)return G(y({},r),{[n.id]:l.array})}return r},{}),Nn=e=>new Promise((t,r)=>{const n=new FileReader;n.onload=()=>{const i=n.result;if(typeof i=="string"){const o=i.split(",")[1];t(o)}else r(new Error("Unexpected result type"))},n.onerror=()=>r(n.error),n.readAsDataURL(e)}),qo=()=>me(null,null,function*(){try{return(yield navigator.mediaDevices.getUserMedia({video:!0})).getTracks().forEach(t=>t.stop()),"allowed"}catch(e){return(e==null?void 0:e.name)==="NotAllowedError"?"denied":"error"}}),Zo=()=>String.fromCharCode(Math.floor(Math.random()*26)+97)+Number(Math.random()).toString(16).slice(2)+Date.now().toString(16).slice(4),Bn=e=>(e==null?void 0:e.some(r=>r.type==="FORM"))?lr.FORM:lr.DATA,Ln=({indicatorColor:e})=>{const t=qe(null),r=K(e)||"#000000",n=60,i=5,o=.75,a=(n-i)/2,l=2*Math.PI*a,m=1-o,g=360/1e3;return ze(()=>{if(!t.current)return;let w=!0,h=0,c=performance.now();function v(p){if(!w)return;const _=p-c;c=p,h=(h+g*_)%360,t.current&&(t.current.style.transform=`rotate(${h}deg)`),requestAnimationFrame(v)}return requestAnimationFrame(v),()=>{w=!1}},[]),s("svg",{ref:t,width:n,height:n,viewBox:`0 0 ${n} ${n}`,children:s("circle",{cx:n/2,cy:n/2,r:a,fill:"none",stroke:r,strokeWidth:i,strokeDasharray:`${l*o} ${l*m}`,strokeDashoffset:0,strokeLinecap:"butt",transform:`rotate(-45 ${n/2} ${n/2})`})})};function Go({size:e,color:t}){return s("svg",{width:e||86,height:e||86,viewBox:"0 0 87 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("ellipse",{cx:"43.4053",cy:"43",rx:"40",ry:"40",transform:"rotate(90 43.4053 43)",stroke:"#FF3B30",strokeWidth:"3"}),s("path",{d:"M56.9053 29L29.4053 56.5",stroke:t||"#FF3B30",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),s("path",{d:"M29.4053 29L56.9053 56.5",stroke:t||"#FF3B30",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Yo({size:e}){return s("svg",{width:e||48,height:e||48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("circle",{cx:"24.5",cy:"24",r:"18",stroke:"#0E1F97",strokeWidth:"3"}),s("path",{d:"M17.3803 18.3406V29.2496H15.0739V20.5298H15.0099L12.5117 22.0959V20.0504L15.2124 18.3406H17.3803Z",fill:"#0E1F97"}),s("path",{d:"M23.2927 29.3988C22.4724 29.3988 21.7426 29.2656 21.1034 28.9993C20.4678 28.7294 19.9688 28.3619 19.6066 27.8967C19.2444 27.4315 19.0633 26.9041 19.0633 26.3146C19.0633 25.8601 19.1663 25.4428 19.3722 25.0629C19.5818 24.6793 19.8659 24.3615 20.2245 24.1094C20.5832 23.8537 20.9845 23.6903 21.4284 23.6193V23.5447C20.846 23.4276 20.3737 23.1452 20.0115 22.6978C19.6492 22.2468 19.4681 21.723 19.4681 21.1264C19.4681 20.5618 19.6333 20.0593 19.9635 19.619C20.2938 19.1751 20.7465 18.8271 21.3218 18.5749C21.9007 18.3192 22.5576 18.1914 23.2927 18.1914C24.0278 18.1914 24.683 18.3192 25.2583 18.5749C25.8371 18.8306 26.2916 19.1804 26.6219 19.6243C26.9521 20.0646 27.1191 20.5653 27.1226 21.1264C27.1191 21.7266 26.9344 22.2504 26.5686 22.6978C26.2029 23.1452 25.7341 23.4276 25.1624 23.5447V23.6193C25.5992 23.6903 25.9951 23.8537 26.3502 24.1094C26.7089 24.3615 26.993 24.6793 27.2025 25.0629C27.4156 25.4428 27.5239 25.8601 27.5274 26.3146C27.5239 26.9041 27.341 27.4315 26.9788 27.8967C26.6166 28.3619 26.1159 28.7294 25.4767 28.9993C24.841 29.2656 24.113 29.3988 23.2927 29.3988ZM23.2927 27.7049C23.6585 27.7049 23.9781 27.6392 24.2515 27.5078C24.5249 27.3729 24.738 27.1882 24.8907 26.9538C25.047 26.7159 25.1251 26.4425 25.1251 26.1335C25.1251 25.8175 25.0452 25.5387 24.8854 25.2972C24.7256 25.0522 24.509 24.8604 24.2355 24.7219C23.9621 24.5799 23.6478 24.5089 23.2927 24.5089C22.9411 24.5089 22.6269 24.5799 22.3499 24.7219C22.0729 24.8604 21.8545 25.0522 21.6947 25.2972C21.5384 25.5387 21.4603 25.8175 21.4603 26.1335C21.4603 26.4425 21.5367 26.7159 21.6894 26.9538C21.8421 27.1882 22.0569 27.3729 22.3339 27.5078C22.6109 27.6392 22.9305 27.7049 23.2927 27.7049ZM23.2927 22.831C23.5981 22.831 23.8698 22.7688 24.1077 22.6445C24.3456 22.5202 24.532 22.348 24.667 22.1278C24.8019 21.9077 24.8694 21.6538 24.8694 21.3661C24.8694 21.082 24.8019 20.8335 24.667 20.6204C24.532 20.4038 24.3474 20.2351 24.113 20.1143C23.8786 19.9901 23.6052 19.9279 23.2927 19.9279C22.9838 19.9279 22.7103 19.9901 22.4724 20.1143C22.2345 20.2351 22.048 20.4038 21.9131 20.6204C21.7817 20.8335 21.716 21.082 21.716 21.3661C21.716 21.6538 21.7835 21.9077 21.9184 22.1278C22.0534 22.348 22.2398 22.5202 22.4777 22.6445C22.7156 22.7688 22.9873 22.831 23.2927 22.831Z",fill:"#0E1F97"}),s("path",{d:"M31.65 27.5877V20.0451H33.557V27.5877H31.65ZM28.8322 24.7699V22.8629H36.3748V24.7699H28.8322Z",fill:"#0E1F97"})]})}function Ko({size:e,color:t}){return s("svg",{width:e||20,height:e||20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{d:"M14.3976 12.2816C14.2402 12.2816 14.0863 12.235 13.9555 12.1478C13.8246 12.0605 13.7225 11.9364 13.6623 11.7913C13.602 11.6461 13.5862 11.4864 13.6169 11.3322C13.6476 11.1781 13.7234 11.0365 13.8346 10.9254C13.9459 10.8143 14.0877 10.7386 14.242 10.7079C14.3964 10.6772 14.5564 10.6929 14.7018 10.753C14.8473 10.8131 14.9716 10.9149 15.059 11.0456C15.1465 11.1762 15.1932 11.3298 15.1932 11.4869C15.193 11.6976 15.1091 11.8995 14.9599 12.0485C14.8108 12.1974 14.6086 12.2813 14.3976 12.2816ZM5.60241 12.2816C5.44501 12.2816 5.29115 12.235 5.16026 12.1478C5.02938 12.0605 4.92736 11.9364 4.8671 11.7913C4.80684 11.6461 4.79105 11.4864 4.82173 11.3322C4.85241 11.1781 4.92817 11.0365 5.03944 10.9254C5.15071 10.8143 5.2925 10.7386 5.44686 10.7079C5.60122 10.6772 5.76123 10.6929 5.90665 10.753C6.05207 10.8131 6.17638 10.9149 6.26384 11.0456C6.35131 11.1762 6.39801 11.3298 6.39804 11.4869C6.39784 11.6976 6.31396 11.8995 6.1648 12.0485C6.01564 12.1975 5.81339 12.2813 5.60241 12.2816ZM14.6829 7.4962L16.2732 4.74639C16.2949 4.70883 16.309 4.66736 16.3147 4.62435C16.3204 4.58134 16.3176 4.53763 16.3064 4.49571C16.2952 4.4538 16.2758 4.41451 16.2493 4.38007C16.2229 4.34564 16.1899 4.31674 16.1523 4.29502C16.1147 4.27331 16.0732 4.2592 16.0301 4.25352C15.987 4.24783 15.9432 4.25067 15.9012 4.26187C15.8592 4.27308 15.8199 4.29243 15.7854 4.31882C15.7509 4.34521 15.722 4.37813 15.7002 4.41569L14.0899 7.20023C12.8585 6.63913 11.4755 6.32669 9.99985 6.32669C8.52419 6.32669 7.14135 6.63958 5.90995 7.20023L4.29979 4.41569C4.27807 4.37812 4.24915 4.34519 4.21468 4.31877C4.18021 4.29236 4.14087 4.27299 4.0989 4.26175C4.05694 4.25052 4.01316 4.24765 3.97009 4.25331C3.92701 4.25897 3.88547 4.27304 3.84784 4.29472C3.8102 4.31641 3.77722 4.34528 3.75077 4.37969C3.72431 4.4141 3.7049 4.45338 3.69365 4.49528C3.6824 4.53718 3.67953 4.58088 3.68519 4.62389C3.69086 4.6669 3.70496 4.70837 3.72668 4.74594L5.31705 7.4962C2.5863 8.97904 0.718522 11.739 0.445312 14.9999H19.5547C19.2812 11.739 17.4135 8.97904 14.6829 7.4962Z",fill:t||"#626262"})})}function Xo({size:e}){return s("svg",{width:e||20,height:e||20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8697 8.22896C14.0747 8.43399 14.0747 8.7664 13.8697 8.97143L9.99844 12.8427L6.12721 8.97143C5.92218 8.7664 5.92218 8.43399 6.12721 8.22896C6.33223 8.02394 6.66464 8.02394 6.86967 8.22896L9.99844 11.3577L13.1272 8.22896C13.3322 8.02394 13.6646 8.02394 13.8697 8.22896Z",fill:"#787878"})})}const Jo=({size:e,color:t})=>s("svg",{width:e||20,height:e||20,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("g",{clipPath:"url(#clip0_6789_106796)",children:s("path",{d:"M18.1829 14.9885C17.9034 15.6343 17.5725 16.2288 17.1892 16.7753C16.6667 17.5204 16.2389 18.0362 15.9092 18.3226C15.3981 18.7927 14.8505 19.0334 14.2641 19.0471C13.8432 19.0471 13.3355 18.9273 12.7445 18.6843C12.1517 18.4424 11.6068 18.3226 11.1086 18.3226C10.5861 18.3226 10.0257 18.4424 9.42633 18.6843C8.82603 18.9273 8.34243 19.054 7.97269 19.0665C7.41037 19.0905 6.84988 18.8429 6.29042 18.3226C5.93334 18.0111 5.48671 17.4771 4.95166 16.7206C4.37759 15.9127 3.90563 14.9759 3.53589 13.908C3.13991 12.7544 2.94141 11.6373 2.94141 10.5559C2.94141 9.31706 3.20904 8.24861 3.74512 7.35325C4.16643 6.63407 4.72692 6.06675 5.42841 5.65028C6.12991 5.23381 6.88787 5.02158 7.70414 5.008C8.15077 5.008 8.73647 5.14618 9.46432 5.41774C10.1901 5.69022 10.6561 5.82839 10.8605 5.82839C11.0132 5.82839 11.5309 5.66682 12.4086 5.34471C13.2385 5.046 13.939 4.92231 14.5128 4.97103C16.0678 5.09654 17.236 5.70961 18.0129 6.81412C16.6222 7.65688 15.9343 8.83726 15.948 10.3515C15.9605 11.531 16.3883 12.5125 17.2291 13.2918C17.6102 13.6535 18.0357 13.9331 18.5091 14.1316C18.4065 14.4294 18.2981 14.7147 18.1829 14.9885ZM14.6166 0.952815C14.6166 1.87728 14.279 2.74045 13.6059 3.53939C12.7936 4.48918 11.8111 5.03801 10.7457 4.9514C10.7321 4.8405 10.7242 4.72377 10.7242 4.60111C10.7242 3.71363 11.1105 2.76384 11.7965 1.98726C12.139 1.59407 12.5746 1.26713 13.1028 1.00633C13.6298 0.749416 14.1284 0.607338 14.5972 0.583008C14.6109 0.706594 14.6166 0.830189 14.6166 0.952803V0.952815Z",fill:t||"#626262"})}),s("defs",{children:s("clipPath",{id:"clip0_6789_106796",children:s("rect",{width:"19.4597",height:"19.458",fill:"white",transform:"translate(0.996094)"})})})]});function Qo({size:e}){return s("svg",{width:e||24,height:e||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M20 12H6",stroke:"#8C8C8C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),s("path",{d:"M13 19L6 12L13 5",stroke:"#8C8C8C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function es({size:e}){return s("svg",{width:e||48,height:e||48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M8.25 37.5C7.69772 37.5 7.25 37.0523 7.25 36.5L7.25 13C7.25 12.4477 7.69771 12 8.25 12L40.75 12C41.3023 12 41.75 12.4477 41.75 13L41.75 36.5C41.75 37.0523 41.3023 37.5 40.75 37.5L8.25 37.5Z",stroke:"#0E1F97",strokeWidth:"3"}),s("path",{d:"M24.5 29.5C21.8766 29.5 19.75 27.3734 19.75 24.75C19.75 22.1266 21.8766 20 24.5 20C27.1234 20 29.25 22.1266 29.25 24.75C29.25 27.3734 27.1234 29.5 24.5 29.5Z",stroke:"#0E1F97",strokeWidth:"4"}),s("rect",{x:"6.5",y:"23.3999",width:"12",height:"2.4",fill:"#0E1F97"}),s("rect",{x:"29.9004",y:"23.3999",width:"12",height:"2.4",fill:"#0E1F97"})]})}function ts({size:e,color:t}){return s("svg",{width:e||24,height:e||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M12 23C18.0746 23 23 18.0746 23 12C23 5.92545 18.0746 1 12 0.999999C5.92545 0.999999 1 5.92545 1 12C1 18.0746 5.92545 23 12 23ZM12 2.86607C17.0433 2.86607 21.1339 6.9567 21.1339 12C21.1339 17.0433 17.0433 21.1339 12 21.1339C6.9567 21.1339 2.86607 17.0433 2.86607 12C2.86607 6.9567 6.9567 2.86607 12 2.86607Z",fill:t||"#8C8C8C"}),s("path",{d:"M13 7C13 6.73478 12.8946 6.48043 12.7071 6.29289C12.5196 6.10536 12.2652 6 12 6C11.7348 6 11.4804 6.10536 11.2929 6.29289C11.1054 6.48043 11 6.73478 11 7C11 7.26522 11.1054 7.51957 11.2929 7.70711C11.4804 7.89464 11.7348 8 12 8C12.2652 8 12.5196 7.89464 12.7071 7.70711C12.8946 7.51957 13 7.26522 13 7Z",fill:t||"#8C8C8C"}),s("rect",{x:"13",y:"18",width:"2",height:"8",transform:"rotate(-180 13 18)",fill:"#8C8C8C"})]})}function rs({size:e}){return s("svg",{width:e||24,height:e||24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("rect",{x:"12.5",y:"1.5",width:"10",height:"21",rx:"1.5",stroke:"#8C8C8C"}),s("path",{d:"M1 10.5C0.723858 10.5 0.5 10.7239 0.5 11C0.5 11.2761 0.723858 11.5 1 11.5V10.5ZM9.35355 11.3536C9.54882 11.1583 9.54882 10.8417 9.35355 10.6464L6.17157 7.46447C5.97631 7.2692 5.65973 7.2692 5.46447 7.46447C5.2692 7.65973 5.2692 7.97631 5.46447 8.17157L8.29289 11L5.46447 13.8284C5.2692 14.0237 5.2692 14.3403 5.46447 14.5355C5.65973 14.7308 5.97631 14.7308 6.17157 14.5355L9.35355 11.3536ZM1 11.5H9V10.5H1V11.5Z",fill:"#8C8C8C"}),s("path",{d:"M15 2H20C20 2.55228 19.5523 3 19 3H16C15.4477 3 15 2.55228 15 2Z",fill:"#8C8C8C"}),s("circle",{cx:"17.5",cy:"20",r:"1",fill:"#8C8C8C"})]})}function ns({size:e}){return s("svg",{width:e||48,height:e||48,viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("circle",{cx:"15.5004",cy:"10.8002",r:"3.6",stroke:"#0E1F97",strokeWidth:"3"}),s("circle",{cx:"35.2998",cy:"19.7998",r:"3",stroke:"#0E1F97",strokeWidth:"3"}),s("path",{d:"M28.0146 20.3999C29.2496 18.4972 30.705 17.9696 32.2994 18.2728M42.5841 20.3999C41.3491 18.4972 39.8938 17.9696 38.2994 18.2728",stroke:"#0E1F97",strokeWidth:"3"}),s("path",{d:"M12.5 41.7002V30.6002H9.5V19.2002H21.5V30.6002H18.5V41.7002",stroke:"#0E1F97",strokeWidth:"3"}),s("path",{d:"M32.2998 41.7001V37.2001H29.2998L33.4998 27.6001H37.0998L41.2998 37.2001H38.2998V41.7001",stroke:"#0E1F97",strokeWidth:"3"})]})}const Un=({size:e,color:t})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:e||24,height:e||24,fill:t||"rgba(0,0,0,0.6)",children:s("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})}),is=({size:e,color:t})=>s("svg",{width:e?e*3:39,height:e||13,viewBox:"0 0 39 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M5.88952 5.98264C6.70681 5.48369 7.28459 4.49575 7.28459 3.40906C7.28459 1.34699 5.65607 0 3.60916 0C1.56225 0 0 1.34743 0 3.67543V5.42175H1.49815V3.675C1.49815 2.27819 2.44624 1.49642 3.61046 1.49642C4.77468 1.49642 5.60583 2.29465 5.60583 3.40906C5.60583 4.52347 4.70798 5.42132 3.54376 5.42132H1.49815V9.21326H2.995V6.75186H3.57711C5.04061 6.75186 6.00516 7.88272 6.03851 9.21326H7.60163C7.57391 7.89658 6.94373 6.56778 5.89082 5.98264",fill:t||"#8C8C8C"}),s("path",{d:"M37.5857 2.6262V3.57429C37.1863 2.97573 36.4877 2.57812 35.4902 2.57812C33.6608 2.57812 32.2969 4.04163 32.2969 5.92092C32.2969 7.78332 33.6608 9.26371 35.4902 9.26371C36.4379 9.26371 37.1201 8.88127 37.5857 8.29916V9.21391H38.9994V2.6262H37.5857ZM35.6566 7.83183C34.592 7.83183 33.8271 7.00025 33.8271 5.91919C33.8271 4.83813 34.592 4.00654 35.6566 4.00654C36.7212 4.00654 37.5025 4.83813 37.5025 5.91919C37.5025 7.00025 36.7229 7.83183 35.6566 7.83183Z",fill:t||"#8C8C8C"}),s("path",{d:"M27.5078 6.0384C27.5078 7.33559 26.8426 7.81808 25.9945 7.81808C25.1465 7.81808 24.4812 7.33559 24.4812 6.0384V2.62891H22.9844V5.9717C22.9844 8.16717 24.1152 9.26339 25.9945 9.26339C27.8738 9.26339 29.0047 8.16587 29.0047 5.9717V2.62891H27.5078V6.0384Z",fill:t||"#8C8C8C"}),s("path",{d:"M11.2922 2.57812C9.44578 2.57812 8.01562 4.09143 8.01562 5.93781C8.01562 7.78419 9.44491 9.26371 11.342 9.26371C12.4893 9.26371 13.3209 8.86481 14.003 8.14974L13.1879 7.18519C12.7388 7.58409 12.1735 7.86691 11.3753 7.86691C10.5771 7.86691 9.82865 7.46758 9.59693 6.60264H14.5184C14.578 6.34086 14.6059 6.07286 14.6016 5.80441C14.6016 3.94201 13.1381 2.57812 11.2922 2.57812ZM9.51248 5.42197C9.71214 4.55574 10.4437 3.97536 11.3749 3.97536C12.3061 3.97536 12.938 4.54058 13.1212 5.42197H9.51248Z",fill:t||"#8C8C8C"}),s("path",{d:"M31.4988 0.0664062H30.002V9.2134H31.4988V0.0664062Z",fill:t||"#8C8C8C"}),s("path",{d:"M20.572 3.57429C20.2394 3.00864 19.4745 2.57812 18.4766 2.57812C16.7302 2.57812 15.2832 4.04163 15.2832 5.92092C15.2832 7.78332 16.7302 9.21261 18.4766 9.21261C19.4247 9.21261 20.0232 8.92978 20.4888 8.34637V8.94537C20.4888 10.2426 19.5741 10.7082 18.6927 10.7082C17.8113 10.7082 17.1127 10.275 16.9797 9.32782H15.5162C15.5829 10.991 16.913 12.0565 18.6927 12.0565C20.4724 12.0565 21.9844 11.0421 21.9844 8.84662V2.6262H20.572V3.57429ZM18.6429 7.78202C17.5783 7.78202 16.8134 7.00025 16.8134 5.91962C16.8134 4.839 17.5783 4.00698 18.6429 4.00698C19.7075 4.00698 20.4888 4.83856 20.4888 5.91962C20.4888 7.00068 19.7071 7.78202 18.6429 7.78202Z",fill:t||"#8C8C8C"})]});function os({size:e,color:t}){return s("svg",{width:e||86,height:e||86,viewBox:"0 0 86 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("ellipse",{cx:"43",cy:"43",rx:"40",ry:"40",transform:"rotate(90 43 43)",stroke:t||"#FCB937",strokeWidth:"3"}),s("path",{d:"M40.8789 48.5352L40.5859 25H44.9805L44.6875 48.5352H40.8789ZM42.7832 60.4736C42.002 60.4736 41.3428 60.2051 40.8057 59.668C40.2686 59.1309 40 58.4717 40 57.6904C40 56.8929 40.2686 56.2337 40.8057 55.7129C41.3428 55.1758 42.002 54.9072 42.7832 54.9072C43.5807 54.9072 44.2399 55.1758 44.7607 55.7129C45.2979 56.2337 45.5664 56.8929 45.5664 57.6904C45.5664 58.4717 45.2979 59.1309 44.7607 59.668C44.2399 60.2051 43.5807 60.4736 42.7832 60.4736Z",fill:t||"#FCB937"})]})}function ss(){return s("svg",{width:"113",height:"16",viewBox:"0 0 113 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("path",{d:"M1.35197 12V3.27273H4.6247C5.29515 3.27273 5.85765 3.39773 6.3122 3.64773C6.76958 3.89773 7.11475 4.24148 7.34771 4.67898C7.5835 5.11364 7.7014 5.60795 7.7014 6.16193C7.7014 6.72159 7.5835 7.21875 7.34771 7.65341C7.11191 8.08807 6.7639 8.4304 6.30367 8.6804C5.84345 8.92756 5.27668 9.05114 4.60339 9.05114H2.43435V7.75142H4.39032C4.78237 7.75142 5.10339 7.68324 5.35339 7.54688C5.60339 7.41051 5.78805 7.22301 5.90737 6.98438C6.02953 6.74574 6.0906 6.47159 6.0906 6.16193C6.0906 5.85227 6.02953 5.57955 5.90737 5.34375C5.78805 5.10795 5.60197 4.92472 5.34913 4.79403C5.09913 4.66051 4.77668 4.59375 4.3818 4.59375H2.93293V12H1.35197ZM11.6478 12.1278C11.0086 12.1278 10.4546 11.9872 9.98587 11.706C9.51712 11.4247 9.15349 11.0312 8.89497 10.5256C8.63928 10.0199 8.51144 9.42898 8.51144 8.75284C8.51144 8.0767 8.63928 7.48437 8.89497 6.97585C9.15349 6.46733 9.51712 6.07244 9.98587 5.79119C10.4546 5.50994 11.0086 5.36932 11.6478 5.36932C12.287 5.36932 12.841 5.50994 13.3097 5.79119C13.7785 6.07244 14.1407 6.46733 14.3964 6.97585C14.6549 7.48437 14.7842 8.0767 14.7842 8.75284C14.7842 9.42898 14.6549 10.0199 14.3964 10.5256C14.1407 11.0312 13.7785 11.4247 13.3097 11.706C12.841 11.9872 12.287 12.1278 11.6478 12.1278ZM11.6563 10.892C12.0029 10.892 12.2927 10.7969 12.5256 10.6065C12.7586 10.4134 12.9319 10.1548 13.0455 9.83097C13.162 9.5071 13.2202 9.14631 13.2202 8.74858C13.2202 8.34801 13.162 7.9858 13.0455 7.66193C12.9319 7.33523 12.7586 7.07528 12.5256 6.8821C12.2927 6.68892 12.0029 6.59233 11.6563 6.59233C11.3012 6.59233 11.0058 6.68892 10.77 6.8821C10.537 7.07528 10.3623 7.33523 10.2458 7.66193C10.1322 7.9858 10.0754 8.34801 10.0754 8.74858C10.0754 9.14631 10.1322 9.5071 10.2458 9.83097C10.3623 10.1548 10.537 10.4134 10.77 10.6065C11.0058 10.7969 11.3012 10.892 11.6563 10.892ZM17.1368 12L15.2874 5.45455H16.8598L18.0104 10.0568H18.0701L19.2462 5.45455H20.8016L21.9777 10.0312H22.0417L23.1752 5.45455H24.7519L22.8982 12H21.2917L20.0644 7.5767H19.9749L18.7476 12H17.1368ZM28.4192 12.1278C27.7629 12.1278 27.1962 11.9915 26.7189 11.7188C26.2445 11.4432 25.8794 11.054 25.6237 10.5511C25.368 10.0455 25.2402 9.45028 25.2402 8.76562C25.2402 8.09233 25.368 7.50142 25.6237 6.9929C25.8822 6.48153 26.243 6.08381 26.7061 5.79972C27.1692 5.51278 27.7132 5.36932 28.3382 5.36932C28.7416 5.36932 29.1223 5.43466 29.4802 5.56534C29.841 5.69318 30.1592 5.89205 30.4348 6.16193C30.7132 6.43182 30.932 6.77557 31.091 7.19318C31.2501 7.60795 31.3297 8.10227 31.3297 8.67614V9.14915H25.9646V8.10938H29.851C29.8481 7.81392 29.7842 7.55114 29.6592 7.32102C29.5342 7.08807 29.3595 6.90483 29.1351 6.77131C28.9135 6.63778 28.655 6.57102 28.3595 6.57102C28.0442 6.57102 27.7672 6.64773 27.5285 6.80114C27.2899 6.9517 27.1038 7.15057 26.9703 7.39773C26.8396 7.64205 26.7729 7.91051 26.77 8.20312V9.1108C26.77 9.49148 26.8396 9.81818 26.9788 10.0909C27.118 10.3608 27.3126 10.5682 27.5626 10.7131C27.8126 10.8551 28.1052 10.9261 28.4405 10.9261C28.6649 10.9261 28.868 10.8949 29.0499 10.8324C29.2317 10.767 29.3893 10.6719 29.5229 10.5469C29.6564 10.4219 29.7572 10.267 29.8254 10.0824L31.2658 10.2443C31.1749 10.625 31.0016 10.9574 30.7459 11.2415C30.493 11.5227 30.1692 11.7415 29.7743 11.8977C29.3794 12.0511 28.9277 12.1278 28.4192 12.1278ZM32.5147 12V5.45455H34.0105V6.54545H34.0786C34.198 6.16761 34.4025 5.87642 34.6923 5.67188C34.9849 5.46449 35.3187 5.3608 35.6937 5.3608C35.7789 5.3608 35.8741 5.36506 35.9792 5.37358C36.0872 5.37926 36.1767 5.3892 36.2477 5.40341V6.82244C36.1823 6.79972 36.0786 6.77983 35.9366 6.76278C35.7974 6.7429 35.6625 6.73295 35.5318 6.73295C35.2505 6.73295 34.9977 6.79403 34.7732 6.91619C34.5517 7.03551 34.3769 7.2017 34.2491 7.41477C34.1213 7.62784 34.0573 7.87358 34.0573 8.15199V12H32.5147ZM39.7807 12.1278C39.1245 12.1278 38.5577 11.9915 38.0804 11.7188C37.606 11.4432 37.241 11.054 36.9853 10.5511C36.7296 10.0455 36.6018 9.45028 36.6018 8.76562C36.6018 8.09233 36.7296 7.50142 36.9853 6.9929C37.2438 6.48153 37.6046 6.08381 38.0677 5.79972C38.5307 5.51278 39.0748 5.36932 39.6998 5.36932C40.1032 5.36932 40.4839 5.43466 40.8418 5.56534C41.2026 5.69318 41.5208 5.89205 41.7964 6.16193C42.0748 6.43182 42.2935 6.77557 42.4526 7.19318C42.6117 7.60795 42.6912 8.10227 42.6912 8.67614V9.14915H37.3262V8.10938H41.2126C41.2097 7.81392 41.1458 7.55114 41.0208 7.32102C40.8958 7.08807 40.7211 6.90483 40.4966 6.77131C40.2751 6.63778 40.0165 6.57102 39.7211 6.57102C39.4057 6.57102 39.1287 6.64773 38.8901 6.80114C38.6515 6.9517 38.4654 7.15057 38.3319 7.39773C38.2012 7.64205 38.1344 7.91051 38.1316 8.20312V9.1108C38.1316 9.49148 38.2012 9.81818 38.3404 10.0909C38.4796 10.3608 38.6742 10.5682 38.9242 10.7131C39.1742 10.8551 39.4668 10.9261 39.802 10.9261C40.0265 10.9261 40.2296 10.8949 40.4114 10.8324C40.5932 10.767 40.7509 10.6719 40.8844 10.5469C41.0179 10.4219 41.1188 10.267 41.187 10.0824L42.6273 10.2443C42.5364 10.625 42.3631 10.9574 42.1074 11.2415C41.8546 11.5227 41.5307 11.7415 41.1358 11.8977C40.741 12.0511 40.2893 12.1278 39.7807 12.1278ZM46.3053 12.1151C45.7911 12.1151 45.3308 11.983 44.9246 11.7188C44.5183 11.4545 44.1973 11.071 43.9615 10.5682C43.7257 10.0653 43.6078 9.45455 43.6078 8.7358C43.6078 8.00852 43.7271 7.39489 43.9658 6.89489C44.2073 6.39205 44.5325 6.01278 44.9416 5.7571C45.3507 5.49858 45.8067 5.36932 46.3095 5.36932C46.693 5.36932 47.0084 5.43466 47.2555 5.56534C47.5027 5.69318 47.6987 5.84801 47.8436 6.02983C47.9885 6.20881 48.1007 6.37784 48.1803 6.53693H48.2442V3.27273H49.7911V12H48.274V10.9688H48.1803C48.1007 11.1278 47.9857 11.2969 47.8351 11.4759C47.6845 11.652 47.4857 11.8026 47.2385 11.9276C46.9913 12.0526 46.6803 12.1151 46.3053 12.1151ZM46.7357 10.8494C47.0624 10.8494 47.3408 10.7614 47.5709 10.5852C47.801 10.4062 47.9757 10.1577 48.095 9.83949C48.2144 9.52131 48.274 9.15057 48.274 8.72727C48.274 8.30398 48.2144 7.93608 48.095 7.62358C47.9786 7.31108 47.8053 7.06818 47.5751 6.89489C47.3479 6.72159 47.068 6.63494 46.7357 6.63494C46.3919 6.63494 46.105 6.72443 45.8749 6.90341C45.6448 7.08239 45.4715 7.32955 45.355 7.64489C45.2385 7.96023 45.1803 8.32102 45.1803 8.72727C45.1803 9.13636 45.2385 9.50142 45.355 9.82244C45.4743 10.1406 45.649 10.392 45.8791 10.5767C46.1121 10.7585 46.3976 10.8494 46.7357 10.8494ZM54.2396 12V3.27273H55.7822V6.53693H55.8462C55.9257 6.37784 56.0379 6.20881 56.1828 6.02983C56.3277 5.84801 56.5237 5.69318 56.7709 5.56534C57.018 5.43466 57.3334 5.36932 57.7169 5.36932C58.2226 5.36932 58.6785 5.49858 59.0848 5.7571C59.4939 6.01278 59.8178 6.39205 60.0564 6.89489C60.2979 7.39489 60.4186 8.00852 60.4186 8.7358C60.4186 9.45455 60.3007 10.0653 60.0649 10.5682C59.8291 11.071 59.5081 11.4545 59.1018 11.7188C58.6956 11.983 58.2354 12.1151 57.7212 12.1151C57.3462 12.1151 57.0351 12.0526 56.7879 11.9276C56.5408 11.8026 56.3419 11.652 56.1913 11.4759C56.0436 11.2969 55.9285 11.1278 55.8462 10.9688H55.7567V12H54.2396ZM55.7524 8.72727C55.7524 9.15057 55.8121 9.52131 55.9314 9.83949C56.0535 10.1577 56.2283 10.4062 56.4555 10.5852C56.6856 10.7614 56.9641 10.8494 57.2908 10.8494C57.6317 10.8494 57.9172 10.7585 58.1473 10.5767C58.3774 10.392 58.5507 10.1406 58.6672 9.82244C58.7865 9.50142 58.8462 9.13636 58.8462 8.72727C58.8462 8.32102 58.7879 7.96023 58.6714 7.64489C58.555 7.32955 58.3817 7.08239 58.1516 6.90341C57.9214 6.72443 57.6345 6.63494 57.2908 6.63494C56.9612 6.63494 56.6814 6.72159 56.4513 6.89489C56.2212 7.06818 56.0464 7.31108 55.9271 7.62358C55.8106 7.93608 55.7524 8.30398 55.7524 8.72727ZM62.3462 14.4545C62.136 14.4545 61.9414 14.4375 61.7624 14.4034C61.5862 14.3722 61.4456 14.3352 61.3405 14.2926L61.6985 13.0909C61.9229 13.1563 62.1232 13.1875 62.2993 13.1847C62.4754 13.1818 62.6303 13.1264 62.7638 13.0185C62.9002 12.9134 63.0152 12.7372 63.109 12.4901L63.2411 12.1364L60.8675 5.45455H62.5039L64.0124 10.3977H64.0806L65.5933 5.45455H67.234L64.6132 12.7926C64.4911 13.1392 64.3291 13.4361 64.1274 13.6832C63.9257 13.9332 63.6786 14.1236 63.386 14.2543C63.0962 14.3878 62.7496 14.4545 62.3462 14.4545Z",fill:"#8C8C8C"}),s("path",{d:"M77.3427 8.45085C78.2228 7.91285 78.8451 6.84759 78.8451 5.67586C78.8451 3.45241 77.0913 2 74.8869 2C72.6825 2 71 3.45288 71 5.96307V7.84606H72.6134V5.9626C72.6134 4.45649 73.6345 3.61353 74.8883 3.61353C76.142 3.61353 77.0371 4.47423 77.0371 5.67586C77.0371 6.87748 76.0702 7.8456 74.8164 7.8456H72.6134V11.9343H74.2254V9.28026H74.8523C76.4284 9.28026 77.4672 10.4996 77.5031 11.9343H79.1865C79.1567 10.5146 78.478 9.08178 77.3441 8.45085",fill:"#BD7DFF"}),s("path",{d:"M111.477 4.83175V5.85404C111.047 5.20862 110.295 4.77991 109.221 4.77991C107.251 4.77991 105.782 6.35794 105.782 8.38431C105.782 10.3925 107.251 11.9887 109.221 11.9887C110.241 11.9887 110.976 11.5763 111.477 10.9487V11.935H113V4.83175H111.477ZM109.4 10.4448C108.253 10.4448 107.43 9.54811 107.43 8.38244C107.43 7.21678 108.253 6.32012 109.4 6.32012C110.546 6.32012 111.388 7.21678 111.388 8.38244C111.388 9.54811 110.548 10.4448 109.4 10.4448Z",fill:"#BD7DFF"}),s("path",{d:"M100.624 8.51104C100.624 9.90974 99.908 10.43 98.9947 10.43C98.0814 10.43 97.3649 9.90974 97.3649 8.51104V4.83472H95.7529V8.43912C95.7529 10.8064 96.9708 11.9884 98.9947 11.9884C101.019 11.9884 102.236 10.805 102.236 8.43912V4.83472H100.624V8.51104Z",fill:"#BD7DFF"}),s("path",{d:"M83.161 4.77991C81.1725 4.77991 79.6323 6.41165 79.6323 8.40252C79.6323 10.3934 81.1716 11.9887 83.2146 11.9887C84.4502 11.9887 85.3458 11.5586 86.0804 10.7876L85.2026 9.74752C84.7189 10.1776 84.1102 10.4826 83.2505 10.4826C82.3909 10.4826 81.5848 10.052 81.3353 9.11939H86.6355C86.6996 8.83711 86.7297 8.54814 86.725 8.25869C86.725 6.25053 85.1489 4.77991 83.161 4.77991ZM81.2443 7.84631C81.4594 6.91229 82.2472 6.28649 83.25 6.28649C84.2529 6.28649 84.9334 6.89594 85.1307 7.84631H81.2443Z",fill:"#BD7DFF"}),s("path",{d:"M104.923 2.07153H103.311V11.9344H104.923V2.07153Z",fill:"#BD7DFF"}),s("path",{d:"M93.1547 5.85404C92.7965 5.24412 91.9727 4.77991 90.8981 4.77991C89.0174 4.77991 87.459 6.35794 87.459 8.38431C87.459 10.3925 89.0174 11.9336 90.8981 11.9336C91.9191 11.9336 92.5637 11.6287 93.0651 10.9996V11.6455C93.0651 13.0442 92.08 13.5462 91.1308 13.5462C90.1816 13.5462 89.4292 13.0792 89.286 12.0578H87.7099C87.7818 13.8512 89.2142 15 91.1308 15C93.0474 15 94.6758 13.9063 94.6758 11.539V4.83175H93.1547V5.85404ZM91.0772 10.3911C89.9307 10.3911 89.1069 9.54811 89.1069 8.38291C89.1069 7.21772 89.9307 6.32058 91.0772 6.32058C92.2237 6.32058 93.0651 7.21725 93.0651 8.38291C93.0651 9.54858 92.2232 10.3911 91.0772 10.3911Z",fill:"#BD7DFF"})]})}const as=({size:e=100,color:t="#5DA600"})=>s("svg",{width:e,height:e,viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("ellipse",{cx:"50.0001",cy:"49.9999",rx:"46.5116",ry:"46.5116",transform:"rotate(90 50.0001 49.9999)",stroke:t,strokeWidth:"3.48837"}),s("path",{d:"M74.4185 36.0469L44.7753 63.9539L30.2325 50.2627",stroke:t,strokeWidth:"3.48837",strokeLinecap:"round",strokeLinejoin:"round"})]}),ls=()=>s("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"9.5",stroke:"#7E57C5"}),s("rect",{x:"3",y:"3.5",width:"14",height:"14",rx:"7",fill:"#7E57C5"})]}),cs=()=>s("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"9.5",stroke:"#8C8C8C"})}),ds=()=>s("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"3.5",fill:"#7E57C5",stroke:"#7E57C5"}),s("path",{d:"M16.6335 6.71849C16.243 6.32797 15.6098 6.32797 15.2193 6.71849L9.09149 12.8463L5.12147 8.8763C4.73095 8.48577 4.09778 8.48577 3.70726 8.8763C3.31674 9.26682 3.31674 9.89999 3.70726 10.2905L9.09541 15.6787L16.6335 8.1327C17.0241 7.74218 17.0241 7.10902 16.6335 6.71849Z",fill:"white"})]}),us=()=>s("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("rect",{x:"0.5",y:"1",width:"19",height:"19",rx:"3.5",stroke:"#8C8C8C"})}),fs=({color:e="#237804"})=>s("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.15385 2.15377C7.35887 2.35879 7.35887 2.69121 7.15385 2.89623L2.67894 7.3712L0.153877 4.84616C-0.0511485 4.64114 -0.0511485 4.30872 0.153877 4.1037C0.358901 3.89867 0.691313 3.89867 0.896338 4.1037L2.67894 5.88628L6.41139 2.15377C6.61641 1.94874 6.94882 1.94874 7.15385 2.15377Z",fill:e})}),hs=({color:e="#262626"})=>s("svg",{width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.86967 0.228964C9.07469 0.433989 9.07469 0.766401 8.86967 0.971426L4.99844 4.84266L1.12721 0.971426C0.922181 0.766401 0.922181 0.433989 1.12721 0.228964C1.33223 0.023939 1.66464 0.023939 1.86967 0.228964L4.99844 3.35773L8.12721 0.228964C8.33223 0.023939 8.66464 0.023939 8.86967 0.228964Z",fill:e})}),ps=({size:e,color:t="#ffffff"})=>s("svg",{width:e||40,height:e||40,viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("g",{clipPath:"url(#clip0_2629_17763)",children:[s("path",{d:"M3.99993 17C3.53533 17 3.30303 17 3.10985 16.9616C2.31642 16.8038 1.69618 16.1835 1.5384 15.3901C1.49998 15.1969 1.49999 14.9646 1.5 14.5L1.50019 7.19993C1.50022 6.07985 1.50024 5.51981 1.71823 5.092C1.90998 4.71568 2.21594 4.40973 2.59226 4.21799C3.02008 4.00001 3.58012 4.00001 4.7002 4.00002L17 4.00004C17.4646 4.00004 17.6969 4.00005 17.8901 4.03847C18.6835 4.19628 19.3037 4.81649 19.4615 5.60989C19.4999 5.80308 19.4999 6.03539 19.4999 6.50001",stroke:t}),s("path",{d:"M6.7002 6.50002L18.2998 6.50002C18.8681 6.50002 19.2648 6.50021 19.5732 6.52541C19.8753 6.55011 20.0491 6.59615 20.1807 6.6631C20.4629 6.80691 20.6931 7.03711 20.8369 7.31935C20.9039 7.45093 20.9499 7.62472 20.9746 7.92677C20.9998 8.23519 21 8.63191 21 9.20021V15.7998C21 16.3681 20.9998 16.7648 20.9746 17.0733C20.9499 17.3753 20.9039 17.5491 20.8369 17.6807C20.6931 17.9629 20.4629 18.1931 20.1807 18.3369C20.0491 18.4039 19.8753 18.4499 19.5732 18.4746C19.2648 18.4998 18.8681 18.5 18.2998 18.5H6.7002C6.13188 18.5 5.73519 18.4998 5.42676 18.4746C5.12471 18.4499 4.95091 18.4039 4.81934 18.3369C4.53709 18.1931 4.30689 17.9629 4.16309 17.6807C4.09614 17.5491 4.05009 17.3753 4.02539 17.0733C4.0002 16.7648 3.99999 16.3681 4 15.7998L4 9.20021C4.00001 8.63192 4.00018 8.23519 4.02539 7.92677C4.05012 7.6245 4.09703 7.45096 4.16406 7.31935C4.30788 7.03712 4.5371 6.80691 4.81934 6.6631C4.95099 6.59606 5.12529 6.55012 5.42773 6.52541C5.73609 6.50024 6.13215 6.50001 6.7002 6.50002Z",stroke:t}),s("path",{d:"M4 16L7.66852 12.7391C8.11271 12.3443 8.80118 12.4217 9.14662 12.9053L11 15.5L14.6647 10.6138C15.075 10.0666 15.9013 10.0837 16.2887 10.6472L21 17.5",stroke:t}),s("path",{d:"M9 18.5L11 15.5L14.6647 10.6138C15.075 10.0666 15.9013 10.0837 16.2887 10.6472L21 17.5",stroke:t}),s("circle",{cx:"7.5",cy:"10",r:"1",fill:t})]}),s("defs",{children:s("clipPath",{id:"clip0_2629_17763",children:s("rect",{width:"22",height:"22",fill:"white",transform:"translate(0.5 1.90735e-05)"})})})]}),_s=({size:e=40,color:t="#ffffff"})=>s("svg",{width:e,height:e,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s("g",{clipPath:"url(#clip0_2629_17707)",children:[s("path",{d:"M8.7041 3.67972H15.2959C15.3348 3.67968 15.3734 3.69153 15.4053 3.7139C15.4211 3.72502 15.4347 3.73877 15.4463 3.75394L15.4746 3.80472L16.1699 5.75394L16.2881 6.08597H19.5625C20.236 6.08597 20.7812 6.63125 20.7812 7.30472V17.1016C20.7812 17.7751 20.236 18.3203 19.5625 18.3203H4.4375C3.76403 18.3203 3.21875 17.7751 3.21875 17.1016V7.30472C3.21875 6.63125 3.76403 6.08597 4.4375 6.08597H7.71191L7.83008 5.75491L8.52832 3.80374L8.5293 3.80179C8.55486 3.73029 8.62456 3.6798 8.7041 3.67972ZM12 8.00784C9.82464 8.00784 8.0625 9.76998 8.0625 11.9453C8.0625 14.1207 9.82464 15.8828 12 15.8828C14.1754 15.8828 15.9375 14.1207 15.9375 11.9453C15.9375 9.76998 14.1754 8.00784 12 8.00784Z",stroke:t}),s("circle",{cx:"18",cy:"9.00003",r:"1",fill:t})]}),s("defs",{children:s("clipPath",{id:"clip0_2629_17707",children:s("rect",{width:"22",height:"22",fill:t})})})]}),gs=()=>s("div",{}),fe={WARNING:"warning_icon",SPINNER:"spinner",ERROR:"failure",AGE:"age",ANDROID:"android",ARROW:"arrow",APPLE:"apple",BACK:"back",BIOMETRIC:"biometricIcon",INFO:"info",TO_MOBILE:"toMobile",UNDERAGE:"underage",CROSS:"cross",REGULA_LOGO:"regulaLogo",POWERED_BY:"signature",SUCCESS:"success",DEFAULT:"empty",CIRCLE_SELECTED:"radio_selected",CIRCLE_NORMAL:"radio_normal",SQUARE_SELECTED:"square_selected",SQUARE_NORMAL:"square_normal",SELECTED:"selected",CHEVRON_DOWN:"chevronDown",CLOSE_ICON:"close_icon",GALLERY_ICON:"gallery",CAMERA_ICON:"camera"},_r={[fe.WARNING]:os,[fe.SPINNER]:Ln,[fe.ERROR]:Go,[fe.AGE]:Yo,[fe.ANDROID]:Ko,[fe.ARROW]:Xo,[fe.APPLE]:Jo,[fe.BACK]:Qo,[fe.BIOMETRIC]:es,[fe.INFO]:ts,[fe.TO_MOBILE]:rs,[fe.UNDERAGE]:ns,[fe.CROSS]:Un,[fe.REGULA_LOGO]:is,[fe.DEFAULT]:gs,[fe.POWERED_BY]:ss,[fe.SUCCESS]:as,[fe.CIRCLE_SELECTED]:ls,[fe.CIRCLE_NORMAL]:cs,[fe.SQUARE_SELECTED]:ds,[fe.SQUARE_NORMAL]:us,[fe.SELECTED]:fs,[fe.CHEVRON_DOWN]:hs,[fe.CLOSE_ICON]:Un,[fe.GALLERY_ICON]:ps,[fe.CAMERA_ICON]:_s},ms=({type:e,size:t,color:r})=>{const n=_r[e]||_r[fe.DEFAULT];return s(n,{size:t,color:r})},Re=({imageId:e,imageURL:t,base64:r,contentMode:n=fr.ASPECT_FILL,cornerRadius:i,backgroundColor:o})=>{const a=h=>{if(h===fr.ASPECT_FILL)return"cover";if(h===fr.ASPECT_FIT)return"contain";if(h===fr.FILL)return"fill"},[l,m]=Ae(!0),g=l&&t,w=()=>{m(!1)};if(r)return s("img",{style:{width:"100%",height:"100%",objectFit:a(n),borderRadius:i,backgroundColor:K(o)||"transparent",display:g?"none":"block"},src:r});if(e){const h=e in _r?e:"default";return s(ms,{type:h})}if(t)return s(Ve,{children:[g&&s("div",{style:{width:"100%",height:"100%",backgroundColor:"#e0e0e0",borderRadius:i}}),s("img",{style:{width:"100%",height:"100%",objectFit:a(n),borderRadius:i,backgroundColor:o,display:g?"none":"block"},src:t,onLoad:w})]})},vs=({signature:e})=>s("footer",{"data-ui":"gui-footer",part:"gui-footer",style:{display:"flex",justifyContent:"center",alignItems:"center",alignContent:"center",height:"100%",width:"100%"},children:s("a",{href:"",children:s(Re,y({},e))})}),bs={display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"18px",height:"36px",minWidth:"36px",border:"none",cursor:"pointer"},ws=({dataTestId:e,responseBody:t,image:r,title:n,backgroundColor:i="transparent",cornerRadius:o,highlightColor:a})=>{var c;const[l,m]=Ae(!1),g=l&&a?a:i,{perform:w}=Ct();return s("button",{"data-ui":"gui-close-button",part:"gui-close-button","data-test":e,onClick:()=>{const v=JSON.parse(JSON.stringify(t));$r(v),w(v,lr.DATA)},className:"hover-button",style:G(y(y({},bs),o&&{borderRadius:o}),{backgroundColor:(c=K(g))!=null?c:"transparent"}),onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),children:[r&&s("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"24px",height:"24px"},children:s(Re,y({},r))}),n&&s("div",{style:{padding:"0 5px"},children:s(Ce,y({},n))})]})},Cs=({closeButton:e})=>s("header",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"center",paddingRight:"16px"},"data-ui":"gui-header",part:"gui-header",children:s("div",{children:e&&s(ws,y({dataTestId:"close-btn"},e))})});function ys(e){var i;const t=/\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g,r=[];let n=0;for(const o of e.matchAll(t)){const[a,l,m]=o,g=(i=o.index)!=null?i:0;g>n&&r.push(e.slice(n,g));const w=m.startsWith("http")?m:`https://${m}`;r.push(s("a",{href:w,target:"_blank",rel:"noopener noreferrer",children:l},g)),n=g+a.length}return n<e.length&&r.push(e.slice(n)),r}function Hn(e){const t=e.split(`
2
+ `);return t.flatMap((r,n)=>{const i=ys(r);return n===t.length-1?i:[...i,s("br",{},"br-"+n)]})}const Ce=({text:e,fontName:t="",fontSize:r="17px",fontColor:n,alignment:i=ur.LEFT,backgroundColor:o,cornerRadius:a=0,htmlFor:l})=>{const m={fontFamily:[t,"-apple-system","BlinkMacSystemFont","sans-serif"].filter(Boolean).join(", "),fontSize:r,color:K(n)||"#000000",textAlign:Pn(i),backgroundColor:K(o)||"transparent",borderRadius:a},g=typeof e=="string"&&e.trim()&&Hn(e);return l?s("label",{"data-ui":"gui-label",part:"gui-label",style:m,htmlFor:l,children:g}):s("div",{"data-ui":"gui-label",part:"gui-label",style:m,children:g})},gr=({title:e,image:t,responseBody:r,backgroundColor:n="transparent",cornerRadius:i,highlightColor:o,dataTestId:a,borderColor:l,borderWidth:m,type:g="RESPONSE_BODY",onClick:w})=>{var T,I;const[h,c]=Ae(!1),v=h&&K(o)?o:n,{perform:p}=Ct(),_=k=>{if(w&&w(k),g!=="RESPONSE_BODY")return;const F=JSON.parse(JSON.stringify(r));$r(F),p(F,lr.DATA)},x={height:"50px",width:"100%",padding:"10px 16px",textAlign:"center",fontSize:"16px",fontWeight:"400",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:5,borderRadius:i||0,borderStyle:l&&m?"solid":void 0,backgroundColor:(T=K(v))!=null?T:"transparent",borderColor:(I=K(l))!=null?I:"none",borderWidth:m!=null?m:0,overflow:"hidden",transition:".3s",outlineColor:zt};return s("button",{"data-ui":"gui-button",part:"gui-button",type:g==="FORM"?"submit":"button","data-test":a,onClick:_,style:x,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[t&&s(Re,y({},t)),e&&s("div",{style:{flexGrow:t?0:1},children:s(Ce,y({},e))})]})},xs=r=>{var n=r,{items:e}=n,t=Ot(n,["items"]);return s("div",{part:"gui-buttons","data-ui":"gui-buttons",style:y(y({},{display:"flex",flexDirection:"row",flexWrap:"wrap",alignItems:"center",alignSelf:"flex-end",justifyContent:"center",gap:"8px",width:"100%",height:"auto",alignContent:"flex-end",paddingTop:"20px"}),t),children:e.map(o=>{var a;return s(gr,y({dataTestId:"button-"+((a=o.title)==null?void 0:a.text)},o),Zo())})})},ht=({children:e,header:t,footer:r,backgroundColor:n="white",buttons:i})=>{const o=t?60:10,a=r?30:10,l={position:"relative",display:"flex",flexGrow:1,flexDirection:"column",alignItems:"center",alignContent:"center",justifyContent:"center",margin:"0 auto",paddingTop:t?o+10+"px":"10px",paddingBottom:r?a+10+"px":"10px",paddingLeft:"20px",paddingRight:"20px",height:"100%",width:"100%",backgroundColor:K(n)};return s("div",{part:"gui-base-container","data-ui":"gui-base-container",id:"base-container",style:y({},l),children:[t&&s("div",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:o},children:s(Cs,{closeButton:t.closeButton})}),s("div",{style:{height:"100%",width:"100%",flex:"1 1 100%",overflow:"hidden"},children:e}),(i==null?void 0:i.length)&&s(xs,{items:i}),r&&s("div",{style:{position:"absolute",bottom:"0",left:"0",width:"100%",height:a},children:s(vs,y({},r))})]})},mr=({text:e,fontName:t="",fontColor:r,alignment:n=ur.LEFT,fontSize:i=17,backgroundColor:o,cornerRadius:a=0})=>s("div",{"data-ui":"gui-description",part:"gui-description",style:{fontFamily:[t,"-apple-system","BlinkMacSystemFont","sans-serif"].filter(Boolean).join(", "),fontSize:i,textAlign:Pn(n),color:K(r)||"#000000",borderRadius:a,backgroundColor:K(o)||"transparent",whiteSpace:"pre-line"},children:e&&Hn(e)}),Es=({header:e,footer:t,image:r,title:n,description:i,buttons:o,backgroundColor:a})=>{const l=qe(null),[m,g]=Ae(!1);return ze(()=>{l.current&&g(l.current.scrollHeight>l.current.clientHeight+2)},[]),s(ht,{header:e,buttons:o,footer:t,backgroundColor:a,children:s("div",{part:"gui-status-screen",style:{display:"flex",justifyContent:m?"flex-start":"center",alignItems:"center",alignContent:"center",flex:1,height:"100%",flexDirection:"column"},children:[r&&s("div",{style:Wo,children:s(Re,y({},r))}),(n==null?void 0:n.text)&&s("div",{ref:l,style:{width:"100%",overflow:m?"auto":"hidden"},children:s("div",{style:{margin:"0 auto",fontSize:"20px",fontWeight:700,maxWidth:"345px",textAlign:"center",lineHeight:"1.2",display:"flex",flexDirection:"column",justifyContent:m?"flex-start":"center",alignItems:"center",alignContent:"center"},children:n&&s(Ce,y({},n))})}),i&&s("div",{style:{lineHeight:"28px",fontWeight:"400",marginTop:"16px"},children:s(mr,y({},i))})]})})},Ss={width:"100%",height:"auto",marginBottom:"32px",aspectRatio:"1.68"},ks={position:"relative",display:"flex",flexDirection:"column",alignItems:"stretch",alignContent:"center",margin:"0 auto",height:"100%",width:"100%",minHeight:"100%",overflow:"auto"},Os=({title:e,header:t,footer:r,image:n,description:i,buttons:o,backgroundColor:a})=>s(ht,{header:t,footer:r,buttons:o,backgroundColor:a,children:s(Ve,{children:s("div",{part:"gui-info-screen-container","data-ui":"gui-info-screen-container",id:"info-screen-container",style:G(y({},ks),{justifyContent:n?"flex-start":"center"}),children:[n&&s("div",{style:Ss,children:s(Re,y({},n))}),e&&s("div",{style:{marginBottom:20,lineHeight:"39.2px"},children:s(Ce,y({},e))}),i&&s("div",{style:{lineHeight:"28px",fontWeight:"400"},children:s(mr,y({},i))})]})})}),Ts=({indicatorColor:e="black"})=>s(Ve,{children:s(Ln,{indicatorColor:e})}),Wn=({progressView:e,footer:t,backgroundColor:r})=>s(ht,{footer:t,backgroundColor:r,children:s("div",{style:{flex:"1 1 100%",display:"flex",justifyContent:"center",alignItems:"center",alignContent:"center",flexDirection:"column",gap:"20px",height:"100%",width:"100%"},children:s(Ts,{indicatorColor:K(e==null?void 0:e.indicatorColor)||"#000000"})})}),Fs=({title:e,description:t,image:r,backgroundColor:n,cornerRadius:i=0,isLastChild:o})=>s("div",{className:"details-item",style:G(y({},{display:"flex",alignItems:"flex-start",justifyContent:"space-between",borderBottom:o?"none":"1px solid #E0E0E0",padding:"16px 0",gap:16}),{backgroundColor:K(n)||"transparent",borderRadius:i}),children:[s("div",{style:{flex:"0 1 auto"},children:[s("div",{style:{marginBottom:5,fontWeight:"bold",lineHeight:"21px"},children:s(Ce,y({},e))}),s("div",{style:{lineHeight:"21px",fontWeight:"400"},children:s(mr,y({},t))})]}),s("div",{style:{aspectRatio:"1 / 1",width:120,height:120,flex:"0 0 120px"},children:s(Re,y({},r))})]}),As={display:"flex",flexDirection:"column",padding:"0 16px"},Is=({items:e,backgroundColor:t,cornerRadius:r=16})=>s("div",{className:"details",style:G(y({},As),{backgroundColor:K(t)||"white",borderRadius:r}),children:e.map((n,i)=>s(Fs,y({isLastChild:i===e.length-1},n),i))}),Vs=({title:e,header:t,footer:r,details:n,buttons:i,backgroundColor:o})=>{const a=qe(null),[l,m]=Ae(!1);return ze(()=>{a.current&&m(a.current.scrollHeight>a.current.clientHeight)},[]),s(ht,{header:t,buttons:i,footer:r,backgroundColor:o,children:s("div",{style:{display:"flex",flexDirection:"column",justifyContent:l?"flex-start":"center",height:"100%",minHeight:"100%",overflow:"auto"},ref:a,children:[s("div",{style:{marginBottom:e?"16px":"0",fontWeight:400,fontSize:"28px"},children:e&&s(Ce,y({},e))}),n&&s(Is,y({},n))]})})};function jn(e,t){for(var r in t)e[r]=t[r];return e}function zr(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function qr(e,t){var r=t(),n=Ae({t:{__:r,u:t}}),i=n[0].t,o=n[1];return ft(function(){i.__=r,i.u=t,Zr(i)&&o({t:i})},[e,r,t]),ze(function(){return Zr(i)&&o({t:i}),e(function(){Zr(i)&&o({t:i})})},[e]),r}function Zr(e){var t,r,n=e.u,i=e.__;try{var o=n();return!((t=i)===(r=o)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch(a){return!0}}function Gr(e){e()}function Yr(e){return e}function Kr(){return[!1,Gr]}var Xr=ft;function vr(e,t){this.props=e,this.context=t}function $n(e,t){function r(i){var o=this.props.ref,a=o==i.ref;return!a&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!a:zr(this.props,i)}function n(i){return this.shouldComponentUpdate=r,rt(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n.type=e,n}(vr.prototype=new Ge).isPureReactComponent=!0,vr.prototype.shouldComponentUpdate=function(e,t){return zr(this.props,e)||zr(this.state,t)};var zn=B.__b;B.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),zn&&zn(e)};var Rs=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function qn(e){function t(r){var n=jn({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=Rs,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zn=function(e,t){return e==null?null:st(st(e).map(t))},Gn={map:Zn,forEach:Zn,count:function(e){return e?st(e).length:0},only:function(e){var t=st(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:st},Ms=B.__e;B.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}Ms(e,t,r,n)};var Yn=B.unmount;function Kn(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=jn({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Kn(n,t,r)})),e}function Xn(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Xn(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Zt(){this.__u=0,this.o=null,this.__b=null}function Jn(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Qn(e){var t,r,n;function i(o){if(t||(t=e()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw t;return rt(r,o)}return i.displayName="Lazy",i.__f=!0,i}function Vt(){this.i=null,this.l=null}B.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Yn&&Yn(e)},(Zt.prototype=new Ge).__c=function(e,t){var r=t.__c,n=this;n.o==null&&(n.o=[]),n.o.push(r);var i=Jn(n.__v),o=!1,a=function(){o||(o=!0,r.__R=null,i?i(l):l())};r.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var m=n.state.__a;n.__v.__k[0]=Xn(m,m.__c.__P,m.__c.__O)}var g;for(n.setState({__a:n.__b=null});g=n.o.pop();)g.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Zt.prototype.componentWillUnmount=function(){this.o=[]},Zt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Kn(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&rt(Ve,null,e.fallback);return i&&(i.__u&=-33),[rt(Ve,null,t.__a?null:e.children),i]};var ei=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function Ds(e){return this.getChildContext=function(){return e.context},e.children}function Ps(e){var t=this,r=e.h;if(t.componentWillUnmount=function(){vt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),!t.v){for(var n=t.__v;n!==null&&!n.__m&&n.__!==null;)n=n.__;t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:n.__m},contains:function(){return!0},insertBefore:function(i,o){this.childNodes.push(i),t.h.insertBefore(i,o)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),t.h.removeChild(i)}}}vt(rt(Ds,{context:t.context},e.__v),t.v)}function ti(e,t){var r=rt(Ps,{__v:e,h:t});return r.containerInfo=t,r}(Vt.prototype=new Ge).__a=function(e){var t=this,r=Jn(t.__v),n=t.l.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),ei(t,e,n)):i()};r?r(o):o()}},Vt.prototype.render=function(e){this.i=null,this.l=new Map;var t=st(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},Vt.prototype.componentDidUpdate=Vt.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){ei(e,r,t)})};var ri=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Ns=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Bs=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ls=/[A-Z0-9]/g,Us=typeof document!="undefined",Hs=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ni(e,t,r){return t.__k==null&&(t.textContent=""),vt(e,t),typeof r=="function"&&r(),e?e.__c:null}function ii(e,t,r){return xn(e,t),typeof r=="function"&&r(),e?e.__c:null}Ge.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ge.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var oi=B.event;function Ws(){}function js(){return this.cancelBubble}function $s(){return this.defaultPrevented}B.event=function(e){return oi&&(e=oi(e)),e.persist=Ws,e.isPropagationStopped=js,e.isDefaultPrevented=$s,e.nativeEvent=e};var Jr,zs={enumerable:!1,configurable:!0,get:function(){return this.class}},si=B.vnode;B.vnode=function(e){typeof e.type=="string"&&(function(t){var r=t.props,n=t.type,i={},o=n.indexOf("-")===-1;for(var a in r){var l=r[a];if(!(a==="value"&&"defaultValue"in r&&l==null||Us&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var m=a.toLowerCase();a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&l===!0?l="":m==="translate"&&l==="no"?l=!1:m[0]==="o"&&m[1]==="n"?m==="ondoubleclick"?a="ondblclick":m!=="onchange"||n!=="input"&&n!=="textarea"||Hs(r.type)?m==="onfocus"?a="onfocusin":m==="onblur"?a="onfocusout":Bs.test(a)&&(a=m):m=a="oninput":o&&Ns.test(a)?a=a.replace(Ls,"-$&").toLowerCase():l===null&&(l=void 0),m==="oninput"&&i[a=m]&&(a="oninputCapture"),i[a]=l}}n=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=st(r.children).forEach(function(g){g.props.selected=i.value.indexOf(g.props.value)!=-1})),n=="select"&&i.defaultValue!=null&&(i.value=st(r.children).forEach(function(g){g.props.selected=i.multiple?i.defaultValue.indexOf(g.props.value)!=-1:i.defaultValue==g.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",zs)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i})(e),e.$$typeof=ri,si&&si(e)};var ai=B.__r;B.__r=function(e){ai&&ai(e),Jr=e.__c};var li=B.diffed;B.diffed=function(e){li&&li(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Jr=null};var ci={ReactCurrentDispatcher:{current:{readContext:function(e){return Jr.__n[e.__c].props.value},useCallback:Nr,useContext:$t,useDebugValue:Br,useDeferredValue:Yr,useEffect:ze,useId:Lr,useImperativeHandle:Pr,useInsertionEffect:Xr,useLayoutEffect:ft,useMemo:jt,useReducer:cr,useRef:qe,useState:Ae,useSyncExternalStore:qr,useTransition:Kr}}},qs="18.3.1";function di(e){return rt.bind(null,e)}function Gt(e){return!!e&&e.$$typeof===ri}function ui(e){return Gt(e)&&e.type===Ve}function fi(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function hi(e){return Gt(e)?Mo.apply(null,arguments):e}function pi(e){return!!e.__k&&(vt(null,e),!0)}function _i(e){return e&&(e.base||e.nodeType===1&&e)||null}var gi=function(e,t){return e(t)},mi=function(e,t){return e(t)},vi=Ve,bi=Gt,ee={useState:Ae,useId:Lr,useReducer:cr,useEffect:ze,useLayoutEffect:ft,useInsertionEffect:Xr,useTransition:Kr,useDeferredValue:Yr,useSyncExternalStore:qr,startTransition:Gr,useRef:qe,useImperativeHandle:Pr,useMemo:jt,useCallback:Nr,useContext:$t,useDebugValue:Br,version:"18.3.1",Children:Gn,render:ni,hydrate:ii,unmountComponentAtNode:pi,createPortal:ti,createElement:rt,createContext:Mr,createFactory:di,cloneElement:hi,createRef:pn,Fragment:Ve,isValidElement:Gt,isElement:bi,isFragment:ui,isMemo:fi,findDOMNode:_i,Component:Ge,PureComponent:vr,memo:$n,forwardRef:qn,flushSync:mi,unstable_batchedUpdates:gi,StrictMode:vi,Suspense:Zt,SuspenseList:Vt,lazy:Qn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ci};const Zs=Object.freeze(Object.defineProperty({__proto__:null,Children:Gn,Component:Ge,Fragment:Ve,PureComponent:vr,StrictMode:vi,Suspense:Zt,SuspenseList:Vt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ci,cloneElement:hi,createContext:Mr,createElement:rt,createFactory:di,createPortal:ti,createRef:pn,default:ee,findDOMNode:_i,flushSync:mi,forwardRef:qn,hydrate:ii,isElement:bi,isFragment:ui,isMemo:fi,isValidElement:Gt,lazy:Qn,memo:$n,render:ni,startTransition:Gr,unmountComponentAtNode:pi,unstable_batchedUpdates:gi,useCallback:Nr,useContext:$t,useDebugValue:Br,useDeferredValue:Yr,useEffect:ze,useErrorBoundary:Bo,useId:Lr,useImperativeHandle:Pr,useInsertionEffect:Xr,useLayoutEffect:ft,useMemo:jt,useReducer:cr,useRef:qe,useState:Ae,useSyncExternalStore:qr,useTransition:Kr,version:qs},Symbol.toStringTag,{value:"Module"}));var Yt=e=>e.type==="checkbox",yt=e=>e instanceof Date,Me=e=>e==null;const wi=e=>typeof e=="object";var Ee=e=>!Me(e)&&!Array.isArray(e)&&wi(e)&&!yt(e),Ci=e=>Ee(e)&&e.target?Yt(e.target)?e.target.checked:e.target.value:e,Gs=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,yi=(e,t)=>e.has(Gs(t)),Ys=e=>{const t=e.constructor&&e.constructor.prototype;return Ee(t)&&t.hasOwnProperty("isPrototypeOf")},Qr=typeof window!="undefined"&&typeof window.HTMLElement!="undefined"&&typeof document!="undefined";function Te(e){let t;const r=Array.isArray(e),n=typeof FileList!="undefined"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(Qr&&(e instanceof Blob||n))&&(r||Ee(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!Ys(e))t=e;else for(const i in e)e.hasOwnProperty(i)&&(t[i]=Te(e[i]));else return e;return t}var br=e=>/^\w*$/.test(e),ye=e=>e===void 0,en=e=>Array.isArray(e)?e.filter(Boolean):[],tn=e=>en(e.replace(/["|']|\]/g,"").split(/\.|\[/)),M=(e,t,r)=>{if(!t||!Ee(e))return r;const n=(br(t)?[t]:tn(t)).reduce((i,o)=>Me(i)?i:i[o],e);return ye(n)||n===e?ye(e[t])?r:e[t]:n},He=e=>typeof e=="boolean",ge=(e,t,r)=>{let n=-1;const i=br(t)?[t]:tn(t),o=i.length,a=o-1;for(;++n<o;){const l=i[n];let m=r;if(n!==a){const g=e[l];m=Ee(g)||Array.isArray(g)?g:isNaN(+i[n+1])?{}:[]}if(l==="__proto__"||l==="constructor"||l==="prototype")return;e[l]=m,e=e[l]}};const wr={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Ye={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},lt={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},xi=ee.createContext(null);xi.displayName="HookFormContext";const rn=()=>ee.useContext(xi);var Ei=(e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(i,o,{get:()=>{const a=o;return t._proxyFormState[a]!==Ye.all&&(t._proxyFormState[a]=!n||Ye.all),r&&(r[a]=!0),e[a]}});return i};const nn=typeof window!="undefined"?ee.useLayoutEffect:ee.useEffect;function Ks(e){const t=rn(),{control:r=t.control,disabled:n,name:i,exact:o}=e||{},[a,l]=ee.useState(r._formState),m=ee.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return nn(()=>r._subscribe({name:i,formState:m.current,exact:o,callback:g=>{!n&&l(y(y({},r._formState),g))}}),[i,n,o]),ee.useEffect(()=>{m.current.isValid&&r._setValid(!0)},[r]),ee.useMemo(()=>Ei(a,r,m.current,!1),[a,r])}var We=e=>typeof e=="string",Si=(e,t,r,n,i)=>We(e)?(n&&t.watch.add(e),M(r,e,i)):Array.isArray(e)?e.map(o=>(n&&t.watch.add(o),M(r,o))):(n&&(t.watchAll=!0),r),on=e=>Me(e)||!wi(e);function ct(e,t,r=new WeakSet){if(on(e)||on(t))return e===t;if(yt(e)&&yt(t))return e.getTime()===t.getTime();const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const o of n){const a=e[o];if(!i.includes(o))return!1;if(o!=="ref"){const l=t[o];if(yt(a)&&yt(l)||Ee(a)&&Ee(l)||Array.isArray(a)&&Array.isArray(l)?!ct(a,l,r):a!==l)return!1}}return!0}function Xs(e){const t=rn(),{control:r=t.control,name:n,defaultValue:i,disabled:o,exact:a,compute:l}=e||{},m=ee.useRef(i),g=ee.useRef(l),w=ee.useRef(void 0);g.current=l;const h=ee.useMemo(()=>r._getWatch(n,m.current),[r,n]),[c,v]=ee.useState(g.current?g.current(h):h);return nn(()=>r._subscribe({name:n,formState:{values:!0},exact:a,callback:p=>{if(!o){const _=Si(n,r._names,p.values||r._formValues,!1,m.current);if(g.current){const x=g.current(_);ct(x,w.current)||(v(x),w.current=x)}else v(_)}}}),[r,o,n,a]),ee.useEffect(()=>r._removeUnmounted()),c}function Js(e){const t=rn(),{name:r,disabled:n,control:i=t.control,shouldUnregister:o,defaultValue:a}=e,l=yi(i._names.array,r),m=ee.useMemo(()=>M(i._formValues,r,M(i._defaultValues,r,a)),[i,r,a]),g=Xs({control:i,name:r,defaultValue:m,exact:!0}),w=Ks({control:i,name:r,exact:!0}),h=ee.useRef(e),c=ee.useRef(void 0),v=ee.useRef(i.register(r,y(G(y({},e.rules),{value:g}),He(e.disabled)?{disabled:e.disabled}:{})));h.current=e;const p=ee.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!M(w.errors,r)},isDirty:{enumerable:!0,get:()=>!!M(w.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!M(w.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!M(w.validatingFields,r)},error:{enumerable:!0,get:()=>M(w.errors,r)}}),[w,r]),_=ee.useCallback(k=>v.current.onChange({target:{value:Ci(k),name:r},type:wr.CHANGE}),[r]),x=ee.useCallback(()=>v.current.onBlur({target:{value:M(i._formValues,r),name:r},type:wr.BLUR}),[r,i._formValues]),T=ee.useCallback(k=>{const F=M(i._fields,r);F&&k&&(F._f.ref={focus:()=>k.focus&&k.focus(),select:()=>k.select&&k.select(),setCustomValidity:V=>k.setCustomValidity(V),reportValidity:()=>k.reportValidity()})},[i._fields,r]),I=ee.useMemo(()=>G(y({name:r,value:g},He(n)||w.disabled?{disabled:w.disabled||n}:{}),{onChange:_,onBlur:x,ref:T}),[r,n,w.disabled,_,x,T,g]);return ee.useEffect(()=>{const k=i._options.shouldUnregister||o,F=c.current;F&&F!==r&&!l&&i.unregister(F),i.register(r,y(y({},h.current.rules),He(h.current.disabled)?{disabled:h.current.disabled}:{}));const V=(q,L)=>{const le=M(i._fields,q);le&&le._f&&(le._f.mount=L)};if(V(r,!0),k){const q=Te(M(i._options.defaultValues,r,h.current.defaultValue));ge(i._defaultValues,r,q),ye(M(i._formValues,r))&&ge(i._formValues,r,q)}return!l&&i.register(r),c.current=r,()=>{(l?k&&!i._state.action:k)?i.unregister(r):V(r,!1)}},[r,i,l,o]),ee.useEffect(()=>{i._setDisabledField({disabled:n,name:r})},[n,r,i]),ee.useMemo(()=>({field:I,formState:w,fieldState:p}),[I,w,p])}const ki=e=>e.render(Js(e));var Qs=(e,t,r,n,i)=>t?G(y({},r[e]),{types:G(y({},r[e]&&r[e].types?r[e].types:{}),{[n]:i||!0})}):{},Kt=e=>Array.isArray(e)?e:[e],Oi=()=>{let e=[];return{get observers(){return e},next:i=>{for(const o of e)o.next&&o.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(o=>o!==i)}}),unsubscribe:()=>{e=[]}}};function Ti(e,t){const r={};for(const n in e)if(e.hasOwnProperty(n)){const i=e[n],o=t[n];if(i&&Ee(i)&&o){const a=Ti(i,o);Ee(a)&&(r[n]=a)}else e[n]&&(r[n]=o)}return r}var Ne=e=>Ee(e)&&!Object.keys(e).length,sn=e=>e.type==="file",Ke=e=>typeof e=="function",Cr=e=>{if(!Qr)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Fi=e=>e.type==="select-multiple",an=e=>e.type==="radio",ea=e=>an(e)||Yt(e),ln=e=>Cr(e)&&e.isConnected;function ta(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=ye(e)?n++:e[t[n++]];return e}function ra(e){for(const t in e)if(e.hasOwnProperty(t)&&!ye(e[t]))return!1;return!0}function Se(e,t){const r=Array.isArray(t)?t:br(t)?[t]:tn(t),n=r.length===1?e:ta(e,r),i=r.length-1,o=r[i];return n&&delete n[o],i!==0&&(Ee(n)&&Ne(n)||Array.isArray(n)&&ra(n))&&Se(e,r.slice(0,-1)),e}var na=e=>{for(const t in e)if(Ke(e[t]))return!0;return!1};function Ai(e){return Array.isArray(e)||Ee(e)&&!na(e)}function cn(e,t={}){for(const r in e)Ai(e[r])?(t[r]=Array.isArray(e[r])?[]:{},cn(e[r],t[r])):Me(e[r])||(t[r]=!0);return t}function Rt(e,t,r){r||(r=cn(t));for(const n in e)Ai(e[n])?ye(t)||on(r[n])?r[n]=cn(e[n],Array.isArray(e[n])?[]:{}):Rt(e[n],Me(t)?{}:t[n],r[n]):r[n]=!ct(e[n],t[n]);return r}const Ii={value:!1,isValid:!1},Vi={value:!0,isValid:!0};var Ri=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!ye(e[0].attributes.value)?ye(e[0].value)||e[0].value===""?Vi:{value:e[0].value,isValid:!0}:Vi:Ii}return Ii},Mi=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>ye(e)?e:t?e===""?NaN:e&&+e:r&&We(e)?new Date(e):n?n(e):e;const Di={isValid:!1,value:null};var Pi=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,Di):Di;function Ni(e){const t=e.ref;return sn(t)?t.files:an(t)?Pi(e.refs).value:Fi(t)?[...t.selectedOptions].map(({value:r})=>r):Yt(t)?Ri(e.refs).value:Mi(ye(t.value)?e.ref.value:t.value,e)}var ia=(e,t,r,n)=>{const i={};for(const o of e){const a=M(t,o);a&&ge(i,o,a._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},yr=e=>e instanceof RegExp,Xt=e=>ye(e)?e:yr(e)?e.source:Ee(e)?yr(e.value)?e.value.source:e.value:e,Bi=e=>({isOnSubmit:!e||e===Ye.onSubmit,isOnBlur:e===Ye.onBlur,isOnChange:e===Ye.onChange,isOnAll:e===Ye.all,isOnTouch:e===Ye.onTouched});const Li="AsyncFunction";var oa=e=>!!e&&!!e.validate&&!!(Ke(e.validate)&&e.validate.constructor.name===Li||Ee(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===Li)),sa=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),Ui=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const Jt=(e,t,r,n)=>{for(const o of r||Object.keys(e)){const a=M(e,o);if(a){const i=a,{_f:l}=i,m=Ot(i,["_f"]);if(l){if(l.refs&&l.refs[0]&&t(l.refs[0],o)&&!n)return!0;if(l.ref&&t(l.ref,l.name)&&!n)return!0;if(Jt(m,t))break}else if(Ee(m)&&Jt(m,t))break}}};function Hi(e,t,r){const n=M(e,r);if(n||br(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const o=i.join("."),a=M(t,o),l=M(e,o);if(a&&!Array.isArray(a)&&r!==o)return{name:r};if(l&&l.type)return{name:o,error:l};if(l&&l.root&&l.root.type)return{name:`${o}.root`,error:l.root};i.pop()}return{name:r}}var aa=(e,t,r,n)=>{r(e);const a=e,{name:i}=a,o=Ot(a,["name"]);return Ne(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(l=>t[l]===(!n||Ye.all))},la=(e,t,r)=>!e||!t||e===t||Kt(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n))),ca=(e,t,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?n.isOnChange:i.isOnChange)?e:!0,da=(e,t)=>!en(M(e,t)).length&&Se(e,t),ua=(e,t,r)=>{const n=Kt(M(e,r));return ge(n,"root",t[r]),ge(e,r,n),e};function Wi(e,t,r="validate"){if(We(e)||Array.isArray(e)&&e.every(We)||He(e)&&!e)return{type:r,message:We(e)?e:"",ref:t}}var Mt=e=>Ee(e)&&!yr(e)?e:{value:e,message:""},ji=(e,t,r,n,i,o)=>me(null,null,function*(){const{ref:a,refs:l,required:m,maxLength:g,minLength:w,min:h,max:c,pattern:v,validate:p,name:_,valueAsNumber:x,mount:T}=e._f,I=M(r,_);if(!T||t.has(_))return{};const k=l?l[0]:a,F=W=>{i&&k.reportValidity&&(k.setCustomValidity(He(W)?"":W||""),k.reportValidity())},V={},q=an(a),L=Yt(a),le=q||L,de=(x||sn(a))&&ye(a.value)&&ye(I)||Cr(a)&&a.value===""||I===""||Array.isArray(I)&&!I.length,re=Qs.bind(null,_,n,V),J=(W,Y,oe,ve=lt.maxLength,be=lt.minLength)=>{const xe=W?Y:oe;V[_]=y({type:W?ve:be,message:xe,ref:a},re(W?ve:be,xe))};if(o?!Array.isArray(I)||!I.length:m&&(!le&&(de||Me(I))||He(I)&&!I||L&&!Ri(l).isValid||q&&!Pi(l).isValid)){const{value:W,message:Y}=We(m)?{value:!!m,message:m}:Mt(m);if(W&&(V[_]=y({type:lt.required,message:Y,ref:k},re(lt.required,Y)),!n))return F(Y),V}if(!de&&(!Me(h)||!Me(c))){let W,Y;const oe=Mt(c),ve=Mt(h);if(!Me(I)&&!isNaN(I)){const be=a.valueAsNumber||I&&+I;Me(oe.value)||(W=be>oe.value),Me(ve.value)||(Y=be<ve.value)}else{const be=a.valueAsDate||new Date(I),xe=Z=>new Date(new Date().toDateString()+" "+Z),je=a.type=="time",ue=a.type=="week";We(oe.value)&&I&&(W=je?xe(I)>xe(oe.value):ue?I>oe.value:be>new Date(oe.value)),We(ve.value)&&I&&(Y=je?xe(I)<xe(ve.value):ue?I<ve.value:be<new Date(ve.value))}if((W||Y)&&(J(!!W,oe.message,ve.message,lt.max,lt.min),!n))return F(V[_].message),V}if((g||w)&&!de&&(We(I)||o&&Array.isArray(I))){const W=Mt(g),Y=Mt(w),oe=!Me(W.value)&&I.length>+W.value,ve=!Me(Y.value)&&I.length<+Y.value;if((oe||ve)&&(J(oe,W.message,Y.message),!n))return F(V[_].message),V}if(v&&!de&&We(I)){const{value:W,message:Y}=Mt(v);if(yr(W)&&!I.match(W)&&(V[_]=y({type:lt.pattern,message:Y,ref:a},re(lt.pattern,Y)),!n))return F(Y),V}if(p){if(Ke(p)){const W=yield p(I,r),Y=Wi(W,k);if(Y&&(V[_]=y(y({},Y),re(lt.validate,Y.message)),!n))return F(Y.message),V}else if(Ee(p)){let W={};for(const Y in p){if(!Ne(W)&&!n)break;const oe=Wi(yield p[Y](I,r),k,Y);oe&&(W=y(y({},oe),re(Y,oe.message)),F(oe.message),n&&(V[_]=W))}if(!Ne(W)&&(V[_]=y({ref:k},W),!n))return V}}return F(!0),V});const fa={mode:Ye.onSubmit,reValidateMode:Ye.onChange,shouldFocusError:!0};function ha(e={}){let t=y(y({},fa),e),r={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ke(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},i=Ee(t.defaultValues)||Ee(t.values)?Te(t.defaultValues||t.values)||{}:{},o=t.shouldUnregister?{}:Te(i),a={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},m,g=0;const w={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let h=y({},w);const c={array:Oi(),state:Oi()},v=t.criteriaMode===Ye.all,p=f=>C=>{clearTimeout(g),g=setTimeout(f,C)},_=f=>me(null,null,function*(){if(!t.disabled&&(w.isValid||h.isValid||f)){const C=t.resolver?Ne((yield L()).errors):yield de(n,!0);C!==r.isValid&&c.state.next({isValid:C})}}),x=(f,C)=>{!t.disabled&&(w.isValidating||w.validatingFields||h.isValidating||h.validatingFields)&&((f||Array.from(l.mount)).forEach(S=>{S&&(C?ge(r.validatingFields,S,C):Se(r.validatingFields,S))}),c.state.next({validatingFields:r.validatingFields,isValidating:!Ne(r.validatingFields)}))},T=(f,C=[],S,D,A=!0,R=!0)=>{if(D&&S&&!t.disabled){if(a.action=!0,R&&Array.isArray(M(n,f))){const U=S(M(n,f),D.argA,D.argB);A&&ge(n,f,U)}if(R&&Array.isArray(M(r.errors,f))){const U=S(M(r.errors,f),D.argA,D.argB);A&&ge(r.errors,f,U),da(r.errors,f)}if((w.touchedFields||h.touchedFields)&&R&&Array.isArray(M(r.touchedFields,f))){const U=S(M(r.touchedFields,f),D.argA,D.argB);A&&ge(r.touchedFields,f,U)}(w.dirtyFields||h.dirtyFields)&&(r.dirtyFields=Rt(i,o)),c.state.next({name:f,isDirty:J(f,C),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else ge(o,f,C)},I=(f,C)=>{ge(r.errors,f,C),c.state.next({errors:r.errors})},k=f=>{r.errors=f,c.state.next({errors:r.errors,isValid:!1})},F=(f,C,S,D)=>{const A=M(n,f);if(A){const R=M(o,f,ye(S)?M(i,f):S);ye(R)||D&&D.defaultChecked||C?ge(o,f,C?R:Ni(A._f)):oe(f,R),a.mount&&_()}},V=(f,C,S,D,A)=>{let R=!1,U=!1;const X={name:f};if(!t.disabled){if(!S||D){(w.isDirty||h.isDirty)&&(U=r.isDirty,r.isDirty=X.isDirty=J(),R=U!==X.isDirty);const j=ct(M(i,f),C);U=!!M(r.dirtyFields,f),j?Se(r.dirtyFields,f):ge(r.dirtyFields,f,!0),X.dirtyFields=r.dirtyFields,R=R||(w.dirtyFields||h.dirtyFields)&&U!==!j}if(S){const j=M(r.touchedFields,f);j||(ge(r.touchedFields,f,S),X.touchedFields=r.touchedFields,R=R||(w.touchedFields||h.touchedFields)&&j!==S)}R&&A&&c.state.next(X)}return R?X:{}},q=(f,C,S,D)=>{const A=M(r.errors,f),R=(w.isValid||h.isValid)&&He(C)&&r.isValid!==C;if(t.delayError&&S?(m=p(()=>I(f,S)),m(t.delayError)):(clearTimeout(g),m=null,S?ge(r.errors,f,S):Se(r.errors,f)),(S?!ct(A,S):A)||!Ne(D)||R){const U=G(y(y({},D),R&&He(C)?{isValid:C}:{}),{errors:r.errors,name:f});r=y(y({},r),U),c.state.next(U)}},L=f=>me(null,null,function*(){x(f,!0);const C=yield t.resolver(o,t.context,ia(f||l.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return x(f),C}),le=f=>me(null,null,function*(){const{errors:C}=yield L(f);if(f)for(const S of f){const D=M(C,S);D?ge(r.errors,S,D):Se(r.errors,S)}else r.errors=C;return C}),de=(D,A,...R)=>me(null,[D,A,...R],function*(f,C,S={valid:!0}){for(const X in f){const j=f[X];if(j){const U=j,{_f:ce}=U,De=Ot(U,["_f"]);if(ce){const z=l.array.has(ce.name),Q=j._f&&oa(j._f);Q&&w.validatingFields&&x([ce.name],!0);const H=yield ji(j,l.disabled,o,v,t.shouldUseNativeValidation&&!C,z);if(Q&&w.validatingFields&&x([ce.name]),H[ce.name]&&(S.valid=!1,C))break;!C&&(M(H,ce.name)?z?ua(r.errors,H,ce.name):ge(r.errors,ce.name,H[ce.name]):Se(r.errors,ce.name))}!Ne(De)&&(yield de(De,C,S))}}return S.valid}),re=()=>{for(const f of l.unMount){const C=M(n,f);C&&(C._f.refs?C._f.refs.every(S=>!ln(S)):!ln(C._f.ref))&&Xe(f)}l.unMount=new Set},J=(f,C)=>!t.disabled&&(f&&C&&ge(o,f,C),!ct(Z(),i)),W=(f,C,S)=>Si(f,l,y({},a.mount?o:ye(C)?i:We(f)?{[f]:C}:C),S,C),Y=f=>en(M(a.mount?o:i,f,t.shouldUnregister?M(i,f,[]):[])),oe=(f,C,S={})=>{const D=M(n,f);let A=C;if(D){const R=D._f;R&&(!R.disabled&&ge(o,f,Mi(C,R)),A=Cr(R.ref)&&Me(C)?"":C,Fi(R.ref)?[...R.ref.options].forEach(U=>U.selected=A.includes(U.value)):R.refs?Yt(R.ref)?R.refs.forEach(U=>{(!U.defaultChecked||!U.disabled)&&(Array.isArray(A)?U.checked=!!A.find(X=>X===U.value):U.checked=A===U.value||!!A)}):R.refs.forEach(U=>U.checked=U.value===A):sn(R.ref)?R.ref.value="":(R.ref.value=A,R.ref.type||c.state.next({name:f,values:Te(o)})))}(S.shouldDirty||S.shouldTouch)&&V(f,A,S.shouldTouch,S.shouldDirty,!0),S.shouldValidate&&ue(f)},ve=(f,C,S)=>{for(const D in C){if(!C.hasOwnProperty(D))return;const A=C[D],R=f+"."+D,U=M(n,R);(l.array.has(f)||Ee(A)||U&&!U._f)&&!yt(A)?ve(R,A,S):oe(R,A,S)}},be=(f,C,S={})=>{const D=M(n,f),A=l.array.has(f),R=Te(C);ge(o,f,R),A?(c.array.next({name:f,values:Te(o)}),(w.isDirty||w.dirtyFields||h.isDirty||h.dirtyFields)&&S.shouldDirty&&c.state.next({name:f,dirtyFields:Rt(i,o),isDirty:J(f,R)})):D&&!D._f&&!Me(R)?ve(f,R,S):oe(f,R,S),Ui(f,l)&&c.state.next(G(y({},r),{name:f})),c.state.next({name:a.mount?f:void 0,values:Te(o)})},xe=f=>me(null,null,function*(){a.mount=!0;const C=f.target;let S=C.name,D=!0;const A=M(n,S),R=j=>{D=Number.isNaN(j)||yt(j)&&isNaN(j.getTime())||ct(j,M(o,S,j))},U=Bi(t.mode),X=Bi(t.reValidateMode);if(A){let j,ce;const De=C.type?Ni(A._f):Ci(f),z=f.type===wr.BLUR||f.type===wr.FOCUS_OUT,Q=!sa(A._f)&&!t.resolver&&!M(r.errors,S)&&!A._f.deps||ca(z,M(r.touchedFields,S),r.isSubmitted,X,U),H=Ui(S,l,z);ge(o,S,De),z?(!C||!C.readOnly)&&(A._f.onBlur&&A._f.onBlur(f),m&&m(0)):A._f.onChange&&A._f.onChange(f);const se=V(S,De,z),Le=!Ne(se)||H;if(!z&&c.state.next({name:S,type:f.type,values:Te(o)}),Q)return(w.isValid||h.isValid)&&(t.mode==="onBlur"?z&&_():z||_()),Le&&c.state.next(y({name:S},H?{}:se));if(!z&&H&&c.state.next(y({},r)),t.resolver){const{errors:Ie}=yield L([S]);if(R(De),D){const ie=Hi(r.errors,n,S),$=Hi(Ie,n,ie.name||S);j=$.error,S=$.name,ce=Ne(Ie)}}else x([S],!0),j=(yield ji(A,l.disabled,o,v,t.shouldUseNativeValidation))[S],x([S]),R(De),D&&(j?ce=!1:(w.isValid||h.isValid)&&(ce=yield de(n,!0)));D&&(A._f.deps&&(!Array.isArray(A._f.deps)||A._f.deps.length>0)&&ue(A._f.deps),q(S,ce,j,se))}}),je=(f,C)=>{if(M(r.errors,C)&&f.focus)return f.focus(),1},ue=(S,...D)=>me(null,[S,...D],function*(f,C={}){let A,R;const U=Kt(f);if(t.resolver){const X=yield le(ye(f)?f:U);A=Ne(X),R=f?!U.some(j=>M(X,j)):A}else f?(R=(yield Promise.all(U.map(X=>me(null,null,function*(){const j=M(n,X);return yield de(j&&j._f?{[X]:j}:j)})))).every(Boolean),!(!R&&!r.isValid)&&_()):R=A=yield de(n);return c.state.next(G(y(y({},!We(f)||(w.isValid||h.isValid)&&A!==r.isValid?{}:{name:f}),t.resolver||!f?{isValid:A}:{}),{errors:r.errors})),C.shouldFocus&&!R&&Jt(n,je,f?U:l.mount),R}),Z=(f,C)=>{let S=y({},a.mount?o:i);return C&&(S=Ti(C.dirtyFields?r.dirtyFields:r.touchedFields,S)),ye(f)?S:We(f)?M(S,f):f.map(D=>M(S,D))},he=(f,C)=>({invalid:!!M((C||r).errors,f),isDirty:!!M((C||r).dirtyFields,f),error:M((C||r).errors,f),isValidating:!!M(r.validatingFields,f),isTouched:!!M((C||r).touchedFields,f)}),ke=f=>{f&&Kt(f).forEach(C=>Se(r.errors,C)),c.state.next({errors:f?r.errors:{}})},Fe=(f,C,S)=>{const D=(M(n,f,{_f:{}})._f||{}).ref,ce=M(r.errors,f)||{},{ref:R,message:U,type:X}=ce,j=Ot(ce,["ref","message","type"]);ge(r.errors,f,G(y(y({},j),C),{ref:D})),c.state.next({name:f,errors:r.errors,isValid:!1}),S&&S.shouldFocus&&D&&D.focus&&D.focus()},Be=(f,C)=>Ke(f)?c.state.subscribe({next:S=>"values"in S&&f(W(void 0,C),S)}):W(f,C,!0),N=f=>c.state.subscribe({next:C=>{la(f.name,C.name,f.exact)&&aa(C,f.formState||w,Nt,f.reRenderRoot)&&f.callback(G(y(y({values:y({},o)},r),C),{defaultValues:i}))}}).unsubscribe,ne=f=>(a.mount=!0,h=y(y({},h),f.formState),N(G(y({},f),{formState:h}))),Xe=(f,C={})=>{for(const S of f?Kt(f):l.mount)l.mount.delete(S),l.array.delete(S),C.keepValue||(Se(n,S),Se(o,S)),!C.keepError&&Se(r.errors,S),!C.keepDirty&&Se(r.dirtyFields,S),!C.keepTouched&&Se(r.touchedFields,S),!C.keepIsValidating&&Se(r.validatingFields,S),!t.shouldUnregister&&!C.keepDefaultValue&&Se(i,S);c.state.next({values:Te(o)}),c.state.next(y(y({},r),C.keepDirty?{isDirty:J()}:{})),!C.keepIsValid&&_()},nt=({disabled:f,name:C})=>{(He(f)&&a.mount||f||l.disabled.has(C))&&(f?l.disabled.add(C):l.disabled.delete(C))},ut=(f,C={})=>{let S=M(n,f);const D=He(C.disabled)||He(t.disabled);return ge(n,f,G(y({},S||{}),{_f:y(G(y({},S&&S._f?S._f:{ref:{name:f}}),{name:f,mount:!0}),C)})),l.mount.add(f),S?nt({disabled:He(C.disabled)?C.disabled:t.disabled,name:f}):F(f,!0,C.value),G(y(y({},D?{disabled:C.disabled||t.disabled}:{}),t.progressive?{required:!!C.required,min:Xt(C.min),max:Xt(C.max),minLength:Xt(C.minLength),maxLength:Xt(C.maxLength),pattern:Xt(C.pattern)}:{}),{name:f,onChange:xe,onBlur:xe,ref:A=>{if(A){ut(f,C),S=M(n,f);const R=ye(A.value)&&A.querySelectorAll&&A.querySelectorAll("input,select,textarea")[0]||A,U=ea(R),X=S._f.refs||[];if(U?X.find(j=>j===R):R===S._f.ref)return;ge(n,f,{_f:y(y({},S._f),U?{refs:[...X.filter(ln),R,...Array.isArray(M(i,f))?[{}]:[]],ref:{type:R.type,name:f}}:{ref:R})}),F(f,!1,void 0,R)}else S=M(n,f,{}),S._f&&(S._f.mount=!1),(t.shouldUnregister||C.shouldUnregister)&&!(yi(l.array,f)&&a.action)&&l.unMount.add(f)}})},Je=()=>t.shouldFocusError&&Jt(n,je,l.mount),Et=f=>{He(f)&&(c.state.next({disabled:f}),Jt(n,(C,S)=>{const D=M(n,S);D&&(C.disabled=D._f.disabled||f,Array.isArray(D._f.refs)&&D._f.refs.forEach(A=>{A.disabled=D._f.disabled||f}))},0,!1))},pt=(f,C)=>S=>me(null,null,function*(){let D;S&&(S.preventDefault&&S.preventDefault(),S.persist&&S.persist());let A=Te(o);if(c.state.next({isSubmitting:!0}),t.resolver){const{errors:R,values:U}=yield L();r.errors=R,A=Te(U)}else yield de(n);if(l.disabled.size)for(const R of l.disabled)Se(A,R);if(Se(r.errors,"root"),Ne(r.errors)){c.state.next({errors:{}});try{yield f(A,S)}catch(R){D=R}}else C&&(yield C(y({},r.errors),S)),Je(),setTimeout(Je);if(c.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Ne(r.errors)&&!D,submitCount:r.submitCount+1,errors:r.errors}),D)throw D}),Pt=(f,C={})=>{M(n,f)&&(ye(C.defaultValue)?be(f,Te(M(i,f))):(be(f,C.defaultValue),ge(i,f,Te(C.defaultValue))),C.keepTouched||Se(r.touchedFields,f),C.keepDirty||(Se(r.dirtyFields,f),r.isDirty=C.defaultValue?J(f,Te(M(i,f))):J()),C.keepError||(Se(r.errors,f),w.isValid&&_()),c.state.next(y({},r)))},St=(f,C={})=>{const S=f?Te(f):i,D=Te(S),A=Ne(f),R=A?i:D;if(C.keepDefaultValues||(i=S),!C.keepValues){if(C.keepDirtyValues){const U=new Set([...l.mount,...Object.keys(Rt(i,o))]);for(const X of Array.from(U))M(r.dirtyFields,X)?ge(R,X,M(o,X)):be(X,M(R,X))}else{if(Qr&&ye(f))for(const U of l.mount){const X=M(n,U);if(X&&X._f){const j=Array.isArray(X._f.refs)?X._f.refs[0]:X._f.ref;if(Cr(j)){const ce=j.closest("form");if(ce){ce.reset();break}}}}if(C.keepFieldsRef)for(const U of l.mount)be(U,M(R,U));else n={}}o=t.shouldUnregister?C.keepDefaultValues?Te(i):{}:Te(R),c.array.next({values:y({},R)}),c.state.next({values:y({},R)})}l={mount:C.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},a.mount=!w.isValid||!!C.keepIsValid||!!C.keepDirtyValues,a.watch=!!t.shouldUnregister,c.state.next({submitCount:C.keepSubmitCount?r.submitCount:0,isDirty:A?!1:C.keepDirty?r.isDirty:!!(C.keepDefaultValues&&!ct(f,i)),isSubmitted:C.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:A?{}:C.keepDirtyValues?C.keepDefaultValues&&o?Rt(i,o):r.dirtyFields:C.keepDefaultValues&&f?Rt(i,f):C.keepDirty?r.dirtyFields:{},touchedFields:C.keepTouched?r.touchedFields:{},errors:C.keepErrors?r.errors:{},isSubmitSuccessful:C.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},_t=(f,C)=>St(Ke(f)?f(o):f,C),kt=(f,C={})=>{const S=M(n,f),D=S&&S._f;if(D){const A=D.refs?D.refs[0]:D.ref;A.focus&&(A.focus(),C.shouldSelect&&Ke(A.select)&&A.select())}},Nt=f=>{r=y(y({},r),f)},it={control:{register:ut,unregister:Xe,getFieldState:he,handleSubmit:pt,setError:Fe,_subscribe:N,_runSchema:L,_focusError:Je,_getWatch:W,_getDirty:J,_setValid:_,_setFieldArray:T,_setDisabledField:nt,_setErrors:k,_getFieldArray:Y,_reset:St,_resetDefaultValues:()=>Ke(t.defaultValues)&&t.defaultValues().then(f=>{_t(f,t.resetOptions),c.state.next({isLoading:!1})}),_removeUnmounted:re,_disableForm:Et,_subjects:c,_proxyFormState:w,get _fields(){return n},get _formValues(){return o},get _state(){return a},set _state(f){a=f},get _defaultValues(){return i},get _names(){return l},set _names(f){l=f},get _formState(){return r},get _options(){return t},set _options(f){t=y(y({},t),f)}},subscribe:ne,trigger:ue,register:ut,handleSubmit:pt,watch:Be,setValue:be,getValues:Z,reset:_t,resetField:Pt,clearErrors:ke,unregister:Xe,setError:Fe,setFocus:kt,getFieldState:he};return G(y({},it),{formControl:it})}function pa(e={}){const t=ee.useRef(void 0),r=ee.useRef(void 0),[n,i]=ee.useState({isDirty:!1,isValidating:!1,isLoading:Ke(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Ke(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current=G(y({},e.formControl),{formState:n}),e.defaultValues&&!Ke(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const a=ha(e),{formControl:l}=a,m=Ot(a,["formControl"]);t.current=G(y({},m),{formState:n})}const o=t.current.control;return o._options=e,nn(()=>{const l=o._subscribe({formState:o._proxyFormState,callback:()=>i(y({},o._formState)),reRenderRoot:!0});return i(m=>G(y({},m),{isReady:!0})),o._formState.isReady=!0,l},[o]),ee.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),ee.useEffect(()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)},[o,e.mode,e.reValidateMode]),ee.useEffect(()=>{e.errors&&(o._setErrors(e.errors),o._focusError())},[o,e.errors]),ee.useEffect(()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})},[o,e.shouldUnregister]),ee.useEffect(()=>{if(o._proxyFormState.isDirty){const l=o._getDirty();l!==n.isDirty&&o._subjects.state.next({isDirty:l})}},[o,n.isDirty]),ee.useEffect(()=>{e.values&&!ct(e.values,r.current)?(o._reset(e.values,y({keepFieldsRef:!0},o._options.resetOptions)),r.current=e.values,i(l=>y({},l))):o._resetDefaultValues()},[o,e.values]),ee.useEffect(()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next(y({},o._formState))),o._removeUnmounted()}),t.current.formState=Ei(n,o),t.current}const Dt=(e,t)=>{const r={};return e.forEach((n,i)=>{if(n.type===Dn.NOT_EMPTY&&(r.required=o=>t&&$o(o)?n.message:!0),n.type===Dn.REGEX){const o=new RegExp(n.regex);r[`regex_${i}`]=a=>!t&&!a?!0:typeof a!="string"?n.message:o.test(a)||n.message}}),r},_a=({isOpen:e,image:t})=>s("div",{"data-ui":"gui-custom-select-chevron",style:{width:"16px",height:"16px",display:"flex",alignItems:"center",justifyContent:"center",transform:e?"rotate(180deg)":"none",transformOrigin:"50% 50%",transition:".2s",flexShrink:0},children:t?s(Re,y({},t)):s(Re,{imageId:"chevronDown"})}),ga=({isChosen:e,option:t,onOptionClickCallback:r,isHovered:n,onHover:i,onHoverEnd:o})=>{const a=e?t.layoutSelected.image:t.layout.image;return s("div",{style:{padding:"5px 8px",background:((m,g)=>{var w,h,c,v;if(!m&&!g)return(w=K(t.layout.backgroundColor))!=null?w:"transparent";if(!m&&g)return(h=K(t.layoutSelected.backgroundColor))!=null?h:"transparent";if(m&&!g)return(c=K(t.layout.highlightColor))!=null?c:"#F4F4F4";if(m&&g)return(v=K(t.layoutSelected.highlightColor))!=null?v:"#F4F4F4"})(n,e),fontSize:13,display:"flex",justifyContent:"space-between",alignItems:"center",gap:8,borderRadius:4,cursor:"pointer"},"data-select-id":t.value,onClick:r(t),onMouseEnter:i,onMouseLeave:o,children:[s(Ce,G(y({},t.layout.title),{text:t.label})),s("div",{style:{display:"flex",flexShrink:0},children:s(Re,y({},a))})]},t.value)},$i=({name:e,options:t,isMulti:r=!1,isClearable:n=!1,value:i,onChange:o,placeholder:a,closeMenuOnSelect:l=!0,onBlur:m,parentElementRef:g,controlLayout:w,pickerLayout:h})=>{var W,Y,oe,ve,be,xe,je,ue;const[c,v]=Ae(!1),[p,_]=Ae(i),[x,T]=Ae("down"),[I,k]=Ae(null),F=qe(null),V=qe(null);ft(()=>{var Be,N,ne;if(!c)return;const Z=(Be=F.current)==null?void 0:Be.getBoundingClientRect(),he=(N=V.current)==null?void 0:N.getBoundingClientRect(),ke=(ne=g.current)==null?void 0:ne.getBoundingClientRect();if(!Z||!he||!ke)return;const Fe=Z.bottom+he.height<ke.bottom;T(Fe?"down":"up")},[c]),ze(()=>{o(p)},[p]);const q=Z=>he=>{var ke;he.stopPropagation(),(he.type==="touchend"||((ke=he.nativeEvent)==null?void 0:ke.pointerType)==="touch")&&k(null),l&&v(!1),_(Fe=>r?Fe.some(N=>N.value===Z.value)?Fe.filter(N=>N.value!==Z.value):[...Fe,Z]:[Z])},L=()=>{m&&m(),v(!1)},le=Z=>he=>{he.stopPropagation(),_(ke=>ke.filter(Fe=>Fe.value!==Z.value))},de=Z=>{Z.stopPropagation(),_([])},re=(W=K(w==null?void 0:w.borderColor))!=null?W:"#D9D9D9",J=(Y=K(w==null?void 0:w.highlightBorderColor))!=null?Y:"#7E57C5";return s("div",{"data-ui":"gui-custom-select",ref:F,children:s("div",{"data-ui":"gui-select-name-"+e,style:{backgroundColor:K(w==null?void 0:w.backgroundColor),borderStyle:"solid",borderColor:c?J:re,borderWidth:(oe=w==null?void 0:w.borderWidth)!=null?oe:1,borderRadius:(ve=w==null?void 0:w.cornerRadius)!=null?ve:8,minHeight:"41px",position:"relative",zIndex:"auto",padding:"8px 11px 8px 8px",cursor:"pointer",display:"flex",alignItems:"center",gap:10},tabIndex:0,onBlur:L,onClick:()=>v(!c),children:[s("div",{"data-ui":"gui-custom-select-multi-choose-container",style:{display:"flex",gap:8,alignItems:"flex-start",alignContent:"center",flexWrap:"wrap",width:"100%"},children:[!p.length&&s("span",{style:{fontSize:13,color:"#8C8C8C"},children:a}),p.map(Z=>{var he,ke,Fe,Be,N;if(r){const ne=w==null?void 0:w.chip;return s("div",{style:{padding:"0px 5px",display:"flex",gap:8,backgroundColor:(he=K(ne==null?void 0:ne.backgroundColor))!=null?he:"#F2F2F2",borderRadius:(ke=ne==null?void 0:ne.cornerRadius)!=null?ke:4,userSelect:"none",alignItems:"center"},children:[s(Ce,G(y({},ne==null?void 0:ne.title),{fontSize:(Be=(Fe=ne==null?void 0:ne.title)==null?void 0:Fe.fontSize)!=null?Be:13,text:Z.label})),s("div",{style:{display:"flex",alignItems:"center",cursor:"pointer",width:"16px",height:"16px"},onClick:le(Z),children:ne!=null&&ne.removeImage?s(Re,y({},ne.removeImage)):s(Re,{imageId:"cross"})})]},Z.value)}else{const ne=w==null?void 0:w.title;return s("div",{style:{display:"flex",userSelect:"none"},children:s(Ce,G(y({},ne),{fontSize:(N=ne==null?void 0:ne.fontSize)!=null?N:13,text:Z.label}))},Z.value)}})]}),n&&p.length?s("div",{style:{display:"flex",alignItems:"center",cursor:"pointer",width:"16px",height:"16px",zIndex:1},onClick:de,children:w!=null&&w.clearButton?s(Re,y({},w.clearButton)):s(Re,{imageId:"cross"})}):null,n?s("div",{style:{width:"1px",alignSelf:"stretch",backgroundColor:"#D9D9D9"}}):null,s(_a,{isOpen:c,image:w==null?void 0:w.expandButton}),c&&s("div",{"data-ui":"gui-custom-select-dropdown-menu",ref:V,style:G(y({position:"absolute"},x==="down"?{top:"calc(100% + 1px)"}:{bottom:"calc(100% + 1px)"}),{left:0,border:"1px solid #e8e8e8",width:"100%",backgroundColor:(be=K(h==null?void 0:h.backgroundColor))!=null?be:"#ffffff",borderRadius:(xe=h==null?void 0:h.cornerRadius)!=null?xe:8,borderStyle:"solid",borderColor:(je=K(h==null?void 0:h.borderColor))!=null?je:"#D9D9D9",borderWidth:(ue=h==null?void 0:h.borderWidth)!=null?ue:1,maxHeight:"500px",overflow:"auto",zIndex:2,boxShadow:"0 3px 15px rgba(0,0,0,.2)",padding:"8px",display:"flex",flexDirection:"column",gap:"2px",cursor:"default"}),onClick:Z=>Z.stopPropagation(),children:t.map(Z=>{const he=p.some(ke=>ke.value===Z.value);return s(ga,{isChosen:he,option:Z,onOptionClickCallback:q,isHovered:I===Z.value,onHover:()=>k(Z.value),onHoverEnd:()=>k(null)},Z.label)})})]})})},ma=({control:e,layout:t,dataSourceQuestion:r,parentElementRef:n})=>{const i=r.options.map(a=>({value:String(a.id),label:a.text,layout:t.option,layoutSelected:t.optionSelected})),o=String(r.id);return s("div",{style:{display:"flex",flexDirection:"column",gap:"16px",boxSizing:"border-box"},children:[t.title&&s(Ce,G(y({},t.title),{text:r.text,htmlFor:o})),s(ki,{name:o,control:e,rules:{required:!!r.required,validate:Dt(r.validators,!!r.required)},render:({field:a})=>{const l=i.find(m=>m.value===a.value);return s($i,{options:i,placeholder:r.placeholder,closeMenuOnSelect:!0,name:a.name,value:l?[l]:[],onChange:m=>{const g=m&&Array.isArray(m)&&m.length?m[0].value:null;a.onChange(g)},parentElementRef:n,isMulti:!1,isClearable:!1,controlLayout:t.dropdownControl,pickerLayout:t.dropdownPicker})}})]})},va=({control:e,layout:t,dataSourceQuestion:r,parentElementRef:n})=>{const i=r.options.map(a=>({value:String(a.id),label:a.text,layout:t.option,layoutSelected:t.optionSelected})),o=String(r.id);return s("div",{style:{display:"flex",flexDirection:"column",gap:"16px",boxSizing:"border-box"},children:[t.title&&s(Ce,G(y({},t.title),{text:r.text,htmlFor:o})),s(ki,{name:o,control:e,rules:{required:!!r.required,validate:Dt(r.validators,!!r.required)},render:({field:a})=>{const l=i.filter(m=>{var g;return(g=a.value)==null?void 0:g.includes(m.value)});return s($i,{name:o,options:i,placeholder:r.placeholder,closeMenuOnSelect:!1,value:l,onChange:m=>{const g=m.map(w=>w.value);a.onChange(g)},parentElementRef:n,isMulti:!0,isClearable:!0,controlLayout:t.dropdownControl,pickerLayout:t.dropdownPicker})}})]})},zi=()=>{const[e,t]=Ae(!1);return ze(()=>{const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("keydown",r),window.addEventListener("mousedown",n),()=>{window.removeEventListener("keydown",r),window.removeEventListener("mousedown",n)}},[]),e},ba=({option:e,layout:t,dataSourceQuestion:r,register:n,watch:i})=>{const[o,a]=Ae(!1),l=zi(),m=String(r.id),w=i(m)===String(e.id),h=t.option,c=t.optionSelected,v={backgroundColor:K(c.backgroundColor),borderRadius:c.cornerRadius},p={backgroundColor:K(h.backgroundColor),borderRadius:h.cornerRadius},_=o&&l?{filter:`drop-shadow(0 0 1px ${zt})`}:{};return s("div",{children:s("label",{style:y({display:"flex",alignItems:"center",alignContent:"center",gap:8,cursor:"pointer"},w?v:p),children:[s("div",{style:y({display:"flex",alignItems:"center",alignContent:"center"},_),children:s(Re,y({},w?c.image:h.image))}),s(Ce,G(y({},w?c.title:h.title),{text:e.text})),s("input",G(y({style:{width:1,height:1,opacity:0,position:"absolute",left:"50%"}},n(m,{required:!!r.required,validate:Dt(r.validators,!!r.required)})),{value:e.id,type:"radio",onFocus:()=>a(!0),onBlur:()=>a(!1)}))]})},e.id)},wa=({layout:e,register:t,watch:r,dataSourceQuestion:n})=>s("div",{style:{boxSizing:"border-box"},children:s("fieldset",{style:{margin:0,padding:0,border:"none",display:"flex",flexDirection:"column",gap:"16px"},children:[e.title&&s("legend",{style:{margin:0,padding:0,marginBottom:"16px"},children:s(Ce,G(y({},e.title),{text:n.text}))}),n.options.map(i=>s(ba,{register:t,watch:r,layout:e,option:i,dataSourceQuestion:n},i.id))]})}),Ca=({option:e,layout:t,dataSourceQuestion:r,register:n,watch:i})=>{const[o,a]=Ae(!1),l=zi(),m=String(r.id),w=i(m)===String(e.id),h=t.option,c=t.optionSelected,v={borderRadius:h.cornerRadius,background:K(h.backgroundColor),borderColor:K(h.borderColor),borderWidth:h.borderWidth},p={borderRadius:c.cornerRadius,background:K(c.backgroundColor),borderColor:K(c.borderColor),borderWidth:c.borderWidth},_=o&&l?{outline:`2px solid ${zt}`}:{};return s("div",{style:{display:"flex",flexGrow:1},children:s("label",{style:y(y({width:"100%",padding:"8px 16px",cursor:"pointer",borderStyle:"solid",position:"relative"},w?p:v),_),children:[s("input",G(y({style:{width:1,height:1,opacity:0,position:"absolute",left:"50%"}},n(m,{required:!!r.required,validate:Dt(r.validators,!!r.required)})),{value:e.id,type:"radio",onFocus:()=>a(!0),onBlur:()=>a(!1)})),s(Ce,G(y({},w?c.title:h.title),{text:e.text}))]})},e.id)},ya=({layout:e,watch:t,register:r,dataSourceQuestion:n})=>s("div",{style:{boxSizing:"border-box"},children:s("fieldset",{style:{margin:0,padding:0,border:"none"},children:[e.title&&s("legend",{style:{margin:0,padding:0,marginBottom:"16px"},children:s(Ce,G(y({},e.title),{text:n.text}))}),s("div",{style:{display:"flex",justifyContent:"center",gap:5},children:n.options.map(i=>s(Ca,{register:r,watch:t,layout:e,option:i,dataSourceQuestion:n},i.id))})]})}),xa=({children:e,backgroundColor:t,cornerRadius:r=0,isError:n,isRequired:i,validationBorderColor:o,validationBorderWidth:a})=>{const l=y({position:"relative",flexShrink:0,width:"100%",fontWeight:300,lineHeight:"140%",backgroundColor:K(t)||"transparent",borderRadius:r,padding:"16px",boxSizing:"border-box",height:"auto"},n&&y(y({},K(o)&&{borderColor:o,borderStyle:"solid"}),a&&{borderWidth:a}));return s("div",{style:l,children:[i&&s("span",{style:{color:K(o),position:"absolute",left:"6px",top:"18px"},children:"*"}),e]})},Ea=({validationErrorsTypes:e,title:t})=>e?s("div",{style:{width:"100%",fontSize:12},children:Object.entries(e).map(([r,n])=>s(Ce,G(y({},t),{text:n}),r))}):null,Sa=({layout:e,dataSourceQuestion:t,register:r})=>{var o,a,l,m,g,w,h,c,v,p,_,x,T,I,k,F;const n=String(t.id),i=V=>V?V===hr.EMAIL?"email":V===hr.FREE_TEXT?"text":V===hr.NUMBER?"number":V===hr.SECURE?"password":"text":"text";return s("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[s(Ce,G(y({},e.title),{text:t.text,htmlFor:n})),s("input",G(y({},r(n,{required:!!t.required,validate:Dt(t.validators,!!t.required)})),{id:n,type:i((o=e.textField)==null?void 0:o.inputType),style:{fontFamily:(l=(a=e==null?void 0:e.textField)==null?void 0:a.fontName)!=null?l:"sans-serif",fontSize:(g=(m=e==null?void 0:e.textField)==null?void 0:m.fontSize)!=null?g:15,color:(h=K((w=e==null?void 0:e.textField)==null?void 0:w.fontColor))!=null?h:"#000000",height:"42px",borderWidth:(v=(c=e==null?void 0:e.textField)==null?void 0:c.borderWidth)!=null?v:1,borderColor:(_=K((p=e==null?void 0:e.textField)==null?void 0:p.borderColor))!=null?_:"#d9d9d9",borderStyle:"solid",borderRadius:(T=(x=e==null?void 0:e.textField)==null?void 0:x.cornerRadius)!=null?T:8,padding:"11px",boxSizing:"border-box",backgroundColor:(k=K((I=e==null?void 0:e.textField)==null?void 0:I.backgroundColor))!=null?k:"#FFFFFF",outlineColor:zt},placeholder:(F=t.placeholder)!=null?F:"","data-id":n}))]})},ka=({layout:e,dataSourceQuestion:t,register:r})=>{var i,o,a,l,m,g,w,h,c,v,p,_,x;const n=String(t.id);return s("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[s(Ce,G(y({},e.title),{text:t.text,htmlFor:n})),s("textarea",G(y({},r(n,{required:!!t.required,validate:Dt(t.validators,!!t.required)})),{id:n,placeholder:(i=t.placeholder)!=null?i:"",onInput:T=>{T.currentTarget.style.height="auto",T.currentTarget.style.height=`${T.currentTarget.scrollHeight-15}px`},"data-id":n,style:{fontFamily:"sans-serif",fontSize:(a=(o=e==null?void 0:e.textField)==null?void 0:o.fontSize)!=null?a:15,color:(m=K((l=e==null?void 0:e.textField)==null?void 0:l.fontColor))!=null?m:"#000000",resize:"none",overflow:"hidden",height:"42px",minHeight:"42px",borderWidth:(w=(g=e==null?void 0:e.textField)==null?void 0:g.borderWidth)!=null?w:1,borderColor:(c=K((h=e==null?void 0:e.textField)==null?void 0:h.borderColor))!=null?c:"#d9d9d9",borderStyle:"solid",borderRadius:(p=(v=e==null?void 0:e.textField)==null?void 0:v.cornerRadius)!=null?p:8,padding:"11px",boxSizing:"border-box",backgroundColor:(x=K((_=e==null?void 0:e.textField)==null?void 0:_.backgroundColor))!=null?x:"#FFFFFF",outlineColor:zt}}))]})},dt=class dt extends bt{constructor({errorCode:t,message:r,underlyingError:n,underlyingBaseError:i}){const o=bt.getErrorKey(t,qt);super({errorCode:t,errorCodeKey:o,errorEnumName:dt.ERROR_ENUM_NAME,module:dt.MODULE,message:r,underlyingError:n,underlyingBaseError:i,domain:dt.ERROR_ENUM_NAME,shortDomainCode:dt.SHORT_CODE})}};dt.MODULE=pr,dt.ERROR_ENUM_NAME="GuiModuleError",dt.SHORT_CODE="GM";let Qt=dt;const Oa=({header:e,title:t,buttons:r,footer:n,questions:i,dataSource:o,properties:a,backgroundColor:l})=>{const m=Bn(r),{perform:g}=Ct(),w=a?zo(o.questions,a):{},h=qe(null),{register:c,handleSubmit:v,formState:{errors:p},reset:_,watch:x,control:T}=pa({criteriaMode:"all",defaultValues:w});return s(ht,{header:e,footer:n,backgroundColor:l,children:s("form",{onSubmit:v(k=>{g(jo(k),m),_()}),style:{height:"100%",fontFamily:"sans-serif",display:"flex",flexDirection:"column",gap:"15px"},noValidate:!0,children:[s("div",{style:{flex:"1 1 100%",display:"flex",justifyContent:"flex-start",alignItems:"center",alignContent:"center",flexDirection:"column",gap:"10px",height:"100%",width:"100%",overflow:"auto",position:"relative",backgroundColor:K(i.backgroundColor)||"transparent"},ref:h,children:[t&&s("div",{style:{lineHeight:"39.2px",width:"100%"},children:s(Ce,y({},t))}),s("div",{"data-ui":"gui-questions",part:"gui-questions",style:{width:"100%",display:"flex",gap:"10px",flexDirection:"column"},children:o.questions.map(k=>{var re;const F=o.static,V=(J,W)=>W.find(Y=>{var oe;if((oe=Y.questionIds)!=null&&oe.length)return Y.questionIds.find(ve=>J===ve)}),q=(J,W)=>W.find(Y=>!Y.questionIds&&Y.answerType===J),L=F?V(String(k.id),i.itemTypes)||q(k.answerType,i.itemTypes):i.itemTypes.find(J=>J.answerType===k.answerType);if(!L){const J=new Qt({errorCode:qt.DECODING_FAILED,message:"The question template has not been found"});g(J);return}const le=L==null?void 0:L.displayType,de=k.id in p&&((re=p[k.id])==null?void 0:re.types);return s(Ve,{children:[s(xa,{backgroundColor:L==null?void 0:L.backgroundColor,cornerRadius:L==null?void 0:L.cornerRadius,isError:!!de,isRequired:k.required,validationBorderColor:L==null?void 0:L.validationBorderColor,validationBorderWidth:L==null?void 0:L.validationBorderWidth,children:[le===It.TEXT_EXPANDABLE&&s(ka,{layout:L,dataSourceQuestion:k,register:c}),le===It.TEXT_SINGLE_LINE&&s(Sa,{layout:L,dataSourceQuestion:k,register:c}),le===It.SELECTOR_OPTIONS&&s(wa,{layout:L,dataSourceQuestion:k,watch:x,register:c}),le===It.SELECTOR_BUTTONS&&s(ya,{layout:L,dataSourceQuestion:k,watch:x,register:c}),le===It.SELECTOR_DROPDOWN&&s(ma,{control:T,layout:L,dataSourceQuestion:k,parentElementRef:h}),le===It.MULTI_SELECTOR_DROPDOWN&&s(va,{control:T,layout:L,dataSourceQuestion:k,parentElementRef:h})]}),de&&s(Ea,{validationErrorsTypes:de,title:L.validationMessage})]},k.id)})})]}),!!(r!=null&&r.length)&&s("div",{style:{display:"flex",width:"100%",flexGrow:0,flexShrink:0,justifyContent:"center",alignItems:"flex-end",padding:"2px"},children:r.map((k,F)=>s(gr,y({dataTestId:"question-button"},k),F))})]})})},Ta={display:"none"},Fa={display:"flex",alignItems:"center",justifyContent:"center",width:"250px",height:"50px",border:0,borderRadius:"16px",backgroundColor:"#7e57c5",cursor:"pointer"},Aa={position:"relative",display:"flex",flexGrow:1,flexDirection:"column",alignItems:"center",alignContent:"center",margin:"0 auto",height:"100%",width:"100%",minHeight:"100%",overflow:"auto"},Ia=({header:e,footer:t,buttons:r,backgroundColor:n,selectionLimit:i})=>{var w,h;const{perform:o}=Ct(),a=qe(null),l=typeof i=="number"&&(i===0||i>1),m=c=>me(null,null,function*(){var p;const v=Array.from((p=c.currentTarget.files)!=null?p:[]);if(v.length)try{const x=(yield Promise.allSettled(v.map(T=>me(null,null,function*(){return{content:yield Nn(T),metadata:{name:T.name,type:T.type,size:T.size,lastModified:T.lastModified}}})))).filter(T=>T.status==="fulfilled").map(T=>T.value);o({cancel:!1,permissionDenied:!1,files:x})}catch(_){console.error("Error: ",_)}}),g=()=>{var c;(c=a.current)==null||c.showPicker()};return s(ht,{header:e,footer:t,backgroundColor:n,children:s(Ve,{children:s("div",{style:G(y({},Aa),{justifyContent:"center"}),children:[s("input",G(y({style:Ta,ref:a,type:"file",accept:"image/*"},l?{multiple:!0}:{}),{onInput:m})),s("button",{style:Fa,onClick:g,children:s(Re,{imageId:(h=(w=r==null?void 0:r[0])==null?void 0:w.image)==null?void 0:h.imageId})})]})})})};function Va(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch(o){}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var P={};const Ra=Va(Zs);var er={exports:{}},Ma=er.exports,qi;function Da(){return qi||(qi=1,(function(e,t){(function(r,n){var i="1.0.41",o="",a="?",l="function",m="undefined",g="object",w="string",h="major",c="model",v="name",p="type",_="vendor",x="version",T="architecture",I="console",k="mobile",F="tablet",V="smarttv",q="wearable",L="embedded",le=500,de="Amazon",re="Apple",J="ASUS",W="BlackBerry",Y="Browser",oe="Chrome",ve="Edge",be="Firefox",xe="Google",je="Honor",ue="Huawei",Z="Lenovo",he="LG",ke="Microsoft",Fe="Motorola",Be="Nvidia",N="OnePlus",ne="Opera",Xe="OPPO",nt="Samsung",ut="Sharp",Je="Sony",Et="Xiaomi",pt="Zebra",Pt="Facebook",St="Chromium OS",_t="Mac OS",kt=" Browser",Nt=function(z,Q){var H={};for(var se in z)Q[se]&&Q[se].length%2===0?H[se]=Q[se].concat(z[se]):H[se]=z[se];return H},gt=function(z){for(var Q={},H=0;H<z.length;H++)Q[z[H].toUpperCase()]=z[H];return Q},it=function(z,Q){return typeof z===w?f(Q).indexOf(f(z))!==-1:!1},f=function(z){return z.toLowerCase()},C=function(z){return typeof z===w?z.replace(/[^\d\.]/g,o).split(".")[0]:n},S=function(z,Q){if(typeof z===w)return z=z.replace(/^\s\s*/,o),typeof Q===m?z:z.substring(0,le)},D=function(z,Q){for(var H=0,se,Le,Ie,ie,$,$e;H<Q.length&&!$;){var Bt=Q[H],nr=Q[H+1];for(se=Le=0;se<Bt.length&&!$&&Bt[se];)if($=Bt[se++].exec(z),$)for(Ie=0;Ie<nr.length;Ie++)$e=$[++Le],ie=nr[Ie],typeof ie===g&&ie.length>0?ie.length===2?typeof ie[1]==l?this[ie[0]]=ie[1].call(this,$e):this[ie[0]]=ie[1]:ie.length===3?typeof ie[1]===l&&!(ie[1].exec&&ie[1].test)?this[ie[0]]=$e?ie[1].call(this,$e,ie[2]):n:this[ie[0]]=$e?$e.replace(ie[1],ie[2]):n:ie.length===4&&(this[ie[0]]=$e?ie[3].call(this,$e.replace(ie[1],ie[2])):n):this[ie]=$e||n;H+=2}},A=function(z,Q){for(var H in Q)if(typeof Q[H]===g&&Q[H].length>0){for(var se=0;se<Q[H].length;se++)if(it(Q[H][se],z))return H===a?n:H}else if(it(Q[H],z))return H===a?n:H;return Q.hasOwnProperty("*")?Q["*"]:z},R={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},U={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,x],[/opios[\/ ]+([\w\.]+)/i],[x,[v,ne+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[x,[v,ne+" GX"]],[/\bopr\/([\w\.]+)/i],[x,[v,ne]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[x,[v,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[x,[v,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,x],[/quark(?:pc)?\/([-\w\.]+)/i],[x,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[x,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[v,"UC"+Y]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[x,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[x,[v,"Smart Lenovo "+Y]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+Y],x],[/\bfocus\/([\w\.]+)/i],[x,[v,be+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[v,ne+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[v,ne+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[v,"MIUI"+kt]],[/fxios\/([\w\.-]+)/i],[x,[v,be]],[/\bqihoobrowser\/?([\w\.]*)/i],[x,[v,"360"]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],x],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+kt],x],[/samsungbrowser\/([\w\.]+)/i],[x,[v,nt+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[x,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[v,x],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[x,v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Pt],x],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[v,oe+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,oe+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[v,"Android "+Y]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[x,A,R]],[/(webkit|khtml)\/([\w\.]+)/i],[v,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],x],[/(wolvic|librewolf)\/([\w\.]+)/i],[v,x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[v,be+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[v,[x,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[x,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[T,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[T,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[T,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[T,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[T,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[T,/ower/,o,f]],[/ sun4\w[;\)]/i],[[T,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[T,f]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[_,nt],[p,F]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[_,nt],[p,k]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[_,re],[p,k]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[_,re],[p,F]],[/(macintosh);/i],[c,[_,re]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[_,ut],[p,k]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[c,[_,je],[p,F]],[/honor([-\w ]+)[;\)]/i],[c,[_,je],[p,k]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[c,[_,ue],[p,F]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[_,ue],[p,k]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[c,/_/g," "],[_,Et],[p,F]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[c,/_/g," "],[_,Et],[p,k]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[_,Xe],[p,k]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[c,[_,A,{OnePlus:["304","403","203"],"*":Xe}],[p,F]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[_,"Vivo"],[p,k]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[_,"Realme"],[p,k]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[_,Fe],[p,k]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[_,Fe],[p,F]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[_,he],[p,F]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[_,he],[p,k]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[c,[_,Z],[p,F]],[/(nokia) (t[12][01])/i],[_,c,[p,F]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[c,/_/g," "],[p,k],[_,"Nokia"]],[/(pixel (c|tablet))\b/i],[c,[_,xe],[p,F]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[_,xe],[p,k]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[_,Je],[p,k]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[_,Je],[p,F]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[_,N],[p,k]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[_,de],[p,F]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[_,de],[p,k]],[/(playbook);[-\w\),; ]+(rim)/i],[c,_,[p,F]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[_,W],[p,k]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[_,J],[p,F]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[_,J],[p,k]],[/(nexus 9)/i],[c,[_,"HTC"],[p,F]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[_,[c,/_/g," "],[p,k]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[c,[_,"TCL"],[p,F]],[/(itel) ((\w+))/i],[[_,f],c,[p,A,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[_,"Acer"],[p,F]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[_,"Meizu"],[p,k]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[_,"Ulefone"],[p,k]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[_,"Energizer"],[p,k]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[_,"Cat"],[p,k]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[_,"Smartfren"],[p,k]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[_,"Nothing"],[p,k]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[c,[_,"Archos"],[p,F]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[c,[_,"Archos"],[p,k]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[_,c,[p,F]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[_,c,[p,k]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[_,c,[p,F]],[/(surface duo)/i],[c,[_,ke],[p,F]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[_,"Fairphone"],[p,k]],[/(u304aa)/i],[c,[_,"AT&T"],[p,k]],[/\bsie-(\w*)/i],[c,[_,"Siemens"],[p,k]],[/\b(rct\w+) b/i],[c,[_,"RCA"],[p,F]],[/\b(venue[\d ]{2,7}) b/i],[c,[_,"Dell"],[p,F]],[/\b(q(?:mv|ta)\w+) b/i],[c,[_,"Verizon"],[p,F]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[_,"Barnes & Noble"],[p,F]],[/\b(tm\d{3}\w+) b/i],[c,[_,"NuVision"],[p,F]],[/\b(k88) b/i],[c,[_,"ZTE"],[p,F]],[/\b(nx\d{3}j) b/i],[c,[_,"ZTE"],[p,k]],[/\b(gen\d{3}) b.+49h/i],[c,[_,"Swiss"],[p,k]],[/\b(zur\d{3}) b/i],[c,[_,"Swiss"],[p,F]],[/\b((zeki)?tb.*\b) b/i],[c,[_,"Zeki"],[p,F]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[_,"Dragon Touch"],c,[p,F]],[/\b(ns-?\w{0,9}) b/i],[c,[_,"Insignia"],[p,F]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[_,"NextBook"],[p,F]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[_,"Voice"],c,[p,k]],[/\b(lvtel\-)?(v1[12]) b/i],[[_,"LvTel"],c,[p,k]],[/\b(ph-1) /i],[c,[_,"Essential"],[p,k]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[_,"Envizen"],[p,F]],[/\b(trio[-\w\. ]+) b/i],[c,[_,"MachSpeed"],[p,F]],[/\btu_(1491) b/i],[c,[_,"Rotor"],[p,F]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[c,[_,Be],[p,F]],[/(sprint) (\w+)/i],[_,c,[p,k]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[_,ke],[p,k]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[_,pt],[p,F]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[_,pt],[p,k]],[/smart-tv.+(samsung)/i],[_,[p,V]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[_,nt],[p,V]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[_,he],[p,V]],[/(apple) ?tv/i],[_,[c,re+" TV"],[p,V]],[/crkey/i],[[c,oe+"cast"],[_,xe],[p,V]],[/droid.+aft(\w+)( bui|\))/i],[c,[_,de],[p,V]],[/(shield \w+ tv)/i],[c,[_,Be],[p,V]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[_,ut],[p,V]],[/(bravia[\w ]+)( bui|\))/i],[c,[_,Je],[p,V]],[/(mi(tv|box)-?\w+) bui/i],[c,[_,Et],[p,V]],[/Hbbtv.*(technisat) (.*);/i],[_,c,[p,V]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[_,S],[c,S],[p,V]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[c,[p,V]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,V]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[_,c,[p,I]],[/droid.+; (shield)( bui|\))/i],[c,[_,Be],[p,I]],[/(playstation \w+)/i],[c,[_,Je],[p,I]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[_,ke],[p,I]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[c,[_,nt],[p,q]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[_,c,[p,q]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[c,[_,Xe],[p,q]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[_,re],[p,q]],[/(opwwe\d{3})/i],[c,[_,N],[p,q]],[/(moto 360)/i],[c,[_,Fe],[p,q]],[/(smartwatch 3)/i],[c,[_,Je],[p,q]],[/(g watch r)/i],[c,[_,he],[p,q]],[/droid.+; (wt63?0{2,3})\)/i],[c,[_,pt],[p,q]],[/droid.+; (glass) \d/i],[c,[_,xe],[p,q]],[/(pico) (4|neo3(?: link|pro)?)/i],[_,c,[p,q]],[/; (quest( \d| pro)?)/i],[c,[_,Pt],[p,q]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[_,[p,L]],[/(aeobc)\b/i],[c,[_,de],[p,L]],[/(homepod).+mac os/i],[c,[_,re],[p,L]],[/windows iot/i],[[p,L]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[p,k]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[p,F]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,F]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,k]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[c,[_,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[v,ve+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[v,x],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[v,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[v,x],[/ladybird\//i],[[v,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,x],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[v,[x,A,U]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[x,A,U],[v,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,_t],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,v],[/(ubuntu) ([\w\.]+) like android/i],[[v,/(.+)/,"$1 Touch"],x],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[v,x],[/\(bb(10);/i],[x,[v,W]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[x,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[v,be+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[v,oe+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,St],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,x],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,x]]},j=function(z,Q){if(typeof z===g&&(Q=z,z=n),!(this instanceof j))return new j(z,Q).getResult();var H=typeof r!==m&&r.navigator?r.navigator:n,se=z||(H&&H.userAgent?H.userAgent:o),Le=H&&H.userAgentData?H.userAgentData:n,Ie=Q?Nt(X,Q):X,ie=H&&H.userAgent==se;return this.getBrowser=function(){var $={};return $[v]=n,$[x]=n,D.call($,se,Ie.browser),$[h]=C($[x]),ie&&H&&H.brave&&typeof H.brave.isBrave==l&&($[v]="Brave"),$},this.getCPU=function(){var $={};return $[T]=n,D.call($,se,Ie.cpu),$},this.getDevice=function(){var $={};return $[_]=n,$[c]=n,$[p]=n,D.call($,se,Ie.device),ie&&!$[p]&&Le&&Le.mobile&&($[p]=k),ie&&$[c]=="Macintosh"&&H&&typeof H.standalone!==m&&H.maxTouchPoints&&H.maxTouchPoints>2&&($[c]="iPad",$[p]=F),$},this.getEngine=function(){var $={};return $[v]=n,$[x]=n,D.call($,se,Ie.engine),$},this.getOS=function(){var $={};return $[v]=n,$[x]=n,D.call($,se,Ie.os),ie&&!$[v]&&Le&&Le.platform&&Le.platform!="Unknown"&&($[v]=Le.platform.replace(/chrome os/i,St).replace(/macos/i,_t)),$},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return se},this.setUA=function($){return se=typeof $===w&&$.length>le?S($,le):$,this},this.setUA(se),this};j.VERSION=i,j.BROWSER=gt([v,x,h]),j.CPU=gt([T]),j.DEVICE=gt([c,_,p,I,k,V,F,q,L]),j.ENGINE=j.OS=gt([v,x]),e.exports&&(t=e.exports=j),t.UAParser=j;var ce=typeof r!==m&&(r.jQuery||r.Zepto);if(ce&&!ce.ua){var De=new j;ce.ua=De.getResult(),ce.ua.get=function(){return De.getUA()},ce.ua.set=function(z){De.setUA(z);var Q=De.getResult();for(var H in Q)ce.ua[H]=Q[H]}}})(typeof window=="object"?window:Ma)})(er,er.exports)),er.exports}var Zi;function Pa(){if(Zi)return P;Zi=1,Object.defineProperty(P,"__esModule",{value:!0});function e(b){return b&&typeof b=="object"&&"default"in b?b.default:b}var t=Ra,r=e(t),n=Da(),i=new n,o=i.getBrowser(),a=i.getCPU(),l=i.getDevice(),m=i.getEngine(),g=i.getOS(),w=i.getUA(),h=function(d){return i.setUA(d)},c=function(d){if(!d){console.error("No userAgent string was provided");return}var u=new n(d);return{UA:u,browser:u.getBrowser(),cpu:u.getCPU(),device:u.getDevice(),engine:u.getEngine(),os:u.getOS(),ua:u.getUA(),setUserAgent:function(O){return u.setUA(O)}}},v=Object.freeze({ClientUAInstance:i,browser:o,cpu:a,device:l,engine:m,os:g,ua:w,setUa:h,parseUserAgent:c});function p(b,d){var u=Object.keys(b);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(b);d&&(E=E.filter(function(O){return Object.getOwnPropertyDescriptor(b,O).enumerable})),u.push.apply(u,E)}return u}function _(b){for(var d=1;d<arguments.length;d++){var u=arguments[d]!=null?arguments[d]:{};d%2?p(Object(u),!0).forEach(function(E){F(b,E,u[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(u)):p(Object(u)).forEach(function(E){Object.defineProperty(b,E,Object.getOwnPropertyDescriptor(u,E))})}return b}function x(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(d){return typeof d}:x=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},x(b)}function T(b,d){if(!(b instanceof d))throw new TypeError("Cannot call a class as a function")}function I(b,d){for(var u=0;u<d.length;u++){var E=d[u];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(b,E.key,E)}}function k(b,d,u){return d&&I(b.prototype,d),b}function F(b,d,u){return d in b?Object.defineProperty(b,d,{value:u,enumerable:!0,configurable:!0,writable:!0}):b[d]=u,b}function V(){return V=Object.assign||function(b){for(var d=1;d<arguments.length;d++){var u=arguments[d];for(var E in u)Object.prototype.hasOwnProperty.call(u,E)&&(b[E]=u[E])}return b},V.apply(this,arguments)}function q(b,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(d&&d.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),d&&le(b,d)}function L(b){return L=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},L(b)}function le(b,d){return le=Object.setPrototypeOf||function(E,O){return E.__proto__=O,E},le(b,d)}function de(b,d){if(b==null)return{};var u={},E=Object.keys(b),O,te;for(te=0;te<E.length;te++)O=E[te],!(d.indexOf(O)>=0)&&(u[O]=b[O]);return u}function re(b,d){if(b==null)return{};var u=de(b,d),E,O;if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(b);for(O=0;O<te.length;O++)E=te[O],!(d.indexOf(E)>=0)&&Object.prototype.propertyIsEnumerable.call(b,E)&&(u[E]=b[E])}return u}function J(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function W(b,d){if(d&&(typeof d=="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return J(b)}function Y(b,d){return oe(b)||ve(b,d)||be(b,d)||je()}function oe(b){if(Array.isArray(b))return b}function ve(b,d){var u=b==null?null:typeof Symbol!="undefined"&&b[Symbol.iterator]||b["@@iterator"];if(u!=null){var E=[],O=!0,te=!1,Oe,Ue;try{for(u=u.call(b);!(O=(Oe=u.next()).done)&&(E.push(Oe.value),!(d&&E.length===d));O=!0);}catch(Sr){te=!0,Ue=Sr}finally{try{!O&&u.return!=null&&u.return()}finally{if(te)throw Ue}}return E}}function be(b,d){if(b){if(typeof b=="string")return xe(b,d);var u=Object.prototype.toString.call(b).slice(8,-1);if(u==="Object"&&b.constructor&&(u=b.constructor.name),u==="Map"||u==="Set")return Array.from(b);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return xe(b,d)}}function xe(b,d){(d==null||d>b.length)&&(d=b.length);for(var u=0,E=new Array(d);u<d;u++)E[u]=b[u];return E}function je(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ue={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},Z={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},he={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},ke={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},Fe=function(d){switch(d){case ue.Mobile:return{isMobile:!0};case ue.Tablet:return{isTablet:!0};case ue.SmartTv:return{isSmartTV:!0};case ue.Console:return{isConsole:!0};case ue.Wearable:return{isWearable:!0};case ue.Browser:return{isBrowser:!0};case ue.Embedded:return{isEmbedded:!0};default:return ke}},Be=function(d){return h(d)},N=function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return d||u},ne=function(){return typeof window!="undefined"&&(window.navigator||navigator)?window.navigator||navigator:!1},Xe=function(d){var u=ne();return u&&u.platform&&(u.platform.indexOf(d)!==-1||u.platform==="MacIntel"&&u.maxTouchPoints>1&&!window.MSStream)},nt=function(d,u,E,O,te){return{isBrowser:d,browserMajorVersion:N(u.major),browserFullVersion:N(u.version),browserName:N(u.name),engineName:N(E.name),engineVersion:N(E.version),osName:N(O.name),osVersion:N(O.version),userAgent:N(te)}},ut=function(d,u,E,O){return _({},d,{vendor:N(u.vendor),model:N(u.model),os:N(E.name),osVersion:N(E.version),ua:N(O)})},Je=function(d,u,E,O){return{isSmartTV:d,engineName:N(u.name),engineVersion:N(u.version),osName:N(E.name),osVersion:N(E.version),userAgent:N(O)}},Et=function(d,u,E,O){return{isConsole:d,engineName:N(u.name),engineVersion:N(u.version),osName:N(E.name),osVersion:N(E.version),userAgent:N(O)}},pt=function(d,u,E,O){return{isWearable:d,engineName:N(u.name),engineVersion:N(u.version),osName:N(E.name),osVersion:N(E.version),userAgent:N(O)}},Pt=function(d,u,E,O,te){return{isEmbedded:d,vendor:N(u.vendor),model:N(u.model),engineName:N(E.name),engineVersion:N(E.version),osName:N(O.name),osVersion:N(O.version),userAgent:N(te)}};function St(b){var d=b?c(b):v,u=d.device,E=d.browser,O=d.engine,te=d.os,Oe=d.ua,Ue=Fe(u.type),Sr=Ue.isBrowser,Kl=Ue.isMobile,Xl=Ue.isTablet,yo=Ue.isSmartTV,xo=Ue.isConsole,Eo=Ue.isWearable,So=Ue.isEmbedded;if(Sr)return nt(Sr,E,O,te,Oe);if(yo)return Je(yo,O,te,Oe);if(xo)return Et(xo,O,te,Oe);if(Kl||Xl)return ut(Ue,u,te,Oe);if(Eo)return pt(Eo,O,te,Oe);if(So)return Pt(So,u,O,te,Oe)}var _t=function(d){var u=d.type;return u===ue.Mobile},kt=function(d){var u=d.type;return u===ue.Tablet},Nt=function(d){var u=d.type;return u===ue.Mobile||u===ue.Tablet},gt=function(d){var u=d.type;return u===ue.SmartTv},it=function(d){var u=d.type;return u===ue.Browser},f=function(d){var u=d.type;return u===ue.Wearable},C=function(d){var u=d.type;return u===ue.Console},S=function(d){var u=d.type;return u===ue.Embedded},D=function(d){var u=d.vendor;return N(u)},A=function(d){var u=d.model;return N(u)},R=function(d){var u=d.type;return N(u,"browser")},U=function(d){var u=d.name;return u===he.Android},X=function(d){var u=d.name;return u===he.Windows},j=function(d){var u=d.name;return u===he.MAC_OS},ce=function(d){var u=d.name;return u===he.WindowsPhone},De=function(d){var u=d.name;return u===he.IOS},z=function(d){var u=d.version;return N(u)},Q=function(d){var u=d.name;return N(u)},H=function(d){var u=d.name;return u===Z.Chrome},se=function(d){var u=d.name;return u===Z.Firefox},Le=function(d){var u=d.name;return u===Z.Chromium},Ie=function(d){var u=d.name;return u===Z.Edge},ie=function(d){var u=d.name;return u===Z.Yandex},$=function(d){var u=d.name;return u===Z.Safari||u===Z.MobileSafari},$e=function(d){var u=d.name;return u===Z.MobileSafari},Bt=function(d){var u=d.name;return u===Z.Opera},nr=function(d){var u=d.name;return u===Z.InternetExplorer||u===Z.Ie},Xi=function(d){var u=d.name;return u===Z.MIUI},Ji=function(d){var u=d.name;return u===Z.SamsungBrowser},Qi=function(d){var u=d.version;return N(u)},eo=function(d){var u=d.major;return N(u)},to=function(d){var u=d.name;return N(u)},ro=function(d){var u=d.name;return N(u)},no=function(d){var u=d.version;return N(u)},io=function(){var d=ne(),u=d&&d.userAgent&&d.userAgent.toLowerCase();return typeof u=="string"?/electron/.test(u):!1},Lt=function(d){return typeof d=="string"&&d.indexOf("Edg/")!==-1},oo=function(){var d=ne();return d&&(/iPad|iPhone|iPod/.test(d.platform)||d.platform==="MacIntel"&&d.maxTouchPoints>1)&&!window.MSStream},ot=function(){return Xe("iPad")},so=function(){return Xe("iPhone")},ao=function(){return Xe("iPod")},lo=function(d){return N(d)};function co(b){var d=b||v,u=d.device,E=d.browser,O=d.os,te=d.engine,Oe=d.ua;return{isSmartTV:gt(u),isConsole:C(u),isWearable:f(u),isEmbedded:S(u),isMobileSafari:$e(E)||ot(),isChromium:Le(E),isMobile:Nt(u)||ot(),isMobileOnly:_t(u),isTablet:kt(u)||ot(),isBrowser:it(u),isDesktop:it(u),isAndroid:U(O),isWinPhone:ce(O),isIOS:De(O)||ot(),isChrome:H(E),isFirefox:se(E),isSafari:$(E),isOpera:Bt(E),isIE:nr(E),osVersion:z(O),osName:Q(O),fullBrowserVersion:Qi(E),browserVersion:eo(E),browserName:to(E),mobileVendor:D(u),mobileModel:A(u),engineName:ro(te),engineVersion:no(te),getUA:lo(Oe),isEdge:Ie(E)||Lt(Oe),isYandex:ie(E),deviceType:R(u),isIOS13:oo(),isIPad13:ot(),isIPhone13:so(),isIPod13:ao(),isElectron:io(),isEdgeChromium:Lt(Oe),isLegacyEdge:Ie(E)&&!Lt(Oe),isWindows:X(O),isMacOs:j(O),isMIUI:Xi(E),isSamsungBrowser:Ji(E)}}var uo=gt(l),fo=C(l),ho=f(l),rl=S(l),nl=$e(o)||ot(),il=Le(o),Er=Nt(l)||ot(),po=_t(l),_o=kt(l)||ot(),go=it(l),ol=it(l),mo=U(g),vo=ce(g),bo=De(g)||ot(),sl=H(o),al=se(o),ll=$(o),cl=Bt(o),wo=nr(o),dl=z(g),ul=Q(g),fl=Qi(o),hl=eo(o),pl=to(o),_l=D(l),gl=A(l),ml=ro(m),vl=no(m),bl=lo(w),wl=Ie(o)||Lt(w),Cl=ie(o),yl=R(l),xl=oo(),El=ot(),Sl=so(),kl=ao(),Ol=io(),Tl=Lt(w),Fl=Ie(o)&&!Lt(w),Al=X(g),Il=j(g),Vl=Xi(o),Rl=Ji(o),Ml=function(d){if(!d||typeof d!="string"){console.error("No valid user agent string was provided");return}var u=c(d),E=u.device,O=u.browser,te=u.os,Oe=u.engine,Ue=u.ua;return co({device:E,browser:O,os:te,engine:Oe,ua:Ue})},Dl=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return mo?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},Pl=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return go?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},Nl=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return wo?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},Bl=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return bo?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},Ll=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return Er?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},Ul=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return _o?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},Hl=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return vo?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},Wl=function(d){var u=d.renderWithFragment,E=d.children;d.viewClassName,d.style;var O=re(d,["renderWithFragment","children","viewClassName","style"]);return po?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},jl=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return uo?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},$l=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return fo?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},zl=function(d){var u=d.renderWithFragment,E=d.children,O=re(d,["renderWithFragment","children"]);return ho?u?r.createElement(t.Fragment,null,E):r.createElement("div",O,E):null},ql=function(d){var u=d.renderWithFragment,E=d.children;d.viewClassName,d.style;var O=d.condition,te=re(d,["renderWithFragment","children","viewClassName","style","condition"]);return O?u?r.createElement(t.Fragment,null,E):r.createElement("div",te,E):null};function Zl(b){return(function(d){q(u,d);function u(E){var O;return T(this,u),O=W(this,L(u).call(this,E)),O.isEventListenerAdded=!1,O.handleOrientationChange=O.handleOrientationChange.bind(J(O)),O.onOrientationChange=O.onOrientationChange.bind(J(O)),O.onPageLoad=O.onPageLoad.bind(J(O)),O.state={isLandscape:!1,isPortrait:!1},O}return k(u,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var O=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:O===0,isLandscape:O===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window=="undefined"?"undefined":x(window))!==void 0&&Er&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return r.createElement(b,V({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),u})(r.Component)}function Gl(){var b=t.useState(function(){var te=window.innerWidth>window.innerHeight?90:0;return{isPortrait:te===0,isLandscape:te===90,orientation:te===0?"portrait":"landscape"}}),d=Y(b,2),u=d[0],E=d[1],O=t.useCallback(function(){var te=window.innerWidth>window.innerHeight?90:0,Oe={isPortrait:te===0,isLandscape:te===90,orientation:te===0?"portrait":"landscape"};u.orientation!==Oe.orientation&&E(Oe)},[u.orientation]);return t.useEffect(function(){return(typeof window=="undefined"?"undefined":x(window))!==void 0&&Er&&(O(),window.addEventListener("load",O,!1),window.addEventListener("resize",O,!1)),function(){window.removeEventListener("resize",O,!1),window.removeEventListener("load",O,!1)}},[O]),u}function Co(b){var d=b||window.navigator.userAgent;return c(d)}function Yl(b){var d=b||window.navigator.userAgent,u=Co(d),E=co(u);return[E,u]}return P.AndroidView=Dl,P.BrowserTypes=Z,P.BrowserView=Pl,P.ConsoleView=$l,P.CustomView=ql,P.IEView=Nl,P.IOSView=Bl,P.MobileOnlyView=Wl,P.MobileView=Ll,P.OsTypes=he,P.SmartTVView=jl,P.TabletView=Ul,P.WearableView=zl,P.WinPhoneView=Hl,P.browserName=pl,P.browserVersion=hl,P.deviceDetect=St,P.deviceType=yl,P.engineName=ml,P.engineVersion=vl,P.fullBrowserVersion=fl,P.getSelectorsByUserAgent=Ml,P.getUA=bl,P.isAndroid=mo,P.isBrowser=go,P.isChrome=sl,P.isChromium=il,P.isConsole=fo,P.isDesktop=ol,P.isEdge=wl,P.isEdgeChromium=Tl,P.isElectron=Ol,P.isEmbedded=rl,P.isFirefox=al,P.isIE=wo,P.isIOS=bo,P.isIOS13=xl,P.isIPad13=El,P.isIPhone13=Sl,P.isIPod13=kl,P.isLegacyEdge=Fl,P.isMIUI=Vl,P.isMacOs=Il,P.isMobile=Er,P.isMobileOnly=po,P.isMobileSafari=nl,P.isOpera=cl,P.isSafari=ll,P.isSamsungBrowser=Rl,P.isSmartTV=uo,P.isTablet=_o,P.isWearable=ho,P.isWinPhone=vo,P.isWindows=Al,P.isYandex=Cl,P.mobileModel=gl,P.mobileVendor=_l,P.osName=ul,P.osVersion=dl,P.parseUserAgent=c,P.setUserAgent=Be,P.useDeviceData=Co,P.useDeviceSelectors=Yl,P.useMobileOrientation=Gl,P.withOrientationChange=Zl,P}var xt=Pa();const Na={display:"none"},Ba={display:"flex",alignItems:"center",justifyContent:"center",width:"250px",height:"50px",border:0,borderRadius:"16px",background:"#7e57c5",cursor:"pointer"},La={position:"relative",display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",minHeight:"100%",overflow:"auto"},Ua=({header:e,footer:t,backgroundColor:r,buttons:n,selectionLimit:i})=>{var w,h;const{perform:o}=Ct(),a=qe(null),l=typeof i=="number"&&(i===0||i>1),m=c=>me(null,null,function*(){var p;const v=Array.from((p=c.currentTarget.files)!=null?p:[]);if(v.length)try{const x=(yield Promise.allSettled(v.map(T=>me(null,null,function*(){return{content:yield Nn(T),metadata:{name:T.name,type:T.type,size:T.size,lastModified:T.lastModified}}})))).filter(T=>T.status==="fulfilled").map(T=>T.value);o({cancel:!1,permissionDenied:!1,files:x})}catch(_){console.error("Error: ",_)}}),g=()=>me(null,null,function*(){var c;(c=a.current)==null||c.showPicker()});return ze(()=>{me(null,null,function*(){if(xt.isDesktop)return;const c=yield qo();(c==="denied"||c==="error")&&o({cancel:!1,permissionDenied:!0,files:[]})})},[]),s(ht,{header:e,footer:t,backgroundColor:r,children:s(Ve,{children:s("div",{style:G(y({},La),{justifyContent:"center"}),children:[s("input",G(y({style:Na,ref:a,type:"file",accept:"image/*",capture:"user"},l?{multiple:!0}:{}),{onInput:m})),s("button",{style:Ba,onClick:g,children:s(Re,{imageId:(h=(w=n==null?void 0:n[0])==null?void 0:w.image)==null?void 0:h.imageId})})]})})})};function Ha(){const e=qe(null),[t,r]=Ae(!1);return{ref:e,isPopoverOpen:t,openPopover:()=>{var o;(o=e.current)==null||o.showPopover(),r(!0)},closePopover:()=>{var o;(o=e.current)==null||o.hidePopover(),r(!1)}}}const dn=()=>me(null,null,function*(){var e;try{const t=yield navigator.permissions.query({name:"geolocation"});return(e=t==null?void 0:t.state)!=null?e:"unknown"}catch(t){return"unknown"}}),Wa=()=>me(null,null,function*(){try{return yield navigator.permissions.query({name:"geolocation"})}catch(e){return null}}),tr=e=>me(null,null,function*(){return new Promise(t=>{if(!navigator.geolocation)return t({location:{locationState:"location_request_failed",lat:null,lon:null,error:"Requesting location failed"}});navigator.geolocation.getCurrentPosition(r=>t({location:{locationState:"ok",lat:r.coords.latitude,lon:r.coords.longitude,error:null}}),r=>{r.code===1?t({location:{locationState:"application_location_restricted",lat:null,lon:null,error:"Application location services restricted or unavailable"}}):t({location:{locationState:"location_request_failed",lat:null,lon:null,error:"Requesting location failed"}})},e)})}),ja={height:"100%",fontFamily:"sans-serif",display:"flex",flexDirection:"column",gap:"15px"},$a={flex:"1 1 100%",display:"flex",justifyContent:"flex-start",alignItems:"center",alignContent:"center",flexDirection:"column",gap:"10px",height:"100%",width:"100%",overflow:"auto",position:"relative"},za={position:"fixed",inset:0,backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",background:"rgba(0,0,0,0.2)",zIndex:1e3,pointerEvents:"auto",cursor:"default"},qa={width:"100%",height:"auto",marginBottom:"32px",aspectRatio:1.61},Za={marginBottom:20,lineHeight:"39.2px",width:"100%"},Ga={lineHeight:"28px",fontWeight:"400",width:"100%"},Ya={padding:"32px 24px 0 24px",border:"1px solid rgba(0, 0, 0, 0.06)",width:"min(400px, calc(100vw - 32px))",gridTemplateRows:"auto 1fr"},Ka={marginBottom:"10px",fontWeight:500,display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":2,overflow:"hidden",textOverflow:"ellipsis",lineClamp:2},Xa={marginBottom:"84px",fontWeight:400},Ja={height:"100%",overflow:"scroll",maxHeight:"calc(100dvh - 190px)"},Qa={position:"absolute",bottom:0,left:0,padding:"24px",width:"100%"},el=({title:e,header:t,footer:r,image:n,description:i,buttons:o,backgroundColor:a,popups:l,askEveryTime:m})=>{const g=Bn(o),{perform:w}=Ct(),{setIsProcessingCallback:h}=Ho(),{ref:c,isPopoverOpen:v,openPopover:p,closePopover:_}=Ha(),x={enableHighAccuracy:!0,timeout:15e3,maximumAge:6e4},T=l==null?void 0:l.find(V=>V.reason==="system_restricted");ft(()=>{xt.isSafari||m||h==null||h(!0)},[]),ze(()=>{if(xt.isSafari||m)return;let V=!0;return me(null,null,function*(){if((yield dn())!=="granted"){h==null||h(!1);return}const L=yield tr(x);V&&w(L,g)}),()=>{xt.isSafari||m||(V=!1)}},[]),ze(()=>{if(xt.isSafari)return;let V=!0,q=null;return me(null,null,function*(){const L=yield Wa();L&&(q=L,L.onchange=()=>me(null,null,function*(){if(L.state==="denied"&&(h==null||h(!0),w({location:{locationState:"application_location_restricted",lat:null,lon:null,error:"Application location services restricted or unavailable"}},g)),L.state==="granted"){h==null||h(!0);const le=yield tr(x);if(!V)return;w(le,g)}}))}),()=>{xt.isSafari||(V=!1,q&&(q.onchange=null))}},[]);const I=V=>me(null,null,function*(){V.preventDefault();const q=yield dn();if(q==="denied"){p();return}if(q==="prompt"&&(yield tr()),q==="granted"){const L=yield tr(x);w(L,g)}}),k=V=>me(null,null,function*(){if(V.preventDefault(),(yield dn())==="denied"){p();return}h==null||h(!0);const L=yield tr(x);w(L,g)}),F=V=>{V.preventDefault(),_()};return s(ht,{header:t,footer:r,backgroundColor:a,children:[s("div",{style:ja,children:[s("div",{style:$a,children:[n&&s("div",{style:qa,children:s(Re,y({},n))}),e&&s("div",{style:Za,children:s(Ce,y({},e))}),i&&s("div",{style:Ga,children:s(mr,y({},i))})]}),!!(o!=null&&o.length)&&s("div",{style:{display:"flex",flexDirection:"column"},children:o.map((V,q)=>s("div",{style:{padding:"5px"},children:s(gr,y(y({dataTestId:"question-button"},V),V.type==="FORM"?{onClick:xt.isSafari?k:I}:{}))},q))})]}),T&&s("div",{ref:c,popover:"manual",role:"dialog","aria-modal":"true",style:G(y({},Ya),{borderRadius:T.cornerRadius||"27px",backgroundColor:T.backgroundColor||"#ffffff"}),children:[s("div",{style:Ka,children:s(Ce,y({},y({fontSize:"24px"},T.title)))}),s("div",{style:Xa,children:s("div",{style:Ja,children:s(Ce,y({},y({fontSize:"17px"},T.message)))})}),T.actionButton1&&s("div",{style:Qa,children:s(gr,y(y({dataTestId:"question-button"},T.actionButton1),T.actionButton1.type==="FORM"?{onClick:F}:{}))})]}),v&&s("div",{style:za,onPointerDown:V=>{V.preventDefault(),V.stopPropagation(),_()}})]})},Gi=e=>{const{templateId:t,templateLayout:r,dataSource:n,properties:i}=e,{perform:o}=Ct();if(!t||!r)return s(Wn,{});const a=i!=null&&i.length?JSON.stringify(i):"default-key";if(t===Ze.STATUS)return s(Es,{header:r==null?void 0:r.header,footer:r==null?void 0:r.footer,image:r==null?void 0:r.image,description:r==null?void 0:r.description,title:r==null?void 0:r.title,buttons:r==null?void 0:r.buttons,backgroundColor:r==null?void 0:r.backgroundColor});if(t===Ze.INFO)return s(Os,{header:r==null?void 0:r.header,footer:r==null?void 0:r.footer,image:r==null?void 0:r.image,title:r==null?void 0:r.title,description:r==null?void 0:r.description,buttons:r==null?void 0:r.buttons,backgroundColor:r==null?void 0:r.backgroundColor});if(t===Ze.GEOLOCATION)return s(el,{header:r.header,footer:r.footer,image:r.image,title:r.title,description:r.description,buttons:r.buttons,backgroundColor:r.backgroundColor,popups:r.popups,askEveryTime:r.askEveryTime});if(t===Ze.PROGRESS)return s(Wn,{header:r==null?void 0:r.header,footer:r==null?void 0:r.footer,progressView:r==null?void 0:r.progressView,backgroundColor:r==null?void 0:r.backgroundColor});if(t===Ze.INFO_DETAILS)return s(Vs,{header:r==null?void 0:r.header,title:r==null?void 0:r.title,details:r==null?void 0:r.details,buttons:r==null?void 0:r.buttons,footer:r==null?void 0:r.footer,backgroundColor:r==null?void 0:r.backgroundColor});if(t===Ze.CAMERA)return s(Ua,{header:r==null?void 0:r.header,buttons:r==null?void 0:r.buttons,footer:r==null?void 0:r.footer,backgroundColor:e.backgroundColor,selectionLimit:e.selectionLimit});if(t===Ze.GALLERY)return s(Ia,{header:r==null?void 0:r.header,buttons:r==null?void 0:r.buttons,footer:r==null?void 0:r.footer,backgroundColor:e.backgroundColor,selectionLimit:e.selectionLimit});if(n&&(n!=null&&n.questions.length)&&t===Ze.QUESTIONS)return s(Oa,{dataSource:n,properties:i,questions:r.questions,header:r==null?void 0:r.header,footer:r==null?void 0:r.footer,title:r==null?void 0:r.title,buttons:r==null?void 0:r.buttons,backgroundColor:r==null?void 0:r.backgroundColor},a);if(t===Ze.QUESTIONS&&!n){const m=new Qt({errorCode:qt.DECODING_FAILED,message:"No data for questions"});return o(m),null}const l=new Qt({errorCode:qt.DECODING_FAILED,message:"Unsupported step template"});return o(l),null};let un=!1;const tl=({children:e})=>s(Ve,{children:[s("style",{children:"#gui-idv-web-c *, #gui-idv-web-c *::before, #gui-idv-web-c *::after {box-sizing: border-box;}"}),e]}),Yi=({children:e})=>s("div",{part:"gui-idv",id:"gui-idv-web-c",style:{backgroundColor:"white",height:"100%",width:"100%"},children:e}),Ki=({isProcessing:e,moduleProps:t,perform:r})=>{const{templateId:n,templateLayout:i,dataSource:o,properties:a}=t,l=(m,g)=>{r&&r(m,g)};return n===Ze.QUESTIONS?s(Mn,{perform:l,children:s(Yi,{children:s(Gi,{properties:a,dataSource:o,templateId:n,templateLayout:i})})}):s(Mn,{perform:l,setIsProcessingCallback:e,children:s(Yi,{children:s(Gi,y(y({templateId:n,templateLayout:i},t.backgroundColor?{backgroundColor:t.backgroundColor}:{}),typeof t.selectionLimit=="number"?{selectionLimit:t.selectionLimit}:{}))})})},rr=class rr extends Po{constructor(){super(),this._mounted=!1,this._shadowRoot=this.attachShadow({mode:"open"}),this.props=null}setProps(t){this.props={idvEventListener:t.idvEventListener,moduleProps:t.moduleProps,isProcessing:t.isProcessing,perform:t.perform},this.render()}connectedCallback(){this.render(),this._mounted=!0}render(){if(!this.props)return"";if(this.shadowRoot){const t=document.createElement("style");t.id="idv-gui-styles",t.textContent=`
60
4
  *, *::before, *::after {
61
5
  box-sizing: border-box;
62
6
  }
@@ -74,4 +18,4 @@ Error generating stack: `+v.message+`
74
18
  width: 100%;
75
19
  height: 100%;
76
20
  }
77
- `,this.shadowRoot.querySelector("#idv-gui-styles")||this.shadowRoot.appendChild(a)}this._root.render(_.jsx(xw,{moduleProps:this.props.moduleProps,perform:this.props.perform,idvEventListener:this.props.idvEventListener}))}},{key:"disconnectedCallback",value:function(){var a=this;setTimeout(function(){a._mounted&&(a._mounted=!1)})}}],[{key:"isReady",value:function(){return xv}},{key:"initialize",value:function(a){xv=!0}},{key:"deinitialize",value:function(){xv=!1}}])}(a5);Wi(Hi,"displayName",Iu),Wi(Hi,"getSupportedTemplates",function(){return Object.values(Vt)}),Wi(Hi,"getIdentifier",function(){return Iu}),u5(Iu,Hi),er.GuiIdv=Hi,er.GuiIdvReactComponent=xw,er.GuiIdvSteps=Vt,er.GuiIdvStyleInjectionWrapper=mC,er.GuiModuleError=Yo,er.IDV_UI_ICONS=hr,er.default=Hi,er.idvIconComponents=Tu,Object.defineProperties(er,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
21
+ `,this.shadowRoot.querySelector("#idv-gui-styles")||this.shadowRoot.appendChild(t)}vt(s(Ki,{moduleProps:this.props.moduleProps,perform:this.props.perform,idvEventListener:this.props.idvEventListener,isProcessing:this.props.isProcessing}),this._shadowRoot)}disconnectedCallback(){vt(null,this._shadowRoot),setTimeout(()=>{this._mounted&&(this._mounted=!1)})}static isReady(){return un}static initialize(t){un=!0}static deinitialize(){un=!1}};rr.displayName=pr,rr.getSupportedTemplates=()=>Object.values(Ze),rr.getIdentifier=()=>pr;let xr=rr;No(pr,xr),ae.GuiIdv=xr,ae.GuiIdvReactComponent=Ki,ae.GuiIdvSteps=Ze,ae.GuiIdvStyleInjectionWrapper=tl,ae.GuiModuleError=qt,ae.IDV_UI_ICONS=fe,ae.idvIconComponents=_r,Object.defineProperty(ae,Symbol.toStringTag,{value:"Module"})}));