ode-explorer 1.5.3-develop.202412021735 → 1.5.3-develop.202412041410
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/index.js +3 -3
- package/dist/version.txt +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var sP=t=>{throw TypeError(t)};var DB=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Sb=(t,e,r)=>e.has(t)||sP("Cannot "+r);var Y=(t,e,r)=>(Sb(t,e,"read from private field"),r?r.call(t):e.get(t)),Ze=(t,e,r)=>e.has(t)?sP("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Ne=(t,e,r,n)=>(Sb(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),lt=(t,e,r)=>(Sb(t,e,"access private method"),r);var wg=(t,e,r,n)=>({set _(i){Ne(t,e,i,r)},get _(){return Y(t,e,n)}});import{odeServices as Me,FOLDER as Er,LAYER_NAME as NB,SnipletsService as Eb,DocumentHelper as Vk,StringUtils as LB,ERROR_CODE as Gk,SORT_ORDER as FB,ResourceService as Wk,ACTION as Wr}from"/assets/js/edifice-ts-client/index.js?v=
|
|
1
|
+
var sP=t=>{throw TypeError(t)};var DB=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Sb=(t,e,r)=>e.has(t)||sP("Cannot "+r);var Y=(t,e,r)=>(Sb(t,e,"read from private field"),r?r.call(t):e.get(t)),Ze=(t,e,r)=>e.has(t)?sP("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Ne=(t,e,r,n)=>(Sb(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),lt=(t,e,r)=>(Sb(t,e,"access private method"),r);var wg=(t,e,r,n)=>({set _(i){Ne(t,e,i,r)},get _(){return Y(t,e,n)}});import{odeServices as Me,FOLDER as Er,LAYER_NAME as NB,SnipletsService as Eb,DocumentHelper as Vk,StringUtils as LB,ERROR_CODE as Gk,SORT_ORDER as FB,ResourceService as Wk,ACTION as Wr}from"/assets/js/edifice-ts-client/index.js?v=941308a2";var Kme=DB((ige,C1)=>{function Xk(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const s=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Po(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function qk(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Yk={exports:{}},Gy={},Qk={exports:{}},ft={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react.production.min.js
|
|
4
4
|
*
|
|
@@ -38,7 +38,7 @@ var sP=t=>{throw TypeError(t)};var DB=(t,e)=>()=>(e||t((e={exports:{}}).exports,
|
|
|
38
38
|
`+i[o].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}while(1<=o&&0<=a);break}}}finally{Rb=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?gf(t):""}function d9(t){switch(t.tag){case 5:return gf(t.type);case 16:return gf("Lazy");case 13:return gf("Suspense");case 19:return gf("SuspenseList");case 0:case 2:case 15:return t=Pb(t.type,!1),t;case 11:return t=Pb(t.type.render,!1),t;case 1:return t=Pb(t.type,!0),t;default:return""}}function L_(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Qc:return"Fragment";case Yc:return"Portal";case O_:return"Profiler";case U2:return"StrictMode";case D_:return"Suspense";case N_:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case SO:return(t.displayName||"Context")+".Consumer";case _O:return(t._context.displayName||"Context")+".Provider";case $2:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case z2:return e=t.displayName||null,e!==null?e:L_(t.type)||"Memo";case za:e=t._payload,t=t._init;try{return L_(t(e))}catch{}}return null}function h9(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return L_(e);case 8:return e===U2?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Al(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function TO(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function f9(t){var e=TO(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,s=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,s.call(this,o)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Cg(t){t._valueTracker||(t._valueTracker=f9(t))}function CO(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=TO(t)?t.checked?"true":"false":t.value),t=n,t!==r?(e.setValue(t),!0):!1}function Ev(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function F_(t,e){var r=e.checked;return Yt({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function RP(t,e){var r=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;r=Al(e.value!=null?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function AO(t,e){e=e.checked,e!=null&&B2(t,"checked",e,!1)}function j_(t,e){AO(t,e);var r=Al(e.value),n=e.type;if(r!=null)n==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(n==="submit"||n==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?B_(t,e.type,r):e.hasOwnProperty("defaultValue")&&B_(t,e.type,Al(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function PP(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!(n!=="submit"&&n!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function B_(t,e,r){(e!=="number"||Ev(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var vf=Array.isArray;function hd(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&n&&(t[r].defaultSelected=!0)}else{for(r=""+Al(r),e=null,i=0;i<t.length;i++){if(t[i].value===r){t[i].selected=!0,n&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function U_(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(pe(91));return Yt({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function IP(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(pe(92));if(vf(r)){if(1<r.length)throw Error(pe(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:Al(r)}}function RO(t,e){var r=Al(e.value),n=Al(e.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),e.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),n!=null&&(t.defaultValue=""+n)}function MP(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function PO(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $_(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?PO(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Ag,IO=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,r,n,i){MSApp.execUnsafeLocalFunction(function(){return t(e,r,n,i)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Ag=Ag||document.createElement("div"),Ag.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Ag.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function up(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var Of={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},p9=["Webkit","ms","Moz","O"];Object.keys(Of).forEach(function(t){p9.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Of[e]=Of[t]})});function MO(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||Of.hasOwnProperty(t)&&Of[t]?(""+e).trim():e+"px"}function kO(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=MO(r,e[r],n);r==="float"&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}var m9=Yt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function z_(t,e){if(e){if(m9[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(pe(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(pe(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(pe(61))}if(e.style!=null&&typeof e.style!="object")throw Error(pe(62))}}function H_(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var V_=null;function H2(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var G_=null,fd=null,pd=null;function kP(t){if(t=sm(t)){if(typeof G_!="function")throw Error(pe(280));var e=t.stateNode;e&&(e=Ky(e),G_(t.stateNode,t.type,e))}}function OO(t){fd?pd?pd.push(t):pd=[t]:fd=t}function DO(){if(fd){var t=fd,e=pd;if(pd=fd=null,kP(t),e)for(t=0;t<e.length;t++)kP(e[t])}}function NO(t,e){return t(e)}function LO(){}var Ib=!1;function FO(t,e,r){if(Ib)return t(e,r);Ib=!0;try{return NO(t,e,r)}finally{Ib=!1,(fd!==null||pd!==null)&&(LO(),DO())}}function cp(t,e){var r=t.stateNode;if(r===null)return null;var n=Ky(r);if(n===null)return null;r=n[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(pe(231,e,typeof r));return r}var W_=!1;if(la)try{var Wh={};Object.defineProperty(Wh,"passive",{get:function(){W_=!0}}),window.addEventListener("test",Wh,Wh),window.removeEventListener("test",Wh,Wh)}catch{W_=!1}function g9(t,e,r,n,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{e.apply(r,u)}catch(c){this.onError(c)}}var Df=!1,Tv=null,Cv=!1,X_=null,v9={onError:function(t){Df=!0,Tv=t}};function y9(t,e,r,n,i,s,o,a,l){Df=!1,Tv=null,g9.apply(v9,arguments)}function x9(t,e,r,n,i,s,o,a,l){if(y9.apply(this,arguments),Df){if(Df){var u=Tv;Df=!1,Tv=null}else throw Error(pe(198));Cv||(Cv=!0,X_=u)}}function uc(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(r=e.return),t=e.return;while(t)}return e.tag===3?r:null}function jO(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function OP(t){if(uc(t)!==t)throw Error(pe(188))}function b9(t){var e=t.alternate;if(!e){if(e=uc(t),e===null)throw Error(pe(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(i===null)break;var s=i.alternate;if(s===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===r)return OP(i),t;if(s===n)return OP(i),e;s=s.sibling}throw Error(pe(188))}if(r.return!==n.return)r=i,n=s;else{for(var o=!1,a=i.child;a;){if(a===r){o=!0,r=i,n=s;break}if(a===n){o=!0,n=i,r=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===r){o=!0,r=s,n=i;break}if(a===n){o=!0,n=s,r=i;break}a=a.sibling}if(!o)throw Error(pe(189))}}if(r.alternate!==n)throw Error(pe(190))}if(r.tag!==3)throw Error(pe(188));return r.stateNode.current===r?t:e}function BO(t){return t=b9(t),t!==null?UO(t):null}function UO(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=UO(t);if(e!==null)return e;t=t.sibling}return null}var $O=mi.unstable_scheduleCallback,DP=mi.unstable_cancelCallback,w9=mi.unstable_shouldYield,_9=mi.unstable_requestPaint,lr=mi.unstable_now,S9=mi.unstable_getCurrentPriorityLevel,V2=mi.unstable_ImmediatePriority,zO=mi.unstable_UserBlockingPriority,Av=mi.unstable_NormalPriority,E9=mi.unstable_LowPriority,HO=mi.unstable_IdlePriority,Xy=null,po=null;function T9(t){if(po&&typeof po.onCommitFiberRoot=="function")try{po.onCommitFiberRoot(Xy,t,void 0,(t.current.flags&128)===128)}catch{}}var ws=Math.clz32?Math.clz32:R9,C9=Math.log,A9=Math.LN2;function R9(t){return t>>>=0,t===0?32:31-(C9(t)/A9|0)|0}var Rg=64,Pg=4194304;function yf(t){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: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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Rv(t,e){var r=t.pendingLanes;if(r===0)return 0;var n=0,i=t.suspendedLanes,s=t.pingedLanes,o=r&268435455;if(o!==0){var a=o&~i;a!==0?n=yf(a):(s&=o,s!==0&&(n=yf(s)))}else o=r&~i,o!==0?n=yf(o):s!==0&&(n=yf(s));if(n===0)return 0;if(e!==0&&e!==n&&!(e&i)&&(i=n&-n,s=e&-e,i>=s||i===16&&(s&4194240)!==0))return e;if(n&4&&(n|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=n;0<e;)r=31-ws(e),i=1<<r,n|=t[r],e&=~i;return n}function P9(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function I9(t,e){for(var r=t.suspendedLanes,n=t.pingedLanes,i=t.expirationTimes,s=t.pendingLanes;0<s;){var o=31-ws(s),a=1<<o,l=i[o];l===-1?(!(a&r)||a&n)&&(i[o]=P9(a,e)):l<=e&&(t.expiredLanes|=a),s&=~a}}function q_(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function VO(){var t=Rg;return Rg<<=1,!(Rg&4194240)&&(Rg=64),t}function Mb(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function nm(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-ws(e),t[e]=r}function M9(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var n=t.eventTimes;for(t=t.expirationTimes;0<r;){var i=31-ws(r),s=1<<i;e[i]=0,n[i]=-1,t[i]=-1,r&=~s}}function G2(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var n=31-ws(r),i=1<<n;i&e|t[n]&e&&(t[n]|=e),r&=~i}}var At=0;function GO(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var WO,W2,XO,qO,YO,Y_=!1,Ig=[],gl=null,vl=null,yl=null,dp=new Map,hp=new Map,Wa=[],k9="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function NP(t,e){switch(t){case"focusin":case"focusout":gl=null;break;case"dragenter":case"dragleave":vl=null;break;case"mouseover":case"mouseout":yl=null;break;case"pointerover":case"pointerout":dp.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":hp.delete(e.pointerId)}}function Xh(t,e,r,n,i,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:r,eventSystemFlags:n,nativeEvent:s,targetContainers:[i]},e!==null&&(e=sm(e),e!==null&&W2(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function O9(t,e,r,n,i){switch(e){case"focusin":return gl=Xh(gl,t,e,r,n,i),!0;case"dragenter":return vl=Xh(vl,t,e,r,n,i),!0;case"mouseover":return yl=Xh(yl,t,e,r,n,i),!0;case"pointerover":var s=i.pointerId;return dp.set(s,Xh(dp.get(s)||null,t,e,r,n,i)),!0;case"gotpointercapture":return s=i.pointerId,hp.set(s,Xh(hp.get(s)||null,t,e,r,n,i)),!0}return!1}function QO(t){var e=Tu(t.target);if(e!==null){var r=uc(e);if(r!==null){if(e=r.tag,e===13){if(e=jO(r),e!==null){t.blockedOn=e,YO(t.priority,function(){XO(r)});return}}else if(e===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function B0(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=Q_(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var n=new r.constructor(r.type,r);V_=n,r.target.dispatchEvent(n),V_=null}else return e=sm(r),e!==null&&W2(e),t.blockedOn=r,!1;e.shift()}return!0}function LP(t,e,r){B0(t)&&r.delete(e)}function D9(){Y_=!1,gl!==null&&B0(gl)&&(gl=null),vl!==null&&B0(vl)&&(vl=null),yl!==null&&B0(yl)&&(yl=null),dp.forEach(LP),hp.forEach(LP)}function qh(t,e){t.blockedOn===e&&(t.blockedOn=null,Y_||(Y_=!0,mi.unstable_scheduleCallback(mi.unstable_NormalPriority,D9)))}function fp(t){function e(i){return qh(i,t)}if(0<Ig.length){qh(Ig[0],t);for(var r=1;r<Ig.length;r++){var n=Ig[r];n.blockedOn===t&&(n.blockedOn=null)}}for(gl!==null&&qh(gl,t),vl!==null&&qh(vl,t),yl!==null&&qh(yl,t),dp.forEach(e),hp.forEach(e),r=0;r<Wa.length;r++)n=Wa[r],n.blockedOn===t&&(n.blockedOn=null);for(;0<Wa.length&&(r=Wa[0],r.blockedOn===null);)QO(r),r.blockedOn===null&&Wa.shift()}var md=xa.ReactCurrentBatchConfig,Pv=!0;function N9(t,e,r,n){var i=At,s=md.transition;md.transition=null;try{At=1,X2(t,e,r,n)}finally{At=i,md.transition=s}}function L9(t,e,r,n){var i=At,s=md.transition;md.transition=null;try{At=4,X2(t,e,r,n)}finally{At=i,md.transition=s}}function X2(t,e,r,n){if(Pv){var i=Q_(t,e,r,n);if(i===null)$b(t,e,n,Iv,r),NP(t,n);else if(O9(i,t,e,r,n))n.stopPropagation();else if(NP(t,n),e&4&&-1<k9.indexOf(t)){for(;i!==null;){var s=sm(i);if(s!==null&&WO(s),s=Q_(t,e,r,n),s===null&&$b(t,e,n,Iv,r),s===i)break;i=s}i!==null&&n.stopPropagation()}else $b(t,e,n,null,r)}}var Iv=null;function Q_(t,e,r,n){if(Iv=null,t=H2(n),t=Tu(t),t!==null)if(e=uc(t),e===null)t=null;else if(r=e.tag,r===13){if(t=jO(e),t!==null)return t;t=null}else if(r===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Iv=t,null}function KO(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(S9()){case V2:return 1;case zO:return 4;case Av:case E9:return 16;case HO:return 536870912;default:return 16}default:return 16}}var ol=null,q2=null,U0=null;function ZO(){if(U0)return U0;var t,e=q2,r=e.length,n,i="value"in ol?ol.value:ol.textContent,s=i.length;for(t=0;t<r&&e[t]===i[t];t++);var o=r-t;for(n=1;n<=o&&e[r-n]===i[s-n];n++);return U0=i.slice(t,1<n?1-n:void 0)}function $0(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Mg(){return!0}function FP(){return!1}function yi(t){function e(r,n,i,s,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(r=t[a],this[a]=r?r(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Mg:FP,this.isPropagationStopped=FP,this}return Yt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Mg)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Mg)},persist:function(){},isPersistent:Mg}),e}var ch={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Y2=yi(ch),im=Yt({},ch,{view:0,detail:0}),F9=yi(im),kb,Ob,Yh,qy=Yt({},im,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Q2,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Yh&&(Yh&&t.type==="mousemove"?(kb=t.screenX-Yh.screenX,Ob=t.screenY-Yh.screenY):Ob=kb=0,Yh=t),kb)},movementY:function(t){return"movementY"in t?t.movementY:Ob}}),jP=yi(qy),j9=Yt({},qy,{dataTransfer:0}),B9=yi(j9),U9=Yt({},im,{relatedTarget:0}),Db=yi(U9),$9=Yt({},ch,{animationName:0,elapsedTime:0,pseudoElement:0}),z9=yi($9),H9=Yt({},ch,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),V9=yi(H9),G9=Yt({},ch,{data:0}),BP=yi(G9),W9={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},X9={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},q9={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Y9(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=q9[t])?!!e[t]:!1}function Q2(){return Y9}var Q9=Yt({},im,{key:function(t){if(t.key){var e=W9[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=$0(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?X9[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Q2,charCode:function(t){return t.type==="keypress"?$0(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?$0(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),K9=yi(Q9),Z9=Yt({},qy,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),UP=yi(Z9),J9=Yt({},im,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Q2}),eU=yi(J9),tU=Yt({},ch,{propertyName:0,elapsedTime:0,pseudoElement:0}),rU=yi(tU),nU=Yt({},qy,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),iU=yi(nU),sU=[9,13,27,32],K2=la&&"CompositionEvent"in window,Nf=null;la&&"documentMode"in document&&(Nf=document.documentMode);var oU=la&&"TextEvent"in window&&!Nf,JO=la&&(!K2||Nf&&8<Nf&&11>=Nf),$P=" ",zP=!1;function eD(t,e){switch(t){case"keyup":return sU.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tD(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Kc=!1;function aU(t,e){switch(t){case"compositionend":return tD(e);case"keypress":return e.which!==32?null:(zP=!0,$P);case"textInput":return t=e.data,t===$P&&zP?null:t;default:return null}}function lU(t,e){if(Kc)return t==="compositionend"||!K2&&eD(t,e)?(t=ZO(),U0=q2=ol=null,Kc=!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.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return JO&&e.locale!=="ko"?null:e.data;default:return null}}var uU={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function HP(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!uU[t.type]:e==="textarea"}function rD(t,e,r,n){OO(n),e=Mv(e,"onChange"),0<e.length&&(r=new Y2("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var Lf=null,pp=null;function cU(t){fD(t,0)}function Yy(t){var e=ed(t);if(CO(e))return t}function dU(t,e){if(t==="change")return e}var nD=!1;if(la){var Nb;if(la){var Lb="oninput"in document;if(!Lb){var VP=document.createElement("div");VP.setAttribute("oninput","return;"),Lb=typeof VP.oninput=="function"}Nb=Lb}else Nb=!1;nD=Nb&&(!document.documentMode||9<document.documentMode)}function GP(){Lf&&(Lf.detachEvent("onpropertychange",iD),pp=Lf=null)}function iD(t){if(t.propertyName==="value"&&Yy(pp)){var e=[];rD(e,pp,t,H2(t)),FO(cU,e)}}function hU(t,e,r){t==="focusin"?(GP(),Lf=e,pp=r,Lf.attachEvent("onpropertychange",iD)):t==="focusout"&&GP()}function fU(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Yy(pp)}function pU(t,e){if(t==="click")return Yy(e)}function mU(t,e){if(t==="input"||t==="change")return Yy(e)}function gU(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Cs=typeof Object.is=="function"?Object.is:gU;function mp(t,e){if(Cs(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!k_.call(e,i)||!Cs(t[i],e[i]))return!1}return!0}function WP(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function XP(t,e){var r=WP(t);t=0;for(var n;r;){if(r.nodeType===3){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=WP(r)}}function sD(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?sD(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function oD(){for(var t=window,e=Ev();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=Ev(t.document)}return e}function Z2(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")}function vU(t){var e=oD(),r=t.focusedElem,n=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&sD(r.ownerDocument.documentElement,r)){if(n!==null&&Z2(r)){if(e=n.start,t=n.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=r.textContent.length,s=Math.min(n.start,i);n=n.end===void 0?s:Math.min(n.end,i),!t.extend&&s>n&&(i=n,n=s,s=i),i=XP(r,s);var o=XP(r,n);i&&o&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),s>n?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<e.length;r++)t=e[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var yU=la&&"documentMode"in document&&11>=document.documentMode,Zc=null,K_=null,Ff=null,Z_=!1;function qP(t,e,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Z_||Zc==null||Zc!==Ev(n)||(n=Zc,"selectionStart"in n&&Z2(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ff&&mp(Ff,n)||(Ff=n,n=Mv(K_,"onSelect"),0<n.length&&(e=new Y2("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=Zc)))}function kg(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var Jc={animationend:kg("Animation","AnimationEnd"),animationiteration:kg("Animation","AnimationIteration"),animationstart:kg("Animation","AnimationStart"),transitionend:kg("Transition","TransitionEnd")},Fb={},aD={};la&&(aD=document.createElement("div").style,"AnimationEvent"in window||(delete Jc.animationend.animation,delete Jc.animationiteration.animation,delete Jc.animationstart.animation),"TransitionEvent"in window||delete Jc.transitionend.transition);function Qy(t){if(Fb[t])return Fb[t];if(!Jc[t])return t;var e=Jc[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in aD)return Fb[t]=e[r];return t}var lD=Qy("animationend"),uD=Qy("animationiteration"),cD=Qy("animationstart"),dD=Qy("transitionend"),hD=new Map,YP="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nl(t,e){hD.set(t,e),lc(e,[t])}for(var jb=0;jb<YP.length;jb++){var Bb=YP[jb],xU=Bb.toLowerCase(),bU=Bb[0].toUpperCase()+Bb.slice(1);Nl(xU,"on"+bU)}Nl(lD,"onAnimationEnd");Nl(uD,"onAnimationIteration");Nl(cD,"onAnimationStart");Nl("dblclick","onDoubleClick");Nl("focusin","onFocus");Nl("focusout","onBlur");Nl(dD,"onTransitionEnd");Vd("onMouseEnter",["mouseout","mouseover"]);Vd("onMouseLeave",["mouseout","mouseover"]);Vd("onPointerEnter",["pointerout","pointerover"]);Vd("onPointerLeave",["pointerout","pointerover"]);lc("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));lc("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));lc("onBeforeInput",["compositionend","keypress","textInput","paste"]);lc("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));lc("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));lc("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wU=new Set("cancel close invalid load scroll toggle".split(" ").concat(xf));function QP(t,e,r){var n=t.type||"unknown-event";t.currentTarget=r,x9(n,e,void 0,t),t.currentTarget=null}function fD(t,e){e=(e&4)!==0;for(var r=0;r<t.length;r++){var n=t[r],i=n.event;n=n.listeners;e:{var s=void 0;if(e)for(var o=n.length-1;0<=o;o--){var a=n[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;QP(i,a,u),s=l}else for(o=0;o<n.length;o++){if(a=n[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;QP(i,a,u),s=l}}}if(Cv)throw t=X_,Cv=!1,X_=null,t}function Nt(t,e){var r=e[nS];r===void 0&&(r=e[nS]=new Set);var n=t+"__bubble";r.has(n)||(pD(e,t,2,!1),r.add(n))}function Ub(t,e,r){var n=0;e&&(n|=4),pD(r,t,n,e)}var Og="_reactListening"+Math.random().toString(36).slice(2);function gp(t){if(!t[Og]){t[Og]=!0,wO.forEach(function(r){r!=="selectionchange"&&(wU.has(r)||Ub(r,!1,t),Ub(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Og]||(e[Og]=!0,Ub("selectionchange",!1,e))}}function pD(t,e,r,n){switch(KO(e)){case 1:var i=N9;break;case 4:i=L9;break;default:i=X2}r=i.bind(null,e,r,t),i=void 0,!W_||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),n?i!==void 0?t.addEventListener(e,r,{capture:!0,passive:i}):t.addEventListener(e,r,!0):i!==void 0?t.addEventListener(e,r,{passive:i}):t.addEventListener(e,r,!1)}function $b(t,e,r,n,i){var s=n;if(!(e&1)&&!(e&2)&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var a=n.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Tu(a),o===null)return;if(l=o.tag,l===5||l===6){n=s=o;continue e}a=a.parentNode}}n=n.return}FO(function(){var u=s,c=H2(r),h=[];e:{var f=hD.get(t);if(f!==void 0){var m=Y2,y=t;switch(t){case"keypress":if($0(r)===0)break e;case"keydown":case"keyup":m=K9;break;case"focusin":y="focus",m=Db;break;case"focusout":y="blur",m=Db;break;case"beforeblur":case"afterblur":m=Db;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=jP;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=B9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=eU;break;case lD:case uD:case cD:m=z9;break;case dD:m=rU;break;case"scroll":m=F9;break;case"wheel":m=iU;break;case"copy":case"cut":case"paste":m=V9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=UP}var v=(e&4)!==0,x=!v&&t==="scroll",b=v?f!==null?f+"Capture":null:f;v=[];for(var _=u,w;_!==null;){w=_;var E=w.stateNode;if(w.tag===5&&E!==null&&(w=E,b!==null&&(E=cp(_,b),E!=null&&v.push(vp(_,E,w)))),x)break;_=_.return}0<v.length&&(f=new m(f,y,null,r,c),h.push({event:f,listeners:v}))}}if(!(e&7)){e:{if(f=t==="mouseover"||t==="pointerover",m=t==="mouseout"||t==="pointerout",f&&r!==V_&&(y=r.relatedTarget||r.fromElement)&&(Tu(y)||y[ua]))break e;if((m||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,m?(y=r.relatedTarget||r.toElement,m=u,y=y?Tu(y):null,y!==null&&(x=uc(y),y!==x||y.tag!==5&&y.tag!==6)&&(y=null)):(m=null,y=u),m!==y)){if(v=jP,E="onMouseLeave",b="onMouseEnter",_="mouse",(t==="pointerout"||t==="pointerover")&&(v=UP,E="onPointerLeave",b="onPointerEnter",_="pointer"),x=m==null?f:ed(m),w=y==null?f:ed(y),f=new v(E,_+"leave",m,r,c),f.target=x,f.relatedTarget=w,E=null,Tu(c)===u&&(v=new v(b,_+"enter",y,r,c),v.target=w,v.relatedTarget=x,E=v),x=E,m&&y)t:{for(v=m,b=y,_=0,w=v;w;w=kc(w))_++;for(w=0,E=b;E;E=kc(E))w++;for(;0<_-w;)v=kc(v),_--;for(;0<w-_;)b=kc(b),w--;for(;_--;){if(v===b||b!==null&&v===b.alternate)break t;v=kc(v),b=kc(b)}v=null}else v=null;m!==null&&KP(h,f,m,v,!1),y!==null&&x!==null&&KP(h,x,y,v,!0)}}e:{if(f=u?ed(u):window,m=f.nodeName&&f.nodeName.toLowerCase(),m==="select"||m==="input"&&f.type==="file")var A=dU;else if(HP(f))if(nD)A=mU;else{A=fU;var P=hU}else(m=f.nodeName)&&m.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(A=pU);if(A&&(A=A(t,u))){rD(h,A,r,c);break e}P&&P(t,f,u),t==="focusout"&&(P=f._wrapperState)&&P.controlled&&f.type==="number"&&B_(f,"number",f.value)}switch(P=u?ed(u):window,t){case"focusin":(HP(P)||P.contentEditable==="true")&&(Zc=P,K_=u,Ff=null);break;case"focusout":Ff=K_=Zc=null;break;case"mousedown":Z_=!0;break;case"contextmenu":case"mouseup":case"dragend":Z_=!1,qP(h,r,c);break;case"selectionchange":if(yU)break;case"keydown":case"keyup":qP(h,r,c)}var I;if(K2)e:{switch(t){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else Kc?eD(t,r)&&(M="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(M="onCompositionStart");M&&(JO&&r.locale!=="ko"&&(Kc||M!=="onCompositionStart"?M==="onCompositionEnd"&&Kc&&(I=ZO()):(ol=c,q2="value"in ol?ol.value:ol.textContent,Kc=!0)),P=Mv(u,M),0<P.length&&(M=new BP(M,t,null,r,c),h.push({event:M,listeners:P}),I?M.data=I:(I=tD(r),I!==null&&(M.data=I)))),(I=oU?aU(t,r):lU(t,r))&&(u=Mv(u,"onBeforeInput"),0<u.length&&(c=new BP("onBeforeInput","beforeinput",null,r,c),h.push({event:c,listeners:u}),c.data=I))}fD(h,e)})}function vp(t,e,r){return{instance:t,listener:e,currentTarget:r}}function Mv(t,e){for(var r=e+"Capture",n=[];t!==null;){var i=t,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=cp(t,r),s!=null&&n.unshift(vp(t,s,i)),s=cp(t,e),s!=null&&n.push(vp(t,s,i))),t=t.return}return n}function kc(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function KP(t,e,r,n,i){for(var s=e._reactName,o=[];r!==null&&r!==n;){var a=r,l=a.alternate,u=a.stateNode;if(l!==null&&l===n)break;a.tag===5&&u!==null&&(a=u,i?(l=cp(r,s),l!=null&&o.unshift(vp(r,l,a))):i||(l=cp(r,s),l!=null&&o.push(vp(r,l,a)))),r=r.return}o.length!==0&&t.push({event:e,listeners:o})}var _U=/\r\n?/g,SU=/\u0000|\uFFFD/g;function ZP(t){return(typeof t=="string"?t:""+t).replace(_U,`
|
|
39
39
|
`).replace(SU,"")}function Dg(t,e,r){if(e=ZP(e),ZP(t)!==e&&r)throw Error(pe(425))}function kv(){}var J_=null,eS=null;function tS(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var rS=typeof setTimeout=="function"?setTimeout:void 0,EU=typeof clearTimeout=="function"?clearTimeout:void 0,JP=typeof Promise=="function"?Promise:void 0,TU=typeof queueMicrotask=="function"?queueMicrotask:typeof JP<"u"?function(t){return JP.resolve(null).then(t).catch(CU)}:rS;function CU(t){setTimeout(function(){throw t})}function zb(t,e){var r=e,n=0;do{var i=r.nextSibling;if(t.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(n===0){t.removeChild(i),fp(e);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=i}while(r);fp(e)}function xl(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function eI(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(e===0)return t;e--}else r==="/$"&&e++}t=t.previousSibling}return null}var dh=Math.random().toString(36).slice(2),oo="__reactFiber$"+dh,yp="__reactProps$"+dh,ua="__reactContainer$"+dh,nS="__reactEvents$"+dh,AU="__reactListeners$"+dh,RU="__reactHandles$"+dh;function Tu(t){var e=t[oo];if(e)return e;for(var r=t.parentNode;r;){if(e=r[ua]||r[oo]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=eI(t);t!==null;){if(r=t[oo])return r;t=eI(t)}return e}t=r,r=t.parentNode}return null}function sm(t){return t=t[oo]||t[ua],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function ed(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(pe(33))}function Ky(t){return t[yp]||null}var iS=[],td=-1;function Ll(t){return{current:t}}function Ft(t){0>td||(t.current=iS[td],iS[td]=null,td--)}function Mt(t,e){td++,iS[td]=t.current,t.current=e}var Rl={},hn=Ll(Rl),Gn=Ll(!1),Xu=Rl;function Gd(t,e){var r=t.type.contextTypes;if(!r)return Rl;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in r)i[s]=e[s];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Wn(t){return t=t.childContextTypes,t!=null}function Ov(){Ft(Gn),Ft(hn)}function tI(t,e,r){if(hn.current!==Rl)throw Error(pe(168));Mt(hn,e),Mt(Gn,r)}function mD(t,e,r){var n=t.stateNode;if(e=e.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(pe(108,h9(t)||"Unknown",i));return Yt({},r,n)}function Dv(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Rl,Xu=hn.current,Mt(hn,t),Mt(Gn,Gn.current),!0}function rI(t,e,r){var n=t.stateNode;if(!n)throw Error(pe(169));r?(t=mD(t,e,Xu),n.__reactInternalMemoizedMergedChildContext=t,Ft(Gn),Ft(hn),Mt(hn,t)):Ft(Gn),Mt(Gn,r)}var qo=null,Zy=!1,Hb=!1;function gD(t){qo===null?qo=[t]:qo.push(t)}function PU(t){Zy=!0,gD(t)}function Fl(){if(!Hb&&qo!==null){Hb=!0;var t=0,e=At;try{var r=qo;for(At=1;t<r.length;t++){var n=r[t];do n=n(!0);while(n!==null)}qo=null,Zy=!1}catch(i){throw qo!==null&&(qo=qo.slice(t+1)),$O(V2,Fl),i}finally{At=e,Hb=!1}}return null}var rd=[],nd=0,Nv=null,Lv=0,Di=[],Ni=0,qu=null,Qo=1,Ko="";function pu(t,e){rd[nd++]=Lv,rd[nd++]=Nv,Nv=t,Lv=e}function vD(t,e,r){Di[Ni++]=Qo,Di[Ni++]=Ko,Di[Ni++]=qu,qu=t;var n=Qo;t=Ko;var i=32-ws(n)-1;n&=~(1<<i),r+=1;var s=32-ws(e)+i;if(30<s){var o=i-i%5;s=(n&(1<<o)-1).toString(32),n>>=o,i-=o,Qo=1<<32-ws(e)+i|r<<i|n,Ko=s+t}else Qo=1<<s|r<<i|n,Ko=t}function J2(t){t.return!==null&&(pu(t,1),vD(t,1,0))}function eT(t){for(;t===Nv;)Nv=rd[--nd],rd[nd]=null,Lv=rd[--nd],rd[nd]=null;for(;t===qu;)qu=Di[--Ni],Di[Ni]=null,Ko=Di[--Ni],Di[Ni]=null,Qo=Di[--Ni],Di[Ni]=null}var hi=null,ci=null,zt=!1,fs=null;function yD(t,e){var r=Bi(5,null,null,0);r.elementType="DELETED",r.stateNode=e,r.return=t,e=t.deletions,e===null?(t.deletions=[r],t.flags|=16):e.push(r)}function nI(t,e){switch(t.tag){case 5:var r=t.type;return e=e.nodeType!==1||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,hi=t,ci=xl(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,hi=t,ci=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=qu!==null?{id:Qo,overflow:Ko}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=Bi(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,hi=t,ci=null,!0):!1;default:return!1}}function sS(t){return(t.mode&1)!==0&&(t.flags&128)===0}function oS(t){if(zt){var e=ci;if(e){var r=e;if(!nI(t,e)){if(sS(t))throw Error(pe(418));e=xl(r.nextSibling);var n=hi;e&&nI(t,e)?yD(n,r):(t.flags=t.flags&-4097|2,zt=!1,hi=t)}}else{if(sS(t))throw Error(pe(418));t.flags=t.flags&-4097|2,zt=!1,hi=t}}}function iI(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;hi=t}function Ng(t){if(t!==hi)return!1;if(!zt)return iI(t),zt=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!tS(t.type,t.memoizedProps)),e&&(e=ci)){if(sS(t))throw xD(),Error(pe(418));for(;e;)yD(t,e),e=xl(e.nextSibling)}if(iI(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(pe(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){ci=xl(t.nextSibling);break e}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}ci=null}}else ci=hi?xl(t.stateNode.nextSibling):null;return!0}function xD(){for(var t=ci;t;)t=xl(t.nextSibling)}function Wd(){ci=hi=null,zt=!1}function tT(t){fs===null?fs=[t]:fs.push(t)}var IU=xa.ReactCurrentBatchConfig;function Qh(t,e,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(pe(309));var n=r.stateNode}if(!n)throw Error(pe(147,t));var i=n,s=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===s?e.ref:(e=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},e._stringRef=s,e)}if(typeof t!="string")throw Error(pe(284));if(!r._owner)throw Error(pe(290,t))}return t}function Lg(t,e){throw t=Object.prototype.toString.call(e),Error(pe(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function sI(t){var e=t._init;return e(t._payload)}function bD(t){function e(b,_){if(t){var w=b.deletions;w===null?(b.deletions=[_],b.flags|=16):w.push(_)}}function r(b,_){if(!t)return null;for(;_!==null;)e(b,_),_=_.sibling;return null}function n(b,_){for(b=new Map;_!==null;)_.key!==null?b.set(_.key,_):b.set(_.index,_),_=_.sibling;return b}function i(b,_){return b=Sl(b,_),b.index=0,b.sibling=null,b}function s(b,_,w){return b.index=w,t?(w=b.alternate,w!==null?(w=w.index,w<_?(b.flags|=2,_):w):(b.flags|=2,_)):(b.flags|=1048576,_)}function o(b){return t&&b.alternate===null&&(b.flags|=2),b}function a(b,_,w,E){return _===null||_.tag!==6?(_=Qb(w,b.mode,E),_.return=b,_):(_=i(_,w),_.return=b,_)}function l(b,_,w,E){var A=w.type;return A===Qc?c(b,_,w.props.children,E,w.key):_!==null&&(_.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===za&&sI(A)===_.type)?(E=i(_,w.props),E.ref=Qh(b,_,w),E.return=b,E):(E=q0(w.type,w.key,w.props,null,b.mode,E),E.ref=Qh(b,_,w),E.return=b,E)}function u(b,_,w,E){return _===null||_.tag!==4||_.stateNode.containerInfo!==w.containerInfo||_.stateNode.implementation!==w.implementation?(_=Kb(w,b.mode,E),_.return=b,_):(_=i(_,w.children||[]),_.return=b,_)}function c(b,_,w,E,A){return _===null||_.tag!==7?(_=Bu(w,b.mode,E,A),_.return=b,_):(_=i(_,w),_.return=b,_)}function h(b,_,w){if(typeof _=="string"&&_!==""||typeof _=="number")return _=Qb(""+_,b.mode,w),_.return=b,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Tg:return w=q0(_.type,_.key,_.props,null,b.mode,w),w.ref=Qh(b,null,_),w.return=b,w;case Yc:return _=Kb(_,b.mode,w),_.return=b,_;case za:var E=_._init;return h(b,E(_._payload),w)}if(vf(_)||Gh(_))return _=Bu(_,b.mode,w,null),_.return=b,_;Lg(b,_)}return null}function f(b,_,w,E){var A=_!==null?_.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return A!==null?null:a(b,_,""+w,E);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Tg:return w.key===A?l(b,_,w,E):null;case Yc:return w.key===A?u(b,_,w,E):null;case za:return A=w._init,f(b,_,A(w._payload),E)}if(vf(w)||Gh(w))return A!==null?null:c(b,_,w,E,null);Lg(b,w)}return null}function m(b,_,w,E,A){if(typeof E=="string"&&E!==""||typeof E=="number")return b=b.get(w)||null,a(_,b,""+E,A);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Tg:return b=b.get(E.key===null?w:E.key)||null,l(_,b,E,A);case Yc:return b=b.get(E.key===null?w:E.key)||null,u(_,b,E,A);case za:var P=E._init;return m(b,_,w,P(E._payload),A)}if(vf(E)||Gh(E))return b=b.get(w)||null,c(_,b,E,A,null);Lg(_,E)}return null}function y(b,_,w,E){for(var A=null,P=null,I=_,M=_=0,N=null;I!==null&&M<w.length;M++){I.index>M?(N=I,I=null):N=I.sibling;var z=f(b,I,w[M],E);if(z===null){I===null&&(I=N);break}t&&I&&z.alternate===null&&e(b,I),_=s(z,_,M),P===null?A=z:P.sibling=z,P=z,I=N}if(M===w.length)return r(b,I),zt&&pu(b,M),A;if(I===null){for(;M<w.length;M++)I=h(b,w[M],E),I!==null&&(_=s(I,_,M),P===null?A=I:P.sibling=I,P=I);return zt&&pu(b,M),A}for(I=n(b,I);M<w.length;M++)N=m(I,b,M,w[M],E),N!==null&&(t&&N.alternate!==null&&I.delete(N.key===null?M:N.key),_=s(N,_,M),P===null?A=N:P.sibling=N,P=N);return t&&I.forEach(function(j){return e(b,j)}),zt&&pu(b,M),A}function v(b,_,w,E){var A=Gh(w);if(typeof A!="function")throw Error(pe(150));if(w=A.call(w),w==null)throw Error(pe(151));for(var P=A=null,I=_,M=_=0,N=null,z=w.next();I!==null&&!z.done;M++,z=w.next()){I.index>M?(N=I,I=null):N=I.sibling;var j=f(b,I,z.value,E);if(j===null){I===null&&(I=N);break}t&&I&&j.alternate===null&&e(b,I),_=s(j,_,M),P===null?A=j:P.sibling=j,P=j,I=N}if(z.done)return r(b,I),zt&&pu(b,M),A;if(I===null){for(;!z.done;M++,z=w.next())z=h(b,z.value,E),z!==null&&(_=s(z,_,M),P===null?A=z:P.sibling=z,P=z);return zt&&pu(b,M),A}for(I=n(b,I);!z.done;M++,z=w.next())z=m(I,b,M,z.value,E),z!==null&&(t&&z.alternate!==null&&I.delete(z.key===null?M:z.key),_=s(z,_,M),P===null?A=z:P.sibling=z,P=z);return t&&I.forEach(function(H){return e(b,H)}),zt&&pu(b,M),A}function x(b,_,w,E){if(typeof w=="object"&&w!==null&&w.type===Qc&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Tg:e:{for(var A=w.key,P=_;P!==null;){if(P.key===A){if(A=w.type,A===Qc){if(P.tag===7){r(b,P.sibling),_=i(P,w.props.children),_.return=b,b=_;break e}}else if(P.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===za&&sI(A)===P.type){r(b,P.sibling),_=i(P,w.props),_.ref=Qh(b,P,w),_.return=b,b=_;break e}r(b,P);break}else e(b,P);P=P.sibling}w.type===Qc?(_=Bu(w.props.children,b.mode,E,w.key),_.return=b,b=_):(E=q0(w.type,w.key,w.props,null,b.mode,E),E.ref=Qh(b,_,w),E.return=b,b=E)}return o(b);case Yc:e:{for(P=w.key;_!==null;){if(_.key===P)if(_.tag===4&&_.stateNode.containerInfo===w.containerInfo&&_.stateNode.implementation===w.implementation){r(b,_.sibling),_=i(_,w.children||[]),_.return=b,b=_;break e}else{r(b,_);break}else e(b,_);_=_.sibling}_=Kb(w,b.mode,E),_.return=b,b=_}return o(b);case za:return P=w._init,x(b,_,P(w._payload),E)}if(vf(w))return y(b,_,w,E);if(Gh(w))return v(b,_,w,E);Lg(b,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,_!==null&&_.tag===6?(r(b,_.sibling),_=i(_,w),_.return=b,b=_):(r(b,_),_=Qb(w,b.mode,E),_.return=b,b=_),o(b)):r(b,_)}return x}var Xd=bD(!0),wD=bD(!1),Fv=Ll(null),jv=null,id=null,rT=null;function nT(){rT=id=jv=null}function iT(t){var e=Fv.current;Ft(Fv),t._currentValue=e}function aS(t,e,r){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===r)break;t=t.return}}function gd(t,e){jv=t,rT=id=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(Hn=!0),t.firstContext=null)}function Xi(t){var e=t._currentValue;if(rT!==t)if(t={context:t,memoizedValue:e,next:null},id===null){if(jv===null)throw Error(pe(308));id=t,jv.dependencies={lanes:0,firstContext:t}}else id=id.next=t;return e}var Cu=null;function sT(t){Cu===null?Cu=[t]:Cu.push(t)}function _D(t,e,r,n){var i=e.interleaved;return i===null?(r.next=r,sT(e)):(r.next=i.next,i.next=r),e.interleaved=r,ca(t,n)}function ca(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var Ha=!1;function oT(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function SD(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function na(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function bl(t,e,r){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,bt&2){var i=n.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),n.pending=e,ca(t,r)}return i=n.interleaved,i===null?(e.next=e,sT(n)):(e.next=i.next,i.next=e),n.interleaved=e,ca(t,r)}function z0(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,G2(t,r)}}function oI(t,e){var r=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,s=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};s===null?i=s=o:s=s.next=o,r=r.next}while(r!==null);s===null?i=s=e:s=s.next=e}else i=s=e;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:n.shared,effects:n.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function Bv(t,e,r,n){var i=t.updateQueue;Ha=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=t.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var h=i.baseState;o=0,c=u=l=null,a=s;do{var f=a.lane,m=a.eventTime;if((n&f)===f){c!==null&&(c=c.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=t,v=a;switch(f=e,m=r,v.tag){case 1:if(y=v.payload,typeof y=="function"){h=y.call(m,h,f);break e}h=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,f=typeof y=="function"?y.call(m,h,f):y,f==null)break e;h=Yt({},h,f);break e;case 2:Ha=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else m={eventTime:m,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=m,l=h):c=c.next=m,o|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(c===null&&(l=h),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,e=i.shared.interleaved,e!==null){i=e;do o|=i.lane,i=i.next;while(i!==e)}else s===null&&(i.shared.lanes=0);Qu|=o,t.lanes=o,t.memoizedState=h}}function aI(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var n=t[e],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(pe(191,i));i.call(n)}}}var om={},mo=Ll(om),xp=Ll(om),bp=Ll(om);function Au(t){if(t===om)throw Error(pe(174));return t}function aT(t,e){switch(Mt(bp,e),Mt(xp,t),Mt(mo,om),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:$_(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=$_(e,t)}Ft(mo),Mt(mo,e)}function qd(){Ft(mo),Ft(xp),Ft(bp)}function ED(t){Au(bp.current);var e=Au(mo.current),r=$_(e,t.type);e!==r&&(Mt(xp,t),Mt(mo,r))}function lT(t){xp.current===t&&(Ft(mo),Ft(xp))}var Wt=Ll(0);function Uv(t){for(var e=t;e!==null;){if(e.tag===13){var r=e.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Vb=[];function uT(){for(var t=0;t<Vb.length;t++)Vb[t]._workInProgressVersionPrimary=null;Vb.length=0}var H0=xa.ReactCurrentDispatcher,Gb=xa.ReactCurrentBatchConfig,Yu=0,qt=null,wr=null,Fr=null,$v=!1,jf=!1,wp=0,MU=0;function ln(){throw Error(pe(321))}function cT(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Cs(t[r],e[r]))return!1;return!0}function dT(t,e,r,n,i,s){if(Yu=s,qt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,H0.current=t===null||t.memoizedState===null?NU:LU,t=r(n,i),jf){s=0;do{if(jf=!1,wp=0,25<=s)throw Error(pe(301));s+=1,Fr=wr=null,e.updateQueue=null,H0.current=FU,t=r(n,i)}while(jf)}if(H0.current=zv,e=wr!==null&&wr.next!==null,Yu=0,Fr=wr=qt=null,$v=!1,e)throw Error(pe(300));return t}function hT(){var t=wp!==0;return wp=0,t}function Qs(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fr===null?qt.memoizedState=Fr=t:Fr=Fr.next=t,Fr}function qi(){if(wr===null){var t=qt.alternate;t=t!==null?t.memoizedState:null}else t=wr.next;var e=Fr===null?qt.memoizedState:Fr.next;if(e!==null)Fr=e,wr=t;else{if(t===null)throw Error(pe(310));wr=t,t={memoizedState:wr.memoizedState,baseState:wr.baseState,baseQueue:wr.baseQueue,queue:wr.queue,next:null},Fr===null?qt.memoizedState=Fr=t:Fr=Fr.next=t}return Fr}function _p(t,e){return typeof e=="function"?e(t):e}function Wb(t){var e=qi(),r=e.queue;if(r===null)throw Error(pe(311));r.lastRenderedReducer=t;var n=wr,i=n.baseQueue,s=r.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}n.baseQueue=i=s,r.pending=null}if(i!==null){s=i.next,n=n.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((Yu&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:t(n,u.action);else{var h={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=h,o=n):l=l.next=h,qt.lanes|=c,Qu|=c}u=u.next}while(u!==null&&u!==s);l===null?o=n:l.next=a,Cs(n,e.memoizedState)||(Hn=!0),e.memoizedState=n,e.baseState=o,e.baseQueue=l,r.lastRenderedState=n}if(t=r.interleaved,t!==null){i=t;do s=i.lane,qt.lanes|=s,Qu|=s,i=i.next;while(i!==t)}else i===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function Xb(t){var e=qi(),r=e.queue;if(r===null)throw Error(pe(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,s=e.memoizedState;if(i!==null){r.pending=null;var o=i=i.next;do s=t(s,o.action),o=o.next;while(o!==i);Cs(s,e.memoizedState)||(Hn=!0),e.memoizedState=s,e.baseQueue===null&&(e.baseState=s),r.lastRenderedState=s}return[s,n]}function TD(){}function CD(t,e){var r=qt,n=qi(),i=e(),s=!Cs(n.memoizedState,i);if(s&&(n.memoizedState=i,Hn=!0),n=n.queue,fT(PD.bind(null,r,n,t),[t]),n.getSnapshot!==e||s||Fr!==null&&Fr.memoizedState.tag&1){if(r.flags|=2048,Sp(9,RD.bind(null,r,n,i,e),void 0,null),$r===null)throw Error(pe(349));Yu&30||AD(r,e,i)}return i}function AD(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=qt.updateQueue,e===null?(e={lastEffect:null,stores:null},qt.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function RD(t,e,r,n){e.value=r,e.getSnapshot=n,ID(e)&&MD(t)}function PD(t,e,r){return r(function(){ID(e)&&MD(t)})}function ID(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!Cs(t,r)}catch{return!0}}function MD(t){var e=ca(t,1);e!==null&&_s(e,t,1,-1)}function lI(t){var e=Qs();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_p,lastRenderedState:t},e.queue=t,t=t.dispatch=DU.bind(null,qt,t),[e.memoizedState,t]}function Sp(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},e=qt.updateQueue,e===null?(e={lastEffect:null,stores:null},qt.updateQueue=e,e.lastEffect=t.next=t):(r=e.lastEffect,r===null?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t)),t}function kD(){return qi().memoizedState}function V0(t,e,r,n){var i=Qs();qt.flags|=t,i.memoizedState=Sp(1|e,r,void 0,n===void 0?null:n)}function Jy(t,e,r,n){var i=qi();n=n===void 0?null:n;var s=void 0;if(wr!==null){var o=wr.memoizedState;if(s=o.destroy,n!==null&&cT(n,o.deps)){i.memoizedState=Sp(e,r,s,n);return}}qt.flags|=t,i.memoizedState=Sp(1|e,r,s,n)}function uI(t,e){return V0(8390656,8,t,e)}function fT(t,e){return Jy(2048,8,t,e)}function OD(t,e){return Jy(4,2,t,e)}function DD(t,e){return Jy(4,4,t,e)}function ND(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function LD(t,e,r){return r=r!=null?r.concat([t]):null,Jy(4,4,ND.bind(null,e,t),r)}function pT(){}function FD(t,e){var r=qi();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&cT(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function jD(t,e){var r=qi();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&cT(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function BD(t,e,r){return Yu&21?(Cs(r,e)||(r=VO(),qt.lanes|=r,Qu|=r,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,Hn=!0),t.memoizedState=r)}function kU(t,e){var r=At;At=r!==0&&4>r?r:4,t(!0);var n=Gb.transition;Gb.transition={};try{t(!1),e()}finally{At=r,Gb.transition=n}}function UD(){return qi().memoizedState}function OU(t,e,r){var n=_l(t);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},$D(t))zD(e,r);else if(r=_D(t,e,r,n),r!==null){var i=Tn();_s(r,t,n,i),HD(r,e,n)}}function DU(t,e,r){var n=_l(t),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if($D(t))zD(e,i);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var o=e.lastRenderedState,a=s(o,r);if(i.hasEagerState=!0,i.eagerState=a,Cs(a,o)){var l=e.interleaved;l===null?(i.next=i,sT(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}r=_D(t,e,i,n),r!==null&&(i=Tn(),_s(r,t,n,i),HD(r,e,n))}}function $D(t){var e=t.alternate;return t===qt||e!==null&&e===qt}function zD(t,e){jf=$v=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function HD(t,e,r){if(r&4194240){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,G2(t,r)}}var zv={readContext:Xi,useCallback:ln,useContext:ln,useEffect:ln,useImperativeHandle:ln,useInsertionEffect:ln,useLayoutEffect:ln,useMemo:ln,useReducer:ln,useRef:ln,useState:ln,useDebugValue:ln,useDeferredValue:ln,useTransition:ln,useMutableSource:ln,useSyncExternalStore:ln,useId:ln,unstable_isNewReconciler:!1},NU={readContext:Xi,useCallback:function(t,e){return Qs().memoizedState=[t,e===void 0?null:e],t},useContext:Xi,useEffect:uI,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,V0(4194308,4,ND.bind(null,e,t),r)},useLayoutEffect:function(t,e){return V0(4194308,4,t,e)},useInsertionEffect:function(t,e){return V0(4,2,t,e)},useMemo:function(t,e){var r=Qs();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=Qs();return e=r!==void 0?r(e):e,n.memoizedState=n.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},n.queue=t,t=t.dispatch=OU.bind(null,qt,t),[n.memoizedState,t]},useRef:function(t){var e=Qs();return t={current:t},e.memoizedState=t},useState:lI,useDebugValue:pT,useDeferredValue:function(t){return Qs().memoizedState=t},useTransition:function(){var t=lI(!1),e=t[0];return t=kU.bind(null,t[1]),Qs().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var n=qt,i=Qs();if(zt){if(r===void 0)throw Error(pe(407));r=r()}else{if(r=e(),$r===null)throw Error(pe(349));Yu&30||AD(n,e,r)}i.memoizedState=r;var s={value:r,getSnapshot:e};return i.queue=s,uI(PD.bind(null,n,s,t),[t]),n.flags|=2048,Sp(9,RD.bind(null,n,s,r,e),void 0,null),r},useId:function(){var t=Qs(),e=$r.identifierPrefix;if(zt){var r=Ko,n=Qo;r=(n&~(1<<32-ws(n)-1)).toString(32)+r,e=":"+e+"R"+r,r=wp++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=MU++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},LU={readContext:Xi,useCallback:FD,useContext:Xi,useEffect:fT,useImperativeHandle:LD,useInsertionEffect:OD,useLayoutEffect:DD,useMemo:jD,useReducer:Wb,useRef:kD,useState:function(){return Wb(_p)},useDebugValue:pT,useDeferredValue:function(t){var e=qi();return BD(e,wr.memoizedState,t)},useTransition:function(){var t=Wb(_p)[0],e=qi().memoizedState;return[t,e]},useMutableSource:TD,useSyncExternalStore:CD,useId:UD,unstable_isNewReconciler:!1},FU={readContext:Xi,useCallback:FD,useContext:Xi,useEffect:fT,useImperativeHandle:LD,useInsertionEffect:OD,useLayoutEffect:DD,useMemo:jD,useReducer:Xb,useRef:kD,useState:function(){return Xb(_p)},useDebugValue:pT,useDeferredValue:function(t){var e=qi();return wr===null?e.memoizedState=t:BD(e,wr.memoizedState,t)},useTransition:function(){var t=Xb(_p)[0],e=qi().memoizedState;return[t,e]},useMutableSource:TD,useSyncExternalStore:CD,useId:UD,unstable_isNewReconciler:!1};function cs(t,e){if(t&&t.defaultProps){e=Yt({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function lS(t,e,r,n){e=t.memoizedState,r=r(n,e),r=r==null?e:Yt({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var e1={isMounted:function(t){return(t=t._reactInternals)?uc(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var n=Tn(),i=_l(t),s=na(n,i);s.payload=e,r!=null&&(s.callback=r),e=bl(t,s,i),e!==null&&(_s(e,t,i,n),z0(e,t,i))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var n=Tn(),i=_l(t),s=na(n,i);s.tag=1,s.payload=e,r!=null&&(s.callback=r),e=bl(t,s,i),e!==null&&(_s(e,t,i,n),z0(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=Tn(),n=_l(t),i=na(r,n);i.tag=2,e!=null&&(i.callback=e),e=bl(t,i,n),e!==null&&(_s(e,t,n,r),z0(e,t,n))}};function cI(t,e,r,n,i,s,o){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,s,o):e.prototype&&e.prototype.isPureReactComponent?!mp(r,n)||!mp(i,s):!0}function VD(t,e,r){var n=!1,i=Rl,s=e.contextType;return typeof s=="object"&&s!==null?s=Xi(s):(i=Wn(e)?Xu:hn.current,n=e.contextTypes,s=(n=n!=null)?Gd(t,i):Rl),e=new e(r,s),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=e1,t.stateNode=e,e._reactInternals=t,n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=s),e}function dI(t,e,r,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(r,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&e1.enqueueReplaceState(e,e.state,null)}function uS(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs={},oT(t);var s=e.contextType;typeof s=="object"&&s!==null?i.context=Xi(s):(s=Wn(e)?Xu:hn.current,i.context=Gd(t,s)),i.state=t.memoizedState,s=e.getDerivedStateFromProps,typeof s=="function"&&(lS(t,e,s,r),i.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(e=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),e!==i.state&&e1.enqueueReplaceState(i,i.state,null),Bv(t,r,i,n),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function Yd(t,e){try{var r="",n=e;do r+=d9(n),n=n.return;while(n);var i=r}catch(s){i=`
|
|
40
40
|
Error generating stack: `+s.message+`
|
|
41
|
-
`+s.stack}return{value:t,source:e,stack:i,digest:null}}function qb(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function cS(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var jU=typeof WeakMap=="function"?WeakMap:Map;function GD(t,e,r){r=na(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Vv||(Vv=!0,bS=n),cS(t,e)},r}function WD(t,e,r){r=na(-1,r),r.tag=3;var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var i=e.value;r.payload=function(){return n(i)},r.callback=function(){cS(t,e)}}var s=t.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){cS(t,e),typeof n!="function"&&(wl===null?wl=new Set([this]):wl.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),r}function hI(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new jU;var i=new Set;n.set(e,i)}else i=n.get(e),i===void 0&&(i=new Set,n.set(e,i));i.has(r)||(i.add(r),t=ZU.bind(null,t,e,r),e.then(t,t))}function fI(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function pI(t,e,r,n,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=na(-1,1),e.tag=2,bl(r,e,1))),r.lanes|=1),t)}var BU=xa.ReactCurrentOwner,Hn=!1;function bn(t,e,r,n){e.child=t===null?wD(e,null,r,n):Xd(e,t.child,r,n)}function mI(t,e,r,n,i){r=r.render;var s=e.ref;return gd(e,i),n=dT(t,e,r,n,s,i),r=hT(),t!==null&&!Hn?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,da(t,e,i)):(zt&&r&&J2(e),e.flags|=1,bn(t,e,n,i),e.child)}function gI(t,e,r,n,i){if(t===null){var s=r.type;return typeof s=="function"&&!_T(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=s,XD(t,e,s,n,i)):(t=q0(r.type,null,n,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!(t.lanes&i)){var o=s.memoizedProps;if(r=r.compare,r=r!==null?r:mp,r(o,n)&&t.ref===e.ref)return da(t,e,i)}return e.flags|=1,t=Sl(s,n),t.ref=e.ref,t.return=e,e.child=t}function XD(t,e,r,n,i){if(t!==null){var s=t.memoizedProps;if(mp(s,n)&&t.ref===e.ref)if(Hn=!1,e.pendingProps=n=s,(t.lanes&i)!==0)t.flags&131072&&(Hn=!0);else return e.lanes=t.lanes,da(t,e,i)}return dS(t,e,r,n,i)}function qD(t,e,r){var n=e.pendingProps,i=n.children,s=t!==null?t.memoizedState:null;if(n.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Mt(od,li),li|=r;else{if(!(r&1073741824))return t=s!==null?s.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Mt(od,li),li|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=s!==null?s.baseLanes:r,Mt(od,li),li|=n}else s!==null?(n=s.baseLanes|r,e.memoizedState=null):n=r,Mt(od,li),li|=n;return bn(t,e,i,r),e.child}function YD(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function dS(t,e,r,n,i){var s=Wn(r)?Xu:hn.current;return s=Gd(e,s),gd(e,i),r=dT(t,e,r,n,s,i),n=hT(),t!==null&&!Hn?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,da(t,e,i)):(zt&&n&&J2(e),e.flags|=1,bn(t,e,r,i),e.child)}function vI(t,e,r,n,i){if(Wn(r)){var s=!0;Dv(e)}else s=!1;if(gd(e,i),e.stateNode===null)G0(t,e),VD(e,r,n),uS(e,r,n,i),n=!0;else if(t===null){var o=e.stateNode,a=e.memoizedProps;o.props=a;var l=o.context,u=r.contextType;typeof u=="object"&&u!==null?u=Xi(u):(u=Wn(r)?Xu:hn.current,u=Gd(e,u));var c=r.getDerivedStateFromProps,h=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==n||l!==u)&&dI(e,o,n,u),Ha=!1;var f=e.memoizedState;o.state=f,Bv(e,n,o,i),l=e.memoizedState,a!==n||f!==l||Gn.current||Ha?(typeof c=="function"&&(lS(e,r,c,n),l=e.memoizedState),(a=Ha||cI(e,r,a,n,f,l,u))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=l),o.props=n,o.state=l,o.context=u,n=a):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{o=e.stateNode,SD(t,e),a=e.memoizedProps,u=e.type===e.elementType?a:cs(e.type,a),o.props=u,h=e.pendingProps,f=o.context,l=r.contextType,typeof l=="object"&&l!==null?l=Xi(l):(l=Wn(r)?Xu:hn.current,l=Gd(e,l));var m=r.getDerivedStateFromProps;(c=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==h||f!==l)&&dI(e,o,n,l),Ha=!1,f=e.memoizedState,o.state=f,Bv(e,n,o,i);var y=e.memoizedState;a!==h||f!==y||Gn.current||Ha?(typeof m=="function"&&(lS(e,r,m,n),y=e.memoizedState),(u=Ha||cI(e,r,u,n,f,y,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,y,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,y,l)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=y),o.props=n,o.state=y,o.context=l,n=u):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),n=!1)}return hS(t,e,r,n,s,i)}function hS(t,e,r,n,i,s){YD(t,e);var o=(e.flags&128)!==0;if(!n&&!o)return i&&rI(e,r,!1),da(t,e,s);n=e.stateNode,BU.current=e;var a=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&o?(e.child=Xd(e,t.child,null,s),e.child=Xd(e,null,a,s)):bn(t,e,a,s),e.memoizedState=n.state,i&&rI(e,r,!0),e.child}function QD(t){var e=t.stateNode;e.pendingContext?tI(t,e.pendingContext,e.pendingContext!==e.context):e.context&&tI(t,e.context,!1),aT(t,e.containerInfo)}function yI(t,e,r,n,i){return Wd(),tT(i),e.flags|=256,bn(t,e,r,n),e.child}var fS={dehydrated:null,treeContext:null,retryLane:0};function pS(t){return{baseLanes:t,cachePool:null,transitions:null}}function KD(t,e,r){var n=e.pendingProps,i=Wt.current,s=!1,o=(e.flags&128)!==0,a;if((a=o)||(a=t!==null&&t.memoizedState===null?!1:(i&2)!==0),a?(s=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Mt(Wt,i&1),t===null)return oS(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=n.children,t=n.fallback,s?(n=e.mode,s=e.child,o={mode:"hidden",children:o},!(n&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=n1(o,n,0,null),t=Bu(t,n,r,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=pS(r),e.memoizedState=fS,t):mT(e,o));if(i=t.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return UU(t,e,o,n,a,i,r);if(s){s=n.fallback,o=e.mode,i=t.child,a=i.sibling;var l={mode:"hidden",children:n.children};return!(o&1)&&e.child!==i?(n=e.child,n.childLanes=0,n.pendingProps=l,e.deletions=null):(n=Sl(i,l),n.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=Sl(a,s):(s=Bu(s,o,r,null),s.flags|=2),s.return=e,n.return=e,n.sibling=s,e.child=n,n=s,s=e.child,o=t.child.memoizedState,o=o===null?pS(r):{baseLanes:o.baseLanes|r,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=t.childLanes&~r,e.memoizedState=fS,n}return s=t.child,t=s.sibling,n=Sl(s,{mode:"visible",children:n.children}),!(e.mode&1)&&(n.lanes=r),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function mT(t,e){return e=n1({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Fg(t,e,r,n){return n!==null&&tT(n),Xd(e,t.child,null,r),t=mT(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function UU(t,e,r,n,i,s,o){if(r)return e.flags&256?(e.flags&=-257,n=qb(Error(pe(422))),Fg(t,e,o,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(s=n.fallback,i=e.mode,n=n1({mode:"visible",children:n.children},i,0,null),s=Bu(s,i,o,null),s.flags|=2,n.return=e,s.return=e,n.sibling=s,e.child=n,e.mode&1&&Xd(e,t.child,null,o),e.child.memoizedState=pS(o),e.memoizedState=fS,s);if(!(e.mode&1))return Fg(t,e,o,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var a=n.dgst;return n=a,s=Error(pe(419)),n=qb(s,n,void 0),Fg(t,e,o,n)}if(a=(o&t.childLanes)!==0,Hn||a){if(n=$r,n!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,ca(t,i),_s(n,t,i,-1))}return wT(),n=qb(Error(pe(421))),Fg(t,e,o,n)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=JU.bind(null,t),i._reactRetry=e,null):(t=s.treeContext,ci=xl(i.nextSibling),hi=e,zt=!0,fs=null,t!==null&&(Di[Ni++]=Qo,Di[Ni++]=Ko,Di[Ni++]=qu,Qo=t.id,Ko=t.overflow,qu=e),e=mT(e,n.children),e.flags|=4096,e)}function xI(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),aS(t.return,e,r)}function Yb(t,e,r,n,i){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=r,s.tailMode=i)}function ZD(t,e,r){var n=e.pendingProps,i=n.revealOrder,s=n.tail;if(bn(t,e,n.children,r),n=Wt.current,n&2)n=n&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&xI(t,r,e);else if(t.tag===19)xI(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(Mt(Wt,n),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;r!==null;)t=r.alternate,t!==null&&Uv(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),Yb(e,!1,i,r,s);break;case"backwards":for(r=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Uv(t)===null){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}Yb(e,!0,r,null,s);break;case"together":Yb(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function G0(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function da(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),Qu|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(pe(153));if(e.child!==null){for(t=e.child,r=Sl(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=Sl(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function $U(t,e,r){switch(e.tag){case 3:QD(e),Wd();break;case 5:ED(e);break;case 1:Wn(e.type)&&Dv(e);break;case 4:aT(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,i=e.memoizedProps.value;Mt(Fv,n._currentValue),n._currentValue=i;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?(Mt(Wt,Wt.current&1),e.flags|=128,null):r&e.child.childLanes?KD(t,e,r):(Mt(Wt,Wt.current&1),t=da(t,e,r),t!==null?t.sibling:null);Mt(Wt,Wt.current&1);break;case 19:if(n=(r&e.childLanes)!==0,t.flags&128){if(n)return ZD(t,e,r);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Mt(Wt,Wt.current),n)break;return null;case 22:case 23:return e.lanes=0,qD(t,e,r)}return da(t,e,r)}var JD,mS,eN,tN;JD=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};mS=function(){};eN=function(t,e,r,n){var i=t.memoizedProps;if(i!==n){t=e.stateNode,Au(mo.current);var s=null;switch(r){case"input":i=F_(t,i),n=F_(t,n),s=[];break;case"select":i=Yt({},i,{value:void 0}),n=Yt({},n,{value:void 0}),s=[];break;case"textarea":i=U_(t,i),n=U_(t,n),s=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=kv)}z_(r,n);var o;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(lp.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in n){var l=n[u];if(a=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(r||(r={}),r[o]=l[o])}else r||(s||(s=[]),s.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(lp.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Nt("scroll",t),s||a===l||(s=[])):(s=s||[]).push(u,l))}r&&(s=s||[]).push("style",r);var u=s;(e.updateQueue=u)&&(e.flags|=4)}};tN=function(t,e,r,n){r!==n&&(e.flags|=4)};function Kh(t,e){if(!zt)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function un(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,n=0;if(e)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=n,t.childLanes=r,e}function zU(t,e,r){var n=e.pendingProps;switch(eT(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return un(e),null;case 1:return Wn(e.type)&&Ov(),un(e),null;case 3:return n=e.stateNode,qd(),Ft(Gn),Ft(hn),uT(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Ng(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,fs!==null&&(SS(fs),fs=null))),mS(t,e),un(e),null;case 5:lT(e);var i=Au(bp.current);if(r=e.type,t!==null&&e.stateNode!=null)eN(t,e,r,n,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(pe(166));return un(e),null}if(t=Au(mo.current),Ng(e)){n=e.stateNode,r=e.type;var s=e.memoizedProps;switch(n[oo]=e,n[yp]=s,t=(e.mode&1)!==0,r){case"dialog":Nt("cancel",n),Nt("close",n);break;case"iframe":case"object":case"embed":Nt("load",n);break;case"video":case"audio":for(i=0;i<xf.length;i++)Nt(xf[i],n);break;case"source":Nt("error",n);break;case"img":case"image":case"link":Nt("error",n),Nt("load",n);break;case"details":Nt("toggle",n);break;case"input":RP(n,s),Nt("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Nt("invalid",n);break;case"textarea":IP(n,s),Nt("invalid",n)}z_(r,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?n.textContent!==a&&(s.suppressHydrationWarning!==!0&&Dg(n.textContent,a,t),i=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Dg(n.textContent,a,t),i=["children",""+a]):lp.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&Nt("scroll",n)}switch(r){case"input":Cg(n),PP(n,s,!0);break;case"textarea":Cg(n),MP(n);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(n.onclick=kv)}n=i,e.updateQueue=n,n!==null&&(e.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=PO(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=o.createElement(r,{is:n.is}):(t=o.createElement(r),r==="select"&&(o=t,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):t=o.createElementNS(t,r),t[oo]=e,t[yp]=n,JD(t,e,!1,!1),e.stateNode=t;e:{switch(o=H_(r,n),r){case"dialog":Nt("cancel",t),Nt("close",t),i=n;break;case"iframe":case"object":case"embed":Nt("load",t),i=n;break;case"video":case"audio":for(i=0;i<xf.length;i++)Nt(xf[i],t);i=n;break;case"source":Nt("error",t),i=n;break;case"img":case"image":case"link":Nt("error",t),Nt("load",t),i=n;break;case"details":Nt("toggle",t),i=n;break;case"input":RP(t,n),i=F_(t,n),Nt("invalid",t);break;case"option":i=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},i=Yt({},n,{value:void 0}),Nt("invalid",t);break;case"textarea":IP(t,n),i=U_(t,n),Nt("invalid",t);break;default:i=n}z_(r,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?kO(t,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&IO(t,l)):s==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&up(t,l):typeof l=="number"&&up(t,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(lp.hasOwnProperty(s)?l!=null&&s==="onScroll"&&Nt("scroll",t):l!=null&&B2(t,s,l,o))}switch(r){case"input":Cg(t),PP(t,n,!1);break;case"textarea":Cg(t),MP(t);break;case"option":n.value!=null&&t.setAttribute("value",""+Al(n.value));break;case"select":t.multiple=!!n.multiple,s=n.value,s!=null?hd(t,!!n.multiple,s,!1):n.defaultValue!=null&&hd(t,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=kv)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return un(e),null;case 6:if(t&&e.stateNode!=null)tN(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(pe(166));if(r=Au(bp.current),Au(mo.current),Ng(e)){if(n=e.stateNode,r=e.memoizedProps,n[oo]=e,(s=n.nodeValue!==r)&&(t=hi,t!==null))switch(t.tag){case 3:Dg(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Dg(n.nodeValue,r,(t.mode&1)!==0)}s&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[oo]=e,e.stateNode=n}return un(e),null;case 13:if(Ft(Wt),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(zt&&ci!==null&&e.mode&1&&!(e.flags&128))xD(),Wd(),e.flags|=98560,s=!1;else if(s=Ng(e),n!==null&&n.dehydrated!==null){if(t===null){if(!s)throw Error(pe(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(pe(317));s[oo]=e}else Wd(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;un(e),s=!1}else fs!==null&&(SS(fs),fs=null),s=!0;if(!s)return e.flags&65536?e:null}return e.flags&128?(e.lanes=r,e):(n=n!==null,n!==(t!==null&&t.memoizedState!==null)&&n&&(e.child.flags|=8192,e.mode&1&&(t===null||Wt.current&1?Cr===0&&(Cr=3):wT())),e.updateQueue!==null&&(e.flags|=4),un(e),null);case 4:return qd(),mS(t,e),t===null&&gp(e.stateNode.containerInfo),un(e),null;case 10:return iT(e.type._context),un(e),null;case 17:return Wn(e.type)&&Ov(),un(e),null;case 19:if(Ft(Wt),s=e.memoizedState,s===null)return un(e),null;if(n=(e.flags&128)!==0,o=s.rendering,o===null)if(n)Kh(s,!1);else{if(Cr!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(o=Uv(t),o!==null){for(e.flags|=128,Kh(s,!1),n=o.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)s=r,t=n,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=t,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,t=o.dependencies,s.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Mt(Wt,Wt.current&1|2),e.child}t=t.sibling}s.tail!==null&&lr()>Qd&&(e.flags|=128,n=!0,Kh(s,!1),e.lanes=4194304)}else{if(!n)if(t=Uv(o),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Kh(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!zt)return un(e),null}else 2*lr()-s.renderingStartTime>Qd&&r!==1073741824&&(e.flags|=128,n=!0,Kh(s,!1),e.lanes=4194304);s.isBackwards?(o.sibling=e.child,e.child=o):(r=s.last,r!==null?r.sibling=o:e.child=o,s.last=o)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=lr(),e.sibling=null,r=Wt.current,Mt(Wt,n?r&1|2:r&1),e):(un(e),null);case 22:case 23:return bT(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?li&1073741824&&(un(e),e.subtreeFlags&6&&(e.flags|=8192)):un(e),null;case 24:return null;case 25:return null}throw Error(pe(156,e.tag))}function HU(t,e){switch(eT(e),e.tag){case 1:return Wn(e.type)&&Ov(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return qd(),Ft(Gn),Ft(hn),uT(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return lT(e),null;case 13:if(Ft(Wt),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(pe(340));Wd()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ft(Wt),null;case 4:return qd(),null;case 10:return iT(e.type._context),null;case 22:case 23:return bT(),null;case 24:return null;default:return null}}var jg=!1,dn=!1,VU=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function sd(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Jt(t,e,n)}else r.current=null}function gS(t,e,r){try{r()}catch(n){Jt(t,e,n)}}var bI=!1;function GU(t,e){if(J_=Pv,t=oD(),Z2(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var o=0,a=-1,l=-1,u=0,c=0,h=t,f=null;t:for(;;){for(var m;h!==r||i!==0&&h.nodeType!==3||(a=o+i),h!==s||n!==0&&h.nodeType!==3||(l=o+n),h.nodeType===3&&(o+=h.nodeValue.length),(m=h.firstChild)!==null;)f=h,h=m;for(;;){if(h===t)break t;if(f===r&&++u===i&&(a=o),f===s&&++c===n&&(l=o),(m=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=m}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(eS={focusedElem:t,selectionRange:r},Pv=!1,Fe=e;Fe!==null;)if(e=Fe,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Fe=t;else for(;Fe!==null;){e=Fe;try{var y=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,x=y.memoizedState,b=e.stateNode,_=b.getSnapshotBeforeUpdate(e.elementType===e.type?v:cs(e.type,v),x);b.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var w=e.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(pe(163))}}catch(E){Jt(e,e.return,E)}if(t=e.sibling,t!==null){t.return=e.return,Fe=t;break}Fe=e.return}return y=bI,bI=!1,y}function Bf(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var s=i.destroy;i.destroy=void 0,s!==void 0&&gS(e,r,s)}i=i.next}while(i!==n)}}function t1(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function vS(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function rN(t){var e=t.alternate;e!==null&&(t.alternate=null,rN(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[oo],delete e[yp],delete e[nS],delete e[AU],delete e[RU])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function nN(t){return t.tag===5||t.tag===3||t.tag===4}function wI(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||nN(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.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function yS(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=kv));else if(n!==4&&(t=t.child,t!==null))for(yS(t,e,r),t=t.sibling;t!==null;)yS(t,e,r),t=t.sibling}function xS(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(xS(t,e,r),t=t.sibling;t!==null;)xS(t,e,r),t=t.sibling}var qr=null,hs=!1;function Na(t,e,r){for(r=r.child;r!==null;)iN(t,e,r),r=r.sibling}function iN(t,e,r){if(po&&typeof po.onCommitFiberUnmount=="function")try{po.onCommitFiberUnmount(Xy,r)}catch{}switch(r.tag){case 5:dn||sd(r,e);case 6:var n=qr,i=hs;qr=null,Na(t,e,r),qr=n,hs=i,qr!==null&&(hs?(t=qr,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):qr.removeChild(r.stateNode));break;case 18:qr!==null&&(hs?(t=qr,r=r.stateNode,t.nodeType===8?zb(t.parentNode,r):t.nodeType===1&&zb(t,r),fp(t)):zb(qr,r.stateNode));break;case 4:n=qr,i=hs,qr=r.stateNode.containerInfo,hs=!0,Na(t,e,r),qr=n,hs=i;break;case 0:case 11:case 14:case 15:if(!dn&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&gS(r,e,o),i=i.next}while(i!==n)}Na(t,e,r);break;case 1:if(!dn&&(sd(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){Jt(r,e,a)}Na(t,e,r);break;case 21:Na(t,e,r);break;case 22:r.mode&1?(dn=(n=dn)||r.memoizedState!==null,Na(t,e,r),dn=n):Na(t,e,r);break;default:Na(t,e,r)}}function _I(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new VU),e.forEach(function(n){var i=e$.bind(null,t,n);r.has(n)||(r.add(n),n.then(i,i))})}}function ss(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var s=t,o=e,a=o;e:for(;a!==null;){switch(a.tag){case 5:qr=a.stateNode,hs=!1;break e;case 3:qr=a.stateNode.containerInfo,hs=!0;break e;case 4:qr=a.stateNode.containerInfo,hs=!0;break e}a=a.return}if(qr===null)throw Error(pe(160));iN(s,o,i),qr=null,hs=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){Jt(i,e,u)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)sN(e,t),e=e.sibling}function sN(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(ss(e,t),Hs(t),n&4){try{Bf(3,t,t.return),t1(3,t)}catch(v){Jt(t,t.return,v)}try{Bf(5,t,t.return)}catch(v){Jt(t,t.return,v)}}break;case 1:ss(e,t),Hs(t),n&512&&r!==null&&sd(r,r.return);break;case 5:if(ss(e,t),Hs(t),n&512&&r!==null&&sd(r,r.return),t.flags&32){var i=t.stateNode;try{up(i,"")}catch(v){Jt(t,t.return,v)}}if(n&4&&(i=t.stateNode,i!=null)){var s=t.memoizedProps,o=r!==null?r.memoizedProps:s,a=t.type,l=t.updateQueue;if(t.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&AO(i,s),H_(a,o);var u=H_(a,s);for(o=0;o<l.length;o+=2){var c=l[o],h=l[o+1];c==="style"?kO(i,h):c==="dangerouslySetInnerHTML"?IO(i,h):c==="children"?up(i,h):B2(i,c,h,u)}switch(a){case"input":j_(i,s);break;case"textarea":RO(i,s);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var m=s.value;m!=null?hd(i,!!s.multiple,m,!1):f!==!!s.multiple&&(s.defaultValue!=null?hd(i,!!s.multiple,s.defaultValue,!0):hd(i,!!s.multiple,s.multiple?[]:"",!1))}i[yp]=s}catch(v){Jt(t,t.return,v)}}break;case 6:if(ss(e,t),Hs(t),n&4){if(t.stateNode===null)throw Error(pe(162));i=t.stateNode,s=t.memoizedProps;try{i.nodeValue=s}catch(v){Jt(t,t.return,v)}}break;case 3:if(ss(e,t),Hs(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{fp(e.containerInfo)}catch(v){Jt(t,t.return,v)}break;case 4:ss(e,t),Hs(t);break;case 13:ss(e,t),Hs(t),i=t.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(yT=lr())),n&4&&_I(t);break;case 22:if(c=r!==null&&r.memoizedState!==null,t.mode&1?(dn=(u=dn)||c,ss(e,t),dn=u):ss(e,t),Hs(t),n&8192){if(u=t.memoizedState!==null,(t.stateNode.isHidden=u)&&!c&&t.mode&1)for(Fe=t,c=t.child;c!==null;){for(h=Fe=c;Fe!==null;){switch(f=Fe,m=f.child,f.tag){case 0:case 11:case 14:case 15:Bf(4,f,f.return);break;case 1:sd(f,f.return);var y=f.stateNode;if(typeof y.componentWillUnmount=="function"){n=f,r=f.return;try{e=n,y.props=e.memoizedProps,y.state=e.memoizedState,y.componentWillUnmount()}catch(v){Jt(n,r,v)}}break;case 5:sd(f,f.return);break;case 22:if(f.memoizedState!==null){EI(h);continue}}m!==null?(m.return=f,Fe=m):EI(h)}c=c.sibling}e:for(c=null,h=t;;){if(h.tag===5){if(c===null){c=h;try{i=h.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=h.stateNode,l=h.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=MO("display",o))}catch(v){Jt(t,t.return,v)}}}else if(h.tag===6){if(c===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(v){Jt(t,t.return,v)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===t)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;c===h&&(c=null),h=h.return}c===h&&(c=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ss(e,t),Hs(t),n&4&&_I(t);break;case 21:break;default:ss(e,t),Hs(t)}}function Hs(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(nN(r)){var n=r;break e}r=r.return}throw Error(pe(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(up(i,""),n.flags&=-33);var s=wI(t);xS(t,s,i);break;case 3:case 4:var o=n.stateNode.containerInfo,a=wI(t);yS(t,a,o);break;default:throw Error(pe(161))}}catch(l){Jt(t,t.return,l)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function WU(t,e,r){Fe=t,oN(t)}function oN(t,e,r){for(var n=(t.mode&1)!==0;Fe!==null;){var i=Fe,s=i.child;if(i.tag===22&&n){var o=i.memoizedState!==null||jg;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||dn;a=jg;var u=dn;if(jg=o,(dn=l)&&!u)for(Fe=i;Fe!==null;)o=Fe,l=o.child,o.tag===22&&o.memoizedState!==null?TI(i):l!==null?(l.return=o,Fe=l):TI(i);for(;s!==null;)Fe=s,oN(s),s=s.sibling;Fe=i,jg=a,dn=u}SI(t)}else i.subtreeFlags&8772&&s!==null?(s.return=i,Fe=s):SI(t)}}function SI(t){for(;Fe!==null;){var e=Fe;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:dn||t1(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!dn)if(r===null)n.componentDidMount();else{var i=e.elementType===e.type?r.memoizedProps:cs(e.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var s=e.updateQueue;s!==null&&aI(e,s,n);break;case 3:var o=e.updateQueue;if(o!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}aI(e,o,r)}break;case 5:var a=e.stateNode;if(r===null&&e.flags&4){r=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var u=e.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var h=c.dehydrated;h!==null&&fp(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(pe(163))}dn||e.flags&512&&vS(e)}catch(f){Jt(e,e.return,f)}}if(e===t){Fe=null;break}if(r=e.sibling,r!==null){r.return=e.return,Fe=r;break}Fe=e.return}}function EI(t){for(;Fe!==null;){var e=Fe;if(e===t){Fe=null;break}var r=e.sibling;if(r!==null){r.return=e.return,Fe=r;break}Fe=e.return}}function TI(t){for(;Fe!==null;){var e=Fe;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{t1(4,e)}catch(l){Jt(e,r,l)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var i=e.return;try{n.componentDidMount()}catch(l){Jt(e,i,l)}}var s=e.return;try{vS(e)}catch(l){Jt(e,s,l)}break;case 5:var o=e.return;try{vS(e)}catch(l){Jt(e,o,l)}}}catch(l){Jt(e,e.return,l)}if(e===t){Fe=null;break}var a=e.sibling;if(a!==null){a.return=e.return,Fe=a;break}Fe=e.return}}var XU=Math.ceil,Hv=xa.ReactCurrentDispatcher,gT=xa.ReactCurrentOwner,zi=xa.ReactCurrentBatchConfig,bt=0,$r=null,pr=null,Qr=0,li=0,od=Ll(0),Cr=0,Ep=null,Qu=0,r1=0,vT=0,Uf=null,zn=null,yT=0,Qd=1/0,Go=null,Vv=!1,bS=null,wl=null,Bg=!1,al=null,Gv=0,$f=0,wS=null,W0=-1,X0=0;function Tn(){return bt&6?lr():W0!==-1?W0:W0=lr()}function _l(t){return t.mode&1?bt&2&&Qr!==0?Qr&-Qr:IU.transition!==null?(X0===0&&(X0=VO()),X0):(t=At,t!==0||(t=window.event,t=t===void 0?16:KO(t.type)),t):1}function _s(t,e,r,n){if(50<$f)throw $f=0,wS=null,Error(pe(185));nm(t,r,n),(!(bt&2)||t!==$r)&&(t===$r&&(!(bt&2)&&(r1|=r),Cr===4&&Xa(t,Qr)),Xn(t,n),r===1&&bt===0&&!(e.mode&1)&&(Qd=lr()+500,Zy&&Fl()))}function Xn(t,e){var r=t.callbackNode;I9(t,e);var n=Rv(t,t===$r?Qr:0);if(n===0)r!==null&&DP(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&DP(r),e===1)t.tag===0?PU(CI.bind(null,t)):gD(CI.bind(null,t)),TU(function(){!(bt&6)&&Fl()}),r=null;else{switch(GO(n)){case 1:r=V2;break;case 4:r=zO;break;case 16:r=Av;break;case 536870912:r=HO;break;default:r=Av}r=pN(r,aN.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function aN(t,e){if(W0=-1,X0=0,bt&6)throw Error(pe(327));var r=t.callbackNode;if(vd()&&t.callbackNode!==r)return null;var n=Rv(t,t===$r?Qr:0);if(n===0)return null;if(n&30||n&t.expiredLanes||e)e=Wv(t,n);else{e=n;var i=bt;bt|=2;var s=uN();($r!==t||Qr!==e)&&(Go=null,Qd=lr()+500,ju(t,e));do try{QU();break}catch(a){lN(t,a)}while(!0);nT(),Hv.current=s,bt=i,pr!==null?e=0:($r=null,Qr=0,e=Cr)}if(e!==0){if(e===2&&(i=q_(t),i!==0&&(n=i,e=_S(t,i))),e===1)throw r=Ep,ju(t,0),Xa(t,n),Xn(t,lr()),r;if(e===6)Xa(t,n);else{if(i=t.current.alternate,!(n&30)&&!qU(i)&&(e=Wv(t,n),e===2&&(s=q_(t),s!==0&&(n=s,e=_S(t,s))),e===1))throw r=Ep,ju(t,0),Xa(t,n),Xn(t,lr()),r;switch(t.finishedWork=i,t.finishedLanes=n,e){case 0:case 1:throw Error(pe(345));case 2:mu(t,zn,Go);break;case 3:if(Xa(t,n),(n&130023424)===n&&(e=yT+500-lr(),10<e)){if(Rv(t,0)!==0)break;if(i=t.suspendedLanes,(i&n)!==n){Tn(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=rS(mu.bind(null,t,zn,Go),e);break}mu(t,zn,Go);break;case 4:if(Xa(t,n),(n&4194240)===n)break;for(e=t.eventTimes,i=-1;0<n;){var o=31-ws(n);s=1<<o,o=e[o],o>i&&(i=o),n&=~s}if(n=i,n=lr()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*XU(n/1960))-n,10<n){t.timeoutHandle=rS(mu.bind(null,t,zn,Go),n);break}mu(t,zn,Go);break;case 5:mu(t,zn,Go);break;default:throw Error(pe(329))}}}return Xn(t,lr()),t.callbackNode===r?aN.bind(null,t):null}function _S(t,e){var r=Uf;return t.current.memoizedState.isDehydrated&&(ju(t,e).flags|=256),t=Wv(t,e),t!==2&&(e=zn,zn=r,e!==null&&SS(e)),t}function SS(t){zn===null?zn=t:zn.push.apply(zn,t)}function qU(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var i=r[n],s=i.getSnapshot;i=i.value;try{if(!Cs(s(),i))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Xa(t,e){for(e&=~vT,e&=~r1,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-ws(e),n=1<<r;t[r]=-1,e&=~n}}function CI(t){if(bt&6)throw Error(pe(327));vd();var e=Rv(t,0);if(!(e&1))return Xn(t,lr()),null;var r=Wv(t,e);if(t.tag!==0&&r===2){var n=q_(t);n!==0&&(e=n,r=_S(t,n))}if(r===1)throw r=Ep,ju(t,0),Xa(t,e),Xn(t,lr()),r;if(r===6)throw Error(pe(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,mu(t,zn,Go),Xn(t,lr()),null}function xT(t,e){var r=bt;bt|=1;try{return t(e)}finally{bt=r,bt===0&&(Qd=lr()+500,Zy&&Fl())}}function Ku(t){al!==null&&al.tag===0&&!(bt&6)&&vd();var e=bt;bt|=1;var r=zi.transition,n=At;try{if(zi.transition=null,At=1,t)return t()}finally{At=n,zi.transition=r,bt=e,!(bt&6)&&Fl()}}function bT(){li=od.current,Ft(od)}function ju(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,EU(r)),pr!==null)for(r=pr.return;r!==null;){var n=r;switch(eT(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ov();break;case 3:qd(),Ft(Gn),Ft(hn),uT();break;case 5:lT(n);break;case 4:qd();break;case 13:Ft(Wt);break;case 19:Ft(Wt);break;case 10:iT(n.type._context);break;case 22:case 23:bT()}r=r.return}if($r=t,pr=t=Sl(t.current,null),Qr=li=e,Cr=0,Ep=null,vT=r1=Qu=0,zn=Uf=null,Cu!==null){for(e=0;e<Cu.length;e++)if(r=Cu[e],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,s=r.pending;if(s!==null){var o=s.next;s.next=i,n.next=o}r.pending=n}Cu=null}return t}function lN(t,e){do{var r=pr;try{if(nT(),H0.current=zv,$v){for(var n=qt.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}$v=!1}if(Yu=0,Fr=wr=qt=null,jf=!1,wp=0,gT.current=null,r===null||r.return===null){Cr=1,Ep=e,pr=null;break}e:{var s=t,o=r.return,a=r,l=e;if(e=Qr,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,h=c.tag;if(!(c.mode&1)&&(h===0||h===11||h===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var m=fI(o);if(m!==null){m.flags&=-257,pI(m,o,a,s,e),m.mode&1&&hI(s,u,e),e=m,l=u;var y=e.updateQueue;if(y===null){var v=new Set;v.add(l),e.updateQueue=v}else y.add(l);break e}else{if(!(e&1)){hI(s,u,e),wT();break e}l=Error(pe(426))}}else if(zt&&a.mode&1){var x=fI(o);if(x!==null){!(x.flags&65536)&&(x.flags|=256),pI(x,o,a,s,e),tT(Yd(l,a));break e}}s=l=Yd(l,a),Cr!==4&&(Cr=2),Uf===null?Uf=[s]:Uf.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,e&=-e,s.lanes|=e;var b=GD(s,l,e);oI(s,b);break e;case 1:a=l;var _=s.type,w=s.stateNode;if(!(s.flags&128)&&(typeof _.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(wl===null||!wl.has(w)))){s.flags|=65536,e&=-e,s.lanes|=e;var E=WD(s,a,e);oI(s,E);break e}}s=s.return}while(s!==null)}dN(r)}catch(A){e=A,pr===r&&r!==null&&(pr=r=r.return);continue}break}while(!0)}function uN(){var t=Hv.current;return Hv.current=zv,t===null?zv:t}function wT(){(Cr===0||Cr===3||Cr===2)&&(Cr=4),$r===null||!(Qu&268435455)&&!(r1&268435455)||Xa($r,Qr)}function Wv(t,e){var r=bt;bt|=2;var n=uN();($r!==t||Qr!==e)&&(Go=null,ju(t,e));do try{YU();break}catch(i){lN(t,i)}while(!0);if(nT(),bt=r,Hv.current=n,pr!==null)throw Error(pe(261));return $r=null,Qr=0,Cr}function YU(){for(;pr!==null;)cN(pr)}function QU(){for(;pr!==null&&!w9();)cN(pr)}function cN(t){var e=fN(t.alternate,t,li);t.memoizedProps=t.pendingProps,e===null?dN(t):pr=e,gT.current=null}function dN(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=HU(r,e),r!==null){r.flags&=32767,pr=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Cr=6,pr=null;return}}else if(r=zU(r,e,li),r!==null){pr=r;return}if(e=e.sibling,e!==null){pr=e;return}pr=e=t}while(e!==null);Cr===0&&(Cr=5)}function mu(t,e,r){var n=At,i=zi.transition;try{zi.transition=null,At=1,KU(t,e,r,n)}finally{zi.transition=i,At=n}return null}function KU(t,e,r,n){do vd();while(al!==null);if(bt&6)throw Error(pe(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(pe(177));t.callbackNode=null,t.callbackPriority=0;var s=r.lanes|r.childLanes;if(M9(t,s),t===$r&&(pr=$r=null,Qr=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||Bg||(Bg=!0,pN(Av,function(){return vd(),null})),s=(r.flags&15990)!==0,r.subtreeFlags&15990||s){s=zi.transition,zi.transition=null;var o=At;At=1;var a=bt;bt|=4,gT.current=null,GU(t,r),sN(r,t),vU(eS),Pv=!!J_,eS=J_=null,t.current=r,WU(r),_9(),bt=a,At=o,zi.transition=s}else t.current=r;if(Bg&&(Bg=!1,al=t,Gv=i),s=t.pendingLanes,s===0&&(wl=null),T9(r.stateNode),Xn(t,lr()),e!==null)for(n=t.onRecoverableError,r=0;r<e.length;r++)i=e[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(Vv)throw Vv=!1,t=bS,bS=null,t;return Gv&1&&t.tag!==0&&vd(),s=t.pendingLanes,s&1?t===wS?$f++:($f=0,wS=t):$f=0,Fl(),null}function vd(){if(al!==null){var t=GO(Gv),e=zi.transition,r=At;try{if(zi.transition=null,At=16>t?16:t,al===null)var n=!1;else{if(t=al,al=null,Gv=0,bt&6)throw Error(pe(331));var i=bt;for(bt|=4,Fe=t.current;Fe!==null;){var s=Fe,o=s.child;if(Fe.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(Fe=u;Fe!==null;){var c=Fe;switch(c.tag){case 0:case 11:case 15:Bf(8,c,s)}var h=c.child;if(h!==null)h.return=c,Fe=h;else for(;Fe!==null;){c=Fe;var f=c.sibling,m=c.return;if(rN(c),c===u){Fe=null;break}if(f!==null){f.return=m,Fe=f;break}Fe=m}}}var y=s.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}Fe=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,Fe=o;else e:for(;Fe!==null;){if(s=Fe,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Bf(9,s,s.return)}var b=s.sibling;if(b!==null){b.return=s.return,Fe=b;break e}Fe=s.return}}var _=t.current;for(Fe=_;Fe!==null;){o=Fe;var w=o.child;if(o.subtreeFlags&2064&&w!==null)w.return=o,Fe=w;else e:for(o=_;Fe!==null;){if(a=Fe,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:t1(9,a)}}catch(A){Jt(a,a.return,A)}if(a===o){Fe=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,Fe=E;break e}Fe=a.return}}if(bt=i,Fl(),po&&typeof po.onPostCommitFiberRoot=="function")try{po.onPostCommitFiberRoot(Xy,t)}catch{}n=!0}return n}finally{At=r,zi.transition=e}}return!1}function AI(t,e,r){e=Yd(r,e),e=GD(t,e,1),t=bl(t,e,1),e=Tn(),t!==null&&(nm(t,1,e),Xn(t,e))}function Jt(t,e,r){if(t.tag===3)AI(t,t,r);else for(;e!==null;){if(e.tag===3){AI(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(wl===null||!wl.has(n))){t=Yd(r,t),t=WD(e,t,1),e=bl(e,t,1),t=Tn(),e!==null&&(nm(e,1,t),Xn(e,t));break}}e=e.return}}function ZU(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=Tn(),t.pingedLanes|=t.suspendedLanes&r,$r===t&&(Qr&r)===r&&(Cr===4||Cr===3&&(Qr&130023424)===Qr&&500>lr()-yT?ju(t,0):vT|=r),Xn(t,e)}function hN(t,e){e===0&&(t.mode&1?(e=Pg,Pg<<=1,!(Pg&130023424)&&(Pg=4194304)):e=1);var r=Tn();t=ca(t,e),t!==null&&(nm(t,e,r),Xn(t,r))}function JU(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),hN(t,r)}function e$(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(pe(314))}n!==null&&n.delete(e),hN(t,r)}var fN;fN=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Gn.current)Hn=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return Hn=!1,$U(t,e,r);Hn=!!(t.flags&131072)}else Hn=!1,zt&&e.flags&1048576&&vD(e,Lv,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;G0(t,e),t=e.pendingProps;var i=Gd(e,hn.current);gd(e,r),i=dT(null,e,n,t,i,r);var s=hT();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Wn(n)?(s=!0,Dv(e)):s=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,oT(e),i.updater=e1,e.stateNode=i,i._reactInternals=e,uS(e,n,t,r),e=hS(null,e,n,!0,s,r)):(e.tag=0,zt&&s&&J2(e),bn(null,e,i,r),e=e.child),e;case 16:n=e.elementType;e:{switch(G0(t,e),t=e.pendingProps,i=n._init,n=i(n._payload),e.type=n,i=e.tag=r$(n),t=cs(n,t),i){case 0:e=dS(null,e,n,t,r);break e;case 1:e=vI(null,e,n,t,r);break e;case 11:e=mI(null,e,n,t,r);break e;case 14:e=gI(null,e,n,cs(n.type,t),r);break e}throw Error(pe(306,n,""))}return e;case 0:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),dS(t,e,n,i,r);case 1:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),vI(t,e,n,i,r);case 3:e:{if(QD(e),t===null)throw Error(pe(387));n=e.pendingProps,s=e.memoizedState,i=s.element,SD(t,e),Bv(e,n,null,r);var o=e.memoizedState;if(n=o.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){i=Yd(Error(pe(423)),e),e=yI(t,e,n,r,i);break e}else if(n!==i){i=Yd(Error(pe(424)),e),e=yI(t,e,n,r,i);break e}else for(ci=xl(e.stateNode.containerInfo.firstChild),hi=e,zt=!0,fs=null,r=wD(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Wd(),n===i){e=da(t,e,r);break e}bn(t,e,n,r)}e=e.child}return e;case 5:return ED(e),t===null&&oS(e),n=e.type,i=e.pendingProps,s=t!==null?t.memoizedProps:null,o=i.children,tS(n,i)?o=null:s!==null&&tS(n,s)&&(e.flags|=32),YD(t,e),bn(t,e,o,r),e.child;case 6:return t===null&&oS(e),null;case 13:return KD(t,e,r);case 4:return aT(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Xd(e,null,n,r):bn(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),mI(t,e,n,i,r);case 7:return bn(t,e,e.pendingProps,r),e.child;case 8:return bn(t,e,e.pendingProps.children,r),e.child;case 12:return bn(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value,Mt(Fv,n._currentValue),n._currentValue=o,s!==null)if(Cs(s.value,o)){if(s.children===i.children&&!Gn.current){e=da(t,e,r);break e}}else for(s=e.child,s!==null&&(s.return=e);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(s.tag===1){l=na(-1,r&-r),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),aS(s.return,r,e),a.lanes|=r;break}l=l.next}}else if(s.tag===10)o=s.type===e.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(pe(341));o.lanes|=r,a=o.alternate,a!==null&&(a.lanes|=r),aS(o,r,e),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===e){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}bn(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=e.pendingProps.children,gd(e,r),i=Xi(i),n=n(i),e.flags|=1,bn(t,e,n,r),e.child;case 14:return n=e.type,i=cs(n,e.pendingProps),i=cs(n.type,i),gI(t,e,n,i,r);case 15:return XD(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),G0(t,e),e.tag=1,Wn(n)?(t=!0,Dv(e)):t=!1,gd(e,r),VD(e,n,i),uS(e,n,i,r),hS(null,e,n,!0,t,r);case 19:return ZD(t,e,r);case 22:return qD(t,e,r)}throw Error(pe(156,e.tag))};function pN(t,e){return $O(t,e)}function t$(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bi(t,e,r,n){return new t$(t,e,r,n)}function _T(t){return t=t.prototype,!(!t||!t.isReactComponent)}function r$(t){if(typeof t=="function")return _T(t)?1:0;if(t!=null){if(t=t.$$typeof,t===$2)return 11;if(t===z2)return 14}return 2}function Sl(t,e){var r=t.alternate;return r===null?(r=Bi(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function q0(t,e,r,n,i,s){var o=2;if(n=t,typeof t=="function")_T(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case Qc:return Bu(r.children,i,s,e);case U2:o=8,i|=8;break;case O_:return t=Bi(12,r,e,i|2),t.elementType=O_,t.lanes=s,t;case D_:return t=Bi(13,r,e,i),t.elementType=D_,t.lanes=s,t;case N_:return t=Bi(19,r,e,i),t.elementType=N_,t.lanes=s,t;case EO:return n1(r,i,s,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case _O:o=10;break e;case SO:o=9;break e;case $2:o=11;break e;case z2:o=14;break e;case za:o=16,n=null;break e}throw Error(pe(130,t==null?t:typeof t,""))}return e=Bi(o,r,e,i),e.elementType=t,e.type=n,e.lanes=s,e}function Bu(t,e,r,n){return t=Bi(7,t,n,e),t.lanes=r,t}function n1(t,e,r,n){return t=Bi(22,t,n,e),t.elementType=EO,t.lanes=r,t.stateNode={isHidden:!1},t}function Qb(t,e,r){return t=Bi(6,t,null,e),t.lanes=r,t}function Kb(t,e,r){return e=Bi(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function n$(t,e,r,n,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Mb(0),this.expirationTimes=Mb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mb(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ST(t,e,r,n,i,s,o,a,l){return t=new n$(t,e,r,a,l),e===1?(e=1,s===!0&&(e|=8)):e=0,s=Bi(3,null,null,e),t.current=s,s.stateNode=t,s.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},oT(s),t}function i$(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yc,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function mN(t){if(!t)return Rl;t=t._reactInternals;e:{if(uc(t)!==t||t.tag!==1)throw Error(pe(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Wn(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(pe(171))}if(t.tag===1){var r=t.type;if(Wn(r))return mD(t,r,e)}return e}function gN(t,e,r,n,i,s,o,a,l){return t=ST(r,n,!0,t,i,s,o,a,l),t.context=mN(null),r=t.current,n=Tn(),i=_l(r),s=na(n,i),s.callback=e??null,bl(r,s,i),t.current.lanes=i,nm(t,i,n),Xn(t,n),t}function i1(t,e,r,n){var i=e.current,s=Tn(),o=_l(i);return r=mN(r),e.context===null?e.context=r:e.pendingContext=r,e=na(s,o),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=bl(i,e,o),t!==null&&(_s(t,i,o,s),z0(t,i,o)),o}function Xv(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function RI(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function ET(t,e){RI(t,e),(t=t.alternate)&&RI(t,e)}function s$(){return null}var vN=typeof reportError=="function"?reportError:function(t){console.error(t)};function TT(t){this._internalRoot=t}s1.prototype.render=TT.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(pe(409));i1(t,e,null,null)};s1.prototype.unmount=TT.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Ku(function(){i1(null,t,null,null)}),e[ua]=null}};function s1(t){this._internalRoot=t}s1.prototype.unstable_scheduleHydration=function(t){if(t){var e=qO();t={blockedOn:null,target:t,priority:e};for(var r=0;r<Wa.length&&e!==0&&e<Wa[r].priority;r++);Wa.splice(r,0,t),r===0&&QO(t)}};function CT(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function o1(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function PI(){}function o$(t,e,r,n,i){if(i){if(typeof n=="function"){var s=n;n=function(){var u=Xv(o);s.call(u)}}var o=gN(e,n,t,0,null,!1,!1,"",PI);return t._reactRootContainer=o,t[ua]=o.current,gp(t.nodeType===8?t.parentNode:t),Ku(),o}for(;i=t.lastChild;)t.removeChild(i);if(typeof n=="function"){var a=n;n=function(){var u=Xv(l);a.call(u)}}var l=ST(t,0,!1,null,null,!1,!1,"",PI);return t._reactRootContainer=l,t[ua]=l.current,gp(t.nodeType===8?t.parentNode:t),Ku(function(){i1(e,l,r,n)}),l}function a1(t,e,r,n,i){var s=r._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Xv(o);a.call(l)}}i1(e,o,t,i)}else o=o$(r,e,t,i,n);return Xv(o)}WO=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=yf(e.pendingLanes);r!==0&&(G2(e,r|1),Xn(e,lr()),!(bt&6)&&(Qd=lr()+500,Fl()))}break;case 13:Ku(function(){var n=ca(t,1);if(n!==null){var i=Tn();_s(n,t,1,i)}}),ET(t,1)}};W2=function(t){if(t.tag===13){var e=ca(t,134217728);if(e!==null){var r=Tn();_s(e,t,134217728,r)}ET(t,134217728)}};XO=function(t){if(t.tag===13){var e=_l(t),r=ca(t,e);if(r!==null){var n=Tn();_s(r,t,e,n)}ET(t,e)}};qO=function(){return At};YO=function(t,e){var r=At;try{return At=t,e()}finally{At=r}};G_=function(t,e,r){switch(e){case"input":if(j_(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=Ky(n);if(!i)throw Error(pe(90));CO(n),j_(n,i)}}}break;case"textarea":RO(t,r);break;case"select":e=r.value,e!=null&&hd(t,!!r.multiple,e,!1)}};NO=xT;LO=Ku;var a$={usingClientEntryPoint:!1,Events:[sm,ed,Ky,OO,DO,xT]},Zh={findFiberByHostInstance:Tu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},l$={bundleType:Zh.bundleType,version:Zh.version,rendererPackageName:Zh.rendererPackageName,rendererConfig:Zh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xa.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=BO(t),t===null?null:t.stateNode},findFiberByHostInstance:Zh.findFiberByHostInstance||s$,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ug=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ug.isDisabled&&Ug.supportsFiber)try{Xy=Ug.inject(l$),po=Ug}catch{}}vi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=a$;vi.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!CT(e))throw Error(pe(200));return i$(t,e,null,r)};vi.createRoot=function(t,e){if(!CT(t))throw Error(pe(299));var r=!1,n="",i=vN;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=ST(t,1,!1,null,null,r,!1,n,i),t[ua]=e.current,gp(t.nodeType===8?t.parentNode:t),new TT(e)};vi.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(pe(188)):(t=Object.keys(t).join(","),Error(pe(268,t)));return t=BO(e),t=t===null?null:t.stateNode,t};vi.flushSync=function(t){return Ku(t)};vi.hydrate=function(t,e,r){if(!o1(e))throw Error(pe(200));return a1(null,t,e,!0,r)};vi.hydrateRoot=function(t,e,r){if(!CT(t))throw Error(pe(405));var n=r!=null&&r.hydratedSources||null,i=!1,s="",o=vN;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onRecoverableError!==void 0&&(o=r.onRecoverableError)),e=gN(e,null,t,1,r??null,i,!1,s,o),t[ua]=e.current,gp(t),n)for(t=0;t<n.length;t++)r=n[t],i=r._getVersion,i=i(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,i]:e.mutableSourceEagerHydrationData.push(r,i);return new s1(e)};vi.render=function(t,e,r){if(!o1(e))throw Error(pe(200));return a1(null,t,e,!1,r)};vi.unmountComponentAtNode=function(t){if(!o1(t))throw Error(pe(40));return t._reactRootContainer?(Ku(function(){a1(null,null,t,!1,function(){t._reactRootContainer=null,t[ua]=null})}),!0):!1};vi.unstable_batchedUpdates=xT;vi.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!o1(r))throw Error(pe(200));if(t==null||t._reactInternals===void 0)throw Error(pe(38));return a1(t,e,r,!1,n)};vi.version="18.3.1-next-f1338f8080-20240426";function yN(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yN)}catch(t){console.error(t)}}yN(),yO.exports=vi;var mr=yO.exports,xN,II=mr;xN=II.createRoot,II.hydrateRoot;var am=t=>t.type==="checkbox",Ru=t=>t instanceof Date,wn=t=>t==null;const bN=t=>typeof t=="object";var ur=t=>!wn(t)&&!Array.isArray(t)&&bN(t)&&!Ru(t),wN=t=>ur(t)&&t.target?am(t.target)?t.target.checked:t.target.value:t,u$=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,_N=(t,e)=>t.has(u$(e)),c$=t=>{const e=t.constructor&&t.constructor.prototype;return ur(e)&&e.hasOwnProperty("isPrototypeOf")},AT=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ln(t){let e;const r=Array.isArray(t);if(t instanceof Date)e=new Date(t);else if(t instanceof Set)e=new Set(t);else if(!(AT&&(t instanceof Blob||t instanceof FileList))&&(r||ur(t)))if(e=r?[]:{},!r&&!c$(t))e=t;else for(const n in t)t.hasOwnProperty(n)&&(e[n]=Ln(t[n]));else return t;return e}var l1=t=>Array.isArray(t)?t.filter(Boolean):[],er=t=>t===void 0,Se=(t,e,r)=>{if(!e||!ur(t))return r;const n=l1(e.split(/[,[\].]+?/)).reduce((i,s)=>wn(i)?i:i[s],t);return er(n)||n===t?er(t[e])?r:t[e]:n},ki=t=>typeof t=="boolean",RT=t=>/^\w*$/.test(t),SN=t=>l1(t.replace(/["|']|\]/g,"").split(/\.|\[/)),Pt=(t,e,r)=>{let n=-1;const i=RT(e)?[e]:SN(e),s=i.length,o=s-1;for(;++n<s;){const a=i[n];let l=r;if(n!==o){const u=t[a];l=ur(u)||Array.isArray(u)?u:isNaN(+i[n+1])?{}:[]}if(a==="__proto__")return;t[a]=l,t=t[a]}return t};const qv={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},gs={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},jo={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},d$=Ie.createContext(null),PT=()=>Ie.useContext(d$);var EN=(t,e,r,n=!0)=>{const i={defaultValues:e._defaultValues};for(const s in t)Object.defineProperty(i,s,{get:()=>{const o=s;return e._proxyFormState[o]!==gs.all&&(e._proxyFormState[o]=!n||gs.all),r&&(r[o]=!0),t[o]}});return i},Bn=t=>ur(t)&&!Object.keys(t).length,TN=(t,e,r,n)=>{r(t);const{name:i,...s}=t;return Bn(s)||Object.keys(s).length>=Object.keys(e).length||Object.keys(s).find(o=>e[o]===(!n||gs.all))},zf=t=>Array.isArray(t)?t:[t],CN=(t,e,r)=>!t||!e||t===e||zf(t).some(n=>n&&(r?n===e:n.startsWith(e)||e.startsWith(n)));function IT(t){const e=Ie.useRef(t);e.current=t,Ie.useEffect(()=>{const r=!t.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{r&&r.unsubscribe()}},[t.disabled])}function h$(t){const e=PT(),{control:r=e.control,disabled:n,name:i,exact:s}=t||{},[o,a]=Ie.useState(r._formState),l=Ie.useRef(!0),u=Ie.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=Ie.useRef(i);return c.current=i,IT({disabled:n,next:h=>l.current&&CN(c.current,h.name,s)&&TN(h,u.current,r._updateFormState)&&a({...r._formState,...h}),subject:r._subjects.state}),Ie.useEffect(()=>(l.current=!0,u.current.isValid&&r._updateValid(!0),()=>{l.current=!1}),[r]),EN(o,r,u.current,!1)}var uo=t=>typeof t=="string",AN=(t,e,r,n,i)=>uo(t)?(n&&e.watch.add(t),Se(r,t,i)):Array.isArray(t)?t.map(s=>(n&&e.watch.add(s),Se(r,s))):(n&&(e.watchAll=!0),r);function f$(t){const e=PT(),{control:r=e.control,name:n,defaultValue:i,disabled:s,exact:o}=t||{},a=Ie.useRef(n);a.current=n,IT({disabled:s,subject:r._subjects.values,next:c=>{CN(a.current,c.name,o)&&u(Ln(AN(a.current,r._names,c.values||r._formValues,!1,i)))}});const[l,u]=Ie.useState(r._getWatch(n,i));return Ie.useEffect(()=>r._removeUnmounted()),l}function p$(t){const e=PT(),{name:r,disabled:n,control:i=e.control,shouldUnregister:s}=t,o=_N(i._names.array,r),a=f$({control:i,name:r,defaultValue:Se(i._formValues,r,Se(i._defaultValues,r,t.defaultValue)),exact:!0}),l=h$({control:i,name:r,exact:!0}),u=Ie.useRef(i.register(r,{...t.rules,value:a,...ki(t.disabled)?{disabled:t.disabled}:{}}));return Ie.useEffect(()=>{const c=i._options.shouldUnregister||s,h=(f,m)=>{const y=Se(i._fields,f);y&&y._f&&(y._f.mount=m)};if(h(r,!0),c){const f=Ln(Se(i._options.defaultValues,r));Pt(i._defaultValues,r,f),er(Se(i._formValues,r))&&Pt(i._formValues,r,f)}return()=>{(o?c&&!i._state.action:c)?i.unregister(r):h(r,!1)}},[r,i,o,s]),Ie.useEffect(()=>{Se(i._fields,r)&&i._updateDisabledField({disabled:n,fields:i._fields,name:r,value:Se(i._fields,r)._f.value})},[n,r,i]),{field:{name:r,value:a,...ki(n)||l.disabled?{disabled:l.disabled||n}:{},onChange:Ie.useCallback(c=>u.current.onChange({target:{value:wN(c),name:r},type:qv.CHANGE}),[r]),onBlur:Ie.useCallback(()=>u.current.onBlur({target:{value:Se(i._formValues,r),name:r},type:qv.BLUR}),[r,i]),ref:Ie.useCallback(c=>{const h=Se(i._fields,r);h&&c&&(h._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:f=>c.setCustomValidity(f),reportValidity:()=>c.reportValidity()})},[i._fields,r])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Se(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!Se(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!Se(l.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!Se(l.validatingFields,r)},error:{enumerable:!0,get:()=>Se(l.errors,r)}})}}const u1=t=>t.render(p$(t));var m$=(t,e,r,n,i)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:i||!0}}:{},MI=t=>({isOnSubmit:!t||t===gs.onSubmit,isOnBlur:t===gs.onBlur,isOnChange:t===gs.onChange,isOnAll:t===gs.all,isOnTouch:t===gs.onTouched}),kI=(t,e,r)=>!r&&(e.watchAll||e.watch.has(t)||[...e.watch].some(n=>t.startsWith(n)&&/^\.\w+/.test(t.slice(n.length))));const Hf=(t,e,r,n)=>{for(const i of r||Object.keys(t)){const s=Se(t,i);if(s){const{_f:o,...a}=s;if(o){if(o.refs&&o.refs[0]&&e(o.refs[0],i)&&!n)return!0;if(o.ref&&e(o.ref,o.name)&&!n)return!0;if(Hf(a,e))break}else if(ur(a)&&Hf(a,e))break}}};var g$=(t,e,r)=>{const n=zf(Se(t,r));return Pt(n,"root",e[r]),Pt(t,r,n),t},MT=t=>t.type==="file",ao=t=>typeof t=="function",Yv=t=>{if(!AT)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},Y0=t=>uo(t),kT=t=>t.type==="radio",Qv=t=>t instanceof RegExp;const OI={value:!1,isValid:!1},DI={value:!0,isValid:!0};var RN=t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!er(t[0].attributes.value)?er(t[0].value)||t[0].value===""?DI:{value:t[0].value,isValid:!0}:DI:OI}return OI};const NI={isValid:!1,value:null};var PN=t=>Array.isArray(t)?t.reduce((e,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:e,NI):NI;function LI(t,e,r="validate"){if(Y0(t)||Array.isArray(t)&&t.every(Y0)||ki(t)&&!t)return{type:r,message:Y0(t)?t:"",ref:e}}var Oc=t=>ur(t)&&!Qv(t)?t:{value:t,message:""},FI=async(t,e,r,n,i)=>{const{ref:s,refs:o,required:a,maxLength:l,minLength:u,min:c,max:h,pattern:f,validate:m,name:y,valueAsNumber:v,mount:x,disabled:b}=t._f,_=Se(e,y);if(!x||b)return{};const w=o?o[0]:s,E=H=>{n&&w.reportValidity&&(w.setCustomValidity(ki(H)?"":H||""),w.reportValidity())},A={},P=kT(s),I=am(s),M=P||I,N=(v||MT(s))&&er(s.value)&&er(_)||Yv(s)&&s.value===""||_===""||Array.isArray(_)&&!_.length,z=m$.bind(null,y,r,A),j=(H,F,L,O=jo.maxLength,$=jo.minLength)=>{const V=H?F:L;A[y]={type:H?O:$,message:V,ref:s,...z(H?O:$,V)}};if(i?!Array.isArray(_)||!_.length:a&&(!M&&(N||wn(_))||ki(_)&&!_||I&&!RN(o).isValid||P&&!PN(o).isValid)){const{value:H,message:F}=Y0(a)?{value:!!a,message:a}:Oc(a);if(H&&(A[y]={type:jo.required,message:F,ref:w,...z(jo.required,F)},!r))return E(F),A}if(!N&&(!wn(c)||!wn(h))){let H,F;const L=Oc(h),O=Oc(c);if(!wn(_)&&!isNaN(_)){const $=s.valueAsNumber||_&&+_;wn(L.value)||(H=$>L.value),wn(O.value)||(F=$<O.value)}else{const $=s.valueAsDate||new Date(_),V=B=>new Date(new Date().toDateString()+" "+B),k=s.type=="time",U=s.type=="week";uo(L.value)&&_&&(H=k?V(_)>V(L.value):U?_>L.value:$>new Date(L.value)),uo(O.value)&&_&&(F=k?V(_)<V(O.value):U?_<O.value:$<new Date(O.value))}if((H||F)&&(j(!!H,L.message,O.message,jo.max,jo.min),!r))return E(A[y].message),A}if((l||u)&&!N&&(uo(_)||i&&Array.isArray(_))){const H=Oc(l),F=Oc(u),L=!wn(H.value)&&_.length>+H.value,O=!wn(F.value)&&_.length<+F.value;if((L||O)&&(j(L,H.message,F.message),!r))return E(A[y].message),A}if(f&&!N&&uo(_)){const{value:H,message:F}=Oc(f);if(Qv(H)&&!_.match(H)&&(A[y]={type:jo.pattern,message:F,ref:s,...z(jo.pattern,F)},!r))return E(F),A}if(m){if(ao(m)){const H=await m(_,e),F=LI(H,w);if(F&&(A[y]={...F,...z(jo.validate,F.message)},!r))return E(F.message),A}else if(ur(m)){let H={};for(const F in m){if(!Bn(H)&&!r)break;const L=LI(await m[F](_,e),w,F);L&&(H={...L,...z(F,L.message)},E(L.message),r&&(A[y]=H))}if(!Bn(H)&&(A[y]={ref:w,...H},!r))return A}}return E(!0),A};function v$(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=er(t)?n++:t[e[n++]];return t}function y$(t){for(const e in t)if(t.hasOwnProperty(e)&&!er(t[e]))return!1;return!0}function yr(t,e){const r=Array.isArray(e)?e:RT(e)?[e]:SN(e),n=r.length===1?t:v$(t,r),i=r.length-1,s=r[i];return n&&delete n[s],i!==0&&(ur(n)&&Bn(n)||Array.isArray(n)&&y$(n))&&yr(t,r.slice(0,-1)),t}var Zb=()=>{let t=[];return{get observers(){return t},next:i=>{for(const s of t)s.next&&s.next(i)},subscribe:i=>(t.push(i),{unsubscribe:()=>{t=t.filter(s=>s!==i)}}),unsubscribe:()=>{t=[]}}},ES=t=>wn(t)||!bN(t);function qa(t,e){if(ES(t)||ES(e))return t===e;if(Ru(t)&&Ru(e))return t.getTime()===e.getTime();const r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(const i of r){const s=t[i];if(!n.includes(i))return!1;if(i!=="ref"){const o=e[i];if(Ru(s)&&Ru(o)||ur(s)&&ur(o)||Array.isArray(s)&&Array.isArray(o)?!qa(s,o):s!==o)return!1}}return!0}var IN=t=>t.type==="select-multiple",x$=t=>kT(t)||am(t),Jb=t=>Yv(t)&&t.isConnected,MN=t=>{for(const e in t)if(ao(t[e]))return!0;return!1};function Kv(t,e={}){const r=Array.isArray(t);if(ur(t)||r)for(const n in t)Array.isArray(t[n])||ur(t[n])&&!MN(t[n])?(e[n]=Array.isArray(t[n])?[]:{},Kv(t[n],e[n])):wn(t[n])||(e[n]=!0);return e}function kN(t,e,r){const n=Array.isArray(t);if(ur(t)||n)for(const i in t)Array.isArray(t[i])||ur(t[i])&&!MN(t[i])?er(e)||ES(r[i])?r[i]=Array.isArray(t[i])?Kv(t[i],[]):{...Kv(t[i])}:kN(t[i],wn(e)?{}:e[i],r[i]):r[i]=!qa(t[i],e[i]);return r}var Jh=(t,e)=>kN(t,e,Kv(e)),ON=(t,{valueAsNumber:e,valueAsDate:r,setValueAs:n})=>er(t)?t:e?t===""?NaN:t&&+t:r&&uo(t)?new Date(t):n?n(t):t;function ew(t){const e=t.ref;if(!(t.refs?t.refs.every(r=>r.disabled):e.disabled))return MT(e)?e.files:kT(e)?PN(t.refs).value:IN(e)?[...e.selectedOptions].map(({value:r})=>r):am(e)?RN(t.refs).value:ON(er(e.value)?t.ref.value:e.value,t)}var b$=(t,e,r,n)=>{const i={};for(const s of t){const o=Se(e,s);o&&Pt(i,s,o._f)}return{criteriaMode:r,names:[...t],fields:i,shouldUseNativeValidation:n}},ef=t=>er(t)?t:Qv(t)?t.source:ur(t)?Qv(t.value)?t.value.source:t.value:t;const jI="AsyncFunction";var w$=t=>(!t||!t.validate)&&!!(ao(t.validate)&&t.validate.constructor.name===jI||ur(t.validate)&&Object.values(t.validate).find(e=>e.constructor.name===jI)),_$=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate);function BI(t,e,r){const n=Se(t,r);if(n||RT(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const s=i.join("."),o=Se(e,s),a=Se(t,s);if(o&&!Array.isArray(o)&&r!==s)return{name:r};if(a&&a.type)return{name:s,error:a};i.pop()}return{name:r}}var S$=(t,e,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(e||t):(r?n.isOnBlur:i.isOnBlur)?!t:(r?n.isOnChange:i.isOnChange)?t:!0,E$=(t,e)=>!l1(Se(t,e)).length&&yr(t,e);const T$={mode:gs.onSubmit,reValidateMode:gs.onChange,shouldFocusError:!0};function C$(t={}){let e={...T$,...t},r={submitCount:0,isDirty:!1,isLoading:ao(e.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1},n={},i=ur(e.defaultValues)||ur(e.values)?Ln(e.defaultValues||e.values)||{}:{},s=e.shouldUnregister?{}:Ln(i),o={action:!1,mount:!1,watch:!1},a={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:Zb(),array:Zb(),state:Zb()},f=MI(e.mode),m=MI(e.reValidateMode),y=e.criteriaMode===gs.all,v=W=>J=>{clearTimeout(u),u=setTimeout(W,J)},x=async W=>{if(!e.disabled&&(c.isValid||W)){const J=e.resolver?Bn((await M()).errors):await z(n,!0);J!==r.isValid&&h.state.next({isValid:J})}},b=(W,J)=>{!e.disabled&&(c.isValidating||c.validatingFields)&&((W||Array.from(a.mount)).forEach(te=>{te&&(J?Pt(r.validatingFields,te,J):yr(r.validatingFields,te))}),h.state.next({validatingFields:r.validatingFields,isValidating:!Bn(r.validatingFields)}))},_=(W,J=[],te,be,ge=!0,ce=!0)=>{if(be&&te&&!e.disabled){if(o.action=!0,ce&&Array.isArray(Se(n,W))){const ke=te(Se(n,W),be.argA,be.argB);ge&&Pt(n,W,ke)}if(ce&&Array.isArray(Se(r.errors,W))){const ke=te(Se(r.errors,W),be.argA,be.argB);ge&&Pt(r.errors,W,ke),E$(r.errors,W)}if(c.touchedFields&&ce&&Array.isArray(Se(r.touchedFields,W))){const ke=te(Se(r.touchedFields,W),be.argA,be.argB);ge&&Pt(r.touchedFields,W,ke)}c.dirtyFields&&(r.dirtyFields=Jh(i,s)),h.state.next({name:W,isDirty:H(W,J),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Pt(s,W,J)},w=(W,J)=>{Pt(r.errors,W,J),h.state.next({errors:r.errors})},E=W=>{r.errors=W,h.state.next({errors:r.errors,isValid:!1})},A=(W,J,te,be)=>{const ge=Se(n,W);if(ge){const ce=Se(s,W,er(te)?Se(i,W):te);er(ce)||be&&be.defaultChecked||J?Pt(s,W,J?ce:ew(ge._f)):O(W,ce),o.mount&&x()}},P=(W,J,te,be,ge)=>{let ce=!1,ke=!1;const et={name:W};if(!e.disabled){const ze=!!(Se(n,W)&&Se(n,W)._f&&Se(n,W)._f.disabled);if(!te||be){c.isDirty&&(ke=r.isDirty,r.isDirty=et.isDirty=H(),ce=ke!==et.isDirty);const Ue=ze||qa(Se(i,W),J);ke=!!(!ze&&Se(r.dirtyFields,W)),Ue||ze?yr(r.dirtyFields,W):Pt(r.dirtyFields,W,!0),et.dirtyFields=r.dirtyFields,ce=ce||c.dirtyFields&&ke!==!Ue}if(te){const Ue=Se(r.touchedFields,W);Ue||(Pt(r.touchedFields,W,te),et.touchedFields=r.touchedFields,ce=ce||c.touchedFields&&Ue!==te)}ce&&ge&&h.state.next(et)}return ce?et:{}},I=(W,J,te,be)=>{const ge=Se(r.errors,W),ce=c.isValid&&ki(J)&&r.isValid!==J;if(t.delayError&&te?(l=v(()=>w(W,te)),l(t.delayError)):(clearTimeout(u),l=null,te?Pt(r.errors,W,te):yr(r.errors,W)),(te?!qa(ge,te):ge)||!Bn(be)||ce){const ke={...be,...ce&&ki(J)?{isValid:J}:{},errors:r.errors,name:W};r={...r,...ke},h.state.next(ke)}},M=async W=>{b(W,!0);const J=await e.resolver(s,e.context,b$(W||a.mount,n,e.criteriaMode,e.shouldUseNativeValidation));return b(W),J},N=async W=>{const{errors:J}=await M(W);if(W)for(const te of W){const be=Se(J,te);be?Pt(r.errors,te,be):yr(r.errors,te)}else r.errors=J;return J},z=async(W,J,te={valid:!0})=>{for(const be in W){const ge=W[be];if(ge){const{_f:ce,...ke}=ge;if(ce){const et=a.array.has(ce.name),ze=ge._f&&w$(ge._f);ze&&c.validatingFields&&b([be],!0);const Ue=await FI(ge,s,y,e.shouldUseNativeValidation&&!J,et);if(ze&&c.validatingFields&&b([be]),Ue[ce.name]&&(te.valid=!1,J))break;!J&&(Se(Ue,ce.name)?et?g$(r.errors,Ue,ce.name):Pt(r.errors,ce.name,Ue[ce.name]):yr(r.errors,ce.name))}!Bn(ke)&&await z(ke,J,te)}}return te.valid},j=()=>{for(const W of a.unMount){const J=Se(n,W);J&&(J._f.refs?J._f.refs.every(te=>!Jb(te)):!Jb(J._f.ref))&&le(W)}a.unMount=new Set},H=(W,J)=>!e.disabled&&(W&&J&&Pt(s,W,J),!qa(X(),i)),F=(W,J,te)=>AN(W,a,{...o.mount?s:er(J)?i:uo(W)?{[W]:J}:J},te,J),L=W=>l1(Se(o.mount?s:i,W,t.shouldUnregister?Se(i,W,[]):[])),O=(W,J,te={})=>{const be=Se(n,W);let ge=J;if(be){const ce=be._f;ce&&(!ce.disabled&&Pt(s,W,ON(J,ce)),ge=Yv(ce.ref)&&wn(J)?"":J,IN(ce.ref)?[...ce.ref.options].forEach(ke=>ke.selected=ge.includes(ke.value)):ce.refs?am(ce.ref)?ce.refs.length>1?ce.refs.forEach(ke=>(!ke.defaultChecked||!ke.disabled)&&(ke.checked=Array.isArray(ge)?!!ge.find(et=>et===ke.value):ge===ke.value)):ce.refs[0]&&(ce.refs[0].checked=!!ge):ce.refs.forEach(ke=>ke.checked=ke.value===ge):MT(ce.ref)?ce.ref.value="":(ce.ref.value=ge,ce.ref.type||h.values.next({name:W,values:{...s}})))}(te.shouldDirty||te.shouldTouch)&&P(W,ge,te.shouldTouch,te.shouldDirty,!0),te.shouldValidate&&B(W)},$=(W,J,te)=>{for(const be in J){const ge=J[be],ce=`${W}.${be}`,ke=Se(n,ce);(a.array.has(W)||ur(ge)||ke&&!ke._f)&&!Ru(ge)?$(ce,ge,te):O(ce,ge,te)}},V=(W,J,te={})=>{const be=Se(n,W),ge=a.array.has(W),ce=Ln(J);Pt(s,W,ce),ge?(h.array.next({name:W,values:{...s}}),(c.isDirty||c.dirtyFields)&&te.shouldDirty&&h.state.next({name:W,dirtyFields:Jh(i,s),isDirty:H(W,ce)})):be&&!be._f&&!wn(ce)?$(W,ce,te):O(W,ce,te),kI(W,a)&&h.state.next({...r}),h.values.next({name:o.mount?W:void 0,values:{...s}})},k=async W=>{o.mount=!0;const J=W.target;let te=J.name,be=!0;const ge=Se(n,te),ce=()=>J.type?ew(ge._f):wN(W),ke=et=>{be=Number.isNaN(et)||Ru(et)&&isNaN(et.getTime())||qa(et,Se(s,te,et))};if(ge){let et,ze;const Ue=ce(),$e=W.type===qv.BLUR||W.type===qv.FOCUS_OUT,pt=!_$(ge._f)&&!e.resolver&&!Se(r.errors,te)&&!ge._f.deps||S$($e,Se(r.touchedFields,te),r.isSubmitted,m,f),Pr=kI(te,a,$e);Pt(s,te,Ue),$e?(ge._f.onBlur&&ge._f.onBlur(W),l&&l(0)):ge._f.onChange&&ge._f.onChange(W);const Dt=P(te,Ue,$e,!1),ct=!Bn(Dt)||Pr;if(!$e&&h.values.next({name:te,type:W.type,values:{...s}}),pt)return c.isValid&&(t.mode==="onBlur"?$e&&x():x()),ct&&h.state.next({name:te,...Pr?{}:Dt});if(!$e&&Pr&&h.state.next({...r}),e.resolver){const{errors:Qe}=await M([te]);if(ke(Ue),be){const tn=BI(r.errors,n,te),bi=BI(Qe,n,tn.name||te);et=bi.error,te=bi.name,ze=Bn(Qe)}}else b([te],!0),et=(await FI(ge,s,y,e.shouldUseNativeValidation))[te],b([te]),ke(Ue),be&&(et?ze=!1:c.isValid&&(ze=await z(n,!0)));be&&(ge._f.deps&&B(ge._f.deps),I(te,ze,et,Dt))}},U=(W,J)=>{if(Se(r.errors,J)&&W.focus)return W.focus(),1},B=async(W,J={})=>{let te,be;const ge=zf(W);if(e.resolver){const ce=await N(er(W)?W:ge);te=Bn(ce),be=W?!ge.some(ke=>Se(ce,ke)):te}else W?(be=(await Promise.all(ge.map(async ce=>{const ke=Se(n,ce);return await z(ke&&ke._f?{[ce]:ke}:ke)}))).every(Boolean),!(!be&&!r.isValid)&&x()):be=te=await z(n);return h.state.next({...!uo(W)||c.isValid&&te!==r.isValid?{}:{name:W},...e.resolver||!W?{isValid:te}:{},errors:r.errors}),J.shouldFocus&&!be&&Hf(n,U,W?ge:a.mount),be},X=W=>{const J={...o.mount?s:i};return er(W)?J:uo(W)?Se(J,W):W.map(te=>Se(J,te))},K=(W,J)=>({invalid:!!Se((J||r).errors,W),isDirty:!!Se((J||r).dirtyFields,W),error:Se((J||r).errors,W),isValidating:!!Se(r.validatingFields,W),isTouched:!!Se((J||r).touchedFields,W)}),q=W=>{W&&zf(W).forEach(J=>yr(r.errors,J)),h.state.next({errors:W?r.errors:{}})},re=(W,J,te)=>{const be=(Se(n,W,{_f:{}})._f||{}).ref,ge=Se(r.errors,W)||{},{ref:ce,message:ke,type:et,...ze}=ge;Pt(r.errors,W,{...ze,...J,ref:be}),h.state.next({name:W,errors:r.errors,isValid:!1}),te&&te.shouldFocus&&be&&be.focus&&be.focus()},ue=(W,J)=>ao(W)?h.values.subscribe({next:te=>W(F(void 0,J),te)}):F(W,J,!0),le=(W,J={})=>{for(const te of W?zf(W):a.mount)a.mount.delete(te),a.array.delete(te),J.keepValue||(yr(n,te),yr(s,te)),!J.keepError&&yr(r.errors,te),!J.keepDirty&&yr(r.dirtyFields,te),!J.keepTouched&&yr(r.touchedFields,te),!J.keepIsValidating&&yr(r.validatingFields,te),!e.shouldUnregister&&!J.keepDefaultValue&&yr(i,te);h.values.next({values:{...s}}),h.state.next({...r,...J.keepDirty?{isDirty:H()}:{}}),!J.keepIsValid&&x()},me=({disabled:W,name:J,field:te,fields:be,value:ge})=>{if(ki(W)&&o.mount||W){const ce=W?void 0:er(ge)?ew(te?te._f:Se(be,J)._f):ge;Pt(s,J,ce),P(J,ce,!1,!1,!0)}},xe=(W,J={})=>{let te=Se(n,W);const be=ki(J.disabled)||ki(e.disabled);return Pt(n,W,{...te||{},_f:{...te&&te._f?te._f:{ref:{name:W}},name:W,mount:!0,...J}}),a.mount.add(W),te?me({field:te,disabled:ki(J.disabled)?J.disabled:e.disabled,name:W,value:J.value}):A(W,!0,J.value),{...be?{disabled:J.disabled||e.disabled}:{},...e.progressive?{required:!!J.required,min:ef(J.min),max:ef(J.max),minLength:ef(J.minLength),maxLength:ef(J.maxLength),pattern:ef(J.pattern)}:{},name:W,onChange:k,onBlur:k,ref:ge=>{if(ge){xe(W,J),te=Se(n,W);const ce=er(ge.value)&&ge.querySelectorAll&&ge.querySelectorAll("input,select,textarea")[0]||ge,ke=x$(ce),et=te._f.refs||[];if(ke?et.find(ze=>ze===ce):ce===te._f.ref)return;Pt(n,W,{_f:{...te._f,...ke?{refs:[...et.filter(Jb),ce,...Array.isArray(Se(i,W))?[{}]:[]],ref:{type:ce.type,name:W}}:{ref:ce}}}),A(W,!1,void 0,ce)}else te=Se(n,W,{}),te._f&&(te._f.mount=!1),(e.shouldUnregister||J.shouldUnregister)&&!(_N(a.array,W)&&o.action)&&a.unMount.add(W)}}},_e=()=>e.shouldFocusError&&Hf(n,U,a.mount),Te=W=>{ki(W)&&(h.state.next({disabled:W}),Hf(n,(J,te)=>{const be=Se(n,te);be&&(J.disabled=be._f.disabled||W,Array.isArray(be._f.refs)&&be._f.refs.forEach(ge=>{ge.disabled=be._f.disabled||W}))},0,!1))},de=(W,J)=>async te=>{let be;if(te&&(te.preventDefault&&te.preventDefault(),te.persist&&te.persist()),e.disabled){J&&await J({...r.errors},te);return}let ge=Ln(s);if(h.state.next({isSubmitting:!0}),e.resolver){const{errors:ce,values:ke}=await M();r.errors=ce,ge=ke}else await z(n);if(yr(r.errors,"root"),Bn(r.errors)){h.state.next({errors:{}});try{await W(ge,te)}catch(ce){be=ce}}else J&&await J({...r.errors},te),_e(),setTimeout(_e);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Bn(r.errors)&&!be,submitCount:r.submitCount+1,errors:r.errors}),be)throw be},Be=(W,J={})=>{Se(n,W)&&(er(J.defaultValue)?V(W,Ln(Se(i,W))):(V(W,J.defaultValue),Pt(i,W,Ln(J.defaultValue))),J.keepTouched||yr(r.touchedFields,W),J.keepDirty||(yr(r.dirtyFields,W),r.isDirty=J.defaultValue?H(W,Ln(Se(i,W))):H()),J.keepError||(yr(r.errors,W),c.isValid&&x()),h.state.next({...r}))},je=(W,J={})=>{const te=W?Ln(W):i,be=Ln(te),ge=Bn(W),ce=ge?i:be;if(J.keepDefaultValues||(i=te),!J.keepValues){if(J.keepDirtyValues){const ke=new Set([...a.mount,...Object.keys(Jh(i,s))]);for(const et of Array.from(ke))Se(r.dirtyFields,et)?Pt(ce,et,Se(s,et)):V(et,Se(ce,et))}else{if(AT&&er(W))for(const ke of a.mount){const et=Se(n,ke);if(et&&et._f){const ze=Array.isArray(et._f.refs)?et._f.refs[0]:et._f.ref;if(Yv(ze)){const Ue=ze.closest("form");if(Ue){Ue.reset();break}}}}n={}}s=t.shouldUnregister?J.keepDefaultValues?Ln(i):{}:Ln(ce),h.array.next({values:{...ce}}),h.values.next({values:{...ce}})}a={mount:J.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!c.isValid||!!J.keepIsValid||!!J.keepDirtyValues,o.watch=!!t.shouldUnregister,h.state.next({submitCount:J.keepSubmitCount?r.submitCount:0,isDirty:ge?!1:J.keepDirty?r.isDirty:!!(J.keepDefaultValues&&!qa(W,i)),isSubmitted:J.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:ge?{}:J.keepDirtyValues?J.keepDefaultValues&&s?Jh(i,s):r.dirtyFields:J.keepDefaultValues&&W?Jh(i,W):J.keepDirty?r.dirtyFields:{},touchedFields:J.keepTouched?r.touchedFields:{},errors:J.keepErrors?r.errors:{},isSubmitSuccessful:J.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},ut=(W,J)=>je(ao(W)?W(s):W,J);return{control:{register:xe,unregister:le,getFieldState:K,handleSubmit:de,setError:re,_executeSchema:M,_getWatch:F,_getDirty:H,_updateValid:x,_removeUnmounted:j,_updateFieldArray:_,_updateDisabledField:me,_getFieldArray:L,_reset:je,_resetDefaultValues:()=>ao(e.defaultValues)&&e.defaultValues().then(W=>{ut(W,e.resetOptions),h.state.next({isLoading:!1})}),_updateFormState:W=>{r={...r,...W}},_disableForm:Te,_subjects:h,_proxyFormState:c,_setErrors:E,get _fields(){return n},get _formValues(){return s},get _state(){return o},set _state(W){o=W},get _defaultValues(){return i},get _names(){return a},set _names(W){a=W},get _formState(){return r},set _formState(W){r=W},get _options(){return e},set _options(W){e={...e,...W}}},trigger:B,register:xe,handleSubmit:de,watch:ue,setValue:V,getValues:X,reset:ut,resetField:Be,clearErrors:q,unregister:le,setError:re,setFocus:(W,J={})=>{const te=Se(n,W),be=te&&te._f;if(be){const ge=be.refs?be.refs[0]:be.ref;ge.focus&&(ge.focus(),J.shouldSelect&&ao(ge.select)&&ge.select())}},getFieldState:K}}function OT(t={}){const e=Ie.useRef(),r=Ie.useRef(),[n,i]=Ie.useState({isDirty:!1,isValidating:!1,isLoading:ao(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,defaultValues:ao(t.defaultValues)?void 0:t.defaultValues});e.current||(e.current={...C$(t),formState:n});const s=e.current.control;return s._options=t,IT({subject:s._subjects.state,next:o=>{TN(o,s._proxyFormState,s._updateFormState,!0)&&i({...s._formState})}}),Ie.useEffect(()=>s._disableForm(t.disabled),[s,t.disabled]),Ie.useEffect(()=>{if(s._proxyFormState.isDirty){const o=s._getDirty();o!==n.isDirty&&s._subjects.state.next({isDirty:o})}},[s,n.isDirty]),Ie.useEffect(()=>{t.values&&!qa(t.values,r.current)?(s._reset(t.values,s._options.resetOptions),r.current=t.values,i(o=>({...o}))):s._resetDefaultValues()},[t.values,s]),Ie.useEffect(()=>{t.errors&&s._setErrors(t.errors)},[t.errors,s]),Ie.useEffect(()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),Ie.useEffect(()=>{t.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})},[t.shouldUnregister,s]),e.current.formState=EN(n,s),e.current}function DN(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=DN(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Re(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=DN(t))&&(n&&(n+=" "),n+=e);return n}const A$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 6a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M11 16a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),R$=A$,P$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 3c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2zm8 0H3v6h6zm4 0c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2zm8 0h-6v6h6zm-8 12c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2zm8 0h-6v6h6zM1 15c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2zm8 0H3v6h6z",clipRule:"evenodd"})]}),NN=P$,I$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.707 4.293a1 1 0 0 1 0 1.414L6.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0",clipRule:"evenodd"})]}),M$=I$,k$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L17.586 12l-6.293-6.293a1 1 0 0 1 0-1.414",clipRule:"evenodd"})]}),TS=k$,O$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#blur_svg__a)",clipRule:"evenodd",children:g.jsx("path",{d:"M17.504 1.673a1 1 0 0 1 .932.491c.37.63.9 1.935 1.404 3.18l.08.197c.502 1.24.994 2.457 1.369 3.205l-.895.447.895-.447c.561 1.122 1.962 4.049 2.136 6.753.087 1.364-.125 2.839-1.094 3.978-.987 1.16-2.573 1.76-4.757 1.76-2.186 0-3.777-.6-4.777-1.752-.983-1.134-1.221-2.604-1.152-3.973.138-2.711 1.514-5.636 2.13-6.79.86-1.611 2.414-5.32 2.874-6.433a1 1 0 0 1 .855-.616m.104 3.492c-.657 1.533-1.496 3.425-2.07 4.5-.59 1.106-1.781 3.703-1.895 5.949-.057 1.11.158 1.976.665 2.56.49.565 1.427 1.063 3.266 1.063 1.84 0 2.76-.498 3.233-1.055.492-.579.694-1.44.622-2.555-.145-2.253-1.36-4.848-1.929-5.986-.412-.823-.932-2.108-1.417-3.308l-.097-.238q-.196-.487-.378-.93M12.843 22.535a1 1 0 0 1-1.034.964l-.259-.009a1 1 0 0 1-.257-.042q-.125.029-.26.024l-.257-.009a11 11 0 0 1-2.102-.279 1 1 0 0 1 .457-1.947 9 9 0 0 0 1.715.228l.258.009q.134.004.257.042.125-.028.26-.024l.257.009a1 1 0 0 1 .965 1.034m-6.615-1.329a1 1 0 0 1-1.396.226 10.9 10.9 0 0 1-2.877-3.086 1 1 0 1 1 1.7-1.054 8.9 8.9 0 0 0 2.347 2.518 1 1 0 0 1 .226 1.396M1.622 15.22a1 1 0 0 1-1.147-.827 10.9 10.9 0 0 1 .148-4.218 1 1 0 0 1 1.947.457 8.9 8.9 0 0 0-.12 3.441 1 1 0 0 1-.828 1.147m.978-7.49a1 1 0 0 1-.226-1.397A10.9 10.9 0 0 1 5.46 3.455a1 1 0 0 1 1.054 1.7 8.9 8.9 0 0 0-2.518 2.347 1 1 0 0 1-1.396.226m5.988-4.607a1 1 0 0 1 .827-1.147 11 11 0 0 1 2.116-.132l.258.01q.135.004.257.042.125-.03.26-.025l.258.01a1 1 0 0 1-.07 1.998l-.258-.009a1 1 0 0 1-.258-.043q-.125.03-.259.025l-.258-.009a9 9 0 0 0-1.727.108 1 1 0 0 1-1.146-.828"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"blur_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),D$=O$,N$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M7 4a1 1 0 0 0-1 1v14.06l5.42-3.87a1 1 0 0 1 1.16 0L18 19.06V5a1 1 0 0 0-1-1zM4.88 2.88A3 3 0 0 1 7 2h10a3 3 0 0 1 3 3v16a1 1 0 0 1-1.58.81L12 17.23 5.58 21.8A1 1 0 0 1 4 21V5a3 3 0 0 1 .88-2.12"})]}),DT=N$,L$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 5c0 .828-.711 1.5-1.588 1.5H4.588C3.711 6.5 3 5.828 3 5s.711-1.5 1.588-1.5h14.824C20.289 3.5 21 4.172 21 5M21 12c0 .828-.711 1.5-1.588 1.5H4.588C3.711 13.5 3 12.828 3 12s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5M21 19c0 .828-.711 1.5-1.588 1.5H4.588C3.711 20.5 3 19.828 3 19s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5",clipRule:"evenodd"})]}),F$=L$,j$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.222 4.222a1.1 1.1 0 0 1 1.556 0l14 14a1.1 1.1 0 1 1-1.556 1.556l-14-14a1.1 1.1 0 0 1 0-1.556",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.778 4.222a1.1 1.1 0 0 1 0 1.556l-14 14a1.1 1.1 0 1 1-1.556-1.556l14-14a1.1 1.1 0 0 1 1.556 0",clipRule:"evenodd"})]}),NT=j$,B$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M17.327 5.76a1 1 0 0 1 1.413.067l5 5.5a1 1 0 0 1 0 1.346l-5 5.5a1 1 0 1 1-1.48-1.346L21.648 12 17.26 7.173a1 1 0 0 1 .067-1.413M6.673 5.76a1 1 0 0 1 .067 1.413L2.35 12l4.389 4.827a1 1 0 0 1-1.48 1.346l-5-5.5a1 1 0 0 1 0-1.346l5-5.5a1 1 0 0 1 1.413-.067M8.979 21.609a1 1 0 0 1-.658-1.252l5.375-17.29a1 1 0 1 1 1.91.594L10.23 20.95a1 1 0 0 1-1.251.658",clipRule:"evenodd"})]}),CS=B$,U$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.676 3c.284-.672.853-1 1.263-1h11.423c.566 0 1.438.628 1.438 1.923v13.154c0 1.056-.58 1.668-1.1 1.858V6.923C19.7 4.99 18.3 3 16.061 3zm-2.272.007C4.765 1.41 6.056 0 7.939 0h11.423C21.599 0 23 1.99 23 3.923v13.154c0 1.865-1.303 3.782-3.403 3.916C19.235 22.59 17.944 24 16.06 24H4.638C2.401 24 1 22.01 1 20.077V6.923c0-1.865 1.303-3.782 3.404-3.916M3.2 6.923C3.2 5.628 4.072 5 4.638 5h11.423c.567 0 1.439.628 1.439 1.923v13.154c0 1.295-.872 1.923-1.439 1.923H4.638c-.566 0-1.438-.628-1.438-1.923z",clipRule:"evenodd"})]}),$$=U$,z$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{clipPath:"url(#crop_svg__a)",children:g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.13 1.009a1 1 0 1 0-2-.018l-.036 4.103-4.103.036a1 1 0 1 0 .018 2l4.068-.035L5 15.99V16a3 3 0 0 0 3 3h9v4a1 1 0 1 0 2 0v-4h4a1 1 0 1 0 0-2h-4V8a3 3 0 0 0-3-3l-8.905.077zm-.053 6.068L7 16.004A1 1 0 0 0 8 17h9V8a1 1 0 0 0-.996-1z",clipRule:"evenodd"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"crop_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),H$=z$,V$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.461 3.689a.96.96 0 0 1 .675-.28h3.819a.955.955 0 0 1 .954.955v.954H9.182v-.954c0-.254.1-.496.28-.675m7.357.675v.954h3.818a.955.955 0 0 1 0 1.91h-.954v12.408a2.864 2.864 0 0 1-2.864 2.864H7.273a2.864 2.864 0 0 1-2.864-2.864V7.227h-.954a.955.955 0 1 1 0-1.909h3.818v-.954A2.864 2.864 0 0 1 10.136 1.5h3.819a2.864 2.864 0 0 1 2.863 2.864m-10.5 2.863v12.41a.954.954 0 0 0 .955.954h9.545a.955.955 0 0 0 .955-.955V7.227zm3.818 2.864c.528 0 .955.427.955.955v5.727a.955.955 0 1 1-1.91 0v-5.727c0-.528.428-.955.955-.955m4.773 6.682v-5.727a.955.955 0 0 0-1.909 0v5.727a.955.955 0 1 0 1.91 0",clipRule:"evenodd"})]}),LN=V$,G$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsxs("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#download_svg__a)",clipRule:"evenodd",children:[g.jsx("path",{d:"M7.293 16.293a1 1 0 0 1 1.414 0L12 19.586l3.293-3.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414"}),g.jsx("path",{d:"M12 11a1 1 0 0 1 1 1v9a1 1 0 1 1-2 0v-9a1 1 0 0 1 1-1"}),g.jsx("path",{d:"M8.668 1.994A9 9 0 0 1 17.48 8H18a6.002 6.002 0 0 1 5.689 7.919 6 6 0 0 1-2.234 2.989 1 1 0 1 1-1.15-1.636A4 4 0 0 0 18 10H16.74a1 1 0 0 1-.969-.751A7 7 0 1 0 3.75 15.627a1 1 0 1 1-1.498 1.326A9 9 0 0 1 8.668 1.994"})]}),g.jsx("defs",{children:g.jsx("clipPath",{id:"download_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),W$=G$,X$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.879 3.879A3 3 0 0 1 4 3h7a1 1 0 1 1 0 2H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 2.879c-.297 0-.583.118-.793.328l-9.304 9.304-.529 2.115 2.115-.529 9.304-9.304A1.121 1.121 0 0 0 20 2.879m-2.207-1.086a3.121 3.121 0 0 1 4.414 4.414l-9.5 9.5a1 1 0 0 1-.464.263l-4 1a1 1 0 0 1-1.213-1.212l1-4a1 1 0 0 1 .263-.465z",clipRule:"evenodd"})]}),q$=X$,Y$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-11C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8.293 15.707a1 1 0 0 1 0-1.414L10.586 12 8.293 9.707a1 1 0 0 1 1.414-1.414L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414 0",clipRule:"evenodd"})]}),Q$=Y$,K$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.91 9.14v1.27H8.25a4.7 4.7 0 0 0-3.86 1.98L1.5 16.53V6.4a2.3 2.3 0 0 1 .77-1.69A2.68 2.68 0 0 1 4.11 4h3.73a2.68 2.68 0 0 1 1.84.71c.25.22.45.48.58.77s.2.6.2.92v.34h7.84c.7.01 1.35.27 1.84.71.49.45.76 1.06.77 1.7ZM8.25 11.92h14.47c.63 0 1 .68.64 1.18l-3.52 5.04a3.13 3.13 0 0 1-2.57 1.32H2.79c-.62 0-.99-.68-.64-1.18l3.53-5.04a3.13 3.13 0 0 1 2.57-1.32",clipRule:"evenodd"})]}),FN=K$,Z$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.093 2.58A1 1 0 0 1 2 2h20a1 1 0 0 1 .764 1.646L15 12.826V21a1 1 0 0 1-1.447.894l-4-2A1 1 0 0 1 9 19v-6.174l-7.764-9.18a1 1 0 0 1-.143-1.067M4.155 4l6.609 7.814a1 1 0 0 1 .236.646v5.922l2 1V12.46a1 1 0 0 1 .236-.646L19.845 4z",clipRule:"evenodd"})]}),J$=Z$,ez=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.057 5.5A.057.057 0 0 0 3 5.557v13.03h18V7.875h-8.697a1 1 0 0 1-1-1c0-.759-.615-1.374-1.374-1.374zM1 5.557C1 4.42 1.92 3.5 3.057 3.5h6.872c1.515 0 2.797.999 3.223 2.374H21a2 2 0 0 1 2 2v10.714a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2z",clipRule:"evenodd"})]}),jN=ez,tz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.726 3.29A9.01 9.01 0 0 0 3.055 11H7.05a16.3 16.3 0 0 1 2.676-7.71m4.548 0A16.3 16.3 0 0 1 16.95 11h3.995a9.01 9.01 0 0 0-6.67-7.71m.668 7.71A14.3 14.3 0 0 0 12 3.55 14.3 14.3 0 0 0 9.058 11zm-5.884 2h5.884A14.3 14.3 0 0 1 12 20.45 14.3 14.3 0 0 1 9.058 13M7.05 13H3.055a9.01 9.01 0 0 0 6.67 7.71A16.3 16.3 0 0 1 7.05 13m7.224 7.71A16.3 16.3 0 0 0 16.95 13h3.995a9.01 9.01 0 0 1-6.67 7.71M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11",clipRule:"evenodd"})]}),LT=tz,rz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.01 17a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v5a1 1 0 0 1-1 1M13.01 7.5a1 1 0 0 1-1 1H12a1 1 0 1 1 0-2h.01a1 1 0 0 1 1 1",clipRule:"evenodd"})]}),BN=rz,nz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.222 5.037c-.895 0-1.222.555-1.222.792v12.675c0 .237.327.792 1.222.792h1.364l9.707-9.886a.987.987 0 0 1 1.414 0L21 13.782V5.829c0-.237-.328-.792-1.222-.792zM23 16.224V5.829C23 4.066 21.337 3 19.778 3H4.222C2.662 3 1 4.066 1 5.83v12.674c0 1.763 1.662 2.829 3.222 2.829h15.556c1.56 0 3.222-1.066 3.222-2.83v-2.279m-2 .439-5-5.093-7.585 7.726h11.363c.894 0 1.222-.555 1.222-.792zM8 8.093c-.552 0-1 .455-1 1.018a1.01 1.01 0 0 0 1 1.018c.552 0 1-.456 1-1.018a1.01 1.01 0 0 0-1-1.019M5 9.11c0-1.688 1.343-3.056 3-3.056s3 1.368 3 3.056-1.343 3.055-3 3.055-3-1.368-3-3.055",clipRule:"evenodd"})]}),iz=nz,sz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.672 5.558a7.96 7.96 0 0 0-9.841.397 7.95 7.95 0 0 0-1.908 9.66 7.964 7.964 0 0 0 8.949 4.12A7.95 7.95 0 0 0 19.962 12a1.021 1.021 0 1 1 2.045 0A9.994 9.994 0 0 1 7.83 21.083a10.01 10.01 0 0 1-5.634-11.027 9.99 9.99 0 0 1 9.402-8.048c2.244-.09 4.453.577 6.272 1.895a1.022 1.022 0 1 1-1.198 1.655",clipRule:"evenodd"})]}),UN=sz,oz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 .5a4.07 4.07 0 0 0-2.812 1.115A3.8 3.8 0 0 0 8 4.364V12a3.8 3.8 0 0 0 1.188 2.748A4.07 4.07 0 0 0 12 15.864a4.07 4.07 0 0 0 2.812-1.116A3.8 3.8 0 0 0 16 12V4.364a3.8 3.8 0 0 0-1.188-2.749A4.07 4.07 0 0 0 12 .5m-1.43 2.562A2.07 2.07 0 0 1 12 2.5c.545 0 1.059.207 1.43.562.371.354.57.823.57 1.302V12a1.8 1.8 0 0 1-.57 1.302 2.07 2.07 0 0 1-1.43.562 2.07 2.07 0 0 1-1.43-.562A1.8 1.8 0 0 1 10 12V4.364a1.8 1.8 0 0 1 .57-1.302M6 10.091a1 1 0 0 0-2 0V12c0 2.053.855 4.011 2.36 5.448A8.13 8.13 0 0 0 11 19.622V21.5H8a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-3v-1.878a8.13 8.13 0 0 0 4.64-2.174C19.145 16.011 20 14.053 20 12v-1.91a1 1 0 0 0-2 0V12c0 1.491-.62 2.932-1.74 4.001s-2.646 1.678-4.248 1.68h-.024c-1.602-.002-3.128-.611-4.247-1.68C6.62 14.931 6 13.491 6 12z",clipRule:"evenodd"})]}),c1=oz,az=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("circle",{cx:12,cy:4,r:2.5,fill:"currentColor"}),g.jsx("circle",{cx:12,cy:12,r:2.5,fill:"currentColor"}),g.jsx("circle",{cx:12,cy:20,r:2.5,fill:"currentColor"})]}),lz=az,uz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.968 3c-.775 0-1.517.306-2.062.847l-8.983 8.918a4.8 4.8 0 0 0-1.423 3.41c0 1.277.511 2.504 1.423 3.41A4.9 4.9 0 0 0 8.368 21a4.9 4.9 0 0 0 3.445-1.416l8.983-8.918a1 1 0 1 1 1.409 1.42l-8.983 8.917A6.9 6.9 0 0 1 8.368 23a6.9 6.9 0 0 1-4.854-1.997A6.8 6.8 0 0 1 1.5 16.174c0-1.812.725-3.549 2.014-4.828l8.983-8.918A4.93 4.93 0 0 1 15.967 1c1.301 0 2.55.513 3.471 1.428a4.87 4.87 0 0 1 1.442 3.456 4.87 4.87 0 0 1-1.442 3.455l-8.992 8.918a2.965 2.965 0 0 1-4.175 0 2.935 2.935 0 0 1 0-4.165l8.299-8.23a1 1 0 0 1 1.408 1.42l-8.298 8.23a.935.935 0 0 0 0 1.326.963.963 0 0 0 1.357 0l8.992-8.918c.545-.541.85-1.274.85-2.036a2.87 2.87 0 0 0-.85-2.037A2.93 2.93 0 0 0 15.968 3",clipRule:"evenodd"})]}),cz=uz,dz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 2h3v16h-3zm10-2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 2h3v16h-3z",clipRule:"evenodd"})]}),FT=dz,hz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M5 3.804c0-1.57 1.728-2.528 3.06-1.696l13.113 8.196a2 2 0 0 1 0 3.392L8.06 21.892C6.728 22.724 5 21.767 5 20.196z"})]}),$N=hz,fz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7v7a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7z",clipRule:"evenodd"})]}),d1=fz,pz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.012 7.871a1.5 1.5 0 0 1 2.117.141L12 14.722l5.871-6.71a1.5 1.5 0 1 1 2.258 1.976l-7 8a1.5 1.5 0 0 1-2.258 0l-7-8a1.5 1.5 0 0 1 .141-2.117",clipRule:"evenodd"})]}),Tp=pz,mz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.871 19.988a1.5 1.5 0 0 1 .141-2.117L14.722 12l-6.71-5.871A1.5 1.5 0 0 1 9.988 3.87l8 7a1.5 1.5 0 0 1 0 2.258l-8 7a1.5 1.5 0 0 1-2.117-.141",clipRule:"evenodd"})]}),zN=mz,gz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.988 17.129a1.5 1.5 0 0 1-2.117-.141L12 10.278l-5.871 6.71a1.5 1.5 0 0 1-2.258-1.976l7-8a1.5 1.5 0 0 1 2.258 0l7 8a1.5 1.5 0 0 1-.141 2.117",clipRule:"evenodd"})]}),vz=gz,yz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11M10 6H8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1m4 0h2a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),xz=yz,bz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M2 6a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4z"})]}),wz=bz,_z=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-1.936l4.409 1.365A2 2 0 0 0 24 15.519V8.48a2 2 0 0 0-2.591-1.91l-4.41 1.364V6a2 2 0 0 0-2-2zm0 2h13v12H2zm15 7.97V10.03l5-1.548v7.037z",clipRule:"evenodd"})]}),HN=_z,Sz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("circle",{cx:12,cy:12,r:11,fill:"currentColor"})]}),Zv=Sz,Ez=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{clipPath:"url(#refresh_svg__a)",children:g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.304 21c3.015 0 5.65-1.924 6.838-4.752a.986.986 0 0 1 1.297-.53c.503.216.738.803.524 1.311C19.498 20.522 16.19 23 12.304 23c-4.644 0-8.444-3.522-9.299-8.113L1.86 17.142a.99.99 0 0 1-1.33.449 1 1 0 0 1-.417-1.348L2.51 11.52c.135-.265.376-.457.66-.527a.96.96 0 0 1 .812.169L8.1 14.297c.433.33.515.958.185 1.404a.98.98 0 0 1-1.382.212L4.93 14.41c.65 3.785 3.744 6.59 7.374 6.59m4.794-12.913a.98.98 0 0 0-1.381.211 1.01 1.01 0 0 0 .184 1.405l4.117 3.135a.96.96 0 0 0 .812.169c.284-.07.525-.262.66-.527l2.398-4.723c.252-.496.065-1.1-.418-1.348a.99.99 0 0 0-1.329.449l-1.145 2.255C20.14 4.522 16.34 1 11.696 1 7.81 1 4.505 3.478 3.037 6.97a1.004 1.004 0 0 0 .525 1.312.986.986 0 0 0 1.297-.53C6.046 4.924 8.681 3 11.697 3c3.63 0 6.724 2.805 7.374 6.59z",clipRule:"evenodd"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"refresh_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),VN=Ez,Tz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.583 7.313 3.976 3.87a.996.996 0 1 0-1.96.346l1.012 5.747a.996.996 0 0 0 1.153.809l5.743-1.014a.997.997 0 0 0-.346-1.962l-3.3.582a7.754 7.754 0 0 1 8.399-4.254 7.76 7.76 0 0 1 .78 15.064 7.745 7.745 0 0 1-8.912-3.56.995.995 0 1 0-1.724.997 9.744 9.744 0 0 0 11.201 4.474 9.74 9.74 0 0 0 5.19-3.718 9.756 9.756 0 0 0-.625-12.055A9.74 9.74 0 0 0 8.73 3.117a9.75 9.75 0 0 0-4.147 4.196",clipRule:"evenodd"})]}),GN=Tz,Cz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M17.919 3.15c1.33-.856 3.081.1 3.081 1.682v14.336c0 1.583-1.75 2.538-3.081 1.683L7 13.83V19a2 2 0 1 1-4 0V5a2 2 0 1 1 4 0v5.168z"})]}),Az=Cz,Rz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7h1a1 1 0 0 0 1-1V8.414L15.586 4H8v3h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1V4zm2-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V8a1 1 0 0 0-.293-.707l-5-5A1 1 0 0 0 16 2zm1 12v6h8v-6z",clipRule:"evenodd"})]}),jT=Rz,Pz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0m7-9a9 9 0 1 0 5.7 15.96 1 1 0 0 0 .24.4l4.35 4.35a1 1 0 0 0 1.42-1.42l-4.35-4.35a1 1 0 0 0-.4-.24A9 9 0 0 0 11 1",clipRule:"evenodd"})]}),AS=Pz,Iz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM4 4a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3z",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 18a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Mz=Iz,kz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.133 6.173c-.026.023-.133.118-.133.541v.715h2v-.715c0-.423-.107-.518-.133-.541C17.805 6.12 17.594 6 17 6s-.805.12-.867.173M20 6.714c0-.76-.203-1.521-.832-2.06C18.575 4.145 17.786 4 17 4s-1.575.145-2.168.654c-.629.539-.832 1.3-.832 2.06V11a1 1 0 1 0 2 0V9.429h2V11a1 1 0 1 0 2 0zM14 14a1 1 0 0 1 1-1h4a1 1 0 0 1 .832 1.555L16.87 19H19a1 1 0 1 1 0 2h-4a1 1 0 0 1-.832-1.555L17.132 15H15a1 1 0 0 1-1-1M3.293 16.293a1 1 0 0 1 1.414 0L7 18.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 0-1.414",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 4a1 1 0 0 1 1 1v15a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),Oz=kz,Dz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.133 6.173c-.026.023-.133.118-.133.541v.715h2v-.715c0-.423-.107-.518-.133-.541C17.805 6.12 17.594 6 17 6s-.805.12-.867.173M20 6.714c0-.76-.203-1.521-.832-2.06C18.575 4.145 17.786 4 17 4s-1.575.145-2.168.654c-.629.539-.832 1.3-.832 2.06V11a1 1 0 1 0 2 0V9.429h2V11a1 1 0 1 0 2 0zM14 14a1 1 0 0 1 1-1h4a1 1 0 0 1 .832 1.555L16.87 19H19a1 1 0 1 1 0 2h-4a1 1 0 0 1-.832-1.555L17.132 15H15a1 1 0 0 1-1-1M3.293 8.707a1 1 0 0 0 1.414 0L7 6.414l2.293 2.293a1 1 0 0 0 1.414-1.414l-3-3a1 1 0 0 0-1.414 0l-3 3a1 1 0 0 0 0 1.414",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 21a1 1 0 0 0 1-1V5a1 1 0 0 0-2 0v15a1 1 0 0 0 1 1",clipRule:"evenodd"})]}),Nz=Dz,Lz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.509 6.027a6.138 6.138 0 1 1-.28 12.099 1 1 0 1 0-.383 1.963A8.138 8.138 0 1 0 9.653 5.488a1 1 0 1 0 1.168 1.624 6.1 6.1 0 0 1 2.688-1.085",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.38 8.252a1 1 0 0 0-1 1v3.8a1 1 0 0 0 .456.838l2.052 1.332a1 1 0 0 0 1.089-1.678l-1.597-1.036V9.252a1 1 0 0 0-1-1M1.793 16.293a1 1 0 0 1 1.414 0L5.5 18.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 0-1.414",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 4a1 1 0 0 0-1 1v15a1 1 0 1 0 2 0V5a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),Fz=Lz,jz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.59 8.192a1 1 0 0 1 .218 1.397l-4.375 6a1 1 0 0 1-1.584.042L8.224 12.4a1 1 0 0 1 1.552-1.261l1.806 2.223 3.61-4.951a1 1 0 0 1 1.397-.219",clipRule:"evenodd"})]}),WN=jz,Bz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.286 3c-.35 0-.68.135-.92.368-.238.231-.366.54-.366.854v15.556c0 .315.128.623.367.854.239.233.569.368.919.368h11.428c.35 0 .68-.135.92-.368.238-.231.366-.54.366-.854V8h-3a2 2 0 0 1-2-2V3zM16 6h1.986L16 4.08zm5 13.778V6.556a1 1 0 0 0-.305-.72L15.98 1.281A1 1 0 0 0 15.286 1h-9a3.32 3.32 0 0 0-2.314.934A3.2 3.2 0 0 0 3 4.222v15.556c0 .864.353 1.686.972 2.288S5.423 23 6.286 23h11.428c.863 0 1.695-.333 2.314-.934.619-.602.972-1.424.972-2.288M8 6a1 1 0 0 0 0 2h3a1 1 0 1 0 0-2zm-1 6a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m5 4a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2z",clipRule:"evenodd"})]}),Uz=Bz,$z=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.707 13.707a1 1 0 0 0 0-1.414L5.414 8l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0 0 1.414l5 5a1 1 0 0 0 1.414 0",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 20a1 1 0 0 0 1-1v-7a5 5 0 0 0-5-5H4a1 1 0 1 0 0 2h12a3 3 0 0 1 3 3v7a1 1 0 0 0 1 1",clipRule:"evenodd"})]}),zz=$z,Hz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#users_svg__a)",clipRule:"evenodd",children:g.jsx("path",{d:"M19.055 12.803a1 1 0 0 1 1.272-.618c1.128.39 2.061 1.247 2.7 2.351.64 1.106.972 2.435.973 3.782V21a1 1 0 1 1-2 0v-2.681c0-1.03-.258-2.009-.704-2.782-.448-.773-1.034-1.258-1.623-1.462a1 1 0 0 1-.618-1.272M15.187 1.384a1 1 0 0 1 1.036-.962 5.129 5.129 0 0 1 2.11 9.71 1 1 0 1 1-.896-1.788 3.129 3.129 0 0 0-1.288-5.924 1 1 0 0 1-.962-1.036M1.505 15.694C2.481 14.622 3.825 14 5.25 14h8.5c1.424 0 2.769.622 3.744 1.694.974 1.068 1.506 2.498 1.506 3.973V22a1 1 0 1 1-2 0v-2.333c0-1.001-.363-1.945-.984-2.627-.618-.679-1.436-1.04-2.266-1.04h-8.5c-.83 0-1.648.361-2.266 1.04-.621.682-.984 1.626-.984 2.627V22a1 1 0 1 1-2 0v-2.333c0-1.475.533-2.905 1.505-3.974M9.5 3a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M4 6.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"users_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),BT=Hz,Vz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 4.962C4 4.376 4.435 4 4.853 4H6.5v2H4zM4 8h2.5v3H4zm-2 4V4.962C2 3.381 3.224 2 4.853 2h13.294C19.776 2 21 3.38 21 4.962v14.076C21 20.619 19.776 22 18.147 22H4.853C3.224 22 2 20.62 2 19.038zm17-6V4.962c0-.586-.435-.962-.853-.962H16.5v2zm0 2h-2.5v3H19zm-2.5 5H19v3h-2.5zm0 5H19v1.038c0 .586-.435.962-.853.962H16.5zm-2-7V4h-6v7zm-6 2h6v7h-6zm-2 5v2H4.853C4.435 20 4 19.624 4 19.038V18zm0-2v-3H4v3z",clipRule:"evenodd"})]}),Gz=Vz,Wz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 0a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 0 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1m9.914 2a2 2 0 0 0-2.828 0L1 18.086a2 2 0 0 0 0 2.828L3.086 23a2 2 0 0 0 2.828 0L22 6.914a2 2 0 0 0 0-2.828zm-3.75 3.75L18.5 3.414 20.586 5.5 18.25 7.836zM14.75 7.164 2.414 19.5 4.5 21.586 16.836 9.25zM21 13a1 1 0 1 0-2 0 1 1 0 0 1-1 1 1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 1 1 0 0 1 1-1 1 1 0 1 0 0-2 1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Xz=Wz;function XN(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Pu(t){return t instanceof Element||t instanceof XN(t).Element}function qz(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof XN(t).ShadowRoot}function Q0(t,e){if(!t||!e)return!1;const r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&qz(r)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}function qN(t,e){const r=["mouse","pen"];return r.push("",void 0),r.includes(t)}function $g(t){return(t==null?void 0:t.ownerDocument)||document}function Yz(t){return"composedPath"in t?t.composedPath()[0]:t.target}const Cp=Math.min,Li=Math.max,Jv=Math.round,zg=Math.floor,go=t=>({x:t,y:t}),Qz={left:"right",right:"left",bottom:"top",top:"bottom"},Kz={start:"end",end:"start"};function h1(t,e){return typeof t=="function"?t(e):t}function Zu(t){return t.split("-")[0]}function lm(t){return t.split("-")[1]}function Zz(t){return t==="x"?"y":"x"}function YN(t){return t==="y"?"height":"width"}function Kd(t){return["top","bottom"].includes(Zu(t))?"y":"x"}function QN(t){return Zz(Kd(t))}function Jz(t,e,r){r===void 0&&(r=!1);const n=lm(t),i=QN(t),s=YN(i);let o=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(o=ey(o)),[o,ey(o)]}function eH(t){const e=ey(t);return[RS(t),e,RS(e)]}function RS(t){return t.replace(/start|end/g,e=>Kz[e])}function tH(t,e,r){const n=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?s:o;default:return[]}}function rH(t,e,r,n){const i=lm(t);let s=tH(Zu(t),r==="start",n);return i&&(s=s.map(o=>o+"-"+i),e&&(s=s.concat(s.map(RS)))),s}function ey(t){return t.replace(/left|right|bottom|top/g,e=>Qz[e])}function nH(t){return{top:0,right:0,bottom:0,left:0,...t}}function iH(t){return typeof t!="number"?nH(t):{top:t,right:t,bottom:t,left:t}}function ty(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function UI(t,e,r){let{reference:n,floating:i}=t;const s=Kd(e),o=QN(e),a=YN(o),l=Zu(e),u=s==="y",c=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,f=n[a]/2-i[a]/2;let m;switch(l){case"top":m={x:c,y:n.y-i.height};break;case"bottom":m={x:c,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:h};break;case"left":m={x:n.x-i.width,y:h};break;default:m={x:n.x,y:n.y}}switch(lm(e)){case"start":m[o]-=f*(r&&u?-1:1);break;case"end":m[o]+=f*(r&&u?-1:1);break}return m}const sH=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let u=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:h}=UI(u,n,l),f=n,m={},y=0;for(let v=0;v<a.length;v++){const{name:x,fn:b}=a[v],{x:_,y:w,data:E,reset:A}=await b({x:c,y:h,initialPlacement:n,placement:f,strategy:i,middlewareData:m,rects:u,platform:o,elements:{reference:t,floating:e}});c=_??c,h=w??h,m={...m,[x]:{...m[x],...E}},A&&y<=50&&(y++,typeof A=="object"&&(A.placement&&(f=A.placement),A.rects&&(u=A.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:c,y:h}=UI(u,f,l)),v=-1)}return{x:c,y:h,placement:f,strategy:i,middlewareData:m}};async function KN(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:s,rects:o,elements:a,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:f=!1,padding:m=0}=h1(e,t),y=iH(m),x=a[f?h==="floating"?"reference":"floating":h],b=ty(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(x)))==null||r?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),_=h==="floating"?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),E=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},A=ty(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:_,offsetParent:w,strategy:l}):_);return{top:(b.top-A.top+y.top)/E.y,bottom:(A.bottom-b.bottom+y.bottom)/E.y,left:(b.left-A.left+y.left)/E.x,right:(A.right-b.right+y.right)/E.x}}const oH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=e,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...x}=h1(t,e);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const b=Zu(i),_=Kd(a),w=Zu(a)===a,E=await(l.isRTL==null?void 0:l.isRTL(u.floating)),A=f||(w||!v?[ey(a)]:eH(a)),P=y!=="none";!f&&P&&A.push(...rH(a,v,y,E));const I=[a,...A],M=await KN(e,x),N=[];let z=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&N.push(M[b]),h){const L=Jz(i,o,E);N.push(M[L[0]],M[L[1]])}if(z=[...z,{placement:i,overflows:N}],!N.every(L=>L<=0)){var j,H;const L=(((j=s.flip)==null?void 0:j.index)||0)+1,O=I[L];if(O)return{data:{index:L,overflows:z},reset:{placement:O}};let $=(H=z.filter(V=>V.overflows[0]<=0).sort((V,k)=>V.overflows[1]-k.overflows[1])[0])==null?void 0:H.placement;if(!$)switch(m){case"bestFit":{var F;const V=(F=z.filter(k=>{if(P){const U=Kd(k.placement);return U===_||U==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(U=>U>0).reduce((U,B)=>U+B,0)]).sort((k,U)=>k[1]-U[1])[0])==null?void 0:F[0];V&&($=V);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};async function aH(t,e){const{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),o=Zu(r),a=lm(r),l=Kd(r)==="y",u=["left","top"].includes(o)?-1:1,c=s&&l?-1:1,h=h1(e,t);let{mainAxis:f,crossAxis:m,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof y=="number"&&(m=a==="end"?y*-1:y),l?{x:m*c,y:f*u}:{x:f*u,y:m*c}}const lH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:i,y:s,placement:o,middlewareData:a}=e,l=await aH(e,t);return o===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},uH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:i,rects:s,platform:o,elements:a}=e,{apply:l=()=>{},...u}=h1(t,e),c=await KN(e,u),h=Zu(i),f=lm(i),m=Kd(i)==="y",{width:y,height:v}=s.floating;let x,b;h==="top"||h==="bottom"?(x=h,b=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=h,x=f==="end"?"top":"bottom");const _=v-c.top-c.bottom,w=y-c.left-c.right,E=Cp(v-c[x],_),A=Cp(y-c[b],w),P=!e.middlewareData.shift;let I=E,M=A;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(M=w),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(I=_),P&&!f){const z=Li(c.left,0),j=Li(c.right,0),H=Li(c.top,0),F=Li(c.bottom,0);m?M=y-2*(z!==0||j!==0?z+j:Li(c.left,c.right)):I=v-2*(H!==0||F!==0?H+F:Li(c.top,c.bottom))}await l({...e,availableWidth:M,availableHeight:I});const N=await o.getDimensions(a.floating);return y!==N.width||v!==N.height?{reset:{rects:!0}}:{}}}};function f1(){return typeof window<"u"}function hh(t){return ZN(t)?(t.nodeName||"").toLowerCase():"#document"}function fi(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Io(t){var e;return(e=(ZN(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ZN(t){return f1()?t instanceof Node||t instanceof fi(t).Node:!1}function As(t){return f1()?t instanceof Element||t instanceof fi(t).Element:!1}function bo(t){return f1()?t instanceof HTMLElement||t instanceof fi(t).HTMLElement:!1}function $I(t){return!f1()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof fi(t).ShadowRoot}function um(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=Rs(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function cH(t){return["table","td","th"].includes(hh(t))}function p1(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function UT(t){const e=$T(),r=As(t)?Rs(t):t;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function dH(t){let e=Pl(t);for(;bo(e)&&!Zd(e);){if(UT(e))return e;if(p1(e))return null;e=Pl(e)}return null}function $T(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zd(t){return["html","body","#document"].includes(hh(t))}function Rs(t){return fi(t).getComputedStyle(t)}function m1(t){return As(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pl(t){if(hh(t)==="html")return t;const e=t.assignedSlot||t.parentNode||$I(t)&&t.host||Io(t);return $I(e)?e.host:e}function JN(t){const e=Pl(t);return Zd(e)?t.ownerDocument?t.ownerDocument.body:t.body:bo(e)&&um(e)?e:JN(e)}function Ap(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=JN(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),o=fi(i);if(s){const a=PS(o);return e.concat(o,o.visualViewport||[],um(i)?i:[],a&&r?Ap(a):[])}return e.concat(i,Ap(i,[],r))}function PS(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function eL(t){const e=Rs(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=bo(t),s=i?t.offsetWidth:r,o=i?t.offsetHeight:n,a=Jv(r)!==s||Jv(n)!==o;return a&&(r=s,n=o),{width:r,height:n,$:a}}function zT(t){return As(t)?t:t.contextElement}function yd(t){const e=zT(t);if(!bo(e))return go(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:s}=eL(e);let o=(s?Jv(r.width):r.width)/n,a=(s?Jv(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const hH=go(0);function tL(t){const e=fi(t);return!$T()||!e.visualViewport?hH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function fH(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==fi(t)?!1:e}function Ju(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),s=zT(t);let o=go(1);e&&(n?As(n)&&(o=yd(n)):o=yd(t));const a=fH(s,r,n)?tL(s):go(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,h=i.height/o.y;if(s){const f=fi(s),m=n&&As(n)?fi(n):n;let y=f,v=PS(y);for(;v&&n&&m!==y;){const x=yd(v),b=v.getBoundingClientRect(),_=Rs(v),w=b.left+(v.clientLeft+parseFloat(_.paddingLeft))*x.x,E=b.top+(v.clientTop+parseFloat(_.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,h*=x.y,l+=w,u+=E,y=fi(v),v=PS(y)}}return ty({width:c,height:h,x:l,y:u})}function HT(t,e){const r=m1(t).scrollLeft;return e?e.left+r:Ju(Io(t)).left+r}function rL(t,e,r){r===void 0&&(r=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(r?0:HT(t,n)),s=n.top+e.scrollTop;return{x:i,y:s}}function pH(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const s=i==="fixed",o=Io(n),a=e?p1(e.floating):!1;if(n===o||a&&s)return r;let l={scrollLeft:0,scrollTop:0},u=go(1);const c=go(0),h=bo(n);if((h||!h&&!s)&&((hh(n)!=="body"||um(o))&&(l=m1(n)),bo(n))){const m=Ju(n);u=yd(n),c.x=m.x+n.clientLeft,c.y=m.y+n.clientTop}const f=o&&!h&&!s?rL(o,l,!0):go(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:r.y*u.y-l.scrollTop*u.y+c.y+f.y}}function mH(t){return Array.from(t.getClientRects())}function gH(t){const e=Io(t),r=m1(t),n=t.ownerDocument.body,i=Li(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=Li(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+HT(t);const a=-r.scrollTop;return Rs(n).direction==="rtl"&&(o+=Li(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:o,y:a}}function vH(t,e){const r=fi(t),n=Io(t),i=r.visualViewport;let s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=$T();(!u||u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function yH(t,e){const r=Ju(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=bo(t)?yd(t):go(1),o=t.clientWidth*s.x,a=t.clientHeight*s.y,l=i*s.x,u=n*s.y;return{width:o,height:a,x:l,y:u}}function zI(t,e,r){let n;if(e==="viewport")n=vH(t,r);else if(e==="document")n=gH(Io(t));else if(As(e))n=yH(e,r);else{const i=tL(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ty(n)}function nL(t,e){const r=Pl(t);return r===e||!As(r)||Zd(r)?!1:Rs(r).position==="fixed"||nL(r,e)}function xH(t,e){const r=e.get(t);if(r)return r;let n=Ap(t,[],!1).filter(a=>As(a)&&hh(a)!=="body"),i=null;const s=Rs(t).position==="fixed";let o=s?Pl(t):t;for(;As(o)&&!Zd(o);){const a=Rs(o),l=UT(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||um(o)&&!l&&nL(t,o))?n=n.filter(c=>c!==o):i=a,o=Pl(o)}return e.set(t,n),n}function bH(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const o=[...r==="clippingAncestors"?p1(e)?[]:xH(e,this._c):[].concat(r),n],a=o[0],l=o.reduce((u,c)=>{const h=zI(e,c,i);return u.top=Li(h.top,u.top),u.right=Cp(h.right,u.right),u.bottom=Cp(h.bottom,u.bottom),u.left=Li(h.left,u.left),u},zI(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function wH(t){const{width:e,height:r}=eL(t);return{width:e,height:r}}function _H(t,e,r){const n=bo(e),i=Io(e),s=r==="fixed",o=Ju(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const l=go(0);if(n||!n&&!s)if((hh(e)!=="body"||um(i))&&(a=m1(e)),n){const f=Ju(e,!0,s,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=HT(i));const u=i&&!n&&!s?rL(i,a):go(0),c=o.left+a.scrollLeft-l.x-u.x,h=o.top+a.scrollTop-l.y-u.y;return{x:c,y:h,width:o.width,height:o.height}}function tw(t){return Rs(t).position==="static"}function HI(t,e){if(!bo(t)||Rs(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Io(t)===r&&(r=r.ownerDocument.body),r}function iL(t,e){const r=fi(t);if(p1(t))return r;if(!bo(t)){let i=Pl(t);for(;i&&!Zd(i);){if(As(i)&&!tw(i))return i;i=Pl(i)}return r}let n=HI(t,e);for(;n&&cH(n)&&tw(n);)n=HI(n,e);return n&&Zd(n)&&tw(n)&&!UT(n)?r:n||dH(t)||r}const SH=async function(t){const e=this.getOffsetParent||iL,r=this.getDimensions,n=await r(t.floating);return{reference:_H(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function EH(t){return Rs(t).direction==="rtl"}const TH={convertOffsetParentRelativeRectToViewportRelativeRect:pH,getDocumentElement:Io,getClippingRect:bH,getOffsetParent:iL,getElementRects:SH,getClientRects:mH,getDimensions:wH,getScale:yd,isElement:As,isRTL:EH};function CH(t,e){let r=null,n;const i=Io(t);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const{left:u,top:c,width:h,height:f}=t.getBoundingClientRect();if(a||e(),!h||!f)return;const m=zg(c),y=zg(i.clientWidth-(u+h)),v=zg(i.clientHeight-(c+f)),x=zg(u),_={rootMargin:-m+"px "+-y+"px "+-v+"px "+-x+"px",threshold:Li(0,Cp(1,l))||1};let w=!0;function E(A){const P=A[0].intersectionRatio;if(P!==l){if(!w)return o();P?o(!1,P):n=setTimeout(()=>{o(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(E,{..._,root:i.ownerDocument})}catch{r=new IntersectionObserver(E,_)}r.observe(t)}return o(!0),s}function AH(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=zT(t),c=i||s?[...u?Ap(u):[],...Ap(e)]:[];c.forEach(b=>{i&&b.addEventListener("scroll",r,{passive:!0}),s&&b.addEventListener("resize",r)});const h=u&&a?CH(u,r):null;let f=-1,m=null;o&&(m=new ResizeObserver(b=>{let[_]=b;_&&_.target===u&&m&&(m.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(e)})),r()}),u&&!l&&m.observe(u),m.observe(e));let y,v=l?Ju(t):null;l&&x();function x(){const b=Ju(t);v&&(b.x!==v.x||b.y!==v.y||b.width!==v.width||b.height!==v.height)&&r(),v=b,y=requestAnimationFrame(x)}return r(),()=>{var b;c.forEach(_=>{i&&_.removeEventListener("scroll",r),s&&_.removeEventListener("resize",r)}),h==null||h(),(b=m)==null||b.disconnect(),m=null,l&&cancelAnimationFrame(y)}}const RH=lH,PH=oH,IH=uH,MH=(t,e,r)=>{const n=new Map,i={platform:TH,...r},s={...i.platform,_c:n};return sH(t,e,{...i,platform:s})};var K0=typeof document<"u"?T.useLayoutEffect:T.useEffect;function ry(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!ry(t[n],e[n]))return!1;return!0}if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const s=i[n];if(!(s==="_owner"&&t.$$typeof)&&!ry(t[s],e[s]))return!1}return!0}return t!==t&&e!==e}function sL(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function VI(t,e){const r=sL(t);return Math.round(e*r)/r}function rw(t){const e=T.useRef(t);return K0(()=>{e.current=t}),e}function kH(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=t,[c,h]=T.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[f,m]=T.useState(n);ry(f,n)||m(n);const[y,v]=T.useState(null),[x,b]=T.useState(null),_=T.useCallback(k=>{k!==P.current&&(P.current=k,v(k))},[]),w=T.useCallback(k=>{k!==I.current&&(I.current=k,b(k))},[]),E=s||y,A=o||x,P=T.useRef(null),I=T.useRef(null),M=T.useRef(c),N=l!=null,z=rw(l),j=rw(i),H=rw(u),F=T.useCallback(()=>{if(!P.current||!I.current)return;const k={placement:e,strategy:r,middleware:f};j.current&&(k.platform=j.current),MH(P.current,I.current,k).then(U=>{const B={...U,isPositioned:H.current!==!1};L.current&&!ry(M.current,B)&&(M.current=B,mr.flushSync(()=>{h(B)}))})},[f,e,r,j,H]);K0(()=>{u===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,h(k=>({...k,isPositioned:!1})))},[u]);const L=T.useRef(!1);K0(()=>(L.current=!0,()=>{L.current=!1}),[]),K0(()=>{if(E&&(P.current=E),A&&(I.current=A),E&&A){if(z.current)return z.current(E,A,F);F()}},[E,A,F,z,N]);const O=T.useMemo(()=>({reference:P,floating:I,setReference:_,setFloating:w}),[_,w]),$=T.useMemo(()=>({reference:E,floating:A}),[E,A]),V=T.useMemo(()=>{const k={position:r,left:0,top:0};if(!$.floating)return k;const U=VI($.floating,c.x),B=VI($.floating,c.y);return a?{...k,transform:"translate("+U+"px, "+B+"px)",...sL($.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:U,top:B}},[r,a,$.floating,c.x,c.y]);return T.useMemo(()=>({...c,update:F,refs:O,elements:$,floatingStyles:V}),[c,F,O,$,V])}const OH=(t,e)=>({...RH(t),options:[t,e]}),DH=(t,e)=>({...PH(t),options:[t,e]}),NH=(t,e)=>({...IH(t),options:[t,e]});var Rp=typeof document<"u"?T.useLayoutEffect:T.useEffect;let nw=!1,LH=0;const GI=()=>"floating-ui-"+LH++;function FH(){const[t,e]=T.useState(()=>nw?GI():void 0);return Rp(()=>{t==null&&e(GI())},[]),T.useEffect(()=>{nw||(nw=!0)},[]),t}const jH=sO.useId,BH=jH||FH;function UH(){const t=new Map;return{emit(e,r){var n;(n=t.get(e))==null||n.forEach(i=>i(r))},on(e,r){t.set(e,[...t.get(e)||[],r])},off(e,r){var n;t.set(e,((n=t.get(e))==null?void 0:n.filter(i=>i!==r))||[])}}}const $H=T.createContext(null),zH=T.createContext(null),HH=()=>{var t;return((t=T.useContext($H))==null?void 0:t.id)||null},oL=()=>T.useContext(zH);function VH(t){return"data-floating-ui-"+t}function WI(t){const e=T.useRef(t);return Rp(()=>{e.current=t}),e}const XI=VH("safe-polygon");function iw(t,e,r){return r&&!qN(r)?0:typeof t=="number"?t:t==null?void 0:t[e]}function GH(t,e){e===void 0&&(e={});const{open:r,onOpenChange:n,dataRef:i,events:s,elements:{domReference:o,floating:a},refs:l}=t,{enabled:u=!0,delay:c=0,handleClose:h=null,mouseOnly:f=!1,restMs:m=0,move:y=!0}=e,v=oL(),x=HH(),b=WI(h),_=WI(c),w=T.useRef(),E=T.useRef(),A=T.useRef(),P=T.useRef(),I=T.useRef(!0),M=T.useRef(!1),N=T.useRef(()=>{}),z=T.useCallback(()=>{var L;const O=(L=i.current.openEvent)==null?void 0:L.type;return(O==null?void 0:O.includes("mouse"))&&O!=="mousedown"},[i]);T.useEffect(()=>{if(!u)return;function L(){clearTimeout(E.current),clearTimeout(P.current),I.current=!0}return s.on("dismiss",L),()=>{s.off("dismiss",L)}},[u,s]),T.useEffect(()=>{if(!u||!b.current||!r)return;function L($){z()&&n(!1,$)}const O=$g(a).documentElement;return O.addEventListener("mouseleave",L),()=>{O.removeEventListener("mouseleave",L)}},[a,r,n,u,b,i,z]);const j=T.useCallback(function(L,O){O===void 0&&(O=!0);const $=iw(_.current,"close",w.current);$&&!A.current?(clearTimeout(E.current),E.current=setTimeout(()=>n(!1,L),$)):O&&(clearTimeout(E.current),n(!1,L))},[_,n]),H=T.useCallback(()=>{N.current(),A.current=void 0},[]),F=T.useCallback(()=>{if(M.current){const L=$g(l.floating.current).body;L.style.pointerEvents="",L.removeAttribute(XI),M.current=!1}},[l]);return T.useEffect(()=>{if(!u)return;function L(){return i.current.openEvent?["click","mousedown"].includes(i.current.openEvent.type):!1}function O(k){if(clearTimeout(E.current),I.current=!1,f&&!qN(w.current)||m>0&&iw(_.current,"open")===0)return;const U=iw(_.current,"open",w.current);U?E.current=setTimeout(()=>{n(!0,k)},U):n(!0,k)}function $(k){if(L())return;N.current();const U=$g(a);if(clearTimeout(P.current),b.current){r||clearTimeout(E.current),A.current=b.current({...t,tree:v,x:k.clientX,y:k.clientY,onClose(){F(),H(),j(k)}});const X=A.current;U.addEventListener("mousemove",X),N.current=()=>{U.removeEventListener("mousemove",X)};return}(w.current==="touch"?!Q0(a,k.relatedTarget):!0)&&j(k)}function V(k){L()||b.current==null||b.current({...t,tree:v,x:k.clientX,y:k.clientY,onClose(){F(),H(),j(k)}})(k)}if(Pu(o)){const k=o;return r&&k.addEventListener("mouseleave",V),a==null||a.addEventListener("mouseleave",V),y&&k.addEventListener("mousemove",O,{once:!0}),k.addEventListener("mouseenter",O),k.addEventListener("mouseleave",$),()=>{r&&k.removeEventListener("mouseleave",V),a==null||a.removeEventListener("mouseleave",V),y&&k.removeEventListener("mousemove",O),k.removeEventListener("mouseenter",O),k.removeEventListener("mouseleave",$)}}},[o,a,u,t,f,m,y,j,H,F,n,r,v,_,b,i]),Rp(()=>{var L;if(u&&r&&(L=b.current)!=null&&L.__options.blockPointerEvents&&z()){const V=$g(a).body;if(V.setAttribute(XI,""),V.style.pointerEvents="none",M.current=!0,Pu(o)&&a){var O,$;const k=o,U=v==null||(O=v.nodesRef.current.find(B=>B.id===x))==null||($=O.context)==null?void 0:$.elements.floating;return U&&(U.style.pointerEvents=""),k.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{k.style.pointerEvents="",a.style.pointerEvents=""}}}},[u,r,x,a,o,v,b,i,z]),Rp(()=>{r||(w.current=void 0,H(),F())},[r,H,F]),T.useEffect(()=>()=>{H(),clearTimeout(E.current),clearTimeout(P.current),F()},[u,o,H,F]),T.useMemo(()=>{if(!u)return{};function L(O){w.current=O.pointerType}return{reference:{onPointerDown:L,onPointerEnter:L,onMouseMove(O){r||m===0||(clearTimeout(P.current),P.current=setTimeout(()=>{I.current||n(!0,O.nativeEvent)},m))}},floating:{onMouseEnter(){clearTimeout(E.current)},onMouseLeave(O){s.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),j(O.nativeEvent,!1)}}}},[s,u,m,r,n,j])}function WH(t,e){let r=t.filter(i=>{var s;return i.parentId===e&&((s=i.context)==null?void 0:s.open)}),n=r;for(;n.length;)n=t.filter(i=>{var s;return(s=n)==null?void 0:s.some(o=>{var a;return i.parentId===o.id&&((a=i.context)==null?void 0:a.open)})}),r=r.concat(n);return r}const XH=sO.useInsertionEffect,qH=XH||(t=>t());function YH(t){const e=T.useRef(()=>{});return qH(()=>{e.current=t}),T.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.current==null?void 0:e.current(...n)},[])}function QH(t){var e;t===void 0&&(t={});const{open:r=!1,onOpenChange:n,nodeId:i}=t,[s,o]=T.useState(null),a=((e=t.elements)==null?void 0:e.reference)||s,l=kH(t),u=oL(),c=YH((E,A)=>{E&&(f.current.openEvent=A),n==null||n(E,A)}),h=T.useRef(null),f=T.useRef({}),m=T.useState(()=>UH())[0],y=BH(),v=T.useCallback(E=>{const A=Pu(E)?{getBoundingClientRect:()=>E.getBoundingClientRect(),contextElement:E}:E;l.refs.setReference(A)},[l.refs]),x=T.useCallback(E=>{(Pu(E)||E===null)&&(h.current=E,o(E)),(Pu(l.refs.reference.current)||l.refs.reference.current===null||E!==null&&!Pu(E))&&l.refs.setReference(E)},[l.refs]),b=T.useMemo(()=>({...l.refs,setReference:x,setPositionReference:v,domReference:h}),[l.refs,x,v]),_=T.useMemo(()=>({...l.elements,domReference:a}),[l.elements,a]),w=T.useMemo(()=>({...l,refs:b,elements:_,dataRef:f,nodeId:i,floatingId:y,events:m,open:r,onOpenChange:c}),[l,i,y,m,r,c,b,_]);return Rp(()=>{const E=u==null?void 0:u.nodesRef.current.find(A=>A.id===i);E&&(E.context=w)}),T.useMemo(()=>({...l,context:w,refs:b,elements:_}),[l,b,_,w])}function qI(t,e){const[r,n]=t;let i=!1;const s=e.length;for(let o=0,a=s-1;o<s;a=o++){const[l,u]=e[o]||[0,0],[c,h]=e[a]||[0,0];u>=n!=h>=n&&r<=(c-l)*(n-u)/(h-u)+l&&(i=!i)}return i}function KH(t,e){return t[0]>=e.x&&t[0]<=e.x+e.width&&t[1]>=e.y&&t[1]<=e.y+e.height}function ZH(t){t===void 0&&(t={});const{buffer:e=.5,blockPointerEvents:r=!1,requireIntent:n=!0}=t;let i,s=!1,o=null,a=null,l=performance.now();function u(h,f){const m=performance.now(),y=m-l;if(o===null||a===null||y===0)return o=h,a=f,l=m,null;const v=h-o,x=f-a,_=Math.sqrt(v*v+x*x)/y;return o=h,a=f,l=m,_}const c=h=>{let{x:f,y:m,placement:y,elements:v,onClose:x,nodeId:b,tree:_}=h;return function(E){function A(){clearTimeout(i),x()}if(clearTimeout(i),!v.domReference||!v.floating||y==null||f==null||m==null)return;const{clientX:P,clientY:I}=E,M=[P,I],N=Yz(E),z=E.type==="mouseleave",j=Q0(v.floating,N),H=Q0(v.domReference,N),F=v.domReference.getBoundingClientRect(),L=v.floating.getBoundingClientRect(),O=y.split("-")[0],$=f>L.right-L.width/2,V=m>L.bottom-L.height/2,k=KH(M,F),U=L.width>F.width,B=L.height>F.height,X=(U?F:L).left,K=(U?F:L).right,q=(B?F:L).top,re=(B?F:L).bottom;if(j&&(s=!0,!z))return;if(H&&(s=!1),H&&!z){s=!0;return}if(z&&Pu(E.relatedTarget)&&Q0(v.floating,E.relatedTarget)||_&&WH(_.nodesRef.current,b).some(me=>{let{context:xe}=me;return xe==null?void 0:xe.open}))return;if(O==="top"&&m>=F.bottom-1||O==="bottom"&&m<=F.top+1||O==="left"&&f>=F.right-1||O==="right"&&f<=F.left+1)return A();let ue=[];switch(O){case"top":ue=[[X,F.top+1],[X,L.bottom-1],[K,L.bottom-1],[K,F.top+1]];break;case"bottom":ue=[[X,L.top+1],[X,F.bottom-1],[K,F.bottom-1],[K,L.top+1]];break;case"left":ue=[[L.right-1,re],[L.right-1,q],[F.left+1,q],[F.left+1,re]];break;case"right":ue=[[F.right-1,re],[F.right-1,q],[L.left+1,q],[L.left+1,re]];break}function le(me){let[xe,_e]=me;switch(O){case"top":{const Te=[U?xe+e/2:$?xe+e*4:xe-e*4,_e+e+1],de=[U?xe-e/2:$?xe+e*4:xe-e*4,_e+e+1],Be=[[L.left,$||U?L.bottom-e:L.top],[L.right,$?U?L.bottom-e:L.top:L.bottom-e]];return[Te,de,...Be]}case"bottom":{const Te=[U?xe+e/2:$?xe+e*4:xe-e*4,_e-e],de=[U?xe-e/2:$?xe+e*4:xe-e*4,_e-e],Be=[[L.left,$||U?L.top+e:L.bottom],[L.right,$?U?L.top+e:L.bottom:L.top+e]];return[Te,de,...Be]}case"left":{const Te=[xe+e+1,B?_e+e/2:V?_e+e*4:_e-e*4],de=[xe+e+1,B?_e-e/2:V?_e+e*4:_e-e*4];return[...[[V||B?L.right-e:L.left,L.top],[V?B?L.right-e:L.left:L.right-e,L.bottom]],Te,de]}case"right":{const Te=[xe-e,B?_e+e/2:V?_e+e*4:_e-e*4],de=[xe-e,B?_e-e/2:V?_e+e*4:_e-e*4],Be=[[V||B?L.left+e:L.right,L.top],[V?B?L.left+e:L.right:L.left+e,L.bottom]];return[Te,de,...Be]}}}if(!qI([P,I],ue)){if(s&&!k)return A();if(!z&&n){const me=u(E.clientX,E.clientY);if(me!==null&&me<.1)return A()}qI([P,I],le([f,m]))?!s&&n&&(i=window.setTimeout(A,40)):A()}}};return c.__options={blockPointerEvents:r},c}var aL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(rr,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",a="minute",l="hour",u="day",c="week",h="month",f="quarter",m="year",y="date",v="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(L){var O=["th","st","nd","rd"],$=L%100;return"["+L+(O[($-20)%10]||O[$]||O[0])+"]"}},w=function(L,O,$){var V=String(L);return!V||V.length>=O?L:""+Array(O+1-V.length).join($)+L},E={s:w,z:function(L){var O=-L.utcOffset(),$=Math.abs(O),V=Math.floor($/60),k=$%60;return(O<=0?"+":"-")+w(V,2,"0")+":"+w(k,2,"0")},m:function L(O,$){if(O.date()<$.date())return-L($,O);var V=12*($.year()-O.year())+($.month()-O.month()),k=O.clone().add(V,h),U=$-k<0,B=O.clone().add(V+(U?-1:1),h);return+(-(V+($-k)/(U?k-B:B-k))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:h,y:m,w:c,d:u,D:y,h:l,m:a,s:o,ms:s,Q:f}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},A="en",P={};P[A]=_;var I="$isDayjsObject",M=function(L){return L instanceof H||!(!L||!L[I])},N=function L(O,$,V){var k;if(!O)return A;if(typeof O=="string"){var U=O.toLowerCase();P[U]&&(k=U),$&&(P[U]=$,k=U);var B=O.split("-");if(!k&&B.length>1)return L(B[0])}else{var X=O.name;P[X]=O,k=X}return!V&&k&&(A=k),k||!V&&A},z=function(L,O){if(M(L))return L.clone();var $=typeof O=="object"?O:{};return $.date=L,$.args=arguments,new H($)},j=E;j.l=N,j.i=M,j.w=function(L,O){return z(L,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var H=function(){function L($){this.$L=N($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[I]=!0}var O=L.prototype;return O.parse=function($){this.$d=function(V){var k=V.date,U=V.utc;if(k===null)return new Date(NaN);if(j.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var B=k.match(x);if(B){var X=B[2]-1||0,K=(B[7]||"0").substring(0,3);return U?new Date(Date.UTC(B[1],X,B[3]||1,B[4]||0,B[5]||0,B[6]||0,K)):new Date(B[1],X,B[3]||1,B[4]||0,B[5]||0,B[6]||0,K)}}return new Date(k)}($),this.init()},O.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},O.$utils=function(){return j},O.isValid=function(){return this.$d.toString()!==v},O.isSame=function($,V){var k=z($);return this.startOf(V)<=k&&k<=this.endOf(V)},O.isAfter=function($,V){return z($)<this.startOf(V)},O.isBefore=function($,V){return this.endOf(V)<z($)},O.$g=function($,V,k){return j.u($)?this[V]:this.set(k,$)},O.unix=function(){return Math.floor(this.valueOf()/1e3)},O.valueOf=function(){return this.$d.getTime()},O.startOf=function($,V){var k=this,U=!!j.u(V)||V,B=j.p($),X=function(_e,Te){var de=j.w(k.$u?Date.UTC(k.$y,Te,_e):new Date(k.$y,Te,_e),k);return U?de:de.endOf(u)},K=function(_e,Te){return j.w(k.toDate()[_e].apply(k.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(Te)),k)},q=this.$W,re=this.$M,ue=this.$D,le="set"+(this.$u?"UTC":"");switch(B){case m:return U?X(1,0):X(31,11);case h:return U?X(1,re):X(0,re+1);case c:var me=this.$locale().weekStart||0,xe=(q<me?q+7:q)-me;return X(U?ue-xe:ue+(6-xe),re);case u:case y:return K(le+"Hours",0);case l:return K(le+"Minutes",1);case a:return K(le+"Seconds",2);case o:return K(le+"Milliseconds",3);default:return this.clone()}},O.endOf=function($){return this.startOf($,!1)},O.$set=function($,V){var k,U=j.p($),B="set"+(this.$u?"UTC":""),X=(k={},k[u]=B+"Date",k[y]=B+"Date",k[h]=B+"Month",k[m]=B+"FullYear",k[l]=B+"Hours",k[a]=B+"Minutes",k[o]=B+"Seconds",k[s]=B+"Milliseconds",k)[U],K=U===u?this.$D+(V-this.$W):V;if(U===h||U===m){var q=this.clone().set(y,1);q.$d[X](K),q.init(),this.$d=q.set(y,Math.min(this.$D,q.daysInMonth())).$d}else X&&this.$d[X](K);return this.init(),this},O.set=function($,V){return this.clone().$set($,V)},O.get=function($){return this[j.p($)]()},O.add=function($,V){var k,U=this;$=Number($);var B=j.p(V),X=function(re){var ue=z(U);return j.w(ue.date(ue.date()+Math.round(re*$)),U)};if(B===h)return this.set(h,this.$M+$);if(B===m)return this.set(m,this.$y+$);if(B===u)return X(1);if(B===c)return X(7);var K=(k={},k[a]=n,k[l]=i,k[o]=r,k)[B]||1,q=this.$d.getTime()+$*K;return j.w(q,this)},O.subtract=function($,V){return this.add(-1*$,V)},O.format=function($){var V=this,k=this.$locale();if(!this.isValid())return k.invalidDate||v;var U=$||"YYYY-MM-DDTHH:mm:ssZ",B=j.z(this),X=this.$H,K=this.$m,q=this.$M,re=k.weekdays,ue=k.months,le=k.meridiem,me=function(Te,de,Be,je){return Te&&(Te[de]||Te(V,U))||Be[de].slice(0,je)},xe=function(Te){return j.s(X%12||12,Te,"0")},_e=le||function(Te,de,Be){var je=Te<12?"AM":"PM";return Be?je.toLowerCase():je};return U.replace(b,function(Te,de){return de||function(Be){switch(Be){case"YY":return String(V.$y).slice(-2);case"YYYY":return j.s(V.$y,4,"0");case"M":return q+1;case"MM":return j.s(q+1,2,"0");case"MMM":return me(k.monthsShort,q,ue,3);case"MMMM":return me(ue,q);case"D":return V.$D;case"DD":return j.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return me(k.weekdaysMin,V.$W,re,2);case"ddd":return me(k.weekdaysShort,V.$W,re,3);case"dddd":return re[V.$W];case"H":return String(X);case"HH":return j.s(X,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return _e(X,K,!0);case"A":return _e(X,K,!1);case"m":return String(K);case"mm":return j.s(K,2,"0");case"s":return String(V.$s);case"ss":return j.s(V.$s,2,"0");case"SSS":return j.s(V.$ms,3,"0");case"Z":return B}return null}(Te)||B.replace(":","")})},O.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},O.diff=function($,V,k){var U,B=this,X=j.p(V),K=z($),q=(K.utcOffset()-this.utcOffset())*n,re=this-K,ue=function(){return j.m(B,K)};switch(X){case m:U=ue()/12;break;case h:U=ue();break;case f:U=ue()/3;break;case c:U=(re-q)/6048e5;break;case u:U=(re-q)/864e5;break;case l:U=re/i;break;case a:U=re/n;break;case o:U=re/r;break;default:U=re}return k?U:j.a(U)},O.daysInMonth=function(){return this.endOf(h).$D},O.$locale=function(){return P[this.$L]},O.locale=function($,V){if(!$)return this.$L;var k=this.clone(),U=N($,V,!0);return U&&(k.$L=U),k},O.clone=function(){return j.w(this.$d,this)},O.toDate=function(){return new Date(this.valueOf())},O.toJSON=function(){return this.isValid()?this.toISOString():null},O.toISOString=function(){return this.$d.toISOString()},O.toString=function(){return this.$d.toUTCString()},L}(),F=H.prototype;return z.prototype=F,[["$ms",s],["$s",o],["$m",a],["$H",l],["$W",u],["$M",h],["$y",m],["$D",y]].forEach(function(L){F[L[1]]=function(O){return this.$g(O,L[0],L[1])}}),z.extend=function(L,O){return L.$i||(L(O,H,z),L.$i=!0),z},z.locale=N,z.isDayjs=M,z.unix=function(L){return z(1e3*L)},z.en=P[A],z.Ls=P,z.p={},z})})(aL);var JH=aL.exports;const Lr=Po(JH);var fh=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ec=typeof window>"u"||"Deno"in globalThis;function Ii(){}function eV(t,e){return typeof t=="function"?t(e):t}function IS(t){return typeof t=="number"&&t>=0&&t!==1/0}function lL(t,e){return Math.max(t+(e||0)-Date.now(),0)}function xd(t,e){return typeof t=="function"?t(e):t}function ps(t,e){return typeof t=="function"?t(e):t}function YI(t,e){const{type:r="all",exact:n,fetchStatus:i,predicate:s,queryKey:o,stale:a}=t;if(o){if(n){if(e.queryHash!==VT(o,e.options))return!1}else if(!Pp(e.queryKey,o))return!1}if(r!=="all"){const l=e.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof a=="boolean"&&e.isStale()!==a||i&&i!==e.state.fetchStatus||s&&!s(e))}function QI(t,e){const{exact:r,status:n,predicate:i,mutationKey:s}=t;if(s){if(!e.options.mutationKey)return!1;if(r){if(tc(e.options.mutationKey)!==tc(s))return!1}else if(!Pp(e.options.mutationKey,s))return!1}return!(n&&e.state.status!==n||i&&!i(e))}function VT(t,e){return((e==null?void 0:e.queryKeyHashFn)||tc)(t)}function tc(t){return JSON.stringify(t,(e,r)=>MS(r)?Object.keys(r).sort().reduce((n,i)=>(n[i]=r[i],n),{}):r)}function Pp(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?!Object.keys(e).some(r=>!Pp(t[r],e[r])):!1}function uL(t,e){if(t===e)return t;const r=KI(t)&&KI(e);if(r||MS(t)&&MS(e)){const n=r?t:Object.keys(t),i=n.length,s=r?e:Object.keys(e),o=s.length,a=r?[]:{};let l=0;for(let u=0;u<o;u++){const c=r?u:s[u];(!r&&n.includes(c)||r)&&t[c]===void 0&&e[c]===void 0?(a[c]=void 0,l++):(a[c]=uL(t[c],e[c]),a[c]===t[c]&&t[c]!==void 0&&l++)}return i===o&&l===i?t:a}return e}function ny(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(t[r]!==e[r])return!1;return!0}function KI(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function MS(t){if(!ZI(t))return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(!ZI(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function ZI(t){return Object.prototype.toString.call(t)==="[object Object]"}function tV(t){return new Promise(e=>{setTimeout(e,t)})}function kS(t,e,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,e):r.structuralSharing!==!1?uL(t,e):e}function rV(t,e,r=0){const n=[...t,e];return r&&n.length>r?n.slice(1):n}function nV(t,e,r=0){const n=[e,...t];return r&&n.length>r?n.slice(0,-1):n}var GT=Symbol();function cL(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===GT?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var Mu,Ka,Md,Dk,iV=(Dk=class extends fh{constructor(){super();Ze(this,Mu);Ze(this,Ka);Ze(this,Md);Ne(this,Md,e=>{if(!ec&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){Y(this,Ka)||this.setEventListener(Y(this,Md))}onUnsubscribe(){var e;this.hasListeners()||((e=Y(this,Ka))==null||e.call(this),Ne(this,Ka,void 0))}setEventListener(e){var r;Ne(this,Md,e),(r=Y(this,Ka))==null||r.call(this),Ne(this,Ka,e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(e){Y(this,Mu)!==e&&(Ne(this,Mu,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(r=>{r(e)})}isFocused(){var e;return typeof Y(this,Mu)=="boolean"?Y(this,Mu):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Mu=new WeakMap,Ka=new WeakMap,Md=new WeakMap,Dk),WT=new iV,kd,Za,Od,Nk,sV=(Nk=class extends fh{constructor(){super();Ze(this,kd,!0);Ze(this,Za);Ze(this,Od);Ne(this,Od,e=>{if(!ec&&window.addEventListener){const r=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){Y(this,Za)||this.setEventListener(Y(this,Od))}onUnsubscribe(){var e;this.hasListeners()||((e=Y(this,Za))==null||e.call(this),Ne(this,Za,void 0))}setEventListener(e){var r;Ne(this,Od,e),(r=Y(this,Za))==null||r.call(this),Ne(this,Za,e(this.setOnline.bind(this)))}setOnline(e){Y(this,kd)!==e&&(Ne(this,kd,e),this.listeners.forEach(n=>{n(e)}))}isOnline(){return Y(this,kd)}},kd=new WeakMap,Za=new WeakMap,Od=new WeakMap,Nk),iy=new sV;function OS(){let t,e;const r=new Promise((i,s)=>{t=i,e=s});r.status="pending",r.catch(()=>{});function n(i){Object.assign(r,i),delete r.resolve,delete r.reject}return r.resolve=i=>{n({status:"fulfilled",value:i}),t(i)},r.reject=i=>{n({status:"rejected",reason:i}),e(i)},r}function oV(t){return Math.min(1e3*2**t,3e4)}function dL(t){return(t??"online")==="online"?iy.isOnline():!0}var hL=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function sw(t){return t instanceof hL}function fL(t){let e=!1,r=0,n=!1,i;const s=OS(),o=v=>{var x;n||(f(new hL(v)),(x=t.abort)==null||x.call(t))},a=()=>{e=!0},l=()=>{e=!1},u=()=>WT.isFocused()&&(t.networkMode==="always"||iy.isOnline())&&t.canRun(),c=()=>dL(t.networkMode)&&t.canRun(),h=v=>{var x;n||(n=!0,(x=t.onSuccess)==null||x.call(t,v),i==null||i(),s.resolve(v))},f=v=>{var x;n||(n=!0,(x=t.onError)==null||x.call(t,v),i==null||i(),s.reject(v))},m=()=>new Promise(v=>{var x;i=b=>{(n||u())&&v(b)},(x=t.onPause)==null||x.call(t)}).then(()=>{var v;i=void 0,n||(v=t.onContinue)==null||v.call(t)}),y=()=>{if(n)return;let v;const x=r===0?t.initialPromise:void 0;try{v=x??t.fn()}catch(b){v=Promise.reject(b)}Promise.resolve(v).then(h).catch(b=>{var P;if(n)return;const _=t.retry??(ec?0:3),w=t.retryDelay??oV,E=typeof w=="function"?w(r,b):w,A=_===!0||typeof _=="number"&&r<_||typeof _=="function"&&_(r,b);if(e||!A){f(b);return}r++,(P=t.onFail)==null||P.call(t,r,b),tV(E).then(()=>u()?void 0:m()).then(()=>{e?f(b):y()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?y():m().then(y),s)}}function aV(){let t=[],e=0,r=a=>{a()},n=a=>{a()},i=a=>setTimeout(a,0);const s=a=>{e?t.push(a):i(()=>{r(a)})},o=()=>{const a=t;t=[],a.length&&i(()=>{n(()=>{a.forEach(l=>{r(l)})})})};return{batch:a=>{let l;e++;try{l=a()}finally{e--,e||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{r=a},setBatchNotifyFunction:a=>{n=a},setScheduler:a=>{i=a}}}var Tr=aV(),ku,Lk,pL=(Lk=class{constructor(){Ze(this,ku)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),IS(this.gcTime)&&Ne(this,ku,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(ec?1/0:5*60*1e3))}clearGcTimeout(){Y(this,ku)&&(clearTimeout(Y(this,ku)),Ne(this,ku,void 0))}},ku=new WeakMap,Lk),Dd,Nd,Pi,cn,Zp,Ou,ds,zo,Fk,lV=(Fk=class extends pL{constructor(e){super();Ze(this,ds);Ze(this,Dd);Ze(this,Nd);Ze(this,Pi);Ze(this,cn);Ze(this,Zp);Ze(this,Ou);Ne(this,Ou,!1),Ne(this,Zp,e.defaultOptions),this.setOptions(e.options),this.observers=[],Ne(this,Pi,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,Ne(this,Dd,uV(this.options)),this.state=e.state??Y(this,Dd),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=Y(this,cn))==null?void 0:e.promise}setOptions(e){this.options={...Y(this,Zp),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Y(this,Pi).remove(this)}setData(e,r){const n=kS(this.state.data,e,this.options);return lt(this,ds,zo).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(e,r){lt(this,ds,zo).call(this,{type:"setState",state:e,setStateOptions:r})}cancel(e){var n,i;const r=(n=Y(this,cn))==null?void 0:n.promise;return(i=Y(this,cn))==null||i.cancel(e),r?r.then(Ii).catch(Ii):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Y(this,Dd))}isActive(){return this.observers.some(e=>ps(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===GT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(e=0){return this.state.isInvalidated||this.state.data===void 0||!lL(this.state.dataUpdatedAt,e)}onFocus(){var r;const e=this.observers.find(n=>n.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(r=Y(this,cn))==null||r.continue()}onOnline(){var r;const e=this.observers.find(n=>n.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(r=Y(this,cn))==null||r.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),Y(this,Pi).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(Y(this,cn)&&(Y(this,Ou)?Y(this,cn).cancel({revert:!0}):Y(this,cn).cancelRetry()),this.scheduleGc()),Y(this,Pi).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||lt(this,ds,zo).call(this,{type:"invalidate"})}fetch(e,r){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(Y(this,cn))return Y(this,cn).continueRetry(),Y(this,cn).promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const n=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(Ne(this,Ou,!0),n.signal)})},s=()=>{const h=cL(this.options,r),f={queryKey:this.queryKey,meta:this.meta};return i(f),Ne(this,Ou,!1),this.options.persister?this.options.persister(h,f,this):h(f)},o={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),Ne(this,Nd,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&<(this,ds,zo).call(this,{type:"fetch",meta:(c=o.fetchOptions)==null?void 0:c.meta});const a=h=>{var f,m,y,v;sw(h)&&h.silent||lt(this,ds,zo).call(this,{type:"error",error:h}),sw(h)||((m=(f=Y(this,Pi).config).onError)==null||m.call(f,h,this),(v=(y=Y(this,Pi).config).onSettled)==null||v.call(y,this.state.data,h,this)),this.scheduleGc()};return Ne(this,cn,fL({initialPromise:r==null?void 0:r.initialPromise,fn:o.fetchFn,abort:n.abort.bind(n),onSuccess:h=>{var f,m,y,v;if(h===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(x){a(x);return}(m=(f=Y(this,Pi).config).onSuccess)==null||m.call(f,h,this),(v=(y=Y(this,Pi).config).onSettled)==null||v.call(y,h,this.state.error,this),this.scheduleGc()},onError:a,onFail:(h,f)=>{lt(this,ds,zo).call(this,{type:"failed",failureCount:h,error:f})},onPause:()=>{lt(this,ds,zo).call(this,{type:"pause"})},onContinue:()=>{lt(this,ds,zo).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),Y(this,cn).start()}},Dd=new WeakMap,Nd=new WeakMap,Pi=new WeakMap,cn=new WeakMap,Zp=new WeakMap,Ou=new WeakMap,ds=new WeakSet,zo=function(e){const r=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...mL(n.data,this.options),fetchMeta:e.meta??null};case"success":return{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=e.error;return sw(i)&&i.revert&&Y(this,Nd)?{...Y(this,Nd),fetchStatus:"idle"}:{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=r(this.state),Tr.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),Y(this,Pi).notify({query:this,type:"updated",action:e})})},Fk);function mL(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dL(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function uV(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,r=e!==void 0,n=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Js,jk,gL=(jk=class extends fh{constructor(e={}){super();Ze(this,Js);this.config=e,Ne(this,Js,new Map)}build(e,r,n){const i=r.queryKey,s=r.queryHash??VT(i,r);let o=this.get(s);return o||(o=new lV({cache:this,queryKey:i,queryHash:s,options:e.defaultQueryOptions(r),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){Y(this,Js).has(e.queryHash)||(Y(this,Js).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=Y(this,Js).get(e.queryHash);r&&(e.destroy(),r===e&&Y(this,Js).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Tr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return Y(this,Js).get(e)}getAll(){return[...Y(this,Js).values()]}find(e){const r={exact:!0,...e};return this.getAll().find(n=>YI(r,n))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(n=>YI(e,n)):r}notify(e){Tr.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){Tr.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Tr.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Js=new WeakMap,jk),eo,yn,Du,to,Ba,Bk,cV=(Bk=class extends pL{constructor(e){super();Ze(this,to);Ze(this,eo);Ze(this,yn);Ze(this,Du);this.mutationId=e.mutationId,Ne(this,yn,e.mutationCache),Ne(this,eo,[]),this.state=e.state||vL(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){Y(this,eo).includes(e)||(Y(this,eo).push(e),this.clearGcTimeout(),Y(this,yn).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){Ne(this,eo,Y(this,eo).filter(r=>r!==e)),this.scheduleGc(),Y(this,yn).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){Y(this,eo).length||(this.state.status==="pending"?this.scheduleGc():Y(this,yn).remove(this))}continue(){var e;return((e=Y(this,Du))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var i,s,o,a,l,u,c,h,f,m,y,v,x,b,_,w,E,A,P,I;Ne(this,Du,fL({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(M,N)=>{lt(this,to,Ba).call(this,{type:"failed",failureCount:M,error:N})},onPause:()=>{lt(this,to,Ba).call(this,{type:"pause"})},onContinue:()=>{lt(this,to,Ba).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Y(this,yn).canRun(this)}));const r=this.state.status==="pending",n=!Y(this,Du).canStart();try{if(!r){lt(this,to,Ba).call(this,{type:"pending",variables:e,isPaused:n}),await((s=(i=Y(this,yn).config).onMutate)==null?void 0:s.call(i,e,this));const N=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,e));N!==this.state.context&<(this,to,Ba).call(this,{type:"pending",context:N,variables:e,isPaused:n})}const M=await Y(this,Du).start();return await((u=(l=Y(this,yn).config).onSuccess)==null?void 0:u.call(l,M,e,this.state.context,this)),await((h=(c=this.options).onSuccess)==null?void 0:h.call(c,M,e,this.state.context)),await((m=(f=Y(this,yn).config).onSettled)==null?void 0:m.call(f,M,null,this.state.variables,this.state.context,this)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,M,null,e,this.state.context)),lt(this,to,Ba).call(this,{type:"success",data:M}),M}catch(M){try{throw await((b=(x=Y(this,yn).config).onError)==null?void 0:b.call(x,M,e,this.state.context,this)),await((w=(_=this.options).onError)==null?void 0:w.call(_,M,e,this.state.context)),await((A=(E=Y(this,yn).config).onSettled)==null?void 0:A.call(E,void 0,M,this.state.variables,this.state.context,this)),await((I=(P=this.options).onSettled)==null?void 0:I.call(P,void 0,M,e,this.state.context)),M}finally{lt(this,to,Ba).call(this,{type:"error",error:M})}}finally{Y(this,yn).runNext(this)}}},eo=new WeakMap,yn=new WeakMap,Du=new WeakMap,to=new WeakSet,Ba=function(e){const r=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Tr.batch(()=>{Y(this,eo).forEach(n=>{n.onMutationUpdate(e)}),Y(this,yn).notify({mutation:this,type:"updated",action:e})})},Bk);function vL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ai,Jp,Uk,dV=(Uk=class extends fh{constructor(e={}){super();Ze(this,ai);Ze(this,Jp);this.config=e,Ne(this,ai,new Map),Ne(this,Jp,Date.now())}build(e,r,n){const i=new cV({mutationCache:this,mutationId:++wg(this,Jp)._,options:e.defaultMutationOptions(r),state:n});return this.add(i),i}add(e){const r=Hg(e),n=Y(this,ai).get(r)??[];n.push(e),Y(this,ai).set(r,n),this.notify({type:"added",mutation:e})}remove(e){var n;const r=Hg(e);if(Y(this,ai).has(r)){const i=(n=Y(this,ai).get(r))==null?void 0:n.filter(s=>s!==e);i&&(i.length===0?Y(this,ai).delete(r):Y(this,ai).set(r,i))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const r=(n=Y(this,ai).get(Hg(e)))==null?void 0:n.find(i=>i.state.status==="pending");return!r||r===e}runNext(e){var n;const r=(n=Y(this,ai).get(Hg(e)))==null?void 0:n.find(i=>i!==e&&i.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}clear(){Tr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...Y(this,ai).values()].flat()}find(e){const r={exact:!0,...e};return this.getAll().find(n=>QI(r,n))}findAll(e={}){return this.getAll().filter(r=>QI(e,r))}notify(e){Tr.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>r.state.isPaused);return Tr.batch(()=>Promise.all(e.map(r=>r.continue().catch(Ii))))}},ai=new WeakMap,Jp=new WeakMap,Uk);function Hg(t){var e;return((e=t.options.scope)==null?void 0:e.id)??String(t.mutationId)}function sy(t){return{onFetch:(e,r)=>{var c,h,f,m,y;const n=e.options,i=(f=(h=(c=e.fetchOptions)==null?void 0:c.meta)==null?void 0:h.fetchMore)==null?void 0:f.direction,s=((m=e.state.data)==null?void 0:m.pages)||[],o=((y=e.state.data)==null?void 0:y.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const x=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(e.signal.aborted?v=!0:e.signal.addEventListener("abort",()=>{v=!0}),e.signal)})},b=cL(e.options,e.fetchOptions),_=async(w,E,A)=>{if(v)return Promise.reject();if(E==null&&w.pages.length)return Promise.resolve(w);const P={queryKey:e.queryKey,pageParam:E,direction:A?"backward":"forward",meta:e.options.meta};x(P);const I=await b(P),{maxPages:M}=e.options,N=A?nV:rV;return{pages:N(w.pages,I,M),pageParams:N(w.pageParams,E,M)}};if(i&&s.length){const w=i==="backward",E=w?yL:DS,A={pages:s,pageParams:o},P=E(n,A);a=await _(A,P,w)}else{const w=t??s.length;do{const E=l===0?o[0]??n.initialPageParam:DS(n,a);if(l>0&&E==null)break;a=await _(a,E),l++}while(l<w)}return a};e.options.persister?e.fetchFn=()=>{var v,x;return(x=(v=e.options).persister)==null?void 0:x.call(v,u,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r)}:e.fetchFn=u}}}function DS(t,{pages:e,pageParams:r}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,r[n],r):void 0}function yL(t,{pages:e,pageParams:r}){var n;return e.length>0?(n=t.getPreviousPageParam)==null?void 0:n.call(t,e[0],e,r[0],r):void 0}function hV(t,e){return e?DS(t,e)!=null:!1}function fV(t,e){return!e||!t.getPreviousPageParam?!1:yL(t,e)!=null}var Zt,Ja,el,Ld,Fd,tl,jd,Bd,$k,pV=($k=class{constructor(t={}){Ze(this,Zt);Ze(this,Ja);Ze(this,el);Ze(this,Ld);Ze(this,Fd);Ze(this,tl);Ze(this,jd);Ze(this,Bd);Ne(this,Zt,t.queryCache||new gL),Ne(this,Ja,t.mutationCache||new dV),Ne(this,el,t.defaultOptions||{}),Ne(this,Ld,new Map),Ne(this,Fd,new Map),Ne(this,tl,0)}mount(){wg(this,tl)._++,Y(this,tl)===1&&(Ne(this,jd,WT.subscribe(async t=>{t&&(await this.resumePausedMutations(),Y(this,Zt).onFocus())})),Ne(this,Bd,iy.subscribe(async t=>{t&&(await this.resumePausedMutations(),Y(this,Zt).onOnline())})))}unmount(){var t,e;wg(this,tl)._--,Y(this,tl)===0&&((t=Y(this,jd))==null||t.call(this),Ne(this,jd,void 0),(e=Y(this,Bd))==null||e.call(this),Ne(this,Bd,void 0))}isFetching(t){return Y(this,Zt).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return Y(this,Ja).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=Y(this,Zt).get(e.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const r=this.defaultQueryOptions(t),n=Y(this,Zt).build(this,r);return t.revalidateIfStale&&n.isStaleByTime(xd(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(e)}}getQueriesData(t){return Y(this,Zt).findAll(t).map(({queryKey:e,state:r})=>{const n=r.data;return[e,n]})}setQueryData(t,e,r){const n=this.defaultQueryOptions({queryKey:t}),i=Y(this,Zt).get(n.queryHash),s=i==null?void 0:i.state.data,o=eV(e,s);if(o!==void 0)return Y(this,Zt).build(this,n).setData(o,{...r,manual:!0})}setQueriesData(t,e,r){return Tr.batch(()=>Y(this,Zt).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,r)]))}getQueryState(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=Y(this,Zt).get(e.queryHash))==null?void 0:r.state}removeQueries(t){const e=Y(this,Zt);Tr.batch(()=>{e.findAll(t).forEach(r=>{e.remove(r)})})}resetQueries(t,e){const r=Y(this,Zt),n={type:"active",...t};return Tr.batch(()=>(r.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const r={revert:!0,...e},n=Tr.batch(()=>Y(this,Zt).findAll(t).map(i=>i.cancel(r)));return Promise.all(n).then(Ii).catch(Ii)}invalidateQueries(t={},e={}){return Tr.batch(()=>{if(Y(this,Zt).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const r={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(r,e)})}refetchQueries(t={},e){const r={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=Tr.batch(()=>Y(this,Zt).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,r);return r.throwOnError||(s=s.catch(Ii)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(n).then(Ii)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const r=Y(this,Zt).build(this,e);return r.isStaleByTime(xd(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Ii).catch(Ii)}fetchInfiniteQuery(t){return t.behavior=sy(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Ii).catch(Ii)}ensureInfiniteQueryData(t){return t.behavior=sy(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return iy.isOnline()?Y(this,Ja).resumePausedMutations():Promise.resolve()}getQueryCache(){return Y(this,Zt)}getMutationCache(){return Y(this,Ja)}getDefaultOptions(){return Y(this,el)}setDefaultOptions(t){Ne(this,el,t)}setQueryDefaults(t,e){Y(this,Ld).set(tc(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...Y(this,Ld).values()];let r={};return e.forEach(n=>{Pp(t,n.queryKey)&&(r={...r,...n.defaultOptions})}),r}setMutationDefaults(t,e){Y(this,Fd).set(tc(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...Y(this,Fd).values()];let r={};return e.forEach(n=>{Pp(t,n.mutationKey)&&(r={...r,...n.defaultOptions})}),r}defaultQueryOptions(t){if(t._defaulted)return t;const e={...Y(this,el).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=VT(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===GT&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...Y(this,el).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){Y(this,Zt).clear(),Y(this,Ja).clear()}},Zt=new WeakMap,Ja=new WeakMap,el=new WeakMap,Ld=new WeakMap,Fd=new WeakMap,tl=new WeakMap,jd=new WeakMap,Bd=new WeakMap,$k),Fn,vt,em,xn,Nu,Ud,rl,ro,tm,$d,zd,Lu,Fu,nl,Hd,Ct,bf,NS,LS,FS,jS,BS,US,$S,bL,zk,xL=(zk=class extends fh{constructor(e,r){super();Ze(this,Ct);Ze(this,Fn);Ze(this,vt);Ze(this,em);Ze(this,xn);Ze(this,Nu);Ze(this,Ud);Ze(this,rl);Ze(this,ro);Ze(this,tm);Ze(this,$d);Ze(this,zd);Ze(this,Lu);Ze(this,Fu);Ze(this,nl);Ze(this,Hd,new Set);this.options=r,Ne(this,Fn,e),Ne(this,ro,null),Ne(this,rl,OS()),this.options.experimental_prefetchInRender||Y(this,rl).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(Y(this,vt).addObserver(this),JI(Y(this,vt),this.options)?lt(this,Ct,bf).call(this):this.updateResult(),lt(this,Ct,jS).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return zS(Y(this,vt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return zS(Y(this,vt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,lt(this,Ct,BS).call(this),lt(this,Ct,US).call(this),Y(this,vt).removeObserver(this)}setOptions(e,r){const n=this.options,i=Y(this,vt);if(this.options=Y(this,Fn).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ps(this.options.enabled,Y(this,vt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");lt(this,Ct,$S).call(this),Y(this,vt).setOptions(this.options),n._defaulted&&!ny(this.options,n)&&Y(this,Fn).getQueryCache().notify({type:"observerOptionsUpdated",query:Y(this,vt),observer:this});const s=this.hasListeners();s&&e3(Y(this,vt),i,this.options,n)&<(this,Ct,bf).call(this),this.updateResult(r),s&&(Y(this,vt)!==i||ps(this.options.enabled,Y(this,vt))!==ps(n.enabled,Y(this,vt))||xd(this.options.staleTime,Y(this,vt))!==xd(n.staleTime,Y(this,vt)))&<(this,Ct,NS).call(this);const o=lt(this,Ct,LS).call(this);s&&(Y(this,vt)!==i||ps(this.options.enabled,Y(this,vt))!==ps(n.enabled,Y(this,vt))||o!==Y(this,nl))&<(this,Ct,FS).call(this,o)}getOptimisticResult(e){const r=Y(this,Fn).getQueryCache().build(Y(this,Fn),e),n=this.createResult(r,e);return gV(this,n)&&(Ne(this,xn,n),Ne(this,Ud,this.options),Ne(this,Nu,Y(this,vt).state)),n}getCurrentResult(){return Y(this,xn)}trackResult(e,r){const n={};return Object.keys(e).forEach(i=>{Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),r==null||r(i),e[i])})}),n}trackProp(e){Y(this,Hd).add(e)}getCurrentQuery(){return Y(this,vt)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const r=Y(this,Fn).defaultQueryOptions(e),n=Y(this,Fn).getQueryCache().build(Y(this,Fn),r);return n.fetch().then(()=>this.createResult(n,r))}fetch(e){return lt(this,Ct,bf).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),Y(this,xn)))}createResult(e,r){var M;const n=Y(this,vt),i=this.options,s=Y(this,xn),o=Y(this,Nu),a=Y(this,Ud),u=e!==n?e.state:Y(this,em),{state:c}=e;let h={...c},f=!1,m;if(r._optimisticResults){const N=this.hasListeners(),z=!N&&JI(e,r),j=N&&e3(e,n,r,i);(z||j)&&(h={...h,...mL(c.data,e.options)}),r._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:y,errorUpdatedAt:v,status:x}=h;if(r.select&&h.data!==void 0)if(s&&h.data===(o==null?void 0:o.data)&&r.select===Y(this,tm))m=Y(this,$d);else try{Ne(this,tm,r.select),m=r.select(h.data),m=kS(s==null?void 0:s.data,m,r),Ne(this,$d,m),Ne(this,ro,null)}catch(N){Ne(this,ro,N)}else m=h.data;if(r.placeholderData!==void 0&&m===void 0&&x==="pending"){let N;if(s!=null&&s.isPlaceholderData&&r.placeholderData===(a==null?void 0:a.placeholderData))N=s.data;else if(N=typeof r.placeholderData=="function"?r.placeholderData((M=Y(this,zd))==null?void 0:M.state.data,Y(this,zd)):r.placeholderData,r.select&&N!==void 0)try{N=r.select(N),Ne(this,ro,null)}catch(z){Ne(this,ro,z)}N!==void 0&&(x="success",m=kS(s==null?void 0:s.data,N,r),f=!0)}Y(this,ro)&&(y=Y(this,ro),m=Y(this,$d),v=Date.now(),x="error");const b=h.fetchStatus==="fetching",_=x==="pending",w=x==="error",E=_&&b,A=m!==void 0,I={status:x,fetchStatus:h.fetchStatus,isPending:_,isSuccess:x==="success",isError:w,isInitialLoading:E,isLoading:E,data:m,dataUpdatedAt:h.dataUpdatedAt,error:y,errorUpdatedAt:v,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&!_,isLoadingError:w&&!A,isPaused:h.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:w&&A,isStale:XT(e,r),refetch:this.refetch,promise:Y(this,rl)};if(this.options.experimental_prefetchInRender){const N=H=>{I.status==="error"?H.reject(I.error):I.data!==void 0&&H.resolve(I.data)},z=()=>{const H=Ne(this,rl,I.promise=OS());N(H)},j=Y(this,rl);switch(j.status){case"pending":e.queryHash===n.queryHash&&N(j);break;case"fulfilled":(I.status==="error"||I.data!==j.value)&&z();break;case"rejected":(I.status!=="error"||I.error!==j.reason)&&z();break}}return I}updateResult(e){const r=Y(this,xn),n=this.createResult(Y(this,vt),this.options);if(Ne(this,Nu,Y(this,vt).state),Ne(this,Ud,this.options),Y(this,Nu).data!==void 0&&Ne(this,zd,Y(this,vt)),ny(n,r))return;Ne(this,xn,n);const i={},s=()=>{if(!r)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!Y(this,Hd).size)return!0;const l=new Set(a??Y(this,Hd));return this.options.throwOnError&&l.add("error"),Object.keys(Y(this,xn)).some(u=>{const c=u;return Y(this,xn)[c]!==r[c]&&l.has(c)})};(e==null?void 0:e.listeners)!==!1&&s()&&(i.listeners=!0),lt(this,Ct,bL).call(this,{...i,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&<(this,Ct,jS).call(this)}},Fn=new WeakMap,vt=new WeakMap,em=new WeakMap,xn=new WeakMap,Nu=new WeakMap,Ud=new WeakMap,rl=new WeakMap,ro=new WeakMap,tm=new WeakMap,$d=new WeakMap,zd=new WeakMap,Lu=new WeakMap,Fu=new WeakMap,nl=new WeakMap,Hd=new WeakMap,Ct=new WeakSet,bf=function(e){lt(this,Ct,$S).call(this);let r=Y(this,vt).fetch(this.options,e);return e!=null&&e.throwOnError||(r=r.catch(Ii)),r},NS=function(){lt(this,Ct,BS).call(this);const e=xd(this.options.staleTime,Y(this,vt));if(ec||Y(this,xn).isStale||!IS(e))return;const n=lL(Y(this,xn).dataUpdatedAt,e)+1;Ne(this,Lu,setTimeout(()=>{Y(this,xn).isStale||this.updateResult()},n))},LS=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Y(this,vt)):this.options.refetchInterval)??!1},FS=function(e){lt(this,Ct,US).call(this),Ne(this,nl,e),!(ec||ps(this.options.enabled,Y(this,vt))===!1||!IS(Y(this,nl))||Y(this,nl)===0)&&Ne(this,Fu,setInterval(()=>{(this.options.refetchIntervalInBackground||WT.isFocused())&<(this,Ct,bf).call(this)},Y(this,nl)))},jS=function(){lt(this,Ct,NS).call(this),lt(this,Ct,FS).call(this,lt(this,Ct,LS).call(this))},BS=function(){Y(this,Lu)&&(clearTimeout(Y(this,Lu)),Ne(this,Lu,void 0))},US=function(){Y(this,Fu)&&(clearInterval(Y(this,Fu)),Ne(this,Fu,void 0))},$S=function(){const e=Y(this,Fn).getQueryCache().build(Y(this,Fn),this.options);if(e===Y(this,vt))return;const r=Y(this,vt);Ne(this,vt,e),Ne(this,em,e.state),this.hasListeners()&&(r==null||r.removeObserver(this),e.addObserver(this))},bL=function(e){Tr.batch(()=>{e.listeners&&this.listeners.forEach(r=>{r(Y(this,xn))}),Y(this,Fn).getQueryCache().notify({query:Y(this,vt),type:"observerResultsUpdated"})})},zk);function mV(t,e){return ps(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function JI(t,e){return mV(t,e)||t.state.data!==void 0&&zS(t,e,e.refetchOnMount)}function zS(t,e,r){if(ps(e.enabled,t)!==!1){const n=typeof r=="function"?r(t):r;return n==="always"||n!==!1&&XT(t,e)}return!1}function e3(t,e,r,n){return(t!==e||ps(n.enabled,t)===!1)&&(!r.suspense||t.state.status!=="error")&&XT(t,r)}function XT(t,e){return ps(e.enabled,t)!==!1&&t.isStaleByTime(xd(e.staleTime,t))}function gV(t,e){return!ny(t.getCurrentResult(),e)}var vV=class extends xL{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions({...t,behavior:sy()},e)}getOptimisticResult(t){return t.behavior=sy(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){var y,v;const{state:r}=t,n=super.createResult(t,e),{isFetching:i,isRefetching:s,isError:o,isRefetchError:a}=n,l=(v=(y=r.fetchMeta)==null?void 0:y.fetchMore)==null?void 0:v.direction,u=o&&l==="forward",c=i&&l==="forward",h=o&&l==="backward",f=i&&l==="backward";return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:hV(e,r.data),hasPreviousPage:fV(e,r.data),isFetchNextPageError:u,isFetchingNextPage:c,isFetchPreviousPageError:h,isFetchingPreviousPage:f,isRefetchError:a&&!u&&!h,isRefetching:s&&!c&&!f}}},il,sl,jn,Yo,aa,Z0,HS,Hk,yV=(Hk=class extends fh{constructor(r,n){super();Ze(this,aa);Ze(this,il);Ze(this,sl);Ze(this,jn);Ze(this,Yo);Ne(this,il,r),this.setOptions(n),this.bindMethods(),lt(this,aa,Z0).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var i;const n=this.options;this.options=Y(this,il).defaultMutationOptions(r),ny(this.options,n)||Y(this,il).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Y(this,jn),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&tc(n.mutationKey)!==tc(this.options.mutationKey)?this.reset():((i=Y(this,jn))==null?void 0:i.state.status)==="pending"&&Y(this,jn).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=Y(this,jn))==null||r.removeObserver(this)}onMutationUpdate(r){lt(this,aa,Z0).call(this),lt(this,aa,HS).call(this,r)}getCurrentResult(){return Y(this,sl)}reset(){var r;(r=Y(this,jn))==null||r.removeObserver(this),Ne(this,jn,void 0),lt(this,aa,Z0).call(this),lt(this,aa,HS).call(this)}mutate(r,n){var i;return Ne(this,Yo,n),(i=Y(this,jn))==null||i.removeObserver(this),Ne(this,jn,Y(this,il).getMutationCache().build(Y(this,il),this.options)),Y(this,jn).addObserver(this),Y(this,jn).execute(r)}},il=new WeakMap,sl=new WeakMap,jn=new WeakMap,Yo=new WeakMap,aa=new WeakSet,Z0=function(){var n;const r=((n=Y(this,jn))==null?void 0:n.state)??vL();Ne(this,sl,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},HS=function(r){Tr.batch(()=>{var n,i,s,o,a,l,u,c;if(Y(this,Yo)&&this.hasListeners()){const h=Y(this,sl).variables,f=Y(this,sl).context;(r==null?void 0:r.type)==="success"?((i=(n=Y(this,Yo)).onSuccess)==null||i.call(n,r.data,h,f),(o=(s=Y(this,Yo)).onSettled)==null||o.call(s,r.data,null,h,f)):(r==null?void 0:r.type)==="error"&&((l=(a=Y(this,Yo)).onError)==null||l.call(a,r.error,h,f),(c=(u=Y(this,Yo)).onSettled)==null||c.call(u,void 0,r.error,h,f))}this.listeners.forEach(h=>{h(Y(this,sl))})})},Hk),wL=T.createContext(void 0),Jr=t=>{const e=T.useContext(wL);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},xV=({client:t,children:e})=>(T.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),g.jsx(wL.Provider,{value:t,children:e})),_L=T.createContext(!1),bV=()=>T.useContext(_L);_L.Provider;function wV(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var _V=T.createContext(wV()),SV=()=>T.useContext(_V);function SL(t,e){return typeof t=="function"?t(...e):!!t}function VS(){}var EV=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},TV=t=>{T.useEffect(()=>{t.clearReset()},[t])},CV=({result:t,errorResetBoundary:e,throwOnError:r,query:n})=>t.isError&&!e.isReset()&&!t.isFetching&&n&&SL(r,[t.error,n]),AV=t=>{t.suspense&&(t.staleTime===void 0&&(t.staleTime=1e3),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3)))},RV=(t,e)=>t.isLoading&&t.isFetching&&!e,PV=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,t3=(t,e,r)=>e.fetchOptimistic(t).catch(()=>{r.clearReset()});function EL(t,e,r){var c,h,f,m,y;const n=Jr(),i=bV(),s=SV(),o=n.defaultQueryOptions(t);(h=(c=n.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||h.call(c,o),o._optimisticResults=i?"isRestoring":"optimistic",AV(o),EV(o,s),TV(s);const a=!n.getQueryCache().get(o.queryHash),[l]=T.useState(()=>new e(n,o)),u=l.getOptimisticResult(o);if(T.useSyncExternalStore(T.useCallback(v=>{const x=i?VS:l.subscribe(Tr.batchCalls(v));return l.updateResult(),x},[l,i]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),T.useEffect(()=>{l.setOptions(o,{listeners:!1})},[o,l]),PV(o,u))throw t3(o,l,s);if(CV({result:u,errorResetBoundary:s,throwOnError:o.throwOnError,query:n.getQueryCache().get(o.queryHash)}))throw u.error;if((m=(f=n.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||m.call(f,o,u),o.experimental_prefetchInRender&&!ec&&RV(u,i)){const v=a?t3(o,l,s):(y=n.getQueryCache().get(o.queryHash))==null?void 0:y.promise;v==null||v.catch(VS).finally(()=>{l.updateResult()})}return o.notifyOnChangeProps?u:l.trackResult(u)}function qT(t,e){return EL(t,xL)}function Mo(t,e){const r=Jr(),[n]=T.useState(()=>new yV(r,t));T.useEffect(()=>{n.setOptions(t)},[n,t]);const i=T.useSyncExternalStore(T.useCallback(o=>n.subscribe(Tr.batchCalls(o)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),s=T.useCallback((o,a)=>{n.mutate(o,a).catch(VS)},[n]);if(i.error&&SL(n.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:s,mutateAsync:i.mutate}}function IV(t,e){return EL(t,vV)}function MV({src:t,placeholder:e}){const[r,n]=T.useState(t||e),i=T.useCallback(()=>{n(e)},[e]);return T.useEffect(()=>{n(t)},[t]),{imgSrc:r,onError:i}}const kV=T.forwardRef((t,e)=>{const{isLoading:r,loadingIcon:n,loadingPosition:i="left",children:s,className:o,...a}=t,l=()=>{let c;return n?c=n:c=g.jsx(UN,{...a,"aria-label":"Loading"}),c},u=Re("loading d-flex align-items-center gap-8",{"is-loading":r},o);return g.jsxs("div",{className:u,role:"status",ref:e,children:[(!i||i==="left")&&l(),s,i==="right"&&l()]})}),YT=kV,OV=T.forwardRef(({color:t="primary",type:e="button",size:r="md",children:n,isLoading:i,loadingIcon:s,loadingPosition:o,leftIcon:a,rightIcon:l,className:u,variant:c="filled",...h},f)=>{const m=Re("btn",{[`btn-filled btn-${t}`]:c==="filled",[`btn-${c}-${t}`]:c==="outline"||c==="ghost","btn-icon":!n,"btn-loading":i,"btn-lg":r==="lg","btn-sm":r==="sm"},u);return g.jsx("button",{ref:f,className:m,type:e,...h,children:i?g.jsx(YT,{isLoading:!0,loadingIcon:s,loadingPosition:o,children:n}):g.jsxs("span",{children:[a,n,l]})})}),it=OV;function Pn(){const t="/",e=`${t}assets/themes/edifice-bootstrap/images`,r=`${t}assets/themes/edifice-bootstrap/icons`,n=`${t}assets/themes/edifice-bootstrap/fonts`;return[e,r,n]}function TL({appCode:t}){return qT({queryKey:["conf"],queryFn:async()=>await Me.conf().getConf(t)})}function DV(){return qT({queryKey:["session"],queryFn:async()=>await Me.session().getSession()})}const CL=T.createContext(null);function NV({children:t,params:e}){var r;const n=e.app,{t:i}=we(),s=i(n),o=DV(),a=TL({appCode:n}),l=(a==null?void 0:a.isSuccess)&&(o==null?void 0:o.isSuccess),u=((r=o==null?void 0:o.data)==null?void 0:r.currentLanguage)??"fr";T.useEffect(()=>{[{data:"html",value:u},{data:"translate",value:"no"}].forEach(h=>{var f;return(f=document.querySelector("html"))==null?void 0:f.setAttribute(h.data,h.value)})},[u,o.data]),T.useEffect(()=>{document.title=`${s}`},[n,o.data,s]);const c=T.useMemo(()=>{var h,f,m,y,v;return{appCode:n,applications:(h=a==null?void 0:a.data)==null?void 0:h.applications,confQuery:a,currentApp:(f=a==null?void 0:a.data)==null?void 0:f.currentApp,currentLanguage:u,init:l,sessionQuery:o,user:(m=o==null?void 0:o.data)==null?void 0:m.user,userDescription:(y=o==null?void 0:o.data)==null?void 0:y.userDescription,userProfile:(v=o==null?void 0:o.data)==null?void 0:v.userProfile}},[n,a,u,l,o]);return g.jsx(CL.Provider,{value:c,children:t})}function yt(){const t=T.useContext(CL);if(!t)throw new Error("Cannot be used outside of OdeClientProvider");return t}const LV=T.forwardRef(({src:t,alt:e,imgPlaceholder:r,ratio:n,objectFit:i,className:s,...o},a)=>{const[l]=Pn(),u=r??`${l}/common/image-placeholder.png`,{imgSrc:c,onError:h}=MV({src:t,placeholder:u}),f={"ratio ratio-1x1":n==="1","ratio ratio-4x3":n==="4","ratio ratio-16x9":n==="16","ratio ratio-21x9":n==="21"},m={"object-fit-contain":i==="contain","object-fit-cover":i==="cover","object-fit-fill":i==="fill","object-fit-scale":i==="scale","object-fit-none":i==="none"},y=Re({...f}),v=Re({...m},s),x=g.jsx("img",{alt:e,onError:h,ref:a,src:c,className:v,...o});return n?g.jsx("div",{className:y,children:x}):x}),wo=LV,FV=T.forwardRef(({variant:t="square",size:e="md",alt:r,src:n,imgPlaceholder:i,className:s,...o},a)=>{const[l]=Pn(),u=i||`${l}/avatar/no-avatar.svg`,c=Re("avatar",{"avatar-xs":e==="xs","avatar-sm":e==="sm","avatar-md":e==="md","avatar-lg":e==="lg","avatar-xl":e==="xl",square:t==="square",rounded:t==="rounded","rounded-circle":t==="circle"},s);return g.jsx("div",{ref:a,className:c,children:g.jsx(wo,{src:n||u,alt:r,imgPlaceholder:u,...o})})}),rc=FV,jV=T.forwardRef(({className:t,variant:e={type:"notification",level:"info"},children:r,...n},i)=>{const s=Re("badge rounded-pill",(e.type==="content"||e.type==="user")&&"background"in e?"bg-gray-200":(e.type==="content"||e.type==="user")&&!("background"in e)?"border border-0":"",e.type==="content"&&`text-${e.level}`,e.type==="notification"&&`badge-notification bg-${e.level} text-light border border-0`,e.type==="user"&&`badge-profile-${e.profile.toLowerCase()}`,e.type==="link"&&"badge-link border border-0",e.type==="chip"&&"bg-gray-200",t);return g.jsx("span",{ref:i,className:s,...n,children:e.type==="chip"?g.jsx("div",{className:"d-flex fw-800 align-items-center",children:r}):r})}),ow=jV,BV=T.forwardRef(({level:t="h1",headingStyle:e="h1",children:r,className:n,...i},s)=>{const o=Re(e,n);return g.jsx(t,{ref:s,className:o,...i,children:r})}),Ss=BV,UV=({imageSrc:t,imageAlt:e="",title:r,text:n,size:i=250,className:s})=>{const o=Re("text",s);return g.jsxs("div",{className:"emptyscreen",children:[t&&g.jsx("div",{className:"emptyscreen-image mb-12",children:g.jsx("img",{className:"mx-auto",src:t,alt:e,width:i,height:i})}),r&&g.jsx(Ss,{level:"h2",headingStyle:"h2",className:"text-secondary mb-8",children:r}),n&&g.jsx("div",{className:o,children:n})]})},ha=UV;var jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function QT(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var AL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(jl,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,s=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},l=function(v){return(v=+v)+(v>68?1900:2e3)},u=function(v){return function(x){this[v]=+x}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(x){if(!x||x==="Z")return 0;var b=x.match(/([+-]|\d\d)/g),_=60*b[1]+(+b[2]||0);return _===0?0:b[0]==="+"?-_:_}(v)}],h=function(v){var x=a[v];return x&&(x.indexOf?x:x.s.concat(x.f))},f=function(v,x){var b,_=a.meridiem;if(_){for(var w=1;w<=24;w+=1)if(v.indexOf(_(w,0,x))>-1){b=w>12;break}}else b=v===(x?"pm":"PM");return b},m={A:[o,function(v){this.afternoon=f(v,!1)}],a:[o,function(v){this.afternoon=f(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[i,u("day")],Do:[o,function(v){var x=a.ordinal,b=v.match(/\d+/);if(this.day=b[0],x)for(var _=1;_<=31;_+=1)x(_).replace(/\[|\]/g,"")===v&&(this.day=_)}],M:[s,u("month")],MM:[i,u("month")],MMM:[o,function(v){var x=h("months"),b=(h("monthsShort")||x.map(function(_){return _.slice(0,3)})).indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[o,function(v){var x=h("months").indexOf(v)+1;if(x<1)throw new Error;this.month=x%12||x}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(v){this.year=l(v)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function y(v){var x,b;x=v,b=a&&a.formats;for(var _=(v=x.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(N,z,j){var H=j&&j.toUpperCase();return z||b[j]||r[j]||b[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(F,L,O){return L||O.slice(1)})})).match(n),w=_.length,E=0;E<w;E+=1){var A=_[E],P=m[A],I=P&&P[0],M=P&&P[1];_[E]=M?{regex:I,parser:M}:A.replace(/^\[|\]$/g,"")}return function(N){for(var z={},j=0,H=0;j<w;j+=1){var F=_[j];if(typeof F=="string")H+=F.length;else{var L=F.regex,O=F.parser,$=N.slice(H),V=L.exec($)[0];O.call(z,V),N=N.replace(V,"")}}return function(k){var U=k.afternoon;if(U!==void 0){var B=k.hours;U?B<12&&(k.hours+=12):B===12&&(k.hours=0),delete k.afternoon}}(z),z}}return function(v,x,b){b.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(l=v.parseTwoDigitYear);var _=x.prototype,w=_.parse;_.parse=function(E){var A=E.date,P=E.utc,I=E.args;this.$u=P;var M=I[1];if(typeof M=="string"){var N=I[2]===!0,z=I[3]===!0,j=N||z,H=I[2];z&&(H=I[2]),a=this.$locale(),!N&&H&&(a=b.Ls[H]),this.$d=function($,V,k){try{if(["x","X"].indexOf(V)>-1)return new Date((V==="X"?1e3:1)*$);var U=y(V)($),B=U.year,X=U.month,K=U.day,q=U.hours,re=U.minutes,ue=U.seconds,le=U.milliseconds,me=U.zone,xe=new Date,_e=K||(B||X?1:xe.getDate()),Te=B||xe.getFullYear(),de=0;B&&!X||(de=X>0?X-1:xe.getMonth());var Be=q||0,je=re||0,ut=ue||0,Pe=le||0;return me?new Date(Date.UTC(Te,de,_e,Be,je,ut,Pe+60*me.offset*1e3)):k?new Date(Date.UTC(Te,de,_e,Be,je,ut,Pe)):new Date(Te,de,_e,Be,je,ut,Pe)}catch{return new Date("")}}(A,M,P),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),j&&A!=this.format(M)&&(this.$d=new Date("")),a={}}else if(M instanceof Array)for(var F=M.length,L=1;L<=F;L+=1){I[1]=M[L-1];var O=b.apply(this,I);if(O.isValid()){this.$d=O.$d,this.$L=O.$L,this.init();break}L===F&&(this.$d=new Date(""))}else w.call(this,E)}}})})(AL);var $V=AL.exports;const zV=QT($V);var RL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(jl,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,i,s){var o=i.prototype,a=o.format;s.en.formats=r,o.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,c=function(h,f){return h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(m,y,v){var x=v&&v.toUpperCase();return y||f[v]||r[v]||f[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,_,w){return _||w.slice(1)})})}(l,u===void 0?{}:u);return a.call(this,c)}}})})(RL);var HV=RL.exports;const VV=QT(HV);var PL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(jl,function(){return function(r,n,i){r=r||{};var s=n.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(u,c,h,f){return s.fromToBase(u,c,h,f)}i.en.relativeTime=o,s.fromToBase=function(u,c,h,f,m){for(var y,v,x,b=h.$locale().relativeTime||o,_=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],w=_.length,E=0;E<w;E+=1){var A=_[E];A.d&&(y=f?i(u).diff(h,A.d,!0):h.diff(u,A.d,!0));var P=(r.rounding||Math.round)(Math.abs(y));if(x=y>0,P<=A.r||!A.r){P<=1&&E>0&&(A=_[E-1]);var I=b[A.l];m&&(P=m(""+P)),v=typeof I=="string"?I.replace("%d",P):I(P,c,A.l,x);break}}if(c)return v;var M=x?b.future:b.past;return typeof M=="function"?M(v):M.replace("%s",v)},s.to=function(u,c){return a(u,c,this,!0)},s.from=function(u,c){return a(u,c,this)};var l=function(u){return u.$u?i.utc():i()};s.toNow=function(u){return this.to(l(this),u)},s.fromNow=function(u){return this.from(l(this),u)}}})})(PL);var GV=PL.exports;const WV=QT(GV);var XV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var i=n(r),s={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(l,u,c){var h=s[c];return Array.isArray(h)&&(h=h[u?0:1]),h.replace("%d",l)}var a={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(l){return l+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return i.default.locale(a,null,!0),a})})(XV);var qV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(o){return o+"º"}};return i.default.locale(s,null,!0),s})})(qV);var YV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(o){return""+o+(o===1?"er":"")}};return i.default.locale(s,null,!0),s})})(YV);var QV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};return i.default.locale(s,null,!0),s})})(QV);var KV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(s,null,!0),s})})(KV);Lr.extend(WV);Lr.extend(zV);Lr.extend(VV);function IL(){const{currentLanguage:t}=yt(),e=T.useCallback((i,s)=>{if(i.length<11)return Lr(i,["YYYY-MM-DD"],s);if(i.split("").findIndex(o=>"0">o||o>"9")<0)return Lr(Number.parseInt(i)).locale(t);{let o=Lr(i).locale(t);return o.isValid()||(o=Lr(i,["YYYY-MM-DD HH:mm:ss.SSS"]).locale(t)),o}},[t]),r=T.useCallback(i=>{let s=Lr();try{return typeof i>"u"?"":(typeof i=="string"?s=e(i):typeof i=="number"?s=Lr(i).locale(t):typeof i.$date=="number"?s=Lr(new Date(i.$date)).locale(t):typeof i.$date=="string"&&(s=e(i.$date)),s.isValid()?s.fromNow():"")}catch{return""}},[t,e]),n=T.useCallback((i,s="short")=>{let o=Lr();try{if(typeof i>"u")return"";typeof i=="string"?o=e(i):typeof i=="number"?o=Lr(i).locale(t):typeof i.$date=="number"?o=Lr(new Date(i.$date)).locale(t):typeof i.$date=="string"&&(o=e(i.$date));let a="";switch(s){case"short":a="L";break;case"long":a="LL";break;case"abbr":a="ll";break;default:a=s}return o.isValid()?o.locale(t).format(a):""}catch{return""}},[t,e]);return{fromNow:r,formatDate:n}}let ZV={data:""},JV=t=>typeof window=="object"?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||ZV,eG=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,tG=/\/\*[^]*?\*\/| +/g,r3=/\n+/g,Ya=(t,e)=>{let r="",n="",i="";for(let s in t){let o=t[s];s[0]=="@"?s[1]=="i"?r=s+" "+o+";":n+=s[1]=="f"?Ya(o,s):s+"{"+Ya(o,s[1]=="k"?"":e)+"}":typeof o=="object"?n+=Ya(o,e?e.replace(/([^,])+/g,a=>s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,a):a?a+" "+l:l)):s):o!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Ya.p?Ya.p(s,o):s+":"+o+";")}return r+(e&&i?e+"{"+i+"}":i)+n},Bo={},ML=t=>{if(typeof t=="object"){let e="";for(let r in t)e+=r+ML(t[r]);return e}return t},rG=(t,e,r,n,i)=>{let s=ML(t),o=Bo[s]||(Bo[s]=(l=>{let u=0,c=11;for(;u<l.length;)c=101*c+l.charCodeAt(u++)>>>0;return"go"+c})(s));if(!Bo[o]){let l=s!==t?t:(u=>{let c,h,f=[{}];for(;c=eG.exec(u.replace(tG,""));)c[4]?f.shift():c[3]?(h=c[3].replace(r3," ").trim(),f.unshift(f[0][h]=f[0][h]||{})):f[0][c[1]]=c[2].replace(r3," ").trim();return f[0]})(t);Bo[o]=Ya(i?{["@keyframes "+o]:l}:l,r?"":"."+o)}let a=r&&Bo.g?Bo.g:null;return r&&(Bo.g=Bo[o]),((l,u,c,h)=>{h?u.data=u.data.replace(h,l):u.data.indexOf(l)===-1&&(u.data=c?l+u.data:u.data+l)})(Bo[o],e,n,a),o},nG=(t,e,r)=>t.reduce((n,i,s)=>{let o=e[s];if(o&&o.call){let a=o(r),l=a&&a.props&&a.props.className||/^go/.test(a)&&a;o=l?"."+l:a&&typeof a=="object"?a.props?"":Ya(a,""):a===!1?"":a}return n+i+(o??"")},"");function g1(t){let e=this||{},r=t.call?t(e.p):t;return rG(r.unshift?r.raw?nG(r,[].slice.call(arguments,1),e.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(e.p):i),{}):r,JV(e.target),e.g,e.o,e.k)}let kL,GS,WS;g1.bind({g:1});let fa=g1.bind({k:1});function iG(t,e,r,n){Ya.p=e,kL=t,GS=r,WS=n}function Bl(t,e){let r=this||{};return function(){let n=arguments;function i(s,o){let a=Object.assign({},s),l=a.className||i.className;r.p=Object.assign({theme:GS&&GS()},a),r.o=/ *go\d+/.test(l),a.className=g1.apply(r,n)+(l?" "+l:"");let u=t;return t[0]&&(u=a.as||t,delete a.as),WS&&u[0]&&WS(a),kL(u,a)}return i}}var sG=t=>typeof t=="function",oy=(t,e)=>sG(t)?t(e):t,oG=(()=>{let t=0;return()=>(++t).toString()})(),OL=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let e=matchMedia("(prefers-reduced-motion: reduce)");t=!e||e.matches}return t}})(),aG=20,J0=new Map,lG=1e3,n3=t=>{if(J0.has(t))return;let e=setTimeout(()=>{J0.delete(t),cc({type:4,toastId:t})},lG);J0.set(t,e)},uG=t=>{let e=J0.get(t);e&&clearTimeout(e)},XS=(t,e)=>{switch(e.type){case 0:return{...t,toasts:[e.toast,...t.toasts].slice(0,aG)};case 1:return e.toast.id&&uG(e.toast.id),{...t,toasts:t.toasts.map(s=>s.id===e.toast.id?{...s,...e.toast}:s)};case 2:let{toast:r}=e;return t.toasts.find(s=>s.id===r.id)?XS(t,{type:1,toast:r}):XS(t,{type:0,toast:r});case 3:let{toastId:n}=e;return n?n3(n):t.toasts.forEach(s=>{n3(s.id)}),{...t,toasts:t.toasts.map(s=>s.id===n||n===void 0?{...s,visible:!1}:s)};case 4:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==e.toastId)};case 5:return{...t,pausedAt:e.time};case 6:let i=e.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(s=>({...s,pauseDuration:s.pauseDuration+i}))}}},ev=[],tv={toasts:[],pausedAt:void 0},cc=t=>{tv=XS(tv,t),ev.forEach(e=>{e(tv)})},cG={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},dG=(t={})=>{let[e,r]=T.useState(tv);T.useEffect(()=>(ev.push(r),()=>{let i=ev.indexOf(r);i>-1&&ev.splice(i,1)}),[e]);let n=e.toasts.map(i=>{var s,o;return{...t,...t[i.type],...i,duration:i.duration||((s=t[i.type])==null?void 0:s.duration)||(t==null?void 0:t.duration)||cG[i.type],style:{...t.style,...(o=t[i.type])==null?void 0:o.style,...i.style}}});return{...e,toasts:n}},hG=(t,e="blank",r)=>({createdAt:Date.now(),visible:!0,type:e,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...r,id:(r==null?void 0:r.id)||oG()}),cm=t=>(e,r)=>{let n=hG(e,t,r);return cc({type:2,toast:n}),n.id},di=(t,e)=>cm("blank")(t,e);di.error=cm("error");di.success=cm("success");di.loading=cm("loading");di.custom=cm("custom");di.dismiss=t=>{cc({type:3,toastId:t})};di.remove=t=>cc({type:4,toastId:t});di.promise=(t,e,r)=>{let n=di.loading(e.loading,{...r,...r==null?void 0:r.loading});return t.then(i=>(di.success(oy(e.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{di.error(oy(e.error,i),{id:n,...r,...r==null?void 0:r.error})}),t};var fG=(t,e)=>{cc({type:1,toast:{id:t,height:e}})},pG=()=>{cc({type:5,time:Date.now()})},mG=t=>{let{toasts:e,pausedAt:r}=dG(t);T.useEffect(()=>{if(r)return;let s=Date.now(),o=e.map(a=>{if(a.duration===1/0)return;let l=(a.duration||0)+a.pauseDuration-(s-a.createdAt);if(l<0){a.visible&&di.dismiss(a.id);return}return setTimeout(()=>di.dismiss(a.id),l)});return()=>{o.forEach(a=>a&&clearTimeout(a))}},[e,r]);let n=T.useCallback(()=>{r&&cc({type:6,time:Date.now()})},[r]),i=T.useCallback((s,o)=>{let{reverseOrder:a=!1,gutter:l=8,defaultPosition:u}=o||{},c=e.filter(m=>(m.position||u)===(s.position||u)&&m.height),h=c.findIndex(m=>m.id===s.id),f=c.filter((m,y)=>y<h&&m.visible).length;return c.filter(m=>m.visible).slice(...a?[f+1]:[0,f]).reduce((m,y)=>m+(y.height||0)+l,0)},[e]);return{toasts:e,handlers:{updateHeight:fG,startPause:pG,endPause:n,calculateOffset:i}}},gG=fa`
|
|
41
|
+
`+s.stack}return{value:t,source:e,stack:i,digest:null}}function qb(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function cS(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var jU=typeof WeakMap=="function"?WeakMap:Map;function GD(t,e,r){r=na(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Vv||(Vv=!0,bS=n),cS(t,e)},r}function WD(t,e,r){r=na(-1,r),r.tag=3;var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var i=e.value;r.payload=function(){return n(i)},r.callback=function(){cS(t,e)}}var s=t.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){cS(t,e),typeof n!="function"&&(wl===null?wl=new Set([this]):wl.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),r}function hI(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new jU;var i=new Set;n.set(e,i)}else i=n.get(e),i===void 0&&(i=new Set,n.set(e,i));i.has(r)||(i.add(r),t=ZU.bind(null,t,e,r),e.then(t,t))}function fI(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function pI(t,e,r,n,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=na(-1,1),e.tag=2,bl(r,e,1))),r.lanes|=1),t)}var BU=xa.ReactCurrentOwner,Hn=!1;function bn(t,e,r,n){e.child=t===null?wD(e,null,r,n):Xd(e,t.child,r,n)}function mI(t,e,r,n,i){r=r.render;var s=e.ref;return gd(e,i),n=dT(t,e,r,n,s,i),r=hT(),t!==null&&!Hn?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,da(t,e,i)):(zt&&r&&J2(e),e.flags|=1,bn(t,e,n,i),e.child)}function gI(t,e,r,n,i){if(t===null){var s=r.type;return typeof s=="function"&&!_T(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=s,XD(t,e,s,n,i)):(t=q0(r.type,null,n,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!(t.lanes&i)){var o=s.memoizedProps;if(r=r.compare,r=r!==null?r:mp,r(o,n)&&t.ref===e.ref)return da(t,e,i)}return e.flags|=1,t=Sl(s,n),t.ref=e.ref,t.return=e,e.child=t}function XD(t,e,r,n,i){if(t!==null){var s=t.memoizedProps;if(mp(s,n)&&t.ref===e.ref)if(Hn=!1,e.pendingProps=n=s,(t.lanes&i)!==0)t.flags&131072&&(Hn=!0);else return e.lanes=t.lanes,da(t,e,i)}return dS(t,e,r,n,i)}function qD(t,e,r){var n=e.pendingProps,i=n.children,s=t!==null?t.memoizedState:null;if(n.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Mt(od,li),li|=r;else{if(!(r&1073741824))return t=s!==null?s.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Mt(od,li),li|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=s!==null?s.baseLanes:r,Mt(od,li),li|=n}else s!==null?(n=s.baseLanes|r,e.memoizedState=null):n=r,Mt(od,li),li|=n;return bn(t,e,i,r),e.child}function YD(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function dS(t,e,r,n,i){var s=Wn(r)?Xu:hn.current;return s=Gd(e,s),gd(e,i),r=dT(t,e,r,n,s,i),n=hT(),t!==null&&!Hn?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,da(t,e,i)):(zt&&n&&J2(e),e.flags|=1,bn(t,e,r,i),e.child)}function vI(t,e,r,n,i){if(Wn(r)){var s=!0;Dv(e)}else s=!1;if(gd(e,i),e.stateNode===null)G0(t,e),VD(e,r,n),uS(e,r,n,i),n=!0;else if(t===null){var o=e.stateNode,a=e.memoizedProps;o.props=a;var l=o.context,u=r.contextType;typeof u=="object"&&u!==null?u=Xi(u):(u=Wn(r)?Xu:hn.current,u=Gd(e,u));var c=r.getDerivedStateFromProps,h=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==n||l!==u)&&dI(e,o,n,u),Ha=!1;var f=e.memoizedState;o.state=f,Bv(e,n,o,i),l=e.memoizedState,a!==n||f!==l||Gn.current||Ha?(typeof c=="function"&&(lS(e,r,c,n),l=e.memoizedState),(a=Ha||cI(e,r,a,n,f,l,u))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=l),o.props=n,o.state=l,o.context=u,n=a):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{o=e.stateNode,SD(t,e),a=e.memoizedProps,u=e.type===e.elementType?a:cs(e.type,a),o.props=u,h=e.pendingProps,f=o.context,l=r.contextType,typeof l=="object"&&l!==null?l=Xi(l):(l=Wn(r)?Xu:hn.current,l=Gd(e,l));var m=r.getDerivedStateFromProps;(c=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==h||f!==l)&&dI(e,o,n,l),Ha=!1,f=e.memoizedState,o.state=f,Bv(e,n,o,i);var y=e.memoizedState;a!==h||f!==y||Gn.current||Ha?(typeof m=="function"&&(lS(e,r,m,n),y=e.memoizedState),(u=Ha||cI(e,r,u,n,f,y,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,y,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,y,l)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=y),o.props=n,o.state=y,o.context=l,n=u):(typeof o.componentDidUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),n=!1)}return hS(t,e,r,n,s,i)}function hS(t,e,r,n,i,s){YD(t,e);var o=(e.flags&128)!==0;if(!n&&!o)return i&&rI(e,r,!1),da(t,e,s);n=e.stateNode,BU.current=e;var a=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&o?(e.child=Xd(e,t.child,null,s),e.child=Xd(e,null,a,s)):bn(t,e,a,s),e.memoizedState=n.state,i&&rI(e,r,!0),e.child}function QD(t){var e=t.stateNode;e.pendingContext?tI(t,e.pendingContext,e.pendingContext!==e.context):e.context&&tI(t,e.context,!1),aT(t,e.containerInfo)}function yI(t,e,r,n,i){return Wd(),tT(i),e.flags|=256,bn(t,e,r,n),e.child}var fS={dehydrated:null,treeContext:null,retryLane:0};function pS(t){return{baseLanes:t,cachePool:null,transitions:null}}function KD(t,e,r){var n=e.pendingProps,i=Wt.current,s=!1,o=(e.flags&128)!==0,a;if((a=o)||(a=t!==null&&t.memoizedState===null?!1:(i&2)!==0),a?(s=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Mt(Wt,i&1),t===null)return oS(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=n.children,t=n.fallback,s?(n=e.mode,s=e.child,o={mode:"hidden",children:o},!(n&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=n1(o,n,0,null),t=Bu(t,n,r,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=pS(r),e.memoizedState=fS,t):mT(e,o));if(i=t.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return UU(t,e,o,n,a,i,r);if(s){s=n.fallback,o=e.mode,i=t.child,a=i.sibling;var l={mode:"hidden",children:n.children};return!(o&1)&&e.child!==i?(n=e.child,n.childLanes=0,n.pendingProps=l,e.deletions=null):(n=Sl(i,l),n.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=Sl(a,s):(s=Bu(s,o,r,null),s.flags|=2),s.return=e,n.return=e,n.sibling=s,e.child=n,n=s,s=e.child,o=t.child.memoizedState,o=o===null?pS(r):{baseLanes:o.baseLanes|r,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=t.childLanes&~r,e.memoizedState=fS,n}return s=t.child,t=s.sibling,n=Sl(s,{mode:"visible",children:n.children}),!(e.mode&1)&&(n.lanes=r),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function mT(t,e){return e=n1({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Fg(t,e,r,n){return n!==null&&tT(n),Xd(e,t.child,null,r),t=mT(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function UU(t,e,r,n,i,s,o){if(r)return e.flags&256?(e.flags&=-257,n=qb(Error(pe(422))),Fg(t,e,o,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(s=n.fallback,i=e.mode,n=n1({mode:"visible",children:n.children},i,0,null),s=Bu(s,i,o,null),s.flags|=2,n.return=e,s.return=e,n.sibling=s,e.child=n,e.mode&1&&Xd(e,t.child,null,o),e.child.memoizedState=pS(o),e.memoizedState=fS,s);if(!(e.mode&1))return Fg(t,e,o,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var a=n.dgst;return n=a,s=Error(pe(419)),n=qb(s,n,void 0),Fg(t,e,o,n)}if(a=(o&t.childLanes)!==0,Hn||a){if(n=$r,n!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,ca(t,i),_s(n,t,i,-1))}return wT(),n=qb(Error(pe(421))),Fg(t,e,o,n)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=JU.bind(null,t),i._reactRetry=e,null):(t=s.treeContext,ci=xl(i.nextSibling),hi=e,zt=!0,fs=null,t!==null&&(Di[Ni++]=Qo,Di[Ni++]=Ko,Di[Ni++]=qu,Qo=t.id,Ko=t.overflow,qu=e),e=mT(e,n.children),e.flags|=4096,e)}function xI(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),aS(t.return,e,r)}function Yb(t,e,r,n,i){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=r,s.tailMode=i)}function ZD(t,e,r){var n=e.pendingProps,i=n.revealOrder,s=n.tail;if(bn(t,e,n.children,r),n=Wt.current,n&2)n=n&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&xI(t,r,e);else if(t.tag===19)xI(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(Mt(Wt,n),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;r!==null;)t=r.alternate,t!==null&&Uv(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),Yb(e,!1,i,r,s);break;case"backwards":for(r=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Uv(t)===null){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}Yb(e,!0,r,null,s);break;case"together":Yb(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function G0(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function da(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),Qu|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(pe(153));if(e.child!==null){for(t=e.child,r=Sl(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=Sl(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function $U(t,e,r){switch(e.tag){case 3:QD(e),Wd();break;case 5:ED(e);break;case 1:Wn(e.type)&&Dv(e);break;case 4:aT(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,i=e.memoizedProps.value;Mt(Fv,n._currentValue),n._currentValue=i;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?(Mt(Wt,Wt.current&1),e.flags|=128,null):r&e.child.childLanes?KD(t,e,r):(Mt(Wt,Wt.current&1),t=da(t,e,r),t!==null?t.sibling:null);Mt(Wt,Wt.current&1);break;case 19:if(n=(r&e.childLanes)!==0,t.flags&128){if(n)return ZD(t,e,r);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Mt(Wt,Wt.current),n)break;return null;case 22:case 23:return e.lanes=0,qD(t,e,r)}return da(t,e,r)}var JD,mS,eN,tN;JD=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};mS=function(){};eN=function(t,e,r,n){var i=t.memoizedProps;if(i!==n){t=e.stateNode,Au(mo.current);var s=null;switch(r){case"input":i=F_(t,i),n=F_(t,n),s=[];break;case"select":i=Yt({},i,{value:void 0}),n=Yt({},n,{value:void 0}),s=[];break;case"textarea":i=U_(t,i),n=U_(t,n),s=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=kv)}z_(r,n);var o;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(lp.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in n){var l=n[u];if(a=i!=null?i[u]:void 0,n.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(r||(r={}),r[o]=l[o])}else r||(s||(s=[]),s.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(lp.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Nt("scroll",t),s||a===l||(s=[])):(s=s||[]).push(u,l))}r&&(s=s||[]).push("style",r);var u=s;(e.updateQueue=u)&&(e.flags|=4)}};tN=function(t,e,r,n){r!==n&&(e.flags|=4)};function Kh(t,e){if(!zt)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function un(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,n=0;if(e)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=n,t.childLanes=r,e}function zU(t,e,r){var n=e.pendingProps;switch(eT(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return un(e),null;case 1:return Wn(e.type)&&Ov(),un(e),null;case 3:return n=e.stateNode,qd(),Ft(Gn),Ft(hn),uT(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Ng(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,fs!==null&&(SS(fs),fs=null))),mS(t,e),un(e),null;case 5:lT(e);var i=Au(bp.current);if(r=e.type,t!==null&&e.stateNode!=null)eN(t,e,r,n,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(pe(166));return un(e),null}if(t=Au(mo.current),Ng(e)){n=e.stateNode,r=e.type;var s=e.memoizedProps;switch(n[oo]=e,n[yp]=s,t=(e.mode&1)!==0,r){case"dialog":Nt("cancel",n),Nt("close",n);break;case"iframe":case"object":case"embed":Nt("load",n);break;case"video":case"audio":for(i=0;i<xf.length;i++)Nt(xf[i],n);break;case"source":Nt("error",n);break;case"img":case"image":case"link":Nt("error",n),Nt("load",n);break;case"details":Nt("toggle",n);break;case"input":RP(n,s),Nt("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Nt("invalid",n);break;case"textarea":IP(n,s),Nt("invalid",n)}z_(r,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?n.textContent!==a&&(s.suppressHydrationWarning!==!0&&Dg(n.textContent,a,t),i=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Dg(n.textContent,a,t),i=["children",""+a]):lp.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&Nt("scroll",n)}switch(r){case"input":Cg(n),PP(n,s,!0);break;case"textarea":Cg(n),MP(n);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(n.onclick=kv)}n=i,e.updateQueue=n,n!==null&&(e.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=PO(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=o.createElement(r,{is:n.is}):(t=o.createElement(r),r==="select"&&(o=t,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):t=o.createElementNS(t,r),t[oo]=e,t[yp]=n,JD(t,e,!1,!1),e.stateNode=t;e:{switch(o=H_(r,n),r){case"dialog":Nt("cancel",t),Nt("close",t),i=n;break;case"iframe":case"object":case"embed":Nt("load",t),i=n;break;case"video":case"audio":for(i=0;i<xf.length;i++)Nt(xf[i],t);i=n;break;case"source":Nt("error",t),i=n;break;case"img":case"image":case"link":Nt("error",t),Nt("load",t),i=n;break;case"details":Nt("toggle",t),i=n;break;case"input":RP(t,n),i=F_(t,n),Nt("invalid",t);break;case"option":i=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},i=Yt({},n,{value:void 0}),Nt("invalid",t);break;case"textarea":IP(t,n),i=U_(t,n),Nt("invalid",t);break;default:i=n}z_(r,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?kO(t,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&IO(t,l)):s==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&up(t,l):typeof l=="number"&&up(t,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(lp.hasOwnProperty(s)?l!=null&&s==="onScroll"&&Nt("scroll",t):l!=null&&B2(t,s,l,o))}switch(r){case"input":Cg(t),PP(t,n,!1);break;case"textarea":Cg(t),MP(t);break;case"option":n.value!=null&&t.setAttribute("value",""+Al(n.value));break;case"select":t.multiple=!!n.multiple,s=n.value,s!=null?hd(t,!!n.multiple,s,!1):n.defaultValue!=null&&hd(t,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=kv)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return un(e),null;case 6:if(t&&e.stateNode!=null)tN(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(pe(166));if(r=Au(bp.current),Au(mo.current),Ng(e)){if(n=e.stateNode,r=e.memoizedProps,n[oo]=e,(s=n.nodeValue!==r)&&(t=hi,t!==null))switch(t.tag){case 3:Dg(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Dg(n.nodeValue,r,(t.mode&1)!==0)}s&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[oo]=e,e.stateNode=n}return un(e),null;case 13:if(Ft(Wt),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(zt&&ci!==null&&e.mode&1&&!(e.flags&128))xD(),Wd(),e.flags|=98560,s=!1;else if(s=Ng(e),n!==null&&n.dehydrated!==null){if(t===null){if(!s)throw Error(pe(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(pe(317));s[oo]=e}else Wd(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;un(e),s=!1}else fs!==null&&(SS(fs),fs=null),s=!0;if(!s)return e.flags&65536?e:null}return e.flags&128?(e.lanes=r,e):(n=n!==null,n!==(t!==null&&t.memoizedState!==null)&&n&&(e.child.flags|=8192,e.mode&1&&(t===null||Wt.current&1?Cr===0&&(Cr=3):wT())),e.updateQueue!==null&&(e.flags|=4),un(e),null);case 4:return qd(),mS(t,e),t===null&&gp(e.stateNode.containerInfo),un(e),null;case 10:return iT(e.type._context),un(e),null;case 17:return Wn(e.type)&&Ov(),un(e),null;case 19:if(Ft(Wt),s=e.memoizedState,s===null)return un(e),null;if(n=(e.flags&128)!==0,o=s.rendering,o===null)if(n)Kh(s,!1);else{if(Cr!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(o=Uv(t),o!==null){for(e.flags|=128,Kh(s,!1),n=o.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)s=r,t=n,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=t,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,t=o.dependencies,s.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Mt(Wt,Wt.current&1|2),e.child}t=t.sibling}s.tail!==null&&lr()>Qd&&(e.flags|=128,n=!0,Kh(s,!1),e.lanes=4194304)}else{if(!n)if(t=Uv(o),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Kh(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!zt)return un(e),null}else 2*lr()-s.renderingStartTime>Qd&&r!==1073741824&&(e.flags|=128,n=!0,Kh(s,!1),e.lanes=4194304);s.isBackwards?(o.sibling=e.child,e.child=o):(r=s.last,r!==null?r.sibling=o:e.child=o,s.last=o)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=lr(),e.sibling=null,r=Wt.current,Mt(Wt,n?r&1|2:r&1),e):(un(e),null);case 22:case 23:return bT(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?li&1073741824&&(un(e),e.subtreeFlags&6&&(e.flags|=8192)):un(e),null;case 24:return null;case 25:return null}throw Error(pe(156,e.tag))}function HU(t,e){switch(eT(e),e.tag){case 1:return Wn(e.type)&&Ov(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return qd(),Ft(Gn),Ft(hn),uT(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return lT(e),null;case 13:if(Ft(Wt),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(pe(340));Wd()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ft(Wt),null;case 4:return qd(),null;case 10:return iT(e.type._context),null;case 22:case 23:return bT(),null;case 24:return null;default:return null}}var jg=!1,dn=!1,VU=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function sd(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Jt(t,e,n)}else r.current=null}function gS(t,e,r){try{r()}catch(n){Jt(t,e,n)}}var bI=!1;function GU(t,e){if(J_=Pv,t=oD(),Z2(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var o=0,a=-1,l=-1,u=0,c=0,h=t,f=null;t:for(;;){for(var m;h!==r||i!==0&&h.nodeType!==3||(a=o+i),h!==s||n!==0&&h.nodeType!==3||(l=o+n),h.nodeType===3&&(o+=h.nodeValue.length),(m=h.firstChild)!==null;)f=h,h=m;for(;;){if(h===t)break t;if(f===r&&++u===i&&(a=o),f===s&&++c===n&&(l=o),(m=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=m}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(eS={focusedElem:t,selectionRange:r},Pv=!1,Fe=e;Fe!==null;)if(e=Fe,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Fe=t;else for(;Fe!==null;){e=Fe;try{var y=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,x=y.memoizedState,b=e.stateNode,_=b.getSnapshotBeforeUpdate(e.elementType===e.type?v:cs(e.type,v),x);b.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var w=e.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(pe(163))}}catch(E){Jt(e,e.return,E)}if(t=e.sibling,t!==null){t.return=e.return,Fe=t;break}Fe=e.return}return y=bI,bI=!1,y}function Bf(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var s=i.destroy;i.destroy=void 0,s!==void 0&&gS(e,r,s)}i=i.next}while(i!==n)}}function t1(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function vS(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function rN(t){var e=t.alternate;e!==null&&(t.alternate=null,rN(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[oo],delete e[yp],delete e[nS],delete e[AU],delete e[RU])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function nN(t){return t.tag===5||t.tag===3||t.tag===4}function wI(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||nN(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.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function yS(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=kv));else if(n!==4&&(t=t.child,t!==null))for(yS(t,e,r),t=t.sibling;t!==null;)yS(t,e,r),t=t.sibling}function xS(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(xS(t,e,r),t=t.sibling;t!==null;)xS(t,e,r),t=t.sibling}var qr=null,hs=!1;function Na(t,e,r){for(r=r.child;r!==null;)iN(t,e,r),r=r.sibling}function iN(t,e,r){if(po&&typeof po.onCommitFiberUnmount=="function")try{po.onCommitFiberUnmount(Xy,r)}catch{}switch(r.tag){case 5:dn||sd(r,e);case 6:var n=qr,i=hs;qr=null,Na(t,e,r),qr=n,hs=i,qr!==null&&(hs?(t=qr,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):qr.removeChild(r.stateNode));break;case 18:qr!==null&&(hs?(t=qr,r=r.stateNode,t.nodeType===8?zb(t.parentNode,r):t.nodeType===1&&zb(t,r),fp(t)):zb(qr,r.stateNode));break;case 4:n=qr,i=hs,qr=r.stateNode.containerInfo,hs=!0,Na(t,e,r),qr=n,hs=i;break;case 0:case 11:case 14:case 15:if(!dn&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&gS(r,e,o),i=i.next}while(i!==n)}Na(t,e,r);break;case 1:if(!dn&&(sd(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){Jt(r,e,a)}Na(t,e,r);break;case 21:Na(t,e,r);break;case 22:r.mode&1?(dn=(n=dn)||r.memoizedState!==null,Na(t,e,r),dn=n):Na(t,e,r);break;default:Na(t,e,r)}}function _I(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new VU),e.forEach(function(n){var i=e$.bind(null,t,n);r.has(n)||(r.add(n),n.then(i,i))})}}function ss(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var s=t,o=e,a=o;e:for(;a!==null;){switch(a.tag){case 5:qr=a.stateNode,hs=!1;break e;case 3:qr=a.stateNode.containerInfo,hs=!0;break e;case 4:qr=a.stateNode.containerInfo,hs=!0;break e}a=a.return}if(qr===null)throw Error(pe(160));iN(s,o,i),qr=null,hs=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){Jt(i,e,u)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)sN(e,t),e=e.sibling}function sN(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(ss(e,t),Hs(t),n&4){try{Bf(3,t,t.return),t1(3,t)}catch(v){Jt(t,t.return,v)}try{Bf(5,t,t.return)}catch(v){Jt(t,t.return,v)}}break;case 1:ss(e,t),Hs(t),n&512&&r!==null&&sd(r,r.return);break;case 5:if(ss(e,t),Hs(t),n&512&&r!==null&&sd(r,r.return),t.flags&32){var i=t.stateNode;try{up(i,"")}catch(v){Jt(t,t.return,v)}}if(n&4&&(i=t.stateNode,i!=null)){var s=t.memoizedProps,o=r!==null?r.memoizedProps:s,a=t.type,l=t.updateQueue;if(t.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&AO(i,s),H_(a,o);var u=H_(a,s);for(o=0;o<l.length;o+=2){var c=l[o],h=l[o+1];c==="style"?kO(i,h):c==="dangerouslySetInnerHTML"?IO(i,h):c==="children"?up(i,h):B2(i,c,h,u)}switch(a){case"input":j_(i,s);break;case"textarea":RO(i,s);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var m=s.value;m!=null?hd(i,!!s.multiple,m,!1):f!==!!s.multiple&&(s.defaultValue!=null?hd(i,!!s.multiple,s.defaultValue,!0):hd(i,!!s.multiple,s.multiple?[]:"",!1))}i[yp]=s}catch(v){Jt(t,t.return,v)}}break;case 6:if(ss(e,t),Hs(t),n&4){if(t.stateNode===null)throw Error(pe(162));i=t.stateNode,s=t.memoizedProps;try{i.nodeValue=s}catch(v){Jt(t,t.return,v)}}break;case 3:if(ss(e,t),Hs(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{fp(e.containerInfo)}catch(v){Jt(t,t.return,v)}break;case 4:ss(e,t),Hs(t);break;case 13:ss(e,t),Hs(t),i=t.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(yT=lr())),n&4&&_I(t);break;case 22:if(c=r!==null&&r.memoizedState!==null,t.mode&1?(dn=(u=dn)||c,ss(e,t),dn=u):ss(e,t),Hs(t),n&8192){if(u=t.memoizedState!==null,(t.stateNode.isHidden=u)&&!c&&t.mode&1)for(Fe=t,c=t.child;c!==null;){for(h=Fe=c;Fe!==null;){switch(f=Fe,m=f.child,f.tag){case 0:case 11:case 14:case 15:Bf(4,f,f.return);break;case 1:sd(f,f.return);var y=f.stateNode;if(typeof y.componentWillUnmount=="function"){n=f,r=f.return;try{e=n,y.props=e.memoizedProps,y.state=e.memoizedState,y.componentWillUnmount()}catch(v){Jt(n,r,v)}}break;case 5:sd(f,f.return);break;case 22:if(f.memoizedState!==null){EI(h);continue}}m!==null?(m.return=f,Fe=m):EI(h)}c=c.sibling}e:for(c=null,h=t;;){if(h.tag===5){if(c===null){c=h;try{i=h.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=h.stateNode,l=h.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=MO("display",o))}catch(v){Jt(t,t.return,v)}}}else if(h.tag===6){if(c===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(v){Jt(t,t.return,v)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===t)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;c===h&&(c=null),h=h.return}c===h&&(c=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ss(e,t),Hs(t),n&4&&_I(t);break;case 21:break;default:ss(e,t),Hs(t)}}function Hs(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(nN(r)){var n=r;break e}r=r.return}throw Error(pe(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(up(i,""),n.flags&=-33);var s=wI(t);xS(t,s,i);break;case 3:case 4:var o=n.stateNode.containerInfo,a=wI(t);yS(t,a,o);break;default:throw Error(pe(161))}}catch(l){Jt(t,t.return,l)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function WU(t,e,r){Fe=t,oN(t)}function oN(t,e,r){for(var n=(t.mode&1)!==0;Fe!==null;){var i=Fe,s=i.child;if(i.tag===22&&n){var o=i.memoizedState!==null||jg;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||dn;a=jg;var u=dn;if(jg=o,(dn=l)&&!u)for(Fe=i;Fe!==null;)o=Fe,l=o.child,o.tag===22&&o.memoizedState!==null?TI(i):l!==null?(l.return=o,Fe=l):TI(i);for(;s!==null;)Fe=s,oN(s),s=s.sibling;Fe=i,jg=a,dn=u}SI(t)}else i.subtreeFlags&8772&&s!==null?(s.return=i,Fe=s):SI(t)}}function SI(t){for(;Fe!==null;){var e=Fe;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:dn||t1(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!dn)if(r===null)n.componentDidMount();else{var i=e.elementType===e.type?r.memoizedProps:cs(e.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var s=e.updateQueue;s!==null&&aI(e,s,n);break;case 3:var o=e.updateQueue;if(o!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}aI(e,o,r)}break;case 5:var a=e.stateNode;if(r===null&&e.flags&4){r=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var u=e.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var h=c.dehydrated;h!==null&&fp(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(pe(163))}dn||e.flags&512&&vS(e)}catch(f){Jt(e,e.return,f)}}if(e===t){Fe=null;break}if(r=e.sibling,r!==null){r.return=e.return,Fe=r;break}Fe=e.return}}function EI(t){for(;Fe!==null;){var e=Fe;if(e===t){Fe=null;break}var r=e.sibling;if(r!==null){r.return=e.return,Fe=r;break}Fe=e.return}}function TI(t){for(;Fe!==null;){var e=Fe;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{t1(4,e)}catch(l){Jt(e,r,l)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var i=e.return;try{n.componentDidMount()}catch(l){Jt(e,i,l)}}var s=e.return;try{vS(e)}catch(l){Jt(e,s,l)}break;case 5:var o=e.return;try{vS(e)}catch(l){Jt(e,o,l)}}}catch(l){Jt(e,e.return,l)}if(e===t){Fe=null;break}var a=e.sibling;if(a!==null){a.return=e.return,Fe=a;break}Fe=e.return}}var XU=Math.ceil,Hv=xa.ReactCurrentDispatcher,gT=xa.ReactCurrentOwner,zi=xa.ReactCurrentBatchConfig,bt=0,$r=null,pr=null,Qr=0,li=0,od=Ll(0),Cr=0,Ep=null,Qu=0,r1=0,vT=0,Uf=null,zn=null,yT=0,Qd=1/0,Go=null,Vv=!1,bS=null,wl=null,Bg=!1,al=null,Gv=0,$f=0,wS=null,W0=-1,X0=0;function Tn(){return bt&6?lr():W0!==-1?W0:W0=lr()}function _l(t){return t.mode&1?bt&2&&Qr!==0?Qr&-Qr:IU.transition!==null?(X0===0&&(X0=VO()),X0):(t=At,t!==0||(t=window.event,t=t===void 0?16:KO(t.type)),t):1}function _s(t,e,r,n){if(50<$f)throw $f=0,wS=null,Error(pe(185));nm(t,r,n),(!(bt&2)||t!==$r)&&(t===$r&&(!(bt&2)&&(r1|=r),Cr===4&&Xa(t,Qr)),Xn(t,n),r===1&&bt===0&&!(e.mode&1)&&(Qd=lr()+500,Zy&&Fl()))}function Xn(t,e){var r=t.callbackNode;I9(t,e);var n=Rv(t,t===$r?Qr:0);if(n===0)r!==null&&DP(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&DP(r),e===1)t.tag===0?PU(CI.bind(null,t)):gD(CI.bind(null,t)),TU(function(){!(bt&6)&&Fl()}),r=null;else{switch(GO(n)){case 1:r=V2;break;case 4:r=zO;break;case 16:r=Av;break;case 536870912:r=HO;break;default:r=Av}r=pN(r,aN.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function aN(t,e){if(W0=-1,X0=0,bt&6)throw Error(pe(327));var r=t.callbackNode;if(vd()&&t.callbackNode!==r)return null;var n=Rv(t,t===$r?Qr:0);if(n===0)return null;if(n&30||n&t.expiredLanes||e)e=Wv(t,n);else{e=n;var i=bt;bt|=2;var s=uN();($r!==t||Qr!==e)&&(Go=null,Qd=lr()+500,ju(t,e));do try{QU();break}catch(a){lN(t,a)}while(!0);nT(),Hv.current=s,bt=i,pr!==null?e=0:($r=null,Qr=0,e=Cr)}if(e!==0){if(e===2&&(i=q_(t),i!==0&&(n=i,e=_S(t,i))),e===1)throw r=Ep,ju(t,0),Xa(t,n),Xn(t,lr()),r;if(e===6)Xa(t,n);else{if(i=t.current.alternate,!(n&30)&&!qU(i)&&(e=Wv(t,n),e===2&&(s=q_(t),s!==0&&(n=s,e=_S(t,s))),e===1))throw r=Ep,ju(t,0),Xa(t,n),Xn(t,lr()),r;switch(t.finishedWork=i,t.finishedLanes=n,e){case 0:case 1:throw Error(pe(345));case 2:mu(t,zn,Go);break;case 3:if(Xa(t,n),(n&130023424)===n&&(e=yT+500-lr(),10<e)){if(Rv(t,0)!==0)break;if(i=t.suspendedLanes,(i&n)!==n){Tn(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=rS(mu.bind(null,t,zn,Go),e);break}mu(t,zn,Go);break;case 4:if(Xa(t,n),(n&4194240)===n)break;for(e=t.eventTimes,i=-1;0<n;){var o=31-ws(n);s=1<<o,o=e[o],o>i&&(i=o),n&=~s}if(n=i,n=lr()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*XU(n/1960))-n,10<n){t.timeoutHandle=rS(mu.bind(null,t,zn,Go),n);break}mu(t,zn,Go);break;case 5:mu(t,zn,Go);break;default:throw Error(pe(329))}}}return Xn(t,lr()),t.callbackNode===r?aN.bind(null,t):null}function _S(t,e){var r=Uf;return t.current.memoizedState.isDehydrated&&(ju(t,e).flags|=256),t=Wv(t,e),t!==2&&(e=zn,zn=r,e!==null&&SS(e)),t}function SS(t){zn===null?zn=t:zn.push.apply(zn,t)}function qU(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var i=r[n],s=i.getSnapshot;i=i.value;try{if(!Cs(s(),i))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Xa(t,e){for(e&=~vT,e&=~r1,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-ws(e),n=1<<r;t[r]=-1,e&=~n}}function CI(t){if(bt&6)throw Error(pe(327));vd();var e=Rv(t,0);if(!(e&1))return Xn(t,lr()),null;var r=Wv(t,e);if(t.tag!==0&&r===2){var n=q_(t);n!==0&&(e=n,r=_S(t,n))}if(r===1)throw r=Ep,ju(t,0),Xa(t,e),Xn(t,lr()),r;if(r===6)throw Error(pe(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,mu(t,zn,Go),Xn(t,lr()),null}function xT(t,e){var r=bt;bt|=1;try{return t(e)}finally{bt=r,bt===0&&(Qd=lr()+500,Zy&&Fl())}}function Ku(t){al!==null&&al.tag===0&&!(bt&6)&&vd();var e=bt;bt|=1;var r=zi.transition,n=At;try{if(zi.transition=null,At=1,t)return t()}finally{At=n,zi.transition=r,bt=e,!(bt&6)&&Fl()}}function bT(){li=od.current,Ft(od)}function ju(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,EU(r)),pr!==null)for(r=pr.return;r!==null;){var n=r;switch(eT(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ov();break;case 3:qd(),Ft(Gn),Ft(hn),uT();break;case 5:lT(n);break;case 4:qd();break;case 13:Ft(Wt);break;case 19:Ft(Wt);break;case 10:iT(n.type._context);break;case 22:case 23:bT()}r=r.return}if($r=t,pr=t=Sl(t.current,null),Qr=li=e,Cr=0,Ep=null,vT=r1=Qu=0,zn=Uf=null,Cu!==null){for(e=0;e<Cu.length;e++)if(r=Cu[e],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,s=r.pending;if(s!==null){var o=s.next;s.next=i,n.next=o}r.pending=n}Cu=null}return t}function lN(t,e){do{var r=pr;try{if(nT(),H0.current=zv,$v){for(var n=qt.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}$v=!1}if(Yu=0,Fr=wr=qt=null,jf=!1,wp=0,gT.current=null,r===null||r.return===null){Cr=1,Ep=e,pr=null;break}e:{var s=t,o=r.return,a=r,l=e;if(e=Qr,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,h=c.tag;if(!(c.mode&1)&&(h===0||h===11||h===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var m=fI(o);if(m!==null){m.flags&=-257,pI(m,o,a,s,e),m.mode&1&&hI(s,u,e),e=m,l=u;var y=e.updateQueue;if(y===null){var v=new Set;v.add(l),e.updateQueue=v}else y.add(l);break e}else{if(!(e&1)){hI(s,u,e),wT();break e}l=Error(pe(426))}}else if(zt&&a.mode&1){var x=fI(o);if(x!==null){!(x.flags&65536)&&(x.flags|=256),pI(x,o,a,s,e),tT(Yd(l,a));break e}}s=l=Yd(l,a),Cr!==4&&(Cr=2),Uf===null?Uf=[s]:Uf.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,e&=-e,s.lanes|=e;var b=GD(s,l,e);oI(s,b);break e;case 1:a=l;var _=s.type,w=s.stateNode;if(!(s.flags&128)&&(typeof _.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(wl===null||!wl.has(w)))){s.flags|=65536,e&=-e,s.lanes|=e;var E=WD(s,a,e);oI(s,E);break e}}s=s.return}while(s!==null)}dN(r)}catch(A){e=A,pr===r&&r!==null&&(pr=r=r.return);continue}break}while(!0)}function uN(){var t=Hv.current;return Hv.current=zv,t===null?zv:t}function wT(){(Cr===0||Cr===3||Cr===2)&&(Cr=4),$r===null||!(Qu&268435455)&&!(r1&268435455)||Xa($r,Qr)}function Wv(t,e){var r=bt;bt|=2;var n=uN();($r!==t||Qr!==e)&&(Go=null,ju(t,e));do try{YU();break}catch(i){lN(t,i)}while(!0);if(nT(),bt=r,Hv.current=n,pr!==null)throw Error(pe(261));return $r=null,Qr=0,Cr}function YU(){for(;pr!==null;)cN(pr)}function QU(){for(;pr!==null&&!w9();)cN(pr)}function cN(t){var e=fN(t.alternate,t,li);t.memoizedProps=t.pendingProps,e===null?dN(t):pr=e,gT.current=null}function dN(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=HU(r,e),r!==null){r.flags&=32767,pr=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Cr=6,pr=null;return}}else if(r=zU(r,e,li),r!==null){pr=r;return}if(e=e.sibling,e!==null){pr=e;return}pr=e=t}while(e!==null);Cr===0&&(Cr=5)}function mu(t,e,r){var n=At,i=zi.transition;try{zi.transition=null,At=1,KU(t,e,r,n)}finally{zi.transition=i,At=n}return null}function KU(t,e,r,n){do vd();while(al!==null);if(bt&6)throw Error(pe(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(pe(177));t.callbackNode=null,t.callbackPriority=0;var s=r.lanes|r.childLanes;if(M9(t,s),t===$r&&(pr=$r=null,Qr=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||Bg||(Bg=!0,pN(Av,function(){return vd(),null})),s=(r.flags&15990)!==0,r.subtreeFlags&15990||s){s=zi.transition,zi.transition=null;var o=At;At=1;var a=bt;bt|=4,gT.current=null,GU(t,r),sN(r,t),vU(eS),Pv=!!J_,eS=J_=null,t.current=r,WU(r),_9(),bt=a,At=o,zi.transition=s}else t.current=r;if(Bg&&(Bg=!1,al=t,Gv=i),s=t.pendingLanes,s===0&&(wl=null),T9(r.stateNode),Xn(t,lr()),e!==null)for(n=t.onRecoverableError,r=0;r<e.length;r++)i=e[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(Vv)throw Vv=!1,t=bS,bS=null,t;return Gv&1&&t.tag!==0&&vd(),s=t.pendingLanes,s&1?t===wS?$f++:($f=0,wS=t):$f=0,Fl(),null}function vd(){if(al!==null){var t=GO(Gv),e=zi.transition,r=At;try{if(zi.transition=null,At=16>t?16:t,al===null)var n=!1;else{if(t=al,al=null,Gv=0,bt&6)throw Error(pe(331));var i=bt;for(bt|=4,Fe=t.current;Fe!==null;){var s=Fe,o=s.child;if(Fe.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(Fe=u;Fe!==null;){var c=Fe;switch(c.tag){case 0:case 11:case 15:Bf(8,c,s)}var h=c.child;if(h!==null)h.return=c,Fe=h;else for(;Fe!==null;){c=Fe;var f=c.sibling,m=c.return;if(rN(c),c===u){Fe=null;break}if(f!==null){f.return=m,Fe=f;break}Fe=m}}}var y=s.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}Fe=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,Fe=o;else e:for(;Fe!==null;){if(s=Fe,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Bf(9,s,s.return)}var b=s.sibling;if(b!==null){b.return=s.return,Fe=b;break e}Fe=s.return}}var _=t.current;for(Fe=_;Fe!==null;){o=Fe;var w=o.child;if(o.subtreeFlags&2064&&w!==null)w.return=o,Fe=w;else e:for(o=_;Fe!==null;){if(a=Fe,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:t1(9,a)}}catch(A){Jt(a,a.return,A)}if(a===o){Fe=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,Fe=E;break e}Fe=a.return}}if(bt=i,Fl(),po&&typeof po.onPostCommitFiberRoot=="function")try{po.onPostCommitFiberRoot(Xy,t)}catch{}n=!0}return n}finally{At=r,zi.transition=e}}return!1}function AI(t,e,r){e=Yd(r,e),e=GD(t,e,1),t=bl(t,e,1),e=Tn(),t!==null&&(nm(t,1,e),Xn(t,e))}function Jt(t,e,r){if(t.tag===3)AI(t,t,r);else for(;e!==null;){if(e.tag===3){AI(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(wl===null||!wl.has(n))){t=Yd(r,t),t=WD(e,t,1),e=bl(e,t,1),t=Tn(),e!==null&&(nm(e,1,t),Xn(e,t));break}}e=e.return}}function ZU(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=Tn(),t.pingedLanes|=t.suspendedLanes&r,$r===t&&(Qr&r)===r&&(Cr===4||Cr===3&&(Qr&130023424)===Qr&&500>lr()-yT?ju(t,0):vT|=r),Xn(t,e)}function hN(t,e){e===0&&(t.mode&1?(e=Pg,Pg<<=1,!(Pg&130023424)&&(Pg=4194304)):e=1);var r=Tn();t=ca(t,e),t!==null&&(nm(t,e,r),Xn(t,r))}function JU(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),hN(t,r)}function e$(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(pe(314))}n!==null&&n.delete(e),hN(t,r)}var fN;fN=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Gn.current)Hn=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return Hn=!1,$U(t,e,r);Hn=!!(t.flags&131072)}else Hn=!1,zt&&e.flags&1048576&&vD(e,Lv,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;G0(t,e),t=e.pendingProps;var i=Gd(e,hn.current);gd(e,r),i=dT(null,e,n,t,i,r);var s=hT();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Wn(n)?(s=!0,Dv(e)):s=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,oT(e),i.updater=e1,e.stateNode=i,i._reactInternals=e,uS(e,n,t,r),e=hS(null,e,n,!0,s,r)):(e.tag=0,zt&&s&&J2(e),bn(null,e,i,r),e=e.child),e;case 16:n=e.elementType;e:{switch(G0(t,e),t=e.pendingProps,i=n._init,n=i(n._payload),e.type=n,i=e.tag=r$(n),t=cs(n,t),i){case 0:e=dS(null,e,n,t,r);break e;case 1:e=vI(null,e,n,t,r);break e;case 11:e=mI(null,e,n,t,r);break e;case 14:e=gI(null,e,n,cs(n.type,t),r);break e}throw Error(pe(306,n,""))}return e;case 0:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),dS(t,e,n,i,r);case 1:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),vI(t,e,n,i,r);case 3:e:{if(QD(e),t===null)throw Error(pe(387));n=e.pendingProps,s=e.memoizedState,i=s.element,SD(t,e),Bv(e,n,null,r);var o=e.memoizedState;if(n=o.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){i=Yd(Error(pe(423)),e),e=yI(t,e,n,r,i);break e}else if(n!==i){i=Yd(Error(pe(424)),e),e=yI(t,e,n,r,i);break e}else for(ci=xl(e.stateNode.containerInfo.firstChild),hi=e,zt=!0,fs=null,r=wD(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Wd(),n===i){e=da(t,e,r);break e}bn(t,e,n,r)}e=e.child}return e;case 5:return ED(e),t===null&&oS(e),n=e.type,i=e.pendingProps,s=t!==null?t.memoizedProps:null,o=i.children,tS(n,i)?o=null:s!==null&&tS(n,s)&&(e.flags|=32),YD(t,e),bn(t,e,o,r),e.child;case 6:return t===null&&oS(e),null;case 13:return KD(t,e,r);case 4:return aT(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Xd(e,null,n,r):bn(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),mI(t,e,n,i,r);case 7:return bn(t,e,e.pendingProps,r),e.child;case 8:return bn(t,e,e.pendingProps.children,r),e.child;case 12:return bn(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value,Mt(Fv,n._currentValue),n._currentValue=o,s!==null)if(Cs(s.value,o)){if(s.children===i.children&&!Gn.current){e=da(t,e,r);break e}}else for(s=e.child,s!==null&&(s.return=e);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(s.tag===1){l=na(-1,r&-r),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),aS(s.return,r,e),a.lanes|=r;break}l=l.next}}else if(s.tag===10)o=s.type===e.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(pe(341));o.lanes|=r,a=o.alternate,a!==null&&(a.lanes|=r),aS(o,r,e),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===e){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}bn(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=e.pendingProps.children,gd(e,r),i=Xi(i),n=n(i),e.flags|=1,bn(t,e,n,r),e.child;case 14:return n=e.type,i=cs(n,e.pendingProps),i=cs(n.type,i),gI(t,e,n,i,r);case 15:return XD(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:cs(n,i),G0(t,e),e.tag=1,Wn(n)?(t=!0,Dv(e)):t=!1,gd(e,r),VD(e,n,i),uS(e,n,i,r),hS(null,e,n,!0,t,r);case 19:return ZD(t,e,r);case 22:return qD(t,e,r)}throw Error(pe(156,e.tag))};function pN(t,e){return $O(t,e)}function t$(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bi(t,e,r,n){return new t$(t,e,r,n)}function _T(t){return t=t.prototype,!(!t||!t.isReactComponent)}function r$(t){if(typeof t=="function")return _T(t)?1:0;if(t!=null){if(t=t.$$typeof,t===$2)return 11;if(t===z2)return 14}return 2}function Sl(t,e){var r=t.alternate;return r===null?(r=Bi(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function q0(t,e,r,n,i,s){var o=2;if(n=t,typeof t=="function")_T(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case Qc:return Bu(r.children,i,s,e);case U2:o=8,i|=8;break;case O_:return t=Bi(12,r,e,i|2),t.elementType=O_,t.lanes=s,t;case D_:return t=Bi(13,r,e,i),t.elementType=D_,t.lanes=s,t;case N_:return t=Bi(19,r,e,i),t.elementType=N_,t.lanes=s,t;case EO:return n1(r,i,s,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case _O:o=10;break e;case SO:o=9;break e;case $2:o=11;break e;case z2:o=14;break e;case za:o=16,n=null;break e}throw Error(pe(130,t==null?t:typeof t,""))}return e=Bi(o,r,e,i),e.elementType=t,e.type=n,e.lanes=s,e}function Bu(t,e,r,n){return t=Bi(7,t,n,e),t.lanes=r,t}function n1(t,e,r,n){return t=Bi(22,t,n,e),t.elementType=EO,t.lanes=r,t.stateNode={isHidden:!1},t}function Qb(t,e,r){return t=Bi(6,t,null,e),t.lanes=r,t}function Kb(t,e,r){return e=Bi(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function n$(t,e,r,n,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Mb(0),this.expirationTimes=Mb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mb(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ST(t,e,r,n,i,s,o,a,l){return t=new n$(t,e,r,a,l),e===1?(e=1,s===!0&&(e|=8)):e=0,s=Bi(3,null,null,e),t.current=s,s.stateNode=t,s.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},oT(s),t}function i$(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yc,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function mN(t){if(!t)return Rl;t=t._reactInternals;e:{if(uc(t)!==t||t.tag!==1)throw Error(pe(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Wn(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(pe(171))}if(t.tag===1){var r=t.type;if(Wn(r))return mD(t,r,e)}return e}function gN(t,e,r,n,i,s,o,a,l){return t=ST(r,n,!0,t,i,s,o,a,l),t.context=mN(null),r=t.current,n=Tn(),i=_l(r),s=na(n,i),s.callback=e??null,bl(r,s,i),t.current.lanes=i,nm(t,i,n),Xn(t,n),t}function i1(t,e,r,n){var i=e.current,s=Tn(),o=_l(i);return r=mN(r),e.context===null?e.context=r:e.pendingContext=r,e=na(s,o),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=bl(i,e,o),t!==null&&(_s(t,i,o,s),z0(t,i,o)),o}function Xv(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function RI(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function ET(t,e){RI(t,e),(t=t.alternate)&&RI(t,e)}function s$(){return null}var vN=typeof reportError=="function"?reportError:function(t){console.error(t)};function TT(t){this._internalRoot=t}s1.prototype.render=TT.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(pe(409));i1(t,e,null,null)};s1.prototype.unmount=TT.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Ku(function(){i1(null,t,null,null)}),e[ua]=null}};function s1(t){this._internalRoot=t}s1.prototype.unstable_scheduleHydration=function(t){if(t){var e=qO();t={blockedOn:null,target:t,priority:e};for(var r=0;r<Wa.length&&e!==0&&e<Wa[r].priority;r++);Wa.splice(r,0,t),r===0&&QO(t)}};function CT(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function o1(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function PI(){}function o$(t,e,r,n,i){if(i){if(typeof n=="function"){var s=n;n=function(){var u=Xv(o);s.call(u)}}var o=gN(e,n,t,0,null,!1,!1,"",PI);return t._reactRootContainer=o,t[ua]=o.current,gp(t.nodeType===8?t.parentNode:t),Ku(),o}for(;i=t.lastChild;)t.removeChild(i);if(typeof n=="function"){var a=n;n=function(){var u=Xv(l);a.call(u)}}var l=ST(t,0,!1,null,null,!1,!1,"",PI);return t._reactRootContainer=l,t[ua]=l.current,gp(t.nodeType===8?t.parentNode:t),Ku(function(){i1(e,l,r,n)}),l}function a1(t,e,r,n,i){var s=r._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Xv(o);a.call(l)}}i1(e,o,t,i)}else o=o$(r,e,t,i,n);return Xv(o)}WO=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=yf(e.pendingLanes);r!==0&&(G2(e,r|1),Xn(e,lr()),!(bt&6)&&(Qd=lr()+500,Fl()))}break;case 13:Ku(function(){var n=ca(t,1);if(n!==null){var i=Tn();_s(n,t,1,i)}}),ET(t,1)}};W2=function(t){if(t.tag===13){var e=ca(t,134217728);if(e!==null){var r=Tn();_s(e,t,134217728,r)}ET(t,134217728)}};XO=function(t){if(t.tag===13){var e=_l(t),r=ca(t,e);if(r!==null){var n=Tn();_s(r,t,e,n)}ET(t,e)}};qO=function(){return At};YO=function(t,e){var r=At;try{return At=t,e()}finally{At=r}};G_=function(t,e,r){switch(e){case"input":if(j_(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=Ky(n);if(!i)throw Error(pe(90));CO(n),j_(n,i)}}}break;case"textarea":RO(t,r);break;case"select":e=r.value,e!=null&&hd(t,!!r.multiple,e,!1)}};NO=xT;LO=Ku;var a$={usingClientEntryPoint:!1,Events:[sm,ed,Ky,OO,DO,xT]},Zh={findFiberByHostInstance:Tu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},l$={bundleType:Zh.bundleType,version:Zh.version,rendererPackageName:Zh.rendererPackageName,rendererConfig:Zh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xa.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=BO(t),t===null?null:t.stateNode},findFiberByHostInstance:Zh.findFiberByHostInstance||s$,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ug=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ug.isDisabled&&Ug.supportsFiber)try{Xy=Ug.inject(l$),po=Ug}catch{}}vi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=a$;vi.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!CT(e))throw Error(pe(200));return i$(t,e,null,r)};vi.createRoot=function(t,e){if(!CT(t))throw Error(pe(299));var r=!1,n="",i=vN;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=ST(t,1,!1,null,null,r,!1,n,i),t[ua]=e.current,gp(t.nodeType===8?t.parentNode:t),new TT(e)};vi.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(pe(188)):(t=Object.keys(t).join(","),Error(pe(268,t)));return t=BO(e),t=t===null?null:t.stateNode,t};vi.flushSync=function(t){return Ku(t)};vi.hydrate=function(t,e,r){if(!o1(e))throw Error(pe(200));return a1(null,t,e,!0,r)};vi.hydrateRoot=function(t,e,r){if(!CT(t))throw Error(pe(405));var n=r!=null&&r.hydratedSources||null,i=!1,s="",o=vN;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onRecoverableError!==void 0&&(o=r.onRecoverableError)),e=gN(e,null,t,1,r??null,i,!1,s,o),t[ua]=e.current,gp(t),n)for(t=0;t<n.length;t++)r=n[t],i=r._getVersion,i=i(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,i]:e.mutableSourceEagerHydrationData.push(r,i);return new s1(e)};vi.render=function(t,e,r){if(!o1(e))throw Error(pe(200));return a1(null,t,e,!1,r)};vi.unmountComponentAtNode=function(t){if(!o1(t))throw Error(pe(40));return t._reactRootContainer?(Ku(function(){a1(null,null,t,!1,function(){t._reactRootContainer=null,t[ua]=null})}),!0):!1};vi.unstable_batchedUpdates=xT;vi.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!o1(r))throw Error(pe(200));if(t==null||t._reactInternals===void 0)throw Error(pe(38));return a1(t,e,r,!1,n)};vi.version="18.3.1-next-f1338f8080-20240426";function yN(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yN)}catch(t){console.error(t)}}yN(),yO.exports=vi;var mr=yO.exports,xN,II=mr;xN=II.createRoot,II.hydrateRoot;var am=t=>t.type==="checkbox",Ru=t=>t instanceof Date,wn=t=>t==null;const bN=t=>typeof t=="object";var ur=t=>!wn(t)&&!Array.isArray(t)&&bN(t)&&!Ru(t),wN=t=>ur(t)&&t.target?am(t.target)?t.target.checked:t.target.value:t,u$=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,_N=(t,e)=>t.has(u$(e)),c$=t=>{const e=t.constructor&&t.constructor.prototype;return ur(e)&&e.hasOwnProperty("isPrototypeOf")},AT=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ln(t){let e;const r=Array.isArray(t);if(t instanceof Date)e=new Date(t);else if(t instanceof Set)e=new Set(t);else if(!(AT&&(t instanceof Blob||t instanceof FileList))&&(r||ur(t)))if(e=r?[]:{},!r&&!c$(t))e=t;else for(const n in t)t.hasOwnProperty(n)&&(e[n]=Ln(t[n]));else return t;return e}var l1=t=>Array.isArray(t)?t.filter(Boolean):[],er=t=>t===void 0,Se=(t,e,r)=>{if(!e||!ur(t))return r;const n=l1(e.split(/[,[\].]+?/)).reduce((i,s)=>wn(i)?i:i[s],t);return er(n)||n===t?er(t[e])?r:t[e]:n},ki=t=>typeof t=="boolean",RT=t=>/^\w*$/.test(t),SN=t=>l1(t.replace(/["|']|\]/g,"").split(/\.|\[/)),Pt=(t,e,r)=>{let n=-1;const i=RT(e)?[e]:SN(e),s=i.length,o=s-1;for(;++n<s;){const a=i[n];let l=r;if(n!==o){const u=t[a];l=ur(u)||Array.isArray(u)?u:isNaN(+i[n+1])?{}:[]}if(a==="__proto__")return;t[a]=l,t=t[a]}return t};const qv={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},gs={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},jo={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},d$=Ie.createContext(null),PT=()=>Ie.useContext(d$);var EN=(t,e,r,n=!0)=>{const i={defaultValues:e._defaultValues};for(const s in t)Object.defineProperty(i,s,{get:()=>{const o=s;return e._proxyFormState[o]!==gs.all&&(e._proxyFormState[o]=!n||gs.all),r&&(r[o]=!0),t[o]}});return i},Bn=t=>ur(t)&&!Object.keys(t).length,TN=(t,e,r,n)=>{r(t);const{name:i,...s}=t;return Bn(s)||Object.keys(s).length>=Object.keys(e).length||Object.keys(s).find(o=>e[o]===(!n||gs.all))},zf=t=>Array.isArray(t)?t:[t],CN=(t,e,r)=>!t||!e||t===e||zf(t).some(n=>n&&(r?n===e:n.startsWith(e)||e.startsWith(n)));function IT(t){const e=Ie.useRef(t);e.current=t,Ie.useEffect(()=>{const r=!t.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{r&&r.unsubscribe()}},[t.disabled])}function h$(t){const e=PT(),{control:r=e.control,disabled:n,name:i,exact:s}=t||{},[o,a]=Ie.useState(r._formState),l=Ie.useRef(!0),u=Ie.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=Ie.useRef(i);return c.current=i,IT({disabled:n,next:h=>l.current&&CN(c.current,h.name,s)&&TN(h,u.current,r._updateFormState)&&a({...r._formState,...h}),subject:r._subjects.state}),Ie.useEffect(()=>(l.current=!0,u.current.isValid&&r._updateValid(!0),()=>{l.current=!1}),[r]),EN(o,r,u.current,!1)}var uo=t=>typeof t=="string",AN=(t,e,r,n,i)=>uo(t)?(n&&e.watch.add(t),Se(r,t,i)):Array.isArray(t)?t.map(s=>(n&&e.watch.add(s),Se(r,s))):(n&&(e.watchAll=!0),r);function f$(t){const e=PT(),{control:r=e.control,name:n,defaultValue:i,disabled:s,exact:o}=t||{},a=Ie.useRef(n);a.current=n,IT({disabled:s,subject:r._subjects.values,next:c=>{CN(a.current,c.name,o)&&u(Ln(AN(a.current,r._names,c.values||r._formValues,!1,i)))}});const[l,u]=Ie.useState(r._getWatch(n,i));return Ie.useEffect(()=>r._removeUnmounted()),l}function p$(t){const e=PT(),{name:r,disabled:n,control:i=e.control,shouldUnregister:s}=t,o=_N(i._names.array,r),a=f$({control:i,name:r,defaultValue:Se(i._formValues,r,Se(i._defaultValues,r,t.defaultValue)),exact:!0}),l=h$({control:i,name:r,exact:!0}),u=Ie.useRef(i.register(r,{...t.rules,value:a,...ki(t.disabled)?{disabled:t.disabled}:{}}));return Ie.useEffect(()=>{const c=i._options.shouldUnregister||s,h=(f,m)=>{const y=Se(i._fields,f);y&&y._f&&(y._f.mount=m)};if(h(r,!0),c){const f=Ln(Se(i._options.defaultValues,r));Pt(i._defaultValues,r,f),er(Se(i._formValues,r))&&Pt(i._formValues,r,f)}return()=>{(o?c&&!i._state.action:c)?i.unregister(r):h(r,!1)}},[r,i,o,s]),Ie.useEffect(()=>{Se(i._fields,r)&&i._updateDisabledField({disabled:n,fields:i._fields,name:r,value:Se(i._fields,r)._f.value})},[n,r,i]),{field:{name:r,value:a,...ki(n)||l.disabled?{disabled:l.disabled||n}:{},onChange:Ie.useCallback(c=>u.current.onChange({target:{value:wN(c),name:r},type:qv.CHANGE}),[r]),onBlur:Ie.useCallback(()=>u.current.onBlur({target:{value:Se(i._formValues,r),name:r},type:qv.BLUR}),[r,i]),ref:Ie.useCallback(c=>{const h=Se(i._fields,r);h&&c&&(h._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:f=>c.setCustomValidity(f),reportValidity:()=>c.reportValidity()})},[i._fields,r])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Se(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!Se(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!Se(l.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!Se(l.validatingFields,r)},error:{enumerable:!0,get:()=>Se(l.errors,r)}})}}const u1=t=>t.render(p$(t));var m$=(t,e,r,n,i)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:i||!0}}:{},MI=t=>({isOnSubmit:!t||t===gs.onSubmit,isOnBlur:t===gs.onBlur,isOnChange:t===gs.onChange,isOnAll:t===gs.all,isOnTouch:t===gs.onTouched}),kI=(t,e,r)=>!r&&(e.watchAll||e.watch.has(t)||[...e.watch].some(n=>t.startsWith(n)&&/^\.\w+/.test(t.slice(n.length))));const Hf=(t,e,r,n)=>{for(const i of r||Object.keys(t)){const s=Se(t,i);if(s){const{_f:o,...a}=s;if(o){if(o.refs&&o.refs[0]&&e(o.refs[0],i)&&!n)return!0;if(o.ref&&e(o.ref,o.name)&&!n)return!0;if(Hf(a,e))break}else if(ur(a)&&Hf(a,e))break}}};var g$=(t,e,r)=>{const n=zf(Se(t,r));return Pt(n,"root",e[r]),Pt(t,r,n),t},MT=t=>t.type==="file",ao=t=>typeof t=="function",Yv=t=>{if(!AT)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},Y0=t=>uo(t),kT=t=>t.type==="radio",Qv=t=>t instanceof RegExp;const OI={value:!1,isValid:!1},DI={value:!0,isValid:!0};var RN=t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!er(t[0].attributes.value)?er(t[0].value)||t[0].value===""?DI:{value:t[0].value,isValid:!0}:DI:OI}return OI};const NI={isValid:!1,value:null};var PN=t=>Array.isArray(t)?t.reduce((e,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:e,NI):NI;function LI(t,e,r="validate"){if(Y0(t)||Array.isArray(t)&&t.every(Y0)||ki(t)&&!t)return{type:r,message:Y0(t)?t:"",ref:e}}var Oc=t=>ur(t)&&!Qv(t)?t:{value:t,message:""},FI=async(t,e,r,n,i)=>{const{ref:s,refs:o,required:a,maxLength:l,minLength:u,min:c,max:h,pattern:f,validate:m,name:y,valueAsNumber:v,mount:x,disabled:b}=t._f,_=Se(e,y);if(!x||b)return{};const w=o?o[0]:s,E=H=>{n&&w.reportValidity&&(w.setCustomValidity(ki(H)?"":H||""),w.reportValidity())},A={},P=kT(s),I=am(s),M=P||I,N=(v||MT(s))&&er(s.value)&&er(_)||Yv(s)&&s.value===""||_===""||Array.isArray(_)&&!_.length,z=m$.bind(null,y,r,A),j=(H,F,L,O=jo.maxLength,$=jo.minLength)=>{const V=H?F:L;A[y]={type:H?O:$,message:V,ref:s,...z(H?O:$,V)}};if(i?!Array.isArray(_)||!_.length:a&&(!M&&(N||wn(_))||ki(_)&&!_||I&&!RN(o).isValid||P&&!PN(o).isValid)){const{value:H,message:F}=Y0(a)?{value:!!a,message:a}:Oc(a);if(H&&(A[y]={type:jo.required,message:F,ref:w,...z(jo.required,F)},!r))return E(F),A}if(!N&&(!wn(c)||!wn(h))){let H,F;const L=Oc(h),O=Oc(c);if(!wn(_)&&!isNaN(_)){const $=s.valueAsNumber||_&&+_;wn(L.value)||(H=$>L.value),wn(O.value)||(F=$<O.value)}else{const $=s.valueAsDate||new Date(_),V=B=>new Date(new Date().toDateString()+" "+B),k=s.type=="time",U=s.type=="week";uo(L.value)&&_&&(H=k?V(_)>V(L.value):U?_>L.value:$>new Date(L.value)),uo(O.value)&&_&&(F=k?V(_)<V(O.value):U?_<O.value:$<new Date(O.value))}if((H||F)&&(j(!!H,L.message,O.message,jo.max,jo.min),!r))return E(A[y].message),A}if((l||u)&&!N&&(uo(_)||i&&Array.isArray(_))){const H=Oc(l),F=Oc(u),L=!wn(H.value)&&_.length>+H.value,O=!wn(F.value)&&_.length<+F.value;if((L||O)&&(j(L,H.message,F.message),!r))return E(A[y].message),A}if(f&&!N&&uo(_)){const{value:H,message:F}=Oc(f);if(Qv(H)&&!_.match(H)&&(A[y]={type:jo.pattern,message:F,ref:s,...z(jo.pattern,F)},!r))return E(F),A}if(m){if(ao(m)){const H=await m(_,e),F=LI(H,w);if(F&&(A[y]={...F,...z(jo.validate,F.message)},!r))return E(F.message),A}else if(ur(m)){let H={};for(const F in m){if(!Bn(H)&&!r)break;const L=LI(await m[F](_,e),w,F);L&&(H={...L,...z(F,L.message)},E(L.message),r&&(A[y]=H))}if(!Bn(H)&&(A[y]={ref:w,...H},!r))return A}}return E(!0),A};function v$(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=er(t)?n++:t[e[n++]];return t}function y$(t){for(const e in t)if(t.hasOwnProperty(e)&&!er(t[e]))return!1;return!0}function yr(t,e){const r=Array.isArray(e)?e:RT(e)?[e]:SN(e),n=r.length===1?t:v$(t,r),i=r.length-1,s=r[i];return n&&delete n[s],i!==0&&(ur(n)&&Bn(n)||Array.isArray(n)&&y$(n))&&yr(t,r.slice(0,-1)),t}var Zb=()=>{let t=[];return{get observers(){return t},next:i=>{for(const s of t)s.next&&s.next(i)},subscribe:i=>(t.push(i),{unsubscribe:()=>{t=t.filter(s=>s!==i)}}),unsubscribe:()=>{t=[]}}},ES=t=>wn(t)||!bN(t);function qa(t,e){if(ES(t)||ES(e))return t===e;if(Ru(t)&&Ru(e))return t.getTime()===e.getTime();const r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(const i of r){const s=t[i];if(!n.includes(i))return!1;if(i!=="ref"){const o=e[i];if(Ru(s)&&Ru(o)||ur(s)&&ur(o)||Array.isArray(s)&&Array.isArray(o)?!qa(s,o):s!==o)return!1}}return!0}var IN=t=>t.type==="select-multiple",x$=t=>kT(t)||am(t),Jb=t=>Yv(t)&&t.isConnected,MN=t=>{for(const e in t)if(ao(t[e]))return!0;return!1};function Kv(t,e={}){const r=Array.isArray(t);if(ur(t)||r)for(const n in t)Array.isArray(t[n])||ur(t[n])&&!MN(t[n])?(e[n]=Array.isArray(t[n])?[]:{},Kv(t[n],e[n])):wn(t[n])||(e[n]=!0);return e}function kN(t,e,r){const n=Array.isArray(t);if(ur(t)||n)for(const i in t)Array.isArray(t[i])||ur(t[i])&&!MN(t[i])?er(e)||ES(r[i])?r[i]=Array.isArray(t[i])?Kv(t[i],[]):{...Kv(t[i])}:kN(t[i],wn(e)?{}:e[i],r[i]):r[i]=!qa(t[i],e[i]);return r}var Jh=(t,e)=>kN(t,e,Kv(e)),ON=(t,{valueAsNumber:e,valueAsDate:r,setValueAs:n})=>er(t)?t:e?t===""?NaN:t&&+t:r&&uo(t)?new Date(t):n?n(t):t;function ew(t){const e=t.ref;if(!(t.refs?t.refs.every(r=>r.disabled):e.disabled))return MT(e)?e.files:kT(e)?PN(t.refs).value:IN(e)?[...e.selectedOptions].map(({value:r})=>r):am(e)?RN(t.refs).value:ON(er(e.value)?t.ref.value:e.value,t)}var b$=(t,e,r,n)=>{const i={};for(const s of t){const o=Se(e,s);o&&Pt(i,s,o._f)}return{criteriaMode:r,names:[...t],fields:i,shouldUseNativeValidation:n}},ef=t=>er(t)?t:Qv(t)?t.source:ur(t)?Qv(t.value)?t.value.source:t.value:t;const jI="AsyncFunction";var w$=t=>(!t||!t.validate)&&!!(ao(t.validate)&&t.validate.constructor.name===jI||ur(t.validate)&&Object.values(t.validate).find(e=>e.constructor.name===jI)),_$=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate);function BI(t,e,r){const n=Se(t,r);if(n||RT(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const s=i.join("."),o=Se(e,s),a=Se(t,s);if(o&&!Array.isArray(o)&&r!==s)return{name:r};if(a&&a.type)return{name:s,error:a};i.pop()}return{name:r}}var S$=(t,e,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(e||t):(r?n.isOnBlur:i.isOnBlur)?!t:(r?n.isOnChange:i.isOnChange)?t:!0,E$=(t,e)=>!l1(Se(t,e)).length&&yr(t,e);const T$={mode:gs.onSubmit,reValidateMode:gs.onChange,shouldFocusError:!0};function C$(t={}){let e={...T$,...t},r={submitCount:0,isDirty:!1,isLoading:ao(e.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1},n={},i=ur(e.defaultValues)||ur(e.values)?Ln(e.defaultValues||e.values)||{}:{},s=e.shouldUnregister?{}:Ln(i),o={action:!1,mount:!1,watch:!1},a={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={values:Zb(),array:Zb(),state:Zb()},f=MI(e.mode),m=MI(e.reValidateMode),y=e.criteriaMode===gs.all,v=W=>J=>{clearTimeout(u),u=setTimeout(W,J)},x=async W=>{if(!e.disabled&&(c.isValid||W)){const J=e.resolver?Bn((await M()).errors):await z(n,!0);J!==r.isValid&&h.state.next({isValid:J})}},b=(W,J)=>{!e.disabled&&(c.isValidating||c.validatingFields)&&((W||Array.from(a.mount)).forEach(te=>{te&&(J?Pt(r.validatingFields,te,J):yr(r.validatingFields,te))}),h.state.next({validatingFields:r.validatingFields,isValidating:!Bn(r.validatingFields)}))},_=(W,J=[],te,be,ge=!0,ce=!0)=>{if(be&&te&&!e.disabled){if(o.action=!0,ce&&Array.isArray(Se(n,W))){const ke=te(Se(n,W),be.argA,be.argB);ge&&Pt(n,W,ke)}if(ce&&Array.isArray(Se(r.errors,W))){const ke=te(Se(r.errors,W),be.argA,be.argB);ge&&Pt(r.errors,W,ke),E$(r.errors,W)}if(c.touchedFields&&ce&&Array.isArray(Se(r.touchedFields,W))){const ke=te(Se(r.touchedFields,W),be.argA,be.argB);ge&&Pt(r.touchedFields,W,ke)}c.dirtyFields&&(r.dirtyFields=Jh(i,s)),h.state.next({name:W,isDirty:H(W,J),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Pt(s,W,J)},w=(W,J)=>{Pt(r.errors,W,J),h.state.next({errors:r.errors})},E=W=>{r.errors=W,h.state.next({errors:r.errors,isValid:!1})},A=(W,J,te,be)=>{const ge=Se(n,W);if(ge){const ce=Se(s,W,er(te)?Se(i,W):te);er(ce)||be&&be.defaultChecked||J?Pt(s,W,J?ce:ew(ge._f)):O(W,ce),o.mount&&x()}},P=(W,J,te,be,ge)=>{let ce=!1,ke=!1;const et={name:W};if(!e.disabled){const ze=!!(Se(n,W)&&Se(n,W)._f&&Se(n,W)._f.disabled);if(!te||be){c.isDirty&&(ke=r.isDirty,r.isDirty=et.isDirty=H(),ce=ke!==et.isDirty);const Ue=ze||qa(Se(i,W),J);ke=!!(!ze&&Se(r.dirtyFields,W)),Ue||ze?yr(r.dirtyFields,W):Pt(r.dirtyFields,W,!0),et.dirtyFields=r.dirtyFields,ce=ce||c.dirtyFields&&ke!==!Ue}if(te){const Ue=Se(r.touchedFields,W);Ue||(Pt(r.touchedFields,W,te),et.touchedFields=r.touchedFields,ce=ce||c.touchedFields&&Ue!==te)}ce&&ge&&h.state.next(et)}return ce?et:{}},I=(W,J,te,be)=>{const ge=Se(r.errors,W),ce=c.isValid&&ki(J)&&r.isValid!==J;if(t.delayError&&te?(l=v(()=>w(W,te)),l(t.delayError)):(clearTimeout(u),l=null,te?Pt(r.errors,W,te):yr(r.errors,W)),(te?!qa(ge,te):ge)||!Bn(be)||ce){const ke={...be,...ce&&ki(J)?{isValid:J}:{},errors:r.errors,name:W};r={...r,...ke},h.state.next(ke)}},M=async W=>{b(W,!0);const J=await e.resolver(s,e.context,b$(W||a.mount,n,e.criteriaMode,e.shouldUseNativeValidation));return b(W),J},N=async W=>{const{errors:J}=await M(W);if(W)for(const te of W){const be=Se(J,te);be?Pt(r.errors,te,be):yr(r.errors,te)}else r.errors=J;return J},z=async(W,J,te={valid:!0})=>{for(const be in W){const ge=W[be];if(ge){const{_f:ce,...ke}=ge;if(ce){const et=a.array.has(ce.name),ze=ge._f&&w$(ge._f);ze&&c.validatingFields&&b([be],!0);const Ue=await FI(ge,s,y,e.shouldUseNativeValidation&&!J,et);if(ze&&c.validatingFields&&b([be]),Ue[ce.name]&&(te.valid=!1,J))break;!J&&(Se(Ue,ce.name)?et?g$(r.errors,Ue,ce.name):Pt(r.errors,ce.name,Ue[ce.name]):yr(r.errors,ce.name))}!Bn(ke)&&await z(ke,J,te)}}return te.valid},j=()=>{for(const W of a.unMount){const J=Se(n,W);J&&(J._f.refs?J._f.refs.every(te=>!Jb(te)):!Jb(J._f.ref))&&le(W)}a.unMount=new Set},H=(W,J)=>!e.disabled&&(W&&J&&Pt(s,W,J),!qa(X(),i)),F=(W,J,te)=>AN(W,a,{...o.mount?s:er(J)?i:uo(W)?{[W]:J}:J},te,J),L=W=>l1(Se(o.mount?s:i,W,t.shouldUnregister?Se(i,W,[]):[])),O=(W,J,te={})=>{const be=Se(n,W);let ge=J;if(be){const ce=be._f;ce&&(!ce.disabled&&Pt(s,W,ON(J,ce)),ge=Yv(ce.ref)&&wn(J)?"":J,IN(ce.ref)?[...ce.ref.options].forEach(ke=>ke.selected=ge.includes(ke.value)):ce.refs?am(ce.ref)?ce.refs.length>1?ce.refs.forEach(ke=>(!ke.defaultChecked||!ke.disabled)&&(ke.checked=Array.isArray(ge)?!!ge.find(et=>et===ke.value):ge===ke.value)):ce.refs[0]&&(ce.refs[0].checked=!!ge):ce.refs.forEach(ke=>ke.checked=ke.value===ge):MT(ce.ref)?ce.ref.value="":(ce.ref.value=ge,ce.ref.type||h.values.next({name:W,values:{...s}})))}(te.shouldDirty||te.shouldTouch)&&P(W,ge,te.shouldTouch,te.shouldDirty,!0),te.shouldValidate&&B(W)},$=(W,J,te)=>{for(const be in J){const ge=J[be],ce=`${W}.${be}`,ke=Se(n,ce);(a.array.has(W)||ur(ge)||ke&&!ke._f)&&!Ru(ge)?$(ce,ge,te):O(ce,ge,te)}},V=(W,J,te={})=>{const be=Se(n,W),ge=a.array.has(W),ce=Ln(J);Pt(s,W,ce),ge?(h.array.next({name:W,values:{...s}}),(c.isDirty||c.dirtyFields)&&te.shouldDirty&&h.state.next({name:W,dirtyFields:Jh(i,s),isDirty:H(W,ce)})):be&&!be._f&&!wn(ce)?$(W,ce,te):O(W,ce,te),kI(W,a)&&h.state.next({...r}),h.values.next({name:o.mount?W:void 0,values:{...s}})},k=async W=>{o.mount=!0;const J=W.target;let te=J.name,be=!0;const ge=Se(n,te),ce=()=>J.type?ew(ge._f):wN(W),ke=et=>{be=Number.isNaN(et)||Ru(et)&&isNaN(et.getTime())||qa(et,Se(s,te,et))};if(ge){let et,ze;const Ue=ce(),$e=W.type===qv.BLUR||W.type===qv.FOCUS_OUT,pt=!_$(ge._f)&&!e.resolver&&!Se(r.errors,te)&&!ge._f.deps||S$($e,Se(r.touchedFields,te),r.isSubmitted,m,f),Pr=kI(te,a,$e);Pt(s,te,Ue),$e?(ge._f.onBlur&&ge._f.onBlur(W),l&&l(0)):ge._f.onChange&&ge._f.onChange(W);const Dt=P(te,Ue,$e,!1),ct=!Bn(Dt)||Pr;if(!$e&&h.values.next({name:te,type:W.type,values:{...s}}),pt)return c.isValid&&(t.mode==="onBlur"?$e&&x():x()),ct&&h.state.next({name:te,...Pr?{}:Dt});if(!$e&&Pr&&h.state.next({...r}),e.resolver){const{errors:Qe}=await M([te]);if(ke(Ue),be){const tn=BI(r.errors,n,te),bi=BI(Qe,n,tn.name||te);et=bi.error,te=bi.name,ze=Bn(Qe)}}else b([te],!0),et=(await FI(ge,s,y,e.shouldUseNativeValidation))[te],b([te]),ke(Ue),be&&(et?ze=!1:c.isValid&&(ze=await z(n,!0)));be&&(ge._f.deps&&B(ge._f.deps),I(te,ze,et,Dt))}},U=(W,J)=>{if(Se(r.errors,J)&&W.focus)return W.focus(),1},B=async(W,J={})=>{let te,be;const ge=zf(W);if(e.resolver){const ce=await N(er(W)?W:ge);te=Bn(ce),be=W?!ge.some(ke=>Se(ce,ke)):te}else W?(be=(await Promise.all(ge.map(async ce=>{const ke=Se(n,ce);return await z(ke&&ke._f?{[ce]:ke}:ke)}))).every(Boolean),!(!be&&!r.isValid)&&x()):be=te=await z(n);return h.state.next({...!uo(W)||c.isValid&&te!==r.isValid?{}:{name:W},...e.resolver||!W?{isValid:te}:{},errors:r.errors}),J.shouldFocus&&!be&&Hf(n,U,W?ge:a.mount),be},X=W=>{const J={...o.mount?s:i};return er(W)?J:uo(W)?Se(J,W):W.map(te=>Se(J,te))},K=(W,J)=>({invalid:!!Se((J||r).errors,W),isDirty:!!Se((J||r).dirtyFields,W),error:Se((J||r).errors,W),isValidating:!!Se(r.validatingFields,W),isTouched:!!Se((J||r).touchedFields,W)}),q=W=>{W&&zf(W).forEach(J=>yr(r.errors,J)),h.state.next({errors:W?r.errors:{}})},re=(W,J,te)=>{const be=(Se(n,W,{_f:{}})._f||{}).ref,ge=Se(r.errors,W)||{},{ref:ce,message:ke,type:et,...ze}=ge;Pt(r.errors,W,{...ze,...J,ref:be}),h.state.next({name:W,errors:r.errors,isValid:!1}),te&&te.shouldFocus&&be&&be.focus&&be.focus()},ue=(W,J)=>ao(W)?h.values.subscribe({next:te=>W(F(void 0,J),te)}):F(W,J,!0),le=(W,J={})=>{for(const te of W?zf(W):a.mount)a.mount.delete(te),a.array.delete(te),J.keepValue||(yr(n,te),yr(s,te)),!J.keepError&&yr(r.errors,te),!J.keepDirty&&yr(r.dirtyFields,te),!J.keepTouched&&yr(r.touchedFields,te),!J.keepIsValidating&&yr(r.validatingFields,te),!e.shouldUnregister&&!J.keepDefaultValue&&yr(i,te);h.values.next({values:{...s}}),h.state.next({...r,...J.keepDirty?{isDirty:H()}:{}}),!J.keepIsValid&&x()},me=({disabled:W,name:J,field:te,fields:be,value:ge})=>{if(ki(W)&&o.mount||W){const ce=W?void 0:er(ge)?ew(te?te._f:Se(be,J)._f):ge;Pt(s,J,ce),P(J,ce,!1,!1,!0)}},xe=(W,J={})=>{let te=Se(n,W);const be=ki(J.disabled)||ki(e.disabled);return Pt(n,W,{...te||{},_f:{...te&&te._f?te._f:{ref:{name:W}},name:W,mount:!0,...J}}),a.mount.add(W),te?me({field:te,disabled:ki(J.disabled)?J.disabled:e.disabled,name:W,value:J.value}):A(W,!0,J.value),{...be?{disabled:J.disabled||e.disabled}:{},...e.progressive?{required:!!J.required,min:ef(J.min),max:ef(J.max),minLength:ef(J.minLength),maxLength:ef(J.maxLength),pattern:ef(J.pattern)}:{},name:W,onChange:k,onBlur:k,ref:ge=>{if(ge){xe(W,J),te=Se(n,W);const ce=er(ge.value)&&ge.querySelectorAll&&ge.querySelectorAll("input,select,textarea")[0]||ge,ke=x$(ce),et=te._f.refs||[];if(ke?et.find(ze=>ze===ce):ce===te._f.ref)return;Pt(n,W,{_f:{...te._f,...ke?{refs:[...et.filter(Jb),ce,...Array.isArray(Se(i,W))?[{}]:[]],ref:{type:ce.type,name:W}}:{ref:ce}}}),A(W,!1,void 0,ce)}else te=Se(n,W,{}),te._f&&(te._f.mount=!1),(e.shouldUnregister||J.shouldUnregister)&&!(_N(a.array,W)&&o.action)&&a.unMount.add(W)}}},_e=()=>e.shouldFocusError&&Hf(n,U,a.mount),Te=W=>{ki(W)&&(h.state.next({disabled:W}),Hf(n,(J,te)=>{const be=Se(n,te);be&&(J.disabled=be._f.disabled||W,Array.isArray(be._f.refs)&&be._f.refs.forEach(ge=>{ge.disabled=be._f.disabled||W}))},0,!1))},de=(W,J)=>async te=>{let be;if(te&&(te.preventDefault&&te.preventDefault(),te.persist&&te.persist()),e.disabled){J&&await J({...r.errors},te);return}let ge=Ln(s);if(h.state.next({isSubmitting:!0}),e.resolver){const{errors:ce,values:ke}=await M();r.errors=ce,ge=ke}else await z(n);if(yr(r.errors,"root"),Bn(r.errors)){h.state.next({errors:{}});try{await W(ge,te)}catch(ce){be=ce}}else J&&await J({...r.errors},te),_e(),setTimeout(_e);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Bn(r.errors)&&!be,submitCount:r.submitCount+1,errors:r.errors}),be)throw be},Be=(W,J={})=>{Se(n,W)&&(er(J.defaultValue)?V(W,Ln(Se(i,W))):(V(W,J.defaultValue),Pt(i,W,Ln(J.defaultValue))),J.keepTouched||yr(r.touchedFields,W),J.keepDirty||(yr(r.dirtyFields,W),r.isDirty=J.defaultValue?H(W,Ln(Se(i,W))):H()),J.keepError||(yr(r.errors,W),c.isValid&&x()),h.state.next({...r}))},je=(W,J={})=>{const te=W?Ln(W):i,be=Ln(te),ge=Bn(W),ce=ge?i:be;if(J.keepDefaultValues||(i=te),!J.keepValues){if(J.keepDirtyValues){const ke=new Set([...a.mount,...Object.keys(Jh(i,s))]);for(const et of Array.from(ke))Se(r.dirtyFields,et)?Pt(ce,et,Se(s,et)):V(et,Se(ce,et))}else{if(AT&&er(W))for(const ke of a.mount){const et=Se(n,ke);if(et&&et._f){const ze=Array.isArray(et._f.refs)?et._f.refs[0]:et._f.ref;if(Yv(ze)){const Ue=ze.closest("form");if(Ue){Ue.reset();break}}}}n={}}s=t.shouldUnregister?J.keepDefaultValues?Ln(i):{}:Ln(ce),h.array.next({values:{...ce}}),h.values.next({values:{...ce}})}a={mount:J.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!c.isValid||!!J.keepIsValid||!!J.keepDirtyValues,o.watch=!!t.shouldUnregister,h.state.next({submitCount:J.keepSubmitCount?r.submitCount:0,isDirty:ge?!1:J.keepDirty?r.isDirty:!!(J.keepDefaultValues&&!qa(W,i)),isSubmitted:J.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:ge?{}:J.keepDirtyValues?J.keepDefaultValues&&s?Jh(i,s):r.dirtyFields:J.keepDefaultValues&&W?Jh(i,W):J.keepDirty?r.dirtyFields:{},touchedFields:J.keepTouched?r.touchedFields:{},errors:J.keepErrors?r.errors:{},isSubmitSuccessful:J.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},ut=(W,J)=>je(ao(W)?W(s):W,J);return{control:{register:xe,unregister:le,getFieldState:K,handleSubmit:de,setError:re,_executeSchema:M,_getWatch:F,_getDirty:H,_updateValid:x,_removeUnmounted:j,_updateFieldArray:_,_updateDisabledField:me,_getFieldArray:L,_reset:je,_resetDefaultValues:()=>ao(e.defaultValues)&&e.defaultValues().then(W=>{ut(W,e.resetOptions),h.state.next({isLoading:!1})}),_updateFormState:W=>{r={...r,...W}},_disableForm:Te,_subjects:h,_proxyFormState:c,_setErrors:E,get _fields(){return n},get _formValues(){return s},get _state(){return o},set _state(W){o=W},get _defaultValues(){return i},get _names(){return a},set _names(W){a=W},get _formState(){return r},set _formState(W){r=W},get _options(){return e},set _options(W){e={...e,...W}}},trigger:B,register:xe,handleSubmit:de,watch:ue,setValue:V,getValues:X,reset:ut,resetField:Be,clearErrors:q,unregister:le,setError:re,setFocus:(W,J={})=>{const te=Se(n,W),be=te&&te._f;if(be){const ge=be.refs?be.refs[0]:be.ref;ge.focus&&(ge.focus(),J.shouldSelect&&ao(ge.select)&&ge.select())}},getFieldState:K}}function OT(t={}){const e=Ie.useRef(),r=Ie.useRef(),[n,i]=Ie.useState({isDirty:!1,isValidating:!1,isLoading:ao(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,defaultValues:ao(t.defaultValues)?void 0:t.defaultValues});e.current||(e.current={...C$(t),formState:n});const s=e.current.control;return s._options=t,IT({subject:s._subjects.state,next:o=>{TN(o,s._proxyFormState,s._updateFormState,!0)&&i({...s._formState})}}),Ie.useEffect(()=>s._disableForm(t.disabled),[s,t.disabled]),Ie.useEffect(()=>{if(s._proxyFormState.isDirty){const o=s._getDirty();o!==n.isDirty&&s._subjects.state.next({isDirty:o})}},[s,n.isDirty]),Ie.useEffect(()=>{t.values&&!qa(t.values,r.current)?(s._reset(t.values,s._options.resetOptions),r.current=t.values,i(o=>({...o}))):s._resetDefaultValues()},[t.values,s]),Ie.useEffect(()=>{t.errors&&s._setErrors(t.errors)},[t.errors,s]),Ie.useEffect(()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),Ie.useEffect(()=>{t.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})},[t.shouldUnregister,s]),e.current.formState=EN(n,s),e.current}function DN(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=DN(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Re(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=DN(t))&&(n&&(n+=" "),n+=e);return n}const A$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 6a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M11 16a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),R$=A$,P$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 3c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2zm8 0H3v6h6zm4 0c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2zm8 0h-6v6h6zm-8 12c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2zm8 0h-6v6h6zM1 15c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2zm8 0H3v6h6z",clipRule:"evenodd"})]}),NN=P$,I$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.707 4.293a1 1 0 0 1 0 1.414L6.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0",clipRule:"evenodd"})]}),M$=I$,k$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L17.586 12l-6.293-6.293a1 1 0 0 1 0-1.414",clipRule:"evenodd"})]}),TS=k$,O$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#blur_svg__a)",clipRule:"evenodd",children:g.jsx("path",{d:"M17.504 1.673a1 1 0 0 1 .932.491c.37.63.9 1.935 1.404 3.18l.08.197c.502 1.24.994 2.457 1.369 3.205l-.895.447.895-.447c.561 1.122 1.962 4.049 2.136 6.753.087 1.364-.125 2.839-1.094 3.978-.987 1.16-2.573 1.76-4.757 1.76-2.186 0-3.777-.6-4.777-1.752-.983-1.134-1.221-2.604-1.152-3.973.138-2.711 1.514-5.636 2.13-6.79.86-1.611 2.414-5.32 2.874-6.433a1 1 0 0 1 .855-.616m.104 3.492c-.657 1.533-1.496 3.425-2.07 4.5-.59 1.106-1.781 3.703-1.895 5.949-.057 1.11.158 1.976.665 2.56.49.565 1.427 1.063 3.266 1.063 1.84 0 2.76-.498 3.233-1.055.492-.579.694-1.44.622-2.555-.145-2.253-1.36-4.848-1.929-5.986-.412-.823-.932-2.108-1.417-3.308l-.097-.238q-.196-.487-.378-.93M12.843 22.535a1 1 0 0 1-1.034.964l-.259-.009a1 1 0 0 1-.257-.042q-.125.029-.26.024l-.257-.009a11 11 0 0 1-2.102-.279 1 1 0 0 1 .457-1.947 9 9 0 0 0 1.715.228l.258.009q.134.004.257.042.125-.028.26-.024l.257.009a1 1 0 0 1 .965 1.034m-6.615-1.329a1 1 0 0 1-1.396.226 10.9 10.9 0 0 1-2.877-3.086 1 1 0 1 1 1.7-1.054 8.9 8.9 0 0 0 2.347 2.518 1 1 0 0 1 .226 1.396M1.622 15.22a1 1 0 0 1-1.147-.827 10.9 10.9 0 0 1 .148-4.218 1 1 0 0 1 1.947.457 8.9 8.9 0 0 0-.12 3.441 1 1 0 0 1-.828 1.147m.978-7.49a1 1 0 0 1-.226-1.397A10.9 10.9 0 0 1 5.46 3.455a1 1 0 0 1 1.054 1.7 8.9 8.9 0 0 0-2.518 2.347 1 1 0 0 1-1.396.226m5.988-4.607a1 1 0 0 1 .827-1.147 11 11 0 0 1 2.116-.132l.258.01q.135.004.257.042.125-.03.26-.025l.258.01a1 1 0 0 1-.07 1.998l-.258-.009a1 1 0 0 1-.258-.043q-.125.03-.259.025l-.258-.009a9 9 0 0 0-1.727.108 1 1 0 0 1-1.146-.828"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"blur_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),D$=O$,N$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M7 4a1 1 0 0 0-1 1v14.06l5.42-3.87a1 1 0 0 1 1.16 0L18 19.06V5a1 1 0 0 0-1-1zM4.88 2.88A3 3 0 0 1 7 2h10a3 3 0 0 1 3 3v16a1 1 0 0 1-1.58.81L12 17.23 5.58 21.8A1 1 0 0 1 4 21V5a3 3 0 0 1 .88-2.12"})]}),DT=N$,L$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 5c0 .828-.711 1.5-1.588 1.5H4.588C3.711 6.5 3 5.828 3 5s.711-1.5 1.588-1.5h14.824C20.289 3.5 21 4.172 21 5M21 12c0 .828-.711 1.5-1.588 1.5H4.588C3.711 13.5 3 12.828 3 12s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5M21 19c0 .828-.711 1.5-1.588 1.5H4.588C3.711 20.5 3 19.828 3 19s.711-1.5 1.588-1.5h14.824c.877 0 1.588.672 1.588 1.5",clipRule:"evenodd"})]}),F$=L$,j$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.222 4.222a1.1 1.1 0 0 1 1.556 0l14 14a1.1 1.1 0 1 1-1.556 1.556l-14-14a1.1 1.1 0 0 1 0-1.556",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.778 4.222a1.1 1.1 0 0 1 0 1.556l-14 14a1.1 1.1 0 1 1-1.556-1.556l14-14a1.1 1.1 0 0 1 1.556 0",clipRule:"evenodd"})]}),NT=j$,B$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M17.327 5.76a1 1 0 0 1 1.413.067l5 5.5a1 1 0 0 1 0 1.346l-5 5.5a1 1 0 1 1-1.48-1.346L21.648 12 17.26 7.173a1 1 0 0 1 .067-1.413M6.673 5.76a1 1 0 0 1 .067 1.413L2.35 12l4.389 4.827a1 1 0 0 1-1.48 1.346l-5-5.5a1 1 0 0 1 0-1.346l5-5.5a1 1 0 0 1 1.413-.067M8.979 21.609a1 1 0 0 1-.658-1.252l5.375-17.29a1 1 0 1 1 1.91.594L10.23 20.95a1 1 0 0 1-1.251.658",clipRule:"evenodd"})]}),CS=B$,U$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.676 3c.284-.672.853-1 1.263-1h11.423c.566 0 1.438.628 1.438 1.923v13.154c0 1.056-.58 1.668-1.1 1.858V6.923C19.7 4.99 18.3 3 16.061 3zm-2.272.007C4.765 1.41 6.056 0 7.939 0h11.423C21.599 0 23 1.99 23 3.923v13.154c0 1.865-1.303 3.782-3.403 3.916C19.235 22.59 17.944 24 16.06 24H4.638C2.401 24 1 22.01 1 20.077V6.923c0-1.865 1.303-3.782 3.404-3.916M3.2 6.923C3.2 5.628 4.072 5 4.638 5h11.423c.567 0 1.439.628 1.439 1.923v13.154c0 1.295-.872 1.923-1.439 1.923H4.638c-.566 0-1.438-.628-1.438-1.923z",clipRule:"evenodd"})]}),$$=U$,z$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{clipPath:"url(#crop_svg__a)",children:g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.13 1.009a1 1 0 1 0-2-.018l-.036 4.103-4.103.036a1 1 0 1 0 .018 2l4.068-.035L5 15.99V16a3 3 0 0 0 3 3h9v4a1 1 0 1 0 2 0v-4h4a1 1 0 1 0 0-2h-4V8a3 3 0 0 0-3-3l-8.905.077zm-.053 6.068L7 16.004A1 1 0 0 0 8 17h9V8a1 1 0 0 0-.996-1z",clipRule:"evenodd"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"crop_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),H$=z$,V$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.461 3.689a.96.96 0 0 1 .675-.28h3.819a.955.955 0 0 1 .954.955v.954H9.182v-.954c0-.254.1-.496.28-.675m7.357.675v.954h3.818a.955.955 0 0 1 0 1.91h-.954v12.408a2.864 2.864 0 0 1-2.864 2.864H7.273a2.864 2.864 0 0 1-2.864-2.864V7.227h-.954a.955.955 0 1 1 0-1.909h3.818v-.954A2.864 2.864 0 0 1 10.136 1.5h3.819a2.864 2.864 0 0 1 2.863 2.864m-10.5 2.863v12.41a.954.954 0 0 0 .955.954h9.545a.955.955 0 0 0 .955-.955V7.227zm3.818 2.864c.528 0 .955.427.955.955v5.727a.955.955 0 1 1-1.91 0v-5.727c0-.528.428-.955.955-.955m4.773 6.682v-5.727a.955.955 0 0 0-1.909 0v5.727a.955.955 0 1 0 1.91 0",clipRule:"evenodd"})]}),LN=V$,G$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsxs("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#download_svg__a)",clipRule:"evenodd",children:[g.jsx("path",{d:"M7.293 16.293a1 1 0 0 1 1.414 0L12 19.586l3.293-3.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414"}),g.jsx("path",{d:"M12 11a1 1 0 0 1 1 1v9a1 1 0 1 1-2 0v-9a1 1 0 0 1 1-1"}),g.jsx("path",{d:"M8.668 1.994A9 9 0 0 1 17.48 8H18a6.002 6.002 0 0 1 5.689 7.919 6 6 0 0 1-2.234 2.989 1 1 0 1 1-1.15-1.636A4 4 0 0 0 18 10H16.74a1 1 0 0 1-.969-.751A7 7 0 1 0 3.75 15.627a1 1 0 1 1-1.498 1.326A9 9 0 0 1 8.668 1.994"})]}),g.jsx("defs",{children:g.jsx("clipPath",{id:"download_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),W$=G$,X$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.879 3.879A3 3 0 0 1 4 3h7a1 1 0 1 1 0 2H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 2.879c-.297 0-.583.118-.793.328l-9.304 9.304-.529 2.115 2.115-.529 9.304-9.304A1.121 1.121 0 0 0 20 2.879m-2.207-1.086a3.121 3.121 0 0 1 4.414 4.414l-9.5 9.5a1 1 0 0 1-.464.263l-4 1a1 1 0 0 1-1.213-1.212l1-4a1 1 0 0 1 .263-.465z",clipRule:"evenodd"})]}),q$=X$,Y$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-11C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1M8.293 15.707a1 1 0 0 1 0-1.414L10.586 12 8.293 9.707a1 1 0 0 1 1.414-1.414L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414 0",clipRule:"evenodd"})]}),Q$=Y$,K$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.91 9.14v1.27H8.25a4.7 4.7 0 0 0-3.86 1.98L1.5 16.53V6.4a2.3 2.3 0 0 1 .77-1.69A2.68 2.68 0 0 1 4.11 4h3.73a2.68 2.68 0 0 1 1.84.71c.25.22.45.48.58.77s.2.6.2.92v.34h7.84c.7.01 1.35.27 1.84.71.49.45.76 1.06.77 1.7ZM8.25 11.92h14.47c.63 0 1 .68.64 1.18l-3.52 5.04a3.13 3.13 0 0 1-2.57 1.32H2.79c-.62 0-.99-.68-.64-1.18l3.53-5.04a3.13 3.13 0 0 1 2.57-1.32",clipRule:"evenodd"})]}),FN=K$,Z$=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.093 2.58A1 1 0 0 1 2 2h20a1 1 0 0 1 .764 1.646L15 12.826V21a1 1 0 0 1-1.447.894l-4-2A1 1 0 0 1 9 19v-6.174l-7.764-9.18a1 1 0 0 1-.143-1.067M4.155 4l6.609 7.814a1 1 0 0 1 .236.646v5.922l2 1V12.46a1 1 0 0 1 .236-.646L19.845 4z",clipRule:"evenodd"})]}),J$=Z$,ez=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.057 5.5A.057.057 0 0 0 3 5.557v13.03h18V7.875h-8.697a1 1 0 0 1-1-1c0-.759-.615-1.374-1.374-1.374zM1 5.557C1 4.42 1.92 3.5 3.057 3.5h6.872c1.515 0 2.797.999 3.223 2.374H21a2 2 0 0 1 2 2v10.714a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2z",clipRule:"evenodd"})]}),jN=ez,tz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.726 3.29A9.01 9.01 0 0 0 3.055 11H7.05a16.3 16.3 0 0 1 2.676-7.71m4.548 0A16.3 16.3 0 0 1 16.95 11h3.995a9.01 9.01 0 0 0-6.67-7.71m.668 7.71A14.3 14.3 0 0 0 12 3.55 14.3 14.3 0 0 0 9.058 11zm-5.884 2h5.884A14.3 14.3 0 0 1 12 20.45 14.3 14.3 0 0 1 9.058 13M7.05 13H3.055a9.01 9.01 0 0 0 6.67 7.71A16.3 16.3 0 0 1 7.05 13m7.224 7.71A16.3 16.3 0 0 0 16.95 13h3.995a9.01 9.01 0 0 1-6.67 7.71M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11",clipRule:"evenodd"})]}),LT=tz,rz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.01 17a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v5a1 1 0 0 1-1 1M13.01 7.5a1 1 0 0 1-1 1H12a1 1 0 1 1 0-2h.01a1 1 0 0 1 1 1",clipRule:"evenodd"})]}),BN=rz,nz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.222 5.037c-.895 0-1.222.555-1.222.792v12.675c0 .237.327.792 1.222.792h1.364l9.707-9.886a.987.987 0 0 1 1.414 0L21 13.782V5.829c0-.237-.328-.792-1.222-.792zM23 16.224V5.829C23 4.066 21.337 3 19.778 3H4.222C2.662 3 1 4.066 1 5.83v12.674c0 1.763 1.662 2.829 3.222 2.829h15.556c1.56 0 3.222-1.066 3.222-2.83v-2.279m-2 .439-5-5.093-7.585 7.726h11.363c.894 0 1.222-.555 1.222-.792zM8 8.093c-.552 0-1 .455-1 1.018a1.01 1.01 0 0 0 1 1.018c.552 0 1-.456 1-1.018a1.01 1.01 0 0 0-1-1.019M5 9.11c0-1.688 1.343-3.056 3-3.056s3 1.368 3 3.056-1.343 3.055-3 3.055-3-1.368-3-3.055",clipRule:"evenodd"})]}),iz=nz,sz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.672 5.558a7.96 7.96 0 0 0-9.841.397 7.95 7.95 0 0 0-1.908 9.66 7.964 7.964 0 0 0 8.949 4.12A7.95 7.95 0 0 0 19.962 12a1.021 1.021 0 1 1 2.045 0A9.994 9.994 0 0 1 7.83 21.083a10.01 10.01 0 0 1-5.634-11.027 9.99 9.99 0 0 1 9.402-8.048c2.244-.09 4.453.577 6.272 1.895a1.022 1.022 0 1 1-1.198 1.655",clipRule:"evenodd"})]}),UN=sz,oz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 .5a4.07 4.07 0 0 0-2.812 1.115A3.8 3.8 0 0 0 8 4.364V12a3.8 3.8 0 0 0 1.188 2.748A4.07 4.07 0 0 0 12 15.864a4.07 4.07 0 0 0 2.812-1.116A3.8 3.8 0 0 0 16 12V4.364a3.8 3.8 0 0 0-1.188-2.749A4.07 4.07 0 0 0 12 .5m-1.43 2.562A2.07 2.07 0 0 1 12 2.5c.545 0 1.059.207 1.43.562.371.354.57.823.57 1.302V12a1.8 1.8 0 0 1-.57 1.302 2.07 2.07 0 0 1-1.43.562 2.07 2.07 0 0 1-1.43-.562A1.8 1.8 0 0 1 10 12V4.364a1.8 1.8 0 0 1 .57-1.302M6 10.091a1 1 0 0 0-2 0V12c0 2.053.855 4.011 2.36 5.448A8.13 8.13 0 0 0 11 19.622V21.5H8a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-3v-1.878a8.13 8.13 0 0 0 4.64-2.174C19.145 16.011 20 14.053 20 12v-1.91a1 1 0 0 0-2 0V12c0 1.491-.62 2.932-1.74 4.001s-2.646 1.678-4.248 1.68h-.024c-1.602-.002-3.128-.611-4.247-1.68C6.62 14.931 6 13.491 6 12z",clipRule:"evenodd"})]}),c1=oz,az=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("circle",{cx:12,cy:4,r:2.5,fill:"currentColor"}),g.jsx("circle",{cx:12,cy:12,r:2.5,fill:"currentColor"}),g.jsx("circle",{cx:12,cy:20,r:2.5,fill:"currentColor"})]}),lz=az,uz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.968 3c-.775 0-1.517.306-2.062.847l-8.983 8.918a4.8 4.8 0 0 0-1.423 3.41c0 1.277.511 2.504 1.423 3.41A4.9 4.9 0 0 0 8.368 21a4.9 4.9 0 0 0 3.445-1.416l8.983-8.918a1 1 0 1 1 1.409 1.42l-8.983 8.917A6.9 6.9 0 0 1 8.368 23a6.9 6.9 0 0 1-4.854-1.997A6.8 6.8 0 0 1 1.5 16.174c0-1.812.725-3.549 2.014-4.828l8.983-8.918A4.93 4.93 0 0 1 15.967 1c1.301 0 2.55.513 3.471 1.428a4.87 4.87 0 0 1 1.442 3.456 4.87 4.87 0 0 1-1.442 3.455l-8.992 8.918a2.965 2.965 0 0 1-4.175 0 2.935 2.935 0 0 1 0-4.165l8.299-8.23a1 1 0 0 1 1.408 1.42l-8.298 8.23a.935.935 0 0 0 0 1.326.963.963 0 0 0 1.357 0l8.992-8.918c.545-.541.85-1.274.85-2.036a2.87 2.87 0 0 0-.85-2.037A2.93 2.93 0 0 0 15.968 3",clipRule:"evenodd"})]}),cz=uz,dz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 2h3v16h-3zm10-2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 2h3v16h-3z",clipRule:"evenodd"})]}),FT=dz,hz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M5 3.804c0-1.57 1.728-2.528 3.06-1.696l13.113 8.196a2 2 0 0 1 0 3.392L8.06 21.892C6.728 22.724 5 21.767 5 20.196z"})]}),$N=hz,fz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 4a1 1 0 1 0-2 0v7H4a1 1 0 1 0 0 2h7v7a1 1 0 1 0 2 0v-7h7a1 1 0 1 0 0-2h-7z",clipRule:"evenodd"})]}),d1=fz,pz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.012 7.871a1.5 1.5 0 0 1 2.117.141L12 14.722l5.871-6.71a1.5 1.5 0 1 1 2.258 1.976l-7 8a1.5 1.5 0 0 1-2.258 0l-7-8a1.5 1.5 0 0 1 .141-2.117",clipRule:"evenodd"})]}),Tp=pz,mz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.871 19.988a1.5 1.5 0 0 1 .141-2.117L14.722 12l-6.71-5.871A1.5 1.5 0 0 1 9.988 3.87l8 7a1.5 1.5 0 0 1 0 2.258l-8 7a1.5 1.5 0 0 1-2.117-.141",clipRule:"evenodd"})]}),zN=mz,gz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.988 17.129a1.5 1.5 0 0 1-2.117-.141L12 10.278l-5.871 6.71a1.5 1.5 0 0 1-2.258-1.976l7-8a1.5 1.5 0 0 1 2.258 0l7 8a1.5 1.5 0 0 1-.141 2.117",clipRule:"evenodd"})]}),vz=gz,yz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11M10 6H8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1m4 0h2a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),xz=yz,bz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M2 6a4 4 0 0 1 4-4h12a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4z"})]}),wz=bz,_z=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-1.936l4.409 1.365A2 2 0 0 0 24 15.519V8.48a2 2 0 0 0-2.591-1.91l-4.41 1.364V6a2 2 0 0 0-2-2zm0 2h13v12H2zm15 7.97V10.03l5-1.548v7.037z",clipRule:"evenodd"})]}),HN=_z,Sz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("circle",{cx:12,cy:12,r:11,fill:"currentColor"})]}),Zv=Sz,Ez=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{clipPath:"url(#refresh_svg__a)",children:g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.304 21c3.015 0 5.65-1.924 6.838-4.752a.986.986 0 0 1 1.297-.53c.503.216.738.803.524 1.311C19.498 20.522 16.19 23 12.304 23c-4.644 0-8.444-3.522-9.299-8.113L1.86 17.142a.99.99 0 0 1-1.33.449 1 1 0 0 1-.417-1.348L2.51 11.52c.135-.265.376-.457.66-.527a.96.96 0 0 1 .812.169L8.1 14.297c.433.33.515.958.185 1.404a.98.98 0 0 1-1.382.212L4.93 14.41c.65 3.785 3.744 6.59 7.374 6.59m4.794-12.913a.98.98 0 0 0-1.381.211 1.01 1.01 0 0 0 .184 1.405l4.117 3.135a.96.96 0 0 0 .812.169c.284-.07.525-.262.66-.527l2.398-4.723c.252-.496.065-1.1-.418-1.348a.99.99 0 0 0-1.329.449l-1.145 2.255C20.14 4.522 16.34 1 11.696 1 7.81 1 4.505 3.478 3.037 6.97a1.004 1.004 0 0 0 .525 1.312.986.986 0 0 0 1.297-.53C6.046 4.924 8.681 3 11.697 3c3.63 0 6.724 2.805 7.374 6.59z",clipRule:"evenodd"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"refresh_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),VN=Ez,Tz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.583 7.313 3.976 3.87a.996.996 0 1 0-1.96.346l1.012 5.747a.996.996 0 0 0 1.153.809l5.743-1.014a.997.997 0 0 0-.346-1.962l-3.3.582a7.754 7.754 0 0 1 8.399-4.254 7.76 7.76 0 0 1 .78 15.064 7.745 7.745 0 0 1-8.912-3.56.995.995 0 1 0-1.724.997 9.744 9.744 0 0 0 11.201 4.474 9.74 9.74 0 0 0 5.19-3.718 9.756 9.756 0 0 0-.625-12.055A9.74 9.74 0 0 0 8.73 3.117a9.75 9.75 0 0 0-4.147 4.196",clipRule:"evenodd"})]}),GN=Tz,Cz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M17.919 3.15c1.33-.856 3.081.1 3.081 1.682v14.336c0 1.583-1.75 2.538-3.081 1.683L7 13.83V19a2 2 0 1 1-4 0V5a2 2 0 1 1 4 0v5.168z"})]}),Az=Cz,Rz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h1v-7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7h1a1 1 0 0 0 1-1V8.414L15.586 4H8v3h7a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1V4zm2-2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V8a1 1 0 0 0-.293-.707l-5-5A1 1 0 0 0 16 2zm1 12v6h8v-6z",clipRule:"evenodd"})]}),jT=Rz,Pz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0m7-9a9 9 0 1 0 5.7 15.96 1 1 0 0 0 .24.4l4.35 4.35a1 1 0 0 0 1.42-1.42l-4.35-4.35a1 1 0 0 0-.4-.24A9 9 0 0 0 11 1",clipRule:"evenodd"})]}),AS=Pz,Iz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zM4 4a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3z",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 18a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Mz=Iz,kz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.133 6.173c-.026.023-.133.118-.133.541v.715h2v-.715c0-.423-.107-.518-.133-.541C17.805 6.12 17.594 6 17 6s-.805.12-.867.173M20 6.714c0-.76-.203-1.521-.832-2.06C18.575 4.145 17.786 4 17 4s-1.575.145-2.168.654c-.629.539-.832 1.3-.832 2.06V11a1 1 0 1 0 2 0V9.429h2V11a1 1 0 1 0 2 0zM14 14a1 1 0 0 1 1-1h4a1 1 0 0 1 .832 1.555L16.87 19H19a1 1 0 1 1 0 2h-4a1 1 0 0 1-.832-1.555L17.132 15H15a1 1 0 0 1-1-1M3.293 16.293a1 1 0 0 1 1.414 0L7 18.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 0-1.414",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 4a1 1 0 0 1 1 1v15a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),Oz=kz,Dz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.133 6.173c-.026.023-.133.118-.133.541v.715h2v-.715c0-.423-.107-.518-.133-.541C17.805 6.12 17.594 6 17 6s-.805.12-.867.173M20 6.714c0-.76-.203-1.521-.832-2.06C18.575 4.145 17.786 4 17 4s-1.575.145-2.168.654c-.629.539-.832 1.3-.832 2.06V11a1 1 0 1 0 2 0V9.429h2V11a1 1 0 1 0 2 0zM14 14a1 1 0 0 1 1-1h4a1 1 0 0 1 .832 1.555L16.87 19H19a1 1 0 1 1 0 2h-4a1 1 0 0 1-.832-1.555L17.132 15H15a1 1 0 0 1-1-1M3.293 8.707a1 1 0 0 0 1.414 0L7 6.414l2.293 2.293a1 1 0 0 0 1.414-1.414l-3-3a1 1 0 0 0-1.414 0l-3 3a1 1 0 0 0 0 1.414",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 21a1 1 0 0 0 1-1V5a1 1 0 0 0-2 0v15a1 1 0 0 0 1 1",clipRule:"evenodd"})]}),Nz=Dz,Lz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.509 6.027a6.138 6.138 0 1 1-.28 12.099 1 1 0 1 0-.383 1.963A8.138 8.138 0 1 0 9.653 5.488a1 1 0 1 0 1.168 1.624 6.1 6.1 0 0 1 2.688-1.085",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.38 8.252a1 1 0 0 0-1 1v3.8a1 1 0 0 0 .456.838l2.052 1.332a1 1 0 0 0 1.089-1.678l-1.597-1.036V9.252a1 1 0 0 0-1-1M1.793 16.293a1 1 0 0 1 1.414 0L5.5 18.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 0-1.414",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 4a1 1 0 0 0-1 1v15a1 1 0 1 0 2 0V5a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),Fz=Lz,jz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.59 8.192a1 1 0 0 1 .218 1.397l-4.375 6a1 1 0 0 1-1.584.042L8.224 12.4a1 1 0 0 1 1.552-1.261l1.806 2.223 3.61-4.951a1 1 0 0 1 1.397-.219",clipRule:"evenodd"})]}),WN=jz,Bz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.286 3c-.35 0-.68.135-.92.368-.238.231-.366.54-.366.854v15.556c0 .315.128.623.367.854.239.233.569.368.919.368h11.428c.35 0 .68-.135.92-.368.238-.231.366-.54.366-.854V8h-3a2 2 0 0 1-2-2V3zM16 6h1.986L16 4.08zm5 13.778V6.556a1 1 0 0 0-.305-.72L15.98 1.281A1 1 0 0 0 15.286 1h-9a3.32 3.32 0 0 0-2.314.934A3.2 3.2 0 0 0 3 4.222v15.556c0 .864.353 1.686.972 2.288S5.423 23 6.286 23h11.428c.863 0 1.695-.333 2.314-.934.619-.602.972-1.424.972-2.288M8 6a1 1 0 0 0 0 2h3a1 1 0 1 0 0-2zm-1 6a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m5 4a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2z",clipRule:"evenodd"})]}),Uz=Bz,$z=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.707 13.707a1 1 0 0 0 0-1.414L5.414 8l4.293-4.293a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0 0 1.414l5 5a1 1 0 0 0 1.414 0",clipRule:"evenodd"}),g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 20a1 1 0 0 0 1-1v-7a5 5 0 0 0-5-5H4a1 1 0 1 0 0 2h12a3 3 0 0 1 3 3v7a1 1 0 0 0 1 1",clipRule:"evenodd"})]}),zz=$z,Hz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{fill:"currentColor",fillRule:"evenodd",clipPath:"url(#users_svg__a)",clipRule:"evenodd",children:g.jsx("path",{d:"M19.055 12.803a1 1 0 0 1 1.272-.618c1.128.39 2.061 1.247 2.7 2.351.64 1.106.972 2.435.973 3.782V21a1 1 0 1 1-2 0v-2.681c0-1.03-.258-2.009-.704-2.782-.448-.773-1.034-1.258-1.623-1.462a1 1 0 0 1-.618-1.272M15.187 1.384a1 1 0 0 1 1.036-.962 5.129 5.129 0 0 1 2.11 9.71 1 1 0 1 1-.896-1.788 3.129 3.129 0 0 0-1.288-5.924 1 1 0 0 1-.962-1.036M1.505 15.694C2.481 14.622 3.825 14 5.25 14h8.5c1.424 0 2.769.622 3.744 1.694.974 1.068 1.506 2.498 1.506 3.973V22a1 1 0 1 1-2 0v-2.333c0-1.001-.363-1.945-.984-2.627-.618-.679-1.436-1.04-2.266-1.04h-8.5c-.83 0-1.648.361-2.266 1.04-.621.682-.984 1.626-.984 2.627V22a1 1 0 1 1-2 0v-2.333c0-1.475.533-2.905 1.505-3.974M9.5 3a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M4 6.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"users_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),BT=Hz,Vz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 4.962C4 4.376 4.435 4 4.853 4H6.5v2H4zM4 8h2.5v3H4zm-2 4V4.962C2 3.381 3.224 2 4.853 2h13.294C19.776 2 21 3.38 21 4.962v14.076C21 20.619 19.776 22 18.147 22H4.853C3.224 22 2 20.62 2 19.038zm17-6V4.962c0-.586-.435-.962-.853-.962H16.5v2zm0 2h-2.5v3H19zm-2.5 5H19v3h-2.5zm0 5H19v1.038c0 .586-.435.962-.853.962H16.5zm-2-7V4h-6v7zm-6 2h6v7h-6zm-2 5v2H4.853C4.435 20 4 19.624 4 19.038V18zm0-2v-3H4v3z",clipRule:"evenodd"})]}),Gz=Vz,Wz=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 0a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 0 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1m9.914 2a2 2 0 0 0-2.828 0L1 18.086a2 2 0 0 0 0 2.828L3.086 23a2 2 0 0 0 2.828 0L22 6.914a2 2 0 0 0 0-2.828zm-3.75 3.75L18.5 3.414 20.586 5.5 18.25 7.836zM14.75 7.164 2.414 19.5 4.5 21.586 16.836 9.25zM21 13a1 1 0 1 0-2 0 1 1 0 0 1-1 1 1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 1 1 0 0 1 1-1 1 1 0 1 0 0-2 1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Xz=Wz;function XN(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Pu(t){return t instanceof Element||t instanceof XN(t).Element}function qz(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof XN(t).ShadowRoot}function Q0(t,e){if(!t||!e)return!1;const r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&qz(r)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}function qN(t,e){const r=["mouse","pen"];return r.push("",void 0),r.includes(t)}function $g(t){return(t==null?void 0:t.ownerDocument)||document}function Yz(t){return"composedPath"in t?t.composedPath()[0]:t.target}const Cp=Math.min,Li=Math.max,Jv=Math.round,zg=Math.floor,go=t=>({x:t,y:t}),Qz={left:"right",right:"left",bottom:"top",top:"bottom"},Kz={start:"end",end:"start"};function h1(t,e){return typeof t=="function"?t(e):t}function Zu(t){return t.split("-")[0]}function lm(t){return t.split("-")[1]}function Zz(t){return t==="x"?"y":"x"}function YN(t){return t==="y"?"height":"width"}function Kd(t){return["top","bottom"].includes(Zu(t))?"y":"x"}function QN(t){return Zz(Kd(t))}function Jz(t,e,r){r===void 0&&(r=!1);const n=lm(t),i=QN(t),s=YN(i);let o=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(o=ey(o)),[o,ey(o)]}function eH(t){const e=ey(t);return[RS(t),e,RS(e)]}function RS(t){return t.replace(/start|end/g,e=>Kz[e])}function tH(t,e,r){const n=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?s:o;default:return[]}}function rH(t,e,r,n){const i=lm(t);let s=tH(Zu(t),r==="start",n);return i&&(s=s.map(o=>o+"-"+i),e&&(s=s.concat(s.map(RS)))),s}function ey(t){return t.replace(/left|right|bottom|top/g,e=>Qz[e])}function nH(t){return{top:0,right:0,bottom:0,left:0,...t}}function iH(t){return typeof t!="number"?nH(t):{top:t,right:t,bottom:t,left:t}}function ty(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function UI(t,e,r){let{reference:n,floating:i}=t;const s=Kd(e),o=QN(e),a=YN(o),l=Zu(e),u=s==="y",c=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,f=n[a]/2-i[a]/2;let m;switch(l){case"top":m={x:c,y:n.y-i.height};break;case"bottom":m={x:c,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:h};break;case"left":m={x:n.x-i.width,y:h};break;default:m={x:n.x,y:n.y}}switch(lm(e)){case"start":m[o]-=f*(r&&u?-1:1);break;case"end":m[o]+=f*(r&&u?-1:1);break}return m}const sH=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let u=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:h}=UI(u,n,l),f=n,m={},y=0;for(let v=0;v<a.length;v++){const{name:x,fn:b}=a[v],{x:_,y:w,data:E,reset:A}=await b({x:c,y:h,initialPlacement:n,placement:f,strategy:i,middlewareData:m,rects:u,platform:o,elements:{reference:t,floating:e}});c=_??c,h=w??h,m={...m,[x]:{...m[x],...E}},A&&y<=50&&(y++,typeof A=="object"&&(A.placement&&(f=A.placement),A.rects&&(u=A.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:c,y:h}=UI(u,f,l)),v=-1)}return{x:c,y:h,placement:f,strategy:i,middlewareData:m}};async function KN(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:s,rects:o,elements:a,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:f=!1,padding:m=0}=h1(e,t),y=iH(m),x=a[f?h==="floating"?"reference":"floating":h],b=ty(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(x)))==null||r?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),_=h==="floating"?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),E=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},A=ty(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:_,offsetParent:w,strategy:l}):_);return{top:(b.top-A.top+y.top)/E.y,bottom:(A.bottom-b.bottom+y.bottom)/E.y,left:(b.left-A.left+y.left)/E.x,right:(A.right-b.right+y.right)/E.x}}const oH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=e,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...x}=h1(t,e);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const b=Zu(i),_=Kd(a),w=Zu(a)===a,E=await(l.isRTL==null?void 0:l.isRTL(u.floating)),A=f||(w||!v?[ey(a)]:eH(a)),P=y!=="none";!f&&P&&A.push(...rH(a,v,y,E));const I=[a,...A],M=await KN(e,x),N=[];let z=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&N.push(M[b]),h){const L=Jz(i,o,E);N.push(M[L[0]],M[L[1]])}if(z=[...z,{placement:i,overflows:N}],!N.every(L=>L<=0)){var j,H;const L=(((j=s.flip)==null?void 0:j.index)||0)+1,O=I[L];if(O)return{data:{index:L,overflows:z},reset:{placement:O}};let $=(H=z.filter(V=>V.overflows[0]<=0).sort((V,k)=>V.overflows[1]-k.overflows[1])[0])==null?void 0:H.placement;if(!$)switch(m){case"bestFit":{var F;const V=(F=z.filter(k=>{if(P){const U=Kd(k.placement);return U===_||U==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(U=>U>0).reduce((U,B)=>U+B,0)]).sort((k,U)=>k[1]-U[1])[0])==null?void 0:F[0];V&&($=V);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};async function aH(t,e){const{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),o=Zu(r),a=lm(r),l=Kd(r)==="y",u=["left","top"].includes(o)?-1:1,c=s&&l?-1:1,h=h1(e,t);let{mainAxis:f,crossAxis:m,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof y=="number"&&(m=a==="end"?y*-1:y),l?{x:m*c,y:f*u}:{x:f*u,y:m*c}}const lH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:i,y:s,placement:o,middlewareData:a}=e,l=await aH(e,t);return o===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},uH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:i,rects:s,platform:o,elements:a}=e,{apply:l=()=>{},...u}=h1(t,e),c=await KN(e,u),h=Zu(i),f=lm(i),m=Kd(i)==="y",{width:y,height:v}=s.floating;let x,b;h==="top"||h==="bottom"?(x=h,b=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(b=h,x=f==="end"?"top":"bottom");const _=v-c.top-c.bottom,w=y-c.left-c.right,E=Cp(v-c[x],_),A=Cp(y-c[b],w),P=!e.middlewareData.shift;let I=E,M=A;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(M=w),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(I=_),P&&!f){const z=Li(c.left,0),j=Li(c.right,0),H=Li(c.top,0),F=Li(c.bottom,0);m?M=y-2*(z!==0||j!==0?z+j:Li(c.left,c.right)):I=v-2*(H!==0||F!==0?H+F:Li(c.top,c.bottom))}await l({...e,availableWidth:M,availableHeight:I});const N=await o.getDimensions(a.floating);return y!==N.width||v!==N.height?{reset:{rects:!0}}:{}}}};function f1(){return typeof window<"u"}function hh(t){return ZN(t)?(t.nodeName||"").toLowerCase():"#document"}function fi(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Io(t){var e;return(e=(ZN(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ZN(t){return f1()?t instanceof Node||t instanceof fi(t).Node:!1}function As(t){return f1()?t instanceof Element||t instanceof fi(t).Element:!1}function bo(t){return f1()?t instanceof HTMLElement||t instanceof fi(t).HTMLElement:!1}function $I(t){return!f1()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof fi(t).ShadowRoot}function um(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=Rs(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function cH(t){return["table","td","th"].includes(hh(t))}function p1(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function UT(t){const e=$T(),r=As(t)?Rs(t):t;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function dH(t){let e=Pl(t);for(;bo(e)&&!Zd(e);){if(UT(e))return e;if(p1(e))return null;e=Pl(e)}return null}function $T(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zd(t){return["html","body","#document"].includes(hh(t))}function Rs(t){return fi(t).getComputedStyle(t)}function m1(t){return As(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pl(t){if(hh(t)==="html")return t;const e=t.assignedSlot||t.parentNode||$I(t)&&t.host||Io(t);return $I(e)?e.host:e}function JN(t){const e=Pl(t);return Zd(e)?t.ownerDocument?t.ownerDocument.body:t.body:bo(e)&&um(e)?e:JN(e)}function Ap(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=JN(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),o=fi(i);if(s){const a=PS(o);return e.concat(o,o.visualViewport||[],um(i)?i:[],a&&r?Ap(a):[])}return e.concat(i,Ap(i,[],r))}function PS(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function eL(t){const e=Rs(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=bo(t),s=i?t.offsetWidth:r,o=i?t.offsetHeight:n,a=Jv(r)!==s||Jv(n)!==o;return a&&(r=s,n=o),{width:r,height:n,$:a}}function zT(t){return As(t)?t:t.contextElement}function yd(t){const e=zT(t);if(!bo(e))return go(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:s}=eL(e);let o=(s?Jv(r.width):r.width)/n,a=(s?Jv(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const hH=go(0);function tL(t){const e=fi(t);return!$T()||!e.visualViewport?hH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function fH(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==fi(t)?!1:e}function Ju(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),s=zT(t);let o=go(1);e&&(n?As(n)&&(o=yd(n)):o=yd(t));const a=fH(s,r,n)?tL(s):go(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,h=i.height/o.y;if(s){const f=fi(s),m=n&&As(n)?fi(n):n;let y=f,v=PS(y);for(;v&&n&&m!==y;){const x=yd(v),b=v.getBoundingClientRect(),_=Rs(v),w=b.left+(v.clientLeft+parseFloat(_.paddingLeft))*x.x,E=b.top+(v.clientTop+parseFloat(_.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,h*=x.y,l+=w,u+=E,y=fi(v),v=PS(y)}}return ty({width:c,height:h,x:l,y:u})}function HT(t,e){const r=m1(t).scrollLeft;return e?e.left+r:Ju(Io(t)).left+r}function rL(t,e,r){r===void 0&&(r=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(r?0:HT(t,n)),s=n.top+e.scrollTop;return{x:i,y:s}}function pH(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const s=i==="fixed",o=Io(n),a=e?p1(e.floating):!1;if(n===o||a&&s)return r;let l={scrollLeft:0,scrollTop:0},u=go(1);const c=go(0),h=bo(n);if((h||!h&&!s)&&((hh(n)!=="body"||um(o))&&(l=m1(n)),bo(n))){const m=Ju(n);u=yd(n),c.x=m.x+n.clientLeft,c.y=m.y+n.clientTop}const f=o&&!h&&!s?rL(o,l,!0):go(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:r.y*u.y-l.scrollTop*u.y+c.y+f.y}}function mH(t){return Array.from(t.getClientRects())}function gH(t){const e=Io(t),r=m1(t),n=t.ownerDocument.body,i=Li(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=Li(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+HT(t);const a=-r.scrollTop;return Rs(n).direction==="rtl"&&(o+=Li(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:o,y:a}}function vH(t,e){const r=fi(t),n=Io(t),i=r.visualViewport;let s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=$T();(!u||u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function yH(t,e){const r=Ju(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=bo(t)?yd(t):go(1),o=t.clientWidth*s.x,a=t.clientHeight*s.y,l=i*s.x,u=n*s.y;return{width:o,height:a,x:l,y:u}}function zI(t,e,r){let n;if(e==="viewport")n=vH(t,r);else if(e==="document")n=gH(Io(t));else if(As(e))n=yH(e,r);else{const i=tL(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ty(n)}function nL(t,e){const r=Pl(t);return r===e||!As(r)||Zd(r)?!1:Rs(r).position==="fixed"||nL(r,e)}function xH(t,e){const r=e.get(t);if(r)return r;let n=Ap(t,[],!1).filter(a=>As(a)&&hh(a)!=="body"),i=null;const s=Rs(t).position==="fixed";let o=s?Pl(t):t;for(;As(o)&&!Zd(o);){const a=Rs(o),l=UT(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||um(o)&&!l&&nL(t,o))?n=n.filter(c=>c!==o):i=a,o=Pl(o)}return e.set(t,n),n}function bH(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const o=[...r==="clippingAncestors"?p1(e)?[]:xH(e,this._c):[].concat(r),n],a=o[0],l=o.reduce((u,c)=>{const h=zI(e,c,i);return u.top=Li(h.top,u.top),u.right=Cp(h.right,u.right),u.bottom=Cp(h.bottom,u.bottom),u.left=Li(h.left,u.left),u},zI(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function wH(t){const{width:e,height:r}=eL(t);return{width:e,height:r}}function _H(t,e,r){const n=bo(e),i=Io(e),s=r==="fixed",o=Ju(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const l=go(0);if(n||!n&&!s)if((hh(e)!=="body"||um(i))&&(a=m1(e)),n){const f=Ju(e,!0,s,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=HT(i));const u=i&&!n&&!s?rL(i,a):go(0),c=o.left+a.scrollLeft-l.x-u.x,h=o.top+a.scrollTop-l.y-u.y;return{x:c,y:h,width:o.width,height:o.height}}function tw(t){return Rs(t).position==="static"}function HI(t,e){if(!bo(t)||Rs(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Io(t)===r&&(r=r.ownerDocument.body),r}function iL(t,e){const r=fi(t);if(p1(t))return r;if(!bo(t)){let i=Pl(t);for(;i&&!Zd(i);){if(As(i)&&!tw(i))return i;i=Pl(i)}return r}let n=HI(t,e);for(;n&&cH(n)&&tw(n);)n=HI(n,e);return n&&Zd(n)&&tw(n)&&!UT(n)?r:n||dH(t)||r}const SH=async function(t){const e=this.getOffsetParent||iL,r=this.getDimensions,n=await r(t.floating);return{reference:_H(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function EH(t){return Rs(t).direction==="rtl"}const TH={convertOffsetParentRelativeRectToViewportRelativeRect:pH,getDocumentElement:Io,getClippingRect:bH,getOffsetParent:iL,getElementRects:SH,getClientRects:mH,getDimensions:wH,getScale:yd,isElement:As,isRTL:EH};function CH(t,e){let r=null,n;const i=Io(t);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const{left:u,top:c,width:h,height:f}=t.getBoundingClientRect();if(a||e(),!h||!f)return;const m=zg(c),y=zg(i.clientWidth-(u+h)),v=zg(i.clientHeight-(c+f)),x=zg(u),_={rootMargin:-m+"px "+-y+"px "+-v+"px "+-x+"px",threshold:Li(0,Cp(1,l))||1};let w=!0;function E(A){const P=A[0].intersectionRatio;if(P!==l){if(!w)return o();P?o(!1,P):n=setTimeout(()=>{o(!1,1e-7)},1e3)}w=!1}try{r=new IntersectionObserver(E,{..._,root:i.ownerDocument})}catch{r=new IntersectionObserver(E,_)}r.observe(t)}return o(!0),s}function AH(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=zT(t),c=i||s?[...u?Ap(u):[],...Ap(e)]:[];c.forEach(b=>{i&&b.addEventListener("scroll",r,{passive:!0}),s&&b.addEventListener("resize",r)});const h=u&&a?CH(u,r):null;let f=-1,m=null;o&&(m=new ResizeObserver(b=>{let[_]=b;_&&_.target===u&&m&&(m.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(e)})),r()}),u&&!l&&m.observe(u),m.observe(e));let y,v=l?Ju(t):null;l&&x();function x(){const b=Ju(t);v&&(b.x!==v.x||b.y!==v.y||b.width!==v.width||b.height!==v.height)&&r(),v=b,y=requestAnimationFrame(x)}return r(),()=>{var b;c.forEach(_=>{i&&_.removeEventListener("scroll",r),s&&_.removeEventListener("resize",r)}),h==null||h(),(b=m)==null||b.disconnect(),m=null,l&&cancelAnimationFrame(y)}}const RH=lH,PH=oH,IH=uH,MH=(t,e,r)=>{const n=new Map,i={platform:TH,...r},s={...i.platform,_c:n};return sH(t,e,{...i,platform:s})};var K0=typeof document<"u"?T.useLayoutEffect:T.useEffect;function ry(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!ry(t[n],e[n]))return!1;return!0}if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const s=i[n];if(!(s==="_owner"&&t.$$typeof)&&!ry(t[s],e[s]))return!1}return!0}return t!==t&&e!==e}function sL(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function VI(t,e){const r=sL(t);return Math.round(e*r)/r}function rw(t){const e=T.useRef(t);return K0(()=>{e.current=t}),e}function kH(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=t,[c,h]=T.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[f,m]=T.useState(n);ry(f,n)||m(n);const[y,v]=T.useState(null),[x,b]=T.useState(null),_=T.useCallback(k=>{k!==P.current&&(P.current=k,v(k))},[]),w=T.useCallback(k=>{k!==I.current&&(I.current=k,b(k))},[]),E=s||y,A=o||x,P=T.useRef(null),I=T.useRef(null),M=T.useRef(c),N=l!=null,z=rw(l),j=rw(i),H=rw(u),F=T.useCallback(()=>{if(!P.current||!I.current)return;const k={placement:e,strategy:r,middleware:f};j.current&&(k.platform=j.current),MH(P.current,I.current,k).then(U=>{const B={...U,isPositioned:H.current!==!1};L.current&&!ry(M.current,B)&&(M.current=B,mr.flushSync(()=>{h(B)}))})},[f,e,r,j,H]);K0(()=>{u===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,h(k=>({...k,isPositioned:!1})))},[u]);const L=T.useRef(!1);K0(()=>(L.current=!0,()=>{L.current=!1}),[]),K0(()=>{if(E&&(P.current=E),A&&(I.current=A),E&&A){if(z.current)return z.current(E,A,F);F()}},[E,A,F,z,N]);const O=T.useMemo(()=>({reference:P,floating:I,setReference:_,setFloating:w}),[_,w]),$=T.useMemo(()=>({reference:E,floating:A}),[E,A]),V=T.useMemo(()=>{const k={position:r,left:0,top:0};if(!$.floating)return k;const U=VI($.floating,c.x),B=VI($.floating,c.y);return a?{...k,transform:"translate("+U+"px, "+B+"px)",...sL($.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:U,top:B}},[r,a,$.floating,c.x,c.y]);return T.useMemo(()=>({...c,update:F,refs:O,elements:$,floatingStyles:V}),[c,F,O,$,V])}const OH=(t,e)=>({...RH(t),options:[t,e]}),DH=(t,e)=>({...PH(t),options:[t,e]}),NH=(t,e)=>({...IH(t),options:[t,e]});var Rp=typeof document<"u"?T.useLayoutEffect:T.useEffect;let nw=!1,LH=0;const GI=()=>"floating-ui-"+LH++;function FH(){const[t,e]=T.useState(()=>nw?GI():void 0);return Rp(()=>{t==null&&e(GI())},[]),T.useEffect(()=>{nw||(nw=!0)},[]),t}const jH=sO.useId,BH=jH||FH;function UH(){const t=new Map;return{emit(e,r){var n;(n=t.get(e))==null||n.forEach(i=>i(r))},on(e,r){t.set(e,[...t.get(e)||[],r])},off(e,r){var n;t.set(e,((n=t.get(e))==null?void 0:n.filter(i=>i!==r))||[])}}}const $H=T.createContext(null),zH=T.createContext(null),HH=()=>{var t;return((t=T.useContext($H))==null?void 0:t.id)||null},oL=()=>T.useContext(zH);function VH(t){return"data-floating-ui-"+t}function WI(t){const e=T.useRef(t);return Rp(()=>{e.current=t}),e}const XI=VH("safe-polygon");function iw(t,e,r){return r&&!qN(r)?0:typeof t=="number"?t:t==null?void 0:t[e]}function GH(t,e){e===void 0&&(e={});const{open:r,onOpenChange:n,dataRef:i,events:s,elements:{domReference:o,floating:a},refs:l}=t,{enabled:u=!0,delay:c=0,handleClose:h=null,mouseOnly:f=!1,restMs:m=0,move:y=!0}=e,v=oL(),x=HH(),b=WI(h),_=WI(c),w=T.useRef(),E=T.useRef(),A=T.useRef(),P=T.useRef(),I=T.useRef(!0),M=T.useRef(!1),N=T.useRef(()=>{}),z=T.useCallback(()=>{var L;const O=(L=i.current.openEvent)==null?void 0:L.type;return(O==null?void 0:O.includes("mouse"))&&O!=="mousedown"},[i]);T.useEffect(()=>{if(!u)return;function L(){clearTimeout(E.current),clearTimeout(P.current),I.current=!0}return s.on("dismiss",L),()=>{s.off("dismiss",L)}},[u,s]),T.useEffect(()=>{if(!u||!b.current||!r)return;function L($){z()&&n(!1,$)}const O=$g(a).documentElement;return O.addEventListener("mouseleave",L),()=>{O.removeEventListener("mouseleave",L)}},[a,r,n,u,b,i,z]);const j=T.useCallback(function(L,O){O===void 0&&(O=!0);const $=iw(_.current,"close",w.current);$&&!A.current?(clearTimeout(E.current),E.current=setTimeout(()=>n(!1,L),$)):O&&(clearTimeout(E.current),n(!1,L))},[_,n]),H=T.useCallback(()=>{N.current(),A.current=void 0},[]),F=T.useCallback(()=>{if(M.current){const L=$g(l.floating.current).body;L.style.pointerEvents="",L.removeAttribute(XI),M.current=!1}},[l]);return T.useEffect(()=>{if(!u)return;function L(){return i.current.openEvent?["click","mousedown"].includes(i.current.openEvent.type):!1}function O(k){if(clearTimeout(E.current),I.current=!1,f&&!qN(w.current)||m>0&&iw(_.current,"open")===0)return;const U=iw(_.current,"open",w.current);U?E.current=setTimeout(()=>{n(!0,k)},U):n(!0,k)}function $(k){if(L())return;N.current();const U=$g(a);if(clearTimeout(P.current),b.current){r||clearTimeout(E.current),A.current=b.current({...t,tree:v,x:k.clientX,y:k.clientY,onClose(){F(),H(),j(k)}});const X=A.current;U.addEventListener("mousemove",X),N.current=()=>{U.removeEventListener("mousemove",X)};return}(w.current==="touch"?!Q0(a,k.relatedTarget):!0)&&j(k)}function V(k){L()||b.current==null||b.current({...t,tree:v,x:k.clientX,y:k.clientY,onClose(){F(),H(),j(k)}})(k)}if(Pu(o)){const k=o;return r&&k.addEventListener("mouseleave",V),a==null||a.addEventListener("mouseleave",V),y&&k.addEventListener("mousemove",O,{once:!0}),k.addEventListener("mouseenter",O),k.addEventListener("mouseleave",$),()=>{r&&k.removeEventListener("mouseleave",V),a==null||a.removeEventListener("mouseleave",V),y&&k.removeEventListener("mousemove",O),k.removeEventListener("mouseenter",O),k.removeEventListener("mouseleave",$)}}},[o,a,u,t,f,m,y,j,H,F,n,r,v,_,b,i]),Rp(()=>{var L;if(u&&r&&(L=b.current)!=null&&L.__options.blockPointerEvents&&z()){const V=$g(a).body;if(V.setAttribute(XI,""),V.style.pointerEvents="none",M.current=!0,Pu(o)&&a){var O,$;const k=o,U=v==null||(O=v.nodesRef.current.find(B=>B.id===x))==null||($=O.context)==null?void 0:$.elements.floating;return U&&(U.style.pointerEvents=""),k.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{k.style.pointerEvents="",a.style.pointerEvents=""}}}},[u,r,x,a,o,v,b,i,z]),Rp(()=>{r||(w.current=void 0,H(),F())},[r,H,F]),T.useEffect(()=>()=>{H(),clearTimeout(E.current),clearTimeout(P.current),F()},[u,o,H,F]),T.useMemo(()=>{if(!u)return{};function L(O){w.current=O.pointerType}return{reference:{onPointerDown:L,onPointerEnter:L,onMouseMove(O){r||m===0||(clearTimeout(P.current),P.current=setTimeout(()=>{I.current||n(!0,O.nativeEvent)},m))}},floating:{onMouseEnter(){clearTimeout(E.current)},onMouseLeave(O){s.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),j(O.nativeEvent,!1)}}}},[s,u,m,r,n,j])}function WH(t,e){let r=t.filter(i=>{var s;return i.parentId===e&&((s=i.context)==null?void 0:s.open)}),n=r;for(;n.length;)n=t.filter(i=>{var s;return(s=n)==null?void 0:s.some(o=>{var a;return i.parentId===o.id&&((a=i.context)==null?void 0:a.open)})}),r=r.concat(n);return r}const XH=sO.useInsertionEffect,qH=XH||(t=>t());function YH(t){const e=T.useRef(()=>{});return qH(()=>{e.current=t}),T.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.current==null?void 0:e.current(...n)},[])}function QH(t){var e;t===void 0&&(t={});const{open:r=!1,onOpenChange:n,nodeId:i}=t,[s,o]=T.useState(null),a=((e=t.elements)==null?void 0:e.reference)||s,l=kH(t),u=oL(),c=YH((E,A)=>{E&&(f.current.openEvent=A),n==null||n(E,A)}),h=T.useRef(null),f=T.useRef({}),m=T.useState(()=>UH())[0],y=BH(),v=T.useCallback(E=>{const A=Pu(E)?{getBoundingClientRect:()=>E.getBoundingClientRect(),contextElement:E}:E;l.refs.setReference(A)},[l.refs]),x=T.useCallback(E=>{(Pu(E)||E===null)&&(h.current=E,o(E)),(Pu(l.refs.reference.current)||l.refs.reference.current===null||E!==null&&!Pu(E))&&l.refs.setReference(E)},[l.refs]),b=T.useMemo(()=>({...l.refs,setReference:x,setPositionReference:v,domReference:h}),[l.refs,x,v]),_=T.useMemo(()=>({...l.elements,domReference:a}),[l.elements,a]),w=T.useMemo(()=>({...l,refs:b,elements:_,dataRef:f,nodeId:i,floatingId:y,events:m,open:r,onOpenChange:c}),[l,i,y,m,r,c,b,_]);return Rp(()=>{const E=u==null?void 0:u.nodesRef.current.find(A=>A.id===i);E&&(E.context=w)}),T.useMemo(()=>({...l,context:w,refs:b,elements:_}),[l,b,_,w])}function qI(t,e){const[r,n]=t;let i=!1;const s=e.length;for(let o=0,a=s-1;o<s;a=o++){const[l,u]=e[o]||[0,0],[c,h]=e[a]||[0,0];u>=n!=h>=n&&r<=(c-l)*(n-u)/(h-u)+l&&(i=!i)}return i}function KH(t,e){return t[0]>=e.x&&t[0]<=e.x+e.width&&t[1]>=e.y&&t[1]<=e.y+e.height}function ZH(t){t===void 0&&(t={});const{buffer:e=.5,blockPointerEvents:r=!1,requireIntent:n=!0}=t;let i,s=!1,o=null,a=null,l=performance.now();function u(h,f){const m=performance.now(),y=m-l;if(o===null||a===null||y===0)return o=h,a=f,l=m,null;const v=h-o,x=f-a,_=Math.sqrt(v*v+x*x)/y;return o=h,a=f,l=m,_}const c=h=>{let{x:f,y:m,placement:y,elements:v,onClose:x,nodeId:b,tree:_}=h;return function(E){function A(){clearTimeout(i),x()}if(clearTimeout(i),!v.domReference||!v.floating||y==null||f==null||m==null)return;const{clientX:P,clientY:I}=E,M=[P,I],N=Yz(E),z=E.type==="mouseleave",j=Q0(v.floating,N),H=Q0(v.domReference,N),F=v.domReference.getBoundingClientRect(),L=v.floating.getBoundingClientRect(),O=y.split("-")[0],$=f>L.right-L.width/2,V=m>L.bottom-L.height/2,k=KH(M,F),U=L.width>F.width,B=L.height>F.height,X=(U?F:L).left,K=(U?F:L).right,q=(B?F:L).top,re=(B?F:L).bottom;if(j&&(s=!0,!z))return;if(H&&(s=!1),H&&!z){s=!0;return}if(z&&Pu(E.relatedTarget)&&Q0(v.floating,E.relatedTarget)||_&&WH(_.nodesRef.current,b).some(me=>{let{context:xe}=me;return xe==null?void 0:xe.open}))return;if(O==="top"&&m>=F.bottom-1||O==="bottom"&&m<=F.top+1||O==="left"&&f>=F.right-1||O==="right"&&f<=F.left+1)return A();let ue=[];switch(O){case"top":ue=[[X,F.top+1],[X,L.bottom-1],[K,L.bottom-1],[K,F.top+1]];break;case"bottom":ue=[[X,L.top+1],[X,F.bottom-1],[K,F.bottom-1],[K,L.top+1]];break;case"left":ue=[[L.right-1,re],[L.right-1,q],[F.left+1,q],[F.left+1,re]];break;case"right":ue=[[F.right-1,re],[F.right-1,q],[L.left+1,q],[L.left+1,re]];break}function le(me){let[xe,_e]=me;switch(O){case"top":{const Te=[U?xe+e/2:$?xe+e*4:xe-e*4,_e+e+1],de=[U?xe-e/2:$?xe+e*4:xe-e*4,_e+e+1],Be=[[L.left,$||U?L.bottom-e:L.top],[L.right,$?U?L.bottom-e:L.top:L.bottom-e]];return[Te,de,...Be]}case"bottom":{const Te=[U?xe+e/2:$?xe+e*4:xe-e*4,_e-e],de=[U?xe-e/2:$?xe+e*4:xe-e*4,_e-e],Be=[[L.left,$||U?L.top+e:L.bottom],[L.right,$?U?L.top+e:L.bottom:L.top+e]];return[Te,de,...Be]}case"left":{const Te=[xe+e+1,B?_e+e/2:V?_e+e*4:_e-e*4],de=[xe+e+1,B?_e-e/2:V?_e+e*4:_e-e*4];return[...[[V||B?L.right-e:L.left,L.top],[V?B?L.right-e:L.left:L.right-e,L.bottom]],Te,de]}case"right":{const Te=[xe-e,B?_e+e/2:V?_e+e*4:_e-e*4],de=[xe-e,B?_e-e/2:V?_e+e*4:_e-e*4],Be=[[V||B?L.left+e:L.right,L.top],[V?B?L.left+e:L.right:L.left+e,L.bottom]];return[Te,de,...Be]}}}if(!qI([P,I],ue)){if(s&&!k)return A();if(!z&&n){const me=u(E.clientX,E.clientY);if(me!==null&&me<.1)return A()}qI([P,I],le([f,m]))?!s&&n&&(i=window.setTimeout(A,40)):A()}}};return c.__options={blockPointerEvents:r},c}var aL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(rr,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",a="minute",l="hour",u="day",c="week",h="month",f="quarter",m="year",y="date",v="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(L){var O=["th","st","nd","rd"],$=L%100;return"["+L+(O[($-20)%10]||O[$]||O[0])+"]"}},w=function(L,O,$){var V=String(L);return!V||V.length>=O?L:""+Array(O+1-V.length).join($)+L},E={s:w,z:function(L){var O=-L.utcOffset(),$=Math.abs(O),V=Math.floor($/60),k=$%60;return(O<=0?"+":"-")+w(V,2,"0")+":"+w(k,2,"0")},m:function L(O,$){if(O.date()<$.date())return-L($,O);var V=12*($.year()-O.year())+($.month()-O.month()),k=O.clone().add(V,h),U=$-k<0,B=O.clone().add(V+(U?-1:1),h);return+(-(V+($-k)/(U?k-B:B-k))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:h,y:m,w:c,d:u,D:y,h:l,m:a,s:o,ms:s,Q:f}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},A="en",P={};P[A]=_;var I="$isDayjsObject",M=function(L){return L instanceof H||!(!L||!L[I])},N=function L(O,$,V){var k;if(!O)return A;if(typeof O=="string"){var U=O.toLowerCase();P[U]&&(k=U),$&&(P[U]=$,k=U);var B=O.split("-");if(!k&&B.length>1)return L(B[0])}else{var X=O.name;P[X]=O,k=X}return!V&&k&&(A=k),k||!V&&A},z=function(L,O){if(M(L))return L.clone();var $=typeof O=="object"?O:{};return $.date=L,$.args=arguments,new H($)},j=E;j.l=N,j.i=M,j.w=function(L,O){return z(L,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var H=function(){function L($){this.$L=N($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[I]=!0}var O=L.prototype;return O.parse=function($){this.$d=function(V){var k=V.date,U=V.utc;if(k===null)return new Date(NaN);if(j.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var B=k.match(x);if(B){var X=B[2]-1||0,K=(B[7]||"0").substring(0,3);return U?new Date(Date.UTC(B[1],X,B[3]||1,B[4]||0,B[5]||0,B[6]||0,K)):new Date(B[1],X,B[3]||1,B[4]||0,B[5]||0,B[6]||0,K)}}return new Date(k)}($),this.init()},O.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},O.$utils=function(){return j},O.isValid=function(){return this.$d.toString()!==v},O.isSame=function($,V){var k=z($);return this.startOf(V)<=k&&k<=this.endOf(V)},O.isAfter=function($,V){return z($)<this.startOf(V)},O.isBefore=function($,V){return this.endOf(V)<z($)},O.$g=function($,V,k){return j.u($)?this[V]:this.set(k,$)},O.unix=function(){return Math.floor(this.valueOf()/1e3)},O.valueOf=function(){return this.$d.getTime()},O.startOf=function($,V){var k=this,U=!!j.u(V)||V,B=j.p($),X=function(_e,Te){var de=j.w(k.$u?Date.UTC(k.$y,Te,_e):new Date(k.$y,Te,_e),k);return U?de:de.endOf(u)},K=function(_e,Te){return j.w(k.toDate()[_e].apply(k.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(Te)),k)},q=this.$W,re=this.$M,ue=this.$D,le="set"+(this.$u?"UTC":"");switch(B){case m:return U?X(1,0):X(31,11);case h:return U?X(1,re):X(0,re+1);case c:var me=this.$locale().weekStart||0,xe=(q<me?q+7:q)-me;return X(U?ue-xe:ue+(6-xe),re);case u:case y:return K(le+"Hours",0);case l:return K(le+"Minutes",1);case a:return K(le+"Seconds",2);case o:return K(le+"Milliseconds",3);default:return this.clone()}},O.endOf=function($){return this.startOf($,!1)},O.$set=function($,V){var k,U=j.p($),B="set"+(this.$u?"UTC":""),X=(k={},k[u]=B+"Date",k[y]=B+"Date",k[h]=B+"Month",k[m]=B+"FullYear",k[l]=B+"Hours",k[a]=B+"Minutes",k[o]=B+"Seconds",k[s]=B+"Milliseconds",k)[U],K=U===u?this.$D+(V-this.$W):V;if(U===h||U===m){var q=this.clone().set(y,1);q.$d[X](K),q.init(),this.$d=q.set(y,Math.min(this.$D,q.daysInMonth())).$d}else X&&this.$d[X](K);return this.init(),this},O.set=function($,V){return this.clone().$set($,V)},O.get=function($){return this[j.p($)]()},O.add=function($,V){var k,U=this;$=Number($);var B=j.p(V),X=function(re){var ue=z(U);return j.w(ue.date(ue.date()+Math.round(re*$)),U)};if(B===h)return this.set(h,this.$M+$);if(B===m)return this.set(m,this.$y+$);if(B===u)return X(1);if(B===c)return X(7);var K=(k={},k[a]=n,k[l]=i,k[o]=r,k)[B]||1,q=this.$d.getTime()+$*K;return j.w(q,this)},O.subtract=function($,V){return this.add(-1*$,V)},O.format=function($){var V=this,k=this.$locale();if(!this.isValid())return k.invalidDate||v;var U=$||"YYYY-MM-DDTHH:mm:ssZ",B=j.z(this),X=this.$H,K=this.$m,q=this.$M,re=k.weekdays,ue=k.months,le=k.meridiem,me=function(Te,de,Be,je){return Te&&(Te[de]||Te(V,U))||Be[de].slice(0,je)},xe=function(Te){return j.s(X%12||12,Te,"0")},_e=le||function(Te,de,Be){var je=Te<12?"AM":"PM";return Be?je.toLowerCase():je};return U.replace(b,function(Te,de){return de||function(Be){switch(Be){case"YY":return String(V.$y).slice(-2);case"YYYY":return j.s(V.$y,4,"0");case"M":return q+1;case"MM":return j.s(q+1,2,"0");case"MMM":return me(k.monthsShort,q,ue,3);case"MMMM":return me(ue,q);case"D":return V.$D;case"DD":return j.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return me(k.weekdaysMin,V.$W,re,2);case"ddd":return me(k.weekdaysShort,V.$W,re,3);case"dddd":return re[V.$W];case"H":return String(X);case"HH":return j.s(X,2,"0");case"h":return xe(1);case"hh":return xe(2);case"a":return _e(X,K,!0);case"A":return _e(X,K,!1);case"m":return String(K);case"mm":return j.s(K,2,"0");case"s":return String(V.$s);case"ss":return j.s(V.$s,2,"0");case"SSS":return j.s(V.$ms,3,"0");case"Z":return B}return null}(Te)||B.replace(":","")})},O.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},O.diff=function($,V,k){var U,B=this,X=j.p(V),K=z($),q=(K.utcOffset()-this.utcOffset())*n,re=this-K,ue=function(){return j.m(B,K)};switch(X){case m:U=ue()/12;break;case h:U=ue();break;case f:U=ue()/3;break;case c:U=(re-q)/6048e5;break;case u:U=(re-q)/864e5;break;case l:U=re/i;break;case a:U=re/n;break;case o:U=re/r;break;default:U=re}return k?U:j.a(U)},O.daysInMonth=function(){return this.endOf(h).$D},O.$locale=function(){return P[this.$L]},O.locale=function($,V){if(!$)return this.$L;var k=this.clone(),U=N($,V,!0);return U&&(k.$L=U),k},O.clone=function(){return j.w(this.$d,this)},O.toDate=function(){return new Date(this.valueOf())},O.toJSON=function(){return this.isValid()?this.toISOString():null},O.toISOString=function(){return this.$d.toISOString()},O.toString=function(){return this.$d.toUTCString()},L}(),F=H.prototype;return z.prototype=F,[["$ms",s],["$s",o],["$m",a],["$H",l],["$W",u],["$M",h],["$y",m],["$D",y]].forEach(function(L){F[L[1]]=function(O){return this.$g(O,L[0],L[1])}}),z.extend=function(L,O){return L.$i||(L(O,H,z),L.$i=!0),z},z.locale=N,z.isDayjs=M,z.unix=function(L){return z(1e3*L)},z.en=P[A],z.Ls=P,z.p={},z})})(aL);var JH=aL.exports;const Lr=Po(JH);var fh=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ec=typeof window>"u"||"Deno"in globalThis;function Ii(){}function eV(t,e){return typeof t=="function"?t(e):t}function IS(t){return typeof t=="number"&&t>=0&&t!==1/0}function lL(t,e){return Math.max(t+(e||0)-Date.now(),0)}function xd(t,e){return typeof t=="function"?t(e):t}function ps(t,e){return typeof t=="function"?t(e):t}function YI(t,e){const{type:r="all",exact:n,fetchStatus:i,predicate:s,queryKey:o,stale:a}=t;if(o){if(n){if(e.queryHash!==VT(o,e.options))return!1}else if(!Pp(e.queryKey,o))return!1}if(r!=="all"){const l=e.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof a=="boolean"&&e.isStale()!==a||i&&i!==e.state.fetchStatus||s&&!s(e))}function QI(t,e){const{exact:r,status:n,predicate:i,mutationKey:s}=t;if(s){if(!e.options.mutationKey)return!1;if(r){if(tc(e.options.mutationKey)!==tc(s))return!1}else if(!Pp(e.options.mutationKey,s))return!1}return!(n&&e.state.status!==n||i&&!i(e))}function VT(t,e){return((e==null?void 0:e.queryKeyHashFn)||tc)(t)}function tc(t){return JSON.stringify(t,(e,r)=>MS(r)?Object.keys(r).sort().reduce((n,i)=>(n[i]=r[i],n),{}):r)}function Pp(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?!Object.keys(e).some(r=>!Pp(t[r],e[r])):!1}function uL(t,e){if(t===e)return t;const r=KI(t)&&KI(e);if(r||MS(t)&&MS(e)){const n=r?t:Object.keys(t),i=n.length,s=r?e:Object.keys(e),o=s.length,a=r?[]:{};let l=0;for(let u=0;u<o;u++){const c=r?u:s[u];(!r&&n.includes(c)||r)&&t[c]===void 0&&e[c]===void 0?(a[c]=void 0,l++):(a[c]=uL(t[c],e[c]),a[c]===t[c]&&t[c]!==void 0&&l++)}return i===o&&l===i?t:a}return e}function ny(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(t[r]!==e[r])return!1;return!0}function KI(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function MS(t){if(!ZI(t))return!1;const e=t.constructor;if(e===void 0)return!0;const r=e.prototype;return!(!ZI(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function ZI(t){return Object.prototype.toString.call(t)==="[object Object]"}function tV(t){return new Promise(e=>{setTimeout(e,t)})}function kS(t,e,r){return typeof r.structuralSharing=="function"?r.structuralSharing(t,e):r.structuralSharing!==!1?uL(t,e):e}function rV(t,e,r=0){const n=[...t,e];return r&&n.length>r?n.slice(1):n}function nV(t,e,r=0){const n=[e,...t];return r&&n.length>r?n.slice(0,-1):n}var GT=Symbol();function cL(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===GT?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var Mu,Ka,Md,Dk,iV=(Dk=class extends fh{constructor(){super();Ze(this,Mu);Ze(this,Ka);Ze(this,Md);Ne(this,Md,e=>{if(!ec&&window.addEventListener){const r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){Y(this,Ka)||this.setEventListener(Y(this,Md))}onUnsubscribe(){var e;this.hasListeners()||((e=Y(this,Ka))==null||e.call(this),Ne(this,Ka,void 0))}setEventListener(e){var r;Ne(this,Md,e),(r=Y(this,Ka))==null||r.call(this),Ne(this,Ka,e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(e){Y(this,Mu)!==e&&(Ne(this,Mu,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(r=>{r(e)})}isFocused(){var e;return typeof Y(this,Mu)=="boolean"?Y(this,Mu):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Mu=new WeakMap,Ka=new WeakMap,Md=new WeakMap,Dk),WT=new iV,kd,Za,Od,Nk,sV=(Nk=class extends fh{constructor(){super();Ze(this,kd,!0);Ze(this,Za);Ze(this,Od);Ne(this,Od,e=>{if(!ec&&window.addEventListener){const r=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){Y(this,Za)||this.setEventListener(Y(this,Od))}onUnsubscribe(){var e;this.hasListeners()||((e=Y(this,Za))==null||e.call(this),Ne(this,Za,void 0))}setEventListener(e){var r;Ne(this,Od,e),(r=Y(this,Za))==null||r.call(this),Ne(this,Za,e(this.setOnline.bind(this)))}setOnline(e){Y(this,kd)!==e&&(Ne(this,kd,e),this.listeners.forEach(n=>{n(e)}))}isOnline(){return Y(this,kd)}},kd=new WeakMap,Za=new WeakMap,Od=new WeakMap,Nk),iy=new sV;function OS(){let t,e;const r=new Promise((i,s)=>{t=i,e=s});r.status="pending",r.catch(()=>{});function n(i){Object.assign(r,i),delete r.resolve,delete r.reject}return r.resolve=i=>{n({status:"fulfilled",value:i}),t(i)},r.reject=i=>{n({status:"rejected",reason:i}),e(i)},r}function oV(t){return Math.min(1e3*2**t,3e4)}function dL(t){return(t??"online")==="online"?iy.isOnline():!0}var hL=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function sw(t){return t instanceof hL}function fL(t){let e=!1,r=0,n=!1,i;const s=OS(),o=v=>{var x;n||(f(new hL(v)),(x=t.abort)==null||x.call(t))},a=()=>{e=!0},l=()=>{e=!1},u=()=>WT.isFocused()&&(t.networkMode==="always"||iy.isOnline())&&t.canRun(),c=()=>dL(t.networkMode)&&t.canRun(),h=v=>{var x;n||(n=!0,(x=t.onSuccess)==null||x.call(t,v),i==null||i(),s.resolve(v))},f=v=>{var x;n||(n=!0,(x=t.onError)==null||x.call(t,v),i==null||i(),s.reject(v))},m=()=>new Promise(v=>{var x;i=b=>{(n||u())&&v(b)},(x=t.onPause)==null||x.call(t)}).then(()=>{var v;i=void 0,n||(v=t.onContinue)==null||v.call(t)}),y=()=>{if(n)return;let v;const x=r===0?t.initialPromise:void 0;try{v=x??t.fn()}catch(b){v=Promise.reject(b)}Promise.resolve(v).then(h).catch(b=>{var P;if(n)return;const _=t.retry??(ec?0:3),w=t.retryDelay??oV,E=typeof w=="function"?w(r,b):w,A=_===!0||typeof _=="number"&&r<_||typeof _=="function"&&_(r,b);if(e||!A){f(b);return}r++,(P=t.onFail)==null||P.call(t,r,b),tV(E).then(()=>u()?void 0:m()).then(()=>{e?f(b):y()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?y():m().then(y),s)}}function aV(){let t=[],e=0,r=a=>{a()},n=a=>{a()},i=a=>setTimeout(a,0);const s=a=>{e?t.push(a):i(()=>{r(a)})},o=()=>{const a=t;t=[],a.length&&i(()=>{n(()=>{a.forEach(l=>{r(l)})})})};return{batch:a=>{let l;e++;try{l=a()}finally{e--,e||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{r=a},setBatchNotifyFunction:a=>{n=a},setScheduler:a=>{i=a}}}var Tr=aV(),ku,Lk,pL=(Lk=class{constructor(){Ze(this,ku)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),IS(this.gcTime)&&Ne(this,ku,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(ec?1/0:5*60*1e3))}clearGcTimeout(){Y(this,ku)&&(clearTimeout(Y(this,ku)),Ne(this,ku,void 0))}},ku=new WeakMap,Lk),Dd,Nd,Pi,cn,Zp,Ou,ds,zo,Fk,lV=(Fk=class extends pL{constructor(e){super();Ze(this,ds);Ze(this,Dd);Ze(this,Nd);Ze(this,Pi);Ze(this,cn);Ze(this,Zp);Ze(this,Ou);Ne(this,Ou,!1),Ne(this,Zp,e.defaultOptions),this.setOptions(e.options),this.observers=[],Ne(this,Pi,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,Ne(this,Dd,uV(this.options)),this.state=e.state??Y(this,Dd),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=Y(this,cn))==null?void 0:e.promise}setOptions(e){this.options={...Y(this,Zp),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Y(this,Pi).remove(this)}setData(e,r){const n=kS(this.state.data,e,this.options);return lt(this,ds,zo).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(e,r){lt(this,ds,zo).call(this,{type:"setState",state:e,setStateOptions:r})}cancel(e){var n,i;const r=(n=Y(this,cn))==null?void 0:n.promise;return(i=Y(this,cn))==null||i.cancel(e),r?r.then(Ii).catch(Ii):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Y(this,Dd))}isActive(){return this.observers.some(e=>ps(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===GT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(e=0){return this.state.isInvalidated||this.state.data===void 0||!lL(this.state.dataUpdatedAt,e)}onFocus(){var r;const e=this.observers.find(n=>n.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(r=Y(this,cn))==null||r.continue()}onOnline(){var r;const e=this.observers.find(n=>n.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(r=Y(this,cn))==null||r.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),Y(this,Pi).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(r=>r!==e),this.observers.length||(Y(this,cn)&&(Y(this,Ou)?Y(this,cn).cancel({revert:!0}):Y(this,cn).cancelRetry()),this.scheduleGc()),Y(this,Pi).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||lt(this,ds,zo).call(this,{type:"invalidate"})}fetch(e,r){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(Y(this,cn))return Y(this,cn).continueRetry(),Y(this,cn).promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const n=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(Ne(this,Ou,!0),n.signal)})},s=()=>{const h=cL(this.options,r),f={queryKey:this.queryKey,meta:this.meta};return i(f),Ne(this,Ou,!1),this.options.persister?this.options.persister(h,f,this):h(f)},o={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),Ne(this,Nd,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&<(this,ds,zo).call(this,{type:"fetch",meta:(c=o.fetchOptions)==null?void 0:c.meta});const a=h=>{var f,m,y,v;sw(h)&&h.silent||lt(this,ds,zo).call(this,{type:"error",error:h}),sw(h)||((m=(f=Y(this,Pi).config).onError)==null||m.call(f,h,this),(v=(y=Y(this,Pi).config).onSettled)==null||v.call(y,this.state.data,h,this)),this.scheduleGc()};return Ne(this,cn,fL({initialPromise:r==null?void 0:r.initialPromise,fn:o.fetchFn,abort:n.abort.bind(n),onSuccess:h=>{var f,m,y,v;if(h===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(x){a(x);return}(m=(f=Y(this,Pi).config).onSuccess)==null||m.call(f,h,this),(v=(y=Y(this,Pi).config).onSettled)==null||v.call(y,h,this.state.error,this),this.scheduleGc()},onError:a,onFail:(h,f)=>{lt(this,ds,zo).call(this,{type:"failed",failureCount:h,error:f})},onPause:()=>{lt(this,ds,zo).call(this,{type:"pause"})},onContinue:()=>{lt(this,ds,zo).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),Y(this,cn).start()}},Dd=new WeakMap,Nd=new WeakMap,Pi=new WeakMap,cn=new WeakMap,Zp=new WeakMap,Ou=new WeakMap,ds=new WeakSet,zo=function(e){const r=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...mL(n.data,this.options),fetchMeta:e.meta??null};case"success":return{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=e.error;return sw(i)&&i.revert&&Y(this,Nd)?{...Y(this,Nd),fetchStatus:"idle"}:{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=r(this.state),Tr.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),Y(this,Pi).notify({query:this,type:"updated",action:e})})},Fk);function mL(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dL(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function uV(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,r=e!==void 0,n=r?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Js,jk,gL=(jk=class extends fh{constructor(e={}){super();Ze(this,Js);this.config=e,Ne(this,Js,new Map)}build(e,r,n){const i=r.queryKey,s=r.queryHash??VT(i,r);let o=this.get(s);return o||(o=new lV({cache:this,queryKey:i,queryHash:s,options:e.defaultQueryOptions(r),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){Y(this,Js).has(e.queryHash)||(Y(this,Js).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const r=Y(this,Js).get(e.queryHash);r&&(e.destroy(),r===e&&Y(this,Js).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Tr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return Y(this,Js).get(e)}getAll(){return[...Y(this,Js).values()]}find(e){const r={exact:!0,...e};return this.getAll().find(n=>YI(r,n))}findAll(e={}){const r=this.getAll();return Object.keys(e).length>0?r.filter(n=>YI(e,n)):r}notify(e){Tr.batch(()=>{this.listeners.forEach(r=>{r(e)})})}onFocus(){Tr.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Tr.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Js=new WeakMap,jk),eo,yn,Du,to,Ba,Bk,cV=(Bk=class extends pL{constructor(e){super();Ze(this,to);Ze(this,eo);Ze(this,yn);Ze(this,Du);this.mutationId=e.mutationId,Ne(this,yn,e.mutationCache),Ne(this,eo,[]),this.state=e.state||vL(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){Y(this,eo).includes(e)||(Y(this,eo).push(e),this.clearGcTimeout(),Y(this,yn).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){Ne(this,eo,Y(this,eo).filter(r=>r!==e)),this.scheduleGc(),Y(this,yn).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){Y(this,eo).length||(this.state.status==="pending"?this.scheduleGc():Y(this,yn).remove(this))}continue(){var e;return((e=Y(this,Du))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var i,s,o,a,l,u,c,h,f,m,y,v,x,b,_,w,E,A,P,I;Ne(this,Du,fL({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(M,N)=>{lt(this,to,Ba).call(this,{type:"failed",failureCount:M,error:N})},onPause:()=>{lt(this,to,Ba).call(this,{type:"pause"})},onContinue:()=>{lt(this,to,Ba).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Y(this,yn).canRun(this)}));const r=this.state.status==="pending",n=!Y(this,Du).canStart();try{if(!r){lt(this,to,Ba).call(this,{type:"pending",variables:e,isPaused:n}),await((s=(i=Y(this,yn).config).onMutate)==null?void 0:s.call(i,e,this));const N=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,e));N!==this.state.context&<(this,to,Ba).call(this,{type:"pending",context:N,variables:e,isPaused:n})}const M=await Y(this,Du).start();return await((u=(l=Y(this,yn).config).onSuccess)==null?void 0:u.call(l,M,e,this.state.context,this)),await((h=(c=this.options).onSuccess)==null?void 0:h.call(c,M,e,this.state.context)),await((m=(f=Y(this,yn).config).onSettled)==null?void 0:m.call(f,M,null,this.state.variables,this.state.context,this)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,M,null,e,this.state.context)),lt(this,to,Ba).call(this,{type:"success",data:M}),M}catch(M){try{throw await((b=(x=Y(this,yn).config).onError)==null?void 0:b.call(x,M,e,this.state.context,this)),await((w=(_=this.options).onError)==null?void 0:w.call(_,M,e,this.state.context)),await((A=(E=Y(this,yn).config).onSettled)==null?void 0:A.call(E,void 0,M,this.state.variables,this.state.context,this)),await((I=(P=this.options).onSettled)==null?void 0:I.call(P,void 0,M,e,this.state.context)),M}finally{lt(this,to,Ba).call(this,{type:"error",error:M})}}finally{Y(this,yn).runNext(this)}}},eo=new WeakMap,yn=new WeakMap,Du=new WeakMap,to=new WeakSet,Ba=function(e){const r=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Tr.batch(()=>{Y(this,eo).forEach(n=>{n.onMutationUpdate(e)}),Y(this,yn).notify({mutation:this,type:"updated",action:e})})},Bk);function vL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ai,Jp,Uk,dV=(Uk=class extends fh{constructor(e={}){super();Ze(this,ai);Ze(this,Jp);this.config=e,Ne(this,ai,new Map),Ne(this,Jp,Date.now())}build(e,r,n){const i=new cV({mutationCache:this,mutationId:++wg(this,Jp)._,options:e.defaultMutationOptions(r),state:n});return this.add(i),i}add(e){const r=Hg(e),n=Y(this,ai).get(r)??[];n.push(e),Y(this,ai).set(r,n),this.notify({type:"added",mutation:e})}remove(e){var n;const r=Hg(e);if(Y(this,ai).has(r)){const i=(n=Y(this,ai).get(r))==null?void 0:n.filter(s=>s!==e);i&&(i.length===0?Y(this,ai).delete(r):Y(this,ai).set(r,i))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const r=(n=Y(this,ai).get(Hg(e)))==null?void 0:n.find(i=>i.state.status==="pending");return!r||r===e}runNext(e){var n;const r=(n=Y(this,ai).get(Hg(e)))==null?void 0:n.find(i=>i!==e&&i.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}clear(){Tr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...Y(this,ai).values()].flat()}find(e){const r={exact:!0,...e};return this.getAll().find(n=>QI(r,n))}findAll(e={}){return this.getAll().filter(r=>QI(e,r))}notify(e){Tr.batch(()=>{this.listeners.forEach(r=>{r(e)})})}resumePausedMutations(){const e=this.getAll().filter(r=>r.state.isPaused);return Tr.batch(()=>Promise.all(e.map(r=>r.continue().catch(Ii))))}},ai=new WeakMap,Jp=new WeakMap,Uk);function Hg(t){var e;return((e=t.options.scope)==null?void 0:e.id)??String(t.mutationId)}function sy(t){return{onFetch:(e,r)=>{var c,h,f,m,y;const n=e.options,i=(f=(h=(c=e.fetchOptions)==null?void 0:c.meta)==null?void 0:h.fetchMore)==null?void 0:f.direction,s=((m=e.state.data)==null?void 0:m.pages)||[],o=((y=e.state.data)==null?void 0:y.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const x=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(e.signal.aborted?v=!0:e.signal.addEventListener("abort",()=>{v=!0}),e.signal)})},b=cL(e.options,e.fetchOptions),_=async(w,E,A)=>{if(v)return Promise.reject();if(E==null&&w.pages.length)return Promise.resolve(w);const P={queryKey:e.queryKey,pageParam:E,direction:A?"backward":"forward",meta:e.options.meta};x(P);const I=await b(P),{maxPages:M}=e.options,N=A?nV:rV;return{pages:N(w.pages,I,M),pageParams:N(w.pageParams,E,M)}};if(i&&s.length){const w=i==="backward",E=w?yL:DS,A={pages:s,pageParams:o},P=E(n,A);a=await _(A,P,w)}else{const w=t??s.length;do{const E=l===0?o[0]??n.initialPageParam:DS(n,a);if(l>0&&E==null)break;a=await _(a,E),l++}while(l<w)}return a};e.options.persister?e.fetchFn=()=>{var v,x;return(x=(v=e.options).persister)==null?void 0:x.call(v,u,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},r)}:e.fetchFn=u}}}function DS(t,{pages:e,pageParams:r}){const n=e.length-1;return e.length>0?t.getNextPageParam(e[n],e,r[n],r):void 0}function yL(t,{pages:e,pageParams:r}){var n;return e.length>0?(n=t.getPreviousPageParam)==null?void 0:n.call(t,e[0],e,r[0],r):void 0}function hV(t,e){return e?DS(t,e)!=null:!1}function fV(t,e){return!e||!t.getPreviousPageParam?!1:yL(t,e)!=null}var Zt,Ja,el,Ld,Fd,tl,jd,Bd,$k,pV=($k=class{constructor(t={}){Ze(this,Zt);Ze(this,Ja);Ze(this,el);Ze(this,Ld);Ze(this,Fd);Ze(this,tl);Ze(this,jd);Ze(this,Bd);Ne(this,Zt,t.queryCache||new gL),Ne(this,Ja,t.mutationCache||new dV),Ne(this,el,t.defaultOptions||{}),Ne(this,Ld,new Map),Ne(this,Fd,new Map),Ne(this,tl,0)}mount(){wg(this,tl)._++,Y(this,tl)===1&&(Ne(this,jd,WT.subscribe(async t=>{t&&(await this.resumePausedMutations(),Y(this,Zt).onFocus())})),Ne(this,Bd,iy.subscribe(async t=>{t&&(await this.resumePausedMutations(),Y(this,Zt).onOnline())})))}unmount(){var t,e;wg(this,tl)._--,Y(this,tl)===0&&((t=Y(this,jd))==null||t.call(this),Ne(this,jd,void 0),(e=Y(this,Bd))==null||e.call(this),Ne(this,Bd,void 0))}isFetching(t){return Y(this,Zt).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return Y(this,Ja).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=Y(this,Zt).get(e.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const r=this.defaultQueryOptions(t),n=Y(this,Zt).build(this,r);return t.revalidateIfStale&&n.isStaleByTime(xd(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(e)}}getQueriesData(t){return Y(this,Zt).findAll(t).map(({queryKey:e,state:r})=>{const n=r.data;return[e,n]})}setQueryData(t,e,r){const n=this.defaultQueryOptions({queryKey:t}),i=Y(this,Zt).get(n.queryHash),s=i==null?void 0:i.state.data,o=eV(e,s);if(o!==void 0)return Y(this,Zt).build(this,n).setData(o,{...r,manual:!0})}setQueriesData(t,e,r){return Tr.batch(()=>Y(this,Zt).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,r)]))}getQueryState(t){var r;const e=this.defaultQueryOptions({queryKey:t});return(r=Y(this,Zt).get(e.queryHash))==null?void 0:r.state}removeQueries(t){const e=Y(this,Zt);Tr.batch(()=>{e.findAll(t).forEach(r=>{e.remove(r)})})}resetQueries(t,e){const r=Y(this,Zt),n={type:"active",...t};return Tr.batch(()=>(r.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries(n,e)))}cancelQueries(t,e={}){const r={revert:!0,...e},n=Tr.batch(()=>Y(this,Zt).findAll(t).map(i=>i.cancel(r)));return Promise.all(n).then(Ii).catch(Ii)}invalidateQueries(t,e={}){return Tr.batch(()=>{if(Y(this,Zt).findAll(t).forEach(n=>{n.invalidate()}),(t==null?void 0:t.refetchType)==="none")return Promise.resolve();const r={...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"};return this.refetchQueries(r,e)})}refetchQueries(t,e={}){const r={...e,cancelRefetch:e.cancelRefetch??!0},n=Tr.batch(()=>Y(this,Zt).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,r);return r.throwOnError||(s=s.catch(Ii)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(n).then(Ii)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const r=Y(this,Zt).build(this,e);return r.isStaleByTime(xd(e.staleTime,r))?r.fetch(e):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Ii).catch(Ii)}fetchInfiniteQuery(t){return t.behavior=sy(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Ii).catch(Ii)}ensureInfiniteQueryData(t){return t.behavior=sy(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return iy.isOnline()?Y(this,Ja).resumePausedMutations():Promise.resolve()}getQueryCache(){return Y(this,Zt)}getMutationCache(){return Y(this,Ja)}getDefaultOptions(){return Y(this,el)}setDefaultOptions(t){Ne(this,el,t)}setQueryDefaults(t,e){Y(this,Ld).set(tc(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...Y(this,Ld).values()],r={};return e.forEach(n=>{Pp(t,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(t,e){Y(this,Fd).set(tc(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...Y(this,Fd).values()];let r={};return e.forEach(n=>{Pp(t,n.mutationKey)&&(r={...r,...n.defaultOptions})}),r}defaultQueryOptions(t){if(t._defaulted)return t;const e={...Y(this,el).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=VT(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===GT&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...Y(this,el).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){Y(this,Zt).clear(),Y(this,Ja).clear()}},Zt=new WeakMap,Ja=new WeakMap,el=new WeakMap,Ld=new WeakMap,Fd=new WeakMap,tl=new WeakMap,jd=new WeakMap,Bd=new WeakMap,$k),Fn,vt,em,xn,Nu,Ud,rl,ro,tm,$d,zd,Lu,Fu,nl,Hd,Ct,bf,NS,LS,FS,jS,BS,US,$S,bL,zk,xL=(zk=class extends fh{constructor(e,r){super();Ze(this,Ct);Ze(this,Fn);Ze(this,vt);Ze(this,em);Ze(this,xn);Ze(this,Nu);Ze(this,Ud);Ze(this,rl);Ze(this,ro);Ze(this,tm);Ze(this,$d);Ze(this,zd);Ze(this,Lu);Ze(this,Fu);Ze(this,nl);Ze(this,Hd,new Set);this.options=r,Ne(this,Fn,e),Ne(this,ro,null),Ne(this,rl,OS()),this.options.experimental_prefetchInRender||Y(this,rl).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(Y(this,vt).addObserver(this),JI(Y(this,vt),this.options)?lt(this,Ct,bf).call(this):this.updateResult(),lt(this,Ct,jS).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return zS(Y(this,vt),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return zS(Y(this,vt),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,lt(this,Ct,BS).call(this),lt(this,Ct,US).call(this),Y(this,vt).removeObserver(this)}setOptions(e,r){const n=this.options,i=Y(this,vt);if(this.options=Y(this,Fn).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ps(this.options.enabled,Y(this,vt))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");lt(this,Ct,$S).call(this),Y(this,vt).setOptions(this.options),n._defaulted&&!ny(this.options,n)&&Y(this,Fn).getQueryCache().notify({type:"observerOptionsUpdated",query:Y(this,vt),observer:this});const s=this.hasListeners();s&&e3(Y(this,vt),i,this.options,n)&<(this,Ct,bf).call(this),this.updateResult(r),s&&(Y(this,vt)!==i||ps(this.options.enabled,Y(this,vt))!==ps(n.enabled,Y(this,vt))||xd(this.options.staleTime,Y(this,vt))!==xd(n.staleTime,Y(this,vt)))&<(this,Ct,NS).call(this);const o=lt(this,Ct,LS).call(this);s&&(Y(this,vt)!==i||ps(this.options.enabled,Y(this,vt))!==ps(n.enabled,Y(this,vt))||o!==Y(this,nl))&<(this,Ct,FS).call(this,o)}getOptimisticResult(e){const r=Y(this,Fn).getQueryCache().build(Y(this,Fn),e),n=this.createResult(r,e);return gV(this,n)&&(Ne(this,xn,n),Ne(this,Ud,this.options),Ne(this,Nu,Y(this,vt).state)),n}getCurrentResult(){return Y(this,xn)}trackResult(e,r){const n={};return Object.keys(e).forEach(i=>{Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),r==null||r(i),e[i])})}),n}trackProp(e){Y(this,Hd).add(e)}getCurrentQuery(){return Y(this,vt)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const r=Y(this,Fn).defaultQueryOptions(e),n=Y(this,Fn).getQueryCache().build(Y(this,Fn),r);return n.fetch().then(()=>this.createResult(n,r))}fetch(e){return lt(this,Ct,bf).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),Y(this,xn)))}createResult(e,r){var M;const n=Y(this,vt),i=this.options,s=Y(this,xn),o=Y(this,Nu),a=Y(this,Ud),u=e!==n?e.state:Y(this,em),{state:c}=e;let h={...c},f=!1,m;if(r._optimisticResults){const N=this.hasListeners(),z=!N&&JI(e,r),j=N&&e3(e,n,r,i);(z||j)&&(h={...h,...mL(c.data,e.options)}),r._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:y,errorUpdatedAt:v,status:x}=h;if(r.select&&h.data!==void 0)if(s&&h.data===(o==null?void 0:o.data)&&r.select===Y(this,tm))m=Y(this,$d);else try{Ne(this,tm,r.select),m=r.select(h.data),m=kS(s==null?void 0:s.data,m,r),Ne(this,$d,m),Ne(this,ro,null)}catch(N){Ne(this,ro,N)}else m=h.data;if(r.placeholderData!==void 0&&m===void 0&&x==="pending"){let N;if(s!=null&&s.isPlaceholderData&&r.placeholderData===(a==null?void 0:a.placeholderData))N=s.data;else if(N=typeof r.placeholderData=="function"?r.placeholderData((M=Y(this,zd))==null?void 0:M.state.data,Y(this,zd)):r.placeholderData,r.select&&N!==void 0)try{N=r.select(N),Ne(this,ro,null)}catch(z){Ne(this,ro,z)}N!==void 0&&(x="success",m=kS(s==null?void 0:s.data,N,r),f=!0)}Y(this,ro)&&(y=Y(this,ro),m=Y(this,$d),v=Date.now(),x="error");const b=h.fetchStatus==="fetching",_=x==="pending",w=x==="error",E=_&&b,A=m!==void 0,I={status:x,fetchStatus:h.fetchStatus,isPending:_,isSuccess:x==="success",isError:w,isInitialLoading:E,isLoading:E,data:m,dataUpdatedAt:h.dataUpdatedAt,error:y,errorUpdatedAt:v,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&!_,isLoadingError:w&&!A,isPaused:h.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:w&&A,isStale:XT(e,r),refetch:this.refetch,promise:Y(this,rl)};if(this.options.experimental_prefetchInRender){const N=H=>{I.status==="error"?H.reject(I.error):I.data!==void 0&&H.resolve(I.data)},z=()=>{const H=Ne(this,rl,I.promise=OS());N(H)},j=Y(this,rl);switch(j.status){case"pending":e.queryHash===n.queryHash&&N(j);break;case"fulfilled":(I.status==="error"||I.data!==j.value)&&z();break;case"rejected":(I.status!=="error"||I.error!==j.reason)&&z();break}}return I}updateResult(e){const r=Y(this,xn),n=this.createResult(Y(this,vt),this.options);if(Ne(this,Nu,Y(this,vt).state),Ne(this,Ud,this.options),Y(this,Nu).data!==void 0&&Ne(this,zd,Y(this,vt)),ny(n,r))return;Ne(this,xn,n);const i={},s=()=>{if(!r)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!Y(this,Hd).size)return!0;const l=new Set(a??Y(this,Hd));return this.options.throwOnError&&l.add("error"),Object.keys(Y(this,xn)).some(u=>{const c=u;return Y(this,xn)[c]!==r[c]&&l.has(c)})};(e==null?void 0:e.listeners)!==!1&&s()&&(i.listeners=!0),lt(this,Ct,bL).call(this,{...i,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&<(this,Ct,jS).call(this)}},Fn=new WeakMap,vt=new WeakMap,em=new WeakMap,xn=new WeakMap,Nu=new WeakMap,Ud=new WeakMap,rl=new WeakMap,ro=new WeakMap,tm=new WeakMap,$d=new WeakMap,zd=new WeakMap,Lu=new WeakMap,Fu=new WeakMap,nl=new WeakMap,Hd=new WeakMap,Ct=new WeakSet,bf=function(e){lt(this,Ct,$S).call(this);let r=Y(this,vt).fetch(this.options,e);return e!=null&&e.throwOnError||(r=r.catch(Ii)),r},NS=function(){lt(this,Ct,BS).call(this);const e=xd(this.options.staleTime,Y(this,vt));if(ec||Y(this,xn).isStale||!IS(e))return;const n=lL(Y(this,xn).dataUpdatedAt,e)+1;Ne(this,Lu,setTimeout(()=>{Y(this,xn).isStale||this.updateResult()},n))},LS=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(Y(this,vt)):this.options.refetchInterval)??!1},FS=function(e){lt(this,Ct,US).call(this),Ne(this,nl,e),!(ec||ps(this.options.enabled,Y(this,vt))===!1||!IS(Y(this,nl))||Y(this,nl)===0)&&Ne(this,Fu,setInterval(()=>{(this.options.refetchIntervalInBackground||WT.isFocused())&<(this,Ct,bf).call(this)},Y(this,nl)))},jS=function(){lt(this,Ct,NS).call(this),lt(this,Ct,FS).call(this,lt(this,Ct,LS).call(this))},BS=function(){Y(this,Lu)&&(clearTimeout(Y(this,Lu)),Ne(this,Lu,void 0))},US=function(){Y(this,Fu)&&(clearInterval(Y(this,Fu)),Ne(this,Fu,void 0))},$S=function(){const e=Y(this,Fn).getQueryCache().build(Y(this,Fn),this.options);if(e===Y(this,vt))return;const r=Y(this,vt);Ne(this,vt,e),Ne(this,em,e.state),this.hasListeners()&&(r==null||r.removeObserver(this),e.addObserver(this))},bL=function(e){Tr.batch(()=>{e.listeners&&this.listeners.forEach(r=>{r(Y(this,xn))}),Y(this,Fn).getQueryCache().notify({query:Y(this,vt),type:"observerResultsUpdated"})})},zk);function mV(t,e){return ps(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function JI(t,e){return mV(t,e)||t.state.data!==void 0&&zS(t,e,e.refetchOnMount)}function zS(t,e,r){if(ps(e.enabled,t)!==!1){const n=typeof r=="function"?r(t):r;return n==="always"||n!==!1&&XT(t,e)}return!1}function e3(t,e,r,n){return(t!==e||ps(n.enabled,t)===!1)&&(!r.suspense||t.state.status!=="error")&&XT(t,r)}function XT(t,e){return ps(e.enabled,t)!==!1&&t.isStaleByTime(xd(e.staleTime,t))}function gV(t,e){return!ny(t.getCurrentResult(),e)}var vV=class extends xL{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions({...t,behavior:sy()},e)}getOptimisticResult(t){return t.behavior=sy(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){var y,v;const{state:r}=t,n=super.createResult(t,e),{isFetching:i,isRefetching:s,isError:o,isRefetchError:a}=n,l=(v=(y=r.fetchMeta)==null?void 0:y.fetchMore)==null?void 0:v.direction,u=o&&l==="forward",c=i&&l==="forward",h=o&&l==="backward",f=i&&l==="backward";return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:hV(e,r.data),hasPreviousPage:fV(e,r.data),isFetchNextPageError:u,isFetchingNextPage:c,isFetchPreviousPageError:h,isFetchingPreviousPage:f,isRefetchError:a&&!u&&!h,isRefetching:s&&!c&&!f}}},il,sl,jn,Yo,aa,Z0,HS,Hk,yV=(Hk=class extends fh{constructor(r,n){super();Ze(this,aa);Ze(this,il);Ze(this,sl);Ze(this,jn);Ze(this,Yo);Ne(this,il,r),this.setOptions(n),this.bindMethods(),lt(this,aa,Z0).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var i;const n=this.options;this.options=Y(this,il).defaultMutationOptions(r),ny(this.options,n)||Y(this,il).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Y(this,jn),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&tc(n.mutationKey)!==tc(this.options.mutationKey)?this.reset():((i=Y(this,jn))==null?void 0:i.state.status)==="pending"&&Y(this,jn).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=Y(this,jn))==null||r.removeObserver(this)}onMutationUpdate(r){lt(this,aa,Z0).call(this),lt(this,aa,HS).call(this,r)}getCurrentResult(){return Y(this,sl)}reset(){var r;(r=Y(this,jn))==null||r.removeObserver(this),Ne(this,jn,void 0),lt(this,aa,Z0).call(this),lt(this,aa,HS).call(this)}mutate(r,n){var i;return Ne(this,Yo,n),(i=Y(this,jn))==null||i.removeObserver(this),Ne(this,jn,Y(this,il).getMutationCache().build(Y(this,il),this.options)),Y(this,jn).addObserver(this),Y(this,jn).execute(r)}},il=new WeakMap,sl=new WeakMap,jn=new WeakMap,Yo=new WeakMap,aa=new WeakSet,Z0=function(){var n;const r=((n=Y(this,jn))==null?void 0:n.state)??vL();Ne(this,sl,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},HS=function(r){Tr.batch(()=>{var n,i,s,o,a,l,u,c;if(Y(this,Yo)&&this.hasListeners()){const h=Y(this,sl).variables,f=Y(this,sl).context;(r==null?void 0:r.type)==="success"?((i=(n=Y(this,Yo)).onSuccess)==null||i.call(n,r.data,h,f),(o=(s=Y(this,Yo)).onSettled)==null||o.call(s,r.data,null,h,f)):(r==null?void 0:r.type)==="error"&&((l=(a=Y(this,Yo)).onError)==null||l.call(a,r.error,h,f),(c=(u=Y(this,Yo)).onSettled)==null||c.call(u,void 0,r.error,h,f))}this.listeners.forEach(h=>{h(Y(this,sl))})})},Hk),wL=T.createContext(void 0),Jr=t=>{const e=T.useContext(wL);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},xV=({client:t,children:e})=>(T.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),g.jsx(wL.Provider,{value:t,children:e})),_L=T.createContext(!1),bV=()=>T.useContext(_L);_L.Provider;function wV(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var _V=T.createContext(wV()),SV=()=>T.useContext(_V);function SL(t,e){return typeof t=="function"?t(...e):!!t}function VS(){}var EV=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},TV=t=>{T.useEffect(()=>{t.clearReset()},[t])},CV=({result:t,errorResetBoundary:e,throwOnError:r,query:n})=>t.isError&&!e.isReset()&&!t.isFetching&&n&&SL(r,[t.error,n]),AV=t=>{t.suspense&&(t.staleTime===void 0&&(t.staleTime=1e3),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3)))},RV=(t,e)=>t.isLoading&&t.isFetching&&!e,PV=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,t3=(t,e,r)=>e.fetchOptimistic(t).catch(()=>{r.clearReset()});function EL(t,e,r){var c,h,f,m,y;const n=Jr(),i=bV(),s=SV(),o=n.defaultQueryOptions(t);(h=(c=n.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||h.call(c,o),o._optimisticResults=i?"isRestoring":"optimistic",AV(o),EV(o,s),TV(s);const a=!n.getQueryCache().get(o.queryHash),[l]=T.useState(()=>new e(n,o)),u=l.getOptimisticResult(o);if(T.useSyncExternalStore(T.useCallback(v=>{const x=i?VS:l.subscribe(Tr.batchCalls(v));return l.updateResult(),x},[l,i]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),T.useEffect(()=>{l.setOptions(o,{listeners:!1})},[o,l]),PV(o,u))throw t3(o,l,s);if(CV({result:u,errorResetBoundary:s,throwOnError:o.throwOnError,query:n.getQueryCache().get(o.queryHash)}))throw u.error;if((m=(f=n.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||m.call(f,o,u),o.experimental_prefetchInRender&&!ec&&RV(u,i)){const v=a?t3(o,l,s):(y=n.getQueryCache().get(o.queryHash))==null?void 0:y.promise;v==null||v.catch(VS).finally(()=>{l.updateResult()})}return o.notifyOnChangeProps?u:l.trackResult(u)}function qT(t,e){return EL(t,xL)}function Mo(t,e){const r=Jr(),[n]=T.useState(()=>new yV(r,t));T.useEffect(()=>{n.setOptions(t)},[n,t]);const i=T.useSyncExternalStore(T.useCallback(o=>n.subscribe(Tr.batchCalls(o)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),s=T.useCallback((o,a)=>{n.mutate(o,a).catch(VS)},[n]);if(i.error&&SL(n.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:s,mutateAsync:i.mutate}}function IV(t,e){return EL(t,vV)}function MV({src:t,placeholder:e}){const[r,n]=T.useState(t||e),i=T.useCallback(()=>{n(e)},[e]);return T.useEffect(()=>{n(t)},[t]),{imgSrc:r,onError:i}}const kV=T.forwardRef((t,e)=>{const{isLoading:r,loadingIcon:n,loadingPosition:i="left",children:s,className:o,...a}=t,l=()=>{let c;return n?c=n:c=g.jsx(UN,{...a,"aria-label":"Loading"}),c},u=Re("loading d-flex align-items-center gap-8",{"is-loading":r},o);return g.jsxs("div",{className:u,role:"status",ref:e,children:[(!i||i==="left")&&l(),s,i==="right"&&l()]})}),YT=kV,OV=T.forwardRef(({color:t="primary",type:e="button",size:r="md",children:n,isLoading:i,loadingIcon:s,loadingPosition:o,leftIcon:a,rightIcon:l,className:u,variant:c="filled",...h},f)=>{const m=Re("btn",{[`btn-filled btn-${t}`]:c==="filled",[`btn-${c}-${t}`]:c==="outline"||c==="ghost","btn-icon":!n,"btn-loading":i,"btn-lg":r==="lg","btn-sm":r==="sm"},u);return g.jsx("button",{ref:f,className:m,type:e,...h,children:i?g.jsx(YT,{isLoading:!0,loadingIcon:s,loadingPosition:o,children:n}):g.jsxs("span",{children:[a,n,l]})})}),it=OV;function Pn(){const t="/",e=`${t}assets/themes/edifice-bootstrap/images`,r=`${t}assets/themes/edifice-bootstrap/icons`,n=`${t}assets/themes/edifice-bootstrap/fonts`;return[e,r,n]}function TL({appCode:t}){return qT({queryKey:["conf"],queryFn:async()=>await Me.conf().getConf(t)})}function DV(){return qT({queryKey:["session"],queryFn:async()=>await Me.session().getSession()})}const CL=T.createContext(null);function NV({children:t,params:e}){var r;const n=e.app,{t:i}=we(),s=i(n),o=DV(),a=TL({appCode:n}),l=(a==null?void 0:a.isSuccess)&&(o==null?void 0:o.isSuccess),u=((r=o==null?void 0:o.data)==null?void 0:r.currentLanguage)??"fr";T.useEffect(()=>{[{data:"html",value:u},{data:"translate",value:"no"}].forEach(h=>{var f;return(f=document.querySelector("html"))==null?void 0:f.setAttribute(h.data,h.value)})},[u,o.data]),T.useEffect(()=>{document.title=`${s}`},[n,o.data,s]);const c=T.useMemo(()=>{var h,f,m,y,v;return{appCode:n,applications:(h=a==null?void 0:a.data)==null?void 0:h.applications,confQuery:a,currentApp:(f=a==null?void 0:a.data)==null?void 0:f.currentApp,currentLanguage:u,init:l,sessionQuery:o,user:(m=o==null?void 0:o.data)==null?void 0:m.user,userDescription:(y=o==null?void 0:o.data)==null?void 0:y.userDescription,userProfile:(v=o==null?void 0:o.data)==null?void 0:v.userProfile}},[n,a,u,l,o]);return g.jsx(CL.Provider,{value:c,children:t})}function yt(){const t=T.useContext(CL);if(!t)throw new Error("Cannot be used outside of OdeClientProvider");return t}const LV=T.forwardRef(({src:t,alt:e,imgPlaceholder:r,ratio:n,objectFit:i,className:s,...o},a)=>{const[l]=Pn(),u=r??`${l}/common/image-placeholder.png`,{imgSrc:c,onError:h}=MV({src:t,placeholder:u}),f={"ratio ratio-1x1":n==="1","ratio ratio-4x3":n==="4","ratio ratio-16x9":n==="16","ratio ratio-21x9":n==="21"},m={"object-fit-contain":i==="contain","object-fit-cover":i==="cover","object-fit-fill":i==="fill","object-fit-scale":i==="scale","object-fit-none":i==="none"},y=Re({...f}),v=Re({...m},s),x=g.jsx("img",{alt:e,onError:h,ref:a,src:c,className:v,...o});return n?g.jsx("div",{className:y,children:x}):x}),wo=LV,FV=T.forwardRef(({variant:t="square",size:e="md",alt:r,src:n,imgPlaceholder:i,className:s,...o},a)=>{const[l]=Pn(),u=i||`${l}/avatar/no-avatar.svg`,c=Re("avatar",{"avatar-xs":e==="xs","avatar-sm":e==="sm","avatar-md":e==="md","avatar-lg":e==="lg","avatar-xl":e==="xl",square:t==="square",rounded:t==="rounded","rounded-circle":t==="circle"},s);return g.jsx("div",{ref:a,className:c,children:g.jsx(wo,{src:n||u,alt:r,imgPlaceholder:u,...o})})}),rc=FV,jV=T.forwardRef(({className:t,variant:e={type:"notification",level:"info"},children:r,...n},i)=>{const s=Re("badge rounded-pill",(e.type==="content"||e.type==="user")&&"background"in e?"bg-gray-200":(e.type==="content"||e.type==="user")&&!("background"in e)?"border border-0":"",e.type==="content"&&`text-${e.level}`,e.type==="notification"&&`badge-notification bg-${e.level} text-light border border-0`,e.type==="user"&&`badge-profile-${e.profile.toLowerCase()}`,e.type==="link"&&"badge-link border border-0",e.type==="chip"&&"bg-gray-200",t);return g.jsx("span",{ref:i,className:s,...n,children:e.type==="chip"?g.jsx("div",{className:"d-flex fw-800 align-items-center",children:r}):r})}),ow=jV,BV=T.forwardRef(({level:t="h1",headingStyle:e="h1",children:r,className:n,...i},s)=>{const o=Re(e,n);return g.jsx(t,{ref:s,className:o,...i,children:r})}),Ss=BV,UV=({imageSrc:t,imageAlt:e="",title:r,text:n,size:i=250,className:s})=>{const o=Re("text",s);return g.jsxs("div",{className:"emptyscreen",children:[t&&g.jsx("div",{className:"emptyscreen-image mb-12",children:g.jsx("img",{className:"mx-auto",src:t,alt:e,width:i,height:i})}),r&&g.jsx(Ss,{level:"h2",headingStyle:"h2",className:"text-secondary mb-8",children:r}),n&&g.jsx("div",{className:o,children:n})]})},ha=UV;var jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function QT(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var AL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(jl,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,s=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},l=function(v){return(v=+v)+(v>68?1900:2e3)},u=function(v){return function(x){this[v]=+x}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(x){if(!x||x==="Z")return 0;var b=x.match(/([+-]|\d\d)/g),_=60*b[1]+(+b[2]||0);return _===0?0:b[0]==="+"?-_:_}(v)}],h=function(v){var x=a[v];return x&&(x.indexOf?x:x.s.concat(x.f))},f=function(v,x){var b,_=a.meridiem;if(_){for(var w=1;w<=24;w+=1)if(v.indexOf(_(w,0,x))>-1){b=w>12;break}}else b=v===(x?"pm":"PM");return b},m={A:[o,function(v){this.afternoon=f(v,!1)}],a:[o,function(v){this.afternoon=f(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[i,u("day")],Do:[o,function(v){var x=a.ordinal,b=v.match(/\d+/);if(this.day=b[0],x)for(var _=1;_<=31;_+=1)x(_).replace(/\[|\]/g,"")===v&&(this.day=_)}],M:[s,u("month")],MM:[i,u("month")],MMM:[o,function(v){var x=h("months"),b=(h("monthsShort")||x.map(function(_){return _.slice(0,3)})).indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[o,function(v){var x=h("months").indexOf(v)+1;if(x<1)throw new Error;this.month=x%12||x}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(v){this.year=l(v)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function y(v){var x,b;x=v,b=a&&a.formats;for(var _=(v=x.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(N,z,j){var H=j&&j.toUpperCase();return z||b[j]||r[j]||b[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(F,L,O){return L||O.slice(1)})})).match(n),w=_.length,E=0;E<w;E+=1){var A=_[E],P=m[A],I=P&&P[0],M=P&&P[1];_[E]=M?{regex:I,parser:M}:A.replace(/^\[|\]$/g,"")}return function(N){for(var z={},j=0,H=0;j<w;j+=1){var F=_[j];if(typeof F=="string")H+=F.length;else{var L=F.regex,O=F.parser,$=N.slice(H),V=L.exec($)[0];O.call(z,V),N=N.replace(V,"")}}return function(k){var U=k.afternoon;if(U!==void 0){var B=k.hours;U?B<12&&(k.hours+=12):B===12&&(k.hours=0),delete k.afternoon}}(z),z}}return function(v,x,b){b.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(l=v.parseTwoDigitYear);var _=x.prototype,w=_.parse;_.parse=function(E){var A=E.date,P=E.utc,I=E.args;this.$u=P;var M=I[1];if(typeof M=="string"){var N=I[2]===!0,z=I[3]===!0,j=N||z,H=I[2];z&&(H=I[2]),a=this.$locale(),!N&&H&&(a=b.Ls[H]),this.$d=function($,V,k){try{if(["x","X"].indexOf(V)>-1)return new Date((V==="X"?1e3:1)*$);var U=y(V)($),B=U.year,X=U.month,K=U.day,q=U.hours,re=U.minutes,ue=U.seconds,le=U.milliseconds,me=U.zone,xe=new Date,_e=K||(B||X?1:xe.getDate()),Te=B||xe.getFullYear(),de=0;B&&!X||(de=X>0?X-1:xe.getMonth());var Be=q||0,je=re||0,ut=ue||0,Pe=le||0;return me?new Date(Date.UTC(Te,de,_e,Be,je,ut,Pe+60*me.offset*1e3)):k?new Date(Date.UTC(Te,de,_e,Be,je,ut,Pe)):new Date(Te,de,_e,Be,je,ut,Pe)}catch{return new Date("")}}(A,M,P),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),j&&A!=this.format(M)&&(this.$d=new Date("")),a={}}else if(M instanceof Array)for(var F=M.length,L=1;L<=F;L+=1){I[1]=M[L-1];var O=b.apply(this,I);if(O.isValid()){this.$d=O.$d,this.$L=O.$L,this.init();break}L===F&&(this.$d=new Date(""))}else w.call(this,E)}}})})(AL);var $V=AL.exports;const zV=QT($V);var RL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(jl,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,i,s){var o=i.prototype,a=o.format;s.en.formats=r,o.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,c=function(h,f){return h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(m,y,v){var x=v&&v.toUpperCase();return y||f[v]||r[v]||f[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,_,w){return _||w.slice(1)})})}(l,u===void 0?{}:u);return a.call(this,c)}}})})(RL);var HV=RL.exports;const VV=QT(HV);var PL={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(jl,function(){return function(r,n,i){r=r||{};var s=n.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(u,c,h,f){return s.fromToBase(u,c,h,f)}i.en.relativeTime=o,s.fromToBase=function(u,c,h,f,m){for(var y,v,x,b=h.$locale().relativeTime||o,_=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],w=_.length,E=0;E<w;E+=1){var A=_[E];A.d&&(y=f?i(u).diff(h,A.d,!0):h.diff(u,A.d,!0));var P=(r.rounding||Math.round)(Math.abs(y));if(x=y>0,P<=A.r||!A.r){P<=1&&E>0&&(A=_[E-1]);var I=b[A.l];m&&(P=m(""+P)),v=typeof I=="string"?I.replace("%d",P):I(P,c,A.l,x);break}}if(c)return v;var M=x?b.future:b.past;return typeof M=="function"?M(v):M.replace("%s",v)},s.to=function(u,c){return a(u,c,this,!0)},s.from=function(u,c){return a(u,c,this)};var l=function(u){return u.$u?i.utc():i()};s.toNow=function(u){return this.to(l(this),u)},s.fromNow=function(u){return this.from(l(this),u)}}})})(PL);var GV=PL.exports;const WV=QT(GV);var XV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var i=n(r),s={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(l,u,c){var h=s[c];return Array.isArray(h)&&(h=h[u?0:1]),h.replace("%d",l)}var a={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(l){return l+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return i.default.locale(a,null,!0),a})})(XV);var qV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(o){return o+"º"}};return i.default.locale(s,null,!0),s})})(qV);var YV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(o){return""+o+(o===1?"er":"")}};return i.default.locale(s,null,!0),s})})(YV);var QV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};return i.default.locale(s,null,!0),s})})(QV);var KV={exports:{}};(function(t,e){(function(r,n){t.exports=n(Lr)})(jl,function(r){function n(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var i=n(r),s={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return i.default.locale(s,null,!0),s})})(KV);Lr.extend(WV);Lr.extend(zV);Lr.extend(VV);function IL(){const{currentLanguage:t}=yt(),e=T.useCallback((i,s)=>{if(i.length<11)return Lr(i,["YYYY-MM-DD"],s);if(i.split("").findIndex(o=>"0">o||o>"9")<0)return Lr(Number.parseInt(i)).locale(t);{let o=Lr(i).locale(t);return o.isValid()||(o=Lr(i,["YYYY-MM-DD HH:mm:ss.SSS"]).locale(t)),o}},[t]),r=T.useCallback(i=>{let s=Lr();try{return typeof i>"u"?"":(typeof i=="string"?s=e(i):typeof i=="number"?s=Lr(i).locale(t):typeof i.$date=="number"?s=Lr(new Date(i.$date)).locale(t):typeof i.$date=="string"&&(s=e(i.$date)),s.isValid()?s.fromNow():"")}catch{return""}},[t,e]),n=T.useCallback((i,s="short")=>{let o=Lr();try{if(typeof i>"u")return"";typeof i=="string"?o=e(i):typeof i=="number"?o=Lr(i).locale(t):typeof i.$date=="number"?o=Lr(new Date(i.$date)).locale(t):typeof i.$date=="string"&&(o=e(i.$date));let a="";switch(s){case"short":a="L";break;case"long":a="LL";break;case"abbr":a="ll";break;default:a=s}return o.isValid()?o.locale(t).format(a):""}catch{return""}},[t,e]);return{fromNow:r,formatDate:n}}let ZV={data:""},JV=t=>typeof window=="object"?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||ZV,eG=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,tG=/\/\*[^]*?\*\/| +/g,r3=/\n+/g,Ya=(t,e)=>{let r="",n="",i="";for(let s in t){let o=t[s];s[0]=="@"?s[1]=="i"?r=s+" "+o+";":n+=s[1]=="f"?Ya(o,s):s+"{"+Ya(o,s[1]=="k"?"":e)+"}":typeof o=="object"?n+=Ya(o,e?e.replace(/([^,])+/g,a=>s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,a):a?a+" "+l:l)):s):o!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Ya.p?Ya.p(s,o):s+":"+o+";")}return r+(e&&i?e+"{"+i+"}":i)+n},Bo={},ML=t=>{if(typeof t=="object"){let e="";for(let r in t)e+=r+ML(t[r]);return e}return t},rG=(t,e,r,n,i)=>{let s=ML(t),o=Bo[s]||(Bo[s]=(l=>{let u=0,c=11;for(;u<l.length;)c=101*c+l.charCodeAt(u++)>>>0;return"go"+c})(s));if(!Bo[o]){let l=s!==t?t:(u=>{let c,h,f=[{}];for(;c=eG.exec(u.replace(tG,""));)c[4]?f.shift():c[3]?(h=c[3].replace(r3," ").trim(),f.unshift(f[0][h]=f[0][h]||{})):f[0][c[1]]=c[2].replace(r3," ").trim();return f[0]})(t);Bo[o]=Ya(i?{["@keyframes "+o]:l}:l,r?"":"."+o)}let a=r&&Bo.g?Bo.g:null;return r&&(Bo.g=Bo[o]),((l,u,c,h)=>{h?u.data=u.data.replace(h,l):u.data.indexOf(l)===-1&&(u.data=c?l+u.data:u.data+l)})(Bo[o],e,n,a),o},nG=(t,e,r)=>t.reduce((n,i,s)=>{let o=e[s];if(o&&o.call){let a=o(r),l=a&&a.props&&a.props.className||/^go/.test(a)&&a;o=l?"."+l:a&&typeof a=="object"?a.props?"":Ya(a,""):a===!1?"":a}return n+i+(o??"")},"");function g1(t){let e=this||{},r=t.call?t(e.p):t;return rG(r.unshift?r.raw?nG(r,[].slice.call(arguments,1),e.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(e.p):i),{}):r,JV(e.target),e.g,e.o,e.k)}let kL,GS,WS;g1.bind({g:1});let fa=g1.bind({k:1});function iG(t,e,r,n){Ya.p=e,kL=t,GS=r,WS=n}function Bl(t,e){let r=this||{};return function(){let n=arguments;function i(s,o){let a=Object.assign({},s),l=a.className||i.className;r.p=Object.assign({theme:GS&&GS()},a),r.o=/ *go\d+/.test(l),a.className=g1.apply(r,n)+(l?" "+l:"");let u=t;return t[0]&&(u=a.as||t,delete a.as),WS&&u[0]&&WS(a),kL(u,a)}return i}}var sG=t=>typeof t=="function",oy=(t,e)=>sG(t)?t(e):t,oG=(()=>{let t=0;return()=>(++t).toString()})(),OL=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let e=matchMedia("(prefers-reduced-motion: reduce)");t=!e||e.matches}return t}})(),aG=20,J0=new Map,lG=1e3,n3=t=>{if(J0.has(t))return;let e=setTimeout(()=>{J0.delete(t),cc({type:4,toastId:t})},lG);J0.set(t,e)},uG=t=>{let e=J0.get(t);e&&clearTimeout(e)},XS=(t,e)=>{switch(e.type){case 0:return{...t,toasts:[e.toast,...t.toasts].slice(0,aG)};case 1:return e.toast.id&&uG(e.toast.id),{...t,toasts:t.toasts.map(s=>s.id===e.toast.id?{...s,...e.toast}:s)};case 2:let{toast:r}=e;return t.toasts.find(s=>s.id===r.id)?XS(t,{type:1,toast:r}):XS(t,{type:0,toast:r});case 3:let{toastId:n}=e;return n?n3(n):t.toasts.forEach(s=>{n3(s.id)}),{...t,toasts:t.toasts.map(s=>s.id===n||n===void 0?{...s,visible:!1}:s)};case 4:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==e.toastId)};case 5:return{...t,pausedAt:e.time};case 6:let i=e.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(s=>({...s,pauseDuration:s.pauseDuration+i}))}}},ev=[],tv={toasts:[],pausedAt:void 0},cc=t=>{tv=XS(tv,t),ev.forEach(e=>{e(tv)})},cG={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},dG=(t={})=>{let[e,r]=T.useState(tv);T.useEffect(()=>(ev.push(r),()=>{let i=ev.indexOf(r);i>-1&&ev.splice(i,1)}),[e]);let n=e.toasts.map(i=>{var s,o;return{...t,...t[i.type],...i,duration:i.duration||((s=t[i.type])==null?void 0:s.duration)||(t==null?void 0:t.duration)||cG[i.type],style:{...t.style,...(o=t[i.type])==null?void 0:o.style,...i.style}}});return{...e,toasts:n}},hG=(t,e="blank",r)=>({createdAt:Date.now(),visible:!0,type:e,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...r,id:(r==null?void 0:r.id)||oG()}),cm=t=>(e,r)=>{let n=hG(e,t,r);return cc({type:2,toast:n}),n.id},di=(t,e)=>cm("blank")(t,e);di.error=cm("error");di.success=cm("success");di.loading=cm("loading");di.custom=cm("custom");di.dismiss=t=>{cc({type:3,toastId:t})};di.remove=t=>cc({type:4,toastId:t});di.promise=(t,e,r)=>{let n=di.loading(e.loading,{...r,...r==null?void 0:r.loading});return t.then(i=>(di.success(oy(e.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{di.error(oy(e.error,i),{id:n,...r,...r==null?void 0:r.error})}),t};var fG=(t,e)=>{cc({type:1,toast:{id:t,height:e}})},pG=()=>{cc({type:5,time:Date.now()})},mG=t=>{let{toasts:e,pausedAt:r}=dG(t);T.useEffect(()=>{if(r)return;let s=Date.now(),o=e.map(a=>{if(a.duration===1/0)return;let l=(a.duration||0)+a.pauseDuration-(s-a.createdAt);if(l<0){a.visible&&di.dismiss(a.id);return}return setTimeout(()=>di.dismiss(a.id),l)});return()=>{o.forEach(a=>a&&clearTimeout(a))}},[e,r]);let n=T.useCallback(()=>{r&&cc({type:6,time:Date.now()})},[r]),i=T.useCallback((s,o)=>{let{reverseOrder:a=!1,gutter:l=8,defaultPosition:u}=o||{},c=e.filter(m=>(m.position||u)===(s.position||u)&&m.height),h=c.findIndex(m=>m.id===s.id),f=c.filter((m,y)=>y<h&&m.visible).length;return c.filter(m=>m.visible).slice(...a?[f+1]:[0,f]).reduce((m,y)=>m+(y.height||0)+l,0)},[e]);return{toasts:e,handlers:{updateHeight:fG,startPause:pG,endPause:n,calculateOffset:i}}},gG=fa`
|
|
42
42
|
from {
|
|
43
43
|
transform: scale(0) rotate(45deg);
|
|
44
44
|
opacity: 0;
|
|
@@ -214,7 +214,7 @@ to {
|
|
|
214
214
|
> * {
|
|
215
215
|
pointer-events: auto;
|
|
216
216
|
}
|
|
217
|
-
`,Vg=16,$G=({reverseOrder:t,position:e="top-center",toastOptions:r,gutter:n,children:i,containerStyle:s,containerClassName:o})=>{let{toasts:a,handlers:l}=mG(r);return T.createElement("div",{style:{position:"fixed",zIndex:9999,top:Vg,left:Vg,right:Vg,bottom:Vg,pointerEvents:"none",...s},className:o,onMouseEnter:l.startPause,onMouseLeave:l.endPause},a.map(u=>{let c=u.position||e,h=l.calculateOffset(u,{reverseOrder:t,gutter:n,defaultPosition:e}),f=BG(c,h);return T.createElement(jG,{id:u.id,key:u.id,onHeightUpdate:l.updateHeight,className:u.visible?UG:"",style:f},u.type==="custom"?oy(u.message,u):i?i(u):T.createElement(FG,{toast:u,position:c}))}))},lu=di,KT=hm(),ot=t=>dm(t,KT),ZT=hm();ot.write=t=>dm(t,ZT);var v1=hm();ot.onStart=t=>dm(t,v1);var JT=hm();ot.onFrame=t=>dm(t,JT);var eC=hm();ot.onFinish=t=>dm(t,eC);var bd=[];ot.setTimeout=(t,e)=>{const r=ot.now()+e,n=()=>{const s=bd.findIndex(o=>o.cancel==n);~s&&bd.splice(s,1),ul-=~s?1:0},i={time:r,handler:t,cancel:n};return bd.splice(DL(r),0,i),ul+=1,NL(),i};var DL=t=>~(~bd.findIndex(e=>e.time>t)||~bd.length);ot.cancel=t=>{v1.delete(t),JT.delete(t),eC.delete(t),KT.delete(t),ZT.delete(t)};ot.sync=t=>{qS=!0,ot.batchedUpdates(t),qS=!1};ot.throttle=t=>{let e;function r(){try{t(...e)}finally{e=null}}function n(...i){e=i,ot.onStart(r)}return n.handler=t,n.cancel=()=>{v1.delete(r),e=null},n};var tC=typeof window<"u"?window.requestAnimationFrame:()=>{};ot.use=t=>tC=t;ot.now=typeof performance<"u"?()=>performance.now():Date.now;ot.batchedUpdates=t=>t();ot.catch=console.error;ot.frameLoop="always";ot.advance=()=>{ot.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):FL()};var ll=-1,ul=0,qS=!1;function dm(t,e){qS?(e.delete(t),t(0)):(e.add(t),NL())}function NL(){ll<0&&(ll=0,ot.frameLoop!=="demand"&&tC(LL))}function zG(){ll=-1}function LL(){~ll&&(tC(LL),ot.batchedUpdates(FL))}function FL(){const t=ll;ll=ot.now();const e=DL(ll);if(e&&(jL(bd.splice(0,e),r=>r.handler()),ul-=e),!ul){zG();return}v1.flush(),KT.flush(t?Math.min(64,ll-t):16.667),JT.flush(),ZT.flush(),eC.flush()}function hm(){let t=new Set,e=t;return{add(r){ul+=e==t&&!t.has(r)?1:0,t.add(r)},delete(r){return ul-=e==t&&t.has(r)?1:0,t.delete(r)},flush(r){e.size&&(t=new Set,ul-=e.size,jL(e,n=>n(r)&&t.add(n)),ul+=t.size,e=t)}}}function jL(t,e){t.forEach(r=>{try{e(r)}catch(n){ot.catch(n)}})}var HG=Object.defineProperty,VG=(t,e)=>{for(var r in e)HG(t,r,{get:e[r],enumerable:!0})},Ps={};VG(Ps,{assign:()=>WG,colors:()=>El,createStringInterpolator:()=>nC,skipAnimation:()=>UL,to:()=>BL,willAdvance:()=>iC});function YS(){}var GG=(t,e,r)=>Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0}),fe={arr:Array.isArray,obj:t=>!!t&&t.constructor.name==="Object",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0};function Wo(t,e){if(fe.arr(t)){if(!fe.arr(e)||t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}return t===e}var rt=(t,e)=>t.forEach(e);function _o(t,e,r){if(fe.arr(t)){for(let n=0;n<t.length;n++)e.call(r,t[n],`${n}`);return}for(const n in t)t.hasOwnProperty(n)&&e.call(r,t[n],n)}var Sn=t=>fe.und(t)?[]:fe.arr(t)?t:[t];function Vf(t,e){if(t.size){const r=Array.from(t);t.clear(),rt(r,e)}}var wf=(t,...e)=>Vf(t,r=>r(...e)),rC=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),nC,BL,El=null,UL=!1,iC=YS,WG=t=>{t.to&&(BL=t.to),t.now&&(ot.now=t.now),t.colors!==void 0&&(El=t.colors),t.skipAnimation!=null&&(UL=t.skipAnimation),t.createStringInterpolator&&(nC=t.createStringInterpolator),t.requestAnimationFrame&&ot.use(t.requestAnimationFrame),t.batchedUpdates&&(ot.batchedUpdates=t.batchedUpdates),t.willAdvance&&(iC=t.willAdvance),t.frameLoop&&(ot.frameLoop=t.frameLoop)},Gf=new Set,ji=[],aw=[],ay=0,y1={get idle(){return!Gf.size&&!ji.length},start(t){ay>t.priority?(Gf.add(t),ot.onStart(XG)):($L(t),ot(QS))},advance:QS,sort(t){if(ay)ot.onFrame(()=>y1.sort(t));else{const e=ji.indexOf(t);~e&&(ji.splice(e,1),zL(t))}},clear(){ji=[],Gf.clear()}};function XG(){Gf.forEach($L),Gf.clear(),ot(QS)}function $L(t){ji.includes(t)||zL(t)}function zL(t){ji.splice(qG(ji,e=>e.priority>t.priority),0,t)}function QS(t){const e=aw;for(let r=0;r<ji.length;r++){const n=ji[r];ay=n.priority,n.idle||(iC(n),n.advance(t),n.idle||e.push(n))}return ay=0,aw=ji,aw.length=0,ji=e,ji.length>0}function qG(t,e){const r=t.findIndex(e);return r<0?t.length:r}var YG=(t,e,r)=>Math.min(Math.max(r,t),e),QG={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},ys="[-+]?\\d*\\.?\\d+",ly=ys+"%";function x1(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var KG=new RegExp("rgb"+x1(ys,ys,ys)),ZG=new RegExp("rgba"+x1(ys,ys,ys,ys)),JG=new RegExp("hsl"+x1(ys,ly,ly)),eW=new RegExp("hsla"+x1(ys,ly,ly,ys)),tW=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rW=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,nW=/^#([0-9a-fA-F]{6})$/,iW=/^#([0-9a-fA-F]{8})$/;function sW(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=nW.exec(t))?parseInt(e[1]+"ff",16)>>>0:El&&El[t]!==void 0?El[t]:(e=KG.exec(t))?(Dc(e[1])<<24|Dc(e[2])<<16|Dc(e[3])<<8|255)>>>0:(e=ZG.exec(t))?(Dc(e[1])<<24|Dc(e[2])<<16|Dc(e[3])<<8|o3(e[4]))>>>0:(e=tW.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=iW.exec(t))?parseInt(e[1],16)>>>0:(e=rW.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=JG.exec(t))?(i3(s3(e[1]),Gg(e[2]),Gg(e[3]))|255)>>>0:(e=eW.exec(t))?(i3(s3(e[1]),Gg(e[2]),Gg(e[3]))|o3(e[4]))>>>0:null}function lw(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function i3(t,e,r){const n=r<.5?r*(1+e):r+e-r*e,i=2*r-n,s=lw(i,n,t+1/3),o=lw(i,n,t),a=lw(i,n,t-1/3);return Math.round(s*255)<<24|Math.round(o*255)<<16|Math.round(a*255)<<8}function Dc(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function s3(t){return(parseFloat(t)%360+360)%360/360}function o3(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function Gg(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function a3(t){let e=sW(t);if(e===null)return t;e=e||0;const r=(e&4278190080)>>>24,n=(e&16711680)>>>16,i=(e&65280)>>>8,s=(e&255)/255;return`rgba(${r}, ${n}, ${i}, ${s})`}var Ip=(t,e,r)=>{if(fe.fun(t))return t;if(fe.arr(t))return Ip({range:t,output:e,extrapolate:r});if(fe.str(t.output[0]))return nC(t);const n=t,i=n.output,s=n.range||[0,1],o=n.extrapolateLeft||n.extrapolate||"extend",a=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(u=>u);return u=>{const c=aW(u,s);return oW(u,s[c],s[c+1],i[c],i[c+1],l,o,a,n.map)}};function oW(t,e,r,n,i,s,o,a,l){let u=l?l(t):t;if(u<e){if(o==="identity")return u;o==="clamp"&&(u=e)}if(u>r){if(a==="identity")return u;a==="clamp"&&(u=r)}return n===i?n:e===r?t<=e?n:i:(e===-1/0?u=-u:r===1/0?u=u-e:u=(u-e)/(r-e),u=s(u),n===-1/0?u=-u:i===1/0?u=u+n:u=u*(i-n)+n,u)}function aW(t,e){for(var r=1;r<e.length-1&&!(e[r]>=t);++r);return r-1}var lW=(t,e="end")=>r=>{r=e==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*t,i=e==="end"?Math.floor(n):Math.ceil(n);return YG(0,1,i/t)},uy=1.70158,Wg=uy*1.525,l3=uy+1,u3=2*Math.PI/3,c3=2*Math.PI/4.5,Xg=t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,uW={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>1-(1-t)*(1-t),easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInCubic:t=>t*t*t,easeOutCubic:t=>1-Math.pow(1-t,3),easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1-Math.pow(1-t,4),easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1-Math.pow(1-t,5),easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeOutSine:t=>Math.sin(t*Math.PI/2),easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInExpo:t=>t===0?0:Math.pow(2,10*t-10),easeOutExpo:t=>t===1?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>t===0?0:t===1?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInBack:t=>l3*t*t*t-uy*t*t,easeOutBack:t=>1+l3*Math.pow(t-1,3)+uy*Math.pow(t-1,2),easeInOutBack:t=>t<.5?Math.pow(2*t,2)*((Wg+1)*2*t-Wg)/2:(Math.pow(2*t-2,2)*((Wg+1)*(t*2-2)+Wg)+2)/2,easeInElastic:t=>t===0?0:t===1?1:-Math.pow(2,10*t-10)*Math.sin((t*10-10.75)*u3),easeOutElastic:t=>t===0?0:t===1?1:Math.pow(2,-10*t)*Math.sin((t*10-.75)*u3)+1,easeInOutElastic:t=>t===0?0:t===1?1:t<.5?-(Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*c3))/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*c3)/2+1,easeInBounce:t=>1-Xg(1-t),easeOutBounce:Xg,easeInOutBounce:t=>t<.5?(1-Xg(1-2*t))/2:(1+Xg(2*t-1))/2,steps:lW},Mp=Symbol.for("FluidValue.get"),Jd=Symbol.for("FluidValue.observers"),Fi=t=>!!(t&&t[Mp]),Un=t=>t&&t[Mp]?t[Mp]():t,d3=t=>t[Jd]||null;function cW(t,e){t.eventObserved?t.eventObserved(e):t(e)}function kp(t,e){const r=t[Jd];r&&r.forEach(n=>{cW(n,e)})}var HL=class{constructor(t){if(!t&&!(t=this.get))throw Error("Unknown getter");dW(this,t)}},dW=(t,e)=>VL(t,Mp,e);function ph(t,e){if(t[Mp]){let r=t[Jd];r||VL(t,Jd,r=new Set),r.has(e)||(r.add(e),t.observerAdded&&t.observerAdded(r.size,e))}return e}function Op(t,e){const r=t[Jd];if(r&&r.has(e)){const n=r.size-1;n?r.delete(e):t[Jd]=null,t.observerRemoved&&t.observerRemoved(n,e)}}var VL=(t,e,r)=>Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0}),rv=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,hW=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,h3=new RegExp(`(${rv.source})(%|[a-z]+)`,"i"),fW=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,b1=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,GL=t=>{const[e,r]=pW(t);if(!e||rC())return t;const n=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(n)return n.trim();if(r&&r.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(r);return i||t}else{if(r&&b1.test(r))return GL(r);if(r)return r}return t},pW=t=>{const e=b1.exec(t);if(!e)return[,];const[,r,n]=e;return[r,n]},uw,mW=(t,e,r,n,i)=>`rgba(${Math.round(e)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,WL=t=>{uw||(uw=El?new RegExp(`(${Object.keys(El).join("|")})(?!\\w)`,"g"):/^\b$/);const e=t.output.map(s=>Un(s).replace(b1,GL).replace(hW,a3).replace(uw,a3)),r=e.map(s=>s.match(rv).map(Number)),i=r[0].map((s,o)=>r.map(a=>{if(!(o in a))throw Error('The arity of each "output" value must be equal');return a[o]})).map(s=>Ip({...t,output:s}));return s=>{var l;const o=!h3.test(e[0])&&((l=e.find(u=>h3.test(u)))==null?void 0:l.replace(rv,""));let a=0;return e[0].replace(rv,()=>`${i[a++](s)}${o||""}`).replace(fW,mW)}},sC="react-spring: ",XL=t=>{const e=t;let r=!1;if(typeof e!="function")throw new TypeError(`${sC}once requires a function parameter`);return(...n)=>{r||(e(...n),r=!0)}},gW=XL(console.warn);function vW(){gW(`${sC}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var yW=XL(console.warn);function xW(){yW(`${sC}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function w1(t){return fe.str(t)&&(t[0]=="#"||/\d/.test(t)||!rC()&&b1.test(t)||t in(El||{}))}var Iu=rC()?T.useEffect:T.useLayoutEffect,bW=()=>{const t=T.useRef(!1);return Iu(()=>(t.current=!0,()=>{t.current=!1}),[]),t};function oC(){const t=T.useState()[1],e=bW();return()=>{e.current&&t(Math.random())}}function wW(t,e){const[r]=T.useState(()=>({inputs:e,result:t()})),n=T.useRef(),i=n.current;let s=i;return s?e&&s.inputs&&_W(e,s.inputs)||(s={inputs:e,result:t()}):s=r,T.useEffect(()=>{n.current=s,i==r&&(r.inputs=r.result=void 0)},[s]),s.result}function _W(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}var aC=t=>T.useEffect(t,SW),SW=[];function KS(t){const e=T.useRef();return T.useEffect(()=>{e.current=t}),e.current}var Dp=Symbol.for("Animated:node"),EW=t=>!!t&&t[Dp]===t,Ks=t=>t&&t[Dp],lC=(t,e)=>GG(t,Dp,e),_1=t=>t&&t[Dp]&&t[Dp].getPayload(),qL=class{constructor(){lC(this,this)}getPayload(){return this.payload||[]}},fm=class extends qL{constructor(t){super(),this._value=t,this.done=!0,this.durationProgress=0,fe.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new fm(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return fe.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,fe.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Np=class extends fm{constructor(t){super(0),this._string=null,this._toString=Ip({output:[t,t]})}static create(t){return new Np(t)}getValue(){const t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(fe.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Ip({output:[this.getValue(),t]})),this._value=0,super.reset()}},cy={dependencies:null},S1=class extends qL{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const e={};return _o(this.source,(r,n)=>{EW(r)?e[n]=r.getValue(t):Fi(r)?e[n]=Un(r):t||(e[n]=r)}),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&rt(this.payload,t=>t.reset())}_makePayload(t){if(t){const e=new Set;return _o(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){cy.dependencies&&Fi(t)&&cy.dependencies.add(t);const e=_1(t);e&&rt(e,r=>this.add(r))}},YL=class extends S1{constructor(t){super(t)}static create(t){return new YL(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const e=this.getPayload();return t.length==e.length?e.map((r,n)=>r.setValue(t[n])).some(Boolean):(super.setValue(t.map(TW)),!0)}};function TW(t){return(w1(t)?Np:fm).create(t)}function ZS(t){const e=Ks(t);return e?e.constructor:fe.arr(t)?YL:w1(t)?Np:fm}var f3=(t,e)=>{const r=!fe.fun(t)||t.prototype&&t.prototype.isReactComponent;return T.forwardRef((n,i)=>{const s=T.useRef(null),o=r&&T.useCallback(y=>{s.current=RW(i,y)},[i]),[a,l]=AW(n,e),u=oC(),c=()=>{const y=s.current;if(r&&!y)return;(y?e.applyAnimatedValues(y,a.getValue(!0)):!1)===!1&&u()},h=new CW(c,l),f=T.useRef();Iu(()=>(f.current=h,rt(l,y=>ph(y,h)),()=>{f.current&&(rt(f.current.deps,y=>Op(y,f.current)),ot.cancel(f.current.update))})),T.useEffect(c,[]),aC(()=>()=>{const y=f.current;rt(y.deps,v=>Op(v,y))});const m=e.getComponentProps(a.getValue());return T.createElement(t,{...m,ref:o})})},CW=class{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){t.type=="change"&&ot.write(this.update)}};function AW(t,e){const r=new Set;return cy.dependencies=r,t.style&&(t={...t,style:e.createAnimatedStyle(t.style)}),t=new S1(t),cy.dependencies=null,[t,r]}function RW(t,e){return t&&(fe.fun(t)?t(e):t.current=e),e}var p3=Symbol.for("AnimatedComponent"),PW=(t,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:r=i=>new S1(i),getComponentProps:n=i=>i}={})=>{const i={applyAnimatedValues:e,createAnimatedStyle:r,getComponentProps:n},s=o=>{const a=m3(o)||"Anonymous";return fe.str(o)?o=s[o]||(s[o]=f3(o,i)):o=o[p3]||(o[p3]=f3(o,i)),o.displayName=`Animated(${a})`,o};return _o(t,(o,a)=>{fe.arr(t)&&(a=m3(o)),s[a]=s(o)}),{animated:s}},m3=t=>fe.str(t)?t:t&&fe.str(t.displayName)?t.displayName:fe.fun(t)&&t.name||null;function $n(t,...e){return fe.fun(t)?t(...e):t}var Wf=(t,e)=>t===!0||!!(e&&t&&(fe.fun(t)?t(e):Sn(t).includes(e))),QL=(t,e)=>fe.obj(t)?e&&t[e]:t,KL=(t,e)=>t.default===!0?t[e]:t.default?t.default[e]:void 0,IW=t=>t,E1=(t,e=IW)=>{let r=MW;t.default&&t.default!==!0&&(t=t.default,r=Object.keys(t));const n={};for(const i of r){const s=e(t[i],i);fe.und(s)||(n[i]=s)}return n},MW=["config","onProps","onStart","onChange","onPause","onResume","onRest"],kW={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function OW(t){const e={};let r=0;if(_o(t,(n,i)=>{kW[i]||(e[i]=n,r++)}),r)return e}function uC(t){const e=OW(t);if(e){const r={to:e};return _o(t,(n,i)=>i in e||(r[i]=n)),r}return{...t}}function Lp(t){return t=Un(t),fe.arr(t)?t.map(Lp):w1(t)?Ps.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function ZL(t){for(const e in t)return!0;return!1}function JS(t){return fe.fun(t)||fe.arr(t)&&fe.obj(t[0])}function eE(t,e){var r;(r=t.ref)==null||r.delete(t),e==null||e.delete(t)}function JL(t,e){var r;e&&t.ref!==e&&((r=t.ref)==null||r.delete(t),e.add(t),t.ref=e)}var DW={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},tE={...DW.default,mass:1,damping:1,easing:uW.linear,clamp:!1},NW=class{constructor(){this.velocity=0,Object.assign(this,tE)}};function LW(t,e,r){r&&(r={...r},g3(r,e),e={...r,...e}),g3(t,e),Object.assign(t,e);for(const o in tE)t[o]==null&&(t[o]=tE[o]);let{frequency:n,damping:i}=t;const{mass:s}=t;return fe.und(n)||(n<.01&&(n=.01),i<0&&(i=0),t.tension=Math.pow(2*Math.PI/n,2)*s,t.friction=4*Math.PI*i*s/n),t}function g3(t,e){if(!fe.und(e.decay))t.duration=void 0;else{const r=!fe.und(e.tension)||!fe.und(e.friction);(r||!fe.und(e.frequency)||!fe.und(e.damping)||!fe.und(e.mass))&&(t.duration=void 0,t.decay=void 0),r&&(t.frequency=void 0)}}var v3=[],FW=class{constructor(){this.changed=!1,this.values=v3,this.toValues=null,this.fromValues=v3,this.config=new NW,this.immediate=!1}};function e5(t,{key:e,props:r,defaultProps:n,state:i,actions:s}){return new Promise((o,a)=>{let l,u,c=Wf(r.cancel??(n==null?void 0:n.cancel),e);if(c)m();else{fe.und(r.pause)||(i.paused=Wf(r.pause,e));let y=n==null?void 0:n.pause;y!==!0&&(y=i.paused||Wf(y,e)),l=$n(r.delay||0,e),y?(i.resumeQueue.add(f),s.pause()):(s.resume(),f())}function h(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-ot.now()}function f(){l>0&&!Ps.skipAnimation?(i.delayed=!0,u=ot.setTimeout(m,l),i.pauseQueue.add(h),i.timeouts.add(u)):m()}function m(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),t<=(i.cancelId||0)&&(c=!0);try{s.start({...r,callId:t,cancel:c},o)}catch(y){a(y)}}})}var cC=(t,e)=>e.length==1?e[0]:e.some(r=>r.cancelled)?wd(t.get()):e.every(r=>r.noop)?t5(t.get()):ms(t.get(),e.every(r=>r.finished)),t5=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),ms=(t,e,r=!1)=>({value:t,finished:e,cancelled:r}),wd=t=>({value:t,cancelled:!0,finished:!1});function r5(t,e,r,n){const{callId:i,parentId:s,onRest:o}=e,{asyncTo:a,promise:l}=r;return!s&&t===a&&!e.reset?l:r.promise=(async()=>{r.asyncId=i,r.asyncTo=t;const u=E1(e,(x,b)=>b==="onRest"?void 0:x);let c,h;const f=new Promise((x,b)=>(c=x,h=b)),m=x=>{const b=i<=(r.cancelId||0)&&wd(n)||i!==r.asyncId&&ms(n,!1);if(b)throw x.result=b,h(x),x},y=(x,b)=>{const _=new y3,w=new x3;return(async()=>{if(Ps.skipAnimation)throw Fp(r),w.result=ms(n,!1),h(w),w;m(_);const E=fe.obj(x)?{...x}:{...b,to:x};E.parentId=i,_o(u,(P,I)=>{fe.und(E[I])&&(E[I]=P)});const A=await n.start(E);return m(_),r.paused&&await new Promise(P=>{r.resumeQueue.add(P)}),A})()};let v;if(Ps.skipAnimation)return Fp(r),ms(n,!1);try{let x;fe.arr(t)?x=(async b=>{for(const _ of b)await y(_)})(t):x=Promise.resolve(t(y,n.stop.bind(n))),await Promise.all([x.then(c),f]),v=ms(n.get(),!0,!1)}catch(x){if(x instanceof y3)v=x.result;else if(x instanceof x3)v=x.result;else throw x}finally{i==r.asyncId&&(r.asyncId=s,r.asyncTo=s?a:void 0,r.promise=s?l:void 0)}return fe.fun(o)&&ot.batchedUpdates(()=>{o(v,n,n.item)}),v})()}function Fp(t,e){Vf(t.timeouts,r=>r.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}var y3=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},x3=class extends Error{constructor(){super("SkipAnimationSignal")}},rE=t=>t instanceof dC,jW=1,dC=class extends HL{constructor(){super(...arguments),this.id=jW++,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=Ks(this);return t&&t.getValue()}to(...t){return Ps.to(this,t)}interpolate(...t){return vW(),Ps.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){kp(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||y1.sort(this),kp(this,{type:"priority",parent:this,priority:t})}},nc=Symbol.for("SpringPhase"),n5=1,nE=2,iE=4,cw=t=>(t[nc]&n5)>0,La=t=>(t[nc]&nE)>0,tf=t=>(t[nc]&iE)>0,b3=(t,e)=>e?t[nc]|=nE|n5:t[nc]&=~nE,w3=(t,e)=>e?t[nc]|=iE:t[nc]&=~iE,BW=class extends dC{constructor(t,e){if(super(),this.animation=new FW,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!fe.und(t)||!fe.und(e)){const r=fe.obj(t)?{...t}:{...e,from:t};fe.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(La(this)||this._state.asyncTo)||tf(this)}get goal(){return Un(this.animation.to)}get velocity(){const t=Ks(this);return t instanceof fm?t.lastVelocity||0:t.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return cw(this)}get isAnimating(){return La(this)}get isPaused(){return tf(this)}get isDelayed(){return this._state.delayed}advance(t){let e=!0,r=!1;const n=this.animation;let{toValues:i}=n;const{config:s}=n,o=_1(n.to);!o&&Fi(n.to)&&(i=Sn(Un(n.to))),n.values.forEach((u,c)=>{if(u.done)return;const h=u.constructor==Np?1:o?o[c].lastPosition:i[c];let f=n.immediate,m=h;if(!f){if(m=u.lastPosition,s.tension<=0){u.done=!0;return}let y=u.elapsedTime+=t;const v=n.fromValues[c],x=u.v0!=null?u.v0:u.v0=fe.arr(s.velocity)?s.velocity[c]:s.velocity;let b;const _=s.precision||(v==h?.005:Math.min(1,Math.abs(h-v)*.001));if(fe.und(s.duration))if(s.decay){const w=s.decay===!0?.998:s.decay,E=Math.exp(-(1-w)*y);m=v+x/(1-w)*(1-E),f=Math.abs(u.lastPosition-m)<=_,b=x*E}else{b=u.lastVelocity==null?x:u.lastVelocity;const w=s.restVelocity||_/10,E=s.clamp?0:s.bounce,A=!fe.und(E),P=v==h?u.v0>0:v<h;let I,M=!1;const N=1,z=Math.ceil(t/N);for(let j=0;j<z&&(I=Math.abs(b)>w,!(!I&&(f=Math.abs(h-m)<=_,f)));++j){A&&(M=m==h||m>h==P,M&&(b=-b*E,m=h));const H=-s.tension*1e-6*(m-h),F=-s.friction*.001*b,L=(H+F)/s.mass;b=b+L*N,m=m+b*N}}else{let w=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,u.durationProgress>0&&(u.elapsedTime=s.duration*u.durationProgress,y=u.elapsedTime+=t)),w=(s.progress||0)+y/this._memoizedDuration,w=w>1?1:w<0?0:w,u.durationProgress=w),m=v+s.easing(w)*(h-v),b=(m-u.lastPosition)/t,f=w==1}u.lastVelocity=b,Number.isNaN(m)&&(console.warn("Got NaN while animating:",this),f=!0)}o&&!o[c].done&&(f=!1),f?u.done=!0:e=!1,u.setValue(m,s.round)&&(r=!0)});const a=Ks(this),l=a.getValue();if(e){const u=Un(n.to);(l!==u||r)&&!s.decay?(a.setValue(u),this._onChange(u)):r&&s.decay&&this._onChange(l),this._stop()}else r&&this._onChange(l)}set(t){return ot.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(La(this)){const{to:t,config:e}=this.animation;ot.batchedUpdates(()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,e){let r;return fe.und(t)?(r=this.queue||[],this.queue=[]):r=[fe.obj(t)?t:{...e,to:t}],Promise.all(r.map(n=>this._update(n))).then(n=>cC(this,n))}stop(t){const{to:e}=this.animation;return this._focus(this.get()),Fp(this._state,t&&this._lastCallId),ot.batchedUpdates(()=>this._stop(e,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const e=this.key||"";let{to:r,from:n}=t;r=fe.obj(r)?r[e]:r,(r==null||JS(r))&&(r=void 0),n=fe.obj(n)?n[e]:n,n==null&&(n=void 0);const i={to:r,from:n};return cw(this)||(t.reverse&&([r,n]=[n,r]),n=Un(n),fe.und(n)?Ks(this)||this._set(r):this._set(n)),i}_update({...t},e){const{key:r,defaultProps:n}=this;t.default&&Object.assign(n,E1(t,(o,a)=>/^on/.test(a)?QL(o,r):o)),S3(this,t,"onProps"),nf(this,"onProps",t,this);const i=this._prepareNode(t);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return e5(++this._lastCallId,{key:r,props:t,defaultProps:n,state:s,actions:{pause:()=>{tf(this)||(w3(this,!0),wf(s.pauseQueue),nf(this,"onPause",ms(this,rf(this,this.animation.to)),this))},resume:()=>{tf(this)&&(w3(this,!1),La(this)&&this._resume(),wf(s.resumeQueue),nf(this,"onResume",ms(this,rf(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(t.loop&&o.finished&&!(e&&o.noop)){const a=i5(t);if(a)return this._update(a,!0)}return o})}_merge(t,e,r){if(e.cancel)return this.stop(!0),r(wd(this));const n=!fe.und(t.to),i=!fe.und(t.from);if(n||i)if(e.callId>this._lastToId)this._lastToId=e.callId;else return r(wd(this));const{key:s,defaultProps:o,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:h=u}=t;i&&!n&&(!e.default||fe.und(c))&&(c=h),e.reverse&&([c,h]=[h,c]);const f=!Wo(h,u);f&&(a.from=h),h=Un(h);const m=!Wo(c,l);m&&this._focus(c);const y=JS(e.to),{config:v}=a,{decay:x,velocity:b}=v;(n||i)&&(v.velocity=0),e.config&&!y&&LW(v,$n(e.config,s),e.config!==o.config?$n(o.config,s):void 0);let _=Ks(this);if(!_||fe.und(c))return r(ms(this,!0));const w=fe.und(e.reset)?i&&!e.default:!fe.und(h)&&Wf(e.reset,s),E=w?h:this.get(),A=Lp(c),P=fe.num(A)||fe.arr(A)||w1(A),I=!y&&(!P||Wf(o.immediate||e.immediate,s));if(m){const j=ZS(c);if(j!==_.constructor)if(I)_=this._set(A);else throw Error(`Cannot animate between ${_.constructor.name} and ${j.name}, as the "to" prop suggests`)}const M=_.constructor;let N=Fi(c),z=!1;if(!N){const j=w||!cw(this)&&f;(m||j)&&(z=Wo(Lp(E),A),N=!z),(!Wo(a.immediate,I)&&!I||!Wo(v.decay,x)||!Wo(v.velocity,b))&&(N=!0)}if(z&&La(this)&&(a.changed&&!w?N=!0:N||this._stop(l)),!y&&((N||Fi(l))&&(a.values=_.getPayload(),a.toValues=Fi(c)?null:M==Np?[1]:Sn(A)),a.immediate!=I&&(a.immediate=I,!I&&!w&&this._set(l)),N)){const{onRest:j}=a;rt($W,F=>S3(this,e,F));const H=ms(this,rf(this,l));wf(this._pendingCalls,H),this._pendingCalls.add(r),a.changed&&ot.batchedUpdates(()=>{var F;a.changed=!w,j==null||j(H,this),w?$n(o.onRest,H):(F=a.onStart)==null||F.call(a,H,this)})}w&&this._set(E),y?r(r5(e.to,e,this._state,this)):N?this._start():La(this)&&!m?this._pendingCalls.add(r):r(t5(E))}_focus(t){const e=this.animation;t!==e.to&&(d3(this)&&this._detach(),e.to=t,d3(this)&&this._attach())}_attach(){let t=0;const{to:e}=this.animation;Fi(e)&&(ph(e,this),rE(e)&&(t=e.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;Fi(t)&&Op(t,this)}_set(t,e=!0){const r=Un(t);if(!fe.und(r)){const n=Ks(this);if(!n||!Wo(r,n.getValue())){const i=ZS(r);!n||n.constructor!=i?lC(this,i.create(r)):n.setValue(r),n&&ot.batchedUpdates(()=>{this._onChange(r,e)})}}return Ks(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,nf(this,"onStart",ms(this,rf(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),$n(this.animation.onChange,t,this)),$n(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){const t=this.animation;Ks(this).reset(Un(t.to)),t.immediate||(t.fromValues=t.values.map(e=>e.lastPosition)),La(this)||(b3(this,!0),tf(this)||this._resume())}_resume(){Ps.skipAnimation?this.finish():y1.start(this)}_stop(t,e){if(La(this)){b3(this,!1);const r=this.animation;rt(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),kp(this,{type:"idle",parent:this});const n=e?wd(this.get()):ms(this.get(),rf(this,t??r.to));wf(this._pendingCalls,n),r.changed&&(r.changed=!1,nf(this,"onRest",n,this))}}};function rf(t,e){const r=Lp(e),n=Lp(t.get());return Wo(n,r)}function i5(t,e=t.loop,r=t.to){const n=$n(e);if(n){const i=n!==!0&&uC(n),s=(i||t).reverse,o=!i||i.reset;return jp({...t,loop:e,default:!1,pause:void 0,to:!s||JS(r)?r:void 0,from:o?t.from:void 0,reset:o,...i})}}function jp(t){const{to:e,from:r}=t=uC(t),n=new Set;return fe.obj(e)&&_3(e,n),fe.obj(r)&&_3(r,n),t.keys=n.size?Array.from(n):null,t}function UW(t){const e=jp(t);return fe.und(e.default)&&(e.default=E1(e)),e}function _3(t,e){_o(t,(r,n)=>r!=null&&e.add(n))}var $W=["onStart","onRest","onChange","onPause","onResume"];function S3(t,e,r){t.animation[r]=e[r]!==KL(e,r)?QL(e[r],t.key):void 0}function nf(t,e,...r){var n,i,s,o;(i=(n=t.animation)[e])==null||i.call(n,...r),(o=(s=t.defaultProps)[e])==null||o.call(s,...r)}var zW=["onStart","onChange","onRest"],HW=1,s5=class{constructor(t,e){this.id=HW++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((e,r)=>t[r]=e.get()),t}set(t){for(const e in t){const r=t[e];fe.und(r)||this.springs[e].set(r)}}update(t){return t&&this.queue.push(jp(t)),this}start(t){let{queue:e}=this;return t?e=Sn(t).map(jp):this.queue=[],this._flush?this._flush(this,e):(c5(this,e),sE(this,e))}stop(t,e){if(t!==!!t&&(e=t),e){const r=this.springs;rt(Sn(e),n=>r[n].stop(!!t))}else Fp(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(fe.und(t))this.start({pause:!0});else{const e=this.springs;rt(Sn(t),r=>e[r].pause())}return this}resume(t){if(fe.und(t))this.start({pause:!1});else{const e=this.springs;rt(Sn(t),r=>e[r].resume())}return this}each(t){_o(this.springs,t)}_onFrame(){const{onStart:t,onChange:e,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,Vf(t,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const s=!n&&this._started,o=i||s&&r.size?this.get():null;i&&e.size&&Vf(e,([a,l])=>{l.value=o,a(l,this,this._item)}),s&&(this._started=!1,Vf(r,([a,l])=>{l.value=o,a(l,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;ot.onFrame(this._onFrame)}};function sE(t,e){return Promise.all(e.map(r=>o5(t,r))).then(r=>cC(t,r))}async function o5(t,e,r){const{keys:n,to:i,from:s,loop:o,onRest:a,onResolve:l}=e,u=fe.obj(e.default)&&e.default;o&&(e.loop=!1),i===!1&&(e.to=null),s===!1&&(e.from=null);const c=fe.arr(i)||fe.fun(i)?i:void 0;c?(e.to=void 0,e.onRest=void 0,u&&(u.onRest=void 0)):rt(zW,v=>{const x=e[v];if(fe.fun(x)){const b=t._events[v];e[v]=({finished:_,cancelled:w})=>{const E=b.get(x);E?(_||(E.finished=!1),w&&(E.cancelled=!0)):b.set(x,{value:null,finished:_||!1,cancelled:w||!1})},u&&(u[v]=e[v])}});const h=t._state;e.pause===!h.paused?(h.paused=e.pause,wf(e.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(e.pause=!0);const f=(n||Object.keys(t.springs)).map(v=>t.springs[v].start(e)),m=e.cancel===!0||KL(e,"cancel")===!0;(c||m&&h.asyncId)&&f.push(e5(++t._lastAsyncId,{props:e,state:h,actions:{pause:YS,resume:YS,start(v,x){m?(Fp(h,t._lastAsyncId),x(wd(t))):(v.onRest=a,x(r5(c,v,h,t)))}}})),h.paused&&await new Promise(v=>{h.resumeQueue.add(v)});const y=cC(t,await Promise.all(f));if(o&&y.finished&&!(r&&y.noop)){const v=i5(e,o,i);if(v)return c5(t,[v]),o5(t,v,!0)}return l&&ot.batchedUpdates(()=>l(y,t,t.item)),y}function oE(t,e){const r={...t.springs};return e&&rt(Sn(e),n=>{fe.und(n.keys)&&(n=jp(n)),fe.obj(n.to)||(n={...n,to:void 0}),u5(r,n,i=>l5(i))}),a5(t,r),r}function a5(t,e){_o(e,(r,n)=>{t.springs[n]||(t.springs[n]=r,ph(r,t))})}function l5(t,e){const r=new BW;return r.key=t,e&&ph(r,e),r}function u5(t,e,r){e.keys&&rt(e.keys,n=>{(t[n]||(t[n]=r(n)))._prepareNode(e)})}function c5(t,e){rt(e,r=>{u5(t.springs,r,n=>l5(n,t))})}var pm=({children:t,...e})=>{const r=T.useContext(dy),n=e.pause||!!r.pause,i=e.immediate||!!r.immediate;e=wW(()=>({pause:n,immediate:i}),[n,i]);const{Provider:s}=dy;return T.createElement(s,{value:e},t)},dy=VW(pm,{});pm.Provider=dy.Provider;pm.Consumer=dy.Consumer;function VW(t,e){return Object.assign(t,T.createContext(e)),t.Provider._context=t,t.Consumer._context=t,t}var d5=()=>{const t=[],e=function(n){xW();const i=[];return rt(t,(s,o)=>{if(fe.und(n))i.push(s.start());else{const a=r(n,s,o);a&&i.push(s.start(a))}}),i};e.current=t,e.add=function(n){t.includes(n)||t.push(n)},e.delete=function(n){const i=t.indexOf(n);~i&&t.splice(i,1)},e.pause=function(){return rt(t,n=>n.pause(...arguments)),this},e.resume=function(){return rt(t,n=>n.resume(...arguments)),this},e.set=function(n){rt(t,(i,s)=>{const o=fe.fun(n)?n(s,i):n;o&&i.set(o)})},e.start=function(n){const i=[];return rt(t,(s,o)=>{if(fe.und(n))i.push(s.start());else{const a=this._getProps(n,s,o);a&&i.push(s.start(a))}}),i},e.stop=function(){return rt(t,n=>n.stop(...arguments)),this},e.update=function(n){return rt(t,(i,s)=>i.update(this._getProps(n,i,s))),this};const r=function(n,i,s){return fe.fun(n)?n(s,i):n};return e._getProps=r,e};function GW(t,e,r){const n=fe.fun(e)&&e;n&&!r&&(r=[]);const i=T.useMemo(()=>n||arguments.length==3?d5():void 0,[]),s=T.useRef(0),o=oC(),a=T.useMemo(()=>({ctrls:[],queue:[],flush(b,_){const w=oE(b,_);return s.current>0&&!a.queue.length&&!Object.keys(w).some(A=>!b.springs[A])?sE(b,_):new Promise(A=>{a5(b,w),a.queue.push(()=>{A(sE(b,_))}),o()})}}),[]),l=T.useRef([...a.ctrls]),u=[],c=KS(t)||0;T.useMemo(()=>{rt(l.current.slice(t,c),b=>{eE(b,i),b.stop(!0)}),l.current.length=t,h(c,t)},[t]),T.useMemo(()=>{h(0,Math.min(c,t))},r);function h(b,_){for(let w=b;w<_;w++){const E=l.current[w]||(l.current[w]=new s5(null,a.flush)),A=n?n(w,E):e[w];A&&(u[w]=UW(A))}}const f=l.current.map((b,_)=>oE(b,u[_])),m=T.useContext(pm),y=KS(m),v=m!==y&&ZL(m);Iu(()=>{s.current++,a.ctrls=l.current;const{queue:b}=a;b.length&&(a.queue=[],rt(b,_=>_())),rt(l.current,(_,w)=>{i==null||i.add(_),v&&_.start({default:m});const E=u[w];E&&(JL(_,E.ref),_.ref?_.queue.push(E):_.start(E))})}),aC(()=>()=>{rt(a.ctrls,b=>b.stop(!0))});const x=f.map(b=>({...b}));return i?[x,i]:x}function h5(t,e){const r=fe.fun(t),[[n],i]=GW(1,r?t:[t],r?[]:e);return r||arguments.length==2?[n,i]:n}function hC(t,e,r){const n=fe.fun(e)&&e,{reset:i,sort:s,trail:o=0,expires:a=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:c,config:h}=n?n():e,f=T.useMemo(()=>n||arguments.length==3?d5():void 0,[]),m=Sn(t),y=[],v=T.useRef(null),x=i?null:v.current;Iu(()=>{v.current=y}),aC(()=>(rt(y,L=>{f==null||f.add(L.ctrl),L.ctrl.ref=f}),()=>{rt(v.current,L=>{L.expired&&clearTimeout(L.expirationId),eE(L.ctrl,f),L.ctrl.stop(!0)})}));const b=XW(m,n?n():e,x),_=i&&v.current||[];Iu(()=>rt(_,({ctrl:L,item:O,key:$})=>{eE(L,f),$n(u,O,$)}));const w=[];if(x&&rt(x,(L,O)=>{L.expired?(clearTimeout(L.expirationId),_.push(L)):(O=w[O]=b.indexOf(L.key),~O&&(y[O]=L))}),rt(m,(L,O)=>{y[O]||(y[O]={key:b[O],item:L,phase:"mount",ctrl:new s5},y[O].ctrl.item=L)}),w.length){let L=-1;const{leave:O}=n?n():e;rt(w,($,V)=>{const k=x[V];~$?(L=y.indexOf(k),y[L]={...k,item:m[$]}):O&&y.splice(++L,0,k)})}fe.fun(s)&&y.sort((L,O)=>s(L.item,O.item));let E=-o;const A=oC(),P=E1(e),I=new Map,M=T.useRef(new Map),N=T.useRef(!1);rt(y,(L,O)=>{const $=L.key,V=L.phase,k=n?n():e;let U,B;const X=$n(k.delay||0,$);if(V=="mount")U=k.enter,B="enter";else{const ue=b.indexOf($)<0;if(V!="leave")if(ue)U=k.leave,B="leave";else if(U=k.update)B="update";else return;else if(!ue)U=k.enter,B="enter";else return}if(U=$n(U,L.item,O),U=fe.obj(U)?uC(U):{to:U},!U.config){const ue=h||P.config;U.config=$n(ue,L.item,O,B)}E+=o;const K={...P,delay:X+E,ref:c,immediate:k.immediate,reset:!1,...U};if(B=="enter"&&fe.und(K.from)){const ue=n?n():e,le=fe.und(ue.initial)||x?ue.from:ue.initial;K.from=$n(le,L.item,O)}const{onResolve:q}=K;K.onResolve=ue=>{$n(q,ue);const le=v.current,me=le.find(xe=>xe.key===$);if(me&&!(ue.cancelled&&me.phase!="update")&&me.ctrl.idle){const xe=le.every(_e=>_e.ctrl.idle);if(me.phase=="leave"){const _e=$n(a,me.item);if(_e!==!1){const Te=_e===!0?0:_e;if(me.expired=!0,!xe&&Te>0){Te<=2147483647&&(me.expirationId=setTimeout(A,Te));return}}}xe&&le.some(_e=>_e.expired)&&(M.current.delete(me),l&&(N.current=!0),A())}};const re=oE(L.ctrl,K);B==="leave"&&l?M.current.set(L,{phase:B,springs:re,payload:K}):I.set(L,{phase:B,springs:re,payload:K})});const z=T.useContext(pm),j=KS(z),H=z!==j&&ZL(z);Iu(()=>{H&&rt(y,L=>{L.ctrl.start({default:z})})},[z]),rt(I,(L,O)=>{if(M.current.size){const $=y.findIndex(V=>V.key===O.key);y.splice($,1)}}),Iu(()=>{rt(M.current.size?M.current:I,({phase:L,payload:O},$)=>{const{ctrl:V}=$;$.phase=L,f==null||f.add(V),H&&L=="enter"&&V.start({default:z}),O&&(JL(V,O.ref),(V.ref||f)&&!N.current?V.update(O):(V.start(O),N.current&&(N.current=!1)))})},i?void 0:r);const F=L=>T.createElement(T.Fragment,null,y.map((O,$)=>{const{springs:V}=I.get(O)||O.ctrl,k=L({...V},O.item,O,$);return k&&k.type?T.createElement(k.type,{...k.props,key:fe.str(O.key)||fe.num(O.key)?O.key:O.ctrl.id,ref:k.ref}):k}));return f?[F,f]:F}var WW=1;function XW(t,{key:e,keys:r=e},n){if(r===null){const i=new Set;return t.map(s=>{const o=n&&n.find(a=>a.item===s&&a.phase!=="leave"&&!i.has(a));return o?(i.add(o),o.key):WW++})}return fe.und(r)?t:fe.fun(r)?t.map(r):Sn(r)}var qW=class extends dC{constructor(t,e){super(),this.source=t,this.idle=!0,this._active=new Set,this.calc=Ip(...e);const r=this._get(),n=ZS(r);lC(this,n.create(r))}advance(t){const e=this._get(),r=this.get();Wo(e,r)||(Ks(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&E3(this._active)&&dw(this)}_get(){const t=fe.arr(this.source)?this.source.map(Un):Sn(Un(this.source));return this.calc(...t)}_start(){this.idle&&!E3(this._active)&&(this.idle=!1,rt(_1(this),t=>{t.done=!1}),Ps.skipAnimation?(ot.batchedUpdates(()=>this.advance()),dw(this)):y1.start(this))}_attach(){let t=1;rt(Sn(this.source),e=>{Fi(e)&&ph(e,this),rE(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))}),this.priority=t,this._start()}_detach(){rt(Sn(this.source),t=>{Fi(t)&&Op(t,this)}),this._active.clear(),dw(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=Sn(this.source).reduce((e,r)=>Math.max(e,(rE(r)?r.priority:0)+1),0))}};function YW(t){return t.idle!==!1}function E3(t){return!t.size||Array.from(t).every(YW)}function dw(t){t.idle||(t.idle=!0,rt(_1(t),e=>{e.done=!0}),kp(t,{type:"idle",parent:t}))}Ps.assign({createStringInterpolator:WL,to:(t,e)=>new qW(t,e)});var f5=/^--/;function QW(t,e){return e==null||typeof e=="boolean"||e===""?"":typeof e=="number"&&e!==0&&!f5.test(t)&&!(Xf.hasOwnProperty(t)&&Xf[t])?e+"px":(""+e).trim()}var T3={};function KW(t,e){if(!t.nodeType||!t.setAttribute)return!1;const r=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter",{className:n,style:i,children:s,scrollTop:o,scrollLeft:a,viewBox:l,...u}=e,c=Object.values(u),h=Object.keys(u).map(f=>r||t.hasAttribute(f)?f:T3[f]||(T3[f]=f.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));s!==void 0&&(t.textContent=s);for(const f in i)if(i.hasOwnProperty(f)){const m=QW(f,i[f]);f5.test(f)?t.style.setProperty(f,m):t.style[f]=m}h.forEach((f,m)=>{t.setAttribute(f,c[m])}),n!==void 0&&(t.className=n),o!==void 0&&(t.scrollTop=o),a!==void 0&&(t.scrollLeft=a),l!==void 0&&t.setAttribute("viewBox",l)}var Xf={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ZW=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),JW=["Webkit","Ms","Moz","O"];Xf=Object.keys(Xf).reduce((t,e)=>(JW.forEach(r=>t[ZW(r,e)]=t[e]),t),Xf);var eX=/^(matrix|translate|scale|rotate|skew)/,tX=/^(translate)/,rX=/^(rotate|skew)/,hw=(t,e)=>fe.num(t)&&t!==0?t+e:t,nv=(t,e)=>fe.arr(t)?t.every(r=>nv(r,e)):fe.num(t)?t===e:parseFloat(t)===e,nX=class extends S1{constructor({x:t,y:e,z:r,...n}){const i=[],s=[];(t||e||r)&&(i.push([t||0,e||0,r||0]),s.push(o=>[`translate3d(${o.map(a=>hw(a,"px")).join(",")})`,nv(o,0)])),_o(n,(o,a)=>{if(a==="transform")i.push([o||""]),s.push(l=>[l,l===""]);else if(eX.test(a)){if(delete n[a],fe.und(o))return;const l=tX.test(a)?"px":rX.test(a)?"deg":"";i.push(Sn(o)),s.push(a==="rotate3d"?([u,c,h,f])=>[`rotate3d(${u},${c},${h},${hw(f,l)})`,nv(f,0)]:u=>[`${a}(${u.map(c=>hw(c,l)).join(",")})`,nv(u,a.startsWith("scale")?1:0)])}}),i.length&&(n.transform=new iX(i,s)),super(n)}},iX=class extends HL{constructor(t,e){super(),this.inputs=t,this.transforms=e,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return rt(this.inputs,(r,n)=>{const i=Un(r[0]),[s,o]=this.transforms[n](fe.arr(i)?i:r.map(Un));t+=" "+s,e=e&&o}),e?"none":t}observerAdded(t){t==1&&rt(this.inputs,e=>rt(e,r=>Fi(r)&&ph(r,this)))}observerRemoved(t){t==0&&rt(this.inputs,e=>rt(e,r=>Fi(r)&&Op(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),kp(this,t)}},sX=["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","head","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];Ps.assign({batchedUpdates:mr.unstable_batchedUpdates,createStringInterpolator:WL,colors:QG});var oX=PW(sX,{applyAnimatedValues:KW,createAnimatedStyle:t=>new nX(t),getComponentProps:({scrollTop:t,scrollLeft:e,...r})=>r}),Il=oX.animated,C3=function(e){return e.reduce(function(r,n){var i=n[0],s=n[1];return r[i]=s,r},{})},A3=typeof window<"u"&&window.document&&window.document.createElement?T.useLayoutEffect:T.useEffect,qn="top",Yi="bottom",Qi="right",Yn="left",fC="auto",mm=[qn,Yi,Qi,Yn],eh="start",Bp="end",aX="clippingParents",p5="viewport",sf="popper",lX="reference",R3=mm.reduce(function(t,e){return t.concat([e+"-"+eh,e+"-"+Bp])},[]),m5=[].concat(mm,[fC]).reduce(function(t,e){return t.concat([e,e+"-"+eh,e+"-"+Bp])},[]),uX="beforeRead",cX="read",dX="afterRead",hX="beforeMain",fX="main",pX="afterMain",mX="beforeWrite",gX="write",vX="afterWrite",yX=[uX,cX,dX,hX,fX,pX,mX,gX,vX];function So(t){return t?(t.nodeName||"").toLowerCase():null}function gi(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ic(t){var e=gi(t).Element;return t instanceof e||t instanceof Element}function Hi(t){var e=gi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function pC(t){if(typeof ShadowRoot>"u")return!1;var e=gi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function xX(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},i=e.attributes[r]||{},s=e.elements[r];!Hi(s)||!So(s)||(Object.assign(s.style,n),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function bX(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],s=e.attributes[n]||{},o=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),a=o.reduce(function(l,u){return l[u]="",l},{});!Hi(i)||!So(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const wX={name:"applyStyles",enabled:!0,phase:"write",fn:xX,effect:bX,requires:["computeStyles"]};function vo(t){return t.split("-")[0]}var Uu=Math.max,hy=Math.min,th=Math.round;function aE(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function g5(){return!/^((?!chrome|android).)*safari/i.test(aE())}function rh(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),i=1,s=1;e&&Hi(t)&&(i=t.offsetWidth>0&&th(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&th(n.height)/t.offsetHeight||1);var o=ic(t)?gi(t):window,a=o.visualViewport,l=!g5()&&r,u=(n.left+(l&&a?a.offsetLeft:0))/i,c=(n.top+(l&&a?a.offsetTop:0))/s,h=n.width/i,f=n.height/s;return{width:h,height:f,top:c,right:u+h,bottom:c+f,left:u,x:u,y:c}}function mC(t){var e=rh(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function v5(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&pC(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pa(t){return gi(t).getComputedStyle(t)}function _X(t){return["table","td","th"].indexOf(So(t))>=0}function Ul(t){return((ic(t)?t.ownerDocument:t.document)||window.document).documentElement}function T1(t){return So(t)==="html"?t:t.assignedSlot||t.parentNode||(pC(t)?t.host:null)||Ul(t)}function P3(t){return!Hi(t)||pa(t).position==="fixed"?null:t.offsetParent}function SX(t){var e=/firefox/i.test(aE()),r=/Trident/i.test(aE());if(r&&Hi(t)){var n=pa(t);if(n.position==="fixed")return null}var i=T1(t);for(pC(i)&&(i=i.host);Hi(i)&&["html","body"].indexOf(So(i))<0;){var s=pa(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function gm(t){for(var e=gi(t),r=P3(t);r&&_X(r)&&pa(r).position==="static";)r=P3(r);return r&&(So(r)==="html"||So(r)==="body"&&pa(r).position==="static")?e:r||SX(t)||e}function gC(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function qf(t,e,r){return Uu(t,hy(e,r))}function EX(t,e,r){var n=qf(t,e,r);return n>r?r:n}function y5(){return{top:0,right:0,bottom:0,left:0}}function x5(t){return Object.assign({},y5(),t)}function b5(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var TX=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,x5(typeof e!="number"?e:b5(e,mm))};function CX(t){var e,r=t.state,n=t.name,i=t.options,s=r.elements.arrow,o=r.modifiersData.popperOffsets,a=vo(r.placement),l=gC(a),u=[Yn,Qi].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!o)){var h=TX(i.padding,r),f=mC(s),m=l==="y"?qn:Yn,y=l==="y"?Yi:Qi,v=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],x=o[l]-r.rects.reference[l],b=gm(s),_=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,w=v/2-x/2,E=h[m],A=_-f[c]-h[y],P=_/2-f[c]/2+w,I=qf(E,P,A),M=l;r.modifiersData[n]=(e={},e[M]=I,e.centerOffset=I-P,e)}}function AX(t){var e=t.state,r=t.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||v5(e.elements.popper,i)&&(e.elements.arrow=i))}const RX={name:"arrow",enabled:!0,phase:"main",fn:CX,effect:AX,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nh(t){return t.split("-")[1]}var PX={top:"auto",right:"auto",bottom:"auto",left:"auto"};function IX(t,e){var r=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:th(r*i)/i||0,y:th(n*i)/i||0}}function I3(t){var e,r=t.popper,n=t.popperRect,i=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,h=t.isFixed,f=o.x,m=f===void 0?0:f,y=o.y,v=y===void 0?0:y,x=typeof c=="function"?c({x:m,y:v}):{x:m,y:v};m=x.x,v=x.y;var b=o.hasOwnProperty("x"),_=o.hasOwnProperty("y"),w=Yn,E=qn,A=window;if(u){var P=gm(r),I="clientHeight",M="clientWidth";if(P===gi(r)&&(P=Ul(r),pa(P).position!=="static"&&a==="absolute"&&(I="scrollHeight",M="scrollWidth")),P=P,i===qn||(i===Yn||i===Qi)&&s===Bp){E=Yi;var N=h&&P===A&&A.visualViewport?A.visualViewport.height:P[I];v-=N-n.height,v*=l?1:-1}if(i===Yn||(i===qn||i===Yi)&&s===Bp){w=Qi;var z=h&&P===A&&A.visualViewport?A.visualViewport.width:P[M];m-=z-n.width,m*=l?1:-1}}var j=Object.assign({position:a},u&&PX),H=c===!0?IX({x:m,y:v},gi(r)):{x:m,y:v};if(m=H.x,v=H.y,l){var F;return Object.assign({},j,(F={},F[E]=_?"0":"",F[w]=b?"0":"",F.transform=(A.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",F))}return Object.assign({},j,(e={},e[E]=_?v+"px":"",e[w]=b?m+"px":"",e.transform="",e))}function MX(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=n===void 0?!0:n,s=r.adaptive,o=s===void 0?!0:s,a=r.roundOffsets,l=a===void 0?!0:a,u={placement:vo(e.placement),variation:nh(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,I3(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,I3(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const kX={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:MX,data:{}};var qg={passive:!0};function OX(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,s=i===void 0?!0:i,o=n.resize,a=o===void 0?!0:o,l=gi(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach(function(c){c.addEventListener("scroll",r.update,qg)}),a&&l.addEventListener("resize",r.update,qg),function(){s&&u.forEach(function(c){c.removeEventListener("scroll",r.update,qg)}),a&&l.removeEventListener("resize",r.update,qg)}}const DX={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:OX,data:{}};var NX={left:"right",right:"left",bottom:"top",top:"bottom"};function iv(t){return t.replace(/left|right|bottom|top/g,function(e){return NX[e]})}var LX={start:"end",end:"start"};function M3(t){return t.replace(/start|end/g,function(e){return LX[e]})}function vC(t){var e=gi(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function yC(t){return rh(Ul(t)).left+vC(t).scrollLeft}function FX(t,e){var r=gi(t),n=Ul(t),i=r.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var u=g5();(u||!u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+yC(t),y:l}}function jX(t){var e,r=Ul(t),n=vC(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=Uu(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Uu(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+yC(t),l=-n.scrollTop;return pa(i||r).direction==="rtl"&&(a+=Uu(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function xC(t){var e=pa(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function w5(t){return["html","body","#document"].indexOf(So(t))>=0?t.ownerDocument.body:Hi(t)&&xC(t)?t:w5(T1(t))}function Yf(t,e){var r;e===void 0&&(e=[]);var n=w5(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),s=gi(n),o=i?[s].concat(s.visualViewport||[],xC(n)?n:[]):n,a=e.concat(o);return i?a:a.concat(Yf(T1(o)))}function lE(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function BX(t,e){var r=rh(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function k3(t,e,r){return e===p5?lE(FX(t,r)):ic(e)?BX(e,r):lE(jX(Ul(t)))}function UX(t){var e=Yf(T1(t)),r=["absolute","fixed"].indexOf(pa(t).position)>=0,n=r&&Hi(t)?gm(t):t;return ic(n)?e.filter(function(i){return ic(i)&&v5(i,n)&&So(i)!=="body"}):[]}function $X(t,e,r,n){var i=e==="clippingParents"?UX(t):[].concat(e),s=[].concat(i,[r]),o=s[0],a=s.reduce(function(l,u){var c=k3(t,u,n);return l.top=Uu(c.top,l.top),l.right=hy(c.right,l.right),l.bottom=hy(c.bottom,l.bottom),l.left=Uu(c.left,l.left),l},k3(t,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _5(t){var e=t.reference,r=t.element,n=t.placement,i=n?vo(n):null,s=n?nh(n):null,o=e.x+e.width/2-r.width/2,a=e.y+e.height/2-r.height/2,l;switch(i){case qn:l={x:o,y:e.y-r.height};break;case Yi:l={x:o,y:e.y+e.height};break;case Qi:l={x:e.x+e.width,y:a};break;case Yn:l={x:e.x-r.width,y:a};break;default:l={x:e.x,y:e.y}}var u=i?gC(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case eh:l[u]=l[u]-(e[c]/2-r[c]/2);break;case Bp:l[u]=l[u]+(e[c]/2-r[c]/2);break}}return l}function Up(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=n===void 0?t.placement:n,s=r.strategy,o=s===void 0?t.strategy:s,a=r.boundary,l=a===void 0?aX:a,u=r.rootBoundary,c=u===void 0?p5:u,h=r.elementContext,f=h===void 0?sf:h,m=r.altBoundary,y=m===void 0?!1:m,v=r.padding,x=v===void 0?0:v,b=x5(typeof x!="number"?x:b5(x,mm)),_=f===sf?lX:sf,w=t.rects.popper,E=t.elements[y?_:f],A=$X(ic(E)?E:E.contextElement||Ul(t.elements.popper),l,c,o),P=rh(t.elements.reference),I=_5({reference:P,element:w,strategy:"absolute",placement:i}),M=lE(Object.assign({},w,I)),N=f===sf?M:P,z={top:A.top-N.top+b.top,bottom:N.bottom-A.bottom+b.bottom,left:A.left-N.left+b.left,right:N.right-A.right+b.right},j=t.modifiersData.offset;if(f===sf&&j){var H=j[i];Object.keys(z).forEach(function(F){var L=[Qi,Yi].indexOf(F)>=0?1:-1,O=[qn,Yi].indexOf(F)>=0?"y":"x";z[F]+=H[O]*L})}return z}function zX(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=r.boundary,s=r.rootBoundary,o=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?m5:l,c=nh(n),h=c?a?R3:R3.filter(function(y){return nh(y)===c}):mm,f=h.filter(function(y){return u.indexOf(y)>=0});f.length===0&&(f=h);var m=f.reduce(function(y,v){return y[v]=Up(t,{placement:v,boundary:i,rootBoundary:s,padding:o})[vo(v)],y},{});return Object.keys(m).sort(function(y,v){return m[y]-m[v]})}function HX(t){if(vo(t)===fC)return[];var e=iv(t);return[M3(t),e,M3(e)]}function VX(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,s=i===void 0?!0:i,o=r.altAxis,a=o===void 0?!0:o,l=r.fallbackPlacements,u=r.padding,c=r.boundary,h=r.rootBoundary,f=r.altBoundary,m=r.flipVariations,y=m===void 0?!0:m,v=r.allowedAutoPlacements,x=e.options.placement,b=vo(x),_=b===x,w=l||(_||!y?[iv(x)]:HX(x)),E=[x].concat(w).reduce(function(re,ue){return re.concat(vo(ue)===fC?zX(e,{placement:ue,boundary:c,rootBoundary:h,padding:u,flipVariations:y,allowedAutoPlacements:v}):ue)},[]),A=e.rects.reference,P=e.rects.popper,I=new Map,M=!0,N=E[0],z=0;z<E.length;z++){var j=E[z],H=vo(j),F=nh(j)===eh,L=[qn,Yi].indexOf(H)>=0,O=L?"width":"height",$=Up(e,{placement:j,boundary:c,rootBoundary:h,altBoundary:f,padding:u}),V=L?F?Qi:Yn:F?Yi:qn;A[O]>P[O]&&(V=iv(V));var k=iv(V),U=[];if(s&&U.push($[H]<=0),a&&U.push($[V]<=0,$[k]<=0),U.every(function(re){return re})){N=j,M=!1;break}I.set(j,U)}if(M)for(var B=y?3:1,X=function(ue){var le=E.find(function(me){var xe=I.get(me);if(xe)return xe.slice(0,ue).every(function(_e){return _e})});if(le)return N=le,"break"},K=B;K>0;K--){var q=X(K);if(q==="break")break}e.placement!==N&&(e.modifiersData[n]._skip=!0,e.placement=N,e.reset=!0)}}const GX={name:"flip",enabled:!0,phase:"main",fn:VX,requiresIfExists:["offset"],data:{_skip:!1}};function O3(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function D3(t){return[qn,Qi,Yi,Yn].some(function(e){return t[e]>=0})}function WX(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,o=Up(e,{elementContext:"reference"}),a=Up(e,{altBoundary:!0}),l=O3(o,n),u=O3(a,i,s),c=D3(l),h=D3(u);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}const XX={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:WX};function qX(t,e,r){var n=vo(t),i=[Yn,qn].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[Yn,Qi].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function YX(t){var e=t.state,r=t.options,n=t.name,i=r.offset,s=i===void 0?[0,0]:i,o=m5.reduce(function(c,h){return c[h]=qX(h,e.rects,s),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=o}const QX={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:YX};function KX(t){var e=t.state,r=t.name;e.modifiersData[r]=_5({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ZX={name:"popperOffsets",enabled:!0,phase:"read",fn:KX,data:{}};function JX(t){return t==="x"?"y":"x"}function eq(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,s=i===void 0?!0:i,o=r.altAxis,a=o===void 0?!1:o,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,h=r.padding,f=r.tether,m=f===void 0?!0:f,y=r.tetherOffset,v=y===void 0?0:y,x=Up(e,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),b=vo(e.placement),_=nh(e.placement),w=!_,E=gC(b),A=JX(E),P=e.modifiersData.popperOffsets,I=e.rects.reference,M=e.rects.popper,N=typeof v=="function"?v(Object.assign({},e.rects,{placement:e.placement})):v,z=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),j=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(P){if(s){var F,L=E==="y"?qn:Yn,O=E==="y"?Yi:Qi,$=E==="y"?"height":"width",V=P[E],k=V+x[L],U=V-x[O],B=m?-M[$]/2:0,X=_===eh?I[$]:M[$],K=_===eh?-M[$]:-I[$],q=e.elements.arrow,re=m&&q?mC(q):{width:0,height:0},ue=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:y5(),le=ue[L],me=ue[O],xe=qf(0,I[$],re[$]),_e=w?I[$]/2-B-xe-le-z.mainAxis:X-xe-le-z.mainAxis,Te=w?-I[$]/2+B+xe+me+z.mainAxis:K+xe+me+z.mainAxis,de=e.elements.arrow&&gm(e.elements.arrow),Be=de?E==="y"?de.clientTop||0:de.clientLeft||0:0,je=(F=j==null?void 0:j[E])!=null?F:0,ut=V+_e-je-Be,Pe=V+Te-je,Ke=qf(m?hy(k,ut):k,V,m?Uu(U,Pe):U);P[E]=Ke,H[E]=Ke-V}if(a){var Rt,W=E==="x"?qn:Yn,J=E==="x"?Yi:Qi,te=P[A],be=A==="y"?"height":"width",ge=te+x[W],ce=te-x[J],ke=[qn,Yn].indexOf(b)!==-1,et=(Rt=j==null?void 0:j[A])!=null?Rt:0,ze=ke?ge:te-I[be]-M[be]-et+z.altAxis,Ue=ke?te+I[be]+M[be]-et-z.altAxis:ce,$e=m&&ke?EX(ze,te,Ue):qf(m?ze:ge,te,m?Ue:ce);P[A]=$e,H[A]=$e-te}e.modifiersData[n]=H}}const tq={name:"preventOverflow",enabled:!0,phase:"main",fn:eq,requiresIfExists:["offset"]};function rq(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function nq(t){return t===gi(t)||!Hi(t)?vC(t):rq(t)}function iq(t){var e=t.getBoundingClientRect(),r=th(e.width)/t.offsetWidth||1,n=th(e.height)/t.offsetHeight||1;return r!==1||n!==1}function sq(t,e,r){r===void 0&&(r=!1);var n=Hi(e),i=Hi(e)&&iq(e),s=Ul(e),o=rh(t,i,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((So(e)!=="body"||xC(s))&&(a=nq(e)),Hi(e)?(l=rh(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=yC(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function oq(t){var e=new Map,r=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function i(s){r.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!r.has(a)){var l=e.get(a);l&&i(l)}}),n.push(s)}return t.forEach(function(s){r.has(s.name)||i(s)}),n}function aq(t){var e=oq(t);return yX.reduce(function(r,n){return r.concat(e.filter(function(i){return i.phase===n}))},[])}function lq(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function uq(t){var e=t.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var N3={placement:"bottom",modifiers:[],strategy:"absolute"};function L3(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function cq(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,i=e.defaultOptions,s=i===void 0?N3:i;return function(a,l,u){u===void 0&&(u=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},N3,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},h=[],f=!1,m={state:c,setOptions:function(b){var _=typeof b=="function"?b(c.options):b;v(),c.options=Object.assign({},s,c.options,_),c.scrollParents={reference:ic(a)?Yf(a):a.contextElement?Yf(a.contextElement):[],popper:Yf(l)};var w=aq(uq([].concat(n,c.options.modifiers)));return c.orderedModifiers=w.filter(function(E){return E.enabled}),y(),m.update()},forceUpdate:function(){if(!f){var b=c.elements,_=b.reference,w=b.popper;if(L3(_,w)){c.rects={reference:sq(_,gm(w),c.options.strategy==="fixed"),popper:mC(w)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(z){return c.modifiersData[z.name]=Object.assign({},z.data)});for(var E=0;E<c.orderedModifiers.length;E++){if(c.reset===!0){c.reset=!1,E=-1;continue}var A=c.orderedModifiers[E],P=A.fn,I=A.options,M=I===void 0?{}:I,N=A.name;typeof P=="function"&&(c=P({state:c,options:M,name:N,instance:m})||c)}}}},update:lq(function(){return new Promise(function(x){m.forceUpdate(),x(c)})}),destroy:function(){v(),f=!0}};if(!L3(a,l))return m;m.setOptions(u).then(function(x){!f&&u.onFirstUpdate&&u.onFirstUpdate(x)});function y(){c.orderedModifiers.forEach(function(x){var b=x.name,_=x.options,w=_===void 0?{}:_,E=x.effect;if(typeof E=="function"){var A=E({state:c,name:b,instance:m,options:w}),P=function(){};h.push(A||P)}})}function v(){h.forEach(function(x){return x()}),h=[]}return m}}var dq=[DX,ZX,kX,wX,QX,GX,tq,RX,XX],hq=cq({defaultModifiers:dq}),fq=typeof Element<"u",pq=typeof Map=="function",mq=typeof Set=="function",gq=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function sv(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!sv(t[n],e[n]))return!1;return!0}var s;if(pq&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(s=t.entries();!(n=s.next()).done;)if(!e.has(n.value[0]))return!1;for(s=t.entries();!(n=s.next()).done;)if(!sv(n.value[1],e.get(n.value[0])))return!1;return!0}if(mq&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(s=t.entries();!(n=s.next()).done;)if(!e.has(n.value[0]))return!1;return!0}if(gq&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(t[n]!==e[n])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;if(fq&&t instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&t.$$typeof)&&!sv(t[i[n]],e[i[n]]))return!1;return!0}return t!==t&&e!==e}var vq=function(e,r){try{return sv(e,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const yq=Po(vq);var xq=[],bq=function(e,r,n){n===void 0&&(n={});var i=T.useRef(null),s={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||xq},o=T.useState({styles:{popper:{position:s.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=o[0],l=o[1],u=T.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(m){var y=m.state,v=Object.keys(y.elements);mr.flushSync(function(){l({styles:C3(v.map(function(x){return[x,y.styles[x]||{}]})),attributes:C3(v.map(function(x){return[x,y.attributes[x]]}))})})},requires:["computeStyles"]}},[]),c=T.useMemo(function(){var f={onFirstUpdate:s.onFirstUpdate,placement:s.placement,strategy:s.strategy,modifiers:[].concat(s.modifiers,[u,{name:"applyStyles",enabled:!1}])};return yq(i.current,f)?i.current||f:(i.current=f,f)},[s.onFirstUpdate,s.placement,s.strategy,s.modifiers,u]),h=T.useRef();return A3(function(){h.current&&h.current.setOptions(c)},[c]),A3(function(){if(!(e==null||r==null)){var f=n.createPopper||hq,m=f(e,r,c);return h.current=m,function(){m.destroy(),h.current=null}}},[e,r,n.createPopper]),{state:h.current?h.current.state:null,styles:a.styles,attributes:a.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}};const wq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M19.935 17.51q1.088 0 1.868.792.78.794.78 1.898 0 1.106-.78 1.898-.78.793-1.844.793t-1.869-.793a2.52 2.52 0 0 1-.78-1.922q0-.432.19-.936l-3.997-2.931q-1.16 1.2-2.79 1.2-1.633 0-2.791-1.176-1.16-1.177-1.183-2.86 0-.215.071-.624l-3.168-1.057a1.25 1.25 0 0 1-.852.337q-.567 0-.946-.385a1.32 1.32 0 0 1-.378-.96q0-.578.378-.938.38-.36.946-.384.474 0 .804.312.33.313.45.745l3.192 1.08a3.8 3.8 0 0 1 1.443-1.56 3.84 3.84 0 0 1 2.033-.577q1.23 0 2.27.745l4.706-4.781q-.378-.72-.378-1.321 0-1.106.78-1.898.78-.793 1.869-.793t1.844.793q.758.792.78 1.898a2.42 2.42 0 0 1-.78 1.873q-.804.77-1.868.793-.616 0-1.3-.408l-4.707 4.805q.734 1.056.733 2.306 0 .888-.402 1.753l3.997 2.907q.78-.624 1.679-.624"})]}),_q=wq,Sq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M22.996 13.153q0 2.09-.873 3.987a10.6 10.6 0 0 1-2.336 3.292q-1.462 1.393-3.516 2.21t-4.26.817-4.287-.817-3.49-2.21a12.3 12.3 0 0 1-2.362-3.291A8.1 8.1 0 0 1 1 13.153q0-2.451 1.155-4.589t3.234-3.627q.616-.433 1.386-.337t1.181.673q.462.553.36 1.273-.104.72-.72 1.13a7 7 0 0 0-2.155 2.426 6.38 6.38 0 0 0-.18 5.717 7 7 0 0 0 1.566 2.186q.975.913 2.335 1.466a7.5 7.5 0 0 0 2.85.552 7.3 7.3 0 0 0 2.823-.552 8.3 8.3 0 0 0 2.36-1.466 6.04 6.04 0 0 0 1.567-2.186q.538-1.274.564-2.666 0-1.635-.77-3.051T16.4 7.675a1.75 1.75 0 0 1-.719-1.129q-.128-.697.36-1.273.436-.577 1.206-.673t1.36.337q2.079 1.466 3.234 3.627a9.6 9.6 0 0 1 1.155 4.589M13.833 2.846v8.6q0 .698-.54 1.202-.538.505-1.283.505t-1.309-.505q-.564-.505-.539-1.201v-8.6q0-.697.54-1.202.538-.504 1.308-.504t1.284.504.539 1.201"})]}),F3=Sq,Eq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M20.584 13.536v7.458q0 .42-.294.699a1.06 1.06 0 0 1-.667.307H13.91v-5.978h-3.817V22H4.383a.85.85 0 0 1-.668-.307 1.16 1.16 0 0 1-.293-.699v-7.569l8.567-7.375 8.568 7.375q.027.027.027.111m3.31-1.09-.908 1.146a.54.54 0 0 1-.32.168h-.054a.6.6 0 0 1-.32-.084L11.989 4.682 1.687 13.676a.5.5 0 0 1-.347.084.54.54 0 0 1-.32-.168l-.935-1.145a.52.52 0 0 1-.08-.363.6.6 0 0 1 .16-.335l10.703-9.33q.48-.42 1.121-.419.64 0 1.148.419l3.63 3.156V2.56q0-.224.133-.363a.46.46 0 0 1 .347-.14h2.856q.214 0 .347.14a.5.5 0 0 1 .134.363v6.34l3.256 2.85q.16.111.16.335 0 .223-.107.363"})]}),Tq=Eq,Cq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M1.898 22.555c-.072-.145-.096-1.37-.048-2.691l.048-2.402h5.261v5.26l-2.595.049c-1.994.048-2.594 0-2.666-.216m7.76 0c-.049-.145-.073-1.37-.049-2.691l.072-2.402h5.238v5.26l-2.571.049c-2.018.048-2.595 0-2.69-.216m7.759 0c-.048-.145-.072-1.37-.048-2.691l.072-2.402h5.237v5.26l-2.57.049c-1.994.048-2.595 0-2.691-.216m-15.52-7.76c-.071-.168-.095-1.37-.047-2.69l.048-2.403h5.261v5.261l-2.595.048c-1.994.048-2.594 0-2.666-.216m7.76 0c-.048-.168-.072-1.37-.048-2.69l.072-2.403h5.238v5.261l-2.571.048c-2.018.048-2.595 0-2.69-.216m7.76 0c-.048-.168-.072-1.37-.048-2.69l.072-2.403h5.237v5.261l-2.57.048c-1.994.048-2.595 0-2.691-.216M1.897 7.011c-.071-.144-.095-1.345-.047-2.666l.048-2.402h5.261V7.18l-2.595.072c-1.994.048-2.594 0-2.666-.24m7.76 0c-.048-.144-.072-1.345-.048-2.666l.072-2.402h5.238V7.18l-2.571.072c-2.018.048-2.595 0-2.69-.24m7.76 0c-.048-.144-.072-1.345-.048-2.666l.072-2.402h5.237V7.18l-2.57.072c-1.994.048-2.595 0-2.691-.24"})]}),j3=Cq,Aq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12M7.123 7.667C8.276 5.958 9.745 5 12.013 5 14.425 5 17 6.941 17 9.5c0 2.113-1.377 2.932-2.418 3.552-.633.376-1.142.68-1.142 1.154v.169a.693.693 0 0 1-.682.703h-2.06a.693.693 0 0 1-.681-.703v-.287c0-1.768 1.269-2.5 2.266-3.075l.073-.042c.863-.499 1.392-.838 1.392-1.499 0-.874-1.082-1.454-1.956-1.454-1.112 0-1.64.53-2.351 1.449a.67.67 0 0 1-.945.121L7.27 8.63a.72.72 0 0 1-.147-.963M9.76 17.97c0-1.12.883-2.03 1.969-2.03 1.085 0 1.968.91 1.968 2.03S12.814 20 11.73 20c-1.086 0-1.969-.91-1.969-2.03",clipRule:"evenodd"})]}),Rq=Aq,Pq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"m.5 21.257 7.46-8.216 4.052 2.403 4.052-2.403 7.46 8.216zm0-2.738V8.573l5.848 3.531zm0-12.084V3.048h23.024v3.387l-11.512 6.847zm17.176 5.67 5.848-3.532v9.946z"})]}),B3=Pq,Iq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M13.07 13.07V6.54h-2.14v6.53zm0 4.4v-2.2h-2.14v2.2zM24 12l-2.65 3.01.35 4.04-3.93.86-2.04 3.48L12 21.8l-3.73 1.6-2.04-3.42-3.93-.92.35-4.04L0 12l2.65-3.06-.35-3.99 3.93-.86L8.27.6 12 2.2 15.73.6l2.04 3.48 3.93.86L21.34 9z"})]}),Mq=Iq,kq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M11.685 2C8.66 2 6.7 3.277 5.164 5.556A.96.96 0 0 0 5.36 6.84l1.634 1.278a.89.89 0 0 0 1.26-.162c.95-1.226 1.653-1.932 3.136-1.932 1.165 0 2.607.773 2.607 1.939 0 .88-.705 1.333-1.856 1.998-1.342.776-3.118 1.742-3.118 4.157v.382c0 .518.407.938.909.938h2.746c.502 0 .91-.42.91-.938v-.226c0-1.674 4.745-1.743 4.745-6.274 0-3.412-3.432-6-6.648-6m-.38 14.588c-1.447 0-2.625 1.214-2.625 2.706S9.858 22 11.305 22s2.624-1.214 2.624-2.706-1.177-2.706-2.624-2.706"})]}),Oq=kq,Dq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.051 12.366a456 456 0 0 1-2.746-1.822A6.5 6.5 0 0 1 .74 9.067q-.737-.94-.737-1.745a2.7 2.7 0 0 1 .141-.905c.098-.286.242-.542.424-.752Q1.12 5 2.15 5h19.7c.541-.016 1.071.195 1.507.6q.636.6.636 1.446 0 1.01-.657 1.93a6.2 6.2 0 0 1-1.632 1.567q-5.037 3.338-6.267 4.156l-.242.167-.323.222q-.436.303-.724.487-.288.183-.696.415a4 4 0 0 1-.77.345 2.2 2.2 0 0 1-.67.115h-.026a2.2 2.2 0 0 1-.67-.116 4 4 0 0 1-.77-.344q-.41-.23-.697-.415a30 30 0 0 1-.723-.487q-.433-.3-.565-.389-1.215-.817-3.51-2.334m10.943 3.962q2.276-1.578 6.667-4.416c.478-.306.927-.68 1.339-1.113v10.16q0 .845-.63 1.446c-.437.405-.97.614-1.512.594H2.149c-.545.02-1.08-.192-1.52-.601C.21 21.996 0 21.52 0 20.95V10.8c.416.437.871.81 1.356 1.113q4.848 3.148 6.656 4.416.768.537 1.243.837a7.7 7.7 0 0 0 1.265.614c.475.198.97.303 1.47.313h.026c.5-.01.995-.115 1.47-.313a7.7 7.7 0 0 0 1.265-.614q.48-.3 1.243-.837",clipRule:"evenodd"})]}),Nq=Dq,Lq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{clipPath:"url(#one-profile_svg__a)",children:g.jsx("path",{fill:"currentColor",d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 4.65a4.26 4.26 0 1 1 0 8.51 4.26 4.26 0 0 1 0-8.51m0 16.64a9.27 9.27 0 0 1-7.09-3.3 5.4 5.4 0 0 1 4.77-2.9c.11 0 .23.03.34.06.63.2 1.29.33 1.98.33.7 0 1.35-.13 1.98-.33.11-.03.23-.05.34-.05a5.4 5.4 0 0 1 4.77 2.89 9.27 9.27 0 0 1-7.09 3.3"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"one-profile_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),bC=Lq,Fq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M1.27 11.552a7.75 7.75 0 0 1 0-4.156Q1.84 5.33 3.42 3.792a7.9 7.9 0 0 1 2.716-1.777q1.53-.6 3.161-.6 1.605 0 3.136.6 1.53.6 2.716 1.777a7.9 7.9 0 0 1 1.902 2.86 7.8 7.8 0 0 1 .518 3.29 7.65 7.65 0 0 1-.889 3.171q.692.192 1.21.697l4.297 4.156q.864.84.864 2.042t-.864 2.042-2.099.841-2.099-.84l-4.272-4.18a2.42 2.42 0 0 1-.74-1.178 8.3 8.3 0 0 1-3.68.84q-1.63 0-3.16-.6a8.1 8.1 0 0 1-2.717-1.753 7.85 7.85 0 0 1-2.149-3.628m2.495-2.066q0 2.235 1.605 3.796 1.63 1.56 3.926 1.561 2.272 0 3.877-1.561 1.605-1.562 1.63-3.796t-1.63-3.796q-1.63-1.585-3.877-1.585-2.272 0-3.926 1.585-1.605 1.561-1.605 3.796"})]}),jq=Fq,Bq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M0 24.58V.53h24.05v4.28h-2.62V7.1h2.62v4.28h-2.62v2.35h2.62V18h-2.62v2.3h2.62v4.29H0zm4.64-6.85h12.12V14l-4.5-2.67q.9-.46 1.4-1.3t.53-1.85q0-1.4-1.01-2.43T10.7 4.72 8.25 5.75 7.24 8.18q0 1.03.53 1.85t1.4 1.3L4.63 14v3.73z"})]}),Uq=Bq;let $q=class{static changeDimension(e,r,n,i){return n>i&&(e=Math.round(e*i/n),n=i),e>r&&(n=Math.round(n*r/e),e=r),{height:e,width:n}}static renameFileNameExtension(e,r){const n=e.split(".");return n.pop(),n.join(".")+"."+r}static resizeImage(e,r,n,i,s="jpeg",o=80){const a=o/100,l=document.createElement("canvas"),u=`image/${s}`;let c=e.width,h=e.height;const f=this.changeDimension(h,i,c,n);c=f.width,h=f.height;const m=l.getContext("2d");return m&&(l.width=c,l.height=h,m.fillStyle="white",m.fillRect(0,0,l.width,l.height),m.imageSmoothingEnabled&&m.imageSmoothingQuality&&(m.imageSmoothingQuality="high"),m.drawImage(e,0,0,c,h)),new Promise((y,v)=>{l.toBlob(x=>{x?y(new File([x],r,{type:u,lastModified:new Date().getTime()})):v()},u,a)})}static async resizeImageFile(e,r=1440,n=1440,i=80){if(!e)throw Error("Image resizer: file not found!");if(!e.type||!e.type.startsWith("image/"))throw Error("Image resizer: the file given is not an image.");const s="jpeg";return new Promise(o=>{const a=new Image;a.setAttribute("style","max-width: none;"),a.src=URL.createObjectURL(e),a.onload=async()=>{const l=await this.resizeImage(a,this.renameFileNameExtension(e.name,s),r,n,s,i);o(l)},a.onerror=l=>{throw Error("Image Loading Error: "+l)}})}};var uE={exports:{}};(function(t,e){(function(r,n){var i="1.0.39",s="",o="?",a="function",l="undefined",u="object",c="string",h="major",f="model",m="name",y="type",v="vendor",x="version",b="architecture",_="console",w="mobile",E="tablet",A="smarttv",P="wearable",I="embedded",M=500,N="Amazon",z="Apple",j="ASUS",H="BlackBerry",F="Browser",L="Chrome",O="Edge",$="Firefox",V="Google",k="Huawei",U="LG",B="Microsoft",X="Motorola",K="Opera",q="Samsung",re="Sharp",ue="Sony",le="Xiaomi",me="Zebra",xe="Facebook",_e="Chromium OS",Te="Mac OS",de=" Browser",Be=function(ze,Ue){var $e={};for(var pt in ze)Ue[pt]&&Ue[pt].length%2===0?$e[pt]=Ue[pt].concat(ze[pt]):$e[pt]=ze[pt];return $e},je=function(ze){for(var Ue={},$e=0;$e<ze.length;$e++)Ue[ze[$e].toUpperCase()]=ze[$e];return Ue},ut=function(ze,Ue){return typeof ze===c?Pe(Ue).indexOf(Pe(ze))!==-1:!1},Pe=function(ze){return ze.toLowerCase()},Ke=function(ze){return typeof ze===c?ze.replace(/[^\d\.]/g,s).split(".")[0]:n},Rt=function(ze,Ue){if(typeof ze===c)return ze=ze.replace(/^\s\s*/,s),typeof Ue===l?ze:ze.substring(0,M)},W=function(ze,Ue){for(var $e=0,pt,Pr,Dt,ct,Qe,tn;$e<Ue.length&&!Qe;){var bi=Ue[$e],ql=Ue[$e+1];for(pt=Pr=0;pt<bi.length&&!Qe&&bi[pt];)if(Qe=bi[pt++].exec(ze),Qe)for(Dt=0;Dt<ql.length;Dt++)tn=Qe[++Pr],ct=ql[Dt],typeof ct===u&&ct.length>0?ct.length===2?typeof ct[1]==a?this[ct[0]]=ct[1].call(this,tn):this[ct[0]]=ct[1]:ct.length===3?typeof ct[1]===a&&!(ct[1].exec&&ct[1].test)?this[ct[0]]=tn?ct[1].call(this,tn,ct[2]):n:this[ct[0]]=tn?tn.replace(ct[1],ct[2]):n:ct.length===4&&(this[ct[0]]=tn?ct[3].call(this,tn.replace(ct[1],ct[2])):n):this[ct]=tn||n;$e+=2}},J=function(ze,Ue){for(var $e in Ue)if(typeof Ue[$e]===u&&Ue[$e].length>0){for(var pt=0;pt<Ue[$e].length;pt++)if(ut(Ue[$e][pt],ze))return $e===o?n:$e}else if(ut(Ue[$e],ze))return $e===o?n:$e;return Ue.hasOwnProperty("*")?Ue["*"]:ze},te={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},be={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ge={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,x],[/opios[\/ ]+([\w\.]+)/i],[x,[m,K+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[x,[m,K+" GX"]],[/\bopr\/([\w\.]+)/i],[x,[m,K]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[x,[m,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,x],[/quark(?:pc)?\/([-\w\.]+)/i],[x,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[x,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[m,"UC"+F]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[x,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[x,[m,"Smart Lenovo "+F]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+F],x],[/\bfocus\/([\w\.]+)/i],[x,[m,$+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[m,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[m,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[m,"MIUI "+F]],[/fxios\/([-\w\.]+)/i],[x,[m,$]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360"+de]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],x],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+de],x],[/samsungbrowser\/([\w\.]+)/i],[x,[m,q+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],x],[/metasr[\/ ]?([\d\.]+)/i],[x,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[m,x],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,xe],x],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[m,L+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,L+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[m,"Android "+F]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[x,J,te]],[/(webkit|khtml)\/([\w\.]+)/i],[m,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],x],[/(wolvic)\/([\w\.]+)/i],[m,x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[m,$+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[m,[x,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,Pe]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,s,Pe]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,Pe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[v,q],[y,E]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[v,q],[y,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[v,z],[y,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,z],[y,E]],[/(macintosh);/i],[f,[v,z]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,re],[y,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,k],[y,E]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,k],[y,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[f,/_/g," "],[v,le],[y,w]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,le],[y,E]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[v,"OPPO"],[y,w]],[/\b(opd2\d{3}a?) bui/i],[f,[v,"OPPO"],[y,E]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[y,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[y,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[v,X],[y,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,X],[y,E]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,U],[y,E]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,U],[y,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[y,E]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[y,w]],[/(pixel c)\b/i],[f,[v,V],[y,E]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,V],[y,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[v,ue],[y,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,ue],[y,E]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[y,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,N],[y,E]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,N],[y,w]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[y,E]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,H],[y,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,j],[y,E]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,j],[y,w]],[/(nexus 9)/i],[f,[v,"HTC"],[y,E]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[y,w]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[v,"TCL"],[y,E]],[/(itel) ((\w+))/i],[[v,Pe],f,[y,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[y,E]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[y,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[v,"Ulefone"],[y,w]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[v,"Nothing"],[y,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,f,[y,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,f,[y,E]],[/(surface duo)/i],[f,[v,B],[y,E]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[y,w]],[/(u304aa)/i],[f,[v,"AT&T"],[y,w]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[y,w]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[y,E]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[y,E]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[y,E]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[y,E]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[y,E]],[/\b(k88) b/i],[f,[v,"ZTE"],[y,E]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[y,w]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[y,w]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[y,E]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[y,E]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[y,E]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[y,E]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[y,E]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[y,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[y,w]],[/\b(ph-1) /i],[f,[v,"Essential"],[y,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[y,E]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[y,E]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[y,E]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[y,E]],[/(sprint) (\w+)/i],[v,f,[y,w]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,B],[y,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,me],[y,E]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,me],[y,w]],[/smart-tv.+(samsung)/i],[v,[y,A]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,q],[y,A]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,U],[y,A]],[/(apple) ?tv/i],[v,[f,z+" TV"],[y,A]],[/crkey/i],[[f,L+"cast"],[v,V],[y,A]],[/droid.+aft(\w+)( bui|\))/i],[f,[v,N],[y,A]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,re],[y,A]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,ue],[y,A]],[/(mitv-\w{5}) bui/i],[f,[v,le],[y,A]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[y,A]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,Rt],[f,Rt],[y,A]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[y,A]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[y,_]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[y,_]],[/(playstation [345portablevi]+)/i],[f,[v,ue],[y,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,B],[y,_]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[f,[v,q],[y,P]],[/((pebble))app/i],[v,f,[y,P]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[v,z],[y,P]],[/droid.+; (glass) \d/i],[f,[v,V],[y,P]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,me],[y,P]],[/(quest( \d| pro)?)/i],[f,[v,xe],[y,P]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[y,I]],[/(aeobc)\b/i],[f,[v,N],[y,I]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[y,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[y,E]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[y,E]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[y,w]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[m,O+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,x],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[x,J,be]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[x,J,be],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Te],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,x],[/\(bb(10);/i],[x,[m,H]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[m,$+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[m,L+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,_e],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,x],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,x]]},ce=function(ze,Ue){if(typeof ze===u&&(Ue=ze,ze=n),!(this instanceof ce))return new ce(ze,Ue).getResult();var $e=typeof r!==l&&r.navigator?r.navigator:n,pt=ze||($e&&$e.userAgent?$e.userAgent:s),Pr=$e&&$e.userAgentData?$e.userAgentData:n,Dt=Ue?Be(ge,Ue):ge,ct=$e&&$e.userAgent==pt;return this.getBrowser=function(){var Qe={};return Qe[m]=n,Qe[x]=n,W.call(Qe,pt,Dt.browser),Qe[h]=Ke(Qe[x]),ct&&$e&&$e.brave&&typeof $e.brave.isBrave==a&&(Qe[m]="Brave"),Qe},this.getCPU=function(){var Qe={};return Qe[b]=n,W.call(Qe,pt,Dt.cpu),Qe},this.getDevice=function(){var Qe={};return Qe[v]=n,Qe[f]=n,Qe[y]=n,W.call(Qe,pt,Dt.device),ct&&!Qe[y]&&Pr&&Pr.mobile&&(Qe[y]=w),ct&&Qe[f]=="Macintosh"&&$e&&typeof $e.standalone!==l&&$e.maxTouchPoints&&$e.maxTouchPoints>2&&(Qe[f]="iPad",Qe[y]=E),Qe},this.getEngine=function(){var Qe={};return Qe[m]=n,Qe[x]=n,W.call(Qe,pt,Dt.engine),Qe},this.getOS=function(){var Qe={};return Qe[m]=n,Qe[x]=n,W.call(Qe,pt,Dt.os),ct&&!Qe[m]&&Pr&&Pr.platform&&Pr.platform!="Unknown"&&(Qe[m]=Pr.platform.replace(/chrome os/i,_e).replace(/macos/i,Te)),Qe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return pt},this.setUA=function(Qe){return pt=typeof Qe===c&&Qe.length>M?Rt(Qe,M):Qe,this},this.setUA(pt),this};ce.VERSION=i,ce.BROWSER=je([m,x,h]),ce.CPU=je([b]),ce.DEVICE=je([f,v,y,_,w,A,E,P,I]),ce.ENGINE=ce.OS=je([m,x]),t.exports&&(e=t.exports=ce),e.UAParser=ce;var ke=typeof r!==l&&(r.jQuery||r.Zepto);if(ke&&!ke.ua){var et=new ce;ke.ua=et.getResult(),ke.ua.get=function(){return et.getUA()},ke.ua.set=function(ze){et.setUA(ze);var Ue=et.getResult();for(var $e in Ue)ke.ua[$e]=Ue[$e]}}})(typeof window=="object"?window:rr)})(uE,uE.exports);var zq=uE.exports;const Hq=Po(zq);var C1={exports:{}},dc=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(dc||{}),S5=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(S5||{}),cE=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(cE||{}),Je=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(Je||{}),xs=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(xs||{}),ye=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(ye||{}),_d=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(_d||{}),Xe=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(Xe||{}),Oe=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(Oe||{}),Zo=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(Zo||{}),ia=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(ia||{}),Eo=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(Eo||{}),Vn=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(Vn||{}),no=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(no||{}),wC=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(wC||{}),Ui=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(Ui||{}),br=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(br||{}),hr=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(hr||{}),yo=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(yo||{});const Vq={createCanvas:(t,e)=>{const r=document.createElement("canvas");return r.width=t,r.height=e,r},getCanvasRenderingContext2D:()=>CanvasRenderingContext2D,getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")},De={ADAPTER:Vq,RESOLUTION:1,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};var fw=/iPhone/i,U3=/iPod/i,$3=/iPad/i,z3=/\biOS-universal(?:.+)Mac\b/i,pw=/\bAndroid(?:.+)Mobile\b/i,H3=/Android/i,Nc=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Yg=/Silk/i,Uo=/Windows Phone/i,V3=/\bWindows(?:.+)ARM\b/i,G3=/BlackBerry/i,W3=/BB10/i,X3=/Opera Mini/i,q3=/\b(CriOS|Chrome)(?:.+)Mobile/i,Y3=/Mobile(?:.+)Firefox\b/i,Q3=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};function Gq(t){return function(e){return e.test(t)}}function K3(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var r=e.userAgent,n=r.split("[FBAN");typeof n[1]<"u"&&(r=n[0]),n=r.split("Twitter"),typeof n[1]<"u"&&(r=n[0]);var i=Gq(r),s={apple:{phone:i(fw)&&!i(Uo),ipod:i(U3),tablet:!i(fw)&&(i($3)||Q3(e))&&!i(Uo),universal:i(z3),device:(i(fw)||i(U3)||i($3)||i(z3)||Q3(e))&&!i(Uo)},amazon:{phone:i(Nc),tablet:!i(Nc)&&i(Yg),device:i(Nc)||i(Yg)},android:{phone:!i(Uo)&&i(Nc)||!i(Uo)&&i(pw),tablet:!i(Uo)&&!i(Nc)&&!i(pw)&&(i(Yg)||i(H3)),device:!i(Uo)&&(i(Nc)||i(Yg)||i(pw)||i(H3))||i(/\bokhttp\b/i)},windows:{phone:i(Uo),tablet:i(V3),device:i(Uo)||i(V3)},other:{blackberry:i(G3),blackberry10:i(W3),opera:i(X3),firefox:i(Y3),chrome:i(q3),device:i(G3)||i(W3)||i(X3)||i(Y3)||i(q3)},any:!1,phone:!1,tablet:!1};return s.any=s.apple.device||s.android.device||s.windows.device||s.other.device,s.phone=s.apple.phone||s.android.phone||s.windows.phone,s.tablet=s.apple.tablet||s.android.tablet||s.windows.tablet,s}const Wq=K3.default??K3,Jo=Wq(globalThis.navigator);De.RETINA_PREFIX=/@([0-9\.]+)x/;De.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var E5={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function s(l,u,c,h,f){if(typeof c!="function")throw new TypeError("The listener must be a function");var m=new i(c,h||l,f),y=r?r+u:u;return l._events[y]?l._events[y].fn?l._events[y]=[l._events[y],m]:l._events[y].push(m):(l._events[y]=m,l._eventsCount++),l}function o(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function a(){this._events=new n,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],c,h;if(this._eventsCount===0)return u;for(h in c=this._events)e.call(c,h)&&u.push(r?h.slice(1):h);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},a.prototype.listeners=function(u){var c=r?r+u:u,h=this._events[c];if(!h)return[];if(h.fn)return[h.fn];for(var f=0,m=h.length,y=new Array(m);f<m;f++)y[f]=h[f].fn;return y},a.prototype.listenerCount=function(u){var c=r?r+u:u,h=this._events[c];return h?h.fn?1:h.length:0},a.prototype.emit=function(u,c,h,f,m,y){var v=r?r+u:u;if(!this._events[v])return!1;var x=this._events[v],b=arguments.length,_,w;if(x.fn){switch(x.once&&this.removeListener(u,x.fn,void 0,!0),b){case 1:return x.fn.call(x.context),!0;case 2:return x.fn.call(x.context,c),!0;case 3:return x.fn.call(x.context,c,h),!0;case 4:return x.fn.call(x.context,c,h,f),!0;case 5:return x.fn.call(x.context,c,h,f,m),!0;case 6:return x.fn.call(x.context,c,h,f,m,y),!0}for(w=1,_=new Array(b-1);w<b;w++)_[w-1]=arguments[w];x.fn.apply(x.context,_)}else{var E=x.length,A;for(w=0;w<E;w++)switch(x[w].once&&this.removeListener(u,x[w].fn,void 0,!0),b){case 1:x[w].fn.call(x[w].context);break;case 2:x[w].fn.call(x[w].context,c);break;case 3:x[w].fn.call(x[w].context,c,h);break;case 4:x[w].fn.call(x[w].context,c,h,f);break;default:if(!_)for(A=1,_=new Array(b-1);A<b;A++)_[A-1]=arguments[A];x[w].fn.apply(x[w].context,_)}}return!0},a.prototype.on=function(u,c,h){return s(this,u,c,h,!1)},a.prototype.once=function(u,c,h){return s(this,u,c,h,!0)},a.prototype.removeListener=function(u,c,h,f){var m=r?r+u:u;if(!this._events[m])return this;if(!c)return o(this,m),this;var y=this._events[m];if(y.fn)y.fn===c&&(!f||y.once)&&(!h||y.context===h)&&o(this,m);else{for(var v=0,x=[],b=y.length;v<b;v++)(y[v].fn!==c||f&&!y[v].once||h&&y[v].context!==h)&&x.push(y[v]);x.length?this._events[m]=x.length===1?x[0]:x:o(this,m)}return this},a.prototype.removeAllListeners=function(u){var c;return u?(c=r?r+u:u,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=r,a.EventEmitter=a,t.exports=a})(E5);var Xq=E5.exports;const vm=Po(Xq);var _C={exports:{}};_C.exports=A1;_C.exports.default=A1;function A1(t,e,r){r=r||2;var n=e&&e.length,i=n?e[0]*r:t.length,s=T5(t,0,i,r,!0),o=[];if(!s||s.next===s.prev)return o;var a,l,u,c,h,f,m;if(n&&(s=Zq(t,e,s,r)),t.length>80*r){a=u=t[0],l=c=t[1];for(var y=r;y<i;y+=r)h=t[y],f=t[y+1],h<a&&(a=h),f<l&&(l=f),h>u&&(u=h),f>c&&(c=f);m=Math.max(u-a,c-l),m=m!==0?32767/m:0}return $p(s,o,r,a,l,m,0),o}function T5(t,e,r,n,i){var s,o;if(i===fE(t,e,r,n)>0)for(s=e;s<r;s+=n)o=Z3(s,t[s],t[s+1],o);else for(s=r-n;s>=e;s-=n)o=Z3(s,t[s],t[s+1],o);return o&&R1(o,o.next)&&(Hp(o),o=o.next),o}function sc(t,e){if(!t)return t;e||(e=t);var r=t,n;do if(n=!1,!r.steiner&&(R1(r,r.next)||Xt(r.prev,r,r.next)===0)){if(Hp(r),r=e=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==e);return e}function $p(t,e,r,n,i,s,o){if(t){!o&&s&&nY(t,n,i,s);for(var a=t,l,u;t.prev!==t.next;){if(l=t.prev,u=t.next,s?Yq(t,n,i,s):qq(t)){e.push(l.i/r|0),e.push(t.i/r|0),e.push(u.i/r|0),Hp(t),t=u.next,a=u.next;continue}if(t=u,t===a){o?o===1?(t=Qq(sc(t),e,r),$p(t,e,r,n,i,s,2)):o===2&&Kq(t,e,r,n,i,s):$p(sc(t),e,r,n,i,s,1);break}}}}function qq(t){var e=t.prev,r=t,n=t.next;if(Xt(e,r,n)>=0)return!1;for(var i=e.x,s=r.x,o=n.x,a=e.y,l=r.y,u=n.y,c=i<s?i<o?i:o:s<o?s:o,h=a<l?a<u?a:u:l<u?l:u,f=i>s?i>o?i:o:s>o?s:o,m=a>l?a>u?a:u:l>u?l:u,y=n.next;y!==e;){if(y.x>=c&&y.x<=f&&y.y>=h&&y.y<=m&&ad(i,a,s,l,o,u,y.x,y.y)&&Xt(y.prev,y,y.next)>=0)return!1;y=y.next}return!0}function Yq(t,e,r,n){var i=t.prev,s=t,o=t.next;if(Xt(i,s,o)>=0)return!1;for(var a=i.x,l=s.x,u=o.x,c=i.y,h=s.y,f=o.y,m=a<l?a<u?a:u:l<u?l:u,y=c<h?c<f?c:f:h<f?h:f,v=a>l?a>u?a:u:l>u?l:u,x=c>h?c>f?c:f:h>f?h:f,b=dE(m,y,e,r,n),_=dE(v,x,e,r,n),w=t.prevZ,E=t.nextZ;w&&w.z>=b&&E&&E.z<=_;){if(w.x>=m&&w.x<=v&&w.y>=y&&w.y<=x&&w!==i&&w!==o&&ad(a,c,l,h,u,f,w.x,w.y)&&Xt(w.prev,w,w.next)>=0||(w=w.prevZ,E.x>=m&&E.x<=v&&E.y>=y&&E.y<=x&&E!==i&&E!==o&&ad(a,c,l,h,u,f,E.x,E.y)&&Xt(E.prev,E,E.next)>=0))return!1;E=E.nextZ}for(;w&&w.z>=b;){if(w.x>=m&&w.x<=v&&w.y>=y&&w.y<=x&&w!==i&&w!==o&&ad(a,c,l,h,u,f,w.x,w.y)&&Xt(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;E&&E.z<=_;){if(E.x>=m&&E.x<=v&&E.y>=y&&E.y<=x&&E!==i&&E!==o&&ad(a,c,l,h,u,f,E.x,E.y)&&Xt(E.prev,E,E.next)>=0)return!1;E=E.nextZ}return!0}function Qq(t,e,r){var n=t;do{var i=n.prev,s=n.next.next;!R1(i,s)&&C5(i,n,n.next,s)&&zp(i,s)&&zp(s,i)&&(e.push(i.i/r|0),e.push(n.i/r|0),e.push(s.i/r|0),Hp(n),Hp(n.next),n=t=s),n=n.next}while(n!==t);return sc(n)}function Kq(t,e,r,n,i,s){var o=t;do{for(var a=o.next.next;a!==o.prev;){if(o.i!==a.i&&oY(o,a)){var l=A5(o,a);o=sc(o,o.next),l=sc(l,l.next),$p(o,e,r,n,i,s,0),$p(l,e,r,n,i,s,0);return}a=a.next}o=o.next}while(o!==t)}function Zq(t,e,r,n){var i=[],s,o,a,l,u;for(s=0,o=e.length;s<o;s++)a=e[s]*n,l=s<o-1?e[s+1]*n:t.length,u=T5(t,a,l,n,!1),u===u.next&&(u.steiner=!0),i.push(sY(u));for(i.sort(Jq),s=0;s<i.length;s++)r=eY(i[s],r);return r}function Jq(t,e){return t.x-e.x}function eY(t,e){var r=tY(t,e);if(!r)return e;var n=A5(r,t);return sc(n,n.next),sc(r,r.next)}function tY(t,e){var r=e,n=t.x,i=t.y,s=-1/0,o;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var a=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(a<=n&&a>s&&(s=a,o=r.x<r.next.x?r:r.next,a===n))return o}r=r.next}while(r!==e);if(!o)return null;var l=o,u=o.x,c=o.y,h=1/0,f;r=o;do n>=r.x&&r.x>=u&&n!==r.x&&ad(i<c?n:s,i,u,c,i<c?s:n,i,r.x,r.y)&&(f=Math.abs(i-r.y)/(n-r.x),zp(r,t)&&(f<h||f===h&&(r.x>o.x||r.x===o.x&&rY(o,r)))&&(o=r,h=f)),r=r.next;while(r!==l);return o}function rY(t,e){return Xt(t.prev,t,e.prev)<0&&Xt(e.next,t,t.next)<0}function nY(t,e,r,n){var i=t;do i.z===0&&(i.z=dE(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,iY(i)}function iY(t){var e,r,n,i,s,o,a,l,u=1;do{for(r=t,t=null,s=null,o=0;r;){for(o++,n=r,a=0,e=0;e<u&&(a++,n=n.nextZ,!!n);e++);for(l=u;a>0||l>0&&n;)a!==0&&(l===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,a--):(i=n,n=n.nextZ,l--),s?s.nextZ=i:t=i,i.prevZ=s,s=i;r=n}s.nextZ=null,u*=2}while(o>1);return t}function dE(t,e,r,n,i){return t=(t-r)*i|0,e=(e-n)*i|0,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t|e<<1}function sY(t){var e=t,r=t;do(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;while(e!==t);return r}function ad(t,e,r,n,i,s,o,a){return(i-o)*(e-a)>=(t-o)*(s-a)&&(t-o)*(n-a)>=(r-o)*(e-a)&&(r-o)*(s-a)>=(i-o)*(n-a)}function oY(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!aY(t,e)&&(zp(t,e)&&zp(e,t)&&lY(t,e)&&(Xt(t.prev,t,e.prev)||Xt(t,e.prev,e))||R1(t,e)&&Xt(t.prev,t,t.next)>0&&Xt(e.prev,e,e.next)>0)}function Xt(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function R1(t,e){return t.x===e.x&&t.y===e.y}function C5(t,e,r,n){var i=Kg(Xt(t,e,r)),s=Kg(Xt(t,e,n)),o=Kg(Xt(r,n,t)),a=Kg(Xt(r,n,e));return!!(i!==s&&o!==a||i===0&&Qg(t,r,e)||s===0&&Qg(t,n,e)||o===0&&Qg(r,t,n)||a===0&&Qg(r,e,n))}function Qg(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function Kg(t){return t>0?1:t<0?-1:0}function aY(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&C5(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}function zp(t,e){return Xt(t.prev,t,t.next)<0?Xt(t,e,t.next)>=0&&Xt(t,t.prev,e)>=0:Xt(t,e,t.prev)<0||Xt(t,t.next,e)<0}function lY(t,e){var r=t,n=!1,i=(t.x+e.x)/2,s=(t.y+e.y)/2;do r.y>s!=r.next.y>s&&r.next.y!==r.y&&i<(r.next.x-r.x)*(s-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==t);return n}function A5(t,e){var r=new hE(t.i,t.x,t.y),n=new hE(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,s.next=n,n.prev=s,n}function Z3(t,e,r,n){var i=new hE(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function Hp(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function hE(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}A1.deviation=function(t,e,r,n){var i=e&&e.length,s=i?e[0]*r:t.length,o=Math.abs(fE(t,0,s,r));if(i)for(var a=0,l=e.length;a<l;a++){var u=e[a]*r,c=a<l-1?e[a+1]*r:t.length;o-=Math.abs(fE(t,u,c,r))}var h=0;for(a=0;a<n.length;a+=3){var f=n[a]*r,m=n[a+1]*r,y=n[a+2]*r;h+=Math.abs((t[f]-t[y])*(t[m+1]-t[f+1])-(t[f]-t[m])*(t[y+1]-t[f+1]))}return o===0&&h===0?0:Math.abs((h-o)/o)};function fE(t,e,r,n){for(var i=0,s=e,o=r-n;s<r;s+=n)i+=(t[o]-t[s])*(t[s+1]+t[o+1]),o=s;return i}A1.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var s=0;s<t[i].length;s++)for(var o=0;o<e;o++)r.vertices.push(t[i][s][o]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r};var uY=_C.exports;const cY=Po(uY);var fy={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */fy.exports;(function(t,e){(function(r){var n=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,s=typeof rr=="object"&&rr;(s.global===s||s.window===s||s.self===s)&&(r=s);var o,a=2147483647,l=36,u=1,c=26,h=38,f=700,m=72,y=128,v="-",x=/^xn--/,b=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=l-u,A=Math.floor,P=String.fromCharCode,I;function M(B){throw new RangeError(w[B])}function N(B,X){for(var K=B.length,q=[];K--;)q[K]=X(B[K]);return q}function z(B,X){var K=B.split("@"),q="";K.length>1&&(q=K[0]+"@",B=K[1]),B=B.replace(_,".");var re=B.split("."),ue=N(re,X).join(".");return q+ue}function j(B){for(var X=[],K=0,q=B.length,re,ue;K<q;)re=B.charCodeAt(K++),re>=55296&&re<=56319&&K<q?(ue=B.charCodeAt(K++),(ue&64512)==56320?X.push(((re&1023)<<10)+(ue&1023)+65536):(X.push(re),K--)):X.push(re);return X}function H(B){return N(B,function(X){var K="";return X>65535&&(X-=65536,K+=P(X>>>10&1023|55296),X=56320|X&1023),K+=P(X),K}).join("")}function F(B){return B-48<10?B-22:B-65<26?B-65:B-97<26?B-97:l}function L(B,X){return B+22+75*(B<26)-((X!=0)<<5)}function O(B,X,K){var q=0;for(B=K?A(B/f):B>>1,B+=A(B/X);B>E*c>>1;q+=l)B=A(B/E);return A(q+(E+1)*B/(B+h))}function $(B){var X=[],K=B.length,q,re=0,ue=y,le=m,me,xe,_e,Te,de,Be,je,ut,Pe;for(me=B.lastIndexOf(v),me<0&&(me=0),xe=0;xe<me;++xe)B.charCodeAt(xe)>=128&&M("not-basic"),X.push(B.charCodeAt(xe));for(_e=me>0?me+1:0;_e<K;){for(Te=re,de=1,Be=l;_e>=K&&M("invalid-input"),je=F(B.charCodeAt(_e++)),(je>=l||je>A((a-re)/de))&&M("overflow"),re+=je*de,ut=Be<=le?u:Be>=le+c?c:Be-le,!(je<ut);Be+=l)Pe=l-ut,de>A(a/Pe)&&M("overflow"),de*=Pe;q=X.length+1,le=O(re-Te,q,Te==0),A(re/q)>a-ue&&M("overflow"),ue+=A(re/q),re%=q,X.splice(re++,0,ue)}return H(X)}function V(B){var X,K,q,re,ue,le,me,xe,_e,Te,de,Be=[],je,ut,Pe,Ke;for(B=j(B),je=B.length,X=y,K=0,ue=m,le=0;le<je;++le)de=B[le],de<128&&Be.push(P(de));for(q=re=Be.length,re&&Be.push(v);q<je;){for(me=a,le=0;le<je;++le)de=B[le],de>=X&&de<me&&(me=de);for(ut=q+1,me-X>A((a-K)/ut)&&M("overflow"),K+=(me-X)*ut,X=me,le=0;le<je;++le)if(de=B[le],de<X&&++K>a&&M("overflow"),de==X){for(xe=K,_e=l;Te=_e<=ue?u:_e>=ue+c?c:_e-ue,!(xe<Te);_e+=l)Ke=xe-Te,Pe=l-Te,Be.push(P(L(Te+Ke%Pe,0))),xe=A(Ke/Pe);Be.push(P(L(xe,0))),ue=O(K,ut,q==re),K=0,++q}++K,++X}return Be.join("")}function k(B){return z(B,function(X){return x.test(X)?$(X.slice(4).toLowerCase()):X})}function U(B){return z(B,function(X){return b.test(X)?"xn--"+V(X):X})}if(o={version:"1.4.1",ucs2:{decode:j,encode:H},decode:$,encode:V,toASCII:U,toUnicode:k},n&&i)if(t.exports==n)i.exports=o;else for(I in o)o.hasOwnProperty(I)&&(n[I]=o[I]);else r.punycode=o})(rr)})(fy,fy.exports);var dY=fy.exports,hY=Error,fY=EvalError,pY=RangeError,mY=ReferenceError,R5=SyntaxError,ym=TypeError,gY=URIError,vY=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},J3=typeof Symbol<"u"&&Symbol,yY=vY,xY=function(){return typeof J3!="function"||typeof Symbol!="function"||typeof J3("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:yY()},mw={__proto__:null,foo:{}},bY={__proto__:mw}.foo===mw.foo&&!(mw instanceof Object),wY=function(){return bY},_Y="Function.prototype.bind called on incompatible ",SY=Object.prototype.toString,EY=Math.max,TY="[object Function]",eM=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var s=0;s<r.length;s+=1)n[s+e.length]=r[s];return n},CY=function(e,r){for(var n=[],i=r,s=0;i<e.length;i+=1,s+=1)n[s]=e[i];return n},AY=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},RY=function(e){var r=this;if(typeof r!="function"||SY.apply(r)!==TY)throw new TypeError(_Y+r);for(var n=CY(arguments,1),i,s=function(){if(this instanceof i){var c=r.apply(this,eM(n,arguments));return Object(c)===c?c:this}return r.apply(e,eM(n,arguments))},o=EY(0,r.length-n.length),a=[],l=0;l<o;l++)a[l]="$"+l;if(i=Function("binder","return function ("+AY(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},PY=RY,SC=Function.prototype.bind||PY,IY=Function.prototype.call,MY=Object.prototype.hasOwnProperty,kY=SC,OY=kY.call(IY,MY),mt,DY=hY,NY=fY,LY=pY,FY=mY,ih=R5,Sd=ym,jY=gY,P5=Function,gw=function(t){try{return P5('"use strict"; return ('+t+").constructor;")()}catch{}},$u=Object.getOwnPropertyDescriptor;if($u)try{$u({},"")}catch{$u=null}var vw=function(){throw new Sd},BY=$u?function(){try{return arguments.callee,vw}catch{try{return $u(arguments,"callee").get}catch{return vw}}}():vw,Lc=xY(),UY=wY(),Nr=Object.getPrototypeOf||(UY?function(t){return t.__proto__}:null),zc={},$Y=typeof Uint8Array>"u"||!Nr?mt:Nr(Uint8Array),zu={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?mt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?mt:ArrayBuffer,"%ArrayIteratorPrototype%":Lc&&Nr?Nr([][Symbol.iterator]()):mt,"%AsyncFromSyncIteratorPrototype%":mt,"%AsyncFunction%":zc,"%AsyncGenerator%":zc,"%AsyncGeneratorFunction%":zc,"%AsyncIteratorPrototype%":zc,"%Atomics%":typeof Atomics>"u"?mt:Atomics,"%BigInt%":typeof BigInt>"u"?mt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?mt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?mt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?mt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":DY,"%eval%":eval,"%EvalError%":NY,"%Float32Array%":typeof Float32Array>"u"?mt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?mt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?mt:FinalizationRegistry,"%Function%":P5,"%GeneratorFunction%":zc,"%Int8Array%":typeof Int8Array>"u"?mt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?mt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?mt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Lc&&Nr?Nr(Nr([][Symbol.iterator]())):mt,"%JSON%":typeof JSON=="object"?JSON:mt,"%Map%":typeof Map>"u"?mt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Lc||!Nr?mt:Nr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?mt:Promise,"%Proxy%":typeof Proxy>"u"?mt:Proxy,"%RangeError%":LY,"%ReferenceError%":FY,"%Reflect%":typeof Reflect>"u"?mt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?mt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Lc||!Nr?mt:Nr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?mt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Lc&&Nr?Nr(""[Symbol.iterator]()):mt,"%Symbol%":Lc?Symbol:mt,"%SyntaxError%":ih,"%ThrowTypeError%":BY,"%TypedArray%":$Y,"%TypeError%":Sd,"%Uint8Array%":typeof Uint8Array>"u"?mt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?mt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?mt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?mt:Uint32Array,"%URIError%":jY,"%WeakMap%":typeof WeakMap>"u"?mt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?mt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?mt:WeakSet};if(Nr)try{null.error}catch(t){var zY=Nr(Nr(t));zu["%Error.prototype%"]=zY}var HY=function t(e){var r;if(e==="%AsyncFunction%")r=gw("async function () {}");else if(e==="%GeneratorFunction%")r=gw("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=gw("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Nr&&(r=Nr(i.prototype))}return zu[e]=r,r},tM={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},xm=SC,py=OY,VY=xm.call(Function.call,Array.prototype.concat),GY=xm.call(Function.apply,Array.prototype.splice),rM=xm.call(Function.call,String.prototype.replace),my=xm.call(Function.call,String.prototype.slice),WY=xm.call(Function.call,RegExp.prototype.exec),XY=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,qY=/\\(\\)?/g,YY=function(e){var r=my(e,0,1),n=my(e,-1);if(r==="%"&&n!=="%")throw new ih("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ih("invalid intrinsic syntax, expected opening `%`");var i=[];return rM(e,XY,function(s,o,a,l){i[i.length]=a?rM(l,qY,"$1"):o||s}),i},QY=function(e,r){var n=e,i;if(py(tM,n)&&(i=tM[n],n="%"+i[0]+"%"),py(zu,n)){var s=zu[n];if(s===zc&&(s=HY(n)),typeof s>"u"&&!r)throw new Sd("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new ih("intrinsic "+e+" does not exist!")},mh=function(e,r){if(typeof e!="string"||e.length===0)throw new Sd("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Sd('"allowMissing" argument must be a boolean');if(WY(/^%?[^%]*%?$/,e)===null)throw new ih("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=YY(e),i=n.length>0?n[0]:"",s=QY("%"+i+"%",r),o=s.name,a=s.value,l=!1,u=s.alias;u&&(i=u[0],GY(n,VY([0,1],u)));for(var c=1,h=!0;c<n.length;c+=1){var f=n[c],m=my(f,0,1),y=my(f,-1);if((m==='"'||m==="'"||m==="`"||y==='"'||y==="'"||y==="`")&&m!==y)throw new ih("property names with quotes must have matching quotes");if((f==="constructor"||!h)&&(l=!0),i+="."+f,o="%"+i+"%",py(zu,o))a=zu[o];else if(a!=null){if(!(f in a)){if(!r)throw new Sd("base intrinsic for "+e+" exists, but the property is not available.");return}if($u&&c+1>=n.length){var v=$u(a,f);h=!!v,h&&"get"in v&&!("originalValue"in v.get)?a=v.get:a=a[f]}else h=py(a,f),a=a[f];h&&!l&&(zu[o]=a)}}return a},I5={exports:{}},yw,nM;function EC(){if(nM)return yw;nM=1;var t=mh,e=t("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return yw=e,yw}var KY=mh,ov=KY("%Object.getOwnPropertyDescriptor%",!0);if(ov)try{ov([],"length")}catch{ov=null}var M5=ov,iM=EC(),ZY=R5,Fc=ym,sM=M5,JY=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Fc("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Fc("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Fc("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Fc("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Fc("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Fc("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,l=!!sM&&sM(e,r);if(iM)iM(e,r,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:s===null&&l?l.writable:!s});else if(a||!i&&!s&&!o)e[r]=n;else throw new ZY("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},pE=EC(),k5=function(){return!!pE};k5.hasArrayLengthDefineBug=function(){if(!pE)return null;try{return pE([],"length",{value:1}).length!==1}catch{return!0}};var eQ=k5,tQ=mh,oM=JY,rQ=eQ(),aM=M5,lM=ym,nQ=tQ("%Math.floor%"),iQ=function(e,r){if(typeof e!="function")throw new lM("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||nQ(r)!==r)throw new lM("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in e&&aM){var o=aM(e,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(rQ?oM(e,"length",r,!0,!0):oM(e,"length",r)),e};(function(t){var e=SC,r=mh,n=iQ,i=ym,s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(o,s),l=EC(),u=r("%Math.max%");t.exports=function(f){if(typeof f!="function")throw new i("a function is required");var m=a(e,o,arguments);return n(m,1+u(0,f.length-(arguments.length-1)),!0)};var c=function(){return a(e,s,arguments)};l?l(t.exports,"apply",{value:c}):t.exports.apply=c})(I5);var sQ=I5.exports,O5=mh,D5=sQ,oQ=D5(O5("String.prototype.indexOf")),aQ=function(e,r){var n=O5(e,!!r);return typeof n=="function"&&oQ(e,".prototype.")>-1?D5(n):n};const lQ={},uQ=Object.freeze(Object.defineProperty({__proto__:null,default:lQ},Symbol.toStringTag,{value:"Module"})),cQ=qk(uQ);var TC=typeof Map=="function"&&Map.prototype,xw=Object.getOwnPropertyDescriptor&&TC?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,gy=TC&&xw&&typeof xw.get=="function"?xw.get:null,uM=TC&&Map.prototype.forEach,CC=typeof Set=="function"&&Set.prototype,bw=Object.getOwnPropertyDescriptor&&CC?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,vy=CC&&bw&&typeof bw.get=="function"?bw.get:null,cM=CC&&Set.prototype.forEach,dQ=typeof WeakMap=="function"&&WeakMap.prototype,Qf=dQ?WeakMap.prototype.has:null,hQ=typeof WeakSet=="function"&&WeakSet.prototype,Kf=hQ?WeakSet.prototype.has:null,fQ=typeof WeakRef=="function"&&WeakRef.prototype,dM=fQ?WeakRef.prototype.deref:null,pQ=Boolean.prototype.valueOf,mQ=Object.prototype.toString,gQ=Function.prototype.toString,vQ=String.prototype.match,AC=String.prototype.slice,cl=String.prototype.replace,yQ=String.prototype.toUpperCase,hM=String.prototype.toLowerCase,N5=RegExp.prototype.test,fM=Array.prototype.concat,io=Array.prototype.join,xQ=Array.prototype.slice,pM=Math.floor,mE=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ww=Object.getOwnPropertySymbols,gE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,sh=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===sh||!0)?Symbol.toStringTag:null,L5=Object.prototype.propertyIsEnumerable,mM=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function gM(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||N5.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-pM(-t):pM(t);if(n!==t){var i=String(n),s=AC.call(e,i.length+1);return cl.call(i,r,"$&_")+"."+cl.call(cl.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return cl.call(e,r,"$&_")}var vE=cQ,vM=vE.custom,yM=B5(vM)?vM:null,F5={__proto__:null,double:'"',single:"'"},bQ={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},wQ=function t(e,r,n,i){var s=r||{};if(Xo(s,"quoteStyle")&&!Xo(F5,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xo(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Xo(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xo(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xo(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=s.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return $5(e,s);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return a?gM(e,l):l}if(typeof e=="bigint"){var u=String(e)+"n";return a?gM(e,u):u}var c=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return yE(e)?"[Array]":"[Object]";var h=BQ(s,n);if(typeof i>"u")i=[];else if(U5(i,e)>=0)return"[Circular]";function f(F,L,O){if(L&&(i=xQ.call(i),i.push(L)),O){var $={depth:s.depth};return Xo(s,"quoteStyle")&&($.quoteStyle=s.quoteStyle),t(F,$,n+1,i)}return t(F,s,n+1,i)}if(typeof e=="function"&&!xM(e)){var m=IQ(e),y=Zg(e,f);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(y.length>0?" { "+io.call(y,", ")+" }":"")}if(B5(e)){var v=sh?cl.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):gE.call(e);return typeof e=="object"&&!sh?of(v):v}if(LQ(e)){for(var x="<"+hM.call(String(e.nodeName)),b=e.attributes||[],_=0;_<b.length;_++)x+=" "+b[_].name+"="+j5(_Q(b[_].value),"double",s);return x+=">",e.childNodes&&e.childNodes.length&&(x+="..."),x+="</"+hM.call(String(e.nodeName))+">",x}if(yE(e)){if(e.length===0)return"[]";var w=Zg(e,f);return h&&!jQ(w)?"["+xE(w,h)+"]":"[ "+io.call(w,", ")+" ]"}if(EQ(e)){var E=Zg(e,f);return!("cause"in Error.prototype)&&"cause"in e&&!L5.call(e,"cause")?"{ ["+String(e)+"] "+io.call(fM.call("[cause]: "+f(e.cause),E),", ")+" }":E.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+io.call(E,", ")+" }"}if(typeof e=="object"&&o){if(yM&&typeof e[yM]=="function"&&vE)return vE(e,{depth:c-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(MQ(e)){var A=[];return uM&&uM.call(e,function(F,L){A.push(f(L,e,!0)+" => "+f(F,e))}),bM("Map",gy.call(e),A,h)}if(DQ(e)){var P=[];return cM&&cM.call(e,function(F){P.push(f(F,e))}),bM("Set",vy.call(e),P,h)}if(kQ(e))return _w("WeakMap");if(NQ(e))return _w("WeakSet");if(OQ(e))return _w("WeakRef");if(CQ(e))return of(f(Number(e)));if(RQ(e))return of(f(mE.call(e)));if(AQ(e))return of(pQ.call(e));if(TQ(e))return of(f(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof rr<"u"&&e===rr)return"{ [object globalThis] }";if(!SQ(e)&&!xM(e)){var I=Zg(e,f),M=mM?mM(e)===Object.prototype:e instanceof Object||e.constructor===Object,N=e instanceof Object?"":"null prototype",z=!M&&fn&&Object(e)===e&&fn in e?AC.call($l(e),8,-1):N?"Object":"",j=M||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",H=j+(z||N?"["+io.call(fM.call([],z||[],N||[]),": ")+"] ":"");return I.length===0?H+"{}":h?H+"{"+xE(I,h)+"}":H+"{ "+io.call(I,", ")+" }"}return String(e)};function j5(t,e,r){var n=r.quoteStyle||e,i=F5[n];return i+t+i}function _Q(t){return cl.call(String(t),/"/g,""")}function yE(t){return $l(t)==="[object Array]"&&(!fn||!(typeof t=="object"&&fn in t))}function SQ(t){return $l(t)==="[object Date]"&&(!fn||!(typeof t=="object"&&fn in t))}function xM(t){return $l(t)==="[object RegExp]"&&(!fn||!(typeof t=="object"&&fn in t))}function EQ(t){return $l(t)==="[object Error]"&&(!fn||!(typeof t=="object"&&fn in t))}function TQ(t){return $l(t)==="[object String]"&&(!fn||!(typeof t=="object"&&fn in t))}function CQ(t){return $l(t)==="[object Number]"&&(!fn||!(typeof t=="object"&&fn in t))}function AQ(t){return $l(t)==="[object Boolean]"&&(!fn||!(typeof t=="object"&&fn in t))}function B5(t){if(sh)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!gE)return!1;try{return gE.call(t),!0}catch{}return!1}function RQ(t){if(!t||typeof t!="object"||!mE)return!1;try{return mE.call(t),!0}catch{}return!1}var PQ=Object.prototype.hasOwnProperty||function(t){return t in this};function Xo(t,e){return PQ.call(t,e)}function $l(t){return mQ.call(t)}function IQ(t){if(t.name)return t.name;var e=vQ.call(gQ.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function U5(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function MQ(t){if(!gy||!t||typeof t!="object")return!1;try{gy.call(t);try{vy.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function kQ(t){if(!Qf||!t||typeof t!="object")return!1;try{Qf.call(t,Qf);try{Kf.call(t,Kf)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function OQ(t){if(!dM||!t||typeof t!="object")return!1;try{return dM.call(t),!0}catch{}return!1}function DQ(t){if(!vy||!t||typeof t!="object")return!1;try{vy.call(t);try{gy.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function NQ(t){if(!Kf||!t||typeof t!="object")return!1;try{Kf.call(t,Kf);try{Qf.call(t,Qf)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function LQ(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function $5(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return $5(AC.call(t,0,e.maxStringLength),e)+n}var i=bQ[e.quoteStyle||"single"];i.lastIndex=0;var s=cl.call(cl.call(t,i,"\\$1"),/[\x00-\x1f]/g,FQ);return j5(s,"single",e)}function FQ(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+yQ.call(e.toString(16))}function of(t){return"Object("+t+")"}function _w(t){return t+" { ? }"}function bM(t,e,r,n){var i=n?xE(r,n):io.call(r,", ");return t+" ("+e+") {"+i+"}"}function jQ(t){for(var e=0;e<t.length;e++)if(U5(t[e],`
|
|
217
|
+
`,Vg=16,$G=({reverseOrder:t,position:e="top-center",toastOptions:r,gutter:n,children:i,containerStyle:s,containerClassName:o})=>{let{toasts:a,handlers:l}=mG(r);return T.createElement("div",{style:{position:"fixed",zIndex:9999,top:Vg,left:Vg,right:Vg,bottom:Vg,pointerEvents:"none",...s},className:o,onMouseEnter:l.startPause,onMouseLeave:l.endPause},a.map(u=>{let c=u.position||e,h=l.calculateOffset(u,{reverseOrder:t,gutter:n,defaultPosition:e}),f=BG(c,h);return T.createElement(jG,{id:u.id,key:u.id,onHeightUpdate:l.updateHeight,className:u.visible?UG:"",style:f},u.type==="custom"?oy(u.message,u):i?i(u):T.createElement(FG,{toast:u,position:c}))}))},lu=di,KT=hm(),ot=t=>dm(t,KT),ZT=hm();ot.write=t=>dm(t,ZT);var v1=hm();ot.onStart=t=>dm(t,v1);var JT=hm();ot.onFrame=t=>dm(t,JT);var eC=hm();ot.onFinish=t=>dm(t,eC);var bd=[];ot.setTimeout=(t,e)=>{const r=ot.now()+e,n=()=>{const s=bd.findIndex(o=>o.cancel==n);~s&&bd.splice(s,1),ul-=~s?1:0},i={time:r,handler:t,cancel:n};return bd.splice(DL(r),0,i),ul+=1,NL(),i};var DL=t=>~(~bd.findIndex(e=>e.time>t)||~bd.length);ot.cancel=t=>{v1.delete(t),JT.delete(t),eC.delete(t),KT.delete(t),ZT.delete(t)};ot.sync=t=>{qS=!0,ot.batchedUpdates(t),qS=!1};ot.throttle=t=>{let e;function r(){try{t(...e)}finally{e=null}}function n(...i){e=i,ot.onStart(r)}return n.handler=t,n.cancel=()=>{v1.delete(r),e=null},n};var tC=typeof window<"u"?window.requestAnimationFrame:()=>{};ot.use=t=>tC=t;ot.now=typeof performance<"u"?()=>performance.now():Date.now;ot.batchedUpdates=t=>t();ot.catch=console.error;ot.frameLoop="always";ot.advance=()=>{ot.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):FL()};var ll=-1,ul=0,qS=!1;function dm(t,e){qS?(e.delete(t),t(0)):(e.add(t),NL())}function NL(){ll<0&&(ll=0,ot.frameLoop!=="demand"&&tC(LL))}function zG(){ll=-1}function LL(){~ll&&(tC(LL),ot.batchedUpdates(FL))}function FL(){const t=ll;ll=ot.now();const e=DL(ll);if(e&&(jL(bd.splice(0,e),r=>r.handler()),ul-=e),!ul){zG();return}v1.flush(),KT.flush(t?Math.min(64,ll-t):16.667),JT.flush(),ZT.flush(),eC.flush()}function hm(){let t=new Set,e=t;return{add(r){ul+=e==t&&!t.has(r)?1:0,t.add(r)},delete(r){return ul-=e==t&&t.has(r)?1:0,t.delete(r)},flush(r){e.size&&(t=new Set,ul-=e.size,jL(e,n=>n(r)&&t.add(n)),ul+=t.size,e=t)}}}function jL(t,e){t.forEach(r=>{try{e(r)}catch(n){ot.catch(n)}})}var HG=Object.defineProperty,VG=(t,e)=>{for(var r in e)HG(t,r,{get:e[r],enumerable:!0})},Ps={};VG(Ps,{assign:()=>WG,colors:()=>El,createStringInterpolator:()=>nC,skipAnimation:()=>UL,to:()=>BL,willAdvance:()=>iC});function YS(){}var GG=(t,e,r)=>Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0}),fe={arr:Array.isArray,obj:t=>!!t&&t.constructor.name==="Object",fun:t=>typeof t=="function",str:t=>typeof t=="string",num:t=>typeof t=="number",und:t=>t===void 0};function Wo(t,e){if(fe.arr(t)){if(!fe.arr(e)||t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}return t===e}var rt=(t,e)=>t.forEach(e);function _o(t,e,r){if(fe.arr(t)){for(let n=0;n<t.length;n++)e.call(r,t[n],`${n}`);return}for(const n in t)t.hasOwnProperty(n)&&e.call(r,t[n],n)}var Sn=t=>fe.und(t)?[]:fe.arr(t)?t:[t];function Vf(t,e){if(t.size){const r=Array.from(t);t.clear(),rt(r,e)}}var wf=(t,...e)=>Vf(t,r=>r(...e)),rC=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),nC,BL,El=null,UL=!1,iC=YS,WG=t=>{t.to&&(BL=t.to),t.now&&(ot.now=t.now),t.colors!==void 0&&(El=t.colors),t.skipAnimation!=null&&(UL=t.skipAnimation),t.createStringInterpolator&&(nC=t.createStringInterpolator),t.requestAnimationFrame&&ot.use(t.requestAnimationFrame),t.batchedUpdates&&(ot.batchedUpdates=t.batchedUpdates),t.willAdvance&&(iC=t.willAdvance),t.frameLoop&&(ot.frameLoop=t.frameLoop)},Gf=new Set,ji=[],aw=[],ay=0,y1={get idle(){return!Gf.size&&!ji.length},start(t){ay>t.priority?(Gf.add(t),ot.onStart(XG)):($L(t),ot(QS))},advance:QS,sort(t){if(ay)ot.onFrame(()=>y1.sort(t));else{const e=ji.indexOf(t);~e&&(ji.splice(e,1),zL(t))}},clear(){ji=[],Gf.clear()}};function XG(){Gf.forEach($L),Gf.clear(),ot(QS)}function $L(t){ji.includes(t)||zL(t)}function zL(t){ji.splice(qG(ji,e=>e.priority>t.priority),0,t)}function QS(t){const e=aw;for(let r=0;r<ji.length;r++){const n=ji[r];ay=n.priority,n.idle||(iC(n),n.advance(t),n.idle||e.push(n))}return ay=0,aw=ji,aw.length=0,ji=e,ji.length>0}function qG(t,e){const r=t.findIndex(e);return r<0?t.length:r}var YG=(t,e,r)=>Math.min(Math.max(r,t),e),QG={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},ys="[-+]?\\d*\\.?\\d+",ly=ys+"%";function x1(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var KG=new RegExp("rgb"+x1(ys,ys,ys)),ZG=new RegExp("rgba"+x1(ys,ys,ys,ys)),JG=new RegExp("hsl"+x1(ys,ly,ly)),eW=new RegExp("hsla"+x1(ys,ly,ly,ys)),tW=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rW=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,nW=/^#([0-9a-fA-F]{6})$/,iW=/^#([0-9a-fA-F]{8})$/;function sW(t){let e;return typeof t=="number"?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=nW.exec(t))?parseInt(e[1]+"ff",16)>>>0:El&&El[t]!==void 0?El[t]:(e=KG.exec(t))?(Dc(e[1])<<24|Dc(e[2])<<16|Dc(e[3])<<8|255)>>>0:(e=ZG.exec(t))?(Dc(e[1])<<24|Dc(e[2])<<16|Dc(e[3])<<8|o3(e[4]))>>>0:(e=tW.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=iW.exec(t))?parseInt(e[1],16)>>>0:(e=rW.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=JG.exec(t))?(i3(s3(e[1]),Gg(e[2]),Gg(e[3]))|255)>>>0:(e=eW.exec(t))?(i3(s3(e[1]),Gg(e[2]),Gg(e[3]))|o3(e[4]))>>>0:null}function lw(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function i3(t,e,r){const n=r<.5?r*(1+e):r+e-r*e,i=2*r-n,s=lw(i,n,t+1/3),o=lw(i,n,t),a=lw(i,n,t-1/3);return Math.round(s*255)<<24|Math.round(o*255)<<16|Math.round(a*255)<<8}function Dc(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function s3(t){return(parseFloat(t)%360+360)%360/360}function o3(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(e*255)}function Gg(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function a3(t){let e=sW(t);if(e===null)return t;e=e||0;const r=(e&4278190080)>>>24,n=(e&16711680)>>>16,i=(e&65280)>>>8,s=(e&255)/255;return`rgba(${r}, ${n}, ${i}, ${s})`}var Ip=(t,e,r)=>{if(fe.fun(t))return t;if(fe.arr(t))return Ip({range:t,output:e,extrapolate:r});if(fe.str(t.output[0]))return nC(t);const n=t,i=n.output,s=n.range||[0,1],o=n.extrapolateLeft||n.extrapolate||"extend",a=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(u=>u);return u=>{const c=aW(u,s);return oW(u,s[c],s[c+1],i[c],i[c+1],l,o,a,n.map)}};function oW(t,e,r,n,i,s,o,a,l){let u=l?l(t):t;if(u<e){if(o==="identity")return u;o==="clamp"&&(u=e)}if(u>r){if(a==="identity")return u;a==="clamp"&&(u=r)}return n===i?n:e===r?t<=e?n:i:(e===-1/0?u=-u:r===1/0?u=u-e:u=(u-e)/(r-e),u=s(u),n===-1/0?u=-u:i===1/0?u=u+n:u=u*(i-n)+n,u)}function aW(t,e){for(var r=1;r<e.length-1&&!(e[r]>=t);++r);return r-1}var lW=(t,e="end")=>r=>{r=e==="end"?Math.min(r,.999):Math.max(r,.001);const n=r*t,i=e==="end"?Math.floor(n):Math.ceil(n);return YG(0,1,i/t)},uy=1.70158,Wg=uy*1.525,l3=uy+1,u3=2*Math.PI/3,c3=2*Math.PI/4.5,Xg=t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,uW={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>1-(1-t)*(1-t),easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInCubic:t=>t*t*t,easeOutCubic:t=>1-Math.pow(1-t,3),easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1-Math.pow(1-t,4),easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1-Math.pow(1-t,5),easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeOutSine:t=>Math.sin(t*Math.PI/2),easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInExpo:t=>t===0?0:Math.pow(2,10*t-10),easeOutExpo:t=>t===1?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>t===0?0:t===1?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInBack:t=>l3*t*t*t-uy*t*t,easeOutBack:t=>1+l3*Math.pow(t-1,3)+uy*Math.pow(t-1,2),easeInOutBack:t=>t<.5?Math.pow(2*t,2)*((Wg+1)*2*t-Wg)/2:(Math.pow(2*t-2,2)*((Wg+1)*(t*2-2)+Wg)+2)/2,easeInElastic:t=>t===0?0:t===1?1:-Math.pow(2,10*t-10)*Math.sin((t*10-10.75)*u3),easeOutElastic:t=>t===0?0:t===1?1:Math.pow(2,-10*t)*Math.sin((t*10-.75)*u3)+1,easeInOutElastic:t=>t===0?0:t===1?1:t<.5?-(Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*c3))/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*c3)/2+1,easeInBounce:t=>1-Xg(1-t),easeOutBounce:Xg,easeInOutBounce:t=>t<.5?(1-Xg(1-2*t))/2:(1+Xg(2*t-1))/2,steps:lW},Mp=Symbol.for("FluidValue.get"),Jd=Symbol.for("FluidValue.observers"),Fi=t=>!!(t&&t[Mp]),Un=t=>t&&t[Mp]?t[Mp]():t,d3=t=>t[Jd]||null;function cW(t,e){t.eventObserved?t.eventObserved(e):t(e)}function kp(t,e){const r=t[Jd];r&&r.forEach(n=>{cW(n,e)})}var HL=class{constructor(t){if(!t&&!(t=this.get))throw Error("Unknown getter");dW(this,t)}},dW=(t,e)=>VL(t,Mp,e);function ph(t,e){if(t[Mp]){let r=t[Jd];r||VL(t,Jd,r=new Set),r.has(e)||(r.add(e),t.observerAdded&&t.observerAdded(r.size,e))}return e}function Op(t,e){const r=t[Jd];if(r&&r.has(e)){const n=r.size-1;n?r.delete(e):t[Jd]=null,t.observerRemoved&&t.observerRemoved(n,e)}}var VL=(t,e,r)=>Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0}),rv=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,hW=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,h3=new RegExp(`(${rv.source})(%|[a-z]+)`,"i"),fW=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,b1=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,GL=t=>{const[e,r]=pW(t);if(!e||rC())return t;const n=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(n)return n.trim();if(r&&r.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(r);return i||t}else{if(r&&b1.test(r))return GL(r);if(r)return r}return t},pW=t=>{const e=b1.exec(t);if(!e)return[,];const[,r,n]=e;return[r,n]},uw,mW=(t,e,r,n,i)=>`rgba(${Math.round(e)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,WL=t=>{uw||(uw=El?new RegExp(`(${Object.keys(El).join("|")})(?!\\w)`,"g"):/^\b$/);const e=t.output.map(s=>Un(s).replace(b1,GL).replace(hW,a3).replace(uw,a3)),r=e.map(s=>s.match(rv).map(Number)),i=r[0].map((s,o)=>r.map(a=>{if(!(o in a))throw Error('The arity of each "output" value must be equal');return a[o]})).map(s=>Ip({...t,output:s}));return s=>{var l;const o=!h3.test(e[0])&&((l=e.find(u=>h3.test(u)))==null?void 0:l.replace(rv,""));let a=0;return e[0].replace(rv,()=>`${i[a++](s)}${o||""}`).replace(fW,mW)}},sC="react-spring: ",XL=t=>{const e=t;let r=!1;if(typeof e!="function")throw new TypeError(`${sC}once requires a function parameter`);return(...n)=>{r||(e(...n),r=!0)}},gW=XL(console.warn);function vW(){gW(`${sC}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var yW=XL(console.warn);function xW(){yW(`${sC}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function w1(t){return fe.str(t)&&(t[0]=="#"||/\d/.test(t)||!rC()&&b1.test(t)||t in(El||{}))}var Iu=rC()?T.useEffect:T.useLayoutEffect,bW=()=>{const t=T.useRef(!1);return Iu(()=>(t.current=!0,()=>{t.current=!1}),[]),t};function oC(){const t=T.useState()[1],e=bW();return()=>{e.current&&t(Math.random())}}function wW(t,e){const[r]=T.useState(()=>({inputs:e,result:t()})),n=T.useRef(),i=n.current;let s=i;return s?e&&s.inputs&&_W(e,s.inputs)||(s={inputs:e,result:t()}):s=r,T.useEffect(()=>{n.current=s,i==r&&(r.inputs=r.result=void 0)},[s]),s.result}function _W(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}var aC=t=>T.useEffect(t,SW),SW=[];function KS(t){const e=T.useRef();return T.useEffect(()=>{e.current=t}),e.current}var Dp=Symbol.for("Animated:node"),EW=t=>!!t&&t[Dp]===t,Ks=t=>t&&t[Dp],lC=(t,e)=>GG(t,Dp,e),_1=t=>t&&t[Dp]&&t[Dp].getPayload(),qL=class{constructor(){lC(this,this)}getPayload(){return this.payload||[]}},fm=class extends qL{constructor(t){super(),this._value=t,this.done=!0,this.durationProgress=0,fe.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new fm(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return fe.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,fe.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},Np=class extends fm{constructor(t){super(0),this._string=null,this._toString=Ip({output:[t,t]})}static create(t){return new Np(t)}getValue(){const t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(fe.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Ip({output:[this.getValue(),t]})),this._value=0,super.reset()}},cy={dependencies:null},S1=class extends qL{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const e={};return _o(this.source,(r,n)=>{EW(r)?e[n]=r.getValue(t):Fi(r)?e[n]=Un(r):t||(e[n]=r)}),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&rt(this.payload,t=>t.reset())}_makePayload(t){if(t){const e=new Set;return _o(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){cy.dependencies&&Fi(t)&&cy.dependencies.add(t);const e=_1(t);e&&rt(e,r=>this.add(r))}},YL=class extends S1{constructor(t){super(t)}static create(t){return new YL(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const e=this.getPayload();return t.length==e.length?e.map((r,n)=>r.setValue(t[n])).some(Boolean):(super.setValue(t.map(TW)),!0)}};function TW(t){return(w1(t)?Np:fm).create(t)}function ZS(t){const e=Ks(t);return e?e.constructor:fe.arr(t)?YL:w1(t)?Np:fm}var f3=(t,e)=>{const r=!fe.fun(t)||t.prototype&&t.prototype.isReactComponent;return T.forwardRef((n,i)=>{const s=T.useRef(null),o=r&&T.useCallback(y=>{s.current=RW(i,y)},[i]),[a,l]=AW(n,e),u=oC(),c=()=>{const y=s.current;if(r&&!y)return;(y?e.applyAnimatedValues(y,a.getValue(!0)):!1)===!1&&u()},h=new CW(c,l),f=T.useRef();Iu(()=>(f.current=h,rt(l,y=>ph(y,h)),()=>{f.current&&(rt(f.current.deps,y=>Op(y,f.current)),ot.cancel(f.current.update))})),T.useEffect(c,[]),aC(()=>()=>{const y=f.current;rt(y.deps,v=>Op(v,y))});const m=e.getComponentProps(a.getValue());return T.createElement(t,{...m,ref:o})})},CW=class{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){t.type=="change"&&ot.write(this.update)}};function AW(t,e){const r=new Set;return cy.dependencies=r,t.style&&(t={...t,style:e.createAnimatedStyle(t.style)}),t=new S1(t),cy.dependencies=null,[t,r]}function RW(t,e){return t&&(fe.fun(t)?t(e):t.current=e),e}var p3=Symbol.for("AnimatedComponent"),PW=(t,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:r=i=>new S1(i),getComponentProps:n=i=>i}={})=>{const i={applyAnimatedValues:e,createAnimatedStyle:r,getComponentProps:n},s=o=>{const a=m3(o)||"Anonymous";return fe.str(o)?o=s[o]||(s[o]=f3(o,i)):o=o[p3]||(o[p3]=f3(o,i)),o.displayName=`Animated(${a})`,o};return _o(t,(o,a)=>{fe.arr(t)&&(a=m3(o)),s[a]=s(o)}),{animated:s}},m3=t=>fe.str(t)?t:t&&fe.str(t.displayName)?t.displayName:fe.fun(t)&&t.name||null;function $n(t,...e){return fe.fun(t)?t(...e):t}var Wf=(t,e)=>t===!0||!!(e&&t&&(fe.fun(t)?t(e):Sn(t).includes(e))),QL=(t,e)=>fe.obj(t)?e&&t[e]:t,KL=(t,e)=>t.default===!0?t[e]:t.default?t.default[e]:void 0,IW=t=>t,E1=(t,e=IW)=>{let r=MW;t.default&&t.default!==!0&&(t=t.default,r=Object.keys(t));const n={};for(const i of r){const s=e(t[i],i);fe.und(s)||(n[i]=s)}return n},MW=["config","onProps","onStart","onChange","onPause","onResume","onRest"],kW={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function OW(t){const e={};let r=0;if(_o(t,(n,i)=>{kW[i]||(e[i]=n,r++)}),r)return e}function uC(t){const e=OW(t);if(e){const r={to:e};return _o(t,(n,i)=>i in e||(r[i]=n)),r}return{...t}}function Lp(t){return t=Un(t),fe.arr(t)?t.map(Lp):w1(t)?Ps.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function ZL(t){for(const e in t)return!0;return!1}function JS(t){return fe.fun(t)||fe.arr(t)&&fe.obj(t[0])}function eE(t,e){var r;(r=t.ref)==null||r.delete(t),e==null||e.delete(t)}function JL(t,e){var r;e&&t.ref!==e&&((r=t.ref)==null||r.delete(t),e.add(t),t.ref=e)}var DW={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},tE={...DW.default,mass:1,damping:1,easing:uW.linear,clamp:!1},NW=class{constructor(){this.velocity=0,Object.assign(this,tE)}};function LW(t,e,r){r&&(r={...r},g3(r,e),e={...r,...e}),g3(t,e),Object.assign(t,e);for(const o in tE)t[o]==null&&(t[o]=tE[o]);let{frequency:n,damping:i}=t;const{mass:s}=t;return fe.und(n)||(n<.01&&(n=.01),i<0&&(i=0),t.tension=Math.pow(2*Math.PI/n,2)*s,t.friction=4*Math.PI*i*s/n),t}function g3(t,e){if(!fe.und(e.decay))t.duration=void 0;else{const r=!fe.und(e.tension)||!fe.und(e.friction);(r||!fe.und(e.frequency)||!fe.und(e.damping)||!fe.und(e.mass))&&(t.duration=void 0,t.decay=void 0),r&&(t.frequency=void 0)}}var v3=[],FW=class{constructor(){this.changed=!1,this.values=v3,this.toValues=null,this.fromValues=v3,this.config=new NW,this.immediate=!1}};function e5(t,{key:e,props:r,defaultProps:n,state:i,actions:s}){return new Promise((o,a)=>{let l,u,c=Wf(r.cancel??(n==null?void 0:n.cancel),e);if(c)m();else{fe.und(r.pause)||(i.paused=Wf(r.pause,e));let y=n==null?void 0:n.pause;y!==!0&&(y=i.paused||Wf(y,e)),l=$n(r.delay||0,e),y?(i.resumeQueue.add(f),s.pause()):(s.resume(),f())}function h(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-ot.now()}function f(){l>0&&!Ps.skipAnimation?(i.delayed=!0,u=ot.setTimeout(m,l),i.pauseQueue.add(h),i.timeouts.add(u)):m()}function m(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),t<=(i.cancelId||0)&&(c=!0);try{s.start({...r,callId:t,cancel:c},o)}catch(y){a(y)}}})}var cC=(t,e)=>e.length==1?e[0]:e.some(r=>r.cancelled)?wd(t.get()):e.every(r=>r.noop)?t5(t.get()):ms(t.get(),e.every(r=>r.finished)),t5=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),ms=(t,e,r=!1)=>({value:t,finished:e,cancelled:r}),wd=t=>({value:t,cancelled:!0,finished:!1});function r5(t,e,r,n){const{callId:i,parentId:s,onRest:o}=e,{asyncTo:a,promise:l}=r;return!s&&t===a&&!e.reset?l:r.promise=(async()=>{r.asyncId=i,r.asyncTo=t;const u=E1(e,(x,b)=>b==="onRest"?void 0:x);let c,h;const f=new Promise((x,b)=>(c=x,h=b)),m=x=>{const b=i<=(r.cancelId||0)&&wd(n)||i!==r.asyncId&&ms(n,!1);if(b)throw x.result=b,h(x),x},y=(x,b)=>{const _=new y3,w=new x3;return(async()=>{if(Ps.skipAnimation)throw Fp(r),w.result=ms(n,!1),h(w),w;m(_);const E=fe.obj(x)?{...x}:{...b,to:x};E.parentId=i,_o(u,(P,I)=>{fe.und(E[I])&&(E[I]=P)});const A=await n.start(E);return m(_),r.paused&&await new Promise(P=>{r.resumeQueue.add(P)}),A})()};let v;if(Ps.skipAnimation)return Fp(r),ms(n,!1);try{let x;fe.arr(t)?x=(async b=>{for(const _ of b)await y(_)})(t):x=Promise.resolve(t(y,n.stop.bind(n))),await Promise.all([x.then(c),f]),v=ms(n.get(),!0,!1)}catch(x){if(x instanceof y3)v=x.result;else if(x instanceof x3)v=x.result;else throw x}finally{i==r.asyncId&&(r.asyncId=s,r.asyncTo=s?a:void 0,r.promise=s?l:void 0)}return fe.fun(o)&&ot.batchedUpdates(()=>{o(v,n,n.item)}),v})()}function Fp(t,e){Vf(t.timeouts,r=>r.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}var y3=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},x3=class extends Error{constructor(){super("SkipAnimationSignal")}},rE=t=>t instanceof dC,jW=1,dC=class extends HL{constructor(){super(...arguments),this.id=jW++,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=Ks(this);return t&&t.getValue()}to(...t){return Ps.to(this,t)}interpolate(...t){return vW(),Ps.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){kp(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||y1.sort(this),kp(this,{type:"priority",parent:this,priority:t})}},nc=Symbol.for("SpringPhase"),n5=1,nE=2,iE=4,cw=t=>(t[nc]&n5)>0,La=t=>(t[nc]&nE)>0,tf=t=>(t[nc]&iE)>0,b3=(t,e)=>e?t[nc]|=nE|n5:t[nc]&=~nE,w3=(t,e)=>e?t[nc]|=iE:t[nc]&=~iE,BW=class extends dC{constructor(t,e){if(super(),this.animation=new FW,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!fe.und(t)||!fe.und(e)){const r=fe.obj(t)?{...t}:{...e,from:t};fe.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(La(this)||this._state.asyncTo)||tf(this)}get goal(){return Un(this.animation.to)}get velocity(){const t=Ks(this);return t instanceof fm?t.lastVelocity||0:t.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return cw(this)}get isAnimating(){return La(this)}get isPaused(){return tf(this)}get isDelayed(){return this._state.delayed}advance(t){let e=!0,r=!1;const n=this.animation;let{toValues:i}=n;const{config:s}=n,o=_1(n.to);!o&&Fi(n.to)&&(i=Sn(Un(n.to))),n.values.forEach((u,c)=>{if(u.done)return;const h=u.constructor==Np?1:o?o[c].lastPosition:i[c];let f=n.immediate,m=h;if(!f){if(m=u.lastPosition,s.tension<=0){u.done=!0;return}let y=u.elapsedTime+=t;const v=n.fromValues[c],x=u.v0!=null?u.v0:u.v0=fe.arr(s.velocity)?s.velocity[c]:s.velocity;let b;const _=s.precision||(v==h?.005:Math.min(1,Math.abs(h-v)*.001));if(fe.und(s.duration))if(s.decay){const w=s.decay===!0?.998:s.decay,E=Math.exp(-(1-w)*y);m=v+x/(1-w)*(1-E),f=Math.abs(u.lastPosition-m)<=_,b=x*E}else{b=u.lastVelocity==null?x:u.lastVelocity;const w=s.restVelocity||_/10,E=s.clamp?0:s.bounce,A=!fe.und(E),P=v==h?u.v0>0:v<h;let I,M=!1;const N=1,z=Math.ceil(t/N);for(let j=0;j<z&&(I=Math.abs(b)>w,!(!I&&(f=Math.abs(h-m)<=_,f)));++j){A&&(M=m==h||m>h==P,M&&(b=-b*E,m=h));const H=-s.tension*1e-6*(m-h),F=-s.friction*.001*b,L=(H+F)/s.mass;b=b+L*N,m=m+b*N}}else{let w=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,u.durationProgress>0&&(u.elapsedTime=s.duration*u.durationProgress,y=u.elapsedTime+=t)),w=(s.progress||0)+y/this._memoizedDuration,w=w>1?1:w<0?0:w,u.durationProgress=w),m=v+s.easing(w)*(h-v),b=(m-u.lastPosition)/t,f=w==1}u.lastVelocity=b,Number.isNaN(m)&&(console.warn("Got NaN while animating:",this),f=!0)}o&&!o[c].done&&(f=!1),f?u.done=!0:e=!1,u.setValue(m,s.round)&&(r=!0)});const a=Ks(this),l=a.getValue();if(e){const u=Un(n.to);(l!==u||r)&&!s.decay?(a.setValue(u),this._onChange(u)):r&&s.decay&&this._onChange(l),this._stop()}else r&&this._onChange(l)}set(t){return ot.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(La(this)){const{to:t,config:e}=this.animation;ot.batchedUpdates(()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,e){let r;return fe.und(t)?(r=this.queue||[],this.queue=[]):r=[fe.obj(t)?t:{...e,to:t}],Promise.all(r.map(n=>this._update(n))).then(n=>cC(this,n))}stop(t){const{to:e}=this.animation;return this._focus(this.get()),Fp(this._state,t&&this._lastCallId),ot.batchedUpdates(()=>this._stop(e,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const e=this.key||"";let{to:r,from:n}=t;r=fe.obj(r)?r[e]:r,(r==null||JS(r))&&(r=void 0),n=fe.obj(n)?n[e]:n,n==null&&(n=void 0);const i={to:r,from:n};return cw(this)||(t.reverse&&([r,n]=[n,r]),n=Un(n),fe.und(n)?Ks(this)||this._set(r):this._set(n)),i}_update({...t},e){const{key:r,defaultProps:n}=this;t.default&&Object.assign(n,E1(t,(o,a)=>/^on/.test(a)?QL(o,r):o)),S3(this,t,"onProps"),nf(this,"onProps",t,this);const i=this._prepareNode(t);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return e5(++this._lastCallId,{key:r,props:t,defaultProps:n,state:s,actions:{pause:()=>{tf(this)||(w3(this,!0),wf(s.pauseQueue),nf(this,"onPause",ms(this,rf(this,this.animation.to)),this))},resume:()=>{tf(this)&&(w3(this,!1),La(this)&&this._resume(),wf(s.resumeQueue),nf(this,"onResume",ms(this,rf(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(t.loop&&o.finished&&!(e&&o.noop)){const a=i5(t);if(a)return this._update(a,!0)}return o})}_merge(t,e,r){if(e.cancel)return this.stop(!0),r(wd(this));const n=!fe.und(t.to),i=!fe.und(t.from);if(n||i)if(e.callId>this._lastToId)this._lastToId=e.callId;else return r(wd(this));const{key:s,defaultProps:o,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:h=u}=t;i&&!n&&(!e.default||fe.und(c))&&(c=h),e.reverse&&([c,h]=[h,c]);const f=!Wo(h,u);f&&(a.from=h),h=Un(h);const m=!Wo(c,l);m&&this._focus(c);const y=JS(e.to),{config:v}=a,{decay:x,velocity:b}=v;(n||i)&&(v.velocity=0),e.config&&!y&&LW(v,$n(e.config,s),e.config!==o.config?$n(o.config,s):void 0);let _=Ks(this);if(!_||fe.und(c))return r(ms(this,!0));const w=fe.und(e.reset)?i&&!e.default:!fe.und(h)&&Wf(e.reset,s),E=w?h:this.get(),A=Lp(c),P=fe.num(A)||fe.arr(A)||w1(A),I=!y&&(!P||Wf(o.immediate||e.immediate,s));if(m){const j=ZS(c);if(j!==_.constructor)if(I)_=this._set(A);else throw Error(`Cannot animate between ${_.constructor.name} and ${j.name}, as the "to" prop suggests`)}const M=_.constructor;let N=Fi(c),z=!1;if(!N){const j=w||!cw(this)&&f;(m||j)&&(z=Wo(Lp(E),A),N=!z),(!Wo(a.immediate,I)&&!I||!Wo(v.decay,x)||!Wo(v.velocity,b))&&(N=!0)}if(z&&La(this)&&(a.changed&&!w?N=!0:N||this._stop(l)),!y&&((N||Fi(l))&&(a.values=_.getPayload(),a.toValues=Fi(c)?null:M==Np?[1]:Sn(A)),a.immediate!=I&&(a.immediate=I,!I&&!w&&this._set(l)),N)){const{onRest:j}=a;rt($W,F=>S3(this,e,F));const H=ms(this,rf(this,l));wf(this._pendingCalls,H),this._pendingCalls.add(r),a.changed&&ot.batchedUpdates(()=>{var F;a.changed=!w,j==null||j(H,this),w?$n(o.onRest,H):(F=a.onStart)==null||F.call(a,H,this)})}w&&this._set(E),y?r(r5(e.to,e,this._state,this)):N?this._start():La(this)&&!m?this._pendingCalls.add(r):r(t5(E))}_focus(t){const e=this.animation;t!==e.to&&(d3(this)&&this._detach(),e.to=t,d3(this)&&this._attach())}_attach(){let t=0;const{to:e}=this.animation;Fi(e)&&(ph(e,this),rE(e)&&(t=e.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;Fi(t)&&Op(t,this)}_set(t,e=!0){const r=Un(t);if(!fe.und(r)){const n=Ks(this);if(!n||!Wo(r,n.getValue())){const i=ZS(r);!n||n.constructor!=i?lC(this,i.create(r)):n.setValue(r),n&&ot.batchedUpdates(()=>{this._onChange(r,e)})}}return Ks(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,nf(this,"onStart",ms(this,rf(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),$n(this.animation.onChange,t,this)),$n(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){const t=this.animation;Ks(this).reset(Un(t.to)),t.immediate||(t.fromValues=t.values.map(e=>e.lastPosition)),La(this)||(b3(this,!0),tf(this)||this._resume())}_resume(){Ps.skipAnimation?this.finish():y1.start(this)}_stop(t,e){if(La(this)){b3(this,!1);const r=this.animation;rt(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),kp(this,{type:"idle",parent:this});const n=e?wd(this.get()):ms(this.get(),rf(this,t??r.to));wf(this._pendingCalls,n),r.changed&&(r.changed=!1,nf(this,"onRest",n,this))}}};function rf(t,e){const r=Lp(e),n=Lp(t.get());return Wo(n,r)}function i5(t,e=t.loop,r=t.to){const n=$n(e);if(n){const i=n!==!0&&uC(n),s=(i||t).reverse,o=!i||i.reset;return jp({...t,loop:e,default:!1,pause:void 0,to:!s||JS(r)?r:void 0,from:o?t.from:void 0,reset:o,...i})}}function jp(t){const{to:e,from:r}=t=uC(t),n=new Set;return fe.obj(e)&&_3(e,n),fe.obj(r)&&_3(r,n),t.keys=n.size?Array.from(n):null,t}function UW(t){const e=jp(t);return fe.und(e.default)&&(e.default=E1(e)),e}function _3(t,e){_o(t,(r,n)=>r!=null&&e.add(n))}var $W=["onStart","onRest","onChange","onPause","onResume"];function S3(t,e,r){t.animation[r]=e[r]!==KL(e,r)?QL(e[r],t.key):void 0}function nf(t,e,...r){var n,i,s,o;(i=(n=t.animation)[e])==null||i.call(n,...r),(o=(s=t.defaultProps)[e])==null||o.call(s,...r)}var zW=["onStart","onChange","onRest"],HW=1,s5=class{constructor(t,e){this.id=HW++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((e,r)=>t[r]=e.get()),t}set(t){for(const e in t){const r=t[e];fe.und(r)||this.springs[e].set(r)}}update(t){return t&&this.queue.push(jp(t)),this}start(t){let{queue:e}=this;return t?e=Sn(t).map(jp):this.queue=[],this._flush?this._flush(this,e):(c5(this,e),sE(this,e))}stop(t,e){if(t!==!!t&&(e=t),e){const r=this.springs;rt(Sn(e),n=>r[n].stop(!!t))}else Fp(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(fe.und(t))this.start({pause:!0});else{const e=this.springs;rt(Sn(t),r=>e[r].pause())}return this}resume(t){if(fe.und(t))this.start({pause:!1});else{const e=this.springs;rt(Sn(t),r=>e[r].resume())}return this}each(t){_o(this.springs,t)}_onFrame(){const{onStart:t,onChange:e,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,Vf(t,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const s=!n&&this._started,o=i||s&&r.size?this.get():null;i&&e.size&&Vf(e,([a,l])=>{l.value=o,a(l,this,this._item)}),s&&(this._started=!1,Vf(r,([a,l])=>{l.value=o,a(l,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;ot.onFrame(this._onFrame)}};function sE(t,e){return Promise.all(e.map(r=>o5(t,r))).then(r=>cC(t,r))}async function o5(t,e,r){const{keys:n,to:i,from:s,loop:o,onRest:a,onResolve:l}=e,u=fe.obj(e.default)&&e.default;o&&(e.loop=!1),i===!1&&(e.to=null),s===!1&&(e.from=null);const c=fe.arr(i)||fe.fun(i)?i:void 0;c?(e.to=void 0,e.onRest=void 0,u&&(u.onRest=void 0)):rt(zW,v=>{const x=e[v];if(fe.fun(x)){const b=t._events[v];e[v]=({finished:_,cancelled:w})=>{const E=b.get(x);E?(_||(E.finished=!1),w&&(E.cancelled=!0)):b.set(x,{value:null,finished:_||!1,cancelled:w||!1})},u&&(u[v]=e[v])}});const h=t._state;e.pause===!h.paused?(h.paused=e.pause,wf(e.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(e.pause=!0);const f=(n||Object.keys(t.springs)).map(v=>t.springs[v].start(e)),m=e.cancel===!0||KL(e,"cancel")===!0;(c||m&&h.asyncId)&&f.push(e5(++t._lastAsyncId,{props:e,state:h,actions:{pause:YS,resume:YS,start(v,x){m?(Fp(h,t._lastAsyncId),x(wd(t))):(v.onRest=a,x(r5(c,v,h,t)))}}})),h.paused&&await new Promise(v=>{h.resumeQueue.add(v)});const y=cC(t,await Promise.all(f));if(o&&y.finished&&!(r&&y.noop)){const v=i5(e,o,i);if(v)return c5(t,[v]),o5(t,v,!0)}return l&&ot.batchedUpdates(()=>l(y,t,t.item)),y}function oE(t,e){const r={...t.springs};return e&&rt(Sn(e),n=>{fe.und(n.keys)&&(n=jp(n)),fe.obj(n.to)||(n={...n,to:void 0}),u5(r,n,i=>l5(i))}),a5(t,r),r}function a5(t,e){_o(e,(r,n)=>{t.springs[n]||(t.springs[n]=r,ph(r,t))})}function l5(t,e){const r=new BW;return r.key=t,e&&ph(r,e),r}function u5(t,e,r){e.keys&&rt(e.keys,n=>{(t[n]||(t[n]=r(n)))._prepareNode(e)})}function c5(t,e){rt(e,r=>{u5(t.springs,r,n=>l5(n,t))})}var pm=({children:t,...e})=>{const r=T.useContext(dy),n=e.pause||!!r.pause,i=e.immediate||!!r.immediate;e=wW(()=>({pause:n,immediate:i}),[n,i]);const{Provider:s}=dy;return T.createElement(s,{value:e},t)},dy=VW(pm,{});pm.Provider=dy.Provider;pm.Consumer=dy.Consumer;function VW(t,e){return Object.assign(t,T.createContext(e)),t.Provider._context=t,t.Consumer._context=t,t}var d5=()=>{const t=[],e=function(n){xW();const i=[];return rt(t,(s,o)=>{if(fe.und(n))i.push(s.start());else{const a=r(n,s,o);a&&i.push(s.start(a))}}),i};e.current=t,e.add=function(n){t.includes(n)||t.push(n)},e.delete=function(n){const i=t.indexOf(n);~i&&t.splice(i,1)},e.pause=function(){return rt(t,n=>n.pause(...arguments)),this},e.resume=function(){return rt(t,n=>n.resume(...arguments)),this},e.set=function(n){rt(t,(i,s)=>{const o=fe.fun(n)?n(s,i):n;o&&i.set(o)})},e.start=function(n){const i=[];return rt(t,(s,o)=>{if(fe.und(n))i.push(s.start());else{const a=this._getProps(n,s,o);a&&i.push(s.start(a))}}),i},e.stop=function(){return rt(t,n=>n.stop(...arguments)),this},e.update=function(n){return rt(t,(i,s)=>i.update(this._getProps(n,i,s))),this};const r=function(n,i,s){return fe.fun(n)?n(s,i):n};return e._getProps=r,e};function GW(t,e,r){const n=fe.fun(e)&&e;n&&!r&&(r=[]);const i=T.useMemo(()=>n||arguments.length==3?d5():void 0,[]),s=T.useRef(0),o=oC(),a=T.useMemo(()=>({ctrls:[],queue:[],flush(b,_){const w=oE(b,_);return s.current>0&&!a.queue.length&&!Object.keys(w).some(A=>!b.springs[A])?sE(b,_):new Promise(A=>{a5(b,w),a.queue.push(()=>{A(sE(b,_))}),o()})}}),[]),l=T.useRef([...a.ctrls]),u=[],c=KS(t)||0;T.useMemo(()=>{rt(l.current.slice(t,c),b=>{eE(b,i),b.stop(!0)}),l.current.length=t,h(c,t)},[t]),T.useMemo(()=>{h(0,Math.min(c,t))},r);function h(b,_){for(let w=b;w<_;w++){const E=l.current[w]||(l.current[w]=new s5(null,a.flush)),A=n?n(w,E):e[w];A&&(u[w]=UW(A))}}const f=l.current.map((b,_)=>oE(b,u[_])),m=T.useContext(pm),y=KS(m),v=m!==y&&ZL(m);Iu(()=>{s.current++,a.ctrls=l.current;const{queue:b}=a;b.length&&(a.queue=[],rt(b,_=>_())),rt(l.current,(_,w)=>{i==null||i.add(_),v&&_.start({default:m});const E=u[w];E&&(JL(_,E.ref),_.ref?_.queue.push(E):_.start(E))})}),aC(()=>()=>{rt(a.ctrls,b=>b.stop(!0))});const x=f.map(b=>({...b}));return i?[x,i]:x}function h5(t,e){const r=fe.fun(t),[[n],i]=GW(1,r?t:[t],r?[]:e);return r||arguments.length==2?[n,i]:n}function hC(t,e,r){const n=fe.fun(e)&&e,{reset:i,sort:s,trail:o=0,expires:a=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:c,config:h}=n?n():e,f=T.useMemo(()=>n||arguments.length==3?d5():void 0,[]),m=Sn(t),y=[],v=T.useRef(null),x=i?null:v.current;Iu(()=>{v.current=y}),aC(()=>(rt(y,L=>{f==null||f.add(L.ctrl),L.ctrl.ref=f}),()=>{rt(v.current,L=>{L.expired&&clearTimeout(L.expirationId),eE(L.ctrl,f),L.ctrl.stop(!0)})}));const b=XW(m,n?n():e,x),_=i&&v.current||[];Iu(()=>rt(_,({ctrl:L,item:O,key:$})=>{eE(L,f),$n(u,O,$)}));const w=[];if(x&&rt(x,(L,O)=>{L.expired?(clearTimeout(L.expirationId),_.push(L)):(O=w[O]=b.indexOf(L.key),~O&&(y[O]=L))}),rt(m,(L,O)=>{y[O]||(y[O]={key:b[O],item:L,phase:"mount",ctrl:new s5},y[O].ctrl.item=L)}),w.length){let L=-1;const{leave:O}=n?n():e;rt(w,($,V)=>{const k=x[V];~$?(L=y.indexOf(k),y[L]={...k,item:m[$]}):O&&y.splice(++L,0,k)})}fe.fun(s)&&y.sort((L,O)=>s(L.item,O.item));let E=-o;const A=oC(),P=E1(e),I=new Map,M=T.useRef(new Map),N=T.useRef(!1);rt(y,(L,O)=>{const $=L.key,V=L.phase,k=n?n():e;let U,B;const X=$n(k.delay||0,$);if(V=="mount")U=k.enter,B="enter";else{const ue=b.indexOf($)<0;if(V!="leave")if(ue)U=k.leave,B="leave";else if(U=k.update)B="update";else return;else if(!ue)U=k.enter,B="enter";else return}if(U=$n(U,L.item,O),U=fe.obj(U)?uC(U):{to:U},!U.config){const ue=h||P.config;U.config=$n(ue,L.item,O,B)}E+=o;const K={...P,delay:X+E,ref:c,immediate:k.immediate,reset:!1,...U};if(B=="enter"&&fe.und(K.from)){const ue=n?n():e,le=fe.und(ue.initial)||x?ue.from:ue.initial;K.from=$n(le,L.item,O)}const{onResolve:q}=K;K.onResolve=ue=>{$n(q,ue);const le=v.current,me=le.find(xe=>xe.key===$);if(me&&!(ue.cancelled&&me.phase!="update")&&me.ctrl.idle){const xe=le.every(_e=>_e.ctrl.idle);if(me.phase=="leave"){const _e=$n(a,me.item);if(_e!==!1){const Te=_e===!0?0:_e;if(me.expired=!0,!xe&&Te>0){Te<=2147483647&&(me.expirationId=setTimeout(A,Te));return}}}xe&&le.some(_e=>_e.expired)&&(M.current.delete(me),l&&(N.current=!0),A())}};const re=oE(L.ctrl,K);B==="leave"&&l?M.current.set(L,{phase:B,springs:re,payload:K}):I.set(L,{phase:B,springs:re,payload:K})});const z=T.useContext(pm),j=KS(z),H=z!==j&&ZL(z);Iu(()=>{H&&rt(y,L=>{L.ctrl.start({default:z})})},[z]),rt(I,(L,O)=>{if(M.current.size){const $=y.findIndex(V=>V.key===O.key);y.splice($,1)}}),Iu(()=>{rt(M.current.size?M.current:I,({phase:L,payload:O},$)=>{const{ctrl:V}=$;$.phase=L,f==null||f.add(V),H&&L=="enter"&&V.start({default:z}),O&&(JL(V,O.ref),(V.ref||f)&&!N.current?V.update(O):(V.start(O),N.current&&(N.current=!1)))})},i?void 0:r);const F=L=>T.createElement(T.Fragment,null,y.map((O,$)=>{const{springs:V}=I.get(O)||O.ctrl,k=L({...V},O.item,O,$);return k&&k.type?T.createElement(k.type,{...k.props,key:fe.str(O.key)||fe.num(O.key)?O.key:O.ctrl.id,ref:k.ref}):k}));return f?[F,f]:F}var WW=1;function XW(t,{key:e,keys:r=e},n){if(r===null){const i=new Set;return t.map(s=>{const o=n&&n.find(a=>a.item===s&&a.phase!=="leave"&&!i.has(a));return o?(i.add(o),o.key):WW++})}return fe.und(r)?t:fe.fun(r)?t.map(r):Sn(r)}var qW=class extends dC{constructor(t,e){super(),this.source=t,this.idle=!0,this._active=new Set,this.calc=Ip(...e);const r=this._get(),n=ZS(r);lC(this,n.create(r))}advance(t){const e=this._get(),r=this.get();Wo(e,r)||(Ks(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&E3(this._active)&&dw(this)}_get(){const t=fe.arr(this.source)?this.source.map(Un):Sn(Un(this.source));return this.calc(...t)}_start(){this.idle&&!E3(this._active)&&(this.idle=!1,rt(_1(this),t=>{t.done=!1}),Ps.skipAnimation?(ot.batchedUpdates(()=>this.advance()),dw(this)):y1.start(this))}_attach(){let t=1;rt(Sn(this.source),e=>{Fi(e)&&ph(e,this),rE(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))}),this.priority=t,this._start()}_detach(){rt(Sn(this.source),t=>{Fi(t)&&Op(t,this)}),this._active.clear(),dw(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=Sn(this.source).reduce((e,r)=>Math.max(e,(rE(r)?r.priority:0)+1),0))}};function YW(t){return t.idle!==!1}function E3(t){return!t.size||Array.from(t).every(YW)}function dw(t){t.idle||(t.idle=!0,rt(_1(t),e=>{e.done=!0}),kp(t,{type:"idle",parent:t}))}Ps.assign({createStringInterpolator:WL,to:(t,e)=>new qW(t,e)});var f5=/^--/;function QW(t,e){return e==null||typeof e=="boolean"||e===""?"":typeof e=="number"&&e!==0&&!f5.test(t)&&!(Xf.hasOwnProperty(t)&&Xf[t])?e+"px":(""+e).trim()}var T3={};function KW(t,e){if(!t.nodeType||!t.setAttribute)return!1;const r=t.nodeName==="filter"||t.parentNode&&t.parentNode.nodeName==="filter",{className:n,style:i,children:s,scrollTop:o,scrollLeft:a,viewBox:l,...u}=e,c=Object.values(u),h=Object.keys(u).map(f=>r||t.hasAttribute(f)?f:T3[f]||(T3[f]=f.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));s!==void 0&&(t.textContent=s);for(const f in i)if(i.hasOwnProperty(f)){const m=QW(f,i[f]);f5.test(f)?t.style.setProperty(f,m):t.style[f]=m}h.forEach((f,m)=>{t.setAttribute(f,c[m])}),n!==void 0&&(t.className=n),o!==void 0&&(t.scrollTop=o),a!==void 0&&(t.scrollLeft=a),l!==void 0&&t.setAttribute("viewBox",l)}var Xf={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ZW=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),JW=["Webkit","Ms","Moz","O"];Xf=Object.keys(Xf).reduce((t,e)=>(JW.forEach(r=>t[ZW(r,e)]=t[e]),t),Xf);var eX=/^(matrix|translate|scale|rotate|skew)/,tX=/^(translate)/,rX=/^(rotate|skew)/,hw=(t,e)=>fe.num(t)&&t!==0?t+e:t,nv=(t,e)=>fe.arr(t)?t.every(r=>nv(r,e)):fe.num(t)?t===e:parseFloat(t)===e,nX=class extends S1{constructor({x:t,y:e,z:r,...n}){const i=[],s=[];(t||e||r)&&(i.push([t||0,e||0,r||0]),s.push(o=>[`translate3d(${o.map(a=>hw(a,"px")).join(",")})`,nv(o,0)])),_o(n,(o,a)=>{if(a==="transform")i.push([o||""]),s.push(l=>[l,l===""]);else if(eX.test(a)){if(delete n[a],fe.und(o))return;const l=tX.test(a)?"px":rX.test(a)?"deg":"";i.push(Sn(o)),s.push(a==="rotate3d"?([u,c,h,f])=>[`rotate3d(${u},${c},${h},${hw(f,l)})`,nv(f,0)]:u=>[`${a}(${u.map(c=>hw(c,l)).join(",")})`,nv(u,a.startsWith("scale")?1:0)])}}),i.length&&(n.transform=new iX(i,s)),super(n)}},iX=class extends HL{constructor(t,e){super(),this.inputs=t,this.transforms=e,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return rt(this.inputs,(r,n)=>{const i=Un(r[0]),[s,o]=this.transforms[n](fe.arr(i)?i:r.map(Un));t+=" "+s,e=e&&o}),e?"none":t}observerAdded(t){t==1&&rt(this.inputs,e=>rt(e,r=>Fi(r)&&ph(r,this)))}observerRemoved(t){t==0&&rt(this.inputs,e=>rt(e,r=>Fi(r)&&Op(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),kp(this,t)}},sX=["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","head","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];Ps.assign({batchedUpdates:mr.unstable_batchedUpdates,createStringInterpolator:WL,colors:QG});var oX=PW(sX,{applyAnimatedValues:KW,createAnimatedStyle:t=>new nX(t),getComponentProps:({scrollTop:t,scrollLeft:e,...r})=>r}),Il=oX.animated,C3=function(e){return e.reduce(function(r,n){var i=n[0],s=n[1];return r[i]=s,r},{})},A3=typeof window<"u"&&window.document&&window.document.createElement?T.useLayoutEffect:T.useEffect,qn="top",Yi="bottom",Qi="right",Yn="left",fC="auto",mm=[qn,Yi,Qi,Yn],eh="start",Bp="end",aX="clippingParents",p5="viewport",sf="popper",lX="reference",R3=mm.reduce(function(t,e){return t.concat([e+"-"+eh,e+"-"+Bp])},[]),m5=[].concat(mm,[fC]).reduce(function(t,e){return t.concat([e,e+"-"+eh,e+"-"+Bp])},[]),uX="beforeRead",cX="read",dX="afterRead",hX="beforeMain",fX="main",pX="afterMain",mX="beforeWrite",gX="write",vX="afterWrite",yX=[uX,cX,dX,hX,fX,pX,mX,gX,vX];function So(t){return t?(t.nodeName||"").toLowerCase():null}function gi(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ic(t){var e=gi(t).Element;return t instanceof e||t instanceof Element}function Hi(t){var e=gi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function pC(t){if(typeof ShadowRoot>"u")return!1;var e=gi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function xX(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},i=e.attributes[r]||{},s=e.elements[r];!Hi(s)||!So(s)||(Object.assign(s.style,n),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function bX(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],s=e.attributes[n]||{},o=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),a=o.reduce(function(l,u){return l[u]="",l},{});!Hi(i)||!So(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const wX={name:"applyStyles",enabled:!0,phase:"write",fn:xX,effect:bX,requires:["computeStyles"]};function vo(t){return t.split("-")[0]}var Uu=Math.max,hy=Math.min,th=Math.round;function aE(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function g5(){return!/^((?!chrome|android).)*safari/i.test(aE())}function rh(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),i=1,s=1;e&&Hi(t)&&(i=t.offsetWidth>0&&th(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&th(n.height)/t.offsetHeight||1);var o=ic(t)?gi(t):window,a=o.visualViewport,l=!g5()&&r,u=(n.left+(l&&a?a.offsetLeft:0))/i,c=(n.top+(l&&a?a.offsetTop:0))/s,h=n.width/i,f=n.height/s;return{width:h,height:f,top:c,right:u+h,bottom:c+f,left:u,x:u,y:c}}function mC(t){var e=rh(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function v5(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&pC(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pa(t){return gi(t).getComputedStyle(t)}function _X(t){return["table","td","th"].indexOf(So(t))>=0}function Ul(t){return((ic(t)?t.ownerDocument:t.document)||window.document).documentElement}function T1(t){return So(t)==="html"?t:t.assignedSlot||t.parentNode||(pC(t)?t.host:null)||Ul(t)}function P3(t){return!Hi(t)||pa(t).position==="fixed"?null:t.offsetParent}function SX(t){var e=/firefox/i.test(aE()),r=/Trident/i.test(aE());if(r&&Hi(t)){var n=pa(t);if(n.position==="fixed")return null}var i=T1(t);for(pC(i)&&(i=i.host);Hi(i)&&["html","body"].indexOf(So(i))<0;){var s=pa(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function gm(t){for(var e=gi(t),r=P3(t);r&&_X(r)&&pa(r).position==="static";)r=P3(r);return r&&(So(r)==="html"||So(r)==="body"&&pa(r).position==="static")?e:r||SX(t)||e}function gC(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function qf(t,e,r){return Uu(t,hy(e,r))}function EX(t,e,r){var n=qf(t,e,r);return n>r?r:n}function y5(){return{top:0,right:0,bottom:0,left:0}}function x5(t){return Object.assign({},y5(),t)}function b5(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var TX=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,x5(typeof e!="number"?e:b5(e,mm))};function CX(t){var e,r=t.state,n=t.name,i=t.options,s=r.elements.arrow,o=r.modifiersData.popperOffsets,a=vo(r.placement),l=gC(a),u=[Yn,Qi].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!o)){var h=TX(i.padding,r),f=mC(s),m=l==="y"?qn:Yn,y=l==="y"?Yi:Qi,v=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],x=o[l]-r.rects.reference[l],b=gm(s),_=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,w=v/2-x/2,E=h[m],A=_-f[c]-h[y],P=_/2-f[c]/2+w,I=qf(E,P,A),M=l;r.modifiersData[n]=(e={},e[M]=I,e.centerOffset=I-P,e)}}function AX(t){var e=t.state,r=t.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||v5(e.elements.popper,i)&&(e.elements.arrow=i))}const RX={name:"arrow",enabled:!0,phase:"main",fn:CX,effect:AX,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function nh(t){return t.split("-")[1]}var PX={top:"auto",right:"auto",bottom:"auto",left:"auto"};function IX(t,e){var r=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:th(r*i)/i||0,y:th(n*i)/i||0}}function I3(t){var e,r=t.popper,n=t.popperRect,i=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,h=t.isFixed,f=o.x,m=f===void 0?0:f,y=o.y,v=y===void 0?0:y,x=typeof c=="function"?c({x:m,y:v}):{x:m,y:v};m=x.x,v=x.y;var b=o.hasOwnProperty("x"),_=o.hasOwnProperty("y"),w=Yn,E=qn,A=window;if(u){var P=gm(r),I="clientHeight",M="clientWidth";if(P===gi(r)&&(P=Ul(r),pa(P).position!=="static"&&a==="absolute"&&(I="scrollHeight",M="scrollWidth")),P=P,i===qn||(i===Yn||i===Qi)&&s===Bp){E=Yi;var N=h&&P===A&&A.visualViewport?A.visualViewport.height:P[I];v-=N-n.height,v*=l?1:-1}if(i===Yn||(i===qn||i===Yi)&&s===Bp){w=Qi;var z=h&&P===A&&A.visualViewport?A.visualViewport.width:P[M];m-=z-n.width,m*=l?1:-1}}var j=Object.assign({position:a},u&&PX),H=c===!0?IX({x:m,y:v},gi(r)):{x:m,y:v};if(m=H.x,v=H.y,l){var F;return Object.assign({},j,(F={},F[E]=_?"0":"",F[w]=b?"0":"",F.transform=(A.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",F))}return Object.assign({},j,(e={},e[E]=_?v+"px":"",e[w]=b?m+"px":"",e.transform="",e))}function MX(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=n===void 0?!0:n,s=r.adaptive,o=s===void 0?!0:s,a=r.roundOffsets,l=a===void 0?!0:a,u={placement:vo(e.placement),variation:nh(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,I3(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,I3(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const kX={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:MX,data:{}};var qg={passive:!0};function OX(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,s=i===void 0?!0:i,o=n.resize,a=o===void 0?!0:o,l=gi(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach(function(c){c.addEventListener("scroll",r.update,qg)}),a&&l.addEventListener("resize",r.update,qg),function(){s&&u.forEach(function(c){c.removeEventListener("scroll",r.update,qg)}),a&&l.removeEventListener("resize",r.update,qg)}}const DX={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:OX,data:{}};var NX={left:"right",right:"left",bottom:"top",top:"bottom"};function iv(t){return t.replace(/left|right|bottom|top/g,function(e){return NX[e]})}var LX={start:"end",end:"start"};function M3(t){return t.replace(/start|end/g,function(e){return LX[e]})}function vC(t){var e=gi(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function yC(t){return rh(Ul(t)).left+vC(t).scrollLeft}function FX(t,e){var r=gi(t),n=Ul(t),i=r.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var u=g5();(u||!u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+yC(t),y:l}}function jX(t){var e,r=Ul(t),n=vC(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=Uu(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Uu(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+yC(t),l=-n.scrollTop;return pa(i||r).direction==="rtl"&&(a+=Uu(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function xC(t){var e=pa(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function w5(t){return["html","body","#document"].indexOf(So(t))>=0?t.ownerDocument.body:Hi(t)&&xC(t)?t:w5(T1(t))}function Yf(t,e){var r;e===void 0&&(e=[]);var n=w5(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),s=gi(n),o=i?[s].concat(s.visualViewport||[],xC(n)?n:[]):n,a=e.concat(o);return i?a:a.concat(Yf(T1(o)))}function lE(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function BX(t,e){var r=rh(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function k3(t,e,r){return e===p5?lE(FX(t,r)):ic(e)?BX(e,r):lE(jX(Ul(t)))}function UX(t){var e=Yf(T1(t)),r=["absolute","fixed"].indexOf(pa(t).position)>=0,n=r&&Hi(t)?gm(t):t;return ic(n)?e.filter(function(i){return ic(i)&&v5(i,n)&&So(i)!=="body"}):[]}function $X(t,e,r,n){var i=e==="clippingParents"?UX(t):[].concat(e),s=[].concat(i,[r]),o=s[0],a=s.reduce(function(l,u){var c=k3(t,u,n);return l.top=Uu(c.top,l.top),l.right=hy(c.right,l.right),l.bottom=hy(c.bottom,l.bottom),l.left=Uu(c.left,l.left),l},k3(t,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _5(t){var e=t.reference,r=t.element,n=t.placement,i=n?vo(n):null,s=n?nh(n):null,o=e.x+e.width/2-r.width/2,a=e.y+e.height/2-r.height/2,l;switch(i){case qn:l={x:o,y:e.y-r.height};break;case Yi:l={x:o,y:e.y+e.height};break;case Qi:l={x:e.x+e.width,y:a};break;case Yn:l={x:e.x-r.width,y:a};break;default:l={x:e.x,y:e.y}}var u=i?gC(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case eh:l[u]=l[u]-(e[c]/2-r[c]/2);break;case Bp:l[u]=l[u]+(e[c]/2-r[c]/2);break}}return l}function Up(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=n===void 0?t.placement:n,s=r.strategy,o=s===void 0?t.strategy:s,a=r.boundary,l=a===void 0?aX:a,u=r.rootBoundary,c=u===void 0?p5:u,h=r.elementContext,f=h===void 0?sf:h,m=r.altBoundary,y=m===void 0?!1:m,v=r.padding,x=v===void 0?0:v,b=x5(typeof x!="number"?x:b5(x,mm)),_=f===sf?lX:sf,w=t.rects.popper,E=t.elements[y?_:f],A=$X(ic(E)?E:E.contextElement||Ul(t.elements.popper),l,c,o),P=rh(t.elements.reference),I=_5({reference:P,element:w,strategy:"absolute",placement:i}),M=lE(Object.assign({},w,I)),N=f===sf?M:P,z={top:A.top-N.top+b.top,bottom:N.bottom-A.bottom+b.bottom,left:A.left-N.left+b.left,right:N.right-A.right+b.right},j=t.modifiersData.offset;if(f===sf&&j){var H=j[i];Object.keys(z).forEach(function(F){var L=[Qi,Yi].indexOf(F)>=0?1:-1,O=[qn,Yi].indexOf(F)>=0?"y":"x";z[F]+=H[O]*L})}return z}function zX(t,e){e===void 0&&(e={});var r=e,n=r.placement,i=r.boundary,s=r.rootBoundary,o=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?m5:l,c=nh(n),h=c?a?R3:R3.filter(function(y){return nh(y)===c}):mm,f=h.filter(function(y){return u.indexOf(y)>=0});f.length===0&&(f=h);var m=f.reduce(function(y,v){return y[v]=Up(t,{placement:v,boundary:i,rootBoundary:s,padding:o})[vo(v)],y},{});return Object.keys(m).sort(function(y,v){return m[y]-m[v]})}function HX(t){if(vo(t)===fC)return[];var e=iv(t);return[M3(t),e,M3(e)]}function VX(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,s=i===void 0?!0:i,o=r.altAxis,a=o===void 0?!0:o,l=r.fallbackPlacements,u=r.padding,c=r.boundary,h=r.rootBoundary,f=r.altBoundary,m=r.flipVariations,y=m===void 0?!0:m,v=r.allowedAutoPlacements,x=e.options.placement,b=vo(x),_=b===x,w=l||(_||!y?[iv(x)]:HX(x)),E=[x].concat(w).reduce(function(re,ue){return re.concat(vo(ue)===fC?zX(e,{placement:ue,boundary:c,rootBoundary:h,padding:u,flipVariations:y,allowedAutoPlacements:v}):ue)},[]),A=e.rects.reference,P=e.rects.popper,I=new Map,M=!0,N=E[0],z=0;z<E.length;z++){var j=E[z],H=vo(j),F=nh(j)===eh,L=[qn,Yi].indexOf(H)>=0,O=L?"width":"height",$=Up(e,{placement:j,boundary:c,rootBoundary:h,altBoundary:f,padding:u}),V=L?F?Qi:Yn:F?Yi:qn;A[O]>P[O]&&(V=iv(V));var k=iv(V),U=[];if(s&&U.push($[H]<=0),a&&U.push($[V]<=0,$[k]<=0),U.every(function(re){return re})){N=j,M=!1;break}I.set(j,U)}if(M)for(var B=y?3:1,X=function(ue){var le=E.find(function(me){var xe=I.get(me);if(xe)return xe.slice(0,ue).every(function(_e){return _e})});if(le)return N=le,"break"},K=B;K>0;K--){var q=X(K);if(q==="break")break}e.placement!==N&&(e.modifiersData[n]._skip=!0,e.placement=N,e.reset=!0)}}const GX={name:"flip",enabled:!0,phase:"main",fn:VX,requiresIfExists:["offset"],data:{_skip:!1}};function O3(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function D3(t){return[qn,Qi,Yi,Yn].some(function(e){return t[e]>=0})}function WX(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,o=Up(e,{elementContext:"reference"}),a=Up(e,{altBoundary:!0}),l=O3(o,n),u=O3(a,i,s),c=D3(l),h=D3(u);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}const XX={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:WX};function qX(t,e,r){var n=vo(t),i=[Yn,qn].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[Yn,Qi].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function YX(t){var e=t.state,r=t.options,n=t.name,i=r.offset,s=i===void 0?[0,0]:i,o=m5.reduce(function(c,h){return c[h]=qX(h,e.rects,s),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=o}const QX={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:YX};function KX(t){var e=t.state,r=t.name;e.modifiersData[r]=_5({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ZX={name:"popperOffsets",enabled:!0,phase:"read",fn:KX,data:{}};function JX(t){return t==="x"?"y":"x"}function eq(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,s=i===void 0?!0:i,o=r.altAxis,a=o===void 0?!1:o,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,h=r.padding,f=r.tether,m=f===void 0?!0:f,y=r.tetherOffset,v=y===void 0?0:y,x=Up(e,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),b=vo(e.placement),_=nh(e.placement),w=!_,E=gC(b),A=JX(E),P=e.modifiersData.popperOffsets,I=e.rects.reference,M=e.rects.popper,N=typeof v=="function"?v(Object.assign({},e.rects,{placement:e.placement})):v,z=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),j=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(P){if(s){var F,L=E==="y"?qn:Yn,O=E==="y"?Yi:Qi,$=E==="y"?"height":"width",V=P[E],k=V+x[L],U=V-x[O],B=m?-M[$]/2:0,X=_===eh?I[$]:M[$],K=_===eh?-M[$]:-I[$],q=e.elements.arrow,re=m&&q?mC(q):{width:0,height:0},ue=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:y5(),le=ue[L],me=ue[O],xe=qf(0,I[$],re[$]),_e=w?I[$]/2-B-xe-le-z.mainAxis:X-xe-le-z.mainAxis,Te=w?-I[$]/2+B+xe+me+z.mainAxis:K+xe+me+z.mainAxis,de=e.elements.arrow&&gm(e.elements.arrow),Be=de?E==="y"?de.clientTop||0:de.clientLeft||0:0,je=(F=j==null?void 0:j[E])!=null?F:0,ut=V+_e-je-Be,Pe=V+Te-je,Ke=qf(m?hy(k,ut):k,V,m?Uu(U,Pe):U);P[E]=Ke,H[E]=Ke-V}if(a){var Rt,W=E==="x"?qn:Yn,J=E==="x"?Yi:Qi,te=P[A],be=A==="y"?"height":"width",ge=te+x[W],ce=te-x[J],ke=[qn,Yn].indexOf(b)!==-1,et=(Rt=j==null?void 0:j[A])!=null?Rt:0,ze=ke?ge:te-I[be]-M[be]-et+z.altAxis,Ue=ke?te+I[be]+M[be]-et-z.altAxis:ce,$e=m&&ke?EX(ze,te,Ue):qf(m?ze:ge,te,m?Ue:ce);P[A]=$e,H[A]=$e-te}e.modifiersData[n]=H}}const tq={name:"preventOverflow",enabled:!0,phase:"main",fn:eq,requiresIfExists:["offset"]};function rq(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function nq(t){return t===gi(t)||!Hi(t)?vC(t):rq(t)}function iq(t){var e=t.getBoundingClientRect(),r=th(e.width)/t.offsetWidth||1,n=th(e.height)/t.offsetHeight||1;return r!==1||n!==1}function sq(t,e,r){r===void 0&&(r=!1);var n=Hi(e),i=Hi(e)&&iq(e),s=Ul(e),o=rh(t,i,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((So(e)!=="body"||xC(s))&&(a=nq(e)),Hi(e)?(l=rh(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=yC(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function oq(t){var e=new Map,r=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function i(s){r.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!r.has(a)){var l=e.get(a);l&&i(l)}}),n.push(s)}return t.forEach(function(s){r.has(s.name)||i(s)}),n}function aq(t){var e=oq(t);return yX.reduce(function(r,n){return r.concat(e.filter(function(i){return i.phase===n}))},[])}function lq(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function uq(t){var e=t.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var N3={placement:"bottom",modifiers:[],strategy:"absolute"};function L3(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function cq(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,i=e.defaultOptions,s=i===void 0?N3:i;return function(a,l,u){u===void 0&&(u=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},N3,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},h=[],f=!1,m={state:c,setOptions:function(b){var _=typeof b=="function"?b(c.options):b;v(),c.options=Object.assign({},s,c.options,_),c.scrollParents={reference:ic(a)?Yf(a):a.contextElement?Yf(a.contextElement):[],popper:Yf(l)};var w=aq(uq([].concat(n,c.options.modifiers)));return c.orderedModifiers=w.filter(function(E){return E.enabled}),y(),m.update()},forceUpdate:function(){if(!f){var b=c.elements,_=b.reference,w=b.popper;if(L3(_,w)){c.rects={reference:sq(_,gm(w),c.options.strategy==="fixed"),popper:mC(w)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(z){return c.modifiersData[z.name]=Object.assign({},z.data)});for(var E=0;E<c.orderedModifiers.length;E++){if(c.reset===!0){c.reset=!1,E=-1;continue}var A=c.orderedModifiers[E],P=A.fn,I=A.options,M=I===void 0?{}:I,N=A.name;typeof P=="function"&&(c=P({state:c,options:M,name:N,instance:m})||c)}}}},update:lq(function(){return new Promise(function(x){m.forceUpdate(),x(c)})}),destroy:function(){v(),f=!0}};if(!L3(a,l))return m;m.setOptions(u).then(function(x){!f&&u.onFirstUpdate&&u.onFirstUpdate(x)});function y(){c.orderedModifiers.forEach(function(x){var b=x.name,_=x.options,w=_===void 0?{}:_,E=x.effect;if(typeof E=="function"){var A=E({state:c,name:b,instance:m,options:w}),P=function(){};h.push(A||P)}})}function v(){h.forEach(function(x){return x()}),h=[]}return m}}var dq=[DX,ZX,kX,wX,QX,GX,tq,RX,XX],hq=cq({defaultModifiers:dq}),fq=typeof Element<"u",pq=typeof Map=="function",mq=typeof Set=="function",gq=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function sv(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!sv(t[n],e[n]))return!1;return!0}var s;if(pq&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(s=t.entries();!(n=s.next()).done;)if(!e.has(n.value[0]))return!1;for(s=t.entries();!(n=s.next()).done;)if(!sv(n.value[1],e.get(n.value[0])))return!1;return!0}if(mq&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(s=t.entries();!(n=s.next()).done;)if(!e.has(n.value[0]))return!1;return!0}if(gq&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(t[n]!==e[n])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;if(fq&&t instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&t.$$typeof)&&!sv(t[i[n]],e[i[n]]))return!1;return!0}return t!==t&&e!==e}var vq=function(e,r){try{return sv(e,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const yq=Po(vq);var xq=[],bq=function(e,r,n){n===void 0&&(n={});var i=T.useRef(null),s={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||xq},o=T.useState({styles:{popper:{position:s.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=o[0],l=o[1],u=T.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(m){var y=m.state,v=Object.keys(y.elements);mr.flushSync(function(){l({styles:C3(v.map(function(x){return[x,y.styles[x]||{}]})),attributes:C3(v.map(function(x){return[x,y.attributes[x]]}))})})},requires:["computeStyles"]}},[]),c=T.useMemo(function(){var f={onFirstUpdate:s.onFirstUpdate,placement:s.placement,strategy:s.strategy,modifiers:[].concat(s.modifiers,[u,{name:"applyStyles",enabled:!1}])};return yq(i.current,f)?i.current||f:(i.current=f,f)},[s.onFirstUpdate,s.placement,s.strategy,s.modifiers,u]),h=T.useRef();return A3(function(){h.current&&h.current.setOptions(c)},[c]),A3(function(){if(!(e==null||r==null)){var f=n.createPopper||hq,m=f(e,r,c);return h.current=m,function(){m.destroy(),h.current=null}}},[e,r,n.createPopper]),{state:h.current?h.current.state:null,styles:a.styles,attributes:a.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}};const wq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M19.935 17.51q1.088 0 1.868.792.78.794.78 1.898 0 1.106-.78 1.898-.78.793-1.844.793t-1.869-.793a2.52 2.52 0 0 1-.78-1.922q0-.432.19-.936l-3.997-2.931q-1.16 1.2-2.79 1.2-1.633 0-2.791-1.176-1.16-1.177-1.183-2.86 0-.215.071-.624l-3.168-1.057a1.25 1.25 0 0 1-.852.337q-.567 0-.946-.385a1.32 1.32 0 0 1-.378-.96q0-.578.378-.938.38-.36.946-.384.474 0 .804.312.33.313.45.745l3.192 1.08a3.8 3.8 0 0 1 1.443-1.56 3.84 3.84 0 0 1 2.033-.577q1.23 0 2.27.745l4.706-4.781q-.378-.72-.378-1.321 0-1.106.78-1.898.78-.793 1.869-.793t1.844.793q.758.792.78 1.898a2.42 2.42 0 0 1-.78 1.873q-.804.77-1.868.793-.616 0-1.3-.408l-4.707 4.805q.734 1.056.733 2.306 0 .888-.402 1.753l3.997 2.907q.78-.624 1.679-.624"})]}),_q=wq,Sq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M22.996 13.153q0 2.09-.873 3.987a10.6 10.6 0 0 1-2.336 3.292q-1.462 1.393-3.516 2.21t-4.26.817-4.287-.817-3.49-2.21a12.3 12.3 0 0 1-2.362-3.291A8.1 8.1 0 0 1 1 13.153q0-2.451 1.155-4.589t3.234-3.627q.616-.433 1.386-.337t1.181.673q.462.553.36 1.273-.104.72-.72 1.13a7 7 0 0 0-2.155 2.426 6.38 6.38 0 0 0-.18 5.717 7 7 0 0 0 1.566 2.186q.975.913 2.335 1.466a7.5 7.5 0 0 0 2.85.552 7.3 7.3 0 0 0 2.823-.552 8.3 8.3 0 0 0 2.36-1.466 6.04 6.04 0 0 0 1.567-2.186q.538-1.274.564-2.666 0-1.635-.77-3.051T16.4 7.675a1.75 1.75 0 0 1-.719-1.129q-.128-.697.36-1.273.436-.577 1.206-.673t1.36.337q2.079 1.466 3.234 3.627a9.6 9.6 0 0 1 1.155 4.589M13.833 2.846v8.6q0 .698-.54 1.202-.538.505-1.283.505t-1.309-.505q-.564-.505-.539-1.201v-8.6q0-.697.54-1.202.538-.504 1.308-.504t1.284.504.539 1.201"})]}),F3=Sq,Eq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M20.584 13.536v7.458q0 .42-.294.699a1.06 1.06 0 0 1-.667.307H13.91v-5.978h-3.817V22H4.383a.85.85 0 0 1-.668-.307 1.16 1.16 0 0 1-.293-.699v-7.569l8.567-7.375 8.568 7.375q.027.027.027.111m3.31-1.09-.908 1.146a.54.54 0 0 1-.32.168h-.054a.6.6 0 0 1-.32-.084L11.989 4.682 1.687 13.676a.5.5 0 0 1-.347.084.54.54 0 0 1-.32-.168l-.935-1.145a.52.52 0 0 1-.08-.363.6.6 0 0 1 .16-.335l10.703-9.33q.48-.42 1.121-.419.64 0 1.148.419l3.63 3.156V2.56q0-.224.133-.363a.46.46 0 0 1 .347-.14h2.856q.214 0 .347.14a.5.5 0 0 1 .134.363v6.34l3.256 2.85q.16.111.16.335 0 .223-.107.363"})]}),Tq=Eq,Cq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M1.898 22.555c-.072-.145-.096-1.37-.048-2.691l.048-2.402h5.261v5.26l-2.595.049c-1.994.048-2.594 0-2.666-.216m7.76 0c-.049-.145-.073-1.37-.049-2.691l.072-2.402h5.238v5.26l-2.571.049c-2.018.048-2.595 0-2.69-.216m7.759 0c-.048-.145-.072-1.37-.048-2.691l.072-2.402h5.237v5.26l-2.57.049c-1.994.048-2.595 0-2.691-.216m-15.52-7.76c-.071-.168-.095-1.37-.047-2.69l.048-2.403h5.261v5.261l-2.595.048c-1.994.048-2.594 0-2.666-.216m7.76 0c-.048-.168-.072-1.37-.048-2.69l.072-2.403h5.238v5.261l-2.571.048c-2.018.048-2.595 0-2.69-.216m7.76 0c-.048-.168-.072-1.37-.048-2.69l.072-2.403h5.237v5.261l-2.57.048c-1.994.048-2.595 0-2.691-.216M1.897 7.011c-.071-.144-.095-1.345-.047-2.666l.048-2.402h5.261V7.18l-2.595.072c-1.994.048-2.594 0-2.666-.24m7.76 0c-.048-.144-.072-1.345-.048-2.666l.072-2.402h5.238V7.18l-2.571.072c-2.018.048-2.595 0-2.69-.24m7.76 0c-.048-.144-.072-1.345-.048-2.666l.072-2.402h5.237V7.18l-2.57.072c-1.994.048-2.595 0-2.691-.24"})]}),j3=Cq,Aq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12M7.123 7.667C8.276 5.958 9.745 5 12.013 5 14.425 5 17 6.941 17 9.5c0 2.113-1.377 2.932-2.418 3.552-.633.376-1.142.68-1.142 1.154v.169a.693.693 0 0 1-.682.703h-2.06a.693.693 0 0 1-.681-.703v-.287c0-1.768 1.269-2.5 2.266-3.075l.073-.042c.863-.499 1.392-.838 1.392-1.499 0-.874-1.082-1.454-1.956-1.454-1.112 0-1.64.53-2.351 1.449a.67.67 0 0 1-.945.121L7.27 8.63a.72.72 0 0 1-.147-.963M9.76 17.97c0-1.12.883-2.03 1.969-2.03 1.085 0 1.968.91 1.968 2.03S12.814 20 11.73 20c-1.086 0-1.969-.91-1.969-2.03",clipRule:"evenodd"})]}),Rq=Aq,Pq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"m.5 21.257 7.46-8.216 4.052 2.403 4.052-2.403 7.46 8.216zm0-2.738V8.573l5.848 3.531zm0-12.084V3.048h23.024v3.387l-11.512 6.847zm17.176 5.67 5.848-3.532v9.946z"})]}),B3=Pq,Iq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M13.07 13.07V6.54h-2.14v6.53zm0 4.4v-2.2h-2.14v2.2zM24 12l-2.65 3.01.35 4.04-3.93.86-2.04 3.48L12 21.8l-3.73 1.6-2.04-3.42-3.93-.92.35-4.04L0 12l2.65-3.06-.35-3.99 3.93-.86L8.27.6 12 2.2 15.73.6l2.04 3.48 3.93.86L21.34 9z"})]}),Mq=Iq,kq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M11.685 2C8.66 2 6.7 3.277 5.164 5.556A.96.96 0 0 0 5.36 6.84l1.634 1.278a.89.89 0 0 0 1.26-.162c.95-1.226 1.653-1.932 3.136-1.932 1.165 0 2.607.773 2.607 1.939 0 .88-.705 1.333-1.856 1.998-1.342.776-3.118 1.742-3.118 4.157v.382c0 .518.407.938.909.938h2.746c.502 0 .91-.42.91-.938v-.226c0-1.674 4.745-1.743 4.745-6.274 0-3.412-3.432-6-6.648-6m-.38 14.588c-1.447 0-2.625 1.214-2.625 2.706S9.858 22 11.305 22s2.624-1.214 2.624-2.706-1.177-2.706-2.624-2.706"})]}),Oq=kq,Dq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.051 12.366a456 456 0 0 1-2.746-1.822A6.5 6.5 0 0 1 .74 9.067q-.737-.94-.737-1.745a2.7 2.7 0 0 1 .141-.905c.098-.286.242-.542.424-.752Q1.12 5 2.15 5h19.7c.541-.016 1.071.195 1.507.6q.636.6.636 1.446 0 1.01-.657 1.93a6.2 6.2 0 0 1-1.632 1.567q-5.037 3.338-6.267 4.156l-.242.167-.323.222q-.436.303-.724.487-.288.183-.696.415a4 4 0 0 1-.77.345 2.2 2.2 0 0 1-.67.115h-.026a2.2 2.2 0 0 1-.67-.116 4 4 0 0 1-.77-.344q-.41-.23-.697-.415a30 30 0 0 1-.723-.487q-.433-.3-.565-.389-1.215-.817-3.51-2.334m10.943 3.962q2.276-1.578 6.667-4.416c.478-.306.927-.68 1.339-1.113v10.16q0 .845-.63 1.446c-.437.405-.97.614-1.512.594H2.149c-.545.02-1.08-.192-1.52-.601C.21 21.996 0 21.52 0 20.95V10.8c.416.437.871.81 1.356 1.113q4.848 3.148 6.656 4.416.768.537 1.243.837a7.7 7.7 0 0 0 1.265.614c.475.198.97.303 1.47.313h.026c.5-.01.995-.115 1.47-.313a7.7 7.7 0 0 0 1.265-.614q.48-.3 1.243-.837",clipRule:"evenodd"})]}),Nq=Dq,Lq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("g",{clipPath:"url(#one-profile_svg__a)",children:g.jsx("path",{fill:"currentColor",d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 4.65a4.26 4.26 0 1 1 0 8.51 4.26 4.26 0 0 1 0-8.51m0 16.64a9.27 9.27 0 0 1-7.09-3.3 5.4 5.4 0 0 1 4.77-2.9c.11 0 .23.03.34.06.63.2 1.29.33 1.98.33.7 0 1.35-.13 1.98-.33.11-.03.23-.05.34-.05a5.4 5.4 0 0 1 4.77 2.89 9.27 9.27 0 0 1-7.09 3.3"})}),g.jsx("defs",{children:g.jsx("clipPath",{id:"one-profile_svg__a",children:g.jsx("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),bC=Lq,Fq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M1.27 11.552a7.75 7.75 0 0 1 0-4.156Q1.84 5.33 3.42 3.792a7.9 7.9 0 0 1 2.716-1.777q1.53-.6 3.161-.6 1.605 0 3.136.6 1.53.6 2.716 1.777a7.9 7.9 0 0 1 1.902 2.86 7.8 7.8 0 0 1 .518 3.29 7.65 7.65 0 0 1-.889 3.171q.692.192 1.21.697l4.297 4.156q.864.84.864 2.042t-.864 2.042-2.099.841-2.099-.84l-4.272-4.18a2.42 2.42 0 0 1-.74-1.178 8.3 8.3 0 0 1-3.68.84q-1.63 0-3.16-.6a8.1 8.1 0 0 1-2.717-1.753 7.85 7.85 0 0 1-2.149-3.628m2.495-2.066q0 2.235 1.605 3.796 1.63 1.56 3.926 1.561 2.272 0 3.877-1.561 1.605-1.562 1.63-3.796t-1.63-3.796q-1.63-1.585-3.877-1.585-2.272 0-3.926 1.585-1.605 1.561-1.605 3.796"})]}),jq=Fq,Bq=({title:t,titleId:e,...r})=>g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true","aria-labelledby":e,...r,children:[t?g.jsx("title",{id:e,children:t}):null,g.jsx("path",{fill:"currentColor",d:"M0 24.58V.53h24.05v4.28h-2.62V7.1h2.62v4.28h-2.62v2.35h2.62V18h-2.62v2.3h2.62v4.29H0zm4.64-6.85h12.12V14l-4.5-2.67q.9-.46 1.4-1.3t.53-1.85q0-1.4-1.01-2.43T10.7 4.72 8.25 5.75 7.24 8.18q0 1.03.53 1.85t1.4 1.3L4.63 14v3.73z"})]}),Uq=Bq;let $q=class{static changeDimension(e,r,n,i){return n>i&&(e=Math.round(e*i/n),n=i),e>r&&(n=Math.round(n*r/e),e=r),{height:e,width:n}}static renameFileNameExtension(e,r){const n=e.split(".");return n.pop(),n.join(".")+"."+r}static resizeImage(e,r,n,i,s="jpeg",o=80){const a=o/100,l=document.createElement("canvas"),u=`image/${s}`;let c=e.width,h=e.height;const f=this.changeDimension(h,i,c,n);c=f.width,h=f.height;const m=l.getContext("2d");return m&&(l.width=c,l.height=h,m.fillStyle="white",m.fillRect(0,0,l.width,l.height),m.imageSmoothingEnabled&&m.imageSmoothingQuality&&(m.imageSmoothingQuality="high"),m.drawImage(e,0,0,c,h)),new Promise((y,v)=>{l.toBlob(x=>{x?y(new File([x],r,{type:u,lastModified:new Date().getTime()})):v()},u,a)})}static async resizeImageFile(e,r=1440,n=1440,i=80){if(!e)throw Error("Image resizer: file not found!");if(!e.type||!e.type.startsWith("image/"))throw Error("Image resizer: the file given is not an image.");const s="jpeg";return new Promise(o=>{const a=new Image;a.setAttribute("style","max-width: none;"),a.src=URL.createObjectURL(e),a.onload=async()=>{const l=await this.resizeImage(a,this.renameFileNameExtension(e.name,s),r,n,s,i);o(l)},a.onerror=l=>{throw Error("Image Loading Error: "+l)}})}};var uE={exports:{}};(function(t,e){(function(r,n){var i="1.0.39",s="",o="?",a="function",l="undefined",u="object",c="string",h="major",f="model",m="name",y="type",v="vendor",x="version",b="architecture",_="console",w="mobile",E="tablet",A="smarttv",P="wearable",I="embedded",M=500,N="Amazon",z="Apple",j="ASUS",H="BlackBerry",F="Browser",L="Chrome",O="Edge",$="Firefox",V="Google",k="Huawei",U="LG",B="Microsoft",X="Motorola",K="Opera",q="Samsung",re="Sharp",ue="Sony",le="Xiaomi",me="Zebra",xe="Facebook",_e="Chromium OS",Te="Mac OS",de=" Browser",Be=function(ze,Ue){var $e={};for(var pt in ze)Ue[pt]&&Ue[pt].length%2===0?$e[pt]=Ue[pt].concat(ze[pt]):$e[pt]=ze[pt];return $e},je=function(ze){for(var Ue={},$e=0;$e<ze.length;$e++)Ue[ze[$e].toUpperCase()]=ze[$e];return Ue},ut=function(ze,Ue){return typeof ze===c?Pe(Ue).indexOf(Pe(ze))!==-1:!1},Pe=function(ze){return ze.toLowerCase()},Ke=function(ze){return typeof ze===c?ze.replace(/[^\d\.]/g,s).split(".")[0]:n},Rt=function(ze,Ue){if(typeof ze===c)return ze=ze.replace(/^\s\s*/,s),typeof Ue===l?ze:ze.substring(0,M)},W=function(ze,Ue){for(var $e=0,pt,Pr,Dt,ct,Qe,tn;$e<Ue.length&&!Qe;){var bi=Ue[$e],ql=Ue[$e+1];for(pt=Pr=0;pt<bi.length&&!Qe&&bi[pt];)if(Qe=bi[pt++].exec(ze),Qe)for(Dt=0;Dt<ql.length;Dt++)tn=Qe[++Pr],ct=ql[Dt],typeof ct===u&&ct.length>0?ct.length===2?typeof ct[1]==a?this[ct[0]]=ct[1].call(this,tn):this[ct[0]]=ct[1]:ct.length===3?typeof ct[1]===a&&!(ct[1].exec&&ct[1].test)?this[ct[0]]=tn?ct[1].call(this,tn,ct[2]):n:this[ct[0]]=tn?tn.replace(ct[1],ct[2]):n:ct.length===4&&(this[ct[0]]=tn?ct[3].call(this,tn.replace(ct[1],ct[2])):n):this[ct]=tn||n;$e+=2}},J=function(ze,Ue){for(var $e in Ue)if(typeof Ue[$e]===u&&Ue[$e].length>0){for(var pt=0;pt<Ue[$e].length;pt++)if(ut(Ue[$e][pt],ze))return $e===o?n:$e}else if(ut(Ue[$e],ze))return $e===o?n:$e;return Ue.hasOwnProperty("*")?Ue["*"]:ze},te={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},be={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ge={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,x],[/opios[\/ ]+([\w\.]+)/i],[x,[m,K+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[x,[m,K+" GX"]],[/\bopr\/([\w\.]+)/i],[x,[m,K]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[x,[m,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,x],[/quark(?:pc)?\/([-\w\.]+)/i],[x,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[x,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[m,"UC"+F]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[x,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[x,[m,"Smart Lenovo "+F]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+F],x],[/\bfocus\/([\w\.]+)/i],[x,[m,$+" Focus"]],[/\bopt\/([\w\.]+)/i],[x,[m,K+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[m,K+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[m,"MIUI "+F]],[/fxios\/([-\w\.]+)/i],[x,[m,$]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360"+de]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],x],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+de],x],[/samsungbrowser\/([\w\.]+)/i],[x,[m,q+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],x],[/metasr[\/ ]?([\d\.]+)/i],[x,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[m,x],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,xe],x],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,x],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[x,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[m,L+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,L+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[m,"Android "+F]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,x],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[x,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[x,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[x,J,te]],[/(webkit|khtml)\/([\w\.]+)/i],[m,x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],x],[/(wolvic)\/([\w\.]+)/i],[m,x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[m,$+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[m,[x,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[x,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,Pe]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,s,Pe]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,Pe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[v,q],[y,E]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[v,q],[y,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[v,z],[y,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,z],[y,E]],[/(macintosh);/i],[f,[v,z]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,re],[y,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,k],[y,E]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,k],[y,w]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[f,/_/g," "],[v,le],[y,w]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,le],[y,E]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[v,"OPPO"],[y,w]],[/\b(opd2\d{3}a?) bui/i],[f,[v,"OPPO"],[y,E]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[y,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[y,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[v,X],[y,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,X],[y,E]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,U],[y,E]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,U],[y,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[y,E]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[y,w]],[/(pixel c)\b/i],[f,[v,V],[y,E]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,V],[y,w]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[v,ue],[y,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,ue],[y,E]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[y,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,N],[y,E]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,N],[y,w]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[y,E]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,H],[y,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,j],[y,E]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,j],[y,w]],[/(nexus 9)/i],[f,[v,"HTC"],[y,E]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[y,w]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[v,"TCL"],[y,E]],[/(itel) ((\w+))/i],[[v,Pe],f,[y,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[y,E]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[y,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[v,"Ulefone"],[y,w]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[v,"Nothing"],[y,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,f,[y,w]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,f,[y,E]],[/(surface duo)/i],[f,[v,B],[y,E]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[y,w]],[/(u304aa)/i],[f,[v,"AT&T"],[y,w]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[y,w]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[y,E]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[y,E]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[y,E]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[y,E]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[y,E]],[/\b(k88) b/i],[f,[v,"ZTE"],[y,E]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[y,w]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[y,w]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[y,E]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[y,E]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[y,E]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[y,E]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[y,E]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[y,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[y,w]],[/\b(ph-1) /i],[f,[v,"Essential"],[y,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[y,E]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[y,E]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[y,E]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[y,E]],[/(sprint) (\w+)/i],[v,f,[y,w]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,B],[y,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,me],[y,E]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,me],[y,w]],[/smart-tv.+(samsung)/i],[v,[y,A]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,q],[y,A]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,U],[y,A]],[/(apple) ?tv/i],[v,[f,z+" TV"],[y,A]],[/crkey/i],[[f,L+"cast"],[v,V],[y,A]],[/droid.+aft(\w+)( bui|\))/i],[f,[v,N],[y,A]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,re],[y,A]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,ue],[y,A]],[/(mitv-\w{5}) bui/i],[f,[v,le],[y,A]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[y,A]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,Rt],[f,Rt],[y,A]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[y,A]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[y,_]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[y,_]],[/(playstation [345portablevi]+)/i],[f,[v,ue],[y,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,B],[y,_]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[f,[v,q],[y,P]],[/((pebble))app/i],[v,f,[y,P]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[v,z],[y,P]],[/droid.+; (glass) \d/i],[f,[v,V],[y,P]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,me],[y,P]],[/(quest( \d| pro)?)/i],[f,[v,xe],[y,P]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[y,I]],[/(aeobc)\b/i],[f,[v,N],[y,I]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[y,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[y,E]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[y,E]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[y,w]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[m,O+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,x],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,x],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[x,J,be]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[x,J,be],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Te],[x,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[x,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,x],[/\(bb(10);/i],[x,[m,H]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[x,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[x,[m,$+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[x,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[x,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[x,[m,L+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,_e],x],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,x],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],x],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,x]]},ce=function(ze,Ue){if(typeof ze===u&&(Ue=ze,ze=n),!(this instanceof ce))return new ce(ze,Ue).getResult();var $e=typeof r!==l&&r.navigator?r.navigator:n,pt=ze||($e&&$e.userAgent?$e.userAgent:s),Pr=$e&&$e.userAgentData?$e.userAgentData:n,Dt=Ue?Be(ge,Ue):ge,ct=$e&&$e.userAgent==pt;return this.getBrowser=function(){var Qe={};return Qe[m]=n,Qe[x]=n,W.call(Qe,pt,Dt.browser),Qe[h]=Ke(Qe[x]),ct&&$e&&$e.brave&&typeof $e.brave.isBrave==a&&(Qe[m]="Brave"),Qe},this.getCPU=function(){var Qe={};return Qe[b]=n,W.call(Qe,pt,Dt.cpu),Qe},this.getDevice=function(){var Qe={};return Qe[v]=n,Qe[f]=n,Qe[y]=n,W.call(Qe,pt,Dt.device),ct&&!Qe[y]&&Pr&&Pr.mobile&&(Qe[y]=w),ct&&Qe[f]=="Macintosh"&&$e&&typeof $e.standalone!==l&&$e.maxTouchPoints&&$e.maxTouchPoints>2&&(Qe[f]="iPad",Qe[y]=E),Qe},this.getEngine=function(){var Qe={};return Qe[m]=n,Qe[x]=n,W.call(Qe,pt,Dt.engine),Qe},this.getOS=function(){var Qe={};return Qe[m]=n,Qe[x]=n,W.call(Qe,pt,Dt.os),ct&&!Qe[m]&&Pr&&Pr.platform&&Pr.platform!="Unknown"&&(Qe[m]=Pr.platform.replace(/chrome os/i,_e).replace(/macos/i,Te)),Qe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return pt},this.setUA=function(Qe){return pt=typeof Qe===c&&Qe.length>M?Rt(Qe,M):Qe,this},this.setUA(pt),this};ce.VERSION=i,ce.BROWSER=je([m,x,h]),ce.CPU=je([b]),ce.DEVICE=je([f,v,y,_,w,A,E,P,I]),ce.ENGINE=ce.OS=je([m,x]),t.exports&&(e=t.exports=ce),e.UAParser=ce;var ke=typeof r!==l&&(r.jQuery||r.Zepto);if(ke&&!ke.ua){var et=new ce;ke.ua=et.getResult(),ke.ua.get=function(){return et.getUA()},ke.ua.set=function(ze){et.setUA(ze);var Ue=et.getResult();for(var $e in Ue)ke.ua[$e]=Ue[$e]}}})(typeof window=="object"?window:rr)})(uE,uE.exports);var zq=uE.exports;const Hq=Po(zq);var C1={exports:{}},dc=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(dc||{}),S5=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(S5||{}),cE=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(cE||{}),Je=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(Je||{}),xs=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(xs||{}),ye=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(ye||{}),_d=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(_d||{}),Xe=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(Xe||{}),Oe=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(Oe||{}),Zo=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(Zo||{}),ia=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(ia||{}),Eo=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(Eo||{}),Vn=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(Vn||{}),no=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(no||{}),wC=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(wC||{}),Ui=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(Ui||{}),br=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(br||{}),hr=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(hr||{}),yo=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(yo||{});const Vq={createCanvas:(t,e)=>{const r=document.createElement("canvas");return r.width=t,r.height=e,r},getCanvasRenderingContext2D:()=>CanvasRenderingContext2D,getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")},De={ADAPTER:Vq,RESOLUTION:1,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};var fw=/iPhone/i,U3=/iPod/i,$3=/iPad/i,z3=/\biOS-universal(?:.+)Mac\b/i,pw=/\bAndroid(?:.+)Mobile\b/i,H3=/Android/i,Nc=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Yg=/Silk/i,Uo=/Windows Phone/i,V3=/\bWindows(?:.+)ARM\b/i,G3=/BlackBerry/i,W3=/BB10/i,X3=/Opera Mini/i,q3=/\b(CriOS|Chrome)(?:.+)Mobile/i,Y3=/Mobile(?:.+)Firefox\b/i,Q3=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};function Gq(t){return function(e){return e.test(t)}}function K3(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var r=e.userAgent,n=r.split("[FBAN");typeof n[1]<"u"&&(r=n[0]),n=r.split("Twitter"),typeof n[1]<"u"&&(r=n[0]);var i=Gq(r),s={apple:{phone:i(fw)&&!i(Uo),ipod:i(U3),tablet:!i(fw)&&(i($3)||Q3(e))&&!i(Uo),universal:i(z3),device:(i(fw)||i(U3)||i($3)||i(z3)||Q3(e))&&!i(Uo)},amazon:{phone:i(Nc),tablet:!i(Nc)&&i(Yg),device:i(Nc)||i(Yg)},android:{phone:!i(Uo)&&i(Nc)||!i(Uo)&&i(pw),tablet:!i(Uo)&&!i(Nc)&&!i(pw)&&(i(Yg)||i(H3)),device:!i(Uo)&&(i(Nc)||i(Yg)||i(pw)||i(H3))||i(/\bokhttp\b/i)},windows:{phone:i(Uo),tablet:i(V3),device:i(Uo)||i(V3)},other:{blackberry:i(G3),blackberry10:i(W3),opera:i(X3),firefox:i(Y3),chrome:i(q3),device:i(G3)||i(W3)||i(X3)||i(Y3)||i(q3)},any:!1,phone:!1,tablet:!1};return s.any=s.apple.device||s.android.device||s.windows.device||s.other.device,s.phone=s.apple.phone||s.android.phone||s.windows.phone,s.tablet=s.apple.tablet||s.android.tablet||s.windows.tablet,s}const Wq=K3.default??K3,Jo=Wq(globalThis.navigator);De.RETINA_PREFIX=/@([0-9\.]+)x/;De.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var E5={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function s(l,u,c,h,f){if(typeof c!="function")throw new TypeError("The listener must be a function");var m=new i(c,h||l,f),y=r?r+u:u;return l._events[y]?l._events[y].fn?l._events[y]=[l._events[y],m]:l._events[y].push(m):(l._events[y]=m,l._eventsCount++),l}function o(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function a(){this._events=new n,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],c,h;if(this._eventsCount===0)return u;for(h in c=this._events)e.call(c,h)&&u.push(r?h.slice(1):h);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},a.prototype.listeners=function(u){var c=r?r+u:u,h=this._events[c];if(!h)return[];if(h.fn)return[h.fn];for(var f=0,m=h.length,y=new Array(m);f<m;f++)y[f]=h[f].fn;return y},a.prototype.listenerCount=function(u){var c=r?r+u:u,h=this._events[c];return h?h.fn?1:h.length:0},a.prototype.emit=function(u,c,h,f,m,y){var v=r?r+u:u;if(!this._events[v])return!1;var x=this._events[v],b=arguments.length,_,w;if(x.fn){switch(x.once&&this.removeListener(u,x.fn,void 0,!0),b){case 1:return x.fn.call(x.context),!0;case 2:return x.fn.call(x.context,c),!0;case 3:return x.fn.call(x.context,c,h),!0;case 4:return x.fn.call(x.context,c,h,f),!0;case 5:return x.fn.call(x.context,c,h,f,m),!0;case 6:return x.fn.call(x.context,c,h,f,m,y),!0}for(w=1,_=new Array(b-1);w<b;w++)_[w-1]=arguments[w];x.fn.apply(x.context,_)}else{var E=x.length,A;for(w=0;w<E;w++)switch(x[w].once&&this.removeListener(u,x[w].fn,void 0,!0),b){case 1:x[w].fn.call(x[w].context);break;case 2:x[w].fn.call(x[w].context,c);break;case 3:x[w].fn.call(x[w].context,c,h);break;case 4:x[w].fn.call(x[w].context,c,h,f);break;default:if(!_)for(A=1,_=new Array(b-1);A<b;A++)_[A-1]=arguments[A];x[w].fn.apply(x[w].context,_)}}return!0},a.prototype.on=function(u,c,h){return s(this,u,c,h,!1)},a.prototype.once=function(u,c,h){return s(this,u,c,h,!0)},a.prototype.removeListener=function(u,c,h,f){var m=r?r+u:u;if(!this._events[m])return this;if(!c)return o(this,m),this;var y=this._events[m];if(y.fn)y.fn===c&&(!f||y.once)&&(!h||y.context===h)&&o(this,m);else{for(var v=0,x=[],b=y.length;v<b;v++)(y[v].fn!==c||f&&!y[v].once||h&&y[v].context!==h)&&x.push(y[v]);x.length?this._events[m]=x.length===1?x[0]:x:o(this,m)}return this},a.prototype.removeAllListeners=function(u){var c;return u?(c=r?r+u:u,this._events[c]&&o(this,c)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=r,a.EventEmitter=a,t.exports=a})(E5);var Xq=E5.exports;const vm=Po(Xq);var _C={exports:{}};_C.exports=A1;_C.exports.default=A1;function A1(t,e,r){r=r||2;var n=e&&e.length,i=n?e[0]*r:t.length,s=T5(t,0,i,r,!0),o=[];if(!s||s.next===s.prev)return o;var a,l,u,c,h,f,m;if(n&&(s=Zq(t,e,s,r)),t.length>80*r){a=u=t[0],l=c=t[1];for(var y=r;y<i;y+=r)h=t[y],f=t[y+1],h<a&&(a=h),f<l&&(l=f),h>u&&(u=h),f>c&&(c=f);m=Math.max(u-a,c-l),m=m!==0?32767/m:0}return $p(s,o,r,a,l,m,0),o}function T5(t,e,r,n,i){var s,o;if(i===fE(t,e,r,n)>0)for(s=e;s<r;s+=n)o=Z3(s,t[s],t[s+1],o);else for(s=r-n;s>=e;s-=n)o=Z3(s,t[s],t[s+1],o);return o&&R1(o,o.next)&&(Hp(o),o=o.next),o}function sc(t,e){if(!t)return t;e||(e=t);var r=t,n;do if(n=!1,!r.steiner&&(R1(r,r.next)||Xt(r.prev,r,r.next)===0)){if(Hp(r),r=e=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==e);return e}function $p(t,e,r,n,i,s,o){if(t){!o&&s&&nY(t,n,i,s);for(var a=t,l,u;t.prev!==t.next;){if(l=t.prev,u=t.next,s?Yq(t,n,i,s):qq(t)){e.push(l.i/r|0),e.push(t.i/r|0),e.push(u.i/r|0),Hp(t),t=u.next,a=u.next;continue}if(t=u,t===a){o?o===1?(t=Qq(sc(t),e,r),$p(t,e,r,n,i,s,2)):o===2&&Kq(t,e,r,n,i,s):$p(sc(t),e,r,n,i,s,1);break}}}}function qq(t){var e=t.prev,r=t,n=t.next;if(Xt(e,r,n)>=0)return!1;for(var i=e.x,s=r.x,o=n.x,a=e.y,l=r.y,u=n.y,c=i<s?i<o?i:o:s<o?s:o,h=a<l?a<u?a:u:l<u?l:u,f=i>s?i>o?i:o:s>o?s:o,m=a>l?a>u?a:u:l>u?l:u,y=n.next;y!==e;){if(y.x>=c&&y.x<=f&&y.y>=h&&y.y<=m&&ad(i,a,s,l,o,u,y.x,y.y)&&Xt(y.prev,y,y.next)>=0)return!1;y=y.next}return!0}function Yq(t,e,r,n){var i=t.prev,s=t,o=t.next;if(Xt(i,s,o)>=0)return!1;for(var a=i.x,l=s.x,u=o.x,c=i.y,h=s.y,f=o.y,m=a<l?a<u?a:u:l<u?l:u,y=c<h?c<f?c:f:h<f?h:f,v=a>l?a>u?a:u:l>u?l:u,x=c>h?c>f?c:f:h>f?h:f,b=dE(m,y,e,r,n),_=dE(v,x,e,r,n),w=t.prevZ,E=t.nextZ;w&&w.z>=b&&E&&E.z<=_;){if(w.x>=m&&w.x<=v&&w.y>=y&&w.y<=x&&w!==i&&w!==o&&ad(a,c,l,h,u,f,w.x,w.y)&&Xt(w.prev,w,w.next)>=0||(w=w.prevZ,E.x>=m&&E.x<=v&&E.y>=y&&E.y<=x&&E!==i&&E!==o&&ad(a,c,l,h,u,f,E.x,E.y)&&Xt(E.prev,E,E.next)>=0))return!1;E=E.nextZ}for(;w&&w.z>=b;){if(w.x>=m&&w.x<=v&&w.y>=y&&w.y<=x&&w!==i&&w!==o&&ad(a,c,l,h,u,f,w.x,w.y)&&Xt(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;E&&E.z<=_;){if(E.x>=m&&E.x<=v&&E.y>=y&&E.y<=x&&E!==i&&E!==o&&ad(a,c,l,h,u,f,E.x,E.y)&&Xt(E.prev,E,E.next)>=0)return!1;E=E.nextZ}return!0}function Qq(t,e,r){var n=t;do{var i=n.prev,s=n.next.next;!R1(i,s)&&C5(i,n,n.next,s)&&zp(i,s)&&zp(s,i)&&(e.push(i.i/r|0),e.push(n.i/r|0),e.push(s.i/r|0),Hp(n),Hp(n.next),n=t=s),n=n.next}while(n!==t);return sc(n)}function Kq(t,e,r,n,i,s){var o=t;do{for(var a=o.next.next;a!==o.prev;){if(o.i!==a.i&&oY(o,a)){var l=A5(o,a);o=sc(o,o.next),l=sc(l,l.next),$p(o,e,r,n,i,s,0),$p(l,e,r,n,i,s,0);return}a=a.next}o=o.next}while(o!==t)}function Zq(t,e,r,n){var i=[],s,o,a,l,u;for(s=0,o=e.length;s<o;s++)a=e[s]*n,l=s<o-1?e[s+1]*n:t.length,u=T5(t,a,l,n,!1),u===u.next&&(u.steiner=!0),i.push(sY(u));for(i.sort(Jq),s=0;s<i.length;s++)r=eY(i[s],r);return r}function Jq(t,e){return t.x-e.x}function eY(t,e){var r=tY(t,e);if(!r)return e;var n=A5(r,t);return sc(n,n.next),sc(r,r.next)}function tY(t,e){var r=e,n=t.x,i=t.y,s=-1/0,o;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var a=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(a<=n&&a>s&&(s=a,o=r.x<r.next.x?r:r.next,a===n))return o}r=r.next}while(r!==e);if(!o)return null;var l=o,u=o.x,c=o.y,h=1/0,f;r=o;do n>=r.x&&r.x>=u&&n!==r.x&&ad(i<c?n:s,i,u,c,i<c?s:n,i,r.x,r.y)&&(f=Math.abs(i-r.y)/(n-r.x),zp(r,t)&&(f<h||f===h&&(r.x>o.x||r.x===o.x&&rY(o,r)))&&(o=r,h=f)),r=r.next;while(r!==l);return o}function rY(t,e){return Xt(t.prev,t,e.prev)<0&&Xt(e.next,t,t.next)<0}function nY(t,e,r,n){var i=t;do i.z===0&&(i.z=dE(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,iY(i)}function iY(t){var e,r,n,i,s,o,a,l,u=1;do{for(r=t,t=null,s=null,o=0;r;){for(o++,n=r,a=0,e=0;e<u&&(a++,n=n.nextZ,!!n);e++);for(l=u;a>0||l>0&&n;)a!==0&&(l===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,a--):(i=n,n=n.nextZ,l--),s?s.nextZ=i:t=i,i.prevZ=s,s=i;r=n}s.nextZ=null,u*=2}while(o>1);return t}function dE(t,e,r,n,i){return t=(t-r)*i|0,e=(e-n)*i|0,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t|e<<1}function sY(t){var e=t,r=t;do(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;while(e!==t);return r}function ad(t,e,r,n,i,s,o,a){return(i-o)*(e-a)>=(t-o)*(s-a)&&(t-o)*(n-a)>=(r-o)*(e-a)&&(r-o)*(s-a)>=(i-o)*(n-a)}function oY(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!aY(t,e)&&(zp(t,e)&&zp(e,t)&&lY(t,e)&&(Xt(t.prev,t,e.prev)||Xt(t,e.prev,e))||R1(t,e)&&Xt(t.prev,t,t.next)>0&&Xt(e.prev,e,e.next)>0)}function Xt(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function R1(t,e){return t.x===e.x&&t.y===e.y}function C5(t,e,r,n){var i=Kg(Xt(t,e,r)),s=Kg(Xt(t,e,n)),o=Kg(Xt(r,n,t)),a=Kg(Xt(r,n,e));return!!(i!==s&&o!==a||i===0&&Qg(t,r,e)||s===0&&Qg(t,n,e)||o===0&&Qg(r,t,n)||a===0&&Qg(r,e,n))}function Qg(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function Kg(t){return t>0?1:t<0?-1:0}function aY(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&C5(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}function zp(t,e){return Xt(t.prev,t,t.next)<0?Xt(t,e,t.next)>=0&&Xt(t,t.prev,e)>=0:Xt(t,e,t.prev)<0||Xt(t,t.next,e)<0}function lY(t,e){var r=t,n=!1,i=(t.x+e.x)/2,s=(t.y+e.y)/2;do r.y>s!=r.next.y>s&&r.next.y!==r.y&&i<(r.next.x-r.x)*(s-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==t);return n}function A5(t,e){var r=new hE(t.i,t.x,t.y),n=new hE(e.i,e.x,e.y),i=t.next,s=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,s.next=n,n.prev=s,n}function Z3(t,e,r,n){var i=new hE(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function Hp(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function hE(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}A1.deviation=function(t,e,r,n){var i=e&&e.length,s=i?e[0]*r:t.length,o=Math.abs(fE(t,0,s,r));if(i)for(var a=0,l=e.length;a<l;a++){var u=e[a]*r,c=a<l-1?e[a+1]*r:t.length;o-=Math.abs(fE(t,u,c,r))}var h=0;for(a=0;a<n.length;a+=3){var f=n[a]*r,m=n[a+1]*r,y=n[a+2]*r;h+=Math.abs((t[f]-t[y])*(t[m+1]-t[f+1])-(t[f]-t[m])*(t[y+1]-t[f+1]))}return o===0&&h===0?0:Math.abs((h-o)/o)};function fE(t,e,r,n){for(var i=0,s=e,o=r-n;s<r;s+=n)i+=(t[o]-t[s])*(t[s+1]+t[o+1]),o=s;return i}A1.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var s=0;s<t[i].length;s++)for(var o=0;o<e;o++)r.vertices.push(t[i][s][o]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r};var uY=_C.exports;const cY=Po(uY);var fy={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */fy.exports;(function(t,e){(function(r){var n=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,s=typeof rr=="object"&&rr;(s.global===s||s.window===s||s.self===s)&&(r=s);var o,a=2147483647,l=36,u=1,c=26,h=38,f=700,m=72,y=128,v="-",x=/^xn--/,b=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=l-u,A=Math.floor,P=String.fromCharCode,I;function M(B){throw new RangeError(w[B])}function N(B,X){for(var K=B.length,q=[];K--;)q[K]=X(B[K]);return q}function z(B,X){var K=B.split("@"),q="";K.length>1&&(q=K[0]+"@",B=K[1]),B=B.replace(_,".");var re=B.split("."),ue=N(re,X).join(".");return q+ue}function j(B){for(var X=[],K=0,q=B.length,re,ue;K<q;)re=B.charCodeAt(K++),re>=55296&&re<=56319&&K<q?(ue=B.charCodeAt(K++),(ue&64512)==56320?X.push(((re&1023)<<10)+(ue&1023)+65536):(X.push(re),K--)):X.push(re);return X}function H(B){return N(B,function(X){var K="";return X>65535&&(X-=65536,K+=P(X>>>10&1023|55296),X=56320|X&1023),K+=P(X),K}).join("")}function F(B){return B-48<10?B-22:B-65<26?B-65:B-97<26?B-97:l}function L(B,X){return B+22+75*(B<26)-((X!=0)<<5)}function O(B,X,K){var q=0;for(B=K?A(B/f):B>>1,B+=A(B/X);B>E*c>>1;q+=l)B=A(B/E);return A(q+(E+1)*B/(B+h))}function $(B){var X=[],K=B.length,q,re=0,ue=y,le=m,me,xe,_e,Te,de,Be,je,ut,Pe;for(me=B.lastIndexOf(v),me<0&&(me=0),xe=0;xe<me;++xe)B.charCodeAt(xe)>=128&&M("not-basic"),X.push(B.charCodeAt(xe));for(_e=me>0?me+1:0;_e<K;){for(Te=re,de=1,Be=l;_e>=K&&M("invalid-input"),je=F(B.charCodeAt(_e++)),(je>=l||je>A((a-re)/de))&&M("overflow"),re+=je*de,ut=Be<=le?u:Be>=le+c?c:Be-le,!(je<ut);Be+=l)Pe=l-ut,de>A(a/Pe)&&M("overflow"),de*=Pe;q=X.length+1,le=O(re-Te,q,Te==0),A(re/q)>a-ue&&M("overflow"),ue+=A(re/q),re%=q,X.splice(re++,0,ue)}return H(X)}function V(B){var X,K,q,re,ue,le,me,xe,_e,Te,de,Be=[],je,ut,Pe,Ke;for(B=j(B),je=B.length,X=y,K=0,ue=m,le=0;le<je;++le)de=B[le],de<128&&Be.push(P(de));for(q=re=Be.length,re&&Be.push(v);q<je;){for(me=a,le=0;le<je;++le)de=B[le],de>=X&&de<me&&(me=de);for(ut=q+1,me-X>A((a-K)/ut)&&M("overflow"),K+=(me-X)*ut,X=me,le=0;le<je;++le)if(de=B[le],de<X&&++K>a&&M("overflow"),de==X){for(xe=K,_e=l;Te=_e<=ue?u:_e>=ue+c?c:_e-ue,!(xe<Te);_e+=l)Ke=xe-Te,Pe=l-Te,Be.push(P(L(Te+Ke%Pe,0))),xe=A(Ke/Pe);Be.push(P(L(xe,0))),ue=O(K,ut,q==re),K=0,++q}++K,++X}return Be.join("")}function k(B){return z(B,function(X){return x.test(X)?$(X.slice(4).toLowerCase()):X})}function U(B){return z(B,function(X){return b.test(X)?"xn--"+V(X):X})}if(o={version:"1.4.1",ucs2:{decode:j,encode:H},decode:$,encode:V,toASCII:U,toUnicode:k},n&&i)if(t.exports==n)i.exports=o;else for(I in o)o.hasOwnProperty(I)&&(n[I]=o[I]);else r.punycode=o})(rr)})(fy,fy.exports);var dY=fy.exports,hY=Error,fY=EvalError,pY=RangeError,mY=ReferenceError,R5=SyntaxError,ym=TypeError,gY=URIError,vY=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(var s in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,r);if(a.value!==i||a.enumerable!==!0)return!1}return!0},J3=typeof Symbol<"u"&&Symbol,yY=vY,xY=function(){return typeof J3!="function"||typeof Symbol!="function"||typeof J3("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:yY()},mw={__proto__:null,foo:{}},bY={__proto__:mw}.foo===mw.foo&&!(mw instanceof Object),wY=function(){return bY},_Y="Function.prototype.bind called on incompatible ",SY=Object.prototype.toString,EY=Math.max,TY="[object Function]",eM=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var s=0;s<r.length;s+=1)n[s+e.length]=r[s];return n},CY=function(e,r){for(var n=[],i=r,s=0;i<e.length;i+=1,s+=1)n[s]=e[i];return n},AY=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},RY=function(e){var r=this;if(typeof r!="function"||SY.apply(r)!==TY)throw new TypeError(_Y+r);for(var n=CY(arguments,1),i,s=function(){if(this instanceof i){var c=r.apply(this,eM(n,arguments));return Object(c)===c?c:this}return r.apply(e,eM(n,arguments))},o=EY(0,r.length-n.length),a=[],l=0;l<o;l++)a[l]="$"+l;if(i=Function("binder","return function ("+AY(a,",")+"){ return binder.apply(this,arguments); }")(s),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},PY=RY,SC=Function.prototype.bind||PY,IY=Function.prototype.call,MY=Object.prototype.hasOwnProperty,kY=SC,OY=kY.call(IY,MY),mt,DY=hY,NY=fY,LY=pY,FY=mY,ih=R5,Sd=ym,jY=gY,P5=Function,gw=function(t){try{return P5('"use strict"; return ('+t+").constructor;")()}catch{}},$u=Object.getOwnPropertyDescriptor;if($u)try{$u({},"")}catch{$u=null}var vw=function(){throw new Sd},BY=$u?function(){try{return arguments.callee,vw}catch{try{return $u(arguments,"callee").get}catch{return vw}}}():vw,Lc=xY(),UY=wY(),Nr=Object.getPrototypeOf||(UY?function(t){return t.__proto__}:null),zc={},$Y=typeof Uint8Array>"u"||!Nr?mt:Nr(Uint8Array),zu={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?mt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?mt:ArrayBuffer,"%ArrayIteratorPrototype%":Lc&&Nr?Nr([][Symbol.iterator]()):mt,"%AsyncFromSyncIteratorPrototype%":mt,"%AsyncFunction%":zc,"%AsyncGenerator%":zc,"%AsyncGeneratorFunction%":zc,"%AsyncIteratorPrototype%":zc,"%Atomics%":typeof Atomics>"u"?mt:Atomics,"%BigInt%":typeof BigInt>"u"?mt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?mt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?mt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?mt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":DY,"%eval%":eval,"%EvalError%":NY,"%Float32Array%":typeof Float32Array>"u"?mt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?mt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?mt:FinalizationRegistry,"%Function%":P5,"%GeneratorFunction%":zc,"%Int8Array%":typeof Int8Array>"u"?mt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?mt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?mt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Lc&&Nr?Nr(Nr([][Symbol.iterator]())):mt,"%JSON%":typeof JSON=="object"?JSON:mt,"%Map%":typeof Map>"u"?mt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Lc||!Nr?mt:Nr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?mt:Promise,"%Proxy%":typeof Proxy>"u"?mt:Proxy,"%RangeError%":LY,"%ReferenceError%":FY,"%Reflect%":typeof Reflect>"u"?mt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?mt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Lc||!Nr?mt:Nr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?mt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Lc&&Nr?Nr(""[Symbol.iterator]()):mt,"%Symbol%":Lc?Symbol:mt,"%SyntaxError%":ih,"%ThrowTypeError%":BY,"%TypedArray%":$Y,"%TypeError%":Sd,"%Uint8Array%":typeof Uint8Array>"u"?mt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?mt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?mt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?mt:Uint32Array,"%URIError%":jY,"%WeakMap%":typeof WeakMap>"u"?mt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?mt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?mt:WeakSet};if(Nr)try{null.error}catch(t){var zY=Nr(Nr(t));zu["%Error.prototype%"]=zY}var HY=function t(e){var r;if(e==="%AsyncFunction%")r=gw("async function () {}");else if(e==="%GeneratorFunction%")r=gw("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=gw("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Nr&&(r=Nr(i.prototype))}return zu[e]=r,r},tM={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},xm=SC,py=OY,VY=xm.call(Function.call,Array.prototype.concat),GY=xm.call(Function.apply,Array.prototype.splice),rM=xm.call(Function.call,String.prototype.replace),my=xm.call(Function.call,String.prototype.slice),WY=xm.call(Function.call,RegExp.prototype.exec),XY=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,qY=/\\(\\)?/g,YY=function(e){var r=my(e,0,1),n=my(e,-1);if(r==="%"&&n!=="%")throw new ih("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ih("invalid intrinsic syntax, expected opening `%`");var i=[];return rM(e,XY,function(s,o,a,l){i[i.length]=a?rM(l,qY,"$1"):o||s}),i},QY=function(e,r){var n=e,i;if(py(tM,n)&&(i=tM[n],n="%"+i[0]+"%"),py(zu,n)){var s=zu[n];if(s===zc&&(s=HY(n)),typeof s>"u"&&!r)throw new Sd("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new ih("intrinsic "+e+" does not exist!")},mh=function(e,r){if(typeof e!="string"||e.length===0)throw new Sd("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Sd('"allowMissing" argument must be a boolean');if(WY(/^%?[^%]*%?$/,e)===null)throw new ih("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=YY(e),i=n.length>0?n[0]:"",s=QY("%"+i+"%",r),o=s.name,a=s.value,l=!1,u=s.alias;u&&(i=u[0],GY(n,VY([0,1],u)));for(var c=1,h=!0;c<n.length;c+=1){var f=n[c],m=my(f,0,1),y=my(f,-1);if((m==='"'||m==="'"||m==="`"||y==='"'||y==="'"||y==="`")&&m!==y)throw new ih("property names with quotes must have matching quotes");if((f==="constructor"||!h)&&(l=!0),i+="."+f,o="%"+i+"%",py(zu,o))a=zu[o];else if(a!=null){if(!(f in a)){if(!r)throw new Sd("base intrinsic for "+e+" exists, but the property is not available.");return}if($u&&c+1>=n.length){var v=$u(a,f);h=!!v,h&&"get"in v&&!("originalValue"in v.get)?a=v.get:a=a[f]}else h=py(a,f),a=a[f];h&&!l&&(zu[o]=a)}}return a},I5={exports:{}},yw,nM;function EC(){if(nM)return yw;nM=1;var t=mh,e=t("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return yw=e,yw}var KY=mh,ov=KY("%Object.getOwnPropertyDescriptor%",!0);if(ov)try{ov([],"length")}catch{ov=null}var M5=ov,iM=EC(),ZY=R5,Fc=ym,sM=M5,JY=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Fc("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Fc("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Fc("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Fc("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Fc("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Fc("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,l=!!sM&&sM(e,r);if(iM)iM(e,r,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:s===null&&l?l.writable:!s});else if(a||!i&&!s&&!o)e[r]=n;else throw new ZY("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},pE=EC(),k5=function(){return!!pE};k5.hasArrayLengthDefineBug=function(){if(!pE)return null;try{return pE([],"length",{value:1}).length!==1}catch{return!0}};var eQ=k5,tQ=mh,oM=JY,rQ=eQ(),aM=M5,lM=ym,nQ=tQ("%Math.floor%"),iQ=function(e,r){if(typeof e!="function")throw new lM("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||nQ(r)!==r)throw new lM("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in e&&aM){var o=aM(e,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(rQ?oM(e,"length",r,!0,!0):oM(e,"length",r)),e};(function(t){var e=SC,r=mh,n=iQ,i=ym,s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(o,s),l=EC(),u=r("%Math.max%");t.exports=function(f){if(typeof f!="function")throw new i("a function is required");var m=a(e,o,arguments);return n(m,1+u(0,f.length-(arguments.length-1)),!0)};var c=function(){return a(e,s,arguments)};l?l(t.exports,"apply",{value:c}):t.exports.apply=c})(I5);var sQ=I5.exports,O5=mh,D5=sQ,oQ=D5(O5("String.prototype.indexOf")),aQ=function(e,r){var n=O5(e,!!r);return typeof n=="function"&&oQ(e,".prototype.")>-1?D5(n):n};const lQ={},uQ=Object.freeze(Object.defineProperty({__proto__:null,default:lQ},Symbol.toStringTag,{value:"Module"})),cQ=qk(uQ);var TC=typeof Map=="function"&&Map.prototype,xw=Object.getOwnPropertyDescriptor&&TC?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,gy=TC&&xw&&typeof xw.get=="function"?xw.get:null,uM=TC&&Map.prototype.forEach,CC=typeof Set=="function"&&Set.prototype,bw=Object.getOwnPropertyDescriptor&&CC?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,vy=CC&&bw&&typeof bw.get=="function"?bw.get:null,cM=CC&&Set.prototype.forEach,dQ=typeof WeakMap=="function"&&WeakMap.prototype,Qf=dQ?WeakMap.prototype.has:null,hQ=typeof WeakSet=="function"&&WeakSet.prototype,Kf=hQ?WeakSet.prototype.has:null,fQ=typeof WeakRef=="function"&&WeakRef.prototype,dM=fQ?WeakRef.prototype.deref:null,pQ=Boolean.prototype.valueOf,mQ=Object.prototype.toString,gQ=Function.prototype.toString,vQ=String.prototype.match,AC=String.prototype.slice,cl=String.prototype.replace,yQ=String.prototype.toUpperCase,hM=String.prototype.toLowerCase,N5=RegExp.prototype.test,fM=Array.prototype.concat,io=Array.prototype.join,xQ=Array.prototype.slice,pM=Math.floor,mE=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ww=Object.getOwnPropertySymbols,gE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,sh=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fn=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===sh||!0)?Symbol.toStringTag:null,L5=Object.prototype.propertyIsEnumerable,mM=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function gM(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||N5.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-pM(-t):pM(t);if(n!==t){var i=String(n),s=AC.call(e,i.length+1);return cl.call(i,r,"$&_")+"."+cl.call(cl.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return cl.call(e,r,"$&_")}var vE=cQ,vM=vE.custom,yM=B5(vM)?vM:null,F5={__proto__:null,double:'"',single:"'"},bQ={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},wQ=function t(e,r,n,i){var s=r||{};if(Xo(s,"quoteStyle")&&!Xo(F5,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xo(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Xo(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xo(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xo(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=s.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return $5(e,s);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return a?gM(e,l):l}if(typeof e=="bigint"){var u=String(e)+"n";return a?gM(e,u):u}var c=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof e=="object")return yE(e)?"[Array]":"[Object]";var h=BQ(s,n);if(typeof i>"u")i=[];else if(U5(i,e)>=0)return"[Circular]";function f(F,L,O){if(L&&(i=xQ.call(i),i.push(L)),O){var $={depth:s.depth};return Xo(s,"quoteStyle")&&($.quoteStyle=s.quoteStyle),t(F,$,n+1,i)}return t(F,s,n+1,i)}if(typeof e=="function"&&!xM(e)){var m=IQ(e),y=Zg(e,f);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(y.length>0?" { "+io.call(y,", ")+" }":"")}if(B5(e)){var v=sh?cl.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):gE.call(e);return typeof e=="object"&&!sh?of(v):v}if(LQ(e)){for(var x="<"+hM.call(String(e.nodeName)),b=e.attributes||[],_=0;_<b.length;_++)x+=" "+b[_].name+"="+j5(_Q(b[_].value),"double",s);return x+=">",e.childNodes&&e.childNodes.length&&(x+="..."),x+="</"+hM.call(String(e.nodeName))+">",x}if(yE(e)){if(e.length===0)return"[]";var w=Zg(e,f);return h&&!jQ(w)?"["+xE(w,h)+"]":"[ "+io.call(w,", ")+" ]"}if(EQ(e)){var E=Zg(e,f);return!("cause"in Error.prototype)&&"cause"in e&&!L5.call(e,"cause")?"{ ["+String(e)+"] "+io.call(fM.call("[cause]: "+f(e.cause),E),", ")+" }":E.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+io.call(E,", ")+" }"}if(typeof e=="object"&&o){if(yM&&typeof e[yM]=="function"&&vE)return vE(e,{depth:c-n});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(MQ(e)){var A=[];return uM&&uM.call(e,function(F,L){A.push(f(L,e,!0)+" => "+f(F,e))}),bM("Map",gy.call(e),A,h)}if(DQ(e)){var P=[];return cM&&cM.call(e,function(F){P.push(f(F,e))}),bM("Set",vy.call(e),P,h)}if(kQ(e))return _w("WeakMap");if(NQ(e))return _w("WeakSet");if(OQ(e))return _w("WeakRef");if(CQ(e))return of(f(Number(e)));if(RQ(e))return of(f(mE.call(e)));if(AQ(e))return of(pQ.call(e));if(TQ(e))return of(f(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof rr<"u"&&e===rr)return"{ [object globalThis] }";if(!SQ(e)&&!xM(e)){var I=Zg(e,f),M=mM?mM(e)===Object.prototype:e instanceof Object||e.constructor===Object,N=e instanceof Object?"":"null prototype",z=!M&&fn&&Object(e)===e&&fn in e?AC.call($l(e),8,-1):N?"Object":"",j=M||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",H=j+(z||N?"["+io.call(fM.call([],z||[],N||[]),": ")+"] ":"");return I.length===0?H+"{}":h?H+"{"+xE(I,h)+"}":H+"{ "+io.call(I,", ")+" }"}return String(e)};function j5(t,e,r){var n=r.quoteStyle||e,i=F5[n];return i+t+i}function _Q(t){return cl.call(String(t),/"/g,""")}function yE(t){return $l(t)==="[object Array]"&&(!fn||!(typeof t=="object"&&fn in t))}function SQ(t){return $l(t)==="[object Date]"&&(!fn||!(typeof t=="object"&&fn in t))}function xM(t){return $l(t)==="[object RegExp]"&&(!fn||!(typeof t=="object"&&fn in t))}function EQ(t){return $l(t)==="[object Error]"&&(!fn||!(typeof t=="object"&&fn in t))}function TQ(t){return $l(t)==="[object String]"&&(!fn||!(typeof t=="object"&&fn in t))}function CQ(t){return $l(t)==="[object Number]"&&(!fn||!(typeof t=="object"&&fn in t))}function AQ(t){return $l(t)==="[object Boolean]"&&(!fn||!(typeof t=="object"&&fn in t))}function B5(t){if(sh)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!gE)return!1;try{return gE.call(t),!0}catch{}return!1}function RQ(t){if(!t||typeof t!="object"||!mE)return!1;try{return mE.call(t),!0}catch{}return!1}var PQ=Object.prototype.hasOwnProperty||function(t){return t in this};function Xo(t,e){return PQ.call(t,e)}function $l(t){return mQ.call(t)}function IQ(t){if(t.name)return t.name;var e=vQ.call(gQ.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function U5(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function MQ(t){if(!gy||!t||typeof t!="object")return!1;try{gy.call(t);try{vy.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function kQ(t){if(!Qf||!t||typeof t!="object")return!1;try{Qf.call(t,Qf);try{Kf.call(t,Kf)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function OQ(t){if(!dM||!t||typeof t!="object")return!1;try{return dM.call(t),!0}catch{}return!1}function DQ(t){if(!vy||!t||typeof t!="object")return!1;try{vy.call(t);try{gy.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function NQ(t){if(!Kf||!t||typeof t!="object")return!1;try{Kf.call(t,Kf);try{Qf.call(t,Qf)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function LQ(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function $5(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return $5(AC.call(t,0,e.maxStringLength),e)+n}var i=bQ[e.quoteStyle||"single"];i.lastIndex=0;var s=cl.call(cl.call(t,i,"\\$1"),/[\x00-\x1f]/g,FQ);return j5(s,"single",e)}function FQ(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+yQ.call(e.toString(16))}function of(t){return"Object("+t+")"}function _w(t){return t+" { ? }"}function bM(t,e,r,n){var i=n?xE(r,n):io.call(r,", ");return t+" ("+e+") {"+i+"}"}function jQ(t){for(var e=0;e<t.length;e++)if(U5(t[e],`
|
|
218
218
|
`)>=0)return!1;return!0}function BQ(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=io.call(Array(t.indent+1)," ");else return null;return{base:r,prev:io.call(Array(e+1),r)}}function xE(t,e){if(t.length===0)return"";var r=`
|
|
219
219
|
`+e.prev+e.base;return r+io.call(t,","+r)+`
|
|
220
220
|
`+e.prev}function Zg(t,e){var r=yE(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=Xo(t,i)?e(t[i],t):""}var s=typeof ww=="function"?ww(t):[],o;if(sh){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var l in t)Xo(t,l)&&(r&&String(Number(l))===l&&l<t.length||sh&&o["$"+l]instanceof Symbol||(N5.call(/[^\w$]/,l)?n.push(e(l,t)+": "+e(t[l],t)):n.push(l+": "+e(t[l],t))));if(typeof ww=="function")for(var u=0;u<s.length;u++)L5.call(t,s[u])&&n.push("["+e(s[u])+"]: "+e(t[s[u]],t));return n}var z5=mh,gh=aQ,UQ=wQ,$Q=ym,Jg=z5("%WeakMap%",!0),e0=z5("%Map%",!0),zQ=gh("WeakMap.prototype.get",!0),HQ=gh("WeakMap.prototype.set",!0),VQ=gh("WeakMap.prototype.has",!0),GQ=gh("Map.prototype.get",!0),WQ=gh("Map.prototype.set",!0),XQ=gh("Map.prototype.has",!0),RC=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},qQ=function(t,e){var r=RC(t,e);return r&&r.value},YQ=function(t,e,r){var n=RC(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},QQ=function(t,e){return!!RC(t,e)},KQ=function(){var e,r,n,i={assert:function(s){if(!i.has(s))throw new $Q("Side channel does not contain "+UQ(s))},get:function(s){if(Jg&&s&&(typeof s=="object"||typeof s=="function")){if(e)return zQ(e,s)}else if(e0){if(r)return GQ(r,s)}else if(n)return qQ(n,s)},has:function(s){if(Jg&&s&&(typeof s=="object"||typeof s=="function")){if(e)return VQ(e,s)}else if(e0){if(r)return XQ(r,s)}else if(n)return QQ(n,s);return!1},set:function(s,o){Jg&&s&&(typeof s=="object"||typeof s=="function")?(e||(e=new Jg),HQ(e,s,o)):e0?(r||(r=new e0),WQ(r,s,o)):(n||(n={key:{},next:null}),YQ(n,s,o))}};return i},ZQ=String.prototype.replace,JQ=/%20/g,Sw={RFC1738:"RFC1738",RFC3986:"RFC3986"},PC={default:Sw.RFC3986,formatters:{RFC1738:function(t){return ZQ.call(t,JQ,"+")},RFC3986:function(t){return String(t)}},RFC1738:Sw.RFC1738,RFC3986:Sw.RFC3986},eK=PC,Ew=Object.prototype.hasOwnProperty,_u=Array.isArray,Vs=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),tK=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(_u(n)){for(var i=[],s=0;s<n.length;++s)typeof n[s]<"u"&&i.push(n[s]);r.obj[r.prop]=i}}},H5=function(e,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},rK=function t(e,r,n){if(!r)return e;if(typeof r!="object"&&typeof r!="function"){if(_u(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Ew.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return _u(e)&&!_u(r)&&(i=H5(e,n)),_u(e)&&_u(r)?(r.forEach(function(s,o){if(Ew.call(e,o)){var a=e[o];a&&typeof a=="object"&&s&&typeof s=="object"?e[o]=t(a,s,n):e.push(s)}else e[o]=s}),e):Object.keys(r).reduce(function(s,o){var a=r[o];return Ew.call(s,o)?s[o]=t(s[o],a,n):s[o]=a,s},i)},nK=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},iK=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Tw=1024,sK=function(e,r,n,i,s){if(e.length===0)return e;var o=e;if(typeof e=="symbol"?o=Symbol.prototype.toString.call(e):typeof e!="string"&&(o=String(e)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(m){return"%26%23"+parseInt(m.slice(2),16)+"%3B"});for(var a="",l=0;l<o.length;l+=Tw){for(var u=o.length>=Tw?o.slice(l,l+Tw):o,c=[],h=0;h<u.length;++h){var f=u.charCodeAt(h);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||s===eK.RFC1738&&(f===40||f===41)){c[c.length]=u.charAt(h);continue}if(f<128){c[c.length]=Vs[f];continue}if(f<2048){c[c.length]=Vs[192|f>>6]+Vs[128|f&63];continue}if(f<55296||f>=57344){c[c.length]=Vs[224|f>>12]+Vs[128|f>>6&63]+Vs[128|f&63];continue}h+=1,f=65536+((f&1023)<<10|u.charCodeAt(h)&1023),c[c.length]=Vs[240|f>>18]+Vs[128|f>>12&63]+Vs[128|f>>6&63]+Vs[128|f&63]}a+=c.join("")}return a},oK=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var s=r[i],o=s.obj[s.prop],a=Object.keys(o),l=0;l<a.length;++l){var u=a[l],c=o[u];typeof c=="object"&&c!==null&&n.indexOf(c)===-1&&(r.push({obj:o,prop:u}),n.push(c))}return tK(r),e},aK=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},lK=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},uK=function(e,r){return[].concat(e,r)},cK=function(e,r){if(_u(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)},V5={arrayToObject:H5,assign:nK,combine:uK,compact:oK,decode:iK,encode:sK,isBuffer:lK,isRegExp:aK,maybeMap:cK,merge:rK},G5=KQ,av=V5,Zf=PC,dK=Object.prototype.hasOwnProperty,W5={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},Zs=Array.isArray,hK=Array.prototype.push,X5=function(t,e){hK.apply(t,Zs(e)?e:[e])},fK=Date.prototype.toISOString,wM=Zf.default,xr={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:av.encode,encodeValuesOnly:!1,filter:void 0,format:wM,formatter:Zf.formatters[wM],indices:!1,serializeDate:function(e){return fK.call(e)},skipNulls:!1,strictNullHandling:!1},pK=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Cw={},mK=function t(e,r,n,i,s,o,a,l,u,c,h,f,m,y,v,x,b,_){for(var w=e,E=_,A=0,P=!1;(E=E.get(Cw))!==void 0&&!P;){var I=E.get(e);if(A+=1,typeof I<"u"){if(I===A)throw new RangeError("Cyclic object value");P=!0}typeof E.get(Cw)>"u"&&(A=0)}if(typeof c=="function"?w=c(r,w):w instanceof Date?w=m(w):n==="comma"&&Zs(w)&&(w=av.maybeMap(w,function(B){return B instanceof Date?m(B):B})),w===null){if(o)return u&&!x?u(r,xr.encoder,b,"key",y):r;w=""}if(pK(w)||av.isBuffer(w)){if(u){var M=x?r:u(r,xr.encoder,b,"key",y);return[v(M)+"="+v(u(w,xr.encoder,b,"value",y))]}return[v(r)+"="+v(String(w))]}var N=[];if(typeof w>"u")return N;var z;if(n==="comma"&&Zs(w))x&&u&&(w=av.maybeMap(w,u)),z=[{value:w.length>0?w.join(",")||null:void 0}];else if(Zs(c))z=c;else{var j=Object.keys(w);z=h?j.sort(h):j}var H=l?String(r).replace(/\./g,"%2E"):String(r),F=i&&Zs(w)&&w.length===1?H+"[]":H;if(s&&Zs(w)&&w.length===0)return F+"[]";for(var L=0;L<z.length;++L){var O=z[L],$=typeof O=="object"&&O&&typeof O.value<"u"?O.value:w[O];if(!(a&&$===null)){var V=f&&l?String(O).replace(/\./g,"%2E"):String(O),k=Zs(w)?typeof n=="function"?n(F,V):F:F+(f?"."+V:"["+V+"]");_.set(e,A);var U=G5();U.set(Cw,_),X5(N,t($,k,n,i,s,o,a,l,n==="comma"&&x&&Zs(w)?null:u,c,h,f,m,y,v,x,b,U))}}return N},gK=function(e){if(!e)return xr;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||xr.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Zf.default;if(typeof e.format<"u"){if(!dK.call(Zf.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=Zf.formatters[n],s=xr.filter;(typeof e.filter=="function"||Zs(e.filter))&&(s=e.filter);var o;if(e.arrayFormat in W5?o=e.arrayFormat:"indices"in e?o=e.indices?"indices":"repeat":o=xr.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:xr.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:xr.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:xr.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:xr.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?xr.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:xr.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:xr.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:xr.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:xr.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:xr.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:xr.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:xr.strictNullHandling}},vK=function(t,e){var r=t,n=gK(e),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):Zs(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var a=W5[n.arrayFormat],l=a==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var u=G5(),c=0;c<i.length;++c){var h=i[c],f=r[h];n.skipNulls&&f===null||X5(o,mK(f,h,a,l,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,u))}var m=o.join(n.delimiter),y=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),m.length>0?y+m:""},oh=V5,bE=Object.prototype.hasOwnProperty,yK=Array.isArray,Kt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:oh.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},xK=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},q5=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},bK="utf8=%26%2310003%3B",wK="utf8=%E2%9C%93",_K=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var s=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,s),a=-1,l,u=r.charset;if(r.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===wK?u="utf-8":o[l]===bK&&(u="iso-8859-1"),a=l,l=o.length);for(l=0;l<o.length;++l)if(l!==a){var c=o[l],h=c.indexOf("]="),f=h===-1?c.indexOf("="):h+1,m,y;f===-1?(m=r.decoder(c,Kt.decoder,u,"key"),y=r.strictNullHandling?null:""):(m=r.decoder(c.slice(0,f),Kt.decoder,u,"key"),y=oh.maybeMap(q5(c.slice(f+1),r),function(x){return r.decoder(x,Kt.decoder,u,"value")})),y&&r.interpretNumericEntities&&u==="iso-8859-1"&&(y=xK(String(y))),c.indexOf("[]=")>-1&&(y=yK(y)?[y]:y);var v=bE.call(n,m);v&&r.duplicates==="combine"?n[m]=oh.combine(n[m],y):(!v||r.duplicates==="last")&&(n[m]=y)}return n},SK=function(t,e,r,n){for(var i=n?e:q5(e,r),s=t.length-1;s>=0;--s){var o,a=t[s];if(a==="[]"&&r.parseArrays)o=r.allowEmptyArrays&&(i===""||r.strictNullHandling&&i===null)?[]:[].concat(i);else{o=r.plainObjects?{__proto__:null}:{};var l=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,u=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,c=parseInt(u,10);!r.parseArrays&&u===""?o={0:i}:!isNaN(c)&&a!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(o=[],o[c]=i):u!=="__proto__"&&(o[u]=i)}i=o}return i},EK=function(e,r,n,i){if(e){var s=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=n.depth>0&&o.exec(s),u=l?s.slice(0,l.index):s,c=[];if(u){if(!n.plainObjects&&bE.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var h=0;n.depth>0&&(l=a.exec(s))!==null&&h<n.depth;){if(h+=1,!n.plainObjects&&bE.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(l[1])}if(l){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+s.slice(l.index)+"]")}return SK(c,r,n,i)}},TK=function(e){if(!e)return Kt;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?Kt.charset:e.charset,n=typeof e.duplicates>"u"?Kt.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:Kt.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:Kt.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Kt.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Kt.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Kt.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Kt.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Kt.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:Kt.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:Kt.decoder,delimiter:typeof e.delimiter=="string"||oh.isRegExp(e.delimiter)?e.delimiter:Kt.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Kt.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Kt.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Kt.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Kt.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:Kt.strictDepth,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Kt.strictNullHandling}},CK=function(t,e){var r=TK(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof t=="string"?_K(t,r):t,i=r.plainObjects?{__proto__:null}:{},s=Object.keys(n),o=0;o<s.length;++o){var a=s[o],l=EK(a,n[a],r,typeof t=="string");i=oh.merge(i,l,r)}return r.allowSparse===!0?i:oh.compact(i)},AK=vK,RK=CK,PK=PC,IK={formats:PK,parse:RK,stringify:AK},MK=dY;function sa(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var kK=/^([a-z0-9.+-]+:)/i,OK=/:[0-9]*$/,DK=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,NK=["<",">",'"',"`"," ","\r",`
|