UNPKG

trieve-search-component

Version:

The easiest way to get up and running in your app using trieve search.

5 lines 1.05 MB
var v8=Object.create;var K0=Object.defineProperty;var x8=Object.getOwnPropertyDescriptor;var w8=Object.getOwnPropertyNames;var b8=Object.getPrototypeOf,k8=Object.prototype.hasOwnProperty;var fD=t=>{throw TypeError(t)};var S8=(t,e,n)=>e in t?K0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var C8=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var R=(t,e)=>()=>(t&&(e=t(t=0)),e);var Vn=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),YC=(t,e)=>{for(var n in e)K0(t,n,{get:e[n],enumerable:!0})},A8=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of w8(e))!k8.call(t,i)&&i!==n&&K0(t,i,{get:()=>e[i],enumerable:!(r=x8(e,i))||r.enumerable});return t};var j=(t,e,n)=>(n=t!=null?v8(b8(t)):{},A8(e||!t||!t.__esModule?K0(n,"default",{value:t,enumerable:!0}):n,t));var le=(t,e,n)=>S8(t,typeof e!="symbol"?e+"":e,n),KC=(t,e,n)=>e.has(t)||fD("Cannot "+n);var h=(t,e,n)=>(KC(t,e,"read from private field"),n?n.call(t):e.get(t)),A=(t,e,n)=>e.has(t)?fD("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),b=(t,e,n,r)=>(KC(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),I=(t,e,n)=>(KC(t,e,"access private method"),n);var Cr=(t,e,n,r)=>({set _(i){b(t,e,i,n)},get _(){return h(t,e,r)}});var AD=Vn(Be=>{"use strict";var Wm=Symbol.for("react.element"),I8=Symbol.for("react.portal"),_8=Symbol.for("react.fragment"),E8=Symbol.for("react.strict_mode"),T8=Symbol.for("react.profiler"),P8=Symbol.for("react.provider"),M8=Symbol.for("react.context"),L8=Symbol.for("react.forward_ref"),D8=Symbol.for("react.suspense"),R8=Symbol.for("react.memo"),N8=Symbol.for("react.lazy"),pD=Symbol.iterator;function F8(t){return t===null||typeof t!="object"?null:(t=pD&&t[pD]||t["@@iterator"],typeof t=="function"?t:null)}var yD={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vD=Object.assign,xD={};function bh(t,e,n){this.props=t,this.context=e,this.refs=xD,this.updater=n||yD}bh.prototype.isReactComponent={};bh.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};bh.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function wD(){}wD.prototype=bh.prototype;function QC(t,e,n){this.props=t,this.context=e,this.refs=xD,this.updater=n||yD}var JC=QC.prototype=new wD;JC.constructor=QC;vD(JC,bh.prototype);JC.isPureReactComponent=!0;var mD=Array.isArray,bD=Object.prototype.hasOwnProperty,eA={current:null},kD={key:!0,ref:!0,__self:!0,__source:!0};function SD(t,e,n){var r,i={},s=null,o=null;if(e!=null)for(r in e.ref!==void 0&&(o=e.ref),e.key!==void 0&&(s=""+e.key),e)bD.call(e,r)&&!kD.hasOwnProperty(r)&&(i[r]=e[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(t&&t.defaultProps)for(r in a=t.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Wm,type:t,key:s,ref:o,props:i,_owner:eA.current}}function O8(t,e){return{$$typeof:Wm,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function tA(t){return typeof t=="object"&&t!==null&&t.$$typeof===Wm}function V8(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var gD=/\/+/g;function ZC(t,e){return typeof t=="object"&&t!==null&&t.key!=null?V8(""+t.key):e.toString(36)}function Q0(t,e,n,r,i){var s=typeof t;(s==="undefined"||s==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case Wm:case I8:o=!0}}if(o)return o=t,i=i(o),t=r===""?"."+ZC(o,0):r,mD(i)?(n="",t!=null&&(n=t.replace(gD,"$&/")+"/"),Q0(i,e,n,"",function(u){return u})):i!=null&&(tA(i)&&(i=O8(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(gD,"$&/")+"/")+t)),e.push(i)),1;if(o=0,r=r===""?".":r+":",mD(t))for(var a=0;a<t.length;a++){s=t[a];var l=r+ZC(s,a);o+=Q0(s,e,n,l,i)}else if(l=F8(t),typeof l=="function")for(t=l.call(t),a=0;!(s=t.next()).done;)s=s.value,l=r+ZC(s,a++),o+=Q0(s,e,n,l,i);else if(s==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return o}function Z0(t,e,n){if(t==null)return t;var r=[],i=0;return Q0(t,r,"","",function(s){return e.call(n,s,i++)}),r}function z8(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Ar={current:null},J0={transition:null},B8={ReactCurrentDispatcher:Ar,ReactCurrentBatchConfig:J0,ReactCurrentOwner:eA};function CD(){throw Error("act(...) is not supported in production builds of React.")}Be.Children={map:Z0,forEach:function(t,e,n){Z0(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return Z0(t,function(){e++}),e},toArray:function(t){return Z0(t,function(e){return e})||[]},only:function(t){if(!tA(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Be.Component=bh;Be.Fragment=_8;Be.Profiler=T8;Be.PureComponent=QC;Be.StrictMode=E8;Be.Suspense=D8;Be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B8;Be.act=CD;Be.cloneElement=function(t,e,n){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var r=vD({},t.props),i=t.key,s=t.ref,o=t._owner;if(e!=null){if(e.ref!==void 0&&(s=e.ref,o=eA.current),e.key!==void 0&&(i=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(l in e)bD.call(e,l)&&!kD.hasOwnProperty(l)&&(r[l]=e[l]===void 0&&a!==void 0?a[l]:e[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Wm,type:t.type,key:i,ref:s,props:r,_owner:o}};Be.createContext=function(t){return t={$$typeof:M8,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:P8,_context:t},t.Consumer=t};Be.createElement=SD;Be.createFactory=function(t){var e=SD.bind(null,t);return e.type=t,e};Be.createRef=function(){return{current:null}};Be.forwardRef=function(t){return{$$typeof:L8,render:t}};Be.isValidElement=tA;Be.lazy=function(t){return{$$typeof:N8,_payload:{_status:-1,_result:t},_init:z8}};Be.memo=function(t,e){return{$$typeof:R8,type:t,compare:e===void 0?null:e}};Be.startTransition=function(t){var e=J0.transition;J0.transition={};try{t()}finally{J0.transition=e}};Be.unstable_act=CD;Be.useCallback=function(t,e){return Ar.current.useCallback(t,e)};Be.useContext=function(t){return Ar.current.useContext(t)};Be.useDebugValue=function(){};Be.useDeferredValue=function(t){return Ar.current.useDeferredValue(t)};Be.useEffect=function(t,e){return Ar.current.useEffect(t,e)};Be.useId=function(){return Ar.current.useId()};Be.useImperativeHandle=function(t,e,n){return Ar.current.useImperativeHandle(t,e,n)};Be.useInsertionEffect=function(t,e){return Ar.current.useInsertionEffect(t,e)};Be.useLayoutEffect=function(t,e){return Ar.current.useLayoutEffect(t,e)};Be.useMemo=function(t,e){return Ar.current.useMemo(t,e)};Be.useReducer=function(t,e,n){return Ar.current.useReducer(t,e,n)};Be.useRef=function(t){return Ar.current.useRef(t)};Be.useState=function(t){return Ar.current.useState(t)};Be.useSyncExternalStore=function(t,e,n){return Ar.current.useSyncExternalStore(t,e,n)};Be.useTransition=function(){return Ar.current.useTransition()};Be.version="18.3.1"});var $=Vn((noe,ID)=>{"use strict";ID.exports=AD()});var FD=Vn(gt=>{"use strict";function sA(t,e){var n=t.length;t.push(e);e:for(;0<n;){var r=n-1>>>1,i=t[r];if(0<ex(i,e))t[r]=e,t[n]=i,n=r;else break e}}function _s(t){return t.length===0?null:t[0]}function nx(t){if(t.length===0)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;e:for(var r=0,i=t.length,s=i>>>1;r<s;){var o=2*(r+1)-1,a=t[o],l=o+1,u=t[l];if(0>ex(a,n))l<i&&0>ex(u,a)?(t[r]=u,t[l]=n,r=l):(t[r]=a,t[o]=n,r=o);else if(l<i&&0>ex(u,n))t[r]=u,t[l]=n,r=l;else break e}}return e}function ex(t,e){var n=t.sortIndex-e.sortIndex;return n!==0?n:t.id-e.id}typeof performance=="object"&&typeof performance.now=="function"?(_D=performance,gt.unstable_now=function(){return _D.now()}):(nA=Date,ED=nA.now(),gt.unstable_now=function(){return nA.now()-ED});var _D,nA,ED,ho=[],kl=[],H8=1,Ji=null,rr=3,rx=!1,sc=!1,Xm=!1,MD=typeof setTimeout=="function"?setTimeout:null,LD=typeof clearTimeout=="function"?clearTimeout:null,TD=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function oA(t){for(var e=_s(kl);e!==null;){if(e.callback===null)nx(kl);else if(e.startTime<=t)nx(kl),e.sortIndex=e.expirationTime,sA(ho,e);else break;e=_s(kl)}}function aA(t){if(Xm=!1,oA(t),!sc)if(_s(ho)!==null)sc=!0,uA(lA);else{var e=_s(kl);e!==null&&cA(aA,e.startTime-t)}}function lA(t,e){sc=!1,Xm&&(Xm=!1,LD(qm),qm=-1),rx=!0;var n=rr;try{for(oA(e),Ji=_s(ho);Ji!==null&&(!(Ji.expirationTime>e)||t&&!ND());){var r=Ji.callback;if(typeof r=="function"){Ji.callback=null,rr=Ji.priorityLevel;var i=r(Ji.expirationTime<=e);e=gt.unstable_now(),typeof i=="function"?Ji.callback=i:Ji===_s(ho)&&nx(ho),oA(e)}else nx(ho);Ji=_s(ho)}if(Ji!==null)var s=!0;else{var o=_s(kl);o!==null&&cA(aA,o.startTime-e),s=!1}return s}finally{Ji=null,rr=n,rx=!1}}var ix=!1,tx=null,qm=-1,DD=5,RD=-1;function ND(){return!(gt.unstable_now()-RD<DD)}function rA(){if(tx!==null){var t=gt.unstable_now();RD=t;var e=!0;try{e=tx(!0,t)}finally{e?$m():(ix=!1,tx=null)}}else ix=!1}var $m;typeof TD=="function"?$m=function(){TD(rA)}:typeof MessageChannel<"u"?(iA=new MessageChannel,PD=iA.port2,iA.port1.onmessage=rA,$m=function(){PD.postMessage(null)}):$m=function(){MD(rA,0)};var iA,PD;function uA(t){tx=t,ix||(ix=!0,$m())}function cA(t,e){qm=MD(function(){t(gt.unstable_now())},e)}gt.unstable_IdlePriority=5;gt.unstable_ImmediatePriority=1;gt.unstable_LowPriority=4;gt.unstable_NormalPriority=3;gt.unstable_Profiling=null;gt.unstable_UserBlockingPriority=2;gt.unstable_cancelCallback=function(t){t.callback=null};gt.unstable_continueExecution=function(){sc||rx||(sc=!0,uA(lA))};gt.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):DD=0<t?Math.floor(1e3/t):5};gt.unstable_getCurrentPriorityLevel=function(){return rr};gt.unstable_getFirstCallbackNode=function(){return _s(ho)};gt.unstable_next=function(t){switch(rr){case 1:case 2:case 3:var e=3;break;default:e=rr}var n=rr;rr=e;try{return t()}finally{rr=n}};gt.unstable_pauseExecution=function(){};gt.unstable_requestPaint=function(){};gt.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=rr;rr=t;try{return e()}finally{rr=n}};gt.unstable_scheduleCallback=function(t,e,n){var r=gt.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?r+n:r):n=r,t){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,t={id:H8++,callback:e,priorityLevel:t,startTime:n,expirationTime:i,sortIndex:-1},n>r?(t.sortIndex=n,sA(kl,t),_s(ho)===null&&t===_s(kl)&&(Xm?(LD(qm),qm=-1):Xm=!0,cA(aA,n-r))):(t.sortIndex=i,sA(ho,t),sc||rx||(sc=!0,uA(lA))),t};gt.unstable_shouldYield=ND;gt.unstable_wrapCallback=function(t){var e=rr;return function(){var n=rr;rr=e;try{return t.apply(this,arguments)}finally{rr=n}}}});var VD=Vn((ioe,OD)=>{"use strict";OD.exports=FD()});var jF=Vn(Si=>{"use strict";var j8=$(),bi=VD();function U(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var WR=new Set,gg={};function vc(t,e){jh(t,e),jh(t+"Capture",e)}function jh(t,e){for(gg[t]=e,t=0;t<e.length;t++)WR.add(e[t])}var ha=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),DA=Object.prototype.hasOwnProperty,G8=/^[: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]*$/,zD={},BD={};function U8(t){return DA.call(BD,t)?!0:DA.call(zD,t)?!1:G8.test(t)?BD[t]=!0:(zD[t]=!0,!1)}function W8(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function $8(t,e,n,r){if(e===null||typeof e>"u"||W8(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Er(t,e,n,r,i,s,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=s,this.removeEmptyString=o}var Hn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Hn[t]=new Er(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Hn[e]=new Er(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Hn[t]=new Er(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Hn[t]=new Er(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){Hn[t]=new Er(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Hn[t]=new Er(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Hn[t]=new Er(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Hn[t]=new Er(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Hn[t]=new Er(t,5,!1,t.toLowerCase(),null,!1,!1)});var AI=/[\-:]([a-z])/g;function II(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(AI,II);Hn[e]=new Er(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(AI,II);Hn[e]=new Er(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(AI,II);Hn[e]=new Er(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Hn[t]=new Er(t,1,!1,t.toLowerCase(),null,!1,!1)});Hn.xlinkHref=new Er("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Hn[t]=new Er(t,1,!1,t.toLowerCase(),null,!0,!0)});function _I(t,e,n,r){var i=Hn.hasOwnProperty(e)?Hn[e]:null;(i!==null?i.type!==0:r||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&($8(e,n,i,r)&&(n=null),r||i===null?U8(e)&&(n===null?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=n===null?i.type===3?!1:"":n:(e=i.attributeName,r=i.attributeNamespace,n===null?t.removeAttribute(e):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}var ga=j8.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,sx=Symbol.for("react.element"),Ch=Symbol.for("react.portal"),Ah=Symbol.for("react.fragment"),EI=Symbol.for("react.strict_mode"),RA=Symbol.for("react.profiler"),$R=Symbol.for("react.provider"),XR=Symbol.for("react.context"),TI=Symbol.for("react.forward_ref"),NA=Symbol.for("react.suspense"),FA=Symbol.for("react.suspense_list"),PI=Symbol.for("react.memo"),Cl=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var qR=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var HD=Symbol.iterator;function Ym(t){return t===null||typeof t!="object"?null:(t=HD&&t[HD]||t["@@iterator"],typeof t=="function"?t:null)}var Vt=Object.assign,dA;function rg(t){if(dA===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);dA=e&&e[1]||""}return` `+dA+t}var hA=!1;function fA(t,e){if(!t||hA)return"";hA=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(u){var r=u}Reflect.construct(t,[],e)}else{try{e.call()}catch(u){r=u}t.call(e.prototype)}else{try{throw Error()}catch(u){r=u}t()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` `),s=r.stack.split(` `),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=` `+i[o].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}while(1<=o&&0<=a);break}}}finally{hA=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?rg(t):""}function X8(t){switch(t.tag){case 5:return rg(t.type);case 16:return rg("Lazy");case 13:return rg("Suspense");case 19:return rg("SuspenseList");case 0:case 2:case 15:return t=fA(t.type,!1),t;case 11:return t=fA(t.type.render,!1),t;case 1:return t=fA(t.type,!0),t;default:return""}}function OA(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Ah:return"Fragment";case Ch:return"Portal";case RA:return"Profiler";case EI:return"StrictMode";case NA:return"Suspense";case FA:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case XR:return(t.displayName||"Context")+".Consumer";case $R:return(t._context.displayName||"Context")+".Provider";case TI:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case PI:return e=t.displayName||null,e!==null?e:OA(t.type)||"Memo";case Cl:e=t._payload,t=t._init;try{return OA(t(e))}catch{}}return null}function q8(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return OA(e);case 8:return e===EI?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Vl(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function YR(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Y8(t){var e=YR(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ox(t){t._valueTracker||(t._valueTracker=Y8(t))}function KR(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=YR(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function Rx(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function VA(t,e){var n=e.checked;return Vt({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function jD(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=Vl(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function ZR(t,e){e=e.checked,e!=null&&_I(t,"checked",e,!1)}function zA(t,e){ZR(t,e);var n=Vl(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?BA(t,e.type,n):e.hasOwnProperty("defaultValue")&&BA(t,e.type,Vl(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function GD(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function BA(t,e,n){(e!=="number"||Rx(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var ig=Array.isArray;function Fh(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+Vl(n),e=null,i=0;i<t.length;i++){if(t[i].value===n){t[i].selected=!0,r&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function HA(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(U(91));return Vt({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function UD(t,e){var n=e.value;if(n==null){if(n=e.children,e=e.defaultValue,n!=null){if(e!=null)throw Error(U(92));if(ig(n)){if(1<n.length)throw Error(U(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:Vl(n)}}function QR(t,e){var n=Vl(e.value),r=Vl(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),r!=null&&(t.defaultValue=""+r)}function WD(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function JR(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function jA(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?JR(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var ax,eN=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(ax=ax||document.createElement("div"),ax.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=ax.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function yg(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var ag={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},K8=["Webkit","ms","Moz","O"];Object.keys(ag).forEach(function(t){K8.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ag[e]=ag[t]})});function tN(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||ag.hasOwnProperty(t)&&ag[t]?(""+e).trim():e+"px"}function nN(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=tN(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var Z8=Vt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function GA(t,e){if(e){if(Z8[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(U(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(U(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(U(61))}if(e.style!=null&&typeof e.style!="object")throw Error(U(62))}}function UA(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var WA=null;function MI(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var $A=null,Oh=null,Vh=null;function $D(t){if(t=Ng(t)){if(typeof $A!="function")throw Error(U(280));var e=t.stateNode;e&&(e=lw(e),$A(t.stateNode,t.type,e))}}function rN(t){Oh?Vh?Vh.push(t):Vh=[t]:Oh=t}function iN(){if(Oh){var t=Oh,e=Vh;if(Vh=Oh=null,$D(t),e)for(t=0;t<e.length;t++)$D(e[t])}}function sN(t,e){return t(e)}function oN(){}var pA=!1;function aN(t,e,n){if(pA)return t(e,n);pA=!0;try{return sN(t,e,n)}finally{pA=!1,(Oh!==null||Vh!==null)&&(oN(),iN())}}function vg(t,e){var n=t.stateNode;if(n===null)return null;var r=lw(n);if(r===null)return null;n=r[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!r;break e;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(U(231,e,typeof n));return n}var XA=!1;if(ha)try{kh={},Object.defineProperty(kh,"passive",{get:function(){XA=!0}}),window.addEventListener("test",kh,kh),window.removeEventListener("test",kh,kh)}catch{XA=!1}var kh;function Q8(t,e,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{e.apply(n,u)}catch(c){this.onError(c)}}var lg=!1,Nx=null,Fx=!1,qA=null,J8={onError:function(t){lg=!0,Nx=t}};function e$(t,e,n,r,i,s,o,a,l){lg=!1,Nx=null,Q8.apply(J8,arguments)}function t$(t,e,n,r,i,s,o,a,l){if(e$.apply(this,arguments),lg){if(lg){var u=Nx;lg=!1,Nx=null}else throw Error(U(198));Fx||(Fx=!0,qA=u)}}function xc(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function lN(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function XD(t){if(xc(t)!==t)throw Error(U(188))}function n$(t){var e=t.alternate;if(!e){if(e=xc(t),e===null)throw Error(U(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return XD(i),t;if(s===r)return XD(i),e;s=s.sibling}throw Error(U(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(U(189))}}if(n.alternate!==r)throw Error(U(190))}if(n.tag!==3)throw Error(U(188));return n.stateNode.current===n?t:e}function uN(t){return t=n$(t),t!==null?cN(t):null}function cN(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=cN(t);if(e!==null)return e;t=t.sibling}return null}var dN=bi.unstable_scheduleCallback,qD=bi.unstable_cancelCallback,r$=bi.unstable_shouldYield,i$=bi.unstable_requestPaint,Xt=bi.unstable_now,s$=bi.unstable_getCurrentPriorityLevel,LI=bi.unstable_ImmediatePriority,hN=bi.unstable_UserBlockingPriority,Ox=bi.unstable_NormalPriority,o$=bi.unstable_LowPriority,fN=bi.unstable_IdlePriority,iw=null,go=null;function a$(t){if(go&&typeof go.onCommitFiberRoot=="function")try{go.onCommitFiberRoot(iw,t,void 0,(t.current.flags&128)===128)}catch{}}var Ls=Math.clz32?Math.clz32:c$,l$=Math.log,u$=Math.LN2;function c$(t){return t>>>=0,t===0?32:31-(l$(t)/u$|0)|0}var lx=64,ux=4194304;function sg(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Vx(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,s=t.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=sg(a):(s&=o,s!==0&&(r=sg(s)))}else o=n&~i,o!==0?r=sg(o):s!==0&&(r=sg(s));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,s=e&-e,i>=s||i===16&&(s&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0<e;)n=31-Ls(e),i=1<<n,r|=t[n],e&=~i;return r}function d$(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function h$(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,i=t.expirationTimes,s=t.pendingLanes;0<s;){var o=31-Ls(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=d$(a,e)):l<=e&&(t.expiredLanes|=a),s&=~a}}function YA(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function pN(){var t=lx;return lx<<=1,!(lx&4194240)&&(lx=64),t}function mA(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Dg(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Ls(e),t[e]=n}function f$(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var i=31-Ls(n),s=1<<i;e[i]=0,r[i]=-1,t[i]=-1,n&=~s}}function DI(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-Ls(n),i=1<<r;i&e|t[r]&e&&(t[r]|=e),n&=~i}}var rt=0;function mN(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var gN,RI,yN,vN,xN,KA=!1,cx=[],Pl=null,Ml=null,Ll=null,xg=new Map,wg=new Map,Il=[],p$="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function YD(t,e){switch(t){case"focusin":case"focusout":Pl=null;break;case"dragenter":case"dragleave":Ml=null;break;case"mouseover":case"mouseout":Ll=null;break;case"pointerover":case"pointerout":xg.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":wg.delete(e.pointerId)}}function Km(t,e,n,r,i,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},e!==null&&(e=Ng(e),e!==null&&RI(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function m$(t,e,n,r,i){switch(e){case"focusin":return Pl=Km(Pl,t,e,n,r,i),!0;case"dragenter":return Ml=Km(Ml,t,e,n,r,i),!0;case"mouseover":return Ll=Km(Ll,t,e,n,r,i),!0;case"pointerover":var s=i.pointerId;return xg.set(s,Km(xg.get(s)||null,t,e,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,wg.set(s,Km(wg.get(s)||null,t,e,n,r,i)),!0}return!1}function wN(t){var e=lc(t.target);if(e!==null){var n=xc(e);if(n!==null){if(e=n.tag,e===13){if(e=lN(n),e!==null){t.blockedOn=e,xN(t.priority,function(){yN(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Cx(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=ZA(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(n===null){n=t.nativeEvent;var r=new n.constructor(n.type,n);WA=r,n.target.dispatchEvent(r),WA=null}else return e=Ng(n),e!==null&&RI(e),t.blockedOn=n,!1;e.shift()}return!0}function KD(t,e,n){Cx(t)&&n.delete(e)}function g$(){KA=!1,Pl!==null&&Cx(Pl)&&(Pl=null),Ml!==null&&Cx(Ml)&&(Ml=null),Ll!==null&&Cx(Ll)&&(Ll=null),xg.forEach(KD),wg.forEach(KD)}function Zm(t,e){t.blockedOn===e&&(t.blockedOn=null,KA||(KA=!0,bi.unstable_scheduleCallback(bi.unstable_NormalPriority,g$)))}function bg(t){function e(i){return Zm(i,t)}if(0<cx.length){Zm(cx[0],t);for(var n=1;n<cx.length;n++){var r=cx[n];r.blockedOn===t&&(r.blockedOn=null)}}for(Pl!==null&&Zm(Pl,t),Ml!==null&&Zm(Ml,t),Ll!==null&&Zm(Ll,t),xg.forEach(e),wg.forEach(e),n=0;n<Il.length;n++)r=Il[n],r.blockedOn===t&&(r.blockedOn=null);for(;0<Il.length&&(n=Il[0],n.blockedOn===null);)wN(n),n.blockedOn===null&&Il.shift()}var zh=ga.ReactCurrentBatchConfig,zx=!0;function y$(t,e,n,r){var i=rt,s=zh.transition;zh.transition=null;try{rt=1,NI(t,e,n,r)}finally{rt=i,zh.transition=s}}function v$(t,e,n,r){var i=rt,s=zh.transition;zh.transition=null;try{rt=4,NI(t,e,n,r)}finally{rt=i,zh.transition=s}}function NI(t,e,n,r){if(zx){var i=ZA(t,e,n,r);if(i===null)kA(t,e,r,Bx,n),YD(t,r);else if(m$(i,t,e,n,r))r.stopPropagation();else if(YD(t,r),e&4&&-1<p$.indexOf(t)){for(;i!==null;){var s=Ng(i);if(s!==null&&gN(s),s=ZA(t,e,n,r),s===null&&kA(t,e,r,Bx,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else kA(t,e,r,null,n)}}var Bx=null;function ZA(t,e,n,r){if(Bx=null,t=MI(r),t=lc(t),t!==null)if(e=xc(t),e===null)t=null;else if(n=e.tag,n===13){if(t=lN(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Bx=t,null}function bN(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(s$()){case LI:return 1;case hN:return 4;case Ox:case o$:return 16;case fN:return 536870912;default:return 16}default:return 16}}var El=null,FI=null,Ax=null;function kN(){if(Ax)return Ax;var t,e=FI,n=e.length,r,i="value"in El?El.value:El.textContent,s=i.length;for(t=0;t<n&&e[t]===i[t];t++);var o=n-t;for(r=1;r<=o&&e[n-r]===i[s-r];r++);return Ax=i.slice(t,1<r?1-r:void 0)}function Ix(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function dx(){return!0}function ZD(){return!1}function ki(t){function e(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(n=t[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?dx:ZD,this.isPropagationStopped=ZD,this}return Vt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=dx)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=dx)},persist:function(){},isPersistent:dx}),e}var Yh={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},OI=ki(Yh),Rg=Vt({},Yh,{view:0,detail:0}),x$=ki(Rg),gA,yA,Qm,sw=Vt({},Rg,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:VI,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Qm&&(Qm&&t.type==="mousemove"?(gA=t.screenX-Qm.screenX,yA=t.screenY-Qm.screenY):yA=gA=0,Qm=t),gA)},movementY:function(t){return"movementY"in t?t.movementY:yA}}),QD=ki(sw),w$=Vt({},sw,{dataTransfer:0}),b$=ki(w$),k$=Vt({},Rg,{relatedTarget:0}),vA=ki(k$),S$=Vt({},Yh,{animationName:0,elapsedTime:0,pseudoElement:0}),C$=ki(S$),A$=Vt({},Yh,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),I$=ki(A$),_$=Vt({},Yh,{data:0}),JD=ki(_$),E$={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},T$={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"},P$={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function M$(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=P$[t])?!!e[t]:!1}function VI(){return M$}var L$=Vt({},Rg,{key:function(t){if(t.key){var e=E$[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ix(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?T$[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:VI,charCode:function(t){return t.type==="keypress"?Ix(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ix(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),D$=ki(L$),R$=Vt({},sw,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),eR=ki(R$),N$=Vt({},Rg,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:VI}),F$=ki(N$),O$=Vt({},Yh,{propertyName:0,elapsedTime:0,pseudoElement:0}),V$=ki(O$),z$=Vt({},sw,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),B$=ki(z$),H$=[9,13,27,32],zI=ha&&"CompositionEvent"in window,ug=null;ha&&"documentMode"in document&&(ug=document.documentMode);var j$=ha&&"TextEvent"in window&&!ug,SN=ha&&(!zI||ug&&8<ug&&11>=ug),tR=" ",nR=!1;function CN(t,e){switch(t){case"keyup":return H$.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function AN(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ih=!1;function G$(t,e){switch(t){case"compositionend":return AN(e);case"keypress":return e.which!==32?null:(nR=!0,tR);case"textInput":return t=e.data,t===tR&&nR?null:t;default:return null}}function U$(t,e){if(Ih)return t==="compositionend"||!zI&&CN(t,e)?(t=kN(),Ax=FI=El=null,Ih=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return SN&&e.locale!=="ko"?null:e.data;default:return null}}var W$={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 rR(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!W$[t.type]:e==="textarea"}function IN(t,e,n,r){rN(r),e=Hx(e,"onChange"),0<e.length&&(n=new OI("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var cg=null,kg=null;function $$(t){ON(t,0)}function ow(t){var e=Th(t);if(KR(e))return t}function X$(t,e){if(t==="change")return e}var _N=!1;ha&&(ha?(fx="oninput"in document,fx||(xA=document.createElement("div"),xA.setAttribute("oninput","return;"),fx=typeof xA.oninput=="function"),hx=fx):hx=!1,_N=hx&&(!document.documentMode||9<document.documentMode));var hx,fx,xA;function iR(){cg&&(cg.detachEvent("onpropertychange",EN),kg=cg=null)}function EN(t){if(t.propertyName==="value"&&ow(kg)){var e=[];IN(e,kg,t,MI(t)),aN($$,e)}}function q$(t,e,n){t==="focusin"?(iR(),cg=e,kg=n,cg.attachEvent("onpropertychange",EN)):t==="focusout"&&iR()}function Y$(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ow(kg)}function K$(t,e){if(t==="click")return ow(e)}function Z$(t,e){if(t==="input"||t==="change")return ow(e)}function Q$(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Rs=typeof Object.is=="function"?Object.is:Q$;function Sg(t,e){if(Rs(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!DA.call(e,i)||!Rs(t[i],e[i]))return!1}return!0}function sR(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function oR(t,e){var n=sR(t);t=0;for(var r;n;){if(n.nodeType===3){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=sR(n)}}function TN(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?TN(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function PN(){for(var t=window,e=Rx();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Rx(t.document)}return e}function BI(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function J$(t){var e=PN(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&TN(n.ownerDocument.documentElement,n)){if(r!==null&&BI(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!t.extend&&s>r&&(i=r,r=s,s=i),i=oR(n,s);var o=oR(n,r);i&&o&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),s>r?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<e.length;n++)t=e[n],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var e7=ha&&"documentMode"in document&&11>=document.documentMode,_h=null,QA=null,dg=null,JA=!1;function aR(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;JA||_h==null||_h!==Rx(r)||(r=_h,"selectionStart"in r&&BI(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),dg&&Sg(dg,r)||(dg=r,r=Hx(QA,"onSelect"),0<r.length&&(e=new OI("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=_h)))}function px(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Eh={animationend:px("Animation","AnimationEnd"),animationiteration:px("Animation","AnimationIteration"),animationstart:px("Animation","AnimationStart"),transitionend:px("Transition","TransitionEnd")},wA={},MN={};ha&&(MN=document.createElement("div").style,"AnimationEvent"in window||(delete Eh.animationend.animation,delete Eh.animationiteration.animation,delete Eh.animationstart.animation),"TransitionEvent"in window||delete Eh.transitionend.transition);function aw(t){if(wA[t])return wA[t];if(!Eh[t])return t;var e=Eh[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in MN)return wA[t]=e[n];return t}var LN=aw("animationend"),DN=aw("animationiteration"),RN=aw("animationstart"),NN=aw("transitionend"),FN=new Map,lR="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Bl(t,e){FN.set(t,e),vc(e,[t])}for(mx=0;mx<lR.length;mx++)gx=lR[mx],uR=gx.toLowerCase(),cR=gx[0].toUpperCase()+gx.slice(1),Bl(uR,"on"+cR);var gx,uR,cR,mx;Bl(LN,"onAnimationEnd");Bl(DN,"onAnimationIteration");Bl(RN,"onAnimationStart");Bl("dblclick","onDoubleClick");Bl("focusin","onFocus");Bl("focusout","onBlur");Bl(NN,"onTransitionEnd");jh("onMouseEnter",["mouseout","mouseover"]);jh("onMouseLeave",["mouseout","mouseover"]);jh("onPointerEnter",["pointerout","pointerover"]);jh("onPointerLeave",["pointerout","pointerover"]);vc("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));vc("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));vc("onBeforeInput",["compositionend","keypress","textInput","paste"]);vc("onCompositionEnd","compositionend focusout keydown keypress keyu