@zthun/romulator-web 1.13.0 → 1.14.1

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.
@@ -1,787 +0,0 @@
1
- var IS=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var hN=IS((sr,or)=>{(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const f of o)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&u(d)}).observe(document,{childList:!0,subtree:!0});function i(o){const f={};return o.integrity&&(f.integrity=o.integrity),o.referrerPolicy&&(f.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?f.credentials="include":o.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(o){if(o.ep)return;o.ep=!0;const f=i(o);fetch(o.href,f)}})();var bi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var yd={exports:{}},Cl={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var rb;function e2(){if(rb)return Cl;rb=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(u,o,f){var d=null;if(f!==void 0&&(d=""+f),o.key!==void 0&&(d=""+o.key),"key"in o){f={};for(var y in o)y!=="key"&&(f[y]=o[y])}else f=o;return o=f.ref,{$$typeof:t,type:u,key:d,ref:o!==void 0?o:null,props:f}}return Cl.Fragment=r,Cl.jsx=i,Cl.jsxs=i,Cl}var ab;function t2(){return ab||(ab=1,yd.exports=e2()),yd.exports}var w=t2();function n2(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function r2(t,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function a2(t,r,i){return r&&r2(t.prototype,r),t}function D0(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function i2(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},u=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(i).filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable}))),u.forEach(function(o){D0(t,o,i[o])})}return t}var l2=function(){function t(){n2(this,t),D0(this,"_wait",void 0),this._wait={debounce:0,timeout:1e4}}return a2(t,[{key:"description",value:function(i){return this._wait.description=i,this}},{key:"debounce",value:function(i){return this._wait.debounce=i,this}},{key:"timeout",value:function(i){return this._wait.timeout=i,this}},{key:"build",value:function(){return i2({},this._wait)}}]),t}();function ib(t,r){(r==null||r>t.length)&&(r=t.length);for(var i=0,u=new Array(r);i<r;i++)u[i]=t[i];return u}function u2(t){if(Array.isArray(t))return t}function lb(t,r,i,u,o,f,d){try{var y=t[f](d),m=y.value}catch(h){i(h);return}y.done?r(m):Promise.resolve(m).then(u,o)}function gd(t){return function(){var r=this,i=arguments;return new Promise(function(u,o){var f=t.apply(r,i);function d(m){lb(f,u,o,d,y,"next",m)}function y(m){lb(f,u,o,d,y,"throw",m)}d(void 0)})}}function s2(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function o2(t,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function c2(t,r,i){return i&&o2(t,i),t}function f2(t,r){var i=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var u=[],o=!0,f=!1,d,y;try{for(i=i.call(t);!(o=(d=i.next()).done)&&(u.push(d.value),!(r&&u.length===r));o=!0);}catch(m){f=!0,y=m}finally{try{!o&&i.return!=null&&i.return()}finally{if(f)throw y}}return u}}function d2(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h2(t,r){return u2(t)||f2(t,r)||p2(t,r)||d2()}function p2(t,r){if(t){if(typeof t=="string")return ib(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ib(t,r)}}function bd(t,r){var i,u,o,f={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},d=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return d.next=y(0),d.throw=y(1),d.return=y(2),typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function y(h){return function(b){return m([h,b])}}function m(h){if(i)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(f=0)),f;)try{if(i=1,u&&(o=h[0]&2?u.return:h[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,h[1])).done)return o;switch(u=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return f.label++,{value:h[1],done:!1};case 5:f.label++,u=h[1],h=[0];continue;case 7:h=f.ops.pop(),f.trys.pop();continue;default:if(o=f.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){f=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){f.label=h[1];break}if(h[0]===6&&f.label<o[1]){f.label=o[1],o=h;break}if(o&&f.label<o[2]){f.label=o[2],f.ops.push(h);break}o[2]&&f.ops.pop(),f.trys.pop();continue}h=r.call(t,f)}catch(b){h=[6,b],u=0}finally{i=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}var ub=function(t,r){var i=t;if(r!=null){var u="".concat(t,'[name="').concat(r,'"]'),o="".concat(t,'[data-name="').concat(r,'"]');i="".concat(u,",").concat(o)}return i},Qe=function(){function t(){s2(this,t)}return c2(t,null,[{key:"all",value:function(i,u){return gd(function(o,f){var d,y,m=arguments;return bd(this,function(h){switch(h.label){case 0:return d=m.length>2&&m[2]!==void 0?m[2]:f.Selector,[4,o.query(d)];case 1:return y=h.sent(),[2,y.map(function(b){return new f(b)})]}})}).apply(this,arguments)}},{key:"css",value:function(i,u,o){return gd(function(){var f,d,y;return bd(this,function(m){switch(m.label){case 0:return f="Searching for a component with selector: ".concat(o),d=new l2().description(f).build(),[4,i.wait(function(){return i.peek(o)},d)];case 1:return m.sent(),[4,i.select(o)];case 2:return y=m.sent(),[2,new u(y)]}})})()}},{key:"first",value:function(i,u,o){var f=ub(u.Selector,o);return t.css(i,u,f)}},{key:"optional",value:function(i,u,o){return gd(function(){var f,d,y;return bd(this,function(m){switch(m.label){case 0:return f=ub(u.Selector,o),[4,i.query(f)];case 1:return d=h2.apply(void 0,[m.sent(),1]),y=d[0],[2,y?new u(y):null]}})})()}}]),t}();function m2(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function y2(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var xe=function t(r){m2(this,t),y2(this,"driver",void 0),this.driver=r};function g2(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function b2(t,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function v2(t,r,i){return r&&b2(t.prototype,r),t}function q0(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function _2(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},u=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(i).filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable}))),u.forEach(function(o){q0(t,o,i[o])})}return t}var J=function(){function t(r,i){g2(this,t),q0(this,"_key",void 0),this._key={lower:r,code:i,upper:r,printable:!1,modifier:!1,shift:!1,toggle:!1}}return v2(t,[{key:"upper",value:function(i){return this._key.upper=i,this}},{key:"printable",value:function(){return this._key.printable=!0,this}},{key:"modifier",value:function(){return this._key.modifier=!0,this}},{key:"shift",value:function(){return this._key.shift=!0,this}},{key:"toggle",value:function(){return this._key.toggle=!0,this}},{key:"build",value:function(){return _2({},this._key)}}]),t}(),et=Object.freeze({escape:new J("Escape","Escape").build(),f1:new J("F1","F1").build(),f2:new J("F2","F2").build(),f3:new J("F3","F3").build(),f4:new J("F4","F4").build(),f5:new J("F5","F5").build(),f6:new J("F6","F6").build(),f7:new J("F7","F7").build(),f8:new J("F8","F8").build(),f9:new J("F9","F9").build(),f10:new J("F10","F10").build(),f11:new J("F11","F11").build(),f12:new J("F12","F12").build(),backquote:new J("`","Backquote").upper("~").printable().build(),digit1:new J("1","Digit1").upper("!").printable().build(),digit2:new J("2","Digit2").upper("@").printable().build(),digit3:new J("3","Digit3").upper("#").printable().build(),digit4:new J("4","Digit4").upper("$").printable().build(),digit5:new J("5","Digit5").upper("%").printable().build(),digit6:new J("6","Digit6").upper("^").printable().build(),digit7:new J("7","Digit7").upper("&").printable().build(),digit8:new J("8","Digit8").upper("*").printable().build(),digit9:new J("9","Digit9").upper("(").printable().build(),digit0:new J("0","Digit0").upper(")").printable().build(),backspace:new J("BackSpace","Backspace").build(),tab:new J("Tab","Tab").build(),keyQ:new J("q","KeyQ").upper("Q").printable().build(),keyW:new J("w","KeyW").upper("W").printable().build(),keyE:new J("e","KeyE").upper("E").printable().build(),keyR:new J("r","KeyR").upper("R").printable().build(),keyT:new J("t","KeyT").upper("T").printable().build(),keyY:new J("y","KeyY").upper("Y").printable().build(),keyU:new J("u","KeyU").upper("U").printable().build(),keyI:new J("i","KeyI").upper("I").printable().build(),keyO:new J("o","KeyO").upper("O").printable().build(),keyP:new J("p","KeyP").upper("P").printable().build(),bracketLeft:new J("[","BracketLeft").upper("{").printable().build(),bracketRight:new J("]","BracketRight").upper("}").printable().build(),backslash:new J("\\","Backslash").upper("|").printable().build(),capsLock:new J("CapsLock","CapsLock").shift().toggle().build(),keyA:new J("a","KeyA").upper("A").printable().build(),keyS:new J("s","KeyS").upper("S").printable().build(),keyD:new J("d","KeyD").upper("D").printable().build(),keyF:new J("f","KeyF").upper("F").printable().build(),keyG:new J("g","KeyG").upper("G").printable().build(),keyH:new J("h","KeyH").upper("H").printable().build(),keyJ:new J("j","KeyJ").upper("J").printable().build(),keyK:new J("k","KeyK").upper("K").printable().build(),keyL:new J("l","KeyL").upper("L").printable().build(),semiColon:new J(";","Semicolon").upper(":").printable().build(),quote:new J("'","Quote").upper('"').printable().build(),enter:new J("Enter","Enter").build(),shiftLeft:new J("Shift","ShiftLeft").modifier().shift().build(),keyZ:new J("z","KeyZ").upper("Z").printable().build(),keyX:new J("x","KeyX").upper("X").printable().build(),keyC:new J("c","KeyC").upper("C").printable().build(),keyV:new J("v","KeyV").upper("V").printable().build(),keyB:new J("b","KeyB").upper("B").printable().build(),keyN:new J("n","KeyN").upper("N").printable().build(),keyM:new J("m","KeyM").upper("M").printable().build(),comma:new J(",","Comma").upper("<").printable().build(),period:new J(".","Period").upper(">").printable().build(),slash:new J("/","Slash").upper("?").printable().build(),shiftRight:new J("Shift","ShiftRight").modifier().shift().build(),controlLeft:new J("Control","ControlLeft").modifier().build(),metaLeft:new J("Meta","MetaLeft").modifier().build(),altLeft:new J("Alt","AltLeft").modifier().build(),space:new J(" ","Space").printable().build(),altRight:new J("Alt","AltRight").modifier().build(),contextMenu:new J("ContextMenu","ContextMenu").build(),controlRight:new J("Control","ControlRight").modifier().build(),printScreen:new J("F13","F13").build(),scrollLock:new J("F14","F14").build(),pause:new J("F15","F15").build(),insert:new J("Help","Insert").toggle().build(),home:new J("Home","Home").build(),pageUp:new J("PageUp","PageUp").build(),delete:new J("Delete","Delete").build(),end:new J("End","End").build(),pageDown:new J("PageDown","PageDown").build(),upArrow:new J("ArrowUp","ArrowUp").build(),leftArrow:new J("ArrowLeft","ArrowLeft").build(),downArrow:new J("ArrowDown","ArrowDown").build(),rightArrow:new J("ArrowRight","ArrowRight").build(),numLock:new J("Clear","NumLock").toggle().build(),numpadDivide:new J("/","NumpadDivide").build(),numpadMultiply:new J("*","NumpadMultiply").build(),numpadSubtract:new J("-","NumpadSubtract").build(),numpad7:new J("7","Numpad7").printable().build(),numpad8:new J("8","Numpad8").printable().build(),numpad9:new J("9","Numpad9").printable().build(),numpad4:new J("4","Numpad4").printable().build(),numpad5:new J("5","Numpad5").printable().build(),numpad6:new J("6","Numpad6").printable().build(),numpadAdd:new J("+","NumpadAdd").printable().build(),numpad1:new J("1","Numpad1").printable().build(),numpad2:new J("2","Numpad2").printable().build(),numpad3:new J("3","Numpad3").printable().build(),numpad0:new J("0","Numpad0").printable().build(),numpadDecimal:new J(".","NumpadDecimal").printable().build(),numpadEnter:new J("Enter","NumpadEnter").build()});function w2(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function S2(t,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function x2(t,r,i){return r&&S2(t.prototype,r),t}function Bd(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var jd=function(){function t(r){var i=this;w2(this,t),Bd(this,"_lowerCaseToKeyValue",new Map),Bd(this,"_upperCaseToKeyValue",new Map),r.forEach(function(u){i._lowerCaseToKeyValue.set(u.lower,u),i._upperCaseToKeyValue.set(u.upper,u)})}return x2(t,[{key:"translate",value:function(i){return this._lowerCaseToKeyValue.get(i)||this._upperCaseToKeyValue.get(i)}}]),t}();Bd(jd,"Qwerty",new jd(Object.values(et)));var Ml=function(t){return t.MouseDown="mouse-down",t.MouseUp="mouse-up",t.KeyDown="key-down",t.KeyUp="key-up",t.Magic="magic",t}({});function E2(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function T2(t,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function O2(t,r,i){return r&&T2(t.prototype,r),t}function yn(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function A2(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{},u=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(i).filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable}))),u.forEach(function(o){yn(t,o,i[o])})}return t}var tt=function(){function t(){E2(this,t),yn(this,"_actions",[]),yn(this,"keyDown",this._action.bind(this,Ml.KeyDown)),yn(this,"keyUp",this._action.bind(this,Ml.KeyUp)),yn(this,"_mouseDown",this._action.bind(this,Ml.MouseDown)),yn(this,"_mouseUp",this._action.bind(this,Ml.MouseUp)),yn(this,"leftMouseDown",this._mouseDown.bind(this,"Left")),yn(this,"leftMouseUp",this._mouseUp.bind(this,"Left")),yn(this,"rightMouseDown",this._mouseDown.bind(this,"Right")),yn(this,"rightMouseUp",this._mouseUp.bind(this,"Right")),yn(this,"magic",this._action.bind(this,Ml.Magic))}return O2(t,[{key:"action",value:function(r){return this._actions.push(A2({},r)),this}},{key:"_action",value:function(i,u){return this.action({name:i,context:u})}},{key:"press",value:function(i){for(var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,o=0;o<u;++o)this.keyDown(i).keyUp(i);return this}},{key:"click",value:function(){return this.leftMouseDown().leftMouseUp()}},{key:"rightClick",value:function(){return this.rightMouseDown().rightMouseUp()}},{key:"type",value:function(i){var u=jd.Qwerty,o=!0,f=!1,d=void 0;try{for(var y=i[Symbol.iterator](),m;!(o=(m=y.next()).done);o=!0){var h=m.value,b=u.translate(h);h===b?.upper&&h!==b?.lower?this.keyDown(et.shiftLeft).press(b).keyUp(et.shiftLeft):b!=null&&this.press(b)}}catch(v){f=!0,d=v}finally{try{!o&&y.return!=null&&y.return()}finally{if(f)throw d}}return this}},{key:"build",value:function(){return{actions:this._actions.slice()}}}]),t}();const vi=globalThis||void 0||self;var sb=function(t){return t.Top="top",t.Middle="middle",t.Bottom="bottom",t}({}),$2=function(t){return t.Left="left",t.Center="center",t.Right="right",t}({});function U0(t,r=["message","error","exception","data"]){if(t instanceof Error)return t;if(t==null)return new Error;for(let i=0;i<r.length;++i){const u=r[i];if(Object.prototype.hasOwnProperty.call(t,u))return U0(t[u])}return new Error(String(t))}function B0(t){const r=typeof t;return t==null||r==="object"&&Object.keys(t).length===0}const R2=1024,C2=1048576,M2=1073741824,N2=1099511627776,z2=0x4000000000000;function au(t,r){return Math.ceil(t*r)}au.bind(null,R2);au.bind(null,C2);au.bind(null,M2);au.bind(null,N2);au.bind(null,z2);function D2(t,r,i,...u){if(t(i))return i;for(let o=0;o<u.length;++o){const f=u[o];if(t(f))return f}return r}function ae(t,r,...i){return D2(u=>u!=null,t,r,...i)}function q2(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class U2{bottomLeft(r){return this._corners.bottomLeft=r,this}bottomRight(r){return this._corners.bottomRight=r,this}topLeft(r){return this._corners.topLeft=r,this}topRight(r){return this._corners.topRight=r,this}bottom(r){return this.bottomLeft(r).bottomRight(r)}left(r){return this.topLeft(r).bottomLeft(r)}right(r){return this.bottomRight(r).topRight(r)}top(r){return this.topLeft(r).topRight(r)}from(r){function i(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"bottom")||Object.prototype.hasOwnProperty.call(h,"top"))}function u(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"left")||Object.prototype.hasOwnProperty.call(h,"right"))}function o(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"bottomLeft")||Object.prototype.hasOwnProperty.call(h,"bottomRight")||Object.prototype.hasOwnProperty.call(h,"topLeft")||Object.prototype.hasOwnProperty.call(h,"topRight"))}const{bottomLeft:f,bottomRight:d,topLeft:y,topRight:m}=this._corners;return o(r)?(this._corners.bottomLeft=ae(f,r.bottomLeft),this._corners.bottomRight=ae(d,r.bottomRight),this._corners.topLeft=ae(y,r.topLeft),this._corners.topRight=ae(m,r.topRight),this):i(r)?(this._corners.bottomLeft=ae(f,r.bottom),this._corners.bottomRight=ae(d,r.bottom),this._corners.topLeft=ae(y,r.top),this._corners.topRight=ae(m,r.top),this):u(r)?(this._corners.bottomLeft=ae(f,r.left),this._corners.bottomRight=ae(d,r.right),this._corners.topLeft=ae(y,r.left),this._corners.topRight=ae(m,r.right),this):(B0(r)||(this._corners.bottomLeft=ae(f,r),this._corners.bottomRight=ae(d,r),this._corners.topLeft=ae(y,r),this._corners.topRight=ae(m,r)),this)}copy(r){return this._corners=structuredClone(r),this}build(){return structuredClone(this._corners)}constructor(r){q2(this,"_corners",void 0),this._corners={bottomLeft:r,bottomRight:r,topLeft:r,topRight:r}}}function B2(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Us{bottom(r){return this._quad.bottom=r,this}left(r){return this._quad.left=r,this}right(r){return this._quad.right=r,this}top(r){return this._quad.top=r,this}x(r){return this.left(r).right(r)}y(r){return this.bottom(r).top(r)}from(r){function i(o){return o!=null&&(Object.prototype.hasOwnProperty.call(o,"x")||Object.prototype.hasOwnProperty.call(o,"y"))}function u(o){return o!=null&&(Object.prototype.hasOwnProperty.call(o,"bottom")||Object.prototype.hasOwnProperty.call(o,"left")||Object.prototype.hasOwnProperty.call(o,"right")||Object.prototype.hasOwnProperty.call(o,"top"))}return u(r)?(this._quad.bottom=ae(this._quad.bottom,r.bottom),this._quad.left=ae(this._quad.left,r.left),this._quad.right=ae(this._quad.right,r.right),this._quad.top=ae(this._quad.top,r.top),this):i(r)?(this._quad.bottom=ae(this._quad.bottom,r.y),this._quad.left=ae(this._quad.left,r.x),this._quad.right=ae(this._quad.right,r.x),this._quad.top=ae(this._quad.top,r.y),this):(B0(r)||(this._quad.bottom=ae(this._quad.bottom,r),this._quad.left=ae(this._quad.left,r),this._quad.right=ae(this._quad.right,r),this._quad.top=ae(this._quad.top,r)),this)}copy(r){return this._quad.left=r.left,this._quad.right=r.right,this._quad.top=r.top,this._quad.bottom=r.bottom,this}build(){return structuredClone(this._quad)}constructor(r){B2(this,"_quad",void 0),this._quad={bottom:r,left:r,right:r,top:r}}}/* v8 ignore start -- @preserve *//* istanbul ignore next -- @preserve */const j0=typeof window>"u"?vi:window;/* v8 ignore end -- @preserve */function So(t,...r){return r.map(i=>i instanceof Array?i[1]?i[0]:null:i).filter(i=>i!=null).join(t)}const j2=So.bind(null," "),ve=j2;So.bind(null,",");So.bind(null,";");So.bind(null,"|");async function L2(t){if(t==null)throw new Error("A required value was not provided");const r=await t;if(r==null)throw new Error("A required value was not provided");return r}var kr=function(t){return t.Horizontal="horizontal",t.Vertical="vertical",t}({});function L0(t,r){for(const i of r)if(t.startsWith(i))return[t.substring(0,i.length),t.substring(i.length)];return[null,t]}function Ld(t,r,i){if(!t.startsWith(r))return[null,t];let u=1;const o=t.substring(r.length);for(let f=0;f<o.length;++f){if(o.startsWith(r,f)){u+=1,f+=r.length-1;continue}if(o.startsWith(i,f)){if(u-=1,u===0)return[o.substring(0,f),o.substring(f+i.length)];f+=i.length-1}}return[null,t]}function Z2(t,r){const i=Object.keys(r),u={};return i.forEach(o=>{const f=r[o];t(o,f)&&(u[o]=f)}),u}function H2(t){return Z2(r=>String(r).startsWith("data-"),t)}function G2(t=0,r=void 0){return new Promise(i=>setTimeout(()=>i(r),t))}function Y2(t,...r){let[i]=t;for(let u=1,o=t.length;u<o;u++)i+=r[u-1],i+=t[u];return i}const Xe=Y2;function ob(t,r){try{return t()}catch{return r}}const V2=1024,X2=1048576,Q2=1073741824,K2=1099511627776,F2=0x4000000000000;function iu(t,r){return Math.ceil(t*r)}iu.bind(null,V2);iu.bind(null,X2);iu.bind(null,Q2);iu.bind(null,K2);iu.bind(null,F2);function J2(t,r,i,...u){if(t(i))return i;for(let o=0;o<u.length;++o){const f=u[o];if(t(f))return f}return r}function ar(t,r,...i){return J2(u=>u!=null,t,r,...i)}function xo(t,...r){return r.map(i=>i instanceof Array?i[1]?i[0]:null:i).filter(i=>i!=null).join(t)}xo.bind(null," ");xo.bind(null,",");xo.bind(null,";");xo.bind(null,"|");var Z0=typeof vi=="object"&&vi&&vi.Object===Object&&vi,k2=typeof self=="object"&&self&&self.Object===Object&&self,mr=Z0||k2||Function("return this")(),jn=mr.Symbol,H0=Object.prototype,P2=H0.hasOwnProperty,W2=H0.toString,Nl=jn?jn.toStringTag:void 0;function I2(t){var r=P2.call(t,Nl),i=t[Nl];try{t[Nl]=void 0;var u=!0}catch{}var o=W2.call(t);return u&&(r?t[Nl]=i:delete t[Nl]),o}var ex=Object.prototype,tx=ex.toString;function nx(t){return tx.call(t)}var rx="[object Null]",ax="[object Undefined]",cb=jn?jn.toStringTag:void 0;function Ni(t){return t==null?t===void 0?ax:rx:cb&&cb in Object(t)?I2(t):nx(t)}function Oi(t){return t!=null&&typeof t=="object"}var ix="[object Symbol]";function Ai(t){return typeof t=="symbol"||Oi(t)&&Ni(t)==ix}function Kl(t,r){for(var i=-1,u=t==null?0:t.length,o=Array(u);++i<u;)o[i]=r(t[i],i,t);return o}var Pt=Array.isArray,fb=jn?jn.prototype:void 0,db=fb?fb.toString:void 0;function lu(t){if(typeof t=="string")return t;if(Pt(t))return Kl(t,lu)+"";if(Ai(t))return db?db.call(t):"";var r=t+"";return r=="0"&&1/t==-1/0?"-0":r}var lx=/\s/;function G0(t){for(var r=t.length;r--&&lx.test(t.charAt(r)););return r}var ux=/^\s+/;function Y0(t){return t&&t.slice(0,G0(t)+1).replace(ux,"")}function Pr(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var hb=NaN,sx=/^[-+]0x[0-9a-f]+$/i,ox=/^0b[01]+$/i,cx=/^0o[0-7]+$/i,fx=parseInt;function dx(t){if(typeof t=="number")return t;if(Ai(t))return hb;if(Pr(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=Pr(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=Y0(t);var i=ox.test(t);return i||cx.test(t)?fx(t.slice(2),i?2:8):sx.test(t)?hb:+t}var pb=1/0,hx=17976931348623157e292;function px(t){if(!t)return t===0?t:0;if(t=dx(t),t===pb||t===-pb){var r=t<0?-1:1;return r*hx}return t===t?t:0}function mx(t){var r=px(t),i=r%1;return r===r?i?r-i:r:0}function Eo(t){return t}var yx="[object AsyncFunction]",gx="[object Function]",bx="[object GeneratorFunction]",vx="[object Proxy]";function V0(t){if(!Pr(t))return!1;var r=Ni(t);return r==gx||r==bx||r==yx||r==vx}var vd=mr["__core-js_shared__"],mb=function(){var t=/[^.]+$/.exec(vd&&vd.keys&&vd.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function _x(t){return!!mb&&mb in t}var wx=Function.prototype,Sx=wx.toString;function Aa(t){if(t!=null){try{return Sx.call(t)}catch{}try{return t+""}catch{}}return""}var xx=/[\\^$.*+?()[\]{}|]/g,Ex=/^\[object .+?Constructor\]$/,Tx=Function.prototype,Ox=Object.prototype,Ax=Tx.toString,$x=Ox.hasOwnProperty,Rx=RegExp("^"+Ax.call($x).replace(xx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Cx(t){if(!Pr(t)||_x(t))return!1;var r=V0(t)?Rx:Ex;return r.test(Aa(t))}function Mx(t,r){return t?.[r]}function $a(t,r){var i=Mx(t,r);return Cx(i)?i:void 0}var Zd=$a(mr,"WeakMap");function Nx(t,r,i){switch(i.length){case 0:return t.call(r);case 1:return t.call(r,i[0]);case 2:return t.call(r,i[0],i[1]);case 3:return t.call(r,i[0],i[1],i[2])}return t.apply(r,i)}function xa(){}var zx=800,Dx=16,qx=Date.now;function Ux(t){var r=0,i=0;return function(){var u=qx(),o=Dx-(u-i);if(i=u,o>0){if(++r>=zx)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}function Bx(t){return function(){return t}}var yo=function(){try{var t=$a(Object,"defineProperty");return t({},"",{}),t}catch{}}(),jx=yo?function(t,r){return yo(t,"toString",{configurable:!0,enumerable:!1,value:Bx(r),writable:!0})}:Eo,Lx=Ux(jx);function X0(t,r,i,u){for(var o=t.length,f=i+-1;++f<o;)if(r(t[f],f,t))return f;return-1}function Zx(t){return t!==t}function Hx(t,r,i){for(var u=i-1,o=t.length;++u<o;)if(t[u]===r)return u;return-1}function Q0(t,r,i){return r===r?Hx(t,r,i):X0(t,Zx,i)}var Gx=9007199254740991,Yx=/^(?:0|[1-9]\d*)$/;function To(t,r){var i=typeof t;return r=r??Gx,!!r&&(i=="number"||i!="symbol"&&Yx.test(t))&&t>-1&&t%1==0&&t<r}function K0(t,r,i){r=="__proto__"&&yo?yo(t,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[r]=i}function Oo(t,r){return t===r||t!==t&&r!==r}var Vx=Object.prototype,Xx=Vx.hasOwnProperty;function Qx(t,r,i){var u=t[r];(!(Xx.call(t,r)&&Oo(u,i))||i===void 0&&!(r in t))&&K0(t,r,i)}var yb=Math.max;function Kx(t,r,i){return r=yb(r===void 0?t.length-1:r,0),function(){for(var u=arguments,o=-1,f=yb(u.length-r,0),d=Array(f);++o<f;)d[o]=u[r+o];o=-1;for(var y=Array(r+1);++o<r;)y[o]=u[o];return y[r]=i(d),Nx(t,this,y)}}function Fx(t,r){return Lx(Kx(t,r,Eo),t+"")}var Jx=9007199254740991;function hh(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Jx}function Ao(t){return t!=null&&hh(t.length)&&!V0(t)}function gb(t,r,i){if(!Pr(i))return!1;var u=typeof r;return(u=="number"?Ao(i)&&To(r,i.length):u=="string"&&r in i)?Oo(i[r],t):!1}var kx=Object.prototype;function Px(t){var r=t&&t.constructor,i=typeof r=="function"&&r.prototype||kx;return t===i}function Wx(t,r){for(var i=-1,u=Array(t);++i<t;)u[i]=r(i);return u}var Ix="[object Arguments]";function bb(t){return Oi(t)&&Ni(t)==Ix}var F0=Object.prototype,eE=F0.hasOwnProperty,tE=F0.propertyIsEnumerable,ph=bb(function(){return arguments}())?bb:function(t){return Oi(t)&&eE.call(t,"callee")&&!tE.call(t,"callee")};function nE(){return!1}var J0=typeof sr=="object"&&sr&&!sr.nodeType&&sr,vb=J0&&typeof or=="object"&&or&&!or.nodeType&&or,rE=vb&&vb.exports===J0,_b=rE?mr.Buffer:void 0,aE=_b?_b.isBuffer:void 0,Hd=aE||nE,iE="[object Arguments]",lE="[object Array]",uE="[object Boolean]",sE="[object Date]",oE="[object Error]",cE="[object Function]",fE="[object Map]",dE="[object Number]",hE="[object Object]",pE="[object RegExp]",mE="[object Set]",yE="[object String]",gE="[object WeakMap]",bE="[object ArrayBuffer]",vE="[object DataView]",_E="[object Float32Array]",wE="[object Float64Array]",SE="[object Int8Array]",xE="[object Int16Array]",EE="[object Int32Array]",TE="[object Uint8Array]",OE="[object Uint8ClampedArray]",AE="[object Uint16Array]",$E="[object Uint32Array]",Ze={};Ze[_E]=Ze[wE]=Ze[SE]=Ze[xE]=Ze[EE]=Ze[TE]=Ze[OE]=Ze[AE]=Ze[$E]=!0;Ze[iE]=Ze[lE]=Ze[bE]=Ze[uE]=Ze[vE]=Ze[sE]=Ze[oE]=Ze[cE]=Ze[fE]=Ze[dE]=Ze[hE]=Ze[pE]=Ze[mE]=Ze[yE]=Ze[gE]=!1;function RE(t){return Oi(t)&&hh(t.length)&&!!Ze[Ni(t)]}function k0(t){return function(r){return t(r)}}var P0=typeof sr=="object"&&sr&&!sr.nodeType&&sr,Fl=P0&&typeof or=="object"&&or&&!or.nodeType&&or,CE=Fl&&Fl.exports===P0,_d=CE&&Z0.process,wb=function(){try{var t=Fl&&Fl.require&&Fl.require("util").types;return t||_d&&_d.binding&&_d.binding("util")}catch{}}(),Sb=wb&&wb.isTypedArray,W0=Sb?k0(Sb):RE,ME=Object.prototype,NE=ME.hasOwnProperty;function zE(t,r){var i=Pt(t),u=!i&&ph(t),o=!i&&!u&&Hd(t),f=!i&&!u&&!o&&W0(t),d=i||u||o||f,y=d?Wx(t.length,String):[],m=y.length;for(var h in t)NE.call(t,h)&&!(d&&(h=="length"||o&&(h=="offset"||h=="parent")||f&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||To(h,m)))&&y.push(h);return y}function DE(t,r){return function(i){return t(r(i))}}var qE=DE(Object.keys,Object),UE=Object.prototype,BE=UE.hasOwnProperty;function jE(t){if(!Px(t))return qE(t);var r=[];for(var i in Object(t))BE.call(t,i)&&i!="constructor"&&r.push(i);return r}function $o(t){return Ao(t)?zE(t):jE(t)}var LE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ZE=/^\w*$/;function mh(t,r){if(Pt(t))return!1;var i=typeof t;return i=="number"||i=="symbol"||i=="boolean"||t==null||Ai(t)?!0:ZE.test(t)||!LE.test(t)||r!=null&&t in Object(r)}var kl=$a(Object,"create");function HE(){this.__data__=kl?kl(null):{},this.size=0}function GE(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var YE="__lodash_hash_undefined__",VE=Object.prototype,XE=VE.hasOwnProperty;function QE(t){var r=this.__data__;if(kl){var i=r[t];return i===YE?void 0:i}return XE.call(r,t)?r[t]:void 0}var KE=Object.prototype,FE=KE.hasOwnProperty;function JE(t){var r=this.__data__;return kl?r[t]!==void 0:FE.call(r,t)}var kE="__lodash_hash_undefined__";function PE(t,r){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=kl&&r===void 0?kE:r,this}function Ea(t){var r=-1,i=t==null?0:t.length;for(this.clear();++r<i;){var u=t[r];this.set(u[0],u[1])}}Ea.prototype.clear=HE;Ea.prototype.delete=GE;Ea.prototype.get=QE;Ea.prototype.has=JE;Ea.prototype.set=PE;function WE(){this.__data__=[],this.size=0}function Ro(t,r){for(var i=t.length;i--;)if(Oo(t[i][0],r))return i;return-1}var IE=Array.prototype,eT=IE.splice;function tT(t){var r=this.__data__,i=Ro(r,t);if(i<0)return!1;var u=r.length-1;return i==u?r.pop():eT.call(r,i,1),--this.size,!0}function nT(t){var r=this.__data__,i=Ro(r,t);return i<0?void 0:r[i][1]}function rT(t){return Ro(this.__data__,t)>-1}function aT(t,r){var i=this.__data__,u=Ro(i,t);return u<0?(++this.size,i.push([t,r])):i[u][1]=r,this}function yr(t){var r=-1,i=t==null?0:t.length;for(this.clear();++r<i;){var u=t[r];this.set(u[0],u[1])}}yr.prototype.clear=WE;yr.prototype.delete=tT;yr.prototype.get=nT;yr.prototype.has=rT;yr.prototype.set=aT;var Pl=$a(mr,"Map");function iT(){this.size=0,this.__data__={hash:new Ea,map:new(Pl||yr),string:new Ea}}function lT(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function Co(t,r){var i=t.__data__;return lT(r)?i[typeof r=="string"?"string":"hash"]:i.map}function uT(t){var r=Co(this,t).delete(t);return this.size-=r?1:0,r}function sT(t){return Co(this,t).get(t)}function oT(t){return Co(this,t).has(t)}function cT(t,r){var i=Co(this,t),u=i.size;return i.set(t,r),this.size+=i.size==u?0:1,this}function gr(t){var r=-1,i=t==null?0:t.length;for(this.clear();++r<i;){var u=t[r];this.set(u[0],u[1])}}gr.prototype.clear=iT;gr.prototype.delete=uT;gr.prototype.get=sT;gr.prototype.has=oT;gr.prototype.set=cT;var fT="Expected a function";function yh(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new TypeError(fT);var i=function(){var u=arguments,o=r?r.apply(this,u):u[0],f=i.cache;if(f.has(o))return f.get(o);var d=t.apply(this,u);return i.cache=f.set(o,d)||f,d};return i.cache=new(yh.Cache||gr),i}yh.Cache=gr;var dT=500;function hT(t){var r=yh(t,function(u){return i.size===dT&&i.clear(),u}),i=r.cache;return r}var pT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mT=/\\(\\)?/g,yT=hT(function(t){var r=[];return t.charCodeAt(0)===46&&r.push(""),t.replace(pT,function(i,u,o,f){r.push(o?f.replace(mT,"$1"):u||i)}),r});function Ra(t){return t==null?"":lu(t)}function gh(t,r){return Pt(t)?t:mh(t,r)?[t]:yT(Ra(t))}function uu(t){if(typeof t=="string"||Ai(t))return t;var r=t+"";return r=="0"&&1/t==-1/0?"-0":r}function bh(t,r){r=gh(r,t);for(var i=0,u=r.length;t!=null&&i<u;)t=t[uu(r[i++])];return i&&i==u?t:void 0}function Ta(t,r,i){var u=t==null?void 0:bh(t,r);return u===void 0?i:u}function I0(t,r){for(var i=-1,u=r.length,o=t.length;++i<u;)t[o+i]=r[i];return t}var xb=jn?jn.isConcatSpreadable:void 0;function gT(t){return Pt(t)||ph(t)||!!(xb&&t&&t[xb])}function bT(t,r,i,u,o){var f=-1,d=t.length;for(i||(i=gT),o||(o=[]);++f<d;){var y=t[f];i(y)?I0(o,y):o[o.length]=y}return o}function ev(t,r,i){var u=-1,o=t.length;r<0&&(r=-r>o?0:o+r),i=i>o?o:i,i<0&&(i+=o),o=r>i?0:i-r>>>0,r>>>=0;for(var f=Array(o);++u<o;)f[u]=t[u+r];return f}function Mo(t,r,i){var u=t.length;return i=i===void 0?u:i,!r&&i>=u?t:ev(t,r,i)}var vT="\\ud800-\\udfff",_T="\\u0300-\\u036f",wT="\\ufe20-\\ufe2f",ST="\\u20d0-\\u20ff",xT=_T+wT+ST,ET="\\ufe0e\\ufe0f",TT="\\u200d",OT=RegExp("["+TT+vT+xT+ET+"]");function tv(t){return OT.test(t)}function AT(t){return t.split("")}var nv="\\ud800-\\udfff",$T="\\u0300-\\u036f",RT="\\ufe20-\\ufe2f",CT="\\u20d0-\\u20ff",MT=$T+RT+CT,NT="\\ufe0e\\ufe0f",zT="["+nv+"]",Gd="["+MT+"]",Yd="\\ud83c[\\udffb-\\udfff]",DT="(?:"+Gd+"|"+Yd+")",rv="[^"+nv+"]",av="(?:\\ud83c[\\udde6-\\uddff]){2}",iv="[\\ud800-\\udbff][\\udc00-\\udfff]",qT="\\u200d",lv=DT+"?",uv="["+NT+"]?",UT="(?:"+qT+"(?:"+[rv,av,iv].join("|")+")"+uv+lv+")*",BT=uv+lv+UT,jT="(?:"+[rv+Gd+"?",Gd,av,iv,zT].join("|")+")",LT=RegExp(Yd+"(?="+Yd+")|"+jT+BT,"g");function ZT(t){return t.match(LT)||[]}function Oa(t){return tv(t)?ZT(t):AT(t)}function HT(t){return function(r){r=Ra(r);var i=tv(r)?Oa(r):void 0,u=i?i[0]:r.charAt(0),o=i?Mo(i,1).join(""):r.slice(1);return u[t]()+o}}var GT=HT("toUpperCase");function YT(t,r,i,u){for(var o=-1,f=t==null?0:t.length;++o<f;)i=r(i,t[o],o,t);return i}function VT(t){return function(r){return t?.[r]}}var XT={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},QT=VT(XT),KT=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,FT="\\u0300-\\u036f",JT="\\ufe20-\\ufe2f",kT="\\u20d0-\\u20ff",PT=FT+JT+kT,WT="["+PT+"]",IT=RegExp(WT,"g");function e3(t){return t=Ra(t),t&&t.replace(KT,QT).replace(IT,"")}var t3=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function n3(t){return t.match(t3)||[]}var r3=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function a3(t){return r3.test(t)}var sv="\\ud800-\\udfff",i3="\\u0300-\\u036f",l3="\\ufe20-\\ufe2f",u3="\\u20d0-\\u20ff",s3=i3+l3+u3,ov="\\u2700-\\u27bf",cv="a-z\\xdf-\\xf6\\xf8-\\xff",o3="\\xac\\xb1\\xd7\\xf7",c3="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",f3="\\u2000-\\u206f",d3=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fv="A-Z\\xc0-\\xd6\\xd8-\\xde",h3="\\ufe0e\\ufe0f",dv=o3+c3+f3+d3,hv="['’]",Eb="["+dv+"]",p3="["+s3+"]",pv="\\d+",m3="["+ov+"]",mv="["+cv+"]",yv="[^"+sv+dv+pv+ov+cv+fv+"]",y3="\\ud83c[\\udffb-\\udfff]",g3="(?:"+p3+"|"+y3+")",b3="[^"+sv+"]",gv="(?:\\ud83c[\\udde6-\\uddff]){2}",bv="[\\ud800-\\udbff][\\udc00-\\udfff]",gi="["+fv+"]",v3="\\u200d",Tb="(?:"+mv+"|"+yv+")",_3="(?:"+gi+"|"+yv+")",Ob="(?:"+hv+"(?:d|ll|m|re|s|t|ve))?",Ab="(?:"+hv+"(?:D|LL|M|RE|S|T|VE))?",vv=g3+"?",_v="["+h3+"]?",w3="(?:"+v3+"(?:"+[b3,gv,bv].join("|")+")"+_v+vv+")*",S3="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",x3="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",E3=_v+vv+w3,T3="(?:"+[m3,gv,bv].join("|")+")"+E3,O3=RegExp([gi+"?"+mv+"+"+Ob+"(?="+[Eb,gi,"$"].join("|")+")",_3+"+"+Ab+"(?="+[Eb,gi+Tb,"$"].join("|")+")",gi+"?"+Tb+"+"+Ob,gi+"+"+Ab,x3,S3,pv,T3].join("|"),"g");function A3(t){return t.match(O3)||[]}function $3(t,r,i){return t=Ra(t),r=r,r===void 0?a3(t)?A3(t):n3(t):t.match(r)||[]}var R3="['’]",C3=RegExp(R3,"g");function wv(t){return function(r){return YT($3(e3(r).replace(C3,"")),t,"")}}function Sv(){if(!arguments.length)return[];var t=arguments[0];return Pt(t)?t:[t]}var M3=Math.ceil,N3=Math.max;function z3(t,r,i){r===void 0?r=1:r=N3(mx(r),0);var u=t==null?0:t.length;if(!u||r<1)return[];for(var o=0,f=0,d=Array(M3(u/r));o<u;)d[f++]=ev(t,o,o+=r);return d}function D3(){this.__data__=new yr,this.size=0}function q3(t){var r=this.__data__,i=r.delete(t);return this.size=r.size,i}function U3(t){return this.__data__.get(t)}function B3(t){return this.__data__.has(t)}var j3=200;function L3(t,r){var i=this.__data__;if(i instanceof yr){var u=i.__data__;if(!Pl||u.length<j3-1)return u.push([t,r]),this.size=++i.size,this;i=this.__data__=new gr(u)}return i.set(t,r),this.size=i.size,this}function cr(t){var r=this.__data__=new yr(t);this.size=r.size}cr.prototype.clear=D3;cr.prototype.delete=q3;cr.prototype.get=U3;cr.prototype.has=B3;cr.prototype.set=L3;function Z3(t,r){for(var i=-1,u=t==null?0:t.length,o=0,f=[];++i<u;){var d=t[i];r(d,i,t)&&(f[o++]=d)}return f}function H3(){return[]}var G3=Object.prototype,Y3=G3.propertyIsEnumerable,$b=Object.getOwnPropertySymbols,V3=$b?function(t){return t==null?[]:(t=Object(t),Z3($b(t),function(r){return Y3.call(t,r)}))}:H3;function X3(t,r,i){var u=r(t);return Pt(t)?u:I0(u,i(t))}function Rb(t){return X3(t,$o,V3)}var Vd=$a(mr,"DataView"),Xd=$a(mr,"Promise"),Qd=$a(mr,"Set"),Cb="[object Map]",Q3="[object Object]",Mb="[object Promise]",Nb="[object Set]",zb="[object WeakMap]",Db="[object DataView]",K3=Aa(Vd),F3=Aa(Pl),J3=Aa(Xd),k3=Aa(Qd),P3=Aa(Zd),Qr=Ni;(Vd&&Qr(new Vd(new ArrayBuffer(1)))!=Db||Pl&&Qr(new Pl)!=Cb||Xd&&Qr(Xd.resolve())!=Mb||Qd&&Qr(new Qd)!=Nb||Zd&&Qr(new Zd)!=zb)&&(Qr=function(t){var r=Ni(t),i=r==Q3?t.constructor:void 0,u=i?Aa(i):"";if(u)switch(u){case K3:return Db;case F3:return Cb;case J3:return Mb;case k3:return Nb;case P3:return zb}return r});var qb=mr.Uint8Array,W3="__lodash_hash_undefined__";function I3(t){return this.__data__.set(t,W3),this}function e4(t){return this.__data__.has(t)}function go(t){var r=-1,i=t==null?0:t.length;for(this.__data__=new gr;++r<i;)this.add(t[r])}go.prototype.add=go.prototype.push=I3;go.prototype.has=e4;function t4(t,r){for(var i=-1,u=t==null?0:t.length;++i<u;)if(r(t[i],i,t))return!0;return!1}function n4(t,r){return t.has(r)}var r4=1,a4=2;function xv(t,r,i,u,o,f){var d=i&r4,y=t.length,m=r.length;if(y!=m&&!(d&&m>y))return!1;var h=f.get(t),b=f.get(r);if(h&&b)return h==r&&b==t;var v=-1,A=!0,C=i&a4?new go:void 0;for(f.set(t,r),f.set(r,t);++v<y;){var U=t[v],O=r[v];if(u)var z=d?u(O,U,v,r,t,f):u(U,O,v,t,r,f);if(z!==void 0){if(z)continue;A=!1;break}if(C){if(!t4(r,function(G,E){if(!n4(C,E)&&(U===G||o(U,G,i,u,f)))return C.push(E)})){A=!1;break}}else if(!(U===O||o(U,O,i,u,f))){A=!1;break}}return f.delete(t),f.delete(r),A}function i4(t){var r=-1,i=Array(t.size);return t.forEach(function(u,o){i[++r]=[o,u]}),i}function l4(t){var r=-1,i=Array(t.size);return t.forEach(function(u){i[++r]=u}),i}var u4=1,s4=2,o4="[object Boolean]",c4="[object Date]",f4="[object Error]",d4="[object Map]",h4="[object Number]",p4="[object RegExp]",m4="[object Set]",y4="[object String]",g4="[object Symbol]",b4="[object ArrayBuffer]",v4="[object DataView]",Ub=jn?jn.prototype:void 0,wd=Ub?Ub.valueOf:void 0;function _4(t,r,i,u,o,f,d){switch(i){case v4:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case b4:return!(t.byteLength!=r.byteLength||!f(new qb(t),new qb(r)));case o4:case c4:case h4:return Oo(+t,+r);case f4:return t.name==r.name&&t.message==r.message;case p4:case y4:return t==r+"";case d4:var y=i4;case m4:var m=u&u4;if(y||(y=l4),t.size!=r.size&&!m)return!1;var h=d.get(t);if(h)return h==r;u|=s4,d.set(t,r);var b=xv(y(t),y(r),u,o,f,d);return d.delete(t),b;case g4:if(wd)return wd.call(t)==wd.call(r)}return!1}var w4=1,S4=Object.prototype,x4=S4.hasOwnProperty;function E4(t,r,i,u,o,f){var d=i&w4,y=Rb(t),m=y.length,h=Rb(r),b=h.length;if(m!=b&&!d)return!1;for(var v=m;v--;){var A=y[v];if(!(d?A in r:x4.call(r,A)))return!1}var C=f.get(t),U=f.get(r);if(C&&U)return C==r&&U==t;var O=!0;f.set(t,r),f.set(r,t);for(var z=d;++v<m;){A=y[v];var G=t[A],E=r[A];if(u)var D=d?u(E,G,A,r,t,f):u(G,E,A,t,r,f);if(!(D===void 0?G===E||o(G,E,i,u,f):D)){O=!1;break}z||(z=A=="constructor")}if(O&&!z){var Y=t.constructor,j=r.constructor;Y!=j&&"constructor"in t&&"constructor"in r&&!(typeof Y=="function"&&Y instanceof Y&&typeof j=="function"&&j instanceof j)&&(O=!1)}return f.delete(t),f.delete(r),O}var T4=1,Bb="[object Arguments]",jb="[object Array]",Bs="[object Object]",O4=Object.prototype,Lb=O4.hasOwnProperty;function A4(t,r,i,u,o,f){var d=Pt(t),y=Pt(r),m=d?jb:Qr(t),h=y?jb:Qr(r);m=m==Bb?Bs:m,h=h==Bb?Bs:h;var b=m==Bs,v=h==Bs,A=m==h;if(A&&Hd(t)){if(!Hd(r))return!1;d=!0,b=!1}if(A&&!b)return f||(f=new cr),d||W0(t)?xv(t,r,i,u,o,f):_4(t,r,m,i,u,o,f);if(!(i&T4)){var C=b&&Lb.call(t,"__wrapped__"),U=v&&Lb.call(r,"__wrapped__");if(C||U){var O=C?t.value():t,z=U?r.value():r;return f||(f=new cr),o(O,z,i,u,f)}}return A?(f||(f=new cr),E4(t,r,i,u,o,f)):!1}function vh(t,r,i,u,o){return t===r?!0:t==null||r==null||!Oi(t)&&!Oi(r)?t!==t&&r!==r:A4(t,r,i,u,vh,o)}var $4=1,R4=2;function C4(t,r,i,u){var o=i.length,f=o;if(t==null)return!f;for(t=Object(t);o--;){var d=i[o];if(d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}for(;++o<f;){d=i[o];var y=d[0],m=t[y],h=d[1];if(d[2]){if(m===void 0&&!(y in t))return!1}else{var b=new cr,v;if(!(v===void 0?vh(h,m,$4|R4,u,b):v))return!1}}return!0}function Ev(t){return t===t&&!Pr(t)}function M4(t){for(var r=$o(t),i=r.length;i--;){var u=r[i],o=t[u];r[i]=[u,o,Ev(o)]}return r}function Tv(t,r){return function(i){return i==null?!1:i[t]===r&&(r!==void 0||t in Object(i))}}function N4(t){var r=M4(t);return r.length==1&&r[0][2]?Tv(r[0][0],r[0][1]):function(i){return i===t||C4(i,t,r)}}function z4(t,r){return t!=null&&r in Object(t)}function D4(t,r,i){r=gh(r,t);for(var u=-1,o=r.length,f=!1;++u<o;){var d=uu(r[u]);if(!(f=t!=null&&i(t,d)))break;t=t[d]}return f||++u!=o?f:(o=t==null?0:t.length,!!o&&hh(o)&&To(d,o)&&(Pt(t)||ph(t)))}function q4(t,r){return t!=null&&D4(t,r,z4)}var U4=1,B4=2;function j4(t,r){return mh(t)&&Ev(r)?Tv(uu(t),r):function(i){var u=Ta(i,t);return u===void 0&&u===r?q4(i,t):vh(r,u,U4|B4)}}function L4(t){return function(r){return r?.[t]}}function Z4(t){return function(r){return bh(r,t)}}function H4(t){return mh(t)?L4(uu(t)):Z4(t)}function _h(t){return typeof t=="function"?t:t==null?Eo:typeof t=="object"?Pt(t)?j4(t[0],t[1]):N4(t):H4(t)}function G4(t,r,i,u){for(var o=-1,f=t==null?0:t.length;++o<f;){var d=t[o];r(u,d,i(d),t)}return u}function Y4(t){return function(r,i,u){for(var o=-1,f=Object(r),d=u(r),y=d.length;y--;){var m=d[++o];if(i(f[m],m,f)===!1)break}return r}}var V4=Y4();function X4(t,r){return t&&V4(t,r,$o)}function Q4(t,r){return function(i,u){if(i==null)return i;if(!Ao(i))return t(i,u);for(var o=i.length,f=-1,d=Object(i);++f<o&&u(d[f],f,d)!==!1;);return i}}var Ov=Q4(X4);function K4(t,r,i,u){return Ov(t,function(o,f,d){r(u,o,i(o),d)}),u}function F4(t,r){return function(i,u){var o=Pt(i)?G4:K4,f={};return o(i,t,_h(u),f)}}function J4(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}function Zb(t,r,i){var u=t==null?0:t.length;if(!u)return-1;var o=0;return X0(t,_h(r),o)}function k4(t,r){var i=-1,u=Ao(t)?Array(t.length):[];return Ov(t,function(o,f,d){u[++i]=r(o,f,d)}),u}function P4(t,r){return Kl(r,function(i){return t[i]})}function $t(t){return t==null?[]:P4(t,$o(t))}var W4=wv(function(t,r,i){return t+(i?"-":"")+r.toLowerCase()}),dt=F4(function(t,r,i){K0(t,i,r)});function I4(t,r,i,u){if(!Pr(t))return t;r=gh(r,t);for(var o=-1,f=r.length,d=f-1,y=t;y!=null&&++o<f;){var m=uu(r[o]),h=i;if(m==="__proto__"||m==="constructor"||m==="prototype")return t;if(o!=d){var b=y[m];h=void 0,h===void 0&&(h=Pr(b)?b:To(r[o+1])?[]:{})}Qx(y,m,h),y=y[m]}return t}function eO(t,r){var i=t.length;for(t.sort(r);i--;)t[i]=t[i].value;return t}function tO(t,r){if(t!==r){var i=t!==void 0,u=t===null,o=t===t,f=Ai(t),d=r!==void 0,y=r===null,m=r===r,h=Ai(r);if(!y&&!h&&!f&&t>r||f&&d&&m&&!y&&!h||u&&d&&m||!i&&m||!o)return 1;if(!u&&!f&&!h&&t<r||h&&i&&o&&!u&&!f||y&&i&&o||!d&&o||!m)return-1}return 0}function nO(t,r,i){for(var u=-1,o=t.criteria,f=r.criteria,d=o.length,y=i.length;++u<d;){var m=tO(o[u],f[u]);if(m){if(u>=y)return m;var h=i[u];return m*(h=="desc"?-1:1)}}return t.index-r.index}function rO(t,r,i){r.length?r=Kl(r,function(f){return Pt(f)?function(d){return bh(d,f.length===1?f[0]:f)}:f}):r=[Eo];var u=-1;r=Kl(r,k0(_h));var o=k4(t,function(f,d,y){var m=Kl(r,function(h){return h(f)});return{criteria:m,index:++u,value:f}});return eO(o,function(f,d){return nO(f,d,i)})}function wh(t,r,i){return t==null?t:I4(t,r,i)}var aO=Fx(function(t,r){if(t==null)return[];var i=r.length;return i>1&&gb(t,r[0],r[1])?r=[]:i>2&&gb(r[0],r[1],r[2])&&(r=[r[0]]),rO(t,bT(r),[])}),Av=wv(function(t,r,i){return t+(i?" ":"")+GT(r)});function $v(t,r){for(var i=t.length;i--&&Q0(r,t[i],0)>-1;);return i}function Rv(t,r){for(var i=-1,u=t.length;++i<u&&Q0(r,t[i],0)>-1;);return i}function Be(t,r,i){if(t=Ra(t),t&&r===void 0)return Y0(t);if(!t||!(r=lu(r)))return t;var u=Oa(t),o=Oa(r),f=Rv(u,o),d=$v(u,o)+1;return Mo(u,f,d).join("")}function iO(t,r,i){if(t=Ra(t),t&&r===void 0)return t.slice(0,G0(t)+1);if(!t||!(r=lu(r)))return t;var u=Oa(t),o=$v(u,Oa(r))+1;return Mo(u,0,o).join("")}var lO=/^\s+/;function su(t,r,i){if(t=Ra(t),t&&r===void 0)return t.replace(lO,"");if(!t||!(r=lu(r)))return t;var u=Oa(t),o=Rv(u,Oa(r));return Mo(u,o).join("")}function zl(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function uO(t){return t!=null&&Object.prototype.hasOwnProperty.call(t,"xl")}class Ut{constructor(r,i){zl(this,"xl",void 0),zl(this,"lg",void 0),zl(this,"md",void 0),zl(this,"sm",void 0),zl(this,"xs",void 0),uO(r)?(this.xl=r.xl,this.lg=ar(this.xl,r.lg),this.md=ar(this.lg,r.md),this.sm=ar(this.md,r.sm),this.xs=ar(this.sm,r.xs)):(this.xl=ar(i,r),this.lg=ar(i,r),this.md=ar(i,r),this.sm=ar(i,r),this.xs=ar(i,r))}}var H=function(t){return t.ExtraSmall="xs",t.Small="sm",t.Medium="md",t.Large="lg",t.ExtraLarge="xl",t}({});function sO(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class oO{break(r){return`@media only screen and (max-width: ${this.breakpoints[r]})`}constructor(){sO(this,"breakpoints",{[H.ExtraSmall]:"600px",[H.Small]:"900px",[H.Medium]:"1200px",[H.Large]:"1536px",[H.ExtraLarge]:"Infinity"})}}function hr(t,r){const i=r+t,u=i+t,o=u+t,f=o+t;return{[H.ExtraSmall]:r,[H.Small]:i,[H.Medium]:u,[H.Large]:o,[H.ExtraLarge]:f}}function Bt(t,r){return{[H.ExtraSmall]:`${t.xs}${r}`,[H.Small]:`${t.sm}${r}`,[H.Medium]:`${t.md}${r}`,[H.Large]:`${t.lg}${r}`,[H.ExtraLarge]:`${t.xl}${r}`}}function cO(t=1,r=2){const i=t+r,u=r+i,o=i+u;return{[H.ExtraSmall]:t,[H.Small]:r,[H.Medium]:i,[H.Large]:u,[H.ExtraLarge]:o}}function ou(t,r){const i=r*t,u=i*t,o=u*t,f=o*t;return{[H.ExtraSmall]:r,[H.Small]:i,[H.Medium]:u,[H.Large]:o,[H.ExtraLarge]:f}}var He=function(t){return t.Default="default",t.Fit="fit",t.Full="full",t}({});function Sn(){return{[He.Default]:"auto",[He.Fit]:"fit-content",[He.Full]:"100%"}}var Un=function(t){return t.None="none",t}({});function Kr(){return{[Un.None]:"0"}}function mi(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Sh{_sizeChart(r,i){const u={...i,...Kr(),...Sn()},o=new Sh;return wh(o,r,u),o}gap(r=H.Medium){return this._gaps[r]}thickness(r=H.ExtraSmall){return this._thickness[r]}rounding(r=Un.None){return this._rounding[r]}constructor(){mi(this,"_gaps",{...Bt(cO(.5,1),"rem"),...Kr(),[He.Default]:"auto"}),mi(this,"_thickness",{...Bt(hr(.0625,.0625),"rem"),...Kr()}),mi(this,"_rounding",{...Bt(hr(.15,.25),"rem"),...Kr(),[He.Full]:"50%"}),mi(this,"gapsChart",this._sizeChart.bind(this,"_gaps")),mi(this,"thicknessChart",this._sizeChart.bind(this,"_thickness")),mi(this,"roundingChart",this._sizeChart.bind(this,"_rounding"))}}const fO=1024,dO=1048576,hO=1073741824,pO=1099511627776,mO=0x4000000000000;function cu(t,r){return Math.ceil(t*r)}cu.bind(null,fO);cu.bind(null,dO);cu.bind(null,hO);cu.bind(null,pO);cu.bind(null,mO);function yO(t,r,i,...u){if(t(i))return i;for(let o=0;o<u.length;++o){const f=u[o];if(t(f))return f}return r}function js(t,r,...i){return yO(u=>u!=null,t,r,...i)}function No(t,...r){return r.map(i=>i instanceof Array?i[1]?i[0]:null:i).filter(i=>i!=null).join(t)}No.bind(null," ");No.bind(null,",");No.bind(null,";");No.bind(null,"|");function gO(t,r,i){return i|r<<8|t<<16}function Cv(t){const r=(t&16711680)>>16,i=(t&65280)>>8,u=t&255;return[r,i,u]}function Dl(t,r){let i=(t>>16)+r;i=Math.min(i,255),i=Math.max(i,0);let u=(t>>8&255)+r;u=Math.min(u,255),u=Math.max(u,0);let o=(t&255)+r;return o=Math.min(o,255),o=Math.max(o,0),gO(i,u,o)}function Hb(t){const[f,d,y]=Cv(t),m=[f,d,y].map(h=>(h/=255,h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4)));return m[0]*.2126+m[1]*.7152+m[2]*.0722}function Gb(t,r){const i=Hb(t),u=Hb(r),o=Math.max(i,u),f=Math.min(i,u);return(o+.05)/(f+.05)}function zo(t,r,i,u=1){return t=Math.floor(Math.min(255,Math.max(0,t))),r=Math.floor(Math.min(255,Math.max(0,r))),i=Math.floor(Math.min(255,Math.max(0,i))),u=Math.min(1,Math.max(0,u)),`rgba(${t}, ${r}, ${i}, ${u})`}const bO=zo.bind(null,0,0,0,0),Kd=zo.bind(null,0,0,0,1),Yb=zo.bind(null,255,255,255,1);function Vb(t){const[r,i,u]=Cv(t);return zo(r,i,u)}function vO(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Wt{get idle(){const{fashion:r}=this;return{get main(){return r.idle.main},get contrast(){return r.idle.contrast},get border(){return js(this.main,r.idle.border)}}}get hover(){return this._getStateWithFallbackToIdle(this.fashion.hover)}get focus(){return this._getStateWithFallbackToIdle(this.fashion.focus)}get active(){return this._getStateWithFallbackToIdle(this.fashion.active)}get visited(){return this._getStateWithFallbackToIdle(this.fashion.visited)}_getStateWithFallbackToIdle(r){const{idle:i}=this;return{get main(){return js(i.main,r?.main)},get contrast(){return js(i.contrast,r?.contrast)},get border(){return js(i.border,r?.border)}}}constructor(r){vO(this,"fashion",void 0),this.fashion=r}}function _O(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Sd{main(r){return this._state.main=r,this}contrast(r){return this._state.contrast=r,this}border(r){return this._state.border=r,this}transparent(){return this._state.main=bO(),this._state.contrast="inherit",delete this._state.border,this}inherit(){return this._state.main="inherit",this._state.contrast="inherit",delete this._state.border,this}build(){return{...this._state}}constructor(){_O(this,"_state",void 0),this._state={}}}function wO(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Ue{name(r){return this._fashion.name=r,this}clear(){return delete this._fashion.active,delete this._fashion.focus,delete this._fashion.hover,delete this._fashion.visited,delete this._fashion.idle.border,this}spectrum(r,i=77){const u=o=>{const f=Gb(o,16777215),d=Gb(o,0);return new Sd().main(Vb(o)).contrast(f>=d?Yb():Kd()).border(Vb(Dl(o,-i))).build()};return this.idle(u(r)).focus(u(Dl(r,-i))).hover(u(Dl(r,i))).active(u(Dl(r,i*1.15))).visited(u(Dl(r,-i*1.15)))}idle(r){return this._fashion.idle=Object.assign({},this._fashion.idle,r),this}focus(r){return this._fashion.focus={...r},this}hover(r){return this._fashion.hover={...r},this}active(r){return this._fashion.active={...r},this}visited(r){return this._fashion.visited={...r},this}transparent(){return this.clear().idle(new Sd().transparent().build())}inherit(){return this.clear().idle(new Sd().inherit().build())}copy(r){return this._fashion=JSON.parse(JSON.stringify(r)),this}build(){return Object.freeze(JSON.parse(JSON.stringify(this._fashion)))}constructor(){wO(this,"_fashion",void 0),this._fashion={idle:{main:Yb(),contrast:Kd()}}}}function SO(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Mv{name(r){return this._design.name=r,this}primary(r){return this._design.primary=r,this}secondary(r){return this._design.secondary=r,this}success(r){return this._design.success=r,this}warning(r){return this._design.warning=r,this}error(r){return this._design.error=r,this}info(r){return this._design.info=r,this}body(r){return this._design.body=r,this}surface(r){return this._design.surface=r,this}component(r){return this._design.component=r,this}light(r){return this._design.light=r,this}dark(r){return this._design.dark=r,this}opposite(r){return this._design.opposite=r,this}copy(r){return this._design=JSON.parse(JSON.stringify(r)),this}build(){return Object.freeze(JSON.parse(JSON.stringify(this._design)))}constructor(){SO(this,"_design",void 0),this._design={name:"Light",primary:new Ue().name("Primary").spectrum(1668818).build(),secondary:new Ue().name("Secondary").spectrum(10233776).build(),success:new Ue().name("Success").spectrum(3046706).build(),warning:new Ue().name("Warning").spectrum(16752194).build(),error:new Ue().name("Error").spectrum(13840175).build(),info:new Ue().name("Info").spectrum(11920895).build(),body:new Ue().name("Body").spectrum(15658734).build(),surface:new Ue().name("Surface").spectrum(16448250).build(),component:new Ue().name("Component").spectrum(14606046).build(),light:new Ue().name("Light").spectrum(16448250).build(),dark:new Ue().name("Dark").spectrum(2171169).build(),opposite:new Ue().name("Opposite").spectrum(2171169).build(),transparent:new Ue().name("Transparent").transparent().build(),inherit:new Ue().name("Inherit").inherit().build()}}}function xO(){return new Ue().name("Primary").spectrum(9489145).build()}function EO(){return new Ue().name("Secondary").spectrum(13538264).build()}function TO(){return new Ue().name("Success").spectrum(6732650).build()}function OO(){return new Ue().name("Warning").spectrum(16754470).build()}function AO(){return new Ue().name("Error").spectrum(11797248).build()}function $O(){return new Ue().name("Info").spectrum(2733814).build()}function RO(){return new Ue().name("Dark").spectrum(2171169).build()}function Nv(){return new Ue().name("Light").spectrum(16448250).build()}function CO(){return new Ue().name("Body").spectrum(2171169).build()}function MO(){return new Ue().name("Surface").spectrum(3355443).build()}function NO(){return new Ue().name("Component").spectrum(5921370).build()}function zO(){return new Ue().copy(Nv()).name("Opposite").build()}function DO(){return new Mv().name("Dark").primary(xO()).secondary(EO()).success(TO()).warning(OO()).error(AO()).info($O()).dark(RO()).light(Nv()).opposite(zO()).body(CO()).surface(MO()).component(NO()).build()}var xd={exports:{}};function qO(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var zv={exports:{}},nt=zv.exports={},Nn,zn;function Fd(){throw new Error("setTimeout has not been defined")}function Jd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Nn=setTimeout:Nn=Fd}catch{Nn=Fd}try{typeof clearTimeout=="function"?zn=clearTimeout:zn=Jd}catch{zn=Jd}})();function Dv(t){if(Nn===setTimeout)return setTimeout(t,0);if((Nn===Fd||!Nn)&&setTimeout)return Nn=setTimeout,setTimeout(t,0);try{return Nn(t,0)}catch{try{return Nn.call(null,t,0)}catch{return Nn.call(this,t,0)}}}function UO(t){if(zn===clearTimeout)return clearTimeout(t);if((zn===Jd||!zn)&&clearTimeout)return zn=clearTimeout,clearTimeout(t);try{return zn(t)}catch{try{return zn.call(null,t)}catch{return zn.call(this,t)}}}var ur=[],wi=!1,wa,Js=-1;function BO(){!wi||!wa||(wi=!1,wa.length?ur=wa.concat(ur):Js=-1,ur.length&&qv())}function qv(){if(!wi){var t=Dv(BO);wi=!0;for(var r=ur.length;r;){for(wa=ur,ur=[];++Js<r;)wa&&wa[Js].run();Js=-1,r=ur.length}wa=null,wi=!1,UO(t)}}nt.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)r[i-1]=arguments[i];ur.push(new Uv(t,r)),ur.length===1&&!wi&&Dv(qv)};function Uv(t,r){this.fun=t,this.array=r}Uv.prototype.run=function(){this.fun.apply(null,this.array)};nt.title="browser";nt.browser=!0;nt.env={};nt.argv=[];nt.version="";nt.versions={};function br(){}nt.on=br;nt.addListener=br;nt.once=br;nt.off=br;nt.removeListener=br;nt.removeAllListeners=br;nt.emit=br;nt.prependListener=br;nt.prependOnceListener=br;nt.listeners=function(t){return[]};nt.binding=function(t){throw new Error("process.binding is not supported")};nt.cwd=function(){return"/"};nt.chdir=function(t){throw new Error("process.chdir is not supported")};nt.umask=function(){return 0};var jO=zv.exports;const Si=qO(jO);var fe={},Xb;function LO(){if(Xb)return fe;Xb=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),A=Symbol.iterator;function C(T){return T===null||typeof T!="object"?null:(T=A&&T[A]||T["@@iterator"],typeof T=="function"?T:null)}var U={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,z={};function G(T,Q,I){this.props=T,this.context=Q,this.refs=z,this.updater=I||U}G.prototype.isReactComponent={},G.prototype.setState=function(T,Q){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,Q,"setState")},G.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function E(){}E.prototype=G.prototype;function D(T,Q,I){this.props=T,this.context=Q,this.refs=z,this.updater=I||U}var Y=D.prototype=new E;Y.constructor=D,O(Y,G.prototype),Y.isPureReactComponent=!0;var j=Array.isArray;function k(){}var L={H:null,A:null,T:null,S:null},oe=Object.prototype.hasOwnProperty;function ne(T,Q,I){var P=I.ref;return{$$typeof:t,type:T,key:Q,ref:P!==void 0?P:null,props:I}}function Me(T,Q){return ne(T.type,Q,T.props)}function ke(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function $e(T){var Q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(I){return Q[I]})}var te=/\/+/g;function ht(T,Q){return typeof T=="object"&&T!==null&&T.key!=null?$e(""+T.key):Q.toString(36)}function B(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(k,k):(T.status="pending",T.then(function(Q){T.status==="pending"&&(T.status="fulfilled",T.value=Q)},function(Q){T.status==="pending"&&(T.status="rejected",T.reason=Q)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function S(T,Q,I,P,ce){var pe=typeof T;(pe==="undefined"||pe==="boolean")&&(T=null);var Ae=!1;if(T===null)Ae=!0;else switch(pe){case"bigint":case"string":case"number":Ae=!0;break;case"object":switch(T.$$typeof){case t:case r:Ae=!0;break;case b:return Ae=T._init,S(Ae(T._payload),Q,I,P,ce)}}if(Ae)return ce=ce(T),Ae=P===""?"."+ht(T,0):P,j(ce)?(I="",Ae!=null&&(I=Ae.replace(te,"$&/")+"/"),S(ce,Q,I,"",function(Bi){return Bi})):ce!=null&&(ke(ce)&&(ce=Me(ce,I+(ce.key==null||T&&T.key===ce.key?"":(""+ce.key).replace(te,"$&/")+"/")+Ae)),Q.push(ce)),1;Ae=0;var Ot=P===""?".":P+":";if(j(T))for(var Pe=0;Pe<T.length;Pe++)P=T[Pe],pe=Ot+ht(P,Pe),Ae+=S(P,Q,I,pe,ce);else if(Pe=C(T),typeof Pe=="function")for(T=Pe.call(T),Pe=0;!(P=T.next()).done;)P=P.value,pe=Ot+ht(P,Pe++),Ae+=S(P,Q,I,pe,ce);else if(pe==="object"){if(typeof T.then=="function")return S(B(T),Q,I,P,ce);throw Q=String(T),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return Ae}function F(T,Q,I){if(T==null)return T;var P=[],ce=0;return S(T,P,"","",function(pe){return Q.call(I,pe,ce++)}),P}function W(T){if(T._status===-1){var Q=T._result;Q=Q(),Q.then(function(I){(T._status===0||T._status===-1)&&(T._status=1,T._result=I)},function(I){(T._status===0||T._status===-1)&&(T._status=2,T._result=I)}),T._status===-1&&(T._status=0,T._result=Q)}if(T._status===1)return T._result.default;throw T._result}var ue=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(Q))return}else if(typeof Si=="object"&&typeof Si.emit=="function"){Si.emit("uncaughtException",T);return}console.error(T)},re={map:F,forEach:function(T,Q,I){F(T,function(){Q.apply(this,arguments)},I)},count:function(T){var Q=0;return F(T,function(){Q++}),Q},toArray:function(T){return F(T,function(Q){return Q})||[]},only:function(T){if(!ke(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return fe.Activity=v,fe.Children=re,fe.Component=G,fe.Fragment=i,fe.Profiler=o,fe.PureComponent=D,fe.StrictMode=u,fe.Suspense=m,fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,fe.__COMPILER_RUNTIME={__proto__:null,c:function(T){return L.H.useMemoCache(T)}},fe.cache=function(T){return function(){return T.apply(null,arguments)}},fe.cacheSignal=function(){return null},fe.cloneElement=function(T,Q,I){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var P=O({},T.props),ce=T.key;if(Q!=null)for(pe in Q.key!==void 0&&(ce=""+Q.key),Q)!oe.call(Q,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&Q.ref===void 0||(P[pe]=Q[pe]);var pe=arguments.length-2;if(pe===1)P.children=I;else if(1<pe){for(var Ae=Array(pe),Ot=0;Ot<pe;Ot++)Ae[Ot]=arguments[Ot+2];P.children=Ae}return ne(T.type,ce,P)},fe.createContext=function(T){return T={$$typeof:d,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},fe.createElement=function(T,Q,I){var P,ce={},pe=null;if(Q!=null)for(P in Q.key!==void 0&&(pe=""+Q.key),Q)oe.call(Q,P)&&P!=="key"&&P!=="__self"&&P!=="__source"&&(ce[P]=Q[P]);var Ae=arguments.length-2;if(Ae===1)ce.children=I;else if(1<Ae){for(var Ot=Array(Ae),Pe=0;Pe<Ae;Pe++)Ot[Pe]=arguments[Pe+2];ce.children=Ot}if(T&&T.defaultProps)for(P in Ae=T.defaultProps,Ae)ce[P]===void 0&&(ce[P]=Ae[P]);return ne(T,pe,ce)},fe.createRef=function(){return{current:null}},fe.forwardRef=function(T){return{$$typeof:y,render:T}},fe.isValidElement=ke,fe.lazy=function(T){return{$$typeof:b,_payload:{_status:-1,_result:T},_init:W}},fe.memo=function(T,Q){return{$$typeof:h,type:T,compare:Q===void 0?null:Q}},fe.startTransition=function(T){var Q=L.T,I={};L.T=I;try{var P=T(),ce=L.S;ce!==null&&ce(I,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&P.then(k,ue)}catch(pe){ue(pe)}finally{Q!==null&&I.types!==null&&(Q.types=I.types),L.T=Q}},fe.unstable_useCacheRefresh=function(){return L.H.useCacheRefresh()},fe.use=function(T){return L.H.use(T)},fe.useActionState=function(T,Q,I){return L.H.useActionState(T,Q,I)},fe.useCallback=function(T,Q){return L.H.useCallback(T,Q)},fe.useContext=function(T){return L.H.useContext(T)},fe.useDebugValue=function(){},fe.useDeferredValue=function(T,Q){return L.H.useDeferredValue(T,Q)},fe.useEffect=function(T,Q){return L.H.useEffect(T,Q)},fe.useEffectEvent=function(T){return L.H.useEffectEvent(T)},fe.useId=function(){return L.H.useId()},fe.useImperativeHandle=function(T,Q,I){return L.H.useImperativeHandle(T,Q,I)},fe.useInsertionEffect=function(T,Q){return L.H.useInsertionEffect(T,Q)},fe.useLayoutEffect=function(T,Q){return L.H.useLayoutEffect(T,Q)},fe.useMemo=function(T,Q){return L.H.useMemo(T,Q)},fe.useOptimistic=function(T,Q){return L.H.useOptimistic(T,Q)},fe.useReducer=function(T,Q,I){return L.H.useReducer(T,Q,I)},fe.useRef=function(T){return L.H.useRef(T)},fe.useState=function(T){return L.H.useState(T)},fe.useSyncExternalStore=function(T,Q,I){return L.H.useSyncExternalStore(T,Q,I)},fe.useTransition=function(){return L.H.useTransition()},fe.version="19.2.0",fe}var Qb;function xh(){return Qb||(Qb=1,xd.exports=LO()),xd.exports}var $=xh();const ZO=dh($);function HO(t){if(t.sheet)return t.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===t)return document.styleSheets[r]}function GO(t){var r=document.createElement("style");return r.setAttribute("data-emotion",t.key),t.nonce!==void 0&&r.setAttribute("nonce",t.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Bv=function(){function t(i){var u=this;this._insertTag=function(o){var f;u.tags.length===0?u.insertionPoint?f=u.insertionPoint.nextSibling:u.prepend?f=u.container.firstChild:f=u.before:f=u.tags[u.tags.length-1].nextSibling,u.container.insertBefore(o,f),u.tags.push(o)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var r=t.prototype;return r.hydrate=function(u){u.forEach(this._insertTag)},r.insert=function(u){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(GO(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var f=HO(o);try{f.insertRule(u,f.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(u));this.ctr++},r.flush=function(){this.tags.forEach(function(u){var o;return(o=u.parentNode)==null?void 0:o.removeChild(u)}),this.tags=[],this.ctr=0},t}(),xt="-ms-",bo="-moz-",Te="-webkit-",jv="comm",Eh="rule",Th="decl",YO="@import",Lv="@keyframes",VO="@layer",XO=Math.abs,Do=String.fromCharCode,QO=Object.assign;function KO(t,r){return _t(t,0)^45?(((r<<2^_t(t,0))<<2^_t(t,1))<<2^_t(t,2))<<2^_t(t,3):0}function Zv(t){return t.trim()}function FO(t,r){return(t=r.exec(t))?t[0]:t}function Oe(t,r,i){return t.replace(r,i)}function kd(t,r){return t.indexOf(r)}function _t(t,r){return t.charCodeAt(r)|0}function Wl(t,r,i){return t.slice(r,i)}function qn(t){return t.length}function Oh(t){return t.length}function Ls(t,r){return r.push(t),t}function JO(t,r){return t.map(r).join("")}var qo=1,$i=1,Hv=0,jt=0,ut=0,zi="";function Uo(t,r,i,u,o,f,d){return{value:t,root:r,parent:i,type:u,props:o,children:f,line:qo,column:$i,length:d,return:""}}function ql(t,r){return QO(Uo("",null,null,"",null,null,0),t,{length:-t.length},r)}function kO(){return ut}function PO(){return ut=jt>0?_t(zi,--jt):0,$i--,ut===10&&($i=1,qo--),ut}function kt(){return ut=jt<Hv?_t(zi,jt++):0,$i++,ut===10&&($i=1,qo++),ut}function Bn(){return _t(zi,jt)}function ks(){return jt}function fu(t,r){return Wl(zi,t,r)}function Il(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Gv(t){return qo=$i=1,Hv=qn(zi=t),jt=0,[]}function Yv(t){return zi="",t}function Ps(t){return Zv(fu(jt-1,Pd(t===91?t+2:t===40?t+1:t)))}function WO(t){for(;(ut=Bn())&&ut<33;)kt();return Il(t)>2||Il(ut)>3?"":" "}function IO(t,r){for(;--r&&kt()&&!(ut<48||ut>102||ut>57&&ut<65||ut>70&&ut<97););return fu(t,ks()+(r<6&&Bn()==32&&kt()==32))}function Pd(t){for(;kt();)switch(ut){case t:return jt;case 34:case 39:t!==34&&t!==39&&Pd(ut);break;case 40:t===41&&Pd(t);break;case 92:kt();break}return jt}function eA(t,r){for(;kt()&&t+ut!==57;)if(t+ut===84&&Bn()===47)break;return"/*"+fu(r,jt-1)+"*"+Do(t===47?t:kt())}function tA(t){for(;!Il(Bn());)kt();return fu(t,jt)}function nA(t){return Yv(Ws("",null,null,null,[""],t=Gv(t),0,[0],t))}function Ws(t,r,i,u,o,f,d,y,m){for(var h=0,b=0,v=d,A=0,C=0,U=0,O=1,z=1,G=1,E=0,D="",Y=o,j=f,k=u,L=D;z;)switch(U=E,E=kt()){case 40:if(U!=108&&_t(L,v-1)==58){kd(L+=Oe(Ps(E),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:L+=Ps(E);break;case 9:case 10:case 13:case 32:L+=WO(U);break;case 92:L+=IO(ks()-1,7);continue;case 47:switch(Bn()){case 42:case 47:Ls(rA(eA(kt(),ks()),r,i),m);break;default:L+="/"}break;case 123*O:y[h++]=qn(L)*G;case 125*O:case 59:case 0:switch(E){case 0:case 125:z=0;case 59+b:G==-1&&(L=Oe(L,/\f/g,"")),C>0&&qn(L)-v&&Ls(C>32?Fb(L+";",u,i,v-1):Fb(Oe(L," ","")+";",u,i,v-2),m);break;case 59:L+=";";default:if(Ls(k=Kb(L,r,i,h,b,o,y,D,Y=[],j=[],v),f),E===123)if(b===0)Ws(L,r,k,k,Y,f,v,y,j);else switch(A===99&&_t(L,3)===110?100:A){case 100:case 108:case 109:case 115:Ws(t,k,k,u&&Ls(Kb(t,k,k,0,0,o,y,D,o,Y=[],v),j),o,j,v,y,u?Y:j);break;default:Ws(L,k,k,k,[""],j,0,y,j)}}h=b=C=0,O=G=1,D=L="",v=d;break;case 58:v=1+qn(L),C=U;default:if(O<1){if(E==123)--O;else if(E==125&&O++==0&&PO()==125)continue}switch(L+=Do(E),E*O){case 38:G=b>0?1:(L+="\f",-1);break;case 44:y[h++]=(qn(L)-1)*G,G=1;break;case 64:Bn()===45&&(L+=Ps(kt())),A=Bn(),b=v=qn(D=L+=tA(ks())),E++;break;case 45:U===45&&qn(L)==2&&(O=0)}}return f}function Kb(t,r,i,u,o,f,d,y,m,h,b){for(var v=o-1,A=o===0?f:[""],C=Oh(A),U=0,O=0,z=0;U<u;++U)for(var G=0,E=Wl(t,v+1,v=XO(O=d[U])),D=t;G<C;++G)(D=Zv(O>0?A[G]+" "+E:Oe(E,/&\f/g,A[G])))&&(m[z++]=D);return Uo(t,r,i,o===0?Eh:y,m,h,b)}function rA(t,r,i){return Uo(t,r,i,jv,Do(kO()),Wl(t,2,-2),0)}function Fb(t,r,i,u){return Uo(t,r,i,Th,Wl(t,0,u),Wl(t,u+1,-1),u)}function xi(t,r){for(var i="",u=Oh(t),o=0;o<u;o++)i+=r(t[o],o,t,r)||"";return i}function aA(t,r,i,u){switch(t.type){case VO:if(t.children.length)break;case YO:case Th:return t.return=t.return||t.value;case jv:return"";case Lv:return t.return=t.value+"{"+xi(t.children,u)+"}";case Eh:t.value=t.props.join(",")}return qn(i=xi(t.children,u))?t.return=t.value+"{"+i+"}":""}function iA(t){var r=Oh(t);return function(i,u,o,f){for(var d="",y=0;y<r;y++)d+=t[y](i,u,o,f)||"";return d}}function lA(t){return function(r){r.root||(r=r.return)&&t(r)}}function uA(t){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=t(i)),r[i]}}var sA=function(r,i,u){for(var o=0,f=0;o=f,f=Bn(),o===38&&f===12&&(i[u]=1),!Il(f);)kt();return fu(r,jt)},oA=function(r,i){var u=-1,o=44;do switch(Il(o)){case 0:o===38&&Bn()===12&&(i[u]=1),r[u]+=sA(jt-1,i,u);break;case 2:r[u]+=Ps(o);break;case 4:if(o===44){r[++u]=Bn()===58?"&\f":"",i[u]=r[u].length;break}default:r[u]+=Do(o)}while(o=kt());return r},cA=function(r,i){return Yv(oA(Gv(r),i))},Jb=new WeakMap,fA=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,u=r.parent,o=r.column===u.column&&r.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!Jb.get(u))&&!o){Jb.set(r,!0);for(var f=[],d=cA(i,f),y=u.props,m=0,h=0;m<d.length;m++)for(var b=0;b<y.length;b++,h++)r.props[h]=f[m]?d[m].replace(/&\f/g,y[b]):y[b]+" "+d[m]}}},dA=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}};function Vv(t,r){switch(KO(t,r)){case 5103:return Te+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Te+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Te+t+bo+t+xt+t+t;case 6828:case 4268:return Te+t+xt+t+t;case 6165:return Te+t+xt+"flex-"+t+t;case 5187:return Te+t+Oe(t,/(\w+).+(:[^]+)/,Te+"box-$1$2"+xt+"flex-$1$2")+t;case 5443:return Te+t+xt+"flex-item-"+Oe(t,/flex-|-self/,"")+t;case 4675:return Te+t+xt+"flex-line-pack"+Oe(t,/align-content|flex-|-self/,"")+t;case 5548:return Te+t+xt+Oe(t,"shrink","negative")+t;case 5292:return Te+t+xt+Oe(t,"basis","preferred-size")+t;case 6060:return Te+"box-"+Oe(t,"-grow","")+Te+t+xt+Oe(t,"grow","positive")+t;case 4554:return Te+Oe(t,/([^-])(transform)/g,"$1"+Te+"$2")+t;case 6187:return Oe(Oe(Oe(t,/(zoom-|grab)/,Te+"$1"),/(image-set)/,Te+"$1"),t,"")+t;case 5495:case 3959:return Oe(t,/(image-set\([^]*)/,Te+"$1$`$1");case 4968:return Oe(Oe(t,/(.+:)(flex-)?(.*)/,Te+"box-pack:$3"+xt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Te+t+t;case 4095:case 3583:case 4068:case 2532:return Oe(t,/(.+)-inline(.+)/,Te+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qn(t)-1-r>6)switch(_t(t,r+1)){case 109:if(_t(t,r+4)!==45)break;case 102:return Oe(t,/(.+:)(.+)-([^]+)/,"$1"+Te+"$2-$3$1"+bo+(_t(t,r+3)==108?"$3":"$2-$3"))+t;case 115:return~kd(t,"stretch")?Vv(Oe(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(_t(t,r+1)!==115)break;case 6444:switch(_t(t,qn(t)-3-(~kd(t,"!important")&&10))){case 107:return Oe(t,":",":"+Te)+t;case 101:return Oe(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Te+(_t(t,14)===45?"inline-":"")+"box$3$1"+Te+"$2$3$1"+xt+"$2box$3")+t}break;case 5936:switch(_t(t,r+11)){case 114:return Te+t+xt+Oe(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Te+t+xt+Oe(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Te+t+xt+Oe(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Te+t+xt+t+t}return t}var hA=function(r,i,u,o){if(r.length>-1&&!r.return)switch(r.type){case Th:r.return=Vv(r.value,r.length);break;case Lv:return xi([ql(r,{value:Oe(r.value,"@","@"+Te)})],o);case Eh:if(r.length)return JO(r.props,function(f){switch(FO(f,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return xi([ql(r,{props:[Oe(f,/:(read-\w+)/,":"+bo+"$1")]})],o);case"::placeholder":return xi([ql(r,{props:[Oe(f,/:(plac\w+)/,":"+Te+"input-$1")]}),ql(r,{props:[Oe(f,/:(plac\w+)/,":"+bo+"$1")]}),ql(r,{props:[Oe(f,/:(plac\w+)/,xt+"input-$1")]})],o)}return""})}},pA=[hA],mA=function(r){var i=r.key;if(i==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(O){var z=O.getAttribute("data-emotion");z.indexOf(" ")!==-1&&(document.head.appendChild(O),O.setAttribute("data-s",""))})}var o=r.stylisPlugins||pA,f={},d,y=[];d=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(O){for(var z=O.getAttribute("data-emotion").split(" "),G=1;G<z.length;G++)f[z[G]]=!0;y.push(O)});var m,h=[fA,dA];{var b,v=[aA,lA(function(O){b.insert(O)})],A=iA(h.concat(o,v)),C=function(z){return xi(nA(z),A)};m=function(z,G,E,D){b=E,C(z?z+"{"+G.styles+"}":G.styles),D&&(U.inserted[G.name]=!0)}}var U={key:i,sheet:new Bv({key:i,container:d,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:f,registered:{},insert:m};return U.sheet.hydrate(y),U};function yA(t){for(var r=0,i,u=0,o=t.length;o>=4;++u,o-=4)i=t.charCodeAt(u)&255|(t.charCodeAt(++u)&255)<<8|(t.charCodeAt(++u)&255)<<16|(t.charCodeAt(++u)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,r=(i&65535)*1540483477+((i>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(t.charCodeAt(u+2)&255)<<16;case 2:r^=(t.charCodeAt(u+1)&255)<<8;case 1:r^=t.charCodeAt(u)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var gA={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},bA=/[A-Z]|^ms/g,vA=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xv=function(r){return r.charCodeAt(1)===45},kb=function(r){return r!=null&&typeof r!="boolean"},Ed=uA(function(t){return Xv(t)?t:t.replace(bA,"-$&").toLowerCase()}),Pb=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(vA,function(u,o,f){return Fr={name:o,styles:f,next:Fr},o})}return gA[r]!==1&&!Xv(r)&&typeof i=="number"&&i!==0?i+"px":i};function vo(t,r,i){if(i==null)return"";var u=i;if(u.__emotion_styles!==void 0)return u;switch(typeof i){case"boolean":return"";case"object":{var o=i;if(o.anim===1)return Fr={name:o.name,styles:o.styles,next:Fr},o.name;var f=i;if(f.styles!==void 0){var d=f.next;if(d!==void 0)for(;d!==void 0;)Fr={name:d.name,styles:d.styles,next:Fr},d=d.next;var y=f.styles+";";return y}return _A(t,r,i)}}var m=i;if(r==null)return m;var h=r[m];return h!==void 0?h:m}function _A(t,r,i){var u="";if(Array.isArray(i))for(var o=0;o<i.length;o++)u+=vo(t,r,i[o])+";";else for(var f in i){var d=i[f];if(typeof d!="object"){var y=d;r!=null&&r[y]!==void 0?u+=f+"{"+r[y]+"}":kb(y)&&(u+=Ed(f)+":"+Pb(f,y)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(r==null||r[d[0]]===void 0))for(var m=0;m<d.length;m++)kb(d[m])&&(u+=Ed(f)+":"+Pb(f,d[m])+";");else{var h=vo(t,r,d);switch(f){case"animation":case"animationName":{u+=Ed(f)+":"+h+";";break}default:u+=f+"{"+h+"}"}}}return u}var Wb=/label:\s*([^\s;{]+)\s*(;|$)/g,Fr;function Is(t,r,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var u=!0,o="";Fr=void 0;var f=t[0];if(f==null||f.raw===void 0)u=!1,o+=vo(i,r,f);else{var d=f;o+=d[0]}for(var y=1;y<t.length;y++)if(o+=vo(i,r,t[y]),u){var m=f;o+=m[y]}Wb.lastIndex=0;for(var h="",b;(b=Wb.exec(o))!==null;)h+="-"+b[1];var v=yA(o)+h;return{name:v,styles:o,next:Fr}}function Qv(t,r,i){var u="";return i.split(" ").forEach(function(o){t[o]!==void 0?r.push(t[o]+";"):o&&(u+=o+" ")}),u}var wA=function(r,i,u){var o=r.key+"-"+i.name;r.registered[o]===void 0&&(r.registered[o]=i.styles)},SA=function(r,i,u){wA(r,i);var o=r.key+"-"+i.name;if(r.inserted[i.name]===void 0){var f=i;do r.insert(i===f?"."+o:"",f,r.sheet,!0),f=f.next;while(f!==void 0)}};function Ib(t,r){if(t.inserted[r.name]===void 0)return t.insert("",r,t.sheet,!0)}function e0(t,r,i){var u=[],o=Qv(t,u,i);return u.length<2?i:o+r(u)}var xA=function(r){var i=mA(r);i.sheet.speedy=function(y){this.isSpeedy=y},i.compat=!0;var u=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];var v=Is(h,i.registered,void 0);return SA(i,v),i.key+"-"+v.name},o=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];var v=Is(h,i.registered),A="animation-"+v.name;return Ib(i,{name:v.name,styles:"@keyframes "+A+"{"+v.styles+"}"}),A},f=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];var v=Is(h,i.registered);Ib(i,v)},d=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];return e0(i.registered,u,EA(h))};return{css:u,cx:d,injectGlobal:f,keyframes:o,hydrate:function(m){m.forEach(function(h){i.inserted[h]=!0})},flush:function(){i.registered={},i.inserted={},i.sheet.flush()},sheet:i.sheet,cache:i,getRegisteredStyles:Qv.bind(null,i.registered),merge:e0.bind(null,i.registered,u)}},EA=function t(r){for(var i="",u=0;u<r.length;u++){var o=r[u];if(o!=null){var f=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))f=t(o);else{f="";for(var d in o)o[d]&&d&&(f&&(f+=" "),f+=d)}break}default:f=o}f&&(i&&(i+=" "),i+=f)}}return i},Kv=xA({key:"css"}),TA=Kv.keyframes,OA=Kv.css,Wd=function(t,r){return Wd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&(i[o]=u[o])},Wd(t,r)};function Ah(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");Wd(t,r);function i(){this.constructor=t}t.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}function AA(t,r,i,u){function o(f){return f instanceof i?f:new i(function(d){d(f)})}return new(i||(i=Promise))(function(f,d){function y(b){try{h(u.next(b))}catch(v){d(v)}}function m(b){try{h(u.throw(b))}catch(v){d(v)}}function h(b){b.done?f(b.value):o(b.value).then(y,m)}h((u=u.apply(t,r||[])).next())})}function Fv(t,r){var i={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},u,o,f,d=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return d.next=y(0),d.throw=y(1),d.return=y(2),typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function y(h){return function(b){return m([h,b])}}function m(h){if(u)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(i=0)),i;)try{if(u=1,o&&(f=h[0]&2?o.return:h[0]?o.throw||((f=o.return)&&f.call(o),0):o.next)&&!(f=f.call(o,h[1])).done)return f;switch(o=0,f&&(h=[h[0]&2,f.value]),h[0]){case 0:case 1:f=h;break;case 4:return i.label++,{value:h[1],done:!1};case 5:i.label++,o=h[1],h=[0];continue;case 7:h=i.ops.pop(),i.trys.pop();continue;default:if(f=i.trys,!(f=f.length>0&&f[f.length-1])&&(h[0]===6||h[0]===2)){i=0;continue}if(h[0]===3&&(!f||h[1]>f[0]&&h[1]<f[3])){i.label=h[1];break}if(h[0]===6&&i.label<f[1]){i.label=f[1],f=h;break}if(f&&i.label<f[2]){i.label=f[2],i.ops.push(h);break}f[2]&&i.ops.pop(),i.trys.pop();continue}h=r.call(t,i)}catch(b){h=[6,b],o=0}finally{u=f=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}function eu(t){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&t[r],u=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&u>=t.length&&(t=void 0),{value:t&&t[u++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function Id(t,r){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var u=i.call(t),o,f=[],d;try{for(;(r===void 0||r-- >0)&&!(o=u.next()).done;)f.push(o.value)}catch(y){d={error:y}}finally{try{o&&!o.done&&(i=u.return)&&i.call(u)}finally{if(d)throw d.error}}return f}function eh(t,r,i){if(i||arguments.length===2)for(var u=0,o=r.length,f;u<o;u++)(f||!(u in r))&&(f||(f=Array.prototype.slice.call(r,0,u)),f[u]=r[u]);return t.concat(f||Array.prototype.slice.call(r))}function Ei(t){return this instanceof Ei?(this.v=t,this):new Ei(t)}function $A(t,r,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i.apply(t,r||[]),o,f=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),y("next"),y("throw"),y("return",d),o[Symbol.asyncIterator]=function(){return this},o;function d(C){return function(U){return Promise.resolve(U).then(C,v)}}function y(C,U){u[C]&&(o[C]=function(O){return new Promise(function(z,G){f.push([C,O,z,G])>1||m(C,O)})},U&&(o[C]=U(o[C])))}function m(C,U){try{h(u[C](U))}catch(O){A(f[0][3],O)}}function h(C){C.value instanceof Ei?Promise.resolve(C.value.v).then(b,v):A(f[0][2],C)}function b(C){m("next",C)}function v(C){m("throw",C)}function A(C,U){C(U),f.shift(),f.length&&m(f[0][0],f[0][1])}}function RA(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t[Symbol.asyncIterator],i;return r?r.call(t):(t=typeof eu=="function"?eu(t):t[Symbol.iterator](),i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i);function u(f){i[f]=t[f]&&function(d){return new Promise(function(y,m){d=t[f](d),o(y,m,d.done,d.value)})}}function o(f,d,y,m){Promise.resolve(m).then(function(h){f({value:h,done:y})},d)}}function wt(t){return typeof t=="function"}function CA(t){var r=function(u){Error.call(u),u.stack=new Error().stack},i=t(r);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Td=CA(function(t){return function(i){t(this),this.message=i?i.length+` errors occurred during unsubscription:
10
- `+i.map(function(u,o){return o+1+") "+u.toString()}).join(`
11
- `):"",this.name="UnsubscriptionError",this.errors=i}});function t0(t,r){if(t){var i=t.indexOf(r);0<=i&&t.splice(i,1)}}var Bo=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var r,i,u,o,f;if(!this.closed){this.closed=!0;var d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d))try{for(var y=eu(d),m=y.next();!m.done;m=y.next()){var h=m.value;h.remove(this)}}catch(O){r={error:O}}finally{try{m&&!m.done&&(i=y.return)&&i.call(y)}finally{if(r)throw r.error}}else d.remove(this);var b=this.initialTeardown;if(wt(b))try{b()}catch(O){f=O instanceof Td?O.errors:[O]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var A=eu(v),C=A.next();!C.done;C=A.next()){var U=C.value;try{n0(U)}catch(O){f=f??[],O instanceof Td?f=eh(eh([],Id(f)),Id(O.errors)):f.push(O)}}}catch(O){u={error:O}}finally{try{C&&!C.done&&(o=A.return)&&o.call(A)}finally{if(u)throw u.error}}}if(f)throw new Td(f)}},t.prototype.add=function(r){var i;if(r&&r!==this)if(this.closed)n0(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(r)}},t.prototype._hasParent=function(r){var i=this._parentage;return i===r||Array.isArray(i)&&i.includes(r)},t.prototype._addParent=function(r){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(r),i):i?[i,r]:r},t.prototype._removeParent=function(r){var i=this._parentage;i===r?this._parentage=null:Array.isArray(i)&&t0(i,r)},t.prototype.remove=function(r){var i=this._finalizers;i&&t0(i,r),r instanceof t&&r._removeParent(this)},t.EMPTY=function(){var r=new t;return r.closed=!0,r}(),t}();Bo.EMPTY;function Jv(t){return t instanceof Bo||t&&"closed"in t&&wt(t.remove)&&wt(t.add)&&wt(t.unsubscribe)}function n0(t){wt(t)?t():t.unsubscribe()}var MA={Promise:void 0},NA={setTimeout:function(t,r){for(var i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];return setTimeout.apply(void 0,eh([t,r],Id(i)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function kv(t){NA.setTimeout(function(){throw t})}function r0(){}function zA(t){t()}var $h=function(t){Ah(r,t);function r(i){var u=t.call(this)||this;return u.isStopped=!1,i?(u.destination=i,Jv(i)&&i.add(u)):u.destination=UA,u}return r.create=function(i,u,o){return new th(i,u,o)},r.prototype.next=function(i){this.isStopped||this._next(i)},r.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(i){this.destination.next(i)},r.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(Bo),DA=function(){function t(r){this.partialObserver=r}return t.prototype.next=function(r){var i=this.partialObserver;if(i.next)try{i.next(r)}catch(u){Zs(u)}},t.prototype.error=function(r){var i=this.partialObserver;if(i.error)try{i.error(r)}catch(u){Zs(u)}else Zs(r)},t.prototype.complete=function(){var r=this.partialObserver;if(r.complete)try{r.complete()}catch(i){Zs(i)}},t}(),th=function(t){Ah(r,t);function r(i,u,o){var f=t.call(this)||this,d;return wt(i)||!i?d={next:i??void 0,error:u??void 0,complete:o??void 0}:d=i,f.destination=new DA(d),f}return r}($h);function Zs(t){kv(t)}function qA(t){throw t}var UA={closed:!0,next:r0,error:qA,complete:r0},Rh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function BA(t){return t}function jA(t){return t.length===0?BA:t.length===1?t[0]:function(i){return t.reduce(function(u,o){return o(u)},i)}}var Ln=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var i=new t;return i.source=this,i.operator=r,i},t.prototype.subscribe=function(r,i,u){var o=this,f=ZA(r)?r:new th(r,i,u);return zA(function(){var d=o,y=d.operator,m=d.source;f.add(y?y.call(f,m):m?o._subscribe(f):o._trySubscribe(f))}),f},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(i){r.error(i)}},t.prototype.forEach=function(r,i){var u=this;return i=a0(i),new i(function(o,f){var d=new th({next:function(y){try{r(y)}catch(m){f(m),d.unsubscribe()}},error:f,complete:o});u.subscribe(d)})},t.prototype._subscribe=function(r){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(r)},t.prototype[Rh]=function(){return this},t.prototype.pipe=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return jA(r)(this)},t.prototype.toPromise=function(r){var i=this;return r=a0(r),new r(function(u,o){var f;i.subscribe(function(d){return f=d},function(d){return o(d)},function(){return u(f)})})},t.create=function(r){return new t(r)},t}();function a0(t){var r;return(r=t??MA.Promise)!==null&&r!==void 0?r:Promise}function LA(t){return t&&wt(t.next)&&wt(t.error)&&wt(t.complete)}function ZA(t){return t&&t instanceof $h||LA(t)&&Jv(t)}function HA(t){return wt(t?.lift)}function Pv(t){return function(r){if(HA(r))return r.lift(function(i){try{return t(i,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}function GA(t,r,i,u,o){return new YA(t,r,i,u,o)}var YA=function(t){Ah(r,t);function r(i,u,o,f,d,y){var m=t.call(this,i)||this;return m.onFinalize=d,m.shouldUnsubscribe=y,m._next=u?function(h){try{u(h)}catch(b){i.error(b)}}:t.prototype._next,m._error=f?function(h){try{f(h)}catch(b){i.error(b)}finally{this.unsubscribe()}}:t.prototype._error,m._complete=o?function(){try{o()}catch(h){i.error(h)}finally{this.unsubscribe()}}:t.prototype._complete,m}return r.prototype.unsubscribe=function(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var u=this.closed;t.prototype.unsubscribe.call(this),!u&&((i=this.onFinalize)===null||i===void 0||i.call(this))}},r}($h),Wv=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function Iv(t){return wt(t?.then)}function e1(t){return wt(t[Rh])}function t1(t){return Symbol.asyncIterator&&wt(t?.[Symbol.asyncIterator])}function n1(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function VA(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var r1=VA();function a1(t){return wt(t?.[r1])}function i1(t){return $A(this,arguments,function(){var i,u,o,f;return Fv(this,function(d){switch(d.label){case 0:i=t.getReader(),d.label=1;case 1:d.trys.push([1,,9,10]),d.label=2;case 2:return[4,Ei(i.read())];case 3:return u=d.sent(),o=u.value,f=u.done,f?[4,Ei(void 0)]:[3,5];case 4:return[2,d.sent()];case 5:return[4,Ei(o)];case 6:return[4,d.sent()];case 7:return d.sent(),[3,2];case 8:return[3,10];case 9:return i.releaseLock(),[7];case 10:return[2]}})})}function l1(t){return wt(t?.getReader)}function jo(t){if(t instanceof Ln)return t;if(t!=null){if(e1(t))return XA(t);if(Wv(t))return QA(t);if(Iv(t))return KA(t);if(t1(t))return u1(t);if(a1(t))return FA(t);if(l1(t))return JA(t)}throw n1(t)}function XA(t){return new Ln(function(r){var i=t[Rh]();if(wt(i.subscribe))return i.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function QA(t){return new Ln(function(r){for(var i=0;i<t.length&&!r.closed;i++)r.next(t[i]);r.complete()})}function KA(t){return new Ln(function(r){t.then(function(i){r.closed||(r.next(i),r.complete())},function(i){return r.error(i)}).then(null,kv)})}function FA(t){return new Ln(function(r){var i,u;try{for(var o=eu(t),f=o.next();!f.done;f=o.next()){var d=f.value;if(r.next(d),r.closed)return}}catch(y){i={error:y}}finally{try{f&&!f.done&&(u=o.return)&&u.call(o)}finally{if(i)throw i.error}}r.complete()})}function u1(t){return new Ln(function(r){kA(t,r).catch(function(i){return r.error(i)})})}function JA(t){return u1(i1(t))}function kA(t,r){var i,u,o,f;return AA(this,void 0,void 0,function(){var d,y;return Fv(this,function(m){switch(m.label){case 0:m.trys.push([0,5,6,11]),i=RA(t),m.label=1;case 1:return[4,i.next()];case 2:if(u=m.sent(),!!u.done)return[3,4];if(d=u.value,r.next(d),r.closed)return[2];m.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return y=m.sent(),o={error:y},[3,11];case 6:return m.trys.push([6,,9,10]),u&&!u.done&&(f=i.return)?[4,f.call(i)]:[3,8];case 7:m.sent(),m.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return r.complete(),[2]}})})}function Sa(t,r,i,u,o){u===void 0&&(u=0),o===void 0&&(o=!1);var f=r.schedule(function(){i(),o?t.add(this.schedule(null,u)):this.unsubscribe()},u);if(t.add(f),!o)return f}function s1(t,r){return r===void 0&&(r=0),Pv(function(i,u){i.subscribe(GA(u,function(o){return Sa(u,t,function(){return u.next(o)},r)},function(){return Sa(u,t,function(){return u.complete()},r)},function(o){return Sa(u,t,function(){return u.error(o)},r)}))})}function o1(t,r){return r===void 0&&(r=0),Pv(function(i,u){u.add(t.schedule(function(){return i.subscribe(u)},r))})}function PA(t,r){return jo(t).pipe(o1(r),s1(r))}function WA(t,r){return jo(t).pipe(o1(r),s1(r))}function IA(t,r){return new Ln(function(i){var u=0;return r.schedule(function(){u===t.length?i.complete():(i.next(t[u++]),i.closed||this.schedule())})})}function e5(t,r){return new Ln(function(i){var u;return Sa(i,r,function(){u=t[r1](),Sa(i,r,function(){var o,f,d;try{o=u.next(),f=o.value,d=o.done}catch(y){i.error(y);return}d?i.complete():i.next(f)},0,!0)}),function(){return wt(u?.return)&&u.return()}})}function c1(t,r){if(!t)throw new Error("Iterable cannot be null");return new Ln(function(i){Sa(i,r,function(){var u=t[Symbol.asyncIterator]();Sa(i,r,function(){u.next().then(function(o){o.done?i.complete():i.next(o.value)})},0,!0)})})}function t5(t,r){return c1(i1(t),r)}function n5(t,r){if(t!=null){if(e1(t))return PA(t,r);if(Wv(t))return IA(t,r);if(Iv(t))return WA(t,r);if(t1(t))return c1(t,r);if(a1(t))return e5(t,r);if(l1(t))return t5(t,r)}throw n1(t)}function r5(t,r){return r?n5(t,r):jo(t)}function f1(t){return new Ln(function(r){jo(t()).subscribe(r)})}function gn(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var a5=function(t){return t.Equal="eq",t.NotEqual="neq",t.LessThanEqualTo="lteq",t.LessThan="lt",t.GreaterThanEqualTo="gteq",t.GreaterThan="gt",t.Like="like",t.StartsWith="sw",t.EndsWith="ew",t}({});let d1=class h1{subject(r){return this._filter.subject=r,this}value(r){return this._filter.value=r,this}operator(r){return this._filter.operator=r,this}build(){return{...this._filter}}constructor(){gn(this,"_filter",void 0),gn(this,"equal",this.operator.bind(this,"eq")),gn(this,"notEqual",this.operator.bind(this,"neq")),gn(this,"lessThan",this.operator.bind(this,"lt")),gn(this,"greaterThan",this.operator.bind(this,"gt")),gn(this,"lessThanEqualTo",this.operator.bind(this,"lteq")),gn(this,"greaterThanEqualTo",this.operator.bind(this,"gteq")),gn(this,"like",this.operator.bind(this,"like")),gn(this,"startsWith",this.operator.bind(this,"sw")),gn(this,"endsWith",this.operator.bind(this,"ew")),this._filter={subject:"",value:null,operator:"eq",__type__:h1.Type}}};gn(d1,"Type","binary");const p1=$t(a5),i5=dt(p1);function l5(t){return t!=null&&Object.prototype.hasOwnProperty.call(i5,t)}const u5={eq:(t,r)=>t===r,neq:(t,r)=>t!==r,gt:(t,r)=>t>r,gteq:(t,r)=>t>=r,lt:(t,r)=>t<r,lteq:(t,r)=>t<=r,like:(t,r)=>`${t}`.indexOf(`${r}`)>=0,sw:(t,r)=>`${t}`.startsWith(`${r}`),ew:(t,r)=>`${t}`.endsWith(`${r}`)};function eo(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var s5=function(t){return t.In="in",t.NotIn="not-in",t}({});let Ch=class m1{subject(r){return this._filter.subject=r,this}values(r){return this._filter.values=r,this}value(r){return this._filter.values.push(r),this}operator(r){return this._filter.operator=r,this}build(){return JSON.parse(JSON.stringify(this._filter))}constructor(){eo(this,"_filter",void 0),eo(this,"in",this.operator.bind(this,"in")),eo(this,"notIn",this.operator.bind(this,"not-in")),this._filter={subject:"",operator:"in",values:[],__type__:m1.Type}}};eo(Ch,"Type","collection");function o5(t){return t?.__type__===Ch.Type}const c5={in:(t,r)=>r.indexOf(t)>=0,"not-in":(t,r)=>r.indexOf(t)<0},y1=$t(s5),f5=dt(y1);function d5(t){return t!=null&&Object.prototype.hasOwnProperty.call(f5,t)}function to(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var g1=function(t){return t.And="and",t.Or="or",t}({});let Mh=class b1{operator(r){return this._filter.operator=r,this}clause(r){return this._filter.clauses.push(r),this}clauses(r){return this._filter.clauses=r,this}build(){return{...this._filter}}constructor(){to(this,"_filter",void 0),to(this,"and",this.operator.bind(this,"and")),to(this,"or",this.operator.bind(this,"or")),this._filter={clauses:[],operator:"and",__type__:b1.Type}}};to(Mh,"Type","logic");function h5(t){return t?.__type__===Mh.Type}const v1=$t(g1),p5=dt(v1);function m5(t){return t!=null&&Object.prototype.hasOwnProperty.call(p5,t)}function no(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var y5=function(t){return t.IsNull="null",t.IsNotNull="is-not-null",t}({});let Nh=class{subject(r){return this._filter.subject=r,this}operator(r){return this._filter.operator=r,this}build(){return{...this._filter}}constructor(){no(this,"_filter",void 0),no(this,"isNull",this.operator.bind(this,"null")),no(this,"isNotNull",this.operator.bind(this,"is-not-null")),this._filter={subject:null,operator:"null",__type__:"unary"}}};no(Nh,"Type","unary");function g5(t){return t?.__type__===Nh.Type}const _1=$t(y5),b5=dt(_1);function v5(t){return t!=null&&Object.prototype.hasOwnProperty.call(b5,t)}const _5={null:t=>t==null,"is-not-null":t=>t!=null};class i0{_matchLogicFilter(r,i){return i.operator===g1.And?i.clauses.every(u=>this.match(r,u)):i.clauses.some(u=>this.match(r,u))}_matchSubjectFilter(r,i,u,o){const f=u[i.operator],d=i.subject?Ta(r,i.subject,null):r;return f(d,o)}match(r,i){return h5(i)?this._matchLogicFilter(r,i):o5(i)?this._matchSubjectFilter(r,i,c5,i.values):g5(i)?this._matchSubjectFilter(r,i,_5):this._matchSubjectFilter(r,i,u5,i.value)}}const w5=[].concat(p1).concat(y1).concat(v1).concat(_1);let S5=class{deserialize(r){const[i,u]=this._parseFilter(r);if(Be(u).length>0)throw new Error(`Extraneous characters found at the end of the candidate filter: ${u}`);return i}_peelBetweenParens(r){const[i,u]=Ld(r,"(",")");if(i==null)throw new Error(`Unable to find opening and closing parenthesis for ${r}. Check syntax.`);return[i,u]}_splitArgs(r,i,u,o=u){const[f,d]=this._peelBetweenParens(i),y=f.split(",").filter(m=>!!m);if(y.length<u){const m=`Not enough arguments for ${r} filter: ${y}.`,h=`Expected at least ${u} arguments, but got ${y.length} instead.`;throw new Error(`${m}. ${h}`)}if(y.length>o){const m=`Too many arguments for ${r} filter: ${y}.`,h=`Expected at most ${o} arguments, but got ${y.length} instead.`;throw new Error(`${m}. ${h}`)}return[y,d]}_parseUnaryFilter(r,i){const[u,o]=this._splitArgs(r,i,1);let[f]=u;return f=Be(f),[new Nh().operator(r).subject(f).build(),o]}_parseBinaryFilter(r,i){const[u,o]=this._splitArgs(r,i,2);let[f,d]=u;return f=Be(f),d=JSON.parse(d),[new d1().operator(r).subject(f).value(d).build(),o]}_parseCollectionFilter(r,i){const[u,o]=this._splitArgs(r,i,1,1/0);let[f]=u;f=Be(f);const d=u.slice(1).map(y=>JSON.parse(Be(y)));return[new Ch().operator(r).subject(f).values(d).build(),o]}_parseLogicFilter(r,i){const u=this._peelBetweenParens(Be(i));let[o]=u;const[,f]=u;let d=new Mh().operator(r);for(;o;){const y=this._parseFilter(o),[m]=y;[,o]=y,o=su(o," ,"),d=d.clause(m)}return[d.build(),f]}_parseFilter(r){const[i,u]=L0(Be(r),w5);if(v5(i))return this._parseUnaryFilter(i,u);if(l5(i))return this._parseBinaryFilter(i,u);if(d5(i))return this._parseCollectionFilter(i,u);if(m5(i))return this._parseLogicFilter(i,u);throw new Error(`Cannot determine filter operator at ${r}.`)}};class l0{match(){return!0}}function x5(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class E5{match(r,i){return i==null?!0:this._match.match(r,i)}constructor(r){x5(this,"_match",void 0),this._match=r}}var Od=function(t){return t.Date="date",t.Number="number",t.Text="text",t.File="file",t.Boolean="boolean",t.Icon="icon",t.Image="image",t.Custom="custom",t}({});function T5(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var w1=function(t){return t.Ascending="asc",t.Descending="desc",t}({});let O5=class{sorts(r){return this._sort=r,this}sort(r){const i=Sv(r);return this.sorts(this._sort.concat(i))}ascending(r){return this.sort({subject:r,direction:"asc"})}descending(r){return this.sort({subject:r,direction:"desc"})}build(){return JSON.parse(JSON.stringify(this._sort))}constructor(){T5(this,"_sort",void 0),this._sort=[]}};const A5=$t(w1);let $5=class{deserialize(r){const[i,u]=Ld(Be(r),"(",")"),o=i??u;let f=new O5,d=o;for(;d;){const y=this._parseSort(d),[m]=y;[,d]=y,f=f.sort(m),d=su(d,", ")}return f.build()}_parseSort(r){const[i,u]=L0(r,A5);if(i==null)throw new Error(`Cannot determine sort direction at ${r}`);const o=Ld(u,"(",")");let[f]=o;const[,d]=o;if(f==null)throw new Error(`Cannot determine sort subject at ${u}.`);if(f=Be(f),!f)throw new Error(`Cannot determine sort subject at ${u}.`);return[{direction:i,subject:f},d]}};function R5(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}let Jl=class{page(r){return r!=null?this._request.page=Math.max(r,1):delete this._request.page,this}size(r){return r!=null?this._request.size=Math.max(r,0):delete this._request.size,this}search(r){return this._request.search=r,this}filter(r){if(r==null)delete this._request.filter;else{const i=typeof r=="string"?ob(()=>new S5().deserialize(r)):r;this._request.filter=i}return this}sort(r){if(r==null)delete this._request.sort;else{const i=typeof r=="string"?ob(()=>new $5().deserialize(r)):r;this._request.sort=i}return this}copy(r){return this._request=JSON.parse(JSON.stringify(r)),this}query(r){if(r.filter!=null&&this.filter(r.filter),r.sort!=null&&this.sort(r.sort),r.page!=null){const i=+r.page;this.page(isNaN(i)?this._request.page:i)}if(r.size!=null){const i=+r.size;this.size(isNaN(i)?this._request.size:i)}return r.search!=null&&this.search(r.search),this}build(){return JSON.parse(JSON.stringify(this._request))}constructor(){R5(this,"_request",void 0),this._request={}}};function C5(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class M5{search(r){return this._options.search=r||new l0,this}filter(r){return this._options.filter=r||new i0,this}delay(r){return this._options.delay=r||0,this}build(){return{...this._options}}constructor(){C5(this,"_options",void 0),this._options={search:new l0,filter:new i0,delay:0}}}function N5(t,r,i){if(i===1/0)return r<=1?t:[];const u=Math.max(0,r-1);return z3(t,i)[u]||[]}function Hs(t,r,i){const u=new E5(i);return t.filter(o=>u.match(o,r))}function z5(t,r){const i=t.slice();return r?.length&&i.sort((u,o)=>{for(let f=0;f<r.length;++f){const d=r[f],y=d.direction===w1.Ascending?1:-1,m=d.subject?Ta(u,d.subject,null):u,h=d.subject?Ta(o,d.subject,null):o;if(!(m==null&&h==null)){if(m==null&&h!=null)return-1*y;if(m!=null&&h==null)return y;if(m!==h)return y*(m<h?-1:1)}}return 0}),i}function u0(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class _i{async items(){const r=await this._data;return r instanceof Error?Promise.reject(r):r.slice()}async insert(r,i=1/0){const u=await this.items();return i=Math.max(i,0),u.splice(i,0,r),new _i(u,this._options)}async remove(r){const i=await this.items(),u=i.indexOf(r);return u>=0&&i.splice(u,1),new _i(i,this._options)}async removeAt(r){const i=await this.items();return r>=0&&r<i.length&&i.splice(r,1),new _i(i,this._options)}async set(r,i){const u=await this.items();return i>=0&&i<u.length&&(u[i]=r),new _i(u,this._options)}async count(r){const{search:i,filter:u}=r,o=await this._data;if(o instanceof Error)return new Promise((d,y)=>setTimeout(()=>y(o),this._options.delay));let f=o;return f=Hs(f,i,this._options.search),f=Hs(f,u,this._options.filter),new Promise(d=>setTimeout(()=>d(f.length),this._options.delay))}async retrieve(r){const{page:i=1,size:u=1/0,search:o,filter:f,sort:d}=r,y=await this._data;if(y instanceof Error)return new Promise((h,b)=>setTimeout(()=>b(y),this._options.delay));let m=y;return m=Hs(m,o,this._options.search),m=Hs(m,f,this._options.filter),m=z5(m,d),m=N5(m,i,u),new Promise(h=>setTimeout(()=>h(m),this._options.delay))}constructor(r,i=new M5().build()){u0(this,"_data",void 0),u0(this,"_options",void 0),this._data=r,this._options=i}}function zh(t,r,i){const[u,o]=$.useState(t||i),f=t===void 0?u:t;return[f,y=>{o(y);const m=h=>typeof h=="function";if(r){const h=m(y)?y(f):y;r(h)}}]}const nh=Symbol("loading");function s0(t){return t===nh}function o0(t){return t instanceof Error}/* istanbul ignore file -- @preserve */function Gs(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}let D5=class{get $input(){return this._input!=null?this._input:(this._input=this._doc.createElement("input"),this._input.type="file",this._input.style.position="absolute",this._input.style.visibility="hidden",this._input.style.width="1px",this._input.style.height="1px",this._input.style.left="0",this._input.style.top="0",this._input.style.zIndex="-1",this._input.onchange=()=>{const r=this._input.files?.item(0);r&&this._cb(r)},this._container.appendChild(this._input),this._input)}open(r,i){this.$input.accept=r,this._cb=i,this.$input.click()}constructor(r=j0.document,i=r?.body){Gs(this,"_doc",void 0),Gs(this,"_container",void 0),Gs(this,"_input",void 0),Gs(this,"_cb",void 0),this._doc=r,this._container=i}};new D5;const S1=["Enter","Space"];function q5(t,r){const i=ae(S1,r);if(t)return u=>{i.indexOf(u.code)>=0&&t(u)}}function x1(t,r=S1){return{onKey:$.useMemo(()=>q5(t,r),[t,r]),tabIndex:t?0:void 0}}function U5(t,r){const[i,u]=$.useState([]),[o,f]=$.useState(nh),[d,y]=$.useState(!1),m=$.useRef(new Jl().copy(r).page(1).build()),h=$.useRef(null),b=$.useRef(void 0),v=C=>{b.current?.unsubscribe(),b.current=void 0,!C&&(b.current=f1(()=>(h.current=h.current||t.count(m.current),f(nh),Promise.all([h.current,t.retrieve(m.current)]))).subscribe({next:([U,O])=>{m.current=new Jl().copy(m.current).page(m.current.page+1).build(),y(O.length+i.length>=U),u(z=>z.concat(O)),f(O)},error:U=>{h.current=null,y(!1),f(U0(U))}}))},A=()=>{m.current=new Jl().copy(r).page(1).build(),h.current=null,u([]),y(!1),v(!1)};return $.useEffect(()=>(A(),()=>b.current?.unsubscribe()),[t,r.filter,r.size,r.sort,r.search]),{view:i,last:o,complete:d,page:m.current.page,size:m.current.size||1/0,more:()=>v(d),reset:A}}const B5=$.createContext(j0);function j5(){return $.useContext(B5)}var E1="comm",T1="rule",O1="decl",L5="@import",Z5="@namespace",H5="@keyframes",G5="@layer",A1=Math.abs,Dh=String.fromCharCode;function $1(t){return t.trim()}function ro(t,r,i){return t.replace(r,i)}function Y5(t,r,i){return t.indexOf(r,i)}function Ti(t,r){return t.charCodeAt(r)|0}function Ri(t,r,i){return t.slice(r,i)}function Dn(t){return t.length}function R1(t){return t.length}function Ys(t,r){return r.push(t),t}var Lo=1,Ci=1,C1=0,fn=0,st=0,Di="";function qh(t,r,i,u,o,f,d,y){return{value:t,root:r,parent:i,type:u,props:o,children:f,line:Lo,column:Ci,length:d,return:"",siblings:y}}function V5(){return st}function X5(){return st=fn>0?Ti(Di,--fn):0,Ci--,st===10&&(Ci=1,Lo--),st}function wn(){return st=fn<C1?Ti(Di,fn++):0,Ci++,st===10&&(Ci=1,Lo++),st}function Jr(){return Ti(Di,fn)}function ao(){return fn}function Zo(t,r){return Ri(Di,t,r)}function tu(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Q5(t){return Lo=Ci=1,C1=Dn(Di=t),fn=0,[]}function K5(t){return Di="",t}function Ad(t){return $1(Zo(fn-1,rh(t===91?t+2:t===40?t+1:t)))}function F5(t){for(;(st=Jr())&&st<33;)wn();return tu(t)>2||tu(st)>3?"":" "}function J5(t,r){for(;--r&&wn()&&!(st<48||st>102||st>57&&st<65||st>70&&st<97););return Zo(t,ao()+(r<6&&Jr()==32&&wn()==32))}function rh(t){for(;wn();)switch(st){case t:return fn;case 34:case 39:t!==34&&t!==39&&rh(st);break;case 40:t===41&&rh(t);break;case 92:wn();break}return fn}function k5(t,r){for(;wn()&&t+st!==57;)if(t+st===84&&Jr()===47)break;return"/*"+Zo(r,fn-1)+"*"+Dh(t===47?t:wn())}function P5(t){for(;!tu(Jr());)wn();return Zo(t,fn)}function W5(t){return K5(io("",null,null,null,[""],t=Q5(t),0,[0],t))}function io(t,r,i,u,o,f,d,y,m){for(var h=0,b=0,v=d,A=0,C=0,U=0,O=1,z=1,G=1,E=0,D="",Y=o,j=f,k=u,L=D;z;)switch(U=E,E=wn()){case 40:if(U!=108&&Ti(L,v-1)==58){Y5(L+=ro(Ad(E),"&","&\f"),"&\f",A1(h?y[h-1]:0))!=-1&&(G=-1);break}case 34:case 39:case 91:L+=Ad(E);break;case 9:case 10:case 13:case 32:L+=F5(U);break;case 92:L+=J5(ao()-1,7);continue;case 47:switch(Jr()){case 42:case 47:Ys(I5(k5(wn(),ao()),r,i,m),m),(tu(U||1)==5||tu(Jr()||1)==5)&&Dn(L)&&Ri(L,-1,void 0)!==" "&&(L+=" ");break;default:L+="/"}break;case 123*O:y[h++]=Dn(L)*G;case 125*O:case 59:case 0:switch(E){case 0:case 125:z=0;case 59+b:G==-1&&(L=ro(L,/\f/g,"")),C>0&&(Dn(L)-v||O===0&&U===47)&&Ys(C>32?f0(L+";",u,i,v-1,m):f0(ro(L," ","")+";",u,i,v-2,m),m);break;case 59:L+=";";default:if(Ys(k=c0(L,r,i,h,b,o,y,D,Y=[],j=[],v,f),f),E===123)if(b===0)io(L,r,k,k,Y,f,v,y,j);else{switch(A){case 99:if(Ti(L,3)===110)break;case 108:if(Ti(L,2)===97)break;default:b=0;case 100:case 109:case 115:}b?io(t,k,k,u&&Ys(c0(t,k,k,0,0,o,y,D,o,Y=[],v,j),j),o,j,v,y,u?Y:j):io(L,k,k,k,[""],j,0,y,j)}}h=b=C=0,O=G=1,D=L="",v=d;break;case 58:v=1+Dn(L),C=U;default:if(O<1){if(E==123)--O;else if(E==125&&O++==0&&X5()==125)continue}switch(L+=Dh(E),E*O){case 38:G=b>0?1:(L+="\f",-1);break;case 44:y[h++]=(Dn(L)-1)*G,G=1;break;case 64:Jr()===45&&(L+=Ad(wn())),A=Jr(),b=v=Dn(D=L+=P5(ao())),E++;break;case 45:U===45&&Dn(L)==2&&(O=0)}}return f}function c0(t,r,i,u,o,f,d,y,m,h,b,v){for(var A=o-1,C=o===0?f:[""],U=R1(C),O=0,z=0,G=0;O<u;++O)for(var E=0,D=Ri(t,A+1,A=A1(z=d[O])),Y=t;E<U;++E)(Y=$1(z>0?C[E]+" "+D:ro(D,/&\f/g,C[E])))&&(m[G++]=Y);return qh(t,r,i,o===0?T1:y,m,h,b,v)}function I5(t,r,i,u){return qh(t,r,i,E1,Dh(V5()),Ri(t,2,-2),0,u)}function f0(t,r,i,u,o){return qh(t,r,i,O1,Ri(t,0,u),Ri(t,u+1,-1),u,o)}function ah(t,r){for(var i="",u=0;u<t.length;u++)i+=r(t[u],u,t,r)||"";return i}function e$(t,r,i,u){switch(t.type){case G5:if(t.children.length)break;case L5:case Z5:case O1:return t.return=t.return||t.value;case E1:return"";case H5:return t.return=t.value+"{"+ah(t.children,u)+"}";case T1:if(!Dn(t.value=t.props.join(",")))return""}return Dn(i=ah(t.children,u))?t.return=t.value+"{"+i+"}":""}function t$(t){var r=R1(t);return function(i,u,o,f){for(var d="",y=0;y<r;y++)d+=t[y](i,u,o,f)||"";return d}}function n$(t){return function(r){r.root||(r=r.return)&&t(r)}}/**
12
- * react-router v7.9.4
13
- *
14
- * Copyright (c) Remix Software Inc.
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE.md file in the root directory of this source tree.
18
- *
19
- * @license MIT
20
- */var d0="popstate";function r$(t={}){function r(o,f){let{pathname:d="/",search:y="",hash:m=""}=Ca(o.location.hash.substring(1));return!d.startsWith("/")&&!d.startsWith(".")&&(d="/"+d),ih("",{pathname:d,search:y,hash:m},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function i(o,f){let d=o.document.querySelector("base"),y="";if(d&&d.getAttribute("href")){let m=o.location.href,h=m.indexOf("#");y=h===-1?m:m.slice(0,h)}return y+"#"+(typeof f=="string"?f:nu(f))}function u(o,f){dn(o.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(f)})`)}return i$(r,i,u,t)}function Ve(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function dn(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function a$(){return Math.random().toString(36).substring(2,10)}function h0(t,r){return{usr:t.state,key:t.key,idx:r}}function ih(t,r,i=null,u){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof r=="string"?Ca(r):r,state:i,key:r&&r.key||u||a$()}}function nu({pathname:t="/",search:r="",hash:i=""}){return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Ca(t){let r={};if(t){let i=t.indexOf("#");i>=0&&(r.hash=t.substring(i),t=t.substring(0,i));let u=t.indexOf("?");u>=0&&(r.search=t.substring(u),t=t.substring(0,u)),t&&(r.pathname=t)}return r}function i$(t,r,i,u={}){let{window:o=document.defaultView,v5Compat:f=!1}=u,d=o.history,y="POP",m=null,h=b();h==null&&(h=0,d.replaceState({...d.state,idx:h},""));function b(){return(d.state||{idx:null}).idx}function v(){y="POP";let z=b(),G=z==null?null:z-h;h=z,m&&m({action:y,location:O.location,delta:G})}function A(z,G){y="PUSH";let E=ih(O.location,z,G);i&&i(E,z),h=b()+1;let D=h0(E,h),Y=O.createHref(E);try{d.pushState(D,"",Y)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;o.location.assign(Y)}f&&m&&m({action:y,location:O.location,delta:1})}function C(z,G){y="REPLACE";let E=ih(O.location,z,G);i&&i(E,z),h=b();let D=h0(E,h),Y=O.createHref(E);d.replaceState(D,"",Y),f&&m&&m({action:y,location:O.location,delta:0})}function U(z){return l$(z)}let O={get action(){return y},get location(){return t(o,d)},listen(z){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(d0,v),m=z,()=>{o.removeEventListener(d0,v),m=null}},createHref(z){return r(o,z)},createURL:U,encodeLocation(z){let G=U(z);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:A,replace:C,go(z){return d.go(z)}};return O}function l$(t,r=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),Ve(i,"No window.location.(origin|href) available to create URL");let u=typeof t=="string"?t:nu(t);return u=u.replace(/ $/,"%20"),!r&&u.startsWith("//")&&(u=i+u),new URL(u,i)}function M1(t,r,i="/"){return u$(t,r,i,!1)}function u$(t,r,i,u){let o=typeof r=="string"?Ca(r):r,f=pr(o.pathname||"/",i);if(f==null)return null;let d=N1(t);s$(d);let y=null;for(let m=0;y==null&&m<d.length;++m){let h=v$(f);y=g$(d[m],h,u)}return y}function N1(t,r=[],i=[],u="",o=!1){let f=(d,y,m=o,h)=>{let b={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:y,route:d};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(u)&&m)return;Ve(b.relativePath.startsWith(u),`Absolute route path "${b.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(u.length)}let v=fr([u,b.relativePath]),A=i.concat(b);d.children&&d.children.length>0&&(Ve(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),N1(d.children,r,A,v,m)),!(d.path==null&&!d.index)&&r.push({path:v,score:m$(v,d.index),routesMeta:A})};return t.forEach((d,y)=>{if(d.path===""||!d.path?.includes("?"))f(d,y);else for(let m of z1(d.path))f(d,y,!0,m)}),r}function z1(t){let r=t.split("/");if(r.length===0)return[];let[i,...u]=r,o=i.endsWith("?"),f=i.replace(/\?$/,"");if(u.length===0)return o?[f,""]:[f];let d=z1(u.join("/")),y=[];return y.push(...d.map(m=>m===""?f:[f,m].join("/"))),o&&y.push(...d),y.map(m=>t.startsWith("/")&&m===""?"/":m)}function s$(t){t.sort((r,i)=>r.score!==i.score?i.score-r.score:y$(r.routesMeta.map(u=>u.childrenIndex),i.routesMeta.map(u=>u.childrenIndex)))}var o$=/^:[\w-]+$/,c$=3,f$=2,d$=1,h$=10,p$=-2,p0=t=>t==="*";function m$(t,r){let i=t.split("/"),u=i.length;return i.some(p0)&&(u+=p$),r&&(u+=f$),i.filter(o=>!p0(o)).reduce((o,f)=>o+(o$.test(f)?c$:f===""?d$:h$),u)}function y$(t,r){return t.length===r.length&&t.slice(0,-1).every((u,o)=>u===r[o])?t[t.length-1]-r[r.length-1]:0}function g$(t,r,i=!1){let{routesMeta:u}=t,o={},f="/",d=[];for(let y=0;y<u.length;++y){let m=u[y],h=y===u.length-1,b=f==="/"?r:r.slice(f.length)||"/",v=_o({path:m.relativePath,caseSensitive:m.caseSensitive,end:h},b),A=m.route;if(!v&&h&&i&&!u[u.length-1].route.index&&(v=_o({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},b)),!v)return null;Object.assign(o,v.params),d.push({params:o,pathname:fr([f,v.pathname]),pathnameBase:x$(fr([f,v.pathnameBase])),route:A}),v.pathnameBase!=="/"&&(f=fr([f,v.pathnameBase]))}return d}function _o(t,r){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[i,u]=b$(t.path,t.caseSensitive,t.end),o=r.match(i);if(!o)return null;let f=o[0],d=f.replace(/(.)\/+$/,"$1"),y=o.slice(1);return{params:u.reduce((h,{paramName:b,isOptional:v},A)=>{if(b==="*"){let U=y[A]||"";d=f.slice(0,f.length-U.length).replace(/(.)\/+$/,"$1")}const C=y[A];return v&&!C?h[b]=void 0:h[b]=(C||"").replace(/%2F/g,"/"),h},{}),pathname:f,pathnameBase:d,pattern:t}}function b$(t,r=!1,i=!0){dn(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let u=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,y,m)=>(u.push({paramName:y,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(u.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,r?void 0:"i"),u]}function v$(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return dn(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),t}}function pr(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let i=r.endsWith("/")?r.length-1:r.length,u=t.charAt(i);return u&&u!=="/"?null:t.slice(i)||"/"}function _$(t,r="/"){let{pathname:i,search:u="",hash:o=""}=typeof t=="string"?Ca(t):t;return{pathname:i?i.startsWith("/")?i:w$(i,r):r,search:E$(u),hash:T$(o)}}function w$(t,r){let i=r.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?i.length>1&&i.pop():o!=="."&&i.push(o)}),i.length>1?i.join("/"):"/"}function $d(t,r,i,u){return`Cannot include a '${t}' character in a manually specified \`to.${r}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function S$(t){return t.filter((r,i)=>i===0||r.route.path&&r.route.path.length>0)}function Uh(t){let r=S$(t);return r.map((i,u)=>u===r.length-1?i.pathname:i.pathnameBase)}function Bh(t,r,i,u=!1){let o;typeof t=="string"?o=Ca(t):(o={...t},Ve(!o.pathname||!o.pathname.includes("?"),$d("?","pathname","search",o)),Ve(!o.pathname||!o.pathname.includes("#"),$d("#","pathname","hash",o)),Ve(!o.search||!o.search.includes("#"),$d("#","search","hash",o)));let f=t===""||o.pathname==="",d=f?"/":o.pathname,y;if(d==null)y=i;else{let v=r.length-1;if(!u&&d.startsWith("..")){let A=d.split("/");for(;A[0]==="..";)A.shift(),v-=1;o.pathname=A.join("/")}y=v>=0?r[v]:"/"}let m=_$(o,y),h=d&&d!=="/"&&d.endsWith("/"),b=(f||d===".")&&i.endsWith("/");return!m.pathname.endsWith("/")&&(h||b)&&(m.pathname+="/"),m}var fr=t=>t.join("/").replace(/\/\/+/g,"/"),x$=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),E$=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,T$=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function O$(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var D1=["POST","PUT","PATCH","DELETE"];new Set(D1);var A$=["GET",...D1];new Set(A$);var qi=$.createContext(null);qi.displayName="DataRouter";var Ho=$.createContext(null);Ho.displayName="DataRouterState";$.createContext(!1);var q1=$.createContext({isTransitioning:!1});q1.displayName="ViewTransition";var $$=$.createContext(new Map);$$.displayName="Fetchers";var R$=$.createContext(null);R$.displayName="Await";var xn=$.createContext(null);xn.displayName="Navigation";var du=$.createContext(null);du.displayName="Location";var En=$.createContext({outlet:null,matches:[],isDataRoute:!1});En.displayName="Route";var jh=$.createContext(null);jh.displayName="RouteError";function C$(t,{relative:r}={}){Ve(Ui(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:u}=$.useContext(xn),{hash:o,pathname:f,search:d}=hu(t,{relative:r}),y=f;return i!=="/"&&(y=f==="/"?i:fr([i,f])),u.createHref({pathname:y,search:d,hash:o})}function Ui(){return $.useContext(du)!=null}function vr(){return Ve(Ui(),"useLocation() may be used only in the context of a <Router> component."),$.useContext(du).location}var U1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function B1(t){$.useContext(xn).static||$.useLayoutEffect(t)}function Lh(){let{isDataRoute:t}=$.useContext(En);return t?V$():M$()}function M$(){Ve(Ui(),"useNavigate() may be used only in the context of a <Router> component.");let t=$.useContext(qi),{basename:r,navigator:i}=$.useContext(xn),{matches:u}=$.useContext(En),{pathname:o}=vr(),f=JSON.stringify(Uh(u)),d=$.useRef(!1);return B1(()=>{d.current=!0}),$.useCallback((m,h={})=>{if(dn(d.current,U1),!d.current)return;if(typeof m=="number"){i.go(m);return}let b=Bh(m,JSON.parse(f),o,h.relative==="path");t==null&&r!=="/"&&(b.pathname=b.pathname==="/"?r:fr([r,b.pathname])),(h.replace?i.replace:i.push)(b,h.state,h)},[r,i,f,o,t])}$.createContext(null);function N$(){let{matches:t}=$.useContext(En),r=t[t.length-1];return r?r.params:{}}function hu(t,{relative:r}={}){let{matches:i}=$.useContext(En),{pathname:u}=vr(),o=JSON.stringify(Uh(i));return $.useMemo(()=>Bh(t,JSON.parse(o),u,r==="path"),[t,o,u,r])}function z$(t,r){return j1(t,r)}function j1(t,r,i,u,o){Ve(Ui(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:f}=$.useContext(xn),{matches:d}=$.useContext(En),y=d[d.length-1],m=y?y.params:{},h=y?y.pathname:"/",b=y?y.pathnameBase:"/",v=y&&y.route;{let E=v&&v.path||"";L1(h,!v||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${E}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
21
-
22
- Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}/*`}">.`)}let A=vr(),C;if(r){let E=typeof r=="string"?Ca(r):r;Ve(b==="/"||E.pathname?.startsWith(b),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${b}" but pathname "${E.pathname}" was given in the \`location\` prop.`),C=E}else C=A;let U=C.pathname||"/",O=U;if(b!=="/"){let E=b.replace(/^\//,"").split("/");O="/"+U.replace(/^\//,"").split("/").slice(E.length).join("/")}let z=M1(t,{pathname:O});dn(v||z!=null,`No routes matched location "${C.pathname}${C.search}${C.hash}" `),dn(z==null||z[z.length-1].route.element!==void 0||z[z.length-1].route.Component!==void 0||z[z.length-1].route.lazy!==void 0,`Matched leaf route at location "${C.pathname}${C.search}${C.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let G=j$(z&&z.map(E=>Object.assign({},E,{params:Object.assign({},m,E.params),pathname:fr([b,f.encodeLocation?f.encodeLocation(E.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?b:fr([b,f.encodeLocation?f.encodeLocation(E.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),d,i,u,o);return r&&G?$.createElement(du.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...C},navigationType:"POP"}},G):G}function D$(){let t=Y$(),r=O$(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),i=t instanceof Error?t.stack:null,u="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:u},f={padding:"2px 4px",backgroundColor:u},d=null;return console.error("Error handled by React Router default ErrorBoundary:",t),d=$.createElement($.Fragment,null,$.createElement("p",null,"💿 Hey developer 👋"),$.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",$.createElement("code",{style:f},"ErrorBoundary")," or"," ",$.createElement("code",{style:f},"errorElement")," prop on your route.")),$.createElement($.Fragment,null,$.createElement("h2",null,"Unexpected Application Error!"),$.createElement("h3",{style:{fontStyle:"italic"}},r),i?$.createElement("pre",{style:o},i):null,d)}var q$=$.createElement(D$,null),U$=class extends $.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){this.props.unstable_onError?this.props.unstable_onError(t,r):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?$.createElement(En.Provider,{value:this.props.routeContext},$.createElement(jh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function B$({routeContext:t,match:r,children:i}){let u=$.useContext(qi);return u&&u.static&&u.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=r.route.id),$.createElement(En.Provider,{value:t},i)}function j$(t,r=[],i=null,u=null,o=null){if(t==null){if(!i)return null;if(i.errors)t=i.matches;else if(r.length===0&&!i.initialized&&i.matches.length>0)t=i.matches;else return null}let f=t,d=i?.errors;if(d!=null){let h=f.findIndex(b=>b.route.id&&d?.[b.route.id]!==void 0);Ve(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),f=f.slice(0,Math.min(f.length,h+1))}let y=!1,m=-1;if(i)for(let h=0;h<f.length;h++){let b=f[h];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(m=h),b.route.id){let{loaderData:v,errors:A}=i,C=b.route.loader&&!v.hasOwnProperty(b.route.id)&&(!A||A[b.route.id]===void 0);if(b.route.lazy||C){y=!0,m>=0?f=f.slice(0,m+1):f=[f[0]];break}}}return f.reduceRight((h,b,v)=>{let A,C=!1,U=null,O=null;i&&(A=d&&b.route.id?d[b.route.id]:void 0,U=b.route.errorElement||q$,y&&(m<0&&v===0?(L1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,O=null):m===v&&(C=!0,O=b.route.hydrateFallbackElement||null)));let z=r.concat(f.slice(0,v+1)),G=()=>{let E;return A?E=U:C?E=O:b.route.Component?E=$.createElement(b.route.Component,null):b.route.element?E=b.route.element:E=h,$.createElement(B$,{match:b,routeContext:{outlet:h,matches:z,isDataRoute:i!=null},children:E})};return i&&(b.route.ErrorBoundary||b.route.errorElement||v===0)?$.createElement(U$,{location:i.location,revalidation:i.revalidation,component:U,error:A,children:G(),routeContext:{outlet:null,matches:z,isDataRoute:!0},unstable_onError:u}):G()},null)}function Zh(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function L$(t){let r=$.useContext(qi);return Ve(r,Zh(t)),r}function Z$(t){let r=$.useContext(Ho);return Ve(r,Zh(t)),r}function H$(t){let r=$.useContext(En);return Ve(r,Zh(t)),r}function Hh(t){let r=H$(t),i=r.matches[r.matches.length-1];return Ve(i.route.id,`${t} can only be used on routes that contain a unique "id"`),i.route.id}function G$(){return Hh("useRouteId")}function Y$(){let t=$.useContext(jh),r=Z$("useRouteError"),i=Hh("useRouteError");return t!==void 0?t:r.errors?.[i]}function V$(){let{router:t}=L$("useNavigate"),r=Hh("useNavigate"),i=$.useRef(!1);return B1(()=>{i.current=!0}),$.useCallback(async(o,f={})=>{dn(i.current,U1),i.current&&(typeof o=="number"?t.navigate(o):await t.navigate(o,{fromRouteId:r,...f}))},[t,r])}var m0={};function L1(t,r,i){!r&&!m0[t]&&(m0[t]=!0,dn(!1,i))}$.memo(X$);function X$({routes:t,future:r,state:i,unstable_onError:u}){return j1(t,void 0,i,u,r)}function Q$({to:t,replace:r,state:i,relative:u}){Ve(Ui(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=$.useContext(xn);dn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:f}=$.useContext(En),{pathname:d}=vr(),y=Lh(),m=Bh(t,Uh(f),d,u==="path"),h=JSON.stringify(m);return $.useEffect(()=>{y(JSON.parse(h),{replace:r,state:i,relative:u})},[y,h,u,r,i]),null}function Z1(t){Ve(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function K$({basename:t="/",children:r=null,location:i,navigationType:u="POP",navigator:o,static:f=!1}){Ve(!Ui(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=t.replace(/^\/*/,"/"),y=$.useMemo(()=>({basename:d,navigator:o,static:f,future:{}}),[d,o,f]);typeof i=="string"&&(i=Ca(i));let{pathname:m="/",search:h="",hash:b="",state:v=null,key:A="default"}=i,C=$.useMemo(()=>{let U=pr(m,d);return U==null?null:{location:{pathname:U,search:h,hash:b,state:v,key:A},navigationType:u}},[d,m,h,b,v,A,u]);return dn(C!=null,`<Router basename="${d}"> is not able to match the URL "${m}${h}${b}" because it does not start with the basename, so the <Router> won't render anything.`),C==null?null:$.createElement(xn.Provider,{value:y},$.createElement(du.Provider,{children:r,value:C}))}function F$({children:t,location:r}){return z$(lh(t),r)}function lh(t,r=[]){let i=[];return $.Children.forEach(t,(u,o)=>{if(!$.isValidElement(u))return;let f=[...r,o];if(u.type===$.Fragment){i.push.apply(i,lh(u.props.children,f));return}Ve(u.type===Z1,`[${typeof u.type=="string"?u.type:u.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ve(!u.props.index||!u.props.children,"An index route cannot have child routes.");let d={id:u.props.id||f.join("-"),caseSensitive:u.props.caseSensitive,element:u.props.element,Component:u.props.Component,index:u.props.index,path:u.props.path,middleware:u.props.middleware,loader:u.props.loader,action:u.props.action,hydrateFallbackElement:u.props.hydrateFallbackElement,HydrateFallback:u.props.HydrateFallback,errorElement:u.props.errorElement,ErrorBoundary:u.props.ErrorBoundary,hasErrorBoundary:u.props.hasErrorBoundary===!0||u.props.ErrorBoundary!=null||u.props.errorElement!=null,shouldRevalidate:u.props.shouldRevalidate,handle:u.props.handle,lazy:u.props.lazy};u.props.children&&(d.children=lh(u.props.children,f)),i.push(d)}),i}var lo="get",uo="application/x-www-form-urlencoded";function Go(t){return t!=null&&typeof t.tagName=="string"}function J$(t){return Go(t)&&t.tagName.toLowerCase()==="button"}function k$(t){return Go(t)&&t.tagName.toLowerCase()==="form"}function P$(t){return Go(t)&&t.tagName.toLowerCase()==="input"}function W$(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function I$(t,r){return t.button===0&&(!r||r==="_self")&&!W$(t)}var Vs=null;function eR(){if(Vs===null)try{new FormData(document.createElement("form"),0),Vs=!1}catch{Vs=!0}return Vs}var tR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Rd(t){return t!=null&&!tR.has(t)?(dn(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${uo}"`),null):t}function nR(t,r){let i,u,o,f,d;if(k$(t)){let y=t.getAttribute("action");u=y?pr(y,r):null,i=t.getAttribute("method")||lo,o=Rd(t.getAttribute("enctype"))||uo,f=new FormData(t)}else if(J$(t)||P$(t)&&(t.type==="submit"||t.type==="image")){let y=t.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||y.getAttribute("action");if(u=m?pr(m,r):null,i=t.getAttribute("formmethod")||y.getAttribute("method")||lo,o=Rd(t.getAttribute("formenctype"))||Rd(y.getAttribute("enctype"))||uo,f=new FormData(y,t),!eR()){let{name:h,type:b,value:v}=t;if(b==="image"){let A=h?`${h}.`:"";f.append(`${A}x`,"0"),f.append(`${A}y`,"0")}else h&&f.append(h,v)}}else{if(Go(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=lo,u=null,o=uo,d=t}return f&&o==="text/plain"&&(d=f,f=void 0),{action:u,method:i.toLowerCase(),encType:o,formData:f,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Gh(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function rR(t,r,i){let u=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return u.pathname==="/"?u.pathname=`_root.${i}`:r&&pr(u.pathname,r)==="/"?u.pathname=`${r.replace(/\/$/,"")}/_root.${i}`:u.pathname=`${u.pathname.replace(/\/$/,"")}.${i}`,u}async function aR(t,r){if(t.id in r)return r[t.id];try{let i=await import(t.module);return r[t.id]=i,i}catch(i){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function iR(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function lR(t,r,i){let u=await Promise.all(t.map(async o=>{let f=r.routes[o.route.id];if(f){let d=await aR(f,i);return d.links?d.links():[]}return[]}));return cR(u.flat(1).filter(iR).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function y0(t,r,i,u,o,f){let d=(m,h)=>i[h]?m.route.id!==i[h].route.id:!0,y=(m,h)=>i[h].pathname!==m.pathname||i[h].route.path?.endsWith("*")&&i[h].params["*"]!==m.params["*"];return f==="assets"?r.filter((m,h)=>d(m,h)||y(m,h)):f==="data"?r.filter((m,h)=>{let b=u.routes[m.route.id];if(!b||!b.hasLoader)return!1;if(d(m,h)||y(m,h))return!0;if(m.route.shouldRevalidate){let v=m.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function uR(t,r,{includeHydrateFallback:i}={}){return sR(t.map(u=>{let o=r.routes[u.route.id];if(!o)return[];let f=[o.module];return o.clientActionModule&&(f=f.concat(o.clientActionModule)),o.clientLoaderModule&&(f=f.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(f=f.concat(o.hydrateFallbackModule)),o.imports&&(f=f.concat(o.imports)),f}).flat(1))}function sR(t){return[...new Set(t)]}function oR(t){let r={},i=Object.keys(t).sort();for(let u of i)r[u]=t[u];return r}function cR(t,r){let i=new Set;return new Set(r),t.reduce((u,o)=>{let f=JSON.stringify(oR(o));return i.has(f)||(i.add(f),u.push({key:f,link:o})),u},[])}function H1(){let t=$.useContext(qi);return Gh(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function fR(){let t=$.useContext(Ho);return Gh(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Yh=$.createContext(void 0);Yh.displayName="FrameworkContext";function G1(){let t=$.useContext(Yh);return Gh(t,"You must render this element inside a <HydratedRouter> element"),t}function dR(t,r){let i=$.useContext(Yh),[u,o]=$.useState(!1),[f,d]=$.useState(!1),{onFocus:y,onBlur:m,onMouseEnter:h,onMouseLeave:b,onTouchStart:v}=r,A=$.useRef(null);$.useEffect(()=>{if(t==="render"&&d(!0),t==="viewport"){let O=G=>{G.forEach(E=>{d(E.isIntersecting)})},z=new IntersectionObserver(O,{threshold:.5});return A.current&&z.observe(A.current),()=>{z.disconnect()}}},[t]),$.useEffect(()=>{if(u){let O=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(O)}}},[u]);let C=()=>{o(!0)},U=()=>{o(!1),d(!1)};return i?t!=="intent"?[f,A,{}]:[f,A,{onFocus:Ul(y,C),onBlur:Ul(m,U),onMouseEnter:Ul(h,C),onMouseLeave:Ul(b,U),onTouchStart:Ul(v,C)}]:[!1,A,{}]}function Ul(t,r){return i=>{t&&t(i),i.defaultPrevented||r(i)}}function hR({page:t,...r}){let{router:i}=H1(),u=$.useMemo(()=>M1(i.routes,t,i.basename),[i.routes,t,i.basename]);return u?$.createElement(mR,{page:t,matches:u,...r}):null}function pR(t){let{manifest:r,routeModules:i}=G1(),[u,o]=$.useState([]);return $.useEffect(()=>{let f=!1;return lR(t,r,i).then(d=>{f||o(d)}),()=>{f=!0}},[t,r,i]),u}function mR({page:t,matches:r,...i}){let u=vr(),{manifest:o,routeModules:f}=G1(),{basename:d}=H1(),{loaderData:y,matches:m}=fR(),h=$.useMemo(()=>y0(t,r,m,o,u,"data"),[t,r,m,o,u]),b=$.useMemo(()=>y0(t,r,m,o,u,"assets"),[t,r,m,o,u]),v=$.useMemo(()=>{if(t===u.pathname+u.search+u.hash)return[];let U=new Set,O=!1;if(r.forEach(G=>{let E=o.routes[G.route.id];!E||!E.hasLoader||(!h.some(D=>D.route.id===G.route.id)&&G.route.id in y&&f[G.route.id]?.shouldRevalidate||E.hasClientLoader?O=!0:U.add(G.route.id))}),U.size===0)return[];let z=rR(t,d,"data");return O&&U.size>0&&z.searchParams.set("_routes",r.filter(G=>U.has(G.route.id)).map(G=>G.route.id).join(",")),[z.pathname+z.search]},[d,y,u,o,h,r,t,f]),A=$.useMemo(()=>uR(b,o),[b,o]),C=pR(b);return $.createElement($.Fragment,null,v.map(U=>$.createElement("link",{key:U,rel:"prefetch",as:"fetch",href:U,...i})),A.map(U=>$.createElement("link",{key:U,rel:"modulepreload",href:U,...i})),C.map(({key:U,link:O})=>$.createElement("link",{key:U,nonce:i.nonce,...O})))}function yR(...t){return r=>{t.forEach(i=>{typeof i=="function"?i(r):i!=null&&(i.current=r)})}}var Y1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Y1&&(window.__reactRouterVersion="7.9.4")}catch{}function gR({basename:t,children:r,window:i}){let u=$.useRef();u.current==null&&(u.current=r$({window:i,v5Compat:!0}));let o=u.current,[f,d]=$.useState({action:o.action,location:o.location}),y=$.useCallback(m=>{$.startTransition(()=>d(m))},[d]);return $.useLayoutEffect(()=>o.listen(y),[o,y]),$.createElement(K$,{basename:t,children:r,location:f.location,navigationType:f.action,navigator:o})}var V1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,X1=$.forwardRef(function({onClick:r,discover:i="render",prefetch:u="none",relative:o,reloadDocument:f,replace:d,state:y,target:m,to:h,preventScrollReset:b,viewTransition:v,...A},C){let{basename:U}=$.useContext(xn),O=typeof h=="string"&&V1.test(h),z,G=!1;if(typeof h=="string"&&O&&(z=h,Y1))try{let ne=new URL(window.location.href),Me=h.startsWith("//")?new URL(ne.protocol+h):new URL(h),ke=pr(Me.pathname,U);Me.origin===ne.origin&&ke!=null?h=ke+Me.search+Me.hash:G=!0}catch{dn(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let E=C$(h,{relative:o}),[D,Y,j]=dR(u,A),k=wR(h,{replace:d,state:y,target:m,preventScrollReset:b,relative:o,viewTransition:v});function L(ne){r&&r(ne),ne.defaultPrevented||k(ne)}let oe=$.createElement("a",{...A,...j,href:z||E,onClick:G||f?r:L,ref:yR(C,Y),target:m,"data-discover":!O&&i==="render"?"true":void 0});return D&&!O?$.createElement($.Fragment,null,oe,$.createElement(hR,{page:E})):oe});X1.displayName="Link";var bR=$.forwardRef(function({"aria-current":r="page",caseSensitive:i=!1,className:u="",end:o=!1,style:f,to:d,viewTransition:y,children:m,...h},b){let v=hu(d,{relative:h.relative}),A=vr(),C=$.useContext(Ho),{navigator:U,basename:O}=$.useContext(xn),z=C!=null&&OR(v)&&y===!0,G=U.encodeLocation?U.encodeLocation(v).pathname:v.pathname,E=A.pathname,D=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;i||(E=E.toLowerCase(),D=D?D.toLowerCase():null,G=G.toLowerCase()),D&&O&&(D=pr(D,O)||D);const Y=G!=="/"&&G.endsWith("/")?G.length-1:G.length;let j=E===G||!o&&E.startsWith(G)&&E.charAt(Y)==="/",k=D!=null&&(D===G||!o&&D.startsWith(G)&&D.charAt(G.length)==="/"),L={isActive:j,isPending:k,isTransitioning:z},oe=j?r:void 0,ne;typeof u=="function"?ne=u(L):ne=[u,j?"active":null,k?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let Me=typeof f=="function"?f(L):f;return $.createElement(X1,{...h,"aria-current":oe,className:ne,ref:b,style:Me,to:d,viewTransition:y},typeof m=="function"?m(L):m)});bR.displayName="NavLink";var vR=$.forwardRef(({discover:t="render",fetcherKey:r,navigate:i,reloadDocument:u,replace:o,state:f,method:d=lo,action:y,onSubmit:m,relative:h,preventScrollReset:b,viewTransition:v,...A},C)=>{let U=ER(),O=TR(y,{relative:h}),z=d.toLowerCase()==="get"?"get":"post",G=typeof y=="string"&&V1.test(y),E=D=>{if(m&&m(D),D.defaultPrevented)return;D.preventDefault();let Y=D.nativeEvent.submitter,j=Y?.getAttribute("formmethod")||d;U(Y||D.currentTarget,{fetcherKey:r,method:j,navigate:i,replace:o,state:f,relative:h,preventScrollReset:b,viewTransition:v})};return $.createElement("form",{ref:C,method:z,action:O,onSubmit:u?m:E,...A,"data-discover":!G&&t==="render"?"true":void 0})});vR.displayName="Form";function _R(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Q1(t){let r=$.useContext(qi);return Ve(r,_R(t)),r}function wR(t,{target:r,replace:i,state:u,preventScrollReset:o,relative:f,viewTransition:d}={}){let y=Lh(),m=vr(),h=hu(t,{relative:f});return $.useCallback(b=>{if(I$(b,r)){b.preventDefault();let v=i!==void 0?i:nu(m)===nu(h);y(t,{replace:v,state:u,preventScrollReset:o,relative:f,viewTransition:d})}},[m,y,h,i,u,r,t,o,f,d])}var SR=0,xR=()=>`__${String(++SR)}__`;function ER(){let{router:t}=Q1("useSubmit"),{basename:r}=$.useContext(xn),i=G$();return $.useCallback(async(u,o={})=>{let{action:f,method:d,encType:y,formData:m,body:h}=nR(u,r);if(o.navigate===!1){let b=o.fetcherKey||xR();await t.fetch(b,i,o.action||f,{preventScrollReset:o.preventScrollReset,formData:m,body:h,formMethod:o.method||d,formEncType:o.encType||y,flushSync:o.flushSync})}else await t.navigate(o.action||f,{preventScrollReset:o.preventScrollReset,formData:m,body:h,formMethod:o.method||d,formEncType:o.encType||y,replace:o.replace,state:o.state,fromRouteId:i,flushSync:o.flushSync,viewTransition:o.viewTransition})},[t,r,i])}function TR(t,{relative:r}={}){let{basename:i}=$.useContext(xn),u=$.useContext(En);Ve(u,"useFormAction must be used inside a RouteContext");let[o]=u.matches.slice(-1),f={...hu(t||".",{relative:r})},d=vr();if(t==null){f.search=d.search;let y=new URLSearchParams(f.search),m=y.getAll("index");if(m.some(b=>b==="")){y.delete("index"),m.filter(v=>v).forEach(v=>y.append("index",v));let b=y.toString();f.search=b?`?${b}`:""}}return(!t||t===".")&&o.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(f.pathname=f.pathname==="/"?i:fr([i,f.pathname])),nu(f)}function OR(t,{relative:r}={}){let i=$.useContext(q1);Ve(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=Q1("useViewTransitionState"),o=hu(t,{relative:r});if(!i.isTransitioning)return!1;let f=pr(i.currentLocation.pathname,u)||i.currentLocation.pathname,d=pr(i.nextLocation.pathname,u)||i.nextLocation.pathname;return _o(o.pathname,d)!=null||_o(o.pathname,f)!=null}var Cd={exports:{}},St={};/**
23
- * @license React
24
- * react-dom.production.js
25
- *
26
- * Copyright (c) Meta Platforms, Inc. and affiliates.
27
- *
28
- * This source code is licensed under the MIT license found in the
29
- * LICENSE file in the root directory of this source tree.
30
- */var g0;function AR(){if(g0)return St;g0=1;var t=xh();function r(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)h+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for("react.portal");function f(m,h,b){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:v==null?null:""+v,children:m,containerInfo:h,implementation:b}}var d=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return St.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,St.createPortal=function(m,h){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return f(m,h,null,b)},St.flushSync=function(m){var h=d.T,b=u.p;try{if(d.T=null,u.p=2,m)return m()}finally{d.T=h,u.p=b,u.d.f()}},St.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,u.d.C(m,h))},St.prefetchDNS=function(m){typeof m=="string"&&u.d.D(m)},St.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var b=h.as,v=y(b,h.crossOrigin),A=typeof h.integrity=="string"?h.integrity:void 0,C=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;b==="style"?u.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:v,integrity:A,fetchPriority:C}):b==="script"&&u.d.X(m,{crossOrigin:v,integrity:A,fetchPriority:C,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},St.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var b=y(h.as,h.crossOrigin);u.d.M(m,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&u.d.M(m)},St.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var b=h.as,v=y(b,h.crossOrigin);u.d.L(m,b,{crossOrigin:v,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},St.preloadModule=function(m,h){if(typeof m=="string")if(h){var b=y(h.as,h.crossOrigin);u.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else u.d.m(m)},St.requestFormReset=function(m){u.d.r(m)},St.unstable_batchedUpdates=function(m,h){return m(h)},St.useFormState=function(m,h,b){return d.H.useFormState(m,h,b)},St.useFormStatus=function(){return d.H.useHostTransitionStatus()},St.version="19.2.0",St}var b0;function $R(){if(b0)return Cd.exports;b0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Cd.exports=AR(),Cd.exports}var Md,v0;function RR(){return v0||(v0=1,Md=function(r,i){if(i=i.split(":")[0],r=+r,!r)return!1;switch(i){case"http":case"ws":return r!==80;case"https":case"wss":return r!==443;case"ftp":return r!==21;case"gopher":return r!==70;case"file":return!1}return r!==0}),Md}var Xs={},_0;function CR(){if(_0)return Xs;_0=1;var t=Object.prototype.hasOwnProperty,r;function i(d){try{return decodeURIComponent(d.replace(/\+/g," "))}catch{return null}}function u(d){try{return encodeURIComponent(d)}catch{return null}}function o(d){for(var y=/([^=?#&]+)=?([^&]*)/g,m={},h;h=y.exec(d);){var b=i(h[1]),v=i(h[2]);b===null||v===null||b in m||(m[b]=v)}return m}function f(d,y){y=y||"";var m=[],h,b;typeof y!="string"&&(y="?");for(b in d)if(t.call(d,b)){if(h=d[b],!h&&(h===null||h===r||isNaN(h))&&(h=""),b=u(b),h=u(h),b===null||h===null)continue;m.push(b+"="+h)}return m.length?y+m.join("&"):""}return Xs.stringify=f,Xs.parse=o,Xs}var Nd,w0;function MR(){if(w0)return Nd;w0=1;var t=RR(),r=CR(),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u=/[\n\r\t]/g,o=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,f=/:\d+$/,d=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,y=/^[a-zA-Z]:/;function m(E){return(E||"").toString().replace(i,"")}var h=[["#","hash"],["?","query"],function(D,Y){return A(Y.protocol)?D.replace(/\\/g,"/"):D},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],b={hash:1,query:1};function v(E){var D;typeof window<"u"?D=window:typeof bi<"u"?D=bi:typeof self<"u"?D=self:D={};var Y=D.location||{};E=E||Y;var j={},k=typeof E,L;if(E.protocol==="blob:")j=new O(unescape(E.pathname),{});else if(k==="string"){j=new O(E,{});for(L in b)delete j[L]}else if(k==="object"){for(L in E)L in b||(j[L]=E[L]);j.slashes===void 0&&(j.slashes=o.test(E.href))}return j}function A(E){return E==="file:"||E==="ftp:"||E==="http:"||E==="https:"||E==="ws:"||E==="wss:"}function C(E,D){E=m(E),E=E.replace(u,""),D=D||{};var Y=d.exec(E),j=Y[1]?Y[1].toLowerCase():"",k=!!Y[2],L=!!Y[3],oe=0,ne;return k?L?(ne=Y[2]+Y[3]+Y[4],oe=Y[2].length+Y[3].length):(ne=Y[2]+Y[4],oe=Y[2].length):L?(ne=Y[3]+Y[4],oe=Y[3].length):ne=Y[4],j==="file:"?oe>=2&&(ne=ne.slice(2)):A(j)?ne=Y[4]:j?k&&(ne=ne.slice(2)):oe>=2&&A(D.protocol)&&(ne=Y[4]),{protocol:j,slashes:k||A(j),slashesCount:oe,rest:ne}}function U(E,D){if(E==="")return D;for(var Y=(D||"/").split("/").slice(0,-1).concat(E.split("/")),j=Y.length,k=Y[j-1],L=!1,oe=0;j--;)Y[j]==="."?Y.splice(j,1):Y[j]===".."?(Y.splice(j,1),oe++):oe&&(j===0&&(L=!0),Y.splice(j,1),oe--);return L&&Y.unshift(""),(k==="."||k==="..")&&Y.push(""),Y.join("/")}function O(E,D,Y){if(E=m(E),E=E.replace(u,""),!(this instanceof O))return new O(E,D,Y);var j,k,L,oe,ne,Me,ke=h.slice(),$e=typeof D,te=this,ht=0;for($e!=="object"&&$e!=="string"&&(Y=D,D=null),Y&&typeof Y!="function"&&(Y=r.parse),D=v(D),k=C(E||"",D),j=!k.protocol&&!k.slashes,te.slashes=k.slashes||j&&D.slashes,te.protocol=k.protocol||D.protocol||"",E=k.rest,(k.protocol==="file:"&&(k.slashesCount!==2||y.test(E))||!k.slashes&&(k.protocol||k.slashesCount<2||!A(te.protocol)))&&(ke[3]=[/(.*)/,"pathname"]);ht<ke.length;ht++){if(oe=ke[ht],typeof oe=="function"){E=oe(E,te);continue}L=oe[0],Me=oe[1],L!==L?te[Me]=E:typeof L=="string"?(ne=L==="@"?E.lastIndexOf(L):E.indexOf(L),~ne&&(typeof oe[2]=="number"?(te[Me]=E.slice(0,ne),E=E.slice(ne+oe[2])):(te[Me]=E.slice(ne),E=E.slice(0,ne)))):(ne=L.exec(E))&&(te[Me]=ne[1],E=E.slice(0,ne.index)),te[Me]=te[Me]||j&&oe[3]&&D[Me]||"",oe[4]&&(te[Me]=te[Me].toLowerCase())}Y&&(te.query=Y(te.query)),j&&D.slashes&&te.pathname.charAt(0)!=="/"&&(te.pathname!==""||D.pathname!=="")&&(te.pathname=U(te.pathname,D.pathname)),te.pathname.charAt(0)!=="/"&&A(te.protocol)&&(te.pathname="/"+te.pathname),t(te.port,te.protocol)||(te.host=te.hostname,te.port=""),te.username=te.password="",te.auth&&(ne=te.auth.indexOf(":"),~ne?(te.username=te.auth.slice(0,ne),te.username=encodeURIComponent(decodeURIComponent(te.username)),te.password=te.auth.slice(ne+1),te.password=encodeURIComponent(decodeURIComponent(te.password))):te.username=encodeURIComponent(decodeURIComponent(te.auth)),te.auth=te.password?te.username+":"+te.password:te.username),te.origin=te.protocol!=="file:"&&A(te.protocol)&&te.host?te.protocol+"//"+te.host:"null",te.href=te.toString()}function z(E,D,Y){var j=this;switch(E){case"query":typeof D=="string"&&D.length&&(D=(Y||r.parse)(D)),j[E]=D;break;case"port":j[E]=D,t(D,j.protocol)?D&&(j.host=j.hostname+":"+D):(j.host=j.hostname,j[E]="");break;case"hostname":j[E]=D,j.port&&(D+=":"+j.port),j.host=D;break;case"host":j[E]=D,f.test(D)?(D=D.split(":"),j.port=D.pop(),j.hostname=D.join(":")):(j.hostname=D,j.port="");break;case"protocol":j.protocol=D.toLowerCase(),j.slashes=!Y;break;case"pathname":case"hash":if(D){var k=E==="pathname"?"/":"#";j[E]=D.charAt(0)!==k?k+D:D}else j[E]=D;break;case"username":case"password":j[E]=encodeURIComponent(D);break;case"auth":var L=D.indexOf(":");~L?(j.username=D.slice(0,L),j.username=encodeURIComponent(decodeURIComponent(j.username)),j.password=D.slice(L+1),j.password=encodeURIComponent(decodeURIComponent(j.password))):j.username=encodeURIComponent(decodeURIComponent(D))}for(var oe=0;oe<h.length;oe++){var ne=h[oe];ne[4]&&(j[ne[1]]=j[ne[1]].toLowerCase())}return j.auth=j.password?j.username+":"+j.password:j.username,j.origin=j.protocol!=="file:"&&A(j.protocol)&&j.host?j.protocol+"//"+j.host:"null",j.href=j.toString(),j}function G(E){(!E||typeof E!="function")&&(E=r.stringify);var D,Y=this,j=Y.host,k=Y.protocol;k&&k.charAt(k.length-1)!==":"&&(k+=":");var L=k+(Y.protocol&&Y.slashes||A(Y.protocol)?"//":"");return Y.username?(L+=Y.username,Y.password&&(L+=":"+Y.password),L+="@"):Y.password?(L+=":"+Y.password,L+="@"):Y.protocol!=="file:"&&A(Y.protocol)&&!j&&Y.pathname!=="/"&&(L+="@"),(j[j.length-1]===":"||f.test(Y.hostname)&&!Y.port)&&(j+=":"),L+=j+Y.pathname,D=typeof Y.query=="object"?E(Y.query):Y.query,D&&(L+=D.charAt(0)!=="?"?"?"+D:D),Y.hash&&(L+=Y.hash),L}return O.prototype={set:z,toString:G},O.extractProtocol=C,O.location=v,O.trimLeft=m,O.qs=r,Nd=O,Nd}var NR=MR();const zR=dh(NR);var Vh=function(t){return t.JSON="application/json",t.OctetStream="application/octet-stream",t.Zip="application/zip",t}({}),DR=function(t){return t.APNG="image/apng",t.AVIF="image/avif",t.GIF="image/gif",t.JPEG="image/jpeg",t.PNG="image/png",t.SVG="image/svg+xml",t.WebP="image/webp",t}({}),qR=function(t){return t.CSS="text/css",t.CSV="text/csv",t.EcmaScript="text/ecmascript",t.HTML="text/html",t.JavaScript="text/javascript",t.Plain="text/plain",t.XML="text/xml",t}({});const UR=Object.freeze({"":"text/plain;charset=ASCII",...dt(Object.values(Vh)),...dt(Object.values(qR)),...dt(Object.values(DR))});function BR(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class jR{parse(r){if(this._data={mimeType:"",encoding:"utf8",buffer:new Uint8Array([])},!r.startsWith("data:"))return this;r=r.substring(5);const i=r.split(",");if(i.length<2)return this;const[u,...o]=i;let[f,...d]=u.split(";");const y=J4(d)==="base64";this._data.encoding=y?"base64":"utf8",y&&d.pop(),Object.hasOwnProperty.call(UR,f)||(f=Vh.OctetStream,d=[]),f=[f,...d].join(";"),this._data.mimeType=f;let m=o.join("%2C");if(y)try{m=atob(m)}catch{m=""}else m=decodeURIComponent(m);return this._data.buffer=new TextEncoder().encode(m),this}mimeType(r){return this._data.mimeType=r,this}buffer(r){return this._data.buffer=typeof r=="string"?new TextEncoder().encode(r):r,this}encode(r){return this._data.encoding=r,this}build(){const r="data",i=this._data.encoding==="base64"?";base64":"";let u=new TextDecoder("utf8").decode(this._data.buffer);return this._data.encoding==="utf8"&&(u=encodeURIComponent(u),u=u.split("!").join("%21")),this._data.encoding==="base64"&&(u=btoa(u)),`${r}:${this._data.mimeType}${i},${u}`}info(){const r={...this._data};return r.buffer=this._data.buffer.slice(),r}constructor(){BR(this,"_data",void 0),this._data={mimeType:"",encoding:"utf8",buffer:new Uint8Array([])}}}function Yo(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Jt{static defaults(r,i){const u=+i;return isNaN(u)||u<1?!0:Jt.ProtocolPorts[r]===+i}location(r){this.protocol(r.protocol).hostname(r.hostname).hash(r.hash).path(r.pathname).port(+r.port);let i=r.search;return i.startsWith("?")&&(i=i.slice(1),i.split("&").map(o=>o.split("=")).forEach(o=>this.param(o[0],o[1]))),this}api(r,i="api"){return this.location(r).hash("").path(i)}parse(r){const i=new zR(r,!0);return this.protocol(i.protocol).username(i.username).password(i.password).hostname(i.hostname).hash(i.hash).path(i.pathname).port(i.port?+i.port:void 0),Object.keys(i.query).forEach(u=>this.param(u,i.query[u])),this}gravatar(r,i){let u=this.parse(Jt.UrlGravatar);return u=r?u.append(r):u,u=i?u.param("s",String(i)):u,u}youTube(r,i){let u=this.parse(Jt.UrlYouTube);return u=r?u.path(`${r}/${i}`):u,r==="watch"&&(u=u.path(r).param("v",i)),u}protocol(r){return this._url.protocol=r,this}username(r){return this._url.username=r,this}password(r){return this._url.password=r,this}hostname(r){return this._url.hostname=r,this}subdomain(r){return this._url.hostname=this._url.hostname?`${r}.${this._url.hostname}`:r,this}popSubdomain(){const r=this._url.hostname.split(".");return r.splice(0,1),this._url.hostname=r.join("."),this}port(r){return this._url.port=r,this}path(r){return this._url.path=[r],this}append(r){return this._url.path.push(r),this}hash(r){return this._url.hash=r,this}param(r,i){return this._url.params.push({key:r,val:i}),this}onlyParam(r,i){return this._url.params=this._url.params.filter(u=>u.key!==r),i?this.param(r,i):this}page(r){return this.onlyParam("page",r==null||r<1?void 0:String(r))}size(r){return this.onlyParam("size",r==null||r<0?void 0:String(r))}search(r){return this.onlyParam("search",r||void 0)}filter(r){return this.onlyParam("filter",r||void 0)}sort(r){return this.onlyParam("sort",r||void 0)}build(){const r=aO(this._url.params,v=>v.key).map(v=>`${v.key}=${encodeURIComponent(v.val)}`).join("&"),i=Be(this._url.username),u=Be(this._url.password);let o=Be(this._url.protocol),f=Be(this._url.hostname),d=String(this._url.port),y=Be(this._url.hash),m=this._url.path.map(v=>Be(v,"/")).join("/"),h="";o=iO(o,"/:"),f=Be(f,"/"),y=su(y,"#"),m=Be(m,"/"),Jt.defaults(o,d)?d="":d=`:${d}`,i&&(h=u?`${i}:${u}@`:`${i}@`);let b=`${o}://${h}${f}${d}`;return m&&(b=`${b}/${m}`),r&&(b=`${b}/?${r}`),y&&(b=`${b}#${y}`),b}info(){return JSON.parse(JSON.stringify(this._url))}constructor(r="http",i="localhost"){Yo(this,"_url",void 0),this._url={protocol:r,hostname:i,path:["/"],hash:"",params:[]}}}Yo(Jt,"UrlGravatar","https://s.gravatar.com/avatar");Yo(Jt,"UrlYouTube","https://www.youtube.com");Yo(Jt,"ProtocolPorts",{http:80,https:443,ftp:21,sftp:22,ssh:22,smtp:25,smb:445});var Qs={exports:{}},S0;function LR(){return S0||(S0=1,function(t,r){var i=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof bi<"u"&&bi,u=function(){function f(){this.fetch=!1,this.DOMException=i.DOMException}return f.prototype=i,new f}();(function(f){(function(d){var y=typeof f<"u"&&f||typeof self<"u"&&self||typeof bi<"u"&&bi||{},m={searchParams:"URLSearchParams"in y,iterable:"Symbol"in y&&"iterator"in Symbol,blob:"FileReader"in y&&"Blob"in y&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in y,arrayBuffer:"ArrayBuffer"in y};function h(B){return B&&DataView.prototype.isPrototypeOf(B)}if(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],v=ArrayBuffer.isView||function(B){return B&&b.indexOf(Object.prototype.toString.call(B))>-1};function A(B){if(typeof B!="string"&&(B=String(B)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(B)||B==="")throw new TypeError('Invalid character in header field name: "'+B+'"');return B.toLowerCase()}function C(B){return typeof B!="string"&&(B=String(B)),B}function U(B){var S={next:function(){var F=B.shift();return{done:F===void 0,value:F}}};return m.iterable&&(S[Symbol.iterator]=function(){return S}),S}function O(B){this.map={},B instanceof O?B.forEach(function(S,F){this.append(F,S)},this):Array.isArray(B)?B.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):B&&Object.getOwnPropertyNames(B).forEach(function(S){this.append(S,B[S])},this)}O.prototype.append=function(B,S){B=A(B),S=C(S);var F=this.map[B];this.map[B]=F?F+", "+S:S},O.prototype.delete=function(B){delete this.map[A(B)]},O.prototype.get=function(B){return B=A(B),this.has(B)?this.map[B]:null},O.prototype.has=function(B){return this.map.hasOwnProperty(A(B))},O.prototype.set=function(B,S){this.map[A(B)]=C(S)},O.prototype.forEach=function(B,S){for(var F in this.map)this.map.hasOwnProperty(F)&&B.call(S,this.map[F],F,this)},O.prototype.keys=function(){var B=[];return this.forEach(function(S,F){B.push(F)}),U(B)},O.prototype.values=function(){var B=[];return this.forEach(function(S){B.push(S)}),U(B)},O.prototype.entries=function(){var B=[];return this.forEach(function(S,F){B.push([F,S])}),U(B)},m.iterable&&(O.prototype[Symbol.iterator]=O.prototype.entries);function z(B){if(!B._noBody){if(B.bodyUsed)return Promise.reject(new TypeError("Already read"));B.bodyUsed=!0}}function G(B){return new Promise(function(S,F){B.onload=function(){S(B.result)},B.onerror=function(){F(B.error)}})}function E(B){var S=new FileReader,F=G(S);return S.readAsArrayBuffer(B),F}function D(B){var S=new FileReader,F=G(S),W=/charset=([A-Za-z0-9_-]+)/.exec(B.type),ue=W?W[1]:"utf-8";return S.readAsText(B,ue),F}function Y(B){for(var S=new Uint8Array(B),F=new Array(S.length),W=0;W<S.length;W++)F[W]=String.fromCharCode(S[W]);return F.join("")}function j(B){if(B.slice)return B.slice(0);var S=new Uint8Array(B.byteLength);return S.set(new Uint8Array(B)),S.buffer}function k(){return this.bodyUsed=!1,this._initBody=function(B){this.bodyUsed=this.bodyUsed,this._bodyInit=B,B?typeof B=="string"?this._bodyText=B:m.blob&&Blob.prototype.isPrototypeOf(B)?this._bodyBlob=B:m.formData&&FormData.prototype.isPrototypeOf(B)?this._bodyFormData=B:m.searchParams&&URLSearchParams.prototype.isPrototypeOf(B)?this._bodyText=B.toString():m.arrayBuffer&&m.blob&&h(B)?(this._bodyArrayBuffer=j(B.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):m.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(B)||v(B))?this._bodyArrayBuffer=j(B):this._bodyText=B=Object.prototype.toString.call(B):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof B=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(B)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var B=z(this);if(B)return B;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var B=z(this);return B||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(m.blob)return this.blob().then(E);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var B=z(this);if(B)return B;if(this._bodyBlob)return D(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Y(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(Me)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function oe(B){var S=B.toUpperCase();return L.indexOf(S)>-1?S:B}function ne(B,S){if(!(this instanceof ne))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var F=S.body;if(B instanceof ne){if(B.bodyUsed)throw new TypeError("Already read");this.url=B.url,this.credentials=B.credentials,S.headers||(this.headers=new O(B.headers)),this.method=B.method,this.mode=B.mode,this.signal=B.signal,!F&&B._bodyInit!=null&&(F=B._bodyInit,B.bodyUsed=!0)}else this.url=String(B);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new O(S.headers)),this.method=oe(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in y){var re=new AbortController;return re.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var W=/([?&])_=[^&]*/;if(W.test(this.url))this.url=this.url.replace(W,"$1_="+new Date().getTime());else{var ue=/\?/;this.url+=(ue.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ne.prototype.clone=function(){return new ne(this,{body:this._bodyInit})};function Me(B){var S=new FormData;return B.trim().split("&").forEach(function(F){if(F){var W=F.split("="),ue=W.shift().replace(/\+/g," "),re=W.join("=").replace(/\+/g," ");S.append(decodeURIComponent(ue),decodeURIComponent(re))}}),S}function ke(B){var S=new O,F=B.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(W){return W.indexOf(`
31
- `)===0?W.substr(1,W.length):W}).forEach(function(W){var ue=W.split(":"),re=ue.shift().trim();if(re){var T=ue.join(":").trim();try{S.append(re,T)}catch(Q){console.warn("Response "+Q.message)}}}),S}k.call(ne.prototype);function $e(B,S){if(!(this instanceof $e))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=S.statusText===void 0?"":""+S.statusText,this.headers=new O(S.headers),this.url=S.url||"",this._initBody(B)}k.call($e.prototype),$e.prototype.clone=function(){return new $e(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new O(this.headers),url:this.url})},$e.error=function(){var B=new $e(null,{status:200,statusText:""});return B.ok=!1,B.status=0,B.type="error",B};var te=[301,302,303,307,308];$e.redirect=function(B,S){if(te.indexOf(S)===-1)throw new RangeError("Invalid status code");return new $e(null,{status:S,headers:{location:B}})},d.DOMException=y.DOMException;try{new d.DOMException}catch{d.DOMException=function(S,F){this.message=S,this.name=F;var W=Error(S);this.stack=W.stack},d.DOMException.prototype=Object.create(Error.prototype),d.DOMException.prototype.constructor=d.DOMException}function ht(B,S){return new Promise(function(F,W){var ue=new ne(B,S);if(ue.signal&&ue.signal.aborted)return W(new d.DOMException("Aborted","AbortError"));var re=new XMLHttpRequest;function T(){re.abort()}re.onload=function(){var P={statusText:re.statusText,headers:ke(re.getAllResponseHeaders()||"")};ue.url.indexOf("file://")===0&&(re.status<200||re.status>599)?P.status=200:P.status=re.status,P.url="responseURL"in re?re.responseURL:P.headers.get("X-Request-URL");var ce="response"in re?re.response:re.responseText;setTimeout(function(){F(new $e(ce,P))},0)},re.onerror=function(){setTimeout(function(){W(new TypeError("Network request failed"))},0)},re.ontimeout=function(){setTimeout(function(){W(new TypeError("Network request timed out"))},0)},re.onabort=function(){setTimeout(function(){W(new d.DOMException("Aborted","AbortError"))},0)};function Q(P){try{return P===""&&y.location.href?y.location.href:P}catch{return P}}if(re.open(ue.method,Q(ue.url),!0),ue.credentials==="include"?re.withCredentials=!0:ue.credentials==="omit"&&(re.withCredentials=!1),"responseType"in re&&(m.blob?re.responseType="blob":m.arrayBuffer&&(re.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof O||y.Headers&&S.headers instanceof y.Headers)){var I=[];Object.getOwnPropertyNames(S.headers).forEach(function(P){I.push(A(P)),re.setRequestHeader(P,C(S.headers[P]))}),ue.headers.forEach(function(P,ce){I.indexOf(ce)===-1&&re.setRequestHeader(ce,P)})}else ue.headers.forEach(function(P,ce){re.setRequestHeader(ce,P)});ue.signal&&(ue.signal.addEventListener("abort",T),re.onreadystatechange=function(){re.readyState===4&&ue.signal.removeEventListener("abort",T)}),re.send(typeof ue._bodyInit>"u"?null:ue._bodyInit)})}return ht.polyfill=!0,y.fetch||(y.fetch=ht,y.Headers=O,y.Request=ne,y.Response=$e),d.Headers=O,d.Request=ne,d.Response=$e,d.fetch=ht,d})({})})(u),u.fetch.ponyfill=!0,delete u.fetch.polyfill;var o=i.fetch?i:u;r=o.fetch,r.default=o.fetch,r.fetch=o.fetch,r.Headers=o.Headers,r.Request=o.Request,r.Response=o.Response,t.exports=r}(Qs,Qs.exports)),Qs.exports}var ZR=LR();const HR=dh(ZR);function x0(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class _n{static duplicate(r){return{...r,headers:structuredClone(r.headers)}}_method(r,i){return this._request.method=r,this._request.body=i,this._request.body===void 0&&delete this._request.body,this}get(){return this._method("GET")}post(r){return this._method("POST",r).json()}put(r){return this._method("PUT",r).json()}delete(){return this._method("DELETE")}patch(r){return this._method("PATCH",r).json()}options(){return this._method("OPTIONS")}head(){return this._method("HEAD")}url(r){return this._request.url=r,this}timeout(r){return this._request.timeout=r,this}headers(r){return this._request.headers=r,this}header(r,i){return this._request.headers=this._request.headers||{},i==null?delete this._request.headers[r]:this._request.headers[r]=`${i}`,this}content(r){return this.header("Content-Type",r)}copy(r){return this._request=_n.duplicate(r),this}build(){return _n.duplicate(this._request)}constructor(){x0(this,"_request",void 0),x0(this,"json",this.content.bind(this,Vh.JSON)),this._request={method:"GET",url:""}}}var so=function(t){return t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.URITooLong=414]="URITooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnProcessableEntity=422]="UnProcessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t}({});const GR={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I am a Teapot",421:"Misdirected Requested",422:"Entity Not Processable",423:"Locked",424:"Failed Dependency",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable for Legal Reasons"},YR={400:"A bad request was sent.",401:"You are not authenticated and cannot view this content.",402:"Payment is required",403:"You are not authorized to view this content.",404:"The resource you are looking for could not be found.",405:"The requested operation was not allowed.",406:"The requested resource is not capable of generating the content for you.",407:"You must first authenticate your self with the proxy.",408:"The server timed out waiting for a request. Please try again.",409:"There was a conflict with request. Try something else.",410:"The resource you requested is no longer available.",411:"Your request did not specify the length of its content, which is required by the requested resource.",412:"The server did not meet the requirements that was required to meet the request.",413:"The request is too large and the server cannot handle it.",414:"The URI provided was too long for the server to process.",415:"The media type requested is not supported by the server.",416:"A portion of the file was requested by the server cannot supply said portion.",417:"The server cannot meet the requirements of the expectation made of it.",418:"Short and stout. Here is my handle, here is my spout. When I get all steamed up, hear me shout. Tip me over and pour me out!",421:"The request was directed at the server, but the server cannot produce a response.",422:"The request was well-formed but was unable to be followed due to semantic errors.",423:"The resource that is being accessed is locked.",424:"The request failed because it depended on another request and that request failed.",426:"The client needs to switch to a different protocol.",428:"The origin server requires the request to be conditional.",429:"The user has sent too many requests in a given amount of time.",431:"The request cannot be processed because the collective header fields are too large.",451:"Call your lawyer!"},VR={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints"},XR={100:"The client should continue to send the request body.",101:"The requestor has asked the server to switch protocols and the server has agreed to do so.",102:"The server has received and is processing the request, but a response is not available yet.",103:"There are some early response headers available for you before the final message."},QR={300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Switch Proxy",307:"Temporary Redirect",308:"Permanent Redirect"},KR={300:"Indicates multiple options for the resource from which the client may choose.",301:"This and all future requests should be directed to the given URI.",302:"Tells the client to look at another url",303:"The response to the request can be found under another URI using the GET method.",304:"Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.",305:"The requested resource is available only through a proxy, the address for which is provided in the response.",306:'No longer used. Originally meant "Subsequent requests should use the specified proxy.',307:"In this case, the request should be repeated with another URI; however, future requests should still use the original URI.",308:"The request and all future requests should be repeated using another URI."};var FR=function(t){return t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}({});const JR={500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"},kR={500:"An unexpected condition was encountered on the server.",501:"The server either does not recognize the request method, or it lacks the ability to fulfil the request. Usually this implies future availability (e.g., a new feature of a web-service API).",502:" The server was acting as a gateway or proxy and received an invalid response from the upstream server.",503:"The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.",504:"The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.",505:"The server does not support the HTTP protocol version used in the request.",506:" Transparent content negotiation for the request results in a circular reference.",507:"The server is unable to store the representation needed to complete the request.",508:"The server detected an infinite loop while processing the request.",510:"Further extensions to the request are required for the server to fulfil it.",511:"The client needs to authenticate to gain network access."};var PR=function(t){return t[t.OK=200]="OK",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.IMUsed=226]="IMUsed",t}({});const WR={200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi Status",208:"Already Reported",226:"IM Used"},IR={200:"The request was successful.",201:"The request has been fulfilled, resulting in the creation of a new resource.",202:"The request has been accepted for processing, but the processing has not been completed.",203:"The server is a transforming proxy that received an OK from its origin,but is returning a modified version of the response.",204:"The server successfully processed the request and is not returning any content.",205:"The server successfully processed the request, but is not returning any content. The document view must be refreshed.",206:"he server is delivering only part of the resource due to a range header sent by the client.",207:"The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.",208:"The members of a DAV binding have already been enumerated in a preceding part of the response, and are not being included again.",226:"The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance."};function e6(t){return VR[t]||WR[t]||QR[t]||GR[t]||JR[t]}function t6(t){return XR[t]||IR[t]||KR[t]||YR[t]||kR[t]}function n6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class E0{data(r){return this._result.data=r,this}status(r){return this._result.status=r,this}headers(r={}){return this._result.headers=r,this}build(){return{...this._result}}constructor(r){n6(this,"_result",void 0),this._result={status:PR.OK,headers:{},data:r}}}function r6(t){return t==null||typeof t=="string"||t instanceof Blob||t instanceof ArrayBuffer||ArrayBuffer.isView(t)||t instanceof FormData||t instanceof URLSearchParams||t instanceof ReadableStream}function a6(t){const r=t.headers.get("content-type");return r?.startsWith("application/json")||r?.endsWith("+json")?t.json():r?.startsWith("multipart/form-data")?t.formData():r?.startsWith("text")||r?.endsWith("+xml")?t.text():t.blob()}class Xh{async request(r){try{const i=await HR(r.url,{method:r.method,body:r6(r.body)?r.body:JSON.stringify(r.body),headers:r.headers,redirect:"follow"}),u=await a6(i),o=new E0(u).headers(i.headers).status(i.status).build();return i.ok?Promise.resolve(o):Promise.reject(o)}catch(i){let u=new E0(i.message).headers().status(FR.InternalServerError);return i.code==="ENOTFOUND"&&(u=u.status(so.NotFound)),Promise.reject(u.build())}}}function i6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class K1 extends xe{async message(){return await this.driver.select(".ZAlert-message")}async heading(){const[r]=await this.driver.query(".ZAlert-heading");return ae(null,r)}async avatar(){const[r]=await this.driver.query(".ZAlert-avatar");return ae(null,r)}async fashion(){return this.driver.attribute("data-fashion","")}}i6(K1,"Selector",".ZAlert-root");const F1=$.createContext(new Mv().build());function Ge(){return $.useContext(F1)}const l6=$.createContext(new Sh);function Tt(){return $.useContext(l6)}const u6=$.createContext(new oO);function _r(){return $.useContext(u6)}function J1(t){return TA(t)}function Je(t){return OA(t)}function s6(t){const r=$.useRef(xa),i=j5(),u=$.useCallback(()=>{const{name:o,styles:f}=Is(t),d=new Bv({key:`global-${o}`,container:i.document.head});return(m=>ah(W5(m),t$([e$,n$(h=>{d.insert(h)})])))(f),()=>d.flush()},[t]);$.useEffect(()=>(r.current.call(null),r.current=u(),()=>r.current.call(null)),[u])}function o6(t){const{children:r,className:i}=t,{body:u}=Ge();return s6(Xe`
32
- body {
33
- background-color: ${u.idle.main};
34
- color: ${u.idle.contrast};
35
- margin: 0;
36
- position: relative;
37
- height: 100vh;
38
- }
39
- `),w.jsx("div",{className:ve("ZStyled-root",i),children:r})}function k1(t){const r=Ge(),i=Tt(),{primary:u}=r,{heading:o,name:f,className:d,avatar:y,message:m,fashion:h=u}=t,b=new Wt(h),v=i.thickness(H.ExtraSmall),A=i.gap(H.Small),C=i.gap(H.ExtraSmall),U=Je(Xe`
40
- &.ZAlert-root {
41
- align-items: center;
42
- background: ${b.idle.main};
43
- border-color: ${b.idle.border};
44
- border-radius: 0.25rem;
45
- border-style: double;
46
- box-shadow: 0 0 0 ${v} ${b.idle.border};
47
- color: ${b.idle.contrast};
48
- display: grid;
49
- grid-template-columns: auto auto 1fr;
50
- grid-template-areas:
51
- "avatar heading ."
52
- "avatar message .";
53
- padding: ${A} ${C};
54
- }
55
-
56
- .ZAlert-avatar {
57
- grid-area: avatar;
58
- margin-right: ${i.gap(H.Medium)};
59
- }
60
-
61
- .ZAlert-heading {
62
- grid-area: heading;
63
- margin-bottom: ${i.gap(H.Small)};
64
- }
65
-
66
- .ZAlert-message {
67
- grid-area: message;
68
- }
69
- `);return w.jsxs("div",{className:ve("ZAlert-root",d,U),"data-name":f,"data-fashion":h.name,role:"alert",children:[y&&w.jsx("div",{className:"ZAlert-avatar",children:y}),o&&w.jsx("div",{className:"ZAlert-heading",children:o}),w.jsx("div",{className:"ZAlert-message",children:m})]})}function c6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Qh extends xe{async part(r){const[i]=await this.driver.query(`.ZContentTitle-${r}`);return i||null}avatar(){return this.part("avatar")}heading(){return this.part("heading")}subHeading(){return this.part("sub-heading")}prefix(){return this.part("prefix")}suffix(){return this.part("suffix")}}c6(Qh,"Selector",".ZContentTitle-root");function f6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class d6 extends xe{title(){return Qe.first(this.driver,Qh)}main(){return this.driver.select(".ZBannerMain-content")}}f6(d6,"Selector",".ZBannerMain-root");function h6(t){const{primary:r}=Ge(),i=Tt(),{children:u,className:o,fashion:f}=t,d=new Wt(ae(r,f)),y=Je(Xe`
70
- &.ZBanner-root {
71
- background: ${d.idle.main};
72
- box-sizing: border-box;
73
- color: ${d.idle.contrast};
74
- left: 0;
75
- padding: ${i.gap(H.ExtraSmall)}
76
- ${i.gap(H.Small)};
77
- position: sticky;
78
- right: 0;
79
- top: 0;
80
- z-index: 1100;
81
- }
82
- `);return w.jsx("div",{className:ve("ZBanner-root",o,y),role:"banner",children:u})}const Bl={...Bt(ou(1.4,18),"rem"),...Sn(),...Kr()};function Vo(t){const r=_r(),i=Tt(),{transparent:u}=Ge(),{border:o,className:f,children:d,cursor:y,fashion:m,interactive:h,justification:b,margin:v,padding:A,width:C,...U}=t,O=h?0:void 0,z=new Wt(ae(u,m)),G=new Us("solid").from(o?.style).build(),E=new Us(Un.None).from(o?.width).build(),D=new U2(Un.None).from(o?.radius).build(),Y=new Us(Un.None).from(A).build(),j=new Us(Un.None).from(v).build(),k=new Ut(C,He.Full),L=Je(Xe`
83
- & {
84
- background-color: ${z.idle.main};
85
- border-color: ${z.idle.border};
86
-
87
- border-bottom-style: ${G.bottom};
88
- border-left-style: ${G.left};
89
- border-right-style: ${G.right};
90
- border-top-style: ${G.top};
91
-
92
- border-bottom-width: ${i.thickness(E.bottom)};
93
- border-left-width: ${i.thickness(E.left)};
94
- border-right-width: ${i.thickness(E.right)};
95
- border-top-width: ${i.thickness(E.top)};
96
-
97
- border-bottom-left-radius: ${i.rounding(D.bottomLeft)};
98
- border-bottom-right-radius: ${i.rounding(D.bottomRight)};
99
- border-top-left-radius: ${i.rounding(D.topLeft)};
100
- border-top-right-radius: ${i.rounding(D.topRight)};
101
-
102
- display: block;
103
- color: ${z.idle.contrast};
104
- cursor: ${y};
105
-
106
- padding-bottom: ${i.gap(Y.bottom)};
107
- padding-left: ${i.gap(Y.left)};
108
- padding-right: ${i.gap(Y.right)};
109
- padding-top: ${i.gap(Y.top)};
110
-
111
- margin-bottom: ${i.gap(j.bottom)};
112
- margin-left: ${i.gap(j.left)};
113
- margin-right: ${i.gap(j.right)};
114
- margin-top: ${i.gap(j.top)};
115
-
116
- max-width: ${Bl[k.xl]};
117
-
118
- text-align: ${b};
119
- }
120
-
121
- &:focus {
122
- background-color: ${h?z.focus.main:z.idle.main};
123
- border-color: ${h?z.focus.border:z.idle.border};
124
- color: ${h?z.focus.contrast:z.idle.contrast};
125
- }
126
-
127
- &:hover {
128
- background-color: ${h?z.hover.main:z.idle.main};
129
- border-color: ${h?z.hover.border:z.idle.border};
130
- color: ${h?z.hover.contrast:z.idle.contrast};
131
- }
132
-
133
- ${r.break(H.Large)} {
134
- & {
135
- max-width: ${Bl[k.lg]};
136
- }
137
- }
138
-
139
- ${r.break(H.Medium)} {
140
- & {
141
- max-width: ${Bl[k.md]};
142
- }
143
- }
144
-
145
- ${r.break(H.Small)} {
146
- & {
147
- max-width: ${Bl[k.sm]};
148
- }
149
- }
150
-
151
- ${r.break(H.ExtraSmall)} {
152
- & {
153
- max-width: ${Bl[k.xs]};
154
- }
155
- }
156
- `);return w.jsx("div",{...U,className:ve("ZBox-root",f,L),tabIndex:O,children:d})}function p6(t){const{basis:r,children:i,className:u,grow:o,shrink:f}=t;return w.jsx("div",{className:ve("ZFlex-root",u),style:{flexBasis:r,flexGrow:o,flexShrink:f},children:i})}const Rn=Sn();function Et(t){const{className:r,align:i,justify:u,gap:o,name:f,orientation:d,children:y,inline:m,wrap:h,height:b,width:v,...A}=t,C=_r(),U=Tt(),O=m?"inline-flex":"flex",z=d===kr.Horizontal?"row":"column",G=U.gap(ae(Un.None,o)),E=ae("stretch",i?.items),D=ae("normal",i?.content),Y=ae("start",u?.content),j=ae("nowrap",h),k=new Ut(v,He.Default),L=new Ut(b,He.Default),oe=Je(Xe`
157
- & {
158
- align-content: ${D};
159
- align-items: ${E};
160
- display: ${O};
161
- flex-direction: ${z};
162
- flex-wrap: ${j};
163
- gap: ${G};
164
- height: ${Rn[L.xl]};
165
- justify-content: ${Y};
166
- width: ${Rn[k.xl]};
167
- }
168
-
169
- ${C.break(H.Large)} {
170
- height: ${Rn[L.lg]};
171
- width: ${Rn[k.lg]};
172
- }
173
-
174
- ${C.break(H.Medium)} {
175
- height: ${Rn[L.md]};
176
- width: ${Rn[k.md]};
177
- }
178
-
179
- ${C.break(H.Small)} {
180
- height: ${Rn[L.sm]};
181
- width: ${Rn[k.sm]};
182
- }
183
-
184
- ${C.break(H.ExtraSmall)} {
185
- height: ${Rn[L.xs]};
186
- width: ${Rn[k.xs]};
187
- }
188
- `);return w.jsx("div",{className:ve("ZStack-root",oe,r),...A,"data-orientation":d,"data-name":f,"data-inline":m,children:y})}const jl={xs:"0.9rem",sm:"1rem",md:"1.3rem",lg:"2rem",xl:"2.5rem"},m6={thin:100,light:300,regular:400,medium:500,bold:700,black:900};function P1(t){const{inherit:r}=Ge(),i=Tt(),u=_r(),{compact:o,fashion:f,size:d,transform:y,weight:m}=t,h=new Wt(ae(r,f)),b=ae("regular",m),v=ae(H.Medium,d);return Je(Xe`
189
- & {
190
- color: ${h.idle.main};
191
- font-family: Roboto, Arial, sans-serif;
192
- font-weight: ${m6[b]};
193
- font-size: calc(${jl[v]} * 1.2);
194
- margin: 0;
195
- margin-bottom: ${o?0:i.gap(H.Medium)};
196
- text-transform: ${y};
197
- }
198
-
199
- ${u.break(H.Large)} {
200
- & {
201
- font-size: calc(${jl[v]} * 1.15);
202
- }
203
- }
204
-
205
- ${u.break(H.Medium)} {
206
- & {
207
- font-size: calc(${jl[v]} * 1.1);
208
- }
209
- }
210
-
211
- ${u.break(H.Small)} {
212
- & {
213
- font-size: calc(${jl[v]} * 1.05);
214
- }
215
- }
216
-
217
- ${u.break(H.ExtraSmall)} {
218
- & {
219
- font-size: ${jl[v]};
220
- }
221
- }
222
- `)}function Wr(t){const{Element:r="div",children:i,className:u,compact:o,fashion:f,name:d,size:y,transform:m,weight:h,...b}=t,v=P1(t);return w.jsx(r,{...b,className:ve("ZTypography-root",u,v),"data-compact":o,"data-fashion":f?.name,"data-name":d,"data-size":y,"data-weight":h,"data-transform":m,children:i})}const y6=({className:t,...r})=>w.jsx(Wr,{Element:"h1",...r,className:ve("ZH1-root",t),size:H.ExtraLarge,weight:"black"}),W1=({className:t,...r})=>w.jsx(Wr,{Element:"h2",...r,className:ve("ZH2-root",t),size:H.Large,weight:"black"}),ba=({className:t,...r})=>w.jsx(Wr,{Element:"h3",...r,className:ve("ZH3-root",t),size:H.Medium,weight:"black"}),g6=({className:t,...r})=>w.jsx(Wr,{Element:"h5",...r,className:ve("ZH5-root",t),size:H.Small,transform:"uppercase",weight:"bold"}),Kh=({className:t,...r})=>w.jsx(Wr,{Element:"p",...r,className:ve("ZParagraph-root",t),size:H.Small,weight:"regular"}),lr=({className:t,...r})=>w.jsx(Wr,{Element:"sub",...r,className:ve("ZCaption-root",t),size:H.ExtraSmall,weight:"regular"}),b6=({className:t,...r})=>w.jsx(Wr,{Element:"sub",...r,className:ve("ZSubtitle-root",t),size:H.Small,weight:"bold"}),v6=({className:t,...r})=>w.jsx(Wr,{Element:"div",...r,className:ve("ZButtonText-root",t),size:H.Small,weight:"bold",transform:"uppercase"});function ir(t){const{avatar:r,className:i,heading:u,prefix:o,subHeading:f,suffix:d}=t,y=$.useMemo(()=>u==null||$.isValidElement(u)?u:w.jsx(W1,{compact:!0,children:u}),[u]),m=$.useMemo(()=>f==null||$.isValidElement(f)?f:w.jsx(b6,{compact:!0,children:f}),[f]),h=(b,v,A="div")=>b==null?null:w.jsx(A,{className:`ZContentTitle-${v}`,children:b});return w.jsxs(Et,{align:{items:"center"},className:ve("ZContentTitle-root",i),orientation:kr.Horizontal,gap:H.Small,children:[h(r,"avatar"),w.jsxs(Et,{orientation:kr.Vertical,gap:H.ExtraSmall,children:[h(y,"heading","header"),h(m,"sub-heading","sub")]}),w.jsx(p6,{grow:1,children:h(o,"prefix")}),h(d,"suffix")]})}function _6(t){const{children:r,TitleProps:i}=t,{primary:u}=Ge();return w.jsxs(o6,{className:"ZBannerMain-root",children:[w.jsx(h6,{className:"ZBannerMain-header",fashion:u,children:w.jsx(ir,{...i})}),w.jsx(Vo,{padding:H.Large,children:w.jsx("main",{className:"ZBannerMain-content",children:r})})]})}const Ll=Bt(ou(2,1),"rem");function w6(t){const{inherit:r}=Ge(),i=_r(),{width:u=H.Small,fashion:o,onClick:f}=t,d=new Ut(u,H.Small),y=new Wt(ae(r,o));return Je(Xe`
223
- & {
224
- color: ${y.idle.main};
225
- cursor: ${f?"pointer":"inherit"};
226
- font-size: ${Ll[d.xl]};
227
- }
228
-
229
- &:hover {
230
- color: ${f?y.hover.main:void 0};
231
- }
232
-
233
- ${i.break(H.Large)} {
234
- & {
235
- font-size: ${Ll[d.lg]};
236
- }
237
- }
238
-
239
- ${i.break(H.Medium)} {
240
- & {
241
- font-size: ${Ll[d.md]};
242
- }
243
- }
244
-
245
- ${i.break(H.Small)} {
246
- & {
247
- font-size: ${Ll[d.sm]};
248
- }
249
- }
250
-
251
- ${i.break(H.ExtraSmall)} {
252
- & {
253
- font-size: ${Ll[d.xs]};
254
- }
255
- }
256
- `)}function S6(t){const r=document;$.useEffect(()=>{if(!r.querySelector(`link[href="${t}"]`)){const u=r.createElement("link");u.rel="stylesheet",u.href=t,r.head.appendChild(u)}},[])}const x6="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css",E6="font-awesome";function vt(t){const{name:r,className:i,animation:u,family:o="classic",style:f="solid",onClick:d,fashion:y}=t,m=w6(t);S6(x6);const{onKey:h,tabIndex:b}=x1(d),v=u?`fa-${u}`:void 0;return w.jsx("span",{className:ve("ZIcon-root","ZIcon-font-awesome",`fa-${o}`,`fa-${f}`,`fa-${r}`,v,i,m),onClick:d,onKeyDown:h,tabIndex:b,"data-fashion":y?.name,"data-family":o,"data-style":f,"data-name":r,"data-vendor":E6})}function I1(t){const{error:r}=Ge(),i=Tt(),{children:u,className:o,required:f,htmlFor:d,...y}=t,m=P1({compact:!0,weight:"bold",size:H.Small}),h=Je(Xe`
257
- & {
258
- display: block;
259
- }
260
-
261
- &[data-required="true"]::after {
262
- content: "*";
263
- color: ${r.idle.main};
264
- margin-left: ${i.thickness(H.Medium)};
265
- }
266
- `);return w.jsx("label",{...y,className:ve("ZLabel-root",h,m,o),htmlFor:d,"data-required":f,children:u})}function e_(t){const{children:r,className:i,label:u,name:o,gap:f=H.ExtraSmall,orientation:d=kr.Vertical,LabelProps:y,position:m="prefix",...h}=t,b=d===kr.Horizontal?"center":void 0,v=A=>m===A&&u&&w.jsx(I1,{...y,children:u});return w.jsxs(Et,{...h,align:{items:b},className:ve("ZLabeled-root",i),orientation:d,gap:f,name:o,children:[v("prefix"),w.jsx(Et,{inline:!0,children:r}),v("suffix")]})}function T6(t){const{component:r,primary:i}=Ge(),{className:u,disabled:o,label:f,value:d,onValueChange:y,name:m,fashion:h=i,required:b}=t,v=Tt(),A=$.useRef(document.createElement("span")),[C,U]=zh(d,y,!1),O=$.useMemo(()=>new Wt(h),[h]),z=!!C,G=$.useId(),E="1.25rem",D="2rem",Y="0.75rem",j=Je(Xe`
267
- & .ZLabel-root {
268
- cursor: pointer;
269
- }
270
-
271
- & .ZBoolean-toggler {
272
- position: relative;
273
- display: inline-block;
274
- width: ${D};
275
- height: ${Y};
276
- margin: calc(${E} / 4) 0;
277
- }
278
-
279
- input {
280
- display: none;
281
- }
282
-
283
- .ZBoolean-value {
284
- position: absolute;
285
- cursor: pointer;
286
- inset: 0;
287
- background-color: ${r.idle.main};
288
- transition: 0.4s;
289
- border-radius: ${v.rounding(H.Medium)};
290
- }
291
-
292
- .ZBoolean-value:before {
293
- position: absolute;
294
- content: "";
295
- height: ${E};
296
- width: ${E};
297
- background-color: ${r.idle.contrast};
298
- transition: 0.4s;
299
- border-radius: ${v.rounding(He.Full)};
300
- bottom: calc(${Y} / 2 - ${E} / 2);
301
- }
302
-
303
- input:checked + .ZBoolean-value {
304
- background-color: ${O.idle.main};
305
- }
306
-
307
- input:checked + .ZBoolean-value:before {
308
- transform: translateX(calc(${D} / 2));
309
- }
310
-
311
- &:focus-within .ZBoolean-value {
312
- outline: none;
313
- }
314
-
315
- &:focus-within .ZBoolean-value::before {
316
- background-color: ${O.focus.main};
317
- box-shadow: 0 0 0.25rem 0.25rem ${O.focus.border};
318
- }
319
- `),k=()=>{o||U(!z)},L=ke=>U(ke.currentTarget.checked),{tabIndex:oe,onKey:ne}=x1(k),Me=async()=>A.current.focus();return w.jsx(e_,{className:ve("ZBoolean-root","ZBoolean-switch",j,u),label:f,name:m,LabelProps:{required:b,htmlFor:G},orientation:kr.Horizontal,position:"suffix","data-fashion":h.name,onClick:Me,children:w.jsxs("div",{className:"ZBoolean-toggler",children:[w.jsx("input",{id:G,type:"checkbox",checked:z,disabled:o,onChange:L,name:m}),w.jsx("span",{className:"ZBoolean-value",tabIndex:oe,onKeyDown:ne,onClick:k,ref:A})]})})}function O6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class pu extends xe{text(){return this.driver.text()}async required(){return await this.driver.attribute("data-required")==="true"}async click(){const r=new tt().click().build();await this.driver.perform(r)}}O6(pu,"Selector",".ZLabel-root");function A6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class t_ extends xe{async _input(){return this.driver.select('input[type="checkbox"]')}async _value(){const[r]=await this.driver.query(".ZBoolean-value");return r}async disabled(){return(await this._input()).disabled()}async label(){return Qe.optional(this.driver,pu)}fashion(){return this.driver.attribute("data-fashion")}async value(){const r=await this._input();return await r.attribute("data-indeterminate")==="true"?null:r.selected()}async toggle(r){if(await this.value()===r)return;const u=await this._value(),o=new tt().click().build();await u.perform(o)}}A6(t_,"Selector",".ZBoolean-root");function $6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class R6 extends xe{click(){return this.driver.perform(new tt().click().build())}}$6(R6,"Selector",".ZBox-root");function C6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class uh extends xe{reference(){return this.driver.attribute("href")}name(){return this.driver.attribute("data-name")}label(){return this.driver.text()}async click(){return this.driver.perform(new tt().click().build())}}C6(uh,"Selector",".ZLink-root");function M6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class n_ extends xe{async items(){return(await this.driver.query(".ZBreadcrumbs-item")).map(r=>new uh(r))}async item(r){const[i]=await this.driver.query(`.ZBreadcrumbs-item[data-name="${r}"]`);return i?new uh(i):null}}M6(n_,"Selector",".ZBreadcrumbs-root");function N6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class z6 extends xe{breadcrumbs(){return Qe.first(this.driver,n_,"outlet-breadcrumbs")}}N6(z6,"Selector",".ZBreadcrumbOutlet-root");function D6(t){const{primary:r}=Ge(),{className:i,name:u,href:o,fashion:f,label:d,...y}=t,m=new Wt(ae(r,f)),h=Je(Xe`
320
- & {
321
- color: ${m.idle.main};
322
- text-decoration: none;
323
- }
324
-
325
- &:active {
326
- color: ${m.active.main};
327
- }
328
-
329
- &:hover {
330
- color: ${m.hover.main};
331
- }
332
-
333
- &:focus {
334
- color: ${m.focus.main};
335
- }
336
- `);return w.jsx("a",{...y,className:ve("ZLink-root",h,i),href:o,"data-name":u,role:"link",children:w.jsx(Kh,{Element:"div",compact:!0,children:d})})}const q6=gR,yi=Z1,U6=F$,B6=Q$,mu=Lh,j6=vr,r_=N$;function Xo(t){const{body:r}=Ge(),i=Tt(),{className:u,name:o,home:f,onPathSelected:d}=t,y=j6(),m=$.useMemo(()=>{const v=y.pathname.split("/").filter(U=>!!U.trim()),A=f?{name:f.name,path:f.path||"/"}:void 0,C=[];for(let U=0;U<v.length;++U){const O=C[U-1]?.path||"",z=v[U],G=`${O}/${z}`;C.push({name:z,path:G})}return A?[A,...C]:C},[y,f]),h=Je(Xe`
337
- & {
338
- color: ${r.idle.contrast};
339
- display: flex;
340
- flex-wrap: nowrap;
341
- gap: ${i.gap(H.ExtraSmall)};
342
- }
343
- `),b=(v,A)=>{const C=`#${v.path}`;return w.jsxs($.Fragment,{children:[w.jsx(D6,{className:"ZBreadcrumbs-item",href:C,label:v.name,name:v.path,onClick:()=>d?.call(null,C)}),A<m.length-1&&w.jsx(Kh,{compact:!0,children:"/"})]},v.path)};return w.jsx("div",{className:ve("ZBreadcrumbs-root","ZBreadcrumbs-location",h,u),"data-name":o,children:m.map(b)})}function L6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Z6 extends xe{async click(){const r=new tt().click().build();await this.driver.perform(r)}borderSize(){return this.driver.attribute("data-border-size",Un.None)}fashion(){return this.driver.attribute("data-fashion","")}}L6(Z6,"Selector",".ZBubble-root");({...Bt(ou(2,1),"rem")});function H6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class dr extends xe{name(){return this.driver.attribute("name")}disabled(){return this.driver.disabled()}async outlined(){return await this.driver.attribute("data-outline")==="true"}async compact(){return await this.driver.attribute("data-compact")==="true"}async borderless(){return await this.driver.attribute("data-borderless")==="true"}async text(){return(await this.driver.select(".ZButton-content")).text()}fashion(){return this.driver.attribute("data-fashion")}click(){const r=new tt().click().build();return this.driver.perform(r)}}H6(dr,"Selector",".ZButton-root");const Zl=Sn();function ru(t){const{avatar:r,className:i,borderless:u,compact:o,disabled:f,fashion:d,label:y,name:m,outline:h,type:b="button",width:v,...A}=t,C=_r(),{component:U}=Ge(),O=Tt(),z=new Wt(ae(U,d)),G=new Ut(v,He.Default),E=Je(Xe`
344
- & {
345
- border-radius: 0.375rem;
346
- display: inline-flex;
347
- font-family: inherit;
348
- font-size: inherit;
349
- gap: ${O.gap(H.ExtraSmall)};
350
- justify-content: center;
351
- overflow: hidden;
352
- position: relative;
353
- background: ${h?"transparent":z.idle.main};
354
- border-color: ${z.idle.main};
355
- border-style: ${u?"none":"solid"};
356
- color: ${h?z.idle.main:z.idle.contrast};
357
- padding: ${o?0:O.gap(H.ExtraSmall)};
358
- width: ${Zl[G.xl]};
359
- }
360
-
361
- &:focus {
362
- outline-style: solid;
363
- outline-width: ${O.thickness(H.Medium)};
364
- border-color: ${z.focus.main};
365
- outline-color: ${z.focus.border};
366
- }
367
-
368
- &:hover:not([disabled]) {
369
- background-color: ${z.hover.main};
370
- border-color: ${z.hover.border};
371
- color: ${z.hover.contrast};
372
- cursor: pointer;
373
- }
374
-
375
- &:active:not([disabled]) {
376
- background-color: ${z.active.main};
377
- border-color: ${z.active.border};
378
- color: ${z.active.contrast};
379
- }
380
-
381
- &:disabled {
382
- opacity: 0.25;
383
- }
384
-
385
- ${C.break(H.Large)} {
386
- & {
387
- width: ${Zl[G.lg]};
388
- }
389
- }
390
-
391
- ${C.break(H.Medium)} {
392
- & {
393
- width: ${Zl[G.md]};
394
- }
395
- }
396
-
397
- ${C.break(H.Small)} {
398
- & {
399
- width: ${Zl[G.sm]};
400
- }
401
- }
402
-
403
- ${C.break(H.ExtraSmall)} {
404
- & {
405
- width: ${Zl[G.xs]};
406
- }
407
- }
408
- `);return w.jsx("button",{...A,className:ve("ZButton-root",i,E),disabled:f,name:m,type:b,"data-borderless":u,"data-compact":o,"data-fashion":d?.name,"data-outline":h,children:w.jsxs(Et,{align:{items:"center"},orientation:kr.Horizontal,gap:H.Small,inline:!0,children:[r,w.jsx(v6,{Element:"div",compact:!0,className:"ZButton-content",children:y})]})})}function G6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class a_ extends xe{title(){return Qe.first(this.driver,Qh)}fashion(){return this.driver.attribute("data-fashion","Surface")}content(){return this.driver.select(".ZCard-content")}async footer(){const[r]=await this.driver.query(".ZCard-footer");return r||null}}G6(a_,"Selector",".ZCard-root");const Hl={...Bt(ou(1.5,15),"rem"),...Sn(),...Kr()},Gl={...Bt(hr(5,20),"rem"),...Sn(),...Kr()};function Mi(t){const{surface:r}=Ge(),i=Tt(),u=_r(),{className:o,children:f,footer:d,fashion:y,name:m,width:h,height:b,TitleProps:v}=t,A=ae(r,y),C=new Wt(A),U=new Ut(h,He.Default),O=new Ut(b,He.Default),z=Je(Xe`
409
- & {
410
- background-color: ${r.idle.main};
411
- box-shadow: 0 0.2rem 8pt #101010;
412
- color: ${r.idle.contrast};
413
- max-width: ${Hl[U.xl]};
414
- min-height: ${Gl[O.xl]};
415
- }
416
-
417
- > .ZCard-header {
418
- background-color: ${C.idle.main};
419
- color: ${C.idle.contrast};
420
- padding: ${i.gap(H.Small)};
421
- }
422
-
423
- > .ZCard-content {
424
- padding: ${i.gap(H.Small)};
425
- }
426
-
427
- > .ZCard-footer {
428
- padding: ${i.gap(H.Small)};
429
- padding-top: 0;
430
- }
431
-
432
- ${u.break(H.Large)} {
433
- & {
434
- max-width: ${Hl[U.lg]};
435
- min-height: ${Gl[O.lg]};
436
- }
437
- }
438
-
439
- ${u.break(H.Medium)} {
440
- & {
441
- max-width: ${Hl[U.md]};
442
- min-height: ${Gl[O.md]};
443
- }
444
- }
445
-
446
- ${u.break(H.Small)} {
447
- & {
448
- max-width: ${Hl[U.sm]};
449
- min-height: ${Gl[O.sm]};
450
- }
451
- }
452
-
453
- ${u.break(H.ExtraSmall)} {
454
- & {
455
- max-width: ${Hl[U.xs]};
456
- min-height: ${Gl[O.xs]};
457
- }
458
- }
459
- `);return w.jsxs(Et,{align:{items:"stretch"},className:ve("ZCard-root",o,z),name:m,gap:H.Medium,...H2(t),"data-fashion":A.name,children:[w.jsx(ir,{...v,className:"ZCard-header"}),w.jsx("article",{style:{flexGrow:1},className:"ZCard-content",children:f}),d&&w.jsx("footer",{className:"ZCard-footer",children:d})]})}function Y6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class V6 extends xe{async orientation(){return this.driver.attribute("data-orientation",kr.Horizontal)}async index(){return+await this.driver.attribute("data-index","0")}async count(){return+await this.driver.attribute("data-count","0")}content(){return this.driver.select(".ZCarousel-content")}forward(){return Qe.first(this.driver,dr,"carousel-forward")}reverse(){return Qe.first(this.driver,dr,"carousel-reverse")}}Y6(V6,"Selector",".ZCarousel-root");const Cn=Sn();function wo(t){const r=Tt(),i=_r(),{align:u,className:o,children:f,columns:d,gap:y,justify:m,rows:h,width:b,height:v}=t,A=new Ut(b,He.Default),C=new Ut(v,He.Default),U=new Ut(d,void 0),O=new Ut(y,Un.None),z=Je(Xe`
460
- &.ZGrid-root {
461
- align-content: ${u?.content};
462
- align-items: ${u?.items};
463
- display: grid;
464
- grid-template-rows: ${h};
465
- justify-content: ${m?.content};
466
- justify-items: ${m?.items};
467
-
468
- gap: ${r.gap(O.xl)};
469
- grid-template-columns: ${U.xl};
470
- height: ${Cn[C.xl]};
471
- width: ${Cn[A.xl]};
472
- }
473
-
474
- ${i.break(H.Large)} {
475
- &.ZGrid-root {
476
- gap: ${r.gap(O.lg)};
477
- grid-template-columns: ${U.lg};
478
- height: ${Cn[C.lg]};
479
- width: ${Cn[A.lg]};
480
- }
481
- }
482
-
483
- ${i.break(H.Medium)} {
484
- &.ZGrid-root {
485
- gap: ${r.gap(O.md)};
486
- grid-template-columns: ${U.md};
487
- height: ${Cn[C.md]};
488
- width: ${Cn[A.md]};
489
- }
490
- }
491
-
492
- ${i.break(H.Small)} {
493
- &.ZGrid-root {
494
- gap: ${r.gap(O.sm)};
495
- grid-template-columns: ${U.sm};
496
- height: ${Cn[C.sm]};
497
- width: ${Cn[A.sm]};
498
- }
499
- }
500
-
501
- ${i.break(H.ExtraSmall)} {
502
- &.ZGrid-root {
503
- gap: ${r.gap(O.xs)};
504
- grid-template-columns: ${U.xs};
505
- height: ${Cn[C.xs]};
506
- width: ${Cn[A.xs]};
507
- }
508
- }
509
- `);return w.jsx("div",{className:ve("ZGrid-root",o,z),children:f})}({...Bt(hr(1,1),"rem")});function X6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Q6{name(r){return this._point.name=r,this}fashion(r){return this._point.fashion=r,this}build(){return structuredClone(this._point)}constructor(r,i){X6(this,"_point",void 0),this._point={x:r,y:i}}}function K6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class F6 extends xe{async points(){const r=await this.driver.query(".ZChart-point");return Promise.all(r.map(async i=>{const u=await i.attribute("data-x","0"),o=await i.attribute("data-y","0"),f=await i.attribute("data-name",""),d=await i.attribute("data-fashion","");return new Q6(+u,+o).name(f).fashion(new Ue().name(d).build()).build()}))}}K6(F6,"Selector",".ZChart-root");class Ks extends xe{value(){return this.driver.attribute("data-value")}async text(){return this.driver.text()}async remove(){let r=this.driver;if((await this.driver.classes(["ZChoice-remove"])).length||([r]=await this.driver.query(".ZChoice-remove")),r==null)return;const u=new tt().click().build();await r.perform(u)}}function J6(t,r,i={}){const{open:u,onClose:o,persistent:f}=r,d=async()=>{t.showModal(),await i.onAfterOpen?.call(null),t.focus()},y=async()=>{t.open&&(t.classList.add("closing"),await G2(150),t.close(),t.classList.remove("closing"),o?.call(null))};/* v8 ignore start --@preserve *//* istanbul ignore next --@preserve */const m=b=>{const v=b.currentTarget.getBoundingClientRect();!(v.top<=b.clientY&&b.clientY<=v.bottom&&v.left<=b.clientX&&b.clientX<=v.right)&&!f&&y()},h=b=>{b.code===et.escape.code&&(b.preventDefault(),!f&&y())};return $.useEffect(()=>{u?d():y()},[t,u]),{closeOnBackdropClick:m,closeOnEscapeKey:h}}({...Bt(hr(5,10),"rem"),...Sn()});function Yl(t){const r=Tt(),{children:i,className:u,compact:o,cursor:f,interactive:d,name:y,highlight:m,...h}=t,b=o?r.gap(H.ExtraSmall):r.gap(H.Small),v=o?r.gap(H.ExtraSmall):r.gap(H.Large),A=Je(Xe`
510
- & {
511
- box-sizing: border-box;
512
- cursor: ${f};
513
- padding: ${b} ${v};
514
- width: 100%;
515
- }
516
- `);return w.jsx("li",{...h,className:ve("ZListItem-root",A,u),"data-name":y,"data-interactive":d,"data-highlight":m,tabIndex:d?0:void 0,role:"listitem",children:i})}function k6(t){const{primary:r}=Ge(),i=Tt(),{className:u,children:o,fashion:f,name:d,compact:y}=t,m=ae(r,f),h=new Wt(m),b=Je(Xe`
517
- & {
518
- border: ${i.thickness(H.ExtraSmall)} solid transparent;
519
- list-style: none;
520
- margin: 0;
521
- padding: ${i.gap(y?Un.None:H.ExtraSmall)};
522
- }
523
-
524
- li[data-highlight="true"] {
525
- background-color: ${h.idle.main};
526
- border-color: ${h.idle.border};
527
- color: ${h.idle.contrast};
528
- }
529
-
530
- li[data-interactive]:hover {
531
- background-color: ${h.hover.main};
532
- border-color: ${h.hover.border};
533
- color: ${h.hover.contrast};
534
- }
535
-
536
- li[data-interactive]:focus {
537
- background-color: ${h.focus.main};
538
- border-color: ${h.focus.border};
539
- color: ${h.focus.contrast};
540
- outline: none;
541
- }
542
- `);return w.jsx("ul",{className:ve("ZList-root",u,b),"data-name":d,"data-fashion":m.name,role:"list",children:o})}function P6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class i_ extends xe{async anchor(){return await this.driver.attribute("data-anchor")}async opened(){return await this.driver.attribute("open")!=null}async header(){const[r]=await this.driver.query(".ZDialog-header");return ae(null,r)}async footer(){const[r]=await this.driver.query(".ZDialog-footer");return ae(null,r)}async fashion(){return this.driver.attribute("data-fashion")}async close(){const r=new tt().press(et.escape).build();await this.driver.perform(r)}async waitForOpen(){return this.driver.wait(()=>this.opened())}async waitForClose(){return this.driver.wait(()=>this.opened().then(r=>!r))}}P6(i_,"Selector",".ZDialog-root");function W6(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class I6 extends xe{async label(){const[r]=await Qe.all(this.driver,pu,".ZChoice-label");return ae(null,r)}async selected(){const r=await this.driver.query(".ZChoice-value");return Array.from(r).map(i=>new Ks(i))}async disabled(){const[r]=await this.driver.query("input,button"),i=await this.driver.attribute("data-disabled","false");return await r?.disabled()||i!=="false"}async closable(){return(await this.driver.classes(["ZChoice-always-open"])).length===0}_popup(){return Qe.first(this.driver,i_,"choice-popup")}async opened(){return await this.closable()?(await this._popup()).opened():!0}async _toggle(){const r=await this.driver.select(".ZChoice-root .ZChoice-toggler"),i=new tt().click().build();await r.perform(i)}async open(){if(await this.opened()||await this._toggle(),await this.closable()){const o=await this._popup();return await o.waitForOpen(),(await o.driver.query(".ZChoice-option")).map(d=>new Ks(d))}return(await this.driver.query(".ZChoice-option")).map(o=>new Ks(o))}async close(){if(!await this.closable())return;const i=await this._popup();await i.opened()&&(await this._toggle(),await i.waitForClose())}async select(r){const i=await this.open(),u=await(r instanceof Ks?r.value():Promise.resolve(String(r)));let o=await Promise.all(i.map(d=>d.value())),f=Zb(o,d=>d===u);if(f<0&&(o=await Promise.all(i.map(d=>d.text())),f=Zb(o,d=>d===u)),f>=0){const d=i[f],y=new tt().click().build();await d.driver.perform(y)}}async clear(){const[r]=await this.driver.query(".ZChoice-clear");if(!r)return;const i=new tt().click().build();await r.perform(i)}}W6(I6,"Selector",".ZChoice-root");function eC(t){const{anchor:r,className:i,children:u,fashion:o,name:f,renderHeader:d,renderFooter:y}=t,{surface:m}=Ge(),h=Tt(),b=$.useRef(document.createElement("dialog")),v=new Wt(ae(m,o)),{closeOnBackdropClick:A,closeOnEscapeKey:C}=J6(b.current,t);let U="max-content",O="100%",z="translateX(-100%)",G="translateX(0)",E="0",D="0",Y="0";r===$2.Right&&(z="translateX(100%)",E="auto"),r===sb.Bottom&&(O="max-content",D="auto",z="translateY(100%)",G="translateY(0)",U="100%"),r===sb.Top&&(O="max-content",Y="auto",z="translateY(-100%)",G="translateY(0)",U="100%");const j=J1(Xe`
543
- from {
544
- transform: ${z};
545
- }
546
- to {
547
- transform: ${G};
548
- }
549
- `),k=Je(Xe`
550
- & {
551
- background-color: ${m.idle.main};
552
- border: 0;
553
- color: ${m.idle.contrast};
554
- height: ${O};
555
- margin-bottom: ${Y};
556
- margin-left: ${E};
557
- margin-right: 0;
558
- margin-top: ${D};
559
- max-height: 100%;
560
- max-width: 100%;
561
- padding: 0;
562
- transform: ${z};
563
- transition: transform 200ms linear;
564
- width: ${U};
565
- }
566
-
567
- &::backdrop {
568
- background-color: ${Kd()};
569
- opacity: 0.75;
570
- }
571
-
572
- &[open] {
573
- animation: ${j} 200ms linear;
574
- transform: ${G};
575
- display: flex;
576
- flex-direction: column;
577
- }
578
-
579
- &.closing {
580
- transform: ${z};
581
- }
582
-
583
- .ZDialog-header,
584
- .ZDialog-footer,
585
- .ZDialog-content {
586
- padding: ${h.gap(H.Small)};
587
- }
588
-
589
- .ZDialog-header {
590
- background-color: ${v.idle.main};
591
- color: ${v.idle.contrast};
592
- }
593
-
594
- .ZDialog-content {
595
- flex-grow: 1;
596
- overflow: auto;
597
- }
598
- `);return w.jsxs("dialog",{className:ve("ZDialog-root","ZDialog-drawer",i,k),onClick:A,onKeyDown:C,"data-anchor":r,"data-name":f,"data-fashion":o?.name,role:"dialog",ref:b,children:[d&&w.jsx("div",{className:"ZDialog-header","aria-description":"Drawer Header",children:d.call(null)}),w.jsx("div",{className:"ZDialog-content","aria-description":"Drawer Body",children:u}),y&&w.jsx("div",{className:"ZDialog-footer","aria-description":"Drawer Footer",children:y.call(null)})]})}Object.freeze({...Bt(hr(10,20),"rem"),...Sn()});Object.freeze({...Bt(hr(3,20),"rem"),...Sn()});function tC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class l_ extends xe{underlying(){return Qe.first(this.driver,dr)}}tC(l_,"Selector",".ZFormButton-root");function nC(){return{original:{},current:{},setCurrent:xa,reset:xa}}const u_=$.createContext(nC()),s_=()=>$.useContext(u_);function T0(t){const{ButtonProps:r,type:i="submit"}=t,{primary:u,secondary:o}=Ge(),{current:f,original:d}=s_(),y=i==="reset"?o:u,m=Av(i),h=$.useMemo(()=>JSON.stringify(f)!==JSON.stringify(d),[f,d]);return w.jsx("div",{className:"ZFormButton-root","data-name":i,children:w.jsx(ru,{label:m,fashion:y,...r,type:i,disabled:!h})})}class rC{render(r,i){const{current:u,setCurrent:o}=r,f=ae("",i.path),d=Ta(u,f,!1),y=m=>{const h=structuredClone(u);wh(h,f,m),o(h)};return w.jsx(T6,{value:d,label:i.name,onValueChange:y})}}class aC{render(){return null}}class O0{render(r,i){const{current:u,setCurrent:o}=r,f=ae("",i.path),d=Ta(u,f,""),y=m=>{const h=structuredClone(u);wh(h,f,m),o(h)};return w.jsx(d_,{value:d,label:i.name,onValueChange:y})}}function sh(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Fh extends xe{async _input(){try{return await this.driver.select("input")}catch{return await this.driver.select("textarea")}}async value(){const r=await this._input();return ae("",await r.value())}async disabled(){return(await this._input()).disabled()}async label(){const[r]=await Qe.all(this.driver,pu,".ZText-label");return ae(null,r)}async masked(){return await(await this._input()).attribute("type")==="password"}async readOnly(){return await(await this._input()).attribute("readOnly")!=null}async keyboard(r,i=et.tab){const u=new tt().click().type(r).press(i).build();return await(await this._input()).perform(u),this.value()}async clear(r=et.tab){const i=await this.value(),u=new tt().click().press(et.delete,i.length).press(et.backspace,i.length).press(r).build();return await(await this._input()).perform(u),this.value()}async essay(r){let i=new tt().click();return r.forEach(o=>{i=i.type(o).press(et.enter).press(et.enter)}),i=i.press(et.tab),await(await this._input()).perform(i.build()),this.value()}async _adornment(r){const i=`.ZText-${r}`,[u]=await this.driver.query(i);return u||null}constructor(...r){super(...r),sh(this,"prefix",this._adornment.bind(this,"prefix")),sh(this,"suffix",this._adornment.bind(this,"suffix"))}}sh(Fh,"Selector",".ZText-root");function iC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class o_ extends xe{text(){return Qe.optional(this.driver,Fh)}boolean(){return Qe.optional(this.driver,t_)}}iC(o_,"Selector",".ZFormField-root");function lC(t){const{metadata:r}=t,{id:i}=r,u=s_(),o=$.useMemo(()=>new aC,[]),f=$.useMemo(()=>({[Od.Text]:new O0,[Od.File]:new O0,[Od.Boolean]:new rC}),[]),d=$.useMemo(()=>ae(o,f[r.type]),[r.type,o,f]);return w.jsx("div",{className:"ZFormField-root","data-name":i,children:d.render(u,r)})}function uC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class sC extends xe{field(r){return Qe.first(this.driver,o_,r)}button(r){return Qe.first(this.driver,l_,r)}}uC(sC,"Selector",".ZForm-root");function oC(t){const{children:r,value:i,onValueChange:u}=t,[o,f]=zh(i,u,{}),[d,y]=$.useState(o),m=$.useCallback(xa,[]),h=$.useMemo(()=>({original:o,current:d,setCurrent:y,reset:m}),[o,d,m]);$.useEffect(()=>{y(o)},[o]);const b=A=>{A.preventDefault(),f(d)},v=A=>{A.preventDefault(),y(o)};return w.jsx(u_,{value:h,children:w.jsx("form",{className:"ZForm-root",onSubmit:b,onReset:v,children:r})})}function cC(t){const r=Tt(),{children:i}=t,u=Je(Xe`
599
- & {
600
- padding: ${r.gap()};
601
- position: absolute;
602
- inset: 0;
603
- }
604
- `);return w.jsx("div",{className:ve("ZFullScreen-root",u),children:i})}function fC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class c_ extends xe{async disabled(){return await this.driver.attribute("data-disabled","false")!=="false"}async loading(){return!await this.disabled()}fashion(){return this.driver.attribute("data-fashion","Inherit")}load(){return this.driver.wait(()=>this.disabled())}}fC(c_,"Selector",".ZSuspense-root");function dC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class hC extends xe{search(){return Qe.optional(this.driver,Fh,"search")}more(){return Qe.optional(this.driver,dr,"grid-more")}async error(){return Qe.optional(this.driver,K1,"grid-error")}async suspense(){return Qe.first(this.driver,c_,"grid-loading")}async load(){await(await this.suspense()).load()}}dC(hC,"Selector",".ZGridView-root");const Vl=Bt(hr(.5,1),"rem");function Jh(t){const{className:r,disabled:i,height:u,name:o,fashion:f}=t,{primary:d}=Ge(),y=_r(),m=ae(d,f),h=new Ut(u,H.Medium),b=new Wt(m),v=J1(Xe`
605
- from {
606
- transform: translateX(-100%);
607
- }
608
- to {
609
- transform: translateX(400%);
610
- }
611
- `),A=Je(Xe`
612
- & {
613
- background-color: currentcolor;
614
- box-sizing: border-box;
615
- display: ${i?"none":"block"};
616
- height: ${Vl[h.xl]};
617
- overflow: hidden;
618
- position: relative;
619
- width: 100%;
620
- }
621
-
622
- .ZSuspense-progress-scroll {
623
- animation: ${v} 1.5s ease-in-out infinite;
624
- position: absolute;
625
- background-color: ${b.idle.main};
626
- inset: 0;
627
- width: 25%;
628
- }
629
-
630
- ${y.break(H.Large)} {
631
- & {
632
- height: ${Vl[h.lg]};
633
- }
634
- }
635
- ${y.break(H.Medium)} {
636
- & {
637
- height: ${Vl[h.md]};
638
- }
639
- }
640
- ${y.break(H.Small)} {
641
- & {
642
- height: ${Vl[h.sm]};
643
- }
644
- }
645
- ${y.break(H.ExtraSmall)} {
646
- & {
647
- height: ${Vl[h.xs]};
648
- }
649
- }
650
- `);return w.jsx("div",{className:ve("ZSuspense-root","ZSuspense-progress",r,A),"data-disabled":i,"data-fashion":m.name,"data-name":o,children:w.jsx("div",{className:"ZSuspense-progress-scroll"})})}function f_(t,r,i){t!==r&&i(t)}function pC(t){const{name:r,disabled:i,value:u,required:o,placeholder:f,readOnly:d,onValueChange:y=xa}=t,m=$.useId(),[h,b]=$.useState(u||"");return $.useEffect(()=>{b(u||"")},[u]),{disabled:i,value:h,name:r,required:o,placeholder:f,readOnly:d,id:m,onBlur:()=>f_(h||"",u||"",y),onInput:v=>b(v.currentTarget.value)}}function mC(t,r=xa){const{value:i,onValueChange:u=xa}=t;return o=>{if(r(o),!o.defaultPrevented&&o.code===et.enter.code){const f=Ta(o.target,"value","");f_(f||"",i||"",u)}}}const d_=$.forwardRef(function(r,i){const{className:u,fashion:o,type:f="text",name:d,label:y,required:m,orientation:h,prefix:b,suffix:v,onKeyDown:A,onValueChange:C,...U}=r,O=Tt(),z=pC(r),G=mC(r,A),{component:E,primary:D}=Ge(),Y=ae(D,o),j=new Wt(Y),k=Je(Xe`
651
- input {
652
- background: transparent;
653
- border: none;
654
- color: inherit;
655
- width: 100%;
656
- height: 100%;
657
- outline: none;
658
- padding: 0;
659
- margin: 0;
660
- }
661
-
662
- input:focus,
663
- input:focus-visible,
664
- input:focus-within {
665
- border: none;
666
- }
667
-
668
- .ZText-input {
669
- align-items: center;
670
- background-color: ${E.idle.main};
671
- border-radius: ${O.rounding(H.ExtraSmall)};
672
- border-style: solid;
673
- border-width: ${O.thickness(H.Medium)};
674
- display: flex;
675
- color: ${E.idle.contrast};
676
- gap: ${O.gap(H.ExtraSmall)};
677
- height: 2.5rem;
678
- outline: none;
679
- padding: 0 ${O.gap(H.ExtraSmall)};
680
- }
681
-
682
- .ZText-input[data-disabled="true"] {
683
- opacity: 0.35;
684
- pointer-events: none;
685
- }
686
-
687
- .ZText-input:hover:not([data-disabled="true"]) {
688
- border-color: ${j.hover.border};
689
- }
690
-
691
- .ZText-input:focus-within {
692
- border-color: ${j.idle.border};
693
- }
694
-
695
- .ZText-input:active:not([data-disabled="true"]) {
696
- border-color: ${j.active.border};
697
- }
698
-
699
- .ZText-prefix,
700
- .ZText-suffix {
701
- display: inline-flex;
702
- }
703
- `);return w.jsx(e_,{className:ve("ZText-root",k,u),label:y,LabelProps:{required:m,className:"ZText-label",htmlFor:z.id},orientation:h,name:d,children:w.jsxs("div",{className:"ZText-input","data-disabled":z.disabled,children:[b&&w.jsx("div",{className:"ZText-prefix",children:b}),w.jsx("input",{...U,...z,type:f,onKeyDown:G,ref:i}),v&&w.jsx("div",{className:"ZText-suffix",children:v})]})})}),yC=new _i([]),gC=12,bC=new Jl().size(gC).page(1).build();function kh(t){const{GridProps:r,SearchProps:i,SuspenseProps:u,MoreProps:o,renderItem:f,dataSource:d=yC,className:y,value:m,onValueChange:h}=t,[b,v]=zh(m,h,bC),{view:A,last:C,complete:U,more:O}=U5(d,b),z=Ge(),G=()=>{if(i===!1)return null;const j=k=>{v(L=>new Jl().copy(L).search(k).page(1).build())};return w.jsx(d_,{label:"Search",...i,className:"ZGridView-search",value:b.search,onValueChange:j,name:"search"})},E=()=>w.jsx(wo,{...r,children:A.map((j,k)=>f(j,k))}),D=()=>{if(o0(C))return w.jsx(k1,{className:ve("ZGridView-error"),name:"grid-error",message:C.message,fashion:z.error,heading:w.jsx(g6,{compact:!0,children:"Error"}),avatar:w.jsx(vt,{name:"circle-exclamation",width:H.Small})})},Y=()=>w.jsxs(w.Fragment,{children:[w.jsx(Jh,{...u,className:"ZGridView-loading",height:H.Medium,disabled:!s0(C),name:"grid-loading"}),!U&&w.jsx(ru,{label:"More...",disabled:s0(C)||o0(C),fashion:z.secondary,...o,className:ve("ZGridView-more",o?.className),onClick:O,name:"grid-more"})]});return w.jsxs(Et,{className:ve("ZGridView-root",y),gap:H.Medium,children:[G(),E(),D(),Y()]})}function vC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class _C extends xe{name(){return this.driver.attribute("data-name","")}vendor(){return this.driver.attribute("data-vendor","unknown")}fashion(){return this.driver.attribute("data-fashion")}async click(){await this.driver.perform(new tt().click().build())}}vC(_C,"Selector",".ZIcon-root");function wC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class SC extends xe{name(){return this.driver.attribute("data-name")}async svg(){const[r]=await this.driver.query("svg");return!!r}async img(){const[r]=await this.driver.query("img");return!!r}async empty(){const r=await this.svg(),i=await this.img();return!r&&!i}}wC(SC,"Selector",".ZImageSource-root");const Mn={...Bt(ou(2,1),"rem"),...Sn(),...Kr()};function Ph(t){const r=_r(),{className:i,src:u,height:o,width:f,name:d}=t,y=new Ut(o,He.Default),m=new Ut(f,He.Default),h=Je(Xe`
704
- &,
705
- svg,
706
- img {
707
- width: ${Mn[m.xl]};
708
- height: ${Mn[y.xl]};
709
- }
710
-
711
- ${r.break(H.Large)} {
712
- &,
713
- svg,
714
- img {
715
- width: ${Mn[m.lg]};
716
- height: ${Mn[y.lg]};
717
- }
718
- }
719
-
720
- ${r.break(H.Medium)} {
721
- &,
722
- svg,
723
- img {
724
- width: ${Mn[m.md]};
725
- height: ${Mn[y.md]};
726
- }
727
- }
728
-
729
- ${r.break(H.Small)} {
730
- &,
731
- svg,
732
- img {
733
- width: ${Mn[m.sm]};
734
- height: ${Mn[y.sm]};
735
- }
736
- }
737
-
738
- ${r.break(H.ExtraSmall)} {
739
- &,
740
- svg,
741
- img {
742
- width: ${Mn[m.xs]};
743
- height: ${Mn[y.xs]};
744
- }
745
- }
746
- `),b=ve("ZImageSource-root",i,h);if(!u)return w.jsx("div",{className:b,"data-name":d});if(u.startsWith("data:image/svg+xml")){const v=new jR().parse(u).info(),A=new TextDecoder().decode(v.buffer);return w.jsx("div",{className:b,dangerouslySetInnerHTML:{__html:A},"data-name":d})}return w.jsx("div",{className:b,"data-name":d,children:w.jsx("img",{src:u,alt:d})})}function xC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Ql extends xe{name(){return this.driver.attribute("data-name")}async click(){const r=new tt().click().build();await this.driver.perform(r)}}xC(Ql,"Selector",".ZListItem-root");function EC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class TC extends xe{async items(){const i=(await this.driver.query(Ql.Selector)).map(u=>new Ql(u));return Promise.resolve(i)}async item(r){const i=`${Ql.Selector}[data-name="${r}"]`,[u]=await this.driver.query(i);return u==null?null:new Ql(u)}}EC(TC,"Selector",".ZList-root");function OC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class AC extends xe{async returnHome(){await(await Qe.first(this.driver,dr,"return-home")).click()}}OC(AC,"Selector",".ZNotFound-root");function $C(){const t=Je(Xe`
747
- & {
748
- height: 3rem;
749
- }
750
-
751
- .a {
752
- fill: #f8de40;
753
- }
754
-
755
- .b {
756
- fill: #e7c930;
757
- }
758
-
759
- .c {
760
- fill: #864e20;
761
- }
762
-
763
- .d {
764
- fill: #26a9e0;
765
- }
766
- `);return w.jsxs("svg",{className:ve("ZSadFace-root",t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[w.jsx("rect",{className:"a",x:"1",y:"1",width:"22",height:"22",rx:"7.656"}),w.jsx("path",{className:"b",d:"M23,13.938a14.69,14.69,0,0,1-12.406,6.531c-5.542,0-6.563-1-9.142-2.529A7.66,7.66,0,0,0,8.656,23h6.688A7.656,7.656,0,0,0,23,15.344Z"}),w.jsx("path",{className:"c",d:"M7.055,7.313A1.747,1.747,0,1,0,8.8,9.059,1.747,1.747,0,0,0,7.055,7.313Z"}),w.jsx("path",{className:"c",d:"M16.958,7.313A1.747,1.747,0,1,0,18.7,9.059,1.747,1.747,0,0,0,16.958,7.313Z"}),w.jsx("path",{className:"d",d:"M8.42,13.921A4.184,4.184,0,0,0,7.054,11.38a4.185,4.185,0,0,0-1.365,2.541c-.111,1.476.937,1.762,1.365,1.762S8.531,15.4,8.42,13.921Z"}),w.jsx("path",{className:"c",d:"M14.512,13.366a5.943,5.943,0,0,0-5.024,0c-.592.369-.557-.694.753-.974A7.35,7.35,0,0,1,12,12.078a7.35,7.35,0,0,1,1.759.314C15.069,12.672,15.1,13.735,14.512,13.366Z"}),w.jsx("path",{className:"b",d:"M13.074,14.269a2.542,2.542,0,0,0-2.148,0c-.253.158-.238-.3.322-.416A3.144,3.144,0,0,1,12,13.719a3.144,3.144,0,0,1,.752.134C13.312,13.973,13.327,14.427,13.074,14.269Z"})]})}function RC(t){const{home:r="/"}=t,i=t6(so.NotFound),o=`${e6(so.NotFound)} (${so.NotFound})`,f=mu(),{error:d}=Ge();return w.jsx(cC,{children:w.jsx(wo,{className:"ZNotFound-root",justify:{content:"center"},align:{content:"center"},height:He.Full,children:w.jsx(Mi,{TitleProps:{avatar:w.jsx($C,{}),heading:o},footer:w.jsx(ru,{className:"ZNotFound-back",name:"return-home",label:"Return home",width:He.Full,fashion:d,onClick:()=>f(r)}),children:w.jsx(Kh,{className:"ZNotFound-description",children:i})})})})}function CC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class MC extends xe{_input(){return this.driver.select("input")}async step(){const r=await this._input();return+ae("1",await r.attribute("step"))}async min(){const r=await this._input();return+ae("0",await r.attribute("min"))}async max(){const r=await this._input();return+ae("100",await r.attribute("max"))}async value(){const i=await(await this._input()).value();return i?+i:null}async label(){const[r]=await Qe.all(this.driver,pu,".ZNumber-label");return ae(null,r)}async _spinClick(r,i,u){const o=r>0?".ZNumber-spinner-increment":".ZNumber-spinner-decrement",[f]=await this.driver.query(o);i>0&&await f.perform(new tt().click().build());for(let d=1;d<i;++d)await f.perform(new tt().press(u).build());return this.value()}async _spinPress(r,i){const u=await this._input(),o=r>0?et.upArrow:et.downArrow;for(let f=0;f<i;++f)await u.perform(new tt().click().press(o).build());return this.value()}increment(r=1,i=et.enter){return this._spinClick(1,r,i)}up(r=1){return this._spinPress(1,r)}decrement(r=1,i=et.enter){return this._spinClick(-1,r,i)}down(r=1){return this._spinPress(-1,r)}async keyboard(r){return await(await this._input()).perform(new tt().click().type(r).press(et.tab).build()),this.value()}async clear(){const r=await this._input(),u=ae("",await r.value()).length;let o=new tt().click();for(let f=0;f<u;++f)o=o.press(et.backspace);for(let f=0;f<u;++f)o=o.press(et.delete);o=o.press(et.tab),await r.perform(o.build())}}CC(MC,"Selector",".ZNumber-root");hr(2,2);function NC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class zC extends xe{fashion(){return this.driver.attribute("data-fashion","Inherit")}}NC(zC,"Selector",".ZTypography-root");function DC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class qC extends xe{card(){return Promise.resolve(new a_(this.driver))}async _footer(){const r=await this.card();return await L2(r.footer())}async page(){return+await this.driver.attribute("data-page","0")}async next(){return Qe.optional(await this._footer(),dr,"next")}async previous(){return Qe.first(await this._footer(),dr,"previous")}async finish(){return Qe.optional(await this._footer(),dr,"finish")}}DC(qC,"Selector",".ZWizard-root");function UC(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class BC extends xe{identity(){return this.driver.attribute("data-identity","?")}}UC(BC,"Selector",".ZYouTubeVideo-root");var zd={exports:{}},Xl={},Dd={exports:{}},qd={};/**
767
- * @license React
768
- * scheduler.production.js
769
- *
770
- * Copyright (c) Meta Platforms, Inc. and affiliates.
771
- *
772
- * This source code is licensed under the MIT license found in the
773
- * LICENSE file in the root directory of this source tree.
774
- */var A0;function jC(){return A0||(A0=1,function(t){function r(S,F){var W=S.length;S.push(F);e:for(;0<W;){var ue=W-1>>>1,re=S[ue];if(0<o(re,F))S[ue]=F,S[W]=re,W=ue;else break e}}function i(S){return S.length===0?null:S[0]}function u(S){if(S.length===0)return null;var F=S[0],W=S.pop();if(W!==F){S[0]=W;e:for(var ue=0,re=S.length,T=re>>>1;ue<T;){var Q=2*(ue+1)-1,I=S[Q],P=Q+1,ce=S[P];if(0>o(I,W))P<re&&0>o(ce,I)?(S[ue]=ce,S[P]=W,ue=P):(S[ue]=I,S[Q]=W,ue=Q);else if(P<re&&0>o(ce,W))S[ue]=ce,S[P]=W,ue=P;else break e}}return F}function o(S,F){var W=S.sortIndex-F.sortIndex;return W!==0?W:S.id-F.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;t.unstable_now=function(){return f.now()}}else{var d=Date,y=d.now();t.unstable_now=function(){return d.now()-y}}var m=[],h=[],b=1,v=null,A=3,C=!1,U=!1,O=!1,z=!1,G=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function Y(S){for(var F=i(h);F!==null;){if(F.callback===null)u(h);else if(F.startTime<=S)u(h),F.sortIndex=F.expirationTime,r(m,F);else break;F=i(h)}}function j(S){if(O=!1,Y(S),!U)if(i(m)!==null)U=!0,k||(k=!0,$e());else{var F=i(h);F!==null&&B(j,F.startTime-S)}}var k=!1,L=-1,oe=5,ne=-1;function Me(){return z?!0:!(t.unstable_now()-ne<oe)}function ke(){if(z=!1,k){var S=t.unstable_now();ne=S;var F=!0;try{e:{U=!1,O&&(O=!1,E(L),L=-1),C=!0;var W=A;try{t:{for(Y(S),v=i(m);v!==null&&!(v.expirationTime>S&&Me());){var ue=v.callback;if(typeof ue=="function"){v.callback=null,A=v.priorityLevel;var re=ue(v.expirationTime<=S);if(S=t.unstable_now(),typeof re=="function"){v.callback=re,Y(S),F=!0;break t}v===i(m)&&u(m),Y(S)}else u(m);v=i(m)}if(v!==null)F=!0;else{var T=i(h);T!==null&&B(j,T.startTime-S),F=!1}}break e}finally{v=null,A=W,C=!1}F=void 0}}finally{F?$e():k=!1}}}var $e;if(typeof D=="function")$e=function(){D(ke)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,ht=te.port2;te.port1.onmessage=ke,$e=function(){ht.postMessage(null)}}else $e=function(){G(ke,0)};function B(S,F){L=G(function(){S(t.unstable_now())},F)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(S){S.callback=null},t.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):oe=0<S?Math.floor(1e3/S):5},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_next=function(S){switch(A){case 1:case 2:case 3:var F=3;break;default:F=A}var W=A;A=F;try{return S()}finally{A=W}},t.unstable_requestPaint=function(){z=!0},t.unstable_runWithPriority=function(S,F){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var W=A;A=S;try{return F()}finally{A=W}},t.unstable_scheduleCallback=function(S,F,W){var ue=t.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ue+W:ue):W=ue,S){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=W+re,S={id:b++,callback:F,priorityLevel:S,startTime:W,expirationTime:re,sortIndex:-1},W>ue?(S.sortIndex=W,r(h,S),i(m)===null&&S===i(h)&&(O?(E(L),L=-1):O=!0,B(j,W-ue))):(S.sortIndex=re,r(m,S),U||C||(U=!0,k||(k=!0,$e()))),S},t.unstable_shouldYield=Me,t.unstable_wrapCallback=function(S){var F=A;return function(){var W=A;A=F;try{return S.apply(this,arguments)}finally{A=W}}}}(qd)),qd}var $0;function LC(){return $0||($0=1,Dd.exports=jC()),Dd.exports}var R0;function ZC(){if(R0)return Xl;R0=1;var t=LC(),r=xh(),i=$R();function u(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)n+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var n=e,a=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(a=n.return),e=n.return;while(e)}return n.tag===3?a:null}function d(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function y(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function m(e){if(f(e)!==e)throw Error(u(188))}function h(e){var n=e.alternate;if(!n){if(n=f(e),n===null)throw Error(u(188));return n!==e?null:e}for(var a=e,l=n;;){var s=a.return;if(s===null)break;var c=s.alternate;if(c===null){if(l=s.return,l!==null){a=l;continue}break}if(s.child===c.child){for(c=s.child;c;){if(c===a)return m(s),e;if(c===l)return m(s),n;c=c.sibling}throw Error(u(188))}if(a.return!==l.return)a=s,l=c;else{for(var p=!1,g=s.child;g;){if(g===a){p=!0,a=s,l=c;break}if(g===l){p=!0,l=s,a=c;break}g=g.sibling}if(!p){for(g=c.child;g;){if(g===a){p=!0,a=c,l=s;break}if(g===l){p=!0,l=c,a=s;break}g=g.sibling}if(!p)throw Error(u(189))}}if(a.alternate!==l)throw Error(u(190))}if(a.tag!==3)throw Error(u(188));return a.stateNode.current===a?e:n}function b(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=b(e),n!==null)return n;e=e.sibling}return null}var v=Object.assign,A=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),D=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),ne=Symbol.for("react.activity"),Me=Symbol.for("react.memo_cache_sentinel"),ke=Symbol.iterator;function $e(e){return e===null||typeof e!="object"?null:(e=ke&&e[ke]||e["@@iterator"],typeof e=="function"?e:null)}var te=Symbol.for("react.client.reference");function ht(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===te?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case G:return"Profiler";case z:return"StrictMode";case j:return"Suspense";case k:return"SuspenseList";case ne:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case U:return"Portal";case D:return e.displayName||"Context";case E:return(e._context.displayName||"Context")+".Consumer";case Y:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case L:return n=e.displayName||null,n!==null?n:ht(e.type)||"Memo";case oe:n=e._payload,e=e._init;try{return ht(e(n))}catch{}}return null}var B=Array.isArray,S=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},ue=[],re=-1;function T(e){return{current:e}}function Q(e){0>re||(e.current=ue[re],ue[re]=null,re--)}function I(e,n){re++,ue[re]=e.current,e.current=n}var P=T(null),ce=T(null),pe=T(null),Ae=T(null);function Ot(e,n){switch(I(pe,n),I(ce,e),I(P,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?Og(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Og(n),e=Ag(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(P),I(P,e)}function Pe(){Q(P),Q(ce),Q(pe)}function Bi(e){e.memoizedState!==null&&I(Ae,e);var n=P.current,a=Ag(n,e.type);n!==a&&(I(ce,e),I(P,a))}function bu(e){ce.current===e&&(Q(P),Q(ce)),Ae.current===e&&(Q(Ae),Ol._currentValue=W)}var Po,np;function Ir(e){if(Po===void 0)try{throw Error()}catch(a){var n=a.stack.trim().match(/\n( *(at )?)/);Po=n&&n[1]||"",np=-1<a.stack.indexOf(`
775
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
776
- `+Po+e+np}var Wo=!1;function Io(e,n){if(!e||Wo)return"";Wo=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(n){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(Z){var q=Z}Reflect.construct(e,[],K)}else{try{K.call()}catch(Z){q=Z}e.call(K.prototype)}}else{try{throw Error()}catch(Z){q=Z}(K=e())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(Z){if(Z&&q&&typeof Z.stack=="string")return[Z.stack,q.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),p=c[0],g=c[1];if(p&&g){var _=p.split(`
777
- `),N=g.split(`
778
- `);for(s=l=0;l<_.length&&!_[l].includes("DetermineComponentFrameRoot");)l++;for(;s<N.length&&!N[s].includes("DetermineComponentFrameRoot");)s++;if(l===_.length||s===N.length)for(l=_.length-1,s=N.length-1;1<=l&&0<=s&&_[l]!==N[s];)s--;for(;1<=l&&0<=s;l--,s--)if(_[l]!==N[s]){if(l!==1||s!==1)do if(l--,s--,0>s||_[l]!==N[s]){var V=`
779
- `+_[l].replace(" at new "," at ");return e.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",e.displayName)),V}while(1<=l&&0<=s);break}}}finally{Wo=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ir(a):""}function C_(e,n){switch(e.tag){case 26:case 27:case 5:return Ir(e.type);case 16:return Ir("Lazy");case 13:return e.child!==n&&n!==null?Ir("Suspense Fallback"):Ir("Suspense");case 19:return Ir("SuspenseList");case 0:case 15:return Io(e.type,!1);case 11:return Io(e.type.render,!1);case 1:return Io(e.type,!0);case 31:return Ir("Activity");default:return""}}function rp(e){try{var n="",a=null;do n+=C_(e,a),a=e,e=e.return;while(e);return n}catch(l){return`
780
- Error generating stack: `+l.message+`
781
- `+l.stack}}var ec=Object.prototype.hasOwnProperty,tc=t.unstable_scheduleCallback,nc=t.unstable_cancelCallback,M_=t.unstable_shouldYield,N_=t.unstable_requestPaint,Lt=t.unstable_now,z_=t.unstable_getCurrentPriorityLevel,ap=t.unstable_ImmediatePriority,ip=t.unstable_UserBlockingPriority,vu=t.unstable_NormalPriority,D_=t.unstable_LowPriority,lp=t.unstable_IdlePriority,q_=t.log,U_=t.unstable_setDisableYieldValue,ji=null,Zt=null;function wr(e){if(typeof q_=="function"&&U_(e),Zt&&typeof Zt.setStrictMode=="function")try{Zt.setStrictMode(ji,e)}catch{}}var Ht=Math.clz32?Math.clz32:L_,B_=Math.log,j_=Math.LN2;function L_(e){return e>>>=0,e===0?32:31-(B_(e)/j_|0)|0}var _u=256,wu=262144,Su=4194304;function ea(e){var n=e&42;if(n!==0)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function xu(e,n,a){var l=e.pendingLanes;if(l===0)return 0;var s=0,c=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var g=l&134217727;return g!==0?(l=g&~c,l!==0?s=ea(l):(p&=g,p!==0?s=ea(p):a||(a=g&~e,a!==0&&(s=ea(a))))):(g=l&~c,g!==0?s=ea(g):p!==0?s=ea(p):a||(a=l&~e,a!==0&&(s=ea(a)))),s===0?0:n!==0&&n!==s&&(n&c)===0&&(c=s&-s,a=n&-n,c>=a||c===32&&(a&4194048)!==0)?n:s}function Li(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Z_(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function up(){var e=Su;return Su<<=1,(Su&62914560)===0&&(Su=4194304),e}function rc(e){for(var n=[],a=0;31>a;a++)n.push(e);return n}function Zi(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function H_(e,n,a,l,s,c){var p=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var g=e.entanglements,_=e.expirationTimes,N=e.hiddenUpdates;for(a=p&~a;0<a;){var V=31-Ht(a),K=1<<V;g[V]=0,_[V]=-1;var q=N[V];if(q!==null)for(N[V]=null,V=0;V<q.length;V++){var Z=q[V];Z!==null&&(Z.lane&=-536870913)}a&=~K}l!==0&&sp(e,l,0),c!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=c&~(p&~n))}function sp(e,n,a){e.pendingLanes|=n,e.suspendedLanes&=~n;var l=31-Ht(n);e.entangledLanes|=n,e.entanglements[l]=e.entanglements[l]|1073741824|a&261930}function op(e,n){var a=e.entangledLanes|=n;for(e=e.entanglements;a;){var l=31-Ht(a),s=1<<l;s&n|e[l]&n&&(e[l]|=n),a&=~s}}function cp(e,n){var a=n&-n;return a=(a&42)!==0?1:ac(a),(a&(e.suspendedLanes|n))!==0?0:a}function ac(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ic(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function fp(){var e=F.p;return e!==0?e:(e=window.event,e===void 0?32:kg(e.type))}function dp(e,n){var a=F.p;try{return F.p=e,n()}finally{F.p=a}}var Sr=Math.random().toString(36).slice(2),pt="__reactFiber$"+Sr,Rt="__reactProps$"+Sr,Ma="__reactContainer$"+Sr,lc="__reactEvents$"+Sr,G_="__reactListeners$"+Sr,Y_="__reactHandles$"+Sr,hp="__reactResources$"+Sr,Hi="__reactMarker$"+Sr;function uc(e){delete e[pt],delete e[Rt],delete e[lc],delete e[G_],delete e[Y_]}function Na(e){var n=e[pt];if(n)return n;for(var a=e.parentNode;a;){if(n=a[Ma]||a[pt]){if(a=n.alternate,n.child!==null||a!==null&&a.child!==null)for(e=Dg(e);e!==null;){if(a=e[pt])return a;e=Dg(e)}return n}e=a,a=e.parentNode}return null}function za(e){if(e=e[pt]||e[Ma]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function Gi(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(u(33))}function Da(e){var n=e[hp];return n||(n=e[hp]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ct(e){e[Hi]=!0}var pp=new Set,mp={};function ta(e,n){qa(e,n),qa(e+"Capture",n)}function qa(e,n){for(mp[e]=n,e=0;e<n.length;e++)pp.add(n[e])}var V_=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),yp={},gp={};function X_(e){return ec.call(gp,e)?!0:ec.call(yp,e)?!1:V_.test(e)?gp[e]=!0:(yp[e]=!0,!1)}function Eu(e,n,a){if(X_(n))if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var l=n.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+a)}}function Tu(e,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+a)}}function Zn(e,n,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(n,a,""+l)}}function It(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bp(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Q_(e,n,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,c=l.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return s.call(this)},set:function(p){a=""+p,c.call(this,p)}}),Object.defineProperty(e,n,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(p){a=""+p},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function sc(e){if(!e._valueTracker){var n=bp(e)?"checked":"value";e._valueTracker=Q_(e,n,""+e[n])}}function vp(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var a=n.getValue(),l="";return e&&(l=bp(e)?e.checked?"true":"false":e.value),e=l,e!==a?(n.setValue(e),!0):!1}function Ou(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var K_=/[\n"\\]/g;function en(e){return e.replace(K_,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function oc(e,n,a,l,s,c,p,g){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),n!=null?p==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+It(n)):e.value!==""+It(n)&&(e.value=""+It(n)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),n!=null?cc(e,p,It(n)):a!=null?cc(e,p,It(a)):l!=null&&e.removeAttribute("value"),s==null&&c!=null&&(e.defaultChecked=!!c),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+It(g):e.removeAttribute("name")}function _p(e,n,a,l,s,c,p,g){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),n!=null||a!=null){if(!(c!=="submit"&&c!=="reset"||n!=null)){sc(e);return}a=a!=null?""+It(a):"",n=n!=null?""+It(n):a,g||n===e.value||(e.value=n),e.defaultValue=n}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=g?e.checked:!!l,e.defaultChecked=!!l,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p),sc(e)}function cc(e,n,a){n==="number"&&Ou(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ua(e,n,a,l){if(e=e.options,n){n={};for(var s=0;s<a.length;s++)n["$"+a[s]]=!0;for(a=0;a<e.length;a++)s=n.hasOwnProperty("$"+e[a].value),e[a].selected!==s&&(e[a].selected=s),s&&l&&(e[a].defaultSelected=!0)}else{for(a=""+It(a),n=null,s=0;s<e.length;s++){if(e[s].value===a){e[s].selected=!0,l&&(e[s].defaultSelected=!0);return}n!==null||e[s].disabled||(n=e[s])}n!==null&&(n.selected=!0)}}function wp(e,n,a){if(n!=null&&(n=""+It(n),n!==e.value&&(e.value=n),a==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=a!=null?""+It(a):""}function Sp(e,n,a,l){if(n==null){if(l!=null){if(a!=null)throw Error(u(92));if(B(l)){if(1<l.length)throw Error(u(93));l=l[0]}a=l}a==null&&(a=""),n=a}a=It(n),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l),sc(e)}function Ba(e,n){if(n){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=n;return}}e.textContent=n}var F_=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xp(e,n,a){var l=n.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":l?e.setProperty(n,a):typeof a!="number"||a===0||F_.has(n)?n==="float"?e.cssFloat=a:e[n]=(""+a).trim():e[n]=a+"px"}function Ep(e,n,a){if(n!=null&&typeof n!="object")throw Error(u(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||n!=null&&n.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var s in n)l=n[s],n.hasOwnProperty(s)&&a[s]!==l&&xp(e,s,l)}else for(var c in n)n.hasOwnProperty(c)&&xp(e,c,n[c])}function fc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var J_=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),k_=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Au(e){return k_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Hn(){}var dc=null;function hc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ja=null,La=null;function Tp(e){var n=za(e);if(n&&(e=n.stateNode)){var a=e[Rt]||null;e:switch(e=n.stateNode,n.type){case"input":if(oc(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),n=a.name,a.type==="radio"&&n!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+en(""+n)+'"][type="radio"]'),n=0;n<a.length;n++){var l=a[n];if(l!==e&&l.form===e.form){var s=l[Rt]||null;if(!s)throw Error(u(90));oc(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(n=0;n<a.length;n++)l=a[n],l.form===e.form&&vp(l)}break e;case"textarea":wp(e,a.value,a.defaultValue);break e;case"select":n=a.value,n!=null&&Ua(e,!!a.multiple,n,!1)}}}var pc=!1;function Op(e,n,a){if(pc)return e(n,a);pc=!0;try{var l=e(n);return l}finally{if(pc=!1,(ja!==null||La!==null)&&(ps(),ja&&(n=ja,e=La,La=ja=null,Tp(n),e)))for(n=0;n<e.length;n++)Tp(e[n])}}function Yi(e,n){var a=e.stateNode;if(a===null)return null;var l=a[Rt]||null;if(l===null)return null;a=l[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(u(231,n,typeof a));return a}var Gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mc=!1;if(Gn)try{var Vi={};Object.defineProperty(Vi,"passive",{get:function(){mc=!0}}),window.addEventListener("test",Vi,Vi),window.removeEventListener("test",Vi,Vi)}catch{mc=!1}var xr=null,yc=null,$u=null;function Ap(){if($u)return $u;var e,n=yc,a=n.length,l,s="value"in xr?xr.value:xr.textContent,c=s.length;for(e=0;e<a&&n[e]===s[e];e++);var p=a-e;for(l=1;l<=p&&n[a-l]===s[c-l];l++);return $u=s.slice(e,1<l?1-l:void 0)}function Ru(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Cu(){return!0}function $p(){return!1}function Ct(e){function n(a,l,s,c,p){this._reactName=a,this._targetInst=s,this.type=l,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(a=e[g],this[g]=a?a(c):c[g]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Cu:$p,this.isPropagationStopped=$p,this}return v(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Cu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Cu)},persist:function(){},isPersistent:Cu}),n}var na={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mu=Ct(na),Xi=v({},na,{view:0,detail:0}),P_=Ct(Xi),gc,bc,Qi,Nu=v({},Xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_c,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qi&&(Qi&&e.type==="mousemove"?(gc=e.screenX-Qi.screenX,bc=e.screenY-Qi.screenY):bc=gc=0,Qi=e),gc)},movementY:function(e){return"movementY"in e?e.movementY:bc}}),Rp=Ct(Nu),W_=v({},Nu,{dataTransfer:0}),I_=Ct(W_),ew=v({},Xi,{relatedTarget:0}),vc=Ct(ew),tw=v({},na,{animationName:0,elapsedTime:0,pseudoElement:0}),nw=Ct(tw),rw=v({},na,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),aw=Ct(rw),iw=v({},na,{data:0}),Cp=Ct(iw),lw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uw={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},sw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ow(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=sw[e])?!!n[e]:!1}function _c(){return ow}var cw=v({},Xi,{key:function(e){if(e.key){var n=lw[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Ru(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?uw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_c,charCode:function(e){return e.type==="keypress"?Ru(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ru(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),fw=Ct(cw),dw=v({},Nu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Mp=Ct(dw),hw=v({},Xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_c}),pw=Ct(hw),mw=v({},na,{propertyName:0,elapsedTime:0,pseudoElement:0}),yw=Ct(mw),gw=v({},Nu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),bw=Ct(gw),vw=v({},na,{newState:0,oldState:0}),_w=Ct(vw),ww=[9,13,27,32],wc=Gn&&"CompositionEvent"in window,Ki=null;Gn&&"documentMode"in document&&(Ki=document.documentMode);var Sw=Gn&&"TextEvent"in window&&!Ki,Np=Gn&&(!wc||Ki&&8<Ki&&11>=Ki),zp=" ",Dp=!1;function qp(e,n){switch(e){case"keyup":return ww.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Up(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Za=!1;function xw(e,n){switch(e){case"compositionend":return Up(n);case"keypress":return n.which!==32?null:(Dp=!0,zp);case"textInput":return e=n.data,e===zp&&Dp?null:e;default:return null}}function Ew(e,n){if(Za)return e==="compositionend"||!wc&&qp(e,n)?(e=Ap(),$u=yc=xr=null,Za=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Np&&n.locale!=="ko"?null:n.data;default:return null}}var Tw={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bp(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Tw[e.type]:n==="textarea"}function jp(e,n,a,l){ja?La?La.push(l):La=[l]:ja=l,n=ws(n,"onChange"),0<n.length&&(a=new Mu("onChange","change",null,a,l),e.push({event:a,listeners:n}))}var Fi=null,Ji=null;function Ow(e){_g(e,0)}function zu(e){var n=Gi(e);if(vp(n))return e}function Lp(e,n){if(e==="change")return n}var Zp=!1;if(Gn){var Sc;if(Gn){var xc="oninput"in document;if(!xc){var Hp=document.createElement("div");Hp.setAttribute("oninput","return;"),xc=typeof Hp.oninput=="function"}Sc=xc}else Sc=!1;Zp=Sc&&(!document.documentMode||9<document.documentMode)}function Gp(){Fi&&(Fi.detachEvent("onpropertychange",Yp),Ji=Fi=null)}function Yp(e){if(e.propertyName==="value"&&zu(Ji)){var n=[];jp(n,Ji,e,hc(e)),Op(Ow,n)}}function Aw(e,n,a){e==="focusin"?(Gp(),Fi=n,Ji=a,Fi.attachEvent("onpropertychange",Yp)):e==="focusout"&&Gp()}function $w(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zu(Ji)}function Rw(e,n){if(e==="click")return zu(n)}function Cw(e,n){if(e==="input"||e==="change")return zu(n)}function Mw(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Gt=typeof Object.is=="function"?Object.is:Mw;function ki(e,n){if(Gt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var a=Object.keys(e),l=Object.keys(n);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var s=a[l];if(!ec.call(n,s)||!Gt(e[s],n[s]))return!1}return!0}function Vp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xp(e,n){var a=Vp(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=n&&l>=n)return{node:a,offset:n-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Vp(a)}}function Qp(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Qp(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Kp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=Ou(e.document);n instanceof e.HTMLIFrameElement;){try{var a=typeof n.contentWindow.location.href=="string"}catch{a=!1}if(a)e=n.contentWindow;else break;n=Ou(e.document)}return n}function Ec(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var Nw=Gn&&"documentMode"in document&&11>=document.documentMode,Ha=null,Tc=null,Pi=null,Oc=!1;function Fp(e,n,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Oc||Ha==null||Ha!==Ou(l)||(l=Ha,"selectionStart"in l&&Ec(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Pi&&ki(Pi,l)||(Pi=l,l=ws(Tc,"onSelect"),0<l.length&&(n=new Mu("onSelect","select",null,n,a),e.push({event:n,listeners:l}),n.target=Ha)))}function ra(e,n){var a={};return a[e.toLowerCase()]=n.toLowerCase(),a["Webkit"+e]="webkit"+n,a["Moz"+e]="moz"+n,a}var Ga={animationend:ra("Animation","AnimationEnd"),animationiteration:ra("Animation","AnimationIteration"),animationstart:ra("Animation","AnimationStart"),transitionrun:ra("Transition","TransitionRun"),transitionstart:ra("Transition","TransitionStart"),transitioncancel:ra("Transition","TransitionCancel"),transitionend:ra("Transition","TransitionEnd")},Ac={},Jp={};Gn&&(Jp=document.createElement("div").style,"AnimationEvent"in window||(delete Ga.animationend.animation,delete Ga.animationiteration.animation,delete Ga.animationstart.animation),"TransitionEvent"in window||delete Ga.transitionend.transition);function aa(e){if(Ac[e])return Ac[e];if(!Ga[e])return e;var n=Ga[e],a;for(a in n)if(n.hasOwnProperty(a)&&a in Jp)return Ac[e]=n[a];return e}var kp=aa("animationend"),Pp=aa("animationiteration"),Wp=aa("animationstart"),zw=aa("transitionrun"),Dw=aa("transitionstart"),qw=aa("transitioncancel"),Ip=aa("transitionend"),em=new Map,$c="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");$c.push("scrollEnd");function hn(e,n){em.set(e,n),ta(n,[e])}var Du=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof Si=="object"&&typeof Si.emit=="function"){Si.emit("uncaughtException",e);return}console.error(e)},tn=[],Ya=0,Rc=0;function qu(){for(var e=Ya,n=Rc=Ya=0;n<e;){var a=tn[n];tn[n++]=null;var l=tn[n];tn[n++]=null;var s=tn[n];tn[n++]=null;var c=tn[n];if(tn[n++]=null,l!==null&&s!==null){var p=l.pending;p===null?s.next=s:(s.next=p.next,p.next=s),l.pending=s}c!==0&&tm(a,s,c)}}function Uu(e,n,a,l){tn[Ya++]=e,tn[Ya++]=n,tn[Ya++]=a,tn[Ya++]=l,Rc|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Cc(e,n,a,l){return Uu(e,n,a,l),Bu(e)}function ia(e,n){return Uu(e,null,null,n),Bu(e)}function tm(e,n,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var s=!1,c=e.return;c!==null;)c.childLanes|=a,l=c.alternate,l!==null&&(l.childLanes|=a),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(s=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,s&&n!==null&&(s=31-Ht(a),e=c.hiddenUpdates,l=e[s],l===null?e[s]=[n]:l.push(n),n.lane=a|536870912),c):null}function Bu(e){if(50<vl)throw vl=0,Zf=null,Error(u(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Va={};function Uw(e,n,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yt(e,n,a,l){return new Uw(e,n,a,l)}function Mc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yn(e,n){var a=e.alternate;return a===null?(a=Yt(e.tag,n,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=n,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,n=e.dependencies,a.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function nm(e,n){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,n=a.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function ju(e,n,a,l,s,c){var p=0;if(l=e,typeof e=="function")Mc(e)&&(p=1);else if(typeof e=="string")p=HS(e,a,P.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ne:return e=Yt(31,a,n,s),e.elementType=ne,e.lanes=c,e;case O:return la(a.children,s,c,n);case z:p=8,s|=24;break;case G:return e=Yt(12,a,n,s|2),e.elementType=G,e.lanes=c,e;case j:return e=Yt(13,a,n,s),e.elementType=j,e.lanes=c,e;case k:return e=Yt(19,a,n,s),e.elementType=k,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D:p=10;break e;case E:p=9;break e;case Y:p=11;break e;case L:p=14;break e;case oe:p=16,l=null;break e}p=29,a=Error(u(130,e===null?"null":typeof e,"")),l=null}return n=Yt(p,a,n,s),n.elementType=e,n.type=l,n.lanes=c,n}function la(e,n,a,l){return e=Yt(7,e,l,n),e.lanes=a,e}function Nc(e,n,a){return e=Yt(6,e,null,n),e.lanes=a,e}function rm(e){var n=Yt(18,null,null,0);return n.stateNode=e,n}function zc(e,n,a){return n=Yt(4,e.children!==null?e.children:[],e.key,n),n.lanes=a,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var am=new WeakMap;function nn(e,n){if(typeof e=="object"&&e!==null){var a=am.get(e);return a!==void 0?a:(n={value:e,source:n,stack:rp(n)},am.set(e,n),n)}return{value:e,source:n,stack:rp(n)}}var Xa=[],Qa=0,Lu=null,Wi=0,rn=[],an=0,Er=null,Tn=1,On="";function Vn(e,n){Xa[Qa++]=Wi,Xa[Qa++]=Lu,Lu=e,Wi=n}function im(e,n,a){rn[an++]=Tn,rn[an++]=On,rn[an++]=Er,Er=e;var l=Tn;e=On;var s=32-Ht(l)-1;l&=~(1<<s),a+=1;var c=32-Ht(n)+s;if(30<c){var p=s-s%5;c=(l&(1<<p)-1).toString(32),l>>=p,s-=p,Tn=1<<32-Ht(n)+s|a<<s|l,On=c+e}else Tn=1<<c|a<<s|l,On=e}function Dc(e){e.return!==null&&(Vn(e,1),im(e,1,0))}function qc(e){for(;e===Lu;)Lu=Xa[--Qa],Xa[Qa]=null,Wi=Xa[--Qa],Xa[Qa]=null;for(;e===Er;)Er=rn[--an],rn[an]=null,On=rn[--an],rn[an]=null,Tn=rn[--an],rn[an]=null}function lm(e,n){rn[an++]=Tn,rn[an++]=On,rn[an++]=Er,Tn=n.id,On=n.overflow,Er=e}var mt=null,je=null,_e=!1,Tr=null,ln=!1,Uc=Error(u(519));function Or(e){var n=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ii(nn(n,e)),Uc}function um(e){var n=e.stateNode,a=e.type,l=e.memoizedProps;switch(n[pt]=e,n[Rt]=l,a){case"dialog":ye("cancel",n),ye("close",n);break;case"iframe":case"object":case"embed":ye("load",n);break;case"video":case"audio":for(a=0;a<wl.length;a++)ye(wl[a],n);break;case"source":ye("error",n);break;case"img":case"image":case"link":ye("error",n),ye("load",n);break;case"details":ye("toggle",n);break;case"input":ye("invalid",n),_p(n,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ye("invalid",n);break;case"textarea":ye("invalid",n),Sp(n,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||n.textContent===""+a||l.suppressHydrationWarning===!0||Eg(n.textContent,a)?(l.popover!=null&&(ye("beforetoggle",n),ye("toggle",n)),l.onScroll!=null&&ye("scroll",n),l.onScrollEnd!=null&&ye("scrollend",n),l.onClick!=null&&(n.onclick=Hn),n=!0):n=!1,n||Or(e,!0)}function sm(e){for(mt=e.return;mt;)switch(mt.tag){case 5:case 31:case 13:ln=!1;return;case 27:case 3:ln=!0;return;default:mt=mt.return}}function Ka(e){if(e!==mt)return!1;if(!_e)return sm(e),_e=!0,!1;var n=e.tag,a;if((a=n!==3&&n!==27)&&((a=n===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||td(e.type,e.memoizedProps)),a=!a),a&&je&&Or(e),sm(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));je=zg(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));je=zg(e)}else n===27?(n=je,Zr(e.type)?(e=ld,ld=null,je=e):je=n):je=mt?sn(e.stateNode.nextSibling):null;return!0}function ua(){je=mt=null,_e=!1}function Bc(){var e=Tr;return e!==null&&(Dt===null?Dt=e:Dt.push.apply(Dt,e),Tr=null),e}function Ii(e){Tr===null?Tr=[e]:Tr.push(e)}var jc=T(null),sa=null,Xn=null;function Ar(e,n,a){I(jc,n._currentValue),n._currentValue=a}function Qn(e){e._currentValue=jc.current,Q(jc)}function Lc(e,n,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,l!==null&&(l.childLanes|=n)):l!==null&&(l.childLanes&n)!==n&&(l.childLanes|=n),e===a)break;e=e.return}}function Zc(e,n,a,l){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var c=s.dependencies;if(c!==null){var p=s.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=s;for(var _=0;_<n.length;_++)if(g.context===n[_]){c.lanes|=a,g=c.alternate,g!==null&&(g.lanes|=a),Lc(c.return,a,e),l||(p=null);break e}c=g.next}}else if(s.tag===18){if(p=s.return,p===null)throw Error(u(341));p.lanes|=a,c=p.alternate,c!==null&&(c.lanes|=a),Lc(p,a,e),p=null}else p=s.child;if(p!==null)p.return=s;else for(p=s;p!==null;){if(p===e){p=null;break}if(s=p.sibling,s!==null){s.return=p.return,p=s;break}p=p.return}s=p}}function Fa(e,n,a,l){e=null;for(var s=n,c=!1;s!==null;){if(!c){if((s.flags&524288)!==0)c=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var p=s.alternate;if(p===null)throw Error(u(387));if(p=p.memoizedProps,p!==null){var g=s.type;Gt(s.pendingProps.value,p.value)||(e!==null?e.push(g):e=[g])}}else if(s===Ae.current){if(p=s.alternate,p===null)throw Error(u(387));p.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Ol):e=[Ol])}s=s.return}e!==null&&Zc(n,e,a,l),n.flags|=262144}function Zu(e){for(e=e.firstContext;e!==null;){if(!Gt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function oa(e){sa=e,Xn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function yt(e){return om(sa,e)}function Hu(e,n){return sa===null&&oa(e),om(e,n)}function om(e,n){var a=n._currentValue;if(n={context:n,memoizedValue:a,next:null},Xn===null){if(e===null)throw Error(u(308));Xn=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Xn=Xn.next=n;return a}var Bw=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){n.aborted=!0,e.forEach(function(a){return a()})}},jw=t.unstable_scheduleCallback,Lw=t.unstable_NormalPriority,rt={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hc(){return{controller:new Bw,data:new Map,refCount:0}}function el(e){e.refCount--,e.refCount===0&&jw(Lw,function(){e.controller.abort()})}var tl=null,Gc=0,Ja=0,ka=null;function Zw(e,n){if(tl===null){var a=tl=[];Gc=0,Ja=Qf(),ka={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Gc++,n.then(cm,cm),n}function cm(){if(--Gc===0&&tl!==null){ka!==null&&(ka.status="fulfilled");var e=tl;tl=null,Ja=0,ka=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function Hw(e,n){var a=[],l={status:"pending",value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){l.status="fulfilled",l.value=n;for(var s=0;s<a.length;s++)(0,a[s])(n)},function(s){for(l.status="rejected",l.reason=s,s=0;s<a.length;s++)(0,a[s])(void 0)}),l}var fm=S.S;S.S=function(e,n){Fy=Lt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&Zw(e,n),fm!==null&&fm(e,n)};var ca=T(null);function Yc(){var e=ca.current;return e!==null?e:qe.pooledCache}function Gu(e,n){n===null?I(ca,ca.current):I(ca,n.pool)}function dm(){var e=Yc();return e===null?null:{parent:rt._currentValue,pool:e}}var Pa=Error(u(460)),Vc=Error(u(474)),Yu=Error(u(542)),Vu={then:function(){}};function hm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function pm(e,n,a){switch(a=e[a],a===void 0?e.push(n):a!==n&&(n.then(Hn,Hn),n=a),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,ym(e),e;default:if(typeof n.status=="string")n.then(Hn,Hn);else{if(e=qe,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=n,e.status="pending",e.then(function(l){if(n.status==="pending"){var s=n;s.status="fulfilled",s.value=l}},function(l){if(n.status==="pending"){var s=n;s.status="rejected",s.reason=l}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,ym(e),e}throw da=n,Pa}}function fa(e){try{var n=e._init;return n(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(da=a,Pa):a}}var da=null;function mm(){if(da===null)throw Error(u(459));var e=da;return da=null,e}function ym(e){if(e===Pa||e===Yu)throw Error(u(483))}var Wa=null,nl=0;function Xu(e){var n=nl;return nl+=1,Wa===null&&(Wa=[]),pm(Wa,e,n)}function rl(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function Qu(e,n){throw n.$$typeof===A?Error(u(525)):(e=Object.prototype.toString.call(n),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function gm(e){function n(R,x){if(e){var M=R.deletions;M===null?(R.deletions=[x],R.flags|=16):M.push(x)}}function a(R,x){if(!e)return null;for(;x!==null;)n(R,x),x=x.sibling;return null}function l(R){for(var x=new Map;R!==null;)R.key!==null?x.set(R.key,R):x.set(R.index,R),R=R.sibling;return x}function s(R,x){return R=Yn(R,x),R.index=0,R.sibling=null,R}function c(R,x,M){return R.index=M,e?(M=R.alternate,M!==null?(M=M.index,M<x?(R.flags|=67108866,x):M):(R.flags|=67108866,x)):(R.flags|=1048576,x)}function p(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function g(R,x,M,X){return x===null||x.tag!==6?(x=Nc(M,R.mode,X),x.return=R,x):(x=s(x,M),x.return=R,x)}function _(R,x,M,X){var le=M.type;return le===O?V(R,x,M.props.children,X,M.key):x!==null&&(x.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===oe&&fa(le)===x.type)?(x=s(x,M.props),rl(x,M),x.return=R,x):(x=ju(M.type,M.key,M.props,null,R.mode,X),rl(x,M),x.return=R,x)}function N(R,x,M,X){return x===null||x.tag!==4||x.stateNode.containerInfo!==M.containerInfo||x.stateNode.implementation!==M.implementation?(x=zc(M,R.mode,X),x.return=R,x):(x=s(x,M.children||[]),x.return=R,x)}function V(R,x,M,X,le){return x===null||x.tag!==7?(x=la(M,R.mode,X,le),x.return=R,x):(x=s(x,M),x.return=R,x)}function K(R,x,M){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return x=Nc(""+x,R.mode,M),x.return=R,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case C:return M=ju(x.type,x.key,x.props,null,R.mode,M),rl(M,x),M.return=R,M;case U:return x=zc(x,R.mode,M),x.return=R,x;case oe:return x=fa(x),K(R,x,M)}if(B(x)||$e(x))return x=la(x,R.mode,M,null),x.return=R,x;if(typeof x.then=="function")return K(R,Xu(x),M);if(x.$$typeof===D)return K(R,Hu(R,x),M);Qu(R,x)}return null}function q(R,x,M,X){var le=x!==null?x.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return le!==null?null:g(R,x,""+M,X);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case C:return M.key===le?_(R,x,M,X):null;case U:return M.key===le?N(R,x,M,X):null;case oe:return M=fa(M),q(R,x,M,X)}if(B(M)||$e(M))return le!==null?null:V(R,x,M,X,null);if(typeof M.then=="function")return q(R,x,Xu(M),X);if(M.$$typeof===D)return q(R,x,Hu(R,M),X);Qu(R,M)}return null}function Z(R,x,M,X,le){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return R=R.get(M)||null,g(x,R,""+X,le);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case C:return R=R.get(X.key===null?M:X.key)||null,_(x,R,X,le);case U:return R=R.get(X.key===null?M:X.key)||null,N(x,R,X,le);case oe:return X=fa(X),Z(R,x,M,X,le)}if(B(X)||$e(X))return R=R.get(M)||null,V(x,R,X,le,null);if(typeof X.then=="function")return Z(R,x,M,Xu(X),le);if(X.$$typeof===D)return Z(R,x,M,Hu(x,X),le);Qu(x,X)}return null}function ee(R,x,M,X){for(var le=null,we=null,ie=x,he=x=0,be=null;ie!==null&&he<M.length;he++){ie.index>he?(be=ie,ie=null):be=ie.sibling;var Se=q(R,ie,M[he],X);if(Se===null){ie===null&&(ie=be);break}e&&ie&&Se.alternate===null&&n(R,ie),x=c(Se,x,he),we===null?le=Se:we.sibling=Se,we=Se,ie=be}if(he===M.length)return a(R,ie),_e&&Vn(R,he),le;if(ie===null){for(;he<M.length;he++)ie=K(R,M[he],X),ie!==null&&(x=c(ie,x,he),we===null?le=ie:we.sibling=ie,we=ie);return _e&&Vn(R,he),le}for(ie=l(ie);he<M.length;he++)be=Z(ie,R,he,M[he],X),be!==null&&(e&&be.alternate!==null&&ie.delete(be.key===null?he:be.key),x=c(be,x,he),we===null?le=be:we.sibling=be,we=be);return e&&ie.forEach(function(Xr){return n(R,Xr)}),_e&&Vn(R,he),le}function se(R,x,M,X){if(M==null)throw Error(u(151));for(var le=null,we=null,ie=x,he=x=0,be=null,Se=M.next();ie!==null&&!Se.done;he++,Se=M.next()){ie.index>he?(be=ie,ie=null):be=ie.sibling;var Xr=q(R,ie,Se.value,X);if(Xr===null){ie===null&&(ie=be);break}e&&ie&&Xr.alternate===null&&n(R,ie),x=c(Xr,x,he),we===null?le=Xr:we.sibling=Xr,we=Xr,ie=be}if(Se.done)return a(R,ie),_e&&Vn(R,he),le;if(ie===null){for(;!Se.done;he++,Se=M.next())Se=K(R,Se.value,X),Se!==null&&(x=c(Se,x,he),we===null?le=Se:we.sibling=Se,we=Se);return _e&&Vn(R,he),le}for(ie=l(ie);!Se.done;he++,Se=M.next())Se=Z(ie,R,he,Se.value,X),Se!==null&&(e&&Se.alternate!==null&&ie.delete(Se.key===null?he:Se.key),x=c(Se,x,he),we===null?le=Se:we.sibling=Se,we=Se);return e&&ie.forEach(function(WS){return n(R,WS)}),_e&&Vn(R,he),le}function De(R,x,M,X){if(typeof M=="object"&&M!==null&&M.type===O&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case C:e:{for(var le=M.key;x!==null;){if(x.key===le){if(le=M.type,le===O){if(x.tag===7){a(R,x.sibling),X=s(x,M.props.children),X.return=R,R=X;break e}}else if(x.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===oe&&fa(le)===x.type){a(R,x.sibling),X=s(x,M.props),rl(X,M),X.return=R,R=X;break e}a(R,x);break}else n(R,x);x=x.sibling}M.type===O?(X=la(M.props.children,R.mode,X,M.key),X.return=R,R=X):(X=ju(M.type,M.key,M.props,null,R.mode,X),rl(X,M),X.return=R,R=X)}return p(R);case U:e:{for(le=M.key;x!==null;){if(x.key===le)if(x.tag===4&&x.stateNode.containerInfo===M.containerInfo&&x.stateNode.implementation===M.implementation){a(R,x.sibling),X=s(x,M.children||[]),X.return=R,R=X;break e}else{a(R,x);break}else n(R,x);x=x.sibling}X=zc(M,R.mode,X),X.return=R,R=X}return p(R);case oe:return M=fa(M),De(R,x,M,X)}if(B(M))return ee(R,x,M,X);if($e(M)){if(le=$e(M),typeof le!="function")throw Error(u(150));return M=le.call(M),se(R,x,M,X)}if(typeof M.then=="function")return De(R,x,Xu(M),X);if(M.$$typeof===D)return De(R,x,Hu(R,M),X);Qu(R,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,x!==null&&x.tag===6?(a(R,x.sibling),X=s(x,M),X.return=R,R=X):(a(R,x),X=Nc(M,R.mode,X),X.return=R,R=X),p(R)):a(R,x)}return function(R,x,M,X){try{nl=0;var le=De(R,x,M,X);return Wa=null,le}catch(ie){if(ie===Pa||ie===Yu)throw ie;var we=Yt(29,ie,null,R.mode);return we.lanes=X,we.return=R,we}finally{}}}var ha=gm(!0),bm=gm(!1),$r=!1;function Xc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qc(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Rr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Cr(e,n,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Ee&2)!==0){var s=l.pending;return s===null?n.next=n:(n.next=s.next,s.next=n),l.pending=n,n=Bu(e),tm(e,null,a),n}return Uu(e,l,n,a),Bu(e)}function al(e,n,a){if(n=n.updateQueue,n!==null&&(n=n.shared,(a&4194048)!==0)){var l=n.lanes;l&=e.pendingLanes,a|=l,n.lanes=a,op(e,a)}}function Kc(e,n){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var s=null,c=null;if(a=a.firstBaseUpdate,a!==null){do{var p={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};c===null?s=c=p:c=c.next=p,a=a.next}while(a!==null);c===null?s=c=n:c=c.next=n}else s=c=n;a={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=n:e.next=n,a.lastBaseUpdate=n}var Fc=!1;function il(){if(Fc){var e=ka;if(e!==null)throw e}}function ll(e,n,a,l){Fc=!1;var s=e.updateQueue;$r=!1;var c=s.firstBaseUpdate,p=s.lastBaseUpdate,g=s.shared.pending;if(g!==null){s.shared.pending=null;var _=g,N=_.next;_.next=null,p===null?c=N:p.next=N,p=_;var V=e.alternate;V!==null&&(V=V.updateQueue,g=V.lastBaseUpdate,g!==p&&(g===null?V.firstBaseUpdate=N:g.next=N,V.lastBaseUpdate=_))}if(c!==null){var K=s.baseState;p=0,V=N=_=null,g=c;do{var q=g.lane&-536870913,Z=q!==g.lane;if(Z?(ge&q)===q:(l&q)===q){q!==0&&q===Ja&&(Fc=!0),V!==null&&(V=V.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var ee=e,se=g;q=n;var De=a;switch(se.tag){case 1:if(ee=se.payload,typeof ee=="function"){K=ee.call(De,K,q);break e}K=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=se.payload,q=typeof ee=="function"?ee.call(De,K,q):ee,q==null)break e;K=v({},K,q);break e;case 2:$r=!0}}q=g.callback,q!==null&&(e.flags|=64,Z&&(e.flags|=8192),Z=s.callbacks,Z===null?s.callbacks=[q]:Z.push(q))}else Z={lane:q,tag:g.tag,payload:g.payload,callback:g.callback,next:null},V===null?(N=V=Z,_=K):V=V.next=Z,p|=q;if(g=g.next,g===null){if(g=s.shared.pending,g===null)break;Z=g,g=Z.next,Z.next=null,s.lastBaseUpdate=Z,s.shared.pending=null}}while(!0);V===null&&(_=K),s.baseState=_,s.firstBaseUpdate=N,s.lastBaseUpdate=V,c===null&&(s.shared.lanes=0),qr|=p,e.lanes=p,e.memoizedState=K}}function vm(e,n){if(typeof e!="function")throw Error(u(191,e));e.call(n)}function _m(e,n){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)vm(a[e],n)}var Ia=T(null),Ku=T(0);function wm(e,n){e=tr,I(Ku,e),I(Ia,n),tr=e|n.baseLanes}function Jc(){I(Ku,tr),I(Ia,Ia.current)}function kc(){tr=Ku.current,Q(Ia),Q(Ku)}var Vt=T(null),un=null;function Mr(e){var n=e.alternate;I(We,We.current&1),I(Vt,e),un===null&&(n===null||Ia.current!==null||n.memoizedState!==null)&&(un=e)}function Pc(e){I(We,We.current),I(Vt,e),un===null&&(un=e)}function Sm(e){e.tag===22?(I(We,We.current),I(Vt,e),un===null&&(un=e)):Nr()}function Nr(){I(We,We.current),I(Vt,Vt.current)}function Xt(e){Q(Vt),un===e&&(un=null),Q(We)}var We=T(0);function Fu(e){for(var n=e;n!==null;){if(n.tag===13){var a=n.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||ad(a)||id(a)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Kn=0,de=null,Ne=null,at=null,Ju=!1,ei=!1,pa=!1,ku=0,ul=0,ti=null,Gw=0;function Ke(){throw Error(u(321))}function Wc(e,n){if(n===null)return!1;for(var a=0;a<n.length&&a<e.length;a++)if(!Gt(e[a],n[a]))return!1;return!0}function Ic(e,n,a,l,s,c){return Kn=c,de=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,S.H=e===null||e.memoizedState===null?iy:mf,pa=!1,c=a(l,s),pa=!1,ei&&(c=Em(n,a,l,s)),xm(e),c}function xm(e){S.H=cl;var n=Ne!==null&&Ne.next!==null;if(Kn=0,at=Ne=de=null,Ju=!1,ul=0,ti=null,n)throw Error(u(300));e===null||it||(e=e.dependencies,e!==null&&Zu(e)&&(it=!0))}function Em(e,n,a,l){de=e;var s=0;do{if(ei&&(ti=null),ul=0,ei=!1,25<=s)throw Error(u(301));if(s+=1,at=Ne=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}S.H=ly,c=n(a,l)}while(ei);return c}function Yw(){var e=S.H,n=e.useState()[0];return n=typeof n.then=="function"?sl(n):n,e=e.useState()[0],(Ne!==null?Ne.memoizedState:null)!==e&&(de.flags|=1024),n}function ef(){var e=ku!==0;return ku=0,e}function tf(e,n,a){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~a}function nf(e){if(Ju){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}Ju=!1}Kn=0,at=Ne=de=null,ei=!1,ul=ku=0,ti=null}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?de.memoizedState=at=e:at=at.next=e,at}function Ie(){if(Ne===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Ne.next;var n=at===null?de.memoizedState:at.next;if(n!==null)at=n,Ne=e;else{if(e===null)throw de.alternate===null?Error(u(467)):Error(u(310));Ne=e,e={memoizedState:Ne.memoizedState,baseState:Ne.baseState,baseQueue:Ne.baseQueue,queue:Ne.queue,next:null},at===null?de.memoizedState=at=e:at=at.next=e}return at}function Pu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sl(e){var n=ul;return ul+=1,ti===null&&(ti=[]),e=pm(ti,e,n),n=de,(at===null?n.memoizedState:at.next)===null&&(n=n.alternate,S.H=n===null||n.memoizedState===null?iy:mf),e}function Wu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return sl(e);if(e.$$typeof===D)return yt(e)}throw Error(u(438,String(e)))}function rf(e){var n=null,a=de.updateQueue;if(a!==null&&(n=a.memoCache),n==null){var l=de.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(n={data:l.data.map(function(s){return s.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),a===null&&(a=Pu(),de.updateQueue=a),a.memoCache=n,a=n.data[n.index],a===void 0)for(a=n.data[n.index]=Array(e),l=0;l<e;l++)a[l]=Me;return n.index++,a}function Fn(e,n){return typeof n=="function"?n(e):n}function Iu(e){var n=Ie();return af(n,Ne,e)}function af(e,n,a){var l=e.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=a;var s=e.baseQueue,c=l.pending;if(c!==null){if(s!==null){var p=s.next;s.next=c.next,c.next=p}n.baseQueue=s=c,l.pending=null}if(c=e.baseState,s===null)e.memoizedState=c;else{n=s.next;var g=p=null,_=null,N=n,V=!1;do{var K=N.lane&-536870913;if(K!==N.lane?(ge&K)===K:(Kn&K)===K){var q=N.revertLane;if(q===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),K===Ja&&(V=!0);else if((Kn&q)===q){N=N.next,q===Ja&&(V=!0);continue}else K={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},_===null?(g=_=K,p=c):_=_.next=K,de.lanes|=q,qr|=q;K=N.action,pa&&a(c,K),c=N.hasEagerState?N.eagerState:a(c,K)}else q={lane:K,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},_===null?(g=_=q,p=c):_=_.next=q,de.lanes|=K,qr|=K;N=N.next}while(N!==null&&N!==n);if(_===null?p=c:_.next=g,!Gt(c,e.memoizedState)&&(it=!0,V&&(a=ka,a!==null)))throw a;e.memoizedState=c,e.baseState=p,e.baseQueue=_,l.lastRenderedState=c}return s===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function lf(e){var n=Ie(),a=n.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=e;var l=a.dispatch,s=a.pending,c=n.memoizedState;if(s!==null){a.pending=null;var p=s=s.next;do c=e(c,p.action),p=p.next;while(p!==s);Gt(c,n.memoizedState)||(it=!0),n.memoizedState=c,n.baseQueue===null&&(n.baseState=c),a.lastRenderedState=c}return[c,l]}function Tm(e,n,a){var l=de,s=Ie(),c=_e;if(c){if(a===void 0)throw Error(u(407));a=a()}else a=n();var p=!Gt((Ne||s).memoizedState,a);if(p&&(s.memoizedState=a,it=!0),s=s.queue,of($m.bind(null,l,s,e),[e]),s.getSnapshot!==n||p||at!==null&&at.memoizedState.tag&1){if(l.flags|=2048,ni(9,{destroy:void 0},Am.bind(null,l,s,a,n),null),qe===null)throw Error(u(349));c||(Kn&127)!==0||Om(l,n,a)}return a}function Om(e,n,a){e.flags|=16384,e={getSnapshot:n,value:a},n=de.updateQueue,n===null?(n=Pu(),de.updateQueue=n,n.stores=[e]):(a=n.stores,a===null?n.stores=[e]:a.push(e))}function Am(e,n,a,l){n.value=a,n.getSnapshot=l,Rm(n)&&Cm(e)}function $m(e,n,a){return a(function(){Rm(n)&&Cm(e)})}function Rm(e){var n=e.getSnapshot;e=e.value;try{var a=n();return!Gt(e,a)}catch{return!0}}function Cm(e){var n=ia(e,2);n!==null&&qt(n,e,2)}function uf(e){var n=At();if(typeof e=="function"){var a=e;if(e=a(),pa){wr(!0);try{a()}finally{wr(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:e},n}function Mm(e,n,a,l){return e.baseState=a,af(e,Ne,typeof l=="function"?l:Fn)}function Vw(e,n,a,l,s){if(ns(e))throw Error(u(485));if(e=n.action,e!==null){var c={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};S.T!==null?a(!0):c.isTransition=!1,l(c),a=n.pending,a===null?(c.next=n.pending=c,Nm(n,c)):(c.next=a.next,n.pending=a.next=c)}}function Nm(e,n){var a=n.action,l=n.payload,s=e.state;if(n.isTransition){var c=S.T,p={};S.T=p;try{var g=a(s,l),_=S.S;_!==null&&_(p,g),zm(e,n,g)}catch(N){sf(e,n,N)}finally{c!==null&&p.types!==null&&(c.types=p.types),S.T=c}}else try{c=a(s,l),zm(e,n,c)}catch(N){sf(e,n,N)}}function zm(e,n,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Dm(e,n,l)},function(l){return sf(e,n,l)}):Dm(e,n,a)}function Dm(e,n,a){n.status="fulfilled",n.value=a,qm(n),e.state=a,n=e.pending,n!==null&&(a=n.next,a===n?e.pending=null:(a=a.next,n.next=a,Nm(e,a)))}function sf(e,n,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do n.status="rejected",n.reason=a,qm(n),n=n.next;while(n!==l)}e.action=null}function qm(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function Um(e,n){return n}function Bm(e,n){if(_e){var a=qe.formState;if(a!==null){e:{var l=de;if(_e){if(je){t:{for(var s=je,c=ln;s.nodeType!==8;){if(!c){s=null;break t}if(s=sn(s.nextSibling),s===null){s=null;break t}}c=s.data,s=c==="F!"||c==="F"?s:null}if(s){je=sn(s.nextSibling),l=s.data==="F!";break e}}Or(l)}l=!1}l&&(n=a[0])}}return a=At(),a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Um,lastRenderedState:n},a.queue=l,a=ny.bind(null,de,l),l.dispatch=a,l=uf(!1),c=pf.bind(null,de,!1,l.queue),l=At(),s={state:n,dispatch:null,action:e,pending:null},l.queue=s,a=Vw.bind(null,de,s,c,a),s.dispatch=a,l.memoizedState=e,[n,a,!1]}function jm(e){var n=Ie();return Lm(n,Ne,e)}function Lm(e,n,a){if(n=af(e,n,Um)[0],e=Iu(Fn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var l=sl(n)}catch(p){throw p===Pa?Yu:p}else l=n;n=Ie();var s=n.queue,c=s.dispatch;return a!==n.memoizedState&&(de.flags|=2048,ni(9,{destroy:void 0},Xw.bind(null,s,a),null)),[l,c,e]}function Xw(e,n){e.action=n}function Zm(e){var n=Ie(),a=Ne;if(a!==null)return Lm(n,a,e);Ie(),n=n.memoizedState,a=Ie();var l=a.queue.dispatch;return a.memoizedState=e,[n,l,!1]}function ni(e,n,a,l){return e={tag:e,create:a,deps:l,inst:n,next:null},n=de.updateQueue,n===null&&(n=Pu(),de.updateQueue=n),a=n.lastEffect,a===null?n.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,n.lastEffect=e),e}function Hm(){return Ie().memoizedState}function es(e,n,a,l){var s=At();de.flags|=e,s.memoizedState=ni(1|n,{destroy:void 0},a,l===void 0?null:l)}function ts(e,n,a,l){var s=Ie();l=l===void 0?null:l;var c=s.memoizedState.inst;Ne!==null&&l!==null&&Wc(l,Ne.memoizedState.deps)?s.memoizedState=ni(n,c,a,l):(de.flags|=e,s.memoizedState=ni(1|n,c,a,l))}function Gm(e,n){es(8390656,8,e,n)}function of(e,n){ts(2048,8,e,n)}function Qw(e){de.flags|=4;var n=de.updateQueue;if(n===null)n=Pu(),de.updateQueue=n,n.events=[e];else{var a=n.events;a===null?n.events=[e]:a.push(e)}}function Ym(e){var n=Ie().memoizedState;return Qw({ref:n,nextImpl:e}),function(){if((Ee&2)!==0)throw Error(u(440));return n.impl.apply(void 0,arguments)}}function Vm(e,n){return ts(4,2,e,n)}function Xm(e,n){return ts(4,4,e,n)}function Qm(e,n){if(typeof n=="function"){e=e();var a=n(e);return function(){typeof a=="function"?a():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Km(e,n,a){a=a!=null?a.concat([e]):null,ts(4,4,Qm.bind(null,n,e),a)}function cf(){}function Fm(e,n){var a=Ie();n=n===void 0?null:n;var l=a.memoizedState;return n!==null&&Wc(n,l[1])?l[0]:(a.memoizedState=[e,n],e)}function Jm(e,n){var a=Ie();n=n===void 0?null:n;var l=a.memoizedState;if(n!==null&&Wc(n,l[1]))return l[0];if(l=e(),pa){wr(!0);try{e()}finally{wr(!1)}}return a.memoizedState=[l,n],l}function ff(e,n,a){return a===void 0||(Kn&1073741824)!==0&&(ge&261930)===0?e.memoizedState=n:(e.memoizedState=a,e=ky(),de.lanes|=e,qr|=e,a)}function km(e,n,a,l){return Gt(a,n)?a:Ia.current!==null?(e=ff(e,a,l),Gt(e,n)||(it=!0),e):(Kn&42)===0||(Kn&1073741824)!==0&&(ge&261930)===0?(it=!0,e.memoizedState=a):(e=ky(),de.lanes|=e,qr|=e,n)}function Pm(e,n,a,l,s){var c=F.p;F.p=c!==0&&8>c?c:8;var p=S.T,g={};S.T=g,pf(e,!1,n,a);try{var _=s(),N=S.S;if(N!==null&&N(g,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var V=Hw(_,l);ol(e,n,V,Ft(e))}else ol(e,n,l,Ft(e))}catch(K){ol(e,n,{then:function(){},status:"rejected",reason:K},Ft())}finally{F.p=c,p!==null&&g.types!==null&&(p.types=g.types),S.T=p}}function Kw(){}function df(e,n,a,l){if(e.tag!==5)throw Error(u(476));var s=Wm(e).queue;Pm(e,s,n,W,a===null?Kw:function(){return Im(e),a(l)})}function Wm(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:W},next:null};var a={};return n.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:a},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function Im(e){var n=Wm(e);n.next===null&&(n=e.alternate.memoizedState),ol(e,n.next.queue,{},Ft())}function hf(){return yt(Ol)}function ey(){return Ie().memoizedState}function ty(){return Ie().memoizedState}function Fw(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Ft();e=Rr(a);var l=Cr(n,e,a);l!==null&&(qt(l,n,a),al(l,n,a)),n={cache:Hc()},e.payload=n;return}n=n.return}}function Jw(e,n,a){var l=Ft();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ns(e)?ry(n,a):(a=Cc(e,n,a,l),a!==null&&(qt(a,e,l),ay(a,n,l)))}function ny(e,n,a){var l=Ft();ol(e,n,a,l)}function ol(e,n,a,l){var s={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(ns(e))ry(n,s);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=n.lastRenderedReducer,c!==null))try{var p=n.lastRenderedState,g=c(p,a);if(s.hasEagerState=!0,s.eagerState=g,Gt(g,p))return Uu(e,n,s,0),qe===null&&qu(),!1}catch{}finally{}if(a=Cc(e,n,s,l),a!==null)return qt(a,e,l),ay(a,n,l),!0}return!1}function pf(e,n,a,l){if(l={lane:2,revertLane:Qf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ns(e)){if(n)throw Error(u(479))}else n=Cc(e,a,l,2),n!==null&&qt(n,e,2)}function ns(e){var n=e.alternate;return e===de||n!==null&&n===de}function ry(e,n){ei=Ju=!0;var a=e.pending;a===null?n.next=n:(n.next=a.next,a.next=n),e.pending=n}function ay(e,n,a){if((a&4194048)!==0){var l=n.lanes;l&=e.pendingLanes,a|=l,n.lanes=a,op(e,a)}}var cl={readContext:yt,use:Wu,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useLayoutEffect:Ke,useInsertionEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useSyncExternalStore:Ke,useId:Ke,useHostTransitionStatus:Ke,useFormState:Ke,useActionState:Ke,useOptimistic:Ke,useMemoCache:Ke,useCacheRefresh:Ke};cl.useEffectEvent=Ke;var iy={readContext:yt,use:Wu,useCallback:function(e,n){return At().memoizedState=[e,n===void 0?null:n],e},useContext:yt,useEffect:Gm,useImperativeHandle:function(e,n,a){a=a!=null?a.concat([e]):null,es(4194308,4,Qm.bind(null,n,e),a)},useLayoutEffect:function(e,n){return es(4194308,4,e,n)},useInsertionEffect:function(e,n){es(4,2,e,n)},useMemo:function(e,n){var a=At();n=n===void 0?null:n;var l=e();if(pa){wr(!0);try{e()}finally{wr(!1)}}return a.memoizedState=[l,n],l},useReducer:function(e,n,a){var l=At();if(a!==void 0){var s=a(n);if(pa){wr(!0);try{a(n)}finally{wr(!1)}}}else s=n;return l.memoizedState=l.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},l.queue=e,e=e.dispatch=Jw.bind(null,de,e),[l.memoizedState,e]},useRef:function(e){var n=At();return e={current:e},n.memoizedState=e},useState:function(e){e=uf(e);var n=e.queue,a=ny.bind(null,de,n);return n.dispatch=a,[e.memoizedState,a]},useDebugValue:cf,useDeferredValue:function(e,n){var a=At();return ff(a,e,n)},useTransition:function(){var e=uf(!1);return e=Pm.bind(null,de,e.queue,!0,!1),At().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,a){var l=de,s=At();if(_e){if(a===void 0)throw Error(u(407));a=a()}else{if(a=n(),qe===null)throw Error(u(349));(ge&127)!==0||Om(l,n,a)}s.memoizedState=a;var c={value:a,getSnapshot:n};return s.queue=c,Gm($m.bind(null,l,c,e),[e]),l.flags|=2048,ni(9,{destroy:void 0},Am.bind(null,l,c,a,n),null),a},useId:function(){var e=At(),n=qe.identifierPrefix;if(_e){var a=On,l=Tn;a=(l&~(1<<32-Ht(l)-1)).toString(32)+a,n="_"+n+"R_"+a,a=ku++,0<a&&(n+="H"+a.toString(32)),n+="_"}else a=Gw++,n="_"+n+"r_"+a.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:hf,useFormState:Bm,useActionState:Bm,useOptimistic:function(e){var n=At();n.memoizedState=n.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=a,n=pf.bind(null,de,!0,a),a.dispatch=n,[e,n]},useMemoCache:rf,useCacheRefresh:function(){return At().memoizedState=Fw.bind(null,de)},useEffectEvent:function(e){var n=At(),a={impl:e};return n.memoizedState=a,function(){if((Ee&2)!==0)throw Error(u(440));return a.impl.apply(void 0,arguments)}}},mf={readContext:yt,use:Wu,useCallback:Fm,useContext:yt,useEffect:of,useImperativeHandle:Km,useInsertionEffect:Vm,useLayoutEffect:Xm,useMemo:Jm,useReducer:Iu,useRef:Hm,useState:function(){return Iu(Fn)},useDebugValue:cf,useDeferredValue:function(e,n){var a=Ie();return km(a,Ne.memoizedState,e,n)},useTransition:function(){var e=Iu(Fn)[0],n=Ie().memoizedState;return[typeof e=="boolean"?e:sl(e),n]},useSyncExternalStore:Tm,useId:ey,useHostTransitionStatus:hf,useFormState:jm,useActionState:jm,useOptimistic:function(e,n){var a=Ie();return Mm(a,Ne,e,n)},useMemoCache:rf,useCacheRefresh:ty};mf.useEffectEvent=Ym;var ly={readContext:yt,use:Wu,useCallback:Fm,useContext:yt,useEffect:of,useImperativeHandle:Km,useInsertionEffect:Vm,useLayoutEffect:Xm,useMemo:Jm,useReducer:lf,useRef:Hm,useState:function(){return lf(Fn)},useDebugValue:cf,useDeferredValue:function(e,n){var a=Ie();return Ne===null?ff(a,e,n):km(a,Ne.memoizedState,e,n)},useTransition:function(){var e=lf(Fn)[0],n=Ie().memoizedState;return[typeof e=="boolean"?e:sl(e),n]},useSyncExternalStore:Tm,useId:ey,useHostTransitionStatus:hf,useFormState:Zm,useActionState:Zm,useOptimistic:function(e,n){var a=Ie();return Ne!==null?Mm(a,Ne,e,n):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:rf,useCacheRefresh:ty};ly.useEffectEvent=Ym;function yf(e,n,a,l){n=e.memoizedState,a=a(l,n),a=a==null?n:v({},n,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var gf={enqueueSetState:function(e,n,a){e=e._reactInternals;var l=Ft(),s=Rr(l);s.payload=n,a!=null&&(s.callback=a),n=Cr(e,s,l),n!==null&&(qt(n,e,l),al(n,e,l))},enqueueReplaceState:function(e,n,a){e=e._reactInternals;var l=Ft(),s=Rr(l);s.tag=1,s.payload=n,a!=null&&(s.callback=a),n=Cr(e,s,l),n!==null&&(qt(n,e,l),al(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var a=Ft(),l=Rr(a);l.tag=2,n!=null&&(l.callback=n),n=Cr(e,l,a),n!==null&&(qt(n,e,a),al(n,e,a))}};function uy(e,n,a,l,s,c,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,c,p):n.prototype&&n.prototype.isPureReactComponent?!ki(a,l)||!ki(s,c):!0}function sy(e,n,a,l){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(a,l),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(a,l),n.state!==e&&gf.enqueueReplaceState(n,n.state,null)}function ma(e,n){var a=n;if("ref"in n){a={};for(var l in n)l!=="ref"&&(a[l]=n[l])}if(e=e.defaultProps){a===n&&(a=v({},a));for(var s in e)a[s]===void 0&&(a[s]=e[s])}return a}function oy(e){Du(e)}function cy(e){console.error(e)}function fy(e){Du(e)}function rs(e,n){try{var a=e.onUncaughtError;a(n.value,{componentStack:n.stack})}catch(l){setTimeout(function(){throw l})}}function dy(e,n,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function bf(e,n,a){return a=Rr(a),a.tag=3,a.payload={element:null},a.callback=function(){rs(e,n)},a}function hy(e){return e=Rr(e),e.tag=3,e}function py(e,n,a,l){var s=a.type.getDerivedStateFromError;if(typeof s=="function"){var c=l.value;e.payload=function(){return s(c)},e.callback=function(){dy(n,a,l)}}var p=a.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){dy(n,a,l),typeof s!="function"&&(Ur===null?Ur=new Set([this]):Ur.add(this));var g=l.stack;this.componentDidCatch(l.value,{componentStack:g!==null?g:""})})}function kw(e,n,a,l,s){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(n=a.alternate,n!==null&&Fa(n,a,s,!0),a=Vt.current,a!==null){switch(a.tag){case 31:case 13:return un===null?ms():a.alternate===null&&Fe===0&&(Fe=3),a.flags&=-257,a.flags|=65536,a.lanes=s,l===Vu?a.flags|=16384:(n=a.updateQueue,n===null?a.updateQueue=new Set([l]):n.add(l),Yf(e,l,s)),!1;case 22:return a.flags|=65536,l===Vu?a.flags|=16384:(n=a.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=n):(a=n.retryQueue,a===null?n.retryQueue=new Set([l]):a.add(l)),Yf(e,l,s)),!1}throw Error(u(435,a.tag))}return Yf(e,l,s),ms(),!1}if(_e)return n=Vt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=s,l!==Uc&&(e=Error(u(422),{cause:l}),Ii(nn(e,a)))):(l!==Uc&&(n=Error(u(423),{cause:l}),Ii(nn(n,a))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,l=nn(l,a),s=bf(e.stateNode,l,s),Kc(e,s),Fe!==4&&(Fe=2)),!1;var c=Error(u(520),{cause:l});if(c=nn(c,a),bl===null?bl=[c]:bl.push(c),Fe!==4&&(Fe=2),n===null)return!0;l=nn(l,a),a=n;do{switch(a.tag){case 3:return a.flags|=65536,e=s&-s,a.lanes|=e,e=bf(a.stateNode,l,e),Kc(a,e),!1;case 1:if(n=a.type,c=a.stateNode,(a.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Ur===null||!Ur.has(c))))return a.flags|=65536,s&=-s,a.lanes|=s,s=hy(s),py(s,e,a,l),Kc(a,s),!1}a=a.return}while(a!==null);return!1}var vf=Error(u(461)),it=!1;function gt(e,n,a,l){n.child=e===null?bm(n,null,a,l):ha(n,e.child,a,l)}function my(e,n,a,l,s){a=a.render;var c=n.ref;if("ref"in l){var p={};for(var g in l)g!=="ref"&&(p[g]=l[g])}else p=l;return oa(n),l=Ic(e,n,a,p,c,s),g=ef(),e!==null&&!it?(tf(e,n,s),Jn(e,n,s)):(_e&&g&&Dc(n),n.flags|=1,gt(e,n,l,s),n.child)}function yy(e,n,a,l,s){if(e===null){var c=a.type;return typeof c=="function"&&!Mc(c)&&c.defaultProps===void 0&&a.compare===null?(n.tag=15,n.type=c,gy(e,n,c,l,s)):(e=ju(a.type,null,l,n,n.mode,s),e.ref=n.ref,e.return=n,n.child=e)}if(c=e.child,!Af(e,s)){var p=c.memoizedProps;if(a=a.compare,a=a!==null?a:ki,a(p,l)&&e.ref===n.ref)return Jn(e,n,s)}return n.flags|=1,e=Yn(c,l),e.ref=n.ref,e.return=n,n.child=e}function gy(e,n,a,l,s){if(e!==null){var c=e.memoizedProps;if(ki(c,l)&&e.ref===n.ref)if(it=!1,n.pendingProps=l=c,Af(e,s))(e.flags&131072)!==0&&(it=!0);else return n.lanes=e.lanes,Jn(e,n,s)}return _f(e,n,a,l,s)}function by(e,n,a,l){var s=l.children,c=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((n.flags&128)!==0){if(c=c!==null?c.baseLanes|a:a,e!==null){for(l=n.child=e.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&~c}else l=0,n.child=null;return vy(e,n,c,a,l)}if((a&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Gu(n,c!==null?c.cachePool:null),c!==null?wm(n,c):Jc(),Sm(n);else return l=n.lanes=536870912,vy(e,n,c!==null?c.baseLanes|a:a,a,l)}else c!==null?(Gu(n,c.cachePool),wm(n,c),Nr(),n.memoizedState=null):(e!==null&&Gu(n,null),Jc(),Nr());return gt(e,n,s,a),n.child}function fl(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function vy(e,n,a,l,s){var c=Yc();return c=c===null?null:{parent:rt._currentValue,pool:c},n.memoizedState={baseLanes:a,cachePool:c},e!==null&&Gu(n,null),Jc(),Sm(n),e!==null&&Fa(e,n,l,!0),n.childLanes=s,null}function as(e,n){return n=ls({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function _y(e,n,a){return ha(n,e.child,null,a),e=as(n,n.pendingProps),e.flags|=2,Xt(n),n.memoizedState=null,e}function Pw(e,n,a){var l=n.pendingProps,s=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(_e){if(l.mode==="hidden")return e=as(n,l),n.lanes=536870912,fl(null,e);if(Pc(n),(e=je)?(e=Ng(e,ln),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:Er!==null?{id:Tn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},a=rm(e),a.return=n,n.child=a,mt=n,je=null)):e=null,e===null)throw Or(n);return n.lanes=536870912,null}return as(n,l)}var c=e.memoizedState;if(c!==null){var p=c.dehydrated;if(Pc(n),s)if(n.flags&256)n.flags&=-257,n=_y(e,n,a);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(u(558));else if(it||Fa(e,n,a,!1),s=(a&e.childLanes)!==0,it||s){if(l=qe,l!==null&&(p=cp(l,a),p!==0&&p!==c.retryLane))throw c.retryLane=p,ia(e,p),qt(l,e,p),vf;ms(),n=_y(e,n,a)}else e=c.treeContext,je=sn(p.nextSibling),mt=n,_e=!0,Tr=null,ln=!1,e!==null&&lm(n,e),n=as(n,l),n.flags|=4096;return n}return e=Yn(e.child,{mode:l.mode,children:l.children}),e.ref=n.ref,n.child=e,e.return=n,e}function is(e,n){var a=n.ref;if(a===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(u(284));(e===null||e.ref!==a)&&(n.flags|=4194816)}}function _f(e,n,a,l,s){return oa(n),a=Ic(e,n,a,l,void 0,s),l=ef(),e!==null&&!it?(tf(e,n,s),Jn(e,n,s)):(_e&&l&&Dc(n),n.flags|=1,gt(e,n,a,s),n.child)}function wy(e,n,a,l,s,c){return oa(n),n.updateQueue=null,a=Em(n,l,a,s),xm(e),l=ef(),e!==null&&!it?(tf(e,n,c),Jn(e,n,c)):(_e&&l&&Dc(n),n.flags|=1,gt(e,n,a,c),n.child)}function Sy(e,n,a,l,s){if(oa(n),n.stateNode===null){var c=Va,p=a.contextType;typeof p=="object"&&p!==null&&(c=yt(p)),c=new a(l,c),n.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=gf,n.stateNode=c,c._reactInternals=n,c=n.stateNode,c.props=l,c.state=n.memoizedState,c.refs={},Xc(n),p=a.contextType,c.context=typeof p=="object"&&p!==null?yt(p):Va,c.state=n.memoizedState,p=a.getDerivedStateFromProps,typeof p=="function"&&(yf(n,a,p,l),c.state=n.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&gf.enqueueReplaceState(c,c.state,null),ll(n,l,c,s),il(),c.state=n.memoizedState),typeof c.componentDidMount=="function"&&(n.flags|=4194308),l=!0}else if(e===null){c=n.stateNode;var g=n.memoizedProps,_=ma(a,g);c.props=_;var N=c.context,V=a.contextType;p=Va,typeof V=="object"&&V!==null&&(p=yt(V));var K=a.getDerivedStateFromProps;V=typeof K=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=n.pendingProps!==g,V||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||N!==p)&&sy(n,c,l,p),$r=!1;var q=n.memoizedState;c.state=q,ll(n,l,c,s),il(),N=n.memoizedState,g||q!==N||$r?(typeof K=="function"&&(yf(n,a,K,l),N=n.memoizedState),(_=$r||uy(n,a,_,l,q,N,p))?(V||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(n.flags|=4194308)):(typeof c.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=l,n.memoizedState=N),c.props=l,c.state=N,c.context=p,l=_):(typeof c.componentDidMount=="function"&&(n.flags|=4194308),l=!1)}else{c=n.stateNode,Qc(e,n),p=n.memoizedProps,V=ma(a,p),c.props=V,K=n.pendingProps,q=c.context,N=a.contextType,_=Va,typeof N=="object"&&N!==null&&(_=yt(N)),g=a.getDerivedStateFromProps,(N=typeof g=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==K||q!==_)&&sy(n,c,l,_),$r=!1,q=n.memoizedState,c.state=q,ll(n,l,c,s),il();var Z=n.memoizedState;p!==K||q!==Z||$r||e!==null&&e.dependencies!==null&&Zu(e.dependencies)?(typeof g=="function"&&(yf(n,a,g,l),Z=n.memoizedState),(V=$r||uy(n,a,V,l,q,Z,_)||e!==null&&e.dependencies!==null&&Zu(e.dependencies))?(N||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,Z,_),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,Z,_)),typeof c.componentDidUpdate=="function"&&(n.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(n.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(n.flags|=1024),n.memoizedProps=l,n.memoizedState=Z),c.props=l,c.state=Z,c.context=_,l=V):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(n.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&q===e.memoizedState||(n.flags|=1024),l=!1)}return c=l,is(e,n),l=(n.flags&128)!==0,c||l?(c=n.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:c.render(),n.flags|=1,e!==null&&l?(n.child=ha(n,e.child,null,s),n.child=ha(n,null,a,s)):gt(e,n,a,s),n.memoizedState=c.state,e=n.child):e=Jn(e,n,s),e}function xy(e,n,a,l){return ua(),n.flags|=256,gt(e,n,a,l),n.child}var wf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sf(e){return{baseLanes:e,cachePool:dm()}}function xf(e,n,a){return e=e!==null?e.childLanes&~a:0,n&&(e|=Kt),e}function Ey(e,n,a){var l=n.pendingProps,s=!1,c=(n.flags&128)!==0,p;if((p=c)||(p=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),p&&(s=!0,n.flags&=-129),p=(n.flags&32)!==0,n.flags&=-33,e===null){if(_e){if(s?Mr(n):Nr(),(e=je)?(e=Ng(e,ln),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:Er!==null?{id:Tn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},a=rm(e),a.return=n,n.child=a,mt=n,je=null)):e=null,e===null)throw Or(n);return id(e)?n.lanes=32:n.lanes=536870912,null}var g=l.children;return l=l.fallback,s?(Nr(),s=n.mode,g=ls({mode:"hidden",children:g},s),l=la(l,s,a,null),g.return=n,l.return=n,g.sibling=l,n.child=g,l=n.child,l.memoizedState=Sf(a),l.childLanes=xf(e,p,a),n.memoizedState=wf,fl(null,l)):(Mr(n),Ef(n,g))}var _=e.memoizedState;if(_!==null&&(g=_.dehydrated,g!==null)){if(c)n.flags&256?(Mr(n),n.flags&=-257,n=Tf(e,n,a)):n.memoizedState!==null?(Nr(),n.child=e.child,n.flags|=128,n=null):(Nr(),g=l.fallback,s=n.mode,l=ls({mode:"visible",children:l.children},s),g=la(g,s,a,null),g.flags|=2,l.return=n,g.return=n,l.sibling=g,n.child=l,ha(n,e.child,null,a),l=n.child,l.memoizedState=Sf(a),l.childLanes=xf(e,p,a),n.memoizedState=wf,n=fl(null,l));else if(Mr(n),id(g)){if(p=g.nextSibling&&g.nextSibling.dataset,p)var N=p.dgst;p=N,l=Error(u(419)),l.stack="",l.digest=p,Ii({value:l,source:null,stack:null}),n=Tf(e,n,a)}else if(it||Fa(e,n,a,!1),p=(a&e.childLanes)!==0,it||p){if(p=qe,p!==null&&(l=cp(p,a),l!==0&&l!==_.retryLane))throw _.retryLane=l,ia(e,l),qt(p,e,l),vf;ad(g)||ms(),n=Tf(e,n,a)}else ad(g)?(n.flags|=192,n.child=e.child,n=null):(e=_.treeContext,je=sn(g.nextSibling),mt=n,_e=!0,Tr=null,ln=!1,e!==null&&lm(n,e),n=Ef(n,l.children),n.flags|=4096);return n}return s?(Nr(),g=l.fallback,s=n.mode,_=e.child,N=_.sibling,l=Yn(_,{mode:"hidden",children:l.children}),l.subtreeFlags=_.subtreeFlags&65011712,N!==null?g=Yn(N,g):(g=la(g,s,a,null),g.flags|=2),g.return=n,l.return=n,l.sibling=g,n.child=l,fl(null,l),l=n.child,g=e.child.memoizedState,g===null?g=Sf(a):(s=g.cachePool,s!==null?(_=rt._currentValue,s=s.parent!==_?{parent:_,pool:_}:s):s=dm(),g={baseLanes:g.baseLanes|a,cachePool:s}),l.memoizedState=g,l.childLanes=xf(e,p,a),n.memoizedState=wf,fl(e.child,l)):(Mr(n),a=e.child,e=a.sibling,a=Yn(a,{mode:"visible",children:l.children}),a.return=n,a.sibling=null,e!==null&&(p=n.deletions,p===null?(n.deletions=[e],n.flags|=16):p.push(e)),n.child=a,n.memoizedState=null,a)}function Ef(e,n){return n=ls({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function ls(e,n){return e=Yt(22,e,null,n),e.lanes=0,e}function Tf(e,n,a){return ha(n,e.child,null,a),e=Ef(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Ty(e,n,a){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n),Lc(e.return,n,a)}function Of(e,n,a,l,s,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:s,treeForkCount:c}:(p.isBackwards=n,p.rendering=null,p.renderingStartTime=0,p.last=l,p.tail=a,p.tailMode=s,p.treeForkCount=c)}function Oy(e,n,a){var l=n.pendingProps,s=l.revealOrder,c=l.tail;l=l.children;var p=We.current,g=(p&2)!==0;if(g?(p=p&1|2,n.flags|=128):p&=1,I(We,p),gt(e,n,l,a),l=_e?Wi:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ty(e,a,n);else if(e.tag===19)Ty(e,a,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(a=n.child,s=null;a!==null;)e=a.alternate,e!==null&&Fu(e)===null&&(s=a),a=a.sibling;a=s,a===null?(s=n.child,n.child=null):(s=a.sibling,a.sibling=null),Of(n,!1,s,a,c,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,s=n.child,n.child=null;s!==null;){if(e=s.alternate,e!==null&&Fu(e)===null){n.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}Of(n,!0,a,null,c,l);break;case"together":Of(n,!1,null,null,void 0,l);break;default:n.memoizedState=null}return n.child}function Jn(e,n,a){if(e!==null&&(n.dependencies=e.dependencies),qr|=n.lanes,(a&n.childLanes)===0)if(e!==null){if(Fa(e,n,a,!1),(a&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(u(153));if(n.child!==null){for(e=n.child,a=Yn(e,e.pendingProps),n.child=a,a.return=n;e.sibling!==null;)e=e.sibling,a=a.sibling=Yn(e,e.pendingProps),a.return=n;a.sibling=null}return n.child}function Af(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Zu(e)))}function Ww(e,n,a){switch(n.tag){case 3:Ot(n,n.stateNode.containerInfo),Ar(n,rt,e.memoizedState.cache),ua();break;case 27:case 5:Bi(n);break;case 4:Ot(n,n.stateNode.containerInfo);break;case 10:Ar(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,Pc(n),null;break;case 13:var l=n.memoizedState;if(l!==null)return l.dehydrated!==null?(Mr(n),n.flags|=128,null):(a&n.child.childLanes)!==0?Ey(e,n,a):(Mr(n),e=Jn(e,n,a),e!==null?e.sibling:null);Mr(n);break;case 19:var s=(e.flags&128)!==0;if(l=(a&n.childLanes)!==0,l||(Fa(e,n,a,!1),l=(a&n.childLanes)!==0),s){if(l)return Oy(e,n,a);n.flags|=128}if(s=n.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),I(We,We.current),l)break;return null;case 22:return n.lanes=0,by(e,n,a,n.pendingProps);case 24:Ar(n,rt,e.memoizedState.cache)}return Jn(e,n,a)}function Ay(e,n,a){if(e!==null)if(e.memoizedProps!==n.pendingProps)it=!0;else{if(!Af(e,a)&&(n.flags&128)===0)return it=!1,Ww(e,n,a);it=(e.flags&131072)!==0}else it=!1,_e&&(n.flags&1048576)!==0&&im(n,Wi,n.index);switch(n.lanes=0,n.tag){case 16:e:{var l=n.pendingProps;if(e=fa(n.elementType),n.type=e,typeof e=="function")Mc(e)?(l=ma(e,l),n.tag=1,n=Sy(null,n,e,l,a)):(n.tag=0,n=_f(null,n,e,l,a));else{if(e!=null){var s=e.$$typeof;if(s===Y){n.tag=11,n=my(null,n,e,l,a);break e}else if(s===L){n.tag=14,n=yy(null,n,e,l,a);break e}}throw n=ht(e)||e,Error(u(306,n,""))}}return n;case 0:return _f(e,n,n.type,n.pendingProps,a);case 1:return l=n.type,s=ma(l,n.pendingProps),Sy(e,n,l,s,a);case 3:e:{if(Ot(n,n.stateNode.containerInfo),e===null)throw Error(u(387));l=n.pendingProps;var c=n.memoizedState;s=c.element,Qc(e,n),ll(n,l,null,a);var p=n.memoizedState;if(l=p.cache,Ar(n,rt,l),l!==c.cache&&Zc(n,[rt],a,!0),il(),l=p.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:p.cache},n.updateQueue.baseState=c,n.memoizedState=c,n.flags&256){n=xy(e,n,l,a);break e}else if(l!==s){s=nn(Error(u(424)),n),Ii(s),n=xy(e,n,l,a);break e}else{switch(e=n.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(je=sn(e.firstChild),mt=n,_e=!0,Tr=null,ln=!0,a=bm(n,null,l,a),n.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(ua(),l===s){n=Jn(e,n,a);break e}gt(e,n,l,a)}n=n.child}return n;case 26:return is(e,n),e===null?(a=jg(n.type,null,n.pendingProps,null))?n.memoizedState=a:_e||(a=n.type,e=n.pendingProps,l=Ss(pe.current).createElement(a),l[pt]=n,l[Rt]=e,bt(l,a,e),ct(l),n.stateNode=l):n.memoizedState=jg(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return Bi(n),e===null&&_e&&(l=n.stateNode=qg(n.type,n.pendingProps,pe.current),mt=n,ln=!0,s=je,Zr(n.type)?(ld=s,je=sn(l.firstChild)):je=s),gt(e,n,n.pendingProps.children,a),is(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&_e&&((s=l=je)&&(l=$S(l,n.type,n.pendingProps,ln),l!==null?(n.stateNode=l,mt=n,je=sn(l.firstChild),ln=!1,s=!0):s=!1),s||Or(n)),Bi(n),s=n.type,c=n.pendingProps,p=e!==null?e.memoizedProps:null,l=c.children,td(s,c)?l=null:p!==null&&td(s,p)&&(n.flags|=32),n.memoizedState!==null&&(s=Ic(e,n,Yw,null,null,a),Ol._currentValue=s),is(e,n),gt(e,n,l,a),n.child;case 6:return e===null&&_e&&((e=a=je)&&(a=RS(a,n.pendingProps,ln),a!==null?(n.stateNode=a,mt=n,je=null,e=!0):e=!1),e||Or(n)),null;case 13:return Ey(e,n,a);case 4:return Ot(n,n.stateNode.containerInfo),l=n.pendingProps,e===null?n.child=ha(n,null,l,a):gt(e,n,l,a),n.child;case 11:return my(e,n,n.type,n.pendingProps,a);case 7:return gt(e,n,n.pendingProps,a),n.child;case 8:return gt(e,n,n.pendingProps.children,a),n.child;case 12:return gt(e,n,n.pendingProps.children,a),n.child;case 10:return l=n.pendingProps,Ar(n,n.type,l.value),gt(e,n,l.children,a),n.child;case 9:return s=n.type._context,l=n.pendingProps.children,oa(n),s=yt(s),l=l(s),n.flags|=1,gt(e,n,l,a),n.child;case 14:return yy(e,n,n.type,n.pendingProps,a);case 15:return gy(e,n,n.type,n.pendingProps,a);case 19:return Oy(e,n,a);case 31:return Pw(e,n,a);case 22:return by(e,n,a,n.pendingProps);case 24:return oa(n),l=yt(rt),e===null?(s=Yc(),s===null&&(s=qe,c=Hc(),s.pooledCache=c,c.refCount++,c!==null&&(s.pooledCacheLanes|=a),s=c),n.memoizedState={parent:l,cache:s},Xc(n),Ar(n,rt,s)):((e.lanes&a)!==0&&(Qc(e,n),ll(n,null,null,a),il()),s=e.memoizedState,c=n.memoizedState,s.parent!==l?(s={parent:l,cache:l},n.memoizedState=s,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=s),Ar(n,rt,l)):(l=c.cache,Ar(n,rt,l),l!==s.cache&&Zc(n,[rt],a,!0))),gt(e,n,n.pendingProps.children,a),n.child;case 29:throw n.pendingProps}throw Error(u(156,n.tag))}function kn(e){e.flags|=4}function $f(e,n,a,l,s){if((n=(e.mode&32)!==0)&&(n=!1),n){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(eg())e.flags|=8192;else throw da=Vu,Vc}else e.flags&=-16777217}function $y(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Yg(n))if(eg())e.flags|=8192;else throw da=Vu,Vc}function us(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?up():536870912,e.lanes|=n,li|=n)}function dl(e,n){if(!_e)switch(e.tailMode){case"hidden":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Le(e){var n=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(n)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,l|=s.subtreeFlags&65011712,l|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=l,e.childLanes=a,n}function Iw(e,n,a){var l=n.pendingProps;switch(qc(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(n),null;case 1:return Le(n),null;case 3:return a=n.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),Qn(rt),Pe(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ka(n)?kn(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,Bc())),Le(n),null;case 26:var s=n.type,c=n.memoizedState;return e===null?(kn(n),c!==null?(Le(n),$y(n,c)):(Le(n),$f(n,s,null,l,a))):c?c!==e.memoizedState?(kn(n),Le(n),$y(n,c)):(Le(n),n.flags&=-16777217):(e=e.memoizedProps,e!==l&&kn(n),Le(n),$f(n,s,e,l,a)),null;case 27:if(bu(n),a=pe.current,s=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==l&&kn(n);else{if(!l){if(n.stateNode===null)throw Error(u(166));return Le(n),null}e=P.current,Ka(n)?um(n):(e=qg(s,l,a),n.stateNode=e,kn(n))}return Le(n),null;case 5:if(bu(n),s=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==l&&kn(n);else{if(!l){if(n.stateNode===null)throw Error(u(166));return Le(n),null}if(c=P.current,Ka(n))um(n);else{var p=Ss(pe.current);switch(c){case 1:c=p.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:c=p.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":c=p.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":c=p.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":c=p.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?p.createElement("select",{is:l.is}):p.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?p.createElement(s,{is:l.is}):p.createElement(s)}}c[pt]=n,c[Rt]=l;e:for(p=n.child;p!==null;){if(p.tag===5||p.tag===6)c.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===n)break e;for(;p.sibling===null;){if(p.return===null||p.return===n)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}n.stateNode=c;e:switch(bt(c,s,l),s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&kn(n)}}return Le(n),$f(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,a),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==l&&kn(n);else{if(typeof l!="string"&&n.stateNode===null)throw Error(u(166));if(e=pe.current,Ka(n)){if(e=n.stateNode,a=n.memoizedProps,l=null,s=mt,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}e[pt]=n,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Eg(e.nodeValue,a)),e||Or(n,!0)}else e=Ss(e).createTextNode(l),e[pt]=n,n.stateNode=e}return Le(n),null;case 31:if(a=n.memoizedState,e===null||e.memoizedState!==null){if(l=Ka(n),a!==null){if(e===null){if(!l)throw Error(u(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[pt]=n}else ua(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Le(n),e=!1}else a=Bc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return n.flags&256?(Xt(n),n):(Xt(n),null);if((n.flags&128)!==0)throw Error(u(558))}return Le(n),null;case 13:if(l=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Ka(n),l!==null&&l.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=n.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[pt]=n}else ua(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Le(n),s=!1}else s=Bc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return n.flags&256?(Xt(n),n):(Xt(n),null)}return Xt(n),(n.flags&128)!==0?(n.lanes=a,n):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=n.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==s&&(l.flags|=2048)),a!==e&&a&&(n.child.flags|=8192),us(n,n.updateQueue),Le(n),null);case 4:return Pe(),e===null&&kf(n.stateNode.containerInfo),Le(n),null;case 10:return Qn(n.type),Le(n),null;case 19:if(Q(We),l=n.memoizedState,l===null)return Le(n),null;if(s=(n.flags&128)!==0,c=l.rendering,c===null)if(s)dl(l,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(c=Fu(e),c!==null){for(n.flags|=128,dl(l,!1),e=c.updateQueue,n.updateQueue=e,us(n,e),n.subtreeFlags=0,e=a,a=n.child;a!==null;)nm(a,e),a=a.sibling;return I(We,We.current&1|2),_e&&Vn(n,l.treeForkCount),n.child}e=e.sibling}l.tail!==null&&Lt()>ds&&(n.flags|=128,s=!0,dl(l,!1),n.lanes=4194304)}else{if(!s)if(e=Fu(c),e!==null){if(n.flags|=128,s=!0,e=e.updateQueue,n.updateQueue=e,us(n,e),dl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!_e)return Le(n),null}else 2*Lt()-l.renderingStartTime>ds&&a!==536870912&&(n.flags|=128,s=!0,dl(l,!1),n.lanes=4194304);l.isBackwards?(c.sibling=n.child,n.child=c):(e=l.last,e!==null?e.sibling=c:n.child=c,l.last=c)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Lt(),e.sibling=null,a=We.current,I(We,s?a&1|2:a&1),_e&&Vn(n,l.treeForkCount),e):(Le(n),null);case 22:case 23:return Xt(n),kc(),l=n.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(n.flags|=8192):l&&(n.flags|=8192),l?(a&536870912)!==0&&(n.flags&128)===0&&(Le(n),n.subtreeFlags&6&&(n.flags|=8192)):Le(n),a=n.updateQueue,a!==null&&us(n,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),l!==a&&(n.flags|=2048),e!==null&&Q(ca),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),n.memoizedState.cache!==a&&(n.flags|=2048),Qn(rt),Le(n),null;case 25:return null;case 30:return null}throw Error(u(156,n.tag))}function eS(e,n){switch(qc(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Qn(rt),Pe(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return bu(n),null;case 31:if(n.memoizedState!==null){if(Xt(n),n.alternate===null)throw Error(u(340));ua()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(Xt(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(u(340));ua()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Q(We),null;case 4:return Pe(),null;case 10:return Qn(n.type),null;case 22:case 23:return Xt(n),kc(),e!==null&&Q(ca),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Qn(rt),null;case 25:return null;default:return null}}function Ry(e,n){switch(qc(n),n.tag){case 3:Qn(rt),Pe();break;case 26:case 27:case 5:bu(n);break;case 4:Pe();break;case 31:n.memoizedState!==null&&Xt(n);break;case 13:Xt(n);break;case 19:Q(We);break;case 10:Qn(n.type);break;case 22:case 23:Xt(n),kc(),e!==null&&Q(ca);break;case 24:Qn(rt)}}function hl(e,n){try{var a=n.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var s=l.next;a=s;do{if((a.tag&e)===e){l=void 0;var c=a.create,p=a.inst;l=c(),p.destroy=l}a=a.next}while(a!==s)}}catch(g){Ce(n,n.return,g)}}function zr(e,n,a){try{var l=n.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var c=s.next;l=c;do{if((l.tag&e)===e){var p=l.inst,g=p.destroy;if(g!==void 0){p.destroy=void 0,s=n;var _=a,N=g;try{N()}catch(V){Ce(s,_,V)}}}l=l.next}while(l!==c)}}catch(V){Ce(n,n.return,V)}}function Cy(e){var n=e.updateQueue;if(n!==null){var a=e.stateNode;try{_m(n,a)}catch(l){Ce(e,e.return,l)}}}function My(e,n,a){a.props=ma(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){Ce(e,n,l)}}function pl(e,n){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(s){Ce(e,n,s)}}function An(e,n){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(s){Ce(e,n,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(s){Ce(e,n,s)}else a.current=null}function Ny(e){var n=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(s){Ce(e,e.return,s)}}function Rf(e,n,a){try{var l=e.stateNode;SS(l,e.type,a,n),l[Rt]=n}catch(s){Ce(e,e.return,s)}}function zy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zr(e.type)||e.tag===4}function Cf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mf(e,n,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,n):(n=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,n.appendChild(e),a=a._reactRootContainer,a!=null||n.onclick!==null||(n.onclick=Hn));else if(l!==4&&(l===27&&Zr(e.type)&&(a=e.stateNode,n=null),e=e.child,e!==null))for(Mf(e,n,a),e=e.sibling;e!==null;)Mf(e,n,a),e=e.sibling}function ss(e,n,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?a.insertBefore(e,n):a.appendChild(e);else if(l!==4&&(l===27&&Zr(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(ss(e,n,a),e=e.sibling;e!==null;)ss(e,n,a),e=e.sibling}function Dy(e){var n=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,s=n.attributes;s.length;)n.removeAttributeNode(s[0]);bt(n,l,a),n[pt]=e,n[Rt]=a}catch(c){Ce(e,e.return,c)}}var Pn=!1,lt=!1,Nf=!1,qy=typeof WeakSet=="function"?WeakSet:Set,ft=null;function tS(e,n){if(e=e.containerInfo,If=Rs,e=Kp(e),Ec(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var s=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break e}var p=0,g=-1,_=-1,N=0,V=0,K=e,q=null;t:for(;;){for(var Z;K!==a||s!==0&&K.nodeType!==3||(g=p+s),K!==c||l!==0&&K.nodeType!==3||(_=p+l),K.nodeType===3&&(p+=K.nodeValue.length),(Z=K.firstChild)!==null;)q=K,K=Z;for(;;){if(K===e)break t;if(q===a&&++N===s&&(g=p),q===c&&++V===l&&(_=p),(Z=K.nextSibling)!==null)break;K=q,q=K.parentNode}K=Z}a=g===-1||_===-1?null:{start:g,end:_}}else a=null}a=a||{start:0,end:0}}else a=null;for(ed={focusedElem:e,selectionRange:a},Rs=!1,ft=n;ft!==null;)if(n=ft,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ft=e;else for(;ft!==null;){switch(n=ft,c=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)s=e[a],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,a=n,s=c.memoizedProps,c=c.memoizedState,l=a.stateNode;try{var ee=ma(a.type,s);e=l.getSnapshotBeforeUpdate(ee,c),l.__reactInternalSnapshotBeforeUpdate=e}catch(se){Ce(a,a.return,se)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,a=e.nodeType,a===9)rd(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":rd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(u(163))}if(e=n.sibling,e!==null){e.return=n.return,ft=e;break}ft=n.return}}function Uy(e,n,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:In(e,a),l&4&&hl(5,a);break;case 1:if(In(e,a),l&4)if(e=a.stateNode,n===null)try{e.componentDidMount()}catch(p){Ce(a,a.return,p)}else{var s=ma(a.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(s,n,e.__reactInternalSnapshotBeforeUpdate)}catch(p){Ce(a,a.return,p)}}l&64&&Cy(a),l&512&&pl(a,a.return);break;case 3:if(In(e,a),l&64&&(e=a.updateQueue,e!==null)){if(n=null,a.child!==null)switch(a.child.tag){case 27:case 5:n=a.child.stateNode;break;case 1:n=a.child.stateNode}try{_m(e,n)}catch(p){Ce(a,a.return,p)}}break;case 27:n===null&&l&4&&Dy(a);case 26:case 5:In(e,a),n===null&&l&4&&Ny(a),l&512&&pl(a,a.return);break;case 12:In(e,a);break;case 31:In(e,a),l&4&&Ly(e,a);break;case 13:In(e,a),l&4&&Zy(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=cS.bind(null,a),CS(e,a))));break;case 22:if(l=a.memoizedState!==null||Pn,!l){n=n!==null&&n.memoizedState!==null||lt,s=Pn;var c=lt;Pn=l,(lt=n)&&!c?er(e,a,(a.subtreeFlags&8772)!==0):In(e,a),Pn=s,lt=c}break;case 30:break;default:In(e,a)}}function By(e){var n=e.alternate;n!==null&&(e.alternate=null,By(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&uc(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ye=null,Mt=!1;function Wn(e,n,a){for(a=a.child;a!==null;)jy(e,n,a),a=a.sibling}function jy(e,n,a){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(ji,a)}catch{}switch(a.tag){case 26:lt||An(a,n),Wn(e,n,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:lt||An(a,n);var l=Ye,s=Mt;Zr(a.type)&&(Ye=a.stateNode,Mt=!1),Wn(e,n,a),xl(a.stateNode),Ye=l,Mt=s;break;case 5:lt||An(a,n);case 6:if(l=Ye,s=Mt,Ye=null,Wn(e,n,a),Ye=l,Mt=s,Ye!==null)if(Mt)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(a.stateNode)}catch(c){Ce(a,n,c)}else try{Ye.removeChild(a.stateNode)}catch(c){Ce(a,n,c)}break;case 18:Ye!==null&&(Mt?(e=Ye,Cg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),pi(e)):Cg(Ye,a.stateNode));break;case 4:l=Ye,s=Mt,Ye=a.stateNode.containerInfo,Mt=!0,Wn(e,n,a),Ye=l,Mt=s;break;case 0:case 11:case 14:case 15:zr(2,a,n),lt||zr(4,a,n),Wn(e,n,a);break;case 1:lt||(An(a,n),l=a.stateNode,typeof l.componentWillUnmount=="function"&&My(a,n,l)),Wn(e,n,a);break;case 21:Wn(e,n,a);break;case 22:lt=(l=lt)||a.memoizedState!==null,Wn(e,n,a),lt=l;break;default:Wn(e,n,a)}}function Ly(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{pi(e)}catch(a){Ce(n,n.return,a)}}}function Zy(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{pi(e)}catch(a){Ce(n,n.return,a)}}function nS(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new qy),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new qy),n;default:throw Error(u(435,e.tag))}}function os(e,n){var a=nS(e);n.forEach(function(l){if(!a.has(l)){a.add(l);var s=fS.bind(null,e,l);l.then(s,s)}})}function Nt(e,n){var a=n.deletions;if(a!==null)for(var l=0;l<a.length;l++){var s=a[l],c=e,p=n,g=p;e:for(;g!==null;){switch(g.tag){case 27:if(Zr(g.type)){Ye=g.stateNode,Mt=!1;break e}break;case 5:Ye=g.stateNode,Mt=!1;break e;case 3:case 4:Ye=g.stateNode.containerInfo,Mt=!0;break e}g=g.return}if(Ye===null)throw Error(u(160));jy(c,p,s),Ye=null,Mt=!1,c=s.alternate,c!==null&&(c.return=null),s.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)Hy(n,e),n=n.sibling}var pn=null;function Hy(e,n){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Nt(n,e),zt(e),l&4&&(zr(3,e,e.return),hl(3,e),zr(5,e,e.return));break;case 1:Nt(n,e),zt(e),l&512&&(lt||a===null||An(a,a.return)),l&64&&Pn&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var s=pn;if(Nt(n,e),zt(e),l&512&&(lt||a===null||An(a,a.return)),l&4){var c=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case"title":c=s.getElementsByTagName("title")[0],(!c||c[Hi]||c[pt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=s.createElement(l),s.head.insertBefore(c,s.querySelector("head > title"))),bt(c,l,a),c[pt]=e,ct(c),l=c;break e;case"link":var p=Hg("link","href",s).get(l+(a.href||""));if(p){for(var g=0;g<p.length;g++)if(c=p[g],c.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&c.getAttribute("rel")===(a.rel==null?null:a.rel)&&c.getAttribute("title")===(a.title==null?null:a.title)&&c.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){p.splice(g,1);break t}}c=s.createElement(l),bt(c,l,a),s.head.appendChild(c);break;case"meta":if(p=Hg("meta","content",s).get(l+(a.content||""))){for(g=0;g<p.length;g++)if(c=p[g],c.getAttribute("content")===(a.content==null?null:""+a.content)&&c.getAttribute("name")===(a.name==null?null:a.name)&&c.getAttribute("property")===(a.property==null?null:a.property)&&c.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&c.getAttribute("charset")===(a.charSet==null?null:a.charSet)){p.splice(g,1);break t}}c=s.createElement(l),bt(c,l,a),s.head.appendChild(c);break;default:throw Error(u(468,l))}c[pt]=e,ct(c),l=c}e.stateNode=l}else Gg(s,e.type,e.stateNode);else e.stateNode=Zg(s,l,e.memoizedProps);else c!==l?(c===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):c.count--,l===null?Gg(s,e.type,e.stateNode):Zg(s,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Rf(e,e.memoizedProps,a.memoizedProps)}break;case 27:Nt(n,e),zt(e),l&512&&(lt||a===null||An(a,a.return)),a!==null&&l&4&&Rf(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Nt(n,e),zt(e),l&512&&(lt||a===null||An(a,a.return)),e.flags&32){s=e.stateNode;try{Ba(s,"")}catch(ee){Ce(e,e.return,ee)}}l&4&&e.stateNode!=null&&(s=e.memoizedProps,Rf(e,s,a!==null?a.memoizedProps:s)),l&1024&&(Nf=!0);break;case 6:if(Nt(n,e),zt(e),l&4){if(e.stateNode===null)throw Error(u(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(ee){Ce(e,e.return,ee)}}break;case 3:if(Ts=null,s=pn,pn=xs(n.containerInfo),Nt(n,e),pn=s,zt(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{pi(n.containerInfo)}catch(ee){Ce(e,e.return,ee)}Nf&&(Nf=!1,Gy(e));break;case 4:l=pn,pn=xs(e.stateNode.containerInfo),Nt(n,e),zt(e),pn=l;break;case 12:Nt(n,e),zt(e);break;case 31:Nt(n,e),zt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,os(e,l)));break;case 13:Nt(n,e),zt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(fs=Lt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,os(e,l)));break;case 22:s=e.memoizedState!==null;var _=a!==null&&a.memoizedState!==null,N=Pn,V=lt;if(Pn=N||s,lt=V||_,Nt(n,e),lt=V,Pn=N,zt(e),l&8192)e:for(n=e.stateNode,n._visibility=s?n._visibility&-2:n._visibility|1,s&&(a===null||_||Pn||lt||ya(e)),a=null,n=e;;){if(n.tag===5||n.tag===26){if(a===null){_=a=n;try{if(c=_.stateNode,s)p=c.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{g=_.stateNode;var K=_.memoizedProps.style,q=K!=null&&K.hasOwnProperty("display")?K.display:null;g.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(ee){Ce(_,_.return,ee)}}}else if(n.tag===6){if(a===null){_=n;try{_.stateNode.nodeValue=s?"":_.memoizedProps}catch(ee){Ce(_,_.return,ee)}}}else if(n.tag===18){if(a===null){_=n;try{var Z=_.stateNode;s?Mg(Z,!0):Mg(_.stateNode,!1)}catch(ee){Ce(_,_.return,ee)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;a===n&&(a=null),n=n.return}a===n&&(a=null),n.sibling.return=n.return,n=n.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,os(e,a))));break;case 19:Nt(n,e),zt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,os(e,l)));break;case 30:break;case 21:break;default:Nt(n,e),zt(e)}}function zt(e){var n=e.flags;if(n&2){try{for(var a,l=e.return;l!==null;){if(zy(l)){a=l;break}l=l.return}if(a==null)throw Error(u(160));switch(a.tag){case 27:var s=a.stateNode,c=Cf(e);ss(e,c,s);break;case 5:var p=a.stateNode;a.flags&32&&(Ba(p,""),a.flags&=-33);var g=Cf(e);ss(e,g,p);break;case 3:case 4:var _=a.stateNode.containerInfo,N=Cf(e);Mf(e,N,_);break;default:throw Error(u(161))}}catch(V){Ce(e,e.return,V)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function Gy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;Gy(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function In(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Uy(e,n.alternate,n),n=n.sibling}function ya(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:zr(4,n,n.return),ya(n);break;case 1:An(n,n.return);var a=n.stateNode;typeof a.componentWillUnmount=="function"&&My(n,n.return,a),ya(n);break;case 27:xl(n.stateNode);case 26:case 5:An(n,n.return),ya(n);break;case 22:n.memoizedState===null&&ya(n);break;case 30:ya(n);break;default:ya(n)}e=e.sibling}}function er(e,n,a){for(a=a&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var l=n.alternate,s=e,c=n,p=c.flags;switch(c.tag){case 0:case 11:case 15:er(s,c,a),hl(4,c);break;case 1:if(er(s,c,a),l=c,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(N){Ce(l,l.return,N)}if(l=c,s=l.updateQueue,s!==null){var g=l.stateNode;try{var _=s.shared.hiddenCallbacks;if(_!==null)for(s.shared.hiddenCallbacks=null,s=0;s<_.length;s++)vm(_[s],g)}catch(N){Ce(l,l.return,N)}}a&&p&64&&Cy(c),pl(c,c.return);break;case 27:Dy(c);case 26:case 5:er(s,c,a),a&&l===null&&p&4&&Ny(c),pl(c,c.return);break;case 12:er(s,c,a);break;case 31:er(s,c,a),a&&p&4&&Ly(s,c);break;case 13:er(s,c,a),a&&p&4&&Zy(s,c);break;case 22:c.memoizedState===null&&er(s,c,a),pl(c,c.return);break;case 30:break;default:er(s,c,a)}n=n.sibling}}function zf(e,n){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&el(a))}function Df(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&el(e))}function mn(e,n,a,l){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Yy(e,n,a,l),n=n.sibling}function Yy(e,n,a,l){var s=n.flags;switch(n.tag){case 0:case 11:case 15:mn(e,n,a,l),s&2048&&hl(9,n);break;case 1:mn(e,n,a,l);break;case 3:mn(e,n,a,l),s&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&el(e)));break;case 12:if(s&2048){mn(e,n,a,l),e=n.stateNode;try{var c=n.memoizedProps,p=c.id,g=c.onPostCommit;typeof g=="function"&&g(p,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(_){Ce(n,n.return,_)}}else mn(e,n,a,l);break;case 31:mn(e,n,a,l);break;case 13:mn(e,n,a,l);break;case 23:break;case 22:c=n.stateNode,p=n.alternate,n.memoizedState!==null?c._visibility&2?mn(e,n,a,l):ml(e,n):c._visibility&2?mn(e,n,a,l):(c._visibility|=2,ri(e,n,a,l,(n.subtreeFlags&10256)!==0||!1)),s&2048&&zf(p,n);break;case 24:mn(e,n,a,l),s&2048&&Df(n.alternate,n);break;default:mn(e,n,a,l)}}function ri(e,n,a,l,s){for(s=s&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var c=e,p=n,g=a,_=l,N=p.flags;switch(p.tag){case 0:case 11:case 15:ri(c,p,g,_,s),hl(8,p);break;case 23:break;case 22:var V=p.stateNode;p.memoizedState!==null?V._visibility&2?ri(c,p,g,_,s):ml(c,p):(V._visibility|=2,ri(c,p,g,_,s)),s&&N&2048&&zf(p.alternate,p);break;case 24:ri(c,p,g,_,s),s&&N&2048&&Df(p.alternate,p);break;default:ri(c,p,g,_,s)}n=n.sibling}}function ml(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var a=e,l=n,s=l.flags;switch(l.tag){case 22:ml(a,l),s&2048&&zf(l.alternate,l);break;case 24:ml(a,l),s&2048&&Df(l.alternate,l);break;default:ml(a,l)}n=n.sibling}}var yl=8192;function ai(e,n,a){if(e.subtreeFlags&yl)for(e=e.child;e!==null;)Vy(e,n,a),e=e.sibling}function Vy(e,n,a){switch(e.tag){case 26:ai(e,n,a),e.flags&yl&&e.memoizedState!==null&&GS(a,pn,e.memoizedState,e.memoizedProps);break;case 5:ai(e,n,a);break;case 3:case 4:var l=pn;pn=xs(e.stateNode.containerInfo),ai(e,n,a),pn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=yl,yl=16777216,ai(e,n,a),yl=l):ai(e,n,a));break;default:ai(e,n,a)}}function Xy(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function gl(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var a=0;a<n.length;a++){var l=n[a];ft=l,Ky(l,e)}Xy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Qy(e),e=e.sibling}function Qy(e){switch(e.tag){case 0:case 11:case 15:gl(e),e.flags&2048&&zr(9,e,e.return);break;case 3:gl(e);break;case 12:gl(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,cs(e)):gl(e);break;default:gl(e)}}function cs(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var a=0;a<n.length;a++){var l=n[a];ft=l,Ky(l,e)}Xy(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:zr(8,n,n.return),cs(n);break;case 22:a=n.stateNode,a._visibility&2&&(a._visibility&=-3,cs(n));break;default:cs(n)}e=e.sibling}}function Ky(e,n){for(;ft!==null;){var a=ft;switch(a.tag){case 0:case 11:case 15:zr(8,a,n);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:el(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,ft=l;else e:for(a=e;ft!==null;){l=ft;var s=l.sibling,c=l.return;if(By(l),l===a){ft=null;break e}if(s!==null){s.return=c,ft=s;break e}ft=c}}}var rS={getCacheForType:function(e){var n=yt(rt),a=n.data.get(e);return a===void 0&&(a=e(),n.data.set(e,a)),a},cacheSignal:function(){return yt(rt).controller.signal}},aS=typeof WeakMap=="function"?WeakMap:Map,Ee=0,qe=null,me=null,ge=0,Re=0,Qt=null,Dr=!1,ii=!1,qf=!1,tr=0,Fe=0,qr=0,ga=0,Uf=0,Kt=0,li=0,bl=null,Dt=null,Bf=!1,fs=0,Fy=0,ds=1/0,hs=null,Ur=null,ot=0,Br=null,ui=null,nr=0,jf=0,Lf=null,Jy=null,vl=0,Zf=null;function Ft(){return(Ee&2)!==0&&ge!==0?ge&-ge:S.T!==null?Qf():fp()}function ky(){if(Kt===0)if((ge&536870912)===0||_e){var e=wu;wu<<=1,(wu&3932160)===0&&(wu=262144),Kt=e}else Kt=536870912;return e=Vt.current,e!==null&&(e.flags|=32),Kt}function qt(e,n,a){(e===qe&&(Re===2||Re===9)||e.cancelPendingCommit!==null)&&(si(e,0),jr(e,ge,Kt,!1)),Zi(e,a),((Ee&2)===0||e!==qe)&&(e===qe&&((Ee&2)===0&&(ga|=a),Fe===4&&jr(e,ge,Kt,!1)),$n(e))}function Py(e,n,a){if((Ee&6)!==0)throw Error(u(327));var l=!a&&(n&127)===0&&(n&e.expiredLanes)===0||Li(e,n),s=l?uS(e,n):Gf(e,n,!0),c=l;do{if(s===0){ii&&!l&&jr(e,n,0,!1);break}else{if(a=e.current.alternate,c&&!iS(a)){s=Gf(e,n,!1),c=!1;continue}if(s===2){if(c=n,e.errorRecoveryDisabledLanes&c)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){n=p;e:{var g=e;s=bl;var _=g.current.memoizedState.isDehydrated;if(_&&(si(g,p).flags|=256),p=Gf(g,p,!1),p!==2){if(qf&&!_){g.errorRecoveryDisabledLanes|=c,ga|=c,s=4;break e}c=Dt,Dt=s,c!==null&&(Dt===null?Dt=c:Dt.push.apply(Dt,c))}s=p}if(c=!1,s!==2)continue}}if(s===1){si(e,0),jr(e,n,0,!0);break}e:{switch(l=e,c=s,c){case 0:case 1:throw Error(u(345));case 4:if((n&4194048)!==n)break;case 6:jr(l,n,Kt,!Dr);break e;case 2:Dt=null;break;case 3:case 5:break;default:throw Error(u(329))}if((n&62914560)===n&&(s=fs+300-Lt(),10<s)){if(jr(l,n,Kt,!Dr),xu(l,0,!0)!==0)break e;nr=n,l.timeoutHandle=$g(Wy.bind(null,l,a,Dt,hs,Bf,n,Kt,ga,li,Dr,c,"Throttled",-0,0),s);break e}Wy(l,a,Dt,hs,Bf,n,Kt,ga,li,Dr,c,null,-0,0)}}break}while(!0);$n(e)}function Wy(e,n,a,l,s,c,p,g,_,N,V,K,q,Z){if(e.timeoutHandle=-1,K=n.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Hn},Vy(n,c,K);var ee=(c&62914560)===c?fs-Lt():(c&4194048)===c?Fy-Lt():0;if(ee=YS(K,ee),ee!==null){nr=c,e.cancelPendingCommit=ee(lg.bind(null,e,n,c,a,l,s,p,g,_,V,K,null,q,Z)),jr(e,c,p,!N);return}}lg(e,n,c,a,l,s,p,g,_)}function iS(e){for(var n=e;;){var a=n.tag;if((a===0||a===11||a===15)&&n.flags&16384&&(a=n.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var s=a[l],c=s.getSnapshot;s=s.value;try{if(!Gt(c(),s))return!1}catch{return!1}}if(a=n.child,n.subtreeFlags&16384&&a!==null)a.return=n,n=a;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function jr(e,n,a,l){n&=~Uf,n&=~ga,e.suspendedLanes|=n,e.pingedLanes&=~n,l&&(e.warmLanes|=n),l=e.expirationTimes;for(var s=n;0<s;){var c=31-Ht(s),p=1<<c;l[c]=-1,s&=~p}a!==0&&sp(e,a,n)}function ps(){return(Ee&6)===0?(_l(0),!1):!0}function Hf(){if(me!==null){if(Re===0)var e=me.return;else e=me,Xn=sa=null,nf(e),Wa=null,nl=0,e=me;for(;e!==null;)Ry(e.alternate,e),e=e.return;me=null}}function si(e,n){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,TS(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),nr=0,Hf(),qe=e,me=a=Yn(e.current,null),ge=n,Re=0,Qt=null,Dr=!1,ii=Li(e,n),qf=!1,li=Kt=Uf=ga=qr=Fe=0,Dt=bl=null,Bf=!1,(n&8)!==0&&(n|=n&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=n;0<l;){var s=31-Ht(l),c=1<<s;n|=e[s],l&=~c}return tr=n,qu(),a}function Iy(e,n){de=null,S.H=cl,n===Pa||n===Yu?(n=mm(),Re=3):n===Vc?(n=mm(),Re=4):Re=n===vf?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Qt=n,me===null&&(Fe=1,rs(e,nn(n,e.current)))}function eg(){var e=Vt.current;return e===null?!0:(ge&4194048)===ge?un===null:(ge&62914560)===ge||(ge&536870912)!==0?e===un:!1}function tg(){var e=S.H;return S.H=cl,e===null?cl:e}function ng(){var e=S.A;return S.A=rS,e}function ms(){Fe=4,Dr||(ge&4194048)!==ge&&Vt.current!==null||(ii=!0),(qr&134217727)===0&&(ga&134217727)===0||qe===null||jr(qe,ge,Kt,!1)}function Gf(e,n,a){var l=Ee;Ee|=2;var s=tg(),c=ng();(qe!==e||ge!==n)&&(hs=null,si(e,n)),n=!1;var p=Fe;e:do try{if(Re!==0&&me!==null){var g=me,_=Qt;switch(Re){case 8:Hf(),p=6;break e;case 3:case 2:case 9:case 6:Vt.current===null&&(n=!0);var N=Re;if(Re=0,Qt=null,oi(e,g,_,N),a&&ii){p=0;break e}break;default:N=Re,Re=0,Qt=null,oi(e,g,_,N)}}lS(),p=Fe;break}catch(V){Iy(e,V)}while(!0);return n&&e.shellSuspendCounter++,Xn=sa=null,Ee=l,S.H=s,S.A=c,me===null&&(qe=null,ge=0,qu()),p}function lS(){for(;me!==null;)rg(me)}function uS(e,n){var a=Ee;Ee|=2;var l=tg(),s=ng();qe!==e||ge!==n?(hs=null,ds=Lt()+500,si(e,n)):ii=Li(e,n);e:do try{if(Re!==0&&me!==null){n=me;var c=Qt;t:switch(Re){case 1:Re=0,Qt=null,oi(e,n,c,1);break;case 2:case 9:if(hm(c)){Re=0,Qt=null,ag(n);break}n=function(){Re!==2&&Re!==9||qe!==e||(Re=7),$n(e)},c.then(n,n);break e;case 3:Re=7;break e;case 4:Re=5;break e;case 7:hm(c)?(Re=0,Qt=null,ag(n)):(Re=0,Qt=null,oi(e,n,c,7));break;case 5:var p=null;switch(me.tag){case 26:p=me.memoizedState;case 5:case 27:var g=me;if(p?Yg(p):g.stateNode.complete){Re=0,Qt=null;var _=g.sibling;if(_!==null)me=_;else{var N=g.return;N!==null?(me=N,ys(N)):me=null}break t}}Re=0,Qt=null,oi(e,n,c,5);break;case 6:Re=0,Qt=null,oi(e,n,c,6);break;case 8:Hf(),Fe=6;break e;default:throw Error(u(462))}}sS();break}catch(V){Iy(e,V)}while(!0);return Xn=sa=null,S.H=l,S.A=s,Ee=a,me!==null?0:(qe=null,ge=0,qu(),Fe)}function sS(){for(;me!==null&&!M_();)rg(me)}function rg(e){var n=Ay(e.alternate,e,tr);e.memoizedProps=e.pendingProps,n===null?ys(e):me=n}function ag(e){var n=e,a=n.alternate;switch(n.tag){case 15:case 0:n=wy(a,n,n.pendingProps,n.type,void 0,ge);break;case 11:n=wy(a,n,n.pendingProps,n.type.render,n.ref,ge);break;case 5:nf(n);default:Ry(a,n),n=me=nm(n,tr),n=Ay(a,n,tr)}e.memoizedProps=e.pendingProps,n===null?ys(e):me=n}function oi(e,n,a,l){Xn=sa=null,nf(n),Wa=null,nl=0;var s=n.return;try{if(kw(e,s,n,a,ge)){Fe=1,rs(e,nn(a,e.current)),me=null;return}}catch(c){if(s!==null)throw me=s,c;Fe=1,rs(e,nn(a,e.current)),me=null;return}n.flags&32768?(_e||l===1?e=!0:ii||(ge&536870912)!==0?e=!1:(Dr=e=!0,(l===2||l===9||l===3||l===6)&&(l=Vt.current,l!==null&&l.tag===13&&(l.flags|=16384))),ig(n,e)):ys(n)}function ys(e){var n=e;do{if((n.flags&32768)!==0){ig(n,Dr);return}e=n.return;var a=Iw(n.alternate,n,tr);if(a!==null){me=a;return}if(n=n.sibling,n!==null){me=n;return}me=n=e}while(n!==null);Fe===0&&(Fe=5)}function ig(e,n){do{var a=eS(e.alternate,e);if(a!==null){a.flags&=32767,me=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!n&&(e=e.sibling,e!==null)){me=e;return}me=e=a}while(e!==null);Fe=6,me=null}function lg(e,n,a,l,s,c,p,g,_){e.cancelPendingCommit=null;do gs();while(ot!==0);if((Ee&6)!==0)throw Error(u(327));if(n!==null){if(n===e.current)throw Error(u(177));if(c=n.lanes|n.childLanes,c|=Rc,H_(e,a,c,p,g,_),e===qe&&(me=qe=null,ge=0),ui=n,Br=e,nr=a,jf=c,Lf=s,Jy=l,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,dS(vu,function(){return fg(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||l){l=S.T,S.T=null,s=F.p,F.p=2,p=Ee,Ee|=4;try{tS(e,n,a)}finally{Ee=p,F.p=s,S.T=l}}ot=1,ug(),sg(),og()}}function ug(){if(ot===1){ot=0;var e=Br,n=ui,a=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||a){a=S.T,S.T=null;var l=F.p;F.p=2;var s=Ee;Ee|=4;try{Hy(n,e);var c=ed,p=Kp(e.containerInfo),g=c.focusedElem,_=c.selectionRange;if(p!==g&&g&&g.ownerDocument&&Qp(g.ownerDocument.documentElement,g)){if(_!==null&&Ec(g)){var N=_.start,V=_.end;if(V===void 0&&(V=N),"selectionStart"in g)g.selectionStart=N,g.selectionEnd=Math.min(V,g.value.length);else{var K=g.ownerDocument||document,q=K&&K.defaultView||window;if(q.getSelection){var Z=q.getSelection(),ee=g.textContent.length,se=Math.min(_.start,ee),De=_.end===void 0?se:Math.min(_.end,ee);!Z.extend&&se>De&&(p=De,De=se,se=p);var R=Xp(g,se),x=Xp(g,De);if(R&&x&&(Z.rangeCount!==1||Z.anchorNode!==R.node||Z.anchorOffset!==R.offset||Z.focusNode!==x.node||Z.focusOffset!==x.offset)){var M=K.createRange();M.setStart(R.node,R.offset),Z.removeAllRanges(),se>De?(Z.addRange(M),Z.extend(x.node,x.offset)):(M.setEnd(x.node,x.offset),Z.addRange(M))}}}}for(K=[],Z=g;Z=Z.parentNode;)Z.nodeType===1&&K.push({element:Z,left:Z.scrollLeft,top:Z.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<K.length;g++){var X=K[g];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Rs=!!If,ed=If=null}finally{Ee=s,F.p=l,S.T=a}}e.current=n,ot=2}}function sg(){if(ot===2){ot=0;var e=Br,n=ui,a=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||a){a=S.T,S.T=null;var l=F.p;F.p=2;var s=Ee;Ee|=4;try{Uy(e,n.alternate,n)}finally{Ee=s,F.p=l,S.T=a}}ot=3}}function og(){if(ot===4||ot===3){ot=0,N_();var e=Br,n=ui,a=nr,l=Jy;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?ot=5:(ot=0,ui=Br=null,cg(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(Ur=null),ic(a),n=n.stateNode,Zt&&typeof Zt.onCommitFiberRoot=="function")try{Zt.onCommitFiberRoot(ji,n,void 0,(n.current.flags&128)===128)}catch{}if(l!==null){n=S.T,s=F.p,F.p=2,S.T=null;try{for(var c=e.onRecoverableError,p=0;p<l.length;p++){var g=l[p];c(g.value,{componentStack:g.stack})}}finally{S.T=n,F.p=s}}(nr&3)!==0&&gs(),$n(e),s=e.pendingLanes,(a&261930)!==0&&(s&42)!==0?e===Zf?vl++:(vl=0,Zf=e):vl=0,_l(0)}}function cg(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,el(n)))}function gs(){return ug(),sg(),og(),fg()}function fg(){if(ot!==5)return!1;var e=Br,n=jf;jf=0;var a=ic(nr),l=S.T,s=F.p;try{F.p=32>a?32:a,S.T=null,a=Lf,Lf=null;var c=Br,p=nr;if(ot=0,ui=Br=null,nr=0,(Ee&6)!==0)throw Error(u(331));var g=Ee;if(Ee|=4,Qy(c.current),Yy(c,c.current,p,a),Ee=g,_l(0,!1),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(ji,c)}catch{}return!0}finally{F.p=s,S.T=l,cg(e,n)}}function dg(e,n,a){n=nn(a,n),n=bf(e.stateNode,n,2),e=Cr(e,n,2),e!==null&&(Zi(e,2),$n(e))}function Ce(e,n,a){if(e.tag===3)dg(e,e,a);else for(;n!==null;){if(n.tag===3){dg(n,e,a);break}else if(n.tag===1){var l=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ur===null||!Ur.has(l))){e=nn(a,e),a=hy(2),l=Cr(n,a,2),l!==null&&(py(a,l,n,e),Zi(l,2),$n(l));break}}n=n.return}}function Yf(e,n,a){var l=e.pingCache;if(l===null){l=e.pingCache=new aS;var s=new Set;l.set(n,s)}else s=l.get(n),s===void 0&&(s=new Set,l.set(n,s));s.has(a)||(qf=!0,s.add(a),e=oS.bind(null,e,n,a),n.then(e,e))}function oS(e,n,a){var l=e.pingCache;l!==null&&l.delete(n),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,qe===e&&(ge&a)===a&&(Fe===4||Fe===3&&(ge&62914560)===ge&&300>Lt()-fs?(Ee&2)===0&&si(e,0):Uf|=a,li===ge&&(li=0)),$n(e)}function hg(e,n){n===0&&(n=up()),e=ia(e,n),e!==null&&(Zi(e,n),$n(e))}function cS(e){var n=e.memoizedState,a=0;n!==null&&(a=n.retryLane),hg(e,a)}function fS(e,n){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,s=e.memoizedState;s!==null&&(a=s.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(u(314))}l!==null&&l.delete(n),hg(e,a)}function dS(e,n){return tc(e,n)}var bs=null,ci=null,Vf=!1,vs=!1,Xf=!1,Lr=0;function $n(e){e!==ci&&e.next===null&&(ci===null?bs=ci=e:ci=ci.next=e),vs=!0,Vf||(Vf=!0,pS())}function _l(e,n){if(!Xf&&vs){Xf=!0;do for(var a=!1,l=bs;l!==null;){if(e!==0){var s=l.pendingLanes;if(s===0)var c=0;else{var p=l.suspendedLanes,g=l.pingedLanes;c=(1<<31-Ht(42|e)+1)-1,c&=s&~(p&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,gg(l,c))}else c=ge,c=xu(l,l===qe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||Li(l,c)||(a=!0,gg(l,c));l=l.next}while(a);Xf=!1}}function hS(){pg()}function pg(){vs=Vf=!1;var e=0;Lr!==0&&ES()&&(e=Lr);for(var n=Lt(),a=null,l=bs;l!==null;){var s=l.next,c=mg(l,n);c===0?(l.next=null,a===null?bs=s:a.next=s,s===null&&(ci=a)):(a=l,(e!==0||(c&3)!==0)&&(vs=!0)),l=s}ot!==0&&ot!==5||_l(e),Lr!==0&&(Lr=0)}function mg(e,n){for(var a=e.suspendedLanes,l=e.pingedLanes,s=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var p=31-Ht(c),g=1<<p,_=s[p];_===-1?((g&a)===0||(g&l)!==0)&&(s[p]=Z_(g,n)):_<=n&&(e.expiredLanes|=g),c&=~g}if(n=qe,a=ge,a=xu(e,e===n?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===n&&(Re===2||Re===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&nc(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Li(e,a)){if(n=a&-a,n===e.callbackPriority)return n;switch(l!==null&&nc(l),ic(a)){case 2:case 8:a=ip;break;case 32:a=vu;break;case 268435456:a=lp;break;default:a=vu}return l=yg.bind(null,e),a=tc(a,l),e.callbackPriority=n,e.callbackNode=a,n}return l!==null&&l!==null&&nc(l),e.callbackPriority=2,e.callbackNode=null,2}function yg(e,n){if(ot!==0&&ot!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(gs()&&e.callbackNode!==a)return null;var l=ge;return l=xu(e,e===qe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Py(e,l,n),mg(e,Lt()),e.callbackNode!=null&&e.callbackNode===a?yg.bind(null,e):null)}function gg(e,n){if(gs())return null;Py(e,n,!0)}function pS(){OS(function(){(Ee&6)!==0?tc(ap,hS):pg()})}function Qf(){if(Lr===0){var e=Ja;e===0&&(e=_u,_u<<=1,(_u&261888)===0&&(_u=256)),Lr=e}return Lr}function bg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Au(""+e)}function vg(e,n){var a=n.ownerDocument.createElement("input");return a.name=n.name,a.value=n.value,e.id&&a.setAttribute("form",e.id),n.parentNode.insertBefore(a,n),e=new FormData(e),a.parentNode.removeChild(a),e}function mS(e,n,a,l,s){if(n==="submit"&&a&&a.stateNode===s){var c=bg((s[Rt]||null).action),p=l.submitter;p&&(n=(n=p[Rt]||null)?bg(n.formAction):p.getAttribute("formAction"),n!==null&&(c=n,p=null));var g=new Mu("action","action",null,l,s);e.push({event:g,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Lr!==0){var _=p?vg(s,p):new FormData(s);df(a,{pending:!0,data:_,method:s.method,action:c},null,_)}}else typeof c=="function"&&(g.preventDefault(),_=p?vg(s,p):new FormData(s),df(a,{pending:!0,data:_,method:s.method,action:c},c,_))},currentTarget:s}]})}}for(var Kf=0;Kf<$c.length;Kf++){var Ff=$c[Kf],yS=Ff.toLowerCase(),gS=Ff[0].toUpperCase()+Ff.slice(1);hn(yS,"on"+gS)}hn(kp,"onAnimationEnd"),hn(Pp,"onAnimationIteration"),hn(Wp,"onAnimationStart"),hn("dblclick","onDoubleClick"),hn("focusin","onFocus"),hn("focusout","onBlur"),hn(zw,"onTransitionRun"),hn(Dw,"onTransitionStart"),hn(qw,"onTransitionCancel"),hn(Ip,"onTransitionEnd"),qa("onMouseEnter",["mouseout","mouseover"]),qa("onMouseLeave",["mouseout","mouseover"]),qa("onPointerEnter",["pointerout","pointerover"]),qa("onPointerLeave",["pointerout","pointerover"]),ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ta("onBeforeInput",["compositionend","keypress","textInput","paste"]),ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wl));function _g(e,n){n=(n&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],s=l.event;l=l.listeners;e:{var c=void 0;if(n)for(var p=l.length-1;0<=p;p--){var g=l[p],_=g.instance,N=g.currentTarget;if(g=g.listener,_!==c&&s.isPropagationStopped())break e;c=g,s.currentTarget=N;try{c(s)}catch(V){Du(V)}s.currentTarget=null,c=_}else for(p=0;p<l.length;p++){if(g=l[p],_=g.instance,N=g.currentTarget,g=g.listener,_!==c&&s.isPropagationStopped())break e;c=g,s.currentTarget=N;try{c(s)}catch(V){Du(V)}s.currentTarget=null,c=_}}}}function ye(e,n){var a=n[lc];a===void 0&&(a=n[lc]=new Set);var l=e+"__bubble";a.has(l)||(wg(n,e,2,!1),a.add(l))}function Jf(e,n,a){var l=0;n&&(l|=4),wg(a,e,l,n)}var _s="_reactListening"+Math.random().toString(36).slice(2);function kf(e){if(!e[_s]){e[_s]=!0,pp.forEach(function(a){a!=="selectionchange"&&(bS.has(a)||Jf(a,!1,e),Jf(a,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[_s]||(n[_s]=!0,Jf("selectionchange",!1,n))}}function wg(e,n,a,l){switch(kg(n)){case 2:var s=QS;break;case 8:s=KS;break;default:s=fd}a=s.bind(null,n,a,e),s=void 0,!mc||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(s=!0),l?s!==void 0?e.addEventListener(n,a,{capture:!0,passive:s}):e.addEventListener(n,a,!0):s!==void 0?e.addEventListener(n,a,{passive:s}):e.addEventListener(n,a,!1)}function Pf(e,n,a,l,s){var c=l;if((n&1)===0&&(n&2)===0&&l!==null)e:for(;;){if(l===null)return;var p=l.tag;if(p===3||p===4){var g=l.stateNode.containerInfo;if(g===s)break;if(p===4)for(p=l.return;p!==null;){var _=p.tag;if((_===3||_===4)&&p.stateNode.containerInfo===s)return;p=p.return}for(;g!==null;){if(p=Na(g),p===null)return;if(_=p.tag,_===5||_===6||_===26||_===27){l=c=p;continue e}g=g.parentNode}}l=l.return}Op(function(){var N=c,V=hc(a),K=[];e:{var q=em.get(e);if(q!==void 0){var Z=Mu,ee=e;switch(e){case"keypress":if(Ru(a)===0)break e;case"keydown":case"keyup":Z=fw;break;case"focusin":ee="focus",Z=vc;break;case"focusout":ee="blur",Z=vc;break;case"beforeblur":case"afterblur":Z=vc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Z=Rp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Z=I_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Z=pw;break;case kp:case Pp:case Wp:Z=nw;break;case Ip:Z=yw;break;case"scroll":case"scrollend":Z=P_;break;case"wheel":Z=bw;break;case"copy":case"cut":case"paste":Z=aw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Z=Mp;break;case"toggle":case"beforetoggle":Z=_w}var se=(n&4)!==0,De=!se&&(e==="scroll"||e==="scrollend"),R=se?q!==null?q+"Capture":null:q;se=[];for(var x=N,M;x!==null;){var X=x;if(M=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||M===null||R===null||(X=Yi(x,R),X!=null&&se.push(Sl(x,X,M))),De)break;x=x.return}0<se.length&&(q=new Z(q,ee,null,a,V),K.push({event:q,listeners:se}))}}if((n&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",Z=e==="mouseout"||e==="pointerout",q&&a!==dc&&(ee=a.relatedTarget||a.fromElement)&&(Na(ee)||ee[Ma]))break e;if((Z||q)&&(q=V.window===V?V:(q=V.ownerDocument)?q.defaultView||q.parentWindow:window,Z?(ee=a.relatedTarget||a.toElement,Z=N,ee=ee?Na(ee):null,ee!==null&&(De=f(ee),se=ee.tag,ee!==De||se!==5&&se!==27&&se!==6)&&(ee=null)):(Z=null,ee=N),Z!==ee)){if(se=Rp,X="onMouseLeave",R="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(se=Mp,X="onPointerLeave",R="onPointerEnter",x="pointer"),De=Z==null?q:Gi(Z),M=ee==null?q:Gi(ee),q=new se(X,x+"leave",Z,a,V),q.target=De,q.relatedTarget=M,X=null,Na(V)===N&&(se=new se(R,x+"enter",ee,a,V),se.target=M,se.relatedTarget=De,X=se),De=X,Z&&ee)t:{for(se=vS,R=Z,x=ee,M=0,X=R;X;X=se(X))M++;X=0;for(var le=x;le;le=se(le))X++;for(;0<M-X;)R=se(R),M--;for(;0<X-M;)x=se(x),X--;for(;M--;){if(R===x||x!==null&&R===x.alternate){se=R;break t}R=se(R),x=se(x)}se=null}else se=null;Z!==null&&Sg(K,q,Z,se,!1),ee!==null&&De!==null&&Sg(K,De,ee,se,!0)}}e:{if(q=N?Gi(N):window,Z=q.nodeName&&q.nodeName.toLowerCase(),Z==="select"||Z==="input"&&q.type==="file")var we=Lp;else if(Bp(q))if(Zp)we=Cw;else{we=$w;var ie=Aw}else Z=q.nodeName,!Z||Z.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?N&&fc(N.elementType)&&(we=Lp):we=Rw;if(we&&(we=we(e,N))){jp(K,we,a,V);break e}ie&&ie(e,q,N),e==="focusout"&&N&&q.type==="number"&&N.memoizedProps.value!=null&&cc(q,"number",q.value)}switch(ie=N?Gi(N):window,e){case"focusin":(Bp(ie)||ie.contentEditable==="true")&&(Ha=ie,Tc=N,Pi=null);break;case"focusout":Pi=Tc=Ha=null;break;case"mousedown":Oc=!0;break;case"contextmenu":case"mouseup":case"dragend":Oc=!1,Fp(K,a,V);break;case"selectionchange":if(Nw)break;case"keydown":case"keyup":Fp(K,a,V)}var he;if(wc)e:{switch(e){case"compositionstart":var be="onCompositionStart";break e;case"compositionend":be="onCompositionEnd";break e;case"compositionupdate":be="onCompositionUpdate";break e}be=void 0}else Za?qp(e,a)&&(be="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(be="onCompositionStart");be&&(Np&&a.locale!=="ko"&&(Za||be!=="onCompositionStart"?be==="onCompositionEnd"&&Za&&(he=Ap()):(xr=V,yc="value"in xr?xr.value:xr.textContent,Za=!0)),ie=ws(N,be),0<ie.length&&(be=new Cp(be,e,null,a,V),K.push({event:be,listeners:ie}),he?be.data=he:(he=Up(a),he!==null&&(be.data=he)))),(he=Sw?xw(e,a):Ew(e,a))&&(be=ws(N,"onBeforeInput"),0<be.length&&(ie=new Cp("onBeforeInput","beforeinput",null,a,V),K.push({event:ie,listeners:be}),ie.data=he)),mS(K,e,N,a,V)}_g(K,n)})}function Sl(e,n,a){return{instance:e,listener:n,currentTarget:a}}function ws(e,n){for(var a=n+"Capture",l=[];e!==null;){var s=e,c=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||c===null||(s=Yi(e,a),s!=null&&l.unshift(Sl(e,s,c)),s=Yi(e,n),s!=null&&l.push(Sl(e,s,c))),e.tag===3)return l;e=e.return}return[]}function vS(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Sg(e,n,a,l,s){for(var c=n._reactName,p=[];a!==null&&a!==l;){var g=a,_=g.alternate,N=g.stateNode;if(g=g.tag,_!==null&&_===l)break;g!==5&&g!==26&&g!==27||N===null||(_=N,s?(N=Yi(a,c),N!=null&&p.unshift(Sl(a,N,_))):s||(N=Yi(a,c),N!=null&&p.push(Sl(a,N,_)))),a=a.return}p.length!==0&&e.push({event:n,listeners:p})}var _S=/\r\n?/g,wS=/\u0000|\uFFFD/g;function xg(e){return(typeof e=="string"?e:""+e).replace(_S,`
782
- `).replace(wS,"")}function Eg(e,n){return n=xg(n),xg(e)===n}function ze(e,n,a,l,s,c){switch(a){case"children":typeof l=="string"?n==="body"||n==="textarea"&&l===""||Ba(e,l):(typeof l=="number"||typeof l=="bigint")&&n!=="body"&&Ba(e,""+l);break;case"className":Tu(e,"class",l);break;case"tabIndex":Tu(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Tu(e,a,l);break;case"style":Ep(e,l,c);break;case"data":if(n!=="object"){Tu(e,"data",l);break}case"src":case"href":if(l===""&&(n!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Au(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(a==="formAction"?(n!=="input"&&ze(e,n,"name",s.name,s,null),ze(e,n,"formEncType",s.formEncType,s,null),ze(e,n,"formMethod",s.formMethod,s,null),ze(e,n,"formTarget",s.formTarget,s,null)):(ze(e,n,"encType",s.encType,s,null),ze(e,n,"method",s.method,s,null),ze(e,n,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Au(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=Hn);break;case"onScroll":l!=null&&ye("scroll",e);break;case"onScrollEnd":l!=null&&ye("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(a=l.__html,a!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=Au(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":ye("beforetoggle",e),ye("toggle",e),Eu(e,"popover",l);break;case"xlinkActuate":Zn(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Zn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Zn(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Zn(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Zn(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Zn(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Zn(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Zn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Zn(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Eu(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=J_.get(a)||a,Eu(e,a,l))}}function Wf(e,n,a,l,s,c){switch(a){case"style":Ep(e,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(a=l.__html,a!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=a}}break;case"children":typeof l=="string"?Ba(e,l):(typeof l=="number"||typeof l=="bigint")&&Ba(e,""+l);break;case"onScroll":l!=null&&ye("scroll",e);break;case"onScrollEnd":l!=null&&ye("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!mp.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(s=a.endsWith("Capture"),n=a.slice(2,s?a.length-7:void 0),c=e[Rt]||null,c=c!=null?c[a]:null,typeof c=="function"&&e.removeEventListener(n,c,s),typeof l=="function")){typeof c!="function"&&c!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(n,l,s);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):Eu(e,a,l)}}}function bt(e,n,a){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ye("error",e),ye("load",e);var l=!1,s=!1,c;for(c in a)if(a.hasOwnProperty(c)){var p=a[c];if(p!=null)switch(c){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,n));default:ze(e,n,c,p,a,null)}}s&&ze(e,n,"srcSet",a.srcSet,a,null),l&&ze(e,n,"src",a.src,a,null);return;case"input":ye("invalid",e);var g=c=p=s=null,_=null,N=null;for(l in a)if(a.hasOwnProperty(l)){var V=a[l];if(V!=null)switch(l){case"name":s=V;break;case"type":p=V;break;case"checked":_=V;break;case"defaultChecked":N=V;break;case"value":c=V;break;case"defaultValue":g=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,n));break;default:ze(e,n,l,V,a,null)}}_p(e,c,g,_,N,p,s,!1);return;case"select":ye("invalid",e),l=p=c=null;for(s in a)if(a.hasOwnProperty(s)&&(g=a[s],g!=null))switch(s){case"value":c=g;break;case"defaultValue":p=g;break;case"multiple":l=g;default:ze(e,n,s,g,a,null)}n=c,a=p,e.multiple=!!l,n!=null?Ua(e,!!l,n,!1):a!=null&&Ua(e,!!l,a,!0);return;case"textarea":ye("invalid",e),c=s=l=null;for(p in a)if(a.hasOwnProperty(p)&&(g=a[p],g!=null))switch(p){case"value":l=g;break;case"defaultValue":s=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(u(91));break;default:ze(e,n,p,g,a,null)}Sp(e,l,s,c);return;case"option":for(_ in a)if(a.hasOwnProperty(_)&&(l=a[_],l!=null))switch(_){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:ze(e,n,_,l,a,null)}return;case"dialog":ye("beforetoggle",e),ye("toggle",e),ye("cancel",e),ye("close",e);break;case"iframe":case"object":ye("load",e);break;case"video":case"audio":for(l=0;l<wl.length;l++)ye(wl[l],e);break;case"image":ye("error",e),ye("load",e);break;case"details":ye("toggle",e);break;case"embed":case"source":case"link":ye("error",e),ye("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in a)if(a.hasOwnProperty(N)&&(l=a[N],l!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,n));default:ze(e,n,N,l,a,null)}return;default:if(fc(n)){for(V in a)a.hasOwnProperty(V)&&(l=a[V],l!==void 0&&Wf(e,n,V,l,a,void 0));return}}for(g in a)a.hasOwnProperty(g)&&(l=a[g],l!=null&&ze(e,n,g,l,a,null))}function SS(e,n,a,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,c=null,p=null,g=null,_=null,N=null,V=null;for(Z in a){var K=a[Z];if(a.hasOwnProperty(Z)&&K!=null)switch(Z){case"checked":break;case"value":break;case"defaultValue":_=K;default:l.hasOwnProperty(Z)||ze(e,n,Z,null,l,K)}}for(var q in l){var Z=l[q];if(K=a[q],l.hasOwnProperty(q)&&(Z!=null||K!=null))switch(q){case"type":c=Z;break;case"name":s=Z;break;case"checked":N=Z;break;case"defaultChecked":V=Z;break;case"value":p=Z;break;case"defaultValue":g=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(u(137,n));break;default:Z!==K&&ze(e,n,q,Z,l,K)}}oc(e,p,g,_,N,V,c,s);return;case"select":Z=p=g=q=null;for(c in a)if(_=a[c],a.hasOwnProperty(c)&&_!=null)switch(c){case"value":break;case"multiple":Z=_;default:l.hasOwnProperty(c)||ze(e,n,c,null,l,_)}for(s in l)if(c=l[s],_=a[s],l.hasOwnProperty(s)&&(c!=null||_!=null))switch(s){case"value":q=c;break;case"defaultValue":g=c;break;case"multiple":p=c;default:c!==_&&ze(e,n,s,c,l,_)}n=g,a=p,l=Z,q!=null?Ua(e,!!a,q,!1):!!l!=!!a&&(n!=null?Ua(e,!!a,n,!0):Ua(e,!!a,a?[]:"",!1));return;case"textarea":Z=q=null;for(g in a)if(s=a[g],a.hasOwnProperty(g)&&s!=null&&!l.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:ze(e,n,g,null,l,s)}for(p in l)if(s=l[p],c=a[p],l.hasOwnProperty(p)&&(s!=null||c!=null))switch(p){case"value":q=s;break;case"defaultValue":Z=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==c&&ze(e,n,p,s,l,c)}wp(e,q,Z);return;case"option":for(var ee in a)if(q=a[ee],a.hasOwnProperty(ee)&&q!=null&&!l.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:ze(e,n,ee,null,l,q)}for(_ in l)if(q=l[_],Z=a[_],l.hasOwnProperty(_)&&q!==Z&&(q!=null||Z!=null))switch(_){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:ze(e,n,_,q,l,Z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var se in a)q=a[se],a.hasOwnProperty(se)&&q!=null&&!l.hasOwnProperty(se)&&ze(e,n,se,null,l,q);for(N in l)if(q=l[N],Z=a[N],l.hasOwnProperty(N)&&q!==Z&&(q!=null||Z!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(u(137,n));break;default:ze(e,n,N,q,l,Z)}return;default:if(fc(n)){for(var De in a)q=a[De],a.hasOwnProperty(De)&&q!==void 0&&!l.hasOwnProperty(De)&&Wf(e,n,De,void 0,l,q);for(V in l)q=l[V],Z=a[V],!l.hasOwnProperty(V)||q===Z||q===void 0&&Z===void 0||Wf(e,n,V,q,l,Z);return}}for(var R in a)q=a[R],a.hasOwnProperty(R)&&q!=null&&!l.hasOwnProperty(R)&&ze(e,n,R,null,l,q);for(K in l)q=l[K],Z=a[K],!l.hasOwnProperty(K)||q===Z||q==null&&Z==null||ze(e,n,K,q,l,Z)}function Tg(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function xS(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var s=a[l],c=s.transferSize,p=s.initiatorType,g=s.duration;if(c&&g&&Tg(p)){for(p=0,g=s.responseEnd,l+=1;l<a.length;l++){var _=a[l],N=_.startTime;if(N>g)break;var V=_.transferSize,K=_.initiatorType;V&&Tg(K)&&(_=_.responseEnd,p+=V*(_<g?1:(g-N)/(_-N)))}if(--l,n+=8*(c+p)/(s.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var If=null,ed=null;function Ss(e){return e.nodeType===9?e:e.ownerDocument}function Og(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ag(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function td(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var nd=null;function ES(){var e=window.event;return e&&e.type==="popstate"?e===nd?!1:(nd=e,!0):(nd=null,!1)}var $g=typeof setTimeout=="function"?setTimeout:void 0,TS=typeof clearTimeout=="function"?clearTimeout:void 0,Rg=typeof Promise=="function"?Promise:void 0,OS=typeof queueMicrotask=="function"?queueMicrotask:typeof Rg<"u"?function(e){return Rg.resolve(null).then(e).catch(AS)}:$g;function AS(e){setTimeout(function(){throw e})}function Zr(e){return e==="head"}function Cg(e,n){var a=n,l=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a==="/$"||a==="/&"){if(l===0){e.removeChild(s),pi(n);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")xl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,xl(a);for(var c=a.firstChild;c;){var p=c.nextSibling,g=c.nodeName;c[Hi]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=p}}else a==="body"&&xl(e.ownerDocument.body);a=s}while(a);pi(n)}function Mg(e,n){var a=e;e=0;do{var l=a.nextSibling;if(a.nodeType===1?n?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(n?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=l}while(a)}function rd(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var a=n;switch(n=n.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":rd(a),uc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function $S(e,n,a,l){for(;e.nodeType===1;){var s=a;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Hi])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var c=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=sn(e.nextSibling),e===null)break}return null}function RS(e,n,a){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=sn(e.nextSibling),e===null))return null;return e}function Ng(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=sn(e.nextSibling),e===null))return null;return e}function ad(e){return e.data==="$?"||e.data==="$~"}function id(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function CS(e,n){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||a.readyState!=="loading")n();else{var l=function(){n(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function sn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var ld=null;function zg(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(n===0)return sn(e.nextSibling);n--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||n++}e=e.nextSibling}return null}function Dg(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(n===0)return e;n--}else a!=="/$"&&a!=="/&"||n++}e=e.previousSibling}return null}function qg(e,n,a){switch(n=Ss(a),e){case"html":if(e=n.documentElement,!e)throw Error(u(452));return e;case"head":if(e=n.head,!e)throw Error(u(453));return e;case"body":if(e=n.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function xl(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);uc(e)}var on=new Map,Ug=new Set;function xs(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var rr=F.d;F.d={f:MS,r:NS,D:zS,C:DS,L:qS,m:US,X:jS,S:BS,M:LS};function MS(){var e=rr.f(),n=ps();return e||n}function NS(e){var n=za(e);n!==null&&n.tag===5&&n.type==="form"?Im(n):rr.r(e)}var fi=typeof document>"u"?null:document;function Bg(e,n,a){var l=fi;if(l&&typeof n=="string"&&n){var s=en(n);s='link[rel="'+e+'"][href="'+s+'"]',typeof a=="string"&&(s+='[crossorigin="'+a+'"]'),Ug.has(s)||(Ug.add(s),e={rel:e,crossOrigin:a,href:n},l.querySelector(s)===null&&(n=l.createElement("link"),bt(n,"link",e),ct(n),l.head.appendChild(n)))}}function zS(e){rr.D(e),Bg("dns-prefetch",e,null)}function DS(e,n){rr.C(e,n),Bg("preconnect",e,n)}function qS(e,n,a){rr.L(e,n,a);var l=fi;if(l&&e&&n){var s='link[rel="preload"][as="'+en(n)+'"]';n==="image"&&a&&a.imageSrcSet?(s+='[imagesrcset="'+en(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(s+='[imagesizes="'+en(a.imageSizes)+'"]')):s+='[href="'+en(e)+'"]';var c=s;switch(n){case"style":c=di(e);break;case"script":c=hi(e)}on.has(c)||(e=v({rel:"preload",href:n==="image"&&a&&a.imageSrcSet?void 0:e,as:n},a),on.set(c,e),l.querySelector(s)!==null||n==="style"&&l.querySelector(El(c))||n==="script"&&l.querySelector(Tl(c))||(n=l.createElement("link"),bt(n,"link",e),ct(n),l.head.appendChild(n)))}}function US(e,n){rr.m(e,n);var a=fi;if(a&&e){var l=n&&typeof n.as=="string"?n.as:"script",s='link[rel="modulepreload"][as="'+en(l)+'"][href="'+en(e)+'"]',c=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=hi(e)}if(!on.has(c)&&(e=v({rel:"modulepreload",href:e},n),on.set(c,e),a.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Tl(c)))return}l=a.createElement("link"),bt(l,"link",e),ct(l),a.head.appendChild(l)}}}function BS(e,n,a){rr.S(e,n,a);var l=fi;if(l&&e){var s=Da(l).hoistableStyles,c=di(e);n=n||"default";var p=s.get(c);if(!p){var g={loading:0,preload:null};if(p=l.querySelector(El(c)))g.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":n},a),(a=on.get(c))&&ud(e,a);var _=p=l.createElement("link");ct(_),bt(_,"link",e),_._p=new Promise(function(N,V){_.onload=N,_.onerror=V}),_.addEventListener("load",function(){g.loading|=1}),_.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Es(p,n,l)}p={type:"stylesheet",instance:p,count:1,state:g},s.set(c,p)}}}function jS(e,n){rr.X(e,n);var a=fi;if(a&&e){var l=Da(a).hoistableScripts,s=hi(e),c=l.get(s);c||(c=a.querySelector(Tl(s)),c||(e=v({src:e,async:!0},n),(n=on.get(s))&&sd(e,n),c=a.createElement("script"),ct(c),bt(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function LS(e,n){rr.M(e,n);var a=fi;if(a&&e){var l=Da(a).hoistableScripts,s=hi(e),c=l.get(s);c||(c=a.querySelector(Tl(s)),c||(e=v({src:e,async:!0,type:"module"},n),(n=on.get(s))&&sd(e,n),c=a.createElement("script"),ct(c),bt(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function jg(e,n,a,l){var s=(s=pe.current)?xs(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(n=di(a.href),a=Da(s).hoistableStyles,l=a.get(n),l||(l={type:"style",instance:null,count:0,state:null},a.set(n,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=di(a.href);var c=Da(s).hoistableStyles,p=c.get(e);if(p||(s=s.ownerDocument||s,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,p),(c=s.querySelector(El(e)))&&!c._p&&(p.instance=c,p.state.loading=5),on.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},on.set(e,a),c||ZS(s,e,a,p.state))),n&&l===null)throw Error(u(528,""));return p}if(n&&l!==null)throw Error(u(529,""));return null;case"script":return n=a.async,a=a.src,typeof a=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=hi(a),a=Da(s).hoistableScripts,l=a.get(n),l||(l={type:"script",instance:null,count:0,state:null},a.set(n,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function di(e){return'href="'+en(e)+'"'}function El(e){return'link[rel="stylesheet"]['+e+"]"}function Lg(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function ZS(e,n,a,l){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?l.loading=1:(n=e.createElement("link"),l.preload=n,n.addEventListener("load",function(){return l.loading|=1}),n.addEventListener("error",function(){return l.loading|=2}),bt(n,"link",a),ct(n),e.head.appendChild(n))}function hi(e){return'[src="'+en(e)+'"]'}function Tl(e){return"script[async]"+e}function Zg(e,n,a){if(n.count++,n.instance===null)switch(n.type){case"style":var l=e.querySelector('style[data-href~="'+en(a.href)+'"]');if(l)return n.instance=l,ct(l),l;var s=v({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),ct(l),bt(l,"style",s),Es(l,a.precedence,e),n.instance=l;case"stylesheet":s=di(a.href);var c=e.querySelector(El(s));if(c)return n.state.loading|=4,n.instance=c,ct(c),c;l=Lg(a),(s=on.get(s))&&ud(l,s),c=(e.ownerDocument||e).createElement("link"),ct(c);var p=c;return p._p=new Promise(function(g,_){p.onload=g,p.onerror=_}),bt(c,"link",l),n.state.loading|=4,Es(c,a.precedence,e),n.instance=c;case"script":return c=hi(a.src),(s=e.querySelector(Tl(c)))?(n.instance=s,ct(s),s):(l=a,(s=on.get(c))&&(l=v({},a),sd(l,s)),e=e.ownerDocument||e,s=e.createElement("script"),ct(s),bt(s,"link",l),e.head.appendChild(s),n.instance=s);case"void":return null;default:throw Error(u(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(l=n.instance,n.state.loading|=4,Es(l,a.precedence,e));return n.instance}function Es(e,n,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,c=s,p=0;p<l.length;p++){var g=l[p];if(g.dataset.precedence===n)c=g;else if(c!==s)break}c?c.parentNode.insertBefore(e,c.nextSibling):(n=a.nodeType===9?a.head:a,n.insertBefore(e,n.firstChild))}function ud(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function sd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Ts=null;function Hg(e,n,a){if(Ts===null){var l=new Map,s=Ts=new Map;s.set(a,l)}else s=Ts,l=s.get(a),l||(l=new Map,s.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),s=0;s<a.length;s++){var c=a[s];if(!(c[Hi]||c[pt]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var p=c.getAttribute(n)||"";p=e+p;var g=l.get(p);g?g.push(c):l.set(p,[c])}}return l}function Gg(e,n,a){e=e.ownerDocument||e,e.head.insertBefore(a,n==="title"?e.querySelector("head > title"):null)}function HS(e,n,a){if(a===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Yg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function GS(e,n,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var s=di(l.href),c=n.querySelector(El(s));if(c){n=c._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=Os.bind(e),n.then(e,e)),a.state.loading|=4,a.instance=c,ct(c);return}c=n.ownerDocument||n,l=Lg(l),(s=on.get(s))&&ud(l,s),c=c.createElement("link"),ct(c);var p=c;p._p=new Promise(function(g,_){p.onload=g,p.onerror=_}),bt(c,"link",l),a.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,n),(n=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Os.bind(e),n.addEventListener("load",a),n.addEventListener("error",a))}}var od=0;function YS(e,n){return e.stylesheets&&e.count===0&&$s(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&&$s(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+n);0<e.imgBytes&&od===0&&(od=62500*xS());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&$s(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>od?50:800)+n);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function Os(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)$s(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var As=null;function $s(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,As=new Map,n.forEach(VS,e),As=null,Os.call(e))}function VS(e,n){if(!(n.state.loading&4)){var a=As.get(e);if(a)var l=a.get(null);else{a=new Map,As.set(e,a);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<s.length;c++){var p=s[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(a.set(p.dataset.precedence,p),l=p)}l&&a.set(null,l)}s=n.instance,p=s.getAttribute("data-precedence"),c=a.get(p)||l,c===l&&a.set(null,s),a.set(p,s),this.count++,l=Os.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),c?c.parentNode.insertBefore(s,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),n.state.loading|=4}}var Ol={$$typeof:D,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function XS(e,n,a,l,s,c,p,g,_){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=rc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rc(0),this.hiddenUpdates=rc(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=c,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function Vg(e,n,a,l,s,c,p,g,_,N,V,K){return e=new XS(e,n,a,p,_,N,V,K,g),n=1,c===!0&&(n|=24),c=Yt(3,null,null,n),e.current=c,c.stateNode=e,n=Hc(),n.refCount++,e.pooledCache=n,n.refCount++,c.memoizedState={element:l,isDehydrated:a,cache:n},Xc(c),e}function Xg(e){return e?(e=Va,e):Va}function Qg(e,n,a,l,s,c){s=Xg(s),l.context===null?l.context=s:l.pendingContext=s,l=Rr(n),l.payload={element:a},c=c===void 0?null:c,c!==null&&(l.callback=c),a=Cr(e,l,n),a!==null&&(qt(a,e,n),al(a,e,n))}function Kg(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<n?a:n}}function cd(e,n){Kg(e,n),(e=e.alternate)&&Kg(e,n)}function Fg(e){if(e.tag===13||e.tag===31){var n=ia(e,67108864);n!==null&&qt(n,e,67108864),cd(e,67108864)}}function Jg(e){if(e.tag===13||e.tag===31){var n=Ft();n=ac(n);var a=ia(e,n);a!==null&&qt(a,e,n),cd(e,n)}}var Rs=!0;function QS(e,n,a,l){var s=S.T;S.T=null;var c=F.p;try{F.p=2,fd(e,n,a,l)}finally{F.p=c,S.T=s}}function KS(e,n,a,l){var s=S.T;S.T=null;var c=F.p;try{F.p=8,fd(e,n,a,l)}finally{F.p=c,S.T=s}}function fd(e,n,a,l){if(Rs){var s=dd(l);if(s===null)Pf(e,n,l,Cs,a),Pg(e,l);else if(JS(s,e,n,a,l))l.stopPropagation();else if(Pg(e,l),n&4&&-1<FS.indexOf(e)){for(;s!==null;){var c=za(s);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=ea(c.pendingLanes);if(p!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;p;){var _=1<<31-Ht(p);g.entanglements[1]|=_,p&=~_}$n(c),(Ee&6)===0&&(ds=Lt()+500,_l(0))}}break;case 31:case 13:g=ia(c,2),g!==null&&qt(g,c,2),ps(),cd(c,2)}if(c=dd(l),c===null&&Pf(e,n,l,Cs,a),c===s)break;s=c}s!==null&&l.stopPropagation()}else Pf(e,n,l,null,a)}}function dd(e){return e=hc(e),hd(e)}var Cs=null;function hd(e){if(Cs=null,e=Na(e),e!==null){var n=f(e);if(n===null)e=null;else{var a=n.tag;if(a===13){if(e=d(n),e!==null)return e;e=null}else if(a===31){if(e=y(n),e!==null)return e;e=null}else if(a===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Cs=e,null}function kg(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(z_()){case ap:return 2;case ip:return 8;case vu:case D_:return 32;case lp:return 268435456;default:return 32}default:return 32}}var pd=!1,Hr=null,Gr=null,Yr=null,Al=new Map,$l=new Map,Vr=[],FS="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Pg(e,n){switch(e){case"focusin":case"focusout":Hr=null;break;case"dragenter":case"dragleave":Gr=null;break;case"mouseover":case"mouseout":Yr=null;break;case"pointerover":case"pointerout":Al.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":$l.delete(n.pointerId)}}function Rl(e,n,a,l,s,c){return e===null||e.nativeEvent!==c?(e={blockedOn:n,domEventName:a,eventSystemFlags:l,nativeEvent:c,targetContainers:[s]},n!==null&&(n=za(n),n!==null&&Fg(n)),e):(e.eventSystemFlags|=l,n=e.targetContainers,s!==null&&n.indexOf(s)===-1&&n.push(s),e)}function JS(e,n,a,l,s){switch(n){case"focusin":return Hr=Rl(Hr,e,n,a,l,s),!0;case"dragenter":return Gr=Rl(Gr,e,n,a,l,s),!0;case"mouseover":return Yr=Rl(Yr,e,n,a,l,s),!0;case"pointerover":var c=s.pointerId;return Al.set(c,Rl(Al.get(c)||null,e,n,a,l,s)),!0;case"gotpointercapture":return c=s.pointerId,$l.set(c,Rl($l.get(c)||null,e,n,a,l,s)),!0}return!1}function Wg(e){var n=Na(e.target);if(n!==null){var a=f(n);if(a!==null){if(n=a.tag,n===13){if(n=d(a),n!==null){e.blockedOn=n,dp(e.priority,function(){Jg(a)});return}}else if(n===31){if(n=y(a),n!==null){e.blockedOn=n,dp(e.priority,function(){Jg(a)});return}}else if(n===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ms(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var a=dd(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);dc=l,a.target.dispatchEvent(l),dc=null}else return n=za(a),n!==null&&Fg(n),e.blockedOn=a,!1;n.shift()}return!0}function Ig(e,n,a){Ms(e)&&a.delete(n)}function kS(){pd=!1,Hr!==null&&Ms(Hr)&&(Hr=null),Gr!==null&&Ms(Gr)&&(Gr=null),Yr!==null&&Ms(Yr)&&(Yr=null),Al.forEach(Ig),$l.forEach(Ig)}function Ns(e,n){e.blockedOn===n&&(e.blockedOn=null,pd||(pd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,kS)))}var zs=null;function eb(e){zs!==e&&(zs=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){zs===e&&(zs=null);for(var n=0;n<e.length;n+=3){var a=e[n],l=e[n+1],s=e[n+2];if(typeof l!="function"){if(hd(l||a)===null)continue;break}var c=za(a);c!==null&&(e.splice(n,3),n-=3,df(c,{pending:!0,data:s,method:a.method,action:l},l,s))}}))}function pi(e){function n(_){return Ns(_,e)}Hr!==null&&Ns(Hr,e),Gr!==null&&Ns(Gr,e),Yr!==null&&Ns(Yr,e),Al.forEach(n),$l.forEach(n);for(var a=0;a<Vr.length;a++){var l=Vr[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Vr.length&&(a=Vr[0],a.blockedOn===null);)Wg(a),a.blockedOn===null&&Vr.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var s=a[l],c=a[l+1],p=s[Rt]||null;if(typeof c=="function")p||eb(a);else if(p){var g=null;if(c&&c.hasAttribute("formAction")){if(s=c,p=c[Rt]||null)g=p.formAction;else if(hd(s)!==null)continue}else g=p.action;typeof g=="function"?a[l+1]=g:(a.splice(l,3),l-=3),eb(a)}}}function tb(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(p){return s=p})},focusReset:"manual",scroll:"manual"})}function n(){s!==null&&(s(),s=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),s!==null&&(s(),s=null)}}}function md(e){this._internalRoot=e}Ds.prototype.render=md.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(u(409));var a=n.current,l=Ft();Qg(a,l,e,n,null,null)},Ds.prototype.unmount=md.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Qg(e.current,2,null,e,null,null),ps(),n[Ma]=null}};function Ds(e){this._internalRoot=e}Ds.prototype.unstable_scheduleHydration=function(e){if(e){var n=fp();e={blockedOn:null,target:e,priority:n};for(var a=0;a<Vr.length&&n!==0&&n<Vr[a].priority;a++);Vr.splice(a,0,e),a===0&&Wg(e)}};var nb=r.version;if(nb!=="19.2.0")throw Error(u(527,nb,"19.2.0"));F.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=h(n),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var PS={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:S,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qs.isDisabled&&qs.supportsFiber)try{ji=qs.inject(PS),Zt=qs}catch{}}return Xl.createRoot=function(e,n){if(!o(e))throw Error(u(299));var a=!1,l="",s=oy,c=cy,p=fy;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(p=n.onRecoverableError)),n=Vg(e,1,!1,null,null,a,l,null,s,c,p,tb),e[Ma]=n.current,kf(e),new md(n)},Xl.hydrateRoot=function(e,n,a){if(!o(e))throw Error(u(299));var l=!1,s="",c=oy,p=cy,g=fy,_=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError),a.formState!==void 0&&(_=a.formState)),n=Vg(e,1,!0,n,a??null,l,s,_,c,p,g,tb),n.context=Xg(null),a=n.current,l=Ft(),l=ac(l),s=Rr(l),s.callback=null,Cr(a,s,l),a=l,n.current.lanes=a,Zi(n,a),$n(n),e[Ma]=n.current,kf(e),new Ds(n)},Xl.version="19.2.0",Xl}var C0;function HC(){if(C0)return zd.exports;C0=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),zd.exports=ZC(),zd.exports}var GC=HC(),YC=function(t){return t.Left="left",t.Center="center",t.Right="right",t}({});function h_(t,r=["message","error","exception","data"]){if(t instanceof Error)return t;if(t==null)return new Error;for(let i=0;i<r.length;++i){const u=r[i];if(Object.prototype.hasOwnProperty.call(t,u))return h_(t[u])}return new Error(String(t))}const VC=1024,XC=1048576,QC=1073741824,KC=1099511627776,FC=0x4000000000000;function yu(t,r){return Math.ceil(t*r)}yu.bind(null,VC);yu.bind(null,XC);yu.bind(null,QC);yu.bind(null,KC);yu.bind(null,FC);function JC(t,r,i,...u){if(t(i))return i;for(let o=0;o<u.length;++o){const f=u[o];if(t(f))return f}return r}function oh(t,r,...i){return JC(u=>u!=null,t,r,...i)}/* v8 ignore start -- @preserve *//* istanbul ignore next -- @preserve */const kC=typeof window>"u"?vi:window;/* v8 ignore end -- @preserve */function Qo(t,...r){return r.map(i=>i instanceof Array?i[1]?i[0]:null:i).filter(i=>i!=null).join(t)}Qo.bind(null," ");Qo.bind(null,",");Qo.bind(null,";");Qo.bind(null,"|");function M0(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class PC{initialized(){return this._value!=null}async get(){return this._value==null&&(this._value=this._factory()),this._value}constructor(r){M0(this,"_factory",void 0),M0(this,"_value",void 0),this._factory=r}}var WC=function(t){return t.Horizontal="horizontal",t.Vertical="vertical",t}({});function p_(t,r){for(const i of r)if(t.startsWith(i))return[t.substring(0,i.length),t.substring(i.length)];return[null,t]}function ch(t,r,i){if(!t.startsWith(r))return[null,t];let u=1;const o=t.substring(r.length);for(let f=0;f<o.length;++f){if(o.startsWith(r,f)){u+=1,f+=r.length-1;continue}if(o.startsWith(i,f)){if(u-=1,u===0)return[o.substring(0,f),o.substring(f+i.length)];f+=i.length-1}}return[null,t]}function IC(t,...r){let[i]=t;for(let u=1,o=t.length;u<o;u++)i+=r[u-1],i+=t[u];return i}const eM=IC;function N0(t,r){try{return t()}catch{return r}}function tM(){const[t,r]=$.useState(!1),i=$.useMemo(()=>r.bind(null,!0),[]),u=$.useMemo(()=>r.bind(null,!1),[]),{secondary:o}=Ge(),f=mu(),d=y=>{f(y),u()};return w.jsxs("div",{className:"ZRomulatorMenu-root",children:[w.jsx(ru,{name:"toggler",onClick:i,label:w.jsx(vt,{name:"bars",width:H.ExtraSmall})}),w.jsx(eC,{name:"navigation",open:t,onClose:u,anchor:YC.Right,fashion:o,renderHeader:()=>w.jsx(ir,{avatar:w.jsx(vt,{name:"bars"}),heading:w.jsx(W1,{compact:!0,children:"Menu"}),suffix:w.jsx(ru,{label:w.jsx(vt,{name:"xmark",width:H.ExtraSmall}),onClick:u})}),children:w.jsxs(k6,{compact:!0,children:[w.jsx(Yl,{name:"systems",cursor:"pointer",interactive:!0,onClick:d.bind(null,"/systems"),children:w.jsx(ir,{avatar:w.jsx(vt,{name:"puzzle-piece"}),heading:w.jsx(ba,{compact:!0,children:"Systems"}),subHeading:w.jsx(lr,{children:"Your games organized by systems"})})}),w.jsx(Yl,{name:"games",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/games"),children:w.jsx(ir,{avatar:w.jsx(vt,{name:"gamepad"}),heading:w.jsx(ba,{compact:!0,children:"Games"}),subHeading:w.jsx(lr,{children:"View all games"})})}),w.jsx(Yl,{name:"audits",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/audits"),children:w.jsx(ir,{avatar:w.jsx(vt,{name:"magnifying-glass"}),heading:w.jsx(ba,{compact:!0,children:"Audits"}),subHeading:w.jsx(lr,{children:"Audit your games"})})}),w.jsx(Yl,{name:"steam",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/steam"),children:w.jsx(ir,{avatar:w.jsx(vt,{name:"steam",family:"brands"}),heading:w.jsx(ba,{compact:!0,children:"Steam"}),subHeading:w.jsx(lr,{children:"Integrate your games with Steam"})})}),w.jsx(Yl,{name:"settings",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/settings"),children:w.jsx(ir,{avatar:w.jsx(vt,{name:"gear"}),heading:w.jsx(ba,{compact:!0,children:"Settings"}),subHeading:w.jsx(lr,{children:"Modify configs and options"})})})]})})]})}function bn(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var nM=function(t){return t.Equal="eq",t.NotEqual="neq",t.LessThanEqualTo="lteq",t.LessThan="lt",t.GreaterThanEqualTo="gteq",t.GreaterThan="gt",t.Like="like",t.StartsWith="sw",t.EndsWith="ew",t}({});let Wh=class m_{subject(r){return this._filter.subject=r,this}value(r){return this._filter.value=r,this}operator(r){return this._filter.operator=r,this}build(){return{...this._filter}}constructor(){bn(this,"_filter",void 0),bn(this,"equal",this.operator.bind(this,"eq")),bn(this,"notEqual",this.operator.bind(this,"neq")),bn(this,"lessThan",this.operator.bind(this,"lt")),bn(this,"greaterThan",this.operator.bind(this,"gt")),bn(this,"lessThanEqualTo",this.operator.bind(this,"lteq")),bn(this,"greaterThanEqualTo",this.operator.bind(this,"gteq")),bn(this,"like",this.operator.bind(this,"like")),bn(this,"startsWith",this.operator.bind(this,"sw")),bn(this,"endsWith",this.operator.bind(this,"ew")),this._filter={subject:"",value:null,operator:"eq",__type__:m_.Type}}};bn(Wh,"Type","binary");const y_=$t(nM),rM=dt(y_);function aM(t){return t!=null&&Object.prototype.hasOwnProperty.call(rM,t)}function oo(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var iM=function(t){return t.In="in",t.NotIn="not-in",t}({});let g_=class b_{subject(r){return this._filter.subject=r,this}values(r){return this._filter.values=r,this}value(r){return this._filter.values.push(r),this}operator(r){return this._filter.operator=r,this}build(){return JSON.parse(JSON.stringify(this._filter))}constructor(){oo(this,"_filter",void 0),oo(this,"in",this.operator.bind(this,"in")),oo(this,"notIn",this.operator.bind(this,"not-in")),this._filter={subject:"",operator:"in",values:[],__type__:b_.Type}}};oo(g_,"Type","collection");const v_=$t(iM),lM=dt(v_);function uM(t){return t!=null&&Object.prototype.hasOwnProperty.call(lM,t)}function co(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var sM=function(t){return t.And="and",t.Or="or",t}({});let __=class w_{operator(r){return this._filter.operator=r,this}clause(r){return this._filter.clauses.push(r),this}clauses(r){return this._filter.clauses=r,this}build(){return{...this._filter}}constructor(){co(this,"_filter",void 0),co(this,"and",this.operator.bind(this,"and")),co(this,"or",this.operator.bind(this,"or")),this._filter={clauses:[],operator:"and",__type__:w_.Type}}};co(__,"Type","logic");const S_=$t(sM),oM=dt(S_);function cM(t){return t!=null&&Object.prototype.hasOwnProperty.call(oM,t)}function fo(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var fM=function(t){return t.IsNull="null",t.IsNotNull="is-not-null",t}({});let x_=class{subject(r){return this._filter.subject=r,this}operator(r){return this._filter.operator=r,this}build(){return{...this._filter}}constructor(){fo(this,"_filter",void 0),fo(this,"isNull",this.operator.bind(this,"null")),fo(this,"isNotNull",this.operator.bind(this,"is-not-null")),this._filter={subject:null,operator:"null",__type__:"unary"}}};fo(x_,"Type","unary");const E_=$t(fM),dM=dt(E_);function hM(t){return t!=null&&Object.prototype.hasOwnProperty.call(dM,t)}const pM=[].concat(y_).concat(v_).concat(S_).concat(E_);class mM{deserialize(r){const[i,u]=this._parseFilter(r);if(Be(u).length>0)throw new Error(`Extraneous characters found at the end of the candidate filter: ${u}`);return i}_peelBetweenParens(r){const[i,u]=ch(r,"(",")");if(i==null)throw new Error(`Unable to find opening and closing parenthesis for ${r}. Check syntax.`);return[i,u]}_splitArgs(r,i,u,o=u){const[f,d]=this._peelBetweenParens(i),y=f.split(",").filter(m=>!!m);if(y.length<u){const m=`Not enough arguments for ${r} filter: ${y}.`,h=`Expected at least ${u} arguments, but got ${y.length} instead.`;throw new Error(`${m}. ${h}`)}if(y.length>o){const m=`Too many arguments for ${r} filter: ${y}.`,h=`Expected at most ${o} arguments, but got ${y.length} instead.`;throw new Error(`${m}. ${h}`)}return[y,d]}_parseUnaryFilter(r,i){const[u,o]=this._splitArgs(r,i,1);let[f]=u;return f=Be(f),[new x_().operator(r).subject(f).build(),o]}_parseBinaryFilter(r,i){const[u,o]=this._splitArgs(r,i,2);let[f,d]=u;return f=Be(f),d=JSON.parse(d),[new Wh().operator(r).subject(f).value(d).build(),o]}_parseCollectionFilter(r,i){const[u,o]=this._splitArgs(r,i,1,1/0);let[f]=u;f=Be(f);const d=u.slice(1).map(y=>JSON.parse(Be(y)));return[new g_().operator(r).subject(f).values(d).build(),o]}_parseLogicFilter(r,i){const u=this._peelBetweenParens(Be(i));let[o]=u;const[,f]=u;let d=new __().operator(r);for(;o;){const y=this._parseFilter(o),[m]=y;[,o]=y,o=su(o," ,"),d=d.clause(m)}return[d.build(),f]}_parseFilter(r){const[i,u]=p_(Be(r),pM);if(hM(i))return this._parseUnaryFilter(i,u);if(aM(i))return this._parseBinaryFilter(i,u);if(uM(i))return this._parseCollectionFilter(i,u);if(cM(i))return this._parseLogicFilter(i,u);throw new Error(`Cannot determine filter operator at ${r}.`)}}function yM(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var gM=function(t){return t.Ascending="asc",t.Descending="desc",t}({});class T_{sorts(r){return this._sort=r,this}sort(r){const i=Sv(r);return this.sorts(this._sort.concat(i))}ascending(r){return this.sort({subject:r,direction:"asc"})}descending(r){return this.sort({subject:r,direction:"desc"})}build(){return JSON.parse(JSON.stringify(this._sort))}constructor(){yM(this,"_sort",void 0),this._sort=[]}}const bM=$t(gM);class vM{deserialize(r){const[i,u]=ch(Be(r),"(",")"),o=i??u;let f=new T_,d=o;for(;d;){const y=this._parseSort(d),[m]=y;[,d]=y,f=f.sort(m),d=su(d,", ")}return f.build()}_parseSort(r){const[i,u]=p_(r,bM);if(i==null)throw new Error(`Cannot determine sort direction at ${r}`);const o=ch(u,"(",")");let[f]=o;const[,d]=o;if(f==null)throw new Error(`Cannot determine sort subject at ${u}.`);if(f=Be(f),!f)throw new Error(`Cannot determine sort subject at ${u}.`);return[{direction:i,subject:f},d]}}function _M(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class Ko{page(r){return r!=null?this._request.page=Math.max(r,1):delete this._request.page,this}size(r){return r!=null?this._request.size=Math.max(r,0):delete this._request.size,this}search(r){return this._request.search=r,this}filter(r){if(r==null)delete this._request.filter;else{const i=typeof r=="string"?N0(()=>new mM().deserialize(r)):r;this._request.filter=i}return this}sort(r){if(r==null)delete this._request.sort;else{const i=typeof r=="string"?N0(()=>new vM().deserialize(r)):r;this._request.sort=i}return this}copy(r){return this._request=JSON.parse(JSON.stringify(r)),this}query(r){if(r.filter!=null&&this.filter(r.filter),r.sort!=null&&this.sort(r.sort),r.page!=null){const i=+r.page;this.page(isNaN(i)?this._request.page:i)}if(r.size!=null){const i=+r.size;this.size(isNaN(i)?this._request.size:i)}return r.search!=null&&this.search(r.search),this}build(){return JSON.parse(JSON.stringify(this._request))}constructor(){_M(this,"_request",void 0),this._request={}}}function wM(t,r,i){const[u,o]=$.useState(t||i),f=t===void 0?u:t;return[f,y=>{o(y);const m=h=>typeof h=="function";if(r){const h=m(y)?y(f):y;r(h)}}]}const fh=Symbol("loading");function O_(t,r=[]){const[i,u]=$.useState(fh),o=$.useRef(new Bo),f=()=>{o.current.unsubscribe(),o.current=f1(()=>(u(fh),r5(t()))).subscribe({next:y=>u(y),error:y=>u(h_(y))})},d=async y=>{if(y!==void 0){u(y);return}return f()};return $.useEffect(()=>(f(),()=>o.current.unsubscribe()),r),[i,d]}function Ih(t){return t===fh}function SM(t){return!Ih(t)&&!A_(t)}function A_(t){return t instanceof Error}function xM(t,r){return SM(t)?t:r}/* istanbul ignore file -- @preserve */function Fs(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class EM{get $input(){return this._input!=null?this._input:(this._input=this._doc.createElement("input"),this._input.type="file",this._input.style.position="absolute",this._input.style.visibility="hidden",this._input.style.width="1px",this._input.style.height="1px",this._input.style.left="0",this._input.style.top="0",this._input.style.zIndex="-1",this._input.onchange=()=>{const r=this._input.files?.item(0);r&&this._cb(r)},this._container.appendChild(this._input),this._input)}open(r,i){this.$input.accept=r,this._cb=i,this.$input.click()}constructor(r=kC.document,i=r?.body){Fs(this,"_doc",void 0),Fs(this,"_container",void 0),Fs(this,"_input",void 0),Fs(this,"_cb",void 0),this._doc=r,this._container=i}}new EM;function TM(t){const[r,i]=$.useState(t);return $.useEffect(()=>{i(t)},[t]),[r,i]}function vn(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var OM=function(t){return t.Equal="eq",t.NotEqual="neq",t.LessThanEqualTo="lteq",t.LessThan="lt",t.GreaterThanEqualTo="gteq",t.GreaterThan="gt",t.Like="like",t.StartsWith="sw",t.EndsWith="ew",t}({});class Fo{subject(r){return this._filter.subject=r,this}value(r){return this._filter.value=r,this}operator(r){return this._filter.operator=r,this}build(){return{...this._filter}}constructor(){vn(this,"_filter",void 0),vn(this,"equal",this.operator.bind(this,"eq")),vn(this,"notEqual",this.operator.bind(this,"neq")),vn(this,"lessThan",this.operator.bind(this,"lt")),vn(this,"greaterThan",this.operator.bind(this,"gt")),vn(this,"lessThanEqualTo",this.operator.bind(this,"lteq")),vn(this,"greaterThanEqualTo",this.operator.bind(this,"gteq")),vn(this,"like",this.operator.bind(this,"like")),vn(this,"startsWith",this.operator.bind(this,"sw")),vn(this,"endsWith",this.operator.bind(this,"ew")),this._filter={subject:"",value:null,operator:"eq",__type__:Fo.Type}}}vn(Fo,"Type","binary");function AM(t){return t?.__type__===Fo.Type}const $M=$t(OM);dt($M);function ho(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var RM=function(t){return t.In="in",t.NotIn="not-in",t}({});class Jo{subject(r){return this._filter.subject=r,this}values(r){return this._filter.values=r,this}value(r){return this._filter.values.push(r),this}operator(r){return this._filter.operator=r,this}build(){return JSON.parse(JSON.stringify(this._filter))}constructor(){ho(this,"_filter",void 0),ho(this,"in",this.operator.bind(this,"in")),ho(this,"notIn",this.operator.bind(this,"not-in")),this._filter={subject:"",operator:"in",values:[],__type__:Jo.Type}}}ho(Jo,"Type","collection");function CM(t){return t?.__type__===Jo.Type}const MM=$t(RM);dt(MM);function po(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var NM=function(t){return t.And="and",t.Or="or",t}({});class ko{operator(r){return this._filter.operator=r,this}clause(r){return this._filter.clauses.push(r),this}clauses(r){return this._filter.clauses=r,this}build(){return{...this._filter}}constructor(){po(this,"_filter",void 0),po(this,"and",this.operator.bind(this,"and")),po(this,"or",this.operator.bind(this,"or")),this._filter={clauses:[],operator:"and",__type__:ko.Type}}}po(ko,"Type","logic");function zM(t){return t?.__type__===ko.Type}const DM=$t(NM);dt(DM);function mo(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var qM=function(t){return t.IsNull="null",t.IsNotNull="is-not-null",t}({});class $_{subject(r){return this._filter.subject=r,this}operator(r){return this._filter.operator=r,this}build(){return{...this._filter}}constructor(){mo(this,"_filter",void 0),mo(this,"isNull",this.operator.bind(this,"null")),mo(this,"isNotNull",this.operator.bind(this,"is-not-null")),this._filter={subject:null,operator:"null",__type__:"unary"}}}mo($_,"Type","unary");function UM(t){return t?.__type__===$_.Type}const BM=$t(qM);dt(BM);class jM{serialize(r){if(AM(r))return`${r.operator}(${r.subject}, ${JSON.stringify(r.value)})`;if(UM(r))return`${r.operator}(${r.subject})`;if(CM(r))return`${r.operator}(${r.subject}, ${r.values.map(i=>JSON.stringify(i)).join(", ")})`;if(zM(r))return`${r.operator}(${r.clauses.map(i=>this.serialize(i)).join(", ")})`}}var LM=function(t){return t.Ascending="asc",t.Descending="desc",t}({});$t(LM);class ZM{serialize(r){if(!r?.length)return;const i=r.map(u=>`${u.direction}(${u.subject})`).join(", ");return r.length>1?`(${i})`:i}}function HM(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class z0{from(r){return this._url=this._url.page(r.page).size(r.size).search(r.search).filter(new jM().serialize(r.filter)).sort(new ZM().serialize(r.sort)),this}count(){return this._url=this._url.size(1).page(1).sort(null),this}build(){return this._url.build()}constructor(r){HM(this,"_url",void 0),this._url=new Jt().parse(r)}}function Ud(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}class ep{endpoint(r){const i=new Jt().parse(this._endpointUrl);return r?i.append(`${r}`):i}async count(r){const i=new _n().copy(this._request).get().url(new z0(this.endpoint().build()).from(r).count().build()).build(),{data:u}=await this._http.request(i);return u.count}async retrieve(r){const i=new _n().copy(this._request).get().url(new z0(this.endpoint().build()).from(r).build()).build(),{data:u}=await this._http.request(i);return u.data??u.result}async get(r){const i=this.endpoint(r).build(),u=new _n().copy(this._request).get().url(i).build(),{data:o}=await this._http.request(u);return o}async create(r){const i=this.endpoint().build(),u=new _n().copy(this._request).post(r).url(i).build(),{data:o}=await this._http.request(u);return o}async upsert(r){const i=this.endpoint().build(),u=new _n().copy(this._request).put(r).url(i).build(),{data:o}=await this._http.request(u);return o}async update(r,i){const u=this.endpoint(r).build(),o=new _n().copy(this._request).patch(i).url(u).build(),{data:f}=await this._http.request(o);return f}async delete(r){const i=this.endpoint(r).build(),u=new _n().copy(this._request).delete().url(i).build();await this._http.request(u)}constructor(r,i,u=new _n().build()){Ud(this,"_http",void 0),Ud(this,"_endpointUrl",void 0),Ud(this,"_request",void 0),this._http=r,this._endpointUrl=i,this._request=u}}class gu{build(){return structuredClone(this._env)}constructor(){this._env={api:new Jt().protocol("http").hostname("localhost").port(3e3).append("api").build()}}}function GM(){const t=new gu().build(),r=new Xh,i=`${t.api}/configs`;return new ep(r,i)}const YM=$.createContext(GM()),tp=()=>$.useContext(YM),VM=t=>{const r=tp();return O_(()=>r.get(t),[t])};function XM(){const{id:t}=r_(),[r,i]=VM(t),u=xM(r),o=oh([],u?.metadata),f=tp(),d=$.useCallback(m=>w.jsx(lC,{metadata:m},m.id),[]),y=async m=>{try{const h=await f.update(u.id,{contents:m});i(h)}catch{}};return w.jsxs(Et,{className:"ZRomulatorSettingPage-root",gap:H.Medium,children:[w.jsx(Xo,{}),w.jsx(oC,{value:u?.contents,onValueChange:y,children:w.jsxs(Mi,{TitleProps:{avatar:w.jsx(vt,{name:u?.avatar,width:H.Medium}),heading:u?.name,subHeading:u?.description,suffix:w.jsxs(Et,{orientation:WC.Horizontal,gap:H.Medium,children:[w.jsx(T0,{type:"reset",ButtonProps:{label:w.jsx(vt,{name:"rotate-left",tooltip:"Reset"})}}),w.jsx(T0,{type:"submit",ButtonProps:{label:w.jsx(vt,{name:"save",tooltip:"Save"})}})]})},children:[w.jsx(Jh,{disabled:!Ih(r)}),o.map(d)]})})]})}function QM(){const{body:t}=Ge(),r=mu(),i=tp(),[u]=$.useState(new Ko().build()),o=f=>w.jsx(Vo,{className:"ZRomulatorSettingsPage-tile",fashion:t,interactive:!0,cursor:"pointer",padding:H.Medium,"data-name":f.id,onClick:()=>r(f.id),children:w.jsx(Et,{gap:H.Medium,children:w.jsx(ir,{avatar:w.jsx(vt,{name:f.avatar,width:H.Medium}),heading:w.jsx(ba,{compact:!0,children:f.name}),subHeading:w.jsx(lr,{children:f.description})})})},f.id);return w.jsxs(Et,{gap:H.Medium,children:[w.jsx(Xo,{}),w.jsx(Mi,{TitleProps:{heading:w.jsx(ba,{compact:!0,children:"Settings"}),subHeading:w.jsx(lr,{compact:!0,children:"Modify configs and options"}),avatar:w.jsx(vt,{name:"gear",width:H.Medium})},children:w.jsx(kh,{className:"ZRomulatorSettingsPage-root",GridProps:{columns:{xl:"1fr 1fr 1fr",lg:"1fr 1fr",sm:"1fr"},gap:H.Medium},SearchProps:!1,dataSource:i,value:u,renderItem:o})})]})}var va=(t=>(t.Unknown="unknown",t.ReadOnlyMemory="rom",t.Folder="folder",t.File="file",t.Disk="iso",t))(va||{});dt(Object.values(va));var cn=(t=>(t.Unknown="unknown",t.Accessory="accessory",t.Arcade="arcade",t.Computer="computer",t.Console="console",t.Flipper="flipper",t.Handheld="console-portable",t.ScummVm="scummvm",t.Smartphone="smartphone",t.VirtualMachine="virtual-machine",t))(cn||{});dt(Object.values(cn));var _a=(t=>(t.Unknown="unknown",t.Cartridge="cartridge",t.Pcb="pcb",t.Cd="cd",t.FloppyDisk="floppy-disk",t))(_a||{});dt(Object.values(_a));function KM(){const{api:t}=new gu().build(),r=new Jt().parse(t).append("games").build(),i=new Xh;return new ep(i,r)}const FM=$.createContext(KM()),JM=()=>$.useContext(FM);function kM(t){const{value:r,onValueChange:i}=t,[u,o]=wM(r,i,new Ko().build()),f=JM(),{body:d}=Ge(),y=mu(),m=h=>{const{api:b}=new gu().build(),v=`${h.id}-marquees`,A=`${b}/media/${v}`;return w.jsx(Vo,{className:"ZRomulatorGameTile-root",fashion:d,interactive:!0,cursor:"pointer",padding:H.Small,"data-name":h.id,onClick:()=>y(`/games/${h.id}`),children:w.jsx(Et,{justify:{content:"center"},align:{items:"center"},height:He.Full,children:w.jsx(Ph,{src:A,width:He.Full})})},h.id)};return w.jsx(kh,{GridProps:{columns:{xl:"1fr 1fr 1fr 1fr 1fr 1fr",lg:"1fr 1fr 1fr 1fr",md:"1fr 1fr 1fr",sm:"1fr 1fr",xs:"1fr"},gap:H.Medium},dataSource:f,renderItem:m,value:u,onValueChange:o})}class PM{endpoint(){const{api:r}=new gu().build();return new Jt().parse(r).append("systems").build()}async retrieve(r){return(await this._rest.get()).retrieve(r)}async count(r){return(await this._rest.get()).count(r)}async get(r){return(await this._rest.get()).get(r)}constructor(r){this._rest=new PC(async()=>Promise.resolve(new ep(r,this.endpoint())))}}function WM(){return new PM(new Xh)}const IM=$.createContext(WM()),R_=()=>$.useContext(IM),eN=t=>{const r=R_();return O_(()=>r.get(t),[t])},tN={[cn.Accessory]:"Accessory",[cn.Arcade]:"Arcade",[cn.Computer]:"Computer",[cn.Console]:"Console",[cn.Flipper]:"Pinball Machine",[cn.Handheld]:"Handheld",[cn.ScummVm]:"ScummVm",[cn.Smartphone]:"Phone",[cn.Unknown]:"?",[cn.VirtualMachine]:"Virtual Machine"},nN={[_a.Cartridge]:"Cartridge",[_a.Cd]:"CD",[_a.FloppyDisk]:"Floppy Disk",[_a.Pcb]:"PCB",[_a.Unknown]:"?"},rN={[va.Disk]:"Disk",[va.File]:"File",[va.Folder]:"Folder",[va.ReadOnlyMemory]:"ROM",[va.Unknown]:"?"};function aN(){const{id:t}=r_(),{error:r}=Ge(),[i]=eN(oh("",t)),u=$.useMemo(()=>new Wh().subject("system").equal().value(t).build(),[t]),o=$.useMemo(()=>new Ko().size(12).filter(u).build(),[u]),[f,d]=TM(o),y=(h,b,v)=>w.jsxs(w.Fragment,{children:[w.jsxs(I1,{children:[h,":"]}),w.jsx(lr,{compact:!0,className:`ZRomulatorSystemPage-${W4(h)}`,"data-value":b,children:oh(b,v)})]}),m=()=>{if(Ih(i))return w.jsx(Jh,{name:"system-loading",height:H.Large});if(A_(i))return w.jsx(k1,{fashion:r,heading:"Cannot load System",message:i.message});const{name:h,company:b,classification:v,extensions:A,productionYears:C}=i,{hardwareType:U,mediaFormat:O,contentType:z}=v,{start:G,end:E}=C,D=tN[U],Y=nN[O],j=rN[z];return w.jsxs(Et,{gap:H.Medium,children:[w.jsx(wo,{columns:"auto 1fr",children:w.jsx(Mi,{name:"system-info",TitleProps:{avatar:w.jsx(vt,{name:"puzzle-piece",width:H.Medium}),heading:"Information",subHeading:"Details about this system"},children:w.jsxs(wo,{columns:"auto auto",gap:H.Medium,width:He.Fit,align:{items:"center"},children:[y("Name",h),y("Company",b),y("Hardware Type",U,D),y("Media Format",O,Y),y("Content Type",z,j),y("Production Start",String(G)),y("Production End",String(E),Av(String(E)))]})})}),w.jsx(Mi,{name:"game-list",TitleProps:{avatar:w.jsx(vt,{name:"gamepad",width:H.Medium}),heading:"Games",subHeading:A.join(", ")},children:w.jsx(kM,{value:f,onValueChange:d})})]})};return w.jsxs(Et,{gap:H.Medium,className:"ZRomulatorSystemPage-root",children:[w.jsx(Xo,{}),m()]})}const iN=new T_().ascending("generation").ascending("name").build(),lN=new Ko().size(12).sort(iN).build();function uN(){const{body:t}=Ge(),r=mu(),i=R_(),[u,o]=$.useState(lN),f=Je(eM`
783
- .ZRomulatorSystemsPage-wheel > img {
784
- max-width: 23rem;
785
- max-height: 11rem;
786
- }
787
- `),d=y=>{const{api:m}=new gu().build(),h=`${y.id}-wheel`,b=`${m}/media/${h}`;return w.jsx(Vo,{className:"ZRomulatorSystemsPage-tile",fashion:t,interactive:!0,cursor:"pointer",padding:H.Small,"data-name":y.id,onClick:()=>r(y.id),children:w.jsx(Et,{justify:{content:"center"},align:{items:"center"},height:He.Full,width:He.Full,children:w.jsx(Ph,{className:"ZRomulatorSystemsPage-wheel",src:b,width:He.Full})})},y.id)};return w.jsxs(Et,{className:f,gap:H.Medium,children:[w.jsx(Xo,{}),w.jsx(Mi,{width:He.Full,TitleProps:{avatar:w.jsx(vt,{name:"puzzle-piece",width:H.Medium}),heading:"Systems",subHeading:"Your games organized by system"},children:w.jsx(kh,{className:"ZRomulatorSystemsPage-root",GridProps:{columns:{xl:"1fr 1fr 1fr 1fr 1fr 1fr",lg:"1fr 1fr 1fr 1fr",md:"1fr 1fr 1fr",sm:"1fr 1fr",xs:"1fr"},gap:H.Medium},dataSource:i,renderItem:d,value:u,onValueChange:o})})]})}function sN(){return w.jsx(Ph,{src:"/png/romulator-256x256.png",width:H.Medium})}function oN(){return w.jsxs("div",{className:"ZRomulatorTitle-root",children:[w.jsx(y6,{compact:!0,children:"Romulator"}),w.jsx(lr,{compact:!0,children:"Organize your Games"})]})}const cN=DO();function fN(){return w.jsx(F1.Provider,{value:cN,children:w.jsx(_6,{TitleProps:{avatar:w.jsx(sN,{}),prefix:w.jsx(oN,{}),suffix:w.jsx(tM,{})},children:w.jsxs(U6,{children:[w.jsx(yi,{path:"/settings",element:w.jsx(QM,{})}),w.jsx(yi,{path:"/settings/:id",element:w.jsx(XM,{})}),w.jsx(yi,{path:"/systems",element:w.jsx(uN,{})}),w.jsx(yi,{path:"/systems/:id",element:w.jsx(aN,{})}),w.jsx(yi,{path:"",element:w.jsx(B6,{to:"/systems"})}),w.jsx(yi,{path:"*",element:w.jsx(RC,{})})]})})})}const dN=GC.createRoot(document.getElementById("zthunworks-romulator"));dN.render(w.jsx(ZO.StrictMode,{children:w.jsx(q6,{children:w.jsx(fN,{})})}))});export default hN();