UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

1 lines 711 kB
import e,{createContext as t,useContext as n,useRef as r,useEffect as o,useState as i,useMemo as a,useCallback as s,Fragment as l,forwardRef as c,useReducer as u,useLayoutEffect as d}from"react";import*as p from"../icons/dnb/primary_icons";import*as h from"../icons/dnb/primary_icons_medium";import f from"react-dom";function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(null,arguments)}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function g(e){var t=function(e,t){if("object"!=b(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=b(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==b(t)?t:t+""}function v(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var w,O,E,k,x,S,P,j,D,C,T,N,A,M,R,L,I,F,H,z,B,$,U,V,W,q,K,G,Y={},Z="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function J(){if(O)return w;O=1;var e=function(e){return e&&e.Math===Math&&e};return w=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof Z&&Z)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()}function Q(){if(S)return x;S=1;var e="object"==typeof document&&document.all;return x=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function X(){if(j)return P;j=1;var e=Q();return P=function(t){return"object"==typeof t?null!==t:e(t)}}function ee(){if(C)return D;C=1;var e=J(),t=X(),n=e.document,r=t(n)&&t(n.createElement);return D=function(e){return r?n.createElement(e):{}}}function te(){return M?A:(M=1,A=function(e){try{return!!e()}catch(e){return!0}})}function ne(){if(L)return R;L=1;var e=te();return R=!e((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))}function re(){if(F)return I;F=1;var e=ne(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return I=e?r:function(e){return function(){return n.apply(e,arguments)}},I}function oe(){if(z)return H;z=1;var e=re(),t=e({}.toString),n=e("".slice);return H=function(e){return n(t(e),8,-1)}}function ie(){if($)return B;$=1;var e=re(),t=te(),n=oe(),r=Object,o=e("".split);return B=t((function(){return!r("z").propertyIsEnumerable(0)}))?function(e){return"String"===n(e)?o(e,""):r(e)}:r}function ae(){return V?U:(V=1,U=function(e){return null==e})}function se(){if(q)return W;q=1;var e=ae(),t=TypeError;return W=function(n){if(e(n))throw new t("Can't call method on "+n);return n}}function le(){if(G)return K;G=1;var e=ie(),t=se();return K=function(n){return e(t(n))}}var ce,ue,de,pe,he,fe,me,be,ge,ve,_e,ye,we,Oe,Ee,ke,xe,Se,Pe,je,De,Ce,Te,Ne,Ae,Me={exports:{}};function Re(){return ue?ce:(ue=1,ce=!1)}function Le(){if(pe)return de;pe=1;var e=J(),t=Object.defineProperty;return de=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch(t){e[n]=r}return r}}function Ie(){if(he)return Me.exports;he=1;var e=Re(),t=J(),n=Le(),r="__core-js_shared__",o=Me.exports=t[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.41.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Me.exports}function Fe(){if(me)return fe;me=1;var e=Ie();return fe=function(t,n){return e[t]||(e[t]=n||{})}}function He(){if(ge)return be;ge=1;var e=se(),t=Object;return be=function(n){return t(e(n))}}function ze(){if(_e)return ve;_e=1;var e=re(),t=He(),n=e({}.hasOwnProperty);return ve=Object.hasOwn||function(e,r){return n(t(e),r)}}function Be(){if(we)return ye;we=1;var e=re(),t=0,n=Math.random(),r=e(1..toString);return ye=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function $e(){if(xe)return ke;xe=1;var e,t,n=J(),r=function(){if(Ee)return Oe;Ee=1;var e=J().navigator,t=e&&e.userAgent;return Oe=t?String(t):""}(),o=n.process,i=n.Deno,a=o&&o.versions||i&&i.version,s=a&&a.v8;return s&&(t=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&(!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]),ke=t}function Ue(){if(Pe)return Se;Pe=1;var e=$e(),t=te(),n=J().String;return Se=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))}function Ve(){if(De)return je;De=1;var e=Ue();return je=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function We(){if(Te)return Ce;Te=1;var e=J(),t=Fe(),n=ze(),r=Be(),o=Ue(),i=Ve(),a=e.Symbol,s=t("wks"),l=i?a.for||a:a&&a.withoutSetter||r;return Ce=function(e){return n(s,e)||(s[e]=o&&n(a,e)?a[e]:l("Symbol."+e)),s[e]}}function qe(){if(Ae)return Ne;Ae=1;var e=X(),t=String,n=TypeError;return Ne=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}var Ke,Ge,Ye,Ze,Je={};function Qe(){if(Ge)return Ke;Ge=1;var e=te();return Ke=!e((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function Xe(){if(Ze)return Ye;Ze=1;var e=Qe(),t=te();return Ye=e&&t((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}var et,tt,nt,rt,ot,it,at,st,lt,ct,ut,dt,pt,ht,ft,mt,bt,gt,vt,_t,yt,wt,Ot,Et,kt,xt,St,Pt,jt,Dt,Ct,Tt,Nt,At,Mt,Rt,Lt,It,Ft,Ht,zt,Bt,$t,Ut,Vt,Wt,qt,Kt,Gt,Yt,Zt,Jt,Qt,Xt,en,tn,nn,rn,on,an,sn,ln,cn={};function un(){if(tt)return et;tt=1;var e=Qe(),t=te(),n=ee();return et=!e&&!t((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function dn(){if(rt)return nt;rt=1;var e=ne(),t=Function.prototype.call;return nt=e?t.bind(t):function(){return t.apply(t,arguments)},nt}function pn(){if(it)return ot;it=1;var e=J(),t=Q();return ot=function(n,r){return arguments.length<2?(o=e[n],t(o)?o:void 0):e[n]&&e[n][r];var o},ot}function hn(){if(st)return at;st=1;var e=re();return at=e({}.isPrototypeOf)}function fn(){if(ct)return lt;ct=1;var e=pn(),t=Q(),n=hn(),r=Ve(),o=Object;return lt=r?function(e){return"symbol"==typeof e}:function(r){var i=e("Symbol");return t(i)&&n(i.prototype,o(r))}}function mn(){if(dt)return ut;dt=1;var e=String;return ut=function(t){try{return e(t)}catch(e){return"Object"}}}function bn(){if(ht)return pt;ht=1;var e=Q(),t=mn(),n=TypeError;return pt=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function gn(){if(mt)return ft;mt=1;var e=bn(),t=ae();return ft=function(n,r){var o=n[r];return t(o)?void 0:e(o)},ft}function vn(){if(gt)return bt;gt=1;var e=dn(),t=Q(),n=X(),r=TypeError;return bt=function(o,i){var a,s;if("string"===i&&t(a=o.toString)&&!n(s=e(a,o)))return s;if(t(a=o.valueOf)&&!n(s=e(a,o)))return s;if("string"!==i&&t(a=o.toString)&&!n(s=e(a,o)))return s;throw new r("Can't convert object to primitive value")}}function _n(){if(_t)return vt;_t=1;var e=dn(),t=X(),n=fn(),r=gn(),o=vn(),i=We(),a=TypeError,s=i("toPrimitive");return vt=function(i,l){if(!t(i)||n(i))return i;var c,u=r(i,s);if(u){if(void 0===l&&(l="default"),c=e(u,i,l),!t(c)||n(c))return c;throw new a("Can't convert object to primitive value")}return void 0===l&&(l="number"),o(i,l)}}function yn(){if(wt)return yt;wt=1;var e=_n(),t=fn();return yt=function(n){var r=e(n,"string");return t(r)?r:r+""}}function wn(){if(Ot)return cn;Ot=1;var e=Qe(),t=un(),n=Xe(),r=qe(),o=yn(),i=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",u="writable";return cn.f=e?n?function(e,t,n){if(r(e),t=o(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&u in n&&!n[u]){var i=s(e,t);i&&i[u]&&(e[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:l in n?n[l]:i[l],writable:!1})}return a(e,t,n)}:a:function(e,n,s){if(r(e),n=o(n),r(s),t)try{return a(e,n,s)}catch(e){}if("get"in s||"set"in s)throw new i("Accessors not supported");return"value"in s&&(e[n]=s.value),e},cn}function On(){if(St)return xt;St=1;var e=function(){if(kt)return Et;kt=1;var e=Math.ceil,t=Math.floor;return Et=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)}}();return xt=function(t){var n=+t;return n!=n||0===n?0:e(n)},xt}function En(){if(jt)return Pt;jt=1;var e=On(),t=Math.max,n=Math.min;return Pt=function(r,o){var i=e(r);return i<0?t(i+o,0):n(i,o)}}function kn(){if(Ct)return Dt;Ct=1;var e=On(),t=Math.min;return Dt=function(n){var r=e(n);return r>0?t(r,9007199254740991):0}}function xn(){if(Nt)return Tt;Nt=1;var e=kn();return Tt=function(t){return e(t.length)}}function Sn(){return Lt?Rt:(Lt=1,Rt={})}function Pn(){if(Ft)return It;Ft=1;var e=re(),t=ze(),n=le(),r=function(){if(Mt)return At;Mt=1;var e=le(),t=En(),n=xn(),r=function(r){return function(o,i,a){var s=e(o),l=n(s);if(0===l)return!r&&-1;var c,u=t(a,l);if(r&&i!=i){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((r||u in s)&&s[u]===i)return r||u||0;return!r&&-1}};return At={includes:r(!0),indexOf:r(!1)}}().indexOf,o=Sn(),i=e([].push);return It=function(e,a){var s,l=n(e),c=0,u=[];for(s in l)!t(o,s)&&t(l,s)&&i(u,s);for(;a.length>c;)t(l,s=a[c++])&&(~r(u,s)||i(u,s));return u},It}function jn(){return zt?Ht:(zt=1,Ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Dn(){if($t)return Bt;$t=1;var e=Pn(),t=jn();return Bt=Object.keys||function(n){return e(n,t)}}function Cn(){if(Wt)return Vt;Wt=1;var e=pn();return Vt=e("document","documentElement")}function Tn(){if(Kt)return qt;Kt=1;var e=Fe(),t=Be(),n=e("keys");return qt=function(e){return n[e]||(n[e]=t(e))}}function Nn(){if(Yt)return Gt;Yt=1;var e,t=qe(),n=function(){if(Ut)return Je;Ut=1;var e=Qe(),t=Xe(),n=wn(),r=qe(),o=le(),i=Dn();return Je.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var a,s=o(t),l=i(t),c=l.length,u=0;c>u;)n.f(e,a=l[u++],s[a]);return e},Je}(),r=jn(),o=Sn(),i=Cn(),a=ee(),s=Tn(),l="prototype",c="script",u=s("IE_PROTO"),d=function(){},p=function(e){return"<"+c+">"+e+"</"+c+">"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var t,n,o;f="undefined"!=typeof document?document.domain&&e?h(e):(n=a("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):h(e);for(var s=r.length;s--;)delete f[l][r[s]];return f()};return o[u]=!0,Gt=Object.create||function(e,r){var o;return null!==e?(d[l]=t(e),o=new d,d[l]=null,o[u]=e):o=f(),void 0===r?o:n.f(o,r)}}function An(){if(Jt)return Zt;Jt=1;var e=We(),t=Nn(),n=wn().f,r=e("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:t(null)}),Zt=function(e){o[r][e]=!0}}function Mn(){return Xt?Qt:(Xt=1,Qt={})}function Rn(){return rn?nn:(rn=1,nn=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function Ln(){if(an)return on;an=1;var e=Qe(),t=wn(),n=Rn();return on=e?function(e,r,o){return t.f(e,r,n(1,o))}:function(e,t,n){return e[t]=n,e}}function In(){if(ln)return sn;ln=1;var e,t,n,r=function(){if(tn)return en;tn=1;var e=J(),t=Q(),n=e.WeakMap;return en=t(n)&&/native code/.test(String(n))}(),o=J(),i=X(),a=Ln(),s=ze(),l=Ie(),c=Tn(),u=Sn(),d="Object already initialized",p=o.TypeError,h=o.WeakMap;if(r||l.state){var f=l.state||(l.state=new h);f.get=f.get,f.has=f.has,f.set=f.set,e=function(e,t){if(f.has(e))throw new p(d);return t.facade=e,f.set(e,t),t},t=function(e){return f.get(e)||{}},n=function(e){return f.has(e)}}else{var m=c("state");u[m]=!0,e=function(e,t){if(s(e,m))throw new p(d);return t.facade=e,a(e,m,t),t},t=function(e){return s(e,m)?e[m]:{}},n=function(e){return s(e,m)}}return sn={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!i(n)||(r=t(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}}var Fn,Hn,zn={},Bn={};function $n(){if(Fn)return Bn;Fn=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return Bn.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,Bn}function Un(){if(Hn)return zn;Hn=1;var e=Qe(),t=dn(),n=$n(),r=Rn(),o=le(),i=yn(),a=ze(),s=un(),l=Object.getOwnPropertyDescriptor;return zn.f=e?l:function(e,c){if(e=o(e),c=i(c),s)try{return l(e,c)}catch(e){}if(a(e,c))return r(!t(n.f,e,c),e[c])},zn}var Vn,Wn,qn,Kn,Gn,Yn,Zn,Jn={exports:{}};function Qn(){if(Wn)return Vn;Wn=1;var e=Qe(),t=ze(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,a=o&&(!e||e&&r(n,"name").configurable);return Vn={EXISTS:o,PROPER:i,CONFIGURABLE:a}}function Xn(){if(Kn)return qn;Kn=1;var e=re(),t=Q(),n=Ie(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),qn=n.inspectSource}function er(){if(Gn)return Jn.exports;Gn=1;var e=re(),t=te(),n=Q(),r=ze(),o=Qe(),i=Qn().CONFIGURABLE,a=Xn(),s=In(),l=s.enforce,c=s.get,u=String,d=Object.defineProperty,p=e("".slice),h=e("".replace),f=e([].join),m=o&&!t((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),g=Jn.exports=function(e,t,n){"Symbol("===p(u(t),0,7)&&(t="["+h(u(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||i&&e.name!==t)&&(o?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&n&&r(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=l(e);return r(a,"source")||(a.source=f(b,"string"==typeof t?t:"")),e};return Function.prototype.toString=g((function(){return n(this)&&c(this).source||a(this)}),"toString"),Jn.exports}function tr(){if(Zn)return Yn;Zn=1;var e=Q(),t=wn(),n=er(),r=Le();return Yn=function(o,i,a,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:i;if(e(a)&&n(a,c,s),s.global)l?o[i]=a:r(i,a);else{try{s.unsafe?o[i]&&(l=!0):delete o[i]}catch(e){}l?o[i]=a:t.f(o,i,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return o}}var nr,rr={};var or,ir,ar,sr,lr,cr,ur,dr,pr,hr,fr,mr,br,gr,vr,_r,yr,wr,Or,Er,kr,xr,Sr,Pr,jr,Dr,Cr,Tr,Nr,Ar,Mr,Rr,Lr,Ir,Fr={};function Hr(){return or||(or=1,Fr.f=Object.getOwnPropertySymbols),Fr}function zr(){if(ar)return ir;ar=1;var e=pn(),t=re(),n=function(){if(nr)return rr;nr=1;var e=Pn(),t=jn().concat("length","prototype");return rr.f=Object.getOwnPropertyNames||function(n){return e(n,t)},rr}(),r=Hr(),o=qe(),i=t([].concat);return ir=e("Reflect","ownKeys")||function(e){var t=n.f(o(e)),a=r.f;return a?i(t,a(e)):t}}function Br(){if(lr)return sr;lr=1;var e=ze(),t=zr(),n=Un(),r=wn();return sr=function(o,i,a){for(var s=t(i),l=r.f,c=n.f,u=0;u<s.length;u++){var d=s[u];e(o,d)||a&&e(a,d)||l(o,d,c(i,d))}}}function $r(){if(pr)return dr;pr=1;var e=J(),t=Un().f,n=Ln(),r=tr(),o=Le(),i=Br(),a=function(){if(ur)return cr;ur=1;var e=te(),t=Q(),n=/#|\.prototype\./,r=function(n,r){var l=i[o(n)];return l===s||l!==a&&(t(r)?e(r):!!r)},o=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},i=r.data={},a=r.NATIVE="N",s=r.POLYFILL="P";return cr=r}();return dr=function(s,l){var c,u,d,p,h,f=s.target,m=s.global,b=s.stat;if(c=m?e:b?e[f]||o(f,{}):e[f]&&e[f].prototype)for(u in l){if(p=l[u],d=s.dontCallGetSet?(h=t(c,u))&&h.value:c[u],!a(m?u:f+(b?".":"#")+u,s.forced)&&void 0!==d){if(typeof p==typeof d)continue;i(p,d)}(s.sham||d&&d.sham)&&n(p,"sham",!0),r(c,u,p,s)}}}function Ur(){if(br)return mr;br=1;var e=ze(),t=Q(),n=He(),r=Tn(),o=function(){if(fr)return hr;fr=1;var e=te();return hr=!e((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))}(),i=r("IE_PROTO"),a=Object,s=a.prototype;return mr=o?a.getPrototypeOf:function(r){var o=n(r);if(e(o,i))return o[i];var l=o.constructor;return t(l)&&o instanceof l?l.prototype:o instanceof a?s:null}}function Vr(){if(vr)return gr;vr=1;var e,t,n,r=te(),o=Q(),i=X(),a=Nn(),s=Ur(),l=tr(),c=We(),u=Re(),d=c("iterator"),p=!1;return[].keys&&("next"in(n=[].keys())?(t=s(s(n)))!==Object.prototype&&(e=t):p=!0),!i(e)||r((function(){var t={};return e[d].call(t)!==t}))?e={}:u&&(e=a(e)),o(e[d])||l(e,d,(function(){return this})),gr={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}}function Wr(){if(yr)return _r;yr=1;var e=wn().f,t=ze(),n=We()("toStringTag");return _r=function(r,o,i){r&&!i&&(r=r.prototype),r&&!t(r,n)&&e(r,n,{configurable:!0,value:o})}}function qr(){if(Or)return wr;Or=1;var e=Vr().IteratorPrototype,t=Nn(),n=Rn(),r=Wr(),o=Mn(),i=function(){return this};return wr=function(a,s,l,c){var u=s+" Iterator";return a.prototype=t(e,{next:n(+!c,l)}),r(a,u,!1,!0),o[u]=i,a}}function Kr(){if(Sr)return xr;Sr=1;var e=X();return xr=function(t){return e(t)||null===t}}function Gr(){if(jr)return Pr;jr=1;var e=Kr(),t=String,n=TypeError;return Pr=function(r){if(e(r))return r;throw new n("Can't set "+t(r)+" as a prototype")}}function Yr(){if(Cr)return Dr;Cr=1;var e=function(){if(kr)return Er;kr=1;var e=re(),t=bn();return Er=function(n,r,o){try{return e(t(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(e){}}}(),t=X(),n=se(),r=Gr();return Dr=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,a={};try{(o=e(Object.prototype,"__proto__","set"))(a,[]),i=a instanceof Array}catch(e){}return function(e,a){return n(e),r(a),t(e)?(i?o(e,a):e.__proto__=a,e):e}}():void 0)}function Zr(){if(Nr)return Tr;Nr=1;var e=$r(),t=dn(),n=Re(),r=Qn(),o=Q(),i=qr(),a=Ur(),s=Yr(),l=Wr(),c=Ln(),u=tr(),d=We(),p=Mn(),h=Vr(),f=r.PROPER,m=r.CONFIGURABLE,b=h.IteratorPrototype,g=h.BUGGY_SAFARI_ITERATORS,v=d("iterator"),_="keys",y="values",w="entries",O=function(){return this};return Tr=function(r,d,h,E,k,x,S){i(h,d,E);var P,j,D,C=function(e){if(e===k&&R)return R;if(!g&&e&&e in A)return A[e];switch(e){case _:case y:case w:return function(){return new h(this,e)}}return function(){return new h(this)}},T=d+" Iterator",N=!1,A=r.prototype,M=A[v]||A["@@iterator"]||k&&A[k],R=!g&&M||C(k),L="Array"===d&&A.entries||M;if(L&&(P=a(L.call(new r)))!==Object.prototype&&P.next&&(n||a(P)===b||(s?s(P,b):o(P[v])||u(P,v,O)),l(P,T,!0,!0),n&&(p[T]=O)),f&&k===y&&M&&M.name!==y&&(!n&&m?c(A,"name",y):(N=!0,R=function(){return t(M,this)})),k)if(j={values:C(y),keys:x?R:C(_),entries:C(w)},S)for(D in j)(g||N||!(D in A))&&u(A,D,j[D]);else e({target:d,proto:!0,forced:g||N},j);return n&&!S||A[v]===R||u(A,v,R,{name:k}),p[d]=R,j}}function Jr(){return Mr?Ar:(Mr=1,Ar=function(e,t){return{value:e,done:t}})}function Qr(){if(Lr)return Rr;Lr=1;var e=le(),t=An(),n=Mn(),r=In(),o=wn().f,i=Zr(),a=Jr(),s=Re(),l=Qe(),c="Array Iterator",u=r.set,d=r.getterFor(c);Rr=i(Array,"Array",(function(t,n){u(this,{type:c,target:e(t),index:0,kind:n})}),(function(){var e=d(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,a(void 0,!0);switch(e.kind){case"keys":return a(n,!1);case"values":return a(t[n],!1)}return a([n,t[n]],!1)}),"values");var p=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!s&&l&&"values"!==p.name)try{o(p,"name",{value:"values"})}catch(e){}return Rr}!function(){if(Ir)return Y;Ir=1;var e=J(),t=k?E:(k=1,E={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}),n=function(){if(N)return T;N=1;var e=ee()("span").classList,t=e&&e.constructor&&e.constructor.prototype;return T=t===Object.prototype?void 0:t}(),r=Qr(),o=Ln(),i=Wr(),a=We()("iterator"),s=r.values,l=function(e,n){if(e){if(e[a]!==s)try{o(e,a,s)}catch(t){e[a]=s}if(i(e,n,!0),t[n])for(var l in r)if(e[l]!==r[l])try{o(e,l,r[l])}catch(t){e[l]=r[l]}}};for(var c in t)l(e[c]&&e[c].prototype,c);l(n,"DOMTokenList")}();var Xr,eo={exports:{}};var to,no,ro,oo=y((Xr||(Xr=1,to=eo,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}to.exports?(t.default=t,to.exports=t):window.classNames=t}()),eo.exports)),io={};var ao,so,lo,co,uo,po,ho,fo,mo,bo,go,vo,_o,yo,wo,Oo,Eo,ko,xo,So,Po,jo,Do,Co,To,No,Ao,Mo,Ro={};function Lo(){if(co)return lo;co=1;var e=function(){if(so)return ao;so=1;var e={};return e[We()("toStringTag")]="z",ao="[object z]"===String(e)}(),t=Q(),n=oe(),r=We()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return lo=e?n:function(e){var a,s,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(a=o(e),r))?s:i?n(a):"Object"===(l=n(a))&&t(a.callee)?"Arguments":l}}function Io(){if(po)return uo;po=1;var e=Lo(),t=String;return uo=function(n){if("Symbol"===e(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Fo(){if(fo)return ho;fo=1;var e=qe();return ho=function(){var t=e(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function Ho(){if(Oo)return wo;Oo=1;var e,t,n=dn(),r=re(),o=Io(),i=Fo(),a=function(){if(bo)return mo;bo=1;var e=te(),t=J().RegExp,n=e((function(){var e=t("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),r=n||e((function(){return!t("a","y").sticky})),o=n||e((function(){var e=t("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));return mo={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),s=Fe(),l=Nn(),c=In().get,u=function(){if(vo)return go;vo=1;var e=te(),t=J().RegExp;return go=e((function(){var e=t(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))}(),d=function(){if(yo)return _o;yo=1;var e=te(),t=J().RegExp;return _o=e((function(){var e=t("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))}(),p=s("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,f=h,m=r("".charAt),b=r("".indexOf),g=r("".replace),v=r("".slice),_=(t=/b*/g,n(h,e=/a/,"a"),n(h,t,"a"),0!==e.lastIndex||0!==t.lastIndex),y=a.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(_||w||y||u||d)&&(f=function(e){var t,r,a,s,u,d,O,E=this,k=c(E),x=o(e),S=k.raw;if(S)return S.lastIndex=E.lastIndex,t=n(f,S,x),E.lastIndex=S.lastIndex,t;var P=k.groups,j=y&&E.sticky,D=n(i,E),C=E.source,T=0,N=x;if(j&&(D=g(D,"y",""),-1===b(D,"g")&&(D+="g"),N=v(x,E.lastIndex),E.lastIndex>0&&(!E.multiline||E.multiline&&"\n"!==m(x,E.lastIndex-1))&&(C="(?: "+C+")",N=" "+N,T++),r=new RegExp("^(?:"+C+")",D)),w&&(r=new RegExp("^"+C+"$(?!\\s)",D)),_&&(a=E.lastIndex),s=n(h,j?r:E,N),j?s?(s.input=v(s.input,T),s[0]=v(s[0],T),s.index=E.lastIndex,E.lastIndex+=s[0].length):E.lastIndex=0:_&&s&&(E.lastIndex=E.global?s.index+s[0].length:a),w&&s&&s.length>1&&n(p,s[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&P)for(s.groups=d=l(null),u=0;u<P.length;u++)d[(O=P[u])[0]]=s[O[1]];return s}),wo=f}function zo(){if(xo)return ko;xo=1,function(){if(Eo)return Ro;Eo=1;var e=$r(),t=Ho();e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t})}();var e=dn(),t=tr(),n=Ho(),r=te(),o=We(),i=Ln(),a=o("species"),s=RegExp.prototype;return ko=function(l,c,u,d){var p=o(l),h=!r((function(){var e={};return e[p]=function(){return 7},7!==""[l](e)})),f=h&&!r((function(){var e=!1,t=/a/;return"split"===l&&((t={}).constructor={},t.constructor[a]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return e=!0,null},t[p](""),!e}));if(!h||!f||u){var m=/./[p],b=c(p,""[l],(function(t,r,o,i,a){var l=r.exec;return l===n||l===s.exec?h&&!a?{done:!0,value:e(m,r,o,i)}:{done:!0,value:e(t,o,r,i)}:{done:!1}}));t(String.prototype,l,b[0]),t(s,p,b[1])}d&&i(s[p],"sham",!0)}}function Bo(){if(Po)return So;Po=1;var e=re(),t=On(),n=Io(),r=se(),o=e("".charAt),i=e("".charCodeAt),a=e("".slice),s=function(e){return function(s,l){var c,u,d=n(r(s)),p=t(l),h=d.length;return p<0||p>=h?e?"":void 0:(c=i(d,p))<55296||c>56319||p+1===h||(u=i(d,p+1))<56320||u>57343?e?o(d,p):c:e?a(d,p,p+2):u-56320+(c-55296<<10)+65536}};return So={codeAt:s(!1),charAt:s(!0)}}function $o(){if(Do)return jo;Do=1;var e=Bo().charAt;return jo=function(t,n,r){return n+(r?e(t,n).length:1)}}function Uo(){if(To)return Co;To=1;var e=re(),t=He(),n=Math.floor,r=e("".charAt),o=e("".replace),i=e("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return Co=function(e,l,c,u,d,p){var h=c+e.length,f=u.length,m=s;return void 0!==d&&(d=t(d),m=a),o(p,m,(function(t,o){var a;switch(r(o,0)){case"$":return"$";case"&":return e;case"`":return i(l,0,c);case"'":return i(l,h);case"<":a=d[i(o,1,-1)];break;default:var s=+o;if(0===s)return t;if(s>f){var p=n(s/10);return 0===p?t:p<=f?void 0===u[p-1]?r(o,1):u[p-1]+r(o,1):t}a=u[s-1]}return void 0===a?"":a}))},Co}function Vo(){if(Ao)return No;Ao=1;var e=dn(),t=qe(),n=Q(),r=oe(),o=Ho(),i=TypeError;return No=function(a,s){var l=a.exec;if(n(l)){var c=e(l,a,s);return null!==c&&t(c),c}if("RegExp"===r(a))return e(o,a,s);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(Mo)return io;Mo=1;var e=function(){if(ro)return no;ro=1;var e=ne(),t=Function.prototype,n=t.apply,r=t.call;return no="object"==typeof Reflect&&Reflect.apply||(e?r.bind(n):function(){return r.apply(n,arguments)}),no}(),t=dn(),n=re(),r=zo(),o=te(),i=qe(),a=Q(),s=ae(),l=On(),c=kn(),u=Io(),d=se(),p=$o(),h=gn(),f=Uo(),m=Vo(),b=We()("replace"),g=Math.max,v=Math.min,_=n([].concat),y=n([].push),w=n("".indexOf),O=n("".slice),E="$0"==="a".replace(/./,"$0"),k=!!/./[b]&&""===/./[b]("a","$0");r("replace",(function(n,r,o){var E=k?"$":"$0";return[function(e,n){var o=d(this),i=s(e)?void 0:h(e,b);return i?t(i,e,o,n):t(r,u(o),e,n)},function(t,n){var s=i(this),d=u(t);if("string"==typeof n&&-1===w(n,E)&&-1===w(n,"$<")){var h=o(r,s,d,n);if(h.done)return h.value}var b=a(n);b||(n=u(n));var k,x=s.global;x&&(k=s.unicode,s.lastIndex=0);for(var S,P=[];null!==(S=m(s,d))&&(y(P,S),x);){""===u(S[0])&&(s.lastIndex=p(d,c(s.lastIndex),k))}for(var j,D="",C=0,T=0;T<P.length;T++){for(var N,A=u((S=P[T])[0]),M=g(v(l(S.index),d.length),0),R=[],L=1;L<S.length;L++)y(R,void 0===(j=S[L])?j:String(j));var I=S.groups;if(b){var F=_([A],R,M,d);void 0!==I&&y(F,I),N=u(e(n,void 0,F))}else N=f(A,d,M,R,I,n);M>=C&&(D+=O(d,C,M)+N,C=M+A.length)}return D+O(d,C)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!E||k)}();var Wo,qo,Ko,Go,Yo,Zo,Jo,Qo,Xo,ei,ti,ni,ri,oi,ii={};function ai(){if(qo)return Wo;qo=1;var e=oe(),t=re();return Wo=function(n){if("Function"===e(n))return t(n)}}function si(){if(Qo)return Jo;Qo=1;var e=re(),t=te(),n=Q(),r=Lo(),o=pn(),i=Xn(),a=function(){},s=o("Reflect","construct"),l=/^\s*(?:class|function)\b/,c=e(l.exec),u=!l.test(a),d=function(e){if(!n(e))return!1;try{return s(a,[],e),!0}catch(e){return!1}},p=function(e){if(!n(e))return!1;switch(r(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!c(l,i(e))}catch(e){return!0}};return p.sham=!0,Jo=!s||t((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?p:d}function li(){if(ei)return Xo;ei=1;var e=si(),t=mn(),n=TypeError;return Xo=function(r){if(e(r))return r;throw new n(t(r)+" is not a constructor")}}function ci(){if(ni)return ti;ni=1;var e=qe(),t=li(),n=ae(),r=We()("species");return ti=function(o,i){var a,s=e(o).constructor;return void 0===s||n(a=e(s)[r])?i:t(a)}}function ui(){if(ri)return ii;ri=1;var e=$r(),t=dn(),n=ai(),r=qr(),o=Jr(),i=se(),a=kn(),s=Io(),l=qe(),c=ae(),u=oe(),d=function(){if(Go)return Ko;Go=1;var e=X(),t=oe(),n=We()("match");return Ko=function(r){var o;return e(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===t(r))}}(),p=function(){if(Zo)return Yo;Zo=1;var e=dn(),t=ze(),n=hn(),r=Fo(),o=RegExp.prototype;return Yo=function(i){var a=i.flags;return void 0!==a||"flags"in o||t(i,"flags")||!n(o,i)?a:e(r,i)}}(),h=gn(),f=tr(),m=te(),b=We(),g=ci(),v=$o(),_=Vo(),y=In(),w=Re(),O=b("matchAll"),E="RegExp String",k=E+" Iterator",x=y.set,S=y.getterFor(k),P=RegExp.prototype,j=TypeError,D=n("".indexOf),C=n("".matchAll),T=!!C&&!m((function(){C("a",/./)})),N=r((function(e,t,n,r){x(this,{type:k,regexp:e,string:t,global:n,unicode:r,done:!1})}),E,(function(){var e=S(this);if(e.done)return o(void 0,!0);var t=e.regexp,n=e.string,r=_(t,n);return null===r?(e.done=!0,o(void 0,!0)):e.global?(""===s(r[0])&&(t.lastIndex=v(n,a(t.lastIndex),e.unicode)),o(r,!1)):(e.done=!0,o(r,!1))})),A=function(e){var t,n,r,o=l(this),i=s(e),c=g(o,RegExp),u=s(p(o));return t=new c(c===RegExp?o.source:o,u),n=!!~D(u,"g"),r=!!~D(u,"u"),t.lastIndex=a(o.lastIndex),new N(t,i,n,r)};return e({target:"String",proto:!0,forced:T},{matchAll:function(e){var n,r,o,a,l=i(this);if(c(e)){if(T)return C(l,e)}else{if(d(e)&&(n=s(i(p(e))),!~D(n,"g")))throw new j("`.matchAll` does not allow non-global regexes");if(T)return C(l,e);if(void 0===(o=h(e,O))&&w&&"RegExp"===u(e)&&(o=A),o)return t(o,e,l)}return r=s(l),a=new RegExp(e,"g"),w?t(A,a,r):a[O](r)}}),w||O in P||f(P,O,A),ii}function di(e){if(e&&"object"==typeof e){const t=e,n=t.which||t.keyCode||t.charCode;if(n)e=n;else if(t.key&&((e=t.key.toLowerCase()).startsWith("arrow")&&(e=e.replace("arrow","")),"spacebar"===e&&(e=e.replace("bar","")),"tab"!==e))return e}if("number"==typeof e)return fi[e];const t=String(e);{const e=pi[t.toLowerCase()];if(e)return e}{const e=hi[t.toLowerCase()];if(e)return e}return 1===t.length?t.charCodeAt(0):void 0}oi||(oi=1,ui());const pi={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},hi={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(let e=97;e<123;e++)pi[String.fromCharCode(e)]=e-32;for(let e=48;e<58;e++)pi[e-48]=e;for(let e=1;e<13;e++)pi["f"+e]=e+111;for(let e=0;e<10;e++)pi["numpad "+e]=e+96;const fi={};for(const e in pi)fi[pi[e]]=e;for(const e in hi)pi[e]=hi[e];var mi,bi={exports:{}};var gi,vi=mi?bi.exports:(mi=1,gi=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",r=n,o=Date.now(),i=!1,a=["button","input","select","textarea"],s=[],l=[16,17,18,91,93],c=[],u={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,p={x:null,y:null},h={2:"touch",3:"touch",4:"mouse"},f=!1;try{var m=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,m)}catch(e){}var b=function(){var e=!f||{passive:!0,capture:!0};document.addEventListener("DOMContentLoaded",g,!0),window.PointerEvent?(window.addEventListener("pointerdown",v,!0),window.addEventListener("pointermove",y,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",v,!0),window.addEventListener("MSPointerMove",y,!0)):(window.addEventListener("mousedown",v,!0),window.addEventListener("mousemove",y,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",v,e),window.addEventListener("touchend",v,!0))),window.addEventListener(S(),y,e),window.addEventListener("keydown",v,!0),window.addEventListener("keyup",v,!0),window.addEventListener("focusin",w,!0),window.addEventListener("focusout",O,!0)},g=function(){if(i=!("false"===e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(r=window.sessionStorage.getItem("what-intent"))}catch(e){}_("input"),_("intent")},v=function(e){var t=e.which,o=u[e.type];"pointer"===o&&(o=k(e));var i=!c.length&&-1===l.indexOf(t),s=c.length&&-1!==c.indexOf(t),d="keyboard"===o&&t&&(i||s)||"mouse"===o||"touch"===o;if(x(o)&&(d=!1),d&&n!==o&&(E("input",n=o),_("input")),d&&r!==o){var p=document.activeElement;p&&p.nodeName&&(-1===a.indexOf(p.nodeName.toLowerCase())||"button"===p.nodeName.toLowerCase()&&!D(p,"form"))&&(E("intent",r=o),_("intent"))}},_=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),P(t)},y=function(e){var t=u[e.type];"pointer"===t&&(t=k(e)),j(e),(!d&&!x(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(E("intent",r=t),_("intent"))},w=function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):O()},O=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},E=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},k=function(e){return"number"==typeof e.pointerType?h[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},x=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},S=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},P=function(e){for(var t=0,o=s.length;t<o;t++)s[t].type===e&&s[t].fn.call(void 0,"input"===e?n:r)},j=function(e){p.x!==e.screenX||p.y!==e.screenY?(d=!1,p.x=e.screenX,p.y=e.screenY):d=!0},D=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(u[S()]="mouse",b()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){s.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=s.length;t<n;t++)if(s[t].fn===e)return t}(e);(t||0===t)&&s.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},bi.exports=gi()),_i=y(vi);function yi(){throw new Error("setTimeout has not been defined")}function wi(){throw new Error("clearTimeout has not been defined")}var Oi=yi,Ei=wi;function ki(e){if(Oi===setTimeout)return setTimeout(e,0);if((Oi===yi||!Oi)&&setTimeout)return Oi=setTimeout,setTimeout(e,0);try{return Oi(e,0)}catch(t){try{return Oi.call(null,e,0)}catch(t){return Oi.call(this,e,0)}}}"function"==typeof Z.setTimeout&&(Oi=setTimeout),"function"==typeof Z.clearTimeout&&(Ei=clearTimeout);var xi,Si=[],Pi=!1,ji=-1;function Di(){Pi&&xi&&(Pi=!1,xi.length?Si=xi.concat(Si):ji=-1,Si.length&&Ci())}function Ci(){if(!Pi){var e=ki(Di);Pi=!0;for(var t=Si.length;t;){for(xi=Si,Si=[];++ji<t;)xi&&xi[ji].run();ji=-1,t=Si.length}xi=null,Pi=!1,function(e){if(Ei===clearTimeout)return clearTimeout(e);if((Ei===wi||!Ei)&&clearTimeout)return Ei=clearTimeout,clearTimeout(e);try{return Ei(e)}catch(t){try{return Ei.call(null,e)}catch(t){return Ei.call(this,e)}}}(e)}}function Ti(e,t){this.fun=e,this.array=t}Ti.prototype.run=function(){this.fun.apply(null,this.array)};function Ni(){}var Ai=Ni,Mi=Ni,Ri=Ni,Li=Ni,Ii=Ni,Fi=Ni,Hi=Ni;var zi=Z.performance||{},Bi=zi.now||zi.mozNow||zi.msNow||zi.oNow||zi.webkitNow||function(){return(new Date).getTime()};var $i=new Date;var Ui={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Si.push(new Ti(e,t)),1!==Si.length||Pi||ki(Ci)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ai,addListener:Mi,once:Ri,off:Li,removeListener:Ii,removeAllListeners:Fi,emit:Hi,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Bi.call(zi),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-$i)/1e3}};function Vi(e){var t,n,r,o,i,a,s;const l="getMockImplementation";null!==(t=e)&&void 0!==t&&null!==(n=t[l])&&void 0!==n&&n.call(t)&&(e=e[l]());const c=e instanceof(async()=>null).constructor;if(c!==("AsyncFunction"===(null===(r=e)||void 0===r||null===(o=r.constructor)||void 0===o?void 0:o.name)))return!0;return!!(null===(i=e)||void 0===i||null===(a=i.toString())||void 0===a||null===(s=a.trim())||void 0===s?void 0:s.match(/return _ref[^.]*\.apply/))||c}function Wi(e){let t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,{immediate:a=!1,instance:s=null,async:l=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=!1;const u=[],d=()=>{var e;c=!0,clearTimeout(t),null===(e=r)||void 0===e||e(),u.forEach((e=>{e()}))},p=e=>(u.includes(e)||u.push(e),()=>c);function h(){for(var u=arguments.length,h=new Array(u),f=0;f<u;f++)h[f]=arguments[f];"function"==typeof n&&n(),c=!1;const m=s||this||{};m.cancel=d,m.addCancelEvent=p;const b=i=>{if(t=null,i||!a)try{var s;n=e.apply(m,h),null===(s=r)||void 0===s||s(n)}catch(e){var l;null===(l=o)||void 0===l||l(e)}},g=a&&!t;return clearTimeout(t),t=setTimeout(b,i),g&&b(!0),l?new Promise(((e,t)=>{r=e,o=t})):n}function f(){return h(...arguments)}async function m(){return h(...arguments)}return f.cancel=d,f.addCancelEvent=p,m.cancel=d,m.addCancelEvent=p,Vi(e)?m:f}const qi="Mac|iPad|iPhone|iPod",Ki="Linux";let Gi=!1,Yi=!1,Zi=!1,Ji=!1,Qi=!1,Xi=!1;const ea=()=>{var e;return Xi="undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};var ta,na,ra,oa,ia,aa,sa;Gi="undefined"!=typeof navigator&&/edge/i.test(null===(ta=navigator)||void 0===ta?void 0:ta.userAgent),Yi="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(na=navigator)||void 0===na?void 0:na.platform),Zi="undefined"!=typeof navigator&&/safari/i.test(null===(ra=navigator)||void 0===ra?void 0:ra.userAgent)&&!/chrome/i.test(null===(oa=navigator)||void 0===oa?void 0:oa.userAgent),Ji="undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(ia=navigator)||void 0===ia?void 0:ia.platform),ea(),Qi="undefined"!=typeof navigator&&new RegExp(qi,"i").test(null===(aa=navigator)||void 0===aa?void 0:aa.platform),"undefined"!=typeof navigator&&new RegExp(Ki,"i").test(null===(sa=navigator)||void 0===sa?void 0:sa.platform);const la={};function ca(e){let t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function ua(e){let t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function da(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}function pa(){try{const e=window.getSelection();if(e.rangeCount>0){let t=e.getRangeAt(0).startContainer;return t&&"object"==typeof t&&(t=t.parentNode),t}}catch(e){}return null}function ha(e){return String(e).includes("--")?e:e?/#|var/.test(e)?e:`var(--color-${e})`:void 0}!function(){try{0}catch(e){console.error(e)}}();const fa=(e,t)=>{try{const r=/[A-Z]/.test(e)?e:null,o=r?null:e.replace(/^\./,""),i=e=>e?r?(null==e?void 0:e.tagName)===r:null==e?void 0:e.classList.contains(o):null;if(i(t))return t;for(;(t=null===(n=t)||void 0===n?void 0:n.parentElement)&&!i(t);)var n}catch(e){}return t};class ma{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.bypassElement=null,this.bypassSelectors=[],this.options=e||{},this}setBypassElement(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}setBypassSelector(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}activate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._nodesToInvalidate||this._runInvalidation(e)}revert(){this._revertInvalidation(),this._nodesToInvalidate=null}_runInvalidation(e){if("undefined"!=typeof document&&(this._nodesToInvalidate=this.getNodesToInvalidate(e),Array.isArray(this._nodesToInvalidate)))for(const e of this._nodesToInvalidate)if(e){if(!1!==this.options.tabIndex){const t=e.getAttribute("tabindex");null!==t&&void 0===e.__tabindex&&(e.__tabindex=t),e.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){const t=e.getAttribute("aria-hidden");null!==t&&void 0===e.__ariahidden&&(e.__ariahidden=t),e.setAttribute("aria-hidden","true")}}}_revertInvalidation(){if(Array.isArray(this._nodesToInvalidate))for(const e of this._nodesToInvalidate)e&&(!1!==this.options.tabIndex&&(void 0!==e.__tabindex?(e.setAttribute("tabindex",e.__tabindex),delete e.__tabindex):e.removeAttribute("tabindex")),!1!==this.options.ariaHidden&&(void 0!==e.__ariahidden?(e.setAttribute("aria-hidden",e.__ariahidden),delete e.__ariahidden):e.removeAttribute("aria-hidden")))}getNodesToInvalidate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"==typeof document)return[];"string"==typeof e&&(e=document.querySelector(e));const t=`${e?"*":"html *"} ${this.bypassSelectors.map((e=>`:not(${e})`)).join("")}:not(script):not(style):not(path):not(head *)`;try{return Array.from((e||document.documentElement).querySelectorAll(t))}catch(e){}}}function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ga(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ba(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function va(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=ga(ga({},t),e);for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return ga(ga({},e),ya(e,t,r))}function _a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return ga(ga({},e),ya(e,t,r,{onlyMergeExistingProps:!0}))}function ya(e,t,n){let{onlyMergeExistingProps:r=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=function(e){return e.reduce(((e,t)=>(t&&(e=ga(ga({},e),t)),e)),{})}(n);return Object.entries(o).reduce(((n,o)=>{let[i,a]=o;return r&&!Object.prototype.hasOwnProperty.call(e,i)||e[i]===(null==t?void 0:t[i])&&(n[i]=a),n}),{})}function wa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Array.isArray(t)&&(t=t.reduce(((e,t)=>(e[t]=!0,e)),{})),Array.isArray(n)&&(n=n.reduce(((e,t)=>(e[t]=!0,e)),{}));const r=Array.isArray(e);return Object.entries(e).reduce(((e,o)=>{var i,a;let[s,l]=o;return r&&(s=l),("function"==typeof t?t(s):void 0!==(null===(i=t)||void 0===i?void 0:i[s]))&&!("function"==typeof n?n(s):void 0!==(null===(a=n)||void 0===a?void 0:a[s]))||(r?e.push(l):e[s]=l),e}),r?[]:{})}function Oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(){if("undefined"!=typeof window){class e{get version(){return"10.72.0"}}window.Eufemia=new e}}(),_i.specificKeys([9]),function(){const e=()=>{if("undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!=typeof navigator){try{"undefined"!=typeof window&&window.IS_TEST?document.documentElement.setAttribute("data-os","other"):null!==navigator.platform.match(new RegExp(qi))?document.documentElement.setAttribute("data-os","mac"):null!==navigator.platform.match(new RegExp("Win"))?document.documentElement.setAttribute("data-os","win"):null!==navigator.platform.match(new RegExp(Ki))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}};"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}();const ka=(e,t)=>{if(e&&e.attributes){let n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"==typeof n&&Object.entries(n).forEach((e=>{let[n,r]=e;Object.assign(t,{[n]:r})})),delete t.attributes)}if(null!==t.disabled&&"false"!==t.disabled||delete t.disabled,void 0!==t.space&&delete t.space,void 0!==t.top&&delete t.top,void 0!==t.right&&delete t.right,void 0!==t.bottom&&delete t.bottom,void 0!==t.left&&delete t.left,void 0!==t.no_collapse&&delete t.no_collapse,void 0!==t.innerSpace?delete t.innerSpace:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){let n=e.tabindex;"off"===n&&(n="-1"),t.tabIndex=n}if(t&&"object"==typeof t)for(const e in t)"function"!=typeof t[e]||/(^[a-z]{1,}[A-Z]{1})/.test(e)?(null===t[e]||/[^a-z-]/i.test(e))&&delete t[e]:delete t[e];return t},xa=t=>{if(!t)return null;if(void 0!==Z&&Array.isArray(Z.registeredElements)&&Z.registeredElements.length>0){let n=null;if(Object.entries(t).reverse().map((r=>{let[o,i]=r;return o.includes("render_")&&/^render_/.test(o)&&"function"==typeof i?(n&&(Object.isFrozen(t)&&(t=Ea({},t)),t.children=n),n=e.createElement(e.Fragment,{key:o},i(t))):null})).filter(Boolean),n)return n}const n="function"==typeof t.children?t.children(t):t.children;if(Array.isArray(n)){const e=n.reduce(((e,t)=>("string"!=typeof t&&"number"!=typeof t||e.push(t),e)),[]);if(e.length===n.length&&e.length>0)return e.join("")}return n},Sa=function(){let e={};for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o=n[0];return!0!==o&&!1!==o||(n.shift(),o&&(e=n.shift())),n.reduce(((e,t)=>(t&&(e=Object.assign(e,Object.entries(t).reduce(((t,n)=>{let[r,o]=n;return null!==o&&("object"==typeof o?(o=Sa(e[r]||{},o),Object.keys(o).length>0&&(t[r]=o)):t[r]=o),t}),{}))),e)),e)};function Pa(e){return e&&"object"==typeof e&&!Array.isArray(e)}function ja(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(const t of n)if(Pa(t))for(const n in t)"__proto__"!==n&&"constructor"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&Pa(e)&&(Pa(t[n])?(Pa(e[n])||(e[n]={}),ja(e[n],t[n])):e[n]=t[n]);return e}const Da=e=>null!=e&&("true"===String(e)||"1"===String(e)),Ca=(e,t,n)=>{let r;const o=Ea(Ea({},n&&n.event||{}),n);if(o&&o.attributes&&o.event){const e=o.event.currentTarget;if(e)try{const t=Ea({},e.dataset||{}),n=Ea({},o.attributes);for(const e in n)/^data-/.test(e)&&(t[String(e).replace(/^data-/,"")]=n[e]);for(const e in t)o.event.currentTarget.dataset&&(o.event.currentTarget.dataset[e]=t[e]),o.event.target&&o.event.target.dataset&&(o.event.target.dataset[e]=t[e])}catch(e){}}const i=e&&e.props||e;if(t.includes("_")){if("function"==typeof i[t]){const n=i[t].apply(e,[o]);void 0!==n&&(r=n)}if("function"==typeof i[t=Ta(t)]){const n=i[t].apply(e,[o]);void 0!==n&&(r=n)}}else{if("function"==typeof i[t]){const n=i[t].apply(e,[o]);void 0!==n&&(r=n)}if("function"==typeof i[t=Aa(t)]){const n=i[t].apply(e,[o]);void 0!==n&&(r=n)}}return r},Ta=e=>e.split(/_/g).reduce(((e,t,n)=>e+(0===n?t:t.replace(/(\w)(\w*)/g,((e,t,n)=>t.toUpperCase()+n.toLowerCase())))),""),Na=e=>e.split(/_/g).reduce(((e,t)=>e+t.replace(/(\w)(\w*)/g,((e,t,n)=>t.toUpperCase()+n.toLowerCase()))),""),Aa=e=>e.replace(/\B[A-Z]/g,(e=>`_${e}`)).toLowerCase(),Ma=e=>e.replace(/\B[A-Z]/g,(e=>`-${e}`)).toLowerCase();const Ra=(e,t,n)=>new La(e,t,n);class La{constructor(e,t){let n=