(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))h(p);new MutationObserver(p=>{for(const S of p)if(S.type==="childList")for(const b of S.addedNodes)b.tagName==="LINK"&&b.rel==="modulepreload"&&h(b)}).observe(document,{childList:!0,subtree:!0});function c(p){const S={};return p.integrity&&(S.integrity=p.integrity),p.referrerPolicy&&(S.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?S.credentials="include":p.crossOrigin==="anonymous"?S.credentials="omit":S.credentials="same-origin",S}function h(p){if(p.ep)return;p.ep=!0;const S=c(p);fetch(p.href,S)}})();var Zd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dy(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ug={exports:{}},d0={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Sp;function My(){if(Sp)return d0;Sp=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function c(h,p,S){var b=null;if(S!==void 0&&(b=""+S),p.key!==void 0&&(b=""+p.key),"key"in p){S={};for(var R in p)R!=="key"&&(S[R]=p[R])}else S=p;return p=S.ref,{$$typeof:i,type:h,key:b,ref:p!==void 0?p:null,props:S}}return d0.Fragment=o,d0.jsx=c,d0.jsxs=c,d0}var _p;function Ny(){return _p||(_p=1,Ug.exports=My()),Ug.exports}var P=Ny(),Bg={exports:{}},Dt={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var bp;function Uy(){if(bp)return Dt;bp=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),b=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),T=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),nt=Symbol.iterator;function rt(x){return x===null||typeof x!="object"?null:(x=nt&&x[nt]||x["@@iterator"],typeof x=="function"?x:null)}var X={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tt=Object.assign,I={};function ht(x,Q,lt){this.props=x,this.context=Q,this.refs=I,this.updater=lt||X}ht.prototype.isReactComponent={},ht.prototype.setState=function(x,Q){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,Q,"setState")},ht.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function xt(){}xt.prototype=ht.prototype;function ft(x,Q,lt){this.props=x,this.context=Q,this.refs=I,this.updater=lt||X}var mt=ft.prototype=new xt;mt.constructor=ft,tt(mt,ht.prototype),mt.isPureReactComponent=!0;var _t=Array.isArray;function yt(){}var k={H:null,A:null,T:null,S:null},te=Object.prototype.hasOwnProperty;function Te(x,Q,lt){var at=lt.ref;return{$$typeof:i,type:x,key:Q,ref:at!==void 0?at:null,props:lt}}function _l(x,Q){return Te(x.type,Q,x.props)}function rn(x){return typeof x=="object"&&x!==null&&x.$$typeof===i}function ze(x){var Q={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(lt){return Q[lt]})}var fn=/\/+/g;function Ne(x,Q){return typeof x=="object"&&x!==null&&x.key!=null?ze(""+x.key):Q.toString(36)}function en(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(yt,yt):(x.status="pending",x.then(function(Q){x.status==="pending"&&(x.status="fulfilled",x.value=Q)},function(Q){x.status==="pending"&&(x.status="rejected",x.reason=Q)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function Y(x,Q,lt,at,gt){var Tt=typeof x;(Tt==="undefined"||Tt==="boolean")&&(x=null);var Qt=!1;if(x===null)Qt=!0;else switch(Tt){case"bigint":case"string":case"number":Qt=!0;break;case"object":switch(x.$$typeof){case i:case o:Qt=!0;break;case N:return Qt=x._init,Y(Qt(x._payload),Q,lt,at,gt)}}if(Qt)return gt=gt(x),Qt=at===""?"."+Ne(x,0):at,_t(gt)?(lt="",Qt!=null&&(lt=Qt.replace(fn,"$&/")+"/"),Y(gt,Q,lt,"",function(Il){return Il})):gt!=null&&(rn(gt)&&(gt=_l(gt,lt+(gt.key==null||x&&x.key===gt.key?"":(""+gt.key).replace(fn,"$&/")+"/")+Qt)),Q.push(gt)),1;Qt=0;var he=at===""?".":at+":";if(_t(x))for(var Vt=0;Vt>>1,Ht=Y[Mt];if(0>>1;Mtp(lt,ct))atp(gt,lt)?(Y[Mt]=gt,Y[at]=ct,Mt=at):(Y[Mt]=lt,Y[Q]=ct,Mt=Q);else if(atp(gt,ct))Y[Mt]=gt,Y[at]=ct,Mt=at;else break t}}return et}function p(Y,et){var ct=Y.sortIndex-et.sortIndex;return ct!==0?ct:Y.id-et.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;i.unstable_now=function(){return S.now()}}else{var b=Date,R=b.now();i.unstable_now=function(){return b.now()-R}}var D=[],T=[],N=1,H=null,nt=3,rt=!1,X=!1,tt=!1,I=!1,ht=typeof setTimeout=="function"?setTimeout:null,xt=typeof clearTimeout=="function"?clearTimeout:null,ft=typeof setImmediate<"u"?setImmediate:null;function mt(Y){for(var et=c(T);et!==null;){if(et.callback===null)h(T);else if(et.startTime<=Y)h(T),et.sortIndex=et.expirationTime,o(D,et);else break;et=c(T)}}function _t(Y){if(tt=!1,mt(Y),!X)if(c(D)!==null)X=!0,yt||(yt=!0,ze());else{var et=c(T);et!==null&&en(_t,et.startTime-Y)}}var yt=!1,k=-1,te=5,Te=-1;function _l(){return I?!0:!(i.unstable_now()-TeY&&_l());){var Mt=H.callback;if(typeof Mt=="function"){H.callback=null,nt=H.priorityLevel;var Ht=Mt(H.expirationTime<=Y);if(Y=i.unstable_now(),typeof Ht=="function"){H.callback=Ht,mt(Y),et=!0;break e}H===c(D)&&h(D),mt(Y)}else h(D);H=c(D)}if(H!==null)et=!0;else{var x=c(T);x!==null&&en(_t,x.startTime-Y),et=!1}}break t}finally{H=null,nt=ct,rt=!1}et=void 0}}finally{et?ze():yt=!1}}}var ze;if(typeof ft=="function")ze=function(){ft(rn)};else if(typeof MessageChannel<"u"){var fn=new MessageChannel,Ne=fn.port2;fn.port1.onmessage=rn,ze=function(){Ne.postMessage(null)}}else ze=function(){ht(rn,0)};function en(Y,et){k=ht(function(){Y(i.unstable_now())},et)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(Y){Y.callback=null},i.unstable_forceFrameRate=function(Y){0>Y||125Mt?(Y.sortIndex=ct,o(T,Y),c(D)===null&&Y===c(T)&&(tt?(xt(k),k=-1):tt=!0,en(_t,ct-Mt))):(Y.sortIndex=Ht,o(D,Y),X||rt||(X=!0,yt||(yt=!0,ze()))),Y},i.unstable_shouldYield=_l,i.unstable_wrapCallback=function(Y){var et=nt;return function(){var ct=nt;nt=et;try{return Y.apply(this,arguments)}finally{nt=ct}}}})(qg)),qg}var Tp;function Ly(){return Tp||(Tp=1,Hg.exports=By()),Hg.exports}var jg={exports:{}},Dn={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var xp;function Hy(){if(xp)return Dn;xp=1;var i=rp();function o(D){var T="https://react.dev/errors/"+D;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),jg.exports=Hy(),jg.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var wp;function jy(){if(wp)return g0;wp=1;var i=Ly(),o=rp(),c=qy();function h(t){var e="https://react.dev/errors/"+t;if(1Ht||(t.current=Mt[Ht],Mt[Ht]=null,Ht--)}function lt(t,e){Ht++,Mt[Ht]=t.current,t.current=e}var at=x(null),gt=x(null),Tt=x(null),Qt=x(null);function he(t,e){switch(lt(Tt,e),lt(gt,t),lt(at,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?$r(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=$r(e),t=zn(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(at),lt(at,t)}function Vt(){Q(at),Q(gt),Q(Tt)}function Il(t){t.memoizedState!==null&<(Qt,t);var e=at.current,n=zn(e,t.type);e!==n&&(lt(gt,t),lt(at,n))}function el(t){gt.current===t&&(Q(at),Q(gt)),Qt.current===t&&(Q(Qt),Di._currentValue=ct)}var cn,is;function Je(t){if(cn===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);cn=e&&e[1]||"",is=-1)":-1r||A[u]!==B[r]){var K=` `+A[u].replace(" at new "," at ");return t.displayName&&K.includes("")&&(K=K.replace("",t.displayName)),K}while(1<=u&&0<=r);break}}}finally{aa=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Je(n):""}function kl(t,e){switch(t.tag){case 26:case 27:case 5:return Je(t.type);case 16:return Je("Lazy");case 13:return t.child!==e&&e!==null?Je("Suspense Fallback"):Je("Suspense");case 19:return Je("SuspenseList");case 0:case 15:return rs(t.type,!1);case 11:return rs(t.type.render,!1);case 1:return rs(t.type,!0);case 31:return Je("Activity");default:return""}}function fs(t){try{var e="",n=null;do e+=kl(t,n),n=t,t=t.return;while(t);return e}catch(u){return` Error generating stack: `+u.message+` `+u.stack}}var cs=Object.prototype.hasOwnProperty,ia=i.unstable_scheduleCallback,Nn=i.unstable_cancelCallback,Li=i.unstable_shouldYield,cf=i.unstable_requestPaint,Un=i.unstable_now,Hi=i.unstable_getCurrentPriorityLevel,x0=i.unstable_ImmediatePriority,Ha=i.unstable_UserBlockingPriority,Pl=i.unstable_NormalPriority,ss=i.unstable_LowPriority,sf=i.unstable_IdlePriority,os=i.log,hs=i.unstable_setDisableYieldValue,ra=null,sn=null;function ql(t){if(typeof os=="function"&&hs(t),sn&&typeof sn.setStrictMode=="function")try{sn.setStrictMode(ra,t)}catch{}}var on=Math.clz32?Math.clz32:O1,ds=Math.log,x1=Math.LN2;function O1(t){return t>>>=0,t===0?32:31-(ds(t)/x1|0)|0}var of=256,qi=262144,ji=4194304;function fa(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function hf(t,e,n){var u=t.pendingLanes;if(u===0)return 0;var r=0,s=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var y=u&134217727;return y!==0?(u=y&~s,u!==0?r=fa(u):(g&=y,g!==0?r=fa(g):n||(n=y&~t,n!==0&&(r=fa(n))))):(y=u&~s,y!==0?r=fa(y):g!==0?r=fa(g):n||(n=u&~t,n!==0&&(r=fa(n)))),r===0?0:e!==0&&e!==r&&(e&s)===0&&(s=r&-r,n=e&-e,s>=n||s===32&&(n&4194048)!==0)?e:r}function Gi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function w1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function gs(){var t=ji;return ji<<=1,(ji&62914560)===0&&(ji=4194304),t}function ps(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Yi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function R1(t,e,n,u,r,s){var g=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var y=t.entanglements,A=t.expirationTimes,B=t.hiddenUpdates;for(n=g&~n;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var N1=/[\n"\\]/g;function Ln(t){return t.replace(N1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Sf(t,e,n,u,r,s,g,y){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.type=g:t.removeAttribute("type"),e!=null?g==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Bn(e)):t.value!==""+Bn(e)&&(t.value=""+Bn(e)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),e!=null?Ss(t,g,Bn(e)):n!=null?Ss(t,g,Bn(n)):u!=null&&t.removeAttribute("value"),r==null&&s!=null&&(t.defaultChecked=!!s),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+Bn(y):t.removeAttribute("name")}function _f(t,e,n,u,r,s,g,y){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.type=s),e!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||e!=null)){vf(t);return}n=n!=null?""+Bn(n):"",e=e!=null?""+Bn(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}u=u??r,u=typeof u!="function"&&typeof u!="symbol"&&!!u,t.checked=y?t.checked:!!u,t.defaultChecked=!!u,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.name=g),vf(t)}function Ss(t,e,n){e==="number"&&Vi(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function sa(t,e,n,u){if(t=t.options,e){e={};for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ts=!1;if(lu)try{var Wi={};Object.defineProperty(Wi,"passive",{get:function(){Ts=!0}}),window.addEventListener("test",Wi,Wi),window.removeEventListener("test",Wi,Wi)}catch{Ts=!1}var wu=null,xs=null,ue=null;function ce(){if(ue)return ue;var t,e=xs,n=e.length,u,r="value"in wu?wu.value:wu.textContent,s=r.length;for(t=0;t=ga),I0=" ",Mf=!1;function Nf(t,e){switch(t){case"keyup":return $0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function k0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var pa=!1;function jn(t,e){switch(t){case"compositionend":return k0(e);case"keypress":return e.which!==32?null:(Mf=!0,I0);case"textInput":return t=e.data,t===I0&&Mf?null:t;default:return null}}function Cs(t,e){if(pa)return t==="compositionend"||!Df&&Nf(t,e)?(t=ce(),ue=xs=wu=null,pa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=u}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=th(n)}}function nh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?nh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function lh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vi(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Vi(t.document)}return e}function Ls(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Ka=lu&&"documentMode"in document&&11>=document.documentMode,z=null,Z=null,q=null,it=!1;function Ot(t,e,n){var u=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;it||z==null||z!==Vi(u)||(u=z,"selectionStart"in u&&Ls(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),q&&Za(q,u)||(q=u,u=Vr(Z,"onSelect"),0>=g,r-=g,Yl=1<<32-on(e)+r|n<Nt?(Xt=ot,ot=null):Xt=ot.sibling;var Ft=L(C,ot,U[Nt],V);if(Ft===null){ot===null&&(ot=Xt);break}t&&ot&&Ft.alternate===null&&e(C,ot),w=s(Ft,w,Nt),Wt===null?pt=Ft:Wt.sibling=Ft,Wt=Ft,ot=Xt}if(Nt===U.length)return n(C,ot),Zt&&Xn(C,Nt),pt;if(ot===null){for(;NtNt?(Xt=ot,ot=null):Xt=ot.sibling;var na=L(C,ot,Ft.value,V);if(na===null){ot===null&&(ot=Xt);break}t&&ot&&na.alternate===null&&e(C,ot),w=s(na,w,Nt),Wt===null?pt=na:Wt.sibling=na,Wt=na,ot=Xt}if(Ft.done)return n(C,ot),Zt&&Xn(C,Nt),pt;if(ot===null){for(;!Ft.done;Nt++,Ft=U.next())Ft=J(C,Ft.value,V),Ft!==null&&(w=s(Ft,w,Nt),Wt===null?pt=Ft:Wt.sibling=Ft,Wt=Ft);return Zt&&Xn(C,Nt),pt}for(ot=u(ot);!Ft.done;Nt++,Ft=U.next())Ft=G(ot,C,Nt,Ft.value,V),Ft!==null&&(t&&Ft.alternate!==null&&ot.delete(Ft.key===null?Nt:Ft.key),w=s(Ft,w,Nt),Wt===null?pt=Ft:Wt.sibling=Ft,Wt=Ft);return t&&ot.forEach(function(Ng){return e(C,Ng)}),Zt&&Xn(C,Nt),pt}function re(C,w,U,V){if(typeof U=="object"&&U!==null&&U.type===tt&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case rt:t:{for(var pt=U.key;w!==null;){if(w.key===pt){if(pt=U.type,pt===tt){if(w.tag===7){n(C,w.sibling),V=r(w,U.props.children),V.return=C,C=V;break t}}else if(w.elementType===pt||typeof pt=="object"&&pt!==null&&pt.$$typeof===te&&xl(pt)===w.type){n(C,w.sibling),V=r(w,U.props),Ol(V,U),V.return=C,C=V;break t}n(C,w);break}else e(C,w);w=w.sibling}U.type===tt?(V=Sa(U.props.children,C.mode,V,U.key),V.return=C,C=V):(V=Qf(U.type,U.key,U.props,null,C.mode,V),Ol(V,U),V.return=C,C=V)}return g(C);case X:t:{for(pt=U.key;w!==null;){if(w.key===pt)if(w.tag===4&&w.stateNode.containerInfo===U.containerInfo&&w.stateNode.implementation===U.implementation){n(C,w.sibling),V=r(w,U.children||[]),V.return=C,C=V;break t}else{n(C,w);break}else e(C,w);w=w.sibling}V=ur(U,C.mode,V),V.return=C,C=V}return g(C);case te:return U=xl(U),re(C,w,U,V)}if(en(U))return st(C,w,U,V);if(ze(U)){if(pt=ze(U),typeof pt!="function")throw Error(h(150));return U=pt.call(U),St(C,w,U,V)}if(typeof U.then=="function")return re(C,w,ai(U),V);if(U.$$typeof===ft)return re(C,w,cl(C,U),V);hn(C,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,w!==null&&w.tag===6?(n(C,w.sibling),V=r(w,U),V.return=C,C=V):(n(C,w),V=Fa(U,C.mode,V),V.return=C,C=V),g(C)):n(C,w)}return function(C,w,U,V){try{Qn=0;var pt=re(C,w,U,V);return ui=null,pt}catch(ot){if(ot===li||ot===fr)throw ot;var Wt=Fe(29,ot,null,C.mode);return Wt.lanes=V,Wt.return=C,Wt}finally{}}}var Lu=gh(!0),Qs=gh(!1),ol=!1;function Ql(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $f(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Hu(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function wl(t,e,n){var u=t.updateQueue;if(u===null)return null;if(u=u.shared,($t&2)!==0){var r=u.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),u.pending=e,e=nr(t),Hs(t,null,n),e}return va(t,u,e,n),nr(t)}function cr(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var u=e.lanes;u&=t.pendingLanes,n|=u,e.lanes=n,O0(t,n)}}function If(t,e){var n=t.updateQueue,u=t.alternate;if(u!==null&&(u=u.updateQueue,n===u)){var r=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var g={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?r=s=g:s=s.next=g,n=n.next}while(n!==null);s===null?r=s=e:s=s.next=e}else r=s=e;n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:s,shared:u.shared,callbacks:u.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Ge=!1;function xa(){if(Ge){var t=ni;if(t!==null)throw t}}function ii(t,e,n,u){Ge=!1;var r=t.updateQueue;ol=!1;var s=r.firstBaseUpdate,g=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var A=y,B=A.next;A.next=null,g===null?s=B:g.next=B,g=A;var K=t.alternate;K!==null&&(K=K.updateQueue,y=K.lastBaseUpdate,y!==g&&(y===null?K.firstBaseUpdate=B:y.next=B,K.lastBaseUpdate=A))}if(s!==null){var J=r.baseState;g=0,K=B=A=null,y=s;do{var L=y.lane&-536870913,G=L!==y.lane;if(G?(Yt&L)===L:(u&L)===L){L!==0&&L===ei&&(Ge=!0),K!==null&&(K=K.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var st=t,St=y;L=e;var re=n;switch(St.tag){case 1:if(st=St.payload,typeof st=="function"){J=st.call(re,J,L);break t}J=st;break t;case 3:st.flags=st.flags&-65537|128;case 0:if(st=St.payload,L=typeof st=="function"?st.call(re,J,L):st,L==null)break t;J=H({},J,L);break t;case 2:ol=!0}}L=y.callback,L!==null&&(t.flags|=64,G&&(t.flags|=8192),G=r.callbacks,G===null?r.callbacks=[L]:G.push(L))}else G={lane:L,tag:y.tag,payload:y.payload,callback:y.callback,next:null},K===null?(B=K=G,A=J):K=K.next=G,g|=L;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;G=y,y=G.next,G.next=null,r.lastBaseUpdate=G,r.shared.pending=null}}while(!0);K===null&&(A=J),r.baseState=A,r.firstBaseUpdate=B,r.lastBaseUpdate=K,s===null&&(r.shared.lanes=0),Ku|=g,t.lanes=g,t.memoizedState=J}}function Rl(t,e){if(typeof t!="function")throw Error(h(191,t));t.call(e)}function kf(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;ts?s:8;var g=Y.T,y={};Y.T=y,pi(t,!1,e,n);try{var A=r(),B=Y.S;if(B!==null&&B(y,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var K=W1(A,u);gi(t,e,K,$n(t))}else gi(t,e,u,$n(t))}catch(J){gi(t,e,{then:function(){},status:"rejected",reason:J},$n())}finally{et.p=s,g!==null&&y.types!==null&&(g.types=y.types),Y.T=g}}function cc(){}function Gu(t,e,n,u){if(t.tag!==5)throw Error(h(476));var r=io(t).queue;xh(t,r,e,ct,n===null?cc:function(){return ro(t),n(u)})}function io(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ct,baseState:ct,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zl,lastRenderedState:ct},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zl,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function ro(t){var e=io(t);e.next===null&&(e=t.alternate.memoizedState),gi(t,e.next.queue,{},$n())}function fo(){return $e(Di)}function co(){return De().memoizedState}function wa(){return De().memoizedState}function vr(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=$n();t=Hu(n);var u=wl(e,t,n);u!==null&&(wn(u,e,n),cr(u,e,n)),e={cache:Tl()},t.payload=e;return}e=e.return}}function k1(t,e,n){var u=$n();n={lane:u,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Sr(t)?_r(e,n):(n=Xf(t,e,n,u),n!==null&&(wn(n,t,u),sc(n,e,u)))}function so(t,e,n){var u=$n();gi(t,e,n,u)}function gi(t,e,n,u){var r={lane:u,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Sr(t))_r(e,r);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var g=e.lastRenderedState,y=s(g,n);if(r.hasEagerState=!0,r.eagerState=y,_e(y,g))return va(t,e,r,0),oe===null&&Al(),!1}catch{}finally{}if(n=Xf(t,e,r,u),n!==null)return wn(n,t,u),sc(n,e,u),!0}return!1}function pi(t,e,n,u){if(u={lane:2,revertLane:In(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Sr(t)){if(e)throw Error(h(479))}else e=Xf(t,n,u,2),e!==null&&wn(e,t,2)}function Sr(t){var e=t.alternate;return t===zt||e!==null&&e===zt}function _r(t,e){ri=hr=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function sc(t,e,n){if((n&4194048)!==0){var u=e.lanes;u&=t.pendingLanes,n|=u,e.lanes=n,O0(t,n)}}var Yu={readContext:$e,use:oi,useCallback:ve,useContext:ve,useEffect:ve,useImperativeHandle:ve,useLayoutEffect:ve,useInsertionEffect:ve,useMemo:ve,useReducer:ve,useRef:ve,useState:ve,useDebugValue:ve,useDeferredValue:ve,useTransition:ve,useSyncExternalStore:ve,useId:ve,useHostTransitionStatus:ve,useFormState:ve,useActionState:ve,useOptimistic:ve,useMemoCache:ve,useCacheRefresh:ve};Yu.useEffectEvent=ve;var Oh={readContext:$e,use:oi,useCallback:function(t,e){return nn().memoizedState=[t,e===void 0?null:e],t},useContext:$e,useEffect:no,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Cl(4194308,4,uo.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Cl(4194308,4,t,e)},useInsertionEffect:function(t,e){Cl(4,2,t,e)},useMemo:function(t,e){var n=nn();e=e===void 0?null:e;var u=t();if(Oa){ql(!0);try{t()}finally{ql(!1)}}return n.memoizedState=[u,e],u},useReducer:function(t,e,n){var u=nn();if(n!==void 0){var r=n(e);if(Oa){ql(!0);try{n(e)}finally{ql(!1)}}}else r=e;return u.memoizedState=u.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},u.queue=t,t=t.dispatch=k1.bind(null,zt,t),[u.memoizedState,t]},useRef:function(t){var e=nn();return t={current:t},e.memoizedState=t},useState:function(t){t=di(t);var e=t.queue,n=so.bind(null,zt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:fc,useDeferredValue:function(t,e){var n=nn();return gl(n,t,e)},useTransition:function(){var t=di(!1);return t=xh.bind(null,zt,t.queue,!0,!1),nn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var u=zt,r=nn();if(Zt){if(n===void 0)throw Error(h(407));n=n()}else{if(n=e(),oe===null)throw Error(h(349));(Yt&127)!==0||$s(u,e,n)}r.memoizedState=n;var s={value:n,getSnapshot:e};return r.queue=s,no(yh.bind(null,u,s,t),[t]),u.flags|=2048,Jn(9,{destroy:void 0},mh.bind(null,u,s,n,e),null),n},useId:function(){var t=nn(),e=oe.identifierPrefix;if(Zt){var n=rl,u=Yl;n=(u&~(1<<32-on(u)-1)).toString(32)+n,e="_"+e+"R_"+n,n=tc++,0<\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof u.is=="string"?g.createElement("select",{is:u.is}):g.createElement("select"),u.multiple?s.multiple=!0:u.size&&(s.size=u.size);break;default:s=typeof u.is=="string"?g.createElement(r,{is:u.is}):g.createElement(r)}}s[We]=e,s[yn]=u;t:for(g=e.child;g!==null;){if(g.tag===5||g.tag===6)s.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break t;for(;g.sibling===null;){if(g.return===null||g.return===e)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}e.stateNode=s;t:switch(Pe(s,r,u),r){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break t;case"img":u=!0;break t;default:u=!1}u&&du(e)}}return se(e),bo(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==u&&du(e);else{if(typeof u!="string"&&e.stateNode===null)throw Error(h(166));if(t=Tt.current,ba(e)){if(t=e.stateNode,n=e.memoizedProps,u=null,r=Be,r!==null)switch(r.tag){case 27:case 5:u=r.memoizedProps}t[We]=e,t=!!(t.nodeValue===n||u!==null&&u.suppressHydrationWarning===!0||pd(t.nodeValue,n)),t||Mu(e,!0)}else t=Fr(t).createTextNode(u),t[We]=e,e.stateNode=t}return se(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(u=ba(e),n!==null){if(t===null){if(!u)throw Error(h(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(h(557));t[We]=e}else v(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;se(e),t=!1}else n=Nu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(bn(e),e):(bn(e),null);if((e.flags&128)!==0)throw Error(h(558))}return se(e),null;case 13:if(u=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=ba(e),u!==null&&u.dehydrated!==null){if(t===null){if(!r)throw Error(h(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(h(317));r[We]=e}else v(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;se(e),r=!1}else r=Nu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),r=!0;if(!r)return e.flags&256?(bn(e),e):(bn(e),null)}return bn(e),(e.flags&128)!==0?(e.lanes=n,e):(n=u!==null,t=t!==null&&t.memoizedState!==null,n&&(u=e.child,r=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(r=u.alternate.memoizedState.cachePool.pool),s=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(s=u.memoizedState.cachePool.pool),s!==r&&(u.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Cr(e,e.updateQueue),se(e),null);case 4:return Vt(),t===null&&$o(e.stateNode.containerInfo),se(e),null;case 10:return cu(e.type),se(e),null;case 19:if(Q(Ce),u=e.memoizedState,u===null)return se(e),null;if(r=(e.flags&128)!==0,s=u.rendering,s===null)if(r)Dr(u,!1);else{if(Ee!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(s=Pf(t),s!==null){for(e.flags|=128,Dr(u,!1),t=s.updateQueue,e.updateQueue=t,Cr(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)rh(n,t),n=n.sibling;return lt(Ce,Ce.current&1|2),Zt&&Xn(e,u.treeForkCount),e.child}t=t.sibling}u.tail!==null&&Un()>Ca&&(e.flags|=128,r=!0,Dr(u,!1),e.lanes=4194304)}else{if(!r)if(t=Pf(s),t!==null){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,Cr(e,t),Dr(u,!0),u.tail===null&&u.tailMode==="hidden"&&!s.alternate&&!Zt)return se(e),null}else 2*Un()-u.renderingStartTime>Ca&&n!==536870912&&(e.flags|=128,r=!0,Dr(u,!1),e.lanes=4194304);u.isBackwards?(s.sibling=e.child,e.child=s):(t=u.last,t!==null?t.sibling=s:e.child=s,u.last=s)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Un(),t.sibling=null,n=Ce.current,lt(Ce,r?n&1|2:n&1),Zt&&Xn(e,u.treeForkCount),t):(se(e),null);case 22:case 23:return bn(e),sr(),u=e.memoizedState!==null,t!==null?t.memoizedState!==null!==u&&(e.flags|=8192):u&&(e.flags|=8192),u?(n&536870912)!==0&&(e.flags&128)===0&&(se(e),e.subtreeFlags&6&&(e.flags|=8192)):se(e),n=e.updateQueue,n!==null&&Cr(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),u=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(u=e.memoizedState.cachePool.pool),u!==n&&(e.flags|=2048),t!==null&&Q(Ta),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),cu(Le),se(e),null;case 25:return null;case 30:return null}throw Error(h(156,e.tag))}function Mr(t,e){switch(_a(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return cu(Le),Vt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return el(e),null;case 31:if(e.memoizedState!==null){if(bn(e),e.alternate===null)throw Error(h(340));v()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(bn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(h(340));v()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Q(Ce),null;case 4:return Vt(),null;case 10:return cu(e.type),null;case 22:case 23:return bn(e),sr(),t!==null&&Q(Ta),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return cu(Le),null;case 25:return null;default:return null}}function _c(t,e){switch(_a(e),e.tag){case 3:cu(Le),Vt();break;case 26:case 27:case 5:el(e);break;case 4:Vt();break;case 31:e.memoizedState!==null&&bn(e);break;case 13:bn(e);break;case 19:Q(Ce);break;case 10:cu(e.type);break;case 22:case 23:bn(e),sr(),t!==null&&Q(Ta);break;case 24:cu(Le)}}function yi(t,e){try{var n=e.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var r=u.next;n=r;do{if((n.tag&t)===t){u=void 0;var s=n.create,g=n.inst;u=s(),g.destroy=u}n=n.next}while(n!==r)}}catch(y){le(e,e.return,y)}}function gu(t,e,n){try{var u=e.updateQueue,r=u!==null?u.lastEffect:null;if(r!==null){var s=r.next;u=s;do{if((u.tag&t)===t){var g=u.inst,y=g.destroy;if(y!==void 0){g.destroy=void 0,r=e;var A=n,B=y;try{B()}catch(K){le(r,A,K)}}}u=u.next}while(u!==s)}}catch(K){le(e,e.return,K)}}function Nr(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{kf(e,n)}catch(u){le(t,t.return,u)}}}function Ao(t,e,n){n.props=gn(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(u){le(t,e,u)}}function An(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var u=t.stateNode;break;case 30:u=t.stateNode;break;default:u=t.stateNode}typeof n=="function"?t.refCleanup=n(u):n.current=u}}catch(r){le(t,e,r)}}function un(t,e){var n=t.ref,u=t.refCleanup;if(n!==null)if(typeof u=="function")try{u()}catch(r){le(t,e,r)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){le(t,e,r)}else n.current=null}function Bh(t){var e=t.type,n=t.memoizedProps,u=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&u.focus();break t;case"img":n.src?u.src=n.src:n.srcSet&&(u.srcset=n.srcSet)}}catch(r){le(t,t.return,r)}}function bc(t,e,n){try{var u=t.stateNode;dg(u,t.type,n,e),u[yn]=e}catch(r){le(t,t.return,r)}}function Lh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&bt(t.type)||t.tag===4}function To(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Lh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&bt(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function xo(t,e,n){var u=t.tag;if(u===5||u===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=nu));else if(u!==4&&(u===27&&bt(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(xo(t,e,n),t=t.sibling;t!==null;)xo(t,e,n),t=t.sibling}function Ec(t,e,n){var u=t.tag;if(u===5||u===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(u!==4&&(u===27&&bt(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Ec(t,e,n),t=t.sibling;t!==null;)Ec(t,e,n),t=t.sibling}function Hh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var u=t.type,r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Pe(e,u,n),e[We]=t,e[yn]=n}catch(s){le(t,t.return,s)}}var pu=!1,He=!1,Oo=!1,qh=typeof WeakSet=="function"?WeakSet:Set,Ze=null;function eg(t,e){if(t=t.containerInfo,Wr=Qc,t=lh(t),Ls(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var u=n.getSelection&&n.getSelection();if(u&&u.rangeCount!==0){n=u.anchorNode;var r=u.anchorOffset,s=u.focusNode;u=u.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break t}var g=0,y=-1,A=-1,B=0,K=0,J=t,L=null;e:for(;;){for(var G;J!==n||r!==0&&J.nodeType!==3||(y=g+r),J!==s||u!==0&&J.nodeType!==3||(A=g+u),J.nodeType===3&&(g+=J.nodeValue.length),(G=J.firstChild)!==null;)L=J,J=G;for(;;){if(J===t)break e;if(L===n&&++B===r&&(y=g),L===s&&++K===u&&(A=g),(G=J.nextSibling)!==null)break;J=L,L=J.parentNode}J=G}n=y===-1||A===-1?null:{start:y,end:A}}else n=null}n=n||{start:0,end:0}}else n=null;for(t0={focusedElem:t,selectionRange:n},Qc=!1,Ze=e;Ze!==null;)if(e=Ze,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ze=t;else for(;Ze!==null;){switch(e=Ze,s=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n title"))),Pe(s,u,n),s[We]=t,Qe(s),u=s;break t;case"link":var g=Rd("link","href",r).get(u+(n.href||""));if(g){for(var y=0;yre&&(g=re,re=St,St=g);var C=eh(y,St),w=eh(y,re);if(C&&w&&(G.rangeCount!==1||G.anchorNode!==C.node||G.anchorOffset!==C.offset||G.focusNode!==w.node||G.focusOffset!==w.offset)){var U=J.createRange();U.setStart(C.node,C.offset),G.removeAllRanges(),St>re?(G.addRange(U),G.extend(w.node,w.offset)):(U.setEnd(w.node,w.offset),G.addRange(U))}}}}for(J=[],G=y;G=G.parentNode;)G.nodeType===1&&J.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;yn?32:n,Y.T=null,n=Lo,Lo=null;var s=Ju,g=vu;if(Ye=0,bi=Ju=null,vu=0,($t&6)!==0)throw Error(h(331));var y=$t;if($t|=4,Vh(s.current),Qh(s,s.current,g,n),$t=y,Zr(0,!1),sn&&typeof sn.onPostCommitFiberRoot=="function")try{sn.onPostCommitFiberRoot(ra,s)}catch{}return!0}finally{et.p=r,Y.T=u,Xo(t,e)}}function Zo(t,e,n){e=Yn(n,e),e=po(t.stateNode,e,2),t=wl(t,e,2),t!==null&&(Yi(t,2),Wl(t))}function le(t,e,n){if(t.tag===3)Zo(t,t,n);else for(;e!==null;){if(e.tag===3){Zo(e,t,n);break}else if(e.tag===1){var u=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Vu===null||!Vu.has(u))){t=Yn(n,t),n=Kl(2),u=wl(e,n,2),u!==null&&(dc(n,u,e,t),Yi(u,2),Wl(u));break}}e=e.return}}function Ko(t,e,n){var u=t.pingCache;if(u===null){u=t.pingCache=new ug;var r=new Set;u.set(e,r)}else r=u.get(e),r===void 0&&(r=new Set,u.set(e,r));r.has(n)||(Mo=!0,r.add(n),t=fg.bind(null,t,e,n),e.then(t,t))}function fg(t,e,n){var u=t.pingCache;u!==null&&u.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,oe===t&&(Yt&n)===n&&(Ee===4||Ee===3&&(Yt&62914560)===Yt&&300>Un()-qr?($t&2)===0&&Ei(t,0):No|=n,_i===Yt&&(_i=0)),Wl(t)}function Qr(t,e){e===0&&(e=gs()),t=Gl(t,e),t!==null&&(Yi(t,e),Wl(t))}function Cc(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Qr(t,n)}function cg(t,e){var n=0;switch(t.tag){case 31:case 13:var u=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:u=t.stateNode;break;case 22:u=t.stateNode._retryCache;break;default:throw Error(h(314))}u!==null&&u.delete(e),Qr(t,n)}function sg(t,e){return ia(t,e)}var Ti=null,Da=null,Vo=!1,Dc=!1,Jo=!1,Wu=0;function Wl(t){t!==Da&&t.next===null&&(Da===null?Ti=Da=t:Da=Da.next=t),Dc=!0,Vo||(Vo=!0,hg())}function Zr(t,e){if(!Jo&&Dc){Jo=!0;do for(var n=!1,u=Ti;u!==null;){if(t!==0){var r=u.pendingLanes;if(r===0)var s=0;else{var g=u.suspendedLanes,y=u.pingedLanes;s=(1<<31-on(42|t)+1)-1,s&=r&~(g&~y),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(n=!0,cd(u,s))}else s=Yt,s=hf(u,u===oe?s:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(s&3)===0||Gi(u,s)||(n=!0,cd(u,s));u=u.next}while(n);Jo=!1}}function og(){id()}function id(){Dc=Vo=!1;var t=0;Wu!==0&&gg()&&(t=Wu);for(var e=Un(),n=null,u=Ti;u!==null;){var r=u.next,s=rd(u,e);s===0?(u.next=null,n===null?Ti=r:n.next=r,r===null&&(Da=n)):(n=u,(t!==0||(s&3)!==0)&&(Dc=!0)),u=r}Ye!==0&&Ye!==5||Zr(t),Wu!==0&&(Wu=0)}function rd(t,e){for(var n=t.suspendedLanes,u=t.pingedLanes,r=t.expirationTimes,s=t.pendingLanes&-62914561;0y)break;var K=A.transferSize,J=A.initiatorType;K&&Po(J)&&(A=A.responseEnd,g+=K*(A"u"?null:document;function Td(t,e,n){var u=Iu;if(u&&typeof e=="string"&&e){var r=Ln(e);r='link[rel="'+t+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),Ad.has(r)||(Ad.add(r),t={rel:t,crossOrigin:n,href:e},u.querySelector(r)===null&&(e=u.createElement("link"),Pe(e,"link",t),Qe(e),u.head.appendChild(e)))}}function u0(t){bu.D(t),Td("dns-prefetch",t,null)}function _g(t,e){bu.C(t,e),Td("preconnect",t,e)}function bg(t,e,n){bu.L(t,e,n);var u=Iu;if(u&&t&&e){var r='link[rel="preload"][as="'+Ln(e)+'"]';e==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ln(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ln(n.imageSizes)+'"]')):r+='[href="'+Ln(t)+'"]';var s=r;switch(e){case"style":s=Oi(t);break;case"script":s=Ri(t)}ml.has(s)||(t=H({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),ml.set(s,t),u.querySelector(r)!==null||e==="style"&&u.querySelector(wi(s))||e==="script"&&u.querySelector(zi(s))||(e=u.createElement("link"),Pe(e,"link",t),Qe(e),u.head.appendChild(e)))}}function Eg(t,e){bu.m(t,e);var n=Iu;if(n&&t){var u=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+Ln(u)+'"][href="'+Ln(t)+'"]',s=r;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Ri(t)}if(!ml.has(s)&&(t=H({rel:"modulepreload",href:t},e),ml.set(s,t),n.querySelector(r)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(zi(s)))return}u=n.createElement("link"),Pe(u,"link",t),Qe(u),n.head.appendChild(u)}}}function Ke(t,e,n){bu.S(t,e,n);var u=Iu;if(u&&t){var r=eu(u).hoistableStyles,s=Oi(t);e=e||"default";var g=r.get(s);if(!g){var y={loading:0,preload:null};if(g=u.querySelector(wi(s)))y.loading=5;else{t=H({rel:"stylesheet",href:t,"data-precedence":e},n),(n=ml.get(s))&&a0(t,n);var A=g=u.createElement("link");Qe(A),Pe(A,"link",t),A._p=new Promise(function(B,K){A.onload=B,A.onerror=K}),A.addEventListener("load",function(){y.loading|=1}),A.addEventListener("error",function(){y.loading|=2}),y.loading|=4,qc(g,e,u)}g={type:"stylesheet",instance:g,count:1,state:y},r.set(s,g)}}}function Cn(t,e){bu.X(t,e);var n=Iu;if(n&&t){var u=eu(n).hoistableScripts,r=Ri(t),s=u.get(r);s||(s=n.querySelector(zi(r)),s||(t=H({src:t,async:!0},e),(e=ml.get(r))&&jc(t,e),s=n.createElement("script"),Qe(s),Pe(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},u.set(r,s))}}function Ag(t,e){bu.M(t,e);var n=Iu;if(n&&t){var u=eu(n).hoistableScripts,r=Ri(t),s=u.get(r);s||(s=n.querySelector(zi(r)),s||(t=H({src:t,async:!0,type:"module"},e),(e=ml.get(r))&&jc(t,e),s=n.createElement("script"),Qe(s),Pe(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},u.set(r,s))}}function xd(t,e,n,u){var r=(r=Tt.current)?Hc(r):null;if(!r)throw Error(h(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Oi(n.href),n=eu(r).hoistableStyles,u=n.get(e),u||(u={type:"style",instance:null,count:0,state:null},n.set(e,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Oi(n.href);var s=eu(r).hoistableStyles,g=s.get(t);if(g||(r=r.ownerDocument||r,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(t,g),(s=r.querySelector(wi(t)))&&!s._p&&(g.instance=s,g.state.loading=5),ml.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},ml.set(t,n),s||Tg(r,t,n,g.state))),e&&u===null)throw Error(h(528,""));return g}if(e&&u!==null)throw Error(h(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ri(n),n=eu(r).hoistableScripts,u=n.get(e),u||(u={type:"script",instance:null,count:0,state:null},n.set(e,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(h(444,t))}}function Oi(t){return'href="'+Ln(t)+'"'}function wi(t){return'link[rel="stylesheet"]['+t+"]"}function Od(t){return H({},t,{"data-precedence":t.precedence,precedence:null})}function Tg(t,e,n,u){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?u.loading=1:(e=t.createElement("link"),u.preload=e,e.addEventListener("load",function(){return u.loading|=1}),e.addEventListener("error",function(){return u.loading|=2}),Pe(e,"link",n),Qe(e),t.head.appendChild(e))}function Ri(t){return'[src="'+Ln(t)+'"]'}function zi(t){return"script[async]"+t}function wd(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var u=t.querySelector('style[data-href~="'+Ln(n.href)+'"]');if(u)return e.instance=u,Qe(u),u;var r=H({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return u=(t.ownerDocument||t).createElement("style"),Qe(u),Pe(u,"style",r),qc(u,n.precedence,t),e.instance=u;case"stylesheet":r=Oi(n.href);var s=t.querySelector(wi(r));if(s)return e.state.loading|=4,e.instance=s,Qe(s),s;u=Od(n),(r=ml.get(r))&&a0(u,r),s=(t.ownerDocument||t).createElement("link"),Qe(s);var g=s;return g._p=new Promise(function(y,A){g.onload=y,g.onerror=A}),Pe(s,"link",u),e.state.loading|=4,qc(s,n.precedence,t),e.instance=s;case"script":return s=Ri(n.src),(r=t.querySelector(zi(s)))?(e.instance=r,Qe(r),r):(u=n,(r=ml.get(s))&&(u=H({},n),jc(u,r)),t=t.ownerDocument||t,r=t.createElement("script"),Qe(r),Pe(r,"link",u),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(h(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(u=e.instance,e.state.loading|=4,qc(u,n.precedence,t));return e.instance}function qc(t,e,n){for(var u=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=u.length?u[u.length-1]:null,s=r,g=0;g title"):null)}function xg(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Cd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Ci(t,e,n,u){if(n.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=Oi(u.href),s=e.querySelector(wi(r));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Gc.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=s,Qe(s);return}s=e.ownerDocument||e,u=Od(u),(r=ml.get(r))&&a0(u,r),s=s.createElement("link"),Qe(s);var g=s;g._p=new Promise(function(y,A){g.onload=y,g.onerror=A}),Pe(s,"link",u),n.instance=s}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Gc.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var i0=0;function Og(t,e){return t.stylesheets&&t.count===0&&Xc(t,t.stylesheets),0i0?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(u),clearTimeout(r)}}:null}function Gc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Yc=null;function Xc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Yc=new Map,e.forEach(Dd,t),Yc=null,Gc.call(t))}function Dd(t,e){if(!(e.state.loading&4)){var n=Yc.get(t);if(n)var u=n.get(null);else{n=new Map,Yc.set(t,n);for(var r=t.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Lg.exports=jy(),Lg.exports}var Yy=Gy();const pm="loadTrainSchedule",mm="loadTrainScheduleSuccess",ym="loadTrainScheduleError",vm="loadNews",Sm="loadNewsSuccess",_m="loadNewsError",bm="loadWeather",Em="loadWeatherSuccess",Am="loadWeatherError",Tm="loadGiteaIssue",xm="loadGiteaIssueSuccess",Om="loadGiteaIssueError",Fl={loadTrainSchedule:i=>({type:pm,...i}),loadTrainScheduleSuccess:i=>({type:mm,...i}),loadTrainScheduleError:i=>({type:ym,...i}),loadNews:i=>({type:vm,...i}),loadNewsSuccess:i=>({type:Sm,...i}),loadNewsError:i=>({type:_m,...i}),loadWeather:i=>({type:bm,...i}),loadWeatherSuccess:i=>({type:Em,...i}),loadWeatherError:i=>({type:Am,...i}),loadGiteaIssue:i=>({type:Tm,...i}),loadGiteaIssueSuccess:i=>({type:xm,...i}),loadGiteaIssueError:i=>({type:Om,...i})},Xy={departures:void 0,trainScheduleError:void 0,trainScheduleLoading:!1,news:void 0,newsError:void 0,newsLoading:!1,weather:void 0,weatherError:void 0,weatherLoading:!1,issues:void 0,issuesError:void 0,issuesLoading:!1,stations:void 0},Qy=(i,o)=>o.type===pm?{...i,trainScheduleError:void 0,trainScheduleLoading:!0}:o.type===mm?{...i,departures:o.departures,stations:o.stations,trainScheduleLoading:!1}:o.type===ym?{...i,trainScheduleError:o.error,trainScheduleLoading:!1}:o.type===vm?{...i,newsError:void 0,newsLoading:!0}:o.type===Sm?{...i,news:o.news,newsLoading:!1}:o.type===_m?{...i,newsError:o.error,newsLoading:!1}:o.type===bm?{...i,weatherError:void 0,weatherLoading:!0}:o.type===Em?{...i,weather:o.weather,weatherLoading:!1}:o.type===Am?{...i,weatherError:o.error,weatherLoading:!1}:o.type===Tm?{...i,issuesError:void 0,issuesLoading:!0}:o.type===xm?{...i,issues:o.data,issuesLoading:!1}:o.type===Om?{...i,issuesLoading:!1,issuesError:o.error}:i,Zy=(i,o)=>{console.log(`TS - ${o.type}`),console.log({action:o}),console.log({state:i});const c=Qy(i,o);return console.log({newState:c}),c};var m0={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */var Ky=m0.exports,zp;function Vy(){return zp||(zp=1,(function(i,o){(function(){var c,h="4.17.21",p=200,S="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",b="Expected a function",R="Invalid `variable` option passed into `_.template`",D="__lodash_hash_undefined__",T=500,N="__lodash_placeholder__",H=1,nt=2,rt=4,X=1,tt=2,I=1,ht=2,xt=4,ft=8,mt=16,_t=32,yt=64,k=128,te=256,Te=512,_l=30,rn="...",ze=800,fn=16,Ne=1,en=2,Y=3,et=1/0,ct=9007199254740991,Mt=17976931348623157e292,Ht=NaN,x=4294967295,Q=x-1,lt=x>>>1,at=[["ary",k],["bind",I],["bindKey",ht],["curry",ft],["curryRight",mt],["flip",Te],["partial",_t],["partialRight",yt],["rearg",te]],gt="[object Arguments]",Tt="[object Array]",Qt="[object AsyncFunction]",he="[object Boolean]",Vt="[object Date]",Il="[object DOMException]",el="[object Error]",cn="[object Function]",is="[object GeneratorFunction]",Je="[object Map]",aa="[object Number]",rs="[object Null]",kl="[object Object]",fs="[object Promise]",cs="[object Proxy]",ia="[object RegExp]",Nn="[object Set]",Li="[object String]",cf="[object Symbol]",Un="[object Undefined]",Hi="[object WeakMap]",x0="[object WeakSet]",Ha="[object ArrayBuffer]",Pl="[object DataView]",ss="[object Float32Array]",sf="[object Float64Array]",os="[object Int8Array]",hs="[object Int16Array]",ra="[object Int32Array]",sn="[object Uint8Array]",ql="[object Uint8ClampedArray]",on="[object Uint16Array]",ds="[object Uint32Array]",x1=/\b__p \+= '';/g,O1=/\b(__p \+=) '' \+/g,of=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qi=/&(?:amp|lt|gt|quot|#39);/g,ji=/[&<>"']/g,fa=RegExp(qi.source),hf=RegExp(ji.source),Gi=/<%-([\s\S]+?)%>/g,w1=/<%([\s\S]+?)%>/g,gs=/<%=([\s\S]+?)%>/g,ps=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yi=/^\w*$/,R1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,df=/[\\^$.*+?()[\]{}|]/g,O0=RegExp(df.source),gf=/^\s+/,ms=/\s/,ys=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,w0=/\{\n\/\* \[wrapped with (.+)\] \*/,R0=/,? & /,xu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,We=/[()=,{}\[\]\/\s]/,yn=/\\(\\)?/g,qa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pf=/\w*$/,z1=/^[-+]0x[0-9a-f]+$/i,C1=/^0b[01]+$/i,z0=/^\[object .+?Constructor\]$/,Xi=/^0o[0-7]+$/i,vs=/^(?:0|[1-9]\d*)$/,ja=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tu=/($^)/,Qi=/['\n\r\u2028\u2029\\]/g,eu="\\ud800-\\udfff",Qe="\\u0300-\\u036f",C0="\\ufe20-\\ufe2f",D0="\\u20d0-\\u20ff",Ou=Qe+C0+D0,ca="\\u2700-\\u27bf",M0="a-z\\xdf-\\xf6\\xf8-\\xff",N0="\\xac\\xb1\\xd7\\xf7",U0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",D1="\\u2000-\\u206f",mf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zi="A-Z\\xc0-\\xd6\\xd8-\\xde",jl="\\ufe0e\\ufe0f",Bn=N0+U0+D1+mf,yf="['’]",M1="["+eu+"]",vf="["+Bn+"]",Ki="["+Ou+"]",Vi="\\d+",N1="["+ca+"]",Ln="["+M0+"]",Sf="[^"+eu+Bn+Vi+ca+M0+Zi+"]",_f="\\ud83c[\\udffb-\\udfff]",Ss="(?:"+Ki+"|"+_f+")",sa="[^"+eu+"]",bf="(?:\\ud83c[\\udde6-\\uddff]){2}",Ef="[\\ud800-\\udbff][\\udc00-\\udfff]",bl="["+Zi+"]",B0="\\u200d",_s="(?:"+Ln+"|"+Sf+")",L0="(?:"+bl+"|"+Sf+")",Af="(?:"+yf+"(?:d|ll|m|re|s|t|ve))?",H0="(?:"+yf+"(?:D|LL|M|RE|S|T|VE))?",q0=Ss+"?",Ji="["+jl+"]?",nu="(?:"+B0+"(?:"+[sa,bf,Ef].join("|")+")"+Ji+q0+")*",bs="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Es="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",oa=Ji+q0+nu,Ga="(?:"+[N1,bf,Ef].join("|")+")"+oa,j0="(?:"+[sa+Ki+"?",Ki,bf,Ef,M1].join("|")+")",As=RegExp(yf,"g"),G0=RegExp(Ki,"g"),ha=RegExp(_f+"(?="+_f+")|"+j0+oa,"g"),lu=RegExp([bl+"?"+Ln+"+"+Af+"(?="+[vf,bl,"$"].join("|")+")",L0+"+"+H0+"(?="+[vf,bl+_s,"$"].join("|")+")",bl+"?"+_s+"+"+Af,bl+"+"+H0,Es,bs,Vi,Ga].join("|"),"g"),Ts=RegExp("["+B0+eu+Ou+jl+"]"),Wi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,wu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xs=-1,ue={};ue[ss]=ue[sf]=ue[os]=ue[hs]=ue[ra]=ue[sn]=ue[ql]=ue[on]=ue[ds]=!0,ue[gt]=ue[Tt]=ue[Ha]=ue[he]=ue[Pl]=ue[Vt]=ue[el]=ue[cn]=ue[Je]=ue[aa]=ue[kl]=ue[ia]=ue[Nn]=ue[Li]=ue[Hi]=!1;var ce={};ce[gt]=ce[Tt]=ce[Ha]=ce[Pl]=ce[he]=ce[Vt]=ce[ss]=ce[sf]=ce[os]=ce[hs]=ce[ra]=ce[Je]=ce[aa]=ce[kl]=ce[ia]=ce[Nn]=ce[Li]=ce[cf]=ce[sn]=ce[ql]=ce[on]=ce[ds]=!0,ce[el]=ce[cn]=ce[Hi]=!1;var Tf={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},xf={"&":"&","<":"<",">":">",'"':""","'":"'"},Y0={"&":"&","<":"<",">":">",""":'"',"'":"'"},vn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},da=parseFloat,Of=parseInt,Ya=typeof Zd=="object"&&Zd&&Zd.Object===Object&&Zd,U1=typeof self=="object"&&self&&self.Object===Object&&self,je=Ya||U1||Function("return this")(),Fi=o&&!o.nodeType&&o,El=Fi&&!0&&i&&!i.nodeType&&i,$i=El&&El.exports===Fi,wf=$i&&Ya.process,nl=(function(){try{var z=El&&El.require&&El.require("util").types;return z||wf&&wf.binding&&wf.binding("util")}catch{}})(),X0=nl&&nl.isArrayBuffer,Q0=nl&&nl.isDate,Rf=nl&&nl.isMap,Z0=nl&&nl.isRegExp,K0=nl&&nl.isSet,V0=nl&&nl.isTypedArray;function Hn(z,Z,q){switch(q.length){case 0:return z.call(Z);case 1:return z.call(Z,q[0]);case 2:return z.call(Z,q[0],q[1]);case 3:return z.call(Z,q[0],q[1],q[2])}return z.apply(Z,q)}function B1(z,Z,q,it){for(var Ot=-1,qt=z==null?0:z.length;++Ot-1}function Ii(z,Z,q){for(var it=-1,Ot=z==null?0:z.length;++it-1;);return q}function Ms(z,Z){for(var q=z.length;q--&&Xa(Z,z[q],0)>-1;);return q}function Pi(z,Z){for(var q=z.length,it=0;q--;)z[q]===Z&&++it;return it}var tr=Rs(Tf),Y1=Rs(xf);function Uf(z){return"\\"+vn[z]}function P0(z,Z){return z==null?c:z[Z]}function ma(z){return Ts.test(z)}function Ns(z){return Wi.test(z)}function Us(z){for(var Z,q=[];!(Z=z.next()).done;)q.push(Z.value);return q}function Bf(z){var Z=-1,q=Array(z.size);return z.forEach(function(it,Ot){q[++Z]=[Ot,it]}),q}function Bs(z,Z){return function(q){return z(Z(q))}}function uu(z,Z){for(var q=-1,it=z.length,Ot=0,qt=[];++q-1}function Le(l,a){var f=this.__data__,d=Xl(f,l);return d<0?(++this.size,f.push([l,a])):f[d][1]=a,this}cl.prototype.clear=ch,cl.prototype.delete=K1,cl.prototype.get=V1,cl.prototype.has=J1,cl.prototype.set=Le;function Tl(l){var a=-1,f=l==null?0:l.length;for(this.clear();++a=a?l:a)),l}function hn(l,a,f,d,m,_){var E,O=a&H,M=a&nt,W=a&rt;if(f&&(E=m?f(l,d,m,_):f(l)),E!==c)return E;if(!Se(l))return l;var F=wt(l);if(F){if(E=Ch(l),!O)return dn(l,E)}else{var $=ke(l),ut=$==cn||$==is;if(Fu(l))return no(l,O);if($==kl||$==gt||ut&&!m){if(E=M||ut?{}:yo(l),!O)return M?xh(l,ui(E,l)):Th(l,Xs(E,l))}else{if(!ce[$])return m?l:{};E=Dh(l,$,O)}}_||(_=new sl);var dt=_.get(l);if(dt)return dt;_.set(l,E),Fr(l)?l.forEach(function(At){E.add(hn(At,a,f,At,l,_))}):dd(l)&&l.forEach(function(At,Kt){E.set(Kt,hn(At,a,f,Kt,l,_))});var Et=W?M?mo:dc:M?Cn:Ke,Bt=F?c:Et(l);return qn(Bt||l,function(At,Kt){Bt&&(Kt=At,At=l[Kt]),xl(E,Kt,hn(At,a,f,Kt,l,_))}),E}function gh(l){var a=Ke(l);return function(f){return Lu(f,l,a)}}function Lu(l,a,f){var d=f.length;if(l==null)return!d;for(l=ee(l);d--;){var m=f[d],_=a[m],E=l[m];if(E===c&&!(m in l)||!_(E))return!1}return!0}function Qs(l,a,f){if(typeof l!="function")throw new Gn(b);return Mr(function(){l.apply(c,f)},a)}function ol(l,a,f,d){var m=-1,_=zf,E=!0,O=l.length,M=[],W=a.length;if(!O)return M;f&&(a=me(a,jn(f))),d?(_=Ii,E=!1):a.length>=p&&(_=ki,E=!1,a=new Aa(a));t:for(;++mm?0:m+f),d=d===c||d>m?m:bt(d),d<0&&(d+=m),d=f>d?0:n0(d);f0&&f(O)?a>1?Ge(O,a-1,f,d,m):zu(m,O):d||(m[m.length]=O)}return m}var xa=ro(),ii=ro(!0);function Rl(l,a){return l&&xa(l,a,Ke)}function kf(l,a){return l&&ii(l,a,Ke)}function ou(l,a){return Ru(a,function(f){return kn(l[f])})}function Zl(l,a){a=Jn(a,l);for(var f=0,d=a.length;l!=null&&fa}function Zn(l,a){return l!=null&&It.call(l,a)}function hl(l,a){return l!=null&&a in ee(l)}function qu(l,a,f){return l>=Ue(a,f)&&l=120&&F.length>=120)?new Aa(E&&F):c}F=l[0];var $=-1,ut=O[0];t:for(;++$-1;)O!==l&&au.call(O,M,1),au.call(l,M,1);return l}function si(l,a){for(var f=l?a.length:0,d=f-1;f--;){var m=a[f];if(f==d||m!==_){var _=m;Dl(m)?au.call(l,m,1):gr(l,m)}}return l}function oi(l,a){return l+lr(ru()*(a-l+1))}function Js(l,a,f,d){for(var m=-1,_=xe(Fa((a-l)/(f||1)),0),E=q(_);_--;)E[d?_:++m]=l,l+=f;return E}function zl(l,a){var f="";if(!l||a<1||a>ct)return f;do a%2&&(f+=l),a=lr(a/2),a&&(l+=l);while(a);return f}function Ct(l,a){return _c(Eo(l,a,pn),l+"")}function Ws(l){return fr(Ci(l))}function Fs(l,a){var f=Ci(l);return Nr(f,Ol(a,0,f.length))}function hi(l,a,f,d){if(!Se(l))return l;a=Jn(a,l);for(var m=-1,_=a.length,E=_-1,O=l;O!=null&&++m<_;){var M=An(a[m]),W=f;if(M==="__proto__"||M==="constructor"||M==="prototype")return l;if(m!=E){var F=O[M];W=d?d(F,M,O):c,W===c&&(W=Se(F)?F:Dl(a[m+1])?[]:{})}xl(O,M,W),O=O[M]}return l}var $s=Be?function(l,a){return Be.set(l,a),l}:pn,mh=ul?function(l,a){return ul(l,"toString",{configurable:!0,enumerable:!1,value:Mi(a),writable:!0})}:pn;function yh(l){return Nr(Ci(l))}function Vn(l,a,f){var d=-1,m=l.length;a<0&&(a=-a>m?0:m+a),f=f>m?m:f,f<0&&(f+=m),m=a>f?0:f-a>>>0,a>>>=0;for(var _=q(m);++d>>1,E=l[_];E!==null&&!zn(E)&&(f?E<=a:E=p){var W=a?null:wh(l);if(W)return Lf(W);E=!1,m=ki,M=new Aa}else M=a?[]:O;t:for(;++d<_;){var F=l[d],$=a?a(F):F;if(F=f||F!==0?F:0,E&&$===$){for(var ut=M.length;ut--;)if(M[ut]===$)continue t;a&&M.push($),O.push(F)}else m(M,$,f)||(M!==O&&M.push($),O.push(F))}return O}function gr(l,a){return a=Jn(a,l),l=Cr(l,a),l==null||delete l[An(ge(a))]}function ks(l,a,f,d){return hi(l,a,f(Zl(l,a)),d)}function pr(l,a,f,d){for(var m=l.length,_=d?m:-1;(d?_--:++_=d?l:Vn(l,a,f)}var mr=rh||function(l){return je.clearTimeout(l)};function no(l,a){if(a)return l.slice();var f=l.length,d=Xf?Xf(f):new l.constructor(f);return l.copy(d),d}function yr(l){var a=new l.constructor(l.byteLength);return new va(a).set(new va(l)),a}function I1(l,a){var f=a?yr(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.byteLength)}function bh(l){var a=new l.constructor(l.source,pf.exec(l));return a.lastIndex=l.lastIndex,a}function Eh(l){return Pa?ee(Pa.call(l)):{}}function lo(l,a){var f=a?yr(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}function uo(l,a){if(l!==a){var f=l!==c,d=l===null,m=l===l,_=zn(l),E=a!==c,O=a===null,M=a===a,W=zn(a);if(!O&&!W&&!_&&l>a||_&&E&&M&&!O&&!W||d&&E&&M||!f&&M||!m)return 1;if(!d&&!_&&!W&&l=O)return M;var W=f[d];return M*(W=="desc"?-1:1)}}return l.index-a.index}function fc(l,a,f,d){for(var m=-1,_=l.length,E=f.length,O=-1,M=a.length,W=xe(_-E,0),F=q(M+W),$=!d;++O1?f[m-1]:c,E=m>2?f[2]:c;for(_=l.length>3&&typeof _=="function"?(m--,_):c,E&&ln(f[0],f[1],E)&&(_=m<3?c:_,m=1),a=ee(a);++d-1?m[_?a[E]:E]:c}}function gi(l){return Kl(function(a){var f=a.length,d=f,m=_n.prototype.thru;for(l&&a.reverse();d--;){var _=a[d];if(typeof _!="function")throw new Gn(b);if(m&&!E&&be(_)=="wrapper")var E=new _n([],!0)}for(d=E?d:f;++d1&&Jt.reverse(),F&&MO))return!1;var W=_.get(l),F=_.get(a);if(W&&F)return W==a&&F==l;var $=-1,ut=!0,dt=f&tt?new Aa:c;for(_.set(l,a),_.set(a,l);++$1?"& ":"")+a[d],a=a.join(f>2?", ":" "),l.replace(ys,`{ /* [wrapped with `+a+`] */ `)}function So(l){return wt(l)||Ma(l)||!!(ih&&l&&l[ih])}function Dl(l,a){var f=typeof l;return a=a??ct,!!a&&(f=="number"||f!="symbol"&&vs.test(l))&&l>-1&&l%1==0&&l0){if(++a>=ze)return arguments[0]}else a=0;return l.apply(c,arguments)}}function Nr(l,a){var f=-1,d=l.length,m=d-1;for(a=a===c?d:a;++f1?l[a-1]:c;return f=typeof f=="function"?(l.pop(),f):c,Ee(l,f)});function qr(l){var a=v(l);return a.__chain__=!0,a}function Wh(l,a){return a(l),l}function Ca(l,a){return a(l)}var xc=Kl(function(l){var a=l.length,f=a?l[0]:0,d=this.__wrapped__,m=function(_){return ai(_,l)};return a>1||this.__actions__.length||!(d instanceof Rt)||!Dl(f)?this.thru(m):(d=d.slice(f,+f+(a?1:0)),d.__actions__.push({func:Ca,args:[m],thisArg:c}),new _n(d,this.__chain__).thru(function(_){return a&&!_.length&&_.push(c),_}))});function Vu(){return qr(this)}function Ye(){return new _n(this.value(),this.__chain__)}function Ju(){this.__values__===c&&(this.__values__=vd(this.value()));var l=this.__index__>=this.__values__.length,a=l?c:this.__values__[this.__index__++];return{done:l,value:a}}function bi(){return this}function vu(l){for(var a,f=this;f instanceof Uu;){var d=bc(f);d.__index__=0,d.__values__=c,a?m.__wrapped__=d:a=d;var m=d;f=f.__wrapped__}return m.__wrapped__=l,a}function Bo(){var l=this.__wrapped__;if(l instanceof Rt){var a=l;return this.__actions__.length&&(a=new Rt(this)),a=a.reverse(),a.__actions__.push({func:Ca,args:[Qu],thisArg:c}),new _n(a,this.__chain__)}return this.thru(Qu)}function Lo(){return Ps(this.__wrapped__,this.__actions__)}var Fh=cc(function(l,a,f){It.call(l,f)?++l[f]:Qn(l,f,1)});function jr(l,a,f){var d=wt(l)?J0:Hu;return f&&ln(l,a,f)&&(a=c),d(l,vt(a,3))}function Ho(l,a){var f=wt(l)?Ru:If;return f(l,vt(a,3))}var $n=so(wo),$h=so(Ro);function wn(l,a){return Ge(Gr(l,a),1)}function Ih(l,a){return Ge(Gr(l,a),et)}function kh(l,a,f){return f=f===c?1:bt(f),Ge(Gr(l,a),f)}function Ph(l,a){var f=wt(l)?qn:Ql;return f(l,vt(a,3))}function Su(l,a){var f=wt(l)?L1:$f;return f(l,vt(a,3))}var Oc=cc(function(l,a,f){It.call(l,f)?l[f].push(a):Qn(l,f,[a])});function qo(l,a,f,d){l=Rn(l)?l:Ci(l),f=f&&!d?bt(f):0;var m=l.length;return f<0&&(f=xe(m+f,0)),$r(l)?f<=m&&l.indexOf(a,f)>-1:!!m&&Xa(l,a,f)>-1}var Ei=Ct(function(l,a,f){var d=-1,m=typeof a=="function",_=Rn(l)?q(l.length):[];return Ql(l,function(E){_[++d]=m?Hn(a,E,f):dl(E,a,f)}),_}),td=cc(function(l,a,f){Qn(l,f,a)});function Gr(l,a){var f=wt(l)?me:ec;return f(l,vt(a,3))}function ed(l,a,f,d){return l==null?[]:(wt(a)||(a=a==null?[]:[a]),f=d?c:f,wt(f)||(f=f==null?[]:[f]),uc(l,a,f))}var nd=cc(function(l,a,f){l[f?0:1].push(a)},function(){return[[],[]]});function wc(l,a,f){var d=wt(l)?Os:zs,m=arguments.length<3;return d(l,vt(a,4),f,m,Ql)}function jo(l,a,f){var d=wt(l)?W0:zs,m=arguments.length<3;return d(l,vt(a,4),f,m,$f)}function ag(l,a){var f=wt(l)?Ru:If;return f(l,Cc(vt(a,3)))}function ig(l){var a=wt(l)?fr:Ws;return a(l)}function rg(l,a,f){(f?ln(l,a,f):a===c)?a=1:a=bt(a);var d=wt(l)?Wf:Fs;return d(l,a)}function ld(l){var a=wt(l)?hh:yh;return a(l)}function ud(l){if(l==null)return 0;if(Rn(l))return $r(l)?Qa(l):l.length;var a=ke(l);return a==Je||a==Nn?l.size:ju(l).length}function Ai(l,a,f){var d=wt(l)?ws:vh;return f&&ln(l,a,f)&&(a=c),d(l,vt(a,3))}var Rc=Ct(function(l,a){if(l==null)return[];var f=a.length;return f>1&&ln(l,a[0],a[1])?a=[]:f>2&&ln(a[0],a[1],a[2])&&(a=[a[0]]),uc(l,Ge(a,1),[])}),Yr=Qf||function(){return je.Date.now()};function ad(l,a){if(typeof a!="function")throw new Gn(b);return l=bt(l),function(){if(--l<1)return a.apply(this,arguments)}}function Go(l,a,f){return a=f?c:a,a=l&&a==null?l.length:a,gn(l,k,c,c,c,c,a)}function Yo(l,a){var f;if(typeof a!="function")throw new Gn(b);return l=bt(l),function(){return--l>0&&(f=a.apply(this,arguments)),l<=1&&(a=c),f}}var zc=Ct(function(l,a,f){var d=I;if(f.length){var m=uu(f,we(zc));d|=_t}return gn(l,d,a,f,m)}),Xo=Ct(function(l,a,f){var d=I|ht;if(f.length){var m=uu(f,we(Xo));d|=_t}return gn(a,d,l,f,m)});function Xr(l,a,f){a=f?c:a;var d=gn(l,ft,c,c,c,c,c,a);return d.placeholder=Xr.placeholder,d}function Qo(l,a,f){a=f?c:a;var d=gn(l,mt,c,c,c,c,c,a);return d.placeholder=Qo.placeholder,d}function Zo(l,a,f){var d,m,_,E,O,M,W=0,F=!1,$=!1,ut=!0;if(typeof l!="function")throw new Gn(b);a=Pn(a)||0,Se(f)&&(F=!!f.leading,$="maxWait"in f,_=$?xe(Pn(f.maxWait)||0,a):_,ut="trailing"in f?!!f.trailing:ut);function dt(Xe){var Eu=d,Ua=m;return d=m=c,W=Xe,E=l.apply(Ua,Eu),E}function Et(Xe){return W=Xe,O=Mr(Kt,a),F?dt(Xe):E}function Bt(Xe){var Eu=Xe-M,Ua=Xe-W,vp=a-Eu;return $?Ue(vp,_-Ua):vp}function At(Xe){var Eu=Xe-M,Ua=Xe-W;return M===c||Eu>=a||Eu<0||$&&Ua>=_}function Kt(){var Xe=Yr();if(At(Xe))return Jt(Xe);O=Mr(Kt,Bt(Xe))}function Jt(Xe){return O=c,ut&&d?dt(Xe):(d=m=c,E)}function Bl(){O!==c&&mr(O),W=0,d=M=m=O=c}function tl(){return O===c?E:Jt(Yr())}function Ll(){var Xe=Yr(),Eu=At(Xe);if(d=arguments,m=this,M=Xe,Eu){if(O===c)return Et(M);if($)return mr(O),O=Mr(Kt,a),dt(M)}return O===c&&(O=Mr(Kt,a)),E}return Ll.cancel=Bl,Ll.flush=tl,Ll}var le=Ct(function(l,a){return Qs(l,1,a)}),Ko=Ct(function(l,a,f){return Qs(l,Pn(a)||0,f)});function fg(l){return gn(l,Te)}function Qr(l,a){if(typeof l!="function"||a!=null&&typeof a!="function")throw new Gn(b);var f=function(){var d=arguments,m=a?a.apply(this,d):d[0],_=f.cache;if(_.has(m))return _.get(m);var E=l.apply(this,d);return f.cache=_.set(m,E)||_,E};return f.cache=new(Qr.Cache||Tl),f}Qr.Cache=Tl;function Cc(l){if(typeof l!="function")throw new Gn(b);return function(){var a=arguments;switch(a.length){case 0:return!l.call(this);case 1:return!l.call(this,a[0]);case 2:return!l.call(this,a[0],a[1]);case 3:return!l.call(this,a[0],a[1],a[2])}return!l.apply(this,a)}}function cg(l){return Yo(2,l)}var sg=_h(function(l,a){a=a.length==1&&wt(a[0])?me(a[0],jn(vt())):me(Ge(a,1),jn(vt()));var f=a.length;return Ct(function(d){for(var m=-1,_=Ue(d.length,f);++m<_;)d[m]=a[m].call(this,d[m]);return Hn(l,this,d)})}),Ti=Ct(function(l,a){var f=uu(a,we(Ti));return gn(l,_t,c,a,f)}),Da=Ct(function(l,a){var f=uu(a,we(Da));return gn(l,yt,c,a,f)}),Vo=Kl(function(l,a){return gn(l,te,c,c,c,a)});function Dc(l,a){if(typeof l!="function")throw new Gn(b);return a=a===c?a:bt(a),Ct(l,a)}function Jo(l,a){if(typeof l!="function")throw new Gn(b);return a=a==null?0:xe(bt(a),0),Ct(function(f){var d=f[a],m=Cl(f,0,a);return d&&zu(m,d),Hn(l,this,m)})}function Wu(l,a,f){var d=!0,m=!0;if(typeof l!="function")throw new Gn(b);return Se(f)&&(d="leading"in f?!!f.leading:d,m="trailing"in f?!!f.trailing:m),Zo(l,a,{leading:d,maxWait:a,trailing:m})}function Wl(l){return Go(l,1)}function Zr(l,a){return Ti(rc(a),l)}function og(){if(!arguments.length)return[];var l=arguments[0];return wt(l)?l:[l]}function id(l){return hn(l,rt)}function rd(l,a){return a=typeof a=="function"?a:c,hn(l,rt,a)}function fd(l){return hn(l,H|rt)}function cd(l,a){return a=typeof a=="function"?a:c,hn(l,H|rt,a)}function hg(l,a){return a==null||Lu(l,a,Ke(a))}function In(l,a){return l===a||l!==l&&a!==a}var sd=br(sr),od=br(function(l,a){return l>=a}),Ma=bn((function(){return arguments})())?bn:function(l){return Re(l)&&It.call(l,"callee")&&!nr.call(l,"callee")},wt=q.isArray,Wo=X0?jn(X0):Ce;function Rn(l){return l!=null&&Uc(l.length)&&!kn(l)}function Me(l){return Re(l)&&Rn(l)}function Kr(l){return l===!0||l===!1||Re(l)&&Ie(l)==he}var Fu=fh||L,hd=Q0?jn(Q0):Pf;function Gt(l){return Re(l)&&l.nodeType===1&&!Jr(l)}function Fo(l){if(l==null)return!0;if(Rn(l)&&(wt(l)||typeof l=="string"||typeof l.splice=="function"||Fu(l)||$u(l)||Ma(l)))return!l.length;var a=ke(l);if(a==Je||a==Nn)return!l.size;if(mi(l))return!ju(l).length;for(var f in l)if(It.call(l,f))return!1;return!0}function Mc(l,a){return Kn(l,a)}function $o(l,a,f){f=typeof f=="function"?f:c;var d=f?f(l,a):c;return d===c?Kn(l,a,c,f):!!d}function Nc(l){if(!Re(l))return!1;var a=Ie(l);return a==el||a==Il||typeof l.message=="string"&&typeof l.name=="string"&&!Jr(l)}function Io(l){return typeof l=="number"&&Yn(l)}function kn(l){if(!Se(l))return!1;var a=Ie(l);return a==cn||a==is||a==Qt||a==cs}function Vr(l){return typeof l=="number"&&l==bt(l)}function Uc(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=ct}function Se(l){var a=typeof l;return l!=null&&(a=="object"||a=="function")}function Re(l){return l!=null&&typeof l=="object"}var dd=Rf?jn(Rf):ae;function gd(l,a){return l===a||Oe(l,a,gc(a))}function pd(l,a,f){return f=typeof f=="function"?f:c,Oe(l,a,gc(a),f)}function ie(l){return Po(l)&&l!=+l}function ko(l){if(_o(l))throw new Ot(S);return hr(l)}function Pe(l){return l===null}function dg(l){return l==null}function Po(l){return typeof l=="number"||Re(l)&&Ie(l)==aa}function Jr(l){if(!Re(l)||Ie(l)!=kl)return!1;var a=Gl(l);if(a===null)return!0;var f=It.call(a,"constructor")&&a.constructor;return typeof f=="function"&&f instanceof f&&jf.call(f)==Yf}var Wr=Z0?jn(Z0):ri;function t0(l){return Vr(l)&&l>=-ct&&l<=ct}var Fr=K0?jn(K0):Oa;function $r(l){return typeof l=="string"||!wt(l)&&Re(l)&&Ie(l)==Li}function zn(l){return typeof l=="symbol"||Re(l)&&Ie(l)==cf}var $u=V0?jn(V0):tc;function e0(l){return l===c}function gg(l){return Re(l)&&ke(l)==Hi}function md(l){return Re(l)&&Ie(l)==x0}var pg=br(ve),yd=br(function(l,a){return l<=a});function vd(l){if(!l)return[];if(Rn(l))return $r(l)?_e(l):dn(l);if(Fe&&l[Fe])return Us(l[Fe]());var a=ke(l),f=a==Je?Bf:a==Nn?Lf:Ci;return f(l)}function _u(l){if(!l)return l===0?l:0;if(l=Pn(l),l===et||l===-et){var a=l<0?-1:1;return a*Mt}return l===l?l:0}function bt(l){var a=_u(l),f=a%1;return a===a?f?a-f:a:0}function n0(l){return l?Ol(bt(l),0,x):0}function Pn(l){if(typeof l=="number")return l;if(zn(l))return Ht;if(Se(l)){var a=typeof l.valueOf=="function"?l.valueOf():l;l=Se(a)?a+"":a}if(typeof l!="string")return l===0?l:+l;l=pa(l);var f=C1.test(l);return f||Xi.test(l)?Of(l.slice(2),f?2:8):z1.test(l)?Ht:+l}function Bc(l){return gl(l,Cn(l))}function mg(l){return l?Ol(bt(l),-ct,ct):l===0?l:0}function Pt(l){return l==null?"":En(l)}var Sd=Gu(function(l,a){if(mi(a)||Rn(a)){gl(a,Ke(a),l);return}for(var f in a)It.call(a,f)&&xl(l,f,a[f])}),Lc=Gu(function(l,a){gl(a,Cn(a),l)}),xi=Gu(function(l,a,f,d){gl(a,Cn(a),l,d)}),yg=Gu(function(l,a,f,d){gl(a,Ke(a),l,d)}),pl=Kl(ai);function l0(l,a){var f=Nu(l);return a==null?f:Xs(f,a)}var _d=Ct(function(l,a){l=ee(l);var f=-1,d=a.length,m=d>2?a[2]:c;for(m&&ln(a[0],a[1],m)&&(d=1);++f1),_}),gl(l,mo(l),f),d&&(f=hn(f,H|nt|rt,Rh));for(var m=a.length;m--;)gr(f,a[m]);return f});function Tg(l,a){return zi(l,Cc(vt(a)))}var Ri=Kl(function(l,a){return l==null?{}:Vs(l,a)});function zi(l,a){if(l==null)return{};var f=me(mo(l),function(d){return[d]});return a=vt(a),nn(l,f,function(d,m){return a(d,m[0])})}function wd(l,a,f){a=Jn(a,l);var d=-1,m=a.length;for(m||(m=1,l=c);++da){var d=l;l=a,a=d}if(f||l%1||a%1){var m=ru();return Ue(l+m*(a-l+da("1e-"+((m+"").length-1))),a)}return oi(l,a)}var Xc=wa(function(l,a,f){return a=a.toLowerCase(),l+(f?Dd(a):a)});function Dd(l){return Na(Pt(l).toLowerCase())}function Di(l){return l=Pt(l),l&&l.replace(ja,tr).replace(G0,"")}function wg(l,a,f){l=Pt(l),a=En(a);var d=l.length;f=f===c?d:Ol(bt(f),0,d);var m=f;return f-=a.length,f>=0&&l.slice(f,m)==a}function Md(l){return l=Pt(l),l&&hf.test(l)?l.replace(ji,Y1):l}function Nd(l){return l=Pt(l),l&&O0.test(l)?l.replace(df,"\\$&"):l}var Ud=wa(function(l,a,f){return l+(f?"-":"")+a.toLowerCase()}),Bd=wa(function(l,a,f){return l+(f?" ":"")+a.toLowerCase()}),r0=co("toLowerCase");function Ld(l,a,f){l=Pt(l),a=bt(a);var d=a?Qa(l):0;if(!a||d>=a)return l;var m=(a-d)/2;return Yu(lr(m),f)+l+Yu(Fa(m),f)}function Hd(l,a,f){l=Pt(l),a=bt(a);var d=a?Qa(l):0;return a&&d>>0,f?(l=Pt(l),l&&(typeof a=="string"||a!=null&&!Wr(a))&&(a=En(a),!a&&ma(l))?Cl(_e(l),0,f):l.split(a,f)):[]}var s0=wa(function(l,a,f){return l+(f?" ":"")+Na(a)});function qd(l,a,f){return l=Pt(l),f=f==null?0:Ol(bt(f),0,l.length),a=En(a),l.slice(f,f+a.length)==a}function o0(l,a,f){var d=v.templateSettings;f&&ln(l,a,f)&&(a=c),l=Pt(l),a=xi({},a,d,ho);var m=xi({},a.imports,d.imports,ho),_=Ke(m),E=Cs(m,_),O,M,W=0,F=a.interpolate||tu,$="__p += '",ut=Hf((a.escape||tu).source+"|"+F.source+"|"+(F===gs?qa:tu).source+"|"+(a.evaluate||tu).source+"|$","g"),dt="//# sourceURL="+(It.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xs+"]")+` `;l.replace(ut,function(At,Kt,Jt,Bl,tl,Ll){return Jt||(Jt=Bl),$+=l.slice(W,Ll).replace(Qi,Uf),Kt&&(O=!0,$+=`' + __e(`+Kt+`) + '`),tl&&(M=!0,$+=`'; `+tl+`; __p += '`),Jt&&($+=`' + ((__t = (`+Jt+`)) == null ? '' : __t) + '`),W=Ll+At.length,At}),$+=`'; `;var Et=It.call(a,"variable")&&a.variable;if(!Et)$=`with (obj) { `+$+` } `;else if(We.test(Et))throw new Ot(R);$=(M?$.replace(x1,""):$).replace(O1,"$1").replace(of,"$1;"),$="function("+(Et||"obj")+`) { `+(Et?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(O?", __e = _.escape":"")+(M?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+$+`return __p }`;var Bt=h0(function(){return qt(_,dt+"return "+$).apply(c,E)});if(Bt.source=$,Nc(Bt))throw Bt;return Bt}function ku(l){return Pt(l).toLowerCase()}function Pu(l){return Pt(l).toUpperCase()}function ta(l,a,f){if(l=Pt(l),l&&(f||a===c))return pa(l);if(!l||!(a=En(a)))return l;var d=_e(l),m=_e(a),_=Ds(d,m),E=Ms(d,m)+1;return Cl(d,_,E).join("")}function Pr(l,a,f){if(l=Pt(l),l&&(f||a===c))return l.slice(0,Za(l)+1);if(!l||!(a=En(a)))return l;var d=_e(l),m=Ms(d,_e(a))+1;return Cl(d,0,m).join("")}function tf(l,a,f){if(l=Pt(l),l&&(f||a===c))return l.replace(gf,"");if(!l||!(a=En(a)))return l;var d=_e(l),m=Ds(d,_e(a));return Cl(d,m).join("")}function ea(l,a){var f=_l,d=rn;if(Se(a)){var m="separator"in a?a.separator:m;f="length"in a?bt(a.length):f,d="omission"in a?En(a.omission):d}l=Pt(l);var _=l.length;if(ma(l)){var E=_e(l);_=E.length}if(f>=_)return l;var O=f-Qa(d);if(O<1)return d;var M=E?Cl(E,0,O).join(""):l.slice(0,O);if(m===c)return M+d;if(E&&(O+=M.length-O),Wr(m)){if(l.slice(O).search(m)){var W,F=M;for(m.global||(m=Hf(m.source,Pt(pf.exec(m))+"g")),m.lastIndex=0;W=m.exec(F);)var $=W.index;M=M.slice(0,$===c?O:$)}}else if(l.indexOf(En(m),O)!=O){var ut=M.lastIndexOf(m);ut>-1&&(M=M.slice(0,ut))}return M+d}function Cg(l){return l=Pt(l),l&&fa.test(l)?l.replace(qi,th):l}var jd=wa(function(l,a,f){return l+(f?" ":"")+a.toUpperCase()}),Na=co("toUpperCase");function Gd(l,a,f){return l=Pt(l),a=f?c:a,a===c?Ns(l)?lh(l):j1(l):l.match(a)||[]}var h0=Ct(function(l,a){try{return Hn(l,c,a)}catch(f){return Nc(f)?f:new Ot(f)}}),Kc=Kl(function(l,a){return qn(a,function(f){f=An(f),Qn(l,f,zc(l[f],l))}),l});function Yd(l){var a=l==null?0:l.length,f=vt();return l=a?me(l,function(d){if(typeof d[1]!="function")throw new Gn(b);return[f(d[0]),d[1]]}):[],Ct(function(d){for(var m=-1;++mct)return[];var f=x,d=Ue(l,x);a=vt(a),l-=x;for(var m=Nf(d,a);++f0||a<0)?new Rt(f):(l<0?f=f.takeRight(-l):l&&(f=f.drop(l)),a!==c&&(a=bt(a),f=a<0?f.dropRight(-a):f.take(a-l)),f)},Rt.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},Rt.prototype.toArray=function(){return this.take(x)},Rl(Rt.prototype,function(l,a){var f=/^(?:filter|find|map|reject)|While$/.test(a),d=/^(?:head|last)$/.test(a),m=v[d?"take"+(a=="last"?"Right":""):a],_=d||/^find/.test(a);m&&(v.prototype[a]=function(){var E=this.__wrapped__,O=d?[1]:arguments,M=E instanceof Rt,W=O[0],F=M||wt(E),$=function(Kt){var Jt=m.apply(v,zu([Kt],O));return d&&ut?Jt[0]:Jt};F&&f&&typeof W=="function"&&W.length!=1&&(M=F=!1);var ut=this.__chain__,dt=!!this.__actions__.length,Et=_&&!ut,Bt=M&&!dt;if(!_&&F){E=Bt?E:new Rt(this);var At=l.apply(E,O);return At.__actions__.push({func:Ca,args:[$],thisArg:c}),new _n(At,ut)}return Et&&Bt?l.apply(this,O):(At=this.thru($),Et?d?At.value()[0]:At.value():At)})}),qn(["pop","push","shift","sort","splice","unshift"],function(l){var a=er[l],f=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",d=/^(?:pop|shift)$/.test(l);v.prototype[l]=function(){var m=arguments;if(d&&!this.__chain__){var _=this.value();return a.apply(wt(_)?_:[],m)}return this[f](function(E){return a.apply(wt(E)?E:[],m)})}}),Rl(Rt.prototype,function(l,a){var f=v[a];if(f){var d=f.name+"";It.call(kt,d)||(kt[d]=[]),kt[d].push({name:a,func:f})}}),kt[pi(c,ht).name]=[{name:"wrapper",func:c}],Rt.prototype.clone=fu,Rt.prototype.reverse=Bu,Rt.prototype.value=cu,v.prototype.at=xc,v.prototype.chain=Vu,v.prototype.commit=Ye,v.prototype.next=Ju,v.prototype.plant=vu,v.prototype.reverse=Bo,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=Lo,v.prototype.first=v.prototype.head,Fe&&(v.prototype[Fe]=bi),v}),Ka=Ls();El?((El.exports=Ka)._=Ka,Fi._=Ka):je._=Ka}).call(Ky)})(m0,m0.exports)),m0.exports}var u1=Vy();function wm(i,o){return function(){return i.apply(o,arguments)}}const{toString:Jy}=Object.prototype,{getPrototypeOf:fp}=Object,{iterator:h1,toStringTag:Rm}=Symbol,d1=(i=>o=>{const c=Jy.call(o);return i[c]||(i[c]=c.slice(8,-1).toLowerCase())})(Object.create(null)),Tu=i=>(i=i.toLowerCase(),o=>d1(o)===i),g1=i=>o=>typeof o===i,{isArray:ls}=Array,Ic=g1("undefined");function _0(i){return i!==null&&!Ic(i)&&i.constructor!==null&&!Ic(i.constructor)&&vl(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const zm=Tu("ArrayBuffer");function Wy(i){let o;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?o=ArrayBuffer.isView(i):o=i&&i.buffer&&zm(i.buffer),o}const Fy=g1("string"),vl=g1("function"),Cm=g1("number"),b0=i=>i!==null&&typeof i=="object",$y=i=>i===!0||i===!1,$d=i=>{if(d1(i)!=="object")return!1;const o=fp(i);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(Rm in i)&&!(h1 in i)},Iy=i=>{if(!b0(i)||_0(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch{return!1}},ky=Tu("Date"),Py=Tu("File"),tv=Tu("Blob"),ev=Tu("FileList"),nv=i=>b0(i)&&vl(i.pipe),lv=i=>{let o;return i&&(typeof FormData=="function"&&i instanceof FormData||vl(i.append)&&((o=d1(i))==="formdata"||o==="object"&&vl(i.toString)&&i.toString()==="[object FormData]"))},uv=Tu("URLSearchParams"),[av,iv,rv,fv]=["ReadableStream","Request","Response","Headers"].map(Tu),cv=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function E0(i,o,{allOwnKeys:c=!1}={}){if(i===null||typeof i>"u")return;let h,p;if(typeof i!="object"&&(i=[i]),ls(i))for(h=0,p=i.length;h0;)if(p=c[h],o===p.toLowerCase())return p;return null}const nf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mm=i=>!Ic(i)&&i!==nf;function Fg(){const{caseless:i,skipUndefined:o}=Mm(this)&&this||{},c={},h=(p,S)=>{const b=i&&Dm(c,S)||S;$d(c[b])&&$d(p)?c[b]=Fg(c[b],p):$d(p)?c[b]=Fg({},p):ls(p)?c[b]=p.slice():(!o||!Ic(p))&&(c[b]=p)};for(let p=0,S=arguments.length;p(E0(o,(p,S)=>{c&&vl(p)?i[S]=wm(p,c):i[S]=p},{allOwnKeys:h}),i),ov=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),hv=(i,o,c,h)=>{i.prototype=Object.create(o.prototype,h),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:o.prototype}),c&&Object.assign(i.prototype,c)},dv=(i,o,c,h)=>{let p,S,b;const R={};if(o=o||{},i==null)return o;do{for(p=Object.getOwnPropertyNames(i),S=p.length;S-- >0;)b=p[S],(!h||h(b,i,o))&&!R[b]&&(o[b]=i[b],R[b]=!0);i=c!==!1&&fp(i)}while(i&&(!c||c(i,o))&&i!==Object.prototype);return o},gv=(i,o,c)=>{i=String(i),(c===void 0||c>i.length)&&(c=i.length),c-=o.length;const h=i.indexOf(o,c);return h!==-1&&h===c},pv=i=>{if(!i)return null;if(ls(i))return i;let o=i.length;if(!Cm(o))return null;const c=new Array(o);for(;o-- >0;)c[o]=i[o];return c},mv=(i=>o=>i&&o instanceof i)(typeof Uint8Array<"u"&&fp(Uint8Array)),yv=(i,o)=>{const h=(i&&i[h1]).call(i);let p;for(;(p=h.next())&&!p.done;){const S=p.value;o.call(i,S[0],S[1])}},vv=(i,o)=>{let c;const h=[];for(;(c=i.exec(o))!==null;)h.push(c);return h},Sv=Tu("HTMLFormElement"),_v=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,h,p){return h.toUpperCase()+p}),Cp=(({hasOwnProperty:i})=>(o,c)=>i.call(o,c))(Object.prototype),bv=Tu("RegExp"),Nm=(i,o)=>{const c=Object.getOwnPropertyDescriptors(i),h={};E0(c,(p,S)=>{let b;(b=o(p,S,i))!==!1&&(h[S]=b||p)}),Object.defineProperties(i,h)},Ev=i=>{Nm(i,(o,c)=>{if(vl(i)&&["arguments","caller","callee"].indexOf(c)!==-1)return!1;const h=i[c];if(vl(h)){if(o.enumerable=!1,"writable"in o){o.writable=!1;return}o.set||(o.set=()=>{throw Error("Can not rewrite read-only method '"+c+"'")})}})},Av=(i,o)=>{const c={},h=p=>{p.forEach(S=>{c[S]=!0})};return ls(i)?h(i):h(String(i).split(o)),c},Tv=()=>{},xv=(i,o)=>i!=null&&Number.isFinite(i=+i)?i:o;function Ov(i){return!!(i&&vl(i.append)&&i[Rm]==="FormData"&&i[h1])}const wv=i=>{const o=new Array(10),c=(h,p)=>{if(b0(h)){if(o.indexOf(h)>=0)return;if(_0(h))return h;if(!("toJSON"in h)){o[p]=h;const S=ls(h)?[]:{};return E0(h,(b,R)=>{const D=c(b,p+1);!Ic(D)&&(S[R]=D)}),o[p]=void 0,S}}return h};return c(i,0)},Rv=Tu("AsyncFunction"),zv=i=>i&&(b0(i)||vl(i))&&vl(i.then)&&vl(i.catch),Um=((i,o)=>i?setImmediate:o?((c,h)=>(nf.addEventListener("message",({source:p,data:S})=>{p===nf&&S===c&&h.length&&h.shift()()},!1),p=>{h.push(p),nf.postMessage(c,"*")}))(`axios@${Math.random()}`,[]):c=>setTimeout(c))(typeof setImmediate=="function",vl(nf.postMessage)),Cv=typeof queueMicrotask<"u"?queueMicrotask.bind(nf):typeof process<"u"&&process.nextTick||Um,Dv=i=>i!=null&&vl(i[h1]),j={isArray:ls,isArrayBuffer:zm,isBuffer:_0,isFormData:lv,isArrayBufferView:Wy,isString:Fy,isNumber:Cm,isBoolean:$y,isObject:b0,isPlainObject:$d,isEmptyObject:Iy,isReadableStream:av,isRequest:iv,isResponse:rv,isHeaders:fv,isUndefined:Ic,isDate:ky,isFile:Py,isBlob:tv,isRegExp:bv,isFunction:vl,isStream:nv,isURLSearchParams:uv,isTypedArray:mv,isFileList:ev,forEach:E0,merge:Fg,extend:sv,trim:cv,stripBOM:ov,inherits:hv,toFlatObject:dv,kindOf:d1,kindOfTest:Tu,endsWith:gv,toArray:pv,forEachEntry:yv,matchAll:vv,isHTMLForm:Sv,hasOwnProperty:Cp,hasOwnProp:Cp,reduceDescriptors:Nm,freezeMethods:Ev,toObjectSet:Av,toCamelCase:_v,noop:Tv,toFiniteNumber:xv,findKey:Dm,global:nf,isContextDefined:Mm,isSpecCompliantForm:Ov,toJSONObject:wv,isAsyncFn:Rv,isThenable:zv,setImmediate:Um,asap:Cv,isIterable:Dv};function Ut(i,o,c,h,p){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",o&&(this.code=o),c&&(this.config=c),h&&(this.request=h),p&&(this.response=p,this.status=p.status?p.status:null)}j.inherits(Ut,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.status}}});const Bm=Ut.prototype,Lm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{Lm[i]={value:i}});Object.defineProperties(Ut,Lm);Object.defineProperty(Bm,"isAxiosError",{value:!0});Ut.from=(i,o,c,h,p,S)=>{const b=Object.create(Bm);j.toFlatObject(i,b,function(N){return N!==Error.prototype},T=>T!=="isAxiosError");const R=i&&i.message?i.message:"Error",D=o==null&&i?i.code:o;return Ut.call(b,R,D,c,h,p),i&&b.cause==null&&Object.defineProperty(b,"cause",{value:i,configurable:!0}),b.name=i&&i.name||"Error",S&&Object.assign(b,S),b};const Mv=null;function $g(i){return j.isPlainObject(i)||j.isArray(i)}function Hm(i){return j.endsWith(i,"[]")?i.slice(0,-2):i}function Dp(i,o,c){return i?i.concat(o).map(function(p,S){return p=Hm(p),!c&&S?"["+p+"]":p}).join(c?".":""):o}function Nv(i){return j.isArray(i)&&!i.some($g)}const Uv=j.toFlatObject(j,{},null,function(o){return/^is[A-Z]/.test(o)});function p1(i,o,c){if(!j.isObject(i))throw new TypeError("target must be an object");o=o||new FormData,c=j.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,function(tt,I){return!j.isUndefined(I[tt])});const h=c.metaTokens,p=c.visitor||N,S=c.dots,b=c.indexes,D=(c.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(o);if(!j.isFunction(p))throw new TypeError("visitor must be a function");function T(X){if(X===null)return"";if(j.isDate(X))return X.toISOString();if(j.isBoolean(X))return X.toString();if(!D&&j.isBlob(X))throw new Ut("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(X)||j.isTypedArray(X)?D&&typeof Blob=="function"?new Blob([X]):Buffer.from(X):X}function N(X,tt,I){let ht=X;if(X&&!I&&typeof X=="object"){if(j.endsWith(tt,"{}"))tt=h?tt:tt.slice(0,-2),X=JSON.stringify(X);else if(j.isArray(X)&&Nv(X)||(j.isFileList(X)||j.endsWith(tt,"[]"))&&(ht=j.toArray(X)))return tt=Hm(tt),ht.forEach(function(ft,mt){!(j.isUndefined(ft)||ft===null)&&o.append(b===!0?Dp([tt],mt,S):b===null?tt:tt+"[]",T(ft))}),!1}return $g(X)?!0:(o.append(Dp(I,tt,S),T(X)),!1)}const H=[],nt=Object.assign(Uv,{defaultVisitor:N,convertValue:T,isVisitable:$g});function rt(X,tt){if(!j.isUndefined(X)){if(H.indexOf(X)!==-1)throw Error("Circular reference detected in "+tt.join("."));H.push(X),j.forEach(X,function(ht,xt){(!(j.isUndefined(ht)||ht===null)&&p.call(o,ht,j.isString(xt)?xt.trim():xt,tt,nt))===!0&&rt(ht,tt?tt.concat(xt):[xt])}),H.pop()}}if(!j.isObject(i))throw new TypeError("data must be an object");return rt(i),o}function Mp(i){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(h){return o[h]})}function cp(i,o){this._pairs=[],i&&p1(i,this,o)}const qm=cp.prototype;qm.append=function(o,c){this._pairs.push([o,c])};qm.toString=function(o){const c=o?function(h){return o.call(this,h,Mp)}:Mp;return this._pairs.map(function(p){return c(p[0])+"="+c(p[1])},"").join("&")};function Bv(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function jm(i,o,c){if(!o)return i;const h=c&&c.encode||Bv;j.isFunction(c)&&(c={serialize:c});const p=c&&c.serialize;let S;if(p?S=p(o,c):S=j.isURLSearchParams(o)?o.toString():new cp(o,c).toString(h),S){const b=i.indexOf("#");b!==-1&&(i=i.slice(0,b)),i+=(i.indexOf("?")===-1?"?":"&")+S}return i}class Np{constructor(){this.handlers=[]}use(o,c,h){return this.handlers.push({fulfilled:o,rejected:c,synchronous:h?h.synchronous:!1,runWhen:h?h.runWhen:null}),this.handlers.length-1}eject(o){this.handlers[o]&&(this.handlers[o]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(o){j.forEach(this.handlers,function(h){h!==null&&o(h)})}}const Gm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Lv=typeof URLSearchParams<"u"?URLSearchParams:cp,Hv=typeof FormData<"u"?FormData:null,qv=typeof Blob<"u"?Blob:null,jv={isBrowser:!0,classes:{URLSearchParams:Lv,FormData:Hv,Blob:qv},protocols:["http","https","file","blob","url","data"]},sp=typeof window<"u"&&typeof document<"u",Ig=typeof navigator=="object"&&navigator||void 0,Gv=sp&&(!Ig||["ReactNative","NativeScript","NS"].indexOf(Ig.product)<0),Yv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Xv=sp&&window.location.href||"http://localhost",Qv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sp,hasStandardBrowserEnv:Gv,hasStandardBrowserWebWorkerEnv:Yv,navigator:Ig,origin:Xv},Symbol.toStringTag,{value:"Module"})),Mn={...Qv,...jv};function Zv(i,o){return p1(i,new Mn.classes.URLSearchParams,{visitor:function(c,h,p,S){return Mn.isNode&&j.isBuffer(c)?(this.append(h,c.toString("base64")),!1):S.defaultVisitor.apply(this,arguments)},...o})}function Kv(i){return j.matchAll(/\w+|\[(\w*)]/g,i).map(o=>o[0]==="[]"?"":o[1]||o[0])}function Vv(i){const o={},c=Object.keys(i);let h;const p=c.length;let S;for(h=0;h=c.length;return b=!b&&j.isArray(p)?p.length:b,D?(j.hasOwnProp(p,b)?p[b]=[p[b],h]:p[b]=h,!R):((!p[b]||!j.isObject(p[b]))&&(p[b]=[]),o(c,h,p[b],S)&&j.isArray(p[b])&&(p[b]=Vv(p[b])),!R)}if(j.isFormData(i)&&j.isFunction(i.entries)){const c={};return j.forEachEntry(i,(h,p)=>{o(Kv(h),p,c,0)}),c}return null}function Jv(i,o,c){if(j.isString(i))try{return(o||JSON.parse)(i),j.trim(i)}catch(h){if(h.name!=="SyntaxError")throw h}return(c||JSON.stringify)(i)}const A0={transitional:Gm,adapter:["xhr","http","fetch"],transformRequest:[function(o,c){const h=c.getContentType()||"",p=h.indexOf("application/json")>-1,S=j.isObject(o);if(S&&j.isHTMLForm(o)&&(o=new FormData(o)),j.isFormData(o))return p?JSON.stringify(Ym(o)):o;if(j.isArrayBuffer(o)||j.isBuffer(o)||j.isStream(o)||j.isFile(o)||j.isBlob(o)||j.isReadableStream(o))return o;if(j.isArrayBufferView(o))return o.buffer;if(j.isURLSearchParams(o))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),o.toString();let R;if(S){if(h.indexOf("application/x-www-form-urlencoded")>-1)return Zv(o,this.formSerializer).toString();if((R=j.isFileList(o))||h.indexOf("multipart/form-data")>-1){const D=this.env&&this.env.FormData;return p1(R?{"files[]":o}:o,D&&new D,this.formSerializer)}}return S||p?(c.setContentType("application/json",!1),Jv(o)):o}],transformResponse:[function(o){const c=this.transitional||A0.transitional,h=c&&c.forcedJSONParsing,p=this.responseType==="json";if(j.isResponse(o)||j.isReadableStream(o))return o;if(o&&j.isString(o)&&(h&&!this.responseType||p)){const b=!(c&&c.silentJSONParsing)&&p;try{return JSON.parse(o,this.parseReviver)}catch(R){if(b)throw R.name==="SyntaxError"?Ut.from(R,Ut.ERR_BAD_RESPONSE,this,null,this.response):R}}return o}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mn.classes.FormData,Blob:Mn.classes.Blob},validateStatus:function(o){return o>=200&&o<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],i=>{A0.headers[i]={}});const Wv=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Fv=i=>{const o={};let c,h,p;return i&&i.split(` `).forEach(function(b){p=b.indexOf(":"),c=b.substring(0,p).trim().toLowerCase(),h=b.substring(p+1).trim(),!(!c||o[c]&&Wv[c])&&(c==="set-cookie"?o[c]?o[c].push(h):o[c]=[h]:o[c]=o[c]?o[c]+", "+h:h)}),o},Up=Symbol("internals");function p0(i){return i&&String(i).trim().toLowerCase()}function Id(i){return i===!1||i==null?i:j.isArray(i)?i.map(Id):String(i)}function $v(i){const o=Object.create(null),c=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let h;for(;h=c.exec(i);)o[h[1]]=h[2];return o}const Iv=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function Gg(i,o,c,h,p){if(j.isFunction(h))return h.call(this,o,c);if(p&&(o=c),!!j.isString(o)){if(j.isString(h))return o.indexOf(h)!==-1;if(j.isRegExp(h))return h.test(o)}}function kv(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(o,c,h)=>c.toUpperCase()+h)}function Pv(i,o){const c=j.toCamelCase(" "+o);["get","set","has"].forEach(h=>{Object.defineProperty(i,h+c,{value:function(p,S,b){return this[h].call(this,o,p,S,b)},configurable:!0})})}let Sl=class{constructor(o){o&&this.set(o)}set(o,c,h){const p=this;function S(R,D,T){const N=p0(D);if(!N)throw new Error("header name must be a non-empty string");const H=j.findKey(p,N);(!H||p[H]===void 0||T===!0||T===void 0&&p[H]!==!1)&&(p[H||D]=Id(R))}const b=(R,D)=>j.forEach(R,(T,N)=>S(T,N,D));if(j.isPlainObject(o)||o instanceof this.constructor)b(o,c);else if(j.isString(o)&&(o=o.trim())&&!Iv(o))b(Fv(o),c);else if(j.isObject(o)&&j.isIterable(o)){let R={},D,T;for(const N of o){if(!j.isArray(N))throw TypeError("Object iterator must return a key-value pair");R[T=N[0]]=(D=R[T])?j.isArray(D)?[...D,N[1]]:[D,N[1]]:N[1]}b(R,c)}else o!=null&&S(c,o,h);return this}get(o,c){if(o=p0(o),o){const h=j.findKey(this,o);if(h){const p=this[h];if(!c)return p;if(c===!0)return $v(p);if(j.isFunction(c))return c.call(this,p,h);if(j.isRegExp(c))return c.exec(p);throw new TypeError("parser must be boolean|regexp|function")}}}has(o,c){if(o=p0(o),o){const h=j.findKey(this,o);return!!(h&&this[h]!==void 0&&(!c||Gg(this,this[h],h,c)))}return!1}delete(o,c){const h=this;let p=!1;function S(b){if(b=p0(b),b){const R=j.findKey(h,b);R&&(!c||Gg(h,h[R],R,c))&&(delete h[R],p=!0)}}return j.isArray(o)?o.forEach(S):S(o),p}clear(o){const c=Object.keys(this);let h=c.length,p=!1;for(;h--;){const S=c[h];(!o||Gg(this,this[S],S,o,!0))&&(delete this[S],p=!0)}return p}normalize(o){const c=this,h={};return j.forEach(this,(p,S)=>{const b=j.findKey(h,S);if(b){c[b]=Id(p),delete c[S];return}const R=o?kv(S):String(S).trim();R!==S&&delete c[S],c[R]=Id(p),h[R]=!0}),this}concat(...o){return this.constructor.concat(this,...o)}toJSON(o){const c=Object.create(null);return j.forEach(this,(h,p)=>{h!=null&&h!==!1&&(c[p]=o&&j.isArray(h)?h.join(", "):h)}),c}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([o,c])=>o+": "+c).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(o){return o instanceof this?o:new this(o)}static concat(o,...c){const h=new this(o);return c.forEach(p=>h.set(p)),h}static accessor(o){const h=(this[Up]=this[Up]={accessors:{}}).accessors,p=this.prototype;function S(b){const R=p0(b);h[R]||(Pv(p,b),h[R]=!0)}return j.isArray(o)?o.forEach(S):S(o),this}};Sl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(Sl.prototype,({value:i},o)=>{let c=o[0].toUpperCase()+o.slice(1);return{get:()=>i,set(h){this[c]=h}}});j.freezeMethods(Sl);function Yg(i,o){const c=this||A0,h=o||c,p=Sl.from(h.headers);let S=h.data;return j.forEach(i,function(R){S=R.call(c,S,p.normalize(),o?o.status:void 0)}),p.normalize(),S}function Xm(i){return!!(i&&i.__CANCEL__)}function us(i,o,c){Ut.call(this,i??"canceled",Ut.ERR_CANCELED,o,c),this.name="CanceledError"}j.inherits(us,Ut,{__CANCEL__:!0});function Qm(i,o,c){const h=c.config.validateStatus;!c.status||!h||h(c.status)?i(c):o(new Ut("Request failed with status code "+c.status,[Ut.ERR_BAD_REQUEST,Ut.ERR_BAD_RESPONSE][Math.floor(c.status/100)-4],c.config,c.request,c))}function tS(i){const o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return o&&o[1]||""}function eS(i,o){i=i||10;const c=new Array(i),h=new Array(i);let p=0,S=0,b;return o=o!==void 0?o:1e3,function(D){const T=Date.now(),N=h[S];b||(b=T),c[p]=D,h[p]=T;let H=S,nt=0;for(;H!==p;)nt+=c[H++],H=H%i;if(p=(p+1)%i,p===S&&(S=(S+1)%i),T-b{c=N,p=null,S&&(clearTimeout(S),S=null),i(...T)};return[(...T)=>{const N=Date.now(),H=N-c;H>=h?b(T,N):(p=T,S||(S=setTimeout(()=>{S=null,b(p)},h-H)))},()=>p&&b(p)]}const a1=(i,o,c=3)=>{let h=0;const p=eS(50,250);return nS(S=>{const b=S.loaded,R=S.lengthComputable?S.total:void 0,D=b-h,T=p(D),N=b<=R;h=b;const H={loaded:b,total:R,progress:R?b/R:void 0,bytes:D,rate:T||void 0,estimated:T&&R&&N?(R-b)/T:void 0,event:S,lengthComputable:R!=null,[o?"download":"upload"]:!0};i(H)},c)},Bp=(i,o)=>{const c=i!=null;return[h=>o[0]({lengthComputable:c,total:i,loaded:h}),o[1]]},Lp=i=>(...o)=>j.asap(()=>i(...o)),lS=Mn.hasStandardBrowserEnv?((i,o)=>c=>(c=new URL(c,Mn.origin),i.protocol===c.protocol&&i.host===c.host&&(o||i.port===c.port)))(new URL(Mn.origin),Mn.navigator&&/(msie|trident)/i.test(Mn.navigator.userAgent)):()=>!0,uS=Mn.hasStandardBrowserEnv?{write(i,o,c,h,p,S,b){if(typeof document>"u")return;const R=[`${i}=${encodeURIComponent(o)}`];j.isNumber(c)&&R.push(`expires=${new Date(c).toUTCString()}`),j.isString(h)&&R.push(`path=${h}`),j.isString(p)&&R.push(`domain=${p}`),S===!0&&R.push("secure"),j.isString(b)&&R.push(`SameSite=${b}`),document.cookie=R.join("; ")},read(i){if(typeof document>"u")return null;const o=document.cookie.match(new RegExp("(?:^|; )"+i+"=([^;]*)"));return o?decodeURIComponent(o[1]):null},remove(i){this.write(i,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function aS(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function iS(i,o){return o?i.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):i}function Zm(i,o,c){let h=!aS(o);return i&&(h||c==!1)?iS(i,o):o}const Hp=i=>i instanceof Sl?{...i}:i;function ff(i,o){o=o||{};const c={};function h(T,N,H,nt){return j.isPlainObject(T)&&j.isPlainObject(N)?j.merge.call({caseless:nt},T,N):j.isPlainObject(N)?j.merge({},N):j.isArray(N)?N.slice():N}function p(T,N,H,nt){if(j.isUndefined(N)){if(!j.isUndefined(T))return h(void 0,T,H,nt)}else return h(T,N,H,nt)}function S(T,N){if(!j.isUndefined(N))return h(void 0,N)}function b(T,N){if(j.isUndefined(N)){if(!j.isUndefined(T))return h(void 0,T)}else return h(void 0,N)}function R(T,N,H){if(H in o)return h(T,N);if(H in i)return h(void 0,T)}const D={url:S,method:S,data:S,baseURL:b,transformRequest:b,transformResponse:b,paramsSerializer:b,timeout:b,timeoutMessage:b,withCredentials:b,withXSRFToken:b,adapter:b,responseType:b,xsrfCookieName:b,xsrfHeaderName:b,onUploadProgress:b,onDownloadProgress:b,decompress:b,maxContentLength:b,maxBodyLength:b,beforeRedirect:b,transport:b,httpAgent:b,httpsAgent:b,cancelToken:b,socketPath:b,responseEncoding:b,validateStatus:R,headers:(T,N,H)=>p(Hp(T),Hp(N),H,!0)};return j.forEach(Object.keys({...i,...o}),function(N){const H=D[N]||p,nt=H(i[N],o[N],N);j.isUndefined(nt)&&H!==R||(c[N]=nt)}),c}const Km=i=>{const o=ff({},i);let{data:c,withXSRFToken:h,xsrfHeaderName:p,xsrfCookieName:S,headers:b,auth:R}=o;if(o.headers=b=Sl.from(b),o.url=jm(Zm(o.baseURL,o.url,o.allowAbsoluteUrls),i.params,i.paramsSerializer),R&&b.set("Authorization","Basic "+btoa((R.username||"")+":"+(R.password?unescape(encodeURIComponent(R.password)):""))),j.isFormData(c)){if(Mn.hasStandardBrowserEnv||Mn.hasStandardBrowserWebWorkerEnv)b.setContentType(void 0);else if(j.isFunction(c.getHeaders)){const D=c.getHeaders(),T=["content-type","content-length"];Object.entries(D).forEach(([N,H])=>{T.includes(N.toLowerCase())&&b.set(N,H)})}}if(Mn.hasStandardBrowserEnv&&(h&&j.isFunction(h)&&(h=h(o)),h||h!==!1&&lS(o.url))){const D=p&&S&&uS.read(S);D&&b.set(p,D)}return o},rS=typeof XMLHttpRequest<"u",fS=rS&&function(i){return new Promise(function(c,h){const p=Km(i);let S=p.data;const b=Sl.from(p.headers).normalize();let{responseType:R,onUploadProgress:D,onDownloadProgress:T}=p,N,H,nt,rt,X;function tt(){rt&&rt(),X&&X(),p.cancelToken&&p.cancelToken.unsubscribe(N),p.signal&&p.signal.removeEventListener("abort",N)}let I=new XMLHttpRequest;I.open(p.method.toUpperCase(),p.url,!0),I.timeout=p.timeout;function ht(){if(!I)return;const ft=Sl.from("getAllResponseHeaders"in I&&I.getAllResponseHeaders()),_t={data:!R||R==="text"||R==="json"?I.responseText:I.response,status:I.status,statusText:I.statusText,headers:ft,config:i,request:I};Qm(function(k){c(k),tt()},function(k){h(k),tt()},_t),I=null}"onloadend"in I?I.onloadend=ht:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(ht)},I.onabort=function(){I&&(h(new Ut("Request aborted",Ut.ECONNABORTED,i,I)),I=null)},I.onerror=function(mt){const _t=mt&&mt.message?mt.message:"Network Error",yt=new Ut(_t,Ut.ERR_NETWORK,i,I);yt.event=mt||null,h(yt),I=null},I.ontimeout=function(){let mt=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded";const _t=p.transitional||Gm;p.timeoutErrorMessage&&(mt=p.timeoutErrorMessage),h(new Ut(mt,_t.clarifyTimeoutError?Ut.ETIMEDOUT:Ut.ECONNABORTED,i,I)),I=null},S===void 0&&b.setContentType(null),"setRequestHeader"in I&&j.forEach(b.toJSON(),function(mt,_t){I.setRequestHeader(_t,mt)}),j.isUndefined(p.withCredentials)||(I.withCredentials=!!p.withCredentials),R&&R!=="json"&&(I.responseType=p.responseType),T&&([nt,X]=a1(T,!0),I.addEventListener("progress",nt)),D&&I.upload&&([H,rt]=a1(D),I.upload.addEventListener("progress",H),I.upload.addEventListener("loadend",rt)),(p.cancelToken||p.signal)&&(N=ft=>{I&&(h(!ft||ft.type?new us(null,i,I):ft),I.abort(),I=null)},p.cancelToken&&p.cancelToken.subscribe(N),p.signal&&(p.signal.aborted?N():p.signal.addEventListener("abort",N)));const xt=tS(p.url);if(xt&&Mn.protocols.indexOf(xt)===-1){h(new Ut("Unsupported protocol "+xt+":",Ut.ERR_BAD_REQUEST,i));return}I.send(S||null)})},cS=(i,o)=>{const{length:c}=i=i?i.filter(Boolean):[];if(o||c){let h=new AbortController,p;const S=function(T){if(!p){p=!0,R();const N=T instanceof Error?T:this.reason;h.abort(N instanceof Ut?N:new us(N instanceof Error?N.message:N))}};let b=o&&setTimeout(()=>{b=null,S(new Ut(`timeout ${o} of ms exceeded`,Ut.ETIMEDOUT))},o);const R=()=>{i&&(b&&clearTimeout(b),b=null,i.forEach(T=>{T.unsubscribe?T.unsubscribe(S):T.removeEventListener("abort",S)}),i=null)};i.forEach(T=>T.addEventListener("abort",S));const{signal:D}=h;return D.unsubscribe=()=>j.asap(R),D}},sS=function*(i,o){let c=i.byteLength;if(c{const p=oS(i,o);let S=0,b,R=D=>{b||(b=!0,h&&h(D))};return new ReadableStream({async pull(D){try{const{done:T,value:N}=await p.next();if(T){R(),D.close();return}let H=N.byteLength;if(c){let nt=S+=H;c(nt)}D.enqueue(new Uint8Array(N))}catch(T){throw R(T),T}},cancel(D){return R(D),p.return()}},{highWaterMark:2})},jp=64*1024,{isFunction:Kd}=j,dS=(({Request:i,Response:o})=>({Request:i,Response:o}))(j.global),{ReadableStream:Gp,TextEncoder:Yp}=j.global,Xp=(i,...o)=>{try{return!!i(...o)}catch{return!1}},gS=i=>{i=j.merge.call({skipUndefined:!0},dS,i);const{fetch:o,Request:c,Response:h}=i,p=o?Kd(o):typeof fetch=="function",S=Kd(c),b=Kd(h);if(!p)return!1;const R=p&&Kd(Gp),D=p&&(typeof Yp=="function"?(X=>tt=>X.encode(tt))(new Yp):async X=>new Uint8Array(await new c(X).arrayBuffer())),T=S&&R&&Xp(()=>{let X=!1;const tt=new c(Mn.origin,{body:new Gp,method:"POST",get duplex(){return X=!0,"half"}}).headers.has("Content-Type");return X&&!tt}),N=b&&R&&Xp(()=>j.isReadableStream(new h("").body)),H={stream:N&&(X=>X.body)};p&&["text","arrayBuffer","blob","formData","stream"].forEach(X=>{!H[X]&&(H[X]=(tt,I)=>{let ht=tt&&tt[X];if(ht)return ht.call(tt);throw new Ut(`Response type '${X}' is not supported`,Ut.ERR_NOT_SUPPORT,I)})});const nt=async X=>{if(X==null)return 0;if(j.isBlob(X))return X.size;if(j.isSpecCompliantForm(X))return(await new c(Mn.origin,{method:"POST",body:X}).arrayBuffer()).byteLength;if(j.isArrayBufferView(X)||j.isArrayBuffer(X))return X.byteLength;if(j.isURLSearchParams(X)&&(X=X+""),j.isString(X))return(await D(X)).byteLength},rt=async(X,tt)=>{const I=j.toFiniteNumber(X.getContentLength());return I??nt(tt)};return async X=>{let{url:tt,method:I,data:ht,signal:xt,cancelToken:ft,timeout:mt,onDownloadProgress:_t,onUploadProgress:yt,responseType:k,headers:te,withCredentials:Te="same-origin",fetchOptions:_l}=Km(X),rn=o||fetch;k=k?(k+"").toLowerCase():"text";let ze=cS([xt,ft&&ft.toAbortSignal()],mt),fn=null;const Ne=ze&&ze.unsubscribe&&(()=>{ze.unsubscribe()});let en;try{if(yt&&T&&I!=="get"&&I!=="head"&&(en=await rt(te,ht))!==0){let x=new c(tt,{method:"POST",body:ht,duplex:"half"}),Q;if(j.isFormData(ht)&&(Q=x.headers.get("content-type"))&&te.setContentType(Q),x.body){const[lt,at]=Bp(en,a1(Lp(yt)));ht=qp(x.body,jp,lt,at)}}j.isString(Te)||(Te=Te?"include":"omit");const Y=S&&"credentials"in c.prototype,et={..._l,signal:ze,method:I.toUpperCase(),headers:te.normalize().toJSON(),body:ht,duplex:"half",credentials:Y?Te:void 0};fn=S&&new c(tt,et);let ct=await(S?rn(fn,_l):rn(tt,et));const Mt=N&&(k==="stream"||k==="response");if(N&&(_t||Mt&&Ne)){const x={};["status","statusText","headers"].forEach(gt=>{x[gt]=ct[gt]});const Q=j.toFiniteNumber(ct.headers.get("content-length")),[lt,at]=_t&&Bp(Q,a1(Lp(_t),!0))||[];ct=new h(qp(ct.body,jp,lt,()=>{at&&at(),Ne&&Ne()}),x)}k=k||"text";let Ht=await H[j.findKey(H,k)||"text"](ct,X);return!Mt&&Ne&&Ne(),await new Promise((x,Q)=>{Qm(x,Q,{data:Ht,headers:Sl.from(ct.headers),status:ct.status,statusText:ct.statusText,config:X,request:fn})})}catch(Y){throw Ne&&Ne(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new Ut("Network Error",Ut.ERR_NETWORK,X,fn),{cause:Y.cause||Y}):Ut.from(Y,Y&&Y.code,X,fn)}}},pS=new Map,Vm=i=>{let o=i&&i.env||{};const{fetch:c,Request:h,Response:p}=o,S=[h,p,c];let b=S.length,R=b,D,T,N=pS;for(;R--;)D=S[R],T=N.get(D),T===void 0&&N.set(D,T=R?new Map:gS(o)),N=T;return T};Vm();const op={http:Mv,xhr:fS,fetch:{get:Vm}};j.forEach(op,(i,o)=>{if(i){try{Object.defineProperty(i,"name",{value:o})}catch{}Object.defineProperty(i,"adapterName",{value:o})}});const Qp=i=>`- ${i}`,mS=i=>j.isFunction(i)||i===null||i===!1;function yS(i,o){i=j.isArray(i)?i:[i];const{length:c}=i;let h,p;const S={};for(let b=0;b`adapter ${D} `+(T===!1?"is not supported by the environment":"is not available in the build"));let R=c?b.length>1?`since : `+b.map(Qp).join(` `):" "+Qp(b[0]):"as no adapter specified";throw new Ut("There is no suitable adapter to dispatch the request "+R,"ERR_NOT_SUPPORT")}return p}const Jm={getAdapter:yS,adapters:op};function Xg(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new us(null,i)}function Zp(i){return Xg(i),i.headers=Sl.from(i.headers),i.data=Yg.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),Jm.getAdapter(i.adapter||A0.adapter,i)(i).then(function(h){return Xg(i),h.data=Yg.call(i,i.transformResponse,h),h.headers=Sl.from(h.headers),h},function(h){return Xm(h)||(Xg(i),h&&h.response&&(h.response.data=Yg.call(i,i.transformResponse,h.response),h.response.headers=Sl.from(h.response.headers))),Promise.reject(h)})}const Wm="1.13.1",m1={};["object","boolean","number","function","string","symbol"].forEach((i,o)=>{m1[i]=function(h){return typeof h===i||"a"+(o<1?"n ":" ")+i}});const Kp={};m1.transitional=function(o,c,h){function p(S,b){return"[Axios v"+Wm+"] Transitional option '"+S+"'"+b+(h?". "+h:"")}return(S,b,R)=>{if(o===!1)throw new Ut(p(b," has been removed"+(c?" in "+c:"")),Ut.ERR_DEPRECATED);return c&&!Kp[b]&&(Kp[b]=!0,console.warn(p(b," has been deprecated since v"+c+" and will be removed in the near future"))),o?o(S,b,R):!0}};m1.spelling=function(o){return(c,h)=>(console.warn(`${h} is likely a misspelling of ${o}`),!0)};function vS(i,o,c){if(typeof i!="object")throw new Ut("options must be an object",Ut.ERR_BAD_OPTION_VALUE);const h=Object.keys(i);let p=h.length;for(;p-- >0;){const S=h[p],b=o[S];if(b){const R=i[S],D=R===void 0||b(R,S,i);if(D!==!0)throw new Ut("option "+S+" must be "+D,Ut.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new Ut("Unknown option "+S,Ut.ERR_BAD_OPTION)}}const kd={assertOptions:vS,validators:m1},la=kd.validators;let uf=class{constructor(o){this.defaults=o||{},this.interceptors={request:new Np,response:new Np}}async request(o,c){try{return await this._request(o,c)}catch(h){if(h instanceof Error){let p={};Error.captureStackTrace?Error.captureStackTrace(p):p=new Error;const S=p.stack?p.stack.replace(/^.+\n/,""):"";try{h.stack?S&&!String(h.stack).endsWith(S.replace(/^.+\n.+\n/,""))&&(h.stack+=` `+S):h.stack=S}catch{}}throw h}}_request(o,c){typeof o=="string"?(c=c||{},c.url=o):c=o||{},c=ff(this.defaults,c);const{transitional:h,paramsSerializer:p,headers:S}=c;h!==void 0&&kd.assertOptions(h,{silentJSONParsing:la.transitional(la.boolean),forcedJSONParsing:la.transitional(la.boolean),clarifyTimeoutError:la.transitional(la.boolean)},!1),p!=null&&(j.isFunction(p)?c.paramsSerializer={serialize:p}:kd.assertOptions(p,{encode:la.function,serialize:la.function},!0)),c.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?c.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:c.allowAbsoluteUrls=!0),kd.assertOptions(c,{baseUrl:la.spelling("baseURL"),withXsrfToken:la.spelling("withXSRFToken")},!0),c.method=(c.method||this.defaults.method||"get").toLowerCase();let b=S&&j.merge(S.common,S[c.method]);S&&j.forEach(["delete","get","head","post","put","patch","common"],X=>{delete S[X]}),c.headers=Sl.concat(b,S);const R=[];let D=!0;this.interceptors.request.forEach(function(tt){typeof tt.runWhen=="function"&&tt.runWhen(c)===!1||(D=D&&tt.synchronous,R.unshift(tt.fulfilled,tt.rejected))});const T=[];this.interceptors.response.forEach(function(tt){T.push(tt.fulfilled,tt.rejected)});let N,H=0,nt;if(!D){const X=[Zp.bind(this),void 0];for(X.unshift(...R),X.push(...T),nt=X.length,N=Promise.resolve(c);H{if(!h._listeners)return;let S=h._listeners.length;for(;S-- >0;)h._listeners[S](p);h._listeners=null}),this.promise.then=p=>{let S;const b=new Promise(R=>{h.subscribe(R),S=R}).then(p);return b.cancel=function(){h.unsubscribe(S)},b},o(function(S,b,R){h.reason||(h.reason=new us(S,b,R),c(h.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(o){if(this.reason){o(this.reason);return}this._listeners?this._listeners.push(o):this._listeners=[o]}unsubscribe(o){if(!this._listeners)return;const c=this._listeners.indexOf(o);c!==-1&&this._listeners.splice(c,1)}toAbortSignal(){const o=new AbortController,c=h=>{o.abort(h)};return this.subscribe(c),o.signal.unsubscribe=()=>this.unsubscribe(c),o.signal}static source(){let o;return{token:new Fm(function(p){o=p}),cancel:o}}};function _S(i){return function(c){return i.apply(null,c)}}function bS(i){return j.isObject(i)&&i.isAxiosError===!0}const kg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(kg).forEach(([i,o])=>{kg[o]=i});function $m(i){const o=new uf(i),c=wm(uf.prototype.request,o);return j.extend(c,uf.prototype,o,{allOwnKeys:!0}),j.extend(c,o,null,{allOwnKeys:!0}),c.create=function(p){return $m(ff(i,p))},c}const qe=$m(A0);qe.Axios=uf;qe.CanceledError=us;qe.CancelToken=SS;qe.isCancel=Xm;qe.VERSION=Wm;qe.toFormData=p1;qe.AxiosError=Ut;qe.Cancel=qe.CanceledError;qe.all=function(o){return Promise.all(o)};qe.spread=_S;qe.isAxiosError=bS;qe.mergeConfig=ff;qe.AxiosHeaders=Sl;qe.formToJSON=i=>Ym(j.isHTMLForm(i)?new FormData(i):i);qe.getAdapter=Jm.getAdapter;qe.HttpStatusCode=kg;qe.default=qe;const{Axios:Zb,AxiosError:Kb,CanceledError:Vb,isCancel:Jb,CancelToken:Wb,VERSION:Fb,all:$b,Cancel:Ib,isAxiosError:kb,spread:Pb,toFormData:t2,AxiosHeaders:e2,HttpStatusCode:n2,formToJSON:l2,getAdapter:u2,mergeConfig:a2}=qe,Vp="https://api.irail.be",ES=3,AS=(i,o)=>{tn.useEffect(()=>{(async()=>{try{o(Fl.loadTrainSchedule({}));const c=new Date,h=R=>R.toString().padStart(2,"0"),p=u1.flatten(await Promise.all(u1.range(0,ES).map(async R=>{const D=h(c.getDate()),T=h(c.getMonth()+1),N=c.getFullYear().toString().slice(-2),H=`${D}${T}${N}`,nt=h(c.getHours()+R),rt=h(c.getMinutes()),X=`${nt}${rt}`;return(await qe.get(`${Vp}/liveboard?station=Nivelles&date=${H}&time=${X}&format=json&lang=en&alerts=true`)).data.departures.departure}))),b=(await qe.get(`${Vp}/stations?format=json&lang=en&alerts=true`)).data.station;o(Fl.loadTrainScheduleSuccess({departures:p,stations:b}))}catch(c){o(Fl.loadTrainScheduleError({error:c}))}})()},[])};var yl=function(){return yl=Object.assign||function(o){for(var c,h=1,p=arguments.length;h0?an(as,--$l):0,Pc--,Ve===10&&(Pc=1,v1--),Ve}function Au(){return Ve=$l2||tp(Ve)>3?"":" "}function NS(i,o){for(;--o&&Au()&&!(Ve<48||Ve>102||Ve>57&&Ve<65||Ve>70&&Ve<97););return _1(i,t1()+(o<6&&af()==32&&Au()==32))}function ep(i){for(;Au();)switch(Ve){case i:return $l;case 34:case 39:i!==34&&i!==39&&ep(Ve);break;case 40:i===41&&ep(i);break;case 92:Au();break}return $l}function US(i,o){for(;Au()&&i+Ve!==57;)if(i+Ve===84&&af()===47)break;return"/*"+_1(o,$l-1)+"*"+dp(i===47?i:Au())}function BS(i){for(;!tp(af());)Au();return _1(i,$l)}function LS(i){return DS(e1("",null,null,null,[""],i=CS(i),0,[0],i))}function e1(i,o,c,h,p,S,b,R,D){for(var T=0,N=0,H=b,nt=0,rt=0,X=0,tt=1,I=1,ht=1,xt=0,ft="",mt=p,_t=S,yt=h,k=ft;I;)switch(X=xt,xt=Au()){case 40:if(X!=108&&an(k,H-1)==58){Pd(k+=Lt(Qg(xt),"&","&\f"),"&\f",Pm(T?R[T-1]:0))!=-1&&(ht=-1);break}case 34:case 39:case 91:k+=Qg(xt);break;case 9:case 10:case 13:case 32:k+=MS(X);break;case 92:k+=NS(t1()-1,7);continue;case 47:switch(af()){case 42:case 47:y0(HS(US(Au(),t1()),o,c,D),D);break;default:k+="/"}break;case 123*tt:R[T++]=ua(k)*ht;case 125*tt:case 59:case 0:switch(xt){case 0:case 125:I=0;case 59+N:ht==-1&&(k=Lt(k,/\f/g,"")),rt>0&&ua(k)-H&&y0(rt>32?Fp(k+";",h,c,H-1,D):Fp(Lt(k," ","")+";",h,c,H-2,D),D);break;case 59:k+=";";default:if(y0(yt=Wp(k,o,c,T,N,p,R,ft,mt=[],_t=[],H,S),S),xt===123)if(N===0)e1(k,o,yt,yt,mt,S,H,R,_t);else switch(nt===99&&an(k,3)===110?100:nt){case 100:case 108:case 109:case 115:e1(i,yt,yt,h&&y0(Wp(i,yt,yt,0,0,p,R,ft,p,mt=[],H,_t),_t),p,_t,H,R,h?mt:_t);break;default:e1(k,yt,yt,yt,[""],_t,0,R,_t)}}T=N=rt=0,tt=ht=1,ft=k="",H=b;break;case 58:H=1+ua(k),rt=X;default:if(tt<1){if(xt==123)--tt;else if(xt==125&&tt++==0&&zS()==125)continue}switch(k+=dp(xt),xt*tt){case 38:ht=N>0?1:(k+="\f",-1);break;case 44:R[T++]=(ua(k)-1)*ht,ht=1;break;case 64:af()===45&&(k+=Qg(Au())),nt=af(),N=H=ua(ft=k+=BS(t1())),xt++;break;case 45:X===45&&ua(k)==2&&(tt=0)}}return S}function Wp(i,o,c,h,p,S,b,R,D,T,N,H){for(var nt=p-1,rt=p===0?S:[""],X=ey(rt),tt=0,I=0,ht=0;tt0?rt[xt]+" "+ft:Lt(ft,/&\f/g,rt[xt])))&&(D[ht++]=mt);return S1(i,o,c,p===0?y1:R,D,T,N,H)}function HS(i,o,c,h){return S1(i,o,c,Im,dp(RS()),kc(i,2,-2),0,h)}function Fp(i,o,c,h,p){return S1(i,o,c,hp,kc(i,0,h),kc(i,h+1,-1),h,p)}function ly(i,o,c){switch(OS(i,o)){case 5103:return fe+"print-"+i+i;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return fe+i+i;case 4789:return v0+i+i;case 5349:case 4246:case 4810:case 6968:case 2756:return fe+i+v0+i+Ae+i+i;case 5936:switch(an(i,o+11)){case 114:return fe+i+Ae+Lt(i,/[svh]\w+-[tblr]{2}/,"tb")+i;case 108:return fe+i+Ae+Lt(i,/[svh]\w+-[tblr]{2}/,"tb-rl")+i;case 45:return fe+i+Ae+Lt(i,/[svh]\w+-[tblr]{2}/,"lr")+i}case 6828:case 4268:case 2903:return fe+i+Ae+i+i;case 6165:return fe+i+Ae+"flex-"+i+i;case 5187:return fe+i+Lt(i,/(\w+).+(:[^]+)/,fe+"box-$1$2"+Ae+"flex-$1$2")+i;case 5443:return fe+i+Ae+"flex-item-"+Lt(i,/flex-|-self/g,"")+(Ba(i,/flex-|baseline/)?"":Ae+"grid-row-"+Lt(i,/flex-|-self/g,""))+i;case 4675:return fe+i+Ae+"flex-line-pack"+Lt(i,/align-content|flex-|-self/g,"")+i;case 5548:return fe+i+Ae+Lt(i,"shrink","negative")+i;case 5292:return fe+i+Ae+Lt(i,"basis","preferred-size")+i;case 6060:return fe+"box-"+Lt(i,"-grow","")+fe+i+Ae+Lt(i,"grow","positive")+i;case 4554:return fe+Lt(i,/([^-])(transform)/g,"$1"+fe+"$2")+i;case 6187:return Lt(Lt(Lt(i,/(zoom-|grab)/,fe+"$1"),/(image-set)/,fe+"$1"),i,"")+i;case 5495:case 3959:return Lt(i,/(image-set\([^]*)/,fe+"$1$`$1");case 4968:return Lt(Lt(i,/(.+:)(flex-)?(.*)/,fe+"box-pack:$3"+Ae+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fe+i+i;case 4200:if(!Ba(i,/flex-|baseline/))return Ae+"grid-column-align"+kc(i,o)+i;break;case 2592:case 3360:return Ae+Lt(i,"template-","")+i;case 4384:case 3616:return c&&c.some(function(h,p){return o=p,Ba(h.props,/grid-\w+-end/)})?~Pd(i+(c=c[o].value),"span",0)?i:Ae+Lt(i,"-start","")+i+Ae+"grid-row-span:"+(~Pd(c,"span",0)?Ba(c,/\d+/):+Ba(c,/\d+/)-+Ba(i,/\d+/))+";":Ae+Lt(i,"-start","")+i;case 4896:case 4128:return c&&c.some(function(h){return Ba(h.props,/grid-\w+-start/)})?i:Ae+Lt(Lt(i,"-end","-span"),"span ","")+i;case 4095:case 3583:case 4068:case 2532:return Lt(i,/(.+)-inline(.+)/,fe+"$1$2")+i;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ua(i)-1-o>6)switch(an(i,o+1)){case 109:if(an(i,o+4)!==45)break;case 102:return Lt(i,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+v0+(an(i,o+3)==108?"$3":"$2-$3"))+i;case 115:return~Pd(i,"stretch",0)?ly(Lt(i,"stretch","fill-available"),o,c)+i:i}break;case 5152:case 5920:return Lt(i,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(h,p,S,b,R,D,T){return Ae+p+":"+S+T+(b?Ae+p+"-span:"+(R?D:+D-+S)+T:"")+i});case 4949:if(an(i,o+6)===121)return Lt(i,":",":"+fe)+i;break;case 6444:switch(an(i,an(i,14)===45?18:11)){case 120:return Lt(i,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+fe+(an(i,14)===45?"inline-":"")+"box$3$1"+fe+"$2$3$1"+Ae+"$2box$3")+i;case 100:return Lt(i,":",":"+Ae)+i}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Lt(i,"scroll-","scroll-snap-")+i}return i}function r1(i,o){for(var c="",h=0;h-1&&!i.return)switch(i.type){case hp:i.return=ly(i.value,i.length,c);return;case km:return r1([Ui(i,{value:Lt(i.value,"@","@"+fe)})],h);case y1:if(i.length)return wS(c=i.props,function(p){switch(Ba(p,h=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Fc(Ui(i,{props:[Lt(p,/:(read-\w+)/,":"+v0+"$1")]})),Fc(Ui(i,{props:[p]})),Pg(i,{props:Jp(c,h)});break;case"::placeholder":Fc(Ui(i,{props:[Lt(p,/:(plac\w+)/,":"+fe+"input-$1")]})),Fc(Ui(i,{props:[Lt(p,/:(plac\w+)/,":"+v0+"$1")]})),Fc(Ui(i,{props:[Lt(p,/:(plac\w+)/,Ae+"input-$1")]})),Fc(Ui(i,{props:[p]})),Pg(i,{props:Jp(c,h)});break}return""})}}var XS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hl={},ts=typeof process<"u"&&Hl!==void 0&&(Hl.REACT_APP_SC_ATTR||Hl.SC_ATTR)||"data-styled",uy="active",ay="data-styled-version",b1="6.1.19",gp=`/*!sc*/ `,f1=typeof window<"u"&&typeof document<"u",QS=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&Hl!==void 0&&Hl.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Hl.REACT_APP_SC_DISABLE_SPEEDY!==""?Hl.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Hl.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&Hl!==void 0&&Hl.SC_DISABLE_SPEEDY!==void 0&&Hl.SC_DISABLE_SPEEDY!==""&&Hl.SC_DISABLE_SPEEDY!=="false"&&Hl.SC_DISABLE_SPEEDY),E1=Object.freeze([]),es=Object.freeze({});function ZS(i,o,c){return c===void 0&&(c=es),i.theme!==c.theme&&i.theme||o||c.theme}var iy=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),KS=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,VS=/(^-|-$)/g;function $p(i){return i.replace(KS,"-").replace(VS,"")}var JS=/(a)(d)/gi,Vd=52,Ip=function(i){return String.fromCharCode(i+(i>25?39:97))};function np(i){var o,c="";for(o=Math.abs(i);o>Vd;o=o/Vd|0)c=Ip(o%Vd)+c;return(Ip(o%Vd)+c).replace(JS,"$1-$2")}var Zg,ry=5381,$c=function(i,o){for(var c=o.length;c;)i=33*i^o.charCodeAt(--c);return i},fy=function(i){return $c(ry,i)};function WS(i){return np(fy(i)>>>0)}function FS(i){return i.displayName||i.name||"Component"}function Kg(i){return typeof i=="string"&&!0}var cy=typeof Symbol=="function"&&Symbol.for,sy=cy?Symbol.for("react.memo"):60115,$S=cy?Symbol.for("react.forward_ref"):60112,IS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},kS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},oy={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},PS=((Zg={})[$S]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zg[sy]=oy,Zg);function kp(i){return("type"in(o=i)&&o.type.$$typeof)===sy?oy:"$$typeof"in i?PS[i.$$typeof]:IS;var o}var t_=Object.defineProperty,e_=Object.getOwnPropertyNames,Pp=Object.getOwnPropertySymbols,n_=Object.getOwnPropertyDescriptor,l_=Object.getPrototypeOf,tm=Object.prototype;function hy(i,o,c){if(typeof o!="string"){if(tm){var h=l_(o);h&&h!==tm&&hy(i,h,c)}var p=e_(o);Pp&&(p=p.concat(Pp(o)));for(var S=kp(i),b=kp(o),R=0;R0?" Args: ".concat(o.join(", ")):""))}var u_=(function(){function i(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}return i.prototype.indexOfGroup=function(o){for(var c=0,h=0;h=this.groupSizes.length){for(var h=this.groupSizes,p=h.length,S=p;o>=S;)if((S<<=1)<0)throw T0(16,"".concat(o));this.groupSizes=new Uint32Array(S),this.groupSizes.set(h),this.length=S;for(var b=p;b=this.length||this.groupSizes[o]===0)return c;for(var h=this.groupSizes[o],p=this.indexOfGroup(o),S=p+h,b=p;b=0){var h=document.createTextNode(c);return this.element.insertBefore(h,this.nodes[o]||null),this.length++,!0}return!1},i.prototype.deleteRule=function(o){this.element.removeChild(this.nodes[o]),this.length--},i.prototype.getRule=function(o){return o0&&(I+="".concat(ht,","))}),D+="".concat(X).concat(tt,'{content:"').concat(I,'"}').concat(gp)},N=0;N0?".".concat(o):nt},N=D.slice();N.push(function(nt){nt.type===y1&&nt.value.includes("&")&&(nt.props[0]=nt.props[0].replace(p_,c).replace(h,T))}),b.prefix&&N.push(YS),N.push(qS);var H=function(nt,rt,X,tt){rt===void 0&&(rt=""),X===void 0&&(X=""),tt===void 0&&(tt="&"),o=tt,c=rt,h=new RegExp("\\".concat(c,"\\b"),"g");var I=nt.replace(m_,""),ht=LS(X||rt?"".concat(X," ").concat(rt," { ").concat(I," }"):I);b.namespace&&(ht=py(ht,b.namespace));var xt=[];return r1(ht,jS(N.concat(GS(function(ft){return xt.push(ft)})))),xt};return H.hash=D.length?D.reduce(function(nt,rt){return rt.name||T0(15),$c(nt,rt.name)},ry).toString():"",H}var v_=new gy,up=y_(),my=mn.createContext({shouldForwardProp:void 0,styleSheet:v_,stylis:up});my.Consumer;mn.createContext(void 0);function um(){return tn.useContext(my)}var S_=(function(){function i(o,c){var h=this;this.inject=function(p,S){S===void 0&&(S=up);var b=h.name+S.hash;p.hasNameForId(h.id,b)||p.insertRules(h.id,b,S(h.rules,b,"@keyframes"))},this.name=o,this.id="sc-keyframes-".concat(o),this.rules=c,mp(this,function(){throw T0(12,String(h.name))})}return i.prototype.getName=function(o){return o===void 0&&(o=up),this.name+o.hash},i})(),__=function(i){return i>="A"&&i<="Z"};function am(i){for(var o="",c=0;c>>0);if(!c.hasNameForId(this.componentId,b)){var R=h(S,".".concat(b),void 0,this.componentId);c.insertRules(this.componentId,b,R)}p=lf(p,b),this.staticRulesId=b}else{for(var D=$c(this.baseHash,h.hash),T="",N=0;N>>0);c.hasNameForId(this.componentId,rt)||c.insertRules(this.componentId,rt,h(T,".".concat(rt),void 0,this.componentId)),p=lf(p,rt)}}return p},i})(),Sy=mn.createContext(void 0);Sy.Consumer;var Vg={};function T_(i,o,c){var h=pp(i),p=i,S=!Kg(i),b=o.attrs,R=b===void 0?E1:b,D=o.componentId,T=D===void 0?(function(mt,_t){var yt=typeof mt!="string"?"sc":$p(mt);Vg[yt]=(Vg[yt]||0)+1;var k="".concat(yt,"-").concat(WS(b1+yt+Vg[yt]));return _t?"".concat(_t,"-").concat(k):k})(o.displayName,o.parentComponentId):D,N=o.displayName,H=N===void 0?(function(mt){return Kg(mt)?"styled.".concat(mt):"Styled(".concat(FS(mt),")")})(i):N,nt=o.displayName&&o.componentId?"".concat($p(o.displayName),"-").concat(o.componentId):o.componentId||T,rt=h&&p.attrs?p.attrs.concat(R).filter(Boolean):R,X=o.shouldForwardProp;if(h&&p.shouldForwardProp){var tt=p.shouldForwardProp;if(o.shouldForwardProp){var I=o.shouldForwardProp;X=function(mt,_t){return tt(mt,_t)&&I(mt,_t)}}else X=tt}var ht=new A_(c,nt,h?p.componentStyle:void 0);function xt(mt,_t){return(function(yt,k,te){var Te=yt.attrs,_l=yt.componentStyle,rn=yt.defaultProps,ze=yt.foldedComponentIds,fn=yt.styledComponentId,Ne=yt.target,en=mn.useContext(Sy),Y=um(),et=yt.shouldForwardProp||Y.shouldForwardProp,ct=ZS(k,en,rn)||es,Mt=(function(gt,Tt,Qt){for(var he,Vt=yl(yl({},Tt),{className:void 0,theme:Qt}),Il=0;Il{const o=new Date(parseInt(i.time)*1e3),c=Math.round(parseInt(i.delay)/60),h=c>0?`+${c}`:"",p=b=>b<=9?`0${b}`:b,S=`${p(o.getHours())}:${p(o.getMinutes())}`;return P.jsxs(O_,{children:[P.jsx(w_,{children:S}),P.jsx(z_,{children:i.station}),P.jsx(fm,{children:i.canceled==="1"?"CANCELED":""}),P.jsx(fm,{children:h}),P.jsx(R_,{children:i.left==="1"?"LEFT":""}),P.jsxs(C_,{children:["Platform: ",i.platform]})]})},Bi="#074c87",M_=pe.div` display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; background: #0b0c10; color: #fff; padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); font-family: "Inter", sans-serif; max-width: 600px; margin: 1rem auto; `,N_=pe.div` display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; `,by=pe.a` font-size: 1.25rem; font-weight: 700; color: ${Bi}; text-decoration: none; margin-right: 1rem; &:hover { text-decoration: underline; color: ${Bi}; } `,U_=pe.span` font-size: 0.8rem; color: #c5c6c7; white-space: nowrap; `,B_=pe.p` font-size: 1rem; color: #a7a7a7; line-height: 1.4; margin-bottom: 1rem; `,L_=pe.div` display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; padding-top: 0.5rem; border-top: 1px solid #1f2833; `,H_=pe.span` color: ${Bi}; strong { font-weight: 600; color: #fff; } `,q_=pe.span` color: ${Bi}; font-style: italic; `,j_=({article:i})=>{if(!i)return null;const c=(p=>{try{return new Date(p).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}catch{return"Unknown Date"}})(i.pubDate),h=Array.isArray(i.keywords)?i.keywords.join(", "):i.keywords;return P.jsxs(M_,{children:[P.jsxs(N_,{children:[P.jsx(by,{href:i.link,target:"_blank",rel:"noopener noreferrer",children:i.title}),P.jsx(U_,{children:c})]}),P.jsx(B_,{children:i.description}),P.jsx("img",{src:i.image_url}),P.jsxs(L_,{children:[P.jsxs(H_,{children:["By: ",P.jsx("strong",{children:i.creator||"N/A"})," from ",P.jsx("strong",{children:i.source_name||"N/A"})]}),P.jsxs(q_,{children:["Tags: ",h||"none"]})]})]})},G_=pe.div` display: flex; justify-content: space-between; align-items: stretch; background: #0b0c10; color: #fff; padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); font-size: 4rem; font-weight: 200; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding-right: 1em; width: 40vh; `,Y_=()=>{const[i,o]=tn.useState(new Date().toLocaleTimeString("fr-FR"));return tn.useEffect(()=>{const c=setInterval(()=>{o(new Date().toLocaleTimeString("fr-FR"))},1e3);return()=>clearInterval(c)},[]),P.jsx(G_,{children:i})},X_=pe.div` display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; `,Q_=({issue:i})=>P.jsx(X_,{children:P.jsx("a",{href:`https://git.boomjacky.art/boomjacky/trainhour/issues/${i.id}`,children:P.jsx(by,{children:i.title})})});var La=function(){return La=Object.assign||function(o){for(var c,h=1,p=arguments.length;h"u")){var h=document.head||document.getElementsByTagName("head")[0],p=document.createElement("style");p.type="text/css",c==="top"&&h.firstChild?h.insertBefore(p,h.firstChild):h.appendChild(p),p.styleSheet?p.styleSheet.cssText=i:p.appendChild(document.createTextNode(i))}}var W_="@keyframes spinners-react-diamond{25%{transform:translate(30px,-30px)}50%{transform:translate(60px)}75%{transform:translate(30px,30px)}}";J_(W_);var cm=[{x:3,y:48},{x:18,y:33},{x:18,y:48},{x:18,y:63},{x:33,y:48},{x:33,y:18},{x:33,y:33},{x:33,y:63},{x:33,y:78},{x:48,y:3},{x:48,y:18},{x:48,y:33},{x:48,y:48},{x:48,y:63},{x:48,y:78},{x:48,y:93},{x:63,y:18},{x:63,y:33},{x:63,y:48},{x:63,y:63},{x:63,y:78},{x:78,y:33},{x:78,y:48},{x:78,y:63},{x:93,y:48}];function F_(i){var o=i.secondaryColor,c=o===void 0?Fd.secondaryColor:o,h=i.speed,p=h===void 0?Fd.speed:h,S=i.still,b=S===void 0?Fd.still:S,R=i.thickness,D=R===void 0?Fd.thickness:R,T=Ey(i,["secondaryColor","speed","still","thickness"]),N={animation:"spinners-react-diamond ".concat(140/p,"s steps(2, end) infinite")};return b&&(N.animation="none"),mn.createElement("svg",La({fill:"currentColor"},T,{viewBox:"0 0 96 96"}),cm.map(function(H){return mn.createElement("circle",{key:"".concat(H.x,"-").concat(H.y),cx:H.x,cy:H.y,fill:c,r:2.5*(D/100)})}),mn.createElement("g",{style:N},cm.filter(function(H,nt){return nt<5}).map(function(H){return mn.createElement("circle",{key:"h-".concat(H.x,"-").concat(H.y),cx:H.x,cy:H.y,r:3.5*(D/100)})})))}var A1=K_(F_);/** * @license lucide-react v0.552.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $_=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),I_=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,c,h)=>h?h.toUpperCase():c.toLowerCase()),sm=i=>{const o=I_(i);return o.charAt(0).toUpperCase()+o.slice(1)},Ay=(...i)=>i.filter((o,c,h)=>!!o&&o.trim()!==""&&h.indexOf(o)===c).join(" ").trim(),k_=i=>{for(const o in i)if(o.startsWith("aria-")||o==="role"||o==="title")return!0};/** * @license lucide-react v0.552.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var P_={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.552.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const tb=tn.forwardRef(({color:i="currentColor",size:o=24,strokeWidth:c=2,absoluteStrokeWidth:h,className:p="",children:S,iconNode:b,...R},D)=>tn.createElement("svg",{ref:D,...P_,width:o,height:o,stroke:i,strokeWidth:h?Number(c)*24/Number(o):c,className:Ay("lucide",p),...!S&&!k_(R)&&{"aria-hidden":"true"},...R},[...b.map(([T,N])=>tn.createElement(T,N)),...Array.isArray(S)?S:[S]]));/** * @license lucide-react v0.552.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const yp=(i,o)=>{const c=tn.forwardRef(({className:h,...p},S)=>tn.createElement(tb,{ref:S,iconNode:o,className:Ay(`lucide-${$_(sm(i))}`,`lucide-${i}`,h),...p}));return c.displayName=sm(i),c};/** * @license lucide-react v0.552.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const eb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],nb=yp("circle-x",eb);/** * @license lucide-react v0.552.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const lb=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],ub=yp("clock",lb);/** * @license lucide-react v0.552.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ab=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ib=yp("triangle-alert",ab),rb=pe.div` display: flex; justify-content: space-around; align-items: center; background: #0b0c10; color: #fff; padding: 1.5rem 2rem; border-radius: 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); font-family: 'Inter', sans-serif; `,Jg=pe.div` display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; & svg { margin-bottom: 0.3em; color: ${Bi}; } .value { font-weight: 600; line-height: 1.1; } .label { font-size: 1em; opacity: 0.7; margin-top: 0.3em; } `,om=i=>{if(i==null||isNaN(i))return"–";const o=Math.floor(i/60),c=Math.round(i%60);return`${o}m ${c}s`},fb=i=>i==null||isNaN(i)?"–":`${(i*100).toFixed(1)}%`,cb=({state:i})=>{const o=i.departures?.filter(ip(60)),c=i.departures?.filter(ip(-180)),h=u1.mean(o?.map(b=>parseInt(b.delay))),p=u1.mean(o?.filter(b=>parseInt(b.delay)!==0)?.map(b=>parseInt(b.delay))),S=(c?.filter(b=>b?.canceled==="1")?.length||0)/(c?.length||1);return P.jsxs(rb,{children:[P.jsxs(Jg,{children:[P.jsx(ub,{size:40}),P.jsx("div",{className:"value",children:om(h)}),P.jsx("div",{className:"label",children:"Avg Delay (all)"})]}),P.jsxs(Jg,{children:[P.jsx(ib,{size:40}),P.jsx("div",{className:"value",children:om(p)}),P.jsx("div",{className:"label",children:"Avg Delay (delayed only)"})]}),P.jsxs(Jg,{children:[P.jsx(nb,{size:40}),P.jsx("div",{className:"value",children:fb(S)}),P.jsx("div",{className:"label",children:"Cancelled"})]})]})},sb=120,ip=i=>o=>{const c=new Date(parseInt(o.time)*1e3),h=new Date,p=c.getHours(),S=c.getMinutes(),b=h.getHours()*60+h.getMinutes(),R=p*60+S;return b+i>R},ob=({state:i})=>{const o=i.departures?.filter(ip(sb));return P.jsxs(P.Fragment,{children:[P.jsx(Y_,{}),P.jsx(cb,{state:i}),i.trainScheduleLoading?P.jsx(A1,{}):i.trainScheduleError?P.jsx("em",{children:i.trainScheduleError?.message}):i.departures?.length===0?P.jsx("em",{children:"No more trains for today."}):o?.map(c=>P.jsx(D_,{departure:c}))]})};var Ty={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},hm=mn.createContext&&mn.createContext(Ty),hb=["attr","size","title"];function db(i,o){if(i==null)return{};var c=gb(i,o),h,p;if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(i);for(p=0;p=0)&&Object.prototype.propertyIsEnumerable.call(i,h)&&(c[h]=i[h])}return c}function gb(i,o){if(i==null)return{};var c={};for(var h in i)if(Object.prototype.hasOwnProperty.call(i,h)){if(o.indexOf(h)>=0)continue;c[h]=i[h]}return c}function s1(){return s1=Object.assign?Object.assign.bind():function(i){for(var o=1;omn.createElement(o.tag,o1({key:c},o.attr),xy(o.child)))}function T1(i){return o=>mn.createElement(vb,s1({attr:o1({},i.attr)},o),xy(i.child))}function vb(i){var o=c=>{var{attr:h,size:p,title:S}=i,b=db(i,hb),R=p||c.size||"1em",D;return c.className&&(D=c.className),i.className&&(D=(D?D+" ":"")+i.className),mn.createElement("svg",s1({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},c.attr,h,b,{className:D,style:o1(o1({color:i.color||c.color},c.style),i.style),height:R,width:R,xmlns:"http://www.w3.org/2000/svg"}),S&&mn.createElement("title",null,S),i.children)};return hm!==void 0?mn.createElement(hm.Consumer,null,c=>o(c)):o(Ty)}function Sb(i){return T1({attr:{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 30 30",style:"enable-background:new 0 0 30 30;"},child:[{tag:"path",attr:{d:`M11.01,12.23c0-0.26,0.13-0.59,0.38-1.01c0.25-0.42,0.5-0.77,0.73-1.04c0.06-0.07,0.14-0.17,0.23-0.28s0.15-0.17,0.16-0.18 l0.37,0.43c0.28,0.31,0.53,0.66,0.76,1.07c0.23,0.41,0.35,0.74,0.35,1.01c0,0.41-0.14,0.77-0.43,1.06 c-0.28,0.29-0.63,0.44-1.05,0.44c-0.41,0-0.77-0.15-1.06-0.44C11.16,12.99,11.01,12.64,11.01,12.23z M14.13,16.38 c0-0.29,0.08-0.62,0.24-1.01c0.16-0.38,0.36-0.74,0.6-1.06c0.46-0.61,0.89-1.12,1.31-1.53c0.04-0.03,0.13-0.11,0.26-0.24l0.25,0.24 c0.39,0.37,0.83,0.88,1.32,1.52c0.26,0.34,0.46,0.7,0.62,1.08s0.24,0.71,0.24,1c0,0.69-0.23,1.26-0.7,1.73 c-0.47,0.47-1.05,0.7-1.73,0.7c-0.68,0-1.25-0.24-1.72-0.71S14.13,17.05,14.13,16.38z M15.65,9.48c0-0.43,0.33-1,1-1.7l0.25,0.28 c0.19,0.22,0.36,0.46,0.51,0.74c0.15,0.27,0.23,0.5,0.23,0.68c0,0.28-0.1,0.5-0.29,0.69c-0.19,0.18-0.42,0.28-0.7,0.28 c-0.29,0-0.53-0.09-0.72-0.28C15.75,9.98,15.65,9.75,15.65,9.48z`},child:[]}]})(i)}function _b(i){return T1({attr:{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 30 30",style:"enable-background:new 0 0 30 30;"},child:[{tag:"path",attr:{d:`M3.1,16.97c0,0.24,0.09,0.45,0.28,0.62c0.16,0.19,0.37,0.28,0.63,0.28H18.7c0.29,0,0.53,0.1,0.73,0.3 c0.2,0.2,0.3,0.45,0.3,0.74c0,0.29-0.1,0.53-0.3,0.72c-0.2,0.19-0.44,0.29-0.74,0.29c-0.29,0-0.54-0.1-0.73-0.29 c-0.16-0.18-0.36-0.26-0.6-0.26c-0.25,0-0.46,0.09-0.64,0.26s-0.27,0.38-0.27,0.61c0,0.25,0.09,0.46,0.28,0.63 c0.56,0.55,1.22,0.83,1.96,0.83c0.78,0,1.45-0.27,2.01-0.81c0.56-0.54,0.83-1.19,0.83-1.97s-0.28-1.44-0.84-2 c-0.56-0.56-1.23-0.84-2-0.84H4.01c-0.25,0-0.46,0.09-0.64,0.26C3.19,16.51,3.1,16.72,3.1,16.97z M3.1,13.69 c0,0.23,0.09,0.43,0.28,0.61c0.17,0.18,0.38,0.26,0.63,0.26h20.04c0.78,0,1.45-0.27,2.01-0.82c0.56-0.54,0.84-1.2,0.84-1.97 c0-0.77-0.28-1.44-0.84-1.99s-1.23-0.83-2.01-0.83c-0.77,0-1.42,0.27-1.95,0.8c-0.18,0.16-0.27,0.38-0.27,0.67 c0,0.26,0.09,0.47,0.26,0.63c0.17,0.16,0.38,0.24,0.63,0.24c0.24,0,0.45-0.08,0.63-0.24c0.19-0.21,0.42-0.31,0.7-0.31 c0.29,0,0.53,0.1,0.73,0.3c0.2,0.2,0.3,0.44,0.3,0.73c0,0.29-0.1,0.53-0.3,0.72c-0.2,0.19-0.44,0.29-0.73,0.29H4.01 c-0.25,0-0.46,0.09-0.64,0.26C3.19,13.23,3.1,13.44,3.1,13.69z`},child:[]}]})(i)}function bb(i){return T1({attr:{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 30 30",style:"enable-background:new 0 0 30 30;"},child:[{tag:"path",attr:{d:`M9.91,19.56c0-0.85,0.2-1.64,0.59-2.38s0.94-1.35,1.65-1.84V5.42c0-0.8,0.27-1.48,0.82-2.03S14.2,2.55,15,2.55 c0.81,0,1.49,0.28,2.04,0.83c0.55,0.56,0.83,1.23,0.83,2.03v9.92c0.71,0.49,1.25,1.11,1.64,1.84s0.58,1.53,0.58,2.38 c0,0.92-0.23,1.78-0.68,2.56s-1.07,1.4-1.85,1.85s-1.63,0.68-2.56,0.68c-0.92,0-1.77-0.23-2.55-0.68s-1.4-1.07-1.86-1.85 S9.91,20.48,9.91,19.56z M11.67,19.56c0,0.93,0.33,1.73,0.98,2.39c0.65,0.66,1.44,0.99,2.36,0.99c0.93,0,1.73-0.33,2.4-1 s1.01-1.46,1.01-2.37c0-0.62-0.16-1.2-0.48-1.73c-0.32-0.53-0.76-0.94-1.32-1.23l-0.28-0.14c-0.1-0.04-0.15-0.14-0.15-0.29V5.42 c0-0.32-0.11-0.59-0.34-0.81C15.62,4.4,15.34,4.29,15,4.29c-0.32,0-0.6,0.11-0.83,0.32c-0.23,0.21-0.34,0.48-0.34,0.81v10.74 c0,0.15-0.05,0.25-0.14,0.29l-0.27,0.14c-0.55,0.29-0.98,0.7-1.29,1.23C11.82,18.35,11.67,18.92,11.67,19.56z M12.45,19.56 c0,0.71,0.24,1.32,0.73,1.82s1.07,0.75,1.76,0.75s1.28-0.25,1.79-0.75c0.51-0.5,0.76-1.11,0.76-1.81c0-0.63-0.22-1.19-0.65-1.67 c-0.43-0.48-0.96-0.77-1.58-0.85V9.69c0-0.06-0.03-0.13-0.1-0.19c-0.07-0.07-0.14-0.1-0.22-0.1c-0.09,0-0.16,0.03-0.21,0.08 c-0.05,0.06-0.08,0.12-0.08,0.21v7.34c-0.61,0.09-1.13,0.37-1.56,0.85C12.66,18.37,12.45,18.92,12.45,19.56z`},child:[]}]})(i)}const Eb=pe.div` display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; background: #0b0c10; color: #fff; padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); font-family: "Inter", sans-serif; max-width: 600px; margin: 1rem auto; `,Ab=pe.div` display: flex; align-items: center; gap: 1rem; img { width: 64px; height: 64px; } h2 { font-size: 1.5rem; font-weight: 600; margin: 0; } `,Tb=pe.div` display: flex; justify-content: space-around; align-items: center; margin-top: 1rem; font-size: 4rm; .weather-item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 1rem; svg { font-size: 2rem; color: ${Bi}; } span { font-size: 0.9rem; opacity: 0.8; } } `,xb=({state:i})=>{const o=i.weather?.current;return o?i.weatherLoading?P.jsx(A1,{}):i.weatherError?P.jsx("em",{children:i.weatherError?.message}):P.jsxs(Eb,{children:[P.jsxs(Ab,{children:[P.jsx("img",{src:o.condition.icon,alt:o.condition.text}),P.jsx("h2",{children:o.condition.text})]}),P.jsxs(Tb,{children:[P.jsxs("div",{className:"weather-item",children:[P.jsx(bb,{}),P.jsxs("span",{children:[o.temp_c,"°C"]})]}),P.jsxs("div",{className:"weather-item",children:[P.jsx(Sb,{}),P.jsxs("span",{children:[o.precip_mm," mm"]})]}),P.jsxs("div",{className:"weather-item",children:[P.jsx(_b,{}),P.jsxs("span",{children:[o.gust_kph," kph"]})]})]})]}):null},Ob=pe.div` display: flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 0; `,wb=pe.button` width: 20px; height: 20px; padding: 0; margin: 0; border: none; border-radius: 50%; background-color: ${({$active:i})=>i?Bi:"#ccc"}; cursor: pointer; outline: none; box-sizing: border-box; display: block; transform: scale(${({$active:i})=>i?1.5:1}); transition: transform 0.3s ease, background-color 0.3s ease; &:hover { transform: scale(${({$active:i})=>i?1.6:1.3}); background-color: ${({$active:i})=>i?Bi:"#999"}; } `,Rb=({currentPage:i,total:o,onChange:c})=>P.jsx(Ob,{children:Array.from({length:o},(h,p)=>{const S=p+1,b=S===i;return P.jsx(wb,{$active:b,onClick:()=>c(S),"aria-label":`Page ${S}`},S)})}),zb=1e4,Wg=2,Cb=({state:i})=>{const[o,c]=tn.useState(1),h=Math.floor((i.news?.length||1)/Wg);return tn.useEffect(()=>{const p=setInterval(()=>{c(o===h?1:o+1)},zb);return()=>clearInterval(p)},[o,i]),P.jsx("div",{children:i.newsLoading?P.jsx(A1,{}):i.newsError?P.jsx("em",{children:i.newsError?.message}):P.jsxs(P.Fragment,{children:[P.jsx(Rb,{currentPage:o,total:h,onChange:c}),i.news?.slice((o-1)*Wg,o*Wg).map(p=>P.jsx(j_,{article:p}))]})})},Db="https://newsdata.io/api/1/latest?apikey=pub_26997f21bb174c7cbab59b3651533429&q=nivelle &country=be",Mb=({dispatch:i})=>{tn.useEffect(()=>{(async()=>{try{i(Fl.loadNews({}));const o=await fetch(Db),{results:c}=await o.json();i(Fl.loadNewsSuccess({news:c}))}catch(o){i(Fl.loadNewsError({error:o}))}})()},[])},Nb="https://api.weatherapi.com/v1/current.json?key=176d6e98c8894466aa6205455253010&q=Nivelles&aqi=no",Ub=({dispatch:i})=>{tn.useEffect(()=>{(async()=>{try{i(Fl.loadWeather({}));const c=await(await fetch(Nb)).json();i(Fl.loadWeatherSuccess({weather:c}))}catch(o){i(Fl.loadWeatherError({error:o}))}})()},[])},Bb="a70bbe6b9f70747278ba3ec7a701b2b279be2efc",Lb=({dispatch:i})=>{tn.useEffect(()=>{(async()=>{try{i(Fl.loadGiteaIssue({}));const c=await(await fetch("https://git.boomjacky.art/api/v1/repos/boomjacky/trainhour/issues?state=all",{method:"GET",headers:{Authorization:`token ${Bb}`,Accept:"application/json"}})).json();i(Fl.loadGiteaIssueSuccess({data:c}))}catch(o){i(Fl.loadGiteaIssueError({error:o}))}})()},[])},Hb=pe.div` display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; background: #0b0c10; color: #fff; padding: 1rem 1.5rem; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); font-family: "Inter", sans-serif; max-width: 600px; margin: 1rem auto; `,qb=({state:i})=>i.issuesLoading?P.jsx(A1,{}):i.issuesError?P.jsx("em",{children:i.issuesError?.message}):P.jsx(Hb,{children:i.issues?.slice(0,3)?.map(o=>P.jsx(Q_,{issue:o}))});function jb(i){return T1({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 176a80 80 0 1 0 80 80 80.24 80.24 0 0 0-80-80zm172.72 80a165.53 165.53 0 0 1-1.64 22.34l48.69 38.12a11.59 11.59 0 0 1 2.63 14.78l-46.06 79.52a11.64 11.64 0 0 1-14.14 4.93l-57.25-23a176.56 176.56 0 0 1-38.82 22.67l-8.56 60.78a11.93 11.93 0 0 1-11.51 9.86h-92.12a12 12 0 0 1-11.51-9.53l-8.56-60.78A169.3 169.3 0 0 1 151.05 393L93.8 416a11.64 11.64 0 0 1-14.14-4.92L33.6 331.57a11.59 11.59 0 0 1 2.63-14.78l48.69-38.12A174.58 174.58 0 0 1 83.28 256a165.53 165.53 0 0 1 1.64-22.34l-48.69-38.12a11.59 11.59 0 0 1-2.63-14.78l46.06-79.52a11.64 11.64 0 0 1 14.14-4.93l57.25 23a176.56 176.56 0 0 1 38.82-22.67l8.56-60.78A11.93 11.93 0 0 1 209.94 26h92.12a12 12 0 0 1 11.51 9.53l8.56 60.78A169.3 169.3 0 0 1 361 119l57.2-23a11.64 11.64 0 0 1 14.14 4.92l46.06 79.52a11.59 11.59 0 0 1-2.63 14.78l-48.69 38.12a174.58 174.58 0 0 1 1.64 22.66z"},child:[]}]})(i)}const Gb=pe.div` display: flex; height: 100vh; width: 100vw; gap: 2rem; `,gm=pe.div` max-width: 45vw; `;function Yb(){const[i,o]=tn.useReducer(Zy,Xy),[c,h]=tn.useState(!1);AS(i,o),Mb({state:i,dispatch:o}),Ub({state:i,dispatch:o}),Lb({state:i,dispatch:o});const p=P.jsxs(P.Fragment,{children:[P.jsxs(gm,{children:[P.jsx("h1",{children:"Next trains"}),P.jsx(ob,{state:i,dispatch:o})]}),P.jsxs(gm,{children:[P.jsx("h1",{children:"Weather"}),P.jsx(xb,{state:i,dispatch:o}),P.jsx("h1",{children:"Issues"}),P.jsx(qb,{state:i,dispatch:o}),P.jsx("h1",{children:"News"}),P.jsx(Cb,{state:i,dispatch:o})]})]}),S=P.jsx(P.Fragment,{children:P.jsx("select",{})});return P.jsx(P.Fragment,{children:P.jsxs(Gb,{children:[P.jsx("div",{onClick:()=>h(!c),children:P.jsx(jb,{size:40})}),c?S:p]})})}Yy.createRoot(document.getElementById("root")).render(P.jsx(tn.StrictMode,{children:P.jsx(Yb,{})}));