@dnb/eufemia 9.45.2 → 9.45.3
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/CHANGELOG.md +7 -0
- package/cjs/components/input-masked/InputMaskedUtils.js +1 -1
- package/cjs/shared/Eufemia.js +1 -1
- package/components/input-masked/InputMaskedUtils.js +1 -1
- package/es/components/input-masked/InputMaskedUtils.js +1 -1
- package/es/shared/Eufemia.js +1 -1
- package/esm/dnb-ui-basis.min.mjs +1 -1
- package/esm/dnb-ui-components.min.mjs +1 -1
- package/esm/dnb-ui-elements.min.mjs +1 -1
- package/esm/dnb-ui-extensions.min.mjs +1 -1
- package/esm/dnb-ui-lib.min.mjs +2 -2
- package/esm/dnb-ui-web-components.min.mjs +2 -2
- package/package.json +1 -1
- package/shared/Eufemia.js +1 -1
- package/umd/dnb-ui-basis.min.js +1 -1
- package/umd/dnb-ui-components.min.js +1 -1
- package/umd/dnb-ui-elements.min.js +1 -1
- package/umd/dnb-ui-extensions.min.js +1 -1
- package/umd/dnb-ui-lib.min.js +2 -2
- package/umd/dnb-ui-web-components.min.js +2 -2
|
@@ -7,7 +7,7 @@ import e,{createContext as t,useContext as n}from"react";import r from"react-dom
|
|
|
7
7
|
/*!
|
|
8
8
|
* Programatically add the following
|
|
9
9
|
*/
|
|
10
|
-
for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var l in o)r[l]=o[l]}(ey,ey.exports);var ty,ny=ey.exports,ry={exports:{}};ty=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="false",a=["button","input","select","textarea"],l=[],c=[16,17,18,91,93],u=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},v=!1;try{var h=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,h)}catch(e){}var m=function(){var e=!!v&&{passive:!0};document.addEventListener("DOMContentLoaded",y),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",_)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",_)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",_),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(x(),_,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",w),window.addEventListener("focusout",O)},y=function(){if(i=!(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){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=k(e));var i=!u.length&&-1===c.indexOf(t),l=u.length&&-1!==u.indexOf(t),f="keyboard"===o&&t&&(i||l)||"mouse"===o||"touch"===o;if(S(o)&&(f=!1),f&&n!==o&&(E("input",n=o),b("input")),f&&r!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(E("intent",r=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),j(t)},_=function(e){var t=s[e.type];"pointer"===t&&(t=k(e)),P(e),(!f&&!S(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(E("intent",r=t),b("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?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},x=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},j=function(e){for(var t=0,o=l.length;t<o;t++)l[t].type===e&&l[t].fn.call(void 0,"input"===e?n:r)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!0},T=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&&(s[x()]="mouse",m()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){c=e},specificKeys:function(e){u=e},registerOnChange:function(e,t){l.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=l.length;t<n;t++)if(l[t].fn===e)return t}(e);(t||0===t)&&l.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])};var oy=ry.exports=ty();!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=s(e,t,n);if("normal"===c.type){if(r=n.done?v:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",h={};function m(){}function y(){}function g(){}var b={};c(b,i,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==n&&r.call(w,i)&&(b=w);var O=g.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,a,l){var c=s(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return y.prototype=g,c(O,"constructor",g),c(g,"constructor",y),y.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(O),c(O,l,"Generator"),c(O,i,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var iy=TypeError,ay=function(e){if(e>9007199254740991)throw iy("Maximum allowed index exceeded");return e},ly=no,cy=v,uy=Pl,sy=ee,fy=$e,dy=pr,py=ay,vy=qa,hy=Yl,my=as,yy=pe,gy=st("isConcatSpreadable"),by=yy>=51||!cy((function(){var e=[];return e[gy]=!1,e.concat()[0]!==e})),_y=my("concat"),wy=function(e){if(!sy(e))return!1;var t=e[gy];return void 0!==t?!!t:uy(e)};ly({target:"Array",proto:!0,arity:1,forced:!by||!_y},{concat:function(e){var t,n,r,o,i,a=fy(this),l=hy(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(wy(i=-1===t?a:arguments[t]))for(o=dy(i),py(c+o),n=0;n<o;n++,c++)n in i&&vy(l,c,i[n]);else py(c+1),vy(l,c++,i);return l.length=c,l}});var Oy,Ey,ky,Sy,xy,jy,Py,Ty=!1,Cy=!1,Ry=!1,Ny=!1,Ay=function(){var e;return"undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};function Ly(e){var t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function Dy(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function My(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}Ty="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(Oy=navigator)||void 0===Oy?void 0:Oy.userAgent),Cy="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Ey=navigator)||void 0===Ey?void 0:Ey.platform),Ry="undefined"!=typeof navigator&&/safari/i.test(null===(ky=navigator)||void 0===ky?void 0:ky.userAgent)&&!/chrome/i.test(null===(Sy=navigator)||void 0===Sy?void 0:Sy.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(xy=navigator)||void 0===xy?void 0:xy.platform),Ay(),Ny="undefined"!=typeof navigator&&new RegExp("Mac|iPad|iPhone|iPod","i").test(null===(jy=navigator)||void 0===jy?void 0:jy.platform),"undefined"!=typeof navigator&&new RegExp("Linux","i").test(null===(Py=navigator)||void 0===Py?void 0:Py.platform);var Iy=function(e,t){try{var n=/[A-Z]/.test(e)?e:null,r=n?null:e.replace(/^\./,""),o=function(e){return e?n?(null==e?void 0:e.tagName)===n:null==e?void 0:e.classList.contains(r):null};if(o(t))return t;for(;(t=null===(i=t)||void 0===i?void 0:i.parentElement)&&!o(t);)var i}catch(e){}return t};var Hy=h,Fy=ln.EXISTS,zy=R,By=It.f,Wy=Function.prototype,Uy=zy(Wy.toString),Vy=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,$y=zy(Vy.exec);Hy&&!Fy&&By(Wy,"name",{configurable:!0,get:function(){try{return $y(Vy,Uy(this))[1]}catch(e){return""}}});var Gy=no,qy=h,Ky=d,Yy=R,Zy=Ke,Xy=X,Jy=ie,Qy=ho,eg=It.f,tg=Fr,ng=Ky.Symbol,rg=ng&&ng.prototype;if(qy&&Xy(ng)&&(!("description"in rg)||void 0!==ng().description)){var og={},ig=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:Qy(arguments[0]),t=Jy(rg,this)?new ng(e):void 0===e?ng():ng(e);return""===e&&(og[t]=!0),t};tg(ig,ng),ig.prototype=rg,rg.constructor=ig;var ag="Symbol(test)"==String(ng("test")),lg=Yy(rg.valueOf),cg=Yy(rg.toString),ug=/^Symbol\((.*)\)[^)]+$/,sg=Yy("".replace),fg=Yy("".slice);eg(rg,"description",{configurable:!0,get:function(){var e=lg(this);if(Zy(og,e))return"";var t=cg(e),n=ag?fg(t,7,-1):sg(t,ug,"$1");return""===n?void 0:n}}),Gy({global:!0,constructor:!0,forced:!0},{Symbol:ig})}fl("iterator");var dg=q,pg=Cf,vg=Kv,hg=Dn,mg=It.f,yg=Lm,gg=nh,bg=h,_g=hg.set,wg=hg.getterFor("Array Iterator"),Og=yg(Array,"Array",(function(e,t){_g(this,{type:"Array Iterator",target:dg(e),index:0,kind:t})}),(function(){var e=wg(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,gg(void 0,!0)):gg("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Eg=vg.Arguments=vg.Array;if(pg("keys"),pg("values"),pg("entries"),bg&&"values"!==Eg.name)try{mg(Eg,"name",{value:"values"})}catch(e){}var kg=d,Sg=Gf,xg=Yf,jg=Og,Pg=Qt,Tg=st,Cg=Tg("iterator"),Rg=Tg("toStringTag"),Ng=jg.values,Ag=function(e,t){if(e){if(e[Cg]!==Ng)try{Pg(e,Cg,Ng)}catch(t){e[Cg]=Ng}if(e[Rg]||Pg(e,Rg,t),Sg[t])for(var n in jg)if(e[n]!==jg[n])try{Pg(e,n,jg[n])}catch(t){e[n]=jg[n]}}};for(var Lg in Sg)Ag(kg[Lg]&&kg[Lg].prototype,Lg);function Dg(e){return function(e){if(Array.isArray(e))return Id(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Ag(xg,"DOMTokenList");var Mg,Ig=no,Hg=Ol,Fg=p.f,zg=fr,Bg=ho,Wg=Df,Ug=V,Vg=If,$g=Hg("".endsWith),Gg=Hg("".slice),qg=Math.min,Kg=Vg("endsWith");function Yg(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Zg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zg(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function Zg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Ig({target:"String",proto:!0,forced:!!(Kg||(Mg=Fg(String.prototype,"endsWith"),!Mg||Mg.writable))&&!Kg},{endsWith:function(e){var t=Bg(Ug(this));Wg(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:qg(zg(n),r),i=Bg(e);return $g?$g(t,i,o):Gg(t,o-i.length,o)===i}});var Xg=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Ld(this,e),gs(this,"bypassElement",void 0),gs(this,"bypassSelectors",void 0),gs(this,"_nodesToInvalidate",void 0),gs(this,"options",void 0),this.bypassElement=null,this.bypassSelectors=[],this.options=t||{},this}return Md(e,[{key:"setBypassElement",value:function(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}},{key:"setBypassSelector",value:function(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}},{key:"activate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._nodesToInvalidate||this._runInvalidaiton(e)}},{key:"revert",value:function(){this._revertInvalidation(),this._nodesToInvalidate=null}},{key:"_runInvalidaiton",value:function(e){if("undefined"!=typeof document){this._nodesToInvalidate=this.getNodesToInvalidate(e);var t,n=Yg(this._nodesToInvalidate);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r){if(!1!==this.options.tabIndex){var o=r.getAttribute("tabindex");null!==o&&void 0===r.__tabindex&&(r.__tabindex=o),r.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){var i=r.getAttribute("aria-hidden");null!==i&&void 0===r.__ariahidden&&(r.__ariahidden=i),r.setAttribute("aria-hidden","true")}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_revertInvalidation",value:function(){if(Array.isArray(this._nodesToInvalidate)){var e,t=Yg(this._nodesToInvalidate);try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&(!1!==this.options.tabIndex&&(void 0!==n.__tabindex?(n.setAttribute("tabindex",n.__tabindex),delete n.__tabindex):n.removeAttribute("tabindex")),!1!==this.options.ariaHidden&&(void 0!==n.__ariahidden?(n.setAttribute("aria-hidden",n.__ariahidden),delete n.__ariahidden):n.removeAttribute("aria-hidden")))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"getNodesToInvalidate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"==typeof document)return[];"string"==typeof e&&(e=document.querySelector(e));var t=e?"*":"html *",n=this.bypassSelectors.map((function(e){return":not(".concat(e,")")})).join(""),r="".concat(t," ").concat(n,":not(script):not(style):not(path):not(head *)");if(Ty){var o=[],i=r.split(":").map((function(t){return t.endsWith(" *)")&&(o.push.apply(o,Dg(Array.from((e||document.documentElement).querySelectorAll(t.match(/\(([^)]*)\)/)[1])))),t=t.replace(" *","")),t})).join(":");return Array.from((e||document.documentElement).querySelectorAll(i)).filter((function(e){return!o.includes(e)}))}return Array.from((e||document.documentElement).querySelectorAll(r))}}]),e}();function Jg(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 Qg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jg(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Qg(Qg({},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 Qg(Qg({},e),rb(e,t,r))}function tb(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Qg(Qg({},e),rb(e,t,r,{checkPropKey:!0}))}function nb(e){return e.reduce((function(e,t){return t&&(e=Qg(Qg({},e),t)),e}),{})}function rb(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.checkPropKey,i=void 0!==o&&o,a=nb(n);return Object.entries(a).reduce((function(n,r){var o=Fd(r,2),a=o[0],l=o[1];return i&&!Object.prototype.hasOwnProperty.call(e,a)||e[a]!==(null==t?void 0:t[a])||(n[a]=l),n}),{})}var ob=R,ib=Pe,ab=ee,lb=Ke,cb=Tu,ub=m,sb=Function,fb=ob([].concat),db=ob([].join),pb={},vb=function(e,t,n){if(!lb(pb,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";pb[t]=sb("C,a","return new C("+db(r,",")+")")}return pb[t](e,n)},hb=ub?sb.bind:function(e){var t=ib(this),n=t.prototype,r=cb(arguments,1),o=function(){var n=fb(r,cb(arguments));return this instanceof o?vb(t,n.length,n):t.apply(e,n)};return ab(n)&&(o.prototype=n),o},mb=no,yb=Pu,gb=hb,bb=Rs,_b=Wt,wb=ee,Ob=Go,Eb=v,kb=oe("Reflect","construct"),Sb=Object.prototype,xb=[].push,jb=Eb((function(){function e(){}return!(kb((function(){}),[],e)instanceof e)})),Pb=!Eb((function(){kb((function(){}))})),Tb=jb||Pb;function Cb(e,t){return Cb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cb(e,t)}function Rb(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function Nb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ab(e,t){if(t&&("object"===zd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Nb(e)}function Lb(e){return Lb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Lb(e)}function Db(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Mb(e,t,n){return Mb=Db()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Cb(o,n.prototype),o},Mb.apply(null,arguments)}function Ib(e){var t="function"==typeof Map?new Map:void 0;return Ib=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Mb(e,arguments,Lb(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Cb(r,e)},Ib(e)}mb({target:"Reflect",stat:!0,forced:Tb,sham:Tb},{construct:function(e,t){bb(e),_b(t);var n=arguments.length<3?e:bb(arguments[2]);if(Pb&&!jb)return kb(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return yb(xb,r,t),new(yb(gb,e,r))}var o=n.prototype,i=Ob(wb(o)?o:Sb),a=yb(e,i,t);return wb(a)?a:i}});var Hb=no,Fb=gr.indexOf,zb=Xf,Bb=Ol([].indexOf),Wb=!!Bb&&1/Bb([1],1,-0)<0,Ub=zb("indexOf");Hb({target:"Array",proto:!0,forced:Wb||!Ub},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Wb?Bb(this,e,t)||0:Fb(this,e,t)}});var Vb=R(1..valueOf),$b=h,Gb=d,qb=R,Kb=Kr,Yb=Jn,Zb=Ke,Xb=Ci,Jb=ie,Qb=Oe,e_=gt,t_=v,n_=Qn.f,r_=p.f,o_=It.f,i_=Vb,a_=Ym.trim,l_=Gb.Number,c_=l_.prototype,u_=Gb.TypeError,s_=qb("".slice),f_=qb("".charCodeAt),d_=function(e){var t=e_(e,"number");return"bigint"==typeof t?t:p_(t)},p_=function(e){var t,n,r,o,i,a,l,c,u=e_(e,"number");if(Qb(u))throw u_("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=a_(u),43===(t=f_(u,0))||45===t){if(88===(n=f_(u,2))||120===n)return NaN}else if(48===t){switch(f_(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=s_(u,2)).length,l=0;l<a;l++)if((c=f_(i,l))<48||c>o)return NaN;return parseInt(i,r)}return+u};if(Kb("Number",!l_(" 0o1")||!l_("0b1")||l_("+0x1"))){for(var v_,h_=function(e){var t=arguments.length<1?0:l_(d_(e)),n=this;return Jb(c_,n)&&t_((function(){i_(n)}))?Xb(Object(t),n,h_):t},m_=$b?n_(l_):"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(","),y_=0;m_.length>y_;y_++)Zb(l_,v_=m_[y_])&&!Zb(h_,v_)&&o_(h_,v_,r_(l_,v_));h_.prototype=c_,c_.constructor=h_,Yb(Gb,"Number",h_,{constructor:!0})}function g_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:null},n=t.message,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if("object"===zd(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var b_={exports:{}},__=v,w_=ee,O_=D,E_=up,k_=Object.isExtensible,S_=__((function(){k_(1)}))||E_?function(e){return!!w_(e)&&((!E_||"ArrayBuffer"!=O_(e))&&(!k_||k_(e)))}:k_,x_=!v((function(){return Object.isExtensible(Object.preventExtensions({}))})),j_=no,P_=R,T_=On,C_=ee,R_=Ke,N_=It.f,A_=Qn,L_=Ua,D_=S_,M_=x_,I_=!1,H_=Qe("meta"),F_=0,z_=function(e){N_(e,H_,{value:{objectID:"O"+F_++,weakData:{}}})},B_=b_.exports={enable:function(){B_.enable=function(){},I_=!0;var e=A_.f,t=P_([].splice),n={};n[H_]=1,e(n).length&&(A_.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===H_){t(r,o,1);break}return r},j_({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:L_.f}))},fastKey:function(e,t){if(!C_(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!R_(e,H_)){if(!D_(e))return"F";if(!t)return"E";z_(e)}return e[H_].objectID},getWeakData:function(e,t){if(!R_(e,H_)){if(!D_(e))return!0;if(!t)return!1;z_(e)}return e[H_].weakData},onFreeze:function(e){return M_&&I_&&D_(e)&&!R_(e,H_)&&z_(e),e}};T_[H_]=!0;var W_=xl,U_=b,V_=Wt,$_=ke,G_=Bh,q_=pr,K_=ie,Y_=em,Z_=qh,X_=Dh,J_=TypeError,Q_=function(e,t){this.stopped=e,this.result=t},ew=Q_.prototype,tw=function(e,t,n){var r,o,i,a,l,c,u,s=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),h=W_(t,s),m=function(e){return r&&X_(r,"normal",e),new Q_(!0,e)},y=function(e){return f?(V_(e),v?h(e[0],e[1],m):h(e[0],e[1])):v?h(e,m):h(e)};if(d)r=e.iterator;else if(p)r=e;else{if(!(o=Z_(e)))throw J_($_(e)+" is not iterable");if(G_(o)){for(i=0,a=q_(e);a>i;i++)if((l=y(e[i]))&&K_(ew,l))return l;return new Q_(!1)}r=Y_(e,o)}for(c=d?e.next:r.next;!(u=U_(c,r)).done;){try{l=y(u.value)}catch(e){X_(r,"throw",e)}if("object"==typeof l&&l&&K_(ew,l))return l}return new Q_(!1)},nw=ie,rw=TypeError,ow=function(e,t){if(nw(t,e))return e;throw rw("Incorrect invocation")},iw=no,aw=d,lw=R,cw=Kr,uw=Jn,sw=b_.exports,fw=tw,dw=ow,pw=X,vw=B,hw=ee,mw=v,yw=mm,gw=bl,bw=Ci,_w=Jn,ww=It.f,Ow=Go,Ew=function(e,t,n){for(var r in t)_w(e,r,t[r],n);return e},kw=xl,Sw=ow,xw=B,jw=tw,Pw=Lm,Tw=nh,Cw=Gi,Rw=h,Nw=b_.exports.fastKey,Aw=Dn.set,Lw=Dn.getterFor,Dw={getConstructor:function(e,t,n,r){var o=e((function(e,o){Sw(e,i),Aw(e,{type:t,index:Ow(null),first:void 0,last:void 0,size:0}),Rw||(e.size=0),xw(o)||jw(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Lw(t),l=function(e,t,n){var r,o,i=a(e),l=c(e,t);return l?l.value=n:(i.last=l={index:o=Nw(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=l),r&&(r.next=l),Rw?i.size++:e.size++,"F"!==o&&(i.index[o]=l)),e},c=function(e,t){var n,r=a(e),o=Nw(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Ew(i,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,Rw?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),Rw?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=kw(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),Ew(i,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return l(this,0===e?0:e,t)}}:{add:function(e){return l(this,e=0===e?0:e,e)}}),Rw&&ww(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=Lw(t),i=Lw(r);Pw(e,t,(function(e,t){Aw(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Tw("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,Tw(void 0,!0))}),n?"entries":"values",!n,!0),Cw(t)}},Mw=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=aw[e],l=a&&a.prototype,c=a,u={},s=function(e){var t=lw(l[e]);uw(l,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!hw(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!hw(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!hw(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(cw(e,!pw(a)||!(o||l.forEach&&!mw((function(){(new a).entries().next()})))))c=n.getConstructor(t,e,r,i),sw.enable();else if(cw(e,!0)){var f=new c,d=f[i](o?{}:-0,1)!=f,p=mw((function(){f.has(1)})),v=yw((function(e){new a(e)})),h=!o&&mw((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));v||((c=t((function(e,t){dw(e,l);var n=bw(new a,e,c);return vw(t)||fw(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=l,l.constructor=c),(p||h)&&(s("delete"),s("has"),r&&s("get")),(h||d)&&s(i),o&&l.clear&&delete l.clear}return u[e]=c,iw({global:!0,constructor:!0,forced:c!=a},u),gw(c,e),o||n.setStrong(c,e,r),c};Mw("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Dw);var Iw,Hw,Fw,zw,Bw=TypeError,Ww=/(?:ipad|iphone|ipod).*applewebkit/i.test(ae),Uw=d,Vw=Pu,$w=xl,Gw=X,qw=Ke,Kw=v,Yw=Lo,Zw=Tu,Xw=St,Jw=function(e,t){if(e<t)throw Bw("Not enough arguments");return e},Qw=Ww,eO=Ep,tO=Uw.setImmediate,nO=Uw.clearImmediate,rO=Uw.process,oO=Uw.Dispatch,iO=Uw.Function,aO=Uw.MessageChannel,lO=Uw.String,cO=0,uO={};try{Iw=Uw.location}catch(e){}var sO=function(e){if(qw(uO,e)){var t=uO[e];delete uO[e],t()}},fO=function(e){return function(){sO(e)}},dO=function(e){sO(e.data)},pO=function(e){Uw.postMessage(lO(e),Iw.protocol+"//"+Iw.host)};tO&&nO||(tO=function(e){Jw(arguments.length,1);var t=Gw(e)?e:iO(e),n=Zw(arguments,1);return uO[++cO]=function(){Vw(t,void 0,n)},Hw(cO),cO},nO=function(e){delete uO[e]},eO?Hw=function(e){rO.nextTick(fO(e))}:oO&&oO.now?Hw=function(e){oO.now(fO(e))}:aO&&!Qw?(zw=(Fw=new aO).port2,Fw.port1.onmessage=dO,Hw=$w(zw.postMessage,zw)):Uw.addEventListener&&Gw(Uw.postMessage)&&!Uw.importScripts&&Iw&&"file:"!==Iw.protocol&&!Kw(pO)?(Hw=pO,Uw.addEventListener("message",dO,!1)):Hw="onreadystatechange"in Xw("script")?function(e){Yw.appendChild(Xw("script")).onreadystatechange=function(){Yw.removeChild(this),sO(e)}}:function(e){setTimeout(fO(e),0)});var vO,hO,mO,yO,gO,bO,_O,wO,OO={set:tO,clear:nO},EO=d,kO=/ipad|iphone|ipod/i.test(ae)&&void 0!==EO.Pebble,SO=/web0s(?!.*chrome)/i.test(ae),xO=d,jO=xl,PO=p.f,TO=OO.set,CO=Ww,RO=kO,NO=SO,AO=Ep,LO=xO.MutationObserver||xO.WebKitMutationObserver,DO=xO.document,MO=xO.process,IO=xO.Promise,HO=PO(xO,"queueMicrotask"),FO=HO&&HO.value;FO||(vO=function(){var e,t;for(AO&&(e=MO.domain)&&e.exit();hO;){t=hO.fn,hO=hO.next;try{t()}catch(e){throw hO?yO():mO=void 0,e}}mO=void 0,e&&e.enter()},CO||AO||NO||!LO||!DO?!RO&&IO&&IO.resolve?((_O=IO.resolve(void 0)).constructor=IO,wO=jO(_O.then,_O),yO=function(){wO(vO)}):AO?yO=function(){MO.nextTick(vO)}:(TO=jO(TO,xO),yO=function(){TO(vO)}):(gO=!0,bO=DO.createTextNode(""),new LO(vO).observe(bO,{characterData:!0}),yO=function(){bO.data=gO=!gO}));var zO=FO||function(e){var t={fn:e,next:void 0};mO&&(mO.next=t),hO||(hO=t,yO()),mO=t},BO=d,WO=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},UO=function(){this.head=null,this.tail=null};UO.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var VO=UO,$O=d.Promise,GO="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,qO=!GO&&!Ep&&"object"==typeof window&&"object"==typeof document,KO=d,YO=$O,ZO=X,XO=Kr,JO=vn,QO=st,eE=qO,tE=GO,nE=pe;YO&&YO.prototype;var rE=QO("species"),oE=!1,iE=ZO(KO.PromiseRejectionEvent),aE=XO("Promise",(function(){var e=JO(YO),t=e!==String(YO);if(!t&&66===nE)return!0;if(!nE||nE<51||!/native code/.test(e)){var n=new YO((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[rE]=r,!(oE=n.then((function(){}))instanceof r))return!0}return!t&&(eE||tE)&&!iE})),lE={CONSTRUCTOR:aE,REJECTION_EVENT:iE,SUBCLASSING:oE},cE={},uE=Pe,sE=TypeError,fE=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw sE("Bad Promise constructor");t=e,n=r})),this.resolve=uE(t),this.reject=uE(n)};cE.f=function(e){return new fE(e)};var dE,pE,vE,hE=no,mE=Ep,yE=d,gE=b,bE=Jn,_E=xi,wE=bl,OE=Gi,EE=Pe,kE=X,SE=ee,xE=ow,jE=Ms,PE=OO.set,TE=zO,CE=function(e,t){var n=BO.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},RE=WO,NE=VO,AE=Dn,LE=$O,DE=cE,ME=lE.CONSTRUCTOR,IE=lE.REJECTION_EVENT,HE=lE.SUBCLASSING,FE=AE.getterFor("Promise"),zE=AE.set,BE=LE&&LE.prototype,WE=LE,UE=BE,VE=yE.TypeError,$E=yE.document,GE=yE.process,qE=DE.f,KE=qE,YE=!!($E&&$E.createEvent&&yE.dispatchEvent),ZE=function(e){var t;return!(!SE(e)||!kE(t=e.then))&&t},XE=function(e,t){var n,r,o,i=t.value,a=1==t.state,l=a?e.ok:e.fail,c=e.resolve,u=e.reject,s=e.domain;try{l?(a||(2===t.rejection&&nk(t),t.rejection=1),!0===l?n=i:(s&&s.enter(),n=l(i),s&&(s.exit(),o=!0)),n===e.promise?u(VE("Promise-chain cycle")):(r=ZE(n))?gE(r,n,c,u):c(n)):u(i)}catch(e){s&&!o&&s.exit(),u(e)}},JE=function(e,t){e.notified||(e.notified=!0,TE((function(){for(var n,r=e.reactions;n=r.get();)XE(n,e);e.notified=!1,t&&!e.rejection&&ek(e)})))},QE=function(e,t,n){var r,o;YE?((r=$E.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),yE.dispatchEvent(r)):r={promise:t,reason:n},!IE&&(o=yE["on"+e])?o(r):"unhandledrejection"===e&&CE("Unhandled promise rejection",n)},ek=function(e){gE(PE,yE,(function(){var t,n=e.facade,r=e.value;if(tk(e)&&(t=RE((function(){mE?GE.emit("unhandledRejection",r,n):QE("unhandledrejection",n,r)})),e.rejection=mE||tk(e)?2:1,t.error))throw t.value}))},tk=function(e){return 1!==e.rejection&&!e.parent},nk=function(e){gE(PE,yE,(function(){var t=e.facade;mE?GE.emit("rejectionHandled",t):QE("rejectionhandled",t,e.value)}))},rk=function(e,t,n){return function(r){e(t,r,n)}},ok=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,JE(e,!0))},ik=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw VE("Promise can't be resolved itself");var r=ZE(t);r?TE((function(){var n={done:!1};try{gE(r,t,rk(ik,n,e),rk(ok,n,e))}catch(t){ok(n,t,e)}})):(e.value=t,e.state=1,JE(e,!1))}catch(t){ok({done:!1},t,e)}}};if(ME&&(UE=(WE=function(e){xE(this,UE),EE(e),gE(dE,this);var t=FE(this);try{e(rk(ik,t),rk(ok,t))}catch(e){ok(t,e)}}).prototype,(dE=function(e){zE(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new NE,rejection:!1,state:0,value:void 0})}).prototype=bE(UE,"then",(function(e,t){var n=FE(this),r=qE(jE(this,WE));return n.parent=!0,r.ok=!kE(e)||e,r.fail=kE(t)&&t,r.domain=mE?GE.domain:void 0,0==n.state?n.reactions.add(r):TE((function(){XE(r,n)})),r.promise})),pE=function(){var e=new dE,t=FE(e);this.promise=e,this.resolve=rk(ik,t),this.reject=rk(ok,t)},DE.f=qE=function(e){return e===WE||undefined===e?new pE(e):KE(e)},kE(LE)&&BE!==Object.prototype)){vE=BE.then,HE||bE(BE,"then",(function(e,t){var n=this;return new WE((function(e,t){gE(vE,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete BE.constructor}catch(e){}_E&&_E(BE,UE)}hE({global:!0,constructor:!0,wrap:!0,forced:ME},{Promise:WE}),wE(WE,"Promise",!1),OE("Promise");var ak=$O,lk=lE.CONSTRUCTOR||!mm((function(e){ak.all(e).then(void 0,(function(){}))})),ck=b,uk=Pe,sk=cE,fk=WO,dk=tw;no({target:"Promise",stat:!0,forced:lk},{all:function(e){var t=this,n=sk.f(t),r=n.resolve,o=n.reject,i=fk((function(){var n=uk(t.resolve),i=[],a=0,l=1;dk(e,(function(e){var c=a++,u=!1;l++,ck(n,t,e).then((function(e){u||(u=!0,i[c]=e,--l||r(i))}),o)})),--l||r(i)}));return i.error&&o(i.value),n.promise}});var pk=no,vk=lE.CONSTRUCTOR,hk=$O,mk=oe,yk=X,gk=Jn,bk=hk&&hk.prototype;if(pk({target:"Promise",proto:!0,forced:vk,real:!0},{catch:function(e){return this.then(void 0,e)}}),yk(hk)){var _k=mk("Promise").prototype.catch;bk.catch!==_k&&gk(bk,"catch",_k,{unsafe:!0})}var wk=b,Ok=Pe,Ek=cE,kk=WO,Sk=tw;no({target:"Promise",stat:!0,forced:lk},{race:function(e){var t=this,n=Ek.f(t),r=n.reject,o=kk((function(){var o=Ok(t.resolve);Sk(e,(function(e){wk(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var xk=b,jk=cE;no({target:"Promise",stat:!0,forced:lE.CONSTRUCTOR},{reject:function(e){var t=jk.f(this);return xk(t.reject,void 0,e),t.promise}});var Pk=Wt,Tk=ee,Ck=cE,Rk=no,Nk=lE.CONSTRUCTOR,Ak=function(e,t){if(Pk(e),Tk(t)&&t.constructor===e)return t;var n=Ck.f(e);return(0,n.resolve)(t),n.promise};oe("Promise"),Rk({target:"Promise",stat:!0,forced:Nk},{resolve:function(e){return Ak(this,e)}});var Lk=h,Dk=Pl,Mk=TypeError,Ik=Object.getOwnPropertyDescriptor,Hk=Lk&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),Fk=ke,zk=TypeError,Bk=no,Wk=$e,Uk=cr,Vk=or,$k=pr,Gk=Hk?function(e,t){if(Dk(e)&&!Ik(e,"length").writable)throw Mk("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},qk=ay,Kk=Yl,Yk=qa,Zk=function(e,t){if(!delete e[t])throw zk("Cannot delete property "+Fk(t)+" of "+Fk(e))},Xk=as("splice"),Jk=Math.max,Qk=Math.min;function eS(e,t){var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,l=function(e,t){(t=t.toLowerCase())in c||(c[e]=(c[e]||[]).concat(t),c[t]=c[t.toUpperCase()]=e)},c=(r.create||r)(null),u={};for(n in e)for(i in e[n])for(o=e[n][i],c[i]=o,t=0;t<o.length;t++)c[o[t].toLowerCase()]=c[o[t].toUpperCase()]=i;return u.get=function(e){return"string"==typeof e?c[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in c)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return a.test(e)?l(e,t):l(t,e),u},u}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!==zd(t)&&(t={type:t||"auto"});var i,a,l,c,u,s,f,d,p,v="registerElement",h="__registerElement"+(1e5*e.Math.random()>>0),m="addEventListener",y="attached",g="Callback",b="detached",_="extends",w="attributeChangedCallback",O="createdCallback",E="ADDITION",k="MODIFICATION",S="REMOVAL",x="DOMAttrModified",j="DOMContentLoaded",P="<",T="=",C=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,R=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],N=[],A=[],L="",D=n.documentElement,M=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},I=r.prototype,H=I.hasOwnProperty,F=I.isPrototypeOf,z=r.defineProperty,B=[],W=r.getOwnPropertyDescriptor,U=r.getOwnPropertyNames,V=r.getPrototypeOf,$=r.setPrototypeOf,G=!!r.__proto__,q="__dreCEv1",K=e.customElements,Y=!/^force/.test(t.type)&&!!(K&&K.define&&K.get&&K.whenDefined),Z=r.create||r,X=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[M.call(t,e)]},set:function(r,o){(e=M.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},J=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},Q=!1,ee=Z(null),te=Z(null),ne=new X,re=function(e){return e.toLowerCase()},oe=r.create||function e(t){return t?(e.prototype=t,new e):this},ie=$||(G?function(e,t){return e.__proto__=t,e}:U&&W?function(){function e(e,t){for(var n,r=U(t),o=0,i=r.length;o<i;o++)n=r[o],H.call(e,n)||z(e,n,W(t,n))}return function(t,n){do{e(t,n)}while((n=V(n))&&!F.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ae=e.MutationObserver||e.WebKitMutationObserver,le=(e.HTMLElement||e.Element||e.Node).prototype,ce=!F.call(le,D),ue=ce?function(e,t,n){return e[t]=n.value,e}:z,se=ce?function(e){return 1===e.nodeType}:function(e){return F.call(le,e)},fe=ce&&[],de=le.attachShadow,pe=le.cloneNode,ve=le.dispatchEvent,he=le.getAttribute,me=le.hasAttribute,ye=le.removeAttribute,ge=le.setAttribute,be=n.createElement,_e=be,we=ae&&{attributes:!0,characterData:!0,attributeOldValue:!0},Oe=ae||function(e){je=!1,D.removeEventListener(x,Oe)},Ee=0,ke=v in n&&!/^force-all/.test(t.type),Se=!0,xe=!1,je=!0,Pe=!0,Te=!0;function Ce(){var e=i.splice(0,i.length);for(Ee=0;e.length;)e.shift().call(null,e.shift())}function Re(e,t){for(var n=0,r=e.length;n<r;n++)Be(e[n],t)}function Ne(e){return function(t){se(t)&&(Be(t,e),L.length&&Re(t.querySelectorAll(L),e))}}function Ae(e){var t=he.call(e,"is"),n=e.nodeName.toUpperCase(),r=M.call(N,t?T+t.toUpperCase():P+n);return t&&-1<r&&!Le(n,t)?-1:r}function Le(e,t){return-1<L.indexOf(e+'[is="'+t+'"]')}function De(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e.ADDITION||2,a=e.REMOVAL||3;!Te||o&&o!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t.attributeChangedCallback(r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Me(e){var t=Ne(e);return function(e){i.push(t,e.target),Ee&&clearTimeout(Ee),Ee=setTimeout(Ce,1)}}function Ie(e){Pe&&(Pe=!1,e.currentTarget.removeEventListener(j,Ie)),L.length&&Re((e.target||n).querySelectorAll(L),e.detail===b?b:y),ce&&function(){for(var e,t=0,n=fe.length;t<n;t++)e=fe[t],D.contains(e)||(n--,fe.splice(t--,1),Be(e,b))}()}function He(e,t){var n=this;ge.call(n,e,t),a.call(n,{target:n})}function Fe(e,t){ie(e,t),u?u.observe(e,we):(je&&(e.setAttribute=He,e[h]=c(e),e.addEventListener("DOMSubtreeModified",a)),e.addEventListener(x,De)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function ze(e){throw new Error("A "+e+" type is already registered")}function Be(e,t){var n,r,o=Ae(e);-1<o&&(f(e,A[o]),o=0,t!==y||e.attached?t!==b||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",o=1):(e.detached=!1,e.attached=!0,r="connected",o=1,ce&&M.call(fe,e)<0&&fe.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function We(){}function Ue(e,t,r){var o=r&&r.extends||"",i=t.prototype,a=oe(i),l=t.observedAttributes||B,c={prototype:a};ue(a,O,{value:function(){if(Q)Q=!1;else if(!this[q]){this[q]=!0,new t(this),i.createdCallback&&i.createdCallback.call(this);var e=ee[ne.get(t)];(!Y||e.create.length>1)&&Ge(this)}}}),ue(a,w,{value:function(e){-1<M.call(l,e)&&i.attributeChangedCallback.apply(this,arguments)}}),i.connectedCallback&&ue(a,"attachedCallback",{value:i.connectedCallback}),i.disconnectedCallback&&ue(a,"detachedCallback",{value:i.disconnectedCallback}),o&&(c.extends=o),e=e.toUpperCase(),ee[e]={constructor:t,create:o?[o,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),c),qe(e),te[e].r()}function Ve(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function $e(e){return"string"==typeof e?e:e&&e.is||""}function Ge(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:B,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function qe(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new J((function(t){te[e].r=t}))),te[e].p}function Ke(){K&&delete e.customElements,z(e,"customElements",{configurable:!0,value:new We}),z(e,"CustomElementRegistry",{configurable:!0,value:We});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[q]||(Q=!0,t=ee[ne.get(e.constructor)],(e=(o=Y&&1===t.create.length)?Reflect.construct(r,B,t.constructor):n.createElement.apply(n,t.create))[q]=!0,Q=!1,o||Ge(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){z(r,q,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=$e(t);return n?_e.call(this,e,re(n)):_e.call(this,e)},ke||(xe=!0,n.registerElement(""))}if(ae&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ae((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=W(le,"innerHTML"))&&p.set;n&&z(le,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),p=null})).observe(p,{childList:!0,subtree:!0}),p.innerHTML=""),ke||($||G?(f=function(e,t){F.call(t,e)||Fe(e,t)},d=Fe):(f=function(e,t){e[h]||(e[h]=r(!0),Fe(e,t))},d=f),ce?(je=!1,function(){var e=W(le,m),t=e.value,n=function(e){var t=new CustomEvent(x,{bubbles:!0});t.attrName=e,t.prevValue=he.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,ye.call(this,e),ve.call(this,t)},r=function(e,t){var n=me.call(this,e),r=n&&he.call(this,e),o=new CustomEvent(x,{bubbles:!0});ge.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o.ADDITION=o.attrChange=0,ve.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[h],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(x,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,ve.call(n,t))};e.value=function(e,i,a){e===x&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[h]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},z(le,m,e)}()):ae||(D.addEventListener(x,Oe),D.setAttribute(h,1),D.removeAttribute(h),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[h],o[h]=n=c(o),n){if(!(r in t))return l(0,o,r,t[r],n[r],E);if(n[r]!==t[r])return l(1,o,r,t[r],n[r],k)}for(r in t)if(!(r in n))return l(2,o,r,t[r],n[r],S)}},l=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,De(a)},c=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),Se&&(Se=!1,ae?(u=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ae((function(r){for(var o,i,a,l=0,c=r.length;l<c;l++)"childList"===(o=r[l]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Te&&i.attributeChangedCallback&&"style"!==o.attributeName&&(a=he.call(i,o.attributeName))!==o.oldValue&&i.attributeChangedCallback(o.attributeName,o.oldValue,a))}))}(Ne(y),Ne(b)),s=function(e){return u.observe(e,{childList:!0,subtree:!0}),e},s(n),de&&(le.attachShadow=function(){return s(de.apply(this,arguments))})):(i=[],n.addEventListener("DOMNodeInserted",Me(y)),n.addEventListener("DOMNodeRemoved",Me(b))),n.addEventListener(j,Ie),n.addEventListener("readystatechange",Ie),le.cloneNode=function(e){var t=pe.call(this,!!e),n=Ae(t);return-1<n&&d(t,A[n]),e&&L.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],d(t,A[Ae(t)])}(t.querySelectorAll(L)),t}),xe)return xe=!1;if(-2<M.call(N,T+r)+M.call(N,P+r)&&ze(e),!C.test(r)||-1<M.call(R,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return c?n.createElement(f,r):n.createElement(f)},l=t||I,c=H.call(l,_),f=c?t.extends.toUpperCase():r;return c&&-1<M.call(N,P+f)&&ze(f),o=N.push((c?T:P)+r)-1,L=L.concat(L.length?",":"",c?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=A[o]=H.call(l,"prototype")?l.prototype:oe(le),L.length&&Re(n.querySelectorAll(L),y),a},n.createElement=_e=function(e,t){var r=$e(t),o=r?be.call(n,e,re(r)):be.call(n,e),i=""+e,a=M.call(N,(r?T:P)+(r||i).toUpperCase()),l=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),l&&(l=Le(i.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,l&&d(o,A[a]),o}),We.prototype={constructor:We,define:Y?function(e,t,n){if(n)Ue(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),K.define(e,t)}}:Ue,get:Y?function(e){return K.get(e)||Ve(e)}:Ve,whenDefined:Y?function(e){return J.race([K.whenDefined(e),qe(e)])}:qe},!K||/^force/.test(t.type))Ke();else if(!t.noBuiltIn)try{!function(t,r,o){if(r.extends="a",(t.prototype=oe(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(o,t,r),he.call(n.createElement("a",{is:o}),"is")!==o||Y&&he.call(new t,"is")!==o)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ke()}if(!t.noBuiltIn)try{be.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function tS(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 nS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tS(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Lb(e);if(t){var o=Lb(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ab(this,n)}}Bk({target:"Array",proto:!0,forced:!Xk},{splice:function(e,t){var n,r,o,i,a,l,c=Wk(this),u=$k(c),s=Uk(e,u),f=arguments.length;for(0===f?n=r=0:1===f?(n=0,r=u-s):(n=f-2,r=Qk(Jk(Vk(t),0),u-s)),qk(u+n-r),o=Kk(c,r),i=0;i<r;i++)(a=s+i)in c&&Yk(o,i,c[a]);if(o.length=r,n<r){for(i=s;i<u-r;i++)l=i+n,(a=i+r)in c?c[l]=c[a]:Zk(c,l);for(i=u;i>u-r+n;i--)Zk(c,i-1)}else if(n>r)for(i=u-r;i>s;i--)l=i+n-1,(a=i+r-1)in c?c[l]=c[a]:Zk(c,l);for(i=0;i<n;i++)c[i+s]=arguments[i+2];return Gk(c,u-r+n),o}});var oS,iS=void 0!==Ad&&!1,aS=iS,lS="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],cS=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.attributesExcludelist,l=void 0===a?["id"]:a;if(t||(t=n.displayName||n.name),-1===lS.indexOf(t)){if(lS.push(t),"undefined"==typeof document||"undefined"==typeof window)return null;aS||(aS=!0,eS(window)),o&&(o=sS(o));var c=function(t){Rb(a,Ib(HTMLElement));var i=rS(a);function a(t){var n;return Ld(this,a),(n=i.call(this,t))._elementRef=e.createRef(),n._customMethods={},n._customEvents=[],n._isConnected=!1,n._props={},n}return Md(a,[{key:"connectedCallback",value:function(){this.updateChildren(),this.renderElement(),this._isConnected=!0}},{key:"attributeChangedCallback",value:function(e,t,n){return!(!this._isConnected||t===n)&&(this.renderElement(),n)}},{key:"disconnectedCallback",value:function(){iS||r.unmountComponentAtNode(this),this._children&&delete this._children,this._isConnected&&delete this._isConnected,this._elementRef&&delete this._elementRef,this._customMethods&&delete this._customMethods,this._customEvents&&delete this._customEvents,this._props=null,this._ref=null}},{key:"updateChildren",value:function(){this._children=[];var e,t,n=this.childNodes;for(e=n.length;e--;)(t=fS(n[e]))&&this._children.push(t)}},{key:"connectEvents",value:function(){for(var t={},n=this.attributes.length;n--;)t[this.attributes[n].name]=this.attributes[n].value;t.events&&(t.event=t.events,delete t.events);var r=[].concat(Dg(t.event?t.event.split(","):[]),Dg(Object.entries(t).map((function(e){var t=Fd(e,2),n=t[0],r=t[1];return n&&/^(on_|on[A-Z]|render_)/.test(n)?n+"="+r:null})).filter(Boolean)));return r.length>0&&(r.forEach((function(n){var r=Fd(n.split("="),2),o=r[0],i=r[1];o=pS[o]||o,t[o]=function(){try{var t=i.split("."),n=Fd(t,2),r=n[0],a=n[1];a=a?window[r][a]:window[r];for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var s=a.apply(r,[].concat(c));if(s instanceof HTMLElement){for(var f=[],d=s.childNodes,p=s.attributes,v={},h=d.length;h--;)f.push(fS(d[h]));for(var m=p.length;m--;)v[dS[p[m].name]||p[m].name]=p[m].value;var y=s.nodeName.toLowerCase();return s.remove(),e.createElement(y,v,f)}return s}catch(e){new g_("The '".concat(o,"' event has failed. '").concat(i,"' has to exist on a 'window' scope!"),e)}}})),delete t.event),t}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=gs({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,o=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:o}),o}},{key:"removeEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._customEvents=this._customEvents.reduce((function(n,r){t?r.eventCallback!==t&&n.push(r):r.eventWrapper!==e&&n.push(r);return n}),[])}},{key:"fireEvent",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this._customEvents.forEach((function(n){var o=n.eventName,i=n.eventCallback;o===e&&"function"==typeof i&&i.apply(t,[].concat(r))}))}},{key:"renderElement",value:function(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var i in o=nS(nS(nS({},this._props),this.connectEvents()),o))"true"===o[i]?o[i]=!0:"false"===o[i]?o[i]=!1:void 0===o[i]||null===o[i]||isNaN(Number(o[i]))||(o[i]=Number(o[i]));for(var a=l.length;a--;)o[l[a]]&&this.removeAttribute(l[a]);return this._children&&this._children.length>0&&(o.children=this._children),this._elementRef&&(o.ref=this._elementRef),o.custom_element||(o.custom_element=this),o.custom_method||(o.custom_method=function(e,n){t[e]=t._customMethods[e]=n}),this._props=o,this._ref=e.createElement(n,o),r.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return o||[]}}]),a}();return window.customElements.define(t,c)}},uS=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},sS=function(e){return Array.isArray(e)?e.filter(uS):Object.entries(e||{}).reduce((function(e,t){var n=Fd(t,1)[0];return e.push(n),e}),[]).filter(uS)},fS=function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(3===n.nodeType)return n.nodeValue;if(1!==n.nodeType)return null;var o=[],i={},a=0,l=n.attributes,c=n.childNodes;for(a=l.length;a--;)i[l[a].name]=l[a].value;for(a=c.length;a--;)o[a]=t(c[a]);return i.key="key".concat(1e3*Math.random()),e.createElement(r||n.nodeName.toLowerCase(),i,o)},dS={class:"className",for:"htmlFor"},pS={onclick:"onClick"};function vS(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 hS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vS(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(){if("undefined"!=typeof window){var e=function(){function e(){Ld(this,e)}return Md(e,[{key:"version",get:function(){return"9.45.2"}}]),e}();window.Eufemia=new e}}(),oy.specificKeys([9]),oS=function 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("Mac|iPad|iPhone|iPod"))?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("Linux"))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",oS):oS();var mS=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===zd(n)&&Object.entries(n).forEach((function(e){var n=Fd(e,2),r=n[0],o=n[1];a(t,gs({},r,o))})),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:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var r=e.tabindex;"off"===r&&(r="-1"),t.tabIndex=r}if(t&&"object"===zd(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},yS=function(t){if(!t)return null;if(void 0!==ud&&Array.isArray(ud.registeredElements)&&ud.registeredElements.length>0){var n=null;if(Object.entries(t).reverse().map((function(r){var o=Fd(r,2),i=o[0],a=o[1];return i.includes("render_")&&/^render_/.test(i)&&"function"==typeof a?(n&&(Object.isFrozen(t)&&(t=hS({},t)),t.children=n),n=e.createElement(e.Fragment,{key:i},a(t))):null})).filter(Boolean),n)return n}var r="function"==typeof t.children?t.children(t):t.children;if(Array.isArray(r)){var o=r.reduce((function(e,t){return"string"!=typeof t&&"number"!=typeof t||e.push(t),e}),[]);if(o.length===r.length&&o.length>0)return o.join("")}return r},gS=function e(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r[0];return!0!==i&&!1!==i||(r.shift(),i&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=a(t,Object.entries(n).reduce((function(n,r){var o=Fd(r,2),i=o[0],a=o[1];return null!==a&&("object"===zd(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(n[i]=a)):n[i]=a),n}),{}))),t}),t)},bS=function(e){return null!=e&&("true"===String(e)||"1"===String(e))},_S=function(e,t,n){var r=void 0,o=hS(hS({},n&&n.event||{}),n);if(o&&o.attributes&&o.event){var i=o.event.currentTarget;if(i)try{var a=hS({},i.dataset||{}),l=hS({},o.attributes);for(var c in l)/^data-/.test(c)&&(a[String(c).replace(/^data-/,"")]=l[c]);for(var u in a)o.event.currentTarget.dataset&&(o.event.currentTarget.dataset[u]=a[u]),o.event.target&&o.event.target.dataset&&(o.event.target.dataset[u]=a[u])}catch(e){}}var s=e&&e.props||e;if(s.custom_element&&"function"==typeof s.custom_element.fireEvent&&(r=s.custom_element.fireEvent(t,o)),t.includes("_")){if("function"==typeof s[t]){var f=s[t].apply(e,[o]);void 0!==f&&(r=f)}if("function"==typeof s[t=wS(t)]){var d=s[t].apply(e,[o]);void 0!==d&&(r=d)}}else{if("function"==typeof s[t]){var p=s[t].apply(e,[o]);void 0!==p&&(r=p)}if("function"==typeof s[t=OS(t)]){var v=s[t].apply(e,[o]);void 0!==v&&(r=v)}}return r},wS=function(e){return e.split(/_/g).reduce((function(e,t,n){return e+(0===n?t:t.replace(/(\w)(\w*)/g,(function(e,t,n){return t.toUpperCase()+n.toLowerCase()})))}),"")},OS=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"_".concat(e)})).toLowerCase()};!function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ld(this,e),gs(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(ES(o))return;for(var i,a=0,l=n.length;a<l;++a)if(i=o,n[a])do{if(i===n[a])return;i=i&&i.parentNode}while(i);"function"==typeof r&&r()}catch(e){}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){r.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof n&&n({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===ny(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=ny(e);o.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}Md(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}])}();var ES=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&kS(e)},kS=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},SS=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id-",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+xS++).slice(-t)},xS=0,jS=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{var r=function(e){if(n&&n(e))return e;return e&&e===t};if(r(e))return e;for(;(e=e&&e.parentElement)&&!r(e););}catch(e){}return e},PS=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;Array.isArray(t)||(t=[t]);var r=function t(r){if(e.isValidElement(r))if("string"==typeof r.props.children)r=r.props.children.trim();else{if(!Array.isArray(r.props.children))return null;r=r.props.children.reduce((function(e,r){return"string"!=typeof r&&(r=t(r)),"string"==typeof r&&(e=(e+(n||"")+r).trim()),e}),"")}return r};return t.map((function(e){return r(e)})).filter(Boolean).join(n).trim()};function TS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return RS("aria-labelledby",t)}function CS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return RS("aria-describedby",t)}function RS(e,t){return""===(t=(t=t.map((function(n){return n&&t.includes(n[e])?null:(n&&void 0!==n[e]&&(n=n[e]),"string"!=typeof n&&(n=null),n)}))).filter(Boolean).join(" "))&&(t=void 0),t}function NS(t,n){Array.isArray(t)||(t=[t]);var r=null;return t.some((function(t){if(t&&t.props&&t.props.children){var o=NS(t.props.children,n);if(o)return r=o}return e.isValidElement(t)&&n(t)?r=t:null})),r}function AS(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 LS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AS(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?gS(cd,e.locales):cd;e.__context__&&(a(e,e.__context__),delete e.__context__);var n=MS(e.locale||"nb-NO",t),r=t[n]||cd["nb-NO"]||{};t[n]&&(t[n]=HS(t[n],r));var o=LS(LS({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==n)return o.locales[t]}return o.translation},locales:t,locale:null,breakpoints:null,skeleton:null},e),{},{translation:r});return o}function MS(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var IS=e.createContext(DS({locale:"nb-NO",currency:"NOK",currency_display:"code"}));function HS(e,t){for(var n in e)if(String(n).includes(".")){var r=n.split(".");t[r[0]]&&function(){var t=e[n],o=r.length-1;r.forEach((function(n,r){e[n]=r===o?t:e[n],e=e[n]||{}}))}()}return e}var FS={exports:{}},zS={},BS="function"==typeof Symbol&&Symbol.for,WS=BS?Symbol.for("react.element"):60103,US=BS?Symbol.for("react.portal"):60106,VS=BS?Symbol.for("react.fragment"):60107,$S=BS?Symbol.for("react.strict_mode"):60108,GS=BS?Symbol.for("react.profiler"):60114,qS=BS?Symbol.for("react.provider"):60109,KS=BS?Symbol.for("react.context"):60110,YS=BS?Symbol.for("react.async_mode"):60111,ZS=BS?Symbol.for("react.concurrent_mode"):60111,XS=BS?Symbol.for("react.forward_ref"):60112,JS=BS?Symbol.for("react.suspense"):60113,QS=BS?Symbol.for("react.suspense_list"):60120,ex=BS?Symbol.for("react.memo"):60115,tx=BS?Symbol.for("react.lazy"):60116,nx=BS?Symbol.for("react.block"):60121,rx=BS?Symbol.for("react.fundamental"):60117,ox=BS?Symbol.for("react.responder"):60118,ix=BS?Symbol.for("react.scope"):60119;function ax(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case WS:switch(e=e.type){case YS:case ZS:case VS:case GS:case $S:case JS:return e;default:switch(e=e&&e.$$typeof){case KS:case XS:case tx:case ex:case qS:return e;default:return t}}case US:return t}}}function lx(e){return ax(e)===ZS}zS.AsyncMode=YS,zS.ConcurrentMode=ZS,zS.ContextConsumer=KS,zS.ContextProvider=qS,zS.Element=WS,zS.ForwardRef=XS,zS.Fragment=VS,zS.Lazy=tx,zS.Memo=ex,zS.Portal=US,zS.Profiler=GS,zS.StrictMode=$S,zS.Suspense=JS,zS.isAsyncMode=function(e){return lx(e)||ax(e)===YS},zS.isConcurrentMode=lx,zS.isContextConsumer=function(e){return ax(e)===KS},zS.isContextProvider=function(e){return ax(e)===qS},zS.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===WS},zS.isForwardRef=function(e){return ax(e)===XS},zS.isFragment=function(e){return ax(e)===VS},zS.isLazy=function(e){return ax(e)===tx},zS.isMemo=function(e){return ax(e)===ex},zS.isPortal=function(e){return ax(e)===US},zS.isProfiler=function(e){return ax(e)===GS},zS.isStrictMode=function(e){return ax(e)===$S},zS.isSuspense=function(e){return ax(e)===JS},zS.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===VS||e===ZS||e===GS||e===$S||e===JS||e===QS||"object"==typeof e&&null!==e&&(e.$$typeof===tx||e.$$typeof===ex||e.$$typeof===qS||e.$$typeof===KS||e.$$typeof===XS||e.$$typeof===rx||e.$$typeof===ox||e.$$typeof===ix||e.$$typeof===nx)},zS.typeOf=ax;
|
|
10
|
+
for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var l in o)r[l]=o[l]}(ey,ey.exports);var ty,ny=ey.exports,ry={exports:{}};ty=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="false",a=["button","input","select","textarea"],l=[],c=[16,17,18,91,93],u=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},v=!1;try{var h=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,h)}catch(e){}var m=function(){var e=!!v&&{passive:!0};document.addEventListener("DOMContentLoaded",y),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",_)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",_)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",_),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(x(),_,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",w),window.addEventListener("focusout",O)},y=function(){if(i=!(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){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=k(e));var i=!u.length&&-1===c.indexOf(t),l=u.length&&-1!==u.indexOf(t),f="keyboard"===o&&t&&(i||l)||"mouse"===o||"touch"===o;if(S(o)&&(f=!1),f&&n!==o&&(E("input",n=o),b("input")),f&&r!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(E("intent",r=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),j(t)},_=function(e){var t=s[e.type];"pointer"===t&&(t=k(e)),P(e),(!f&&!S(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(E("intent",r=t),b("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?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},x=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},j=function(e){for(var t=0,o=l.length;t<o;t++)l[t].type===e&&l[t].fn.call(void 0,"input"===e?n:r)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!0},T=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&&(s[x()]="mouse",m()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){c=e},specificKeys:function(e){u=e},registerOnChange:function(e,t){l.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=l.length;t<n;t++)if(l[t].fn===e)return t}(e);(t||0===t)&&l.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])};var oy=ry.exports=ty();!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=S(a,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=s(e,t,n);if("normal"===c.type){if(r=n.done?v:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",h={};function m(){}function y(){}function g(){}var b={};c(b,i,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==n&&r.call(w,i)&&(b=w);var O=g.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,a,l){var c=s(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return y.prototype=g,c(O,"constructor",g),c(g,"constructor",y),y.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(O),c(O,l,"Generator"),c(O,i,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var iy=TypeError,ay=function(e){if(e>9007199254740991)throw iy("Maximum allowed index exceeded");return e},ly=no,cy=v,uy=Pl,sy=ee,fy=$e,dy=pr,py=ay,vy=qa,hy=Yl,my=as,yy=pe,gy=st("isConcatSpreadable"),by=yy>=51||!cy((function(){var e=[];return e[gy]=!1,e.concat()[0]!==e})),_y=my("concat"),wy=function(e){if(!sy(e))return!1;var t=e[gy];return void 0!==t?!!t:uy(e)};ly({target:"Array",proto:!0,arity:1,forced:!by||!_y},{concat:function(e){var t,n,r,o,i,a=fy(this),l=hy(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(wy(i=-1===t?a:arguments[t]))for(o=dy(i),py(c+o),n=0;n<o;n++,c++)n in i&&vy(l,c,i[n]);else py(c+1),vy(l,c++,i);return l.length=c,l}});var Oy,Ey,ky,Sy,xy,jy,Py,Ty=!1,Cy=!1,Ry=!1,Ny=!1,Ay=function(){var e;return"undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};function Ly(e){var t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function Dy(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function My(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}Ty="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(Oy=navigator)||void 0===Oy?void 0:Oy.userAgent),Cy="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Ey=navigator)||void 0===Ey?void 0:Ey.platform),Ry="undefined"!=typeof navigator&&/safari/i.test(null===(ky=navigator)||void 0===ky?void 0:ky.userAgent)&&!/chrome/i.test(null===(Sy=navigator)||void 0===Sy?void 0:Sy.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(xy=navigator)||void 0===xy?void 0:xy.platform),Ay(),Ny="undefined"!=typeof navigator&&new RegExp("Mac|iPad|iPhone|iPod","i").test(null===(jy=navigator)||void 0===jy?void 0:jy.platform),"undefined"!=typeof navigator&&new RegExp("Linux","i").test(null===(Py=navigator)||void 0===Py?void 0:Py.platform);var Iy=function(e,t){try{var n=/[A-Z]/.test(e)?e:null,r=n?null:e.replace(/^\./,""),o=function(e){return e?n?(null==e?void 0:e.tagName)===n:null==e?void 0:e.classList.contains(r):null};if(o(t))return t;for(;(t=null===(i=t)||void 0===i?void 0:i.parentElement)&&!o(t);)var i}catch(e){}return t};var Hy=h,Fy=ln.EXISTS,zy=R,By=It.f,Wy=Function.prototype,Uy=zy(Wy.toString),Vy=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,$y=zy(Vy.exec);Hy&&!Fy&&By(Wy,"name",{configurable:!0,get:function(){try{return $y(Vy,Uy(this))[1]}catch(e){return""}}});var Gy=no,qy=h,Ky=d,Yy=R,Zy=Ke,Xy=X,Jy=ie,Qy=ho,eg=It.f,tg=Fr,ng=Ky.Symbol,rg=ng&&ng.prototype;if(qy&&Xy(ng)&&(!("description"in rg)||void 0!==ng().description)){var og={},ig=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:Qy(arguments[0]),t=Jy(rg,this)?new ng(e):void 0===e?ng():ng(e);return""===e&&(og[t]=!0),t};tg(ig,ng),ig.prototype=rg,rg.constructor=ig;var ag="Symbol(test)"==String(ng("test")),lg=Yy(rg.valueOf),cg=Yy(rg.toString),ug=/^Symbol\((.*)\)[^)]+$/,sg=Yy("".replace),fg=Yy("".slice);eg(rg,"description",{configurable:!0,get:function(){var e=lg(this);if(Zy(og,e))return"";var t=cg(e),n=ag?fg(t,7,-1):sg(t,ug,"$1");return""===n?void 0:n}}),Gy({global:!0,constructor:!0,forced:!0},{Symbol:ig})}fl("iterator");var dg=q,pg=Cf,vg=Kv,hg=Dn,mg=It.f,yg=Lm,gg=nh,bg=h,_g=hg.set,wg=hg.getterFor("Array Iterator"),Og=yg(Array,"Array",(function(e,t){_g(this,{type:"Array Iterator",target:dg(e),index:0,kind:t})}),(function(){var e=wg(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,gg(void 0,!0)):gg("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Eg=vg.Arguments=vg.Array;if(pg("keys"),pg("values"),pg("entries"),bg&&"values"!==Eg.name)try{mg(Eg,"name",{value:"values"})}catch(e){}var kg=d,Sg=Gf,xg=Yf,jg=Og,Pg=Qt,Tg=st,Cg=Tg("iterator"),Rg=Tg("toStringTag"),Ng=jg.values,Ag=function(e,t){if(e){if(e[Cg]!==Ng)try{Pg(e,Cg,Ng)}catch(t){e[Cg]=Ng}if(e[Rg]||Pg(e,Rg,t),Sg[t])for(var n in jg)if(e[n]!==jg[n])try{Pg(e,n,jg[n])}catch(t){e[n]=jg[n]}}};for(var Lg in Sg)Ag(kg[Lg]&&kg[Lg].prototype,Lg);function Dg(e){return function(e){if(Array.isArray(e))return Id(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Ag(xg,"DOMTokenList");var Mg,Ig=no,Hg=Ol,Fg=p.f,zg=fr,Bg=ho,Wg=Df,Ug=V,Vg=If,$g=Hg("".endsWith),Gg=Hg("".slice),qg=Math.min,Kg=Vg("endsWith");function Yg(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Zg(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zg(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function Zg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Ig({target:"String",proto:!0,forced:!!(Kg||(Mg=Fg(String.prototype,"endsWith"),!Mg||Mg.writable))&&!Kg},{endsWith:function(e){var t=Bg(Ug(this));Wg(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:qg(zg(n),r),i=Bg(e);return $g?$g(t,i,o):Gg(t,o-i.length,o)===i}});var Xg=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Ld(this,e),gs(this,"bypassElement",void 0),gs(this,"bypassSelectors",void 0),gs(this,"_nodesToInvalidate",void 0),gs(this,"options",void 0),this.bypassElement=null,this.bypassSelectors=[],this.options=t||{},this}return Md(e,[{key:"setBypassElement",value:function(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}},{key:"setBypassSelector",value:function(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}},{key:"activate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._nodesToInvalidate||this._runInvalidaiton(e)}},{key:"revert",value:function(){this._revertInvalidation(),this._nodesToInvalidate=null}},{key:"_runInvalidaiton",value:function(e){if("undefined"!=typeof document){this._nodesToInvalidate=this.getNodesToInvalidate(e);var t,n=Yg(this._nodesToInvalidate);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r){if(!1!==this.options.tabIndex){var o=r.getAttribute("tabindex");null!==o&&void 0===r.__tabindex&&(r.__tabindex=o),r.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){var i=r.getAttribute("aria-hidden");null!==i&&void 0===r.__ariahidden&&(r.__ariahidden=i),r.setAttribute("aria-hidden","true")}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_revertInvalidation",value:function(){if(Array.isArray(this._nodesToInvalidate)){var e,t=Yg(this._nodesToInvalidate);try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&(!1!==this.options.tabIndex&&(void 0!==n.__tabindex?(n.setAttribute("tabindex",n.__tabindex),delete n.__tabindex):n.removeAttribute("tabindex")),!1!==this.options.ariaHidden&&(void 0!==n.__ariahidden?(n.setAttribute("aria-hidden",n.__ariahidden),delete n.__ariahidden):n.removeAttribute("aria-hidden")))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"getNodesToInvalidate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"==typeof document)return[];"string"==typeof e&&(e=document.querySelector(e));var t=e?"*":"html *",n=this.bypassSelectors.map((function(e){return":not(".concat(e,")")})).join(""),r="".concat(t," ").concat(n,":not(script):not(style):not(path):not(head *)");if(Ty){var o=[],i=r.split(":").map((function(t){return t.endsWith(" *)")&&(o.push.apply(o,Dg(Array.from((e||document.documentElement).querySelectorAll(t.match(/\(([^)]*)\)/)[1])))),t=t.replace(" *","")),t})).join(":");return Array.from((e||document.documentElement).querySelectorAll(i)).filter((function(e){return!o.includes(e)}))}return Array.from((e||document.documentElement).querySelectorAll(r))}}]),e}();function Jg(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 Qg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jg(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Qg(Qg({},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 Qg(Qg({},e),rb(e,t,r))}function tb(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Qg(Qg({},e),rb(e,t,r,{checkPropKey:!0}))}function nb(e){return e.reduce((function(e,t){return t&&(e=Qg(Qg({},e),t)),e}),{})}function rb(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.checkPropKey,i=void 0!==o&&o,a=nb(n);return Object.entries(a).reduce((function(n,r){var o=Fd(r,2),a=o[0],l=o[1];return i&&!Object.prototype.hasOwnProperty.call(e,a)||e[a]!==(null==t?void 0:t[a])||(n[a]=l),n}),{})}var ob=R,ib=Pe,ab=ee,lb=Ke,cb=Tu,ub=m,sb=Function,fb=ob([].concat),db=ob([].join),pb={},vb=function(e,t,n){if(!lb(pb,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";pb[t]=sb("C,a","return new C("+db(r,",")+")")}return pb[t](e,n)},hb=ub?sb.bind:function(e){var t=ib(this),n=t.prototype,r=cb(arguments,1),o=function(){var n=fb(r,cb(arguments));return this instanceof o?vb(t,n.length,n):t.apply(e,n)};return ab(n)&&(o.prototype=n),o},mb=no,yb=Pu,gb=hb,bb=Rs,_b=Wt,wb=ee,Ob=Go,Eb=v,kb=oe("Reflect","construct"),Sb=Object.prototype,xb=[].push,jb=Eb((function(){function e(){}return!(kb((function(){}),[],e)instanceof e)})),Pb=!Eb((function(){kb((function(){}))})),Tb=jb||Pb;function Cb(e,t){return Cb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Cb(e,t)}function Rb(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function Nb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ab(e,t){if(t&&("object"===zd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Nb(e)}function Lb(e){return Lb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Lb(e)}function Db(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Mb(e,t,n){return Mb=Db()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Cb(o,n.prototype),o},Mb.apply(null,arguments)}function Ib(e){var t="function"==typeof Map?new Map:void 0;return Ib=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Mb(e,arguments,Lb(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Cb(r,e)},Ib(e)}mb({target:"Reflect",stat:!0,forced:Tb,sham:Tb},{construct:function(e,t){bb(e),_b(t);var n=arguments.length<3?e:bb(arguments[2]);if(Pb&&!jb)return kb(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return yb(xb,r,t),new(yb(gb,e,r))}var o=n.prototype,i=Ob(wb(o)?o:Sb),a=yb(e,i,t);return wb(a)?a:i}});var Hb=no,Fb=gr.indexOf,zb=Xf,Bb=Ol([].indexOf),Wb=!!Bb&&1/Bb([1],1,-0)<0,Ub=zb("indexOf");Hb({target:"Array",proto:!0,forced:Wb||!Ub},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Wb?Bb(this,e,t)||0:Fb(this,e,t)}});var Vb=R(1..valueOf),$b=h,Gb=d,qb=R,Kb=Kr,Yb=Jn,Zb=Ke,Xb=Ci,Jb=ie,Qb=Oe,e_=gt,t_=v,n_=Qn.f,r_=p.f,o_=It.f,i_=Vb,a_=Ym.trim,l_=Gb.Number,c_=l_.prototype,u_=Gb.TypeError,s_=qb("".slice),f_=qb("".charCodeAt),d_=function(e){var t=e_(e,"number");return"bigint"==typeof t?t:p_(t)},p_=function(e){var t,n,r,o,i,a,l,c,u=e_(e,"number");if(Qb(u))throw u_("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=a_(u),43===(t=f_(u,0))||45===t){if(88===(n=f_(u,2))||120===n)return NaN}else if(48===t){switch(f_(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=s_(u,2)).length,l=0;l<a;l++)if((c=f_(i,l))<48||c>o)return NaN;return parseInt(i,r)}return+u};if(Kb("Number",!l_(" 0o1")||!l_("0b1")||l_("+0x1"))){for(var v_,h_=function(e){var t=arguments.length<1?0:l_(d_(e)),n=this;return Jb(c_,n)&&t_((function(){i_(n)}))?Xb(Object(t),n,h_):t},m_=$b?n_(l_):"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(","),y_=0;m_.length>y_;y_++)Zb(l_,v_=m_[y_])&&!Zb(h_,v_)&&o_(h_,v_,r_(l_,v_));h_.prototype=c_,c_.constructor=h_,Yb(Gb,"Number",h_,{constructor:!0})}function g_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:null},n=t.message,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if("object"===zd(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var b_={exports:{}},__=v,w_=ee,O_=D,E_=up,k_=Object.isExtensible,S_=__((function(){k_(1)}))||E_?function(e){return!!w_(e)&&((!E_||"ArrayBuffer"!=O_(e))&&(!k_||k_(e)))}:k_,x_=!v((function(){return Object.isExtensible(Object.preventExtensions({}))})),j_=no,P_=R,T_=On,C_=ee,R_=Ke,N_=It.f,A_=Qn,L_=Ua,D_=S_,M_=x_,I_=!1,H_=Qe("meta"),F_=0,z_=function(e){N_(e,H_,{value:{objectID:"O"+F_++,weakData:{}}})},B_=b_.exports={enable:function(){B_.enable=function(){},I_=!0;var e=A_.f,t=P_([].splice),n={};n[H_]=1,e(n).length&&(A_.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===H_){t(r,o,1);break}return r},j_({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:L_.f}))},fastKey:function(e,t){if(!C_(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!R_(e,H_)){if(!D_(e))return"F";if(!t)return"E";z_(e)}return e[H_].objectID},getWeakData:function(e,t){if(!R_(e,H_)){if(!D_(e))return!0;if(!t)return!1;z_(e)}return e[H_].weakData},onFreeze:function(e){return M_&&I_&&D_(e)&&!R_(e,H_)&&z_(e),e}};T_[H_]=!0;var W_=xl,U_=b,V_=Wt,$_=ke,G_=Bh,q_=pr,K_=ie,Y_=em,Z_=qh,X_=Dh,J_=TypeError,Q_=function(e,t){this.stopped=e,this.result=t},ew=Q_.prototype,tw=function(e,t,n){var r,o,i,a,l,c,u,s=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),h=W_(t,s),m=function(e){return r&&X_(r,"normal",e),new Q_(!0,e)},y=function(e){return f?(V_(e),v?h(e[0],e[1],m):h(e[0],e[1])):v?h(e,m):h(e)};if(d)r=e.iterator;else if(p)r=e;else{if(!(o=Z_(e)))throw J_($_(e)+" is not iterable");if(G_(o)){for(i=0,a=q_(e);a>i;i++)if((l=y(e[i]))&&K_(ew,l))return l;return new Q_(!1)}r=Y_(e,o)}for(c=d?e.next:r.next;!(u=U_(c,r)).done;){try{l=y(u.value)}catch(e){X_(r,"throw",e)}if("object"==typeof l&&l&&K_(ew,l))return l}return new Q_(!1)},nw=ie,rw=TypeError,ow=function(e,t){if(nw(t,e))return e;throw rw("Incorrect invocation")},iw=no,aw=d,lw=R,cw=Kr,uw=Jn,sw=b_.exports,fw=tw,dw=ow,pw=X,vw=B,hw=ee,mw=v,yw=mm,gw=bl,bw=Ci,_w=Jn,ww=It.f,Ow=Go,Ew=function(e,t,n){for(var r in t)_w(e,r,t[r],n);return e},kw=xl,Sw=ow,xw=B,jw=tw,Pw=Lm,Tw=nh,Cw=Gi,Rw=h,Nw=b_.exports.fastKey,Aw=Dn.set,Lw=Dn.getterFor,Dw={getConstructor:function(e,t,n,r){var o=e((function(e,o){Sw(e,i),Aw(e,{type:t,index:Ow(null),first:void 0,last:void 0,size:0}),Rw||(e.size=0),xw(o)||jw(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Lw(t),l=function(e,t,n){var r,o,i=a(e),l=c(e,t);return l?l.value=n:(i.last=l={index:o=Nw(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=l),r&&(r.next=l),Rw?i.size++:e.size++,"F"!==o&&(i.index[o]=l)),e},c=function(e,t){var n,r=a(e),o=Nw(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Ew(i,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,Rw?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),Rw?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=kw(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),Ew(i,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return l(this,0===e?0:e,t)}}:{add:function(e){return l(this,e=0===e?0:e,e)}}),Rw&&ww(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=Lw(t),i=Lw(r);Pw(e,t,(function(e,t){Aw(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Tw("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,Tw(void 0,!0))}),n?"entries":"values",!n,!0),Cw(t)}},Mw=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=aw[e],l=a&&a.prototype,c=a,u={},s=function(e){var t=lw(l[e]);uw(l,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!hw(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!hw(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!hw(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(cw(e,!pw(a)||!(o||l.forEach&&!mw((function(){(new a).entries().next()})))))c=n.getConstructor(t,e,r,i),sw.enable();else if(cw(e,!0)){var f=new c,d=f[i](o?{}:-0,1)!=f,p=mw((function(){f.has(1)})),v=yw((function(e){new a(e)})),h=!o&&mw((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));v||((c=t((function(e,t){dw(e,l);var n=bw(new a,e,c);return vw(t)||fw(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=l,l.constructor=c),(p||h)&&(s("delete"),s("has"),r&&s("get")),(h||d)&&s(i),o&&l.clear&&delete l.clear}return u[e]=c,iw({global:!0,constructor:!0,forced:c!=a},u),gw(c,e),o||n.setStrong(c,e,r),c};Mw("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Dw);var Iw,Hw,Fw,zw,Bw=TypeError,Ww=/(?:ipad|iphone|ipod).*applewebkit/i.test(ae),Uw=d,Vw=Pu,$w=xl,Gw=X,qw=Ke,Kw=v,Yw=Lo,Zw=Tu,Xw=St,Jw=function(e,t){if(e<t)throw Bw("Not enough arguments");return e},Qw=Ww,eO=Ep,tO=Uw.setImmediate,nO=Uw.clearImmediate,rO=Uw.process,oO=Uw.Dispatch,iO=Uw.Function,aO=Uw.MessageChannel,lO=Uw.String,cO=0,uO={};try{Iw=Uw.location}catch(e){}var sO=function(e){if(qw(uO,e)){var t=uO[e];delete uO[e],t()}},fO=function(e){return function(){sO(e)}},dO=function(e){sO(e.data)},pO=function(e){Uw.postMessage(lO(e),Iw.protocol+"//"+Iw.host)};tO&&nO||(tO=function(e){Jw(arguments.length,1);var t=Gw(e)?e:iO(e),n=Zw(arguments,1);return uO[++cO]=function(){Vw(t,void 0,n)},Hw(cO),cO},nO=function(e){delete uO[e]},eO?Hw=function(e){rO.nextTick(fO(e))}:oO&&oO.now?Hw=function(e){oO.now(fO(e))}:aO&&!Qw?(zw=(Fw=new aO).port2,Fw.port1.onmessage=dO,Hw=$w(zw.postMessage,zw)):Uw.addEventListener&&Gw(Uw.postMessage)&&!Uw.importScripts&&Iw&&"file:"!==Iw.protocol&&!Kw(pO)?(Hw=pO,Uw.addEventListener("message",dO,!1)):Hw="onreadystatechange"in Xw("script")?function(e){Yw.appendChild(Xw("script")).onreadystatechange=function(){Yw.removeChild(this),sO(e)}}:function(e){setTimeout(fO(e),0)});var vO,hO,mO,yO,gO,bO,_O,wO,OO={set:tO,clear:nO},EO=d,kO=/ipad|iphone|ipod/i.test(ae)&&void 0!==EO.Pebble,SO=/web0s(?!.*chrome)/i.test(ae),xO=d,jO=xl,PO=p.f,TO=OO.set,CO=Ww,RO=kO,NO=SO,AO=Ep,LO=xO.MutationObserver||xO.WebKitMutationObserver,DO=xO.document,MO=xO.process,IO=xO.Promise,HO=PO(xO,"queueMicrotask"),FO=HO&&HO.value;FO||(vO=function(){var e,t;for(AO&&(e=MO.domain)&&e.exit();hO;){t=hO.fn,hO=hO.next;try{t()}catch(e){throw hO?yO():mO=void 0,e}}mO=void 0,e&&e.enter()},CO||AO||NO||!LO||!DO?!RO&&IO&&IO.resolve?((_O=IO.resolve(void 0)).constructor=IO,wO=jO(_O.then,_O),yO=function(){wO(vO)}):AO?yO=function(){MO.nextTick(vO)}:(TO=jO(TO,xO),yO=function(){TO(vO)}):(gO=!0,bO=DO.createTextNode(""),new LO(vO).observe(bO,{characterData:!0}),yO=function(){bO.data=gO=!gO}));var zO=FO||function(e){var t={fn:e,next:void 0};mO&&(mO.next=t),hO||(hO=t,yO()),mO=t},BO=d,WO=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},UO=function(){this.head=null,this.tail=null};UO.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var VO=UO,$O=d.Promise,GO="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,qO=!GO&&!Ep&&"object"==typeof window&&"object"==typeof document,KO=d,YO=$O,ZO=X,XO=Kr,JO=vn,QO=st,eE=qO,tE=GO,nE=pe;YO&&YO.prototype;var rE=QO("species"),oE=!1,iE=ZO(KO.PromiseRejectionEvent),aE=XO("Promise",(function(){var e=JO(YO),t=e!==String(YO);if(!t&&66===nE)return!0;if(!nE||nE<51||!/native code/.test(e)){var n=new YO((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[rE]=r,!(oE=n.then((function(){}))instanceof r))return!0}return!t&&(eE||tE)&&!iE})),lE={CONSTRUCTOR:aE,REJECTION_EVENT:iE,SUBCLASSING:oE},cE={},uE=Pe,sE=TypeError,fE=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw sE("Bad Promise constructor");t=e,n=r})),this.resolve=uE(t),this.reject=uE(n)};cE.f=function(e){return new fE(e)};var dE,pE,vE,hE=no,mE=Ep,yE=d,gE=b,bE=Jn,_E=xi,wE=bl,OE=Gi,EE=Pe,kE=X,SE=ee,xE=ow,jE=Ms,PE=OO.set,TE=zO,CE=function(e,t){var n=BO.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},RE=WO,NE=VO,AE=Dn,LE=$O,DE=cE,ME=lE.CONSTRUCTOR,IE=lE.REJECTION_EVENT,HE=lE.SUBCLASSING,FE=AE.getterFor("Promise"),zE=AE.set,BE=LE&&LE.prototype,WE=LE,UE=BE,VE=yE.TypeError,$E=yE.document,GE=yE.process,qE=DE.f,KE=qE,YE=!!($E&&$E.createEvent&&yE.dispatchEvent),ZE=function(e){var t;return!(!SE(e)||!kE(t=e.then))&&t},XE=function(e,t){var n,r,o,i=t.value,a=1==t.state,l=a?e.ok:e.fail,c=e.resolve,u=e.reject,s=e.domain;try{l?(a||(2===t.rejection&&nk(t),t.rejection=1),!0===l?n=i:(s&&s.enter(),n=l(i),s&&(s.exit(),o=!0)),n===e.promise?u(VE("Promise-chain cycle")):(r=ZE(n))?gE(r,n,c,u):c(n)):u(i)}catch(e){s&&!o&&s.exit(),u(e)}},JE=function(e,t){e.notified||(e.notified=!0,TE((function(){for(var n,r=e.reactions;n=r.get();)XE(n,e);e.notified=!1,t&&!e.rejection&&ek(e)})))},QE=function(e,t,n){var r,o;YE?((r=$E.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),yE.dispatchEvent(r)):r={promise:t,reason:n},!IE&&(o=yE["on"+e])?o(r):"unhandledrejection"===e&&CE("Unhandled promise rejection",n)},ek=function(e){gE(PE,yE,(function(){var t,n=e.facade,r=e.value;if(tk(e)&&(t=RE((function(){mE?GE.emit("unhandledRejection",r,n):QE("unhandledrejection",n,r)})),e.rejection=mE||tk(e)?2:1,t.error))throw t.value}))},tk=function(e){return 1!==e.rejection&&!e.parent},nk=function(e){gE(PE,yE,(function(){var t=e.facade;mE?GE.emit("rejectionHandled",t):QE("rejectionhandled",t,e.value)}))},rk=function(e,t,n){return function(r){e(t,r,n)}},ok=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,JE(e,!0))},ik=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw VE("Promise can't be resolved itself");var r=ZE(t);r?TE((function(){var n={done:!1};try{gE(r,t,rk(ik,n,e),rk(ok,n,e))}catch(t){ok(n,t,e)}})):(e.value=t,e.state=1,JE(e,!1))}catch(t){ok({done:!1},t,e)}}};if(ME&&(UE=(WE=function(e){xE(this,UE),EE(e),gE(dE,this);var t=FE(this);try{e(rk(ik,t),rk(ok,t))}catch(e){ok(t,e)}}).prototype,(dE=function(e){zE(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new NE,rejection:!1,state:0,value:void 0})}).prototype=bE(UE,"then",(function(e,t){var n=FE(this),r=qE(jE(this,WE));return n.parent=!0,r.ok=!kE(e)||e,r.fail=kE(t)&&t,r.domain=mE?GE.domain:void 0,0==n.state?n.reactions.add(r):TE((function(){XE(r,n)})),r.promise})),pE=function(){var e=new dE,t=FE(e);this.promise=e,this.resolve=rk(ik,t),this.reject=rk(ok,t)},DE.f=qE=function(e){return e===WE||undefined===e?new pE(e):KE(e)},kE(LE)&&BE!==Object.prototype)){vE=BE.then,HE||bE(BE,"then",(function(e,t){var n=this;return new WE((function(e,t){gE(vE,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete BE.constructor}catch(e){}_E&&_E(BE,UE)}hE({global:!0,constructor:!0,wrap:!0,forced:ME},{Promise:WE}),wE(WE,"Promise",!1),OE("Promise");var ak=$O,lk=lE.CONSTRUCTOR||!mm((function(e){ak.all(e).then(void 0,(function(){}))})),ck=b,uk=Pe,sk=cE,fk=WO,dk=tw;no({target:"Promise",stat:!0,forced:lk},{all:function(e){var t=this,n=sk.f(t),r=n.resolve,o=n.reject,i=fk((function(){var n=uk(t.resolve),i=[],a=0,l=1;dk(e,(function(e){var c=a++,u=!1;l++,ck(n,t,e).then((function(e){u||(u=!0,i[c]=e,--l||r(i))}),o)})),--l||r(i)}));return i.error&&o(i.value),n.promise}});var pk=no,vk=lE.CONSTRUCTOR,hk=$O,mk=oe,yk=X,gk=Jn,bk=hk&&hk.prototype;if(pk({target:"Promise",proto:!0,forced:vk,real:!0},{catch:function(e){return this.then(void 0,e)}}),yk(hk)){var _k=mk("Promise").prototype.catch;bk.catch!==_k&&gk(bk,"catch",_k,{unsafe:!0})}var wk=b,Ok=Pe,Ek=cE,kk=WO,Sk=tw;no({target:"Promise",stat:!0,forced:lk},{race:function(e){var t=this,n=Ek.f(t),r=n.reject,o=kk((function(){var o=Ok(t.resolve);Sk(e,(function(e){wk(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var xk=b,jk=cE;no({target:"Promise",stat:!0,forced:lE.CONSTRUCTOR},{reject:function(e){var t=jk.f(this);return xk(t.reject,void 0,e),t.promise}});var Pk=Wt,Tk=ee,Ck=cE,Rk=no,Nk=lE.CONSTRUCTOR,Ak=function(e,t){if(Pk(e),Tk(t)&&t.constructor===e)return t;var n=Ck.f(e);return(0,n.resolve)(t),n.promise};oe("Promise"),Rk({target:"Promise",stat:!0,forced:Nk},{resolve:function(e){return Ak(this,e)}});var Lk=h,Dk=Pl,Mk=TypeError,Ik=Object.getOwnPropertyDescriptor,Hk=Lk&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),Fk=ke,zk=TypeError,Bk=no,Wk=$e,Uk=cr,Vk=or,$k=pr,Gk=Hk?function(e,t){if(Dk(e)&&!Ik(e,"length").writable)throw Mk("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},qk=ay,Kk=Yl,Yk=qa,Zk=function(e,t){if(!delete e[t])throw zk("Cannot delete property "+Fk(t)+" of "+Fk(e))},Xk=as("splice"),Jk=Math.max,Qk=Math.min;function eS(e,t){var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,l=function(e,t){(t=t.toLowerCase())in c||(c[e]=(c[e]||[]).concat(t),c[t]=c[t.toUpperCase()]=e)},c=(r.create||r)(null),u={};for(n in e)for(i in e[n])for(o=e[n][i],c[i]=o,t=0;t<o.length;t++)c[o[t].toLowerCase()]=c[o[t].toUpperCase()]=i;return u.get=function(e){return"string"==typeof e?c[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in c)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return a.test(e)?l(e,t):l(t,e),u},u}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!==zd(t)&&(t={type:t||"auto"});var i,a,l,c,u,s,f,d,p,v="registerElement",h="__registerElement"+(1e5*e.Math.random()>>0),m="addEventListener",y="attached",g="Callback",b="detached",_="extends",w="attributeChangedCallback",O="createdCallback",E="ADDITION",k="MODIFICATION",S="REMOVAL",x="DOMAttrModified",j="DOMContentLoaded",P="<",T="=",C=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,R=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],N=[],A=[],L="",D=n.documentElement,M=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},I=r.prototype,H=I.hasOwnProperty,F=I.isPrototypeOf,z=r.defineProperty,B=[],W=r.getOwnPropertyDescriptor,U=r.getOwnPropertyNames,V=r.getPrototypeOf,$=r.setPrototypeOf,G=!!r.__proto__,q="__dreCEv1",K=e.customElements,Y=!/^force/.test(t.type)&&!!(K&&K.define&&K.get&&K.whenDefined),Z=r.create||r,X=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[M.call(t,e)]},set:function(r,o){(e=M.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},J=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},Q=!1,ee=Z(null),te=Z(null),ne=new X,re=function(e){return e.toLowerCase()},oe=r.create||function e(t){return t?(e.prototype=t,new e):this},ie=$||(G?function(e,t){return e.__proto__=t,e}:U&&W?function(){function e(e,t){for(var n,r=U(t),o=0,i=r.length;o<i;o++)n=r[o],H.call(e,n)||z(e,n,W(t,n))}return function(t,n){do{e(t,n)}while((n=V(n))&&!F.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ae=e.MutationObserver||e.WebKitMutationObserver,le=(e.HTMLElement||e.Element||e.Node).prototype,ce=!F.call(le,D),ue=ce?function(e,t,n){return e[t]=n.value,e}:z,se=ce?function(e){return 1===e.nodeType}:function(e){return F.call(le,e)},fe=ce&&[],de=le.attachShadow,pe=le.cloneNode,ve=le.dispatchEvent,he=le.getAttribute,me=le.hasAttribute,ye=le.removeAttribute,ge=le.setAttribute,be=n.createElement,_e=be,we=ae&&{attributes:!0,characterData:!0,attributeOldValue:!0},Oe=ae||function(e){je=!1,D.removeEventListener(x,Oe)},Ee=0,ke=v in n&&!/^force-all/.test(t.type),Se=!0,xe=!1,je=!0,Pe=!0,Te=!0;function Ce(){var e=i.splice(0,i.length);for(Ee=0;e.length;)e.shift().call(null,e.shift())}function Re(e,t){for(var n=0,r=e.length;n<r;n++)Be(e[n],t)}function Ne(e){return function(t){se(t)&&(Be(t,e),L.length&&Re(t.querySelectorAll(L),e))}}function Ae(e){var t=he.call(e,"is"),n=e.nodeName.toUpperCase(),r=M.call(N,t?T+t.toUpperCase():P+n);return t&&-1<r&&!Le(n,t)?-1:r}function Le(e,t){return-1<L.indexOf(e+'[is="'+t+'"]')}function De(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e.ADDITION||2,a=e.REMOVAL||3;!Te||o&&o!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t.attributeChangedCallback(r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Me(e){var t=Ne(e);return function(e){i.push(t,e.target),Ee&&clearTimeout(Ee),Ee=setTimeout(Ce,1)}}function Ie(e){Pe&&(Pe=!1,e.currentTarget.removeEventListener(j,Ie)),L.length&&Re((e.target||n).querySelectorAll(L),e.detail===b?b:y),ce&&function(){for(var e,t=0,n=fe.length;t<n;t++)e=fe[t],D.contains(e)||(n--,fe.splice(t--,1),Be(e,b))}()}function He(e,t){var n=this;ge.call(n,e,t),a.call(n,{target:n})}function Fe(e,t){ie(e,t),u?u.observe(e,we):(je&&(e.setAttribute=He,e[h]=c(e),e.addEventListener("DOMSubtreeModified",a)),e.addEventListener(x,De)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function ze(e){throw new Error("A "+e+" type is already registered")}function Be(e,t){var n,r,o=Ae(e);-1<o&&(f(e,A[o]),o=0,t!==y||e.attached?t!==b||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",o=1):(e.detached=!1,e.attached=!0,r="connected",o=1,ce&&M.call(fe,e)<0&&fe.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function We(){}function Ue(e,t,r){var o=r&&r.extends||"",i=t.prototype,a=oe(i),l=t.observedAttributes||B,c={prototype:a};ue(a,O,{value:function(){if(Q)Q=!1;else if(!this[q]){this[q]=!0,new t(this),i.createdCallback&&i.createdCallback.call(this);var e=ee[ne.get(t)];(!Y||e.create.length>1)&&Ge(this)}}}),ue(a,w,{value:function(e){-1<M.call(l,e)&&i.attributeChangedCallback.apply(this,arguments)}}),i.connectedCallback&&ue(a,"attachedCallback",{value:i.connectedCallback}),i.disconnectedCallback&&ue(a,"detachedCallback",{value:i.disconnectedCallback}),o&&(c.extends=o),e=e.toUpperCase(),ee[e]={constructor:t,create:o?[o,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),c),qe(e),te[e].r()}function Ve(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function $e(e){return"string"==typeof e?e:e&&e.is||""}function Ge(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:B,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function qe(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new J((function(t){te[e].r=t}))),te[e].p}function Ke(){K&&delete e.customElements,z(e,"customElements",{configurable:!0,value:new We}),z(e,"CustomElementRegistry",{configurable:!0,value:We});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[q]||(Q=!0,t=ee[ne.get(e.constructor)],(e=(o=Y&&1===t.create.length)?Reflect.construct(r,B,t.constructor):n.createElement.apply(n,t.create))[q]=!0,Q=!1,o||Ge(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){z(r,q,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=$e(t);return n?_e.call(this,e,re(n)):_e.call(this,e)},ke||(xe=!0,n.registerElement(""))}if(ae&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ae((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=W(le,"innerHTML"))&&p.set;n&&z(le,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),p=null})).observe(p,{childList:!0,subtree:!0}),p.innerHTML=""),ke||($||G?(f=function(e,t){F.call(t,e)||Fe(e,t)},d=Fe):(f=function(e,t){e[h]||(e[h]=r(!0),Fe(e,t))},d=f),ce?(je=!1,function(){var e=W(le,m),t=e.value,n=function(e){var t=new CustomEvent(x,{bubbles:!0});t.attrName=e,t.prevValue=he.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,ye.call(this,e),ve.call(this,t)},r=function(e,t){var n=me.call(this,e),r=n&&he.call(this,e),o=new CustomEvent(x,{bubbles:!0});ge.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o.ADDITION=o.attrChange=0,ve.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[h],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(x,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,ve.call(n,t))};e.value=function(e,i,a){e===x&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[h]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},z(le,m,e)}()):ae||(D.addEventListener(x,Oe),D.setAttribute(h,1),D.removeAttribute(h),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[h],o[h]=n=c(o),n){if(!(r in t))return l(0,o,r,t[r],n[r],E);if(n[r]!==t[r])return l(1,o,r,t[r],n[r],k)}for(r in t)if(!(r in n))return l(2,o,r,t[r],n[r],S)}},l=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,De(a)},c=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),Se&&(Se=!1,ae?(u=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ae((function(r){for(var o,i,a,l=0,c=r.length;l<c;l++)"childList"===(o=r[l]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Te&&i.attributeChangedCallback&&"style"!==o.attributeName&&(a=he.call(i,o.attributeName))!==o.oldValue&&i.attributeChangedCallback(o.attributeName,o.oldValue,a))}))}(Ne(y),Ne(b)),s=function(e){return u.observe(e,{childList:!0,subtree:!0}),e},s(n),de&&(le.attachShadow=function(){return s(de.apply(this,arguments))})):(i=[],n.addEventListener("DOMNodeInserted",Me(y)),n.addEventListener("DOMNodeRemoved",Me(b))),n.addEventListener(j,Ie),n.addEventListener("readystatechange",Ie),le.cloneNode=function(e){var t=pe.call(this,!!e),n=Ae(t);return-1<n&&d(t,A[n]),e&&L.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],d(t,A[Ae(t)])}(t.querySelectorAll(L)),t}),xe)return xe=!1;if(-2<M.call(N,T+r)+M.call(N,P+r)&&ze(e),!C.test(r)||-1<M.call(R,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return c?n.createElement(f,r):n.createElement(f)},l=t||I,c=H.call(l,_),f=c?t.extends.toUpperCase():r;return c&&-1<M.call(N,P+f)&&ze(f),o=N.push((c?T:P)+r)-1,L=L.concat(L.length?",":"",c?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=A[o]=H.call(l,"prototype")?l.prototype:oe(le),L.length&&Re(n.querySelectorAll(L),y),a},n.createElement=_e=function(e,t){var r=$e(t),o=r?be.call(n,e,re(r)):be.call(n,e),i=""+e,a=M.call(N,(r?T:P)+(r||i).toUpperCase()),l=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),l&&(l=Le(i.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,l&&d(o,A[a]),o}),We.prototype={constructor:We,define:Y?function(e,t,n){if(n)Ue(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),K.define(e,t)}}:Ue,get:Y?function(e){return K.get(e)||Ve(e)}:Ve,whenDefined:Y?function(e){return J.race([K.whenDefined(e),qe(e)])}:qe},!K||/^force/.test(t.type))Ke();else if(!t.noBuiltIn)try{!function(t,r,o){if(r.extends="a",(t.prototype=oe(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(o,t,r),he.call(n.createElement("a",{is:o}),"is")!==o||Y&&he.call(new t,"is")!==o)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ke()}if(!t.noBuiltIn)try{be.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function tS(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 nS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tS(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Lb(e);if(t){var o=Lb(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ab(this,n)}}Bk({target:"Array",proto:!0,forced:!Xk},{splice:function(e,t){var n,r,o,i,a,l,c=Wk(this),u=$k(c),s=Uk(e,u),f=arguments.length;for(0===f?n=r=0:1===f?(n=0,r=u-s):(n=f-2,r=Qk(Jk(Vk(t),0),u-s)),qk(u+n-r),o=Kk(c,r),i=0;i<r;i++)(a=s+i)in c&&Yk(o,i,c[a]);if(o.length=r,n<r){for(i=s;i<u-r;i++)l=i+n,(a=i+r)in c?c[l]=c[a]:Zk(c,l);for(i=u;i>u-r+n;i--)Zk(c,i-1)}else if(n>r)for(i=u-r;i>s;i--)l=i+n-1,(a=i+r-1)in c?c[l]=c[a]:Zk(c,l);for(i=0;i<n;i++)c[i+s]=arguments[i+2];return Gk(c,u-r+n),o}});var oS,iS=void 0!==Ad&&!1,aS=iS,lS="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],cS=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.attributesExcludelist,l=void 0===a?["id"]:a;if(t||(t=n.displayName||n.name),-1===lS.indexOf(t)){if(lS.push(t),"undefined"==typeof document||"undefined"==typeof window)return null;aS||(aS=!0,eS(window)),o&&(o=sS(o));var c=function(t){Rb(a,Ib(HTMLElement));var i=rS(a);function a(t){var n;return Ld(this,a),(n=i.call(this,t))._elementRef=e.createRef(),n._customMethods={},n._customEvents=[],n._isConnected=!1,n._props={},n}return Md(a,[{key:"connectedCallback",value:function(){this.updateChildren(),this.renderElement(),this._isConnected=!0}},{key:"attributeChangedCallback",value:function(e,t,n){return!(!this._isConnected||t===n)&&(this.renderElement(),n)}},{key:"disconnectedCallback",value:function(){iS||r.unmountComponentAtNode(this),this._children&&delete this._children,this._isConnected&&delete this._isConnected,this._elementRef&&delete this._elementRef,this._customMethods&&delete this._customMethods,this._customEvents&&delete this._customEvents,this._props=null,this._ref=null}},{key:"updateChildren",value:function(){this._children=[];var e,t,n=this.childNodes;for(e=n.length;e--;)(t=fS(n[e]))&&this._children.push(t)}},{key:"connectEvents",value:function(){for(var t={},n=this.attributes.length;n--;)t[this.attributes[n].name]=this.attributes[n].value;t.events&&(t.event=t.events,delete t.events);var r=[].concat(Dg(t.event?t.event.split(","):[]),Dg(Object.entries(t).map((function(e){var t=Fd(e,2),n=t[0],r=t[1];return n&&/^(on_|on[A-Z]|render_)/.test(n)?n+"="+r:null})).filter(Boolean)));return r.length>0&&(r.forEach((function(n){var r=Fd(n.split("="),2),o=r[0],i=r[1];o=pS[o]||o,t[o]=function(){try{var t=i.split("."),n=Fd(t,2),r=n[0],a=n[1];a=a?window[r][a]:window[r];for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var s=a.apply(r,[].concat(c));if(s instanceof HTMLElement){for(var f=[],d=s.childNodes,p=s.attributes,v={},h=d.length;h--;)f.push(fS(d[h]));for(var m=p.length;m--;)v[dS[p[m].name]||p[m].name]=p[m].value;var y=s.nodeName.toLowerCase();return s.remove(),e.createElement(y,v,f)}return s}catch(e){new g_("The '".concat(o,"' event has failed. '").concat(i,"' has to exist on a 'window' scope!"),e)}}})),delete t.event),t}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=gs({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,o=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:o}),o}},{key:"removeEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._customEvents=this._customEvents.reduce((function(n,r){t?r.eventCallback!==t&&n.push(r):r.eventWrapper!==e&&n.push(r);return n}),[])}},{key:"fireEvent",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this._customEvents.forEach((function(n){var o=n.eventName,i=n.eventCallback;o===e&&"function"==typeof i&&i.apply(t,[].concat(r))}))}},{key:"renderElement",value:function(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var i in o=nS(nS(nS({},this._props),this.connectEvents()),o))"true"===o[i]?o[i]=!0:"false"===o[i]?o[i]=!1:void 0===o[i]||null===o[i]||isNaN(Number(o[i]))||(o[i]=Number(o[i]));for(var a=l.length;a--;)o[l[a]]&&this.removeAttribute(l[a]);return this._children&&this._children.length>0&&(o.children=this._children),this._elementRef&&(o.ref=this._elementRef),o.custom_element||(o.custom_element=this),o.custom_method||(o.custom_method=function(e,n){t[e]=t._customMethods[e]=n}),this._props=o,this._ref=e.createElement(n,o),r.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return o||[]}}]),a}();return window.customElements.define(t,c)}},uS=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},sS=function(e){return Array.isArray(e)?e.filter(uS):Object.entries(e||{}).reduce((function(e,t){var n=Fd(t,1)[0];return e.push(n),e}),[]).filter(uS)},fS=function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(3===n.nodeType)return n.nodeValue;if(1!==n.nodeType)return null;var o=[],i={},a=0,l=n.attributes,c=n.childNodes;for(a=l.length;a--;)i[l[a].name]=l[a].value;for(a=c.length;a--;)o[a]=t(c[a]);return i.key="key".concat(1e3*Math.random()),e.createElement(r||n.nodeName.toLowerCase(),i,o)},dS={class:"className",for:"htmlFor"},pS={onclick:"onClick"};function vS(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 hS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vS(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(){if("undefined"!=typeof window){var e=function(){function e(){Ld(this,e)}return Md(e,[{key:"version",get:function(){return"9.45.3"}}]),e}();window.Eufemia=new e}}(),oy.specificKeys([9]),oS=function 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("Mac|iPad|iPhone|iPod"))?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("Linux"))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",oS):oS();var mS=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===zd(n)&&Object.entries(n).forEach((function(e){var n=Fd(e,2),r=n[0],o=n[1];a(t,gs({},r,o))})),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:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var r=e.tabindex;"off"===r&&(r="-1"),t.tabIndex=r}if(t&&"object"===zd(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},yS=function(t){if(!t)return null;if(void 0!==ud&&Array.isArray(ud.registeredElements)&&ud.registeredElements.length>0){var n=null;if(Object.entries(t).reverse().map((function(r){var o=Fd(r,2),i=o[0],a=o[1];return i.includes("render_")&&/^render_/.test(i)&&"function"==typeof a?(n&&(Object.isFrozen(t)&&(t=hS({},t)),t.children=n),n=e.createElement(e.Fragment,{key:i},a(t))):null})).filter(Boolean),n)return n}var r="function"==typeof t.children?t.children(t):t.children;if(Array.isArray(r)){var o=r.reduce((function(e,t){return"string"!=typeof t&&"number"!=typeof t||e.push(t),e}),[]);if(o.length===r.length&&o.length>0)return o.join("")}return r},gS=function e(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r[0];return!0!==i&&!1!==i||(r.shift(),i&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=a(t,Object.entries(n).reduce((function(n,r){var o=Fd(r,2),i=o[0],a=o[1];return null!==a&&("object"===zd(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(n[i]=a)):n[i]=a),n}),{}))),t}),t)},bS=function(e){return null!=e&&("true"===String(e)||"1"===String(e))},_S=function(e,t,n){var r=void 0,o=hS(hS({},n&&n.event||{}),n);if(o&&o.attributes&&o.event){var i=o.event.currentTarget;if(i)try{var a=hS({},i.dataset||{}),l=hS({},o.attributes);for(var c in l)/^data-/.test(c)&&(a[String(c).replace(/^data-/,"")]=l[c]);for(var u in a)o.event.currentTarget.dataset&&(o.event.currentTarget.dataset[u]=a[u]),o.event.target&&o.event.target.dataset&&(o.event.target.dataset[u]=a[u])}catch(e){}}var s=e&&e.props||e;if(s.custom_element&&"function"==typeof s.custom_element.fireEvent&&(r=s.custom_element.fireEvent(t,o)),t.includes("_")){if("function"==typeof s[t]){var f=s[t].apply(e,[o]);void 0!==f&&(r=f)}if("function"==typeof s[t=wS(t)]){var d=s[t].apply(e,[o]);void 0!==d&&(r=d)}}else{if("function"==typeof s[t]){var p=s[t].apply(e,[o]);void 0!==p&&(r=p)}if("function"==typeof s[t=OS(t)]){var v=s[t].apply(e,[o]);void 0!==v&&(r=v)}}return r},wS=function(e){return e.split(/_/g).reduce((function(e,t,n){return e+(0===n?t:t.replace(/(\w)(\w*)/g,(function(e,t,n){return t.toUpperCase()+n.toLowerCase()})))}),"")},OS=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"_".concat(e)})).toLowerCase()};!function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ld(this,e),gs(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(ES(o))return;for(var i,a=0,l=n.length;a<l;++a)if(i=o,n[a])do{if(i===n[a])return;i=i&&i.parentNode}while(i);"function"==typeof r&&r()}catch(e){}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){r.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof n&&n({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===ny(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=ny(e);o.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}Md(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}])}();var ES=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&kS(e)},kS=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},SS=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id-",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+xS++).slice(-t)},xS=0,jS=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{var r=function(e){if(n&&n(e))return e;return e&&e===t};if(r(e))return e;for(;(e=e&&e.parentElement)&&!r(e););}catch(e){}return e},PS=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;Array.isArray(t)||(t=[t]);var r=function t(r){if(e.isValidElement(r))if("string"==typeof r.props.children)r=r.props.children.trim();else{if(!Array.isArray(r.props.children))return null;r=r.props.children.reduce((function(e,r){return"string"!=typeof r&&(r=t(r)),"string"==typeof r&&(e=(e+(n||"")+r).trim()),e}),"")}return r};return t.map((function(e){return r(e)})).filter(Boolean).join(n).trim()};function TS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return RS("aria-labelledby",t)}function CS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return RS("aria-describedby",t)}function RS(e,t){return""===(t=(t=t.map((function(n){return n&&t.includes(n[e])?null:(n&&void 0!==n[e]&&(n=n[e]),"string"!=typeof n&&(n=null),n)}))).filter(Boolean).join(" "))&&(t=void 0),t}function NS(t,n){Array.isArray(t)||(t=[t]);var r=null;return t.some((function(t){if(t&&t.props&&t.props.children){var o=NS(t.props.children,n);if(o)return r=o}return e.isValidElement(t)&&n(t)?r=t:null})),r}function AS(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 LS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AS(Object(n),!0).forEach((function(t){gs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?gS(cd,e.locales):cd;e.__context__&&(a(e,e.__context__),delete e.__context__);var n=MS(e.locale||"nb-NO",t),r=t[n]||cd["nb-NO"]||{};t[n]&&(t[n]=HS(t[n],r));var o=LS(LS({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==n)return o.locales[t]}return o.translation},locales:t,locale:null,breakpoints:null,skeleton:null},e),{},{translation:r});return o}function MS(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var IS=e.createContext(DS({locale:"nb-NO",currency:"NOK",currency_display:"code"}));function HS(e,t){for(var n in e)if(String(n).includes(".")){var r=n.split(".");t[r[0]]&&function(){var t=e[n],o=r.length-1;r.forEach((function(n,r){e[n]=r===o?t:e[n],e=e[n]||{}}))}()}return e}var FS={exports:{}},zS={},BS="function"==typeof Symbol&&Symbol.for,WS=BS?Symbol.for("react.element"):60103,US=BS?Symbol.for("react.portal"):60106,VS=BS?Symbol.for("react.fragment"):60107,$S=BS?Symbol.for("react.strict_mode"):60108,GS=BS?Symbol.for("react.profiler"):60114,qS=BS?Symbol.for("react.provider"):60109,KS=BS?Symbol.for("react.context"):60110,YS=BS?Symbol.for("react.async_mode"):60111,ZS=BS?Symbol.for("react.concurrent_mode"):60111,XS=BS?Symbol.for("react.forward_ref"):60112,JS=BS?Symbol.for("react.suspense"):60113,QS=BS?Symbol.for("react.suspense_list"):60120,ex=BS?Symbol.for("react.memo"):60115,tx=BS?Symbol.for("react.lazy"):60116,nx=BS?Symbol.for("react.block"):60121,rx=BS?Symbol.for("react.fundamental"):60117,ox=BS?Symbol.for("react.responder"):60118,ix=BS?Symbol.for("react.scope"):60119;function ax(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case WS:switch(e=e.type){case YS:case ZS:case VS:case GS:case $S:case JS:return e;default:switch(e=e&&e.$$typeof){case KS:case XS:case tx:case ex:case qS:return e;default:return t}}case US:return t}}}function lx(e){return ax(e)===ZS}zS.AsyncMode=YS,zS.ConcurrentMode=ZS,zS.ContextConsumer=KS,zS.ContextProvider=qS,zS.Element=WS,zS.ForwardRef=XS,zS.Fragment=VS,zS.Lazy=tx,zS.Memo=ex,zS.Portal=US,zS.Profiler=GS,zS.StrictMode=$S,zS.Suspense=JS,zS.isAsyncMode=function(e){return lx(e)||ax(e)===YS},zS.isConcurrentMode=lx,zS.isContextConsumer=function(e){return ax(e)===KS},zS.isContextProvider=function(e){return ax(e)===qS},zS.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===WS},zS.isForwardRef=function(e){return ax(e)===XS},zS.isFragment=function(e){return ax(e)===VS},zS.isLazy=function(e){return ax(e)===tx},zS.isMemo=function(e){return ax(e)===ex},zS.isPortal=function(e){return ax(e)===US},zS.isProfiler=function(e){return ax(e)===GS},zS.isStrictMode=function(e){return ax(e)===$S},zS.isSuspense=function(e){return ax(e)===JS},zS.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===VS||e===ZS||e===GS||e===$S||e===JS||e===QS||"object"==typeof e&&null!==e&&(e.$$typeof===tx||e.$$typeof===ex||e.$$typeof===qS||e.$$typeof===KS||e.$$typeof===XS||e.$$typeof===rx||e.$$typeof===ox||e.$$typeof===ix||e.$$typeof===nx)},zS.typeOf=ax;
|
|
11
11
|
/*
|
|
12
12
|
object-assign
|
|
13
13
|
(c) Sindre Sorhus
|