snack-alert
Version:
A simple React toast notification library with Tailwind CSS
98 lines • 513 kB
JavaScript
(function(Wn,ql){typeof exports=="object"&&typeof module<"u"?ql(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],ql):(Wn=typeof globalThis<"u"?globalThis:Wn||self,ql(Wn["snack-alert"]={},Wn.React,Wn.ReactDOM))})(this,function(Wn,ql,Mg){"use strict";var i0={exports:{}},sh={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ug;function Qb(){if(Ug)return sh;Ug=1;var j=Symbol.for("react.transitional.element"),ue=Symbol.for("react.fragment");function re(x,qe,Ye){var it=null;if(Ye!==void 0&&(it=""+Ye),qe.key!==void 0&&(it=""+qe.key),"key"in qe){Ye={};for(var Ct in qe)Ct!=="key"&&(Ye[Ct]=qe[Ct])}else Ye=qe;return qe=Ye.ref,{$$typeof:j,type:x,key:it,ref:qe!==void 0?qe:null,props:Ye}}return sh.Fragment=ue,sh.jsx=re,sh.jsxs=re,sh}var rh={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var xg;function wb(){return xg||(xg=1,process.env.NODE_ENV!=="production"&&function(){function j(N){if(N==null)return null;if(typeof N=="function")return N.$$typeof===gt?null:N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case Gl:return"Fragment";case Pe:return"Profiler";case ot:return"StrictMode";case Vl:return"Suspense";case xt:return"SuspenseList";case te:return"Activity"}if(typeof N=="object")switch(typeof N.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),N.$$typeof){case ht:return"Portal";case Ut:return(N.displayName||"Context")+".Provider";case ba:return(N._context.displayName||"Context")+".Consumer";case ml:var P=N.render;return N=N.displayName,N||(N=P.displayName||P.name||"",N=N!==""?"ForwardRef("+N+")":"ForwardRef"),N;case Ve:return P=N.displayName||null,P!==null?P:j(N.type)||"Memo";case Lt:P=N._payload,N=N._init;try{return j(N(P))}catch{}}return null}function ue(N){return""+N}function re(N){try{ue(N);var P=!1}catch{P=!0}if(P){P=console;var K=P.error,ce=typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object";return K.call(P,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ce),ue(N)}}function x(N){if(N===Gl)return"<>";if(typeof N=="object"&&N!==null&&N.$$typeof===Lt)return"<...>";try{var P=j(N);return P?"<"+P+">":"<...>"}catch{return"<...>"}}function qe(){var N=Ze.A;return N===null?null:N.getOwner()}function Ye(){return Error("react-stack-top-frame")}function it(N){if(ye.call(N,"key")){var P=Object.getOwnPropertyDescriptor(N,"key").get;if(P&&P.isReactWarning)return!1}return N.key!==void 0}function Ct(N,P){function K(){qt||(qt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",P))}K.isReactWarning=!0,Object.defineProperty(N,"key",{get:K,configurable:!0})}function J(){var N=j(this.type);return A[N]||(A[N]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),N=this.props.ref,N!==void 0?N:null}function Mt(N,P,K,ce,ze,lt,He,Hu){return K=lt.ref,N={$$typeof:vt,type:N,key:P,props:lt,_owner:ze},(K!==void 0?K:null)!==null?Object.defineProperty(N,"ref",{enumerable:!1,get:J}):Object.defineProperty(N,"ref",{enumerable:!1,value:null}),N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(N,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(N,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:He}),Object.defineProperty(N,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Hu}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N}function _e(N,P,K,ce,ze,lt,He,Hu){var bt=P.children;if(bt!==void 0)if(ce)if(Jt(bt)){for(ce=0;ce<bt.length;ce++)tt(bt[ce]);Object.freeze&&Object.freeze(bt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else tt(bt);if(ye.call(P,"key")){bt=j(N);var ll=Object.keys(P).filter(function(Rc){return Rc!=="key"});ce=0<ll.length?"{key: someKey, "+ll.join(": ..., ")+": ...}":"{key: someKey}",ne[bt+ce]||(ll=0<ll.length?"{"+ll.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,ce,bt,ll,bt),ne[bt+ce]=!0)}if(bt=null,K!==void 0&&(re(K),bt=""+K),it(P)&&(re(P.key),bt=""+P.key),"key"in P){K={};for(var Sa in P)Sa!=="key"&&(K[Sa]=P[Sa])}else K=P;return bt&&Ct(K,typeof N=="function"?N.displayName||N.name||"Unknown":N),Mt(N,bt,lt,ze,qe(),K,He,Hu)}function tt(N){typeof N=="object"&&N!==null&&N.$$typeof===vt&&N._store&&(N._store.validated=1)}var Se=ql,vt=Symbol.for("react.transitional.element"),ht=Symbol.for("react.portal"),Gl=Symbol.for("react.fragment"),ot=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),ba=Symbol.for("react.consumer"),Ut=Symbol.for("react.context"),ml=Symbol.for("react.forward_ref"),Vl=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),Ve=Symbol.for("react.memo"),Lt=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),gt=Symbol.for("react.client.reference"),Ze=Se.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ye=Object.prototype.hasOwnProperty,Jt=Array.isArray,Rl=console.createTask?console.createTask:function(){return null};Se={react_stack_bottom_frame:function(N){return N()}};var qt,A={},Q=Se.react_stack_bottom_frame.bind(Se,Ye)(),Z=Rl(x(Ye)),ne={};rh.Fragment=Gl,rh.jsx=function(N,P,K,ce,ze){var lt=1e4>Ze.recentlyCreatedOwnerStacks++;return _e(N,P,K,!1,ce,ze,lt?Error("react-stack-top-frame"):Q,lt?Rl(x(N)):Z)},rh.jsxs=function(N,P,K,ce,ze){var lt=1e4>Ze.recentlyCreatedOwnerStacks++;return _e(N,P,K,!0,ce,ze,lt?Error("react-stack-top-frame"):Q,lt?Rl(x(N)):Z)}}()),rh}var Hg;function Zb(){return Hg||(Hg=1,process.env.NODE_ENV==="production"?i0.exports=Qb():i0.exports=wb()),i0.exports}var Yl=Zb(),_i=(j=>(j.SUCCESS="success",j.ERROR="error",j.INFO="info",j.WARNING="warning",j))(_i||{});/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Lb=j=>j.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Jb=j=>j.replace(/^([A-Z])|[\s-_]+(\w)/g,(ue,re,x)=>x?x.toUpperCase():re.toLowerCase()),Cg=j=>{const ue=Jb(j);return ue.charAt(0).toUpperCase()+ue.slice(1)},Ng=(...j)=>j.filter((ue,re,x)=>!!ue&&ue.trim()!==""&&x.indexOf(ue)===re).join(" ").trim(),Kb=j=>{for(const ue in j)if(ue.startsWith("aria-")||ue==="role"||ue==="title")return!0};/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var kb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $b=ql.forwardRef(({color:j="currentColor",size:ue=24,strokeWidth:re=2,absoluteStrokeWidth:x,className:qe="",children:Ye,iconNode:it,...Ct},J)=>ql.createElement("svg",{ref:J,...kb,width:ue,height:ue,stroke:j,strokeWidth:x?Number(re)*24/Number(ue):re,className:Ng("lucide",qe),...!Ye&&!Kb(Ct)&&{"aria-hidden":"true"},...Ct},[...it.map(([Mt,_e])=>ql.createElement(Mt,_e)),...Array.isArray(Ye)?Ye:[Ye]]));/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const dh=(j,ue)=>{const re=ql.forwardRef(({className:x,...qe},Ye)=>ql.createElement($b,{ref:Ye,iconNode:ue,className:Ng(`lucide-${Lb(Cg(j))}`,`lucide-${j}`,x),...qe}));return re.displayName=Cg(j),re};/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wb=dh("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fb=dh("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ib=dh("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Pb=dh("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.539.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const eS=dh("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function tS({show:j,message:ue,type:re,clearAlert:x}){return Yl.jsx("div",{className:`alert-container ${j?"show":"hide"}`,children:Yl.jsxs("div",{className:`alert alert-${re}`,children:[Yl.jsxs("span",{className:"alert-icon",children:[re===_i.SUCCESS?Yl.jsx(Fb,{className:"size-[16px]"}):null,re===_i.ERROR?Yl.jsx(Pb,{className:"size-[16px]"}):null,re===_i.INFO?Yl.jsx(Ib,{className:"size-[16px]"}):null,re===_i.WARNING?Yl.jsx(Wb,{className:"size-[16px]"}):null]}),Yl.jsx("span",{className:"alert-message",children:ue}),Yl.jsx("div",{className:"ml-2",onClick:x,children:Yl.jsx(eS,{className:"size-[16px] cursor-pointer"})})]})})}const _g=ql.createContext(null),Bg=()=>{const j=ql.useContext(_g);if(!j)throw new Error("useAlert must be used within an AlertProvider");return j};function lS(){const{show:j,message:ue,type:re,clearAlert:x}=Bg();return Yl.jsx(tS,{show:j,message:ue,type:re,clearAlert:x})}const qg=({children:j})=>{const ue=ql.useRef(null),[re,x]=ql.useState(null),qe=()=>{ue.current&&(clearTimeout(ue.current),ue.current=null),x(it=>it?{...it,show:!1}:null),setTimeout(()=>{x(null)},300)},Ye=({message:it,type:Ct=_i.INFO})=>{ue.current&&(clearTimeout(ue.current),ue.current=null),x({show:!0,message:it,type:Ct,clearAlert:qe}),ue.current=setTimeout(()=>{x(J=>J?{...J,show:!1}:null),ue.current=setTimeout(()=>{x(null),ue.current=null},300)},3e3)};return Yl.jsx(_g.Provider,{value:{show:re?.show??!1,message:re?.message??"",type:re?.type??_i.INFO,showAlert:Ye,clearAlert:qe},children:j})},aS=j=>()=>Yl.jsx(qg,{children:Yl.jsx(j,{})});var o0={exports:{}},hh={},f0={exports:{}},uv={};/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Yg;function nS(){return Yg||(Yg=1,function(j){function ue(A,Q){var Z=A.length;A.push(Q);e:for(;0<Z;){var ne=Z-1>>>1,N=A[ne];if(0<qe(N,Q))A[ne]=Q,A[Z]=N,Z=ne;else break e}}function re(A){return A.length===0?null:A[0]}function x(A){if(A.length===0)return null;var Q=A[0],Z=A.pop();if(Z!==Q){A[0]=Z;e:for(var ne=0,N=A.length,P=N>>>1;ne<P;){var K=2*(ne+1)-1,ce=A[K],ze=K+1,lt=A[ze];if(0>qe(ce,Z))ze<N&&0>qe(lt,ce)?(A[ne]=lt,A[ze]=Z,ne=ze):(A[ne]=ce,A[K]=Z,ne=K);else if(ze<N&&0>qe(lt,Z))A[ne]=lt,A[ze]=Z,ne=ze;else break e}}return Q}function qe(A,Q){var Z=A.sortIndex-Q.sortIndex;return Z!==0?Z:A.id-Q.id}if(j.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var Ye=performance;j.unstable_now=function(){return Ye.now()}}else{var it=Date,Ct=it.now();j.unstable_now=function(){return it.now()-Ct}}var J=[],Mt=[],_e=1,tt=null,Se=3,vt=!1,ht=!1,Gl=!1,ot=!1,Pe=typeof setTimeout=="function"?setTimeout:null,ba=typeof clearTimeout=="function"?clearTimeout:null,Ut=typeof setImmediate<"u"?setImmediate:null;function ml(A){for(var Q=re(Mt);Q!==null;){if(Q.callback===null)x(Mt);else if(Q.startTime<=A)x(Mt),Q.sortIndex=Q.expirationTime,ue(J,Q);else break;Q=re(Mt)}}function Vl(A){if(Gl=!1,ml(A),!ht)if(re(J)!==null)ht=!0,xt||(xt=!0,ye());else{var Q=re(Mt);Q!==null&&qt(Vl,Q.startTime-A)}}var xt=!1,Ve=-1,Lt=5,te=-1;function gt(){return ot?!0:!(j.unstable_now()-te<Lt)}function Ze(){if(ot=!1,xt){var A=j.unstable_now();te=A;var Q=!0;try{e:{ht=!1,Gl&&(Gl=!1,ba(Ve),Ve=-1),vt=!0;var Z=Se;try{t:{for(ml(A),tt=re(J);tt!==null&&!(tt.expirationTime>A&>());){var ne=tt.callback;if(typeof ne=="function"){tt.callback=null,Se=tt.priorityLevel;var N=ne(tt.expirationTime<=A);if(A=j.unstable_now(),typeof N=="function"){tt.callback=N,ml(A),Q=!0;break t}tt===re(J)&&x(J),ml(A)}else x(J);tt=re(J)}if(tt!==null)Q=!0;else{var P=re(Mt);P!==null&&qt(Vl,P.startTime-A),Q=!1}}break e}finally{tt=null,Se=Z,vt=!1}Q=void 0}}finally{Q?ye():xt=!1}}}var ye;if(typeof Ut=="function")ye=function(){Ut(Ze)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,Rl=Jt.port2;Jt.port1.onmessage=Ze,ye=function(){Rl.postMessage(null)}}else ye=function(){Pe(Ze,0)};function qt(A,Q){Ve=Pe(function(){A(j.unstable_now())},Q)}j.unstable_IdlePriority=5,j.unstable_ImmediatePriority=1,j.unstable_LowPriority=4,j.unstable_NormalPriority=3,j.unstable_Profiling=null,j.unstable_UserBlockingPriority=2,j.unstable_cancelCallback=function(A){A.callback=null},j.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Lt=0<A?Math.floor(1e3/A):5},j.unstable_getCurrentPriorityLevel=function(){return Se},j.unstable_next=function(A){switch(Se){case 1:case 2:case 3:var Q=3;break;default:Q=Se}var Z=Se;Se=Q;try{return A()}finally{Se=Z}},j.unstable_requestPaint=function(){ot=!0},j.unstable_runWithPriority=function(A,Q){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var Z=Se;Se=A;try{return Q()}finally{Se=Z}},j.unstable_scheduleCallback=function(A,Q,Z){var ne=j.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?ne+Z:ne):Z=ne,A){case 1:var N=-1;break;case 2:N=250;break;case 5:N=1073741823;break;case 4:N=1e4;break;default:N=5e3}return N=Z+N,A={id:_e++,callback:Q,priorityLevel:A,startTime:Z,expirationTime:N,sortIndex:-1},Z>ne?(A.sortIndex=Z,ue(Mt,A),re(J)===null&&A===re(Mt)&&(Gl?(ba(Ve),Ve=-1):Gl=!0,qt(Vl,Z-ne))):(A.sortIndex=N,ue(J,A),ht||vt||(ht=!0,xt||(xt=!0,ye()))),A},j.unstable_shouldYield=gt,j.unstable_wrapCallback=function(A){var Q=Se;return function(){var Z=Se;Se=Q;try{return A.apply(this,arguments)}finally{Se=Z}}}}(uv)),uv}var cv={};/**
* @license React
* scheduler.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Gg;function uS(){return Gg||(Gg=1,function(j){process.env.NODE_ENV!=="production"&&function(){function ue(){if(Vl=!1,te){var A=j.unstable_now();ye=A;var Q=!0;try{e:{Ut=!1,ml&&(ml=!1,Ve(gt),gt=-1),ba=!0;var Z=Pe;try{t:{for(it(A),ot=x(vt);ot!==null&&!(ot.expirationTime>A&&J());){var ne=ot.callback;if(typeof ne=="function"){ot.callback=null,Pe=ot.priorityLevel;var N=ne(ot.expirationTime<=A);if(A=j.unstable_now(),typeof N=="function"){ot.callback=N,it(A),Q=!0;break t}ot===x(vt)&&qe(vt),it(A)}else qe(vt);ot=x(vt)}if(ot!==null)Q=!0;else{var P=x(ht);P!==null&&Mt(Ct,P.startTime-A),Q=!1}}break e}finally{ot=null,Pe=Z,ba=!1}Q=void 0}}finally{Q?Jt():te=!1}}}function re(A,Q){var Z=A.length;A.push(Q);e:for(;0<Z;){var ne=Z-1>>>1,N=A[ne];if(0<Ye(N,Q))A[ne]=Q,A[Z]=N,Z=ne;else break e}}function x(A){return A.length===0?null:A[0]}function qe(A){if(A.length===0)return null;var Q=A[0],Z=A.pop();if(Z!==Q){A[0]=Z;e:for(var ne=0,N=A.length,P=N>>>1;ne<P;){var K=2*(ne+1)-1,ce=A[K],ze=K+1,lt=A[ze];if(0>Ye(ce,Z))ze<N&&0>Ye(lt,ce)?(A[ne]=lt,A[ze]=Z,ne=ze):(A[ne]=ce,A[K]=Z,ne=K);else if(ze<N&&0>Ye(lt,Z))A[ne]=lt,A[ze]=Z,ne=ze;else break e}}return Q}function Ye(A,Q){var Z=A.sortIndex-Q.sortIndex;return Z!==0?Z:A.id-Q.id}function it(A){for(var Q=x(ht);Q!==null;){if(Q.callback===null)qe(ht);else if(Q.startTime<=A)qe(ht),Q.sortIndex=Q.expirationTime,re(vt,Q);else break;Q=x(ht)}}function Ct(A){if(ml=!1,it(A),!Ut)if(x(vt)!==null)Ut=!0,te||(te=!0,Jt());else{var Q=x(ht);Q!==null&&Mt(Ct,Q.startTime-A)}}function J(){return Vl?!0:!(j.unstable_now()-ye<Ze)}function Mt(A,Q){gt=xt(function(){A(j.unstable_now())},Q)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),j.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var _e=performance;j.unstable_now=function(){return _e.now()}}else{var tt=Date,Se=tt.now();j.unstable_now=function(){return tt.now()-Se}}var vt=[],ht=[],Gl=1,ot=null,Pe=3,ba=!1,Ut=!1,ml=!1,Vl=!1,xt=typeof setTimeout=="function"?setTimeout:null,Ve=typeof clearTimeout=="function"?clearTimeout:null,Lt=typeof setImmediate<"u"?setImmediate:null,te=!1,gt=-1,Ze=5,ye=-1;if(typeof Lt=="function")var Jt=function(){Lt(ue)};else if(typeof MessageChannel<"u"){var Rl=new MessageChannel,qt=Rl.port2;Rl.port1.onmessage=ue,Jt=function(){qt.postMessage(null)}}else Jt=function(){xt(ue,0)};j.unstable_IdlePriority=5,j.unstable_ImmediatePriority=1,j.unstable_LowPriority=4,j.unstable_NormalPriority=3,j.unstable_Profiling=null,j.unstable_UserBlockingPriority=2,j.unstable_cancelCallback=function(A){A.callback=null},j.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ze=0<A?Math.floor(1e3/A):5},j.unstable_getCurrentPriorityLevel=function(){return Pe},j.unstable_next=function(A){switch(Pe){case 1:case 2:case 3:var Q=3;break;default:Q=Pe}var Z=Pe;Pe=Q;try{return A()}finally{Pe=Z}},j.unstable_requestPaint=function(){Vl=!0},j.unstable_runWithPriority=function(A,Q){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var Z=Pe;Pe=A;try{return Q()}finally{Pe=Z}},j.unstable_scheduleCallback=function(A,Q,Z){var ne=j.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?ne+Z:ne):Z=ne,A){case 1:var N=-1;break;case 2:N=250;break;case 5:N=1073741823;break;case 4:N=1e4;break;default:N=5e3}return N=Z+N,A={id:Gl++,callback:Q,priorityLevel:A,startTime:Z,expirationTime:N,sortIndex:-1},Z>ne?(A.sortIndex=Z,re(ht,A),x(vt)===null&&A===x(ht)&&(ml?(Ve(gt),gt=-1):ml=!0,Mt(Ct,Z-ne))):(A.sortIndex=N,re(vt,A),Ut||ba||(Ut=!0,te||(te=!0,Jt()))),A},j.unstable_shouldYield=J,j.unstable_wrapCallback=function(A){var Q=Pe;return function(){var Z=Pe;Pe=Q;try{return A.apply(this,arguments)}finally{Pe=Z}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(cv)),cv}var Vg;function Xg(){return Vg||(Vg=1,process.env.NODE_ENV==="production"?f0.exports=nS():f0.exports=uS()),f0.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var jg;function cS(){if(jg)return hh;jg=1;var j=Xg(),ue=ql,re=Mg;function x(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function qe(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function Ye(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function it(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function Ct(l){if(Ye(l)!==l)throw Error(x(188))}function J(l){var n=l.alternate;if(!n){if(n=Ye(l),n===null)throw Error(x(188));return n!==l?null:l}for(var u=l,i=n;;){var s=u.return;if(s===null)break;var r=s.alternate;if(r===null){if(i=s.return,i!==null){u=i;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===u)return Ct(s),l;if(r===i)return Ct(s),n;r=r.sibling}throw Error(x(188))}if(u.return!==i.return)u=s,i=r;else{for(var y=!1,m=s.child;m;){if(m===u){y=!0,u=s,i=r;break}if(m===i){y=!0,i=s,u=r;break}m=m.sibling}if(!y){for(m=r.child;m;){if(m===u){y=!0,u=r,i=s;break}if(m===i){y=!0,i=r,u=s;break}m=m.sibling}if(!y)throw Error(x(189))}}if(u.alternate!==i)throw Error(x(190))}if(u.tag!==3)throw Error(x(188));return u.stateNode.current===u?l:n}function Mt(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=Mt(l),n!==null)return n;l=l.sibling}return null}var _e=Object.assign,tt=Symbol.for("react.element"),Se=Symbol.for("react.transitional.element"),vt=Symbol.for("react.portal"),ht=Symbol.for("react.fragment"),Gl=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),Pe=Symbol.for("react.provider"),ba=Symbol.for("react.consumer"),Ut=Symbol.for("react.context"),ml=Symbol.for("react.forward_ref"),Vl=Symbol.for("react.suspense"),xt=Symbol.for("react.suspense_list"),Ve=Symbol.for("react.memo"),Lt=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),gt=Symbol.for("react.memo_cache_sentinel"),Ze=Symbol.iterator;function ye(l){return l===null||typeof l!="object"?null:(l=Ze&&l[Ze]||l["@@iterator"],typeof l=="function"?l:null)}var Jt=Symbol.for("react.client.reference");function Rl(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Jt?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ht:return"Fragment";case ot:return"Profiler";case Gl:return"StrictMode";case Vl:return"Suspense";case xt:return"SuspenseList";case te:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case vt:return"Portal";case Ut:return(l.displayName||"Context")+".Provider";case ba:return(l._context.displayName||"Context")+".Consumer";case ml:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Ve:return n=l.displayName||null,n!==null?n:Rl(l.type)||"Memo";case Lt:n=l._payload,l=l._init;try{return Rl(l(n))}catch{}}return null}var qt=Array.isArray,A=ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=re.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},ne=[],N=-1;function P(l){return{current:l}}function K(l){0>N||(l.current=ne[N],ne[N]=null,N--)}function ce(l,n){N++,ne[N]=l.current,l.current=n}var ze=P(null),lt=P(null),He=P(null),Hu=P(null);function bt(l,n){switch(ce(He,n),ce(lt,l),ce(ze,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?Su(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=Su(n),l=Uo(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}K(ze),ce(ze,l)}function ll(){K(ze),K(lt),K(He)}function Sa(l){l.memoizedState!==null&&ce(Hu,l);var n=ze.current,u=Uo(n,l.type);n!==u&&(ce(lt,l),ce(ze,u))}function Rc(l){lt.current===l&&(K(ze),K(lt)),Hu.current===l&&(K(Hu),ea._currentValue=Z)}var js=Object.prototype.hasOwnProperty,zc=j.unstable_scheduleCallback,mh=j.unstable_cancelCallback,iv=j.unstable_shouldYield,Dc=j.unstable_requestPaint,la=j.unstable_now,Po=j.unstable_getCurrentPriorityLevel,s0=j.unstable_ImmediatePriority,ph=j.unstable_UserBlockingPriority,ef=j.unstable_NormalPriority,vh=j.unstable_LowPriority,Bi=j.unstable_IdlePriority,ov=j.log,r0=j.unstable_setDisableYieldValue,qi=null,zl=null;function Fn(l){if(typeof ov=="function"&&r0(l),zl&&typeof zl.setStrictMode=="function")try{zl.setStrictMode(qi,l)}catch{}}var Xl=Math.clz32?Math.clz32:fv,gh=Math.log,d0=Math.LN2;function fv(l){return l>>>=0,l===0?32:31-(gh(l)/d0|0)|0}var Yi=256,In=4194304;function aa(l){var n=l&42;if(n!==0)return n;switch(l&-l){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:case 262144:case 524288:case 1048576:case 2097152:return l&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Cu(l,n,u){var i=l.pendingLanes;if(i===0)return 0;var s=0,r=l.suspendedLanes,y=l.pingedLanes;l=l.warmLanes;var m=i&134217727;return m!==0?(i=m&~r,i!==0?s=aa(i):(y&=m,y!==0?s=aa(y):u||(u=m&~l,u!==0&&(s=aa(u))))):(m=i&~r,m!==0?s=aa(m):y!==0?s=aa(y):u||(u=i&~l,u!==0&&(s=aa(u)))),s===0?0:n!==0&&n!==s&&(n&r)===0&&(r=s&-s,u=n&-n,r>=u||r===32&&(u&4194048)!==0)?n:s}function un(l,n){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&n)===0}function Kt(l,n){switch(l){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 Nu(){var l=Yi;return Yi<<=1,(Yi&4194048)===0&&(Yi=256),l}function Oc(){var l=In;return In<<=1,(In&62914560)===0&&(In=4194304),l}function _u(l){for(var n=[],u=0;31>u;u++)n.push(l);return n}function Mc(l,n){l.pendingLanes|=n,n!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function h0(l,n,u,i,s,r){var y=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var m=l.entanglements,g=l.expirationTimes,D=l.hiddenUpdates;for(u=y&~u;0<u;){var G=31-Xl(u),X=1<<G;m[G]=0,g[G]=-1;var M=D[G];if(M!==null)for(D[G]=null,G=0;G<M.length;G++){var H=M[G];H!==null&&(H.lane&=-536870913)}u&=~X}i!==0&&tf(l,i,0),r!==0&&s===0&&l.tag!==0&&(l.suspendedLanes|=r&~(y&~n))}function tf(l,n,u){l.pendingLanes|=n,l.suspendedLanes&=~n;var i=31-Xl(n);l.entangledLanes|=n,l.entanglements[i]=l.entanglements[i]|1073741824|u&4194090}function lf(l,n){var u=l.entangledLanes|=n;for(l=l.entanglements;u;){var i=31-Xl(u),s=1<<i;s&n|l[i]&n&&(l[i]|=n),u&=~s}}function Xa(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function Qs(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function y0(){var l=Q.p;return l!==0?l:(l=window.event,l===void 0?32:Em(l.type))}function sv(l,n){var u=Q.p;try{return Q.p=l,n()}finally{Q.p=u}}var Yt=Math.random().toString(36).slice(2),kt="__reactFiber$"+Yt,Dl="__reactProps$"+Yt,Gi="__reactContainer$"+Yt,ws="__reactEvents$"+Yt,m0="__reactListeners$"+Yt,Zs="__reactHandles$"+Yt,p0="__reactResources$"+Yt,W="__reactMarker$"+Yt;function af(l){delete l[kt],delete l[Dl],delete l[ws],delete l[m0],delete l[Zs]}function al(l){var n=l[kt];if(n)return n;for(var u=l.parentNode;u;){if(n=u[Gi]||u[kt]){if(u=n.alternate,n.child!==null||u!==null&&u.child!==null)for(l=sl(l);l!==null;){if(u=l[kt])return u;l=sl(l)}return n}l=u,u=l.parentNode}return null}function Uc(l){if(l=l[kt]||l[Gi]){var n=l.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return l}return null}function nf(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l.stateNode;throw Error(x(33))}function Pn(l){var n=l[p0];return n||(n=l[p0]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function Gt(l){l[W]=!0}var uf=new Set,na={};function Bu(l,n){qu(l,n),qu(l+"Capture",n)}function qu(l,n){for(na[l]=n,l=0;l<n.length;l++)uf.add(n[l])}var v0=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]*$"),Ls={},bh={};function g0(l){return js.call(bh,l)?!0:js.call(Ls,l)?!1:v0.test(l)?bh[l]=!0:(Ls[l]=!0,!1)}function eu(l,n,u){if(g0(n))if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":l.removeAttribute(n);return;case"boolean":var i=n.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){l.removeAttribute(n);return}}l.setAttribute(n,""+u)}}function cf(l,n,u){if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(n);return}l.setAttribute(n,""+u)}}function cn(l,n,u,i){if(i===null)l.removeAttribute(u);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttributeNS(n,u,""+i)}}var Js,Sh;function xc(l){if(Js===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);Js=n&&n[1]||"",Sh=-1<u.stack.indexOf(`
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Js+l+Sh}var Ol=!1;function Yu(l,n){if(!l||Ol)return"";Ol=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(n){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(H){var M=H}Reflect.construct(l,[],X)}else{try{X.call()}catch(H){M=H}l.call(X.prototype)}}else{try{throw Error()}catch(H){M=H}(X=l())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(H){if(H&&M&&typeof H.stack=="string")return[H.stack,M.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=i.DetermineComponentFrameRoot(),y=r[0],m=r[1];if(y&&m){var g=y.split(`
`),D=m.split(`
`);for(s=i=0;i<g.length&&!g[i].includes("DetermineComponentFrameRoot");)i++;for(;s<D.length&&!D[s].includes("DetermineComponentFrameRoot");)s++;if(i===g.length||s===D.length)for(i=g.length-1,s=D.length-1;1<=i&&0<=s&&g[i]!==D[s];)s--;for(;1<=i&&0<=s;i--,s--)if(g[i]!==D[s]){if(i!==1||s!==1)do if(i--,s--,0>s||g[i]!==D[s]){var G=`
`+g[i].replace(" at new "," at ");return l.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",l.displayName)),G}while(1<=i&&0<=s);break}}}finally{Ol=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?xc(u):""}function Hc(l){switch(l.tag){case 26:case 27:case 5:return xc(l.type);case 16:return xc("Lazy");case 13:return xc("Suspense");case 19:return xc("SuspenseList");case 0:case 15:return Yu(l.type,!1);case 11:return Yu(l.type.render,!1);case 1:return Yu(l.type,!0);case 31:return xc("Activity");default:return""}}function Th(l){try{var n="";do n+=Hc(l),l=l.return;while(l);return n}catch(u){return`
Error generating stack: `+u.message+`
`+u.stack}}function pl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function of(l){var n=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Eh(l){var n=of(l)?"checked":"value",u=Object.getOwnPropertyDescriptor(l.constructor.prototype,n),i=""+l[n];if(!l.hasOwnProperty(n)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var s=u.get,r=u.set;return Object.defineProperty(l,n,{configurable:!0,get:function(){return s.call(this)},set:function(y){i=""+y,r.call(this,y)}}),Object.defineProperty(l,n,{enumerable:u.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){l._valueTracker=null,delete l[n]}}}}function Gu(l){l._valueTracker||(l._valueTracker=Eh(l))}function Cc(l){if(!l)return!1;var n=l._valueTracker;if(!n)return!0;var u=n.getValue(),i="";return l&&(i=of(l)?l.checked?"true":"false":l.value),l=i,l!==u?(n.setValue(l),!0):!1}function Vi(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var rv=/[\n"\\]/g;function Ta(l){return l.replace(rv,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Ks(l,n,u,i,s,r,y,m){l.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?l.type=y:l.removeAttribute("type"),n!=null?y==="number"?(n===0&&l.value===""||l.value!=n)&&(l.value=""+pl(n)):l.value!==""+pl(n)&&(l.value=""+pl(n)):y!=="submit"&&y!=="reset"||l.removeAttribute("value"),n!=null?ff(l,y,pl(n)):u!=null?ff(l,y,pl(u)):i!=null&&l.removeAttribute("value"),s==null&&r!=null&&(l.defaultChecked=!!r),s!=null&&(l.checked=s&&typeof s!="function"&&typeof s!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?l.name=""+pl(m):l.removeAttribute("name")}function ks(l,n,u,i,s,r,y,m){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(l.type=r),n!=null||u!=null){if(!(r!=="submit"&&r!=="reset"||n!=null))return;u=u!=null?""+pl(u):"",n=n!=null?""+pl(n):u,m||n===l.value||(l.value=n),l.defaultValue=n}i=i??s,i=typeof i!="function"&&typeof i!="symbol"&&!!i,l.checked=m?l.checked:!!i,l.defaultChecked=!!i,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(l.name=y)}function ff(l,n,u){n==="number"&&Vi(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Nc(l,n,u,i){if(l=l.options,n){n={};for(var s=0;s<u.length;s++)n["$"+u[s]]=!0;for(u=0;u<l.length;u++)s=n.hasOwnProperty("$"+l[u].value),l[u].selected!==s&&(l[u].selected=s),s&&i&&(l[u].defaultSelected=!0)}else{for(u=""+pl(u),n=null,s=0;s<l.length;s++){if(l[s].value===u){l[s].selected=!0,i&&(l[s].defaultSelected=!0);return}n!==null||l[s].disabled||(n=l[s])}n!==null&&(n.selected=!0)}}function Ah(l,n,u){if(n!=null&&(n=""+pl(n),n!==l.value&&(l.value=n),u==null)){l.defaultValue!==n&&(l.defaultValue=n);return}l.defaultValue=u!=null?""+pl(u):""}function Rh(l,n,u,i){if(n==null){if(i!=null){if(u!=null)throw Error(x(92));if(qt(i)){if(1<i.length)throw Error(x(93));i=i[0]}u=i}u==null&&(u=""),n=u}u=pl(n),l.defaultValue=u,i=l.textContent,i===u&&i!==""&&i!==null&&(l.value=i)}function Xi(l,n){if(n){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=n;return}}l.textContent=n}var b0=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 $s(l,n,u){var i=n.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?i?l.setProperty(n,""):n==="float"?l.cssFloat="":l[n]="":i?l.setProperty(n,u):typeof u!="number"||u===0||b0.has(n)?n==="float"?l.cssFloat=u:l[n]=(""+u).trim():l[n]=u+"px"}function sf(l,n,u){if(n!=null&&typeof n!="object")throw Error(x(62));if(l=l.style,u!=null){for(var i in u)!u.hasOwnProperty(i)||n!=null&&n.hasOwnProperty(i)||(i.indexOf("--")===0?l.setProperty(i,""):i==="float"?l.cssFloat="":l[i]="");for(var s in n)i=n[s],n.hasOwnProperty(s)&&u[s]!==i&&$s(l,s,i)}else for(var r in n)n.hasOwnProperty(r)&&$s(l,r,n[r])}function _c(l){if(l.indexOf("-")===-1)return!1;switch(l){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 dv=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"]]),S0=/^[\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 rf(l){return S0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var Bc=null;function Ws(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ji=null,Qi=null;function T0(l){var n=Uc(l);if(n&&(l=n.stateNode)){var u=l[Dl]||null;e:switch(l=n.stateNode,n.type){case"input":if(Ks(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),n=u.name,u.type==="radio"&&n!=null){for(u=l;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Ta(""+n)+'"][type="radio"]'),n=0;n<u.length;n++){var i=u[n];if(i!==l&&i.form===l.form){var s=i[Dl]||null;if(!s)throw Error(x(90));Ks(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(n=0;n<u.length;n++)i=u[n],i.form===l.form&&Cc(i)}break e;case"textarea":Ah(l,u.value,u.defaultValue);break e;case"select":n=u.value,n!=null&&Nc(l,!!u.multiple,n,!1)}}}var zh=!1;function wi(l,n,u){if(zh)return l(n,u);zh=!0;try{var i=l(n);return i}finally{if(zh=!1,(ji!==null||Qi!==null)&&(hi(),ji&&(n=ji,l=Qi,Qi=ji=null,T0(n),l)))for(n=0;n<l.length;n++)T0(l[n])}}function qc(l,n){var u=l.stateNode;if(u===null)return null;var i=u[Dl]||null;if(i===null)return null;u=i[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":(i=!i.disabled)||(l=l.type,i=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!i;break e;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(x(231,n,typeof u));return u}var on=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fs=!1;if(on)try{var tu={};Object.defineProperty(tu,"passive",{get:function(){Fs=!0}}),window.addEventListener("test",tu,tu),window.removeEventListener("test",tu,tu)}catch{Fs=!1}var lu=null,Zi=null,Yc=null;function Dh(){if(Yc)return Yc;var l,n=Zi,u=n.length,i,s="value"in lu?lu.value:lu.textContent,r=s.length;for(l=0;l<u&&n[l]===s[l];l++);var y=u-l;for(i=1;i<=y&&n[u-i]===s[r-i];i++);return Yc=s.slice(l,1<i?1-i:void 0)}function nl(l){var n=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&n===13&&(l=13)):l=n,l===10&&(l=13),32<=l||l===13?l:0}function Is(){return!0}function Ps(){return!1}function Ml(l){function n(u,i,s,r,y){this._reactName=u,this._targetInst=s,this.type=i,this.nativeEvent=r,this.target=y,this.currentTarget=null;for(var m in l)l.hasOwnProperty(m)&&(u=l[m],this[m]=u?u(r):r[m]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Is:Ps,this.isPropagationStopped=Ps,this}return _e(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Is)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Is)},persist:function(){},isPersistent:Is}),n}var Vu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},er=Ml(Vu),df=_e({},Vu,{view:0,detail:0}),E0=Ml(df),Oh,tr,hf,Gc=_e({},df,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:au,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==hf&&(hf&&l.type==="mousemove"?(Oh=l.screenX-hf.screenX,tr=l.screenY-hf.screenY):tr=Oh=0,hf=l),Oh)},movementY:function(l){return"movementY"in l?l.movementY:tr}}),Mh=Ml(Gc),A0=_e({},Gc,{dataTransfer:0}),R0=Ml(A0),hv=_e({},df,{relatedTarget:0}),Uh=Ml(hv),yv=_e({},Vu,{animationName:0,elapsedTime:0,pseudoElement:0}),mv=Ml(yv),pv=_e({},Vu,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),yf=Ml(pv),z0=_e({},Vu,{data:0}),xh=Ml(z0),D0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},O0={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"},Hh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function M0(l){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(l):(l=Hh[l])?!!n[l]:!1}function au(){return M0}var Vc=_e({},df,{key:function(l){if(l.key){var n=D0[l.key]||l.key;if(n!=="Unidentified")return n}return l.type==="keypress"?(l=nl(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?O0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:au,charCode:function(l){return l.type==="keypress"?nl(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?nl(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),ja=Ml(Vc),ua=_e({},Gc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mf=Ml(ua),lr=_e({},df,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:au}),Ch=Ml(lr),jl=_e({},Vu,{propertyName:0,elapsedTime:0,pseudoElement:0}),U0=Ml(jl),ar=_e({},Gc,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),Xc=Ml(ar),Nh=_e({},Vu,{newState:0,oldState:0}),x0=Ml(Nh),H0=[9,13,27,32],pf=on&&"CompositionEvent"in window,vf=null;on&&"documentMode"in document&&(vf=document.documentMode);var _h=on&&"TextEvent"in window&&!vf,fn=on&&(!pf||vf&&8<vf&&11>=vf),Bh=" ",nr=!1;function gf(l,n){switch(l){case"keyup":return H0.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xu(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ju=!1;function qh(l,n){switch(l){case"compositionend":return Xu(n);case"keypress":return n.which!==32?null:(nr=!0,Bh);case"textInput":return l=n.data,l===Bh&&nr?null:l;default:return null}}function jc(l,n){if(ju)return l==="compositionend"||!pf&&gf(l,n)?(l=Dh(),Yc=Zi=lu=null,ju=!1,l):null;switch(l){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 fn&&n.locale!=="ko"?null:n.data;default:return null}}var C0={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 ur(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n==="input"?!!C0[l.type]:n==="textarea"}function cr(l,n,u,i){ji?Qi?Qi.push(i):Qi=[i]:ji=i,n=Mo(n,"onChange"),0<n.length&&(u=new er("onChange","change",null,u,i),l.push({event:u,listeners:n}))}var Qa=null,wa=null;function Yh(l){vi(l,0)}function sn(l){var n=nf(l);if(Cc(n))return l}function Gh(l,n){if(l==="change")return n}var Vh=!1;if(on){var Qc;if(on){var wc="oninput"in document;if(!wc){var Xh=document.createElement("div");Xh.setAttribute("oninput","return;"),wc=typeof Xh.oninput=="function"}Qc=wc}else Qc=!1;Vh=Qc&&(!document.documentMode||9<document.documentMode)}function Li(){Qa&&(Qa.detachEvent("onpropertychange",jh),wa=Qa=null)}function jh(l){if(l.propertyName==="value"&&sn(wa)){var n=[];cr(n,wa,l,Ws(l)),wi(Yh,n)}}function ir(l,n,u){l==="focusin"?(Li(),Qa=n,wa=u,Qa.attachEvent("onpropertychange",jh)):l==="focusout"&&Li()}function Qu(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return sn(wa)}function nu(l,n){if(l==="click")return sn(n)}function Qh(l,n){if(l==="input"||l==="change")return sn(n)}function wh(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var ul=typeof Object.is=="function"?Object.is:wh;function wu(l,n){if(ul(l,n))return!0;if(typeof l!="object"||l===null||typeof n!="object"||n===null)return!1;var u=Object.keys(l),i=Object.keys(n);if(u.length!==i.length)return!1;for(i=0;i<u.length;i++){var s=u[i];if(!js.call(n,s)||!ul(l[s],n[s]))return!1}return!0}function Zu(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function nt(l,n){var u=Zu(l);l=0;for(var i;u;){if(u.nodeType===3){if(i=l+u.textContent.length,l<=n&&i>=n)return{node:u,offset:n-l};l=i}e:{for(;u;){if(u.nextSibling){u=u.n