@pybae/react-material-symbols
Version:
A simple package for adding Material Symbols to any React project.
51 lines (47 loc) • 34.7 kB
JavaScript
(function(oe,Z){typeof exports=="object"&&typeof module<"u"?Z(exports):typeof define=="function"&&define.amd?define(["exports"],Z):(oe=typeof globalThis<"u"?globalThis:oe||self,Z(oe["React Material Symbols"]={}))})(this,function(oe){"use strict";var Z={exports:{}},ae={};/**
* @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 Re;function Ue(){if(Re)return ae;Re=1;var T=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function Y(P,b,w){var S=null;if(w!==void 0&&(S=""+w),b.key!==void 0&&(S=""+b.key),"key"in b){w={};for(var C in b)C!=="key"&&(w[C]=b[C])}else w=b;return b=w.ref,{$$typeof:T,type:P,key:S,ref:b!==void 0?b:null,props:w}}return ae.Fragment=c,ae.jsx=Y,ae.jsxs=Y,ae}var ie={},ye={exports:{}},p={};/**
* @license React
* react.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 we;function He(){if(we)return p;we=1;var T=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),S=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),H=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),x=Symbol.iterator;function L(t){return t===null||typeof t!="object"?null:(t=x&&t[x]||t["@@iterator"],typeof t=="function"?t:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J=Object.assign,V={};function W(t,n,s){this.props=t,this.context=n,this.refs=V,this.updater=s||O}W.prototype.isReactComponent={},W.prototype.setState=function(t,n){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,n,"setState")},W.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function F(){}F.prototype=W.prototype;function ee(t,n,s){this.props=t,this.context=n,this.refs=V,this.updater=s||O}var M=ee.prototype=new F;M.constructor=ee,J(M,W.prototype),M.isPureReactComponent=!0;var ue=Array.isArray,h={H:null,A:null,T:null,S:null,V:null},te=Object.prototype.hasOwnProperty;function re(t,n,s,a,f,y){return s=y.ref,{$$typeof:T,type:t,key:n,ref:s!==void 0?s:null,props:y}}function I(t,n){return re(t.type,n,void 0,void 0,void 0,t.props)}function q(t){return typeof t=="object"&&t!==null&&t.$$typeof===T}function fe(t){var n={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(s){return n[s]})}var R=/\/+/g;function Q(t,n){return typeof t=="object"&&t!==null&&t.key!=null?fe(""+t.key):n.toString(36)}function z(){}function D(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(z,z):(t.status="pending",t.then(function(n){t.status==="pending"&&(t.status="fulfilled",t.value=n)},function(n){t.status==="pending"&&(t.status="rejected",t.reason=n)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function A(t,n,s,a,f){var y=typeof t;(y==="undefined"||y==="boolean")&&(t=null);var l=!1;if(t===null)l=!0;else switch(y){case"bigint":case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case T:case c:l=!0;break;case N:return l=t._init,A(l(t._payload),n,s,a,f)}}if(l)return f=f(t),l=a===""?"."+Q(t,0):a,ue(f)?(s="",l!=null&&(s=l.replace(R,"$&/")+"/"),A(f,n,s,"",function(j){return j})):f!=null&&(q(f)&&(f=I(f,s+(f.key==null||t&&t.key===f.key?"":(""+f.key).replace(R,"$&/")+"/")+l)),n.push(f)),1;l=0;var k=a===""?".":a+":";if(ue(t))for(var d=0;d<t.length;d++)a=t[d],y=k+Q(a,d),l+=A(a,n,s,y,f);else if(d=L(t),typeof d=="function")for(t=d.call(t),d=0;!(a=t.next()).done;)a=a.value,y=k+Q(a,d++),l+=A(a,n,s,y,f);else if(y==="object"){if(typeof t.then=="function")return A(D(t),n,s,a,f);throw n=String(t),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return l}function U(t,n,s){if(t==null)return t;var a=[],f=0;return A(t,a,"","",function(y){return n.call(s,y,f++)}),a}function X(t){if(t._status===-1){var n=t._result;n=n(),n.then(function(s){(t._status===0||t._status===-1)&&(t._status=1,t._result=s)},function(s){(t._status===0||t._status===-1)&&(t._status=2,t._result=s)}),t._status===-1&&(t._status=0,t._result=n)}if(t._status===1)return t._result.default;throw t._result}var G=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function ne(){}return p.Children={map:U,forEach:function(t,n,s){U(t,function(){n.apply(this,arguments)},s)},count:function(t){var n=0;return U(t,function(){n++}),n},toArray:function(t){return U(t,function(n){return n})||[]},only:function(t){if(!q(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},p.Component=W,p.Fragment=Y,p.Profiler=b,p.PureComponent=ee,p.StrictMode=P,p.Suspense=B,p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,p.__COMPILER_RUNTIME={__proto__:null,c:function(t){return h.H.useMemoCache(t)}},p.cache=function(t){return function(){return t.apply(null,arguments)}},p.cloneElement=function(t,n,s){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var a=J({},t.props),f=t.key,y=void 0;if(n!=null)for(l in n.ref!==void 0&&(y=void 0),n.key!==void 0&&(f=""+n.key),n)!te.call(n,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&n.ref===void 0||(a[l]=n[l]);var l=arguments.length-2;if(l===1)a.children=s;else if(1<l){for(var k=Array(l),d=0;d<l;d++)k[d]=arguments[d+2];a.children=k}return re(t.type,f,void 0,void 0,y,a)},p.createContext=function(t){return t={$$typeof:S,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:w,_context:t},t},p.createElement=function(t,n,s){var a,f={},y=null;if(n!=null)for(a in n.key!==void 0&&(y=""+n.key),n)te.call(n,a)&&a!=="key"&&a!=="__self"&&a!=="__source"&&(f[a]=n[a]);var l=arguments.length-2;if(l===1)f.children=s;else if(1<l){for(var k=Array(l),d=0;d<l;d++)k[d]=arguments[d+2];f.children=k}if(t&&t.defaultProps)for(a in l=t.defaultProps,l)f[a]===void 0&&(f[a]=l[a]);return re(t,y,void 0,void 0,null,f)},p.createRef=function(){return{current:null}},p.forwardRef=function(t){return{$$typeof:C,render:t}},p.isValidElement=q,p.lazy=function(t){return{$$typeof:N,_payload:{_status:-1,_result:t},_init:X}},p.memo=function(t,n){return{$$typeof:H,type:t,compare:n===void 0?null:n}},p.startTransition=function(t){var n=h.T,s={};h.T=s;try{var a=t(),f=h.S;f!==null&&f(s,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(ne,G)}catch(y){G(y)}finally{h.T=n}},p.unstable_useCacheRefresh=function(){return h.H.useCacheRefresh()},p.use=function(t){return h.H.use(t)},p.useActionState=function(t,n,s){return h.H.useActionState(t,n,s)},p.useCallback=function(t,n){return h.H.useCallback(t,n)},p.useContext=function(t){return h.H.useContext(t)},p.useDebugValue=function(){},p.useDeferredValue=function(t,n){return h.H.useDeferredValue(t,n)},p.useEffect=function(t,n,s){var a=h.H;if(typeof s=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return a.useEffect(t,n)},p.useId=function(){return h.H.useId()},p.useImperativeHandle=function(t,n,s){return h.H.useImperativeHandle(t,n,s)},p.useInsertionEffect=function(t,n){return h.H.useInsertionEffect(t,n)},p.useLayoutEffect=function(t,n){return h.H.useLayoutEffect(t,n)},p.useMemo=function(t,n){return h.H.useMemo(t,n)},p.useOptimistic=function(t,n){return h.H.useOptimistic(t,n)},p.useReducer=function(t,n,s){return h.H.useReducer(t,n,s)},p.useRef=function(t){return h.H.useRef(t)},p.useState=function(t){return h.H.useState(t)},p.useSyncExternalStore=function(t,n,s){return h.H.useSyncExternalStore(t,n,s)},p.useTransition=function(){return h.H.useTransition()},p.version="19.1.0",p}var ce={exports:{}};/**
* @license React
* react.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.
*/ce.exports;var Te;function xe(){return Te||(Te=1,function(T,c){process.env.NODE_ENV!=="production"&&function(){function Y(e,r){Object.defineProperty(w.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",r[0],r[1])}})}function P(e){return e===null||typeof e!="object"?null:(e=pe&&e[pe]||e["@@iterator"],typeof e=="function"?e:null)}function b(e,r){e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass";var o=e+"."+r;Se[o]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",r,e),Se[o]=!0)}function w(e,r,o){this.props=e,this.context=r,this.refs=he,this.updater=o||Ae}function S(){}function C(e,r,o){this.props=e,this.context=r,this.refs=he,this.updater=o||Ae}function B(e){return""+e}function H(e){try{B(e);var r=!1}catch{r=!0}if(r){r=console;var o=r.error,u=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),B(e)}}function N(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ve?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case t:return"Fragment";case s:return"Profiler";case n:return"StrictMode";case l:return"Suspense";case k:return"SuspenseList";case le:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case ne:return"Portal";case f:return(e.displayName||"Context")+".Provider";case a:return(e._context.displayName||"Context")+".Consumer";case y:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case d:return r=e.displayName||null,r!==null?r:N(e.type)||"Memo";case j:r=e._payload,e=e._init;try{return N(e(r))}catch{}}return null}function x(e){if(e===t)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===j)return"<...>";try{var r=N(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function L(){var e=E.A;return e===null?null:e.getOwner()}function O(){return Error("react-stack-top-frame")}function J(e){if(me.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function V(e,r){function o(){Pe||(Pe=!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)",r))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function W(){var e=N(this.type);return Me[e]||(Me[e]=!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.")),e=this.props.ref,e!==void 0?e:null}function F(e,r,o,u,i,v,m,g){return o=v.ref,e={$$typeof:G,type:e,key:r,props:v,_owner:i},(o!==void 0?o:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:W}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:m}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:g}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function ee(e,r){return r=F(e.type,r,void 0,void 0,e._owner,e.props,e._debugStack,e._debugTask),e._store&&(r._store.validated=e._store.validated),r}function M(e){return typeof e=="object"&&e!==null&&e.$$typeof===G}function ue(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return r[o]})}function h(e,r){return typeof e=="object"&&e!==null&&e.key!=null?(H(e.key),ue(""+e.key)):r.toString(36)}function te(){}function re(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(te,te):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function I(e,r,o,u,i){var v=typeof e;(v==="undefined"||v==="boolean")&&(e=null);var m=!1;if(e===null)m=!0;else switch(v){case"bigint":case"string":case"number":m=!0;break;case"object":switch(e.$$typeof){case G:case ne:m=!0;break;case j:return m=e._init,I(m(e._payload),r,o,u,i)}}if(m){m=e,i=i(m);var g=u===""?"."+h(m,0):u;return Ce(i)?(o="",g!=null&&(o=g.replace(Ye,"$&/")+"/"),I(i,r,o,"",function(K){return K})):i!=null&&(M(i)&&(i.key!=null&&(m&&m.key===i.key||H(i.key)),o=ee(i,o+(i.key==null||m&&m.key===i.key?"":(""+i.key).replace(Ye,"$&/")+"/")+g),u!==""&&m!=null&&M(m)&&m.key==null&&m._store&&!m._store.validated&&(o._store.validated=2),i=o),r.push(i)),1}if(m=0,g=u===""?".":u+":",Ce(e))for(var _=0;_<e.length;_++)u=e[_],v=g+h(u,_),m+=I(u,r,o,v,i);else if(_=P(e),typeof _=="function")for(_===e.entries&&($e||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),$e=!0),e=_.call(e),_=0;!(u=e.next()).done;)u=u.value,v=g+h(u,_++),m+=I(u,r,o,v,i);else if(v==="object"){if(typeof e.then=="function")return I(re(e),r,o,u,i);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return m}function q(e,r,o){if(e==null)return e;var u=[],i=0;return I(e,u,"","",function(v){return r.call(o,v,i++)}),u}function fe(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return r=e._result,r===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,r),"default"in r||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,r),r.default;throw e._result}function R(){var e=E.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function Q(){}function z(e){if(_e===null)try{var r=("require"+Math.random()).slice(0,7);_e=(T&&T[r]).call(T,"timers").setImmediate}catch{_e=function(u){Ie===!1&&(Ie=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var i=new MessageChannel;i.port1.onmessage=u,i.port2.postMessage(void 0)}}return _e(e)}function D(e){return 1<e.length&&typeof AggregateError=="function"?new AggregateError(e):e[0]}function A(e,r){r!==Ee-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ee=r}function U(e,r,o){var u=E.actQueue;if(u!==null)if(u.length!==0)try{X(u),z(function(){return U(e,r,o)});return}catch(i){E.thrownErrors.push(i)}else E.actQueue=null;0<E.thrownErrors.length?(u=D(E.thrownErrors),E.thrownErrors.length=0,o(u)):r(e)}function X(e){if(!ge){ge=!0;var r=0;try{for(;r<e.length;r++){var o=e[r];do{E.didUsePromise=!1;var u=o(!1);if(u!==null){if(E.didUsePromise){e[r]=o,e.splice(0,r);return}o=u}else break}while(1)}e.length=0}catch(i){e.splice(0,r+1),E.thrownErrors.push(i)}finally{ge=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var G=Symbol.for("react.transitional.element"),ne=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),f=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),pe=Symbol.iterator,Se={},Ae={isMounted:function(){return!1},enqueueForceUpdate:function(e){b(e,"forceUpdate")},enqueueReplaceState:function(e){b(e,"replaceState")},enqueueSetState:function(e){b(e,"setState")}},ke=Object.assign,he={};Object.freeze(he),w.prototype.isReactComponent={},w.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var $={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},de;for(de in $)$.hasOwnProperty(de)&&Y(de,$[de]);S.prototype=w.prototype,$=C.prototype=new S,$.constructor=C,ke($,w.prototype),$.isPureReactComponent=!0;var Ce=Array.isArray,Ve=Symbol.for("react.client.reference"),E={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},me=Object.prototype.hasOwnProperty,je=console.createTask?console.createTask:function(){return null};$={"react-stack-bottom-frame":function(e){return e()}};var Pe,Ne,Me={},Fe=$["react-stack-bottom-frame"].bind($,O)(),Qe=je(x(O)),$e=!1,Ye=/\/+/g,Le=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ie=!1,_e=null,Ee=0,ve=!1,ge=!1,De=typeof queueMicrotask=="function"?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:z;$=Object.freeze({__proto__:null,c:function(e){return R().useMemoCache(e)}}),c.Children={map:q,forEach:function(e,r,o){q(e,function(){r.apply(this,arguments)},o)},count:function(e){var r=0;return q(e,function(){r++}),r},toArray:function(e){return q(e,function(r){return r})||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},c.Component=w,c.Fragment=t,c.Profiler=s,c.PureComponent=C,c.StrictMode=n,c.Suspense=l,c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,c.__COMPILER_RUNTIME=$,c.act=function(e){var r=E.actQueue,o=Ee;Ee++;var u=E.actQueue=r!==null?r:[],i=!1;try{var v=e()}catch(_){E.thrownErrors.push(_)}if(0<E.thrownErrors.length)throw A(r,o),e=D(E.thrownErrors),E.thrownErrors.length=0,e;if(v!==null&&typeof v=="object"&&typeof v.then=="function"){var m=v;return De(function(){i||ve||(ve=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(_,K){i=!0,m.then(function(se){if(A(r,o),o===0){try{X(u),z(function(){return U(se,_,K)})}catch(Ke){E.thrownErrors.push(Ke)}if(0<E.thrownErrors.length){var Xe=D(E.thrownErrors);E.thrownErrors.length=0,K(Xe)}}else _(se)},function(se){A(r,o),0<E.thrownErrors.length&&(se=D(E.thrownErrors),E.thrownErrors.length=0),K(se)})}}}var g=v;if(A(r,o),o===0&&(X(u),u.length!==0&&De(function(){i||ve||(ve=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),E.actQueue=null),0<E.thrownErrors.length)throw e=D(E.thrownErrors),E.thrownErrors.length=0,e;return{then:function(_,K){i=!0,o===0?(E.actQueue=u,z(function(){return U(g,_,K)})):_(g)}}},c.cache=function(e){return function(){return e.apply(null,arguments)}},c.captureOwnerStack=function(){var e=E.getCurrentStack;return e===null?null:e()},c.cloneElement=function(e,r,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var u=ke({},e.props),i=e.key,v=e._owner;if(r!=null){var m;e:{if(me.call(r,"ref")&&(m=Object.getOwnPropertyDescriptor(r,"ref").get)&&m.isReactWarning){m=!1;break e}m=r.ref!==void 0}m&&(v=L()),J(r)&&(H(r.key),i=""+r.key);for(g in r)!me.call(r,g)||g==="key"||g==="__self"||g==="__source"||g==="ref"&&r.ref===void 0||(u[g]=r[g])}var g=arguments.length-2;if(g===1)u.children=o;else if(1<g){m=Array(g);for(var _=0;_<g;_++)m[_]=arguments[_+2];u.children=m}for(u=F(e.type,i,void 0,void 0,v,u,e._debugStack,e._debugTask),i=2;i<arguments.length;i++)v=arguments[i],M(v)&&v._store&&(v._store.validated=1);return u},c.createContext=function(e){return e={$$typeof:f,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:a,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},c.createElement=function(e,r,o){for(var u=2;u<arguments.length;u++){var i=arguments[u];M(i)&&i._store&&(i._store.validated=1)}if(u={},i=null,r!=null)for(_ in Ne||!("__self"in r)||"key"in r||(Ne=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),J(r)&&(H(r.key),i=""+r.key),r)me.call(r,_)&&_!=="key"&&_!=="__self"&&_!=="__source"&&(u[_]=r[_]);var v=arguments.length-2;if(v===1)u.children=o;else if(1<v){for(var m=Array(v),g=0;g<v;g++)m[g]=arguments[g+2];Object.freeze&&Object.freeze(m),u.children=m}if(e&&e.defaultProps)for(_ in v=e.defaultProps,v)u[_]===void 0&&(u[_]=v[_]);i&&V(u,typeof e=="function"?e.displayName||e.name||"Unknown":e);var _=1e4>E.recentlyCreatedOwnerStacks++;return F(e,i,void 0,void 0,L(),u,_?Error("react-stack-top-frame"):Fe,_?je(x(e)):Qe)},c.createRef=function(){var e={current:null};return Object.seal(e),e},c.forwardRef=function(e){e!=null&&e.$$typeof===d?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?console.error("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&e.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var r={$$typeof:y,render:e},o;return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return o},set:function(u){o=u,e.name||e.displayName||(Object.defineProperty(e,"name",{value:u}),e.displayName=u)}}),r},c.isValidElement=M,c.lazy=function(e){return{$$typeof:j,_payload:{_status:-1,_result:e},_init:fe}},c.memo=function(e,r){e==null&&console.error("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e),r={$$typeof:d,type:e,compare:r===void 0?null:r};var o;return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return o},set:function(u){o=u,e.name||e.displayName||(Object.defineProperty(e,"name",{value:u}),e.displayName=u)}}),r},c.startTransition=function(e){var r=E.T,o={};E.T=o,o._updatedFibers=new Set;try{var u=e(),i=E.S;i!==null&&i(o,u),typeof u=="object"&&u!==null&&typeof u.then=="function"&&u.then(Q,Le)}catch(v){Le(v)}finally{r===null&&o._updatedFibers&&(e=o._updatedFibers.size,o._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),E.T=r}},c.unstable_useCacheRefresh=function(){return R().useCacheRefresh()},c.use=function(e){return R().use(e)},c.useActionState=function(e,r,o){return R().useActionState(e,r,o)},c.useCallback=function(e,r){return R().useCallback(e,r)},c.useContext=function(e){var r=R();return e.$$typeof===a&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),r.useContext(e)},c.useDebugValue=function(e,r){return R().useDebugValue(e,r)},c.useDeferredValue=function(e,r){return R().useDeferredValue(e,r)},c.useEffect=function(e,r,o){e==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var u=R();if(typeof o=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return u.useEffect(e,r)},c.useId=function(){return R().useId()},c.useImperativeHandle=function(e,r,o){return R().useImperativeHandle(e,r,o)},c.useInsertionEffect=function(e,r){return e==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),R().useInsertionEffect(e,r)},c.useLayoutEffect=function(e,r){return e==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),R().useLayoutEffect(e,r)},c.useMemo=function(e,r){return R().useMemo(e,r)},c.useOptimistic=function(e,r){return R().useOptimistic(e,r)},c.useReducer=function(e,r,o){return R().useReducer(e,r,o)},c.useRef=function(e){return R().useRef(e)},c.useState=function(e){return R().useState(e)},c.useSyncExternalStore=function(e,r,o){return R().useSyncExternalStore(e,r,o)},c.useTransition=function(){return R().useTransition()},c.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(ce,ce.exports)),ce.exports}process.env.NODE_ENV==="production"?ye.exports=He():ye.exports=xe();var be=ye.exports;/**
* @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 Oe;function We(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&function(){function T(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===fe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case V:return"Fragment";case F:return"Profiler";case W:return"StrictMode";case h:return"Suspense";case te:return"SuspenseList";case q:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case J:return"Portal";case M:return(t.displayName||"Context")+".Provider";case ee:return(t._context.displayName||"Context")+".Consumer";case ue:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case re:return n=t.displayName||null,n!==null?n:T(t.type)||"Memo";case I:n=t._payload,t=t._init;try{return T(t(n))}catch{}}return null}function c(t){return""+t}function Y(t){try{c(t);var n=!1}catch{n=!0}if(n){n=console;var s=n.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),c(t)}}function P(t){if(t===V)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===I)return"<...>";try{var n=T(t);return n?"<"+n+">":"<...>"}catch{return"<...>"}}function b(){var t=R.A;return t===null?null:t.getOwner()}function w(){return Error("react-stack-top-frame")}function S(t){if(Q.call(t,"key")){var n=Object.getOwnPropertyDescriptor(t,"key").get;if(n&&n.isReactWarning)return!1}return t.key!==void 0}function C(t,n){function s(){A||(A=!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)",n))}s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}function B(){var t=T(this.type);return U[t]||(U[t]=!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.")),t=this.props.ref,t!==void 0?t:null}function H(t,n,s,a,f,y,l,k){return s=y.ref,t={$$typeof:O,type:t,key:n,props:y,_owner:f},(s!==void 0?s:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:B}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:l}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:k}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function N(t,n,s,a,f,y,l,k){var d=n.children;if(d!==void 0)if(a)if(z(d)){for(a=0;a<d.length;a++)x(d[a]);Object.freeze&&Object.freeze(d)}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 x(d);if(Q.call(n,"key")){d=T(t);var j=Object.keys(n).filter(function(pe){return pe!=="key"});a=0<j.length?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}",ne[d+a]||(j=0<j.length?"{"+j.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} />`,a,d,j,d),ne[d+a]=!0)}if(d=null,s!==void 0&&(Y(s),d=""+s),S(n)&&(Y(n.key),d=""+n.key),"key"in n){s={};for(var le in n)le!=="key"&&(s[le]=n[le])}else s=n;return d&&C(s,typeof t=="function"?t.displayName||t.name||"Unknown":t),H(t,d,y,f,b(),s,l,k)}function x(t){typeof t=="object"&&t!==null&&t.$$typeof===O&&t._store&&(t._store.validated=1)}var L=be,O=Symbol.for("react.transitional.element"),J=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),M=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),te=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),fe=Symbol.for("react.client.reference"),R=L.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,z=Array.isArray,D=console.createTask?console.createTask:function(){return null};L={"react-stack-bottom-frame":function(t){return t()}};var A,U={},X=L["react-stack-bottom-frame"].bind(L,w)(),G=D(P(w)),ne={};ie.Fragment=V,ie.jsx=function(t,n,s,a,f){var y=1e4>R.recentlyCreatedOwnerStacks++;return N(t,n,s,!1,a,f,y?Error("react-stack-top-frame"):X,y?D(P(t)):G)},ie.jsxs=function(t,n,s,a,f){var y=1e4>R.recentlyCreatedOwnerStacks++;return N(t,n,s,!0,a,f,y?Error("react-stack-top-frame"):X,y?D(P(t)):G)}}()),ie}process.env.NODE_ENV==="production"?Z.exports=Ue():Z.exports=We();var qe=Z.exports;const ze=qe.jsx;function Ge(...T){return T.filter(Boolean).map(c=>c.trim()).join(" ")}const Be=be.forwardRef(({icon:T,onClick:c,as:Y,weight:P,fill:b=!1,grade:w,size:S,style:C,color:B,className:H,...N},x)=>{const L=c!==void 0?"button":Y??"span",O={color:B,...C};return b&&(O.fontVariationSettings=[O.fontVariationSettings,'"FILL" 1'].filter(Boolean).join(", ")),P&&(O.fontVariationSettings=[O.fontVariationSettings,`"wght" ${P}`].filter(Boolean).join(", ")),w&&(O.fontVariationSettings=[O.fontVariationSettings,`"GRAD" ${w}`].filter(Boolean).join(", ")),S&&(O.fontVariationSettings=[O.fontVariationSettings,`"opsz" ${S}`].filter(Boolean).join(", "),O.fontSize=S),ze(L,{...N,ref:x,style:O,onClick:c,className:Ge("material-symbols",H),children:T})});oe.MaterialSymbol=Be,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});