@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
2 lines (1 loc) • 27.6 kB
JavaScript
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).dnbBasis={})}(this,(function(t){"use strict";var r,n,e,o,i,u,a,c,f,l,s={};function v(){return n?r:(n=1,r=function(t){try{return!!t()}catch(t){return!0}})}function p(){if(o)return e;o=1;var t=v();return e=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function d(){if(c)return a;c=1;var t=p(),r=Function.prototype.call;return a=t?r.bind(r):function(){return r.apply(r,arguments)},a}function g(){if(l)return f;l=1;var t=p(),r=Function.prototype,n=r.call,e=t&&r.bind.bind(n,n);return f=t?e:function(t){return function(){return n.apply(t,arguments)}},f}var y,h,m={},b="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function w(){if(h)return y;h=1;var t=function(t){return t&&t.Math===Math&&t};return y=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof b&&b)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()}var S,O,x={};function E(){if(O)return S;O=1;var t=v();return S=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}var j,P,T,A,I,R,L,M,_,C,k,N,F,D,$,G,z,B,U,V,W,Y,H,K,q,X,J,Q,Z,tt,rt,nt,et,ot,it,ut,at,ct,ft,lt={};function st(){return T?P:(T=1,P=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}})}function vt(){if(I)return A;I=1;var t=g(),r=t({}.toString),n=t("".slice);return A=function(t){return n(r(t),8,-1)}}function pt(){return _?M:(_=1,M=function(t){return null==t})}function dt(){if(k)return C;k=1;var t=pt(),r=TypeError;return C=function(n){if(t(n))throw new r("Can't call method on "+n);return n}}function gt(){if(F)return N;F=1;var t=function(){if(L)return R;L=1;var t=g(),r=v(),n=vt(),e=Object,o=t("".split);return R=r((function(){return!e("z").propertyIsEnumerable(0)}))?function(t){return"String"===n(t)?o(t,""):e(t)}:e}(),r=dt();return N=function(n){return t(r(n))}}function yt(){if($)return D;$=1;var t="object"==typeof document&&document.all;return D=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}function ht(){if(z)return G;z=1;var t=yt();return G=function(r){return"object"==typeof r?null!==r:t(r)}}function mt(){if(U)return B;U=1;var t=w(),r=yt();return B=function(n,e){return arguments.length<2?(o=t[n],r(o)?o:void 0):t[n]&&t[n][e];var o},B}function bt(){if(q)return K;q=1;var t,r,n=w(),e=function(){if(H)return Y;H=1;var t=w().navigator,r=t&&t.userAgent;return Y=r?String(r):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(r=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&e&&(!(t=e.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=e.match(/Chrome\/(\d+)/))&&(r=+t[1]),K=r}function wt(){if(J)return X;J=1;var t=bt(),r=v(),n=w().String;return X=!!Object.getOwnPropertySymbols&&!r((function(){var r=Symbol("symbol detection");return!n(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function St(){if(Z)return Q;Z=1;var t=wt();return Q=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ot(){if(rt)return tt;rt=1;var t=mt(),r=yt(),n=function(){if(W)return V;W=1;var t=g();return V=t({}.isPrototypeOf)}(),e=St(),o=Object;return tt=e?function(t){return"symbol"==typeof t}:function(e){var i=t("Symbol");return r(i)&&n(i.prototype,o(e))}}function xt(){if(et)return nt;et=1;var t=String;return nt=function(r){try{return t(r)}catch(t){return"Object"}}}function Et(){if(it)return ot;it=1;var t=yt(),r=xt(),n=TypeError;return ot=function(e){if(t(e))return e;throw new n(r(e)+" is not a function")}}function jt(){if(at)return ut;at=1;var t=Et(),r=pt();return ut=function(n,e){var o=n[e];return r(o)?void 0:t(o)}}function Pt(){if(ft)return ct;ft=1;var t=d(),r=yt(),n=ht(),e=TypeError;return ct=function(o,i){var u,a;if("string"===i&&r(u=o.toString)&&!n(a=t(u,o)))return a;if(r(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&r(u=o.toString)&&!n(a=t(u,o)))return a;throw new e("Can't convert object to primitive value")}}var Tt,At,It,Rt,Lt,Mt,_t,Ct,kt,Nt,Ft,Dt,$t,Gt,zt,Bt,Ut,Vt,Wt,Yt,Ht,Kt,qt,Xt,Jt={exports:{}};function Qt(){return At?Tt:(At=1,Tt=!1)}function Zt(){if(Rt)return It;Rt=1;var t=w(),r=Object.defineProperty;return It=function(n,e){try{r(t,n,{value:e,configurable:!0,writable:!0})}catch(r){t[n]=e}return e}}function tr(){if(Lt)return Jt.exports;Lt=1;var t=Qt(),r=w(),n=Zt(),e="__core-js_shared__",o=Jt.exports=r[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.41.0",mode:t?"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"}),Jt.exports}function rr(){if(_t)return Mt;_t=1;var t=tr();return Mt=function(r,n){return t[r]||(t[r]=n||{})}}function nr(){if(kt)return Ct;kt=1;var t=dt(),r=Object;return Ct=function(n){return r(t(n))}}function er(){if(Ft)return Nt;Ft=1;var t=g(),r=nr(),n=t({}.hasOwnProperty);return Nt=Object.hasOwn||function(t,e){return n(r(t),e)}}function or(){if($t)return Dt;$t=1;var t=g(),r=0,n=Math.random(),e=t(1..toString);return Dt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+e(++r+n,36)}}function ir(){if(zt)return Gt;zt=1;var t=w(),r=rr(),n=er(),e=or(),o=wt(),i=St(),u=t.Symbol,a=r("wks"),c=i?u.for||u:u&&u.withoutSetter||e;return Gt=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:c("Symbol."+t)),a[t]}}function ur(){if(Ut)return Bt;Ut=1;var t=d(),r=ht(),n=Ot(),e=jt(),o=Pt(),i=ir(),u=TypeError,a=i("toPrimitive");return Bt=function(i,c){if(!r(i)||n(i))return i;var f,l=e(i,a);if(l){if(void 0===c&&(c="default"),f=t(l,i,c),!r(f)||n(f))return f;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function ar(){if(Wt)return Vt;Wt=1;var t=ur(),r=Ot();return Vt=function(n){var e=t(n,"string");return r(e)?e:e+""}}function cr(){if(Ht)return Yt;Ht=1;var t=w(),r=ht(),n=t.document,e=r(n)&&r(n.createElement);return Yt=function(t){return e?n.createElement(t):{}}}function fr(){if(qt)return Kt;qt=1;var t=E(),r=v(),n=cr();return Kt=!t&&!r((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function lr(){if(Xt)return x;Xt=1;var t=E(),r=d(),n=function(){if(j)return lt;j=1;var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);return lt.f=n?function(t){var n=r(this,t);return!!n&&n.enumerable}:t,lt}(),e=st(),o=gt(),i=ar(),u=er(),a=fr(),c=Object.getOwnPropertyDescriptor;return x.f=t?c:function(t,f){if(t=o(t),f=i(f),a)try{return c(t,f)}catch(t){}if(u(t,f))return e(!r(n.f,t,f),t[f])},x}var sr,vr,pr,dr,gr,yr,hr,mr={};function br(){if(vr)return sr;vr=1;var t=E(),r=v();return sr=t&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}function wr(){if(dr)return pr;dr=1;var t=ht(),r=String,n=TypeError;return pr=function(e){if(t(e))return e;throw new n(r(e)+" is not an object")}}function Sr(){if(gr)return mr;gr=1;var t=E(),r=fr(),n=br(),e=wr(),o=ar(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c="enumerable",f="configurable",l="writable";return mr.f=t?n?function(t,r,n){if(e(t),r=o(r),e(n),"function"==typeof t&&"prototype"===r&&"value"in n&&l in n&&!n[l]){var i=a(t,r);i&&i[l]&&(t[r]=n.value,n={configurable:f in n?n[f]:i[f],enumerable:c in n?n[c]:i[c],writable:!1})}return u(t,r,n)}:u:function(t,n,a){if(e(t),n=o(n),e(a),r)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},mr}function Or(){if(hr)return yr;hr=1;var t=E(),r=Sr(),n=st();return yr=t?function(t,e,o){return r.f(t,e,n(1,o))}:function(t,r,n){return t[r]=n,t}}var xr,Er,jr,Pr,Tr,Ar,Ir,Rr,Lr,Mr,_r,Cr,kr,Nr,Fr,Dr={exports:{}};function $r(){if(Er)return xr;Er=1;var t=E(),r=er(),n=Function.prototype,e=t&&Object.getOwnPropertyDescriptor,o=r(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&e(n,"name").configurable);return xr={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function Gr(){if(Pr)return jr;Pr=1;var t=g(),r=yt(),n=tr(),e=t(Function.toString);return r(n.inspectSource)||(n.inspectSource=function(t){return e(t)}),jr=n.inspectSource}function zr(){if(Rr)return Ir;Rr=1;var t=rr(),r=or(),n=t("keys");return Ir=function(t){return n[t]||(n[t]=r(t))}}function Br(){return Mr?Lr:(Mr=1,Lr={})}function Ur(){if(Cr)return _r;Cr=1;var t,r,n,e=function(){if(Ar)return Tr;Ar=1;var t=w(),r=yt(),n=t.WeakMap;return Tr=r(n)&&/native code/.test(String(n))}(),o=w(),i=ht(),u=Or(),a=er(),c=tr(),f=zr(),l=Br(),s="Object already initialized",v=o.TypeError,p=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new p);d.get=d.get,d.has=d.has,d.set=d.set,t=function(t,r){if(d.has(t))throw new v(s);return r.facade=t,d.set(t,r),r},r=function(t){return d.get(t)||{}},n=function(t){return d.has(t)}}else{var g=f("state");l[g]=!0,t=function(t,r){if(a(t,g))throw new v(s);return r.facade=t,u(t,g,r),r},r=function(t){return a(t,g)?t[g]:{}},n=function(t){return a(t,g)}}return _r={set:t,get:r,has:n,enforce:function(e){return n(e)?r(e):t(e,{})},getterFor:function(t){return function(n){var e;if(!i(n)||(e=r(n)).type!==t)throw new v("Incompatible receiver, "+t+" required");return e}}}}function Vr(){if(kr)return Dr.exports;kr=1;var t=g(),r=v(),n=yt(),e=er(),o=E(),i=$r().CONFIGURABLE,u=Gr(),a=Ur(),c=a.enforce,f=a.get,l=String,s=Object.defineProperty,p=t("".slice),d=t("".replace),y=t([].join),h=o&&!r((function(){return 8!==s((function(){}),"length",{value:8}).length})),m=String(String).split("String"),b=Dr.exports=function(t,r,n){"Symbol("===p(l(r),0,7)&&(r="["+d(l(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!e(t,"name")||i&&t.name!==r)&&(o?s(t,"name",{value:r,configurable:!0}):t.name=r),h&&n&&e(n,"arity")&&t.length!==n.arity&&s(t,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&s(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=c(t);return e(u,"source")||(u.source=y(m,"string"==typeof r?r:"")),t};return Function.prototype.toString=b((function(){return n(this)&&f(this).source||u(this)}),"toString"),Dr.exports}function Wr(){if(Fr)return Nr;Fr=1;var t=yt(),r=Sr(),n=Vr(),e=Zt();return Nr=function(o,i,u,a){a||(a={});var c=a.enumerable,f=void 0!==a.name?a.name:i;if(t(u)&&n(u,f,a),a.global)c?o[i]=u:e(i,u);else{try{a.unsafe?o[i]&&(c=!0):delete o[i]}catch(t){}c?o[i]=u:r.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var Yr,Hr,Kr,qr,Xr,Jr,Qr,Zr,tn,rn,nn,en,on,un,an,cn,fn,ln={};function sn(){if(qr)return Kr;qr=1;var t=function(){if(Hr)return Yr;Hr=1;var t=Math.ceil,r=Math.floor;return Yr=Math.trunc||function(n){var e=+n;return(e>0?r:t)(e)}}();return Kr=function(r){var n=+r;return n!=n||0===n?0:t(n)}}function vn(){if(Jr)return Xr;Jr=1;var t=sn(),r=Math.max,n=Math.min;return Xr=function(e,o){var i=t(e);return i<0?r(i+o,0):n(i,o)}}function pn(){if(Zr)return Qr;Zr=1;var t=sn(),r=Math.min;return Qr=function(n){var e=t(n);return e>0?r(e,9007199254740991):0}}function dn(){if(rn)return tn;rn=1;var t=pn();return tn=function(r){return t(r.length)}}function gn(){if(un)return on;un=1;var t=g(),r=er(),n=gt(),e=function(){if(en)return nn;en=1;var t=gt(),r=vn(),n=dn(),e=function(e){return function(o,i,u){var a=t(o),c=n(a);if(0===c)return!e&&-1;var f,l=r(u,c);if(e&&i!=i){for(;c>l;)if((f=a[l++])!=f)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===i)return e||l||0;return!e&&-1}};return nn={includes:e(!0),indexOf:e(!1)}}().indexOf,o=Br(),i=t([].push);return on=function(t,u){var a,c=n(t),f=0,l=[];for(a in c)!r(o,a)&&r(c,a)&&i(l,a);for(;u.length>f;)r(c,a=u[f++])&&(~e(l,a)||i(l,a));return l}}function yn(){return cn?an:(cn=1,an=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var hn,mn,bn,wn,Sn,On,xn,En,jn,Pn,Tn,An,In,Rn,Ln,Mn,_n,Cn,kn,Nn={};function Fn(){if(bn)return mn;bn=1;var t=mt(),r=g(),n=function(){if(fn)return ln;fn=1;var t=gn(),r=yn().concat("length","prototype");return ln.f=Object.getOwnPropertyNames||function(n){return t(n,r)},ln}(),e=(hn||(hn=1,Nn.f=Object.getOwnPropertySymbols),Nn),o=wr(),i=r([].concat);return mn=t("Reflect","ownKeys")||function(t){var r=n.f(o(t)),u=e.f;return u?i(r,u(t)):r}}function Dn(){if(Sn)return wn;Sn=1;var t=er(),r=Fn(),n=lr(),e=Sr();return wn=function(o,i,u){for(var a=r(i),c=e.f,f=n.f,l=0;l<a.length;l++){var s=a[l];t(o,s)||u&&t(u,s)||c(o,s,f(i,s))}}}function $n(){if(jn)return En;jn=1;var t=w(),r=lr().f,n=Or(),e=Wr(),o=Zt(),i=Dn(),u=function(){if(xn)return On;xn=1;var t=v(),r=yt(),n=/#|\.prototype\./,e=function(n,e){var c=i[o(n)];return c===a||c!==u&&(r(e)?t(e):!!e)},o=e.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",a=e.POLYFILL="P";return On=e}();return En=function(a,c){var f,l,s,v,p,d=a.target,g=a.global,y=a.stat;if(f=g?t:y?t[d]||o(d,{}):t[d]&&t[d].prototype)for(l in c){if(v=c[l],s=a.dontCallGetSet?(p=r(f,l))&&p.value:f[l],!u(g?l:d+(y?".":"#")+l,a.forced)&&void 0!==s){if(typeof v==typeof s)continue;i(v,s)}(a.sham||s&&s.sham)&&n(v,"sham",!0),e(f,l,v,a)}}}function Gn(){if(In)return An;In=1;var t=function(){if(Tn)return Pn;Tn=1;var t={};return t[ir()("toStringTag")]="z",Pn="[object z]"===String(t)}(),r=yt(),n=vt(),e=ir()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return An=t?n:function(t){var u,a,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,r){try{return t[r]}catch(t){}}(u=o(t),e))?a:i?n(u):"Object"===(c=n(u))&&r(u.callee)?"Arguments":c}}function zn(){if(Ln)return Rn;Ln=1;var t=Gn(),r=String;return Rn=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}}function Bn(){if(_n)return Mn;_n=1;var t=wr();return Mn=function(){var r=t(this),n="";return r.hasIndices&&(n+="d"),r.global&&(n+="g"),r.ignoreCase&&(n+="i"),r.multiline&&(n+="m"),r.dotAll&&(n+="s"),r.unicode&&(n+="u"),r.unicodeSets&&(n+="v"),r.sticky&&(n+="y"),n}}var Un,Vn,Wn,Yn,Hn,Kn,qn,Xn,Jn,Qn,Zn,te,re,ne,ee,oe,ie,ue,ae,ce,fe,le,se,ve,pe,de,ge,ye,he,me,be,we,Se,Oe,xe,Ee,je,Pe,Te,Ae={};function Ie(){if(Vn)return Un;Vn=1;var t=gn(),r=yn();return Un=Object.keys||function(n){return t(n,r)}}function Re(){if(Hn)return Yn;Hn=1;var t=mt();return Yn=t("document","documentElement")}function Le(){if(qn)return Kn;qn=1;var t,r=wr(),n=function(){if(Wn)return Ae;Wn=1;var t=E(),r=br(),n=Sr(),e=wr(),o=gt(),i=Ie();return Ae.f=t&&!r?Object.defineProperties:function(t,r){e(t);for(var u,a=o(r),c=i(r),f=c.length,l=0;f>l;)n.f(t,u=c[l++],a[u]);return t},Ae}(),e=yn(),o=Br(),i=Re(),u=cr(),a=zr(),c="prototype",f="script",l=a("IE_PROTO"),s=function(){},v=function(t){return"<"+f+">"+t+"</"+f+">"},p=function(t){t.write(v("")),t.close();var r=t.parentWindow.Object;return t=null,r},d=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var r,n,o;d="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+f+":",n.style.display="none",i.appendChild(n),n.src=String(o),(r=n.contentWindow.document).open(),r.write(v("document.F=Object")),r.close(),r.F):p(t);for(var a=e.length;a--;)delete d[c][e[a]];return d()};return o[l]=!0,Kn=Object.create||function(t,e){var o;return null!==t?(s[c]=r(t),o=new s,s[c]=null,o[l]=t):o=d(),void 0===e?o:n.f(o,e)}}function Me(){if(re)return te;re=1;var t,r,n=d(),e=g(),o=zn(),i=Bn(),u=function(){if(kn)return Cn;kn=1;var t=v(),r=w().RegExp,n=t((function(){var t=r("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),e=n||t((function(){return!r("a","y").sticky})),o=n||t((function(){var t=r("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));return Cn={BROKEN_CARET:o,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),a=rr(),c=Le(),f=Ur().get,l=function(){if(Jn)return Xn;Jn=1;var t=v(),r=w().RegExp;return Xn=t((function(){var t=r(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))}(),s=function(){if(Zn)return Qn;Zn=1;var t=v(),r=w().RegExp;return Qn=t((function(){var t=r("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))}(),p=a("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,h=y,m=e("".charAt),b=e("".indexOf),S=e("".replace),O=e("".slice),x=(r=/b*/g,n(y,t=/a/,"a"),n(y,r,"a"),0!==t.lastIndex||0!==r.lastIndex),E=u.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];return(x||j||E||l||s)&&(h=function(t){var r,e,u,a,l,s,v,d=this,g=f(d),w=o(t),P=g.raw;if(P)return P.lastIndex=d.lastIndex,r=n(h,P,w),d.lastIndex=P.lastIndex,r;var T=g.groups,A=E&&d.sticky,I=n(i,d),R=d.source,L=0,M=w;if(A&&(I=S(I,"y",""),-1===b(I,"g")&&(I+="g"),M=O(w,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==m(w,d.lastIndex-1))&&(R="(?: "+R+")",M=" "+M,L++),e=new RegExp("^(?:"+R+")",I)),j&&(e=new RegExp("^"+R+"$(?!\\s)",I)),x&&(u=d.lastIndex),a=n(y,A?e:d,M),A?a?(a.input=O(a.input,L),a[0]=O(a[0],L),a.index=d.lastIndex,d.lastIndex+=a[0].length):d.lastIndex=0:x&&a&&(d.lastIndex=d.global?a.index+a[0].length:u),j&&a&&a.length>1&&n(p,a[0],e,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a&&T)for(a.groups=s=c(null),l=0;l<T.length;l++)s[(v=T[l])[0]]=a[v[1]];return a}),te=h}function _e(){if(oe)return ee;oe=1,function(){if(ne)return m;ne=1;var t=$n(),r=Me();t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})}();var t=d(),r=Wr(),n=Me(),e=v(),o=ir(),i=Or(),u=o("species"),a=RegExp.prototype;return ee=function(c,f,l,s){var v=o(c),p=!e((function(){var t={};return t[v]=function(){return 7},7!==""[c](t)})),d=p&&!e((function(){var t=!1,r=/a/;return"split"===c&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return t=!0,null},r[v](""),!t}));if(!p||!d||l){var g=/./[v],y=f(v,""[c],(function(r,e,o,i,u){var c=e.exec;return c===n||c===a.exec?p&&!u?{done:!0,value:t(g,e,o,i)}:{done:!0,value:t(r,o,e,i)}:{done:!1}}));r(String.prototype,c,y[0]),r(a,v,y[1])}s&&i(a[v],"sham",!0)}}function Ce(){if(ce)return ae;ce=1;var t=function(){if(ue)return ie;ue=1;var t=g(),r=sn(),n=zn(),e=dt(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,c){var f,l,s=n(e(a)),v=r(c),p=s.length;return v<0||v>=p?t?"":void 0:(f=i(s,v))<55296||f>56319||v+1===p||(l=i(s,v+1))<56320||l>57343?t?o(s,v):f:t?u(s,v,v+2):l-56320+(f-55296<<10)+65536}};return ie={codeAt:a(!1),charAt:a(!0)}}().charAt;return ae=function(r,n,e){return n+(e?t(r,n).length:1)}}function ke(){if(le)return fe;le=1;var t=g(),r=nr(),n=Math.floor,e=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return fe=function(t,c,f,l,s,v){var p=f+t.length,d=l.length,g=a;return void 0!==s&&(s=r(s),g=u),o(v,g,(function(r,o){var u;switch(e(o,0)){case"$":return"$";case"&":return t;case"`":return i(c,0,f);case"'":return i(c,p);case"<":u=s[i(o,1,-1)];break;default:var a=+o;if(0===a)return r;if(a>d){var v=n(a/10);return 0===v?r:v<=d?void 0===l[v-1]?e(o,1):l[v-1]+e(o,1):r}u=l[a-1]}return void 0===u?"":u}))}}function Ne(){if(he)return ye;he=1;var t=er(),r=yt(),n=nr(),e=zr(),o=function(){if(ge)return de;ge=1;var t=v();return de=!t((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))}(),i=e("IE_PROTO"),u=Object,a=u.prototype;return ye=o?u.getPrototypeOf:function(e){var o=n(e);if(t(o,i))return o[i];var c=o.constructor;return r(c)&&o instanceof c?c.prototype:o instanceof u?a:null}}function Fe(){if(be)return me;be=1;var t,r,n,e=v(),o=yt(),i=ht(),u=Le(),a=Ne(),c=Wr(),f=ir(),l=Qt(),s=f("iterator"),p=!1;return[].keys&&("next"in(n=[].keys())?(r=a(a(n)))!==Object.prototype&&(t=r):p=!0),!i(t)||e((function(){var r={};return t[s].call(r)!==r}))?t={}:l&&(t=u(t)),o(t[s])||c(t,s,(function(){return this})),me={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:p}}function De(){if(Se)return we;Se=1;var t=Sr().f,r=er(),n=ir()("toStringTag");return we=function(e,o,i){e&&!i&&(e=e.prototype),e&&!r(e,n)&&t(e,n,{configurable:!0,value:o})}}function $e(){return xe?Oe:(xe=1,Oe={})}function Ge(){return Te?Pe:(Te=1,Pe=function(t,r){return{value:t,done:r}})}!function(){if(pe)return s;pe=1;var t=function(){if(u)return i;u=1;var t=p(),r=Function.prototype,n=r.apply,e=r.call;return i="object"==typeof Reflect&&Reflect.apply||(t?e.bind(n):function(){return e.apply(n,arguments)}),i}(),r=d(),n=g(),e=_e(),o=v(),a=wr(),c=yt(),f=pt(),l=sn(),y=pn(),h=zn(),m=dt(),b=Ce(),w=jt(),S=ke(),O=function(){if(ve)return se;ve=1;var t=d(),r=wr(),n=yt(),e=vt(),o=Me(),i=TypeError;return se=function(u,a){var c=u.exec;if(n(c)){var f=t(c,u,a);return null!==f&&r(f),f}if("RegExp"===e(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),x=ir()("replace"),E=Math.max,j=Math.min,P=n([].concat),T=n([].push),A=n("".indexOf),I=n("".slice),R="$0"==="a".replace(/./,"$0"),L=!!/./[x]&&""===/./[x]("a","$0");e("replace",(function(n,e,o){var i=L?"$":"$0";return[function(t,n){var o=m(this),i=f(t)?void 0:w(t,x);return i?r(i,t,o,n):r(e,h(o),t,n)},function(r,n){var u=a(this),f=h(r);if("string"==typeof n&&-1===A(n,i)&&-1===A(n,"$<")){var s=o(e,u,f,n);if(s.done)return s.value}var v=c(n);v||(n=h(n));var p,d=u.global;d&&(p=u.unicode,u.lastIndex=0);for(var g,m=[];null!==(g=O(u,f))&&(T(m,g),d);){""===h(g[0])&&(u.lastIndex=b(f,y(u.lastIndex),p))}for(var w,x="",R=0,L=0;L<m.length;L++){for(var M,_=h((g=m[L])[0]),C=E(j(l(g.index),f.length),0),k=[],N=1;N<g.length;N++)T(k,void 0===(w=g[N])?w:String(w));var F=g.groups;if(v){var D=P([_],k,C,f);void 0!==F&&T(D,F),M=h(t(n,void 0,D))}else M=S(_,f,C,k,F,n);C>=R&&(x+=I(f,R,C)+M,R=C+_.length)}return x+I(f,R)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!R||L)}();var ze,Be,Ue,Ve,We,Ye,He,Ke,qe,Xe,Je,Qe,Ze,to,ro,no,eo,oo,io,uo={};function ao(){if(Ye)return We;Ye=1;var t=ir(),r=Le(),n=Sr().f,e=t("unscopables"),o=Array.prototype;return void 0===o[e]&&n(o,e,{configurable:!0,value:r(null)}),We=function(t){o[e][t]=!0}}function co(){if(Xe)return qe;Xe=1;var t=ht();return qe=function(r){return t(r)||null===r}}function fo(){if(Qe)return Je;Qe=1;var t=co(),r=String,n=TypeError;return Je=function(e){if(t(e))return e;throw new n("Can't set "+r(e)+" as a prototype")}}function lo(){if(to)return Ze;to=1;var t=function(){if(Ke)return He;Ke=1;var t=g(),r=Et();return He=function(n,e,o){try{return t(r(Object.getOwnPropertyDescriptor(n,e)[o]))}catch(t){}}}(),r=ht(),n=dt(),e=fo();return Ze=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),e(u),r(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function so(){if(no)return ro;no=1;var t=$n(),r=d(),n=Qt(),e=$r(),o=yt(),i=function(){if(je)return Ee;je=1;var t=Fe().IteratorPrototype,r=Le(),n=st(),e=De(),o=$e(),i=function(){return this};return Ee=function(u,a,c,f){var l=a+" Iterator";return u.prototype=r(t,{next:n(+!f,c)}),e(u,l,!1,!0),o[l]=i,u}}(),u=Ne(),a=lo(),c=De(),f=Or(),l=Wr(),s=ir(),v=$e(),p=Fe(),g=e.PROPER,y=e.CONFIGURABLE,h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,b=s("iterator"),w="keys",S="values",O="entries",x=function(){return this};return ro=function(e,s,p,d,E,j,P){i(p,s,d);var T,A,I,R=function(t){if(t===E&&k)return k;if(!m&&t&&t in _)return _[t];switch(t){case w:case S:case O:return function(){return new p(this,t)}}return function(){return new p(this)}},L=s+" Iterator",M=!1,_=e.prototype,C=_[b]||_["@@iterator"]||E&&_[E],k=!m&&C||R(E),N="Array"===s&&_.entries||C;if(N&&(T=u(N.call(new e)))!==Object.prototype&&T.next&&(n||u(T)===h||(a?a(T,h):o(T[b])||l(T,b,x)),c(T,L,!0,!0),n&&(v[L]=x)),g&&E===S&&C&&C.name!==S&&(!n&&y?f(_,"name",S):(M=!0,k=function(){return r(C,this)})),E)if(A={values:R(S),keys:j?k:R(w),entries:R(O)},P)for(I in A)(m||M||!(I in _))&&l(_,I,A[I]);else t({target:s,proto:!0,forced:m||M},A);return n&&!P||_[b]===k||l(_,b,k,{name:E}),v[s]=k,A}}!function(){if(io)return uo;io=1;var t=w(),r=Be?ze:(Be=1,ze={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(Ve)return Ue;Ve=1;var t=cr()("span").classList,r=t&&t.constructor&&t.constructor.prototype;return Ue=r===Object.prototype?void 0:r}(),e=function(){if(oo)return eo;oo=1;var t=gt(),r=ao(),n=$e(),e=Ur(),o=Sr().f,i=so(),u=Ge(),a=Qt(),c=E(),f="Array Iterator",l=e.set,s=e.getterFor(f);eo=i(Array,"Array",(function(r,n){l(this,{type:f,target:t(r),index:0,kind:n})}),(function(){var t=s(this),r=t.target,n=t.index++;if(!r||n>=r.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(r[n],!1)}return u([n,r[n]],!1)}),"values");var v=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!a&&c&&"values"!==v.name)try{o(v,"name",{value:"values"})}catch(t){}return eo}(),o=Or(),i=De(),u=ir()("iterator"),a=e.values,c=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(r){t[u]=a}if(i(t,n,!0),r[n])for(var c in e)if(t[c]!==e[c])try{o(t,c,e[c])}catch(r){t[c]=e[c]}}};for(var f in r)c(t[f]&&t[f].prototype,f);c(n,"DOMTokenList")}(),b.setTimeout,b.clearTimeout;var vo=b.performance||{};vo.now||vo.mozNow||vo.msNow||vo.oNow||vo.webkitNow;const po="Mac|iPad|iPhone|iPod",go="Linux";var yo,ho,mo,bo,wo,So,Oo,xo;"undefined"!=typeof navigator&&/edge/i.test(null===(yo=navigator)||void 0===yo?void 0:yo.userAgent),"undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(ho=navigator)||void 0===ho?void 0:ho.platform),"undefined"!=typeof navigator&&/safari/i.test(null===(mo=navigator)||void 0===mo?void 0:mo.userAgent)&&/chrome/i.test(null===(bo=navigator)||void 0===bo?void 0:bo.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(wo=navigator)||void 0===wo?void 0:wo.platform),"undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(So=navigator)||void 0===So?void 0:So.userAgent),"undefined"!=typeof navigator&&new RegExp(po,"i").test(null===(Oo=navigator)||void 0===Oo?void 0:Oo.platform),"undefined"!=typeof navigator&&new RegExp(go,"i").test(null===(xo=navigator)||void 0===xo?void 0:xo.platform),function(){try{0}catch(t){console.error(t)}}(),t.defineNavigator=function(){const t=()=>{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(po))?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(go))&&document.documentElement.setAttribute("data-os","linux")}catch(t){}document.removeEventListener("DOMContentLoaded",t)}};"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()},t.isTouchDevice=function(){if("undefined"!=typeof document){let t=!1;try{t=document.documentElement.getAttribute("data-whatintent")}catch(t){}return"touch"===t}return!1}}));