Lt||Bt>Rt)break t;Kt=A[Bt],xt=P[Bt]}for(Kt=A[Lt],xt=P[Rt];Kt.key===xt.key;){if(xt.flags&16384&&(P[Rt]=xt=st(xt)),ee(Kt,xt,L,F,W,dt,Mt,wt),A[Lt]=xt,Lt--,Rt--,Bt>Lt||Bt>Rt)break t;Kt=A[Lt],xt=P[Rt]}}if(Bt>Lt){if(Bt<=Rt)for(Zt=Rt+1,Ut=ZtRt)for(;Bt<=Lt;)te(A[Bt++],L,wt);else Sn(A,P,F,q,tt,Lt,Rt,Bt,L,W,dt,Tt,Mt,wt)}function Sn(A,P,L,F,W,q,tt,dt,Tt,Mt,wt,Lt,Rt,Bt){var Kt,xt,Zt=0,Ut=0,pe=dt,ie=dt,nn=q-dt+1,ve=tt-dt+1,rn=new Int32Array(ve+1),ge=nn===F,Rn=!1,_t=0,on=0;if(W<4||(nn|ve)<32)for(Ut=pe;Ut<=q;++Ut)if(Kt=A[Ut],ondt?Rn=!0:_t=dt,xt.flags&16384&&(P[dt]=xt=st(xt)),ee(Kt,xt,Tt,L,Mt,wt,Rt,Bt),++on;break}!ge&&dt>tt&&te(Kt,Tt,Bt)}else ge||te(Kt,Tt,Bt);else{var Dn={};for(Ut=ie;Ut<=tt;++Ut)Dn[P[Ut].key]=Ut;for(Ut=pe;Ut<=q;++Ut)if(Kt=A[Ut],on pe;)te(A[pe++],Tt,Bt);rn[dt-ie]=Ut+1,_t>dt?Rn=!0:_t=dt,xt=P[dt],xt.flags&16384&&(P[dt]=xt=st(xt)),ee(Kt,xt,Tt,L,Mt,wt,Rt,Bt),++on}else ge||te(Kt,Tt,Bt);else ge||te(Kt,Tt,Bt)}if(ge)Ce(Tt,Lt,A,Bt),ue(P,Tt,L,Mt,wt,Rt,Bt);else if(Rn){var Fn=qe(rn);for(dt=Fn.length-1,Ut=ve-1;Ut>=0;Ut--)rn[Ut]===0?(_t=Ut+ie,xt=P[_t],xt.flags&16384&&(P[_t]=xt=st(xt)),Zt=_t+1,Xt(xt,Tt,L,Mt,Zt 0&&M(Bt.componentWillMove)}else if(on!==ve)for(Ut=ve-1;Ut>=0;Ut--)rn[Ut]===0&&(_t=Ut+ie,xt=P[_t],xt.flags&16384&&(P[_t]=xt=st(xt)),Zt=_t+1,Xt(xt,Tt,L,Mt,Zt we&&(we=Tt,oe=new Int32Array(Tt),$e=new Int32Array(Tt));L>1,A[oe[dt]] 0&&($e[L]=oe[q-1]),oe[q]=L)}q=W+1;var Mt=new Int32Array(q);for(tt=oe[q-1];q-- >0;)Mt[q]=tt,tt=$e[tt],oe[q]=0;return Mt}var Mn=typeof document!="undefined";Mn&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function ne(A,P,L,F){var W=[],q=new f,tt=P.$V;G.v=!0,r(tt)?r(A)||(A.flags&16384&&(A=st(A)),Xt(A,P,F,!1,null,W,q),P.$V=A,tt=A):r(A)?(te(tt,P,q),P.$V=null):(A.flags&16384&&(A=st(A)),ee(tt,A,P,F,!1,null,W,q),tt=P.$V=A),y(W),N(q.componentDidAppear),G.v=!1,a(L)&&L(),a(D.renderComplete)&&D.renderComplete(tt,P)}function Ge(A,P,L,F){L===void 0&&(L=null),F===void 0&&(F=l),ne(A,P,L,F)}function En(A){return function(){function P(L,F,W,q){A||(A=L),Ge(F,A,W,q)}return P}()}var Re=[],wn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(A){window.setTimeout(A,0)},he=!1;function ae(A,P,L,F){var W=A.$PS;if(a(P)&&(P=P(W?d(A.state,W):A.state,A.props,A.context)),r(W))A.$PS=P;else for(var q in P)W[q]=P[q];if(A.$BR)a(L)&&A.$L.push(L.bind(A));else{if(!G.v&&Re.length===0){en(A,F),a(L)&&L.call(A);return}if(Re.indexOf(A)===-1&&Re.push(A),F&&(A.$F=!0),he||(he=!0,wn(tn)),a(L)){var tt=A.$QU;tt||(tt=A.$QU=[]),tt.push(L)}}}function Cn(A){for(var P=A.$QU,L=0;L
=0;--K){var H=this.tryEntries[K],rt=H.completion;if(H.tryLoc==="root")return Y("end");if(H.tryLoc<=this.prev){var lt=r.call(H,"catchLoc"),ct=r.call(H,"finallyLoc");if(lt&&ct){if(this.prev =0;--Y){var K=this.tryEntries[Y];if(K.tryLoc<=this.prev&&r.call(K,"finallyLoc")&&this.prev =0;--U){var Y=this.tryEntries[U];if(Y.finallyLoc===V)return this.complete(Y.completion,Y.afterLoc),x(Y),m}}return D}(),catch:function(){function D(V){for(var U=this.tryEntries.length-1;U>=0;--U){var Y=this.tryEntries[U];if(Y.tryLoc===V){var K=Y.completion;if(K.type==="throw"){var H=K.arg;x(Y)}return H}}throw new Error("illegal catch attempt")}return D}(),delegateYield:function(){function D(V,U,Y){return this.delegate={iterator:$(V),resultName:U,nextLoc:Y},this.method==="next"&&(this.arg=a),m}return D}()},t}(E.exports);try{regeneratorRuntime=n}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},30236:function(){"use strict";self.fetch||(self.fetch=function(E,n){return n=n||{},new Promise(function(t,e){var r=new XMLHttpRequest,o=[],a={},s=function(){function c(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){function p(){return Promise.resolve(r.responseText)}return p}(),json:function(){function p(){return Promise.resolve(r.responseText).then(JSON.parse)}return p}(),blob:function(){function p(){return Promise.resolve(new Blob([r.response]))}return p}(),clone:c,headers:{keys:function(){function p(){return o}return p}(),entries:function(){function p(){return o.map(function(d){return[d,r.getResponseHeader(d)]})}return p}(),get:function(){function p(d){return r.getResponseHeader(d)}return p}(),has:function(){function p(d){return r.getResponseHeader(d)!=null}return p}()}}}return c}();for(var u in r.open(n.method||"get",E,!0),r.onload=function(){r.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(c,p){a[p]||o.push(a[p]=p)}),t(s())},r.onerror=e,r.withCredentials=n.credentials=="include",n.headers)r.setRequestHeader(u,n.headers[u]);r.send(n.body||null)})})},88510:function(E,n){"use strict";n.__esModule=!0,n.zipWith=n.zip=n.uniqBy=n.uniq=n.toKeyedArray=n.toArray=n.sortBy=n.sort=n.reduce=n.range=n.map=n.filterMap=n.filter=void 0;function t(C,I){var O=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(O)return(O=O.call(C)).next.bind(O);if(Array.isArray(C)||(O=e(C))||I&&C&&typeof C.length=="number"){O&&(C=O);var T=0;return function(){return T>=C.length?{done:!0}:{done:!1,value:C[T++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(C,I){if(C){if(typeof C=="string")return r(C,I);var O={}.toString.call(C).slice(8,-1);return O==="Object"&&C.constructor&&(O=C.constructor.name),O==="Map"||O==="Set"?Array.from(C):O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O)?r(C,I):void 0}}function r(C,I){(I==null||I>C.length)&&(I=C.length);for(var O=0,T=Array(I);O0&&(0,r.round)(i.width)/c.offsetWidth||1,l=c.offsetHeight>0&&(0,r.round)(i.height)/c.offsetHeight||1);var g=(0,e.isElement)(c)?(0,o.default)(c):window,f=g.visualViewport,h=!(0,a.default)()&&d,m=(i.left+(h&&f?f.offsetLeft:0))/v,C=(i.top+(h&&f?f.offsetTop:0))/l,I=i.width/v,O=i.height/l;return{width:I,height:O,top:C,right:m+I,bottom:C+O,left:m,x:m,y:C}}},49035:function(E,n,t){"use strict";n.__esModule=!0,n.default=O;var e=t(46206),r=h(t(87991)),o=h(t(79752)),a=h(t(98309)),s=h(t(44896)),u=h(t(40600)),c=h(t(16599)),p=t(75573),d=h(t(37786)),i=h(t(57819)),v=h(t(4206)),l=h(t(12972)),g=h(t(81666)),f=t(63618);function h(T){return T&&T.__esModule?T:{default:T}}function m(T,y){var S=(0,d.default)(T,!1,y==="fixed");return S.top=S.top+T.clientTop,S.left=S.left+T.clientLeft,S.bottom=S.top+T.clientHeight,S.right=S.left+T.clientWidth,S.width=T.clientWidth,S.height=T.clientHeight,S.x=S.left,S.y=S.top,S}function C(T,y,S){return y===e.viewport?(0,g.default)((0,r.default)(T,S)):(0,p.isElement)(y)?m(y,S):(0,g.default)((0,o.default)((0,u.default)(T)))}function I(T){var y=(0,a.default)((0,i.default)(T)),S=["absolute","fixed"].indexOf((0,c.default)(T).position)>=0,b=S&&(0,p.isHTMLElement)(T)?(0,s.default)(T):T;return(0,p.isElement)(b)?y.filter(function(A){return(0,p.isElement)(A)&&(0,v.default)(A,b)&&(0,l.default)(A)!=="body"}):[]}function O(T,y,S,b){var A=y==="clippingParents"?I(T):[].concat(y),N=[].concat(A,[S]),M=N[0],R=N.reduce(function(D,V){var j=C(T,V,b);return D.top=(0,f.max)(j.top,D.top),D.right=(0,f.min)(j.right,D.right),D.bottom=(0,f.min)(j.bottom,D.bottom),D.left=(0,f.max)(j.left,D.left),D},C(T,M,b));return R.width=R.right-R.left,R.height=R.bottom-R.top,R.x=R.left,R.y=R.top,R}},74758:function(E,n,t){"use strict";n.__esModule=!0,n.default=v;var e=d(t(37786)),r=d(t(13390)),o=d(t(12972)),a=t(75573),s=d(t(79697)),u=d(t(40600)),c=d(t(10798)),p=t(63618);function d(l){return l&&l.__esModule?l:{default:l}}function i(l){var g=l.getBoundingClientRect(),f=(0,p.round)(g.width)/l.offsetWidth||1,h=(0,p.round)(g.height)/l.offsetHeight||1;return f!==1||h!==1}function v(l,g,f){f===void 0&&(f=!1);var h=(0,a.isHTMLElement)(g),m=(0,a.isHTMLElement)(g)&&i(g),C=(0,u.default)(g),I=(0,e.default)(l,m,f),O={scrollLeft:0,scrollTop:0},T={x:0,y:0};return(h||!h&&!f)&&(((0,o.default)(g)!=="body"||(0,c.default)(C))&&(O=(0,r.default)(g)),(0,a.isHTMLElement)(g)?(T=(0,e.default)(g,!0),T.x+=g.clientLeft,T.y+=g.clientTop):C&&(T.x=(0,s.default)(C))),{x:I.left+O.scrollLeft-T.x,y:I.top+O.scrollTop-T.y,width:I.width,height:I.height}}},16599:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(95115));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return(0,e.default)(a).getComputedStyle(a)}},40600:function(E,n,t){"use strict";n.__esModule=!0,n.default=r;var e=t(75573);function r(o){return(((0,e.isElement)(o)?o.ownerDocument:o.document)||window.document).documentElement}},79752:function(E,n,t){"use strict";n.__esModule=!0,n.default=c;var e=u(t(40600)),r=u(t(16599)),o=u(t(79697)),a=u(t(43750)),s=t(63618);function u(p){return p&&p.__esModule?p:{default:p}}function c(p){var d,i=(0,e.default)(p),v=(0,a.default)(p),l=(d=p.ownerDocument)==null?void 0:d.body,g=(0,s.max)(i.scrollWidth,i.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),f=(0,s.max)(i.scrollHeight,i.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),h=-v.scrollLeft+(0,o.default)(p),m=-v.scrollTop;return(0,r.default)(l||i).direction==="rtl"&&(h+=(0,s.max)(i.clientWidth,l?l.clientWidth:0)-g),{width:g,height:f,x:h,y:m}}},3073:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(37786));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var s=(0,e.default)(a),u=a.offsetWidth,c=a.offsetHeight;return Math.abs(s.width-u)<=1&&(u=s.width),Math.abs(s.height-c)<=1&&(c=s.height),{x:a.offsetLeft,y:a.offsetTop,width:u,height:c}}},12972:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(43750)),r=s(t(95115)),o=t(75573),a=s(t(3073));function s(c){return c&&c.__esModule?c:{default:c}}function u(c){return c===(0,r.default)(c)||!(0,o.isHTMLElement)(c)?(0,e.default)(c):(0,a.default)(c)}},44896:function(E,n,t){"use strict";n.__esModule=!0,n.default=v;var e=p(t(95115)),r=p(t(12972)),o=p(t(16599)),a=t(75573),s=p(t(87031)),u=p(t(57819)),c=p(t(35366));function p(l){return l&&l.__esModule?l:{default:l}}function d(l){return!(0,a.isHTMLElement)(l)||(0,o.default)(l).position==="fixed"?null:l.offsetParent}function i(l){var g=/firefox/i.test((0,c.default)()),f=/Trident/i.test((0,c.default)());if(f&&(0,a.isHTMLElement)(l)){var h=(0,o.default)(l);if(h.position==="fixed")return null}var m=(0,u.default)(l);for((0,a.isShadowRoot)(m)&&(m=m.host);(0,a.isHTMLElement)(m)&&["html","body"].indexOf((0,r.default)(m))<0;){var C=(0,o.default)(m);if(C.transform!=="none"||C.perspective!=="none"||C.contain==="paint"||["transform","perspective"].indexOf(C.willChange)!==-1||g&&C.willChange==="filter"||g&&C.filter&&C.filter!=="none")return m;m=m.parentNode}return null}function v(l){for(var g=(0,e.default)(l),f=d(l);f&&(0,s.default)(f)&&(0,o.default)(f).position==="static";)f=d(f);return f&&((0,r.default)(f)==="html"||(0,r.default)(f)==="body"&&(0,o.default)(f).position==="static")?g:f||i(l)||g}},57819:function(E,n,t){"use strict";n.__esModule=!0,n.default=s;var e=a(t(12972)),r=a(t(40600)),o=t(75573);function a(u){return u&&u.__esModule?u:{default:u}}function s(u){return(0,e.default)(u)==="html"?u:u.assignedSlot||u.parentNode||((0,o.isShadowRoot)(u)?u.host:null)||(0,r.default)(u)}},24426:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(57819)),r=s(t(10798)),o=s(t(12972)),a=t(75573);function s(c){return c&&c.__esModule?c:{default:c}}function u(c){return["html","body","#document"].indexOf((0,o.default)(c))>=0?c.ownerDocument.body:(0,a.isHTMLElement)(c)&&(0,r.default)(c)?c:u((0,e.default)(c))}},87991:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(95115)),r=s(t(40600)),o=s(t(79697)),a=s(t(89331));function s(c){return c&&c.__esModule?c:{default:c}}function u(c,p){var d=(0,e.default)(c),i=(0,r.default)(c),v=d.visualViewport,l=i.clientWidth,g=i.clientHeight,f=0,h=0;if(v){l=v.width,g=v.height;var m=(0,a.default)();(m||!m&&p==="fixed")&&(f=v.offsetLeft,h=v.offsetTop)}return{width:l,height:g,x:f+(0,o.default)(c),y:h}}},95115:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var r=e.ownerDocument;return r&&r.defaultView||window}return e}},43750:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(95115));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var s=(0,e.default)(a),u=s.pageXOffset,c=s.pageYOffset;return{scrollLeft:u,scrollTop:c}}},79697:function(E,n,t){"use strict";n.__esModule=!0,n.default=s;var e=a(t(37786)),r=a(t(40600)),o=a(t(43750));function a(u){return u&&u.__esModule?u:{default:u}}function s(u){return(0,e.default)((0,r.default)(u)).left+(0,o.default)(u).scrollLeft}},75573:function(E,n,t){"use strict";n.__esModule=!0,n.isElement=o,n.isHTMLElement=a,n.isShadowRoot=s;var e=r(t(95115));function r(u){return u&&u.__esModule?u:{default:u}}function o(u){var c=(0,e.default)(u).Element;return u instanceof c||u instanceof Element}function a(u){var c=(0,e.default)(u).HTMLElement;return u instanceof c||u instanceof HTMLElement}function s(u){if(typeof ShadowRoot=="undefined")return!1;var c=(0,e.default)(u).ShadowRoot;return u instanceof c||u instanceof ShadowRoot}},89331:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(35366));function r(a){return a&&a.__esModule?a:{default:a}}function o(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(16599));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){var s=(0,e.default)(a),u=s.overflow,c=s.overflowX,p=s.overflowY;return/auto|scroll|overlay|hidden/.test(u+p+c)}},87031:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(12972));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return["table","td","th"].indexOf((0,e.default)(a))>=0}},98309:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(24426)),r=s(t(57819)),o=s(t(95115)),a=s(t(10798));function s(c){return c&&c.__esModule?c:{default:c}}function u(c,p){var d;p===void 0&&(p=[]);var i=(0,e.default)(c),v=i===((d=c.ownerDocument)==null?void 0:d.body),l=(0,o.default)(i),g=v?[l].concat(l.visualViewport||[],(0,a.default)(i)?i:[]):i,f=p.concat(g);return v?f:f.concat(u((0,r.default)(g)))}},46206:function(E,n){"use strict";n.__esModule=!0,n.write=n.viewport=n.variationPlacements=n.top=n.start=n.right=n.reference=n.read=n.popper=n.placements=n.modifierPhases=n.main=n.left=n.end=n.clippingParents=n.bottom=n.beforeWrite=n.beforeRead=n.beforeMain=n.basePlacements=n.auto=n.afterWrite=n.afterRead=n.afterMain=void 0;var t=n.top="top",e=n.bottom="bottom",r=n.right="right",o=n.left="left",a=n.auto="auto",s=n.basePlacements=[t,e,r,o],u=n.start="start",c=n.end="end",p=n.clippingParents="clippingParents",d=n.viewport="viewport",i=n.popper="popper",v=n.reference="reference",l=n.variationPlacements=s.reduce(function(A,N){return A.concat([N+"-"+u,N+"-"+c])},[]),g=n.placements=[].concat(s,[a]).reduce(function(A,N){return A.concat([N,N+"-"+u,N+"-"+c])},[]),f=n.beforeRead="beforeRead",h=n.read="read",m=n.afterRead="afterRead",C=n.beforeMain="beforeMain",I=n.main="main",O=n.afterMain="afterMain",T=n.beforeWrite="beforeWrite",y=n.write="write",S=n.afterWrite="afterWrite",b=n.modifierPhases=[f,h,m,C,I,O,T,y,S]},95996:function(E,n,t){"use strict";n.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};n.popperGenerator=n.detectOverflow=n.createPopperLite=n.createPopperBase=n.createPopper=void 0;var r=t(46206);Object.keys(r).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(e,c)||c in n&&n[c]===r[c]||(n[c]=r[c])});var o=t(39805);Object.keys(o).forEach(function(c){c==="default"||c==="__esModule"||Object.prototype.hasOwnProperty.call(e,c)||c in n&&n[c]===o[c]||(n[c]=o[c])});var a=t(96376);n.popperGenerator=a.popperGenerator,n.detectOverflow=a.detectOverflow,n.createPopperBase=a.createPopper;var s=t(83312);n.createPopper=s.createPopper;var u=t(2473);n.createPopperLite=u.createPopper},19975:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=o(t(12972)),r=t(75573);function o(c){return c&&c.__esModule?c:{default:c}}function a(c){var p=c.state;Object.keys(p.elements).forEach(function(d){var i=p.styles[d]||{},v=p.attributes[d]||{},l=p.elements[d];!(0,r.isHTMLElement)(l)||!(0,e.default)(l)||(Object.assign(l.style,i),Object.keys(v).forEach(function(g){var f=v[g];f===!1?l.removeAttribute(g):l.setAttribute(g,f===!0?"":f)}))})}function s(c){var p=c.state,d={popper:{position:p.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(p.elements.popper.style,d.popper),p.styles=d,p.elements.arrow&&Object.assign(p.elements.arrow.style,d.arrow),function(){Object.keys(p.elements).forEach(function(i){var v=p.elements[i],l=p.attributes[i]||{},g=Object.keys(p.styles.hasOwnProperty(i)?p.styles[i]:d[i]),f=g.reduce(function(h,m){return h[m]="",h},{});!(0,r.isHTMLElement)(v)||!(0,e.default)(v)||(Object.assign(v.style,f),Object.keys(l).forEach(function(h){v.removeAttribute(h)}))})}}var u=n.default={name:"applyStyles",enabled:!0,phase:"write",fn:a,effect:s,requires:["computeStyles"]}},52744:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=i(t(83104)),r=i(t(28811)),o=i(t(4206)),a=i(t(44896)),s=i(t(41199)),u=t(28595),c=i(t(43286)),p=i(t(81447)),d=t(46206);function i(h){return h&&h.__esModule?h:{default:h}}var v=function(){function h(m,C){return m=typeof m=="function"?m(Object.assign({},C.rects,{placement:C.placement})):m,(0,c.default)(typeof m!="number"?m:(0,p.default)(m,d.basePlacements))}return h}();function l(h){var m,C=h.state,I=h.name,O=h.options,T=C.elements.arrow,y=C.modifiersData.popperOffsets,S=(0,e.default)(C.placement),b=(0,s.default)(S),A=[d.left,d.right].indexOf(S)>=0,N=A?"height":"width";if(!(!T||!y)){var M=v(O.padding,C),R=(0,r.default)(T),D=b==="y"?d.top:d.left,V=b==="y"?d.bottom:d.right,j=C.rects.reference[N]+C.rects.reference[b]-y[b]-C.rects.popper[N],Y=y[b]-C.rects.reference[b],$=(0,a.default)(T),x=$?b==="y"?$.clientHeight||0:$.clientWidth||0:0,F=j/2-Y/2,U=M[D],K=x-R[N]-M[V],H=x/2-R[N]/2+F,W=(0,u.within)(U,H,K),et=b;C.modifiersData[I]=(m={},m[et]=W,m.centerOffset=W-H,m)}}function g(h){var m=h.state,C=h.options,I=C.element,O=I===void 0?"[data-popper-arrow]":I;O!=null&&(typeof O=="string"&&(O=m.elements.popper.querySelector(O),!O)||(0,o.default)(m.elements.popper,O)&&(m.elements.arrow=O))}var f=n.default={name:"arrow",enabled:!0,phase:"main",fn:l,effect:g,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0,n.mapToStyles=l;var e=t(46206),r=d(t(44896)),o=d(t(95115)),a=d(t(40600)),s=d(t(16599)),u=d(t(83104)),c=d(t(45)),p=t(63618);function d(h){return h&&h.__esModule?h:{default:h}}var i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function v(h,m){var C=h.x,I=h.y,O=m.devicePixelRatio||1;return{x:(0,p.round)(C*O)/O||0,y:(0,p.round)(I*O)/O||0}}function l(h){var m,C=h.popper,I=h.popperRect,O=h.placement,T=h.variation,y=h.offsets,S=h.position,b=h.gpuAcceleration,A=h.adaptive,N=h.roundOffsets,M=h.isFixed,R=y.x,D=R===void 0?0:R,V=y.y,j=V===void 0?0:V,Y=typeof N=="function"?N({x:D,y:j}):{x:D,y:j};D=Y.x,j=Y.y;var $=y.hasOwnProperty("x"),x=y.hasOwnProperty("y"),F=e.left,U=e.top,K=window;if(A){var H=(0,r.default)(C),W="clientHeight",et="clientWidth";if(H===(0,o.default)(C)&&(H=(0,a.default)(C),(0,s.default)(H).position!=="static"&&S==="absolute"&&(W="scrollHeight",et="scrollWidth")),H=H,O===e.top||(O===e.left||O===e.right)&&T===e.end){U=e.bottom;var lt=M&&H===K&&K.visualViewport?K.visualViewport.height:H[W];j-=lt-I.height,j*=b?1:-1}if(O===e.left||(O===e.top||O===e.bottom)&&T===e.end){F=e.right;var ut=M&&H===K&&K.visualViewport?K.visualViewport.width:H[et];D-=ut-I.width,D*=b?1:-1}}var Z=Object.assign({position:S},A&&i),_=N===!0?v({x:D,y:j},(0,o.default)(C)):{x:D,y:j};if(D=_.x,j=_.y,b){var at;return Object.assign({},Z,(at={},at[U]=x?"0":"",at[F]=$?"0":"",at.transform=(K.devicePixelRatio||1)<=1?"translate("+D+"px, "+j+"px)":"translate3d("+D+"px, "+j+"px, 0)",at))}return Object.assign({},Z,(m={},m[U]=x?j+"px":"",m[F]=$?D+"px":"",m.transform="",m))}function g(h){var m=h.state,C=h.options,I=C.gpuAcceleration,O=I===void 0?!0:I,T=C.adaptive,y=T===void 0?!0:T,S=C.roundOffsets,b=S===void 0?!0:S,A={placement:(0,u.default)(m.placement),variation:(0,c.default)(m.placement),popper:m.elements.popper,popperRect:m.rects.popper,gpuAcceleration:O,isFixed:m.options.strategy==="fixed"};m.modifiersData.popperOffsets!=null&&(m.styles.popper=Object.assign({},m.styles.popper,l(Object.assign({},A,{offsets:m.modifiersData.popperOffsets,position:m.options.strategy,adaptive:y,roundOffsets:b})))),m.modifiersData.arrow!=null&&(m.styles.arrow=Object.assign({},m.styles.arrow,l(Object.assign({},A,{offsets:m.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),m.attributes.popper=Object.assign({},m.attributes.popper,{"data-popper-placement":m.placement})}var f=n.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:g,data:{}}},36692:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=r(t(95115));function r(u){return u&&u.__esModule?u:{default:u}}var o={passive:!0};function a(u){var c=u.state,p=u.instance,d=u.options,i=d.scroll,v=i===void 0?!0:i,l=d.resize,g=l===void 0?!0:l,f=(0,e.default)(c.elements.popper),h=[].concat(c.scrollParents.reference,c.scrollParents.popper);return v&&h.forEach(function(m){m.addEventListener("scroll",p.update,o)}),g&&f.addEventListener("resize",p.update,o),function(){v&&h.forEach(function(m){m.removeEventListener("scroll",p.update,o)}),g&&f.removeEventListener("resize",p.update,o)}}var s=n.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function u(){}return u}(),effect:a,data:{}}},23798:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=p(t(71376)),r=p(t(83104)),o=p(t(86459)),a=p(t(17633)),s=p(t(9041)),u=t(46206),c=p(t(45));function p(l){return l&&l.__esModule?l:{default:l}}function d(l){if((0,r.default)(l)===u.auto)return[];var g=(0,e.default)(l);return[(0,o.default)(l),g,(0,o.default)(g)]}function i(l){var g=l.state,f=l.options,h=l.name;if(!g.modifiersData[h]._skip){for(var m=f.mainAxis,C=m===void 0?!0:m,I=f.altAxis,O=I===void 0?!0:I,T=f.fallbackPlacements,y=f.padding,S=f.boundary,b=f.rootBoundary,A=f.altBoundary,N=f.flipVariations,M=N===void 0?!0:N,R=f.allowedAutoPlacements,D=g.options.placement,V=(0,r.default)(D),j=V===D,Y=T||(j||!M?[(0,e.default)(D)]:d(D)),$=[D].concat(Y).reduce(function(nt,k){return nt.concat((0,r.default)(k)===u.auto?(0,s.default)(g,{placement:k,boundary:S,rootBoundary:b,padding:y,flipVariations:M,allowedAutoPlacements:R}):k)},[]),x=g.rects.reference,F=g.rects.popper,U=new Map,K=!0,H=$[0],W=0;W<$.length;W++){var et=$[W],lt=(0,r.default)(et),ut=(0,c.default)(et)===u.start,Z=[u.top,u.bottom].indexOf(lt)>=0,_=Z?"width":"height",at=(0,a.default)(g,{placement:et,boundary:S,rootBoundary:b,altBoundary:A,padding:y}),vt=Z?ut?u.right:u.left:ut?u.bottom:u.top;x[_]>F[_]&&(vt=(0,e.default)(vt));var ft=(0,e.default)(vt),J=[];if(C&&J.push(at[lt]<=0),O&&J.push(at[vt]<=0,at[ft]<=0),J.every(function(nt){return nt})){H=et,K=!1;break}U.set(et,J)}if(K)for(var ot=M?3:1,st=function(){function nt(k){var q=$.find(function(tt){var pt=U.get(tt);if(pt)return pt.slice(0,k).every(function(Et){return Et})});if(q)return H=q,"break"}return nt}(),mt=ot;mt>0;mt--){var rt=st(mt);if(rt==="break")break}g.placement!==H&&(g.modifiersData[h]._skip=!0,g.placement=H,g.reset=!0)}}var v=n.default={name:"flip",enabled:!0,phase:"main",fn:i,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=t(46206),r=o(t(17633));function o(p){return p&&p.__esModule?p:{default:p}}function a(p,d,i){return i===void 0&&(i={x:0,y:0}),{top:p.top-d.height-i.y,right:p.right-d.width+i.x,bottom:p.bottom-d.height+i.y,left:p.left-d.width-i.x}}function s(p){return[e.top,e.right,e.bottom,e.left].some(function(d){return p[d]>=0})}function u(p){var d=p.state,i=p.name,v=d.rects.reference,l=d.rects.popper,g=d.modifiersData.preventOverflow,f=(0,r.default)(d,{elementContext:"reference"}),h=(0,r.default)(d,{altBoundary:!0}),m=a(f,v),C=a(h,l,g),I=s(m),O=s(C);d.modifiersData[i]={referenceClippingOffsets:m,popperEscapeOffsets:C,isReferenceHidden:I,hasPopperEscaped:O},d.attributes.popper=Object.assign({},d.attributes.popper,{"data-popper-reference-hidden":I,"data-popper-escaped":O})}var c=n.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:u}},39805:function(E,n,t){"use strict";n.__esModule=!0,n.preventOverflow=n.popperOffsets=n.offset=n.hide=n.flip=n.eventListeners=n.computeStyles=n.arrow=n.applyStyles=void 0;var e=i(t(19975));n.applyStyles=e.default;var r=i(t(52744));n.arrow=r.default;var o=i(t(59894));n.computeStyles=o.default;var a=i(t(36692));n.eventListeners=a.default;var s=i(t(23798));n.flip=s.default;var u=i(t(83761));n.hide=u.default;var c=i(t(61410));n.offset=c.default;var p=i(t(40107));n.popperOffsets=p.default;var d=i(t(75137));n.preventOverflow=d.default;function i(v){return v&&v.__esModule?v:{default:v}}},61410:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0,n.distanceAndSkiddingToXY=a;var e=o(t(83104)),r=t(46206);function o(c){return c&&c.__esModule?c:{default:c}}function a(c,p,d){var i=(0,e.default)(c),v=[r.left,r.top].indexOf(i)>=0?-1:1,l=typeof d=="function"?d(Object.assign({},p,{placement:c})):d,g=l[0],f=l[1];return g=g||0,f=(f||0)*v,[r.left,r.right].indexOf(i)>=0?{x:f,y:g}:{x:g,y:f}}function s(c){var p=c.state,d=c.options,i=c.name,v=d.offset,l=v===void 0?[0,0]:v,g=r.placements.reduce(function(C,I){return C[I]=a(I,p.rects,l),C},{}),f=g[p.placement],h=f.x,m=f.y;p.modifiersData.popperOffsets!=null&&(p.modifiersData.popperOffsets.x+=h,p.modifiersData.popperOffsets.y+=m),p.modifiersData[i]=g}var u=n.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:s}},40107:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=r(t(89951));function r(s){return s&&s.__esModule?s:{default:s}}function o(s){var u=s.state,c=s.name;u.modifiersData[c]=(0,e.default)({reference:u.rects.reference,element:u.rects.popper,strategy:"absolute",placement:u.placement})}var a=n.default={name:"popperOffsets",enabled:!0,phase:"read",fn:o,data:{}}},75137:function(E,n,t){"use strict";n.__esModule=!0,n.default=void 0;var e=t(46206),r=l(t(83104)),o=l(t(41199)),a=l(t(28066)),s=t(28595),u=l(t(28811)),c=l(t(44896)),p=l(t(17633)),d=l(t(45)),i=l(t(34780)),v=t(63618);function l(h){return h&&h.__esModule?h:{default:h}}function g(h){var m=h.state,C=h.options,I=h.name,O=C.mainAxis,T=O===void 0?!0:O,y=C.altAxis,S=y===void 0?!1:y,b=C.boundary,A=C.rootBoundary,N=C.altBoundary,M=C.padding,R=C.tether,D=R===void 0?!0:R,V=C.tetherOffset,j=V===void 0?0:V,Y=(0,p.default)(m,{boundary:b,rootBoundary:A,padding:M,altBoundary:N}),$=(0,r.default)(m.placement),x=(0,d.default)(m.placement),F=!x,U=(0,o.default)($),K=(0,a.default)(U),H=m.modifiersData.popperOffsets,W=m.rects.reference,et=m.rects.popper,lt=typeof j=="function"?j(Object.assign({},m.rects,{placement:m.placement})):j,ut=typeof lt=="number"?{mainAxis:lt,altAxis:lt}:Object.assign({mainAxis:0,altAxis:0},lt),Z=m.modifiersData.offset?m.modifiersData.offset[m.placement]:null,_={x:0,y:0};if(H){if(T){var at,vt=U==="y"?e.top:e.left,ft=U==="y"?e.bottom:e.right,J=U==="y"?"height":"width",ot=H[U],st=ot+Y[vt],mt=ot-Y[ft],rt=D?-et[J]/2:0,nt=x===e.start?W[J]:et[J],k=x===e.start?-et[J]:-W[J],q=m.elements.arrow,tt=D&&q?(0,u.default)(q):{width:0,height:0},pt=m.modifiersData["arrow#persistent"]?m.modifiersData["arrow#persistent"].padding:(0,i.default)(),Et=pt[vt],it=pt[ft],yt=(0,s.within)(0,W[J],tt[J]),Pt=F?W[J]/2-rt-yt-Et-ut.mainAxis:nt-yt-Et-ut.mainAxis,bt=F?-W[J]/2+rt+yt+it+ut.mainAxis:k+yt+it+ut.mainAxis,ct=m.elements.arrow&&(0,c.default)(m.elements.arrow),gt=ct?U==="y"?ct.clientTop||0:ct.clientLeft||0:0,It=(at=Z==null?void 0:Z[U])!=null?at:0,Lt=ot+Pt-It-gt,Vt=ot+bt-It,Ot=(0,s.within)(D?(0,v.min)(st,Lt):st,ot,D?(0,v.max)(mt,Vt):mt);H[U]=Ot,_[U]=Ot-ot}if(S){var dt,St=U==="x"?e.top:e.left,At=U==="x"?e.bottom:e.right,Tt=H[K],Nt=K==="y"?"height":"width",Ft=Tt+Y[St],jt=Tt-Y[At],$t=[e.top,e.left].indexOf($)!==-1,Ht=(dt=Z==null?void 0:Z[K])!=null?dt:0,Yt=$t?Ft:Tt-W[Nt]-et[Nt]-Ht+ut.altAxis,Wt=$t?Tt+W[Nt]+et[Nt]-Ht-ut.altAxis:jt,te=D&&$t?(0,s.withinMaxClamp)(Yt,Tt,Wt):(0,s.within)(D?Yt:Ft,Tt,D?Wt:jt);H[K]=te,_[K]=te-Tt}m.modifiersData[I]=_}}var f=n.default={name:"preventOverflow",enabled:!0,phase:"main",fn:g,requiresIfExists:["offset"]}},2473:function(E,n,t){"use strict";n.__esModule=!0,n.defaultModifiers=n.createPopper=void 0;var e=t(96376);n.popperGenerator=e.popperGenerator,n.detectOverflow=e.detectOverflow;var r=u(t(36692)),o=u(t(40107)),a=u(t(59894)),s=u(t(19975));function u(d){return d&&d.__esModule?d:{default:d}}var c=n.defaultModifiers=[r.default,o.default,a.default,s.default],p=n.createPopper=(0,e.popperGenerator)({defaultModifiers:c})},83312:function(E,n,t){"use strict";n.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};n.defaultModifiers=n.createPopperLite=n.createPopper=void 0;var r=t(96376);n.popperGenerator=r.popperGenerator,n.detectOverflow=r.detectOverflow;var o=f(t(36692)),a=f(t(40107)),s=f(t(59894)),u=f(t(19975)),c=f(t(61410)),p=f(t(23798)),d=f(t(75137)),i=f(t(52744)),v=f(t(83761)),l=t(2473);n.createPopperLite=l.createPopper;var g=t(39805);Object.keys(g).forEach(function(C){C==="default"||C==="__esModule"||Object.prototype.hasOwnProperty.call(e,C)||C in n&&n[C]===g[C]||(n[C]=g[C])});function f(C){return C&&C.__esModule?C:{default:C}}var h=n.defaultModifiers=[o.default,a.default,s.default,u.default,c.default,p.default,d.default,i.default,v.default],m=n.createPopperLite=n.createPopper=(0,r.popperGenerator)({defaultModifiers:h})},9041:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(45)),r=t(46206),o=s(t(17633)),a=s(t(83104));function s(c){return c&&c.__esModule?c:{default:c}}function u(c,p){p===void 0&&(p={});var d=p,i=d.placement,v=d.boundary,l=d.rootBoundary,g=d.padding,f=d.flipVariations,h=d.allowedAutoPlacements,m=h===void 0?r.placements:h,C=(0,e.default)(i),I=C?f?r.variationPlacements:r.variationPlacements.filter(function(y){return(0,e.default)(y)===C}):r.basePlacements,O=I.filter(function(y){return m.indexOf(y)>=0});O.length===0&&(O=I);var T=O.reduce(function(y,S){return y[S]=(0,o.default)(c,{placement:S,boundary:v,rootBoundary:l,padding:g})[(0,a.default)(S)],y},{});return Object.keys(T).sort(function(y,S){return T[y]-T[S]})}},89951:function(E,n,t){"use strict";n.__esModule=!0,n.default=u;var e=s(t(83104)),r=s(t(45)),o=s(t(41199)),a=t(46206);function s(c){return c&&c.__esModule?c:{default:c}}function u(c){var p=c.reference,d=c.element,i=c.placement,v=i?(0,e.default)(i):null,l=i?(0,r.default)(i):null,g=p.x+p.width/2-d.width/2,f=p.y+p.height/2-d.height/2,h;switch(v){case a.top:h={x:g,y:p.y-d.height};break;case a.bottom:h={x:g,y:p.y+p.height};break;case a.right:h={x:p.x+p.width,y:f};break;case a.left:h={x:p.x-d.width,y:f};break;default:h={x:p.x,y:p.y}}var m=v?(0,o.default)(v):null;if(m!=null){var C=m==="y"?"height":"width";switch(l){case a.start:h[m]=h[m]-(p[C]/2-d[C]/2);break;case a.end:h[m]=h[m]+(p[C]/2-d[C]/2);break;default:}}return h}},10579:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){var r;return function(){return r||(r=new Promise(function(o){Promise.resolve().then(function(){r=void 0,o(e())})})),r}}},17633:function(E,n,t){"use strict";n.__esModule=!0,n.default=v;var e=i(t(49035)),r=i(t(40600)),o=i(t(37786)),a=i(t(89951)),s=i(t(81666)),u=t(46206),c=t(75573),p=i(t(43286)),d=i(t(81447));function i(l){return l&&l.__esModule?l:{default:l}}function v(l,g){g===void 0&&(g={});var f=g,h=f.placement,m=h===void 0?l.placement:h,C=f.strategy,I=C===void 0?l.strategy:C,O=f.boundary,T=O===void 0?u.clippingParents:O,y=f.rootBoundary,S=y===void 0?u.viewport:y,b=f.elementContext,A=b===void 0?u.popper:b,N=f.altBoundary,M=N===void 0?!1:N,R=f.padding,D=R===void 0?0:R,V=(0,p.default)(typeof D!="number"?D:(0,d.default)(D,u.basePlacements)),j=A===u.popper?u.reference:u.popper,Y=l.rects.popper,$=l.elements[M?j:A],x=(0,e.default)((0,c.isElement)($)?$:$.contextElement||(0,r.default)(l.elements.popper),T,S,I),F=(0,o.default)(l.elements.reference),U=(0,a.default)({reference:F,element:Y,strategy:"absolute",placement:m}),K=(0,s.default)(Object.assign({},Y,U)),H=A===u.popper?K:F,W={top:x.top-H.top+V.top,bottom:H.bottom-x.bottom+V.bottom,left:x.left-H.left+V.left,right:H.right-x.right+V.right},et=l.modifiersData.offset;if(A===u.popper&&et){var lt=et[m];Object.keys(W).forEach(function(ut){var Z=[u.right,u.bottom].indexOf(ut)>=0?1:-1,_=[u.top,u.bottom].indexOf(ut)>=0?"y":"x";W[ut]+=lt[_]*Z})}return W}},81447:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e,r){return r.reduce(function(o,a){return o[a]=e,o},{})}},28066:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return e==="x"?"y":"x"}},83104:function(E,n,t){"use strict";n.__esModule=!0,n.default=r;var e=t(46206);function r(o){return o.split("-")[0]}},34780:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(){return{top:0,right:0,bottom:0,left:0}}},41199:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(E,n){"use strict";n.__esModule=!0,n.default=e;var t={left:"right",right:"left",bottom:"top",top:"bottom"};function e(r){return r.replace(/left|right|bottom|top/g,function(o){return t[o]})}},86459:function(E,n){"use strict";n.__esModule=!0,n.default=e;var t={start:"end",end:"start"};function e(r){return r.replace(/start|end/g,function(o){return t[o]})}},45:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return e.split("-")[1]}},63618:function(E,n){"use strict";n.__esModule=!0,n.round=n.min=n.max=void 0;var t=n.max=Math.max,e=n.min=Math.min,r=n.round=Math.round},56500:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){var r=e.reduce(function(o,a){var s=o[a.name];return o[a.name]=s?Object.assign({},s,a,{options:Object.assign({},s.options,a.options),data:Object.assign({},s.data,a.data)}):a,o},{});return Object.keys(r).map(function(o){return r[o]})}},43286:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=r(t(34780));function r(a){return a&&a.__esModule?a:{default:a}}function o(a){return Object.assign({},(0,e.default)(),a)}},33118:function(E,n,t){"use strict";n.__esModule=!0,n.default=o;var e=t(46206);function r(a){var s=new Map,u=new Set,c=[];a.forEach(function(d){s.set(d.name,d)});function p(d){u.add(d.name);var i=[].concat(d.requires||[],d.requiresIfExists||[]);i.forEach(function(v){if(!u.has(v)){var l=s.get(v);l&&p(l)}}),c.push(d)}return a.forEach(function(d){u.has(d.name)||p(d)}),c}function o(a){var s=r(a);return e.modifierPhases.reduce(function(u,c){return u.concat(s.filter(function(p){return p.phase===c}))},[])}},81666:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(E,n){"use strict";n.__esModule=!0,n.default=t;function t(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}},28595:function(E,n,t){"use strict";n.__esModule=!0,n.within=r,n.withinMaxClamp=o;var e=t(63618);function r(a,s,u){return(0,e.max)(a,(0,e.min)(s,u))}function o(a,s,u){var c=r(a,s,u);return c>u?u:c}},22734:function(E){"use strict";/*! @license DOMPurify 2.5.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.4/LICENSE */(function(n,t){E.exports=t()})(void 0,function(){"use strict";function n(ct){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(gt){return typeof gt}:function(gt){return gt&&typeof Symbol=="function"&>.constructor===Symbol&>!==Symbol.prototype?"symbol":typeof gt},n(ct)}function t(ct,gt){return t=Object.setPrototypeOf||function(){function It(Lt,Vt){return Lt.__proto__=Vt,Lt}return It}(),t(ct,gt)}function e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(ct){return!1}}function r(ct,gt,It){return e()?r=Reflect.construct:r=function(){function Lt(Vt,Ot,dt){var St=[null];St.push.apply(St,Ot);var At=Function.bind.apply(Vt,St),Tt=new At;return dt&&t(Tt,dt.prototype),Tt}return Lt}(),r.apply(null,arguments)}function o(ct){return a(ct)||s(ct)||u(ct)||p()}function a(ct){if(Array.isArray(ct))return c(ct)}function s(ct){if(typeof Symbol!="undefined"&&ct[Symbol.iterator]!=null||ct["@@iterator"]!=null)return Array.from(ct)}function u(ct,gt){if(ct){if(typeof ct=="string")return c(ct,gt);var It=Object.prototype.toString.call(ct).slice(8,-1);if(It==="Object"&&ct.constructor&&(It=ct.constructor.name),It==="Map"||It==="Set")return Array.from(ct);if(It==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(It))return c(ct,gt)}}function c(ct,gt){(gt==null||gt>ct.length)&&(gt=ct.length);for(var It=0,Lt=new Array(gt);It 1?It-1:0),Vt=1;Vt /gm),mt=h(/\${[\w\W]*}/gm),rt=h(/^data-[\-\w.\u00B7-\uFFFF]/),nt=h(/^aria-[\-\w]+$/),k=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=h(/^(?:\w+script|data):/i),tt=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pt=h(/^html$/i),Et=h(/^[a-z][.\w]*(-[.\w]+)+$/i),it=function(){function ct(){return typeof window=="undefined"?null:window}return ct}(),yt=function(){function ct(gt,It){if(n(gt)!=="object"||typeof gt.createPolicy!="function")return null;var Lt=null,Vt="data-tt-policy-suffix";It.currentScript&&It.currentScript.hasAttribute(Vt)&&(Lt=It.currentScript.getAttribute(Vt));var Ot="dompurify"+(Lt?"#"+Lt:"");try{return gt.createPolicy(Ot,{createHTML:function(){function dt(St){return St}return dt}(),createScriptURL:function(){function dt(St){return St}return dt}()})}catch(dt){return null}}return ct}();function Pt(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:it(),gt=function(){function B(w){return Pt(w)}return B}();if(gt.version="2.5.4",gt.removed=[],!ct||!ct.document||ct.document.nodeType!==9)return gt.isSupported=!1,gt;var It=ct.document,Lt=ct.document,Vt=ct.DocumentFragment,Ot=ct.HTMLTemplateElement,dt=ct.Node,St=ct.Element,At=ct.NodeFilter,Tt=ct.NamedNodeMap,Nt=Tt===void 0?ct.NamedNodeMap||ct.MozNamedAttrMap:Tt,Ft=ct.HTMLFormElement,jt=ct.DOMParser,$t=ct.trustedTypes,Ht=St.prototype,Yt=K(Ht,"cloneNode"),Wt=K(Ht,"nextSibling"),te=K(Ht,"childNodes"),Ce=K(Ht,"parentNode");if(typeof Ot=="function"){var Me=Lt.createElement("template");Me.content&&Me.content.ownerDocument&&(Lt=Me.content.ownerDocument)}var _t=yt($t,It),we=_t?_t.createHTML(""):"",ve=Lt,se=ve.implementation,sn=ve.createNodeIterator,cn=ve.createDocumentFragment,On=ve.getElementsByTagName,ln=It.importNode,fn={};try{fn=U(Lt).documentMode?Lt.documentMode:{}}catch(B){}var ne={};gt.isSupported=typeof Ce=="function"&&se&&se.createHTMLDocument!==void 0&&fn!==9;var He=ot,Re=st,Le=mt,An=rt,dn=nt,Pn=q,vn=tt,Be=Et,he=k,Gt=null,re=F({},[].concat(o(H),o(W),o(et),o(ut),o(_))),Xt=null,hn=F({},[].concat(o(at),o(vt),o(ft),o(J))),zt=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ce=null,De=null,pn=!0,We=!0,gn=!1,mn=!0,le=!1,Fe=!0,fe=!1,xe=!1,Oe=!1,kt=!1,Ve=!1,je=!1,ze=!0,ke=!1,pe="user-content-",Xe=!0,Ae=!1,be={},ge=null,Qe=F({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),yn=null,Ze=F({},["audio","video","img","source","image","track"]),Je=null,oe=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xhtml",Te=ue,_e=!1,qe=null,tn=F({},[Ue,$e,ue],A),me,Sn=["application/xhtml+xml","text/html"],Nn="text/html",Qt,Ie=null,En=255,Mn=Lt.createElement("form"),Cn=function(){function B(w){return w instanceof RegExp||w instanceof Function}return B}(),ee=function(){function B(w){Ie&&Ie===w||((!w||n(w)!=="object")&&(w={}),w=U(w),me=Sn.indexOf(w.PARSER_MEDIA_TYPE)===-1?me=Nn:me=w.PARSER_MEDIA_TYPE,Qt=me==="application/xhtml+xml"?A:b,Gt="ALLOWED_TAGS"in w?F({},w.ALLOWED_TAGS,Qt):re,Xt="ALLOWED_ATTR"in w?F({},w.ALLOWED_ATTR,Qt):hn,qe="ALLOWED_NAMESPACES"in w?F({},w.ALLOWED_NAMESPACES,A):tn,Je="ADD_URI_SAFE_ATTR"in w?F(U(oe),w.ADD_URI_SAFE_ATTR,Qt):oe,yn="ADD_DATA_URI_TAGS"in w?F(U(Ze),w.ADD_DATA_URI_TAGS,Qt):Ze,ge="FORBID_CONTENTS"in w?F({},w.FORBID_CONTENTS,Qt):Qe,ce="FORBID_TAGS"in w?F({},w.FORBID_TAGS,Qt):{},De="FORBID_ATTR"in w?F({},w.FORBID_ATTR,Qt):{},be="USE_PROFILES"in w?w.USE_PROFILES:!1,pn=w.ALLOW_ARIA_ATTR!==!1,We=w.ALLOW_DATA_ATTR!==!1,gn=w.ALLOW_UNKNOWN_PROTOCOLS||!1,mn=w.ALLOW_SELF_CLOSE_IN_ATTR!==!1,le=w.SAFE_FOR_TEMPLATES||!1,Fe=w.SAFE_FOR_XML!==!1,fe=w.WHOLE_DOCUMENT||!1,kt=w.RETURN_DOM||!1,Ve=w.RETURN_DOM_FRAGMENT||!1,je=w.RETURN_TRUSTED_TYPE||!1,Oe=w.FORCE_BODY||!1,ze=w.SANITIZE_DOM!==!1,ke=w.SANITIZE_NAMED_PROPS||!1,Xe=w.KEEP_CONTENT!==!1,Ae=w.IN_PLACE||!1,he=w.ALLOWED_URI_REGEXP||he,Te=w.NAMESPACE||ue,zt=w.CUSTOM_ELEMENT_HANDLING||{},w.CUSTOM_ELEMENT_HANDLING&&Cn(w.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(zt.tagNameCheck=w.CUSTOM_ELEMENT_HANDLING.tagNameCheck),w.CUSTOM_ELEMENT_HANDLING&&Cn(w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(zt.attributeNameCheck=w.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),w.CUSTOM_ELEMENT_HANDLING&&typeof w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(zt.allowCustomizedBuiltInElements=w.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),le&&(We=!1),Ve&&(kt=!0),be&&(Gt=F({},o(_)),Xt=[],be.html===!0&&(F(Gt,H),F(Xt,at)),be.svg===!0&&(F(Gt,W),F(Xt,vt),F(Xt,J)),be.svgFilters===!0&&(F(Gt,et),F(Xt,vt),F(Xt,J)),be.mathMl===!0&&(F(Gt,ut),F(Xt,ft),F(Xt,J))),w.ADD_TAGS&&(Gt===re&&(Gt=U(Gt)),F(Gt,w.ADD_TAGS,Qt)),w.ADD_ATTR&&(Xt===hn&&(Xt=U(Xt)),F(Xt,w.ADD_ATTR,Qt)),w.ADD_URI_SAFE_ATTR&&F(Je,w.ADD_URI_SAFE_ATTR,Qt),w.FORBID_CONTENTS&&(ge===Qe&&(ge=U(ge)),F(ge,w.FORBID_CONTENTS,Qt)),Xe&&(Gt["#text"]=!0),fe&&F(Gt,["html","head","body"]),Gt.table&&(F(Gt,["tbody"]),delete ce.tbody),f&&f(w),Ie=w)}return B}(),Pe=F({},["mi","mo","mn","ms","mtext"]),en=F({},["foreignobject","annotation-xml"]),wn=F({},["title","style","font","a","script"]),Ge=F({},W);F(Ge,et),F(Ge,lt);var Ye=F({},ut);F(Ye,Z);var bn=function(){function B(w){var G=Ce(w);(!G||!G.tagName)&&(G={namespaceURI:Te,tagName:"template"});var z=b(w.tagName),X=b(G.tagName);return qe[w.namespaceURI]?w.namespaceURI===$e?G.namespaceURI===ue?z==="svg":G.namespaceURI===Ue?z==="svg"&&(X==="annotation-xml"||Pe[X]):!!Ge[z]:w.namespaceURI===Ue?G.namespaceURI===ue?z==="math":G.namespaceURI===$e?z==="math"&&en[X]:!!Ye[z]:w.namespaceURI===ue?G.namespaceURI===$e&&!en[X]||G.namespaceURI===Ue&&!Pe[X]?!1:!Ye[z]&&(wn[z]||!Ge[z]):!!(me==="application/xhtml+xml"&&qe[w.namespaceURI]):!1}return B}(),Zt=function(){function B(w){S(gt.removed,{element:w});try{w.parentNode.removeChild(w)}catch(G){try{w.outerHTML=we}catch(z){w.remove()}}}return B}(),ye=function(){function B(w,G){try{S(gt.removed,{attribute:G.getAttributeNode(w),from:G})}catch(z){S(gt.removed,{attribute:null,from:G})}if(G.removeAttribute(w),w==="is"&&!Xt[w])if(kt||Ve)try{Zt(G)}catch(z){}else try{G.setAttribute(w,"")}catch(z){}}return B}(),Tn=function(){function B(w){var G,z;if(Oe)w=" "+w;else{var X=N(w,/^[\r\n\t ]+/);z=X&&X[0]}me==="application/xhtml+xml"&&Te===ue&&(w=''+w+"");var ht=_t?_t.createHTML(w):w;if(Te===ue)try{G=new jt().parseFromString(ht,me)}catch(wt){}if(!G||!G.documentElement){G=se.createDocument(Te,"template",null);try{G.documentElement.innerHTML=_e?we:ht}catch(wt){}}var Ct=G.body||G.documentElement;return w&&z&&Ct.insertBefore(Lt.createTextNode(z),Ct.childNodes[0]||null),Te===ue?On.call(G,fe?"html":"body")[0]:fe?G.documentElement:Ct}return B}(),Ke=function(){function B(w){return sn.call(w.ownerDocument||w,w,At.SHOW_ELEMENT|At.SHOW_COMMENT|At.SHOW_TEXT|At.SHOW_PROCESSING_INSTRUCTION|At.SHOW_CDATA_SECTION,null,!1)}return B}(),nn=function(){function B(w){return w instanceof Ft&&(typeof w.__depth!="undefined"&&typeof w.__depth!="number"||typeof w.__removalCount!="undefined"&&typeof w.__removalCount!="number"||typeof w.nodeName!="string"||typeof w.textContent!="string"||typeof w.removeChild!="function"||!(w.attributes instanceof Nt)||typeof w.removeAttribute!="function"||typeof w.setAttribute!="function"||typeof w.namespaceURI!="string"||typeof w.insertBefore!="function"||typeof w.hasChildNodes!="function")}return B}(),Ne=function(){function B(w){return n(dt)==="object"?w instanceof dt:w&&n(w)==="object"&&typeof w.nodeType=="number"&&typeof w.nodeName=="string"}return B}(),ae=function(){function B(w,G,z){ne[w]&&T(ne[w],function(X){X.call(gt,G,z,Ie)})}return B}(),rn=function(){function B(w){var G;if(ae("beforeSanitizeElements",w,null),nn(w)||V(/[\u0080-\uFFFF]/,w.nodeName))return Zt(w),!0;var z=Qt(w.nodeName);if(ae("uponSanitizeElement",w,{tagName:z,allowedTags:Gt}),w.hasChildNodes()&&!Ne(w.firstElementChild)&&(!Ne(w.content)||!Ne(w.content.firstElementChild))&&V(/<[/\w]/g,w.innerHTML)&&V(/<[/\w]/g,w.textContent)||z==="select"&&V(/=0;--wt){var Mt=Yt(ht[wt],!0);Mt.__removalCount=(w.__removalCount||0)+1,X.insertBefore(Mt,Wt(w))}}return Zt(w),!0}return w instanceof St&&!bn(w)||(z==="noscript"||z==="noembed"||z==="noframes")&&V(/<\/no(script|embed|frames)/i,w.innerHTML)?(Zt(w),!0):(le&&w.nodeType===3&&(G=w.textContent,G=M(G,He," "),G=M(G,Re," "),G=M(G,Le," "),w.textContent!==G&&(S(gt.removed,{element:w.cloneNode()}),w.textContent=G)),ae("afterSanitizeElements",w,null),!1)}return B}(),In=function(){function B(w,G,z){if(ze&&(G==="id"||G==="name")&&(z in Lt||z in Mn||z==="__depth"||z==="__removalCount"))return!1;if(!(We&&!De[G]&&V(An,G))){if(!(pn&&V(dn,G))){if(!Xt[G]||De[G]){if(!(Rn(w)&&(zt.tagNameCheck instanceof RegExp&&V(zt.tagNameCheck,w)||zt.tagNameCheck instanceof Function&&zt.tagNameCheck(w))&&(zt.attributeNameCheck instanceof RegExp&&V(zt.attributeNameCheck,G)||zt.attributeNameCheck instanceof Function&&zt.attributeNameCheck(G))||G==="is"&&zt.allowCustomizedBuiltInElements&&(zt.tagNameCheck instanceof RegExp&&V(zt.tagNameCheck,z)||zt.tagNameCheck instanceof Function&&zt.tagNameCheck(z))))return!1}else if(!Je[G]){if(!V(he,M(z,vn,""))){if(!((G==="src"||G==="xlink:href"||G==="href")&&w!=="script"&&R(z,"data:")===0&&yn[w])){if(!(gn&&!V(Pn,M(z,vn,"")))){if(z)return!1}}}}}}return!0}return B}(),Rn=function(){function B(w){return w!=="annotation-xml"&&N(w,Be)}return B}(),P=function(){function B(w){var G,z,X,ht;ae("beforeSanitizeAttributes",w,null);var Ct=w.attributes;if(Ct){var wt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Xt};for(ht=Ct.length;ht--;){G=Ct[ht];var Mt=G,Bt=Mt.name,Rt=Mt.namespaceURI;if(z=Bt==="value"?G.value:D(G.value),X=Qt(Bt),wt.attrName=X,wt.attrValue=z,wt.keepAttr=!0,wt.forceKeepAttr=void 0,ae("uponSanitizeAttribute",w,wt),z=wt.attrValue,!wt.forceKeepAttr&&(ye(Bt,w),!!wt.keepAttr)){if(!mn&&V(/\/>/i,z)){ye(Bt,w);continue}if(Fe&&V(/((--!?|])>)|<\/(style|title)/i,z)){ye(Bt,w);continue}le&&(z=M(z,He," "),z=M(z,Re," "),z=M(z,Le," "));var Dt=Qt(w.nodeName);if(In(Dt,X,z)){if(ke&&(X==="id"||X==="name")&&(ye(Bt,w),z=pe+z),_t&&n($t)==="object"&&typeof $t.getAttributeType=="function"&&!Rt)switch($t.getAttributeType(Dt,X)){case"TrustedHTML":{z=_t.createHTML(z);break}case"TrustedScriptURL":{z=_t.createScriptURL(z);break}}try{Rt?w.setAttributeNS(Rt,Bt,z):w.setAttribute(Bt,z),nn(w)?Zt(w):y(gt.removed)}catch(Kt){}}}}ae("afterSanitizeAttributes",w,null)}}return B}(),L=function(){function B(w){var G,z=Ke(w);for(ae("beforeSanitizeShadowDOM",w,null);G=z.nextNode();)if(ae("uponSanitizeShadowNode",G,null),!rn(G)){var X=Ce(G);G.nodeType===1&&(X&&X.__depth?G.__depth=(G.__removalCount||0)+X.__depth+1:G.__depth=1),(G.__depth>=En||Y(G.__depth))&&Zt(G),G.content instanceof Vt&&(G.content.__depth=G.__depth,B(G.content)),P(G)}ae("afterSanitizeShadowDOM",w,null)}return B}();return gt.sanitize=function(B){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G,z,X,ht,Ct;if(_e=!B,_e&&(B=""),typeof B!="string"&&!Ne(B))if(typeof B.toString=="function"){if(B=B.toString(),typeof B!="string")throw j("dirty is not a string, aborting")}else throw j("toString is not a function");if(!gt.isSupported){if(n(ct.toStaticHTML)==="object"||typeof ct.toStaticHTML=="function"){if(typeof B=="string")return ct.toStaticHTML(B);if(Ne(B))return ct.toStaticHTML(B.outerHTML)}return B}if(xe||ee(w),gt.removed=[],typeof B=="string"&&(Ae=!1),Ae){if(B.nodeName){var wt=Qt(B.nodeName);if(!Gt[wt]||ce[wt])throw j("root node is forbidden and cannot be sanitized in-place")}}else if(B instanceof dt)G=Tn(""),z=G.ownerDocument.importNode(B,!0),z.nodeType===1&&z.nodeName==="BODY"||z.nodeName==="HTML"?G=z:G.appendChild(z);else{if(!kt&&!le&&!fe&&B.indexOf("<")===-1)return _t&&je?_t.createHTML(B):B;if(G=Tn(B),!G)return kt?null:je?we:""}G&&Oe&&Zt(G.firstChild);for(var Mt=Ke(Ae?B:G);X=Mt.nextNode();)if(!(X.nodeType===3&&X===ht)&&!rn(X)){var Bt=Ce(X);X.nodeType===1&&(Bt&&Bt.__depth?X.__depth=(X.__removalCount||0)+Bt.__depth+1:X.__depth=1),(X.__depth>=En||Y(X.__depth))&&Zt(X),X.content instanceof Vt&&(X.content.__depth=X.__depth,L(X.content)),P(X),ht=X}if(ht=null,Ae)return B;if(kt){if(Ve)for(Ct=cn.call(G.ownerDocument);G.firstChild;)Ct.appendChild(G.firstChild);else Ct=G;return(Xt.shadowroot||Xt.shadowrootmod)&&(Ct=ln.call(It,Ct,!0)),Ct}var Rt=fe?G.outerHTML:G.innerHTML;return fe&&Gt["!doctype"]&&G.ownerDocument&&G.ownerDocument.doctype&&G.ownerDocument.doctype.name&&V(pt,G.ownerDocument.doctype.name)&&(Rt="\n"+Rt),le&&(Rt=M(Rt,He," "),Rt=M(Rt,Re," "),Rt=M(Rt,Le," ")),_t&&je?_t.createHTML(Rt):Rt},gt.setConfig=function(B){ee(B),xe=!0},gt.clearConfig=function(){Ie=null,xe=!1},gt.isValidAttribute=function(B,w,G){Ie||ee({});var z=Qt(B),X=Qt(w);return In(z,X,G)},gt.addHook=function(B,w){typeof w=="function"&&(ne[B]=ne[B]||[],S(ne[B],w))},gt.removeHook=function(B){if(ne[B])return y(ne[B])},gt.removeHooks=function(B){ne[B]&&(ne[B]=[])},gt.removeAllHooks=function(){ne={}},gt}var bt=Pt();return bt})},15875:function(E,n){"use strict";n.__esModule=!0,n.VNodeFlags=n.ChildFlags=void 0;var t;(function(r){r[r.Unknown=0]="Unknown",r[r.HtmlElement=1]="HtmlElement",r[r.ComponentUnknown=2]="ComponentUnknown",r[r.ComponentClass=4]="ComponentClass",r[r.ComponentFunction=8]="ComponentFunction",r[r.Text=16]="Text",r[r.SvgElement=32]="SvgElement",r[r.InputElement=64]="InputElement",r[r.TextareaElement=128]="TextareaElement",r[r.SelectElement=256]="SelectElement",r[r.Portal=1024]="Portal",r[r.ReCreate=2048]="ReCreate",r[r.ContentEditable=4096]="ContentEditable",r[r.Fragment=8192]="Fragment",r[r.InUse=16384]="InUse",r[r.ForwardRef=32768]="ForwardRef",r[r.Normalized=65536]="Normalized",r[r.ForwardRefComponent=32776]="ForwardRefComponent",r[r.FormElement=448]="FormElement",r[r.Element=481]="Element",r[r.Component=14]="Component",r[r.DOMRef=1521]="DOMRef",r[r.InUseOrNormalized=81920]="InUseOrNormalized",r[r.ClearInUse=-16385]="ClearInUse",r[r.ComponentKnown=12]="ComponentKnown"})(t||(n.VNodeFlags=t={}));var e;(function(r){r[r.UnknownChildren=0]="UnknownChildren",r[r.HasInvalidChildren=1]="HasInvalidChildren",r[r.HasVNodeChildren=2]="HasVNodeChildren",r[r.HasNonKeyedChildren=4]="HasNonKeyedChildren",r[r.HasKeyedChildren=8]="HasKeyedChildren",r[r.HasTextChildren=16]="HasTextChildren",r[r.MultipleChildren=12]="MultipleChildren"})(e||(n.ChildFlags=e={}))},89292:function(E,n){"use strict";n.__esModule=!0,n.Fragment=n.EMPTY_OBJ=n.Component=n.AnimationQueues=void 0,n._CI=xe,n._HI=tt,n._M=kt,n._MCCC=Qe,n._ME=ke,n._MFCC=Ze,n._MP=Fe,n._MR=he,n._RFC=Oe,n.__render=Ye,n.createComponentVNode=at,n.createFragment=ft,n.createPortal=rt,n.createRef=Pn,n.createRenderer=Zt,n.createTextVNode=vt,n.createVNode=lt,n.directClone=st,n.findDOMFromVNode=b,n.forwardRef=vn,n.getFlagsForElementVnode=k,n.linkEvent=i,n.normalizeProps=J,n.options=void 0,n.render=bn,n.rerender=ae,n.version=void 0;var t=Array.isArray;function e(P){var L=typeof P;return L==="string"||L==="number"}function r(P){return P==null}function o(P){return P===null||P===!1||P===!0||P===void 0}function a(P){return typeof P=="function"}function s(P){return typeof P=="string"}function u(P){return typeof P=="number"}function c(P){return P===null}function p(P){return P===void 0}function d(P,L){var B={};if(P)for(var w in P)B[w]=P[w];if(L)for(var G in L)B[G]=L[G];return B}function i(P,L){return a(L)?{data:P,event:L}:null}function v(P){return!c(P)&&typeof P=="object"}var l=n.EMPTY_OBJ={},g=n.Fragment="$F",f=n.AnimationQueues=function(){function P(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]}return P}();function h(P){return P.substring(2).toLowerCase()}function m(P,L){P.appendChild(L)}function C(P,L,B){c(B)?m(P,L):P.insertBefore(L,B)}function I(P,L){return L?document.createElementNS("http://www.w3.org/2000/svg",P):document.createElement(P)}function O(P,L,B){P.replaceChild(L,B)}function T(P,L){P.removeChild(L)}function y(P){for(var L=0;L 0?A(B.componentWillDisappear,R(P,L)):M(P,L,!1)}function V(P,L,B,w,G,z,X,ht){P.componentWillMove.push({dom:w,fn:function(){function Ct(){X&4?B.componentWillMove(L,G,w):X&8&&B.onComponentWillMove(L,G,w,ht)}return Ct}(),next:z,parent:G})}function j(P,L,B,w,G){var z,X,ht=L.flags;do{var Ct=L.flags;if(Ct&1521){!r(z)&&(a(z.componentWillMove)||a(z.onComponentWillMove))?V(G,P,z,L.dom,B,w,ht,X):C(B,L.dom,w);return}var wt=L.children;if(Ct&4)z=L.children,X=L.props,L=wt.$LI;else if(Ct&8)z=L.ref,X=L.props,L=wt;else if(Ct&8192)if(L.childFlags===2)L=wt;else{for(var Mt=0,Bt=wt.length;Mt 0,wt=c(ht),Mt=s(ht)&&ht[0]===W;Ct||wt||Mt?(B=B||L.slice(0,z),(Ct||Mt)&&(X=st(X)),(wt||Mt)&&(X.key=W+z),B.push(X)):B&&B.push(X),X.flags|=65536}}B=B||L,B.length===0?w=1:w=8}else B=L,B.flags|=65536,L.flags&81920&&(B=st(L)),w=2;return P.children=B,P.childFlags=w,P}function tt(P){return o(P)||e(P)?vt(P,null):t(P)?ft(P,0,null):P.flags&16384?st(P):P}var pt="http://www.w3.org/1999/xlink",Et="http://www.w3.org/XML/1998/namespace",it={"xlink:actuate":pt,"xlink:arcrole":pt,"xlink:href":pt,"xlink:role":pt,"xlink:show":pt,"xlink:title":pt,"xlink:type":pt,"xml:base":Et,"xml:lang":Et,"xml:space":Et};function yt(P){return{onClick:P,onDblClick:P,onFocusIn:P,onFocusOut:P,onKeyDown:P,onKeyPress:P,onKeyUp:P,onMouseDown:P,onMouseMove:P,onMouseUp:P,onTouchEnd:P,onTouchMove:P,onTouchStart:P}}var Pt=yt(0),bt=yt(null),ct=yt(!0);function gt(P,L){var B=L.$EV;return B||(B=L.$EV=yt(null)),B[P]||++Pt[P]===1&&(bt[P]=jt(P)),B}function It(P,L){var B=L.$EV;B&&B[P]&&(--Pt[P]===0&&(document.removeEventListener(h(P),bt[P]),bt[P]=null),B[P]=null)}function Lt(P,L,B,w){if(a(B))gt(P,w)[P]=B;else if(v(B)){if(U(L,B))return;gt(P,w)[P]=B}else It(P,w)}function Vt(P){return a(P.composedPath)?P.composedPath()[0]:P.target}function Ot(P,L,B,w){var G=Vt(P);do{if(L&&G.disabled)return;var z=G.$EV;if(z){var X=z[B];if(X&&(w.dom=G,X.event?X.event(X.data,P):X(P),P.cancelBubble))return}G=G.parentNode}while(!c(G))}function dt(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function St(){return this.defaultPrevented}function At(){return this.cancelBubble}function Tt(P){var L={dom:document};return P.isDefaultPrevented=St,P.isPropagationStopped=At,P.stopPropagation=dt,Object.defineProperty(P,"currentTarget",{configurable:!0,get:function(){function B(){return L.dom}return B}()}),L}function Nt(P){return function(L){if(L.button!==0){L.stopPropagation();return}Ot(L,!0,P,Tt(L))}}function Ft(P){return function(L){Ot(L,!1,P,Tt(L))}}function jt(P){var L=P==="onClick"||P==="onDblClick"?Nt(P):Ft(P);return document.addEventListener(h(P),L),L}function $t(P,L){var B=document.createElement("i");return B.innerHTML=L,B.innerHTML===P.innerHTML}function Ht(P,L,B){if(P[L]){var w=P[L];w.event?w.event(w.data,B):w(B)}else{var G=L.toLowerCase();P[G]&&P[G](B)}}function Yt(P,L){var B=function(){function w(G){var z=this.$V;if(z){var X=z.props||l,ht=z.dom;if(s(P))Ht(X,P,G);else for(var Ct=0;Ct -1&&L.options[z]&&(ht=L.options[z].value),B&&r(ht)&&(ht=P.defaultValue),se(w,ht)}}var fn=Yt("onInput",Re),ne=Yt("onChange");function He(P,L){Wt(P,"input",fn),L.onChange&&Wt(P,"change",ne)}function Re(P,L,B){var w=P.value,G=L.value;if(r(w)){if(B){var z=P.defaultValue;!r(z)&&z!==G&&(L.defaultValue=z,L.value=z)}}else G!==w&&(L.defaultValue=w,L.value=w)}function Le(P,L,B,w,G,z){P&64?ve(w,B):P&256?ln(w,B,G,L):P&128&&Re(w,B,G),z&&(B.$V=L)}function An(P,L,B){P&64?we(L,B):P&256?On(L):P&128&&He(L,B)}function dn(P){return P.type&&te(P.type)?!r(P.checked):!r(P.value)}function Pn(){return{current:null}}function vn(P){var L={render:P};return L}function Be(P){P&&!H(P,null)&&P.current&&(P.current=null)}function he(P,L,B){P&&(a(P)||P.current!==void 0)&&B.push(function(){!H(P,L)&&P.current!==void 0&&(P.current=L)})}function Gt(P,L,B){re(P,B),D(P,L,B)}function re(P,L){var B=P.flags,w=P.children,G;if(B&481){G=P.ref;var z=P.props;Be(G);var X=P.childFlags;if(!c(z))for(var ht=Object.keys(z),Ct=0,wt=ht.length;Ct 0?A(B.componentWillDisappear,hn(L,P)):P.textContent=""}function ce(P,L,B,w){Xt(B,w),L.flags&8192?D(L,P,w):zt(P,B,w)}function De(P,L,B,w,G){P.componentWillDisappear.push(function(z){w&4?L.componentWillDisappear(B,z):w&8&&L.onComponentWillDisappear(B,G,z)})}function pn(P){var L=P.event;return function(B){L(P.data,B)}}function We(P,L,B,w){if(v(B)){if(U(L,B))return;B=pn(B)}Wt(w,h(P),B)}function gn(P,L,B){if(r(L)){B.removeAttribute("style");return}var w=B.style,G,z;if(s(L)){w.cssText=L;return}if(!r(P)&&!s(P)){for(G in L)z=L[G],z!==P[G]&&w.setProperty(G,z);for(G in P)r(L[G])&&w.removeProperty(G)}else for(G in L)z=L[G],w.setProperty(G,z)}function mn(P,L,B,w,G){var z=P&&P.__html||"",X=L&&L.__html||"";z!==X&&!r(X)&&!$t(w,X)&&(c(B)||(B.childFlags&12?Xt(B.children,G):B.childFlags===2&&re(B.children,G),B.children=null,B.childFlags=1),w.innerHTML=X)}function le(P,L,B,w,G,z,X,ht){switch(P){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":w.autofocus=!!B;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":w[P]=!!B;break;case"defaultChecked":case"value":case"volume":if(z&&P==="value")break;var Ct=r(B)?"":B;w[P]!==Ct&&(w[P]=Ct);break;case"style":gn(L,B,w);break;case"dangerouslySetInnerHTML":mn(L,B,X,w,ht);break;default:ct[P]?Lt(P,L,B,w):P.charCodeAt(0)===111&&P.charCodeAt(1)===110?We(P,L,B,w):r(B)?w.removeAttribute(P):G&&it[P]?w.setAttributeNS(it[P],P,B):w.setAttribute(P,B);break}}function Fe(P,L,B,w,G,z){var X=!1,ht=(L&448)>0;ht&&(X=dn(B),X&&An(L,w,B));for(var Ct in B)le(Ct,null,B[Ct],w,G,X,null,z);ht&&Le(L,P,w,B,!0,X)}function fe(P,L,B){var w=tt(P.render(L,P.state,B)),G=B;return a(P.getChildContext)&&(G=d(B,P.getChildContext())),P.$CX=G,w}function xe(P,L,B,w,G,z){var X=new L(B,w),ht=X.$N=!!(L.getDerivedStateFromProps||X.getSnapshotBeforeUpdate);if(X.$SVG=G,X.$L=z,P.children=X,X.$BS=!1,X.context=w,X.props===l&&(X.props=B),ht)X.state=Y(X,B,X.state);else if(a(X.componentWillMount)){X.$BR=!0,X.componentWillMount();var Ct=X.$PS;if(!c(Ct)){var wt=X.state;if(c(wt))X.state=Ct;else for(var Mt in Ct)wt[Mt]=Ct[Mt];X.$PS=null}X.$BR=!1}return X.$LI=fe(X,B,w),X}function Oe(P,L){var B=P.props||l;return P.flags&32768?P.type.render(B,P.ref,L):P.type(B,L)}function kt(P,L,B,w,G,z,X){var ht=P.flags|=16384;ht&481?ke(P,L,B,w,G,z,X):ht&4?Xe(P,L,B,w,G,z,X):ht&8?Ae(P,L,B,w,G,z,X):ht&16?ze(P,L,G):ht&8192?je(P,B,L,w,G,z,X):ht&1024&&Ve(P,B,L,G,z,X)}function Ve(P,L,B,w,G,z){kt(P.children,P.ref,L,!1,null,G,z);var X=mt();ze(X,B,w),P.dom=X.dom}function je(P,L,B,w,G,z,X){var ht=P.children,Ct=P.childFlags;Ct&12&&ht.length===0&&(Ct=P.childFlags=2,ht=P.children=mt()),Ct===2?kt(ht,B,L,w,G,z,X):pe(ht,B,L,w,G,z,X)}function ze(P,L,B){var w=P.dom=document.createTextNode(P.children);c(L)||C(L,w,B)}function ke(P,L,B,w,G,z,X){var ht=P.flags,Ct=P.props,wt=P.className,Mt=P.childFlags,Bt=P.dom=I(P.type,w=w||(ht&32)>0),Rt=P.children;if(!r(wt)&&wt!==""&&(w?Bt.setAttribute("class",wt):Bt.className=wt),Mt===16)F(Bt,Rt);else if(Mt!==1){var Dt=w&&P.type!=="foreignObject";Mt===2?(Rt.flags&16384&&(P.children=Rt=st(Rt)),kt(Rt,Bt,B,Dt,null,z,X)):(Mt===8||Mt===4)&&pe(Rt,Bt,B,Dt,null,z,X)}c(L)||C(L,Bt,G),c(Ct)||Fe(P,ht,Ct,Bt,w,X),he(P.ref,Bt,z)}function pe(P,L,B,w,G,z,X){for(var ht=0;ht Dt)&&(Bt=b(ht[Dt-1],!1).nextSibling)}tn(wt,Mt,ht,Ct,B,w,G,Bt,P,z,X)}function Te(P,L,B,w,G){var z=P.ref,X=L.ref,ht=L.children;if(tn(P.childFlags,L.childFlags,P.children,ht,z,B,!1,null,P,w,G),L.dom=P.dom,z!==X&&!o(ht)){var Ct=ht.dom;T(z,Ct),m(X,Ct)}}function _e(P,L,B,w,G,z,X){var ht=L.dom=P.dom,Ct=P.props,wt=L.props,Mt=!1,Bt=!1,Rt;if(w=w||(G&32)>0,Ct!==wt){var Dt=Ct||l;if(Rt=wt||l,Rt!==l){Mt=(G&448)>0,Mt&&(Bt=dn(Rt));for(var Kt in Rt){var xt=Dt[Kt],Jt=Rt[Kt];xt!==Jt&&le(Kt,xt,Jt,ht,w,Bt,P,X)}}if(Dt!==l)for(var Ut in Dt)r(Rt[Ut])&&!r(Dt[Ut])&&le(Ut,Dt[Ut],null,ht,w,Bt,P,X)}var Se=L.children,ie=L.className;P.className!==ie&&(r(ie)?ht.removeAttribute("class"):w?ht.setAttribute("class",ie):ht.className=ie),G&4096?$e(ht,Se):tn(P.childFlags,L.childFlags,P.children,Se,ht,B,w&&L.type!=="foreignObject",null,P,z,X),Mt&&Le(G,L,ht,Rt,!1,Bt);var on=L.ref,de=P.ref;de!==on&&(Be(de),he(on,ht,z))}function qe(P,L,B,w,G,z,X){re(P,X),pe(L,B,w,G,b(P,!0),z,X),D(P,B,X)}function tn(P,L,B,w,G,z,X,ht,Ct,wt,Mt){switch(P){case 2:switch(L){case 2:oe(B,w,G,z,X,ht,wt,Mt);break;case 1:Gt(B,G,Mt);break;case 16:re(B,Mt),F(G,w);break;default:qe(B,w,G,z,X,wt,Mt);break}break;case 1:switch(L){case 2:kt(w,G,z,X,ht,wt,Mt);break;case 1:break;case 16:F(G,w);break;default:pe(w,G,z,X,ht,wt,Mt);break}break;case 16:switch(L){case 16:Ue(B,w,G);break;case 2:zt(G,B,Mt),kt(w,G,z,X,ht,wt,Mt);break;case 1:zt(G,B,Mt);break;default:zt(G,B,Mt),pe(w,G,z,X,ht,wt,Mt);break}break;default:switch(L){case 16:Xt(B,Mt),F(G,w);break;case 2:ce(G,Ct,B,Mt),kt(w,G,z,X,ht,wt,Mt);break;case 1:ce(G,Ct,B,Mt);break;default:var Bt=B.length|0,Rt=w.length|0;Bt===0?Rt>0&&pe(w,G,z,X,ht,wt,Mt):Rt===0?ce(G,Ct,B,Mt):L===8&&P===8?Mn(B,w,G,z,X,Bt,Rt,ht,Ct,wt,Mt):En(B,w,G,z,X,Bt,Rt,ht,wt,Mt);break}break}}function me(P,L,B,w,G){G.push(function(){P.componentDidUpdate(L,B,w)})}function Sn(P,L,B,w,G,z,X,ht,Ct,wt){var Mt=P.state,Bt=P.props,Rt=!!P.$N,Dt=a(P.shouldComponentUpdate);if(Rt&&(L=Y(P,B,L!==Mt?d(Mt,L):L)),X||!Dt||Dt&&P.shouldComponentUpdate(B,L,G)){!Rt&&a(P.componentWillUpdate)&&P.componentWillUpdate(B,L,G),P.props=B,P.state=L,P.context=G;var Kt=null,xt=fe(P,B,G);Rt&&a(P.getSnapshotBeforeUpdate)&&(Kt=P.getSnapshotBeforeUpdate(Bt,Mt)),oe(P.$LI,xt,w,P.$CX,z,ht,Ct,wt),P.$LI=xt,a(P.componentDidUpdate)&&me(P,Bt,Mt,Kt,Ct)}else P.props=B,P.state=L,P.context=G}function Nn(P,L,B,w,G,z,X,ht){var Ct=L.children=P.children;if(!c(Ct)){Ct.$L=X;var wt=L.props||l,Mt=L.ref,Bt=P.ref,Rt=Ct.state;if(!Ct.$N){if(a(Ct.componentWillReceiveProps)){if(Ct.$BR=!0,Ct.componentWillReceiveProps(wt,w),Ct.$UN)return;Ct.$BR=!1}c(Ct.$PS)||(Rt=d(Rt,Ct.$PS),Ct.$PS=null)}Sn(Ct,Rt,wt,B,w,G,!1,z,X,ht),Bt!==Mt&&(Be(Bt),he(Mt,Ct,X))}}function Qt(P,L,B,w,G,z,X,ht){var Ct=!0,wt=L.props||l,Mt=L.ref,Bt=P.props,Rt=!r(Mt),Dt=P.children;if(Rt&&a(Mt.onComponentShouldUpdate)&&(Ct=Mt.onComponentShouldUpdate(Bt,wt)),Ct!==!1){Rt&&a(Mt.onComponentWillUpdate)&&Mt.onComponentWillUpdate(Bt,wt);var Kt=tt(Oe(L,w));oe(Dt,Kt,B,w,G,z,X,ht),L.children=Kt,Rt&&a(Mt.onComponentDidUpdate)&&Mt.onComponentDidUpdate(Bt,wt)}else L.children=Dt}function Ie(P,L){var B=L.children,w=L.dom=P.dom;B!==P.children&&(w.nodeValue=B)}function En(P,L,B,w,G,z,X,ht,Ct,wt){for(var Mt=z>X?X:z,Bt=0,Rt,Dt;Bt X)for(Bt=Mt;Bt Bt||Dt>Rt)break t;Kt=P[Dt],xt=L[Dt]}for(Kt=P[Bt],xt=L[Rt];Kt.key===xt.key;){if(xt.flags&16384&&(L[Rt]=xt=st(xt)),oe(Kt,xt,B,w,G,ht,wt,Mt),P[Bt]=xt,Bt--,Rt--,Dt>Bt||Dt>Rt)break t;Kt=P[Bt],xt=L[Rt]}}if(Dt>Bt){if(Dt<=Rt)for(Jt=Rt+1,Ut=Jt Rt)for(;Dt<=Bt;)Gt(P[Dt++],B,Mt);else Cn(P,L,w,z,X,Bt,Rt,Dt,B,G,ht,Ct,wt,Mt)}function Cn(P,L,B,w,G,z,X,ht,Ct,wt,Mt,Bt,Rt,Dt){var Kt,xt,Jt=0,Ut=0,Se=ht,ie=ht,on=z-ht+1,de=X-ht+1,an=new Int32Array(de+1),Ee=on===w,Ln=!1,qt=0,un=0;if(G<4||(on|de)<32)for(Ut=Se;Ut<=z;++Ut)if(Kt=P[Ut],un ht?Ln=!0:qt=ht,xt.flags&16384&&(L[ht]=xt=st(xt)),oe(Kt,xt,Ct,B,wt,Mt,Rt,Dt),++un;break}!Ee&&ht>X&&Gt(Kt,Ct,Dt)}else Ee||Gt(Kt,Ct,Dt);else{var Dn={};for(Ut=ie;Ut<=X;++Ut)Dn[L[Ut].key]=Ut;for(Ut=Se;Ut<=z;++Ut)if(Kt=P[Ut],un Se;)Gt(P[Se++],Ct,Dt);an[ht-ie]=Ut+1,qt>ht?Ln=!0:qt=ht,xt=L[ht],xt.flags&16384&&(L[ht]=xt=st(xt)),oe(Kt,xt,Ct,B,wt,Mt,Rt,Dt),++un}else Ee||Gt(Kt,Ct,Dt);else Ee||Gt(Kt,Ct,Dt)}if(Ee)ce(Ct,Bt,P,Dt),pe(L,Ct,B,wt,Mt,Rt,Dt);else if(Ln){var Fn=wn(an);for(ht=Fn.length-1,Ut=de-1;Ut>=0;Ut--)an[Ut]===0?(qt=Ut+ie,xt=L[qt],xt.flags&16384&&(L[qt]=xt=st(xt)),Jt=qt+1,kt(xt,Ct,B,wt,Jt 0&&N(Dt.componentWillMove)}else if(un!==de)for(Ut=de-1;Ut>=0;Ut--)an[Ut]===0&&(qt=Ut+ie,xt=L[qt],xt.flags&16384&&(L[qt]=xt=st(xt)),Jt=qt+1,kt(xt,Ct,B,wt,Jt en&&(en=Ct,ee=new Int32Array(Ct),Pe=new Int32Array(Ct));B >1,P[ee[ht]] 0&&(Pe[B]=ee[z-1]),ee[z]=B)}z=G+1;var wt=new Int32Array(z);for(X=ee[z-1];z-- >0;)wt[z]=X,X=Pe[X],ee[z]=0;return wt}var Ge=typeof document!="undefined";Ge&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ye(P,L,B,w){var G=[],z=new f,X=L.$V;$.v=!0,r(X)?r(P)||(P.flags&16384&&(P=st(P)),kt(P,L,w,!1,null,G,z),L.$V=P,X=P):r(P)?(Gt(X,L,z),L.$V=null):(P.flags&16384&&(P=st(P)),oe(X,P,L,w,!1,null,G,z),X=L.$V=P),y(G),A(z.componentDidAppear),$.v=!1,a(B)&&B(),a(x.renderComplete)&&x.renderComplete(X,L)}function bn(P,L,B,w){B===void 0&&(B=null),w===void 0&&(w=l),Ye(P,L,B,w)}function Zt(P){return function(){function L(B,w,G,z){P||(P=B),bn(w,P,G,z)}return L}()}var ye=[],Tn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(P){window.setTimeout(P,0)},Ke=!1;function nn(P,L,B,w){var G=P.$PS;if(a(L)&&(L=L(G?d(P.state,G):P.state,P.props,P.context)),r(G))P.$PS=L;else for(var z in L)G[z]=L[z];if(P.$BR)a(B)&&P.$L.push(B.bind(P));else{if(!$.v&&ye.length===0){rn(P,w),a(B)&&B.call(P);return}if(ye.indexOf(P)===-1&&ye.push(P),w&&(P.$F=!0),Ke||(Ke=!0,Tn(ae)),a(B)){var X=P.$QU;X||(X=P.$QU=[]),X.push(B)}}}function Ne(P){for(var L=P.$QU,B=0;B =0;--H){var W=this.tryEntries[H],et=W.completion;if(W.tryLoc==="root")return K("end");if(W.tryLoc<=this.prev){var lt=r.call(W,"catchLoc"),ut=r.call(W,"finallyLoc");if(lt&&ut){if(this.prev =0;--K){var H=this.tryEntries[K];if(H.tryLoc<=this.prev&&r.call(H,"finallyLoc")&&this.prev =0;--U){var K=this.tryEntries[U];if(K.finallyLoc===F)return this.complete(K.completion,K.afterLoc),V(K),m}}return x}(),catch:function(){function x(F){for(var U=this.tryEntries.length-1;U>=0;--U){var K=this.tryEntries[U];if(K.tryLoc===F){var H=K.completion;if(H.type==="throw"){var W=H.arg;V(K)}return W}}throw new Error("illegal catch attempt")}return x}(),delegateYield:function(){function x(F,U,K){return this.delegate={iterator:Y(F),resultName:U,nextLoc:K},this.method==="next"&&(this.arg=a),m}return x}()},t}(E.exports);try{regeneratorRuntime=n}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},30236:function(){"use strict";self.fetch||(self.fetch=function(E,n){return n=n||{},new Promise(function(t,e){var r=new XMLHttpRequest,o=[],a={},s=function(){function c(){return{ok:(r.status/100|0)==2,statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){function p(){return Promise.resolve(r.responseText)}return p}(),json:function(){function p(){return Promise.resolve(r.responseText).then(JSON.parse)}return p}(),blob:function(){function p(){return Promise.resolve(new Blob([r.response]))}return p}(),clone:c,headers:{keys:function(){function p(){return o}return p}(),entries:function(){function p(){return o.map(function(d){return[d,r.getResponseHeader(d)]})}return p}(),get:function(){function p(d){return r.getResponseHeader(d)}return p}(),has:function(){function p(d){return r.getResponseHeader(d)!=null}return p}()}}}return c}();for(var u in r.open(n.method||"get",E,!0),r.onload=function(){r.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(c,p){a[p]||o.push(a[p]=p)}),t(s())},r.onerror=e,r.withCredentials=n.credentials=="include",n.headers)r.setRequestHeader(u,n.headers[u]);r.send(n.body||null)})})},88510:function(E,n){"use strict";n.__esModule=!0,n.zipWith=n.zip=n.uniqBy=n.uniq=n.toKeyedArray=n.toArray=n.sortBy=n.sort=n.reduce=n.range=n.map=n.filterMap=n.filter=void 0;function t(C,I){var O=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(O)return(O=O.call(C)).next.bind(O);if(Array.isArray(C)||(O=e(C))||I&&C&&typeof C.length=="number"){O&&(C=O);var T=0;return function(){return T>=C.length?{done:!0}:{done:!1,value:C[T++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(C,I){if(C){if(typeof C=="string")return r(C,I);var O={}.toString.call(C).slice(8,-1);return O==="Object"&&C.constructor&&(O=C.constructor.name),O==="Map"||O==="Set"?Array.from(C):O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O)?r(C,I):void 0}}function r(C,I){(I==null||I>C.length)&&(I=C.length);for(var O=0,T=Array(I);OM)return 1}return 0},d=n.sortBy=function(){function C(){for(var I=arguments.length,O=new Array(I),T=0;TN)return 1}return 0},d=n.sortBy=function(){function C(){for(var I=arguments.length,O=new Array(I),T=0;T1?f-1:0),m=1;m 1?b-1:0),M=1;M=0;--et){var ht=this.tryEntries[et],St=ht.completion;if(ht.tryLoc==="root")return Z("end");if(ht.tryLoc<=this.prev){var ut=S.call(ht,"catchLoc"),yt=S.call(ht,"finallyLoc");if(ut&&yt){if(this.prev =0;--Z){var et=this.tryEntries[Z];if(et.tryLoc<=this.prev&&S.call(et,"finallyLoc")&&this.prev =0;--z){var Z=this.tryEntries[z];if(Z.finallyLoc===nt)return this.complete(Z.completion,Z.afterLoc),at(Z),U}}return ot}(),catch:function(){function ot(nt){for(var z=this.tryEntries.length-1;z>=0;--z){var Z=this.tryEntries[z];if(Z.tryLoc===nt){var et=Z.completion;if(et.type==="throw"){var ht=et.arg;at(Z)}return ht}}throw Error("illegal catch attempt")}return ot}(),delegateYield:function(){function ot(nt,z,Z){return this.delegate={iterator:mt(nt),resultName:z,nextLoc:Z},this.method==="next"&&(this.arg=O),U}return ot}()},T}function e(O,T,y,S,b,N,M){try{var w=O[N](M),R=w.value}catch(B){return void y(B)}w.done?T(R):Promise.resolve(R).then(S,b)}function r(O){return function(){var T=this,y=arguments;return new Promise(function(S,b){var N=O.apply(T,y);function M(R){e(N,S,b,M,w,"next",R)}function w(R){e(N,S,b,M,w,"throw",R)}M(void 0)})}}/** + */var r=n.createStore=function(){function p(d,i){if(i)return i(p)(d);var v,l=[],g=function(){function m(){return v}return m}(),f=function(){function m(C){l.push(C)}return m}(),h=function(){function m(C){v=d(v,C);for(var I=0;I 1?f-1:0),m=1;m 1?b-1:0),N=1;N=0;--tt){var pt=this.tryEntries[tt],Et=pt.completion;if(pt.tryLoc==="root")return q("end");if(pt.tryLoc<=this.prev){var it=S.call(pt,"catchLoc"),yt=S.call(pt,"finallyLoc");if(it&&yt){if(this.prev =0;--q){var tt=this.tryEntries[q];if(tt.tryLoc<=this.prev&&S.call(tt,"finallyLoc")&&this.prev =0;--k){var q=this.tryEntries[k];if(q.finallyLoc===nt)return this.complete(q.completion,q.afterLoc),ot(q),U}}return rt}(),catch:function(){function rt(nt){for(var k=this.tryEntries.length-1;k>=0;--k){var q=this.tryEntries[k];if(q.tryLoc===nt){var tt=q.completion;if(tt.type==="throw"){var pt=tt.arg;ot(q)}return pt}}throw Error("illegal catch attempt")}return rt}(),delegateYield:function(){function rt(nt,k,q){return this.delegate={iterator:mt(nt),resultName:k,nextLoc:q},this.method==="next"&&(this.arg=O),U}return rt}()},T}function e(O,T,y,S,b,A,N){try{var M=O[A](N),R=M.value}catch(D){return void y(D)}M.done?T(R):Promise.resolve(R).then(S,b)}function r(O){return function(){var T=this,y=arguments;return new Promise(function(S,b){var A=O.apply(T,y);function N(R){e(A,S,b,N,M,"next",R)}function M(R){e(A,S,b,N,M,"throw",R)}N(void 0)})}}/** * Browser-agnostic abstraction of key-value web storage. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=n.IMPL_MEMORY=0,a=n.IMPL_HUB_STORAGE=1,s=n.IMPL_INDEXED_DB=2,u=1,c="para-tgui",p="storage-v1",d="readonly",i="readwrite",v=function(T){return function(){try{return!!T()}catch(y){return!1}}},l=v(function(){return window.hubStorage&&window.hubStorage.getItem}),g=v(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),f=function(){function O(){this.impl=o,this.store={}}var T=O.prototype;return T.get=function(){var y=r(t().mark(function(){function b(N){return t().wrap(function(){function M(w){for(;;)switch(w.prev=w.next){case 0:return w.abrupt("return",this.store[N]);case 1:case"end":return w.stop()}}return M}(),b,this)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.set=function(){var y=r(t().mark(function(){function b(N,M){return t().wrap(function(){function w(R){for(;;)switch(R.prev=R.next){case 0:this.store[N]=M;case 1:case"end":return R.stop()}}return w}(),b,this)}return b}()));function S(b,N){return y.apply(this,arguments)}return S}(),T.remove=function(){var y=r(t().mark(function(){function b(N){return t().wrap(function(){function M(w){for(;;)switch(w.prev=w.next){case 0:this.store[N]=void 0;case 1:case"end":return w.stop()}}return M}(),b,this)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.clear=function(){var y=r(t().mark(function(){function b(){return t().wrap(function(){function N(M){for(;;)switch(M.prev=M.next){case 0:this.store={};case 1:case"end":return M.stop()}}return N}(),b,this)}return b}()));function S(){return y.apply(this,arguments)}return S}(),O}(),h=function(){function O(){this.impl=a}var T=O.prototype;return T.get=function(){var y=r(t().mark(function(){function b(N){var M;return t().wrap(function(){function w(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,window.hubStorage.getItem("paradise-"+N);case 2:if(M=R.sent,typeof M!="string"){R.next=5;break}return R.abrupt("return",JSON.parse(M));case 5:case"end":return R.stop()}}return w}(),b)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.set=function(){function y(S,b){window.hubStorage.setItem("paradise-"+S,JSON.stringify(b))}return y}(),T.remove=function(){function y(S){window.hubStorage.removeItem("paradise-"+S)}return y}(),T.clear=function(){function y(){window.hubStorage.clear()}return y}(),O}(),m=function(){function O(){this.impl=s,this.dbPromise=new Promise(function(y,S){var b=window.indexedDB||window.msIndexedDB,N=b.open(c,u);N.onupgradeneeded=function(){try{N.result.createObjectStore(p)}catch(M){S(new Error("Failed to upgrade IDB: "+N.error))}},N.onsuccess=function(){return y(N.result)},N.onerror=function(){S(new Error("Failed to open IDB: "+N.error))}})}var T=O.prototype;return T.getStore=function(){var y=r(t().mark(function(){function b(N){return t().wrap(function(){function M(w){for(;;)switch(w.prev=w.next){case 0:return w.abrupt("return",this.dbPromise.then(function(R){return R.transaction(p,N).objectStore(p)}));case 1:case"end":return w.stop()}}return M}(),b,this)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.get=function(){var y=r(t().mark(function(){function b(N){var M;return t().wrap(function(){function w(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.getStore(d);case 2:return M=R.sent,R.abrupt("return",new Promise(function(B,x){var j=M.get(N);j.onsuccess=function(){return B(j.result)},j.onerror=function(){return x(j.error)}}));case 4:case"end":return R.stop()}}return w}(),b,this)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.set=function(){var y=r(t().mark(function(){function b(N,M){var w;return t().wrap(function(){function R(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,this.getStore(i);case 2:w=B.sent,w.put(M,N);case 4:case"end":return B.stop()}}return R}(),b,this)}return b}()));function S(b,N){return y.apply(this,arguments)}return S}(),T.remove=function(){var y=r(t().mark(function(){function b(N){var M;return t().wrap(function(){function w(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.getStore(i);case 2:M=R.sent,M.delete(N);case 4:case"end":return R.stop()}}return w}(),b,this)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.clear=function(){var y=r(t().mark(function(){function b(){var N;return t().wrap(function(){function M(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.getStore(i);case 2:N=w.sent,N.clear();case 4:case"end":return w.stop()}}return M}(),b,this)}return b}()));function S(){return y.apply(this,arguments)}return S}(),O}(),C=function(){function O(){this.backendPromise=r(t().mark(function(){function y(){var S;return t().wrap(function(){function b(N){for(;;)switch(N.prev=N.next){case 0:if(!(!Byond.TRIDENT&&l())){N.next=2;break}return N.abrupt("return",new h);case 2:if(!g()){N.next=12;break}return N.prev=3,S=new m,N.next=7,S.dbPromise;case 7:return N.abrupt("return",S);case 10:N.prev=10,N.t0=N.catch(3);case 12:return N.abrupt("return",new f);case 13:case"end":return N.stop()}}return b}(),y,null,[[3,10]])}return y}()))()}var T=O.prototype;return T.get=function(){var y=r(t().mark(function(){function b(N){var M;return t().wrap(function(){function w(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.backendPromise;case 2:return M=R.sent,R.abrupt("return",M.get(N));case 4:case"end":return R.stop()}}return w}(),b,this)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.set=function(){var y=r(t().mark(function(){function b(N,M){var w;return t().wrap(function(){function R(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,this.backendPromise;case 2:return w=B.sent,B.abrupt("return",w.set(N,M));case 4:case"end":return B.stop()}}return R}(),b,this)}return b}()));function S(b,N){return y.apply(this,arguments)}return S}(),T.remove=function(){var y=r(t().mark(function(){function b(N){var M;return t().wrap(function(){function w(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,this.backendPromise;case 2:return M=R.sent,R.abrupt("return",M.remove(N));case 4:case"end":return R.stop()}}return w}(),b,this)}return b}()));function S(b){return y.apply(this,arguments)}return S}(),T.clear=function(){var y=r(t().mark(function(){function b(){var N;return t().wrap(function(){function M(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.backendPromise;case 2:return N=w.sent,w.abrupt("return",N.clear());case 4:case"end":return w.stop()}}return M}(),b,this)}return b}()));function S(){return y.apply(this,arguments)}return S}(),O}(),I=n.storage=new C},25328:function(E,n){"use strict";n.__esModule=!0,n.toTitleCase=n.multiline=n.decodeHtmlEntities=n.createSearch=n.createGlobPattern=n.capitalize=n.buildQueryString=void 0;function t(i,v){var l=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(l)return(l=l.call(i)).next.bind(l);if(Array.isArray(i)||(l=e(i))||v&&i&&typeof i.length=="number"){l&&(i=l);var g=0;return function(){return g>=i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(i,v){if(i){if(typeof i=="string")return r(i,v);var l={}.toString.call(i).slice(8,-1);return l==="Object"&&i.constructor&&(l=i.constructor.name),l==="Map"||l==="Set"?Array.from(i):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?r(i,v):void 0}}function r(i,v){(v==null||v>i.length)&&(v=i.length);for(var l=0,g=Array(v);l =i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(i,v){if(i){if(typeof i=="string")return r(i,v);var l={}.toString.call(i).slice(8,-1);return l==="Object"&&i.constructor&&(l=i.constructor.name),l==="Map"||l==="Set"?Array.from(i):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?r(i,v):void 0}}function r(i,v){(v==null||v>i.length)&&(v=i.length);for(var l=0,g=Array(v);l =y.length?{done:!0}:{done:!1,value:y[N++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(y,S){if(y){if(typeof y=="string")return g(y,S);var b={}.toString.call(y).slice(8,-1);return b==="Object"&&y.constructor&&(b=y.constructor.name),b==="Map"||b==="Set"?Array.from(y):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?g(y,S):void 0}}function g(y,S){(S==null||S>y.length)&&(S=y.length);for(var b=0,N=Array(S);b =0;--St){var ut=this.tryEntries[St],yt=ut.completion;if(ut.tryLoc==="root")return ht("end");if(ut.tryLoc<=this.prev){var Pt=N.call(ut,"catchLoc"),_=N.call(ut,"finallyLoc");if(Pt&&_){if(this.prev=0;--ht){var St=this.tryEntries[ht];if(St.tryLoc<=this.prev&&N.call(St,"finallyLoc")&&this.prev =0;--et){var ht=this.tryEntries[et];if(ht.finallyLoc===Z)return this.complete(ht.completion,ht.afterLoc),mt(ht),K}}return z}(),catch:function(){function z(Z){for(var et=this.tryEntries.length-1;et>=0;--et){var ht=this.tryEntries[et];if(ht.tryLoc===Z){var St=ht.completion;if(St.type==="throw"){var ut=St.arg;mt(ht)}return ut}}throw Error("illegal catch attempt")}return z}(),delegateYield:function(){function z(Z,et,ht){return this.delegate={iterator:nt(Z),resultName:et,nextLoc:ht},this.method==="next"&&(this.arg=y),K}return z}()},S}function h(y,S,b,N,M,w,R){try{var B=y[w](R),x=B.value}catch(j){return void b(j)}B.done?S(x):Promise.resolve(x).then(N,M)}function m(y){return function(){var S=this,b=arguments;return new Promise(function(N,M){var w=y.apply(S,b);function R(x){h(w,N,M,R,B,"next",x)}function B(x){h(w,N,M,R,B,"throw",x)}R(void 0)})}}/** + */var t=n.MAX_VISIBLE_MESSAGES=2500,e=n.MAX_PERSISTED_MESSAGES=1e3,r=n.MESSAGE_SAVE_INTERVAL=1e4,o=n.MESSAGE_PRUNE_INTERVAL=6e4,a=n.COMBINE_MAX_TIME_WINDOW=5e3,s=n.COMBINE_MAX_MESSAGES=5,u=n.IMAGE_RETRY_DELAY=250,c=n.IMAGE_RETRY_LIMIT=10,p=n.IMAGE_RETRY_MESSAGE_AGE=6e4,d=n.MESSAGE_TYPE_UNKNOWN="unknown",i=n.MESSAGE_TYPE_INTERNAL="internal",v=n.MESSAGE_TYPE_SYSTEM="system",l=n.MESSAGE_TYPE_LOCALCHAT="localchat",g=n.MESSAGE_TYPE_RADIO="radio",f=n.MESSAGE_TYPE_INFO="info",h=n.MESSAGE_TYPE_WARNING="warning",m=n.MESSAGE_TYPE_DEADCHAT="deadchat",C=n.MESSAGE_TYPE_OOC="ooc",I=n.MESSAGE_TYPE_ADMINPM="adminpm",O=n.MESSAGE_TYPE_MENTORPM="mentorpm",T=n.MESSAGE_TYPE_COMBAT="combat",y=n.MESSAGE_TYPE_ADMINCHAT="adminchat",S=n.MESSAGE_TYPE_MENTORCHAT="mentorchat",b=n.MESSAGE_TYPE_DEVCHAT="devchat",A=n.MESSAGE_TYPE_EVENTCHAT="eventchat",N=n.MESSAGE_TYPE_ADMINLOG="adminlog",M=n.MESSAGE_TYPE_ATTACKLOG="attacklog",R=n.MESSAGE_TYPE_DEBUG="debug",D=n.MESSAGE_TYPES=[{type:v,name:"System Messages",description:"Messages from your client, always enabled",selector:".boldannounceooc",important:!0},{type:l,name:"Local",description:"In-character local messages (say, emote, etc)",selector:".say, .emote"},{type:g,name:"Radio",description:"All departments of radio messages",selector:".alert, .syndradio, .centradio, .airadio, .entradio, .comradio, .secradio, .engradio, .medradio, .sciradio, .supradio, .srvradio, .expradio, .radio, .deptradio, .newscaster, .proradio"},{type:f,name:"Info",description:"Non-urgent messages from the game and items",selector:".notice:not(.pm), .adminnotice, .info, .sinister, .cult"},{type:h,name:"Warnings",description:"Urgent messages from the game and items",selector:".warning:not(.pm), .critical, .userdanger, .italics, .boldannounceic, .boldwarning"},{type:m,name:"Deadchat",description:"All of deadchat",selector:".deadsay"},{type:C,name:"OOC",description:"The bluewall of global OOC messages",selector:".ooc, .adminooc, .interface"},{type:I,name:"Admin PMs",description:"Messages to/from admins (adminhelp)",selector:".adminpm, .adminhelp, .adminticket, .adminticketalt"},{type:O,name:"Mentor PMs",description:"Messages to/from mentors (mentorhelp)",selector:".mentorpm, .mentorhelp"},{type:T,name:"Combat Log",description:"Urist McTraitor has stabbed you with a knife!",selector:".danger"},{type:d,name:"Unsorted",description:"Everything we could not sort, always enabled"},{type:y,name:"Admin Chat",description:"ASAY messages",selector:".admin_channel, .adminsay",admin:!0},{type:S,name:"Mentor Chat",description:"MSAY messages",selector:".mentor_channel",admin:!0},{type:b,name:"Developer Chat",description:"DEVSAY messages",selector:".dev_channel",admin:!0},{type:N,name:"Admin Log",description:"ADMIN LOG: Urist McAdmin has jumped to coordinates X, Y, Z",selector:".log_message",admin:!0},{type:M,name:"Attack Log",description:"Urist McTraitor has shot John Doe",admin:!0},{type:R,name:"Debug Log",description:"DEBUG: SSPlanets subsystem Recover().",selector:".pr_announce, .debug",admin:!0}]},96835:function(E,n,t){"use strict";n.__esModule=!0,n.chatReducer=n.chatMiddleware=n.ChatTabs=n.ChatPanel=n.ChatPageSettings=void 0;var e=t(15039);n.ChatPageSettings=e.ChatPageSettings;var r=t(44675);n.ChatPanel=r.ChatPanel;var o=t(41125);n.ChatTabs=o.ChatTabs;var a=t(84807);n.chatMiddleware=a.chatMiddleware;var s=t(40147);n.chatReducer=s.chatReducer},84807:function(E,n,t){"use strict";n.__esModule=!0,n.chatMiddleware=void 0;var e=i(t(22734)),r=t(27108),o=t(36471),a=t(77034),s=t(37152),u=t(69126),c=t(41950),p=t(15916),d=t(23429);function i(y){return y&&y.__esModule?y:{default:y}}function v(y,S){var b=typeof Symbol!="undefined"&&y[Symbol.iterator]||y["@@iterator"];if(b)return(b=b.call(y)).next.bind(b);if(Array.isArray(y)||(b=l(y))||S&&y&&typeof y.length=="number"){b&&(y=b);var A=0;return function(){return A>=y.length?{done:!0}:{done:!1,value:y[A++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(y,S){if(y){if(typeof y=="string")return g(y,S);var b={}.toString.call(y).slice(8,-1);return b==="Object"&&y.constructor&&(b=y.constructor.name),b==="Map"||b==="Set"?Array.from(y):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?g(y,S):void 0}}function g(y,S){(S==null||S>y.length)&&(S=y.length);for(var b=0,A=Array(S);b =0;--Et){var it=this.tryEntries[Et],yt=it.completion;if(it.tryLoc==="root")return pt("end");if(it.tryLoc<=this.prev){var Pt=A.call(it,"catchLoc"),bt=A.call(it,"finallyLoc");if(Pt&&bt){if(this.prev=0;--pt){var Et=this.tryEntries[pt];if(Et.tryLoc<=this.prev&&A.call(Et,"finallyLoc")&&this.prev =0;--tt){var pt=this.tryEntries[tt];if(pt.finallyLoc===q)return this.complete(pt.completion,pt.afterLoc),mt(pt),H}}return k}(),catch:function(){function k(q){for(var tt=this.tryEntries.length-1;tt>=0;--tt){var pt=this.tryEntries[tt];if(pt.tryLoc===q){var Et=pt.completion;if(Et.type==="throw"){var it=Et.arg;mt(pt)}return it}}throw Error("illegal catch attempt")}return k}(),delegateYield:function(){function k(q,tt,pt){return this.delegate={iterator:nt(q),resultName:tt,nextLoc:pt},this.method==="next"&&(this.arg=y),H}return k}()},S}function h(y,S,b,A,N,M,R){try{var D=y[M](R),V=D.value}catch(j){return void b(j)}D.done?S(V):Promise.resolve(V).then(A,N)}function m(y){return function(){var S=this,b=arguments;return new Promise(function(A,N){var M=y.apply(S,b);function R(V){h(M,A,N,R,D,"next",V)}function D(V){h(M,A,N,R,D,"throw",V)}R(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var C=["a","iframe","link","video"],I=function(){var y=m(f().mark(function(){function S(b){var N,M,w;return f().wrap(function(){function R(B){for(;;)switch(B.prev=B.next){case 0:N=(0,d.selectChat)(b.getState()),M=Math.max(0,p.chatRenderer.messages.length-u.MAX_PERSISTED_MESSAGES),w=p.chatRenderer.messages.slice(M).map(function(x){return(0,c.serializeMessage)(x)}),r.storage.set("chat-state",N),r.storage.set("chat-messages",w);case 5:case"end":return B.stop()}}return R}(),S)}return S}()));return function(){function S(b){return y.apply(this,arguments)}return S}()}(),O=function(){var y=m(f().mark(function(){function S(b){var N,M,w,R,B,x,j;return f().wrap(function(){function $(G){for(;;)switch(G.prev=G.next){case 0:return G.next=2,Promise.all([r.storage.get("chat-state"),r.storage.get("chat-messages")]);case 2:if(N=G.sent,M=N[0],w=N[1],!(M&&M.version<=4)){G.next=8;break}return b.dispatch((0,s.loadChat)()),G.abrupt("return");case 8:if(w){for(R=v(w);!(B=R()).done;)x=B.value,x.html&&(x.html=e.default.sanitize(x.html,{FORBID_TAGS:C}));j=[].concat(w,[(0,c.createMessage)({type:"internal/reconnected"})]),p.chatRenderer.processBatch(j,{prepend:!0})}b.dispatch((0,s.loadChat)(M));case 10:case"end":return G.stop()}}return $}(),S)}return S}()));return function(){function S(b){return y.apply(this,arguments)}return S}()}(),T=n.chatMiddleware=function(){function y(S){var b=!1,N=!1,M=[],w=[];return p.chatRenderer.events.on("batchProcessed",function(R){N&&S.dispatch((0,s.updateMessageCount)(R))}),p.chatRenderer.events.on("scrollTrackingChanged",function(R){S.dispatch((0,s.changeScrollTracking)(R))}),setInterval(function(){return I(S)},u.MESSAGE_SAVE_INTERVAL),function(R){return function(B){var x=B.type,j=B.payload;if(b||(b=!0,O(S)),x==="chat/message"){var $;try{$=JSON.parse(j)}catch(rt){return}var G=$.sequence;if(M.includes(G))return;var D=M.length;t:if(D>0){if(w.includes(G)){w.splice(w.indexOf(G),1);break t}var V=M[D-1]+1;if(G!==V)for(var U=V;U =l.length?{done:!0}:{done:!1,value:l[h++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(l,g){if(l){if(typeof l=="string")return s(l,g);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?s(l,g):void 0}}function s(l,g){(g==null||g>l.length)&&(g=l.length);for(var f=0,h=Array(g);f 0){if(M.includes($)){M.splice(M.indexOf($),1);break t}var F=N[x-1]+1;if($!==F)for(var U=F;U<$;U++)M.push(U),Byond.sendMessage("chat/resend",U)}p.chatRenderer.processBatch([Y.content]);return}if(V===s.loadChat.type){R(D);var K=(0,d.selectCurrentChatPage)(S.getState());p.chatRenderer.changePage(K),p.chatRenderer.onStateLoaded(),A=!0;return}if(V===s.changeChatPage.type||V===s.addChatPage.type||V===s.removeChatPage.type||V===s.toggleAcceptedType.type||V===s.moveChatPageLeft.type||V===s.moveChatPageRight.type){R(D);var H=(0,d.selectCurrentChatPage)(S.getState());p.chatRenderer.changePage(H);return}if(V===s.rebuildChat.type)return p.chatRenderer.rebuildChat(),R(D);if(V===o.updateSettings.type||V===o.loadSettings.type||V===o.addHighlightSetting.type||V===o.removeHighlightSetting.type||V===o.updateHighlightSetting.type){R(D);var W=(0,a.selectSettings)(S.getState());p.chatRenderer.setHighlight(W.highlightSettings,W.highlightSettingById);return}if(V==="roundrestart")return I(S),R(D);if(V===s.saveChatToDisk.type){p.chatRenderer.saveToDisk();return}if(V===s.clearChat.type){p.chatRenderer.clearChat();return}return R(D)}}}return y}()},41950:function(E,n,t){"use strict";n.__esModule=!0,n.serializeMessage=n.isSameMessage=n.createPage=n.createMessage=n.createMainPage=n.canPageAcceptType=void 0;var e=t(90286),r=t(69126);function o(l,g){var f=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(f)return(f=f.call(l)).next.bind(f);if(Array.isArray(l)||(f=a(l))||g&&l&&typeof l.length=="number"){f&&(l=f);var h=0;return function(){return h>=l.length?{done:!0}:{done:!1,value:l[h++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(l,g){if(l){if(typeof l=="string")return s(l,g);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?s(l,g):void 0}}function s(l,g){(g==null||g>l.length)&&(g=l.length);for(var f=0,h=Array(g);f =l.length?{done:!0}:{done:!1,value:l[h++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(l,g){if(l){if(typeof l=="string")return p(l,g);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?p(l,g):void 0}}function p(l,g){(g==null||g>l.length)&&(g=l.length);for(var f=0,h=Array(g);f 0&&(H[ct.id]=Object.assign({},ct,{unreadCount:ct.unreadCount+k}))}return Object.assign({},g,{pageById:H})}if(h===e.addChatPage.type){var ft;return Object.assign({},g,{currentPageId:m.id,pages:[].concat(g.pages,[m.id]),pageById:Object.assign({},g.pageById,(ft={},ft[m.id]=m,ft))})}if(h===e.changeChatPage.type){var J,at=m.pageId,st=Object.assign({},g.pageById[at],{unreadCount:0});return Object.assign({},g,{currentPageId:at,pageById:Object.assign({},g.pageById,(J={},J[at]=st,J))})}if(h===e.updateChatPage.type){var mt,ot=m.pageId,nt=s(m,o),z=Object.assign({},g.pageById[ot],nt);return Object.assign({},g,{pageById:Object.assign({},g.pageById,(mt={},mt[ot]=z,mt))})}if(h===e.toggleAcceptedType.type){var Z,et=m.pageId,ht=m.type,St=Object.assign({},g.pageById[et]);return St.acceptedTypes=Object.assign({},St.acceptedTypes),St.acceptedTypes[ht]=!St.acceptedTypes[ht],Object.assign({},g,{pageById:Object.assign({},g.pageById,(Z={},Z[et]=St,Z))})}if(h===e.removeChatPage.type){var ut=m.pageId,yt=Object.assign({},g,{pages:[].concat(g.pages),pageById:Object.assign({},g.pageById)});return delete yt.pageById[ut],yt.pages=yt.pages.filter(function(Nt){return Nt!==ut}),yt.pages.length===0&&(yt.pages.push(d.id),yt.pageById[d.id]=d,yt.currentPageId=d.id),(!yt.currentPageId||yt.currentPageId===ut)&&(yt.currentPageId=yt.pages[0]),yt}if(h===e.moveChatPageLeft.type){var Pt=m.pageId,_=Object.assign({},g,{pages:[].concat(g.pages),pageById:Object.assign({},g.pageById)}),pt=_.pageById[Pt],Ct=_.pages.indexOf(pt.id),At=Ct-1;if(Ct>0&&At>0){var Dt=_.pages[Ct];_.pages[Ct]=_.pages[At],_.pages[At]=Dt}return _}if(h===e.moveChatPageRight.type){var jt=m.pageId,It=Object.assign({},g,{pages:[].concat(g.pages),pageById:Object.assign({},g.pageById)}),gt=It.pageById[jt],Et=It.pages.indexOf(gt.id),Ot=Et+1;if(Et>0&&Ot =T.length?{done:!0}:{done:!1,value:T[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(T,y){if(T){if(typeof T=="string")return d(T,y);var S={}.toString.call(T).slice(8,-1);return S==="Object"&&T.constructor&&(S=T.constructor.name),S==="Map"||S==="Set"?Array.from(T):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?d(T,y):void 0}}function d(T,y){(y==null||y>T.length)&&(y=T.length);for(var S=0,b=Array(y);S =l.length?{done:!0}:{done:!1,value:l[h++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(l,g){if(l){if(typeof l=="string")return p(l,g);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?p(l,g):void 0}}function p(l,g){(g==null||g>l.length)&&(g=l.length);for(var f=0,h=Array(g);f 0&&(W[ut.id]=Object.assign({},ut,{unreadCount:ut.unreadCount+Z}))}return Object.assign({},g,{pageById:W})}if(h===e.addChatPage.type){var ft;return Object.assign({},g,{currentPageId:m.id,pages:[].concat(g.pages,[m.id]),pageById:Object.assign({},g.pageById,(ft={},ft[m.id]=m,ft))})}if(h===e.changeChatPage.type){var J,ot=m.pageId,st=Object.assign({},g.pageById[ot],{unreadCount:0});return Object.assign({},g,{currentPageId:ot,pageById:Object.assign({},g.pageById,(J={},J[ot]=st,J))})}if(h===e.updateChatPage.type){var mt,rt=m.pageId,nt=s(m,o),k=Object.assign({},g.pageById[rt],nt);return Object.assign({},g,{pageById:Object.assign({},g.pageById,(mt={},mt[rt]=k,mt))})}if(h===e.toggleAcceptedType.type){var q,tt=m.pageId,pt=m.type,Et=Object.assign({},g.pageById[tt]);return Et.acceptedTypes=Object.assign({},Et.acceptedTypes),Et.acceptedTypes[pt]=!Et.acceptedTypes[pt],Object.assign({},g,{pageById:Object.assign({},g.pageById,(q={},q[tt]=Et,q))})}if(h===e.removeChatPage.type){var it=m.pageId,yt=Object.assign({},g,{pages:[].concat(g.pages),pageById:Object.assign({},g.pageById)});return delete yt.pageById[it],yt.pages=yt.pages.filter(function(Nt){return Nt!==it}),yt.pages.length===0&&(yt.pages.push(d.id),yt.pageById[d.id]=d,yt.currentPageId=d.id),(!yt.currentPageId||yt.currentPageId===it)&&(yt.currentPageId=yt.pages[0]),yt}if(h===e.moveChatPageLeft.type){var Pt=m.pageId,bt=Object.assign({},g,{pages:[].concat(g.pages),pageById:Object.assign({},g.pageById)}),ct=bt.pageById[Pt],gt=bt.pages.indexOf(ct.id),It=gt-1;if(gt>0&&It>0){var Lt=bt.pages[gt];bt.pages[gt]=bt.pages[It],bt.pages[It]=Lt}return bt}if(h===e.moveChatPageRight.type){var Vt=m.pageId,Ot=Object.assign({},g,{pages:[].concat(g.pages),pageById:Object.assign({},g.pageById)}),dt=Ot.pageById[Vt],St=Ot.pages.indexOf(dt.id),At=St+1;if(St>0&&At =T.length?{done:!0}:{done:!1,value:T[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(T,y){if(T){if(typeof T=="string")return d(T,y);var S={}.toString.call(T).slice(8,-1);return S==="Object"&&T.constructor&&(S=T.constructor.name),S==="Map"||S==="Set"?Array.from(T):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?d(T,y):void 0}}function d(T,y){(y==null||y>T.length)&&(y=T.length);for(var S=0,b=Array(y);S =a.IMAGE_RETRY_LIMIT){i.error("failed to load an image after "+b+" attempts");return}var N=S.src;S.src=null,S.src=N+"#"+b,S.setAttribute("data-reload-n",b+1)},a.IMAGE_RETRY_DELAY)},C=function(y){var S=y.node,b=y.times;if(!(!S||!b)){var N=S.querySelector(".Chat__badge"),M=N||document.createElement("div");M.textContent=b,M.className=(0,r.classes)(["Chat__badge","Chat__badge--animate"]),requestAnimationFrame(function(){M.className="Chat__badge"}),N||S.appendChild(M)}},I=function(){function T(){var S=this;this.loaded=!1,this.rootNode=null,this.queue=[],this.messages=[],this.visibleMessages=[],this.page=null,this.events=new e.EventEmitter,this.scrollNode=null,this.scrollTracking=!0,this.handleScroll=function(b){var N=S.scrollNode,M=N.scrollHeight,w=N.scrollTop+N.offsetHeight,R=Math.abs(M-w) 0&&(this.processBatch(this.queue),this.queue=[])}return S}(),y.assignStyle=function(){function S(b){b===void 0&&(b={});for(var N=0,M=Object.keys(b);N {}[\]:;'"|~`_\-\\/]/g,U=String(B).split(/[,|]/).map(function(ft){return ft.trim()}).filter(function(ft){return ft&&ft.length>1&&D.test(ft)&&((D.lastIndex=0)||!0)}),Y,K;if(U.length!==0){for(var H=[],rt=c(U),lt;!(lt=rt()).done;){var ct=lt.value;if(ct.charAt(0)==="/"&&ct.charAt(ct.length-1)==="/"){var k=ct.substring(1,ct.length-1);if(/^(\[.*\]|\\.|.)$/.test(k))continue;H.push(k)}else Y||(Y=[]),ct=ct.replace(V,"\\$&"),Y.push(ct)}var Q=H.join("|"),it="g"+(G?"":"i");try{if(Q)K=new RegExp("("+Q+")",it);else{var vt=($?"\\b":"")+"("+Y.join("|")+")"+($?"\\b":"");K=new RegExp(vt,it)}}catch(ft){K=null}M.highlightParsers||(M.highlightParsers=[]),M.highlightParsers.push({highlightWords:Y,highlightRegex:K,highlightColor:x,highlightWholeMessage:j})}})}return S}(),y.scrollToBottom=function(){function S(){this.scrollNode.scrollTop=this.scrollNode.scrollHeight}return S}(),y.changePage=function(){function S(b){if(!this.isReady()){this.page=b,this.tryFlushQueue();return}this.page=b,this.rootNode.textContent="",this.visibleMessages=[];for(var N=document.createDocumentFragment(),M,w=c(this.messages),R;!(R=w()).done;){var B=R.value;(0,s.canPageAcceptType)(b,B.type)&&(M=B.node,N.appendChild(M),this.visibleMessages.push(B))}M&&(this.rootNode.appendChild(N),M.scrollIntoView())}return S}(),y.getCombinableMessage=function(){function S(b){for(var N=Date.now(),M=this.visibleMessages.length,w=M-1,R=Math.max(0,M-a.COMBINE_MAX_MESSAGES),B=w;B>=R;B--){var x=this.visibleMessages[B],j=!x.type.startsWith(a.MESSAGE_TYPE_INTERNAL)&&(0,s.isSameMessage)(x,b)&&N 0){this.visibleMessages=b.slice(N);for(var M=0;M 0&&(this.messages=this.messages.slice(R),i.log("pruned "+R+" stored messages"))}}}return S}(),y.rebuildChat=function(){function S(){if(this.isReady()){for(var b=Math.max(0,this.messages.length-a.MAX_VISIBLE_MESSAGES),N=this.messages.slice(b),M=c(N),w;!(w=M()).done;){var R=w.value;R.node=void 0}this.rootNode.textContent="",this.messages=[],this.visibleMessages=[],this.processBatch(N,{notifyListeners:!1})}}return S}(),y.clearChat=function(){function S(){var b=this.visibleMessages;this.visibleMessages=[];for(var N=0;N \n\n\n \n'+x+"\n\n