ode-explorer 1.5.2 → 1.5.3-develop.202412021735

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Exploration des ressources</title>
7
7
  <link rel="icon" id="favicon" href="" />
8
- <link rel="stylesheet" href="/assets/themes/edifice-bootstrap/index.css?v=fab192cc" />
8
+ <link rel="stylesheet" href="/assets/themes/edifice-bootstrap/index.css?v=d4247b03" />
9
9
  <script type="module" crossorigin src="/index.js"></script>
10
10
  </head>
11
11
 
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=fab192cc";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={};/**
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=d4247b03";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
  *
@@ -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=Object,wY=function(){return{__proto__:mw}.foo===mw.foo&&!(mw instanceof 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,"&quot;")}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(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,"&quot;")}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",`
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
- ode-explorer= 25/11/2024 16:35:19
1
+ ode-explorer= 02/12/2024 17:36:21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-explorer",
3
- "version": "1.5.2",
3
+ "version": "1.5.3-develop.202412021735",
4
4
  "description": "Edifice Explorer",
5
5
  "homepage": "https://github.com/edificeio/explorer#readme",
6
6
  "bugs": {
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@dnd-kit/core": "^6.1.0",
40
40
  "@dnd-kit/modifiers": "^7.0.0",
41
- "@edifice-ui/icons": "1.7.0",
42
- "@edifice-ui/react": "1.7.1",
41
+ "@edifice-ui/icons": "develop",
42
+ "@edifice-ui/react": "develop",
43
43
  "@react-spring/web": "^9.7.3",
44
44
  "@tanstack/react-query": "^5.59.13",
45
45
  "clsx": "^2.1.1",
@@ -68,8 +68,8 @@
68
68
  "@vitejs/plugin-react": "^4.3.2",
69
69
  "@vitest/coverage-v8": "^2.1.2",
70
70
  "@vitest/ui": "^2.1.2",
71
- "edifice-bootstrap": "1.7.0",
72
- "edifice-ts-client": "1.7.0",
71
+ "edifice-bootstrap": "develop",
72
+ "edifice-ts-client": "develop",
73
73
  "eslint": "^9.11.1",
74
74
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
75
75
  "eslint-plugin-react-refresh": "^0.4.12",