@stackone/hub 1.9.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/webcomponent.js +2 -2
- package/dist/webcomponent.js.map +1 -1
- package/package.json +11 -2
package/dist/webcomponent.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var r,n,a={exports:{}},o={};function i(){if(r)return o;r=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||f}function y(){}function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||f}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var w=v.prototype=new y;w.constructor=v,g(w,b.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,C={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function E(t,r,n){var a,o={},i=null,s=null;if(null!=r)for(a in void 0!==r.ref&&(s=r.ref),void 0!==r.key&&(i=""+r.key),r)k.call(r,a)&&!A.hasOwnProperty(a)&&(o[a]=r[a]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(t&&t.defaultProps)for(a in l=t.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:e,type:t,key:i,ref:s,props:o,_owner:C.current}}function S(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var j=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function B(r,n,a,o,i){var s=typeof r;"undefined"!==s&&"boolean"!==s||(r=null);var l=!1;if(null===r)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(r.$$typeof){case e:case t:l=!0}}if(l)return i=i(l=r),r=""===o?"."+P(l,0):o,x(i)?(a="",null!=r&&(a=r.replace(j,"$&/")+"/"),B(i,n,a,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(t,r){return{$$typeof:e,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(j,"$&/")+"/")+r)),n.push(i)),1;if(l=0,o=""===o?".":o+":",x(r))for(var c=0;c<r.length;c++){var u=o+P(s=r[c],c);l+=B(s,n,a,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(r),"function"==typeof u)for(r=u.call(r),c=0;!(s=r.next()).done;)l+=B(s=s.value,n,a,u=o+P(s,c++),i);else if("object"===s)throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return l}function N(e,t,r){if(null==e)return e;var n=[],a=0;return B(e,n,"","",(function(e){return t.call(r,e,a++)})),n}function z(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},D={transition:null},M={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:D,ReactCurrentOwner:C};function F(){throw Error("act(...) is not supported in production builds of React.")}return o.Children={map:N,forEach:function(e,t,r){N(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},o.Component=b,o.Fragment=n,o.Profiler=i,o.PureComponent=v,o.StrictMode=a,o.Suspense=u,o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,o.act=F,o.cloneElement=function(t,r,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var a=g({},t.props),o=t.key,i=t.ref,s=t._owner;if(null!=r){if(void 0!==r.ref&&(i=r.ref,s=C.current),void 0!==r.key&&(o=""+r.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(c in r)k.call(r,c)&&!A.hasOwnProperty(c)&&(a[c]=void 0===r[c]&&void 0!==l?l[c]:r[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:e,type:t.type,key:o,ref:i,props:a,_owner:s}},o.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},o.createElement=E,o.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},o.createRef=function(){return{current:null}},o.forwardRef=function(e){return{$$typeof:c,render:e}},o.isValidElement=S,o.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:z}},o.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},o.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},o.unstable_act=F,o.useCallback=function(e,t){return O.current.useCallback(e,t)},o.useContext=function(e){return O.current.useContext(e)},o.useDebugValue=function(){},o.useDeferredValue=function(e){return O.current.useDeferredValue(e)},o.useEffect=function(e,t){return O.current.useEffect(e,t)},o.useId=function(){return O.current.useId()},o.useImperativeHandle=function(e,t,r){return O.current.useImperativeHandle(e,t,r)},o.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},o.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},o.useMemo=function(e,t){return O.current.useMemo(e,t)},o.useReducer=function(e,t,r){return O.current.useReducer(e,t,r)},o.useRef=function(e){return O.current.useRef(e)},o.useState=function(e){return O.current.useState(e)},o.useSyncExternalStore=function(e,t,r){return O.current.useSyncExternalStore(e,t,r)},o.useTransition=function(){return O.current.useTransition()},o.version="18.3.1",o}function s(){return n||(n=1,a.exports=i()),a.exports}var l,c,u,d,h,p=s(),f=e(p),g={},m={exports:{}},b={},y={exports:{}},v={};function w(){return c||(c=1,y.exports=(l||(l=1,function(e){function t(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(!(0<a(o,t)))break e;e[n]=t,e[r]=o,r=n}}function r(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var s=2*(n+1)-1,l=e[s],c=s+1,u=e[c];if(0>a(l,r))c<o&&0>a(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[s]=r,n=s);else{if(!(c<o&&0>a(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],c=[],u=1,d=null,h=3,p=!1,f=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function v(e){for(var a=r(c);null!==a;){if(null===a.callback)n(c);else{if(!(a.startTime<=e))break;n(c),a.sortIndex=a.expirationTime,t(l,a)}a=r(c)}}function w(e){if(g=!1,v(e),!f)if(null!==r(l))f=!0,O(x);else{var t=r(c);null!==t&&D(w,t.startTime-e)}}function x(t,a){f=!1,g&&(g=!1,b(E),E=-1),p=!0;var o=h;try{for(v(a),d=r(l);null!==d&&(!(d.expirationTime>a)||t&&!P());){var i=d.callback;if("function"==typeof i){d.callback=null,h=d.priorityLevel;var s=i(d.expirationTime<=a);a=e.unstable_now(),"function"==typeof s?d.callback=s:d===r(l)&&n(l),v(a)}else n(l);d=r(l)}if(null!==d)var u=!0;else{var m=r(c);null!==m&&D(w,m.startTime-a),u=!1}return u}finally{d=null,h=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,A=null,E=-1,S=5,j=-1;function P(){return!(e.unstable_now()-j<S)}function B(){if(null!==A){var t=e.unstable_now();j=t;var r=!0;try{r=A(!0,t)}finally{r?k():(C=!1,A=null)}}else C=!1}if("function"==typeof y)k=function(){y(B)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,z=N.port2;N.port1.onmessage=B,k=function(){z.postMessage(null)}}else k=function(){m(B,0)};function O(e){A=e,C||(C=!0,k())}function D(t,r){E=m((function(){t(e.unstable_now())}),r)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){f||p||(f=!0,O(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var r=h;h=t;try{return e()}finally{h=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=h;h=e;try{return t()}finally{h=r}},e.unstable_scheduleCallback=function(n,a,o){var i=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,n){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return n={id:u++,callback:a,priorityLevel:n,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(n.sortIndex=o,t(c,n),null===r(l)&&n===r(c)&&(g?(b(E),E=-1):g=!0,D(w,o-i))):(n.sortIndex=s,t(l,n),f||p||(f=!0,O(x))),n},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}}(v)),v)),y.exports}
|
|
1
|
+
!function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var r,n,a={exports:{}},i={};function o(){if(r)return i;r=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||f}function y(){}function b(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)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,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,C={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function E(t,r,n){var a,i={},o=null,s=null;if(null!=r)for(a in void 0!==r.ref&&(s=r.ref),void 0!==r.key&&(o=""+r.key),r)k.call(r,a)&&!A.hasOwnProperty(a)&&(i[a]=r[a]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(a in l=t.defaultProps)void 0===i[a]&&(i[a]=l[a]);return{$$typeof:e,type:t,key:o,ref:s,props:i,_owner:C.current}}function S(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var j=/\/+/g;function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function I(r,n,a,i,o){var s=typeof r;"undefined"!==s&&"boolean"!==s||(r=null);var l=!1;if(null===r)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(r.$$typeof){case e:case t:l=!0}}if(l)return o=o(l=r),r=""===i?"."+z(l,0):i,x(o)?(a="",null!=r&&(a=r.replace(j,"$&/")+"/"),I(o,n,a,"",(function(e){return e}))):null!=o&&(S(o)&&(o=function(t,r){return{$$typeof:e,type:t.type,key:r,ref:t.ref,props:t.props,_owner:t._owner}}(o,a+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(j,"$&/")+"/")+r)),n.push(o)),1;if(l=0,i=""===i?".":i+":",x(r))for(var u=0;u<r.length;u++){var c=i+z(s=r[u],u);l+=I(s,n,a,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(r),"function"==typeof c)for(r=c.call(r),u=0;!(s=r.next()).done;)l+=I(s=s.value,n,a,c=i+z(s,u++),o);else if("object"===s)throw n=String(r),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(r).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,r){if(null==e)return e;var n=[],a=0;return I(e,n,"","",(function(e){return t.call(r,e,a++)})),n}function _(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},P={transition:null},D={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:C};function T(){throw Error("act(...) is not supported in production builds of React.")}return i.Children={map:O,forEach:function(e,t,r){O(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},i.Component=v,i.Fragment=n,i.Profiler=o,i.PureComponent=b,i.StrictMode=a,i.Suspense=c,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,i.act=T,i.cloneElement=function(t,r,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var a=m({},t.props),i=t.key,o=t.ref,s=t._owner;if(null!=r){if(void 0!==r.ref&&(o=r.ref,s=C.current),void 0!==r.key&&(i=""+r.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(u in r)k.call(r,u)&&!A.hasOwnProperty(u)&&(a[u]=void 0===r[u]&&void 0!==l?l[u]:r[u])}var u=arguments.length-2;if(1===u)a.children=n;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];a.children=l}return{$$typeof:e,type:t.type,key:i,ref:o,props:a,_owner:s}},i.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},i.createElement=E,i.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},i.createRef=function(){return{current:null}},i.forwardRef=function(e){return{$$typeof:u,render:e}},i.isValidElement=S,i.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:_}},i.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},i.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},i.unstable_act=T,i.useCallback=function(e,t){return N.current.useCallback(e,t)},i.useContext=function(e){return N.current.useContext(e)},i.useDebugValue=function(){},i.useDeferredValue=function(e){return N.current.useDeferredValue(e)},i.useEffect=function(e,t){return N.current.useEffect(e,t)},i.useId=function(){return N.current.useId()},i.useImperativeHandle=function(e,t,r){return N.current.useImperativeHandle(e,t,r)},i.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},i.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},i.useMemo=function(e,t){return N.current.useMemo(e,t)},i.useReducer=function(e,t,r){return N.current.useReducer(e,t,r)},i.useRef=function(e){return N.current.useRef(e)},i.useState=function(e){return N.current.useState(e)},i.useSyncExternalStore=function(e,t,r){return N.current.useSyncExternalStore(e,t,r)},i.useTransition=function(){return N.current.useTransition()},i.version="18.3.1",i}function s(){return n||(n=1,a.exports=o()),a.exports}var l,u,c,d,p,h=s(),f=e(h),m={},g={exports:{}},v={},y={exports:{}},b={};function w(){return u||(u=1,y.exports=(l||(l=1,function(e){function t(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,i=e[n];if(!(0<a(i,t)))break e;e[n]=t,e[r]=i,r=n}}function r(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length,o=i>>>1;n<o;){var s=2*(n+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,r))u<i&&0>a(c,l)?(e[n]=c,e[u]=r,n=u):(e[n]=l,e[s]=r,n=s);else{if(!(u<i&&0>a(c,r)))break e;e[n]=c,e[u]=r,n=u}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,d=null,p=3,h=!1,f=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var a=r(u);null!==a;){if(null===a.callback)n(u);else{if(!(a.startTime<=e))break;n(u),a.sortIndex=a.expirationTime,t(l,a)}a=r(u)}}function w(e){if(m=!1,b(e),!f)if(null!==r(l))f=!0,N(x);else{var t=r(u);null!==t&&P(w,t.startTime-e)}}function x(t,a){f=!1,m&&(m=!1,v(E),E=-1),h=!0;var i=p;try{for(b(a),d=r(l);null!==d&&(!(d.expirationTime>a)||t&&!z());){var o=d.callback;if("function"==typeof o){d.callback=null,p=d.priorityLevel;var s=o(d.expirationTime<=a);a=e.unstable_now(),"function"==typeof s?d.callback=s:d===r(l)&&n(l),b(a)}else n(l);d=r(l)}if(null!==d)var c=!0;else{var g=r(u);null!==g&&P(w,g.startTime-a),c=!1}return c}finally{d=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,A=null,E=-1,S=5,j=-1;function z(){return!(e.unstable_now()-j<S)}function I(){if(null!==A){var t=e.unstable_now();j=t;var r=!0;try{r=A(!0,t)}finally{r?k():(C=!1,A=null)}}else C=!1}if("function"==typeof y)k=function(){y(I)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,_=O.port2;O.port1.onmessage=I,k=function(){_.postMessage(null)}}else k=function(){g(I,0)};function N(e){A=e,C||(C=!0,k())}function P(t,r){E=g((function(){t(e.unstable_now())}),r)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){f||h||(f=!0,N(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var r=p;p=t;try{return e()}finally{p=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=p;p=e;try{return t()}finally{p=r}},e.unstable_scheduleCallback=function(n,a,i){var o=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?o+i:o,n){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return n={id:c++,callback:a,priorityLevel:n,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>o?(n.sortIndex=i,t(u,n),null===r(l)&&n===r(u)&&(m?(v(E),E=-1):m=!0,P(w,i-o))):(n.sortIndex=s,t(l,n),f||h||(f=!0,N(x))),n},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(e){var t=p;return function(){var r=p;p=t;try{return e.apply(this,arguments)}finally{p=r}}}}(b)),b)),y.exports}
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-dom.production.min.js
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/function x(){if(u)return b;u=1;var e=s(),t=w();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,a={};function o(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(a[e]=t,e=0;e<t.length;e++)n.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),c=Object.prototype.hasOwnProperty,d=/^[: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]*$/,h={},p={};function f(e,t,r,n,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new f(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new f(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new f(e,2,!1,e,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(e){g[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new f(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new f(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new f(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,r,n){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,a,n)&&(r=null),n||null===a?function(e){return!!c.call(p,e)||!c.call(h,e)&&(d.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):a.mustUseProperty?e[a.propertyName]=null===r?3!==a.type&&"":r:(t=a.attributeName,n=a.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(a=a.type)||4===a&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"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(e){var t=e.replace(m,y);g[t]=new f(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(m,y);g[t]=new f(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(m,y);g[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),C=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),P=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),F=Symbol.iterator;function V(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=F&&e[F]||e["@@iterator"])?e:null}var I,R=Object.assign;function T(e){if(void 0===I)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var L=!1;function Q(e,t){if(!e||L)return"";L=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=n.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{L=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?T(e):""}function G(e){switch(e.tag){case 5:return T(e.type);case 16:return T("Lazy");case 13:return T("Suspense");case 19:return T("SuspenseList");case 0:case 2:case 15:return e=Q(e.type,!1);case 11:return e=Q(e.type.render,!1);case 1:return e=Q(e.type,!0);default:return""}}function K(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case A:return"Fragment";case C:return"Portal";case S:return"Profiler";case E:return"StrictMode";case N:return"Suspense";case z:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case B:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:K(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return K(e(t))}catch(e){}}return null}function Y(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return K(t);case 8:return t===E?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function U(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=W(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function _(e,t){var r=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function J(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=H(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function $(e,t){X(e,t);var r=H(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,r):t.hasOwnProperty("defaultValue")&&te(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function te(e,t,r){"number"===t&&Z(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var re=Array.isArray;function ne(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(r=""+H(r),t=null,a=0;a<e.length;a++){if(e[a].value===r)return e[a].selected=!0,void(n&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(r(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(r(92));if(re(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ie(e,t){var r=H(t.value),n=H(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){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 ce(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,de=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,r,n,a){MSApp.execUnsafeLocalFunction((function(){return e(t,r)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function he(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var pe={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},fe=["Webkit","ms","Moz","O"];function ge(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),a=ge(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}Object.keys(pe).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var be=R({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 ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(r(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(r(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(r(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Ce=null,Ae=null;function Ee(e){if(e=va(e)){if("function"!=typeof ke)throw Error(r(280));var t=e.stateNode;t&&(t=xa(t),ke(e.stateNode,e.type,t))}}function Se(e){Ce?Ae?Ae.push(e):Ae=[e]:Ce=e}function je(){if(Ce){var e=Ce,t=Ae;if(Ae=Ce=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Pe(e,t){return e(t)}function Be(){}var Ne=!1;function ze(e,t,r){if(Ne)return e(t,r);Ne=!0;try{return Pe(e,t,r)}finally{Ne=!1,(null!==Ce||null!==Ae)&&(Be(),je())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var a=xa(n);if(null===a)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var De=!1;if(l)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){De=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(e){De=!1}function Fe(e,t,r,n,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var Ve=!1,Ie=null,Re=!1,Te=null,Le={onError:function(e){Ve=!0,Ie=e}};function Qe(e,t,r,n,a,o,i,s,l){Ve=!1,Ie=null,Fe.apply(Le,arguments)}function Ge(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ke(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ye(e){if(Ge(e)!==e)throw Error(r(188))}function He(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Ge(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(a=o.return)){n=a;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ye(o),e;if(i===a)return Ye(o),t;i=i.sibling}throw Error(r(188))}if(n.return!==a.return)n=o,a=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,a=i;break}if(l===a){s=!0,a=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,a=o;break}if(l===a){s=!0,a=i,n=o;break}l=l.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==a)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(e),null!==e?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Ue=t.unstable_scheduleCallback,qe=t.unstable_cancelCallback,Ze=t.unstable_shouldYield,_e=t.unstable_requestPaint,Je=t.unstable_now,Xe=t.unstable_getCurrentPriorityLevel,$e=t.unstable_ImmediatePriority,et=t.unstable_UserBlockingPriority,tt=t.unstable_NormalPriority,rt=t.unstable_LowPriority,nt=t.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&r;if(0!==i){var s=i&~a;0!==s?n=dt(s):0!==(o&=i)&&(n=dt(o))}else 0!==(i=r&~a)?n=dt(i):0!==o&&(n=dt(o));if(0===n)return 0;if(0!==t&&t!==n&&0===(t&a)&&((a=n&-n)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)a=1<<(r=31-it(t)),n|=e[r],t&=~a;return n}function pt(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function bt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=r}function yt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-it(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var xt,kt,Ct,At,Et,St=!1,jt=[],Pt=null,Bt=null,Nt=null,zt=new Map,Ot=new Map,Dt=[],Mt="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 Ft(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Bt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":zt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Vt(e,t,r,n,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&kt(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function It(e){var t=ya(e.target);if(null!==t){var r=Ge(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ke(r)))return e.blockedOn=t,void Et(e.priority,(function(){Ct(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=va(r))&&kt(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);we=n,r.target.dispatchEvent(n),we=null,t.shift()}return!0}function Tt(e,t,r){Rt(e)&&r.delete(t)}function Lt(){St=!1,null!==Pt&&Rt(Pt)&&(Pt=null),null!==Bt&&Rt(Bt)&&(Bt=null),null!==Nt&&Rt(Nt)&&(Nt=null),zt.forEach(Tt),Ot.forEach(Tt)}function Qt(e,r){e.blockedOn===r&&(e.blockedOn=null,St||(St=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Lt)))}function Gt(e){function t(t){return Qt(t,e)}if(0<jt.length){Qt(jt[0],e);for(var r=1;r<jt.length;r++){var n=jt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==Pt&&Qt(Pt,e),null!==Bt&&Qt(Bt,e),null!==Nt&&Qt(Nt,e),zt.forEach(t),Ot.forEach(t),r=0;r<Dt.length;r++)(n=Dt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Dt.length&&null===(r=Dt[0]).blockedOn;)It(r),null===r.blockedOn&&Dt.shift()}var Kt=x.ReactCurrentBatchConfig,Yt=!0;function Ht(e,t,r,n){var a=vt,o=Kt.transition;Kt.transition=null;try{vt=1,Ut(e,t,r,n)}finally{vt=a,Kt.transition=o}}function Wt(e,t,r,n){var a=vt,o=Kt.transition;Kt.transition=null;try{vt=4,Ut(e,t,r,n)}finally{vt=a,Kt.transition=o}}function Ut(e,t,r,n){if(Yt){var a=Zt(e,t,r,n);if(null===a)Yn(e,t,n,qt,r),Ft(e,n);else if(function(e,t,r,n,a){switch(t){case"focusin":return Pt=Vt(Pt,e,t,r,n,a),!0;case"dragenter":return Bt=Vt(Bt,e,t,r,n,a),!0;case"mouseover":return Nt=Vt(Nt,e,t,r,n,a),!0;case"pointerover":var o=a.pointerId;return zt.set(o,Vt(zt.get(o)||null,e,t,r,n,a)),!0;case"gotpointercapture":return o=a.pointerId,Ot.set(o,Vt(Ot.get(o)||null,e,t,r,n,a)),!0}return!1}(a,e,t,r,n))n.stopPropagation();else if(Ft(e,n),4&t&&-1<Mt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&xt(o),null===(o=Zt(e,t,r,n))&&Yn(e,t,n,qt,r),o===a)break;a=o}null!==a&&n.stopPropagation()}else Yn(e,t,n,null,r)}}var qt=null;function Zt(e,t,r,n){if(qt=null,null!==(e=ya(e=xe(n))))if(null===(t=Ge(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=Ke(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function _t(e){switch(e){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(Xe()){case $e:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Jt=null,Xt=null,$t=null;function er(){if($t)return $t;var e,t,r=Xt,n=r.length,a="value"in Jt?Jt.value:Jt.textContent,o=a.length;for(e=0;e<n&&r[e]===a[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===a[o-t];t++);return $t=a.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function ar(e){function t(t,r,n,a,o){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var or,ir,sr,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=ar(lr),ur=R({},lr,{view:0,detail:0}),dr=ar(ur),hr=R({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ar,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(or=e.screenX-sr.screenX,ir=e.screenY-sr.screenY):ir=or=0,sr=e),or)},movementY:function(e){return"movementY"in e?e.movementY:ir}}),pr=ar(hr),fr=ar(R({},hr,{dataTransfer:0})),gr=ar(R({},ur,{relatedTarget:0})),mr=ar(R({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),br=R({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yr=ar(br),vr=ar(R({},lr,{data:0})),wr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xr={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"},kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function Ar(){return Cr}var Er=R({},ur,{key:function(e){if(e.key){var t=wr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ar,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sr=ar(Er),jr=ar(R({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pr=ar(R({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ar})),Br=ar(R({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nr=R({},hr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),zr=ar(Nr),Or=[9,13,27,32],Dr=l&&"CompositionEvent"in window,Mr=null;l&&"documentMode"in document&&(Mr=document.documentMode);var Fr=l&&"TextEvent"in window&&!Mr,Vr=l&&(!Dr||Mr&&8<Mr&&11>=Mr),Ir=String.fromCharCode(32),Rr=!1;function Tr(e,t){switch(e){case"keyup":return-1!==Or.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Qr=!1;var Gr={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 Kr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gr[e.type]:"textarea"===t}function Yr(e,t,r,n){Se(n),0<(t=Wn(t,"onChange")).length&&(r=new cr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Hr=null,Wr=null;function Ur(e){Rn(e,0)}function qr(e){if(q(wa(e)))return e}function Zr(e,t){if("change"===e)return t}var _r=!1;if(l){var Jr;if(l){var Xr="oninput"in document;if(!Xr){var $r=document.createElement("div");$r.setAttribute("oninput","return;"),Xr="function"==typeof $r.oninput}Jr=Xr}else Jr=!1;_r=Jr&&(!document.documentMode||9<document.documentMode)}function en(){Hr&&(Hr.detachEvent("onpropertychange",tn),Wr=Hr=null)}function tn(e){if("value"===e.propertyName&&qr(Wr)){var t=[];Yr(t,Wr,e,xe(e)),ze(Ur,t)}}function rn(e,t,r){"focusin"===e?(en(),Wr=r,(Hr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qr(Wr)}function an(e,t){if("click"===e)return qr(t)}function on(e,t){if("input"===e||"change"===e)return qr(t)}var sn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ln(e,t){if(sn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!c.call(t,a)||!sn(e[a],t[a]))return!1}return!0}function cn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var r,n=cn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=cn(n)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hn(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Z((e=t.contentWindow).document)}return t}function pn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fn(e){var t=hn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dn(r.ownerDocument.documentElement,r)){if(null!==n&&pn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=void 0===n.end?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=un(r,o);var i=un(r,n);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gn=l&&"documentMode"in document&&11>=document.documentMode,mn=null,bn=null,yn=null,vn=!1;function wn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;vn||null==mn||mn!==Z(n)||("selectionStart"in(n=mn)&&pn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},yn&&ln(yn,n)||(yn=n,0<(n=Wn(bn,"onSelect")).length&&(t=new cr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mn)))}function xn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var kn={animationend:xn("Animation","AnimationEnd"),animationiteration:xn("Animation","AnimationIteration"),animationstart:xn("Animation","AnimationStart"),transitionend:xn("Transition","TransitionEnd")},Cn={},An={};function En(e){if(Cn[e])return Cn[e];if(!kn[e])return e;var t,r=kn[e];for(t in r)if(r.hasOwnProperty(t)&&t in An)return Cn[e]=r[t];return e}l&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete kn.animationend.animation,delete kn.animationiteration.animation,delete kn.animationstart.animation),"TransitionEvent"in window||delete kn.transitionend.transition);var Sn=En("animationend"),jn=En("animationiteration"),Pn=En("animationstart"),Bn=En("transitionend"),Nn=new Map,zn="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 On(e,t){Nn.set(e,t),o(t,[e])}for(var Dn=0;Dn<zn.length;Dn++){var Mn=zn[Dn];On(Mn.toLowerCase(),"on"+(Mn[0].toUpperCase()+Mn.slice(1)))}On(Sn,"onAnimationEnd"),On(jn,"onAnimationIteration"),On(Pn,"onAnimationStart"),On("dblclick","onDoubleClick"),On("focusin","onFocus"),On("focusout","onBlur"),On(Bn,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Vn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fn));function In(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,a,o,i,s,l,c){if(Qe.apply(this,arguments),Ve){if(!Ve)throw Error(r(198));var u=Ie;Ve=!1,Ie=null,Re||(Re=!0,Te=u)}}(a,t,void 0,e),e.currentTarget=null}function Rn(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var i=n.length-1;0<=i;i--){var s=n[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;In(a,s,c),o=l}else for(i=0;i<n.length;i++){if(l=(s=n[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;In(a,s,c),o=l}}}if(Re)throw e=Te,Re=!1,Te=null,e}function Tn(e,t){var r=t[ga];void 0===r&&(r=t[ga]=new Set);var n=e+"__bubble";r.has(n)||(Kn(t,e,2,!1),r.add(n))}function Ln(e,t,r){var n=0;t&&(n|=4),Kn(r,e,n,t)}var Qn="_reactListening"+Math.random().toString(36).slice(2);function Gn(e){if(!e[Qn]){e[Qn]=!0,n.forEach((function(t){"selectionchange"!==t&&(Vn.has(t)||Ln(t,!1,e),Ln(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Qn]||(t[Qn]=!0,Ln("selectionchange",!1,t))}}function Kn(e,t,r,n){switch(_t(t)){case 1:var a=Ht;break;case 4:a=Wt;break;default:a=Ut}r=a.bind(null,t,r,e),a=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),n?void 0!==a?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):void 0!==a?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function Yn(e,t,r,n,a){var o=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var s=n.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=n.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ya(s)))return;if(5===(l=i.tag)||6===l){n=o=i;continue e}s=s.parentNode}}n=n.return}ze((function(){var n=o,a=xe(r),i=[];e:{var s=Nn.get(e);if(void 0!==s){var l=cr,c=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Sr;break;case"focusin":c="focus",l=gr;break;case"focusout":c="blur",l=gr;break;case"beforeblur":case"afterblur":l=gr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=fr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pr;break;case Sn:case jn:case Pn:l=mr;break;case Bn:l=Br;break;case"scroll":l=dr;break;case"wheel":l=zr;break;case"copy":case"cut":case"paste":l=yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jr}var u=!!(4&t),d=!u&&"scroll"===e,h=u?null!==s?s+"Capture":null:s;u=[];for(var p,f=n;null!==f;){var g=(p=f).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==h&&(null!=(g=Oe(f,h))&&u.push(Hn(f,g,p)))),d)break;f=f.return}0<u.length&&(s=new l(s,c,null,r,a),i.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===we||!(c=r.relatedTarget||r.fromElement)||!ya(c)&&!c[fa])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?ya(c):null)&&(c!==(d=Ge(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=pr,g="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=jr,g="onPointerLeave",h="onPointerEnter",f="pointer"),d=null==l?s:wa(l),p=null==c?s:wa(c),(s=new u(g,f+"leave",l,r,a)).target=d,s.relatedTarget=p,g=null,ya(a)===n&&((u=new u(h,f+"enter",c,r,a)).target=p,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(h=c,f=0,p=u=l;p;p=Un(p))f++;for(p=0,g=h;g;g=Un(g))p++;for(;0<f-p;)u=Un(u),f--;for(;0<p-f;)h=Un(h),p--;for(;f--;){if(u===h||null!==h&&u===h.alternate)break e;u=Un(u),h=Un(h)}u=null}else u=null;null!==l&&qn(i,s,l,u,!1),null!==c&&null!==d&&qn(i,d,c,u,!0)}if("select"===(l=(s=n?wa(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Zr;else if(Kr(s))if(_r)m=on;else{m=nn;var b=rn}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=an);switch(m&&(m=m(e,n))?Yr(i,m,r,a):(b&&b(e,s,n),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&te(s,"number",s.value)),b=n?wa(n):window,e){case"focusin":(Kr(b)||"true"===b.contentEditable)&&(mn=b,bn=n,yn=null);break;case"focusout":yn=bn=mn=null;break;case"mousedown":vn=!0;break;case"contextmenu":case"mouseup":case"dragend":vn=!1,wn(i,r,a);break;case"selectionchange":if(gn)break;case"keydown":case"keyup":wn(i,r,a)}var y;if(Dr)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Qr?Tr(e,r)&&(v="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(v="onCompositionStart");v&&(Vr&&"ko"!==r.locale&&(Qr||"onCompositionStart"!==v?"onCompositionEnd"===v&&Qr&&(y=er()):(Xt="value"in(Jt=a)?Jt.value:Jt.textContent,Qr=!0)),0<(b=Wn(n,v)).length&&(v=new vr(v,e,null,r,a),i.push({event:v,listeners:b}),y?v.data=y:null!==(y=Lr(r))&&(v.data=y))),(y=Fr?function(e,t){switch(e){case"compositionend":return Lr(t);case"keypress":return 32!==t.which?null:(Rr=!0,Ir);case"textInput":return(e=t.data)===Ir&&Rr?null:e;default:return null}}(e,r):function(e,t){if(Qr)return"compositionend"===e||!Dr&&Tr(e,t)?(e=er(),$t=Xt=Jt=null,Qr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vr&&"ko"!==t.locale?null:t.data}}(e,r))&&(0<(n=Wn(n,"onBeforeInput")).length&&(a=new vr("onBeforeInput","beforeinput",null,r,a),i.push({event:a,listeners:n}),a.data=y))}Rn(i,t)}))}function Hn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Wn(e,t){for(var r=t+"Capture",n=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Oe(e,r))&&n.unshift(Hn(e,o,a)),null!=(o=Oe(e,t))&&n.push(Hn(e,o,a))),e=e.return}return n}function Un(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qn(e,t,r,n,a){for(var o=t._reactName,i=[];null!==r&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Oe(r,o))&&i.unshift(Hn(r,l,s)):a||null!=(l=Oe(r,o))&&i.push(Hn(r,l,s))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var Zn=/\r\n?/g,_n=/\u0000|\uFFFD/g;function Jn(e){return("string"==typeof e?e:""+e).replace(Zn,"\n").replace(_n,"")}function Xn(e,t,n){if(t=Jn(t),Jn(e)!==t&&n)throw Error(r(425))}function $n(){}var ea=null,ta=null;function ra(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var na="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:na;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&8===a.nodeType)if("/$"===(r=a.data)){if(0===n)return e.removeChild(a),void Gt(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=a}while(r);Gt(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),ha="__reactFiber$"+da,pa="__reactProps$"+da,fa="__reactContainer$"+da,ga="__reactEvents$"+da,ma="__reactListeners$"+da,ba="__reactHandles$"+da;function ya(e){var t=e[ha];if(t)return t;for(var r=e.parentNode;r;){if(t=r[fa]||r[ha]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=ua(e);null!==e;){if(r=e[ha])return r;e=ua(e)}return t}r=(e=r).parentNode}return null}function va(e){return!(e=e[ha]||e[fa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(r(33))}function xa(e){return e[pa]||null}var ka=[],Ca=-1;function Aa(e){return{current:e}}function Ea(e){0>Ca||(e.current=ka[Ca],ka[Ca]=null,Ca--)}function Sa(e,t){Ca++,ka[Ca]=e.current,e.current=t}var ja={},Pa=Aa(ja),Ba=Aa(!1),Na=ja;function za(e,t){var r=e.type.contextTypes;if(!r)return ja;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in r)o[a]=t[a];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Oa(e){return null!=(e=e.childContextTypes)}function Da(){Ea(Ba),Ea(Pa)}function Ma(e,t,n){if(Pa.current!==ja)throw Error(r(168));Sa(Pa,t),Sa(Ba,n)}function Fa(e,t,n){var a=e.stateNode;if(t=t.childContextTypes,"function"!=typeof a.getChildContext)return n;for(var o in a=a.getChildContext())if(!(o in t))throw Error(r(108,Y(e)||"Unknown",o));return R({},n,a)}function Va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ja,Na=Pa.current,Sa(Pa,e),Sa(Ba,Ba.current),!0}function Ia(e,t,n){var a=e.stateNode;if(!a)throw Error(r(169));n?(e=Fa(e,t,Na),a.__reactInternalMemoizedMergedChildContext=e,Ea(Ba),Ea(Pa),Sa(Pa,e)):Ea(Ba),Sa(Ba,n)}var Ra=null,Ta=!1,La=!1;function Qa(e){null===Ra?Ra=[e]:Ra.push(e)}function Ga(){if(!La&&null!==Ra){La=!0;var e=0,t=vt;try{var r=Ra;for(vt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Ra=null,Ta=!1}catch(t){throw null!==Ra&&(Ra=Ra.slice(e+1)),Ue($e,Ga),t}finally{vt=t,La=!1}}return null}var Ka=[],Ya=0,Ha=null,Wa=0,Ua=[],qa=0,Za=null,_a=1,Ja="";function Xa(e,t){Ka[Ya++]=Wa,Ka[Ya++]=Ha,Ha=e,Wa=t}function $a(e,t,r){Ua[qa++]=_a,Ua[qa++]=Ja,Ua[qa++]=Za,Za=e;var n=_a;e=Ja;var a=32-it(n)-1;n&=~(1<<a),r+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,_a=1<<32-it(t)+a|r<<a|n,Ja=o+e}else _a=1<<o|r<<a|n,Ja=e}function eo(e){null!==e.return&&(Xa(e,1),$a(e,1,0))}function to(e){for(;e===Ha;)Ha=Ka[--Ya],Ka[Ya]=null,Wa=Ka[--Ya],Ka[Ya]=null;for(;e===Za;)Za=Ua[--qa],Ua[qa]=null,Ja=Ua[--qa],Ua[qa]=null,_a=Ua[--qa],Ua[qa]=null}var ro=null,no=null,ao=!1,oo=null;function io(e,t){var r=zc(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function so(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ro=e,no=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ro=e,no=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Za?{id:_a,overflow:Ja}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=zc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ro=e,no=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(ao){var t=no;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(r(418));t=ca(n.nextSibling);var a=ro;t&&so(e,t)?io(a,n):(e.flags=-4097&e.flags|2,ao=!1,ro=e)}}else{if(lo(e))throw Error(r(418));e.flags=-4097&e.flags|2,ao=!1,ro=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ro=e}function ho(e){if(e!==ro)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ra(e.type,e.memoizedProps)),t&&(t=no)){if(lo(e))throw po(),Error(r(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){no=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}no=null}}else no=ro?ca(e.stateNode.nextSibling):null;return!0}function po(){for(var e=no;e;)e=ca(e.nextSibling)}function fo(){no=ro=null,ao=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=x.ReactCurrentBatchConfig;function bo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(r(309));var a=n.stateNode}if(!a)throw Error(r(147,e));var o=a,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function n(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function a(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Dc(e,t)).index=0,e.sibling=null,e}function i(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Ic(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function c(e,t,r,n){var a=r.type;return a===A?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===D&&vo(a)===t.type)?((n=o(t,r.props)).ref=bo(e,t,r),n.return=e,n):((n=Mc(r.type,r.key,r.props,null,e.mode,n)).ref=bo(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Rc(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function d(e,t,r,n,a){return null===t||7!==t.tag?((t=Fc(r,e.mode,n,a)).return=e,t):((t=o(t,r)).return=e,t)}function h(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ic(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(r=Mc(t.type,t.key,t.props,null,e.mode,r)).ref=bo(e,null,t),r.return=e,r;case C:return(t=Rc(t,e.mode,r)).return=e,t;case D:return h(e,(0,t._init)(t._payload),r)}if(re(t)||V(t))return(t=Fc(t,e.mode,r,null)).return=e,t;yo(e,t)}return null}function p(e,t,r,n){var a=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==a?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return r.key===a?c(e,t,r,n):null;case C:return r.key===a?u(e,t,r,n):null;case D:return p(e,t,(a=r._init)(r._payload),n)}if(re(r)||V(r))return null!==a?null:d(e,t,r,n,null);yo(e,r)}return null}function f(e,t,r,n,a){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return c(t,e=e.get(null===n.key?r:n.key)||null,n,a);case C:return u(t,e=e.get(null===n.key?r:n.key)||null,n,a);case D:return f(e,t,r,(0,n._init)(n._payload),a)}if(re(n)||V(n))return d(t,e=e.get(r)||null,n,a,null);yo(t,n)}return null}function g(r,o,s,l){for(var c=null,u=null,d=o,g=o=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var b=p(r,d,s[g],l);if(null===b){null===d&&(d=m);break}e&&d&&null===b.alternate&&t(r,d),o=i(b,o,g),null===u?c=b:u.sibling=b,u=b,d=m}if(g===s.length)return n(r,d),ao&&Xa(r,g),c;if(null===d){for(;g<s.length;g++)null!==(d=h(r,s[g],l))&&(o=i(d,o,g),null===u?c=d:u.sibling=d,u=d);return ao&&Xa(r,g),c}for(d=a(r,d);g<s.length;g++)null!==(m=f(d,r,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),o=i(m,o,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(r,e)})),ao&&Xa(r,g),c}function m(o,s,l,c){var u=V(l);if("function"!=typeof u)throw Error(r(150));if(null==(l=u.call(l)))throw Error(r(151));for(var d=u=null,g=s,m=s=0,b=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(b=g,g=null):b=g.sibling;var v=p(o,g,y.value,c);if(null===v){null===g&&(g=b);break}e&&g&&null===v.alternate&&t(o,g),s=i(v,s,m),null===d?u=v:d.sibling=v,d=v,g=b}if(y.done)return n(o,g),ao&&Xa(o,m),u;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=h(o,y.value,c))&&(s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return ao&&Xa(o,m),u}for(g=a(o,g);!y.done;m++,y=l.next())null!==(y=f(g,o,m,y.value,c))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(o,e)})),ao&&Xa(o,m),u}return function e(r,a,i,l){if("object"==typeof i&&null!==i&&i.type===A&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var c=i.key,u=a;null!==u;){if(u.key===c){if((c=i.type)===A){if(7===u.tag){n(r,u.sibling),(a=o(u,i.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&vo(c)===u.type){n(r,u.sibling),(a=o(u,i.props)).ref=bo(r,u,i),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===A?((a=Fc(i.props.children,r.mode,l,i.key)).return=r,r=a):((l=Mc(i.type,i.key,i.props,null,r.mode,l)).ref=bo(r,a,i),l.return=r,r=l)}return s(r);case C:e:{for(u=i.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Rc(i,r.mode,l)).return=r,r=a}return s(r);case D:return e(r,a,(u=i._init)(i._payload),l)}if(re(i))return g(r,a,i,l);if(V(i))return m(r,a,i,l);yo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Ic(i,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var xo=wo(!0),ko=wo(!1),Co=Aa(null),Ao=null,Eo=null,So=null;function jo(){So=Eo=Ao=null}function Po(e){var t=Co.current;Ea(Co),e._currentValue=t}function Bo(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function No(e,t){Ao=e,So=Eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(vs=!0),e.firstContext=null)}function zo(e){var t=e._currentValue;if(So!==e)if(e={context:e,memoizedValue:t,next:null},null===Eo){if(null===Ao)throw Error(r(308));Eo=e,Ao.dependencies={lanes:0,firstContext:e}}else Eo=Eo.next=e;return t}var Oo=null;function Do(e){null===Oo?Oo=[e]:Oo.push(e)}function Mo(e,t,r,n){var a=t.interleaved;return null===a?(r.next=r,Do(t)):(r.next=a.next,a.next=r),t.interleaved=r,Fo(e,n)}function Fo(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Vo=!1;function Io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ro(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function To(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Lo(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&Pl){var a=n.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),n.pending=t,Fo(e,r)}return null===(a=n.interleaved)?(t.next=t,Do(n)):(t.next=a.next,a.next=t),n.interleaved=t,Fo(e,r)}function Qo(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}function Go(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var a=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?a=o=i:o=o.next=i,r=r.next}while(null!==r);null===o?a=o=t:o=o.next=t}else a=o=t;return r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ko(e,t,r,n){var a=e.updateQueue;Vo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=a.baseState;for(i=0,u=c=l=null,s=o;;){var h=s.lane,p=s.eventTime;if((n&h)===h){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,g=s;switch(h=t,p=r,g.tag){case 1:if("function"==typeof(f=g.payload)){d=f.call(p,d,h);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(h="function"==typeof(f=g.payload)?f.call(p,d,h):f))break e;d=R({},d,h);break e;case 2:Vo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=a.effects)?a.effects=[s]:h.push(s))}else p={eventTime:p,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,i|=h;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(h=s).next,h.next=null,a.lastBaseUpdate=h,a.shared.pending=null}}if(null===u&&(l=d),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Vl|=i,e.lanes=i,e.memoizedState=d}}function Yo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var a=e[t],o=a.callback;if(null!==o){if(a.callback=null,a=n,"function"!=typeof o)throw Error(r(191,o));o.call(a)}}}var Ho={},Wo=Aa(Ho),Uo=Aa(Ho),qo=Aa(Ho);function Zo(e){if(e===Ho)throw Error(r(174));return e}function _o(e,t){switch(Sa(qo,t),Sa(Uo,e),Sa(Wo,Ho),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(Wo),Sa(Wo,t)}function Jo(){Ea(Wo),Ea(Uo),Ea(qo)}function Xo(e){Zo(qo.current);var t=Zo(Wo.current),r=ce(t,e.type);t!==r&&(Sa(Uo,e),Sa(Wo,r))}function $o(e){Uo.current===e&&(Ea(Wo),Ea(Uo))}var ei=Aa(0);function ti(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ri=[];function ni(){for(var e=0;e<ri.length;e++)ri[e]._workInProgressVersionPrimary=null;ri.length=0}var ai=x.ReactCurrentDispatcher,oi=x.ReactCurrentBatchConfig,ii=0,si=null,li=null,ci=null,ui=!1,di=!1,hi=0,pi=0;function fi(){throw Error(r(321))}function gi(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!sn(e[r],t[r]))return!1;return!0}function mi(e,t,n,a,o,i){if(ii=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?$i:es,e=n(a,o),di){i=0;do{if(di=!1,hi=0,25<=i)throw Error(r(301));i+=1,ci=li=null,t.updateQueue=null,ai.current=ts,e=n(a,o)}while(di)}if(ai.current=Xi,t=null!==li&&null!==li.next,ii=0,ci=li=si=null,ui=!1,t)throw Error(r(300));return e}function bi(){var e=0!==hi;return hi=0,e}function yi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ci?si.memoizedState=ci=e:ci=ci.next=e,ci}function vi(){if(null===li){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=li.next;var t=null===ci?si.memoizedState:ci.next;if(null!==t)ci=t,li=e;else{if(null===e)throw Error(r(310));e={memoizedState:(li=e).memoizedState,baseState:li.baseState,baseQueue:li.baseQueue,queue:li.queue,next:null},null===ci?si.memoizedState=ci=e:ci=ci.next=e}return ci}function wi(e,t){return"function"==typeof t?t(e):t}function xi(e){var t=vi(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var a=li,o=a.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}a.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,a=a.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((ii&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),a=u.hasEagerState?u.eagerState:e(a,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=h,s=a):c=c.next=h,si.lanes|=d,Vl|=d}u=u.next}while(null!==u&&u!==i);null===c?s=a:c.next=l,sn(a,t.memoizedState)||(vs=!0),t.memoizedState=a,t.baseState=s,t.baseQueue=c,n.lastRenderedState=a}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,si.lanes|=i,Vl|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ki(e){var t=vi(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var a=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sn(i,t.memoizedState)||(vs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function Ci(){}function Ai(e,t){var n=si,a=vi(),o=t(),i=!sn(a.memoizedState,o);if(i&&(a.memoizedState=o,vs=!0),a=a.queue,Vi(ji.bind(null,n,a,e),[e]),a.getSnapshot!==t||i||null!==ci&&1&ci.memoizedState.tag){if(n.flags|=2048,zi(9,Si.bind(null,n,a,o,t),void 0,null),null===Bl)throw Error(r(349));30&ii||Ei(n,t,o)}return o}function Ei(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Si(e,t,r,n){t.value=r,t.getSnapshot=n,Pi(t)&&Bi(e)}function ji(e,t,r){return r((function(){Pi(t)&&Bi(e)}))}function Pi(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!sn(e,r)}catch(e){return!0}}function Bi(e){var t=Fo(e,1);null!==t&&rc(t,e,1,-1)}function Ni(e){var t=yi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:e},t.queue=e,e=e.dispatch=qi.bind(null,si,e),[t.memoizedState,e]}function zi(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Oi(){return vi().memoizedState}function Di(e,t,r,n){var a=yi();si.flags|=e,a.memoizedState=zi(1|t,r,void 0,void 0===n?null:n)}function Mi(e,t,r,n){var a=vi();n=void 0===n?null:n;var o=void 0;if(null!==li){var i=li.memoizedState;if(o=i.destroy,null!==n&&gi(n,i.deps))return void(a.memoizedState=zi(t,r,o,n))}si.flags|=e,a.memoizedState=zi(1|t,r,o,n)}function Fi(e,t){return Di(8390656,8,e,t)}function Vi(e,t){return Mi(2048,8,e,t)}function Ii(e,t){return Mi(4,2,e,t)}function Ri(e,t){return Mi(4,4,e,t)}function Ti(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Li(e,t,r){return r=null!=r?r.concat([e]):null,Mi(4,4,Ti.bind(null,t,e),r)}function Qi(){}function Gi(e,t){var r=vi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&gi(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Ki(e,t){var r=vi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&gi(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Yi(e,t,r){return 21&ii?(sn(r,t)||(r=gt(),si.lanes|=r,Vl|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=r)}function Hi(e,t){var r=vt;vt=0!==r&&4>r?r:4,e(!0);var n=oi.transition;oi.transition={};try{e(!1),t()}finally{vt=r,oi.transition=n}}function Wi(){return vi().memoizedState}function Ui(e,t,r){var n=tc(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Zi(e))_i(t,r);else if(null!==(r=Mo(e,t,r,n))){rc(r,e,n,ec()),Ji(r,t,n)}}function qi(e,t,r){var n=tc(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Zi(e))_i(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,r);if(a.hasEagerState=!0,a.eagerState=s,sn(s,i)){var l=t.interleaved;return null===l?(a.next=a,Do(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(e){}null!==(r=Mo(e,t,a,n))&&(rc(r,e,n,a=ec()),Ji(r,t,n))}}function Zi(e){var t=e.alternate;return e===si||null!==t&&t===si}function _i(e,t){di=ui=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Ji(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}var Xi={readContext:zo,useCallback:fi,useContext:fi,useEffect:fi,useImperativeHandle:fi,useInsertionEffect:fi,useLayoutEffect:fi,useMemo:fi,useReducer:fi,useRef:fi,useState:fi,useDebugValue:fi,useDeferredValue:fi,useTransition:fi,useMutableSource:fi,useSyncExternalStore:fi,useId:fi,unstable_isNewReconciler:!1},$i={readContext:zo,useCallback:function(e,t){return yi().memoizedState=[e,void 0===t?null:t],e},useContext:zo,useEffect:Fi,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Di(4194308,4,Ti.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Di(4194308,4,e,t)},useInsertionEffect:function(e,t){return Di(4,2,e,t)},useMemo:function(e,t){var r=yi();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=yi();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Ui.bind(null,si,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},yi().memoizedState=e},useState:Ni,useDebugValue:Qi,useDeferredValue:function(e){return yi().memoizedState=e},useTransition:function(){var e=Ni(!1),t=e[0];return e=Hi.bind(null,e[1]),yi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var a=si,o=yi();if(ao){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===Bl)throw Error(r(349));30&ii||Ei(a,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Fi(ji.bind(null,a,i,e),[e]),a.flags|=2048,zi(9,Si.bind(null,a,i,n,t),void 0,null),n},useId:function(){var e=yi(),t=Bl.identifierPrefix;if(ao){var r=Ja;t=":"+t+"R"+(r=(_a&~(1<<32-it(_a)-1)).toString(32)+r),0<(r=hi++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=pi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:zo,useCallback:Gi,useContext:zo,useEffect:Vi,useImperativeHandle:Li,useInsertionEffect:Ii,useLayoutEffect:Ri,useMemo:Ki,useReducer:xi,useRef:Oi,useState:function(){return xi(wi)},useDebugValue:Qi,useDeferredValue:function(e){return Yi(vi(),li.memoizedState,e)},useTransition:function(){return[xi(wi)[0],vi().memoizedState]},useMutableSource:Ci,useSyncExternalStore:Ai,useId:Wi,unstable_isNewReconciler:!1},ts={readContext:zo,useCallback:Gi,useContext:zo,useEffect:Vi,useImperativeHandle:Li,useInsertionEffect:Ii,useLayoutEffect:Ri,useMemo:Ki,useReducer:ki,useRef:Oi,useState:function(){return ki(wi)},useDebugValue:Qi,useDeferredValue:function(e){var t=vi();return null===li?t.memoizedState=e:Yi(t,li.memoizedState,e)},useTransition:function(){return[ki(wi)[0],vi().memoizedState]},useMutableSource:Ci,useSyncExternalStore:Ai,useId:Wi,unstable_isNewReconciler:!1};function rs(e,t){if(e&&e.defaultProps){for(var r in t=R({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function ns(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:R({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var as={isMounted:function(e){return!!(e=e._reactInternals)&&Ge(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ec(),a=tc(e),o=To(n,a);o.payload=t,null!=r&&(o.callback=r),null!==(t=Lo(e,o,a))&&(rc(t,e,a,n),Qo(t,e,a))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ec(),a=tc(e),o=To(n,a);o.tag=1,o.payload=t,null!=r&&(o.callback=r),null!==(t=Lo(e,o,a))&&(rc(t,e,a,n),Qo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ec(),n=tc(e),a=To(r,n);a.tag=2,null!=t&&(a.callback=t),null!==(t=Lo(e,a,n))&&(rc(t,e,n,r),Qo(t,e,n))}};function os(e,t,r,n,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!ln(r,n)||!ln(a,o))}function is(e,t,r){var n=!1,a=ja,o=t.contextType;return"object"==typeof o&&null!==o?o=zo(o):(a=Oa(t)?Na:Pa.current,o=(n=null!=(n=t.contextTypes))?za(e,a):ja),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&as.enqueueReplaceState(t,t.state,null)}function ls(e,t,r,n){var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs={},Io(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=zo(o):(o=Oa(t)?Na:Pa.current,a.context=za(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ns(e,t,o,r),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&as.enqueueReplaceState(a,a.state,null),Ko(e,r,a,n),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var r="",n=t;do{r+=G(n),n=n.return}while(n);var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function us(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function ps(e,t,r){(r=To(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Yl||(Yl=!0,Hl=n),ds(0,t)},r}function fs(e,t,r){(r=To(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!=typeof n&&(null===Wl?Wl=new Set([this]):Wl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function gs(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new hs;var a=new Set;n.set(t,a)}else void 0===(a=n.get(t))&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=Ec.bind(null,e,t,r),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bs(e,t,r,n,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=To(-1,1)).tag=2,Lo(r,t,1))),r.lanes|=1),e)}var ys=x.ReactCurrentOwner,vs=!1;function ws(e,t,r,n){t.child=null===e?ko(t,null,r,n):xo(t,e.child,r,n)}function xs(e,t,r,n,a){r=r.render;var o=t.ref;return No(t,a),n=mi(e,t,r,n,o,a),r=bi(),null===e||vs?(ao&&r&&eo(t),t.flags|=1,ws(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ys(e,t,a))}function ks(e,t,r,n,a){if(null===e){var o=r.type;return"function"!=typeof o||Oc(o)||void 0!==o.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Mc(r.type,null,n,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Cs(e,t,o,n,a))}if(o=e.child,0===(e.lanes&a)){var i=o.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(i,n)&&e.ref===t.ref)return Ys(e,t,a)}return t.flags|=1,(e=Dc(o,n)).ref=t.ref,e.return=t,t.child=e}function Cs(e,t,r,n,a){if(null!==e){var o=e.memoizedProps;if(ln(o,n)&&e.ref===t.ref){if(vs=!1,t.pendingProps=n=o,0===(e.lanes&a))return t.lanes=e.lanes,Ys(e,t,a);131072&e.flags&&(vs=!0)}}return Ss(e,t,r,n,a)}function As(e,t,r){var n=t.pendingProps,a=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Sa(Dl,Ol),Ol|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==o?o.baseLanes:r,Sa(Dl,Ol),Ol|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Sa(Dl,Ol),Ol|=r;else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,Sa(Dl,Ol),Ol|=n;return ws(e,t,a,r),t.child}function Es(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Ss(e,t,r,n,a){var o=Oa(r)?Na:Pa.current;return o=za(t,o),No(t,a),r=mi(e,t,r,n,o,a),n=bi(),null===e||vs?(ao&&n&&eo(t),t.flags|=1,ws(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ys(e,t,a))}function js(e,t,r,n,a){if(Oa(r)){var o=!0;Va(t)}else o=!1;if(No(t,a),null===t.stateNode)Ks(e,t),is(t,r,n),ls(t,r,n,a),n=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=r.contextType;"object"==typeof c&&null!==c?c=zo(c):c=za(t,c=Oa(r)?Na:Pa.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==n||l!==c)&&ss(t,i,n,c),Vo=!1;var h=t.memoizedState;i.state=h,Ko(t,n,i,a),l=t.memoizedState,s!==n||h!==l||Ba.current||Vo?("function"==typeof u&&(ns(t,r,u,n),l=t.memoizedState),(s=Vo||os(t,r,s,n,h,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=c,n=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Ro(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:rs(t.type,s),i.props=c,d=t.pendingProps,h=i.context,"object"==typeof(l=r.contextType)&&null!==l?l=zo(l):l=za(t,l=Oa(r)?Na:Pa.current);var p=r.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||h!==l)&&ss(t,i,n,l),Vo=!1,h=t.memoizedState,i.state=h,Ko(t,n,i,a);var f=t.memoizedState;s!==d||h!==f||Ba.current||Vo?("function"==typeof p&&(ns(t,r,p,n),f=t.memoizedState),(c=Vo||os(t,r,c,n,h,f,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,f,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,f,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=f),i.props=n,i.state=f,i.context=l,n=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),n=!1)}return Ps(e,t,r,n,o,a)}function Ps(e,t,r,n,a,o){Es(e,t);var i=!!(128&t.flags);if(!n&&!i)return a&&Ia(t,r,!1),Ys(e,t,o);n=t.stateNode,ys.current=t;var s=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=n.state,a&&Ia(t,r,!0),t.child}function Bs(e){var t=e.stateNode;t.pendingContext?Ma(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ma(0,t.context,!1),_o(e,t.containerInfo)}function Ns(e,t,r,n,a){return fo(),go(a),t.flags|=256,ws(e,t,r,n),t.child}var zs,Os,Ds,Ms,Fs={dehydrated:null,treeContext:null,retryLane:0};function Vs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Is(e,t,n){var a,o=t.pendingProps,i=ei.current,s=!1,l=!!(128&t.flags);if((a=l)||(a=(null===e||null!==e.memoizedState)&&!!(2&i)),a?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Sa(ei,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},1&o||null===s?s=Vc(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Fc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Vs(n),t.memoizedState=Fs,e):Rs(t,l));if(null!==(i=e.memoizedState)&&null!==(a=i.dehydrated))return function(e,t,n,a,o,i,s){if(n)return 256&t.flags?(t.flags&=-257,Ts(e,t,s,a=us(Error(r(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=a.fallback,o=t.mode,a=Vc({mode:"visible",children:a.children},o,0,null),(i=Fc(i,o,s,null)).flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,1&t.mode&&xo(t,e.child,null,s),t.child.memoizedState=Vs(s),t.memoizedState=Fs,i);if(!(1&t.mode))return Ts(e,t,s,null);if("$!"===o.data){if(a=o.nextSibling&&o.nextSibling.dataset)var l=a.dgst;return a=l,Ts(e,t,s,a=us(i=Error(r(419)),a,void 0))}if(l=0!==(s&e.childLanes),vs||l){if(null!==(a=Bl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(a.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Fo(e,o),rc(a,e,o,-1))}return gc(),Ts(e,t,s,a=us(Error(r(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=jc.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,no=ca(o.nextSibling),ro=t,ao=!0,oo=null,null!==e&&(Ua[qa++]=_a,Ua[qa++]=Ja,Ua[qa++]=Za,_a=e.id,Ja=e.overflow,Za=t),t=Rs(t,a.children),t.flags|=4096,t)}(e,t,l,o,a,i,n);if(s){s=o.fallback,l=t.mode,a=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===i?(o=Dc(i,c)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==a?s=Dc(a,s):(s=Fc(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Vs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Fs,o}return e=(s=e.child).sibling,o=Dc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Rs(e,t){return(t=Vc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ts(e,t,r,n){return null!==n&&go(n),xo(t,e.child,null,r),(e=Rs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ls(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Bo(e.return,t,r)}function Qs(e,t,r,n,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=a)}function Gs(e,t,r){var n=t.pendingProps,a=n.revealOrder,o=n.tail;if(ws(e,t,n.children,r),2&(n=ei.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ls(e,r,t);else if(19===e.tag)Ls(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Sa(ei,n),1&t.mode)switch(a){case"forwards":for(r=t.child,a=null;null!==r;)null!==(e=r.alternate)&&null===ti(e)&&(a=r),r=r.sibling;null===(r=a)?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),Qs(t,!1,a,r,o);break;case"backwards":for(r=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}Qs(t,!0,r,null,o);break;case"together":Qs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ks(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ys(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Vl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Dc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Dc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hs(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ws(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=14680064&a.subtreeFlags,n|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Us(e,t,n){var o=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ws(t),null;case 1:case 17:return Oa(t.type)&&Da(),Ws(t),null;case 3:return o=t.stateNode,Jo(),Ea(Ba),Ea(Pa),ni(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(ho(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(ic(oo),oo=null))),Os(e,t),Ws(t),null;case 5:$o(t);var i=Zo(qo.current);if(n=t.type,null!==e&&null!=t.stateNode)Ds(e,t,n,o,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(null===t.stateNode)throw Error(r(166));return Ws(t),null}if(e=Zo(Wo.current),ho(t)){o=t.stateNode,n=t.type;var s=t.memoizedProps;switch(o[ha]=t,o[pa]=s,e=!!(1&t.mode),n){case"dialog":Tn("cancel",o),Tn("close",o);break;case"iframe":case"object":case"embed":Tn("load",o);break;case"video":case"audio":for(i=0;i<Fn.length;i++)Tn(Fn[i],o);break;case"source":Tn("error",o);break;case"img":case"image":case"link":Tn("error",o),Tn("load",o);break;case"details":Tn("toggle",o);break;case"input":J(o,s),Tn("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!s.multiple},Tn("invalid",o);break;case"textarea":oe(o,s),Tn("invalid",o)}for(var l in ye(n,s),i=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"==typeof c?o.textContent!==c&&(!0!==s.suppressHydrationWarning&&Xn(o.textContent,c,e),i=["children",c]):"number"==typeof c&&o.textContent!==""+c&&(!0!==s.suppressHydrationWarning&&Xn(o.textContent,c,e),i=["children",""+c]):a.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Tn("scroll",o)}switch(n){case"input":U(o),ee(o,s,!0);break;case"textarea":U(o),se(o);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(o.onclick=$n)}o=i,t.updateQueue=o,null!==o&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=l.createElement(n,{is:o.is}):(e=l.createElement(n),"select"===n&&(l=e,o.multiple?l.multiple=!0:o.size&&(l.size=o.size))):e=l.createElementNS(e,n),e[ha]=t,e[pa]=o,zs(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,o),n){case"dialog":Tn("cancel",e),Tn("close",e),i=o;break;case"iframe":case"object":case"embed":Tn("load",e),i=o;break;case"video":case"audio":for(i=0;i<Fn.length;i++)Tn(Fn[i],e);i=o;break;case"source":Tn("error",e),i=o;break;case"img":case"image":case"link":Tn("error",e),Tn("load",e),i=o;break;case"details":Tn("toggle",e),i=o;break;case"input":J(e,o),i=_(e,o),Tn("invalid",e);break;case"option":default:i=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},i=R({},o,{value:void 0}),Tn("invalid",e);break;case"textarea":oe(e,o),i=ae(e,o),Tn("invalid",e)}for(s in ye(n,i),c=i)if(c.hasOwnProperty(s)){var u=c[s];"style"===s?me(e,u):"dangerouslySetInnerHTML"===s?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===s?"string"==typeof u?("textarea"!==n||""!==u)&&he(e,u):"number"==typeof u&&he(e,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(a.hasOwnProperty(s)?null!=u&&"onScroll"===s&&Tn("scroll",e):null!=u&&v(e,s,u,l))}switch(n){case"input":U(e),ee(e,o,!1);break;case"textarea":U(e),se(e);break;case"option":null!=o.value&&e.setAttribute("value",""+H(o.value));break;case"select":e.multiple=!!o.multiple,null!=(s=o.value)?ne(e,!!o.multiple,s,!1):null!=o.defaultValue&&ne(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=$n)}switch(n){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ws(t),null;case 6:if(e&&null!=t.stateNode)Ms(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(r(166));if(n=Zo(qo.current),Zo(Wo.current),ho(t)){if(o=t.stateNode,n=t.memoizedProps,o[ha]=t,(s=o.nodeValue!==n)&&null!==(e=ro))switch(e.tag){case 3:Xn(o.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xn(o.nodeValue,n,!!(1&e.mode))}s&&(t.flags|=4)}else(o=(9===n.nodeType?n:n.ownerDocument).createTextNode(o))[ha]=t,t.stateNode=o}return Ws(t),null;case 13:if(Ea(ei),o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==no&&1&t.mode&&!(128&t.flags))po(),fo(),t.flags|=98560,s=!1;else if(s=ho(t),null!==o&&null!==o.dehydrated){if(null===e){if(!s)throw Error(r(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(r(317));s[ha]=t}else fo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ws(t),s=!1}else null!==oo&&(ic(oo),oo=null),s=!0;if(!s)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((o=null!==o)!==(null!==e&&null!==e.memoizedState)&&o&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===Ml&&(Ml=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ws(t),null);case 4:return Jo(),Os(e,t),null===e&&Gn(t.stateNode.containerInfo),Ws(t),null;case 10:return Po(t.type._context),Ws(t),null;case 19:if(Ea(ei),null===(s=t.memoizedState))return Ws(t),null;if(o=!!(128&t.flags),null===(l=s.rendering))if(o)Hs(s,!1);else{if(0!==Ml||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ti(e))){for(t.flags|=128,Hs(s,!1),null!==(o=l.updateQueue)&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=n,n=t.child;null!==n;)e=o,(s=n).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Sa(ei,1&ei.current|2),t.child}e=e.sibling}null!==s.tail&&Je()>Gl&&(t.flags|=128,o=!0,Hs(s,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=ti(l))){if(t.flags|=128,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Hs(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!ao)return Ws(t),null}else 2*Je()-s.renderingStartTime>Gl&&1073741824!==n&&(t.flags|=128,o=!0,Hs(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=s.last)?n.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Je(),t.sibling=null,n=ei.current,Sa(ei,o?1&n|2:1&n),t):(Ws(t),null);case 22:case 23:return dc(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&1&t.mode?!!(1073741824&Ol)&&(Ws(t),6&t.subtreeFlags&&(t.flags|=8192)):Ws(t),null;case 24:case 25:return null}throw Error(r(156,t.tag))}function qs(e,t){switch(to(t),t.tag){case 1:return Oa(t.type)&&Da(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),Ea(Ba),Ea(Pa),ni(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return $o(t),null;case 13:if(Ea(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));fo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(ei),null;case 4:return Jo(),null;case 10:return Po(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}zs=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Os=function(){},Ds=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Zo(Wo.current);var i,s=null;switch(r){case"input":o=_(e,o),n=_(e,n),s=[];break;case"select":o=R({},o,{value:void 0}),n=R({},n,{value:void 0}),s=[];break;case"textarea":o=ae(e,o),n=ae(e,n),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=$n)}for(u in ye(r,n),r=null,o)if(!n.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(a.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in n){var c=n[u];if(l=null!=o?o[u]:void 0,n.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(r||(r={}),r[i]=c[i])}else r||(s||(s=[]),s.push(u,r)),r=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(s=s||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(s=s||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(a.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Tn("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}r&&(s=s||[]).push("style",r);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Ms=function(e,t,r,n){r!==n&&(t.flags|=4)};var Zs=!1,_s=!1,Js="function"==typeof WeakSet?WeakSet:Set,Xs=null;function $s(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){Ac(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){Ac(e,t,r)}}var tl=!1;function rl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&el(t,r,o)}a=a.next}while(a!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function al(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ha],delete t[pa],delete t[ga],delete t[ma],delete t[ba])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function il(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||il(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=$n));else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function cl(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(cl(e,t,r),e=e.sibling;null!==e;)cl(e,t,r),e=e.sibling}var ul=null,dl=!1;function hl(e,t,r){for(r=r.child;null!==r;)pl(e,t,r),r=r.sibling}function pl(e,t,r){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,r)}catch(e){}switch(r.tag){case 5:_s||$s(r,t);case 6:var n=ul,a=dl;ul=null,hl(e,t,r),dl=a,null!==(ul=n)&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):ul.removeChild(r.stateNode));break;case 18:null!==ul&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?la(e.parentNode,r):1===e.nodeType&&la(e,r),Gt(e)):la(ul,r.stateNode));break;case 4:n=ul,a=dl,ul=r.stateNode.containerInfo,dl=!0,hl(e,t,r),ul=n,dl=a;break;case 0:case 11:case 14:case 15:if(!_s&&(null!==(n=r.updateQueue)&&null!==(n=n.lastEffect))){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&el(r,t,i),a=a.next}while(a!==n)}hl(e,t,r);break;case 1:if(!_s&&($s(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){Ac(r,t,e)}hl(e,t,r);break;case 21:hl(e,t,r);break;case 22:1&r.mode?(_s=(n=_s)||null!==r.memoizedState,hl(e,t,r),_s=n):hl(e,t,r);break;default:hl(e,t,r)}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Js),t.forEach((function(t){var n=Pc.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var a=0;a<n.length;a++){var o=n[a];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(r(160));pl(i,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Ac(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),bl(e),4&a){try{rl(3,e,e.return),nl(3,e)}catch(t){Ac(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Ac(e,e.return,t)}}break;case 1:gl(t,e),bl(e),512&a&&null!==n&&$s(n,n.return);break;case 5:if(gl(t,e),bl(e),512&a&&null!==n&&$s(n,n.return),32&e.flags){var o=e.stateNode;try{he(o,"")}catch(t){Ac(e,e.return,t)}}if(4&a&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&X(o,i),ve(l,s);var u=ve(l,i);for(s=0;s<c.length;s+=2){var d=c[s],h=c[s+1];"style"===d?me(o,h):"dangerouslySetInnerHTML"===d?de(o,h):"children"===d?he(o,h):v(o,d,h,u)}switch(l){case"input":$(o,i);break;case"textarea":ie(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;null!=f?ne(o,!!i.multiple,f,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[pa]=i}catch(t){Ac(e,e.return,t)}}break;case 6:if(gl(t,e),bl(e),4&a){if(null===e.stateNode)throw Error(r(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){Ac(e,e.return,t)}}break;case 3:if(gl(t,e),bl(e),4&a&&null!==n&&n.memoizedState.isDehydrated)try{Gt(t.containerInfo)}catch(t){Ac(e,e.return,t)}break;case 4:default:gl(t,e),bl(e);break;case 13:gl(t,e),bl(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Ql=Je())),4&a&&fl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(_s=(u=_s)||d,gl(t,e),_s=u):gl(t,e),bl(e),8192&a){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Xs=e,d=e.child;null!==d;){for(h=Xs=d;null!==Xs;){switch(f=(p=Xs).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:$s(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){a=p,n=p.return;try{t=a,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){Ac(a,n,e)}}break;case 5:$s(p,p.return);break;case 22:if(null!==p.memoizedState){xl(h);continue}}null!==f?(f.return=p,Xs=f):xl(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{o=h.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=h.stateNode,s=null!=(c=h.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=ge("display",s))}catch(t){Ac(e,e.return,t)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(t){Ac(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:gl(t,e),bl(e),4&a&&fl(e);case 21:}}function bl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(il(n)){var a=n;break e}n=n.return}throw Error(r(160))}switch(a.tag){case 5:var o=a.stateNode;32&a.flags&&(he(o,""),a.flags&=-33),cl(e,sl(e),o);break;case 3:case 4:var i=a.stateNode.containerInfo;ll(e,sl(e),i);break;default:throw Error(r(161))}}catch(t){Ac(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,r){Xs=e,vl(e)}function vl(e,t,r){for(var n=!!(1&e.mode);null!==Xs;){var a=Xs,o=a.child;if(22===a.tag&&n){var i=null!==a.memoizedState||Zs;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||_s;s=Zs;var c=_s;if(Zs=i,(_s=l)&&!c)for(Xs=a;null!==Xs;)l=(i=Xs).child,22===i.tag&&null!==i.memoizedState?kl(a):null!==l?(l.return=i,Xs=l):kl(a);for(;null!==o;)Xs=o,vl(o),o=o.sibling;Xs=a,Zs=s,_s=c}wl(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Xs=o):wl(e)}}function wl(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:_s||nl(5,t);break;case 1:var a=t.stateNode;if(4&t.flags&&!_s)if(null===n)a.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:rs(t.type,n.memoizedProps);a.componentDidUpdate(o,n.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Yo(t,i,a);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Yo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Gt(h)}}}break;default:throw Error(r(163))}_s||512&t.flags&&al(t)}catch(e){Ac(t,t.return,e)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function xl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Xs=r;break}Xs=t.return}}function kl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nl(4,t)}catch(e){Ac(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var a=t.return;try{n.componentDidMount()}catch(e){Ac(t,a,e)}}var o=t.return;try{al(t)}catch(e){Ac(t,o,e)}break;case 5:var i=t.return;try{al(t)}catch(e){Ac(t,i,e)}}}catch(e){Ac(t,t.return,e)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var Cl,Al=Math.ceil,El=x.ReactCurrentDispatcher,Sl=x.ReactCurrentOwner,jl=x.ReactCurrentBatchConfig,Pl=0,Bl=null,Nl=null,zl=0,Ol=0,Dl=Aa(0),Ml=0,Fl=null,Vl=0,Il=0,Rl=0,Tl=null,Ll=null,Ql=0,Gl=1/0,Kl=null,Yl=!1,Hl=null,Wl=null,Ul=!1,ql=null,Zl=0,_l=0,Jl=null,Xl=-1,$l=0;function ec(){return 6&Pl?Je():-1!==Xl?Xl:Xl=Je()}function tc(e){return 1&e.mode?2&Pl&&0!==zl?zl&-zl:null!==mo.transition?(0===$l&&($l=gt()),$l):0!==(e=vt)?e:e=void 0===(e=window.event)?16:_t(e.type):1}function rc(e,t,n,a){if(50<_l)throw _l=0,Jl=null,Error(r(185));bt(e,n,a),2&Pl&&e===Bl||(e===Bl&&(!(2&Pl)&&(Il|=n),4===Ml&&sc(e,zl)),nc(e,a),1===n&&0===Pl&&!(1&t.mode)&&(Gl=Je()+500,Ta&&Ga()))}function nc(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?0!==(s&r)&&0===(s&n)||(a[i]=pt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var n=ht(e,e===Bl?zl:0);if(0===n)null!==r&&qe(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&qe(r),1===t)0===e.tag?function(e){Ta=!0,Qa(e)}(lc.bind(null,e)):Qa(lc.bind(null,e)),ia((function(){!(6&Pl)&&Ga()})),r=null;else{switch(wt(n)){case 1:r=$e;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=Bc(r,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ac(e,t){if(Xl=-1,$l=0,6&Pl)throw Error(r(327));var n=e.callbackNode;if(kc()&&e.callbackNode!==n)return null;var a=ht(e,e===Bl?zl:0);if(0===a)return null;if(30&a||0!==(a&e.expiredLanes)||t)t=mc(e,a);else{t=a;var o=Pl;Pl|=2;var i=fc();for(Bl===e&&zl===t||(Kl=null,Gl=Je()+500,hc(e,t));;)try{yc();break}catch(t){pc(e,t)}jo(),El.current=i,Pl=o,null!==Nl?t=0:(Bl=null,zl=0,t=Ml)}if(0!==t){if(2===t&&(0!==(o=ft(e))&&(a=o,t=oc(e,o))),1===t)throw n=Fl,hc(e,0),sc(e,a),nc(e,Je()),n;if(6===t)sc(e,a);else{if(o=e.current.alternate,!(30&a||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var a=r[n],o=a.getSnapshot;a=a.value;try{if(!sn(o(),a))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=mc(e,a),2===t&&(i=ft(e),0!==i&&(a=i,t=oc(e,i))),1!==t)))throw n=Fl,hc(e,0),sc(e,a),nc(e,Je()),n;switch(e.finishedWork=o,e.finishedLanes=a,t){case 0:case 1:throw Error(r(345));case 2:case 5:xc(e,Ll,Kl);break;case 3:if(sc(e,a),(130023424&a)===a&&10<(t=Ql+500-Je())){if(0!==ht(e,0))break;if(((o=e.suspendedLanes)&a)!==a){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=na(xc.bind(null,e,Ll,Kl),t);break}xc(e,Ll,Kl);break;case 4:if(sc(e,a),(4194240&a)===a)break;for(t=e.eventTimes,o=-1;0<a;){var s=31-it(a);i=1<<s,(s=t[s])>o&&(o=s),a&=~i}if(a=o,10<(a=(120>(a=Je()-a)?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Al(a/1960))-a)){e.timeoutHandle=na(xc.bind(null,e,Ll,Kl),a);break}xc(e,Ll,Kl);break;default:throw Error(r(329))}}}return nc(e,Je()),e.callbackNode===n?ac.bind(null,e):null}function oc(e,t){var r=Tl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Ll,Ll=r,null!==t&&ic(t)),e}function ic(e){null===Ll?Ll=e:Ll.push.apply(Ll,e)}function sc(e,t){for(t&=~Rl,t&=~Il,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-it(t),n=1<<r;e[r]=-1,t&=~n}}function lc(e){if(6&Pl)throw Error(r(327));kc();var t=ht(e,0);if(!(1&t))return nc(e,Je()),null;var n=mc(e,t);if(0!==e.tag&&2===n){var a=ft(e);0!==a&&(t=a,n=oc(e,a))}if(1===n)throw n=Fl,hc(e,0),sc(e,t),nc(e,Je()),n;if(6===n)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Ll,Kl),nc(e,Je()),null}function cc(e,t){var r=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=r)&&(Gl=Je()+500,Ta&&Ga())}}function uc(e){null!==ql&&0===ql.tag&&!(6&Pl)&&kc();var t=Pl;Pl|=1;var r=jl.transition,n=vt;try{if(jl.transition=null,vt=1,e)return e()}finally{vt=n,jl.transition=r,!(6&(Pl=t))&&Ga()}}function dc(){Ol=Dl.current,Ea(Dl)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,aa(r)),null!==Nl)for(r=Nl.return;null!==r;){var n=r;switch(to(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Da();break;case 3:Jo(),Ea(Ba),Ea(Pa),ni();break;case 5:$o(n);break;case 4:Jo();break;case 13:case 19:Ea(ei);break;case 10:Po(n.type._context);break;case 22:case 23:dc()}r=r.return}if(Bl=e,Nl=e=Dc(e.current,null),zl=Ol=t,Ml=0,Fl=null,Rl=Il=Vl=0,Ll=Tl=null,null!==Oo){for(t=0;t<Oo.length;t++)if(null!==(n=(r=Oo[t]).interleaved)){r.interleaved=null;var a=n.next,o=r.pending;if(null!==o){var i=o.next;o.next=a,n.next=i}r.pending=n}Oo=null}return e}function pc(e,t){for(;;){var n=Nl;try{if(jo(),ai.current=Xi,ui){for(var a=si.memoizedState;null!==a;){var o=a.queue;null!==o&&(o.pending=null),a=a.next}ui=!1}if(ii=0,ci=li=si=null,di=!1,hi=0,Sl.current=null,null===n||null===n.return){Ml=1,Fl=t,Nl=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=zl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,h=d.tag;if(!(1&d.mode||0!==h&&11!==h&&15!==h)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=ms(s);if(null!==f){f.flags&=-257,bs(f,s,l,0,t),1&f.mode&&gs(i,u,t),c=u;var g=(t=f).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(!(1&t)){gs(i,u,t),gc();break e}c=Error(r(426))}else if(ao&&1&l.mode){var b=ms(s);if(null!==b){!(65536&b.flags)&&(b.flags|=256),bs(b,s,l,0,t),go(cs(c,l));break e}}i=c=cs(c,l),4!==Ml&&(Ml=2),null===Tl?Tl=[i]:Tl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Go(i,ps(0,c,t));break e;case 1:l=c;var y=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Wl&&Wl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Go(i,fs(i,l,t));break e}}i=i.return}while(null!==i)}wc(n)}catch(e){t=e,Nl===n&&null!==n&&(Nl=n=n.return);continue}break}}function fc(){var e=El.current;return El.current=Xi,null===e?Xi:e}function gc(){0!==Ml&&3!==Ml&&2!==Ml||(Ml=4),null===Bl||!(268435455&Vl)&&!(268435455&Il)||sc(Bl,zl)}function mc(e,t){var n=Pl;Pl|=2;var a=fc();for(Bl===e&&zl===t||(Kl=null,hc(e,t));;)try{bc();break}catch(t){pc(e,t)}if(jo(),Pl=n,El.current=a,null!==Nl)throw Error(r(261));return Bl=null,zl=0,Ml}function bc(){for(;null!==Nl;)vc(Nl)}function yc(){for(;null!==Nl&&!Ze();)vc(Nl)}function vc(e){var t=Cl(e.alternate,e,Ol);e.memoizedProps=e.pendingProps,null===t?wc(e):Nl=t,Sl.current=null}function wc(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=qs(r,t)))return r.flags&=32767,void(Nl=r);if(null===e)return Ml=6,void(Nl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Us(r,t,Ol)))return void(Nl=r);if(null!==(t=t.sibling))return void(Nl=t);Nl=t=e}while(null!==t);0===Ml&&(Ml=5)}function xc(e,t,n){var a=vt,o=jl.transition;try{jl.transition=null,vt=1,function(e,t,n,a){do{kc()}while(null!==ql);if(6&Pl)throw Error(r(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var a=31-it(r),o=1<<a;t[a]=0,n[a]=-1,e[a]=-1,r&=~o}}(e,i),e===Bl&&(Nl=Bl=null,zl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ul||(Ul=!0,Bc(tt,(function(){return kc(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=jl.transition,jl.transition=null;var s=vt;vt=1;var l=Pl;Pl|=4,Sl.current=null,function(e,t){if(ea=Yt,pn(e=hn())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(a&&0!==a.rangeCount){n=a.anchorNode;var o=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,h=e,p=null;t:for(;;){for(var f;h!==n||0!==o&&3!==h.nodeType||(l=s+o),h!==i||0!==a&&3!==h.nodeType||(c=s+a),3===h.nodeType&&(s+=h.nodeValue.length),null!==(f=h.firstChild);)p=h,h=f;for(;;){if(h===e)break t;if(p===n&&++u===o&&(l=s),p===i&&++d===a&&(c=s),null!==(f=h.nextSibling))break;p=(h=p).parentNode}h=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Yt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,b=g.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:rs(t.type,m),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(r(163))}}catch(e){Ac(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}g=tl,tl=!1}(e,n),ml(n,e),fn(ta),Yt=!!ea,ta=ea=null,e.current=n,yl(n),_e(),Pl=l,vt=s,jl.transition=i}else e.current=n;if(Ul&&(Ul=!1,ql=e,Zl=o),i=e.pendingLanes,0===i&&(Wl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),nc(e,Je()),null!==t)for(a=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],a(o.value,{componentStack:o.stack,digest:o.digest});if(Yl)throw Yl=!1,e=Hl,Hl=null,e;!!(1&Zl)&&0!==e.tag&&kc(),i=e.pendingLanes,1&i?e===Jl?_l++:(_l=0,Jl=e):_l=0,Ga()}(e,t,n,a)}finally{jl.transition=o,vt=a}return null}function kc(){if(null!==ql){var e=wt(Zl),t=jl.transition,n=vt;try{if(jl.transition=null,vt=16>e?16:e,null===ql)var a=!1;else{if(e=ql,ql=null,Zl=0,6&Pl)throw Error(r(331));var o=Pl;for(Pl|=4,Xs=e.current;null!==Xs;){var i=Xs,s=i.child;if(16&Xs.flags){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var h=d.child;if(null!==h)h.return=d,Xs=h;else for(;null!==Xs;){var p=(d=Xs).sibling,f=d.return;if(ol(d),d===u){Xs=null;break}if(null!==p){p.return=f,Xs=p;break}Xs=f}}}var g=i.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(null!==m)}}Xs=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Xs=s;else e:for(;null!==Xs;){if(2048&(i=Xs).flags)switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Xs=y;break e}Xs=i.return}}var v=e.current;for(Xs=v;null!==Xs;){var w=(s=Xs).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Xs=w;else e:for(s=v;null!==Xs;){if(2048&(l=Xs).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Ac(l,l.return,e)}if(l===s){Xs=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Xs=x;break e}Xs=l.return}}if(Pl=o,Ga(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(e){}a=!0}return a}finally{vt=n,jl.transition=t}}return!1}function Cc(e,t,r){e=Lo(e,t=ps(0,t=cs(r,t),1),1),t=ec(),null!==e&&(bt(e,1,t),nc(e,t))}function Ac(e,t,r){if(3===e.tag)Cc(e,e,r);else for(;null!==t;){if(3===t.tag){Cc(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Wl||!Wl.has(n))){t=Lo(t,e=fs(t,e=cs(r,e),1),1),e=ec(),null!==t&&(bt(t,1,e),nc(t,e));break}}t=t.return}}function Ec(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&r,Bl===e&&(zl&r)===r&&(4===Ml||3===Ml&&(130023424&zl)===zl&&500>Je()-Ql?hc(e,0):Rl|=r),nc(e,t)}function Sc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var r=ec();null!==(e=Fo(e,t))&&(bt(e,t,r),nc(e,r))}function jc(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Sc(e,r)}function Pc(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(r(314))}null!==a&&a.delete(t),Sc(e,n)}function Bc(e,t){return Ue(e,t)}function Nc(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zc(e,t,r,n){return new Nc(e,t,r,n)}function Oc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Dc(e,t){var r=e.alternate;return null===r?((r=zc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Mc(e,t,n,a,o,i){var s=2;if(a=e,"function"==typeof e)Oc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case A:return Fc(n.children,o,i,t);case E:s=8,o|=8;break;case S:return(e=zc(12,n,t,2|o)).elementType=S,e.lanes=i,e;case N:return(e=zc(13,n,t,o)).elementType=N,e.lanes=i,e;case z:return(e=zc(19,n,t,o)).elementType=z,e.lanes=i,e;case M:return Vc(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:s=10;break e;case P:s=9;break e;case B:s=11;break e;case O:s=14;break e;case D:s=16,a=null;break e}throw Error(r(130,null==e?e:typeof e,""))}return(t=zc(s,n,t,o)).elementType=e,t.type=a,t.lanes=i,t}function Fc(e,t,r,n){return(e=zc(7,e,n,t)).lanes=r,e}function Vc(e,t,r,n){return(e=zc(22,e,n,t)).elementType=M,e.lanes=r,e.stateNode={isHidden:!1},e}function Ic(e,t,r){return(e=zc(6,e,null,t)).lanes=r,e}function Rc(e,t,r){return(t=zc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Tc(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Lc(e,t,r,n,a,o,i,s,l){return e=new Tc(e,t,r,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=zc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Io(o),e}function Qc(e){if(!e)return ja;e:{if(Ge(e=e._reactInternals)!==e||1!==e.tag)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(r(171))}if(1===e.tag){var n=e.type;if(Oa(n))return Fa(e,n,t)}return t}function Gc(e,t,r,n,a,o,i,s,l){return(e=Lc(r,n,!0,e,0,o,0,s,l)).context=Qc(null),r=e.current,(o=To(n=ec(),a=tc(r))).callback=null!=t?t:null,Lo(r,o,a),e.current.lanes=a,bt(e,a,n),nc(e,n),e}function Kc(e,t,r,n){var a=t.current,o=ec(),i=tc(a);return r=Qc(r),null===t.context?t.context=r:t.pendingContext=r,(t=To(o,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Lo(a,t,i))&&(rc(e,a,i,o),Qo(e,a,i)),i}function Yc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Wc(e,t){Hc(e,t),(e=e.alternate)&&Hc(e,t)}Cl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ba.current)vs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return vs=!1,function(e,t,r){switch(t.tag){case 3:Bs(t),fo();break;case 5:Xo(t);break;case 1:Oa(t.type)&&Va(t);break;case 4:_o(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,a=t.memoizedProps.value;Sa(Co,n._currentValue),n._currentValue=a;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Sa(ei,1&ei.current),t.flags|=128,null):0!==(r&t.child.childLanes)?Is(e,t,r):(Sa(ei,1&ei.current),null!==(e=Ys(e,t,r))?e.sibling:null);Sa(ei,1&ei.current);break;case 19:if(n=0!==(r&t.childLanes),128&e.flags){if(n)return Gs(e,t,r);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Sa(ei,ei.current),n)break;return null;case 22:case 23:return t.lanes=0,As(e,t,r)}return Ys(e,t,r)}(e,t,n);vs=!!(131072&e.flags)}else vs=!1,ao&&1048576&t.flags&&$a(t,Wa,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;Ks(e,t),e=t.pendingProps;var o=za(t,Pa.current);No(t,n),o=mi(null,t,a,e,o,n);var i=bi();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oa(a)?(i=!0,Va(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Io(t),o.updater=as,t.stateNode=o,o._reactInternals=t,ls(t,a,e,n),t=Ps(null,t,a,!0,i,n)):(t.tag=0,ao&&i&&eo(t),ws(null,t,o,n),t=t.child),t;case 16:a=t.elementType;e:{switch(Ks(e,t),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return Oc(e)?1:0;if(null!=e){if((e=e.$$typeof)===B)return 11;if(e===O)return 14}return 2}(a),e=rs(a,e),o){case 0:t=Ss(null,t,a,e,n);break e;case 1:t=js(null,t,a,e,n);break e;case 11:t=xs(null,t,a,e,n);break e;case 14:t=ks(null,t,a,rs(a.type,e),n);break e}throw Error(r(306,a,""))}return t;case 0:return a=t.type,o=t.pendingProps,Ss(e,t,a,o=t.elementType===a?o:rs(a,o),n);case 1:return a=t.type,o=t.pendingProps,js(e,t,a,o=t.elementType===a?o:rs(a,o),n);case 3:e:{if(Bs(t),null===e)throw Error(r(387));a=t.pendingProps,o=(i=t.memoizedState).element,Ro(e,t),Ko(t,a,null,n);var s=t.memoizedState;if(a=s.element,i.isDehydrated){if(i={element:a,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ns(e,t,a,n,o=cs(Error(r(423)),t));break e}if(a!==o){t=Ns(e,t,a,n,o=cs(Error(r(424)),t));break e}for(no=ca(t.stateNode.containerInfo.firstChild),ro=t,ao=!0,oo=null,n=ko(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fo(),a===o){t=Ys(e,t,n);break e}ws(e,t,a,n)}t=t.child}return t;case 5:return Xo(t),null===e&&co(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,ra(a,o)?s=null:null!==i&&ra(a,i)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Is(e,t,n);case 4:return _o(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=xo(t,null,a,n):ws(e,t,a,n),t.child;case 11:return a=t.type,o=t.pendingProps,xs(e,t,a,o=t.elementType===a?o:rs(a,o),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(a=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Sa(Co,a._currentValue),a._currentValue=s,null!==i)if(sn(i.value,s)){if(i.children===o.children&&!Ba.current){t=Ys(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===a){if(1===i.tag){(c=To(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Bo(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(r(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Bo(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,a=t.pendingProps.children,No(t,n),a=a(o=zo(o)),t.flags|=1,ws(e,t,a,n),t.child;case 14:return o=rs(a=t.type,t.pendingProps),ks(e,t,a,o=rs(a.type,o),n);case 15:return Cs(e,t,t.type,t.pendingProps,n);case 17:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:rs(a,o),Ks(e,t),t.tag=1,Oa(a)?(e=!0,Va(t)):e=!1,No(t,n),is(t,a,o),ls(t,a,o,n),Ps(null,t,a,!0,e,n);case 19:return Gs(e,t,n);case 22:return As(e,t,n)}throw Error(r(156,t.tag))};var Uc="function"==typeof reportError?reportError:function(e){console.error(e)};function qc(e){this._internalRoot=e}function Zc(e){this._internalRoot=e}function _c(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function $c(e,t,r,n,a){var o=r._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Yc(i);s.call(e)}}Kc(t,i,e,a)}else i=function(e,t,r,n,a){if(a){if("function"==typeof n){var o=n;n=function(){var e=Yc(i);o.call(e)}}var i=Gc(t,n,e,0,null,!1,0,"",Xc);return e._reactRootContainer=i,e[fa]=i.current,Gn(8===e.nodeType?e.parentNode:e),uc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof n){var s=n;n=function(){var e=Yc(l);s.call(e)}}var l=Lc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[fa]=l.current,Gn(8===e.nodeType?e.parentNode:e),uc((function(){Kc(t,l,r,n)})),l}(r,t,e,a,n);return Yc(i)}Zc.prototype.render=qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));Kc(e,t,null,null)},Zc.prototype.unmount=qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Kc(null,e,null,null)})),t[fa]=null}},Zc.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Dt.length&&0!==t&&t<Dt[r].priority;r++);Dt.splice(r,0,e),0===r&&It(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(yt(t,1|r),nc(t,Je()),!(6&Pl)&&(Gl=Je()+500,Ga()))}break;case 13:uc((function(){var t=Fo(e,1);if(null!==t){var r=ec();rc(t,e,1,r)}})),Wc(e,1)}},kt=function(e){if(13===e.tag){var t=Fo(e,134217728);if(null!==t)rc(t,e,134217728,ec());Wc(e,134217728)}},Ct=function(e){if(13===e.tag){var t=tc(e),r=Fo(e,t);if(null!==r)rc(r,e,t,ec());Wc(e,t)}},At=function(){return vt},Et=function(e,t){var r=vt;try{return vt=e,t()}finally{vt=r}},ke=function(e,t,n){switch(t){case"input":if($(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=xa(a);if(!o)throw Error(r(90));q(a),$(a,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=cc,Be=uc;var eu={usingClientEntryPoint:!1,Events:[va,wa,xa,Se,je,cc]},tu={findFiberByHostInstance:ya,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ru={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nu.isDisabled&&nu.supportsFiber)try{at=nu.inject(ru),ot=nu}catch(e){}}return b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,b.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!_c(t))throw Error(r(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,n)},b.createRoot=function(e,t){if(!_c(e))throw Error(r(299));var n=!1,a="",o=Uc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Lc(e,1,!1,null,0,n,0,a,o),e[fa]=t.current,Gn(8===e.nodeType?e.parentNode:e),new qc(t)},b.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=null===(e=He(t))?null:e.stateNode},b.flushSync=function(e){return uc(e)},b.hydrate=function(e,t,n){if(!Jc(t))throw Error(r(200));return $c(null,e,t,!0,n)},b.hydrateRoot=function(e,t,n){if(!_c(e))throw Error(r(405));var a=null!=n&&n.hydratedSources||null,o=!1,i="",s=Uc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Gc(t,null,e,1,null!=n?n:null,o,0,i,s),e[fa]=t.current,Gn(e),a)for(e=0;e<a.length;e++)o=(o=(n=a[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Zc(t)},b.render=function(e,t,n){if(!Jc(t))throw Error(r(200));return $c(null,e,t,!1,n)},b.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(r(40));return!!e._reactRootContainer&&(uc((function(){$c(null,null,e,!1,(function(){e._reactRootContainer=null,e[fa]=null}))})),!0)},b.unstable_batchedUpdates=cc,b.unstable_renderSubtreeIntoContainer=function(e,t,n,a){if(!Jc(n))throw Error(r(200));if(null==e||void 0===e._reactInternals)throw Error(r(38));return $c(e,t,n,!1,a)},b.version="18.3.1-next-f1338f8080-20240426",b}function k(){if(d)return m.exports;return d=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),m.exports=x(),m.exports}var C,A,E=function(){if(h)return g;h=1;var e=k();return g.createRoot=e.createRoot,g.hydrateRoot=e.hydrateRoot,g}(),S={exports:{}},j={};var P=(A||(A=1,S.exports=function(){if(C)return j;C=1;var e=s(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(e,r,i){var s,l={},c=null,u=null;for(s in void 0!==i&&(c=""+i),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(u=r.ref),r)n.call(r,s)&&!o.hasOwnProperty(s)&&(l[s]=r[s]);if(e&&e.defaultProps)for(s in r=e.defaultProps)void 0===l[s]&&(l[s]=r[s]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:a.current}}return j.Fragment=r,j.jsx=i,j.jsxs=i,j}()),S.exports),B=e=>"checkbox"===e.type,N=e=>e instanceof Date,z=e=>null==e;const O=e=>"object"==typeof e;var D=e=>!z(e)&&!Array.isArray(e)&&O(e)&&!N(e),M=e=>D(e)&&e.target?B(e.target)?e.target.checked:e.target.value:e,F=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),V="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function I(e){let t;const r=Array.isArray(e),n="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else{if(V&&(e instanceof Blob||n)||!r&&!D(e))return e;if(t=r?[]:{},r||(e=>{const t=e.constructor&&e.constructor.prototype;return D(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=I(e[r]));else t=e}return t}var R=e=>/^\w*$/.test(e),T=e=>void 0===e,L=e=>Array.isArray(e)?e.filter(Boolean):[],Q=e=>L(e.replace(/["|']|\]/g,"").split(/\.|\[/)),G=(e,t,r)=>{if(!t||!D(e))return r;const n=(R(t)?[t]:Q(t)).reduce(((e,t)=>z(e)?e:e[t]),e);return T(n)||n===e?T(e[t])?r:e[t]:n},K=e=>"boolean"==typeof e,Y=(e,t,r)=>{let n=-1;const a=R(t)?[t]:Q(t),o=a.length,i=o-1;for(;++n<o;){const t=a[n];let o=r;if(n!==i){const r=e[t];o=D(r)||Array.isArray(r)?r:isNaN(+a[n+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=o,e=e[t]}};const H="blur",W="focusout",U="change",q="onBlur",Z="onChange",_="onSubmit",J="onTouched",X="all",$="max",ee="min",te="maxLength",re="minLength",ne="pattern",ae="required",oe="validate",ie=f.createContext(null);ie.displayName="HookFormContext";const se=()=>f.useContext(ie);var le=(e,t,r,n=!0)=>{const a={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(a,o,{get:()=>{const a=o;return t._proxyFormState[a]!==X&&(t._proxyFormState[a]=!n||X),r&&(r[a]=!0),e[a]}});return a};const ce="undefined"!=typeof window?p.useLayoutEffect:p.useEffect;var ue=e=>"string"==typeof e,de=(e,t,r,n,a)=>ue(e)?(n&&t.watch.add(e),G(r,e,a)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),G(r,e)))):(n&&(t.watchAll=!0),r);function he(e){const t=se(),{name:r,disabled:n,control:a=t.control,shouldUnregister:o}=e,i=F(a._names.array,r),s=function(e){const t=se(),{control:r=t.control,name:n,defaultValue:a,disabled:o,exact:i}=e||{},s=f.useRef(a),[l,c]=f.useState(r._getWatch(n,s.current));return ce((()=>r._subscribe({name:n,formState:{values:!0},exact:i,callback:e=>!o&&c(de(n,r._names,e.values||r._formValues,!1,s.current))})),[n,r,o,i]),f.useEffect((()=>r._removeUnmounted())),l}({control:a,name:r,defaultValue:G(a._formValues,r,G(a._defaultValues,r,e.defaultValue)),exact:!0}),l=function(e){const t=se(),{control:r=t.control,disabled:n,name:a,exact:o}=e||{},[i,s]=f.useState(r._formState),l=f.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return ce((()=>r._subscribe({name:a,formState:l.current,exact:o,callback:e=>{!n&&s({...r._formState,...e})}})),[a,n,o]),f.useEffect((()=>{l.current.isValid&&r._setValid(!0)}),[r]),f.useMemo((()=>le(i,r,l.current,!1)),[i,r])}({control:a,name:r,exact:!0}),c=f.useRef(e),u=f.useRef(a.register(r,{...e.rules,value:s,...K(e.disabled)?{disabled:e.disabled}:{}})),d=f.useMemo((()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!G(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!G(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!G(l.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!G(l.validatingFields,r)},error:{enumerable:!0,get:()=>G(l.errors,r)}})),[l,r]),h=f.useCallback((e=>u.current.onChange({target:{value:M(e),name:r},type:U})),[r]),p=f.useCallback((()=>u.current.onBlur({target:{value:G(a._formValues,r),name:r},type:H})),[r,a._formValues]),g=f.useCallback((e=>{const t=G(a._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}),[a._fields,r]),m=f.useMemo((()=>({name:r,value:s,...K(n)||l.disabled?{disabled:l.disabled||n}:{},onChange:h,onBlur:p,ref:g})),[r,n,l.disabled,h,p,g,s]);return f.useEffect((()=>{const e=a._options.shouldUnregister||o;a.register(r,{...c.current.rules,...K(c.current.disabled)?{disabled:c.current.disabled}:{}});const t=(e,t)=>{const r=G(a._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){const e=I(G(a._options.defaultValues,r));Y(a._defaultValues,r,e),T(G(a._formValues,r))&&Y(a._formValues,r,e)}return!i&&a.register(r),()=>{(i?e&&!a._state.action:e)?a.unregister(r):t(r,!1)}}),[r,a,i,o]),f.useEffect((()=>{a._setDisabledField({disabled:n,name:r})}),[n,r,a]),f.useMemo((()=>({field:m,formState:l,fieldState:d})),[m,l,d])}const pe=e=>e.render(he(e));var fe=(e,t,r,n,a)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:a||!0}}:{},ge=e=>Array.isArray(e)?e:[e],me=()=>{let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},be=e=>z(e)||!O(e);function ye(e,t,r=new WeakSet){if(be(e)||be(t))return e===t;if(N(e)&&N(t))return e.getTime()===t.getTime();const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const o of n){const n=e[o];if(!a.includes(o))return!1;if("ref"!==o){const e=t[o];if(N(n)&&N(e)||D(n)&&D(e)||Array.isArray(n)&&Array.isArray(e)?!ye(n,e,r):n!==e)return!1}}return!0}var ve=e=>D(e)&&!Object.keys(e).length,we=e=>"file"===e.type,xe=e=>"function"==typeof e,ke=e=>{if(!V)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Ce=e=>"select-multiple"===e.type,Ae=e=>"radio"===e.type,Ee=e=>ke(e)&&e.isConnected;function Se(e,t){const r=Array.isArray(t)?t:R(t)?[t]:Q(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=T(e)?n++:e[t[n++]];return e}(e,r),a=r.length-1,o=r[a];return n&&delete n[o],0!==a&&(D(n)&&ve(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!T(e[t]))return!1;return!0}(n))&&Se(e,r.slice(0,-1)),e}var je=e=>{for(const t in e)if(xe(e[t]))return!0;return!1};function Pe(e,t={}){const r=Array.isArray(e);if(D(e)||r)for(const r in e)Array.isArray(e[r])||D(e[r])&&!je(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Pe(e[r],t[r])):z(e[r])||(t[r]=!0);return t}function Be(e,t,r){const n=Array.isArray(e);if(D(e)||n)for(const n in e)Array.isArray(e[n])||D(e[n])&&!je(e[n])?T(t)||be(r[n])?r[n]=Array.isArray(e[n])?Pe(e[n],[]):{...Pe(e[n])}:Be(e[n],z(t)?{}:t[n],r[n]):r[n]=!ye(e[n],t[n]);return r}var Ne=(e,t)=>Be(e,t,Pe(t));const ze={value:!1,isValid:!1},Oe={value:!0,isValid:!0};var De=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!T(e[0].attributes.value)?T(e[0].value)||""===e[0].value?Oe:{value:e[0].value,isValid:!0}:Oe:ze}return ze},Me=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>T(e)?e:t?""===e?NaN:e?+e:e:r&&ue(e)?new Date(e):n?n(e):e;const Fe={isValid:!1,value:null};var Ve=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Fe):Fe;function Ie(e){const t=e.ref;return we(t)?t.files:Ae(t)?Ve(e.refs).value:Ce(t)?[...t.selectedOptions].map((({value:e})=>e)):B(t)?De(e.refs).value:Me(T(t.value)?e.ref.value:t.value,e)}var Re=e=>e instanceof RegExp,Te=e=>T(e)?e:Re(e)?e.source:D(e)?Re(e.value)?e.value.source:e.value:e,Le=e=>({isOnSubmit:!e||e===_,isOnBlur:e===q,isOnChange:e===Z,isOnAll:e===X,isOnTouch:e===J});const Qe="AsyncFunction";var Ge=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const Ke=(e,t,r,n)=>{for(const a of r||Object.keys(e)){const r=G(e,a);if(r){const{_f:e,...o}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],a)&&!n)return!0;if(e.ref&&t(e.ref,e.name)&&!n)return!0;if(Ke(o,t))break}else if(D(o)&&Ke(o,t))break}}};function Ye(e,t,r){const n=G(e,r);if(n||R(r))return{error:n,name:r};const a=r.split(".");for(;a.length;){const n=a.join("."),o=G(t,n),i=G(e,n);if(o&&!Array.isArray(o)&&r!==n)return{name:r};if(i&&i.type)return{name:n,error:i};if(i&&i.root&&i.root.type)return{name:`${n}.root`,error:i.root};a.pop()}return{name:r}}var He=(e,t,r)=>{const n=ge(G(e,r));return Y(n,"root",t[r]),Y(e,r,n),e},We=e=>ue(e);function Ue(e,t,r="validate"){if(We(e)||Array.isArray(e)&&e.every(We)||K(e)&&!e)return{type:r,message:We(e)?e:"",ref:t}}var qe=e=>D(e)&&!Re(e)?e:{value:e,message:""},Ze=async(e,t,r,n,a,o)=>{const{ref:i,refs:s,required:l,maxLength:c,minLength:u,min:d,max:h,pattern:p,validate:f,name:g,valueAsNumber:m,mount:b}=e._f,y=G(r,g);if(!b||t.has(g))return{};const v=s?s[0]:i,w=e=>{a&&v.reportValidity&&(v.setCustomValidity(K(e)?"":e||""),v.reportValidity())},x={},k=Ae(i),C=B(i),A=k||C,E=(m||we(i))&&T(i.value)&&T(y)||ke(i)&&""===i.value||""===y||Array.isArray(y)&&!y.length,S=fe.bind(null,g,n,x),j=(e,t,r,n=te,a=re)=>{const o=e?t:r;x[g]={type:e?n:a,message:o,ref:i,...S(e?n:a,o)}};if(o?!Array.isArray(y)||!y.length:l&&(!A&&(E||z(y))||K(y)&&!y||C&&!De(s).isValid||k&&!Ve(s).isValid)){const{value:e,message:t}=We(l)?{value:!!l,message:l}:qe(l);if(e&&(x[g]={type:ae,message:t,ref:v,...S(ae,t)},!n))return w(t),x}if(!(E||z(d)&&z(h))){let e,t;const r=qe(h),a=qe(d);if(z(y)||isNaN(y)){const n=i.valueAsDate||new Date(y),o=e=>new Date((new Date).toDateString()+" "+e),s="time"==i.type,l="week"==i.type;ue(r.value)&&y&&(e=s?o(y)>o(r.value):l?y>r.value:n>new Date(r.value)),ue(a.value)&&y&&(t=s?o(y)<o(a.value):l?y<a.value:n<new Date(a.value))}else{const n=i.valueAsNumber||(y?+y:y);z(r.value)||(e=n>r.value),z(a.value)||(t=n<a.value)}if((e||t)&&(j(!!e,r.message,a.message,$,ee),!n))return w(x[g].message),x}if((c||u)&&!E&&(ue(y)||o&&Array.isArray(y))){const e=qe(c),t=qe(u),r=!z(e.value)&&y.length>+e.value,a=!z(t.value)&&y.length<+t.value;if((r||a)&&(j(r,e.message,t.message),!n))return w(x[g].message),x}if(p&&!E&&ue(y)){const{value:e,message:t}=qe(p);if(Re(e)&&!y.match(e)&&(x[g]={type:ne,message:t,ref:i,...S(ne,t)},!n))return w(t),x}if(f)if(xe(f)){const e=Ue(await f(y,r),v);if(e&&(x[g]={...e,...S(oe,e.message)},!n))return w(e.message),x}else if(D(f)){let e={};for(const t in f){if(!ve(e)&&!n)break;const a=Ue(await f[t](y,r),v,t);a&&(e={...a,...S(t,a.message)},w(a.message),n&&(x[g]=e))}if(!ve(e)&&(x[g]={ref:v,...e},!n))return x}return w(!0),x};const _e={mode:_,reValidateMode:Z,shouldFocusError:!0};function Je(e={}){let t,r={..._e,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:xe(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},a={},o=(D(r.defaultValues)||D(r.values))&&I(r.defaultValues||r.values)||{},i=r.shouldUnregister?{}:I(o),s={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let d={...u};const h={array:me(),state:me()},p=r.criteriaMode===X,f=async e=>{if(!r.disabled&&(u.isValid||d.isValid||e)){const e=r.resolver?ve((await v()).errors):await w(a,!0);e!==n.isValid&&h.state.next({isValid:e})}},g=(e,t)=>{!r.disabled&&(u.isValidating||u.validatingFields||d.isValidating||d.validatingFields)&&((e||Array.from(l.mount)).forEach((e=>{e&&(t?Y(n.validatingFields,e,t):Se(n.validatingFields,e))})),h.state.next({validatingFields:n.validatingFields,isValidating:!ve(n.validatingFields)}))},m=(e,t,r,n)=>{const l=G(a,e);if(l){const a=G(i,e,T(r)?G(o,e):r);T(a)||n&&n.defaultChecked||t?Y(i,e,t?a:Ie(l._f)):C(e,a),s.mount&&f()}},b=(e,t,a,i,s)=>{let l=!1,c=!1;const p={name:e};if(!r.disabled){if(!a||i){(u.isDirty||d.isDirty)&&(c=n.isDirty,n.isDirty=p.isDirty=x(),l=c!==p.isDirty);const r=ye(G(o,e),t);c=!!G(n.dirtyFields,e),r?Se(n.dirtyFields,e):Y(n.dirtyFields,e,!0),p.dirtyFields=n.dirtyFields,l=l||(u.dirtyFields||d.dirtyFields)&&c!==!r}if(a){const t=G(n.touchedFields,e);t||(Y(n.touchedFields,e,a),p.touchedFields=n.touchedFields,l=l||(u.touchedFields||d.touchedFields)&&t!==a)}l&&s&&h.state.next(p)}return l?p:{}},y=(e,a,o,i)=>{const s=G(n.errors,e),l=(u.isValid||d.isValid)&&K(a)&&n.isValid!==a;var p;if(r.delayError&&o?(p=()=>((e,t)=>{Y(n.errors,e,t),h.state.next({errors:n.errors})})(e,o),t=e=>{clearTimeout(c),c=setTimeout(p,e)},t(r.delayError)):(clearTimeout(c),t=null,o?Y(n.errors,e,o):Se(n.errors,e)),(o?!ye(s,o):s)||!ve(i)||l){const t={...i,...l&&K(a)?{isValid:a}:{},errors:n.errors,name:e};n={...n,...t},h.state.next(t)}},v=async e=>{g(e,!0);const t=await r.resolver(i,r.context,((e,t,r,n)=>{const a={};for(const r of e){const e=G(t,r);e&&Y(a,r,e._f)}return{criteriaMode:r,names:[...e],fields:a,shouldUseNativeValidation:n}})(e||l.mount,a,r.criteriaMode,r.shouldUseNativeValidation));return g(e),t},w=async(e,t,a={valid:!0})=>{for(const s in e){const c=e[s];if(c){const{_f:e,...d}=c;if(e){const d=l.array.has(e.name),h=c._f&&(!!(o=c._f)&&!!o.validate&&!!(xe(o.validate)&&o.validate.constructor.name===Qe||D(o.validate)&&Object.values(o.validate).find((e=>e.constructor.name===Qe))));h&&u.validatingFields&&g([s],!0);const f=await Ze(c,l.disabled,i,p,r.shouldUseNativeValidation&&!t,d);if(h&&u.validatingFields&&g([s]),f[e.name]&&(a.valid=!1,t))break;!t&&(G(f,e.name)?d?He(n.errors,f,e.name):Y(n.errors,e.name,f[e.name]):Se(n.errors,e.name))}!ve(d)&&await w(d,t,a)}}var o;return a.valid},x=(e,t)=>!r.disabled&&(e&&t&&Y(i,e,t),!ye(O(),o)),k=(e,t,r)=>de(e,l,{...s.mount?i:T(t)?o:ue(e)?{[e]:t}:t},r,t),C=(e,t,r={})=>{const n=G(a,e);let o=t;if(n){const r=n._f;r&&(!r.disabled&&Y(i,e,Me(t,r)),o=ke(r.ref)&&z(t)?"":t,Ce(r.ref)?[...r.ref.options].forEach((e=>e.selected=o.includes(e.value))):r.refs?B(r.ref)?r.refs.forEach((e=>{e.defaultChecked&&e.disabled||(Array.isArray(o)?e.checked=!!o.find((t=>t===e.value)):e.checked=o===e.value||!!o)})):r.refs.forEach((e=>e.checked=e.value===o)):we(r.ref)?r.ref.value="":(r.ref.value=o,r.ref.type||h.state.next({name:e,values:I(i)})))}(r.shouldDirty||r.shouldTouch)&&b(e,o,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&P(e)},A=(e,t,r)=>{for(const n in t){if(!t.hasOwnProperty(n))return;const o=t[n],i=e+"."+n,s=G(a,i);(l.array.has(e)||D(o)||s&&!s._f)&&!N(o)?A(i,o,r):C(i,o,r)}},E=(e,t,r={})=>{const c=G(a,e),p=l.array.has(e),f=I(t);Y(i,e,f),p?(h.array.next({name:e,values:I(i)}),(u.isDirty||u.dirtyFields||d.isDirty||d.dirtyFields)&&r.shouldDirty&&h.state.next({name:e,dirtyFields:Ne(o,i),isDirty:x(e,f)})):!c||c._f||z(f)?C(e,f,r):A(e,f,r),Ge(e,l)&&h.state.next({...n}),h.state.next({name:s.mount?e:void 0,values:I(i)})},S=async e=>{s.mount=!0;const o=e.target;let c=o.name,m=!0;const x=G(a,c),k=e=>{m=Number.isNaN(e)||N(e)&&isNaN(e.getTime())||ye(e,G(i,c,e))},C=Le(r.mode),A=Le(r.reValidateMode);if(x){let s,S;const j=o.type?Ie(x._f):M(e),B=e.type===H||e.type===W,N=!((E=x._f).mount&&(E.required||E.min||E.max||E.maxLength||E.minLength||E.pattern||E.validate)||r.resolver||G(n.errors,c)||x._f.deps)||((e,t,r,n,a)=>!a.isOnAll&&(!r&&a.isOnTouch?!(t||e):(r?n.isOnBlur:a.isOnBlur)?!e:!(r?n.isOnChange:a.isOnChange)||e))(B,G(n.touchedFields,c),n.isSubmitted,A,C),z=Ge(c,l,B);Y(i,c,j),B?(x._f.onBlur&&x._f.onBlur(e),t&&t(0)):x._f.onChange&&x._f.onChange(e);const O=b(c,j,B),D=!ve(O)||z;if(!B&&h.state.next({name:c,type:e.type,values:I(i)}),N)return(u.isValid||d.isValid)&&("onBlur"===r.mode?B&&f():B||f()),D&&h.state.next({name:c,...z?{}:O});if(!B&&z&&h.state.next({...n}),r.resolver){const{errors:e}=await v([c]);if(k(j),m){const t=Ye(n.errors,a,c),r=Ye(e,a,t.name||c);s=r.error,c=r.name,S=ve(e)}}else g([c],!0),s=(await Ze(x,l.disabled,i,p,r.shouldUseNativeValidation))[c],g([c]),k(j),m&&(s?S=!1:(u.isValid||d.isValid)&&(S=await w(a,!0)));m&&(x._f.deps&&P(x._f.deps),y(c,S,s,O))}var E},j=(e,t)=>{if(G(n.errors,t)&&e.focus)return e.focus(),1},P=async(e,t={})=>{let o,i;const s=ge(e);if(r.resolver){const t=await(async e=>{const{errors:t}=await v(e);if(e)for(const r of e){const e=G(t,r);e?Y(n.errors,r,e):Se(n.errors,r)}else n.errors=t;return t})(T(e)?e:s);o=ve(t),i=e?!s.some((e=>G(t,e))):o}else e?(i=(await Promise.all(s.map((async e=>{const t=G(a,e);return await w(t&&t._f?{[e]:t}:t)})))).every(Boolean),(i||n.isValid)&&f()):i=o=await w(a);return h.state.next({...!ue(e)||(u.isValid||d.isValid)&&o!==n.isValid?{}:{name:e},...r.resolver||!e?{isValid:o}:{},errors:n.errors}),t.shouldFocus&&!i&&Ke(a,j,e?s:l.mount),i},O=e=>{const t={...s.mount?i:o};return T(e)?t:ue(e)?G(t,e):e.map((e=>G(t,e)))},R=(e,t)=>({invalid:!!G((t||n).errors,e),isDirty:!!G((t||n).dirtyFields,e),error:G((t||n).errors,e),isValidating:!!G(n.validatingFields,e),isTouched:!!G((t||n).touchedFields,e)}),Q=(e,t,r)=>{const o=(G(a,e,{_f:{}})._f||{}).ref,i=G(n.errors,e)||{},{ref:s,message:l,type:c,...u}=i;Y(n.errors,e,{...u,...t,ref:o}),h.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&o&&o.focus&&o.focus()},U=e=>h.state.subscribe({next:t=>{var r,a,o;r=e.name,a=t.name,o=e.exact,r&&a&&r!==a&&!ge(r).some((e=>e&&(o?e===a:e.startsWith(a)||a.startsWith(e))))||!((e,t,r,n)=>{r(e);const{name:a,...o}=e;return ve(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find((e=>t[e]===(!n||X)))})(t,e.formState||u,re,e.reRenderRoot)||e.callback({values:{...i},...n,...t})}}).unsubscribe,q=(e,t={})=>{for(const s of e?ge(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(Se(a,s),Se(i,s)),!t.keepError&&Se(n.errors,s),!t.keepDirty&&Se(n.dirtyFields,s),!t.keepTouched&&Se(n.touchedFields,s),!t.keepIsValidating&&Se(n.validatingFields,s),!r.shouldUnregister&&!t.keepDefaultValue&&Se(o,s);h.state.next({values:I(i)}),h.state.next({...n,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&f()},Z=({disabled:e,name:t})=>{(K(e)&&s.mount||e||l.disabled.has(t))&&(e?l.disabled.add(t):l.disabled.delete(t))},_=(e,t={})=>{let n=G(a,e);const i=K(t.disabled)||K(r.disabled);return Y(a,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),n?Z({disabled:K(t.disabled)?t.disabled:r.disabled,name:e}):m(e,!0,t.value),{...i?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:Te(t.min),max:Te(t.max),minLength:Te(t.minLength),maxLength:Te(t.maxLength),pattern:Te(t.pattern)}:{},name:e,onChange:S,onBlur:S,ref:i=>{if(i){_(e,t),n=G(a,e);const r=T(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=(e=>Ae(e)||B(e))(r),l=n._f.refs||[];if(s?l.find((e=>e===r)):r===n._f.ref)return;Y(a,e,{_f:{...n._f,...s?{refs:[...l.filter(Ee),r,...Array.isArray(G(o,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),m(e,!1,void 0,r)}else n=G(a,e,{}),n._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&(!F(l.array,e)||!s.action)&&l.unMount.add(e)}}},J=()=>r.shouldFocusError&&Ke(a,j,l.mount),$=(e,t)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=I(i);if(h.state.next({isSubmitting:!0}),r.resolver){const{errors:e,values:t}=await v();n.errors=e,c=I(t)}else await w(a);if(l.disabled.size)for(const e of l.disabled)Se(c,e);if(Se(n.errors,"root"),ve(n.errors)){h.state.next({errors:{}});try{await e(c,o)}catch(e){s=e}}else t&&await t({...n.errors},o),J(),setTimeout(J);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ve(n.errors)&&!s,submitCount:n.submitCount+1,errors:n.errors}),s)throw s},ee=(e,t={})=>{const c=e?I(e):o,d=I(c),p=ve(e),f=p?o:d;if(t.keepDefaultValues||(o=c),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(Ne(o,i))]);for(const t of Array.from(e))G(n.dirtyFields,t)?Y(f,t,G(i,t)):E(t,G(f,t))}else{if(V&&T(e))for(const e of l.mount){const t=G(a,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(ke(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of l.mount)E(e,G(f,e));else a={}}i=r.shouldUnregister?t.keepDefaultValues?I(o):{}:I(f),h.array.next({values:{...f}}),h.state.next({values:{...f}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!u.isValid||!!t.keepIsValid||!!t.keepDirtyValues,s.watch=!!r.shouldUnregister,h.state.next({submitCount:t.keepSubmitCount?n.submitCount:0,isDirty:!p&&(t.keepDirty?n.isDirty:!(!t.keepDefaultValues||ye(e,o))),isSubmitted:!!t.keepIsSubmitted&&n.isSubmitted,dirtyFields:p?{}:t.keepDirtyValues?t.keepDefaultValues&&i?Ne(o,i):n.dirtyFields:t.keepDefaultValues&&e?Ne(o,e):t.keepDirty?n.dirtyFields:{},touchedFields:t.keepTouched?n.touchedFields:{},errors:t.keepErrors?n.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1})},te=(e,t)=>ee(xe(e)?e(i):e,t),re=e=>{n={...n,...e}},ne={control:{register:_,unregister:q,getFieldState:R,handleSubmit:$,setError:Q,_subscribe:U,_runSchema:v,_focusError:J,_getWatch:k,_getDirty:x,_setValid:f,_setFieldArray:(e,t=[],l,c,p=!0,f=!0)=>{if(c&&l&&!r.disabled){if(s.action=!0,f&&Array.isArray(G(a,e))){const t=l(G(a,e),c.argA,c.argB);p&&Y(a,e,t)}if(f&&Array.isArray(G(n.errors,e))){const t=l(G(n.errors,e),c.argA,c.argB);p&&Y(n.errors,e,t),((e,t)=>{!L(G(e,t)).length&&Se(e,t)})(n.errors,e)}if((u.touchedFields||d.touchedFields)&&f&&Array.isArray(G(n.touchedFields,e))){const t=l(G(n.touchedFields,e),c.argA,c.argB);p&&Y(n.touchedFields,e,t)}(u.dirtyFields||d.dirtyFields)&&(n.dirtyFields=Ne(o,i)),h.state.next({name:e,isDirty:x(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Y(i,e,t)},_setDisabledField:Z,_setErrors:e=>{n.errors=e,h.state.next({errors:n.errors,isValid:!1})},_getFieldArray:e=>L(G(s.mount?i:o,e,r.shouldUnregister?G(o,e,[]):[])),_reset:ee,_resetDefaultValues:()=>xe(r.defaultValues)&&r.defaultValues().then((e=>{te(e,r.resetOptions),h.state.next({isLoading:!1})})),_removeUnmounted:()=>{for(const e of l.unMount){const t=G(a,e);t&&(t._f.refs?t._f.refs.every((e=>!Ee(e))):!Ee(t._f.ref))&&q(e)}l.unMount=new Set},_disableForm:e=>{K(e)&&(h.state.next({disabled:e}),Ke(a,((t,r)=>{const n=G(a,r);n&&(t.disabled=n._f.disabled||e,Array.isArray(n._f.refs)&&n._f.refs.forEach((t=>{t.disabled=n._f.disabled||e})))}),0,!1))},_subjects:h,_proxyFormState:u,get _fields(){return a},get _formValues(){return i},get _state(){return s},set _state(e){s=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return n},get _options(){return r},set _options(e){r={...r,...e}}},subscribe:e=>(s.mount=!0,d={...d,...e.formState},U({...e,formState:d})),trigger:P,register:_,handleSubmit:$,watch:(e,t)=>xe(e)?h.state.subscribe({next:r=>e(k(void 0,t),r)}):k(e,t,!0),setValue:E,getValues:O,reset:te,resetField:(e,t={})=>{G(a,e)&&(T(t.defaultValue)?E(e,I(G(o,e))):(E(e,t.defaultValue),Y(o,e,I(t.defaultValue))),t.keepTouched||Se(n.touchedFields,e),t.keepDirty||(Se(n.dirtyFields,e),n.isDirty=t.defaultValue?x(e,I(G(o,e))):x()),t.keepError||(Se(n.errors,e),u.isValid&&f()),h.state.next({...n}))},clearErrors:e=>{e&&ge(e).forEach((e=>Se(n.errors,e))),h.state.next({errors:e?n.errors:{}})},unregister:q,setError:Q,setFocus:(e,t={})=>{const r=G(a,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&xe(e.select)&&e.select())}},getFieldState:R};return{...ne,formControl:ne}}var Xe=k(),$e=Object.defineProperty,et=e=>{throw TypeError(e)},tt=(e,t,r)=>((e,t,r)=>t in e?$e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),rt=(e,t,r)=>t.has(e)||et("Cannot "+r),nt=(e,t,r)=>(rt(e,t,"read from private field"),r?r.call(e):t.get(e)),at=(e,t,r)=>t.has(e)?et("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ot=(e,t,r)=>(rt(e,t,"access private method"),r);const it=e=>{switch(e){case"xsmall":return"px-2 py-1 text-xs";case"small":return"px-3 py-1.5 text-sm";case"medium":return"px-4 py-2 text-sm";default:return"px-4 py-2 text-base"}},st=e=>{const t="font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 border border-solid rounded-lg cursor-pointer";switch(e){case"filled":return`${t} btn-filled shadow-default`;case"outline":return`${t} btn-outline shadow-default`;case"destructive":return`${t} btn-destructive`;case"success":return`${t} btn-glass-success`;case"warning":return`${t} btn-glass-warning`;case"error":return`${t} btn-glass-error`;case"ghost":return`${t} btn-ghost`;case"no-style":return`${t} btn-no-style border-none`}},lt=()=>P.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[P.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),P.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),ct=p.forwardRef((({variant:e,size:t="large",loading:r=!1,disabled:n=!1,icon:a,iconPosition:o="start",flexGrow:i=!1,fill:s=!1,tooltip:l,iconOnly:c=!1,children:u,className:d="",...h},p)=>{const g=["flex items-center justify-center",c?"p-0":it(t),st(e),i?"w-full":"",s?"max-w-full":"",n||r?"cursor-not-allowed":"",d].filter(Boolean).join(" "),m=P.jsx("button",{ref:p,disabled:n||r,className:g,...h,children:r?P.jsxs(P.Fragment,{children:[P.jsx(lt,{}),u]}):a&&"start"===o?P.jsxs(P.Fragment,{children:[P.jsx("span",{className:u?"mr-2":"",children:a}),u]}):a&&"end"===o?P.jsxs(P.Fragment,{children:[u,P.jsx("span",{className:u?"ml-2":"",children:a})]}):u});return l?f.cloneElement(m,{title:l}):m}));ct.displayName="Button";const ut=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M14.1475 8.89988L10.3975 12.6499C10.3452 12.7023 10.2831 12.7439 10.2147 12.7723C10.1464 12.8007 10.0731 12.8153 9.99902 12.8153C9.92499 12.8153 9.85168 12.8007 9.78331 12.7723C9.71494 12.7439 9.65284 12.7023 9.60058 12.6499L5.85059 8.89988C5.74491 8.79421 5.68555 8.65089 5.68555 8.50144C5.68555 8.352 5.74491 8.20868 5.85059 8.10301C5.95626 7.99733 6.09958 7.93797 6.24902 7.93797C6.39847 7.93797 6.54179 7.99733 6.64746 8.10301L9.99949 11.455L13.3515 8.10254C13.4572 7.99687 13.6005 7.9375 13.75 7.9375C13.8994 7.9375 14.0427 7.99687 14.1484 8.10254C14.2541 8.20821 14.3134 8.35153 14.3134 8.50098C14.3134 8.65042 14.2541 8.79374 14.1484 8.89941L14.1475 8.89988Z",fill:"#BBBBBB"})),dt=e=>p.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M14.1475 11.1001L10.3975 7.35012C10.3452 7.29768 10.2831 7.25607 10.2147 7.22768C10.1464 7.19929 10.0731 7.18467 9.99902 7.18467C9.92499 7.18467 9.85168 7.19929 9.78331 7.22768C9.71494 7.25607 9.65284 7.29768 9.60058 7.35012L5.85059 11.1001C5.74491 11.2058 5.68555 11.3491 5.68555 11.4986C5.68555 11.648 5.74491 11.7913 5.85059 11.897C5.95626 12.0027 6.09958 12.062 6.24902 12.062C6.39847 12.062 6.54179 12.0027 6.64746 11.897L9.99949 8.54496L13.3515 11.8975C13.4572 12.0031 13.6005 12.0625 13.75 12.0625C13.8994 12.0625 14.0427 12.0031 14.1484 11.8975C14.2541 11.7918 14.3134 11.6485 14.3134 11.499C14.3134 11.3496 14.2541 11.2063 14.1484 11.1006L14.1475 11.1001Z",fill:"#0A0A0A"})),ht=e=>p.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M8 1.5C6.71442 1.5 5.45772 1.88122 4.3888 2.59545C3.31988 3.30968 2.48676 4.32484 1.99479 5.51256C1.50282 6.70028 1.37409 8.00721 1.6249 9.26809C1.8757 10.529 2.49477 11.6872 3.40381 12.5962C4.31285 13.5052 5.47104 14.1243 6.73192 14.3751C7.99279 14.6259 9.29972 14.4972 10.4874 14.0052C11.6752 13.5132 12.6903 12.6801 13.4046 11.6112C14.1188 10.5423 14.5 9.28558 14.5 8C14.4982 6.27665 13.8128 4.62441 12.5942 3.40582C11.3756 2.18722 9.72335 1.50182 8 1.5ZM10.8538 6.85375L7.35375 10.3537C7.30732 10.4002 7.25217 10.4371 7.19147 10.4623C7.13077 10.4874 7.06571 10.5004 7 10.5004C6.93429 10.5004 6.86923 10.4874 6.80853 10.4623C6.74783 10.4371 6.69269 10.4002 6.64625 10.3537L5.14625 8.85375C5.05243 8.75993 4.99972 8.63268 4.99972 8.5C4.99972 8.36732 5.05243 8.24007 5.14625 8.14625C5.24007 8.05243 5.36732 7.99972 5.5 7.99972C5.63268 7.99972 5.75993 8.05243 5.85375 8.14625L7 9.29312L10.1463 6.14625C10.1927 6.09979 10.2479 6.06294 10.3086 6.0378C10.3693 6.01266 10.4343 5.99972 10.5 5.99972C10.5657 5.99972 10.6308 6.01266 10.6915 6.0378C10.7521 6.06294 10.8073 6.09979 10.8538 6.14625C10.9002 6.1927 10.9371 6.24786 10.9622 6.30855C10.9873 6.36925 11.0003 6.4343 11.0003 6.5C11.0003 6.5657 10.9873 6.63075 10.9622 6.69145C10.9371 6.75214 10.9002 6.80729 10.8538 6.85375Z",fill:"#047B43"})),pt=e=>p.createElement("svg",{width:13,height:14,viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("g",{id:"Frame"},p.createElement("path",{id:"Vector",d:"M10.9688 1.92188H4.46875C4.30713 1.92188 4.15214 1.98608 4.03786 2.10036C3.92358 2.21464 3.85938 2.36963 3.85938 2.53125V4.35938H2.03125C1.86963 4.35938 1.71464 4.42358 1.60036 4.53786C1.48608 4.65214 1.42188 4.80713 1.42188 4.96875V11.4688C1.42188 11.6304 1.48608 11.7854 1.60036 11.8996C1.71464 12.0139 1.86963 12.0781 2.03125 12.0781H8.53125C8.69287 12.0781 8.84786 12.0139 8.96214 11.8996C9.07642 11.7854 9.14062 11.6304 9.14062 11.4688V9.64062H10.9688C11.1304 9.64062 11.2854 9.57642 11.3996 9.46214C11.5139 9.34786 11.5781 9.19287 11.5781 9.03125V2.53125C11.5781 2.36963 11.5139 2.21464 11.3996 2.10036C11.2854 1.98608 11.1304 1.92188 10.9688 1.92188ZM7.92188 10.8594H2.64062V5.57812H7.92188V10.8594ZM10.3594 8.42188H9.14062V4.96875C9.14062 4.80713 9.07642 4.65214 8.96214 4.53786C8.84786 4.42358 8.69287 4.35938 8.53125 4.35938H5.07812V3.14062H10.3594V8.42188Z",fill:"#BBBBBB"}))),ft=e=>p.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M6.5 1.21875C5.45547 1.21875 4.43439 1.52849 3.5659 2.1088C2.6974 2.68911 2.02049 3.51393 1.62076 4.47895C1.22104 5.44397 1.11645 6.50586 1.32023 7.53032C1.52401 8.55478 2.027 9.49581 2.76559 10.2344C3.50419 10.973 4.44522 11.476 5.46968 11.6798C6.49414 11.8835 7.55603 11.779 8.52105 11.3792C9.48607 10.9795 10.3109 10.3026 10.8912 9.4341C11.4715 8.56561 11.7813 7.54453 11.7813 6.5C11.7798 5.09978 11.2229 3.75733 10.2328 2.76723C9.24267 1.77712 7.90022 1.22023 6.5 1.21875ZM6.09375 4.0625C6.09375 3.95476 6.13655 3.85142 6.21274 3.77524C6.28893 3.69905 6.39226 3.65625 6.5 3.65625C6.60775 3.65625 6.71108 3.69905 6.78726 3.77524C6.86345 3.85142 6.90625 3.95476 6.90625 4.0625V6.90625C6.90625 7.01399 6.86345 7.11733 6.78726 7.19351C6.71108 7.2697 6.60775 7.3125 6.5 7.3125C6.39226 7.3125 6.28893 7.2697 6.21274 7.19351C6.13655 7.11733 6.09375 7.01399 6.09375 6.90625V4.0625ZM6.5 9.34375C6.37948 9.34375 6.26166 9.30801 6.16145 9.24105C6.06124 9.17409 5.98313 9.07892 5.93701 8.96757C5.89089 8.85622 5.87882 8.7337 5.90234 8.61549C5.92585 8.49728 5.98389 8.3887 6.06911 8.30348C6.15433 8.21826 6.26291 8.16022 6.38112 8.13671C6.49933 8.1132 6.62185 8.12526 6.7332 8.17139C6.84455 8.21751 6.93972 8.29561 7.00668 8.39582C7.07364 8.49604 7.10938 8.61385 7.10938 8.73437C7.10938 8.89599 7.04517 9.05099 6.93089 9.16527C6.81661 9.27955 6.66162 9.34375 6.5 9.34375Z",fill:"#C43E3E"})),gt=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none",...e},p.createElement("path",{fill:"#0A0A0A",d:"M2.888 1.621a.61.61 0 1 0-.901.82l.812.896C1.049 4.502.29 6.174.254 6.253a.61.61 0 0 0 0 .495c.019.041.464 1.029 1.447 2.011 1.314 1.313 2.97 2.007 4.799 2.007a6.7 6.7 0 0 0 2.59-.508l1.02 1.122a.61.61 0 0 0 .902-.82zM6.5 9.547c-1.503 0-2.817-.545-3.906-1.619A6.6 6.6 0 0 1 1.5 6.5c.268-.473.954-1.518 2.133-2.25l4.575 5.034a5.6 5.6 0 0 1-1.707.263m6.246-2.8c-.018.042-.457 1.016-1.422 1.99a.61.61 0 1 1-.863-.859A6.6 6.6 0 0 0 11.5 6.5a6.6 6.6 0 0 0-1.095-1.428C9.316 3.998 8.003 3.453 6.5 3.453q-.256 0-.508.021a.61.61 0 1 1-.101-1.214c.2-.017.406-.026.609-.026 1.828 0 3.485.695 4.798 2.007.983.983 1.428 1.97 1.447 2.012a.62.62 0 0 1 .001.495"})),mt=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none",...e},p.createElement("path",{fill:"#0A0A0A",d:"M12.746 6.253c-.019-.041-.464-1.03-1.446-2.012C9.985 2.93 8.328 2.234 6.5 2.234s-3.485.695-4.798 2.007C.719 5.224.274 6.211.254 6.253a.61.61 0 0 0 0 .495c.019.041.464 1.029 1.447 2.011 1.314 1.313 2.97 2.007 4.799 2.007 1.828 0 3.485-.694 4.798-2.007.983-.982 1.428-1.97 1.447-2.011a.62.62 0 0 0 .001-.495m-2.339 1.675C9.317 9.002 8.003 9.547 6.5 9.547s-2.817-.545-3.906-1.619A6.6 6.6 0 0 1 1.5 6.5a6.6 6.6 0 0 1 1.095-1.427c1.09-1.075 2.403-1.62 3.906-1.62s2.816.545 3.906 1.62c.428.423.797.904 1.095 1.427a6.6 6.6 0 0 1-1.095 1.428zM6.5 4.266a2.234 2.234 0 1 0 0 4.469 2.234 2.234 0 0 0 0-4.47m0 3.25a1.016 1.016 0 1 1 0-2.032 1.016 1.016 0 0 1 0 2.032"})),bt=e=>p.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M6.5 1.21875C5.45547 1.21875 4.43439 1.52849 3.5659 2.1088C2.6974 2.68911 2.02049 3.51393 1.62076 4.47895C1.22104 5.44397 1.11645 6.50586 1.32023 7.53032C1.52401 8.55478 2.027 9.49581 2.76559 10.2344C3.50419 10.973 4.44522 11.476 5.46968 11.6798C6.49414 11.8835 7.55603 11.779 8.52105 11.3792C9.48607 10.9795 10.3109 10.3026 10.8912 9.4341C11.4715 8.56561 11.7813 7.54453 11.7813 6.5C11.7798 5.09978 11.2229 3.75733 10.2328 2.76723C9.24267 1.77712 7.90022 1.22023 6.5 1.21875ZM6.29688 3.65625C6.4174 3.65625 6.53522 3.69199 6.63543 3.75895C6.73564 3.82591 6.81374 3.92108 6.85987 4.03243C6.90599 4.14378 6.91806 4.2663 6.89454 4.38451C6.87103 4.50272 6.81299 4.6113 6.72777 4.69652C6.64255 4.78174 6.53397 4.83978 6.41576 4.86329C6.29755 4.8868 6.17503 4.87474 6.06368 4.82861C5.95233 4.78249 5.85716 4.70439 5.7902 4.60418C5.72324 4.50396 5.6875 4.38615 5.6875 4.26562C5.6875 4.10401 5.7517 3.94901 5.86598 3.83473C5.98026 3.72045 6.13526 3.65625 6.29688 3.65625ZM6.90625 9.34375C6.69076 9.34375 6.4841 9.25815 6.33173 9.10577C6.17935 8.9534 6.09375 8.74674 6.09375 8.53125V6.5C5.98601 6.5 5.88268 6.4572 5.80649 6.38101C5.7303 6.30482 5.6875 6.20149 5.6875 6.09375C5.6875 5.98601 5.7303 5.88267 5.80649 5.80649C5.88268 5.7303 5.98601 5.6875 6.09375 5.6875C6.30924 5.6875 6.5159 5.7731 6.66828 5.92548C6.82065 6.07785 6.90625 6.28451 6.90625 6.5V8.53125C7.014 8.53125 7.11733 8.57405 7.19351 8.65024C7.2697 8.72642 7.3125 8.82976 7.3125 8.9375C7.3125 9.04524 7.2697 9.14858 7.19351 9.22476C7.11733 9.30095 7.014 9.34375 6.90625 9.34375Z",fill:"black",fillOpacity:.6})),yt=e=>p.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M5.48438 4.76562C5.48438 4.60493 5.53203 4.44784 5.62131 4.31422C5.71059 4.18061 5.83748 4.07647 5.98595 4.01497C6.13441 3.95348 6.29778 3.93739 6.45539 3.96874C6.613 4.00009 6.75777 4.07747 6.8714 4.1911C6.98503 4.30473 7.06241 4.4495 7.09376 4.60711C7.12512 4.76472 7.10903 4.92809 7.04753 5.07656C6.98603 5.22502 6.88189 5.35192 6.74828 5.44119C6.61466 5.53047 6.45757 5.57812 6.29688 5.57812C6.08139 5.57812 5.87473 5.49252 5.72235 5.34015C5.56998 5.18778 5.48438 4.98111 5.48438 4.76562ZM11.9844 7C11.9844 8.08471 11.6627 9.14505 11.0601 10.047C10.4575 10.9489 9.60092 11.6518 8.59878 12.0669C7.59664 12.482 6.49392 12.5906 5.43005 12.379C4.36619 12.1674 3.38897 11.645 2.62196 10.878C1.85496 10.111 1.33262 9.13381 1.12101 8.06995C0.909392 7.00608 1.018 5.90336 1.4331 4.90122C1.8482 3.89908 2.55115 3.04254 3.45305 2.43991C4.35495 1.83728 5.4153 1.51563 6.5 1.51562C7.95405 1.51724 9.34809 2.09557 10.3763 3.12374C11.4044 4.15191 11.9828 5.54595 11.9844 7ZM10.7656 7C10.7656 6.15634 10.5155 5.33162 10.0467 4.63015C9.57803 3.92867 8.91183 3.38193 8.13239 3.05908C7.35294 2.73622 6.49527 2.65175 5.66782 2.81634C4.84037 2.98093 4.08031 3.38719 3.48375 3.98375C2.88719 4.58031 2.48093 5.34037 2.31634 6.16782C2.15175 6.99527 2.23622 7.85294 2.55908 8.63238C2.88193 9.41182 3.42867 10.078 4.13015 10.5467C4.83163 11.0154 5.65634 11.2656 6.5 11.2656C7.63094 11.2644 8.71522 10.8146 9.51492 10.0149C10.3146 9.21522 10.7644 8.13094 10.7656 7ZM7.10938 8.86266V7.20312C7.10938 6.93376 7.00237 6.67544 6.81191 6.48497C6.62144 6.2945 6.36311 6.1875 6.09375 6.1875C5.94984 6.18729 5.8105 6.23801 5.70041 6.33069C5.59031 6.42336 5.51657 6.55202 5.49224 6.69385C5.46791 6.83569 5.49457 6.98156 5.56748 7.10563C5.6404 7.2297 5.75487 7.32396 5.89063 7.37172V9.03125C5.89063 9.30061 5.99763 9.55894 6.1881 9.7494C6.37856 9.93987 6.63689 10.0469 6.90625 10.0469C7.05016 10.0471 7.1895 9.99637 7.2996 9.90369C7.40969 9.81101 7.48343 9.68236 7.50776 9.54052C7.53209 9.39868 7.50544 9.25281 7.43252 9.12874C7.3596 9.00467 7.24513 8.91041 7.10938 8.86266Z",fill:"currentColor"})),vt=e=>p.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M8.05613 4.80613L6.86328 6L8.05766 7.19387C8.17214 7.30834 8.23645 7.46361 8.23645 7.62551C8.23645 7.7874 8.17214 7.94267 8.05766 8.05715C7.94318 8.17163 7.78791 8.23594 7.62602 8.23594C7.46412 8.23594 7.30886 8.17163 7.19438 8.05715L6 6.86328L4.80613 8.05766C4.69166 8.17213 4.53639 8.23645 4.37449 8.23645C4.2126 8.23645 4.05733 8.17213 3.94285 8.05766C3.82838 7.94318 3.76406 7.78791 3.76406 7.62602C3.76406 7.46412 3.82838 7.30885 3.94285 7.19437L5.13672 6L3.94387 4.80613C3.88719 4.74945 3.84222 4.68216 3.81154 4.60809C3.78087 4.53403 3.76508 4.45465 3.76508 4.37449C3.76508 4.2126 3.82939 4.05733 3.94387 3.94285C4.05835 3.82837 4.21361 3.76406 4.37551 3.76406C4.53741 3.76406 4.69267 3.82837 4.80715 3.94285L6 5.13672L7.19387 3.94234C7.30835 3.82787 7.46361 3.76355 7.62551 3.76355C7.78741 3.76355 7.94267 3.82787 8.05715 3.94234C8.17163 4.05682 8.23594 4.21209 8.23594 4.37398C8.23594 4.53588 8.17163 4.69115 8.05715 4.80562L8.05613 4.80613ZM11.4844 6C11.4844 7.08471 11.1627 8.14505 10.5601 9.04696C9.95746 9.94886 9.10092 10.6518 8.09878 11.0669C7.09664 11.482 5.99392 11.5906 4.93005 11.379C3.86619 11.1674 2.88897 10.645 2.12196 9.87804C1.35496 9.11103 0.832624 8.13381 0.621008 7.06995C0.409392 6.00608 0.518001 4.90336 0.933101 3.90122C1.3482 2.89908 2.05115 2.04254 2.95305 1.43991C3.85495 0.837278 4.9153 0.515625 6 0.515625C7.45405 0.517238 8.84809 1.09557 9.87626 2.12374C10.9044 3.15191 11.4828 4.54595 11.4844 6ZM10.2656 6C10.2656 5.15634 10.0155 4.33162 9.54674 3.63015C9.07803 2.92867 8.41183 2.38193 7.63239 2.05908C6.85294 1.73622 5.99527 1.65175 5.16782 1.81634C4.34037 1.98093 3.58031 2.38719 2.98375 2.98375C2.38719 3.58031 1.98093 4.34037 1.81634 5.16782C1.65175 5.99527 1.73622 6.85294 2.05908 7.63238C2.38193 8.41182 2.92867 9.07802 3.63015 9.54674C4.33163 10.0154 5.15634 10.2656 6 10.2656C7.13094 10.2644 8.21522 9.81461 9.01492 9.01492C9.81462 8.21522 10.2644 7.13094 10.2656 6Z",fill:"currentColor",fillOpacity:.7})),wt=e=>p.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},p.createElement("path",{d:"M6.5 1.21875C5.45547 1.21875 4.43439 1.52849 3.5659 2.1088C2.6974 2.68911 2.02049 3.51393 1.62076 4.47895C1.22104 5.44397 1.11645 6.50586 1.32023 7.53032C1.52401 8.55478 2.027 9.49581 2.76559 10.2344C3.50419 10.973 4.44522 11.476 5.46968 11.6798C6.49414 11.8835 7.55603 11.779 8.52105 11.3792C9.48607 10.9795 10.3109 10.3026 10.8912 9.4341C11.4715 8.56561 11.7813 7.54453 11.7813 6.5C11.7798 5.09978 11.2229 3.75733 10.2328 2.76723C9.24267 1.77712 7.90022 1.22023 6.5 1.21875ZM6.5 9.75C6.37948 9.75 6.26166 9.71426 6.16145 9.6473C6.06124 9.58034 5.98313 9.48517 5.93701 9.37382C5.89089 9.26247 5.87882 9.13995 5.90234 9.02174C5.92585 8.90353 5.98389 8.79495 6.06911 8.70973C6.15433 8.62451 6.26291 8.56647 6.38112 8.54296C6.49933 8.51945 6.62185 8.53151 6.7332 8.57764C6.84455 8.62376 6.93972 8.70186 7.00668 8.80207C7.07364 8.90229 7.10938 9.0201 7.10938 9.14062C7.10938 9.30224 7.04517 9.45724 6.93089 9.57152C6.81661 9.6858 6.66162 9.75 6.5 9.75ZM6.90625 7.27594V7.3125C6.90625 7.42024 6.86345 7.52358 6.78726 7.59976C6.71108 7.67595 6.60775 7.71875 6.5 7.71875C6.39226 7.71875 6.28893 7.67595 6.21274 7.59976C6.13655 7.52358 6.09375 7.42024 6.09375 7.3125V6.90625C6.09375 6.79851 6.13655 6.69517 6.21274 6.61899C6.28893 6.5428 6.39226 6.5 6.5 6.5C7.17184 6.5 7.71875 6.04297 7.71875 5.48437C7.71875 4.92578 7.17184 4.46875 6.5 4.46875C5.82817 4.46875 5.28125 4.92578 5.28125 5.48437V5.6875C5.28125 5.79524 5.23845 5.89857 5.16226 5.97476C5.08608 6.05095 4.98275 6.09375 4.875 6.09375C4.76726 6.09375 4.66393 6.05095 4.58774 5.97476C4.51155 5.89857 4.46875 5.79524 4.46875 5.6875V5.48437C4.46875 4.47637 5.37977 3.65625 6.5 3.65625C7.62024 3.65625 8.53125 4.47637 8.53125 5.48437C8.53125 6.36695 7.8325 7.10582 6.90625 7.27594Z",fill:"#96580A"})),xt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(ut,{className:t,style:a,onClick:n})},kt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(dt,{className:t,style:a,onClick:n})},Ct=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(ht,{className:t,style:a,onClick:n})},At=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(pt,{className:t,style:a,onClick:n})},Et=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(ft,{className:t,style:a,onClick:n})},St=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(gt,{className:t,style:a,onClick:n})},jt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor !important",...r};return P.jsx(mt,{className:t,style:a,onClick:n})},Pt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(yt,{className:t,style:a,onClick:n})},Bt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(bt,{className:t,style:a,onClick:n})},Nt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(vt,{className:t,style:a,onClick:n})},zt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return P.jsx(wt,{className:t,style:a,onClick:n})};function Ot(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Dt={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function Mt(e){Dt=e}var Ft={exec:()=>null};function Vt(e,t=""){let r="string"==typeof e?e:e.source,n={replace:(e,t)=>{let a="string"==typeof t?t:t.source;return a=a.replace(It.caret,"$1"),r=r.replace(e,a),n},getRegex:()=>new RegExp(r,t)};return n}var It={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Rt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Tt=/(?:[*+-]|\d{1,9}[.)])/,Lt=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Qt=Vt(Lt).replace(/bull/g,Tt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Gt=Vt(Lt).replace(/bull/g,Tt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Kt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Yt=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ht=Vt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Yt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Wt=Vt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Tt).getRegex(),Ut="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",qt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Zt=Vt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",qt).replace("tag",Ut).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_t=Vt(Kt).replace("hr",Rt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ut).getRegex(),Jt={blockquote:Vt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_t).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:Ht,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Rt,html:Zt,lheading:Qt,list:Wt,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:_t,table:Ft,text:/^[^\n]+/},Xt=Vt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Rt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ut).getRegex(),$t={...Jt,lheading:Gt,table:Xt,paragraph:Vt(Kt).replace("hr",Rt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Xt).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ut).getRegex()},er={...Jt,html:Vt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",qt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ft,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Vt(Kt).replace("hr",Rt).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Qt).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},tr=/^( {2,}|\\)\n(?!\s*$)/,rr=/[\p{P}\p{S}]/u,nr=/[\s\p{P}\p{S}]/u,ar=/[^\s\p{P}\p{S}]/u,or=Vt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,nr).getRegex(),ir=/(?!~)[\p{P}\p{S}]/u,sr=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,lr=Vt(sr,"u").replace(/punct/g,rr).getRegex(),cr=Vt(sr,"u").replace(/punct/g,ir).getRegex(),ur="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",dr=Vt(ur,"gu").replace(/notPunctSpace/g,ar).replace(/punctSpace/g,nr).replace(/punct/g,rr).getRegex(),hr=Vt(ur,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,ir).getRegex(),pr=Vt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,ar).replace(/punctSpace/g,nr).replace(/punct/g,rr).getRegex(),fr=Vt(/\\(punct)/,"gu").replace(/punct/g,rr).getRegex(),gr=Vt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),mr=Vt(qt).replace("(?:--\x3e|$)","--\x3e").getRegex(),br=Vt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",mr).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),yr=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,vr=Vt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",yr).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),wr=Vt(/^!?\[(label)\]\[(ref)\]/).replace("label",yr).replace("ref",Yt).getRegex(),xr=Vt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Yt).getRegex(),kr={_backpedal:Ft,anyPunctuation:fr,autolink:gr,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,br:tr,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Ft,emStrongLDelim:lr,emStrongRDelimAst:dr,emStrongRDelimUnd:pr,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:vr,nolink:xr,punctuation:or,reflink:wr,reflinkSearch:Vt("reflink|nolink(?!\\()","g").replace("reflink",wr).replace("nolink",xr).getRegex(),tag:br,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Ft},Cr={...kr,link:Vt(/^!?\[(label)\]\((.*?)\)/).replace("label",yr).getRegex(),reflink:Vt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",yr).getRegex()},Ar={...kr,emStrongRDelimAst:hr,emStrongLDelim:cr,url:Vt(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Er={...Ar,br:Vt(tr).replace("{2,}","*").getRegex(),text:Vt(Ar.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Sr={normal:Jt,gfm:$t,pedantic:er},jr={normal:kr,gfm:Ar,breaks:Er,pedantic:Cr},Pr={"&":"&","<":"<",">":">",'"':""","'":"'"},Br=e=>Pr[e];function Nr(e,t){if(t){if(It.escapeTest.test(e))return e.replace(It.escapeReplace,Br)}else if(It.escapeTestNoEncode.test(e))return e.replace(It.escapeReplaceNoEncode,Br);return e}function zr(e){try{e=encodeURI(e).replace(It.percentDecode,"%")}catch{return null}return e}function Or(e,t){var r;let n=e.replace(It.findPipe,((e,t,r)=>{let n=!1,a=t;for(;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"})),a=n.split(It.splitPipe),o=0;if(a[0].trim()||a.shift(),a.length>0&&!(null!=(r=a.at(-1))&&r.trim())&&a.pop(),t)if(a.length>t)a.splice(t);else for(;a.length<t;)a.push("");for(;o<a.length;o++)a[o]=a[o].trim().replace(It.slashPipe,"|");return a}function Dr(e,t,r){let n=e.length;if(0===n)return"";let a=0;for(;a<n&&e.charAt(n-a-1)===t;)a++;return e.slice(0,n-a)}function Mr(e,t,r,n,a){let o=t.href,i=t.title||null,s=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:r,href:o,title:i,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}var Fr,Vr=class{constructor(e){tt(this,"options"),tt(this,"rules"),tt(this,"lexer"),this.options=e||Dt}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Dr(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(null===n)return t;let a=n[1];return t.split("\n").map((e=>{let t=e.match(r.other.beginningSpace);if(null===t)return e;let[n]=t;return n.length>=a.length?e.slice(a.length):e})).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=Dr(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Dr(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=Dr(t[0],"\n").split("\n"),r="",n="",a=[];for(;e.length>0;){let t,o=!1,i=[];for(t=0;t<e.length;t++)if(this.rules.other.blockquoteStart.test(e[t]))i.push(e[t]),o=!0;else{if(o)break;i.push(e[t])}e=e.slice(t);let s=i.join("\n"),l=s.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}\n${s}`:s,n=n?`${n}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,a,!0),this.lexer.state.top=c,0===e.length)break;let u=a.at(-1);if("code"===(null==u?void 0:u.type))break;if("blockquote"===(null==u?void 0:u.type)){let t=u,o=t.raw+"\n"+e.join("\n"),i=this.blockquote(o);a[a.length-1]=i,r=r.substring(0,r.length-t.raw.length)+i.raw,n=n.substring(0,n.length-t.text.length)+i.text;break}if("list"!==(null==u?void 0:u.type));else{let t=u,o=t.raw+"\n"+e.join("\n"),i=this.list(o);a[a.length-1]=i,r=r.substring(0,r.length-u.raw.length)+i.raw,n=n.substring(0,n.length-t.raw.length)+i.raw,e=o.substring(a.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:r,tokens:a,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let o=this.rules.other.listItemRegex(r),i=!1;for(;e;){let r=!1,n="",s="";if(!(t=o.exec(e))||this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],u=!l.trim(),d=0;if(this.options.pedantic?(d=2,s=l.trimStart()):u?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=l.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(n+=c+"\n",e=e.substring(c.length+1),r=!0),!r){let t=this.rules.other.nextBulletRegex(d),r=this.rules.other.hrRegex(d),a=this.rules.other.fencesBeginRegex(d),o=this.rules.other.headingBeginRegex(d),i=this.rules.other.htmlBeginRegex(d);for(;e;){let h,p=e.split("\n",1)[0];if(c=p,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),h=c):h=c.replace(this.rules.other.tabCharGlobal," "),a.test(c)||o.test(c)||i.test(c)||t.test(c)||r.test(c))break;if(h.search(this.rules.other.nonSpaceChar)>=d||!c.trim())s+="\n"+h.slice(d);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||a.test(l)||o.test(l)||r.test(l))break;s+="\n"+c}!u&&!c.trim()&&(u=!0),n+=p+"\n",e=e.substring(p.length+1),l=h.slice(d)}}a.loose||(i?a.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(i=!0));let h,p=null;this.options.gfm&&(p=this.rules.other.listIsTask.exec(s),p&&(h="[ ] "!==p[0],s=s.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:n,task:!!p,checked:h,loose:!1,text:s,tokens:[]}),a.raw+=n}let s=a.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),a.raw=a.raw.trimEnd();for(let e=0;e<a.items.length;e++)if(this.lexer.state.top=!1,a.items[e].tokens=this.lexer.blockTokens(a.items[e].text,[]),!a.loose){let t=a.items[e].tokens.filter((e=>"space"===e.type)),r=t.length>0&&t.some((e=>this.rules.other.anyLine.test(e.raw)));a.loose=r}if(a.loose)for(let e=0;e<a.items.length;e++)a.items[e].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){var t;let r=this.rules.block.table.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let n=Or(r[1]),a=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=null!=(t=r[3])&&t.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===a.length){for(let e of a)this.rules.other.tableAlignRight.test(e)?i.align.push("right"):this.rules.other.tableAlignCenter.test(e)?i.align.push("center"):this.rules.other.tableAlignLeft.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<n.length;e++)i.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:i.align[e]});for(let e of o)i.rows.push(Or(e,i.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]}))));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=Dr(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r.slice(1):r.slice(1,-1)),Mr(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=t[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return Mr(r,e,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!n[1]&&!n[2]||!r||this.rules.inline.punctuation.exec(r))){let r,a,o=[...n[0]].length-1,i=o,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+o);null!=(n=l.exec(t));){if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!r)continue;if(a=[...r].length,n[3]||n[4]){i+=a;continue}if((n[5]||n[6])&&o%3&&!((o+a)%3)){s+=a;continue}if(i-=a,i>0)continue;a=Math.min(a,a+i+s);let t=[...n[0]][0].length,l=e.slice(0,o+n.index+t+a);if(Math.min(o,a)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return r&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return"@"===t[2]?(e=t[1],r="mailto:"+e):(e=t[1],r=e),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){var t;let r;if(r=this.rules.inline.url.exec(e)){let e,n;if("@"===r[2])e=r[0],n="mailto:"+e;else{let a;do{a=r[0],r[0]=(null==(t=this.rules.inline._backpedal.exec(r[0]))?void 0:t[0])??""}while(a!==r[0]);e=r[0],n="www."===r[1]?"http://"+r[0]:r[0]}return{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},Ir=class e{constructor(e){tt(this,"tokens"),tt(this,"options"),tt(this,"state"),tt(this,"tokenizer"),tt(this,"inlineQueue"),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Dt,this.options.tokenizer=this.options.tokenizer||new Vr,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:It,block:Sr.normal,inline:jr.normal};this.options.pedantic?(t.block=Sr.pedantic,t.inline=jr.pedantic):this.options.gfm&&(t.block=Sr.gfm,this.options.breaks?t.inline=jr.breaks:t.inline=jr.gfm),this.tokenizer.rules=t}static get rules(){return{block:Sr,inline:jr}}static lex(t,r){return new e(r).lex(t)}static lexInline(t,r){return new e(r).inlineTokens(t)}lex(e){e=e.replace(It.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],r=!1){var n,a,o;for(this.options.pedantic&&(e=e.replace(It.tabCharGlobal," ").replace(It.spaceLine,""));e;){let i;if(null!=(a=null==(n=this.options.extensions)?void 0:n.block)&&a.some((r=>!!(i=r.call({lexer:this},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0))))continue;if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length);let r=t.at(-1);1===i.raw.length&&void 0!==r?r.raw+="\n":t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length);let r=t.at(-1);"paragraph"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type)?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.at(-1).src=r.text):t.push(i);continue}if(i=this.tokenizer.fences(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.heading(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.hr(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.blockquote(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.list(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.html(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.def(e)){e=e.substring(i.raw.length);let r=t.at(-1);"paragraph"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type)?(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.lheading(e)){e=e.substring(i.raw.length),t.push(i);continue}let s=e;if(null!=(o=this.options.extensions)&&o.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach((e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(r=Math.min(r,t))})),r<1/0&&r>=0&&(s=e.substring(0,r+1))}if(this.state.top&&(i=this.tokenizer.paragraph(s))){let n=t.at(-1);r&&"paragraph"===(null==n?void 0:n.type)?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(i),r=s.length!==e.length,e=e.substring(i.raw.length)}else if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length);let r=t.at(-1);"text"===(null==r?void 0:r.type)?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(i)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){var r,n,a;let o=e,i=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(o));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,i.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(o));)o=o.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let s=!1,l="";for(;e;){let i;if(s||(l=""),s=!1,null!=(n=null==(r=this.options.extensions)?void 0:r.inline)&&n.some((r=>!!(i=r.call({lexer:this},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0))))continue;if(i=this.tokenizer.escape(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.tag(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.link(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(i.raw.length);let r=t.at(-1);"text"===i.type&&"text"===(null==r?void 0:r.type)?(r.raw+=i.raw,r.text+=i.text):t.push(i);continue}if(i=this.tokenizer.emStrong(e,o,l)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.codespan(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.br(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.del(e)){e=e.substring(i.raw.length),t.push(i);continue}if(i=this.tokenizer.autolink(e)){e=e.substring(i.raw.length),t.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(e))){e=e.substring(i.raw.length),t.push(i);continue}let c=e;if(null!=(a=this.options.extensions)&&a.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach((e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(r=Math.min(r,t))})),r<1/0&&r>=0&&(c=e.substring(0,r+1))}if(i=this.tokenizer.inlineText(c)){e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(l=i.raw.slice(-1)),s=!0;let r=t.at(-1);"text"===(null==r?void 0:r.type)?(r.raw+=i.raw,r.text+=i.text):t.push(i)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},Rr=class{constructor(e){tt(this,"options"),tt(this,"parser"),this.options=e||Dt}space(e){return""}code({text:e,lang:t,escaped:r}){var n;let a=null==(n=(t||"").match(It.notSpaceStart))?void 0:n[0],o=e.replace(It.endingNewline,"")+"\n";return a?'<pre><code class="language-'+Nr(a)+'">'+(r?o:Nr(o,!0))+"</code></pre>\n":"<pre><code>"+(r?o:Nr(o,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){let t=e.ordered,r=e.start,n="";for(let t=0;t<e.items.length;t++){let r=e.items[t];n+=this.listitem(r)}let a=t?"ol":"ul";return"<"+a+(t&&1!==r?' start="'+r+'"':"")+">\n"+n+"</"+a+">\n"}listitem(e){var t;let r="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===(null==(t=e.tokens[0])?void 0:t.type)?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+Nr(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):r+=n+" "}return r+=this.parser.parse(e.tokens,!!e.loose),`<li>${r}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",r="";for(let t=0;t<e.header.length;t++)r+=this.tablecell(e.header[t]);t+=this.tablerow({text:r});let n="";for(let t=0;t<e.rows.length;t++){let a=e.rows[t];r="";for(let e=0;e<a.length;e++)r+=this.tablecell(a[e]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+n+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Nr(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),a=zr(e);if(null===a)return n;let o='<a href="'+(e=a)+'"';return t&&(o+=' title="'+Nr(t)+'"'),o+=">"+n+"</a>",o}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=zr(e);if(null===a)return Nr(r);let o=`<img src="${e=a}" alt="${r}"`;return t&&(o+=` title="${Nr(t)}"`),o+=">",o}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Nr(e.text)}},Tr=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},Lr=class e{constructor(e){tt(this,"options"),tt(this,"renderer"),tt(this,"textRenderer"),this.options=e||Dt,this.options.renderer=this.options.renderer||new Rr,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Tr}static parse(t,r){return new e(r).parse(t)}static parseInline(t,r){return new e(r).parseInline(t)}parse(e,t=!0){var r,n;let a="";for(let o=0;o<e.length;o++){let i=e[o];if(null!=(n=null==(r=this.options.extensions)?void 0:r.renderers)&&n[i.type]){let e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){a+=t||"";continue}}let s=i;switch(s.type){case"space":a+=this.renderer.space(s);continue;case"hr":a+=this.renderer.hr(s);continue;case"heading":a+=this.renderer.heading(s);continue;case"code":a+=this.renderer.code(s);continue;case"table":a+=this.renderer.table(s);continue;case"blockquote":a+=this.renderer.blockquote(s);continue;case"list":a+=this.renderer.list(s);continue;case"html":a+=this.renderer.html(s);continue;case"paragraph":a+=this.renderer.paragraph(s);continue;case"text":{let r=s,n=this.renderer.text(r);for(;o+1<e.length&&"text"===e[o+1].type;)r=e[++o],n+="\n"+this.renderer.text(r);a+=t?this.renderer.paragraph({type:"paragraph",raw:n,text:n,tokens:[{type:"text",raw:n,text:n,escaped:!0}]}):n;continue}default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return a}parseInline(e,t=this.renderer){var r,n;let a="";for(let o=0;o<e.length;o++){let i=e[o];if(null!=(n=null==(r=this.options.extensions)?void 0:r.renderers)&&n[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){a+=e||"";continue}}let s=i;switch(s.type){case"escape":case"text":a+=t.text(s);break;case"html":a+=t.html(s);break;case"link":a+=t.link(s);break;case"image":a+=t.image(s);break;case"strong":a+=t.strong(s);break;case"em":a+=t.em(s);break;case"codespan":a+=t.codespan(s);break;case"br":a+=t.br(s);break;case"del":a+=t.del(s);break;default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return a}},Qr=(Fr=class{constructor(e){tt(this,"options"),tt(this,"block"),this.options=e||Dt}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?Ir.lex:Ir.lexInline}provideParser(){return this.block?Lr.parse:Lr.parseInline}},tt(Fr,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),Fr),Gr=class{constructor(...e){tt(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),tt(this,"options",this.setOptions),tt(this,"parse",this.parseMarkdown(!0)),tt(this,"parseInline",this.parseMarkdown(!1)),tt(this,"Parser",Lr),tt(this,"Renderer",Rr),tt(this,"TextRenderer",Tr),tt(this,"Lexer",Ir),tt(this,"Tokenizer",Vr),tt(this,"Hooks",Qr),this.use(...e)}walkTokens(e,t){var r,n;let a=[];for(let o of e)switch(a=a.concat(t.call(this,o)),o.type){case"table":{let e=o;for(let r of e.header)a=a.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)a=a.concat(this.walkTokens(e.tokens,t));break}case"list":{let e=o;a=a.concat(this.walkTokens(e.items,t));break}default:{let e=o;null!=(n=null==(r=this.defaults.extensions)?void 0:r.childTokens)&&n[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{let n=e[r].flat(1/0);a=a.concat(this.walkTokens(n,t))})):e.tokens&&(a=a.concat(this.walkTokens(e.tokens,t)))}}return a}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];t.renderers[e.name]=r?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),r.extensions=t),e.renderer){let t=this.defaults.renderer||new Rr(this.defaults);for(let r in e.renderer){if(!(r in t))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let n=r,a=e.renderer[n],o=t[n];t[n]=(...e)=>{let r=a.apply(t,e);return!1===r&&(r=o.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new Vr(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=r,a=e.tokenizer[n],o=t[n];t[n]=(...e)=>{let r=a.apply(t,e);return!1===r&&(r=o.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Qr;for(let r in e.hooks){if(!(r in t))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=r,a=e.hooks[n],o=t[n];Qr.passThroughHooks.has(r)?t[n]=e=>{if(this.defaults.async)return Promise.resolve(a.call(t,e)).then((e=>o.call(t,e)));let r=a.call(t,e);return o.call(t,r)}:t[n]=(...e)=>{let r=a.apply(t,e);return!1===r&&(r=o.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Ir.lex(e,t??this.defaults)}parser(e,t){return Lr.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},a={...this.defaults,...n},o=this.onError(!!a.silent,!!a.async);if(!0===this.defaults.async&&!1===n.async)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return o(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));a.hooks&&(a.hooks.options=a,a.hooks.block=e);let i=a.hooks?a.hooks.provideLexer():e?Ir.lex:Ir.lexInline,s=a.hooks?a.hooks.provideParser():e?Lr.parse:Lr.parseInline;if(a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(t):t).then((e=>i(e,a))).then((e=>a.hooks?a.hooks.processAllTokens(e):e)).then((e=>a.walkTokens?Promise.all(this.walkTokens(e,a.walkTokens)).then((()=>e)):e)).then((e=>s(e,a))).then((e=>a.hooks?a.hooks.postprocess(e):e)).catch(o);try{a.hooks&&(t=a.hooks.preprocess(t));let e=i(t,a);a.hooks&&(e=a.hooks.processAllTokens(e)),a.walkTokens&&this.walkTokens(e,a.walkTokens);let r=s(e,a);return a.hooks&&(r=a.hooks.postprocess(r)),r}catch(e){return o(e)}}}onError(e,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+Nr(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}},Kr=new Gr;function Yr(e,t){return Kr.parse(e,t)}Yr.options=Yr.setOptions=function(e){return Kr.setOptions(e),Yr.defaults=Kr.defaults,Mt(Yr.defaults),Yr},Yr.getDefaults=Ot,Yr.defaults=Dt,Yr.use=function(...e){return Kr.use(...e),Yr.defaults=Kr.defaults,Mt(Yr.defaults),Yr},Yr.walkTokens=function(e,t){return Kr.walkTokens(e,t)},Yr.parseInline=Kr.parseInline,Yr.Parser=Lr,Yr.parser=Lr.parse,Yr.Renderer=Rr,Yr.TextRenderer=Tr,Yr.Lexer=Ir,Yr.lexer=Ir.lex,Yr.Tokenizer=Vr,Yr.Hooks=Qr,Yr.parse=Yr,Yr.options,Yr.setOptions,Yr.use,Yr.walkTokens,Yr.parseInline,Lr.parse,Ir.lex;const Hr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Wr=/&(?:amp|lt|gt|quot|#(?:0+)?39);/g,Ur=RegExp(Wr.source),qr=(e="")=>Ur.test(e)?e.replace(Wr,(e=>Hr[e]||"'")):e,Zr=(e,t)=>{if(!t)return e;try{return new URL(e,t).href}catch{return e}};var _r,Jr,Xr,$r,en,tn=class{constructor(e){tt(this,"renderer"),this.renderer=e.renderer}parse(e){this.renderer.elIdList.push(0);const t=e.map((e=>{switch(e.type){case"space":return null;case"heading":{const t=e.depth;return this.renderer.heading(this.parseInline(e.tokens),t)}case"paragraph":return this.renderer.paragraph(this.parseInline(e.tokens));case"text":{const t=e;return t.tokens?this.parseInline(t.tokens):e.text}case"blockquote":{const t=e,r=this.parse(t.tokens);return this.renderer.blockquote(r)}case"list":{const t=e;this.renderer.elIdList.push(0);const r=t.items.map((e=>{const t=[];return e.task&&t.push(this.renderer.checkbox(e.checked??!1)),t.push(this.parse(e.tokens)),this.renderer.listItem(t)}));return this.renderer.elIdList.pop(),this.renderer.list(r,e.ordered,e.ordered?e.start:void 0)}case"code":return this.renderer.code(e.text,e.lang);case"html":return this.renderer.html(e.text);case"table":{const t=e;this.renderer.elIdList.push(0);const r=t.header.map(((t,r)=>this.renderer.tableCell(this.parseInline(t.tokens),{header:!0,align:e.align[r]})));this.renderer.elIdList.pop();const n=this.renderer.tableRow(r),a=this.renderer.tableHeader(n);this.renderer.elIdList.push(0);const o=t.rows.map((t=>{this.renderer.elIdList.push(0);const r=t.map(((t,r)=>this.renderer.tableCell(this.parseInline(t.tokens),{header:!1,align:e.align[r]})));return this.renderer.elIdList.pop(),this.renderer.tableRow(r)}));this.renderer.elIdList.pop();const i=this.renderer.tableBody(o);return this.renderer.table([a,i])}case"hr":return this.renderer.hr();default:return console.warn(`Token with "${e.type}" type was not found`),null}}));return this.renderer.elIdList.pop(),t}parseInline(e=[]){this.renderer.elIdList.push(0);const t=e.map((e=>{switch(e.type){case"text":return this.renderer.text(qr(e.text));case"strong":return this.renderer.strong(this.parseInline(e.tokens));case"em":return this.renderer.em(this.parseInline(e.tokens));case"del":return this.renderer.del(this.parseInline(e.tokens));case"codespan":return this.renderer.codespan(qr(e.text));case"link":return this.renderer.link(e.href,this.parseInline(e.tokens));case"image":return this.renderer.image(e.href,e.text,e.title);case"html":return this.renderer.html(e.text);case"br":return this.renderer.br();case"escape":return this.renderer.text(e.text);default:return console.warn(`Token with "${e.type}" type was not found`),null}}));return this.renderer.elIdList.pop(),t}},rn=(en=class{constructor(e={}){at(this,Jr),tt(this,"elIdList",[]),at(this,_r);const{renderer:t}=e;((e,t,r)=>{rt(e,t,"write to private field"),t.set(e,r)})(this,_r,e),t&&"object"==typeof t&&Object.entries(t).forEach((([e,t])=>{const r=e,n=t;!this[r]||"elementId"===r||"elIdList"===r||"function"!=typeof n||Object.defineProperty(this,r,{value(...e){return ot(this,Jr,$r).call(this),n.apply(this,e)},writable:!0,enumerable:!0,configurable:!0})}))}get elementId(){return this.elIdList.join("-")}heading(e,t){return ot(this,Jr,Xr).call(this,`h${t}`,e)}paragraph(e){return ot(this,Jr,Xr).call(this,"p",e)}link(e,t){const r=Zr(e,nt(this,_r).baseURL),n=nt(this,_r).openLinksInNewTab?"_blank":null;return ot(this,Jr,Xr).call(this,"a",t,{href:r,target:n})}image(e,t,r=null){const n=Zr(e,nt(this,_r).baseURL);return ot(this,Jr,Xr).call(this,"img",null,{src:n,alt:t,title:r})}codespan(e,t=null){const r=t?`${nt(this,_r).langPrefix}${t}`:null;return ot(this,Jr,Xr).call(this,"code",e,{className:r})}code(e,t){return ot(this,Jr,Xr).call(this,"pre",this.codespan(e,t))}blockquote(e){return ot(this,Jr,Xr).call(this,"blockquote",e)}list(e,t,r){return ot(this,Jr,Xr).call(this,t?"ol":"ul",e,t&&1!==r?{start:r}:{})}listItem(e){return ot(this,Jr,Xr).call(this,"li",e)}checkbox(e){return ot(this,Jr,Xr).call(this,"input",null,{type:"checkbox",disabled:!0,checked:e})}table(e){return ot(this,Jr,Xr).call(this,"table",e)}tableHeader(e){return ot(this,Jr,Xr).call(this,"thead",e)}tableBody(e){return ot(this,Jr,Xr).call(this,"tbody",e)}tableRow(e){return ot(this,Jr,Xr).call(this,"tr",e)}tableCell(e,t){const r=t.header?"th":"td";return ot(this,Jr,Xr).call(this,r,e,{align:t.align})}strong(e){return ot(this,Jr,Xr).call(this,"strong",e)}em(e){return ot(this,Jr,Xr).call(this,"em",e)}del(e){return ot(this,Jr,Xr).call(this,"del",e)}text(e){return e}html(e){return e}hr(){return ot(this,Jr,Xr).call(this,"hr")}br(){return ot(this,Jr,Xr).call(this,"br")}},_r=new WeakMap,Jr=new WeakSet,Xr=function(e,t=null,r={}){const n={key:`marked-react-${this.elementId}`,suppressHydrationWarning:!0};return ot(this,Jr,$r).call(this),p.createElement(e,{...r,...n},t)},$r=function(){this.elIdList[this.elIdList.length-1]+=1},en),nn=rn;const an={isInline:!1,breaks:!1,gfm:!0,baseURL:void 0,openLinksInNewTab:!0,langPrefix:"language-",renderer:void 0},on=new Gr;var sn=e=>{(e=>{if(e.value&&"string"!=typeof e.value)throw new TypeError("[marked-react]: Expected value to be of type string but got "+typeof e.value);if(e.children&&"string"!=typeof e.children)throw new TypeError("[marked-react]: Expected children to be of type string but got "+typeof e.children)})(e);const t={...an,...e},r=t.instance??on,n={breaks:t.breaks,gfm:t.gfm,tokenizer:r.defaults.tokenizer},a=t.value??t.children??"",o=t.isInline?r.Lexer.lexInline(a,n):r.lexer(a,n),i={renderer:new nn({renderer:t.renderer,baseURL:t.baseURL,openLinksInNewTab:t.openLinksInNewTab,langPrefix:t.langPrefix})},s=new tn(i),l=t.isInline?s.parseInline(o):s.parse(o);return p.createElement(p.Fragment,null,l)},ln=sn;const cn=({bold:e=!1,children:t,size:r="small",hasBorder:n=!1,color:a="var(--malachite-text-primary)",backgroundColor:o,className:i="",style:s={}})=>{const l={fontFamily:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace',fontSize:(e=>{switch(e){case"xsmall":return"12px";case"small":default:return"14px";case"medium":return"16px";case"large":return"18px";case"xlarge":return"24px"}})(r),fontWeight:e?600:400,color:a,backgroundColor:n?"transparent":o||"#f5f5f5",borderRadius:"8px",border:n?"none":"1px solid #e8e8e8",padding:n?"0px":"4px 8px",display:"inline",...s};return P.jsx("code",{className:i,style:l,children:t})},un=({children:e,margin:t="0",className:r="",style:n={}})=>{const a={fontSize:"24px",fontWeight:600,color:"var(--malachite-text-primary)",lineHeight:"1.3",margin:t,...n};return P.jsx("h1",{className:r,style:a,children:e})},dn=({children:e,className:t="",style:r={}})=>{const n={fontSize:"20px",fontWeight:600,color:"var(--malachite-text-primary)",lineHeight:"1.3",margin:0,...r};return P.jsx("h3",{className:t,style:n,children:e})},hn=e=>{switch(e){case"primary":default:return"var(--malachite-text-primary)";case"secondary":return"var(--malachite-text-secondary)";case"dimmed":return"var(--malachite-text-dimmed)";case"destructive":return"var(--malachite-text-destructive)";case"success":return"var(--malachite-text-success)";case"warning":return"var(--malachite-text-warning)";case"error":return"var(--malachite-text-error)";case"link":return"var(--malachite-text-link-foreground)"}},pn=({underline:e=!1,children:t,color:r="primary",size:n="small",fontWeight:a="normal",tooltip:o,textAlign:i,className:s="",style:l={}})=>{const c={color:hn(r),fontSize:(e=>{switch(e){case"xsmall":return"12px";case"small":default:return"14px";case"medium":return"16px";case"large":return"18px";case"xlarge":return"24px"}})(n),fontWeight:(e=>{switch(e){case"normal":default:return 400;case"semi-bold":return 500;case"bold":return 600}})(a),textAlign:i,textDecoration:e?"underline":"none",display:i?"block":void 0,...l};return P.jsx("span",{className:s,style:c,title:o,children:t})},fn=({color:e,size:t,omitMargin:r})=>({blockquote:e=>P.jsxs(P.Fragment,{children:[P.jsx("br",{}),P.jsx("div",{style:{backgroundColor:"var(--malachite-card-dimmed-background)",padding:"20px",borderRadius:"20px",border:"1px solid var(--malachite-card-border)"},children:Array.isArray(e)?e[0]:e}),P.jsx("br",{})]}),paragraph:e=>P.jsx("div",{style:{marginBottom:r?"0px":"16px"},children:e},`paragraph-${Math.random().toString(36).substr(2,9)}`),codespan:e=>P.jsx(cn,{size:t,children:Array.isArray(e)?e[0]:e},`paragraph-${Math.random().toString(36).substr(2,9)}`),heading:(e,t)=>P.jsxs(P.Fragment,{children:[1===t?P.jsx(un,{children:Array.isArray(e)?e[0]:e},`paragraph-${Math.random().toString(36).substr(2,9)}`):P.jsx(dn,{children:Array.isArray(e)?e[0]:e},`paragraph-${Math.random().toString(36).substr(2,9)}`),P.jsx("br",{})]}),br:()=>P.jsx("br",{}),text:r=>P.jsx(pn,{color:e,size:t,children:Array.isArray(r)?r[0]:r},`paragraph-${Math.random().toString(36).substr(2,9)}`),strong:r=>P.jsx(pn,{fontWeight:"bold",color:e,size:t,children:Array.isArray(r)?r[0]:r},`paragraph-${Math.random().toString(36).substr(2,9)}`),link:(e,t)=>P.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--malachite-text-link-foreground)",textDecoration:"underline",fontWeight:"bold"},onMouseEnter:e=>{e.currentTarget.style.color="var(--malachite-text-link-foreground-hover)"},onMouseLeave:e=>{e.currentTarget.style.color="var(--malachite-text-link-foreground)"},children:t},`paragraph-${Math.random().toString(36).substr(2,9)}`),listItem:e=>{const t=`list-item-${Math.random().toString(36).substr(2,9)}`;return P.jsx("li",{style:{padding:"4px 0px"},children:e},t)}}),gn=e=>{const t=e.split("\n"),r=Math.min(...t.filter((e=>""!==e.trim())).map((e=>{var t;return(null==(t=e.match(/^[ \t]*(?=\S)/gm))?void 0:t[0].length)??0})));return t.map((e=>e.replace(new RegExp(`^[ \\t]{${r}}`,"gm"),""))).join("\n")},mn=({text:e,color:t,size:r,omitMargin:n})=>e?P.jsx(ln,{value:gn(e),renderer:fn({color:t,size:r,omitMargin:n})}):null,bn=({text:e,type:t})=>P.jsx(mn,{text:e,color:(e=>{switch(e){case"info":default:return"primary";case"success":return"success";case"error":return"error";case"warning":return"warning"}})(t),size:"small",omitMargin:!0}),yn=({type:e="info",message:t,hasMargin:r=!0,className:n,children:a,isExpanded:o,onToggle:i})=>{const s=!!a,[l,c]=p.useState(!1),u=void 0!==o?o:l,d={width:"16px",height:"16px",flexShrink:0},h={info:P.jsx(Bt,{style:d}),success:P.jsx(Ct,{style:d}),error:P.jsx(Et,{style:d}),warning:P.jsx(zt,{style:d})},f=["alert-base",`alert-${e}`,"flex","w-full",s&&u?"flex-col":"gap-2 items-center min-h-[2rem]",r?"":"alert-no-margin","text-left",s?"rounded-xl !p-0":"!px-2.5 !py-1.5",n].filter(Boolean).join(" "),g=["flex items-center justify-between w-full",s?"gap-2 px-2.5 py-1":"gap-2",s&&u?"rounded-t-[12px]":s?"rounded-[12px]":""].filter(Boolean).join(" "),m=["w-full","overflow-hidden"].filter(Boolean).join(" ");return s?P.jsxs("div",{className:`${f} alert-expandable`,children:[P.jsxs("div",{className:g,children:[P.jsxs("div",{className:"flex-1 flex gap-2 items-center",children:[h[e],P.jsx("div",{className:"flex-1 flex items-center",children:P.jsx("div",{className:"[&>div]:mb-0",children:P.jsx(bn,{text:t,type:e})})})]}),P.jsx("div",{className:"flex items-center gap-2",children:P.jsx(ct,{variant:"no-style",size:"xsmall",onClick:()=>{const e=!u;void 0===o&&c(e),null==i||i(e)},"aria-label":u?"Collapse":"Expand",style:{color:hn(e)},children:u?P.jsx(kt,{style:{minWidth:"13px",minHeight:"13px"}}):P.jsx(xt,{style:{minWidth:"13px",minHeight:"13px"}})})})]}),u&&P.jsx(P.Fragment,{children:P.jsx("div",{className:m,children:P.jsx("div",{className:"bg-white rounded-[10px] shadow-[0px_1px_0px_0px_rgba(0,0,0,0.15)] border border-[#e8e8e8] border-solid mx-2 mb-2 max-h-[553px] overflow-y-auto",children:a})})})]}):P.jsxs("div",{className:f,children:[h[e],P.jsx("div",{className:"flex-1 flex items-center",children:P.jsx("div",{className:"[&>div]:mb-0",children:P.jsx(bn,{text:t,type:e})})})]})},vn=({control:e,name:t,children:r})=>P.jsx(pe,{control:e,name:t,render:({field:e,fieldState:t})=>P.jsx("div",{"data-field-name":e.name,"data-has-error":!!t.error,children:r})}),wn=({direction:e="horizontal",size:t=8,children:r,align:n,justifyContent:a,padding:o,id:i,fullHeight:s=!1,fullWidth:l=!1,className:c=""})=>{const u="vertical"===e?"column":"row",d=p.useMemo((()=>{switch(n){case"center":default:return"center";case"start":return"flex-start";case"end":return"flex-end";case"baseline":return"baseline";case"stretch":return"stretch"}}),[n]),h=p.useMemo((()=>{switch(a){case"space-between":return"space-between";case"center":return"center";case"end":return"flex-end";default:return"flex-start"}}),[a]),g=f.Children.toArray(r);return P.jsx("div",{id:i,className:`flex ${c}`.trim(),style:{flexDirection:u,alignItems:d,justifyContent:h,gap:`${t}px`,padding:o,height:s?"100%":void 0,width:l?"100%":void 0},children:g.map(((e,t)=>P.jsx(f.Fragment,{children:e},t)))})},xn={minWidth:0,overflow:"hidden"},kn=({text:e,children:t,delay:r=1,wrapChildren:n=!1,placement:a="top",isShrinkable:o=!1})=>{const i=o?xn:void 0,[s,l]=p.useState(!1),c=p.useRef(null),u=p.useRef(null),d=p.useRef(null),[,h]=p.useState({});return p.useEffect((()=>{const e=()=>{s&&h({})};return window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{c.current&&clearTimeout(c.current),window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[s]),P.jsxs(P.Fragment,{children:[P.jsx("div",{ref:d,className:"relative flex items-center",style:i,onMouseEnter:e=>{e.stopPropagation(),c.current&&clearTimeout(c.current),c.current=setTimeout((()=>{l(!0)}),1e3*r)},onMouseLeave:e=>{e.stopPropagation(),c.current&&clearTimeout(c.current),l(!1)},children:n?P.jsx("span",{children:t}):t}),Xe.createPortal(P.jsx("div",{ref:u,role:"tooltip",style:(()=>{if(!d.current)return{display:"none"};const e=d.current.getBoundingClientRect(),t={position:"fixed",zIndex:2147483647,display:"flex",width:"max-content",maxWidth:"320px",minWidth:"32px",minHeight:"32px",padding:"8px 12px",alignItems:"center",gap:"8px",borderRadius:"12px",backgroundColor:"var(--malachite-tooltip-background, rgb(59, 59, 59))",color:"var(--malachite-tooltip-foreground, rgb(255, 255, 255))",boxShadow:"var(--malachite-tooltip-shadow, 0px 0px 10px 0px rgba(0, 0, 0, 0.20))",fontSize:"14px",lineHeight:"1.4",wordWrap:"break-word",whiteSpace:"normal",textAlign:"left",pointerEvents:"none",opacity:s?1:0,visibility:s?"visible":"hidden",transition:"opacity 150ms ease-in-out, transform 150ms ease-in-out, visibility 150ms ease-in-out"};switch(a){case"top":default:return{...t,top:e.top-8,left:e.left+e.width/2,transform:"translate(-50%, -100%) "+(s?"scale(1)":"scale(0.95)")};case"bottom":return{...t,top:e.bottom+8,left:e.left+e.width/2,transform:"translateX(-50%) "+(s?"scale(1)":"scale(0.95)")};case"left":return{...t,top:e.top+e.height/2,left:e.left-8,transform:"translate(-100%, -50%) "+(s?"scale(1)":"scale(0.95)")};case"right":return{...t,top:e.top+e.height/2,left:e.right+8,transform:"translateY(-50%) "+(s?"scale(1)":"scale(0.95)")}}})(),children:e}),document.body)]})},Cn=({label:e,hint:t,tooltip:r,name:n,description:a,required:o=!1,loading:i=!1,formControl:s,loadingComponent:l,children:c})=>{const u=s?P.jsx(vn,{control:s,name:n,children:c}):c;return P.jsxs(wn,{direction:"vertical",size:6,align:"stretch",children:[(e??t??a)&&P.jsxs(wn,{direction:"vertical",size:4,align:"stretch",children:[P.jsxs("div",{className:"flex justify-between items-start",children:[P.jsx(Sn,{text:e,required:o,tooltip:r}),t&&P.jsx(An,{text:t})]}),a&&P.jsx(En,{text:a})]}),i?l:u]})},An=({text:e})=>P.jsx(pn,{size:"xsmall",color:"dimmed",className:"pr-2 relative top-[3px]",children:e}),En=({text:e})=>P.jsx("div",{className:"pl-2 text-left",children:P.jsx(mn,{color:"dimmed",size:"small",text:e??"",omitMargin:!0})}),Sn=({text:e,required:t,tooltip:r})=>e?P.jsxs("div",{className:"flex items-center",children:[P.jsxs(pn,{size:"xsmall",color:"primary",fontWeight:"semi-bold",className:"pl-2",children:[e,!t&&P.jsx(pn,{size:"xsmall",color:"dimmed",className:"ml-1",children:"(Optional)"})]}),r&&P.jsx(kn,{text:r,placement:"right",children:P.jsx(Pt,{size:14,className:"ml-1 -mt-[2px] text-[var(--malachite-text-dimmed)] cursor-help"})})]}):P.jsx("div",{}),jn=({buttons:e,className:t=""})=>P.jsx("div",{className:`flex flex-col gap-1 w-full ${t}`,children:e.map((e=>P.jsx("button",{onClick:e.onClick,className:"flex justify-between items-center w-full h-10 px-3 py-2.5 \n bg-[var(--malachite-buttonlist-background)] \n hover:bg-[var(--malachite-buttonlist-hover-background)] \n focus:bg-[var(--malachite-buttonlist-hover-background)] \n active:opacity-60 \n border-none rounded-xl shadow-none \n transition-all duration-150 ease-in-out \n cursor-pointer \n text-[var(--malachite-buttonlist-foreground)] \n hover:text-[var(--malachite-buttonlist-hover-foreground)] \n focus:text-[var(--malachite-buttonlist-hover-foreground)]\n focus:outline-none",children:e.children},e.key)))}),Pn=({title:e,children:t,padding:r="20px",size:n="default",width:a,minWidth:o,dimmed:i=!1,direction:s,align:l,fullHeight:c=!1,border:u="base",alignSelf:d,height:h,footer:f,glassFooter:g=!1,className:m="",style:b={},headerConfig:y={}})=>{const v=p.useRef(null),[w,x]=p.useState(0);p.useEffect((()=>{if(g&&f&&v.current){const e=new ResizeObserver((e=>{for(const t of e)x(t.contentRect.height)}));return e.observe(v.current),x(v.current.offsetHeight),()=>e.disconnect()}}),[g,f]);const k=["card-base",i?"card-dimmed":"","rounded"===u?"card-rounded":"",c?"h-full":"",h?"flex flex-col":"","small"===n?"text-sm":"",m].filter(Boolean).join(" "),C=parseInt(r)||20,A={padding:r,display:s?"flex":void 0,flexDirection:s,alignItems:l,...h&&{overflow:"auto",height:"100%"},...g&&f&&w>0&&{paddingBottom:`${C+w+10}px`}},E={width:a,minWidth:o,alignSelf:d,...c&&{height:"100%"},...h&&{height:h,display:"flex",flexDirection:"column"},...g&&f&&{position:"relative"},overflow:"hidden",...b};return P.jsxs("div",{className:k,style:E,children:[e&&P.jsx("div",{className:"card-header px-3 py-2",style:{marginBottom:"1px",fontSize:"small"===n?"12px":"13px",fontWeight:"normal",padding:null==y?void 0:y.padding},children:P.jsx("div",{className:"font-normal overflow-visible",children:e})}),P.jsx("div",{className:"flex-1",style:{...A,...g&&f&&{position:"relative"}},children:t}),f&&P.jsx("div",{ref:g?v:void 0,className:"card-footer px-4 py-3",style:g?{backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",backgroundColor:"rgba(255, 255, 255, 0.7)",position:"absolute",bottom:0,left:0,right:0,borderBottomLeftRadius:"rounded"===u?"20px":"12px",borderBottomRightRadius:"rounded"===u?"20px":"12px"}:void 0,children:f})]})};function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bn.apply(null,arguments)}function Nn(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}var zn={},On=p.createContext(zn),Dn=(e,t)=>Bn({},e,t),Mn=p.createContext((()=>{}));function Fn(){return p.useContext(Mn)}Mn.displayName="JVR.DispatchShowTools";var Vn=e=>{var{initial:t,dispatch:r,children:n}=e;return P.jsx(On.Provider,{value:t,children:P.jsx(Mn.Provider,{value:r,children:n})})};Vn.displayName="JVR.ShowTools";var In={},Rn=p.createContext(In),Tn=(e,t)=>Bn({},e,t),Ln=()=>p.useContext(Rn),Qn=p.createContext((()=>{}));Qn.displayName="JVR.DispatchExpands";var Gn=e=>{var{initial:t,dispatch:r,children:n}=e;return P.jsx(Rn.Provider,{value:t,children:P.jsx(Qn.Provider,{value:r,children:n})})};Gn.displayName="JVR.Expands";var Kn={Str:{as:"span","data-type":"string",style:{color:"var(--w-rjv-type-string-color, #cb4b16)"},className:"w-rjv-type",children:"string"},Url:{as:"a",style:{color:"var(--w-rjv-type-url-color, #0969da)"},"data-type":"url",className:"w-rjv-type",children:"url"},Undefined:{style:{color:"var(--w-rjv-type-undefined-color, #586e75)"},as:"span","data-type":"undefined",className:"w-rjv-type",children:"undefined"},Null:{style:{color:"var(--w-rjv-type-null-color, #d33682)"},as:"span","data-type":"null",className:"w-rjv-type",children:"null"},Map:{style:{color:"var(--w-rjv-type-map-color, #268bd2)",marginRight:3},as:"span","data-type":"map",className:"w-rjv-type",children:"Map"},Nan:{style:{color:"var(--w-rjv-type-nan-color, #859900)"},as:"span","data-type":"nan",className:"w-rjv-type",children:"NaN"},Bigint:{style:{color:"var(--w-rjv-type-bigint-color, #268bd2)"},as:"span","data-type":"bigint",className:"w-rjv-type",children:"bigint"},Int:{style:{color:"var(--w-rjv-type-int-color, #268bd2)"},as:"span","data-type":"int",className:"w-rjv-type",children:"int"},Set:{style:{color:"var(--w-rjv-type-set-color, #268bd2)",marginRight:3},as:"span","data-type":"set",className:"w-rjv-type",children:"Set"},Float:{style:{color:"var(--w-rjv-type-float-color, #859900)"},as:"span","data-type":"float",className:"w-rjv-type",children:"float"},True:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},False:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},Date:{style:{color:"var(--w-rjv-type-date-color, #268bd2)"},as:"span","data-type":"date",className:"w-rjv-type",children:"date"}},Yn=p.createContext(Kn),Hn=(e,t)=>Bn({},e,t),Wn=()=>p.useContext(Yn),Un=p.createContext((()=>{}));function qn(e){var{initial:t,dispatch:r,children:n}=e;return P.jsx(Yn.Provider,{value:t,children:P.jsx(Un.Provider,{value:r,children:n})})}Un.displayName="JVR.DispatchTypes",qn.displayName="JVR.Types";var Zn=["style"];function _n(e){var{style:t}=e,r=Nn(e,Zn),n=Bn({cursor:"pointer",height:"1em",width:"1em",userSelect:"none",display:"inline-flex"},t);return P.jsx("svg",Bn({viewBox:"0 0 24 24",fill:"var(--w-rjv-arrow-color, currentColor)",style:n},r,{children:P.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})}))}_n.displayName="JVR.TriangleArrow";var Jn={Arrow:{as:"span",className:"w-rjv-arrow",style:{transform:"rotate(0deg)",transition:"all 0.3s"},children:P.jsx(_n,{})},Colon:{as:"span",style:{color:"var(--w-rjv-colon-color, var(--w-rjv-color))",marginLeft:0,marginRight:2},className:"w-rjv-colon",children:":"},Quote:{as:"span",style:{color:"var(--w-rjv-quotes-color, #236a7c)"},className:"w-rjv-quotes",children:'"'},ValueQuote:{as:"span",style:{color:"var(--w-rjv-quotes-string-color, #cb4b16)"},className:"w-rjv-quotes",children:'"'},BracketsLeft:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-start",children:"["},BracketsRight:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-end",children:"]"},BraceLeft:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-start",children:"{"},BraceRight:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-end",children:"}"}},Xn=p.createContext(Jn),$n=(e,t)=>Bn({},e,t),ea=()=>p.useContext(Xn),ta=p.createContext((()=>{}));ta.displayName="JVR.DispatchSymbols";var ra=e=>{var{initial:t,dispatch:r,children:n}=e;return P.jsx(Xn.Provider,{value:t,children:P.jsx(ta.Provider,{value:r,children:n})})};ra.displayName="JVR.Symbols";var na={Copied:{className:"w-rjv-copied",style:{height:"1em",width:"1em",cursor:"pointer",verticalAlign:"middle",marginLeft:5}},CountInfo:{as:"span",className:"w-rjv-object-size",style:{color:"var(--w-rjv-info-color, #0000004d)",paddingLeft:8,fontStyle:"italic"}},CountInfoExtra:{as:"span",className:"w-rjv-object-extra",style:{paddingLeft:8}},Ellipsis:{as:"span",style:{cursor:"pointer",color:"var(--w-rjv-ellipsis-color, #cb4b16)",userSelect:"none"},className:"w-rjv-ellipsis",children:"..."},Row:{as:"div",className:"w-rjv-line"},KeyName:{as:"span",className:"w-rjv-object-key"}},aa=p.createContext(na),oa=(e,t)=>Bn({},e,t),ia=()=>p.useContext(aa),sa=p.createContext((()=>{}));sa.displayName="JVR.DispatchSection";var la=e=>{var{initial:t,dispatch:r,children:n}=e;return P.jsx(aa.Provider,{value:t,children:P.jsx(sa.Provider,{value:r,children:n})})};la.displayName="JVR.Section";var ca={objectSortKeys:!1,indentWidth:15},ua=p.createContext(ca);ua.displayName="JVR.Context";var da=p.createContext((()=>{}));function ha(e,t){return Bn({},e,t)}da.displayName="JVR.DispatchContext";var pa=()=>p.useContext(ua),fa=e=>{var{children:t,initialState:r,initialTypes:n}=e,[a,o]=p.useReducer(ha,Object.assign({},ca,r)),[i,s]=p.useReducer(Dn,zn),[l,c]=p.useReducer(Tn,In),[u,d]=p.useReducer(Hn,Kn),[h,f]=p.useReducer($n,Jn),[g,m]=p.useReducer(oa,na);return p.useEffect((()=>o(Bn({},r))),[r]),P.jsx(ua.Provider,{value:a,children:P.jsx(da.Provider,{value:o,children:P.jsx(Vn,{initial:i,dispatch:s,children:P.jsx(Gn,{initial:l,dispatch:c,children:P.jsx(qn,{initial:Bn({},u,n),dispatch:d,children:P.jsx(ra,{initial:h,dispatch:f,children:P.jsx(la,{initial:g,dispatch:m,children:t})})})})})})})};fa.displayName="JVR.Provider";var ga=["isNumber","value","parentValue","keyName","keys"],ma=["as","render"],ba=["as","render"],ya=["as","render"],va=["as","style","render"],wa=["as","render"],xa=["as","render"],ka=["as","render"],Ca=["as","render"],Aa=e=>{var{Quote:t={}}=ea(),{isNumber:r,value:n,parentValue:a,keyName:o,keys:i}=e,s=Nn(e,ga);if(r)return null;var{as:l,render:c}=t,u=l||"span",d=Bn({},s,Nn(t,ma));return c&&"function"==typeof c&&c(d,{value:n,parentValue:a,keyName:o,keys:i||(o?[o]:[])})||P.jsx(u,Bn({},d))};Aa.displayName="JVR.Quote";var Ea=e=>{var{ValueQuote:t={}}=ea(),r=Bn({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e)),{as:n,render:a}=t,o=n||"span",i=Bn({},r,Nn(t,ba));return a&&"function"==typeof a&&a(i,{})||P.jsx(o,Bn({},i))};Ea.displayName="JVR.ValueQuote";var Sa=e=>{var{value:t,parentValue:r,keyName:n,keys:a}=e,{Colon:o={}}=ea(),{as:i,render:s}=o,l=Nn(o,ya),c=i||"span";return s&&"function"==typeof s&&s(l,{value:t,parentValue:r,keyName:n,keys:a||(n?[n]:[])})||P.jsx(c,Bn({},l))};Sa.displayName="JVR.Colon";var ja=e=>{var{Arrow:t={}}=ea(),r=Ln(),{expandKey:n,style:a,value:o,parentValue:i,keyName:s,keys:l}=e,c=!!r[n],{as:u,style:d,render:h}=t,p=Nn(t,va),f=u||"span",g=h&&"function"==typeof h,m=Bn({},p,{"data-expanded":c,style:Bn({},d,a)});return g&&h(m,{value:o,parentValue:i,keyName:s,keys:l||(s?[s]:[])})||P.jsx(f,Bn({},p,{style:Bn({},d,a)}))};ja.displayName="JVR.Arrow";var Pa=e=>{var{isBrackets:t,value:r,parentValue:n,keyName:a,keys:o}=e,{BracketsLeft:i={},BraceLeft:s={}}=ea(),l={value:r,parentValue:n,keyName:a,keys:o||(a?[a]:[])};if(t){var{as:c,render:u}=i,d=Nn(i,wa),h=c||"span";return u&&"function"==typeof u&&u(d,l)||P.jsx(h,Bn({},d))}var{as:p,render:f}=s,g=Nn(s,xa),m=p||"span";return f&&"function"==typeof f&&f(g,l)||P.jsx(m,Bn({},g))};Pa.displayName="JVR.BracketsOpen";var Ba=e=>{var{isBrackets:t,isVisiable:r,value:n,parentValue:a,keyName:o,keys:i}=e,s={value:n,parentValue:a,keyName:o,keys:i||(o?[o]:[])};if(!r)return null;var{BracketsRight:l={},BraceRight:c={}}=ea();if(t){var{as:u,render:d}=l,h=Nn(l,ka),p=u||"span";return d&&"function"==typeof d&&d(h,s)||P.jsx(p,Bn({},h))}var{as:f,render:g}=c,m=Nn(c,Ca),b=f||"span";return g&&"function"==typeof g&&g(m,s)||P.jsx(b,Bn({},m))};Ba.displayName="JVR.BracketsClose";var Na=e=>{var t,{keyName:r,value:n,expandKey:a,parentValue:o,level:i,keys:s=[]}=e,l=Ln(),{collapsed:c,shouldExpandNodeInitially:u}=pa(),d="boolean"==typeof c?c:"number"==typeof c&&i>c,h=null!=(t=l[a])?t:d,p=u&&u(h,{value:n,keys:s,level:i,keyName:r,parentValue:o});if(void 0===l[a]&&p)return null;var f=Object.keys(n).length;if(h||0===f)return null;var g={keyName:r,value:n,keys:s,parentValue:o},m=Array.isArray(n),b=n instanceof Set;return P.jsx("div",{style:{paddingLeft:4},children:P.jsx(Ba,Bn({isBrackets:m||b},g,{isVisiable:!0}))})};Na.displayName="JVR.NestedClose";var za=["as","render"],Oa=["as","render"],Da=["as","render"],Ma=["as","render"],Fa=["as","render"],Va=["as","render"],Ia=["as","render"],Ra=["as","render"],Ta=["as","render"],La=["as","render"],Qa=["as","render"],Ga=["as","render"],Ka=["as","render"],Ya=e=>{if(void 0===e)return"0n";if("string"==typeof e)try{e=BigInt(e)}catch{return"0n"}return e?e.toString()+"n":"0n"},Ha=e=>{var{value:t,keyName:r}=e,{Set:n={},displayDataTypes:a}=Wn();if(!(t instanceof Set)||!a)return null;var{as:o,render:i}=n,s=Nn(n,za),l=i&&"function"==typeof i&&i(s,{type:"type",value:t,keyName:r});if(l)return l;var c=o||"span";return P.jsx(c,Bn({},s))};Ha.displayName="JVR.SetComp";var Wa=e=>{var{value:t,keyName:r}=e,{Map:n={},displayDataTypes:a}=Wn();if(!(t instanceof Map)||!a)return null;var{as:o,render:i}=n,s=Nn(n,Oa),l=i&&"function"==typeof i&&i(s,{type:"type",value:t,keyName:r});if(l)return l;var c=o||"span";return P.jsx(c,Bn({},s))};Wa.displayName="JVR.MapComp";var Ua={opacity:.75,paddingRight:4},qa=e=>{var{children:t="",keyName:r,keys:n}=e,{Str:a={},displayDataTypes:o}=Wn(),{shortenTextAfterLength:i=30,stringEllipsis:s="..."}=pa(),{as:l,render:c}=a,u=Nn(a,Da),d=t,[h,f]=p.useState(i&&d.length>i);p.useEffect((()=>f(i&&d.length>i)),[i]);var g=l||"span",m=Bn({},Ua,a.style||{});i>0&&(u.style=Bn({},u.style,{cursor:d.length<=i?"initial":"pointer"}),d.length>i&&(u.onClick=()=>{f(!h)}));var b=h?""+d.slice(0,i)+s:d,y=c&&"function"==typeof c,v=y&&c(Bn({},u,{style:m}),{type:"type",value:t,keyName:r,keys:n}),w=h?"w-rjv-value w-rjv-value-short":"w-rjv-value",x=y&&c(Bn({},u,{children:b,className:w}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(v||P.jsx(g,Bn({},u,{style:m}))),x||P.jsxs(p.Fragment,{children:[P.jsx(Ea,{}),P.jsx(g,Bn({},u,{className:w,children:b})),P.jsx(Ea,{})]})]})};qa.displayName="JVR.TypeString";var Za=e=>{var{children:t,keyName:r,keys:n}=e,{True:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Ma),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f||P.jsx(c,Bn({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};Za.displayName="JVR.TypeTrue";var _a=e=>{var{children:t,keyName:r,keys:n}=e,{False:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Fa),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f||P.jsx(c,Bn({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};_a.displayName="JVR.TypeFalse";var Ja=e=>{var{children:t,keyName:r,keys:n}=e,{Float:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Va),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f||P.jsx(c,Bn({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};Ja.displayName="JVR.TypeFloat";var Xa=e=>{var{children:t,keyName:r,keys:n}=e,{Int:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Ia),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f||P.jsx(c,Bn({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};Xa.displayName="JVR.TypeInt";var $a=e=>{var{children:t,keyName:r,keys:n}=e,{Bigint:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Ra),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f||P.jsx(c,Bn({},l,{className:"w-rjv-value",children:Ya(null==t?void 0:t.toString())}))]})};$a.displayName="JVR.TypeFloat";var eo=e=>{var{children:t,keyName:r,keys:n}=e,{Url:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Ta),c=i||"span",u=Bn({},Ua,a.style),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:null==t?void 0:t.href,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f||P.jsxs("a",Bn({href:null==t?void 0:t.href,target:"_blank"},l,{className:"w-rjv-value",children:[P.jsx(Ea,{}),null==t?void 0:t.href,P.jsx(Ea,{})]}))]})};eo.displayName="JVR.TypeUrl";var to=e=>{var{children:t,keyName:r,keys:n}=e,{Date:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,La),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=t instanceof Date?t.toLocaleString():t,g=d&&s(Bn({},l,{children:f,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),g||P.jsx(c,Bn({},l,{className:"w-rjv-value",children:f}))]})};to.displayName="JVR.TypeDate";var ro=e=>{var{children:t,keyName:r,keys:n}=e,{Undefined:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Qa),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f]})};ro.displayName="JVR.TypeUndefined";var no=e=>{var{children:t,keyName:r,keys:n}=e,{Null:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Ga),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f]})};no.displayName="JVR.TypeNull";var ao=e=>{var{children:t,keyName:r,keys:n}=e,{Nan:a={},displayDataTypes:o}=Wn(),{as:i,render:s}=a,l=Nn(a,Ka),c=i||"span",u=Bn({},Ua,a.style||{}),d=s&&"function"==typeof s,h=d&&s(Bn({},l,{style:u}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(Bn({},l,{children:null==t?void 0:t.toString(),className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return P.jsxs(p.Fragment,{children:[o&&(h||P.jsx(c,Bn({},l,{style:u}))),f]})};ao.displayName="JVR.TypeNan";var oo=e=>{var{value:t,keyName:r,keys:n}=e,a={keyName:r,keys:n};return t instanceof URL?P.jsx(eo,Bn({},a,{children:t})):"string"==typeof t?P.jsx(qa,Bn({},a,{children:t})):!0===t?P.jsx(Za,Bn({},a,{children:t})):!1===t?P.jsx(_a,Bn({},a,{children:t})):null===t?P.jsx(no,Bn({},a,{children:t})):void 0===t?P.jsx(ro,Bn({},a,{children:t})):t instanceof Date?P.jsx(to,Bn({},a,{children:t})):"number"==typeof t&&isNaN(t)?P.jsx(ao,Bn({},a,{children:t})):"number"==typeof t&&(e=>Number(e)===e&&e%1!=0||isNaN(e))(t)?P.jsx(Ja,Bn({},a,{children:t})):"bigint"==typeof t?P.jsx($a,Bn({},a,{children:t})):"number"==typeof t?P.jsx(Xa,Bn({},a,{children:t})):null};function io(e,t,r){var n=p.useContext(ta),a=[e.className,t.className].filter(Boolean).join(" "),o=Bn({},e,t,{className:a,style:Bn({},e.style,t.style),children:t.children||e.children});p.useEffect((()=>n({[r]:o})),[t])}function so(e,t,r){var n=p.useContext(Un),a=[e.className,t.className].filter(Boolean).join(" "),o=Bn({},e,t,{className:a,style:Bn({},e.style,t.style),children:t.children||e.children});p.useEffect((()=>n({[r]:o})),[t])}function lo(e,t,r){var n=p.useContext(sa),a=[e.className,t.className].filter(Boolean).join(" "),o=Bn({},e,t,{className:a,style:Bn({},e.style,t.style),children:t.children||e.children});p.useEffect((()=>n({[r]:o})),[t])}oo.displayName="JVR.Value";var co=["as","render"],uo=e=>{var{KeyName:t={}}=ia();return lo(t,e,"KeyName"),null};uo.displayName="JVR.KeyName";var ho=e=>{var{children:t,value:r,parentValue:n,keyName:a,keys:o}=e,i={color:"number"==typeof t?"var(--w-rjv-key-number, #268bd2)":"var(--w-rjv-key-string, #002b36)"},{KeyName:s={}}=ia(),{as:l,render:c}=s,u=Nn(s,co);u.style=Bn({},u.style,i);var d=l||"span";return c&&"function"==typeof c&&c(Bn({},u,{children:t}),{value:r,parentValue:n,keyName:a,keys:o||(a?[a]:[])})||P.jsx(d,Bn({},u,{children:t}))};ho.displayName="JVR.KeyNameComp";var po=["children","value","parentValue","keyName","keys"],fo=["as","render","children"],go=e=>{var{Row:t={}}=ia();return lo(t,e,"Row"),null};go.displayName="JVR.Row";var mo=e=>{var{children:t,value:r,parentValue:n,keyName:a,keys:o}=e,i=Nn(e,po),{Row:s={}}=ia(),{as:l,render:c}=s,u=Nn(s,fo),d=l||"div";return c&&"function"==typeof c&&c(Bn({},i,u,{children:t}),{value:r,keyName:a,parentValue:n,keys:o})||P.jsx(d,Bn({},i,u,{children:t}))};function bo(e){var{value:t,highlightUpdates:r,highlightContainer:n}=e,a=function(e){var t=p.useRef();return p.useEffect((()=>{t.current=e})),t.current}(t),o=p.useMemo((()=>!(!r||void 0===a)&&(typeof t!=typeof a||("number"==typeof t?(!isNaN(t)||!isNaN(a))&&t!==a:Array.isArray(t)!==Array.isArray(a)||"object"!=typeof t&&"function"!=typeof t&&(t!==a||void 0)))),[r,t]);p.useEffect((()=>{n&&n.current&&o&&"animate"in n.current&&n.current.animate([{backgroundColor:"var(--w-rjv-update-color, #ebcb8b)"},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})}),[o,t,n])}mo.displayName="JVR.RowComp";var yo=["keyName","value","parentValue","expandKey","keys"],vo=["as","render"],wo=e=>{var{keyName:t,value:r,parentValue:n,expandKey:a,keys:o}=e,i=Nn(e,yo),{onCopied:s,enableClipboard:l}=pa(),c=p.useContext(On)[a],[u,d]=p.useState(!1),{Copied:h={}}=ia();if(!1===l||!c)return null;var f={style:{display:"inline-flex"},fill:u?"var(--w-rjv-copied-success-color, #28a745)":"var(--w-rjv-copied-color, currentColor)",onClick:e=>{e.stopPropagation();var t="";t="number"==typeof r&&r===1/0?"Infinity":"number"==typeof r&&isNaN(r)?"NaN":"bigint"==typeof r?Ya(r):r instanceof Date?r.toLocaleString():JSON.stringify(r,((e,t)=>"bigint"==typeof t?Ya(t):t),2),s&&s(t,r),d(!0);var n=navigator.clipboard||{writeText:e=>new Promise(((t,r)=>{var n=document.createElement("textarea");n.style.position="absolute",n.style.opacity="0",n.style.left="-99999999px",n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy")?t():r(),n.remove()}))};n.writeText(t).then((()=>{var e=setTimeout((()=>{d(!1),clearTimeout(e)}),3e3)})).catch((e=>{}))}},{render:g}=h,m=Nn(h,vo),b=Bn({},m,i,f,{style:Bn({},m.style,i.style,f.style)});return g&&"function"==typeof g&&g(Bn({},b,{"data-copied":u}),{value:r,keyName:t,keys:o,parentValue:n})||(u?P.jsx("svg",Bn({viewBox:"0 0 32 36"},b,{children:P.jsx("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,15.2249049 C29.1403264,13.8627542 29.9736597,13.1778155 30,13.1700887 C30,11.9705278 30,10.0804982 30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,26.1114493 L27.5,28.4926435 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M28.5589286,16 L32,19.6 L21.0160714,30.5382252 L13.5303571,24.2571429 L17.1303571,20.6571429 L21.0160714,24.5428571 L28.5589286,16 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})):P.jsx("svg",Bn({viewBox:"0 0 32 36"},b,{children:P.jsx("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,20 L30,20 L30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,29 L27.5,29 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M22.5,21.5 L22.5,16.5 L12.5,24 L22.5,31.5 L22.5,26.5 L32,26.5 L32,21.5 L22.5,21.5 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})))};function xo(){var e=p.useRef(null);return null===e.current&&(e.current="custom-id-"+Math.random().toString(36).substr(2,9)),e.current}wo.displayName="JVR.Copied";var ko=e=>{var t,{keyName:r,value:n,expandKey:a="",level:o,keys:i=[],parentValue:s}=e,l=Ln(),{objectSortKeys:c,indentWidth:u,collapsed:d,shouldExpandNodeInitially:h}=pa(),p="boolean"==typeof d?d:"number"==typeof d&&o>d,f=null!=(t=l[a])?t:p,g=h&&h(f,{value:n,keys:i,level:o,keyName:r,parentValue:s});if(void 0===l[a]&&g||f)return null;var m=Array.isArray(n)?Object.entries(n).map((e=>[Number(e[0]),e[1]])):Object.entries(n);c&&(m=!0===c?m.sort(((e,t)=>{var[r]=e,[n]=t;return"string"==typeof r&&"string"==typeof n?r.localeCompare(n):0})):m.sort(((e,t)=>{var[r,n]=e,[a,o]=t;return"string"==typeof r&&"string"==typeof a?c(r,a,n,o):0})));var b={borderLeft:"var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",paddingLeft:u,marginLeft:6};return P.jsx("div",{className:"w-rjv-wrap",style:b,children:m.map(((e,t)=>{var[r,a]=e;return P.jsx(Ao,{parentValue:n,keyName:r,keys:[...i,r],value:a,level:o},t)}))})};ko.displayName="JVR.KeyValues";var Co=e=>{var{keyName:t,parentValue:r,keys:n,value:a}=e,{highlightUpdates:o}=pa(),i="number"==typeof t,s=p.useRef(null);bo({value:a,highlightUpdates:o,highlightContainer:s});var l={keyName:t,value:a,keys:n,parentValue:r};return P.jsxs(p.Fragment,{children:[P.jsxs("span",{ref:s,children:[P.jsx(Aa,Bn({isNumber:i,"data-placement":"left"},l)),P.jsx(ho,Bn({},l,{children:t})),P.jsx(Aa,Bn({isNumber:i,"data-placement":"right"},l))]}),P.jsx(Sa,Bn({},l))]})};Co.displayName="JVR.KayName";var Ao=e=>{var{keyName:t,value:r,parentValue:n,level:a=0,keys:o=[]}=e,i=Fn(),s=xo(),l=Array.isArray(r),c=r instanceof Set,u=r instanceof Map,d=r instanceof Date,h=r instanceof URL;if(r&&"object"==typeof r&&!l&&!c&&!u&&!d&&!h||l||c||u){var p=c?Array.from(r):u?Object.fromEntries(r):r;return P.jsx(Ro,{keyName:t,value:p,parentValue:n,initialValue:r,keys:o,level:a+1})}var f={onMouseEnter:()=>i({[s]:!0}),onMouseLeave:()=>i({[s]:!1})};return P.jsxs(mo,Bn({className:"w-rjv-line",value:r,keyName:t,keys:o,parentValue:n},f,{children:[P.jsx(Co,{keyName:t,value:r,keys:o,parentValue:n}),P.jsx(oo,{keyName:t,value:r,keys:o}),P.jsx(wo,{keyName:t,value:r,keys:o,parentValue:n,expandKey:s})]}))};Ao.displayName="JVR.KeyValuesItem";var Eo=["value","keyName"],So=["as","render"],jo=e=>{var{CountInfoExtra:t={}}=ia();return lo(t,e,"CountInfoExtra"),null};jo.displayName="JVR.CountInfoExtra";var Po=e=>{var{value:t={},keyName:r}=e,n=Nn(e,Eo),{CountInfoExtra:a={}}=ia(),{as:o,render:i}=a,s=Nn(a,So);if(!i&&!s.children)return null;var l=o||"span",c=i&&"function"==typeof i,u=Bn({},s,n);return c&&i(u,{value:t,keyName:r})||P.jsx(l,Bn({},u))};Po.displayName="JVR.CountInfoExtraComps";var Bo=["value","keyName"],No=["as","render"],zo=e=>{var{CountInfo:t={}}=ia();return lo(t,e,"CountInfo"),null};zo.displayName="JVR.CountInfo";var Oo=e=>{var{value:t={},keyName:r}=e,n=Nn(e,Bo),{displayObjectSize:a}=pa(),{CountInfo:o={}}=ia();if(!a)return null;var{as:i,render:s}=o,l=Nn(o,No),c=i||"span";l.style=Bn({},l.style,e.style);var u=Object.keys(t).length;l.children||(l.children=u+" item"+(1===u?"":"s"));var d=Bn({},l,n);return s&&"function"==typeof s&&s(Bn({},d,{"data-length":u}),{value:t,keyName:r})||P.jsx(c,Bn({},d))};Oo.displayName="JVR.CountInfoComp";var Do=["as","render"],Mo=e=>{var{Ellipsis:t={}}=ia();return lo(t,e,"Ellipsis"),null};Mo.displayName="JVR.Ellipsis";var Fo=e=>{var{isExpanded:t,value:r,keyName:n}=e,{Ellipsis:a={}}=ia(),{as:o,render:i}=a,s=Nn(a,Do),l=o||"span";return i&&"function"==typeof i&&i(Bn({},s,{"data-expanded":t}),{value:r,keyName:n})||(!t||"object"==typeof r&&0==Object.keys(r).length?null:P.jsx(l,Bn({},s)))};Fo.displayName="JVR.EllipsisComp";var Vo=e=>{var t,{keyName:r,expandKey:n,keys:a=[],initialValue:o,value:i,parentValue:s,level:l}=e,c=Ln(),u=p.useContext(Qn),{onExpand:d,collapsed:h,shouldExpandNodeInitially:f}=pa(),g="boolean"==typeof h?h:"number"==typeof h&&l>h,m=null!=(t=c[n])?t:g,b=f&&f(m,{value:i,keys:a,level:l,keyName:r,parentValue:s});void 0===c[n]&&f&&(m=!!b);var y={transform:"rotate("+(m?"-90":"0")+"deg)",transition:"all 0.3s"},v=Object.keys(i).length,w="object"==typeof i,x=Array.isArray(i),k=i instanceof Set,C=0!==v&&(x||k||w),A={style:{display:"inline-flex",alignItems:"center"}};C&&(A.onClick=()=>{var e={expand:!m,value:i,keyid:n,keyName:r};d&&d(e),u({[n]:e.expand})});var E={keyName:r,value:i,keys:a,parentValue:s};return P.jsxs("span",Bn({},A,{children:[C&&P.jsx(ja,Bn({style:y,expandKey:n},E)),(r||"number"==typeof r)&&P.jsx(Co,Bn({},E)),P.jsx(Ha,{value:o,keyName:r}),P.jsx(Wa,{value:o,keyName:r}),P.jsx(Pa,Bn({isBrackets:x||k},E)),P.jsx(Fo,{keyName:r,value:i,isExpanded:m}),P.jsx(Ba,Bn({isVisiable:m||!C,isBrackets:x||k},E)),P.jsx(Oo,{value:i,keyName:r}),P.jsx(Po,{value:i,keyName:r}),P.jsx(wo,{keyName:r,value:i,expandKey:n,parentValue:s,keys:a})]}))};Vo.displayName="JVR.NestedOpen";var Io=["className","children","parentValue","keyid","level","value","initialValue","keys","keyName"],Ro=p.forwardRef(((e,t)=>{var{className:r="",parentValue:n,level:a=1,value:o,initialValue:i,keys:s,keyName:l}=e,c=Nn(e,Io),u=Fn(),d=xo(),h=[r,"w-rjv-inner"].filter(Boolean).join(" "),p={onMouseEnter:()=>u({[d]:!0}),onMouseLeave:()=>u({[d]:!1})};return P.jsxs("div",Bn({className:h,ref:t},c,p,{children:[P.jsx(Vo,{expandKey:d,value:o,level:a,keys:s,parentValue:n,keyName:l,initialValue:i}),P.jsx(ko,{expandKey:d,value:o,level:a,keys:s,parentValue:n,keyName:l}),P.jsx(Na,{expandKey:d,value:o,level:a,keys:s,parentValue:n,keyName:l})]}))}));Ro.displayName="JVR.Container";var To=e=>{var{BraceLeft:t={}}=ea();return io(t,e,"BraceLeft"),null};To.displayName="JVR.BraceLeft";var Lo=e=>{var{BraceRight:t={}}=ea();return io(t,e,"BraceRight"),null};Lo.displayName="JVR.BraceRight";var Qo=e=>{var{BracketsLeft:t={}}=ea();return io(t,e,"BracketsLeft"),null};Qo.displayName="JVR.BracketsLeft";var Go=e=>{var{BracketsRight:t={}}=ea();return io(t,e,"BracketsRight"),null};Go.displayName="JVR.BracketsRight";var Ko=e=>{var{Arrow:t={}}=ea();return io(t,e,"Arrow"),null};Ko.displayName="JVR.Arrow";var Yo=e=>{var{Colon:t={}}=ea();return io(t,e,"Colon"),null};Yo.displayName="JVR.Colon";var Ho=e=>{var{Quote:t={}}=ea();return io(t,e,"Quote"),null};Ho.displayName="JVR.Quote";var Wo=e=>{var{ValueQuote:t={}}=ea();return io(t,e,"ValueQuote"),null};Wo.displayName="JVR.ValueQuote";var Uo=e=>{var{Bigint:t={}}=Wn();return so(t,e,"Bigint"),null};Uo.displayName="JVR.Bigint";var qo=e=>{var{Date:t={}}=Wn();return so(t,e,"Date"),null};qo.displayName="JVR.Date";var Zo=e=>{var{False:t={}}=Wn();return so(t,e,"False"),null};Zo.displayName="JVR.False";var _o=e=>{var{Float:t={}}=Wn();return so(t,e,"Float"),null};_o.displayName="JVR.Float";var Jo=e=>{var{Int:t={}}=Wn();return so(t,e,"Int"),null};Jo.displayName="JVR.Int";var Xo=e=>{var{Map:t={}}=Wn();return so(t,e,"Map"),null};Xo.displayName="JVR.Map";var $o=e=>{var{Nan:t={}}=Wn();return so(t,e,"Nan"),null};$o.displayName="JVR.Nan";var ei=e=>{var{Null:t={}}=Wn();return so(t,e,"Null"),null};ei.displayName="JVR.Null";var ti=e=>{var{Set:t={}}=Wn();return so(t,e,"Set"),null};ti.displayName="JVR.Set";var ri=e=>{var{Str:t={}}=Wn();return so(t,e,"Str"),null};ri.displayName="JVR.StringText";var ni=e=>{var{True:t={}}=Wn();return so(t,e,"True"),null};ni.displayName="JVR.True";var ai=e=>{var{Undefined:t={}}=Wn();return so(t,e,"Undefined"),null};ai.displayName="JVR.Undefined";var oi=e=>{var{Url:t={}}=Wn();return so(t,e,"Url"),null};oi.displayName="JVR.Url";var ii=e=>{var{Copied:t={}}=ia();return lo(t,e,"Copied"),null};ii.displayName="JVR.Copied";var si=["className","style","value","children","collapsed","shouldExpandNodeInitially","indentWidth","displayObjectSize","shortenTextAfterLength","stringEllipsis","highlightUpdates","enableClipboard","displayDataTypes","objectSortKeys","onExpand","onCopied"],li=p.forwardRef(((e,t)=>{var{className:r="",style:n,value:a,children:o,collapsed:i,shouldExpandNodeInitially:s,indentWidth:l=15,displayObjectSize:c=!0,shortenTextAfterLength:u=30,stringEllipsis:d,highlightUpdates:h=!0,enableClipboard:p=!0,displayDataTypes:f=!0,objectSortKeys:g=!1,onExpand:m,onCopied:b}=e,y=Nn(e,si),v=Bn({lineHeight:1.4,fontFamily:"var(--w-rjv-font-family, Menlo, monospace)",color:"var(--w-rjv-color, #002b36)",backgroundColor:"var(--w-rjv-background-color, #00000000)",fontSize:13},n),w=["w-json-view-container","w-rjv",r].filter(Boolean).join(" ");return P.jsxs(fa,{initialState:{value:a,objectSortKeys:g,indentWidth:l,shouldExpandNodeInitially:s,displayObjectSize:c,collapsed:i,enableClipboard:p,shortenTextAfterLength:u,stringEllipsis:d,highlightUpdates:h,onCopied:b,onExpand:m},initialTypes:{displayDataTypes:f},children:[P.jsx(Ro,Bn({value:a},y,{ref:t,className:w,style:v})),o]})}));li.Bigint=Uo,li.Date=qo,li.False=Zo,li.Float=_o,li.Int=Jo,li.Map=Xo,li.Nan=$o,li.Null=ei,li.Set=ti,li.String=ri,li.True=ni,li.Undefined=ai,li.Url=oi,li.ValueQuote=Wo,li.Arrow=Ko,li.Colon=Yo,li.Quote=Ho,li.Ellipsis=Mo,li.BraceLeft=To,li.BraceRight=Lo,li.BracketsLeft=Qo,li.BracketsRight=Go,li.Copied=ii,li.CountInfo=zo,li.CountInfoExtra=jo,li.KeyName=uo,li.Row=go,li.displayName="JVR.JsonView";const ci=({code:e,json:t,showLineNumbers:r=!0,className:n="",style:a={},height:o,enableCopy:i=!0})=>{if(t)return P.jsx("div",{className:`border rounded-lg overflow-hidden ${n}`,style:{backgroundColor:"var(--malachite-codeblock-background)",borderColor:"var(--malachite-codeblock-border)",height:o,...a},children:P.jsx(li,{value:t,style:{backgroundColor:"var(--malachite-codeblock-background)",color:"var(--malachite-codeblock-foreground)",fontSize:"14px",fontFamily:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace',padding:"16px",lineHeight:"1.5",textAlign:"left","--w-rjv-color":"var(--malachite-codeblock-foreground)","--w-rjv-key-string":"var(--malachite-codeblock-keyword)","--w-rjv-background-color":"var(--malachite-codeblock-background)","--w-rjv-line-color":"var(--malachite-codeblock-border)","--w-rjv-arrow-color":"var(--malachite-codeblock-line-number)","--w-rjv-edit-color":"var(--malachite-codeblock-keyword)","--w-rjv-info-color":"var(--malachite-codeblock-line-number)","--w-rjv-update-color":"var(--malachite-codeblock-keyword)","--w-rjv-copied-color":"var(--malachite-codeblock-string)","--w-rjv-copied-success-color":"var(--malachite-codeblock-string)","--w-rjv-curlybraces-color":"var(--malachite-codeblock-foreground)","--w-rjv-colon-color":"var(--malachite-codeblock-foreground)","--w-rjv-brackets-color":"var(--malachite-codeblock-foreground)","--w-rjv-quotes-color":"var(--malachite-codeblock-string)","--w-rjv-quotes-string-color":"var(--malachite-codeblock-string)","--w-rjv-type-string-color":"var(--malachite-codeblock-string)","--w-rjv-type-int-color":"var(--malachite-codeblock-number)","--w-rjv-type-float-color":"var(--malachite-codeblock-number)","--w-rjv-type-bigint-color":"var(--malachite-codeblock-number)","--w-rjv-type-boolean-color":"var(--malachite-codeblock-keyword)","--w-rjv-type-date-color":"var(--malachite-codeblock-string)","--w-rjv-type-url-color":"var(--malachite-codeblock-keyword)","--w-rjv-type-null-color":"var(--malachite-codeblock-comment)","--w-rjv-type-nan-color":"var(--malachite-codeblock-comment)","--w-rjv-type-undefined-color":"var(--malachite-codeblock-comment)"},displayDataTypes:!1,enableClipboard:i,collapsed:!1,displayObjectSize:!1})});return P.jsxs("div",{className:`border rounded-lg overflow-hidden ${n}`,style:{backgroundColor:"var(--malachite-codeblock-background)",borderColor:"var(--malachite-codeblock-border)",height:o,...a},children:[i&&e&&P.jsx("div",{className:"flex justify-end p-2 border-b",style:{borderColor:"var(--malachite-codeblock-border)"},children:P.jsx("button",{onClick:()=>{navigator.clipboard.writeText(e)},className:"px-2 py-1 text-xs rounded hover:opacity-70",style:{color:"var(--malachite-codeblock-line-number)",backgroundColor:"transparent"},children:"Copy"})}),(()=>{if(!e)return null;const t=e.split("\n");return P.jsx("div",{className:"p-4 overflow-auto text-left",children:t.map(((e,t)=>{const n=t+1;return P.jsxs("div",{className:"flex items-start",style:{minHeight:"20px"},children:[r&&P.jsx("span",{className:"select-none pr-4 text-right flex-shrink-0",style:{color:"var(--malachite-codeblock-line-number)",width:"40px",fontSize:"14px",lineHeight:"20px"},children:n}),P.jsx("span",{className:"flex-1 text-left",style:{color:"var(--malachite-codeblock-foreground)",fontSize:"14px",lineHeight:"20px",fontFamily:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace',textAlign:"left",whiteSpace:"pre"},children:e||" "})]},t)}))})})()]})},ui=({size:e="medium"})=>P.jsx("div",{className:`w-full ${(e=>{switch(e){case"small":return"h-8";case"medium":default:return"h-10";case"large":return"h-12"}})(e)} rounded-[12px] border border-solid border-[var(--malachite-card-border)] bg-[var(--malachite-card-border)] flex items-center justify-center shadow-[var(--malachite-shadow-default)]`}),di=({isOpen:e,onClick:t,selectedItem:r,disabled:n=!1,error:a=!1,placeholder:o,search:i=!1,searchQuery:s="",onSearchChange:l,onFocusOpen:c})=>{const u=a?"border-[var(--malachite-destructive-border)]":e?"border-[var(--malachite-success-border-hover)]":"border-[var(--malachite-card-border)]",d=n?"":a?"hover:border-[var(--malachite-destructive-border-hover)]":"hover:border-[var(--malachite-primary-border-hover)]";return i&&!n?P.jsxs("div",{className:`\n relative w-full h-[42px] px-4 py-2.5 rounded-xl \n bg-[var(--malachite-card-background)] \n border border-solid ${u}\n ${d}\n ${a?"shadow-error":"shadow-default"}\n transition-all duration-200\n flex items-center\n `,onClick:e=>e.stopPropagation(),children:[P.jsx("input",{type:"text",value:e?s:(null==r?void 0:r.label)??"",onChange:r=>{r.stopPropagation(),null==l||l(r.target.value),e||t()},onFocus:()=>{null==c||c()},placeholder:o??"Select Field",className:"flex-1 bg-transparent outline-none text-[var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-primary)] placeholder:text-[var(--malachite-text-dimmed)]"}),P.jsx("div",{className:"flex items-center justify-center pl-2",children:P.jsx("span",{onClick:e=>{e.stopPropagation(),t()},className:"flex items-center justify-center",children:P.jsx(xt,{size:13,className:"text-[var(--malachite-text-dimmed)] transition-transform duration-200 "+(e?"rotate-180":"")})})})]}):P.jsxs("button",{type:"button",onClick:e=>{e.stopPropagation(),t()},disabled:n,className:`\n relative w-full h-[42px] px-4 py-2.5 rounded-xl \n bg-[var(--malachite-card-background)] \n border border-solid ${u}\n ${d}\n ${a?"shadow-error":"shadow-default"}\n transition-all duration-200\n flex items-center justify-between\n disabled:bg-[var(--malachite-card-dimmed-background)]\n disabled:cursor-not-allowed\n `,children:[P.jsx("div",{className:"text-left flex-1 flex items-center gap-1",children:r?P.jsxs(P.Fragment,{children:[P.jsx(pn,{size:"small",color:"primary",className:"flex-1",children:r.label}),r.subtitle&&P.jsxs(P.Fragment,{children:[P.jsx(pn,{size:"small",color:"dimmed",className:"mx-2",children:"|"}),P.jsx(pn,{size:"small",color:"dimmed",children:r.subtitle})]})]}):P.jsx(pn,{size:"small",color:"dimmed",className:"flex-1",children:o??"Select Field"})}),P.jsx("div",{className:"flex items-center justify-center",children:P.jsx(xt,{size:13,className:"text-[var(--malachite-text-dimmed)] transition-transform duration-200 "+(e?"rotate-180":"")})})]})},hi=({item:e,selected:t,onItemSelected:r})=>{const n=t?"bg-[var(--malachite-success-background-glass)]":"hover:bg-[var(--malachite-card-dimmed-background)]",a=t?"text-[var(--malachite-text-success)]":"text-[var(--malachite-text-primary)]",o="muted"===e.rightSideTextVariant?"text-[var(--malachite-text-right-side-text-muted)]":"text-[var(--malachite-text-right-side-text-primary)]",i="left"===e.rightSideTextAlignment?"justify-start":"justify-end";return P.jsx("div",{className:`min-h-[38px] rounded-lg flex items-center p-[10px] gap-2.5 cursor-pointer transition-colors ${n}`,onClick:t=>{t.stopPropagation(),r(e)},children:P.jsxs("div",{className:"flex-1 flex items-center gap-3",children:[P.jsx("div",{className:"flex-1",children:P.jsxs("div",{className:"flex items-center",children:[P.jsx("span",{className:`text-[15px] font-normal ${a}`,children:e.label}),e.subtitle&&P.jsxs(P.Fragment,{children:[P.jsx("span",{className:"text-[length:var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-dimmed)] mx-2",children:"|"}),P.jsx("span",{className:"text-[length:var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-dimmed)]",children:e.subtitle})]})]})}),P.jsx("div",{className:`w-20 flex ${i}`,children:e.rightSideText&&P.jsx("span",{className:`text-[12px] font-medium ${o}`,children:e.rightSideText})})]})})},pi=({items:e,onItemSelected:t,selectedItem:r})=>P.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 bg-[var(--malachite-card-background)] border border-solid border-[var(--malachite-card-border)] rounded-xl shadow-[0px_2px_5px_0px_var(--malachite-card-shadow)] z-50 max-h-[400px] overflow-hidden",children:P.jsx("div",{className:"flex flex-col gap-1 p-[6px] max-h-[400px] overflow-y-auto",children:e.map(((n,a)=>P.jsxs(f.Fragment,{children:[P.jsx(hi,{item:n,onItemSelected:t,selected:n.id===(null==r?void 0:r.id)||!1}),a<e.length-1&&P.jsx("div",{className:"h-px bg-[var(--malachite-card-border)]"})]},n.id)))})}),fi=({items:e,onItemSelected:t,defaultValue:r,disabled:n=!1,error:a=!1,label:o,hint:i,tooltip:s,name:l,required:c=!1,loading:u,formControl:d,description:h,helperText:f,placeholder:g,search:m=!1})=>{const[b,y]=p.useState(!1),[v,w]=p.useState(e.find((e=>e.id===r))),[x,k]=p.useState(""),C=p.useRef(null);p.useEffect((()=>{const e=e=>{b&&C.current&&!C.current.contains(e.target)&&(y(!1),m&&k(""))};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)}),[b,m]);return P.jsxs(Cn,{label:o,hint:i,tooltip:s,name:l,required:c,loading:u,formControl:d,description:h,loadingComponent:P.jsx(ui,{size:"medium"}),children:[P.jsxs("div",{ref:C,className:"relative w-full",children:[P.jsx(di,{isOpen:b,onClick:()=>!n&&y(!b),selectedItem:v,disabled:n,error:a,placeholder:g,search:m,searchQuery:x,onSearchChange:k,onFocusOpen:()=>y(!0)}),b&&P.jsx(pi,{items:m&&x?e.filter((e=>((e,t)=>{const r=t.toLowerCase(),n=e.label.toLowerCase().includes(r),a=!!e.subtitle&&e.subtitle.toLowerCase().includes(r),o=!!e.rightSideText&&e.rightSideText.toLowerCase().includes(r);return n||a||o})(e,x))):e,onItemSelected:e=>{w(e),y(!1),m&&k(""),null==t||t(null==e?void 0:e.id)},selectedItem:v})]}),f&&P.jsx("div",{className:"mt-1 text-[13px] text-[var(--malachite-text-dimmed)] text-left pl-2",children:f})]})};var gi=(e=>(e.XSmall="xsmall",e.Small="small",e.Medium="medium",e.Large="large",e))(gi||{}),mi=(e=>(e.Left="flex-start",e.Right="flex-end",e.Center="center",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly",e))(mi||{}),bi=(e=>(e.Top="flex-start",e.Bottom="flex-end",e.Center="center",e.Normal="normal",e))(bi||{}),yi=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(yi||{});const vi=({justify:e="center",align:t="center",gapSize:r,direction:n="horizontal",fullHeight:a=!1,grow:o=!1,width:i,id:s,children:l,className:c=""})=>{const u=r?(e=>{switch(e){case"xsmall":return 8;case"small":return 12;case"medium":return 24;case"large":return 36}})(r):void 0,d={display:"flex",flexDirection:"vertical"===n?"column":"row",justifyContent:e,alignItems:t,gap:u?`${u}px`:void 0,height:a?"100%":void 0,flex:o?1:void 0,width:i||void 0};return P.jsx("div",{id:s,className:c,style:d,children:l})},wi=({children:e,href:t,target:r="_self",rel:n,className:a="",showRightBorder:o=!1,showLeftBorder:i=!1,padding:s=!1,color:l="default",fontSize:c="base"})=>{const u=[i&&"border-l border-[var(--malachite-text-dimmed)]",o&&"border-r border-[var(--malachite-text-dimmed)]"].filter(Boolean).join(" ");return P.jsx("a",{href:t,target:r,rel:n,className:`no-underline cursor-pointer transition-colors duration-200 ease-in-out ${"dimmed"===l?"text-[var(--malachite-text-dimmed)]":"text-[var(--malachite-text-link-foreground)] hover:text-[var(--malachite-text-link-foreground-hover)]"} ${u} ${s?"px-[10px]":""} ${"sm"===c?"text-[13px]":""} ${a}`,children:e})},xi=({fullWidth:e=!1,showDocsSupport:t=!1})=>P.jsxs(wn,{direction:"horizontal",size:10,fullWidth:e,justifyContent:e?"space-between":void 0,align:"center",children:[P.jsx(wi,{href:"https://www.stackone.com",target:"_blank",rel:"noopener noreferrer",children:P.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzQAAAHgCAYAAABzQihnAAAgAElEQVR4Xuy92ZYt11WtnbINjUfgkkc4l1ye8wBqTbzBDy/0PwLwAGBOgwsq24ArCks2ciVLNiBXsi3jGku2Ze8TI/bssXv0GGOutZUz9s7M2XdrUq4VEbPqM3Ll+NYo4oUPf/jDj278zwpYAStgBazACQr86le/uvn1r399g5/vvfdejPLoN7/5TRx7Ic49evRovSb+xfF4H/998IMfjOteiJ/t3Poax+KaF154Idq8gKl/4AMfWNvGcfyLNkv/a9s4Hq9xPn7ien7NY0Y/GFdfx/sPfehDa/88ZhzP5oBreS68pmqeWIv2ibXHccwZWlVzQB/ZHLC+mIeuizVgrXpt9Lqs3aL/n7700kt/eMLt5y6tgBWYRIEXDDST7LSXaQWsgBU4QQHAyjvvvLPCyLvvvrvCC/5To5rfZ5AAgxfXAUbYkGcY0SVlEJSBhYLP8n6xqx89oaAESBSGGDIwTwar6JOBDOfiWAYmrEdcG+0Z2OI1+sxAgbVgaAFsaf/cXwVsmXYMTwxUrIdCZQViMa6B5oRfTHdpBSZTwEAz2YZ7uVbACliB96vAL3/5y5sAl4CW+G95/+gXv/jFBgEKEwwAMGjD0I1v/tm4Z0M4Xve8IT0PBSAoxlCQYgM/zsEQV69DBgU4FvNmb5DOVQEhQKKByUHyCuYUgmK87BiABmCGuWTQVQEgwAReIdUE64G3JsbIPEi8bt5LhkTsu+oXbZf//sQemvf7W+l2VsAKrJ/39tD4RrACVsAKWAFVIDwvAS//8z//s8LLz372s7hkNegrA1ZhIPN6wJMBqIEHA4YuG+8wxDWcS7018GQwqDDQ6HwRaoX5spFdeU54bapBD7Kw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CN+sdeiBKuHSmJeGuLG83VkPNoz8da58c0Q5zTkLEuIfxYBx2LwSMSomyEhWq0rzlWBWEDFMhVybm85fIxxZQeHQwQVs8zt0v178cUXn2zOSwsli/+FC1N/hUAhUAgUAoVAIFCCpu6DQqAQuBECmkMDUstkWwsGOGKdiR91d5goZ8KHifcqjOtZ802cgMjEiAqFlUul5J/xcoTfYYxN1DWx24JxTnkWjooz3Z9MmAB7XI8qdLwOd2+w27bN7/oHP/jBFf4XAqYcmBt9TOviQqAQKATOGoESNGe9vbW4QuD5I8A5NCC9GlKkBF2FQZYPou00eZzzVtgRYUEDBNRdyQRAHIf7o6Se56Njo9oY/6vOhBNE6hLhPZ55k+UURV8xvyzMC6FtKqScWHL5L+6ZO9hfdqkyl0jnrYUA+h5dbc5Lc1viWTAhWuJ1HKu/QqAQKAQKgULgVARK0JyKVLUrBAoBi0CEnG0nvl79Yu/OrdyOLJ9ilf/CIWIRKnVK3gYIOoseXiTKKms75xq5EswsOICB5tDo2Ef5RplYY4HDY7nQOzcHFVa6HmDAD9BkzCEY+XlA27EoPhBOS3uQZQiVrQJZEy7xvxIu9aVSCBQChUAhcBsIlKC5DRSrj0LgghHYBM03G8n9fwrBRqRHpal4vfrj83BHggg7pwT9HPV5ypb83//93ynNwgVpa7npmKeO913XGP2HSDhlnJuuJcLBMB7KIsexGD/ex+v6KwQKgUKgECgE7gKBEjR3gXKNUQgUAoVAIVAIFAKFQCFQCBQCzwWB/w91phV6d4tqyAAAAABJRU5ErkJggg==",width:16,alt:"StackOne Logo",style:{opacity:1,marginLeft:"5px"}})}),t?P.jsxs(wn,{direction:"horizontal",size:10,children:[P.jsx(wi,{href:"https://docs.stackone.com",target:"_blank",rel:"noopener noreferrer",color:"dimmed",fontSize:"sm",padding:!0,showLeftBorder:!e,showRightBorder:!0,children:"Docs"}),P.jsx(wi,{href:"https://www.stackone.com/",rel:"noopener noreferrer",target:"_blank",color:"dimmed",fontSize:"sm",children:"Support"})]}):P.jsxs(wn,{direction:"horizontal",size:10,children:[P.jsx(wi,{href:"https://www.stackone.com/terms/end-customer-terms",target:"_blank",rel:"noopener noreferrer",color:"dimmed",fontSize:"sm",padding:!0,showLeftBorder:!e,showRightBorder:!0,children:"Terms"}),P.jsx(wi,{href:"https://www.stackone.com/terms/privacy-policy",target:"_blank",rel:"noopener noreferrer",color:"dimmed",fontSize:"sm",children:"Privacy"})]})]}),ki=({children:e,onFinish:t,className:r=""})=>P.jsx("form",{onSubmit:e=>{if(e.preventDefault(),t){const r=new FormData(e.currentTarget),n={};for(const[e,t]of r.entries())n[e]=t;t(n)}},className:`malachite-form space-y-4 ${r}`,style:{fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"14px",lineHeight:"1.5",width:"100%"},children:e}),Ci=({margin:e,padding:t,className:r="",variant:n="default",grow:a=!1})=>{const o={height:"1px",width:"100%",margin:e?(e=>e?`${(e=>{switch(e){case"xsmall":return 8;case"small":return 12;case"medium":return 24;case"large":return 36}})(e)}px`:void 0)(e):void 0,padding:t?(e=>e?`${(e=>{switch(e){case"xsmall":return 1;case"small":return 2;case"medium":return 4;case"large":return 8}})(e)}px`:void 0)(t):void 0,flex:a?"1 1 0%":void 0,border:"none",backgroundColor:"default"===n?"var(--malachite-card-border)":"muted"===n?"var(--malachite-border-muted)":"var(--malachite-border-strong)"};return P.jsx("div",{className:r,style:o})},Ai={fontSizes:{xsmall:"11px",small:"13px",medium:"14px",large:"16px",xlarge:"22px"},radius:{sm:"4px",md:"6px",lg:"8px",xl:"12px"},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",default:"0px 1px 0px 0px rgba(0, 0, 0, 0.15)",success:"0px 1px 0px 0px rgba(0, 175, 102, 0.15)",warning:"0px 1px 0px 0px rgba(241, 139, 10, 0.15)",error:"0px 1px 0px 0px rgba(197, 63, 63, 0.15)"},colors:{shadowColor:"0, 0, 0",shadowOpacity:.1,card:{background:"rgb(255, 255, 255)",foreground:"rgb(10, 10, 10)",border:"rgb(232, 232, 232)",shadow:"rgba(0, 0, 0, 0.1)",dimmedBackground:"rgb(247, 247, 247)",headerBackground:"rgb(255, 255, 255)",footerBackground:"rgb(255, 255, 255)"},alert:{info:{background:"rgb(247, 247, 247)",foreground:"rgb(10, 10, 10)"},success:{background:"rgba(0, 175, 102, 0.08)",foreground:"rgb(2, 122, 66)"},error:{background:"rgba(197, 63, 63, 0.08)",foreground:"rgb(237, 53, 54)"},warning:{background:"rgba(241, 139, 10, 0.08)",foreground:"rgb(150, 88, 10)"}},tooltip:{background:"rgb(59, 59, 59)",foreground:"rgb(255, 255, 255)",border:"rgb(60, 60, 60)",shadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.20)"},primary:{background:"rgb(48, 48, 48)",foreground:"rgb(10, 10, 10)",border:"rgb(232, 232, 232)",borderHover:"rgb(186, 186, 186)"},outline:{foreground:"rgb(10, 10, 10)"},secondary:{background:"rgb(9, 9, 9)",foreground:"rgb(255, 255, 255)",border:"rgb(232, 232, 232)",borderHover:"rgb(186, 186, 186)"},destructive:{background:"transparent",foreground:"rgb(196, 62, 62)",border:"rgb(239, 55, 55)",borderHover:"rgb(239, 55, 55)",shadow:"rgb(239, 55, 55)",shadowLight:"rgba(239, 55, 55, 0.4)",shadowMedium:"rgba(239, 55, 55, 0.6)"},success:{background:"rgba(0, 175, 102)",foreground:"rgb(2, 122, 66)",border:"rgba(0, 175, 102, 0.2)",borderHover:"rgba(0, 175, 102, 0.4)",backgroundGlass:"rgba(0, 175, 102, 0.08)",shadowLight:"rgba(0, 175, 102, 0.4)",shadowMedium:"rgba(0, 175, 102, 0.6)"},warning:{background:"rgb(241, 139, 10)",foreground:"rgb(150, 88, 10)",border:"rgba(241, 139, 10, 0.2)",borderHover:"rgba(241, 139, 10, 0.4)",backgroundGlass:"rgba(241, 139, 10, 0.08)",shadowLight:"rgba(241, 139, 10, 0.4)",shadowMedium:"rgba(241, 139, 10, 0.6)"},error:{background:"rgb(197, 63, 63)",foreground:"rgb(237, 53, 54)",border:"rgba(197, 63, 63, 0.2)",borderHover:"rgba(197, 63, 63, 0.4)",backgroundGlass:"rgba(197, 63, 63, 0.08)",shadowLight:"rgba(197, 63, 63, 0.4)",shadowMedium:"rgba(197, 63, 63, 0.6)"},buttonList:{background:"rgb(255, 255, 255)",foreground:"rgb(10, 10, 10)",hoverBackground:"rgb(245, 245, 245)",hoverForeground:"rgb(10, 10, 10)"},pillButton:{background:"rgb(241, 241, 241)",foreground:"rgb(123, 123, 123)",hoverBackground:"rgb(232, 232, 232)",hoverForeground:"rgb(10, 10, 10)",pressedBackground:"rgb(232, 232, 232)",pressedForeground:"rgb(10, 10, 10)",pressedOpacity:"0.6",activeBackground:"rgb(48, 48, 48)",activeForeground:"rgb(255, 255, 255)"},tag:{primary:{background:"rgba(37, 130, 234, 0.1)",foreground:"rgb(37, 130, 234)",border:"rgb(37, 130, 234)",shadow:"rgba(37, 130, 234, 0.5)"},secondary:{background:"rgba(0, 175, 102, 0.1)",foreground:"rgb(0, 175, 102)",border:"rgb(0, 175, 102)",shadow:"rgba(0, 175, 102, 0.5)"},default:{background:"rgba(123, 123, 123, 0.1)",foreground:"rgb(123, 123, 123)",border:"rgb(123, 123, 123)",shadow:"rgba(123, 123, 123, 0.5)"},error:{background:"rgba(196, 62, 62, 0.1)",foreground:"rgb(196, 62, 62)",border:"rgb(196, 62, 62)",shadow:"rgba(196, 62, 62, 0.5)"},warning:{background:"rgba(150, 88, 10, 0.1)",foreground:"rgb(150, 88, 10)",border:"rgb(150, 88, 10)",shadow:"rgba(150, 88, 10, 0.5)"},success:{background:"rgba(0, 175, 102, 0.1)",foreground:"rgb(2, 122, 66)",border:"rgb(2, 122, 66)",shadow:"rgba(2, 122, 66, 0.5)"}},table:{background:"rgb(247, 247, 247)",boxShadow:"0 0 20px 0 rgba(0, 0, 0, 0.20)",header:{background:"rgb(247, 247, 247)",foreground:"rgb(55, 65, 81)",border:"rgb(229, 231, 235)"},row:{background:"rgb(255, 255, 255)",foreground:"rgb(75, 85, 99)",hoverBackground:"rgb(249, 250, 251)",border:"rgb(229, 231, 235)"},border:"rgb(229, 231, 235)",borderedRow:{background:"rgb(255, 255, 255)",outline:"rgb(232, 232, 232)"},rowVariant:{success:{background:"rgb(236, 249, 244)"},warning:{background:"rgb(253, 243, 230)"},error:{background:"rgb(253, 236, 236)"},info:{background:"rgb(230, 244, 253)"}},error:{iconBackground:"rgb(254, 243, 199)",iconForeground:"rgb(217, 119, 6)",titleForeground:"rgb(17, 24, 39)",subtitleForeground:"rgb(107, 114, 128)"}},text:{primary:"rgb(10, 10, 10)",secondary:"rgb(115, 115, 115)",dimmed:"rgb(161, 161, 161)",placeholder:"rgb(187, 187, 187)",destructive:"rgb(237, 53, 54)",success:"rgb(2, 122, 66)",warning:"rgb(150, 88, 10)",error:"rgb(237, 53, 54)",linkForeground:"rgba(0, 0, 0, 0.45)",linkForegroundHover:"rgb(10, 10, 10)",rightSideText:{muted:"rgb(123, 123, 123)",primary:"rgb(10, 10, 10)",alignment:"right"}},codeBlock:{background:"rgb(255, 255, 255)",foreground:"rgb(10, 10, 10)",border:"rgb(232, 232, 232)",lineNumber:"rgb(123, 123, 123)",keyword:"rgb(12, 88, 174)",comment:"rgb(123, 123, 123)",string:"rgb(2, 122, 66)",number:"rgb(150, 88, 10)",type:"rgb(12, 88, 174)"}}},Ei={fontSizes:{xsmall:"11px",small:"13px",medium:"14px",large:"16px",xlarge:"22px"},radius:{sm:"4px",md:"6px",lg:"8px",xl:"12px"},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.3)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3)",default:"0px 1px 0px 0px rgba(0, 0, 0, 0.4)",success:"0px 1px 0px 0px rgba(0, 175, 102, 0.4)",warning:"0px 1px 0px 0px rgba(241, 139, 10, 0.4)",error:"0px 1px 0px 0px rgba(197, 63, 63, 0.4)"},colors:{shadowColor:"0, 0, 0",shadowOpacity:.3,card:{background:"rgb(30, 30, 30)",foreground:"rgb(255, 255, 255)",border:"rgb(100, 100, 100)",shadow:"rgba(0, 0, 0, 0.3)",dimmedBackground:"rgb(70, 70, 70)",headerBackground:"rgb(30, 30, 30)",footerBackground:"rgb(30, 30, 30)"},alert:{info:{background:"rgb(70, 70, 70)",foreground:"rgb(255, 255, 255)"},success:{background:"rgba(0, 175, 102, 0.08)",foreground:"rgb(2, 122, 66)"},error:{background:"rgba(197, 63, 63, 0.08)",foreground:"rgb(237, 53, 54)"},warning:{background:"rgba(241, 139, 10, 0.08)",foreground:"rgb(150, 88, 10)"}},tooltip:{background:"rgb(42, 42, 42)",foreground:"rgb(255, 255, 255)",border:"rgb(80, 80, 80)",shadow:"0px 0px 12px 0px rgba(0, 0, 0, 0.30)"},primary:{background:"rgb(60, 60, 60)",foreground:"rgb(255, 255, 255)",border:"rgb(100, 100, 100)",borderHover:"rgb(140, 140, 140)"},outline:{foreground:"rgb(255, 255, 255)"},secondary:{background:"rgb(40, 40, 40)",foreground:"rgb(255, 255, 255)",border:"rgb(80, 80, 80)",borderHover:"rgb(120, 120, 120)"},destructive:{background:"transparent",foreground:"rgb(255, 120, 120)",border:"rgb(255, 100, 100)",borderHover:"rgb(255, 100, 100)",shadow:"rgb(255, 100, 100)",shadowLight:"rgba(255, 100, 100, 0.4)",shadowMedium:"rgba(255, 100, 100, 0.6)"},success:{background:"rgba(50, 205, 132)",foreground:"rgb(20, 170, 100)",border:"rgba(50, 205, 132, 0.3)",borderHover:"rgba(50, 205, 132, 0.5)",backgroundGlass:"rgba(50, 205, 132, 0.12)",shadowLight:"rgba(50, 205, 132, 0.4)",shadowMedium:"rgba(50, 205, 132, 0.6)"},warning:{background:"rgb(255, 180, 50)",foreground:"rgb(200, 130, 20)",border:"rgba(255, 180, 50, 0.3)",borderHover:"rgba(255, 180, 50, 0.5)",backgroundGlass:"rgba(255, 180, 50, 0.12)",shadowLight:"rgba(255, 180, 50, 0.4)",shadowMedium:"rgba(255, 180, 50, 0.6)"},error:{background:"rgb(255, 120, 120)",foreground:"rgb(255, 80, 80)",border:"rgba(255, 120, 120, 0.3)",borderHover:"rgba(255, 120, 120, 0.5)",backgroundGlass:"rgba(255, 120, 120, 0.12)",shadowLight:"rgba(255, 120, 120, 0.4)",shadowMedium:"rgba(255, 120, 120, 0.6)"},buttonList:{background:"rgb(42, 42, 42)",foreground:"rgb(255, 255, 255)",hoverBackground:"rgb(60, 60, 60)",hoverForeground:"rgb(255, 255, 255)"},pillButton:{background:"rgb(70, 70, 70)",foreground:"rgb(161, 161, 161)",hoverBackground:"rgb(90, 90, 90)",hoverForeground:"rgb(255, 255, 255)",pressedBackground:"rgb(90, 90, 90)",pressedForeground:"rgb(255, 255, 255)",pressedOpacity:"0.6",activeBackground:"rgb(255, 255, 255)",activeForeground:"rgb(10, 10, 10)"},tag:{primary:{background:"rgba(37, 130, 234, 0.2)",foreground:"rgb(96, 165, 250)",border:"rgb(96, 165, 250)",shadow:"rgba(96, 165, 250, 0.5)"},secondary:{background:"rgba(0, 175, 102, 0.2)",foreground:"rgb(34, 197, 94)",border:"rgb(34, 197, 94)",shadow:"rgba(34, 197, 94, 0.5)"},default:{background:"rgba(161, 161, 161, 0.2)",foreground:"rgb(161, 161, 161)",border:"rgb(161, 161, 161)",shadow:"rgba(161, 161, 161, 0.5)"},error:{background:"rgba(239, 68, 68, 0.2)",foreground:"rgb(248, 113, 113)",border:"rgb(248, 113, 113)",shadow:"rgba(248, 113, 113, 0.5)"},warning:{background:"rgba(245, 158, 11, 0.2)",foreground:"rgb(251, 191, 36)",border:"rgb(251, 191, 36)",shadow:"rgba(251, 191, 36, 0.5)"},success:{background:"rgba(0, 175, 102, 0.2)",foreground:"rgb(34, 197, 94)",border:"rgb(34, 197, 94)",shadow:"rgba(34, 197, 94, 0.5)"}},table:{background:"rgb(247, 247, 247)",boxShadow:"0 0 20px 0 rgba(0, 0, 0, 0.20)",header:{background:"rgb(247, 247, 247)",foreground:"rgb(55, 65, 81)",border:"rgb(75, 85, 99)"},row:{background:"rgb(30, 30, 30)",foreground:"rgb(209, 213, 219)",hoverBackground:"rgb(42, 42, 42)",border:"rgb(75, 85, 99)"},border:"rgb(75, 85, 99)",borderedRow:{background:"rgb(255, 255, 255)",outline:"rgb(75, 85, 99)"},rowVariant:{success:{background:"rgba(34, 197, 94, 0.15)"},warning:{background:"rgba(251, 191, 36, 0.15)"},error:{background:"rgba(248, 113, 113, 0.15)"},info:{background:"rgba(96, 165, 250, 0.15)"}},error:{iconBackground:"rgba(245, 158, 11, 0.2)",iconForeground:"rgb(251, 191, 36)",titleForeground:"rgb(255, 255, 255)",subtitleForeground:"rgb(161, 161, 161)"}},text:{primary:"rgb(255, 255, 255)",secondary:"rgb(161, 161, 161)",dimmed:"rgb(115, 115, 115)",placeholder:"rgb(140, 140, 140)",destructive:"rgb(255, 120, 120)",success:"rgb(20, 170, 100)",warning:"rgb(200, 130, 20)",error:"rgb(255, 80, 80)",linkForeground:"rgba(255, 255, 255, 0.45)",linkForegroundHover:"rgb(255, 255, 255)",rightSideText:{muted:"rgb(123, 123, 123)",primary:"rgb(10, 10, 10)",alignment:"right"}},codeBlock:{background:"rgb(42, 42, 42)",foreground:"rgb(255, 255, 255)",border:"rgb(80, 80, 80)",lineNumber:"rgb(161, 161, 161)",keyword:"rgb(100, 150, 220)",comment:"rgb(161, 161, 161)",string:"rgb(120, 220, 150)",number:"rgb(255, 180, 100)",type:"rgb(100, 150, 220)"}}},Si="malachite-theme-mode",ji="malachite-custom-theme",Pi=new Set;function Bi(e){try{if(Pi.has(e))return;Pi.add(e),function(e){try{const t=Oi(),r=Di(),n="dark"===t?Ei:Ai;zi(r?Fi(n,r):n,e)}catch(e){console.error("Error applying theme to shadow root:",e)}}(e)}catch(e){console.error("Error registering shadow root:",e)}}function Ni(e,t,r){Object.entries(e).forEach((([e,n])=>{const a="rowVariant"===e?"row-variant":e;"object"==typeof n&&null!==n?Object.entries(n).forEach((([e,n])=>{const o=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof n&&null!==n?Object.entries(n).forEach((([e,n])=>{const i=e.replace(/([A-Z])/g,"-$1").toLowerCase();r(`${t}-${a}-${o}-${i}`,n)})):r(`${t}-${a}-${o}`,n)})):r(`${t}-${a}`,n)}))}function zi(e,t){if(t instanceof ShadowRoot){let r=t.querySelector("#malachite-theme-vars");r||(r=document.createElement("style"),r.id="malachite-theme-vars",t.appendChild(r));const n=[];Object.entries(e.fontSizes).forEach((([e,t])=>{n.push(`--malachite-font-size-${e}: ${t}`)})),Object.entries(e.radius).forEach((([e,t])=>{n.push(`--malachite-radius-${e}: ${t}`)})),Object.entries(e.shadows).forEach((([e,t])=>{n.push(`--malachite-shadow-${e}: ${t}`)})),n.push(`--malachite-shadow-color: ${e.colors.shadowColor}`),n.push(`--malachite-shadow-opacity: ${e.colors.shadowOpacity}`),Object.entries(e.colors.card).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-card-${r}: ${t}`)})),Object.entries(e.colors.alert).forEach((([e,t])=>{Object.entries(t).forEach((([t,r])=>{const a=t.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-alert-${e}-${a}: ${r}`)}))})),Object.entries(e.colors.tooltip).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-tooltip-${r}: ${t}`)})),Object.entries(e.colors.buttonList).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-buttonlist-${r}: ${t}`)})),Object.entries(e.colors.pillButton).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-pillbutton-${r}: ${t}`)})),Object.entries(e.colors.tag).forEach((([e,t])=>{Object.entries(t).forEach((([t,r])=>{const a=t.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-tag-${e}-${a}: ${r}`)}))})),Ni(e.colors.table,"--malachite-table",((e,t)=>n.push(`${e}: ${t}`))),Object.entries(e.colors.text).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof t&&null!==t?Object.entries(t).forEach((([e,t])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof t&&null!==t?Object.entries(t).forEach((([e,t])=>{const o=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-text-${r}-${a}-${o}: ${t}`)})):n.push(`--malachite-text-${r}-${a}: ${t}`)})):n.push(`--malachite-text-${r}: ${t}`)})),Object.entries(e.colors.codeBlock).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-codeblock-${r}: ${t}`)})),["primary","secondary","destructive","success","warning","error"].forEach((t=>{const r=e.colors[t];Object.entries(r).forEach((([e,r])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-${t}-${a}: ${r}`)}))})),r.textContent=`:host { ${n.join("; ")} } * { ${n.join("; ")} }`}else t instanceof HTMLElement&&(Object.entries(e.fontSizes).forEach((([e,r])=>{t.style.setProperty(`--malachite-font-size-${e}`,r)})),Object.entries(e.radius).forEach((([e,r])=>{t.style.setProperty(`--malachite-radius-${e}`,r)})),Object.entries(e.shadows).forEach((([e,r])=>{t.style.setProperty(`--malachite-shadow-${e}`,r)})),t.style.setProperty("--malachite-shadow-color",e.colors.shadowColor),t.style.setProperty("--malachite-shadow-opacity",e.colors.shadowOpacity.toString()),Object.entries(e.colors.card).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-card-${n}`,r)})),Object.entries(e.colors.alert).forEach((([e,r])=>{Object.entries(r).forEach((([r,n])=>{const a=r.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-alert-${e}-${a}`,n)}))})),Object.entries(e.colors.tooltip).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-tooltip-${n}`,r)})),Object.entries(e.colors.buttonList).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-buttonlist-${n}`,r)})),Object.entries(e.colors.pillButton).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-pillbutton-${n}`,r)})),Object.entries(e.colors.tag).forEach((([e,r])=>{Object.entries(r).forEach((([r,n])=>{const a=r.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-tag-${e}-${a}`,n)}))})),Ni(e.colors.table,"--malachite-table",((e,r)=>t.style.setProperty(e,r))),Object.entries(e.colors.text).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof r&&null!==r?Object.entries(r).forEach((([e,r])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof r&&null!==r?Object.entries(r).forEach((([e,r])=>{const o=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-text-${n}-${a}-${o}`,r)})):t.style.setProperty(`--malachite-text-${n}-${a}`,r)})):t.style.setProperty(`--malachite-text-${n}`,r)})),Object.entries(e.colors.codeBlock).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-codeblock-${n}`,r)})),["primary","secondary","outline","destructive","success","warning","error"].forEach((r=>{const n=e.colors[r];Object.entries(n).forEach((([e,n])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-${r}-${a}`,n)}))})))}function Oi(){return typeof window>"u"?"light":localStorage.getItem(Si)||"light"}function Di(){if(typeof window>"u")return null;const e=localStorage.getItem(ji);return e?JSON.parse(e):null}function Mi(e){typeof window<"u"&&localStorage.setItem(Si,e)}function Fi(e,t){const r={...e};return t.fontSizes&&(r.fontSizes={...r.fontSizes,...t.fontSizes}),t.radius&&(r.radius={...r.radius,...t.radius}),t.shadows&&(r.shadows={...r.shadows,...t.shadows}),t.colors&&(r.colors={...r.colors},void 0!==t.colors.shadowColor&&(r.colors.shadowColor=t.colors.shadowColor),void 0!==t.colors.shadowOpacity&&(r.colors.shadowOpacity=t.colors.shadowOpacity),t.colors.card&&(r.colors.card={...r.colors.card,...t.colors.card}),t.colors.alert&&(r.colors.alert={...r.colors.alert,...t.colors.alert}),t.colors.tooltip&&(r.colors.tooltip={...r.colors.tooltip,...t.colors.tooltip}),t.colors.primary&&(r.colors.primary={...r.colors.primary,...t.colors.primary}),t.colors.secondary&&(r.colors.secondary={...r.colors.secondary,...t.colors.secondary}),t.colors.destructive&&(r.colors.destructive={...r.colors.destructive,...t.colors.destructive}),t.colors.success&&(r.colors.success={...r.colors.success,...t.colors.success}),t.colors.warning&&(r.colors.warning={...r.colors.warning,...t.colors.warning}),t.colors.error&&(r.colors.error={...r.colors.error,...t.colors.error}),t.colors.buttonList&&(r.colors.buttonList={...r.colors.buttonList,...t.colors.buttonList}),t.colors.pillButton&&(r.colors.pillButton={...r.colors.pillButton,...t.colors.pillButton}),t.colors.tag&&(r.colors.tag={...r.colors.tag,...t.colors.tag}),t.colors.text&&(r.colors.text={...r.colors.text,...t.colors.text}),t.colors.codeBlock&&(r.colors.codeBlock={...r.colors.codeBlock,...t.colors.codeBlock})),r}function Vi(e){!function(e){typeof window<"u"&&localStorage.setItem(ji,JSON.stringify(e))}(e);const t=Oi(),r=Fi("dark"===t?Ei:Ai,e);zi(r,document.documentElement),Pi.forEach((e=>{zi(r,e)})),"dark"===t?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme")}!function(){if(typeof window<"u"){const e=Oi(),t=Di();if("dark"===e){if(t){zi(Fi(Ei,t),document.documentElement)}else zi(Ei,document.documentElement);document.documentElement.setAttribute("data-theme","dark")}else{if(t){zi(Fi(Ai,t),document.documentElement)}else zi(Ai,document.documentElement);document.documentElement.removeAttribute("data-theme")}}}();const Ii=({children:e})=>{const t=p.useRef(null),[r,n]=p.useState(null);return p.useEffect((()=>{if(t.current&&!r){const e=t.current.shadowRoot;if(e)return void n(e);const r=t.current.attachShadow({mode:"open"});n(r)}}),[r]),p.useEffect((()=>{if(r)return(async()=>{try{r.querySelectorAll("style").forEach((e=>e.remove()));const e=document.createElement("style");e.textContent='/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-500:oklch(70.5% .213 47.604);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-500:oklch(70.4% .14 182.503);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-500:oklch(58.5% .233 277.117);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-\\[3px\\]{top:3px}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.-mt-1{margin-top:calc(var(--spacing)*-1)}.-mt-\\[2px\\]{margin-top:-2px}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.mb-30{margin-bottom:calc(var(--spacing)*30)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-cell{display:table-cell}.table-row{display:table-row}.h-1{height:calc(var(--spacing)*1)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-48{height:calc(var(--spacing)*48)}.h-60{height:calc(var(--spacing)*60)}.h-96{height:calc(var(--spacing)*96)}.h-100{height:calc(var(--spacing)*100)}.h-\\[42px\\]{height:42px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[400px\\]{max-height:400px}.max-h-\\[553px\\]{max-height:553px}.min-h-\\[2rem\\]{min-height:2rem}.min-h-\\[14px\\]{min-height:14px}.min-h-\\[25px\\]{min-height:25px}.min-h-\\[38px\\]{min-height:38px}.min-h-\\[50px\\]{min-height:50px}.min-h-\\[100px\\]{min-height:100px}.min-h-\\[200px\\]{min-height:200px}.min-h-\\[400px\\]{min-height:400px}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-96{width:calc(var(--spacing)*96)}.w-200{width:calc(var(--spacing)*200)}.w-\\[20px\\]{width:20px}.w-\\[24px\\]{width:24px}.w-\\[44px\\]{width:44px}.w-\\[88px\\]{width:88px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-1200{max-width:calc(var(--spacing)*1200)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-x{resize:horizontal}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[12px\\]{border-top-left-radius:12px;border-top-right-radius:12px}.rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.rounded-tr-lg{border-top-right-radius:var(--radius-lg)}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#e8e8e8\\]{border-color:#e8e8e8}.border-\\[var\\(--malachite-card-border\\)\\]{border-color:var(--malachite-card-border)}.border-\\[var\\(--malachite-destructive-border\\)\\]{border-color:var(--malachite-destructive-border)}.border-\\[var\\(--malachite-success-border-hover\\)\\]{border-color:var(--malachite-success-border-hover)}.border-\\[var\\(--malachite-text-dimmed\\)\\]{border-color:var(--malachite-text-dimmed)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-300{border-color:var(--color-blue-300)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-green-300{border-color:var(--color-green-300)}.border-indigo-300{border-color:var(--color-indigo-300)}.border-orange-300{border-color:var(--color-orange-300)}.border-pink-300{border-color:var(--color-pink-300)}.border-purple-300{border-color:var(--color-purple-300)}.border-red-300{border-color:var(--color-red-300)}.border-teal-300{border-color:var(--color-teal-300)}.border-yellow-200{border-color:var(--color-yellow-200)}.border-yellow-300{border-color:var(--color-yellow-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-\\[var\\(--malachite-buttonlist-background\\)\\]{background-color:var(--malachite-buttonlist-background)}.bg-\\[var\\(--malachite-card-background\\)\\]{background-color:var(--malachite-card-background)}.bg-\\[var\\(--malachite-card-border\\)\\]{background-color:var(--malachite-card-border)}.bg-\\[var\\(--malachite-card-dimmed-background\\)\\]{background-color:var(--malachite-card-dimmed-background)}.bg-\\[var\\(--malachite-pillbutton-background\\)\\]{background-color:var(--malachite-pillbutton-background)}.bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]{background-color:var(--malachite-pillbutton-hover-background)}.bg-\\[var\\(--malachite-success-background-glass\\)\\]{background-color:var(--malachite-success-background-glass)}.bg-\\[var\\(--malachite-tag-default-background\\)\\]{background-color:var(--malachite-tag-default-background)}.bg-\\[var\\(--malachite-tag-error-background\\)\\]{background-color:var(--malachite-tag-error-background)}.bg-\\[var\\(--malachite-tag-primary-background\\)\\]{background-color:var(--malachite-tag-primary-background)}.bg-\\[var\\(--malachite-tag-secondary-background\\)\\]{background-color:var(--malachite-tag-secondary-background)}.bg-\\[var\\(--malachite-tag-success-background\\)\\]{background-color:var(--malachite-tag-success-background)}.bg-\\[var\\(--malachite-tag-warning-background\\)\\]{background-color:var(--malachite-tag-warning-background)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-pink-400{background-color:var(--color-pink-400)}.bg-pink-500{background-color:var(--color-pink-500)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-400{background-color:var(--color-red-400)}.bg-red-500{background-color:var(--color-red-500)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-400{background-color:var(--color-yellow-400)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-100{--tw-gradient-from:var(--color-yellow-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-200{--tw-gradient-to:var(--color-yellow-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.\\!p-0{padding:calc(var(--spacing)*0)!important}.p-0{padding:calc(var(--spacing)*0)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-20{padding:calc(var(--spacing)*20)}.p-\\[6px\\]{padding:6px}.p-\\[10px\\]{padding:10px}.\\!px-2\\.5{padding-inline:calc(var(--spacing)*2.5)!important}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\\[6px\\]{padding-inline:6px}.px-\\[10px\\]{padding-inline:10px}.px-\\[16px\\]{padding-inline:16px}.\\!py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-12{padding-block:calc(var(--spacing)*12)}.py-\\[1px\\]{padding-block:1px}.py-\\[10px\\]{padding-block:10px}.py-\\[12px\\]{padding-block:12px}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-0{padding-right:calc(var(--spacing)*0)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.text-\\[length\\:var\\(--malachite-font-size-large\\)\\]{font-size:var(--malachite-font-size-large)}.text-\\[length\\:var\\(--malachite-font-size-medium\\)\\]{font-size:var(--malachite-font-size-medium)}.text-\\[length\\:var\\(--malachite-font-size-small\\)\\]{font-size:var(--malachite-font-size-small)}.text-\\[length\\:var\\(--malachite-font-size-xlarge\\)\\]{font-size:var(--malachite-font-size-xlarge)}.text-\\[length\\:var\\(--malachite-font-size-xsmall\\)\\]{font-size:var(--malachite-font-size-xsmall)}.leading-\\[1\\.4\\]{--tw-leading:1.4;line-height:1.4}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.11px\\]{--tw-tracking:.11px;letter-spacing:.11px}.whitespace-nowrap{white-space:nowrap}.text-\\[var\\(--malachite-buttonlist-foreground\\)\\]{color:var(--malachite-buttonlist-foreground)}.text-\\[var\\(--malachite-destructive-foreground\\)\\]{color:var(--malachite-destructive-foreground)}.text-\\[var\\(--malachite-font-size-medium\\)\\]{color:var(--malachite-font-size-medium)}.text-\\[var\\(--malachite-pillbutton-foreground\\)\\]{color:var(--malachite-pillbutton-foreground)}.text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]{color:var(--malachite-pillbutton-hover-foreground)}.text-\\[var\\(--malachite-tag-default-foreground\\)\\]{color:var(--malachite-tag-default-foreground)}.text-\\[var\\(--malachite-tag-error-foreground\\)\\]{color:var(--malachite-tag-error-foreground)}.text-\\[var\\(--malachite-tag-primary-foreground\\)\\]{color:var(--malachite-tag-primary-foreground)}.text-\\[var\\(--malachite-tag-secondary-foreground\\)\\]{color:var(--malachite-tag-secondary-foreground)}.text-\\[var\\(--malachite-tag-success-foreground\\)\\]{color:var(--malachite-tag-success-foreground)}.text-\\[var\\(--malachite-tag-warning-foreground\\)\\]{color:var(--malachite-tag-warning-foreground)}.text-\\[var\\(--malachite-text-dimmed\\)\\]{color:var(--malachite-text-dimmed)}.text-\\[var\\(--malachite-text-link-foreground\\)\\]{color:var(--malachite-text-link-foreground)}.text-\\[var\\(--malachite-text-primary\\)\\]{color:var(--malachite-text-primary)}.text-\\[var\\(--malachite-text-right-side-text-muted\\)\\]{color:var(--malachite-text-right-side-text-muted)}.text-\\[var\\(--malachite-text-right-side-text-primary\\)\\]{color:var(--malachite-text-right-side-text-primary)}.text-\\[var\\(--malachite-text-success\\)\\]{color:var(--malachite-text-success)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_0px_0px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0px 1px 0px 0px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_2px_5px_0px_var\\(--malachite-card-shadow\\)\\]{--tw-shadow:0px 2px 5px 0px var(--tw-shadow-color,var(--malachite-card-shadow));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--malachite-shadow-default\\)\\]{--tw-shadow:var(--malachite-shadow-default);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::-moz-placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::-moz-placeholder{color:var(--malachite-text-placeholder)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::placeholder{color:var(--malachite-text-placeholder)}.first\\:rounded-tl-lg:first-child{border-top-left-radius:var(--radius-lg)}.last\\:rounded-tr-lg:last-child{border-top-right-radius:var(--radius-lg)}.focus-within\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:focus-within{border-color:var(--malachite-destructive-border-hover)}.focus-within\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:focus-within{border-color:var(--malachite-primary-border-hover)}@media (hover:hover){.hover\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:hover{border-color:var(--malachite-destructive-border-hover)}.hover\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:hover{border-color:var(--malachite-primary-border-hover)}.hover\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:hover{background-color:var(--malachite-buttonlist-hover-background)}.hover\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:hover{background-color:var(--malachite-card-dimmed-background)}.hover\\:bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]:hover{background-color:var(--malachite-pillbutton-hover-background)}.hover\\:bg-\\[var\\(--malachite-primary-border\\)\\]:hover{background-color:var(--malachite-primary-border)}.hover\\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:hover{color:var(--malachite-buttonlist-hover-foreground)}.hover\\:text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]:hover{color:var(--malachite-pillbutton-hover-foreground)}.hover\\:text-\\[var\\(--malachite-text-link-foreground-hover\\)\\]:hover{color:var(--malachite-text-link-foreground-hover)}.hover\\:opacity-70:hover{opacity:.7}.hover\\:opacity-80:hover{opacity:.8}}.focus\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:focus{background-color:var(--malachite-buttonlist-hover-background)}.focus\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:focus{color:var(--malachite-buttonlist-hover-foreground)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-\\[var\\(--malachite-pillbutton-pressed-background\\)\\]:active{background-color:var(--malachite-pillbutton-pressed-background)}.active\\:text-\\[var\\(--malachite-pillbutton-pressed-foreground\\)\\]:active{color:var(--malachite-pillbutton-pressed-foreground)}.active\\:opacity-60:active{opacity:.6}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:disabled{background-color:var(--malachite-card-dimmed-background)}.disabled\\:text-\\[var\\(--malachite-text-dimmed\\)\\]:disabled{color:var(--malachite-text-dimmed)}.disabled\\:text-\\[var\\(--malachite-text-primary\\)\\]:disabled{color:var(--malachite-text-primary)}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\\[\\&\\>div\\]\\:mb-0>div{margin-bottom:calc(var(--spacing)*0)}}:root{--malachite-shadow-sm:0 1px 2px 0 #0000000d;--malachite-shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--malachite-shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--malachite-shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--malachite-shadow-default:0px 1px 0px 0px #00000026;--malachite-shadow-success:0px 1px 0px 0px #00af6626;--malachite-shadow-warning:0px 1px 0px 0px #f18b0a26;--malachite-shadow-error:0px 1px 0px 0px #c53f3f26;--malachite-shadow-color:0,0,0;--malachite-shadow-opacity:.1;--malachite-card-background:#fff;--malachite-card-foreground:#0a0a0a;--malachite-card-border:#e8e8e8;--malachite-card-shadow:#0000001a;--malachite-card-dimmed-background:#f7f7f7;--malachite-card-header-background:#fff;--malachite-card-footer-background:#fff;--malachite-alert-info-background:#f7f7f7;--malachite-alert-info-foreground:#0a0a0a;--malachite-alert-success-background:#00af6614;--malachite-alert-success-foreground:#027a42;--malachite-alert-error-background:#c53f3f14;--malachite-alert-error-foreground:#ed3536;--malachite-alert-warning-background:#f18b0a14;--malachite-alert-warning-foreground:#96580a;--malachite-tooltip-background:#3b3b3b;--malachite-tooltip-foreground:#fff;--malachite-tooltip-border:#3c3c3c;--malachite-tooltip-shadow:0px 0px 10px 0px #0003;--malachite-primary-background:#303030;--malachite-primary-foreground:#0a0a0a;--malachite-primary-border:#e8e8e8;--malachite-primary-border-hover:#bababa;--malachite-outline-foreground:#0a0a0a;--malachite-secondary-background:#090909;--malachite-secondary-foreground:#fff;--malachite-secondary-border:#e8e8e8;--malachite-secondary-border-hover:#bababa;--malachite-destructive-background:transparent;--malachite-destructive-foreground:#c43e3e;--malachite-destructive-border:#ef3737;--malachite-destructive-border-hover:#ef3737;--malachite-destructive-shadow:#ef3737;--malachite-destructive-shadow-light:#ef373766;--malachite-destructive-shadow-medium:#ef373799;--malachite-success-background:#00af66;--malachite-success-foreground:#027a42;--malachite-success-border:#00af6633;--malachite-success-border-hover:#00af6666;--malachite-success-background-glass:#00af6614;--malachite-success-shadow-light:#00af6666;--malachite-success-shadow-medium:#00af6699;--malachite-warning-background:#f18b0a;--malachite-warning-foreground:#96580a;--malachite-warning-border:#f18b0a33;--malachite-warning-border-hover:#f18b0a66;--malachite-warning-background-glass:#f18b0a14;--malachite-warning-shadow-light:#f18b0a66;--malachite-warning-shadow-medium:#f18b0a99;--malachite-error-background:#c53f3f;--malachite-error-foreground:#ed3536;--malachite-error-border:#c53f3f33;--malachite-error-border-hover:#c53f3f66;--malachite-error-background-glass:#c53f3f14;--malachite-error-shadow-light:#c53f3f66;--malachite-error-shadow-medium:#c53f3f99;--malachite-buttonlist-background:#fff;--malachite-buttonlist-foreground:#0a0a0a;--malachite-buttonlist-hover-background:#f5f5f5;--malachite-buttonlist-hover-foreground:#0a0a0a;--malachite-text-primary:#0a0a0a;--malachite-text-secondary:#737373;--malachite-text-dimmed:#a1a1a1;--malachite-text-placeholder:#bbb;--malachite-text-destructive:#ed3536;--malachite-text-success:#027a42;--malachite-text-warning:#96580a;--malachite-text-error:#ed3536;--malachite-text-link-foreground:#00000073;--malachite-text-link-foreground-hover:#0a0a0a}.shadow-default{box-shadow:var(--malachite-shadow-default)}.shadow-success{box-shadow:var(--malachite-shadow-success)}.shadow-warning{box-shadow:var(--malachite-shadow-warning)}.shadow-error{box-shadow:var(--malachite-shadow-error)}.btn-filled{background-color:var(--malachite-secondary-background);color:var(--malachite-secondary-foreground);border-color:var(--malachite-secondary-border)}.btn-filled:hover:not(:disabled){border-color:var(--malachite-secondary-border-hover);opacity:.95}.btn-filled:active:not(:disabled){opacity:.8;border-color:var(--malachite-secondary-border-hover)}.btn-filled:disabled{opacity:.6;cursor:not-allowed}.btn-outline{color:var(--malachite-outline-foreground);border-color:var(--malachite-primary-border);background-color:#0000}.btn-outline:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-outline:active:not(:disabled){opacity:.8;border-color:var(--malachite-primary-border-hover)}.btn-destructive{background-color:var(--malachite-destructive-background);color:var(--malachite-destructive-foreground);border-color:var(--malachite-destructive-border);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-light)}.btn-destructive:hover:not(:disabled){border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:active:not(:disabled){opacity:.6;border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:disabled{opacity:.6;box-shadow:none}.btn-ghost{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-ghost:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-no-style{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-no-style:hover:not(:disabled){border-color:#0000}.btn-glass-success{background-color:var(--malachite-success-background-glass);color:var(--malachite-success-foreground);border-color:var(--malachite-success-border);box-shadow:0 1px 0 0 var(--malachite-success-shadow-light)}.btn-glass-success:hover:not(:disabled){border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:active:not(:disabled){opacity:.6;border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:disabled{opacity:.6;box-shadow:none}.btn-glass-warning{background-color:var(--malachite-warning-background-glass);color:var(--malachite-warning-foreground);border-color:var(--malachite-warning-border);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-light)}.btn-glass-warning:hover:not(:disabled){border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:active:not(:disabled){opacity:.6;border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:disabled{opacity:.6;box-shadow:none}.btn-glass-error{background-color:var(--malachite-error-background-glass);color:var(--malachite-error-foreground);border-color:var(--malachite-error-border);box-shadow:0 1px 0 0 var(--malachite-error-shadow-light)}.btn-glass-error:hover:not(:disabled){border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:active:not(:disabled){opacity:.6;border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:disabled{opacity:.6;box-shadow:none}.card-base{background-color:var(--malachite-card-background);color:var(--malachite-card-foreground);border:1px solid var(--malachite-card-border);box-shadow:0 2px 4px 0 var(--malachite-card-shadow);border-radius:12px;overflow:hidden}.card-dimmed{background-color:var(--malachite-card-dimmed-background)}.card-rounded{border-radius:20px}.card-header{background-color:var(--malachite-card-header-background);color:var(--malachite-card-foreground);border-bottom:1px solid var(--malachite-card-border)}.card-footer{background-color:var(--malachite-card-footer-background);color:var(--malachite-card-foreground);border-top:1px solid var(--malachite-card-border)}.alert-base{border-radius:8px;justify-content:center;align-items:flex-start;gap:8px;width:100%;margin:0 10px;padding:10px;display:flex}.alert-base svg{margin-top:5px}.alert-base.alert-expandable svg{margin-top:3px}.alert-no-margin{margin:0}.alert-info{background-color:var(--malachite-alert-info-background);color:var(--malachite-alert-info-foreground)}.alert-success{background-color:var(--malachite-alert-success-background);color:var(--malachite-alert-success-foreground)}.alert-error{background-color:var(--malachite-alert-error-background);color:var(--malachite-alert-error-foreground)}.alert-warning{background-color:var(--malachite-alert-warning-background);color:var(--malachite-alert-warning-foreground)}.alert-icon-info{color:var(--malachite-alert-info-foreground);font-size:13px}.alert-icon-success{color:var(--malachite-alert-success-foreground);font-size:13px}.alert-icon-error{color:var(--malachite-alert-error-foreground);font-size:13px}.alert-icon-warning{color:var(--malachite-alert-warning-foreground);font-size:13px}.tooltip-base{background-color:var(--malachite-tooltip-background);max-width:320px;min-height:32px;color:var(--malachite-tooltip-foreground);box-shadow:var(--malachite-tooltip-shadow);word-wrap:break-word;white-space:normal;pointer-events:none;z-index:9999;border-radius:12px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;line-height:1.4;transition:opacity .15s ease-in-out,transform .15s ease-in-out;display:inline-flex;position:absolute}.tooltip-content{z-index:1;position:relative}.tooltip-visible{opacity:1;visibility:visible;transform:scale(1)}.tooltip-hidden{opacity:0;visibility:hidden;transform:scale(.95)}.tooltip-arrow{background-color:var(--malachite-tooltip-background)}svg path{fill:currentColor!important}.table-bordered-container{box-shadow:var(--malachite-table-box-shadow);background-color:var(--malachite-table-background);padding:4px}.table-header{color:var(--malachite-table-header-foreground);background-color:var(--malachite-table-header-background)!important}.table-row{background-color:var(--malachite-table-row-background);color:var(--malachite-table-row-foreground);border-bottom:1px solid var(--malachite-table-row-border)}.table-row:hover{background-color:var(--malachite-table-row-hover-background)}.table-cell-bordered{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-top{border-top:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-bottom{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-left{border-left:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-right{border-right:1px solid var(--malachite-table-borderedRow-outline)}.table-row-bordered{background-color:var(--malachite-table-borderedRow-background)}.table-pagination-button{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-button:hover:not(:disabled){background-color:var(--malachite-table-pagination-hover-background)}.table-pagination-button:disabled{opacity:var(--malachite-table-pagination-disabled-opacity)}.table-pagination-select{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-text{color:var(--malachite-table-pagination-foreground)}.table-error-icon{background-color:var(--malachite-table-error-icon-background);color:var(--malachite-table-error-icon-foreground)}.table-error-title{color:var(--malachite-table-error-title-foreground)}.table-error-subtitle{color:var(--malachite-table-error-subtitle-foreground)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}',r.appendChild(e),Bi(r)}catch(e){console.error("Error loading styles into shadow DOM:",e)}})(),()=>{try{!function(e){try{Pi.delete(e)}catch(e){console.error("Error unregistering shadow root:",e)}}(r)}catch(e){console.warn("Error during shadow root cleanup:",e)}}}),[r]),null===r?P.jsx("div",{ref:t,"data-testid":"shadow-root-wrapper"}):P.jsx("div",{ref:t,children:r&&Xe.createPortal(P.jsx("div",{style:{isolation:"isolate"},children:e}),r)})},Ri=({children:e,className:t=""})=>P.jsx(Ii,{children:P.jsx("div",{className:t,children:e})}),Ti=({vertical:e,horizontal:t,children:r,fullHeight:n=!0,className:a="",overflow:o="visible"})=>{const i=e=>{switch(e){case"xsmall":return"4px";case"small":return"7px";case"medium":default:return"14px";case"large":return"28px";case"none":return"0"}};return P.jsx("div",{className:a,style:{padding:`${i(e)} ${i(t)}`,height:n?"100%":void 0,overflow:o},children:r})},Li=({size:e="medium",className:t="",style:r={}})=>{const n=(e=>{switch(e){case"xxxsmall":return"w-3.5 h-3.5";case"xxsmall":return"w-6 h-6";case"xsmall":return"w-12 h-12";case"small":return"w-24 h-24";case"medium":default:return"w-48 h-48";case"large":return"w-96 h-96"}})(e),a=(e=>{switch(e){case"xxxsmall":return"min-h-[14px]";case"xxsmall":return"min-h-[25px]";case"xsmall":return"min-h-[50px]";case"small":return"min-h-[100px]";case"medium":default:return"min-h-[200px]";case"large":return"min-h-[400px]"}})(e);return P.jsx("div",{className:`flex items-center justify-center ${a} ${t}`,style:r,children:P.jsxs("svg",{className:`animate-spin ${n}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{color:"var(--malachite-text-dimmed)"},children:[P.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),P.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})},Qi=({label:e,hint:t,tooltip:r,placeholder:n,icon:a,name:o,required:i,error:s,description:l,loading:c=!1,readOnly:u=!1,type:d="text",size:h="medium",variant:f="default",defaultValue:g,disabled:m,prefixValue:b,prefixSecondaryValue:y,ellipsis:v=!1,formControl:w,buttons:x,onCopyClick:k,showCopyButton:C,onChange:A,onBlur:E,helperText:S,showPasswordToggle:j=!0})=>{const[B,N]=p.useState(!1),[z,O]=p.useState(g||""),[D,M]=p.useState(!1);p.useEffect((()=>{if(D){const e=setTimeout((()=>{M(!1)}),1e3);return()=>clearTimeout(e)}}),[D]);const F=k?()=>{z&&(navigator.clipboard.writeText(z),M(!0),k())}:void 0,V=e=>{switch(e){case"small":return"h-8 py-2 text-sm";case"medium":default:return"h-10 py-[10px] text-[15px] leading-[1.4]";case"large":return"h-12 py-3 text-base"}},I="password"===d?B?"text":"password":d,R=a||b||y,T=C??!!(F&&m&&z),L=s||T||(null==x?void 0:x.length)||"password"===d&&j,Q=(K=s,"ghost"===f?{wrapper:[K?"border-0 border-b border-solid border-[var(--malachite-destructive-border)]":"",K?"focus-within:border-[var(--malachite-destructive-border-hover)] hover:border-[var(--malachite-destructive-border-hover)]":""],shadow:"shadow-none",borderRadius:"rounded-none"}:{wrapper:["border border-solid",K?"border-[var(--malachite-destructive-border)]":"border-[var(--malachite-card-border)]",K?"focus-within:border-[var(--malachite-destructive-border-hover)] hover:border-[var(--malachite-destructive-border-hover)]":"focus-within:border-[var(--malachite-primary-border-hover)] hover:border-[var(--malachite-primary-border-hover)]"],shadow:K?"shadow-error":"shadow-default",borderRadius:"rounded-[12px]"}),G=["relative","flex items-center","w-full",Q.borderRadius,m?"bg-[var(--malachite-card-dimmed-background)]":"bg-[var(--malachite-card-background)]","transition-colors duration-200 ease-in-out",Q.shadow,...m?[]:Q.wrapper,V(h).split(" ").find((e=>e.startsWith("h-")))||"h-10"].filter(Boolean).join(" ");var K;return P.jsxs(Cn,{label:e,hint:t,tooltip:r,name:o,required:i,loading:c,formControl:w,description:l,loadingComponent:P.jsx(ui,{size:h}),children:[P.jsxs("div",{className:G,children:[R&&P.jsx("div",{className:"flex items-center pl-3 pr-1 flex-shrink-0 pointer-events-none",children:P.jsx(Gi,{prefixValue:b,prefixSecondaryValue:y,icon:a})}),P.jsx("input",{type:I,placeholder:n,value:z,onChange:e=>{const t=e.target.value;O(t),null==A||A(t)},onBlur:E,disabled:m||u,readOnly:u,autoComplete:"off",className:`flex-1 bg-transparent border-none outline-none text-[var(--malachite-text-primary)] placeholder:text-[var(--malachite-text-placeholder)] disabled:text-[var(--malachite-text-primary)] disabled:cursor-not-allowed ${V(h).split(" ")} px-[16px] py-[12px] ${v?"min-w-0 truncate":""}`,name:o}),L&&P.jsxs("div",{className:"flex items-center pl-1 flex-shrink-0 "+("password"===d&&j?"pr-0":"pr-3"),children:[P.jsx(Ki,{error:s,defaultValue:z,onCopyClick:F,showCopyButton:T,copied:D,type:d,showPassword:B,showPasswordToggle:j,onTogglePassword:()=>N(!B)}),P.jsx(Yi,{buttons:x})]})]}),S&&P.jsx("div",{className:"text-[13px] text-[var(--malachite-text-dimmed)] text-left pl-2",children:S})]})},Gi=({prefixValue:e,prefixSecondaryValue:t,icon:r})=>P.jsxs("div",{className:"flex items-center gap-1",children:[r&&P.jsx("span",{className:"flex items-center justify-center text-[var(--malachite-text-dimmed)] w-4 h-4 flex-shrink-0",children:r}),e&&P.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:e}),t&&P.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:t})]}),Ki=({error:e,defaultValue:t,onCopyClick:r,showCopyButton:n=!1,copied:a=!1,type:o,showPassword:i,showPasswordToggle:s=!0,onTogglePassword:l})=>P.jsxs("div",{className:"flex items-center gap-1",children:[e&&P.jsx("div",{className:"flex items-center justify-center w-5 h-5 flex-shrink-0",children:P.jsx(Pt,{size:16,className:"text-[var(--malachite-destructive-foreground)]"})}),n&&r&&t&&P.jsx("button",{onClick:r,type:"button",className:"flex items-center justify-center w-5 h-5 hover:bg-[var(--malachite-primary-border)] rounded transition-colors flex-shrink-0 cursor-pointer",children:a?P.jsx(Ct,{size:16,style:{color:"var(--malachite-success-foreground)"}}):P.jsx(At,{size:16})}),"password"===o&&s&&P.jsx(ct,{variant:"no-style",onClick:l,type:"button",size:"small",children:i?P.jsx(St,{size:16,style:{color:"var(--malachite-text-dimmed)"}}):P.jsx(jt,{size:16,style:{color:"var(--malachite-text-dimmed)"}})})]}),Yi=({buttons:e})=>null!=e&&e.length?P.jsx(P.Fragment,{children:e.map((e=>P.jsx(ct,{variant:e.variant||(e.danger?"destructive":"outline"),size:e.size||"small",disabled:e.disabled,icon:e.icon,tooltip:e.tooltip,onClick:e.onClick,className:"ml-1",children:e.label},e.label)))}):null,Hi=({label:e,hint:t,tooltip:r,placeholder:n,icon:a,name:o,required:i,error:s,description:l,loading:c=!1,readOnly:u=!1,size:d="medium",defaultValue:h,disabled:f,prefixValue:g,prefixSecondaryValue:m,formControl:b,buttons:y,onCopyClick:v,onChange:w,value:x,onBlur:k,rows:C=4,maxLength:A,resize:E="vertical"})=>{const[S,j]=p.useState(h||""),B=void 0!==x?x:S,N=void 0!==x,z=e=>{const t=e.target.value;N||j(t),null==w||w(t)},O=e=>{switch(e){case"small":return"text-sm";case"medium":default:return"text-[15px] leading-[1.4]";case"large":return"text-base"}},D=(e,t)=>`${{small:20,medium:22,large:24}[e]*t+{small:16,medium:24,large:24}[e]}px`,M=a||g||m,F=s||v&&f&&B||(null==y?void 0:y.length);return P.jsx(Cn,{label:e,hint:t,tooltip:r,name:o,required:i,loading:c,formControl:b,description:l,loadingComponent:P.jsx(Wi,{size:d,rows:C}),children:(()=>{const e=["relative","flex","w-full","rounded-[12px]","border border-solid",f?"bg-[var(--malachite-card-dimmed-background)]":"bg-[var(--malachite-card-background)]","transition-colors duration-200 ease-in-out",f?"":"focus-within:border-[var(--malachite-primary-border-hover)]",f?"":"hover:border-[var(--malachite-primary-border-hover)]",s?"shadow-error":"shadow-default",s?"border-[var(--malachite-destructive-border)]":"border-[var(--malachite-card-border)]",s?"focus-within:border-[var(--malachite-destructive-border-hover)] hover:border-[var(--malachite-destructive-border-hover)]":"focus-within:border-[var(--malachite-primary-border-hover)] hover:border-[var(--malachite-primary-border-hover)]"].filter(Boolean).join(" "),t=["flex-1","bg-transparent","border-none","outline-none","text-[var(--malachite-text-primary)]","placeholder:text-[var(--malachite-text-placeholder)]","disabled:text-[var(--malachite-text-dimmed)]","disabled:cursor-not-allowed",O(d),"px-[16px]","py-[12px]","none"===E?"resize-none":"vertical"===E?"resize-y":"horizontal"===E?"resize-x":"resize"].filter(Boolean).join(" "),r=P.jsx("textarea",{placeholder:n,value:f?h:B,onChange:z,onBlur:k,disabled:f||!!g||!!m||u,readOnly:u,rows:C,maxLength:A,style:{minHeight:D(d,C)},className:t,name:o});return P.jsxs("div",{className:e,children:[M&&P.jsx("div",{className:"flex pt-3 pl-3 pr-1 flex-shrink-0 pointer-events-none",children:P.jsx(Ui,{prefixValue:g,prefixSecondaryValue:m,icon:a})}),r,F&&P.jsxs("div",{className:"flex pt-3 pl-1 pr-3 flex-shrink-0",children:[P.jsx(qi,{error:s,disabled:f,defaultValue:B,onCopyClick:v}),P.jsx(Zi,{buttons:y})]})]})})()})},Wi=({size:e="medium",rows:t=4})=>P.jsx("div",{className:"w-full rounded-[12px] border border-solid border-[var(--malachite-card-border)] bg-[var(--malachite-card-border)] flex items-center justify-center shadow-[var(--malachite-shadow-default)]",style:{minHeight:((e,t)=>`${{small:20,medium:22,large:24}[e]*t+{small:16,medium:24,large:24}[e]}px`)(e,t)}}),Ui=({prefixValue:e,prefixSecondaryValue:t,icon:r})=>P.jsxs("div",{className:"flex items-start gap-1",children:[r&&P.jsx("span",{className:"flex items-center justify-center text-[var(--malachite-text-dimmed)] w-4 h-4 flex-shrink-0 mt-1",children:r}),e&&P.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:e}),t&&P.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:t})]}),qi=({error:e,disabled:t,defaultValue:r,onCopyClick:n})=>P.jsxs("div",{className:"flex items-start gap-1",children:[e&&P.jsx("div",{className:"flex items-center justify-center w-5 h-5 flex-shrink-0 mt-1",children:P.jsx(Pt,{size:16,className:"text-[var(--malachite-destructive-foreground)]"})}),n&&t&&r&&P.jsx("button",{onClick:()=>{navigator.clipboard.writeText(r),n()},type:"button",className:"flex items-center justify-center w-5 h-5 hover:bg-[var(--malachite-primary-border)] rounded transition-colors flex-shrink-0 mt-1",children:P.jsx(At,{size:16})})]}),Zi=({buttons:e})=>null!=e&&e.length?P.jsx("div",{className:"flex flex-col gap-1 mt-1",children:e.map((e=>P.jsx(ct,{variant:e.danger?"destructive":"outline",size:"small",disabled:e.disabled,icon:e.icon,tooltip:e.tooltip,onClick:e.onClick,children:e.label},e.label)))}):null,_i=wi,Ji=un,Xi=({children:e,fontWeight:t="normal",size:r="small",textTransform:n="none",className:a="",style:o={}})=>{const i={fontSize:(e=>{switch(e){case"xsmall":return"12px";case"small":default:return"14px";case"medium":return"16px";case"large":return"18px";case"xlarge":return"24px"}})(r),fontWeight:(e=>{switch(e){case"normal":default:return 400;case"semi-bold":return 500;case"bold":return 600}})(t),color:"var(--malachite-text-dimmed)",textTransform:n,lineHeight:"1.4",...o};return P.jsx("span",{className:a,style:i,children:e})},$i=pn,es=({label:e="Label",className:t="",selected:r=!1,disabled:n=!1,onClick:a})=>P.jsx("div",{className:`\n inline-flex items-center justify-center\n px-2.5 py-1.5 \n rounded-[10px]\n text-[13px] font-medium\n cursor-pointer\n transition-all duration-150 ease-in-out\n ${r?"bg-[var(--malachite-pillbutton-hover-background)] text-[var(--malachite-pillbutton-hover-foreground)] active:opacity-60":"bg-[var(--malachite-pillbutton-background)] text-[var(--malachite-pillbutton-foreground)] hover:bg-[var(--malachite-pillbutton-hover-background)] hover:text-[var(--malachite-pillbutton-hover-foreground)] active:bg-[var(--malachite-pillbutton-pressed-background)] active:text-[var(--malachite-pillbutton-pressed-foreground)] active:opacity-60"}\n ${n?"opacity-50 cursor-not-allowed pointer-events-none":""}\n ${t}\n `,onClick:a,children:e});var ts=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},rs="undefined"==typeof window||"Deno"in globalThis;function ns(){}function as(e){return"number"==typeof e&&e>=0&&e!==1/0}function os(e,t){return Math.max(e+(t||0)-Date.now(),0)}function is(e,t){return"function"==typeof e?e(t):e}function ss(e,t){return"function"==typeof e?e(t):e}function ls(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:o,queryKey:i,stale:s}=e;if(i)if(n){if(t.queryHash!==us(i,t.options))return!1}else if(!hs(t.queryKey,i))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((!a||a===t.state.fetchStatus)&&!(o&&!o(t)))}function cs(e,t){const{exact:r,status:n,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(ds(t.options.mutationKey)!==ds(o))return!1}else if(!hs(t.options.mutationKey,o))return!1}return(!n||t.state.status===n)&&!(a&&!a(t))}function us(e,t){return(t?.queryKeyHashFn||ds)(e)}function ds(e){return JSON.stringify(e,((e,t)=>ms(t)?Object.keys(t).sort().reduce(((e,r)=>(e[r]=t[r],e)),{}):t))}function hs(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every((r=>hs(e[r],t[r]))))}function ps(e,t){if(e===t)return e;const r=gs(e)&&gs(t);if(r||ms(e)&&ms(t)){const n=r?e:Object.keys(e),a=n.length,o=r?t:Object.keys(t),i=o.length,s=r?[]:{};let l=0;for(let a=0;a<i;a++){const i=r?a:o[a];(!r&&n.includes(i)||r)&&void 0===e[i]&&void 0===t[i]?(s[i]=void 0,l++):(s[i]=ps(e[i],t[i]),s[i]===e[i]&&void 0!==e[i]&&l++)}return a===i&&l===a?e:s}return t}function fs(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function gs(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ms(e){if(!bs(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!bs(r)&&(!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function bs(e){return"[object Object]"===Object.prototype.toString.call(e)}function ys(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?ps(e,t):t}function vs(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function ws(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var xs=Symbol();function ks(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==xs?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var Cs=new class extends ts{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!rs&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},As=new class extends ts{#n=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!rs&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#n}};function Es(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n}));function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch((()=>{})),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}function Ss(e){return Math.min(1e3*2**e,3e4)}function js(e){return"online"!==(e??"online")||As.isOnline()}var Ps=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Bs(e){return e instanceof Ps}function Ns(e){let t,r=!1,n=0,a=!1;const o=Es(),i=()=>Cs.isFocused()&&("always"===e.networkMode||As.isOnline())&&e.canRun(),s=()=>js(e.networkMode)&&e.canRun(),l=r=>{a||(a=!0,e.onSuccess?.(r),t?.(),o.resolve(r))},c=r=>{a||(a=!0,e.onError?.(r),t?.(),o.reject(r))},u=()=>new Promise((r=>{t=e=>{(a||i())&&r(e)},e.onPause?.()})).then((()=>{t=void 0,a||e.onContinue?.()})),d=()=>{if(a)return;let t;const o=0===n?e.initialPromise:void 0;try{t=o??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(l).catch((t=>{if(a)return;const o=e.retry??(rs?0:3),s=e.retryDelay??Ss,l="function"==typeof s?s(n,t):s,h=!0===o||"number"==typeof o&&n<o||"function"==typeof o&&o(n,t);var p;!r&&h?(n++,e.onFail?.(n,t),(p=l,new Promise((e=>{setTimeout(e,p)}))).then((()=>i()?void 0:u())).then((()=>{r?c(t):d()}))):c(t)}))};return{promise:o,cancel:t=>{a||(c(new Ps(t)),e.abort?.())},continue:()=>(t?.(),o),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:s,start:()=>(s()?d():u().then(d),o)}}var zs=e=>setTimeout(e,0);var Os=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},a=zs;const o=n=>{t?e.push(n):a((()=>{r(n)}))};return{batch:o=>{let i;t++;try{i=o()}finally{t--,t||(()=>{const t=e;e=[],t.length&&a((()=>{n((()=>{t.forEach((e=>{r(e)}))}))}))})()}return i},batchCalls:e=>(...t)=>{o((()=>{e(...t)}))},schedule:o,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{a=e}}}(),Ds=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),as(this.gcTime)&&(this.#a=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(rs?1/0:3e5))}clearGcTimeout(){this.#a&&(clearTimeout(this.#a),this.#a=void 0)}},Ms=class extends Ds{#o;#i;#s;#l;#c;#u;#d;constructor(e){super(),this.#d=!1,this.#u=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#s=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#c?.promise}setOptions(e){this.options={...this.#u,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#s.remove(this)}setData(e,t){const r=ys(this.state.data,e,this.options);return this.#h({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#h({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#c?.promise;return this.#c?.cancel(e),t?t.then(ns).catch(ns):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#o)}isActive(){return this.observers.some((e=>!1!==ss(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xs||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!os(this.state.dataUpdatedAt,e)}onFocus(){const e=this.observers.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#c?.continue()}onOnline(){const e=this.observers.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#c?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#c&&(this.#d?this.#c.cancel({revert:!0}):this.#c.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#h({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#c)return this.#c.continueRetry(),this.#c.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#d=!0,r.signal)})},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:()=>{const e=ks(this.options,t),r={client:this.#l,queryKey:this.queryKey,meta:this.meta};return n(r),this.#d=!1,this.options.persister?this.options.persister(e,r,this):e(r)}};n(a),this.options.behavior?.onFetch(a,this),this.#i=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#h({type:"fetch",meta:a.fetchOptions?.meta});const o=e=>{Bs(e)&&e.silent||this.#h({type:"error",error:e}),Bs(e)||(this.#s.config.onError?.(e,this),this.#s.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#c=Ns({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{if(void 0!==e){try{this.setData(e)}catch(e){return void o(e)}this.#s.config.onSuccess?.(e,this),this.#s.config.onSettled?.(e,this.state.error,this),this.scheduleGc()}else o(new Error(`${this.queryHash} data is undefined`))},onError:o,onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:()=>{this.#h({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#c.start()}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...Fs(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=e.error;return Bs(r)&&r.revert&&this.#i?{...this.#i,fetchStatus:"idle"}:{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Os.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#s.notify({query:this,type:"updated",action:e})}))}};function Fs(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:js(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var Vs=class extends ts{constructor(e={}){super(),this.config=e,this.#p=new Map}#p;build(e,t,r){const n=t.queryKey,a=t.queryHash??us(n,t);let o=this.get(a);return o||(o=new Ms({client:e,queryKey:n,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(o)),o}add(e){this.#p.has(e.queryHash)||(this.#p.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#p.get(e.queryHash);t&&(e.destroy(),t===e&&this.#p.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Os.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#p.get(e)}getAll(){return[...this.#p.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>ls(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>ls(e,t))):t}notify(e){Os.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){Os.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){Os.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},Is=class extends Ds{#f;#g;#c;constructor(e){super(),this.mutationId=e.mutationId,this.#g=e.mutationCache,this.#f=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#f.includes(e)||(this.#f.push(e),this.clearGcTimeout(),this.#g.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#f=this.#f.filter((t=>t!==e)),this.scheduleGc(),this.#g.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#f.length||("pending"===this.state.status?this.scheduleGc():this.#g.remove(this))}continue(){return this.#c?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#h({type:"continue"})};this.#c=Ns({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#h({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#h({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#g.canRun(this)});const r="pending"===this.state.status,n=!this.#c.canStart();try{if(r)t();else{this.#h({type:"pending",variables:e,isPaused:n}),await(this.#g.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#h({type:"pending",context:t,variables:e,isPaused:n})}const a=await this.#c.start();return await(this.#g.config.onSuccess?.(a,e,this.state.context,this)),await(this.options.onSuccess?.(a,e,this.state.context)),await(this.#g.config.onSettled?.(a,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(a,null,e,this.state.context)),this.#h({type:"success",data:a}),a}catch(t){try{throw await(this.#g.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#g.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#h({type:"error",error:t})}}finally{this.#g.runNext(this)}}#h(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),Os.batch((()=>{this.#f.forEach((t=>{t.onMutationUpdate(e)})),this.#g.notify({mutation:this,type:"updated",action:e})}))}};var Rs=class extends ts{constructor(e={}){super(),this.config=e,this.#m=new Set,this.#b=new Map,this.#y=0}#m;#b;#y;build(e,t,r){const n=new Is({mutationCache:this,mutationId:++this.#y,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#m.add(e);const t=Ts(e);if("string"==typeof t){const r=this.#b.get(t);r?r.push(e):this.#b.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#m.delete(e)){const t=Ts(e);if("string"==typeof t){const r=this.#b.get(t);if(r)if(r.length>1){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#b.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Ts(e);if("string"==typeof t){const r=this.#b.get(t),n=r?.find((e=>"pending"===e.state.status));return!n||n===e}return!0}runNext(e){const t=Ts(e);if("string"==typeof t){const r=this.#b.get(t)?.find((t=>t!==e&&t.state.isPaused));return r?.continue()??Promise.resolve()}return Promise.resolve()}clear(){Os.batch((()=>{this.#m.forEach((e=>{this.notify({type:"removed",mutation:e})})),this.#m.clear(),this.#b.clear()}))}getAll(){return Array.from(this.#m)}find(e){const t={exact:!0,...e};return this.getAll().find((e=>cs(t,e)))}findAll(e={}){return this.getAll().filter((t=>cs(e,t)))}notify(e){Os.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return Os.batch((()=>Promise.all(e.map((e=>e.continue().catch(ns))))))}};function Ts(e){return e.options.scope?.id}function Ls(e){return{onFetch:(t,r)=>{const n=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],i=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let r=!1;const c=ks(t.options,t.fetchOptions),u=async(e,n,a)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const o={client:t.client,queryKey:t.queryKey,pageParam:n,direction:a?"backward":"forward",meta:t.options.meta};(e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",(()=>{r=!0})),t.signal)})})(o);const i=await c(o),{maxPages:s}=t.options,l=a?ws:vs;return{pages:l(e.pages,i,s),pageParams:l(e.pageParams,n,s)}};if(a&&o.length){const e="backward"===a,t={pages:o,pageParams:i},r=(e?Gs:Qs)(n,t);s=await u(t,r,e)}else{const t=e??o.length;do{const e=0===l?i[0]??n.initialPageParam:Qs(n,s);if(l>0&&null==e)break;s=await u(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=c}}}function Qs(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function Gs(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var Ks=class{#v;#g;#u;#w;#x;#k;#C;#A;constructor(e={}){this.#v=e.queryCache||new Vs,this.#g=e.mutationCache||new Rs,this.#u=e.defaultOptions||{},this.#w=new Map,this.#x=new Map,this.#k=0}mount(){this.#k++,1===this.#k&&(this.#C=Cs.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#v.onFocus())})),this.#A=As.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#v.onOnline())})))}unmount(){this.#k--,0===this.#k&&(this.#C?.(),this.#C=void 0,this.#A?.(),this.#A=void 0)}isFetching(e){return this.#v.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#g.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#v.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=this.#v.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(is(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#v.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),a=this.#v.get(n.queryHash),o=a?.state.data,i=function(e,t){return"function"==typeof e?e(t):e}(t,o);if(void 0!==i)return this.#v.build(this,n).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return Os.batch((()=>this.#v.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,r)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#v.get(t.queryHash)?.state}removeQueries(e){const t=this.#v;Os.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const r=this.#v;return Os.batch((()=>(r.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries({type:"active",...e},t))))}cancelQueries(e,t={}){const r={revert:!0,...t},n=Os.batch((()=>this.#v.findAll(e).map((e=>e.cancel(r)))));return Promise.all(n).then(ns).catch(ns)}invalidateQueries(e,t={}){return Os.batch((()=>(this.#v.findAll(e).forEach((e=>{e.invalidate()})),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=Os.batch((()=>this.#v.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(ns)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(n).then(ns)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const r=this.#v.build(this,t);return r.isStaleByTime(is(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ns).catch(ns)}fetchInfiniteQuery(e){return e.behavior=Ls(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ns).catch(ns)}ensureInfiniteQueryData(e){return e.behavior=Ls(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return As.isOnline()?this.#g.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#v}getMutationCache(){return this.#g}getDefaultOptions(){return this.#u}setDefaultOptions(e){this.#u=e}setQueryDefaults(e,t){this.#w.set(ds(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#w.values()],r={};return t.forEach((t=>{hs(e,t.queryKey)&&Object.assign(r,t.defaultOptions)})),r}setMutationDefaults(e,t){this.#x.set(ds(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#x.values()],r={};return t.forEach((t=>{hs(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)})),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#u.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=us(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===xs&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#u.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#v.clear(),this.#g.clear()}},Ys=class extends ts{constructor(e,t){super(),this.options=t,this.#l=e,this.#E=null,this.#S=Es(),this.options.experimental_prefetchInRender||this.#S.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#l;#j=void 0;#P=void 0;#B=void 0;#N;#z;#S;#E;#O;#D;#M;#F;#V;#I;#R=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#j.addObserver(this),Hs(this.#j,this.options)?this.#T():this.updateResult(),this.#L())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ws(this.#j,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ws(this.#j,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#Q(),this.#G(),this.#j.removeObserver(this)}setOptions(e){const t=this.options,r=this.#j;if(this.options=this.#l.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof ss(this.options.enabled,this.#j))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#K(),this.#j.setOptions(this.options),t._defaulted&&!fs(this.options,t)&&this.#l.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#j,observer:this});const n=this.hasListeners();n&&Us(this.#j,r,this.options,t)&&this.#T(),this.updateResult(),!n||this.#j===r&&ss(this.options.enabled,this.#j)===ss(t.enabled,this.#j)&&is(this.options.staleTime,this.#j)===is(t.staleTime,this.#j)||this.#Y();const a=this.#H();!n||this.#j===r&&ss(this.options.enabled,this.#j)===ss(t.enabled,this.#j)&&a===this.#I||this.#W(a)}getOptimisticResult(e){const t=this.#l.getQueryCache().build(this.#l,e),r=this.createResult(t,e);return function(e,t){if(!fs(e.getCurrentResult(),t))return!0;return!1}(this,r)&&(this.#B=r,this.#z=this.options,this.#N=this.#j.state),r}getCurrentResult(){return this.#B}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#R.add(e)}getCurrentQuery(){return this.#j}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#l.defaultQueryOptions(e),r=this.#l.getQueryCache().build(this.#l,t);return r.fetch().then((()=>this.createResult(r,t)))}fetch(e){return this.#T({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#B)))}#T(e){this.#K();let t=this.#j.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ns)),t}#Y(){this.#Q();const e=is(this.options.staleTime,this.#j);if(rs||this.#B.isStale||!as(e))return;const t=os(this.#B.dataUpdatedAt,e)+1;this.#F=setTimeout((()=>{this.#B.isStale||this.updateResult()}),t)}#H(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#j):this.options.refetchInterval)??!1}#W(e){this.#G(),this.#I=e,!rs&&!1!==ss(this.options.enabled,this.#j)&&as(this.#I)&&0!==this.#I&&(this.#V=setInterval((()=>{(this.options.refetchIntervalInBackground||Cs.isFocused())&&this.#T()}),this.#I))}#L(){this.#Y(),this.#W(this.#H())}#Q(){this.#F&&(clearTimeout(this.#F),this.#F=void 0)}#G(){this.#V&&(clearInterval(this.#V),this.#V=void 0)}createResult(e,t){const r=this.#j,n=this.options,a=this.#B,o=this.#N,i=this.#z,s=e!==r?e.state:this.#P,{state:l}=e;let c,u={...l},d=!1;if(t._optimisticResults){const a=this.hasListeners(),o=!a&&Hs(e,t),i=a&&Us(e,r,t,n);(o||i)&&(u={...u,...Fs(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(u.fetchStatus="idle")}let{error:h,errorUpdatedAt:p,status:f}=u;c=u.data;let g=!1;if(void 0!==t.placeholderData&&void 0===c&&"pending"===f){let e;a?.isPlaceholderData&&t.placeholderData===i?.placeholderData?(e=a.data,g=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#M?.state.data,this.#M):t.placeholderData,void 0!==e&&(f="success",c=ys(a?.data,e,t),d=!0)}if(t.select&&void 0!==c&&!g)if(a&&c===o?.data&&t.select===this.#O)c=this.#D;else try{this.#O=t.select,c=t.select(c),c=ys(a?.data,c,t),this.#D=c,this.#E=null}catch(e){this.#E=e}this.#E&&(h=this.#E,c=this.#D,p=Date.now(),f="error");const m="fetching"===u.fetchStatus,b="pending"===f,y="error"===f,v=b&&m,w=void 0!==c,x={status:f,fetchStatus:u.fetchStatus,isPending:b,isSuccess:"success"===f,isError:y,isInitialLoading:v,isLoading:v,data:c,dataUpdatedAt:u.dataUpdatedAt,error:h,errorUpdatedAt:p,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>s.dataUpdateCount||u.errorUpdateCount>s.errorUpdateCount,isFetching:m,isRefetching:m&&!b,isLoadingError:y&&!w,isPaused:"paused"===u.fetchStatus,isPlaceholderData:d,isRefetchError:y&&w,isStale:qs(e,t),refetch:this.refetch,promise:this.#S};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===x.status?e.reject(x.error):void 0!==x.data&&e.resolve(x.data)},n=()=>{const e=this.#S=x.promise=Es();t(e)},a=this.#S;switch(a.status){case"pending":e.queryHash===r.queryHash&&t(a);break;case"fulfilled":"error"!==x.status&&x.data===a.value||n();break;case"rejected":"error"===x.status&&x.error===a.reason||n()}}return x}updateResult(){const e=this.#B,t=this.createResult(this.#j,this.options);if(this.#N=this.#j.state,this.#z=this.options,void 0!==this.#N.data&&(this.#M=this.#j),fs(t,e))return;this.#B=t;this.#U({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#R.size)return!0;const n=new Set(r??this.#R);return this.options.throwOnError&&n.add("error"),Object.keys(this.#B).some((t=>{const r=t;return this.#B[r]!==e[r]&&n.has(r)}))})()})}#K(){const e=this.#l.getQueryCache().build(this.#l,this.options);if(e===this.#j)return;const t=this.#j;this.#j=e,this.#P=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#L()}#U(e){Os.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#B)})),this.#l.getQueryCache().notify({query:this.#j,type:"observerResultsUpdated"})}))}};function Hs(e,t){return function(e,t){return!1!==ss(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&Ws(e,t,t.refetchOnMount)}function Ws(e,t,r){if(!1!==ss(t.enabled,e)){const n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&qs(e,t)}return!1}function Us(e,t,r,n){return(e!==t||!1===ss(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&qs(e,r)}function qs(e,t){return!1!==ss(t.enabled,e)&&e.isStaleByTime(is(t.staleTime,e))}var Zs=p.createContext(void 0),_s=({client:e,children:t})=>(p.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),P.jsx(Zs.Provider,{value:e,children:t})),Js=p.createContext(!1);Js.Provider;var Xs=p.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),$s=(e,t,r)=>t.fetchOptimistic(e).catch((()=>{r.clearReset()}));function el(e,t,r){const n=(()=>{const e=p.useContext(Zs);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e})(),a=p.useContext(Js),o=p.useContext(Xs),i=n.defaultQueryOptions(e);n.getDefaultOptions().queries?._experimental_beforeQuery?.(i),i._optimisticResults=a?"isRestoring":"optimistic",(e=>{const t=e.staleTime;e.suspense&&(e.staleTime="function"==typeof t?(...e)=>Math.max(t(...e),1e3):Math.max(t??1e3,1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))})(i),((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))})(i,o),(e=>{p.useEffect((()=>{e.clearReset()}),[e])})(o);const s=!n.getQueryCache().get(i.queryHash),[l]=p.useState((()=>new t(n,i))),c=l.getOptimisticResult(i),u=!a&&!1!==e.subscribed;if(p.useSyncExternalStore(p.useCallback((e=>{const t=u?l.subscribe(Os.batchCalls(e)):ns;return l.updateResult(),t}),[l,u]),(()=>l.getCurrentResult()),(()=>l.getCurrentResult())),p.useEffect((()=>{l.setOptions(i)}),[i,l]),((e,t)=>e?.suspense&&t.isPending)(i,c))throw $s(i,l,o);if((({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(a&&void 0===e.data||function(e,t){return"function"==typeof e?e(...t):!!e}(r,[e.error,n])))({result:c,errorResetBoundary:o,throwOnError:i.throwOnError,query:n.getQueryCache().get(i.queryHash),suspense:i.suspense}))throw c.error;if(n.getDefaultOptions().queries?._experimental_afterQuery?.(i,c),i.experimental_prefetchInRender&&!rs&&((e,t)=>e.isLoading&&e.isFetching&&!t)(c,a)){const e=s?$s(i,l,o):n.getQueryCache().get(i.queryHash)?.promise;e?.catch(ns).finally((()=>{l.updateResult()}))}return i.notifyOnChangeProps?c:l.trackResult(c)}function tl(e,t){return el(e,Ys)}const rl=({message:e})=>P.jsx(vi,{justify:mi.Center,align:bi.Center,direction:yi.Vertical,gapSize:gi.Small,fullHeight:!0,children:P.jsx($i,{size:"medium",fontWeight:"semi-bold",children:e})}),nl=(e,t,r)=>{if(e&&"reportValidity"in e){const n=G(r,t);e.setCustomValidity(n&&n.message||""),e.reportValidity()}},al=(e,t)=>{for(const r in t.fields){const n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?nl(n.ref,r,e):n&&n.refs&&n.refs.forEach((t=>nl(t,r,e)))}},ol=(e,t)=>{t.shouldUseNativeValidation&&al(e,t);const r={};for(const n in e){const a=G(t.fields,n),o=Object.assign(e[n]||{},{ref:a&&a.ref});if(il(t.names||Object.keys(e),n)){const e=Object.assign({},G(r,n));Y(e,"root",o),Y(r,n,e)}else Y(r,n,o)}return r},il=(e,t)=>{const r=sl(t);return e.some((e=>sl(e).match(`^${r}\\.\\d+`)))};function sl(e){return e.replace(/\]|\[/g,"")}function ll(e,t,r){function n(r,n){var a;Object.defineProperty(r,"_zod",{value:r._zod??{},enumerable:!1}),(a=r._zod).traits??(a.traits=new Set),r._zod.traits.add(e),t(r,n);for(const e in i.prototype)e in r||Object.defineProperty(r,e,{value:i.prototype[e].bind(r)});r._zod.constr=i,r._zod.def=n}const a=r?.Parent??Object;class o extends a{}function i(e){var t;const a=r?.Parent?new o:this;n(a,e),(t=a._zod).deferred??(t.deferred=[]);for(const e of a._zod.deferred)e();return a}return Object.defineProperty(o,"name",{value:e}),Object.defineProperty(i,"init",{value:n}),Object.defineProperty(i,Symbol.hasInstance,{value:t=>!!(r?.Parent&&t instanceof r.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(i,"name",{value:e}),i}class cl extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class ul extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const dl={};function hl(e){return dl}function pl(e,t){return"bigint"==typeof t?t.toString():t}function fl(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function gl(e){return null==e}function ml(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}const bl=Symbol("evaluating");function yl(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==bl)return void 0===n&&(n=bl,n=r()),n},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function vl(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function wl(...e){const t={};for(const r of e){const e=Object.getOwnPropertyDescriptors(r);Object.assign(t,e)}return Object.defineProperties({},t)}function xl(e){return JSON.stringify(e)}const kl="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Cl(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const Al=fl((()=>{if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}}));function El(e){if(!1===Cl(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!1!==Cl(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function Sl(e){return El(e)?{...e}:Array.isArray(e)?[...e]:e}const jl=new Set(["string","number","symbol"]);function Pl(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Bl(e,t,r){const n=new e._zod.constr(t??e._zod.def);return t&&!r?.parent||(n._zod.parent=e),n}function Nl(e){const t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}function zl(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(!0!==e.issues[r]?.continue)return!0;return!1}function Ol(e,t){return t.map((t=>{var r;return(r=t).path??(r.path=[]),t.path.unshift(e),t}))}function Dl(e){return"string"==typeof e?e:e?.message}function Ml(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const a=Dl(e.inst?._zod.def?.error?.(e))??Dl(t?.error?.(e))??Dl(r.customError?.(e))??Dl(r.localeError?.(e))??"Invalid input";n.message=a}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function Fl(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function Vl(...e){const[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}const Il=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,pl,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Rl=ll("$ZodError",Il),Tl=ll("$ZodError",Il,{Parent:Error});const Ll=e=>(t,r,n,a)=>{const o=n?Object.assign(n,{async:!1}):{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new cl;if(i.issues.length){const t=new(a?.Err??e)(i.issues.map((e=>Ml(e,o,hl()))));throw kl(t,a?.callee),t}return i.value},Ql=Ll(Tl),Gl=e=>async(t,r,n,a)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise&&(i=await i),i.issues.length){const t=new(a?.Err??e)(i.issues.map((e=>Ml(e,o,hl()))));throw kl(t,a?.callee),t}return i.value},Kl=Gl(Tl),Yl=e=>(t,r,n)=>{const a=n?{...n,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},a);if(o instanceof Promise)throw new cl;return o.issues.length?{success:!1,error:new(e??Rl)(o.issues.map((e=>Ml(e,a,hl()))))}:{success:!0,data:o.value}},Hl=Yl(Tl),Wl=e=>async(t,r,n)=>{const a=n?Object.assign(n,{async:!0}):{async:!0};let o=t._zod.run({value:r,issues:[]},a);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map((e=>Ml(e,a,hl()))))}:{success:!0,data:o.value}},Ul=Wl(Tl),ql=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ll(e)(t,r,a)},Zl=e=>(t,r,n)=>Ll(e)(t,r,n),_l=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Gl(e)(t,r,a)},Jl=e=>async(t,r,n)=>Gl(e)(t,r,n),Xl=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Yl(e)(t,r,a)},$l=e=>(t,r,n)=>Yl(e)(t,r,n),ec=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Wl(e)(t,r,a)},tc=e=>async(t,r,n)=>Wl(e)(t,r,n),rc=/^[cC][^\s-]{8,}$/,nc=/^[0-9a-z]+$/,ac=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,oc=/^[0-9a-vA-V]{20}$/,ic=/^[A-Za-z0-9]{27}$/,sc=/^[a-zA-Z0-9_-]{21}$/,lc=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,cc=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,uc=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,dc=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;const hc=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,pc=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,fc=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,gc=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,mc=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,bc=/^[A-Za-z0-9_-]*$/,yc=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,vc=/^\+(?:[0-9]){6,14}[0-9]$/,wc="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",xc=new RegExp(`^${wc}$`);function kc(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}const Cc=/^[^A-Z]*$/,Ac=/^[^a-z]*$/,Ec=ll("$ZodCheck",((e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])})),Sc=ll("$ZodCheckMaxLength",((e,t)=>{var r;Ec.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!gl(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{const r=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=r=>{const n=r.value;if(n.length<=t.maximum)return;const a=Fl(n);r.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}})),jc=ll("$ZodCheckMinLength",((e,t)=>{var r;Ec.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!gl(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{const r=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=r=>{const n=r.value;if(n.length>=t.minimum)return;const a=Fl(n);r.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}})),Pc=ll("$ZodCheckLengthEquals",((e,t)=>{var r;Ec.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!gl(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{const r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length})),e._zod.check=r=>{const n=r.value,a=n.length;if(a===t.length)return;const o=Fl(n),i=a>t.length;r.issues.push({origin:o,...i?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}})),Bc=ll("$ZodCheckStringFormat",((e,t)=>{var r,n;Ec.init(e,t),e._zod.onattach.push((e=>{const r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(t.pattern))})),t.pattern?(r=e._zod).check??(r.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})})),Nc=ll("$ZodCheckRegex",((e,t)=>{Bc.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}})),zc=ll("$ZodCheckLowerCase",((e,t)=>{t.pattern??(t.pattern=Cc),Bc.init(e,t)})),Oc=ll("$ZodCheckUpperCase",((e,t)=>{t.pattern??(t.pattern=Ac),Bc.init(e,t)})),Dc=ll("$ZodCheckIncludes",((e,t)=>{Ec.init(e,t);const r=Pl(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push((e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)})),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}})),Mc=ll("$ZodCheckStartsWith",((e,t)=>{Ec.init(e,t);const r=new RegExp(`^${Pl(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push((e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)})),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}})),Fc=ll("$ZodCheckEndsWith",((e,t)=>{Ec.init(e,t);const r=new RegExp(`.*${Pl(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push((e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)})),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}})),Vc=ll("$ZodCheckOverwrite",((e,t)=>{Ec.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}));class Ic{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});const t=e.split("\n").filter((e=>e)),r=Math.min(...t.map((e=>e.length-e.trimStart().length))),n=t.map((e=>e.slice(r))).map((e=>" ".repeat(2*this.indent)+e));for(const e of n)this.content.push(e)}compile(){const e=Function,t=this?.args,r=[...(this?.content??[""]).map((e=>` ${e}`))];return new e(...t,r.join("\n"))}}const Rc={major:4,minor:1,patch:12},Tc=ll("$ZodType",((e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Rc;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const t of n)for(const r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push((()=>{e._zod.run=e._zod.parse}));else{const t=(e,t,r)=>{let n,a=zl(e);for(const o of t){if(o._zod.def.when){if(!o._zod.def.when(e))continue}else if(a)continue;const t=e.issues.length,i=o._zod.check(e);if(i instanceof Promise&&!1===r?.async)throw new cl;if(n||i instanceof Promise)n=(n??Promise.resolve()).then((async()=>{await i;e.issues.length!==t&&(a||(a=zl(e,t)))}));else{if(e.issues.length===t)continue;a||(a=zl(e,t))}}return n?n.then((()=>e)):e},r=(r,a,o)=>{if(zl(r))return r.aborted=!0,r;const i=t(a,n,o);if(i instanceof Promise){if(!1===o.async)throw new cl;return i.then((t=>e._zod.parse(t,o)))}return e._zod.parse(i,o)};e._zod.run=(a,o)=>{if(o.skipChecks)return e._zod.parse(a,o);if("backward"===o.direction){const t=e._zod.parse({value:a.value,issues:[]},{...o,skipChecks:!0});return t instanceof Promise?t.then((e=>r(e,a,o))):r(t,a,o)}const i=e._zod.parse(a,o);if(i instanceof Promise){if(!1===o.async)throw new cl;return i.then((e=>t(e,n,o)))}return t(i,n,o)}}e["~standard"]={validate:t=>{try{const r=Hl(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return Ul(e,t).then((e=>e.success?{value:e.data}:{issues:e.error?.issues}))}},vendor:"zod",version:1}})),Lc=ll("$ZodString",((e,t)=>{var r;Tc.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??(r=e._zod.bag,new RegExp(`^${r?`[\\s\\S]{${r?.minimum??0},${r?.maximum??""}}`:"[\\s\\S]*"}$`)),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(n){}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}})),Qc=ll("$ZodStringFormat",((e,t)=>{Bc.init(e,t),Lc.init(e,t)})),Gc=ll("$ZodGUID",((e,t)=>{t.pattern??(t.pattern=cc),Qc.init(e,t)})),Kc=ll("$ZodUUID",((e,t)=>{if(t.version){const e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=uc(e))}else t.pattern??(t.pattern=uc());Qc.init(e,t)})),Yc=ll("$ZodEmail",((e,t)=>{t.pattern??(t.pattern=dc),Qc.init(e,t)})),Hc=ll("$ZodURL",((e,t)=>{Qc.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),a=new URL(n);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:yc.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),void(t.normalize?r.value=a.href:r.value=n)}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}})),Wc=ll("$ZodEmoji",((e,t)=>{t.pattern??(t.pattern=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Qc.init(e,t)})),Uc=ll("$ZodNanoID",((e,t)=>{t.pattern??(t.pattern=sc),Qc.init(e,t)})),qc=ll("$ZodCUID",((e,t)=>{t.pattern??(t.pattern=rc),Qc.init(e,t)})),Zc=ll("$ZodCUID2",((e,t)=>{t.pattern??(t.pattern=nc),Qc.init(e,t)})),_c=ll("$ZodULID",((e,t)=>{t.pattern??(t.pattern=ac),Qc.init(e,t)})),Jc=ll("$ZodXID",((e,t)=>{t.pattern??(t.pattern=oc),Qc.init(e,t)})),Xc=ll("$ZodKSUID",((e,t)=>{t.pattern??(t.pattern=ic),Qc.init(e,t)})),$c=ll("$ZodISODateTime",((e,t)=>{t.pattern??(t.pattern=function(e){const t=kc({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${wc}T(?:${n})$`)}(t)),Qc.init(e,t)})),eu=ll("$ZodISODate",((e,t)=>{t.pattern??(t.pattern=xc),Qc.init(e,t)})),tu=ll("$ZodISOTime",((e,t)=>{t.pattern??(t.pattern=new RegExp(`^${kc(t)}$`)),Qc.init(e,t)})),ru=ll("$ZodISODuration",((e,t)=>{t.pattern??(t.pattern=lc),Qc.init(e,t)})),nu=ll("$ZodIPv4",((e,t)=>{t.pattern??(t.pattern=hc),Qc.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.format="ipv4"}))})),au=ll("$ZodIPv6",((e,t)=>{t.pattern??(t.pattern=pc),Qc.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.format="ipv6"})),e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}})),ou=ll("$ZodCIDRv4",((e,t)=>{t.pattern??(t.pattern=fc),Qc.init(e,t)})),iu=ll("$ZodCIDRv6",((e,t)=>{t.pattern??(t.pattern=gc),Qc.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(2!==n.length)throw new Error;const[e,t]=n;if(!t)throw new Error;const r=Number(t);if(`${r}`!==t)throw new Error;if(r<0||r>128)throw new Error;new URL(`http://[${e}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}}));function su(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const lu=ll("$ZodBase64",((e,t)=>{t.pattern??(t.pattern=mc),Qc.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.contentEncoding="base64"})),e._zod.check=r=>{su(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}));const cu=ll("$ZodBase64URL",((e,t)=>{t.pattern??(t.pattern=bc),Qc.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.contentEncoding="base64url"})),e._zod.check=r=>{(function(e){if(!bc.test(e))return!1;const t=e.replace(/[-_]/g,(e=>"-"===e?"+":"/"));return su(t.padEnd(4*Math.ceil(t.length/4),"="))})(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}})),uu=ll("$ZodE164",((e,t)=>{t.pattern??(t.pattern=vc),Qc.init(e,t)}));const du=ll("$ZodJWT",((e,t)=>{Qc.init(e,t),e._zod.check=r=>{(function(e,t=null){try{const r=e.split(".");if(3!==r.length)return!1;const[n]=r;if(!n)return!1;const a=JSON.parse(atob(n));return!("typ"in a&&"JWT"!==a?.typ||!a.alg||t&&(!("alg"in a)||a.alg!==t))}catch{return!1}})(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}})),hu=ll("$ZodUnknown",((e,t)=>{Tc.init(e,t),e._zod.parse=e=>e})),pu=ll("$ZodNever",((e,t)=>{Tc.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}));function fu(e,t,r){e.issues.length&&t.issues.push(...Ol(r,e.issues)),t.value[r]=e.value}const gu=ll("$ZodArray",((e,t)=>{Tc.init(e,t),e._zod.parse=(r,n)=>{const a=r.value;if(!Array.isArray(a))return r.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),r;r.value=Array(a.length);const o=[];for(let e=0;e<a.length;e++){const i=a[e],s=t.element._zod.run({value:i,issues:[]},n);s instanceof Promise?o.push(s.then((t=>fu(t,r,e)))):fu(s,r,e)}return o.length?Promise.all(o).then((()=>r)):r}}));function mu(e,t,r,n){e.issues.length&&t.issues.push(...Ol(r,e.issues)),void 0===e.value?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function bu(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const r=(n=e.shape,Object.keys(n).filter((e=>"optional"===n[e]._zod.optin&&"optional"===n[e]._zod.optout)));var n;return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function yu(e,t,r,n,a,o){const i=[],s=a.keySet,l=a.catchall._zod,c=l.def.type;for(const a of Object.keys(t)){if(s.has(a))continue;if("never"===c){i.push(a);continue}const o=l.run({value:t[a],issues:[]},n);o instanceof Promise?e.push(o.then((e=>mu(e,r,a,t)))):mu(o,r,a,t)}return i.length&&r.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:o}),e.length?Promise.all(e).then((()=>r)):r}const vu=ll("$ZodObject",((e,t)=>{Tc.init(e,t);const r=Object.getOwnPropertyDescriptor(t,"shape");if(!r?.get){const e=t.shape;Object.defineProperty(t,"shape",{get:()=>{const r={...e};return Object.defineProperty(t,"shape",{value:r}),r}})}const n=fl((()=>bu(t)));yl(e._zod,"propValues",(()=>{const e=t.shape,r={};for(const t in e){const n=e[t]._zod;if(n.values){r[t]??(r[t]=new Set);for(const e of n.values)r[t].add(e)}}return r}));const a=Cl,o=t.catchall;let i;e._zod.parse=(t,r)=>{i??(i=n.value);const s=t.value;if(!a(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};const l=[],c=i.shape;for(const e of i.keys){const n=c[e]._zod.run({value:s[e],issues:[]},r);n instanceof Promise?l.push(n.then((r=>mu(r,t,e,s)))):mu(n,t,e,s)}return o?yu(l,s,t,r,n.value,e):l.length?Promise.all(l).then((()=>t)):t}})),wu=ll("$ZodObjectJIT",((e,t)=>{vu.init(e,t);const r=e._zod.parse,n=fl((()=>bu(t)));let a;const o=Cl,i=!dl.jitless,s=i&&Al.value,l=t.catchall;let c;e._zod.parse=(u,d)=>{c??(c=n.value);const h=u.value;return o(h)?i&&s&&!1===d?.async&&!0!==d.jitless?(a||(a=(e=>{const t=new Ic(["shape","payload","ctx"]),r=n.value,a=e=>{const t=xl(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");const o=Object.create(null);let i=0;for(const e of r.keys)o[e]="key_"+i++;t.write("const newResult = {};");for(const e of r.keys){const r=o[e],n=xl(e);t.write(`const ${r} = ${a(e)};`),t.write(`\n if (${r}.issues.length) {\n payload.issues = payload.issues.concat(${r}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${n}, ...iss.path] : [${n}]\n })));\n }\n \n \n if (${r}.value === undefined) {\n if (${n} in input) {\n newResult[${n}] = undefined;\n }\n } else {\n newResult[${n}] = ${r}.value;\n }\n \n `)}t.write("payload.value = newResult;"),t.write("return payload;");const s=t.compile();return(t,r)=>s(e,t,r)})(t.shape)),u=a(u,d),l?yu([],h,u,d,c,e):u):r(u,d):(u.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),u)}}));function xu(e,t,r,n){for(const r of e)if(0===r.issues.length)return t.value=r.value,t;const a=e.filter((e=>!zl(e)));return 1===a.length?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map((e=>e.issues.map((e=>Ml(e,n,hl())))))}),t)}const ku=ll("$ZodUnion",((e,t)=>{Tc.init(e,t),yl(e._zod,"optin",(()=>t.options.some((e=>"optional"===e._zod.optin))?"optional":void 0)),yl(e._zod,"optout",(()=>t.options.some((e=>"optional"===e._zod.optout))?"optional":void 0)),yl(e._zod,"values",(()=>{if(t.options.every((e=>e._zod.values)))return new Set(t.options.flatMap((e=>Array.from(e._zod.values))))})),yl(e._zod,"pattern",(()=>{if(t.options.every((e=>e._zod.pattern))){const e=t.options.map((e=>e._zod.pattern));return new RegExp(`^(${e.map((e=>ml(e.source))).join("|")})$`)}}));const r=1===t.options.length,n=t.options[0]._zod.run;e._zod.parse=(a,o)=>{if(r)return n(a,o);let i=!1;const s=[];for(const e of t.options){const t=e._zod.run({value:a.value,issues:[]},o);if(t instanceof Promise)s.push(t),i=!0;else{if(0===t.issues.length)return t;s.push(t)}}return i?Promise.all(s).then((t=>xu(t,a,e,o))):xu(s,a,e,o)}})),Cu=ll("$ZodIntersection",((e,t)=>{Tc.init(e,t),e._zod.parse=(e,r)=>{const n=e.value,a=t.left._zod.run({value:n,issues:[]},r),o=t.right._zod.run({value:n,issues:[]},r);return a instanceof Promise||o instanceof Promise?Promise.all([a,o]).then((([t,r])=>Eu(e,t,r))):Eu(e,a,o)}}));function Au(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e===+t)return{valid:!0,data:e};if(El(e)&&El(t)){const r=Object.keys(t),n=Object.keys(e).filter((e=>-1!==r.indexOf(e))),a={...e,...t};for(const r of n){const n=Au(e[r],t[r]);if(!n.valid)return{valid:!1,mergeErrorPath:[r,...n.mergeErrorPath]};a[r]=n.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const a=Au(e[n],t[n]);if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Eu(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),zl(e))return e;const n=Au(t.value,r.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}const Su=ll("$ZodEnum",((e,t)=>{Tc.init(e,t);const r=function(e){const t=Object.values(e).filter((e=>"number"==typeof e)),r=Object.entries(e).filter((([e,r])=>-1===t.indexOf(+e))).map((([e,t])=>t));return r}(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter((e=>jl.has(typeof e))).map((e=>"string"==typeof e?Pl(e):e.toString())).join("|")})$`),e._zod.parse=(t,a)=>{const o=t.value;return n.has(o)||t.issues.push({code:"invalid_value",values:r,input:o,inst:e}),t}})),ju=ll("$ZodTransform",((e,t)=>{Tc.init(e,t),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new ul(e.constructor.name);const a=t.transform(r.value,r);if(n.async){return(a instanceof Promise?a:Promise.resolve(a)).then((e=>(r.value=e,r)))}if(a instanceof Promise)throw new cl;return r.value=a,r}}));function Pu(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}const Bu=ll("$ZodOptional",((e,t)=>{Tc.init(e,t),e._zod.optin="optional",e._zod.optout="optional",yl(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0)),yl(e._zod,"pattern",(()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${ml(e.source)})?$`):void 0})),e._zod.parse=(e,r)=>{if("optional"===t.innerType._zod.optin){const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((t=>Pu(t,e.value))):Pu(n,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,r)}})),Nu=ll("$ZodNullable",((e,t)=>{Tc.init(e,t),yl(e._zod,"optin",(()=>t.innerType._zod.optin)),yl(e._zod,"optout",(()=>t.innerType._zod.optout)),yl(e._zod,"pattern",(()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${ml(e.source)}|null)$`):void 0})),yl(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0)),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)})),zu=ll("$ZodDefault",((e,t)=>{Tc.init(e,t),e._zod.optin="optional",yl(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);if(void 0===e.value)return e.value=t.defaultValue,e;const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((e=>Ou(e,t))):Ou(n,t)}}));function Ou(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}const Du=ll("$ZodPrefault",((e,t)=>{Tc.init(e,t),e._zod.optin="optional",yl(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>("backward"===r.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))})),Mu=ll("$ZodNonOptional",((e,t)=>{Tc.init(e,t),yl(e._zod,"values",(()=>{const e=t.innerType._zod.values;return e?new Set([...e].filter((e=>void 0!==e))):void 0})),e._zod.parse=(r,n)=>{const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then((t=>Fu(t,e))):Fu(a,e)}}));function Fu(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Vu=ll("$ZodCatch",((e,t)=>{Tc.init(e,t),yl(e._zod,"optin",(()=>t.innerType._zod.optin)),yl(e._zod,"optout",(()=>t.innerType._zod.optout)),yl(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((n=>(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map((e=>Ml(e,r,hl())))},input:e.value}),e.issues=[]),e))):(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map((e=>Ml(e,r,hl())))},input:e.value}),e.issues=[]),e)}})),Iu=ll("$ZodPipe",((e,t)=>{Tc.init(e,t),yl(e._zod,"values",(()=>t.in._zod.values)),yl(e._zod,"optin",(()=>t.in._zod.optin)),yl(e._zod,"optout",(()=>t.out._zod.optout)),yl(e._zod,"propValues",(()=>t.in._zod.propValues)),e._zod.parse=(e,r)=>{if("backward"===r.direction){const n=t.out._zod.run(e,r);return n instanceof Promise?n.then((e=>Ru(e,t.in,r))):Ru(n,t.in,r)}const n=t.in._zod.run(e,r);return n instanceof Promise?n.then((e=>Ru(e,t.out,r))):Ru(n,t.out,r)}}));function Ru(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const Tu=ll("$ZodReadonly",((e,t)=>{Tc.init(e,t),yl(e._zod,"propValues",(()=>t.innerType._zod.propValues)),yl(e._zod,"values",(()=>t.innerType._zod.values)),yl(e._zod,"optin",(()=>t.innerType._zod.optin)),yl(e._zod,"optout",(()=>t.innerType._zod.optout)),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(Lu):Lu(n)}}));function Lu(e){return e.value=Object.freeze(e.value),e}const Qu=ll("$ZodCustom",((e,t)=>{Ec.init(e,t),Tc.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{const n=r.value,a=t.fn(n);if(a instanceof Promise)return a.then((t=>Gu(t,r,n,e)));Gu(a,r,n,e)}}));function Gu(e,t,r,n){if(!e){const e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(Vl(e))}}class Ku{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){const r=t[0];if(this._map.set(e,r),r&&"object"==typeof r&&"id"in r){if(this._idmap.has(r.id))throw new Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const r={...this.get(t)??{}};delete r.id;const n={...r,...this._map.get(e)};return Object.keys(n).length?n:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function Yu(){return new Ku}const Hu=Yu();function Wu(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Nl(t)})}function Uu(e,t){return new Sc({check:"max_length",...Nl(t),maximum:e})}function qu(e,t){return new jc({check:"min_length",...Nl(t),minimum:e})}function Zu(e,t){return new Pc({check:"length_equals",...Nl(t),length:e})}function _u(e){return new Vc({check:"overwrite",tx:e})}function Ju(e){const t=function(e,t){const r=new Ec({check:"custom",...Nl(t)});return r._zod.check=e,r}((r=>(r.addIssue=e=>{if("string"==typeof e)r.issues.push(Vl(e,r.value,t._zod.def));else{const n=e;n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=r.value),n.inst??(n.inst=t),n.continue??(n.continue=!t._zod.def.abort),r.issues.push(Vl(n))}},e(r.value,r))));return t}function Xu(e,t){try{var r=e()}catch(e){return t(e)}return r&&r.then?r.then(void 0,t):r}function $u(e,t){for(var r={};e.length;){var n=e[0],a=n.code,o=n.message,i=n.path.join(".");if(!r[i])if("unionErrors"in n){var s=n.unionErrors[0].errors[0];r[i]={message:s.message,type:s.code}}else r[i]={message:o,type:a};if("unionErrors"in n&&n.unionErrors.forEach((function(t){return t.errors.forEach((function(t){return e.push(t)}))})),t){var l=r[i].types,c=l&&l[n.code];r[i]=fe(i,t,r,a,c?[].concat(c,n.message):n.message)}e.shift()}return r}function ed(e,t){for(var r={};e.length;){var n=e[0],a=n.code,o=n.message,i=n.path.join(".");if(!r[i])if("invalid_union"===n.code&&n.errors.length>0){var s=n.errors[0][0];r[i]={message:s.message,type:s.code}}else r[i]={message:o,type:a};if("invalid_union"===n.code&&n.errors.forEach((function(t){return t.forEach((function(t){return e.push(t)}))})),t){var l=r[i].types,c=l&&l[n.code];r[i]=fe(i,t,r,a,c?[].concat(c,n.message):n.message)}e.shift()}return r}function td(e,t,r){if(void 0===r&&(r={}),function(e){return"_def"in e&&"object"==typeof e._def&&"typeName"in e._def}(e))return function(n,a,o){try{return Promise.resolve(Xu((function(){return Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](n,t)).then((function(e){return o.shouldUseNativeValidation&&al({},o),{errors:{},values:r.raw?Object.assign({},n):e}}))}),(function(e){if(function(e){return Array.isArray(null==e?void 0:e.issues)}(e))return{values:{},errors:ol($u(e.errors,!o.shouldUseNativeValidation&&"all"===o.criteriaMode),o)};throw e})))}catch(e){return Promise.reject(e)}};if(function(e){return"_zod"in e&&"object"==typeof e._zod}(e))return function(n,a,o){try{return Promise.resolve(Xu((function(){return Promise.resolve(("sync"===r.mode?Ql:Kl)(e,n,t)).then((function(e){return o.shouldUseNativeValidation&&al({},o),{errors:{},values:r.raw?Object.assign({},n):e}}))}),(function(e){if(function(e){return e instanceof Rl}(e))return{values:{},errors:ol(ed(e.issues,!o.shouldUseNativeValidation&&"all"===o.criteriaMode),o)};throw e})))}catch(e){return Promise.reject(e)}};throw new Error("Invalid input: not a Zod schema")}var rd=Object.prototype.hasOwnProperty;function nd(e,t,r){for(r of e.keys())if(ad(r,t))return r}function ad(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&ad(e[n],t[n]););return-1===n}if(r===Set){if(e.size!==t.size)return!1;for(n of e){if((a=n)&&"object"==typeof a&&!(a=nd(t,a)))return!1;if(!t.has(a))return!1}return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e){if((a=n[0])&&"object"==typeof a&&!(a=nd(t,a)))return!1;if(!ad(n[1],t.get(a)))return!1}return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return-1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}if(!r||"object"==typeof e){for(r in n=0,e){if(rd.call(e,r)&&++n&&!rd.call(t,r))return!1;if(!(r in t)||!ad(e[r],t[r]))return!1}return Object.keys(t).length===n}}return e!=e&&t!=t}function od(e,t){return p.useEffect(e,(r=t,n=p.useRef(r),a=p.useRef(0),ad(r,n.current)||(n.current=r,a.current+=1),p.useMemo((function(){return n.current}),[a.current])));var r,n,a}function id(e){return"anchor"in e&&"string"==typeof e.anchor&&e.anchor.trim().length>0}const sd=6048e5,ld=6e4,cd=36e5,ud=Symbol.for("constructDateFrom");function dd(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&ud in e?e[ud](t):e instanceof Date?new e.constructor(t):new Date(t)}function hd(e,t){return dd(t||e,e)}function pd(e,t,r){const n=hd(e,r?.in);return isNaN(t)?dd(r?.in||e,NaN):t?(n.setDate(n.getDate()+t),n):n}function fd(e,t,r){const n=hd(e,r?.in);if(isNaN(t))return dd(e,NaN);if(!t)return n;const a=n.getDate(),o=dd(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);return a>=o.getDate()?o:(n.setFullYear(o.getFullYear(),o.getMonth(),a),n)}function gd(e,t,r){const{years:n=0,months:a=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=0,seconds:c=0}=t,u=hd(e,r?.in),d=a||n?fd(u,a+12*n):u;return dd(e,+(i||o?pd(d,i+7*o):d)+1e3*(c+60*(l+60*s)))}let md={};function bd(){return md}function yd(e,t){const r=bd(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=hd(e,t?.in),o=a.getDay(),i=(o<n?7:0)+o-n;return a.setDate(a.getDate()-i),a.setHours(0,0,0,0),a}function vd(e,t){return yd(e,{...t,weekStartsOn:1})}function wd(e){const t=hd(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function xd(e,...t){const r=dd.bind(null,t.find((e=>"object"==typeof e)));return t.map(r)}function kd(e,t){const r=hd(e,t?.in);return r.setHours(0,0,0,0),r}function Cd(e,t){const r=function(e,t){const r=hd(e,t?.in),n=r.getFullYear(),a=dd(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const o=vd(a),i=dd(r,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=vd(i);return r.getTime()>=o.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}(e,t),n=dd(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),vd(n)}function Ad(e,t){const r=+hd(e)-+hd(t);return r<0?-1:r>0?1:r}function Ed(e){return!(!((t=e)instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))&&"number"!=typeof e||isNaN(+hd(e)));var t}function Sd(e,t,r){const[n,a]=xd(0,e,t),o=jd(n,a),i=Math.abs(function(e,t){const[r,n]=xd(0,e,t),a=kd(r),o=kd(n),i=+a-wd(a),s=+o-wd(o);return Math.round((i-s)/864e5)}(n,a));n.setDate(n.getDate()-o*i);const s=o*(i-Number(jd(n,a)===-o));return 0===s?0:s}function jd(e,t){const r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function Pd(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return 0===r?0:r}}function Bd(e,t){return+hd(e)-+hd(t)}function Nd(e,t){const r=hd(e,t?.in);return+function(e,t){const r=hd(e,t?.in);return r.setHours(23,59,59,999),r}(r,t)===+function(e,t){const r=hd(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}(r,t)}function zd(e,t,r){const[n,a,o]=xd(0,e,e,t),i=Ad(a,o),s=Math.abs(function(e,t){const[r,n]=xd(0,e,t);return 12*(r.getFullYear()-n.getFullYear())+(r.getMonth()-n.getMonth())}(a,o));if(s<1)return 0;1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-i*s);let l=Ad(a,o)===-i;Nd(n)&&1===s&&1===Ad(n,o)&&(l=!1);const c=i*(s-+l);return 0===c?0:c}function Od(e,t,r){const[n,a]=xd(0,e,t),o=Ad(n,a),i=Math.abs(function(e,t){const[r,n]=xd(0,e,t);return r.getFullYear()-n.getFullYear()}(n,a));n.setFullYear(1584),a.setFullYear(1584);const s=o*(i-+(Ad(n,a)===-o));return 0===s?0:s}const Dd={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Md(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const Fd={date:Md({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Md({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Md({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Vd={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Id(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):t;n=e.formattingValues[a]||e.formattingValues[t]}else{const t=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}const Rd={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:Id({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Id({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Id({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Id({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Id({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function Td(e){return(t,r={})=>{const n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r;return}(s,(e=>e.test(i))):function(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r;return}(s,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(l):l,c=r.valueCallback?r.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}const Ld={ordinalNumber:(Qd={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const r=e.match(Qd.matchPattern);if(!r)return null;const n=r[0],a=e.match(Qd.parsePattern);if(!a)return null;let o=Qd.valueCallback?Qd.valueCallback(a[0]):a[0];return o=t.valueCallback?t.valueCallback(o):o,{value:o,rest:e.slice(n.length)}}),era:Td({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Td({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:Td({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Td({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Td({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};var Qd;const Gd={code:"en-US",formatDistance:(e,t,r)=>{let n;const a=Dd[e];return n="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatLong:Fd,formatRelative:(e,t,r,n)=>Vd[e],localize:Rd,match:Ld,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Kd(e,t){const r=hd(e,t?.in),n=r.getFullYear(),a=bd(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,i=dd(t?.in||e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);const s=yd(i,t),l=dd(t?.in||e,0);l.setFullYear(n,0,o),l.setHours(0,0,0,0);const c=yd(l,t);return+r>=+s?n+1:+r>=+c?n:n-1}function Yd(e,t){const r=hd(e,t?.in),n=+yd(r,t)-+function(e,t){const r=bd(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=Kd(e,t),o=dd(t?.in||e,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),yd(o,t)}(r,t);return Math.round(n/sd)+1}const Hd=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Wd=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Ud={p:Wd,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return Hd(e,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",Hd(n,t)).replace("{{time}}",Wd(a,t))}},qd=/^D+$/,Zd=/^Y+$/,_d=["D","DD","YY","YYYY"];function Jd(e){return qd.test(e)}function Xd(e){return Zd.test(e)}function $d(e,t,r){const n=function(e,t,r){const n="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,r);if(console.warn(n),_d.includes(e))throw new RangeError(n)}function eh(e,t){const{start:r,end:n}=function(e,t){const[r,n]=xd(0,t.start,t.end);return{start:r,end:n}}(0,e),a={},o=Od(n,r);o&&(a.years=o);const i=gd(r,{years:a.years}),s=zd(n,i);s&&(a.months=s);const l=gd(i,{months:a.months}),c=Sd(n,l);c&&(a.days=c);const u=gd(l,{days:a.days}),d=function(e,t,r){const[n,a]=xd(0,e,t),o=(+n-+a)/cd;return Pd(r?.roundingMethod)(o)}(n,u);d&&(a.hours=d);const h=gd(u,{hours:a.hours}),p=function(e,t,r){const n=Bd(e,t)/ld;return Pd(r?.roundingMethod)(n)}(n,h);p&&(a.minutes=p);const f=function(e,t,r){const n=Bd(e,t)/1e3;return Pd(r?.roundingMethod)(n)}(n,gd(h,{minutes:a.minutes}));return f&&(a.seconds=f),a}class th{subPriority=0;validate(e,t){return!0}}class rh extends th{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}}class nh extends th{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>dd(t,e))}set(e,t){return t.timestampIsSet?e:dd(e,function(e,t){const r=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):dd(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}(e,this.context))}}class ah{run(e,t,r,n){const a=this.parse(e,t,r,n);return a?{setter:new rh(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}}const oh=/^(1[0-2]|0?\d)/,ih=/^(3[0-1]|[0-2]?\d)/,sh=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,lh=/^(5[0-3]|[0-4]?\d)/,ch=/^(2[0-3]|[0-1]?\d)/,uh=/^(2[0-4]|[0-1]?\d)/,dh=/^(1[0-1]|0?\d)/,hh=/^(1[0-2]|0?\d)/,ph=/^[0-5]?\d/,fh=/^[0-5]?\d/,gh=/^\d/,mh=/^\d{1,2}/,bh=/^\d{1,3}/,yh=/^\d{1,4}/,vh=/^-?\d+/,wh=/^-?\d/,xh=/^-?\d{1,2}/,kh=/^-?\d{1,3}/,Ch=/^-?\d{1,4}/,Ah=/^([+-])(\d{2})(\d{2})?|Z/,Eh=/^([+-])(\d{2})(\d{2})|Z/,Sh=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,jh=/^([+-])(\d{2}):(\d{2})|Z/,Ph=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Bh(e,t){return e?{value:t(e.value),rest:e.rest}:e}function Nh(e,t){const r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function zh(e,t){const r=t.match(e);if(!r)return null;if("Z"===r[0])return{value:0,rest:t.slice(1)};const n="+"===r[1]?1:-1,a=r[2]?parseInt(r[2],10):0,o=r[3]?parseInt(r[3],10):0,i=r[5]?parseInt(r[5],10):0;return{value:n*(a*cd+o*ld+1e3*i),rest:t.slice(r[0].length)}}function Oh(e){return Nh(vh,e)}function Dh(e,t){switch(e){case 1:return Nh(gh,t);case 2:return Nh(mh,t);case 3:return Nh(bh,t);case 4:return Nh(yh,t);default:return Nh(new RegExp("^\\d{1,"+e+"}"),t)}}function Mh(e,t){switch(e){case 1:return Nh(wh,t);case 2:return Nh(xh,t);case 3:return Nh(kh,t);case 4:return Nh(Ch,t);default:return Nh(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Fh(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Vh(e,t){const r=t>0,n=r?t:1-t;let a;if(n<=50)a=e||100;else{const t=n+50;a=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return r?a:1-a}function Ih(e){return e%400==0||e%4==0&&e%100!=0}function Rh(e,t,r){const n=hd(e,r?.in),a=function(e,t){const r=hd(e,t?.in),n=+vd(r)-+Cd(r);return Math.round(n/sd)+1}(n,r)-t;return n.setDate(n.getDate()-7*a),n}const Th=[31,28,31,30,31,30,31,31,30,31,30,31],Lh=[31,29,31,30,31,30,31,31,30,31,30,31];function Qh(e,t,r){const n=bd(),a=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=hd(e,r?.in),i=o.getDay(),s=7-a;return pd(o,t<0||t>6?t-(i+s)%7:((t%7+7)%7+s)%7-(i+s)%7,r)}function Gh(e,t,r){const n=hd(e,r?.in),a=function(e,t){const r=hd(e,t?.in).getDay();return 0===r?7:r}(n,r);return pd(n,t-a,r)}const Kh={G:new class extends ah{priority=140;parse(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}set(e,t,r){return t.era=r,e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends ah{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,r){const n=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return Bh(Dh(4,e),n);case"yo":return Bh(r.ordinalNumber(e,{unit:"year"}),n);default:return Bh(Dh(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r){const n=e.getFullYear();if(r.isTwoDigitYear){const t=Vh(r.year,n);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const a="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}},Y:new class extends ah{priority=130;parse(e,t,r){const n=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return Bh(Dh(4,e),n);case"Yo":return Bh(r.ordinalNumber(e,{unit:"year"}),n);default:return Bh(Dh(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r,n){const a=Kd(e,n);if(r.isTwoDigitYear){const t=Vh(r.year,a);return e.setFullYear(t,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),yd(e,n)}const o="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(o,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),yd(e,n)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends ah{priority=130;parse(e,t){return Mh("R"===t?4:t.length,e)}set(e,t,r){const n=dd(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),vd(n)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends ah{priority=130;parse(e,t){return Mh("u"===t?4:t.length,e)}set(e,t,r){return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends ah{priority=120;parse(e,t,r){switch(t){case"Q":case"QQ":return Dh(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth(3*(r-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends ah{priority=120;parse(e,t,r){switch(t){case"q":case"qq":return Dh(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth(3*(r-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends ah{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,r){const n=e=>e-1;switch(t){case"M":return Bh(Nh(oh,e),n);case"MM":return Bh(Dh(2,e),n);case"Mo":return Bh(r.ordinalNumber(e,{unit:"month"}),n);case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}},L:new class extends ah{priority=110;parse(e,t,r){const n=e=>e-1;switch(t){case"L":return Bh(Nh(oh,e),n);case"LL":return Bh(Dh(2,e),n);case"Lo":return Bh(r.ordinalNumber(e,{unit:"month"}),n);case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends ah{priority=100;parse(e,t,r){switch(t){case"w":return Nh(lh,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return Dh(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r,n){return yd(function(e,t,r){const n=hd(e,r?.in),a=Yd(n,r)-t;return n.setDate(n.getDate()-7*a),hd(n,r?.in)}(e,r,n),n)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends ah{priority=100;parse(e,t,r){switch(t){case"I":return Nh(lh,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return Dh(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r){return vd(Rh(e,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends ah{priority=90;subPriority=1;parse(e,t,r){switch(t){case"d":return Nh(ih,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return Dh(t.length,e)}}validate(e,t){const r=Ih(e.getFullYear()),n=e.getMonth();return r?t>=1&&t<=Lh[n]:t>=1&&t<=Th[n]}set(e,t,r){return e.setDate(r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends ah{priority=90;subpriority=1;parse(e,t,r){switch(t){case"D":case"DD":return Nh(sh,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return Dh(t.length,e)}}validate(e,t){return Ih(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,r){return e.setMonth(0,r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends ah{priority=90;parse(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=Qh(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends ah{priority=90;parse(e,t,r,n){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return Bh(Dh(t.length,e),a);case"eo":return Bh(r.ordinalNumber(e,{unit:"day"}),a);case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=Qh(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends ah{priority=90;parse(e,t,r,n){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return Bh(Dh(t.length,e),a);case"co":return Bh(r.ordinalNumber(e,{unit:"day"}),a);case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=Qh(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends ah{priority=90;parse(e,t,r){const n=e=>0===e?7:e;switch(t){case"i":case"ii":return Dh(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return Bh(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiii":return Bh(r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiiii":return Bh(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);default:return Bh(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)}}validate(e,t){return t>=1&&t<=7}set(e,t,r){return(e=Gh(e,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends ah{priority=80;parse(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(Fh(r),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends ah{priority=80;parse(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(Fh(r),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends ah{priority=80;parse(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(Fh(r),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends ah{priority=70;parse(e,t,r){switch(t){case"h":return Nh(hh,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return Dh(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){const n=e.getHours()>=12;return n&&r<12?e.setHours(r+12,0,0,0):n||12!==r?e.setHours(r,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends ah{priority=70;parse(e,t,r){switch(t){case"H":return Nh(ch,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return Dh(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,r){return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends ah{priority=70;parse(e,t,r){switch(t){case"K":return Nh(dh,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return Dh(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.getHours()>=12&&r<12?e.setHours(r+12,0,0,0):e.setHours(r,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends ah{priority=70;parse(e,t,r){switch(t){case"k":return Nh(uh,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return Dh(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,r){const n=r<=24?r%24:r;return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends ah{priority=60;parse(e,t,r){switch(t){case"m":return Nh(ph,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return Dh(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setMinutes(r,0,0),e}incompatibleTokens=["t","T"]},s:new class extends ah{priority=50;parse(e,t,r){switch(t){case"s":return Nh(fh,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return Dh(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setSeconds(r,0),e}incompatibleTokens=["t","T"]},S:new class extends ah{priority=30;parse(e,t){return Bh(Dh(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,r){return e.setMilliseconds(r),e}incompatibleTokens=["t","T"]},X:new class extends ah{priority=10;parse(e,t){switch(t){case"X":return zh(Ah,e);case"XX":return zh(Eh,e);case"XXXX":return zh(Sh,e);case"XXXXX":return zh(Ph,e);default:return zh(jh,e)}}set(e,t,r){return t.timestampIsSet?e:dd(e,e.getTime()-wd(e)-r)}incompatibleTokens=["t","T","x"]},x:new class extends ah{priority=10;parse(e,t){switch(t){case"x":return zh(Ah,e);case"xx":return zh(Eh,e);case"xxxx":return zh(Sh,e);case"xxxxx":return zh(Ph,e);default:return zh(jh,e)}}set(e,t,r){return t.timestampIsSet?e:dd(e,e.getTime()-wd(e)-r)}incompatibleTokens=["t","T","X"]},t:new class extends ah{priority=40;parse(e){return Oh(e)}set(e,t,r){return[dd(e,1e3*r),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends ah{priority=20;parse(e){return Oh(e)}set(e,t,r){return[dd(e,r),{timestampIsSet:!0}]}incompatibleTokens="*"}},Yh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Hh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Wh=/^'([^]*?)'?$/,Uh=/''/g,qh=/\S/,Zh=/[a-zA-Z]/;function _h(e,t,r,n){const a=()=>dd(r,NaN),o=Object.assign({},bd()),i=o.locale??Gd,s=o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!t)return e?a():hd(r,n?.in);const c={firstWeekContainsDate:s,weekStartsOn:l,locale:i},u=[new nh(n?.in,r)],d=t.match(Hh).map((e=>{const t=e[0];if(t in Ud){return(0,Ud[t])(e,i.formatLong)}return e})).join("").match(Yh),h=[];for(let r of d){Xd(r)&&$d(r,t,e),Jd(r)&&$d(r,t,e);const n=r[0],o=Kh[n];if(o){const{incompatibleTokens:t}=o;if(Array.isArray(t)){const e=h.find((e=>t.includes(e.token)||e.token===n));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${r}\` at the same time`)}else if("*"===o.incompatibleTokens&&h.length>0)throw new RangeError(`The format string mustn't contain \`${r}\` and any other token at the same time`);h.push({token:n,fullToken:r});const s=o.run(e,r,i.match,c);if(!s)return a();u.push(s.setter),e=s.rest}else{if(n.match(Zh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=r.match(Wh)[1].replace(Uh,"'")),0!==e.indexOf(r))return a();e=e.slice(r.length)}}if(e.length>0&&qh.test(e))return a();const p=u.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,r)=>r.indexOf(e)===t)).map((e=>u.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let f=hd(r,n?.in);if(isNaN(+f))return a();const g={};for(const e of p){if(!e.validate(f,c))return a();const t=e.set(f,g,c);Array.isArray(t)?(f=t[0],Object.assign(g,t[1])):f=t}return f}function Jh(e,t){const r=()=>dd(t?.in,NaN),n=function(e){const t={},r=e.split(Xh.dateTimeDelimiter);let n;if(r.length>2)return t;/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Xh.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Xh.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length)));if(n){const e=Xh.timezone.exec(n);e?(t.time=n.replace(e[1],""),t.timezone=e[1]):t.time=n}return t}(e);let a;if(n.date){const e=function(e,t){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};const a=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:null===o?a:100*o,restDateString:e.slice((n[1]||n[2]).length)}}(n.date,2);a=function(e,t){if(null===t)return new Date(NaN);const r=e.match($h);if(!r)return new Date(NaN);const n=!!r[4],a=rp(r[1]),o=rp(r[2])-1,i=rp(r[3]),s=rp(r[4]),l=rp(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,s,l)?function(e,t,r){const n=new Date(0);n.setUTCFullYear(e,0,4);const a=n.getUTCDay()||7,o=7*(t-1)+r+1-a;return n.setUTCDate(n.getUTCDate()+o),n}(t,s,l):new Date(NaN);{const e=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(ap[t]||(op(e)?29:28))}(t,o,i)&&function(e,t){return t>=1&&t<=(op(e)?366:365)}(t,a)?(e.setUTCFullYear(t,o,Math.max(a,i)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!a||isNaN(+a))return r();const o=+a;let i,s=0;if(n.time&&(s=function(e){const t=e.match(ep);if(!t)return NaN;const r=np(t[1]),n=np(t[2]),a=np(t[3]);if(!function(e,t,r){if(24===e)return 0===t&&0===r;return r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,n,a))return NaN;return r*cd+n*ld+1e3*a}(n.time),isNaN(s)))return r();if(!n.timezone){const e=new Date(o+s),r=hd(0,t?.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return i=function(e){if("Z"===e)return 0;const t=e.match(tp);if(!t)return 0;const r="+"===t[1]?-1:1,n=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,a))return NaN;return r*(n*cd+a*ld)}(n.timezone),isNaN(i)?r():hd(o+s+i,t?.in)}const Xh={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},$h=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ep=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,tp=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rp(e){return e?parseInt(e):1}function np(e){return e&&parseFloat(e.replace(",","."))||0}const ap=[31,null,31,30,31,30,31,31,30,31,30,31];function op(e){return e%400==0||e%4==0&&e%100!=0}function ip(e,t,r){const{years:n=0,months:a=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=0,seconds:c=0}=t,u=function(e,t,r){return fd(e,-t,r)}(e,a+12*n,r),d=function(e,t,r){return pd(e,-t,r)}(u,i+7*o,r);return dd(e,+d-1e3*(c+60*(l+60*s)))}const sp={AF:"AF",AL:"AL",DZ:"DZ",AS:"AS",AD:"AD",AO:"AO",AI:"AI",AQ:"AQ",AG:"AG",AR:"AR",AM:"AM",AW:"AW",AU:"AU",AT:"AT",AZ:"AZ",BS:"BS",BH:"BH",BD:"BD",BB:"BB",BY:"BY",BE:"BE",BZ:"BZ",BJ:"BJ",BM:"BM",BT:"BT",BO:"BO",BQ:"BQ",BA:"BA",BW:"BW",BV:"BV",BR:"BR",IO:"IO",BN:"BN",BG:"BG",BF:"BF",BI:"BI",KH:"KH",CM:"CM",CA:"CA",CV:"CV",KY:"KY",CF:"CF",TD:"TD",CL:"CL",CN:"CN",CX:"CX",CC:"CC",CO:"CO",KM:"KM",CG:"CG",CD:"CD",CK:"CK",CR:"CR",HR:"HR",CU:"CU",CW:"CW",CY:"CY",CZ:"CZ",CI:"CI",DK:"DK",DJ:"DJ",DM:"DM",DO:"DO",EC:"EC",EG:"EG",SV:"SV",GQ:"GQ",ER:"ER",EE:"EE",ET:"ET",FK:"FK",FO:"FO",FJ:"FJ",FI:"FI",FR:"FR",GF:"GF",PF:"PF",TF:"TF",GA:"GA",GM:"GM",GE:"GE",DE:"DE",GH:"GH",GI:"GI",GR:"GR",GL:"GL",GD:"GD",GP:"GP",GU:"GU",GT:"GT",GG:"GG",GN:"GN",GW:"GW",GY:"GY",HT:"HT",HM:"HM",VA:"VA",HN:"HN",HK:"HK",HU:"HU",IS:"IS",IN:"IN",ID:"ID",IR:"IR",IQ:"IQ",IE:"IE",IM:"IM",IL:"IL",IT:"IT",JM:"JM",JP:"JP",JE:"JE",JO:"JO",KZ:"KZ",KE:"KE",KI:"KI",KP:"KP",KR:"KR",KW:"KW",KG:"KG",LA:"LA",LV:"LV",LB:"LB",LS:"LS",LR:"LR",LY:"LY",LI:"LI",LT:"LT",LU:"LU",MO:"MO",MK:"MK",MG:"MG",MW:"MW",MY:"MY",MV:"MV",ML:"ML",MT:"MT",MH:"MH",MQ:"MQ",MR:"MR",MU:"MU",YT:"YT",MX:"MX",FM:"FM",MD:"MD",MC:"MC",MN:"MN",ME:"ME",MS:"MS",MA:"MA",MZ:"MZ",MM:"MM",NA:"NA",NR:"NR",NP:"NP",NL:"NL",NC:"NC",NZ:"NZ",NI:"NI",NE:"NE",NG:"NG",NU:"NU",NF:"NF",MP:"MP",NO:"NO",OM:"OM",PK:"PK",PW:"PW",PS:"PS",PA:"PA",PG:"PG",PY:"PY",PE:"PE",PH:"PH",PN:"PN",PL:"PL",PT:"PT",PR:"PR",QA:"QA",RO:"RO",RU:"RU",RW:"RW",RE:"RE",BL:"BL",SH:"SH",KN:"KN",LC:"LC",MF:"MF",PM:"PM",VC:"VC",WS:"WS",SM:"SM",ST:"ST",SA:"SA",SN:"SN",RS:"RS",SC:"SC",SL:"SL",SG:"SG",SX:"SX",SK:"SK",SI:"SI",SB:"SB",SO:"SO",ZA:"ZA",GS:"GS",SS:"SS",ES:"ES",LK:"LK",SD:"SD",SR:"SR",SJ:"SJ",SZ:"SZ",SE:"SE",CH:"CH",SY:"SY",TW:"TW",TJ:"TJ",TZ:"TZ",TH:"TH",TL:"TL",TG:"TG",TK:"TK",TO:"TO",TT:"TT",TN:"TN",TR:"TR",TM:"TM",TC:"TC",TV:"TV",UG:"UG",UA:"UA",AE:"AE",GB:"GB",UK:"GB",US:"US",UM:"UM",UY:"UY",UZ:"UZ",VU:"VU",VE:"VE",VN:"VN",VG:"VG",VI:"VI",WF:"WF",EH:"EH",YE:"YE",ZM:"ZM",ZW:"ZW"};Array.from(new Set(Object.values(sp)));const lp=e=>null!=e,cp=e=>null==e||""===e,up=e=>"string"==typeof e,dp=e=>e instanceof Date,hp=e=>"object"==typeof e&&!!e&&!Array.isArray(e),pp=["yyyy-MM-dd","yyyy/MM/dd","dd/MM/yyyy","dd-MM-yyyy","yyyy-dd-MM","yyyy/dd/MM","MM/dd/yyyy","MM-dd-yyyy"],fp=({value:e,format:t="yyyy-MM-dd"})=>{if(dp(e))return e;if(!up(e))return null;try{let r=_h(e,t,new Date);return Ed(r)?r:gp({value:e})}catch{return null}},gp=({value:e})=>{let t=Jh(e);if(Ed(t))return t;let r=new Date;for(let t of pp){let n=_h(e,t,r);if(Ed(n))return n.setUTCHours(0,0,0,0),n}return null},mp=({date:e,yearsToAdd:t=0,format:r})=>{if(cp(e))return!1;let n=fp({value:e,format:r});if(null===n)return!1;let a=Math.round(t)??0,o=ip(new Date,{days:1}),i=function(e,t,r){return fd(e,12*t,r)}(n,a);return function(e,t){return+hd(e)<+hd(t)}(o,i)},bp=/^__secretvalue:\*\*redacted\*\*(.*)$/,yp=e=>up(e)&&bp.test(e),vp=e=>{const t="••••••••••";if(!yp(e))return e;const r=e.match(bp);if(!r)return t;const n=r[1];return n?t+n:t},wp=ll("ZodISODateTime",((e,t)=>{$c.init(e,t),Hp.init(e,t)}));function xp(e){return function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Nl(t)})}(wp,e)}const kp=ll("ZodISODate",((e,t)=>{eu.init(e,t),Hp.init(e,t)}));function Cp(e){return function(e,t){return new e({type:"string",format:"date",check:"string_format",...Nl(t)})}(kp,e)}const Ap=ll("ZodISOTime",((e,t)=>{tu.init(e,t),Hp.init(e,t)}));function Ep(e){return function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Nl(t)})}(Ap,e)}const Sp=ll("ZodISODuration",((e,t)=>{ru.init(e,t),Hp.init(e,t)}));function jp(e){return function(e,t){return new e({type:"string",format:"duration",check:"string_format",...Nl(t)})}(Sp,e)}const Pp=ll("ZodError",((e,t)=>{Rl.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t=e=>e.message){const r={_errors:[]},n=e=>{for(const a of e.issues)if("invalid_union"===a.code&&a.errors.length)a.errors.map((e=>n({issues:e})));else if("invalid_key"===a.code)n({issues:a.issues});else if("invalid_element"===a.code)n({issues:a.issues});else if(0===a.path.length)r._errors.push(t(a));else{let e=r,n=0;for(;n<a.path.length;){const r=a.path[n];n===a.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(a))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(e),r}(e,t)},flatten:{value:t=>function(e,t=e=>e.message){const r={},n=[];for(const a of e.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):n.push(t(a));return{formErrors:n,fieldErrors:r}}(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,pl,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,pl,2)}},isEmpty:{get:()=>0===e.issues.length}})}),{Parent:Error}),Bp=Ll(Pp),Np=Gl(Pp),zp=Yl(Pp),Op=Wl(Pp),Dp=ql(Pp),Mp=Zl(Pp),Fp=_l(Pp),Vp=Jl(Pp),Ip=Xl(Pp),Rp=$l(Pp),Tp=ec(Pp),Lp=tc(Pp),Qp=ll("ZodType",((e,t)=>(Tc.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(wl(t,{checks:[...t.checks??[],...r.map((e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e))]})),e.clone=(t,r)=>Bl(e,t,r),e.brand=()=>e,e.register=(t,r)=>(t.add(e,r),e),e.parse=(t,r)=>Bp(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>zp(e,t,r),e.parseAsync=async(t,r)=>Np(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>Op(e,t,r),e.spa=e.safeParseAsync,e.encode=(t,r)=>Dp(e,t,r),e.decode=(t,r)=>Mp(e,t,r),e.encodeAsync=async(t,r)=>Fp(e,t,r),e.decodeAsync=async(t,r)=>Vp(e,t,r),e.safeEncode=(t,r)=>Ip(e,t,r),e.safeDecode=(t,r)=>Rp(e,t,r),e.safeEncodeAsync=async(t,r)=>Tp(e,t,r),e.safeDecodeAsync=async(t,r)=>Lp(e,t,r),e.refine=(t,r)=>e.check(function(e,t={}){return function(e,t,r){return new e({type:"custom",check:"custom",fn:t,...Nl(r)})}(Mf,e,t)}(t,r)),e.superRefine=t=>e.check(Ju(t)),e.overwrite=t=>e.check(_u(t)),e.optional=()=>Af(e),e.nullable=()=>Sf(e),e.nullish=()=>Af(Sf(e)),e.nonoptional=t=>function(e,t){return new Bf({type:"nonoptional",innerType:e,...Nl(t)})}(e,t),e.array=()=>{return function(e,t,r){return new e({type:"array",element:t,...Nl(r)})}(mf,e,t);var t},e.or=t=>vf([e,t]),e.and=t=>new wf({type:"intersection",left:e,right:t}),e.transform=t=>Of(e,new kf({type:"transform",transform:t})),e.default=t=>{return r=t,new jf({type:"default",innerType:e,get defaultValue(){return"function"==typeof r?r():Sl(r)}});var r},e.prefault=t=>{return r=t,new Pf({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof r?r():Sl(r)}});var r},e.catch=t=>{return new Nf({type:"catch",innerType:e,catchValue:"function"==typeof(r=t)?r:()=>r});var r},e.pipe=t=>Of(e,t),e.readonly=()=>new Df({type:"readonly",innerType:e}),e.describe=t=>{const r=e.clone();return Hu.add(r,{description:t}),r},Object.defineProperty(e,"description",{get:()=>Hu.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return Hu.get(e);const r=e.clone();return Hu.add(r,t[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e))),Gp=ll("_ZodString",((e,t)=>{Lc.init(e,t),Qp.init(e,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...t)=>e.check(function(e,t){return new Nc({check:"string_format",format:"regex",...Nl(t),pattern:e})}(...t)),e.includes=(...t)=>e.check(function(e,t){return new Dc({check:"string_format",format:"includes",...Nl(t),includes:e})}(...t)),e.startsWith=(...t)=>e.check(function(e,t){return new Mc({check:"string_format",format:"starts_with",...Nl(t),prefix:e})}(...t)),e.endsWith=(...t)=>e.check(function(e,t){return new Fc({check:"string_format",format:"ends_with",...Nl(t),suffix:e})}(...t)),e.min=(...t)=>e.check(qu(...t)),e.max=(...t)=>e.check(Uu(...t)),e.length=(...t)=>e.check(Zu(...t)),e.nonempty=(...t)=>e.check(qu(1,...t)),e.lowercase=t=>e.check(function(e){return new zc({check:"string_format",format:"lowercase",...Nl(e)})}(t)),e.uppercase=t=>e.check(function(e){return new Oc({check:"string_format",format:"uppercase",...Nl(e)})}(t)),e.trim=()=>e.check(_u((e=>e.trim()))),e.normalize=(...t)=>e.check(function(e){return _u((t=>t.normalize(e)))}(...t)),e.toLowerCase=()=>e.check(_u((e=>e.toLowerCase()))),e.toUpperCase=()=>e.check(_u((e=>e.toUpperCase())))})),Kp=ll("ZodString",((e,t)=>{Lc.init(e,t),Gp.init(e,t),e.email=t=>e.check(function(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Nl(t)})}(Wp,t)),e.url=t=>e.check(function(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Nl(t)})}(Zp,t)),e.jwt=t=>e.check(function(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Nl(t)})}(df,t)),e.emoji=t=>e.check(function(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Nl(t)})}(_p,t)),e.guid=t=>e.check(Wu(Up,t)),e.uuid=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Nl(t)})}(qp,t)),e.uuidv4=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Nl(t)})}(qp,t)),e.uuidv6=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Nl(t)})}(qp,t)),e.uuidv7=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Nl(t)})}(qp,t)),e.nanoid=t=>e.check(function(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Nl(t)})}(Jp,t)),e.guid=t=>e.check(Wu(Up,t)),e.cuid=t=>e.check(function(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Nl(t)})}(Xp,t)),e.cuid2=t=>e.check(function(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Nl(t)})}($p,t)),e.ulid=t=>e.check(function(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Nl(t)})}(ef,t)),e.base64=t=>e.check(function(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Nl(t)})}(lf,t)),e.base64url=t=>e.check(function(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Nl(t)})}(cf,t)),e.xid=t=>e.check(function(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Nl(t)})}(tf,t)),e.ksuid=t=>e.check(function(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Nl(t)})}(rf,t)),e.ipv4=t=>e.check(function(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Nl(t)})}(nf,t)),e.ipv6=t=>e.check(function(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Nl(t)})}(af,t)),e.cidrv4=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Nl(t)})}(of,t)),e.cidrv6=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Nl(t)})}(sf,t)),e.e164=t=>e.check(function(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Nl(t)})}(uf,t)),e.datetime=t=>e.check(xp(t)),e.date=t=>e.check(Cp(t)),e.time=t=>e.check(Ep(t)),e.duration=t=>e.check(jp(t))}));function Yp(e){return function(e,t){return new e({type:"string",...Nl(t)})}(Kp,e)}const Hp=ll("ZodStringFormat",((e,t)=>{Qc.init(e,t),Gp.init(e,t)})),Wp=ll("ZodEmail",((e,t)=>{Yc.init(e,t),Hp.init(e,t)})),Up=ll("ZodGUID",((e,t)=>{Gc.init(e,t),Hp.init(e,t)})),qp=ll("ZodUUID",((e,t)=>{Kc.init(e,t),Hp.init(e,t)})),Zp=ll("ZodURL",((e,t)=>{Hc.init(e,t),Hp.init(e,t)})),_p=ll("ZodEmoji",((e,t)=>{Wc.init(e,t),Hp.init(e,t)})),Jp=ll("ZodNanoID",((e,t)=>{Uc.init(e,t),Hp.init(e,t)})),Xp=ll("ZodCUID",((e,t)=>{qc.init(e,t),Hp.init(e,t)})),$p=ll("ZodCUID2",((e,t)=>{Zc.init(e,t),Hp.init(e,t)})),ef=ll("ZodULID",((e,t)=>{_c.init(e,t),Hp.init(e,t)})),tf=ll("ZodXID",((e,t)=>{Jc.init(e,t),Hp.init(e,t)})),rf=ll("ZodKSUID",((e,t)=>{Xc.init(e,t),Hp.init(e,t)})),nf=ll("ZodIPv4",((e,t)=>{nu.init(e,t),Hp.init(e,t)})),af=ll("ZodIPv6",((e,t)=>{au.init(e,t),Hp.init(e,t)})),of=ll("ZodCIDRv4",((e,t)=>{ou.init(e,t),Hp.init(e,t)})),sf=ll("ZodCIDRv6",((e,t)=>{iu.init(e,t),Hp.init(e,t)})),lf=ll("ZodBase64",((e,t)=>{lu.init(e,t),Hp.init(e,t)})),cf=ll("ZodBase64URL",((e,t)=>{cu.init(e,t),Hp.init(e,t)})),uf=ll("ZodE164",((e,t)=>{uu.init(e,t),Hp.init(e,t)})),df=ll("ZodJWT",((e,t)=>{du.init(e,t),Hp.init(e,t)})),hf=ll("ZodUnknown",((e,t)=>{hu.init(e,t),Qp.init(e,t)}));function pf(){return new hf({type:"unknown"})}const ff=ll("ZodNever",((e,t)=>{pu.init(e,t),Qp.init(e,t)}));function gf(e){return function(e,t){return new e({type:"never",...Nl(t)})}(ff,e)}const mf=ll("ZodArray",((e,t)=>{gu.init(e,t),Qp.init(e,t),e.element=t.element,e.min=(t,r)=>e.check(qu(t,r)),e.nonempty=t=>e.check(qu(1,t)),e.max=(t,r)=>e.check(Uu(t,r)),e.length=(t,r)=>e.check(Zu(t,r)),e.unwrap=()=>e.element}));const bf=ll("ZodObject",((e,t)=>{wu.init(e,t),Qp.init(e,t),yl(e,"shape",(()=>t.shape)),e.keyof=()=>function(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map((e=>[e,e]))):e;return new xf({type:"enum",entries:r,...Nl(t)})}(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:pf()}),e.loose=()=>e.clone({...e._zod.def,catchall:pf()}),e.strict=()=>e.clone({...e._zod.def,catchall:gf()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>function(e,t){if(!El(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const n=wl(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return vl(this,"shape",r),r},checks:[]});return Bl(e,n)}(e,t),e.safeExtend=t=>function(e,t){if(!El(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const r={...e._zod.def.shape,...t};return vl(this,"shape",r),r},checks:e._zod.def.checks};return Bl(e,r)}(e,t),e.merge=t=>function(e,t){const r=wl(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return vl(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:[]});return Bl(e,r)}(e,t),e.pick=t=>function(e,t){const r=e._zod.def;return Bl(e,wl(e._zod.def,{get shape(){const e={};for(const n in t){if(!(n in r.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(e[n]=r.shape[n])}return vl(this,"shape",e),e},checks:[]}))}(e,t),e.omit=t=>function(e,t){const r=e._zod.def,n=wl(e._zod.def,{get shape(){const n={...e._zod.def.shape};for(const e in t){if(!(e in r.shape))throw new Error(`Unrecognized key: "${e}"`);t[e]&&delete n[e]}return vl(this,"shape",n),n},checks:[]});return Bl(e,n)}(e,t),e.partial=(...t)=>function(e,t,r){const n=wl(t._zod.def,{get shape(){const n=t._zod.def.shape,a={...n};if(r)for(const t in r){if(!(t in n))throw new Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(const t in n)a[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return vl(this,"shape",a),a},checks:[]});return Bl(t,n)}(Cf,e,t[0]),e.required=(...t)=>function(e,t,r){const n=wl(t._zod.def,{get shape(){const n=t._zod.def.shape,a={...n};if(r)for(const t in r){if(!(t in a))throw new Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(const t in n)a[t]=new e({type:"nonoptional",innerType:n[t]});return vl(this,"shape",a),a},checks:[]});return Bl(t,n)}(Bf,e,t[0])}));const yf=ll("ZodUnion",((e,t)=>{ku.init(e,t),Qp.init(e,t),e.options=t.options}));function vf(e,t){return new yf({type:"union",options:e,...Nl(t)})}const wf=ll("ZodIntersection",((e,t)=>{Cu.init(e,t),Qp.init(e,t)}));const xf=ll("ZodEnum",((e,t)=>{Su.init(e,t),Qp.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{const a={};for(const n of e){if(!r.has(n))throw new Error(`Key ${n} not found in enum`);a[n]=t.entries[n]}return new xf({...t,checks:[],...Nl(n),entries:a})},e.exclude=(e,n)=>{const a={...t.entries};for(const t of e){if(!r.has(t))throw new Error(`Key ${t} not found in enum`);delete a[t]}return new xf({...t,checks:[],...Nl(n),entries:a})}}));const kf=ll("ZodTransform",((e,t)=>{ju.init(e,t),Qp.init(e,t),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new ul(e.constructor.name);r.addIssue=n=>{if("string"==typeof n)r.issues.push(Vl(n,r.value,t));else{const t=n;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=r.value),t.inst??(t.inst=e),r.issues.push(Vl(t))}};const a=t.transform(r.value,r);return a instanceof Promise?a.then((e=>(r.value=e,r))):(r.value=a,r)}}));const Cf=ll("ZodOptional",((e,t)=>{Bu.init(e,t),Qp.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function Af(e){return new Cf({type:"optional",innerType:e})}const Ef=ll("ZodNullable",((e,t)=>{Nu.init(e,t),Qp.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function Sf(e){return new Ef({type:"nullable",innerType:e})}const jf=ll("ZodDefault",((e,t)=>{zu.init(e,t),Qp.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}));const Pf=ll("ZodPrefault",((e,t)=>{Du.init(e,t),Qp.init(e,t),e.unwrap=()=>e._zod.def.innerType}));const Bf=ll("ZodNonOptional",((e,t)=>{Mu.init(e,t),Qp.init(e,t),e.unwrap=()=>e._zod.def.innerType}));const Nf=ll("ZodCatch",((e,t)=>{Vu.init(e,t),Qp.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}));const zf=ll("ZodPipe",((e,t)=>{Iu.init(e,t),Qp.init(e,t),e.in=t.in,e.out=t.out}));function Of(e,t){return new zf({type:"pipe",in:e,out:t})}const Df=ll("ZodReadonly",((e,t)=>{Tu.init(e,t),Qp.init(e,t),e.unwrap=()=>e._zod.def.innerType}));const Mf=ll("ZodCustom",((e,t)=>{Qu.init(e,t),Qp.init(e,t)}));function Ff(e){let t=Yp();if(e.required&&(t=t.min(1,`${e.label} is required`)),"number"===e.type){if(!e.required)return Yp().refine((e=>""===e||/^\d+$/.test(e)),"Must be a valid number");t=t.regex(/^\d+$/,"Must be a valid number")}if(e.validation)if("html-pattern"===e.validation.type){const r=new RegExp(e.validation.pattern),n=e.validation.error||`Please match the required format: ${e.validation.pattern}`;if(!e.required)return Yp().refine((e=>""===e||r.test(e)),n);t=t.regex(r,n)}else if("domain"===e.validation.type){const r=new RegExp(`.*${e.validation.pattern}\\.com.*`),n=e.validation.error||`Please enter a valid ${e.validation.pattern}.com domain`;if(!e.required)return Yp().refine((e=>""===e||r.test(e)),n);t=t.regex(r,n)}return e.required?t:vf([Yp().length(0),t])}function Vf(e){const t={};for(const r of e)t[r.key]=Ff(r);return function(e,t){const r={type:"object",shape:e??{},...Nl(t)};return new bf(r)}(t)}const If=({field:e,errors:t,setValue:r,editingSecrets:n,setEditingSecrets:a})=>{var o,i,s,l,c,u,d,h,p,f,g,m,b,y,v,w,x,k,C,A,E,S,j;const B="object"==typeof e.key?JSON.stringify(e.key):String(e.key),N=t[B]&&P.jsx($i,{color:"error",style:{marginTop:"4px",fontSize:"12px"},children:null===(o=t[B])||void 0===o?void 0:o.message});if("text"===(z=e.type)||"number"===z||"password"===z){const o=e.readOnly,m=null===(i=e.value)||void 0===i?void 0:i.toString(),b="external-trigger-token"!==e.key&&(!1!==e.secret||"password"===e.type),y=o&&m&&!b,v=null!==(s=null==n?void 0:n.has(B))&&void 0!==s&&s;if(b&&yp(m)&&!v)return P.jsxs(P.Fragment,{children:[P.jsx(Qi,{name:`${B}-display`,label:e.label,placeholder:e.placeholder,type:"text",required:e.required,disabled:!0,readOnly:!0,defaultValue:m?vp(m):"",description:null!==(c=null===(l=e.guide)||void 0===l?void 0:l.description)&&void 0!==c?c:e.description,tooltip:null!==(d=null===(u=e.guide)||void 0===u?void 0:u.tooltip)&&void 0!==d?d:e.tooltip,showCopyButton:!1,buttons:a?[{label:"Edit",variant:"filled",size:"xsmall",onClick:()=>{a((e=>new Set(e).add(B))),r(B,"",{shouldValidate:!0,shouldDirty:!0})}}]:void 0}),N]});const w=!b&&(e.readOnly||!1),x=b?void 0:y?()=>{}:void 0;return P.jsxs(P.Fragment,{children:[P.jsx(Qi,{name:B,required:!!o||e.required,placeholder:e.placeholder,disabled:w,readOnly:e.readOnly,label:e.label,tooltip:null!==(p=null===(h=e.guide)||void 0===h?void 0:h.tooltip)&&void 0!==p?p:e.tooltip,description:null!==(g=null===(f=e.guide)||void 0===f?void 0:f.description)&&void 0!==g?g:e.description,type:e.type,error:!!t[B],onChange:e=>r(B,e,{shouldValidate:!0}),defaultValue:b&&v?"":m,showPasswordToggle:!1,onCopyClick:x},`${B}-${v?"editing":"view"}`),N]})}var z;return"text_area"===e.type?P.jsxs(P.Fragment,{children:[P.jsx(Hi,{name:B,required:e.required,placeholder:e.placeholder,disabled:e.readOnly,label:e.label,tooltip:null!==(b=null===(m=e.guide)||void 0===m?void 0:m.tooltip)&&void 0!==b?b:e.tooltip,description:null!==(v=null===(y=e.guide)||void 0===y?void 0:y.description)&&void 0!==v?v:e.description,error:!!t[B],onChange:e=>r(B,e,{shouldValidate:!0}),defaultValue:(null===(w=e.value)||void 0===w?void 0:w.toString())||""}),N]}):"select"===e.type?P.jsxs(P.Fragment,{children:[P.jsx(fi,{defaultValue:(null===(x=e.value)||void 0===x?void 0:x.toString())||"",disabled:e.readOnly,items:null!==(C=null===(k=e.options)||void 0===k?void 0:k.map((e=>({id:e.value,label:e.label}))))&&void 0!==C?C:[],onItemSelected:e=>r(B,null!=e?e:"",{shouldValidate:!0}),name:B,label:e.label,tooltip:null!==(E=null===(A=e.guide)||void 0===A?void 0:A.tooltip)&&void 0!==E?E:e.tooltip,description:null!==(j=null===(S=e.guide)||void 0===S?void 0:S.description)&&void 0!==j?j:e.description,required:e.required,error:!!t[B]}),N]}):null},Rf=({error:e})=>{if(!e)return null;try{return P.jsx(ci,{json:JSON.parse(e.provider_response)})}catch(t){return(null==e?void 0:e.provider_response)&&(null==e?void 0:e.provider_response.length)>0?P.jsx(ci,{code:null==e?void 0:e.provider_response}):null}},Tf=({integrationName:e,error:t,notices:r=[]})=>{var n;const a=r.filter((e=>!e.position||"top"===e.position));return P.jsxs(Ti,{vertical:"large",horizontal:"medium",overflow:"auto",fullHeight:!0,children:[t&&P.jsx(yn,{type:"error",message:(null===(n=t.provider_response)||void 0===n?void 0:n.trim())||t.message,hasMargin:!1,children:P.jsx(Rf,{error:t})}),a.map((e=>P.jsx(yn,{type:e.type,message:e.description,hasMargin:!1},e.key))),P.jsx(vi,{direction:yi.Vertical,gapSize:gi.Small,fullHeight:!0,justify:mi.Center,align:bi.Center,children:P.jsxs(wn,{direction:"vertical",size:8,fullWidth:!0,children:[P.jsx($i,{size:"small",fontWeight:"semi-bold",children:'Press "Connect" below to authenticate'}),P.jsxs($i,{size:"small",color:"secondary",children:["An authentication window for ",e," will display,",P.jsx("br",{}),"please complete the necessary steps."]})]})})]})},Lf=({fields:e,notices:t=[],onChange:r,error:n,onValidationChange:a,integrationName:o,editingSecrets:i,setEditingSecrets:s})=>{const l=e.filter((e=>!1!==e.display)),c=l.map((e=>"object"==typeof e.key?JSON.stringify(e.key):String(e.key))),{noticesBefore:u,noticesAfter:d}=function(e,t=[]){const r=t[0],n=t[t.length-1];return{noticesBefore:t=>e.filter((e=>id(e)?e.anchor===t:(!e.position||"top"===e.position)&&t===r)),noticesAfter:t=>e.filter((e=>!id(e)&&"bottom"===e.position&&t===n))}}(t,c),h=p.useMemo((()=>Vf(e)),[e]),g=p.useMemo((()=>{const t={};return e.forEach((e=>{void 0!==e.value?t[e.key]=e.value.toString():t[e.key]=""})),t}),[e]),{formState:m,watch:b,reset:y,setValue:v}=function(e={}){const t=f.useRef(void 0),r=f.useRef(void 0),[n,a]=f.useState({isDirty:!1,isValidating:!1,isLoading:xe(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:xe(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:n},e.defaultValues&&!xe(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:r,...a}=Je(e);t.current={...a,formState:n}}const o=t.current.control;return o._options=e,ce((()=>{const e=o._subscribe({formState:o._proxyFormState,callback:()=>a({...o._formState}),reRenderRoot:!0});return a((e=>({...e,isReady:!0}))),o._formState.isReady=!0,e}),[o]),f.useEffect((()=>o._disableForm(e.disabled)),[o,e.disabled]),f.useEffect((()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)}),[o,e.mode,e.reValidateMode]),f.useEffect((()=>{e.errors&&(o._setErrors(e.errors),o._focusError())}),[o,e.errors]),f.useEffect((()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})}),[o,e.shouldUnregister]),f.useEffect((()=>{if(o._proxyFormState.isDirty){const e=o._getDirty();e!==n.isDirty&&o._subjects.state.next({isDirty:e})}}),[o,n.isDirty]),f.useEffect((()=>{e.values&&!ye(e.values,r.current)?(o._reset(e.values,{keepFieldsRef:!0,...o._options.resetOptions}),r.current=e.values,a((e=>({...e})))):o._resetDefaultValues()}),[o,e.values]),f.useEffect((()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()})),t.current.formState=le(n,o),t.current}({resolver:td(h),mode:"onTouched",defaultValues:g}),{errors:w,isValid:x}=m;od((()=>{y(g)}),[g]);const k=b();return od((()=>{r(k)}),[k]),p.useEffect((()=>{null==a||a(x)}),[x,a]),0===l.length?P.jsx(Tf,{integrationName:o,error:n,notices:t}):P.jsx(Ti,{vertical:"large",horizontal:"medium",overflow:"auto",children:P.jsxs(wn,{direction:"vertical",size:8,fullWidth:!0,children:[n&&P.jsx(yn,{type:"error",message:n.message,hasMargin:!1,children:P.jsx(Rf,{error:n})}),P.jsx(ki,{children:l.map((e=>{const t="object"==typeof e.key?JSON.stringify(e.key):String(e.key),r=u(t).length>0||d(t).length>0;return P.jsxs("div",{style:Object.assign(Object.assign({},r&&{display:"flex",flexDirection:"column",gap:"8px"}),{width:"100%"}),children:[u(t).map((e=>P.jsx(yn,{type:e.type,message:e.description,hasMargin:!1},e.key))),P.jsx(If,{field:e,errors:w,setValue:v,editingSecrets:i,setEditingSecrets:s}),d(t).map((e=>P.jsx(yn,{type:e.type,message:e.description,hasMargin:!1},e.key)))]},t)}))})]})})},Qf=({fields:e,notices:t,error:r,onChange:n,onValidationChange:a,integrationName:o,editingSecrets:i,setEditingSecrets:s})=>P.jsx(Lf,{fields:e,notices:t,error:r,onChange:n,onValidationChange:a,integrationName:o,editingSecrets:i,setEditingSecrets:s}),Gf=[{label:"HRIS",value:"hris"},{label:"ATS",value:"ats"},{label:"CRM",value:"crm"},{label:"Marketing",value:"marketing"},{label:"IAM",value:"iam"},{label:"LMS",value:"lms"},{label:"Documents",value:"documents"},{label:"Ticketing",value:"ticketing"},{label:"Screening",value:"screening"},{label:"Messaging",value:"messaging"},{label:"Accounting",value:"accounting"},{label:"Scheduling",value:"scheduling"}],Kf=({src:e,alt:t,fallbackUrl:r="https://stackone-logos.com/api/stackone/filled/png",style:n,className:a})=>{const[o,i]=p.useState(e);return P.jsx("img",{src:o,alt:t,style:n,className:a,onError:()=>{i(r)}})},Yf=({integration:e})=>{var t,r;return P.jsxs(vi,{direction:yi.Horizontal,align:bi.Center,gapSize:gi.Small,justify:mi.SpaceBetween,width:"100%",children:[P.jsxs(vi,{direction:yi.Horizontal,align:bi.Center,gapSize:gi.Small,justify:mi.Left,width:"100%",children:[P.jsx(Kf,{src:e.logo_url,alt:e.provider,style:{width:"24px",height:"24px"}}),P.jsx($i,{textAlign:"left",children:null!==(t=e.name)&&void 0!==t?t:"N/A"})]}),P.jsx(Xi,{children:(null===(r=Gf.find((t=>t.value===e.type)))||void 0===r?void 0:r.label)||e.type})]})},Hf=({integrations:e,selectedCategory:t,onCategoryChange:r,onSearchChange:n})=>{const a=p.useCallback((e=>{r(t===e?null:e)}),[t,r]),o=p.useMemo((()=>Array.from(new Set(e.map((e=>e.type))))),[e]);return P.jsxs(P.Fragment,{children:[P.jsx(Qi,{name:"search",placeholder:"Search Integrations",variant:"ghost",size:"large",onChange:n}),o.length>1&&P.jsxs(P.Fragment,{children:[P.jsx(Ci,{}),P.jsx(Ti,{vertical:"small",horizontal:"none",fullHeight:!1,children:P.jsx("div",{style:{overflowX:"auto",overflowY:"hidden",backgroundColor:"var(--malachite-card-background)",scrollbarWidth:"none",msOverflowStyle:"none"},className:"hide-scrollbar",children:P.jsx("div",{style:{display:"flex",minWidth:"max-content"},children:o.map((e=>{var r;return P.jsx(Ti,{vertical:"none",horizontal:"small",fullHeight:!1,children:P.jsx(es,{label:(null===(r=Gf.find((t=>t.value===e)))||void 0===r?void 0:r.label)||e,selected:t===e,onClick:()=>a(e)})},e)}))})})})]})]})},Wf=({integrations:e,onSelect:t,selectedCategory:r,search:n})=>{const a=p.useMemo((()=>e.filter((e=>e.active&&e.name&&(!r||e.type===r)&&(!n||e.name.toLowerCase().includes(n.toLowerCase()))))),[e,r,n]);return P.jsx(P.Fragment,{children:a.length>0?P.jsx(Ti,{vertical:"small",horizontal:"small",fullHeight:!1,children:P.jsx(wn,{direction:"vertical",size:10,align:"start",children:P.jsx(jn,{buttons:a.map((e=>({key:`${e.provider}@${e.version}`,children:P.jsx(Yf,{integration:e}),onClick:()=>t(e)})))})})}):P.jsx(vi,{justify:mi.Center,align:bi.Center,fullHeight:!0,children:P.jsx(Xi,{children:"No integrations found"})})})},Uf=({integrations:e,onSelect:t,selectedCategory:r,search:n})=>e.length?P.jsx(Wf,{integrations:e,onSelect:t,selectedCategory:r,search:n}):P.jsx("div",{children:"No integrations found."}),qf=({title:e,description:t,onCancel:r})=>{const[n,a]=p.useState(!1),o=p.useRef(null);return p.useEffect((()=>{if(r)return o.current=setTimeout((()=>a(!0)),5e3),()=>{o.current&&clearTimeout(o.current)}}),[r]),P.jsxs(vi,{justify:mi.Center,align:bi.Center,direction:yi.Vertical,gapSize:gi.Small,fullHeight:!0,children:[P.jsx(Li,{size:"xxxsmall"}),P.jsx($i,{fontWeight:"bold",size:"large",children:e}),P.jsx(Xi,{children:t}),n&&r&&P.jsxs(Xi,{children:["Having trouble?"," ",P.jsx("button",{type:"button",onClick:r,style:{background:"none",border:"none",padding:0,cursor:"pointer",textDecoration:"underline",font:"inherit",color:"inherit"},children:"Cancel and start over"})]})]})},Zf=({title:e,description:t,onCancel:r})=>P.jsx(qf,{title:e,description:t,onCancel:r}),_f=({integrationName:e})=>{const t=function(){const e=getComputedStyle(document.documentElement);return{fontSizes:{xsmall:e.getPropertyValue("--malachite-font-size-xsmall").trim()||Ai.fontSizes.xsmall,small:e.getPropertyValue("--malachite-font-size-small").trim()||Ai.fontSizes.small,medium:e.getPropertyValue("--malachite-font-size-medium").trim()||Ai.fontSizes.medium,large:e.getPropertyValue("--malachite-font-size-large").trim()||Ai.fontSizes.large,xlarge:e.getPropertyValue("--malachite-font-size-xlarge").trim()||Ai.fontSizes.xlarge},radius:{sm:e.getPropertyValue("--malachite-radius-sm").trim()||Ai.radius.sm,md:e.getPropertyValue("--malachite-radius-md").trim()||Ai.radius.md,lg:e.getPropertyValue("--malachite-radius-lg").trim()||Ai.radius.lg,xl:e.getPropertyValue("--malachite-radius-xl").trim()||Ai.radius.xl},shadows:{sm:e.getPropertyValue("--malachite-shadow-sm").trim()||Ai.shadows.sm,md:e.getPropertyValue("--malachite-shadow-md").trim()||Ai.shadows.md,lg:e.getPropertyValue("--malachite-shadow-lg").trim()||Ai.shadows.lg,xl:e.getPropertyValue("--malachite-shadow-xl").trim()||Ai.shadows.xl,default:e.getPropertyValue("--malachite-shadow-default").trim()||Ai.shadows.default,success:e.getPropertyValue("--malachite-shadow-success").trim()||Ai.shadows.success,warning:e.getPropertyValue("--malachite-shadow-warning").trim()||Ai.shadows.warning,error:e.getPropertyValue("--malachite-shadow-error").trim()||Ai.shadows.error},colors:{shadowColor:e.getPropertyValue("--malachite-shadow-color").trim()||Ai.colors.shadowColor,shadowOpacity:parseFloat(e.getPropertyValue("--malachite-shadow-opacity").trim())||Ai.colors.shadowOpacity,card:{background:e.getPropertyValue("--malachite-card-background").trim()||Ai.colors.card.background,foreground:e.getPropertyValue("--malachite-card-foreground").trim()||Ai.colors.card.foreground,border:e.getPropertyValue("--malachite-card-border").trim()||Ai.colors.card.border,shadow:e.getPropertyValue("--malachite-card-shadow").trim()||Ai.colors.card.shadow,dimmedBackground:e.getPropertyValue("--malachite-card-dimmed-background").trim()||Ai.colors.card.dimmedBackground,headerBackground:e.getPropertyValue("--malachite-card-header-background").trim()||Ai.colors.card.headerBackground,footerBackground:e.getPropertyValue("--malachite-card-footer-background").trim()||Ai.colors.card.footerBackground},alert:{info:{background:e.getPropertyValue("--malachite-alert-info-background").trim()||Ai.colors.alert.info.background,foreground:e.getPropertyValue("--malachite-alert-info-foreground").trim()||Ai.colors.alert.info.foreground},success:{background:e.getPropertyValue("--malachite-alert-success-background").trim()||Ai.colors.alert.success.background,foreground:e.getPropertyValue("--malachite-alert-success-foreground").trim()||Ai.colors.alert.success.foreground},error:{background:e.getPropertyValue("--malachite-alert-error-background").trim()||Ai.colors.alert.error.background,foreground:e.getPropertyValue("--malachite-alert-error-foreground").trim()||Ai.colors.alert.error.foreground},warning:{background:e.getPropertyValue("--malachite-alert-warning-background").trim()||Ai.colors.alert.warning.background,foreground:e.getPropertyValue("--malachite-alert-warning-foreground").trim()||Ai.colors.alert.warning.foreground}},tooltip:{background:e.getPropertyValue("--malachite-tooltip-background").trim()||Ai.colors.tooltip.background,foreground:e.getPropertyValue("--malachite-tooltip-foreground").trim()||Ai.colors.tooltip.foreground,border:e.getPropertyValue("--malachite-tooltip-border").trim()||Ai.colors.tooltip.border,shadow:e.getPropertyValue("--malachite-tooltip-shadow").trim()||Ai.colors.tooltip.shadow},primary:{background:e.getPropertyValue("--malachite-primary-background").trim()||Ai.colors.primary.background,foreground:e.getPropertyValue("--malachite-primary-foreground").trim()||Ai.colors.primary.foreground,border:e.getPropertyValue("--malachite-primary-border").trim()||Ai.colors.primary.border,borderHover:e.getPropertyValue("--malachite-primary-border-hover").trim()||Ai.colors.primary.borderHover},outline:{foreground:e.getPropertyValue("--malachite-outline-foreground").trim()||Ai.colors.outline.foreground},secondary:{background:e.getPropertyValue("--malachite-secondary-background").trim()||Ai.colors.secondary.background,foreground:e.getPropertyValue("--malachite-secondary-foreground").trim()||Ai.colors.secondary.foreground,border:e.getPropertyValue("--malachite-secondary-border").trim()||Ai.colors.secondary.border,borderHover:e.getPropertyValue("--malachite-secondary-border-hover").trim()||Ai.colors.secondary.borderHover},destructive:{background:e.getPropertyValue("--malachite-destructive-background").trim()||Ai.colors.destructive.background,foreground:e.getPropertyValue("--malachite-destructive-foreground").trim()||Ai.colors.destructive.foreground,border:e.getPropertyValue("--malachite-destructive-border").trim()||Ai.colors.destructive.border,borderHover:e.getPropertyValue("--malachite-destructive-border-hover").trim()||Ai.colors.destructive.borderHover,shadow:e.getPropertyValue("--malachite-destructive-shadow").trim()||Ai.colors.destructive.shadow,shadowLight:e.getPropertyValue("--malachite-destructive-shadow-light").trim()||Ai.colors.destructive.shadowLight,shadowMedium:e.getPropertyValue("--malachite-destructive-shadow-medium").trim()||Ai.colors.destructive.shadowMedium},success:{background:e.getPropertyValue("--malachite-success-background").trim()||Ai.colors.success.background,foreground:e.getPropertyValue("--malachite-success-foreground").trim()||Ai.colors.success.foreground,border:e.getPropertyValue("--malachite-success-border").trim()||Ai.colors.success.border,borderHover:e.getPropertyValue("--malachite-success-border-hover").trim()||Ai.colors.success.borderHover,backgroundGlass:e.getPropertyValue("--malachite-success-background-glass").trim()||Ai.colors.success.backgroundGlass,shadowLight:e.getPropertyValue("--malachite-success-shadow-light").trim()||Ai.colors.success.shadowLight,shadowMedium:e.getPropertyValue("--malachite-success-shadow-medium").trim()||Ai.colors.success.shadowMedium},warning:{background:e.getPropertyValue("--malachite-warning-background").trim()||Ai.colors.warning.background,foreground:e.getPropertyValue("--malachite-warning-foreground").trim()||Ai.colors.warning.foreground,border:e.getPropertyValue("--malachite-warning-border").trim()||Ai.colors.warning.border,borderHover:e.getPropertyValue("--malachite-warning-border-hover").trim()||Ai.colors.warning.borderHover,backgroundGlass:e.getPropertyValue("--malachite-warning-background-glass").trim()||Ai.colors.warning.backgroundGlass,shadowLight:e.getPropertyValue("--malachite-warning-shadow-light").trim()||Ai.colors.warning.shadowLight,shadowMedium:e.getPropertyValue("--malachite-warning-shadow-medium").trim()||Ai.colors.warning.shadowMedium},error:{background:e.getPropertyValue("--malachite-error-background").trim()||Ai.colors.error.background,foreground:e.getPropertyValue("--malachite-error-foreground").trim()||Ai.colors.error.foreground,border:e.getPropertyValue("--malachite-error-border").trim()||Ai.colors.error.border,borderHover:e.getPropertyValue("--malachite-error-border-hover").trim()||Ai.colors.error.borderHover,backgroundGlass:e.getPropertyValue("--malachite-error-background-glass").trim()||Ai.colors.error.backgroundGlass,shadowLight:e.getPropertyValue("--malachite-error-shadow-light").trim()||Ai.colors.error.shadowLight,shadowMedium:e.getPropertyValue("--malachite-error-shadow-medium").trim()||Ai.colors.error.shadowMedium},buttonList:{background:e.getPropertyValue("--malachite-buttonlist-background").trim()||Ai.colors.buttonList.background,foreground:e.getPropertyValue("--malachite-buttonlist-foreground").trim()||Ai.colors.buttonList.foreground,hoverBackground:e.getPropertyValue("--malachite-buttonlist-hover-background").trim()||Ai.colors.buttonList.hoverBackground,hoverForeground:e.getPropertyValue("--malachite-buttonlist-hover-foreground").trim()||Ai.colors.buttonList.hoverForeground},pillButton:{background:e.getPropertyValue("--malachite-pillbutton-background").trim()||Ai.colors.pillButton.background,foreground:e.getPropertyValue("--malachite-pillbutton-foreground").trim()||Ai.colors.pillButton.foreground,hoverBackground:e.getPropertyValue("--malachite-pillbutton-hover-background").trim()||Ai.colors.pillButton.hoverBackground,hoverForeground:e.getPropertyValue("--malachite-pillbutton-hover-foreground").trim()||Ai.colors.pillButton.hoverForeground,pressedBackground:e.getPropertyValue("--malachite-pillbutton-pressed-background").trim()||Ai.colors.pillButton.pressedBackground,pressedForeground:e.getPropertyValue("--malachite-pillbutton-pressed-foreground").trim()||Ai.colors.pillButton.pressedForeground,pressedOpacity:e.getPropertyValue("--malachite-pillbutton-pressed-opacity").trim()||Ai.colors.pillButton.pressedOpacity,activeBackground:e.getPropertyValue("--malachite-pillbutton-active-background").trim()||Ai.colors.pillButton.activeBackground,activeForeground:e.getPropertyValue("--malachite-pillbutton-active-foreground").trim()||Ai.colors.pillButton.activeForeground},tag:{primary:{background:e.getPropertyValue("--malachite-tag-primary-background").trim()||Ai.colors.tag.primary.background,foreground:e.getPropertyValue("--malachite-tag-primary-foreground").trim()||Ai.colors.tag.primary.foreground,border:e.getPropertyValue("--malachite-tag-primary-border").trim()||Ai.colors.tag.primary.border,shadow:e.getPropertyValue("--malachite-tag-primary-shadow").trim()||Ai.colors.tag.primary.shadow},secondary:{background:e.getPropertyValue("--malachite-tag-secondary-background").trim()||Ai.colors.tag.secondary.background,foreground:e.getPropertyValue("--malachite-tag-secondary-foreground").trim()||Ai.colors.tag.secondary.foreground,border:e.getPropertyValue("--malachite-tag-secondary-border").trim()||Ai.colors.tag.secondary.border,shadow:e.getPropertyValue("--malachite-tag-secondary-shadow").trim()||Ai.colors.tag.secondary.shadow},default:{background:e.getPropertyValue("--malachite-tag-default-background").trim()||Ai.colors.tag.default.background,foreground:e.getPropertyValue("--malachite-tag-default-foreground").trim()||Ai.colors.tag.default.foreground,border:e.getPropertyValue("--malachite-tag-default-border").trim()||Ai.colors.tag.default.border,shadow:e.getPropertyValue("--malachite-tag-default-shadow").trim()||Ai.colors.tag.default.shadow},error:{background:e.getPropertyValue("--malachite-tag-error-background").trim()||Ai.colors.tag.error.background,foreground:e.getPropertyValue("--malachite-tag-error-foreground").trim()||Ai.colors.tag.error.foreground,border:e.getPropertyValue("--malachite-tag-error-border").trim()||Ai.colors.tag.error.border,shadow:e.getPropertyValue("--malachite-tag-error-shadow").trim()||Ai.colors.tag.error.shadow},warning:{background:e.getPropertyValue("--malachite-tag-warning-background").trim()||Ai.colors.tag.warning.background,foreground:e.getPropertyValue("--malachite-tag-warning-foreground").trim()||Ai.colors.tag.warning.foreground,border:e.getPropertyValue("--malachite-tag-warning-border").trim()||Ai.colors.tag.warning.border,shadow:e.getPropertyValue("--malachite-tag-warning-shadow").trim()||Ai.colors.tag.warning.shadow},success:{background:e.getPropertyValue("--malachite-tag-success-background").trim()||Ai.colors.tag.success.background,foreground:e.getPropertyValue("--malachite-tag-success-foreground").trim()||Ai.colors.tag.success.foreground,border:e.getPropertyValue("--malachite-tag-success-border").trim()||Ai.colors.tag.success.border,shadow:e.getPropertyValue("--malachite-tag-success-shadow").trim()||Ai.colors.tag.success.shadow}},text:{primary:e.getPropertyValue("--malachite-text-primary").trim()||Ai.colors.text.primary,secondary:e.getPropertyValue("--malachite-text-secondary").trim()||Ai.colors.text.secondary,dimmed:e.getPropertyValue("--malachite-text-dimmed").trim()||Ai.colors.text.dimmed,placeholder:e.getPropertyValue("--malachite-text-placeholder").trim()||Ai.colors.text.placeholder,destructive:e.getPropertyValue("--malachite-text-destructive").trim()||Ai.colors.text.destructive,success:e.getPropertyValue("--malachite-text-success").trim()||Ai.colors.text.success,warning:e.getPropertyValue("--malachite-text-warning").trim()||Ai.colors.text.warning,error:e.getPropertyValue("--malachite-text-error").trim()||Ai.colors.text.error,linkForeground:e.getPropertyValue("--malachite-text-link-foreground").trim()||Ai.colors.text.linkForeground,linkForegroundHover:e.getPropertyValue("--malachite-text-link-foreground-hover").trim()||Ai.colors.text.linkForegroundHover,rightSideText:{muted:e.getPropertyValue("--malachite-text-right-side-text-muted").trim()||Ai.colors.text.rightSideText.muted,primary:e.getPropertyValue("--malachite-text-right-side-text-primary").trim()||Ai.colors.text.rightSideText.primary,alignment:e.getPropertyValue("--malachite-text-right-side-text-alignment").trim()||Ai.colors.text.rightSideText.alignment}},codeBlock:{background:e.getPropertyValue("--malachite-codeblock-background").trim()||Ai.colors.codeBlock.background,foreground:e.getPropertyValue("--malachite-codeblock-foreground").trim()||Ai.colors.codeBlock.foreground,border:e.getPropertyValue("--malachite-codeblock-border").trim()||Ai.colors.codeBlock.border,lineNumber:e.getPropertyValue("--malachite-codeblock-line-number").trim()||Ai.colors.codeBlock.lineNumber,keyword:e.getPropertyValue("--malachite-codeblock-keyword").trim()||Ai.colors.codeBlock.keyword,comment:e.getPropertyValue("--malachite-codeblock-comment").trim()||Ai.colors.codeBlock.comment,string:e.getPropertyValue("--malachite-codeblock-string").trim()||Ai.colors.codeBlock.string,number:e.getPropertyValue("--malachite-codeblock-number").trim()||Ai.colors.codeBlock.number,type:e.getPropertyValue("--malachite-codeblock-type").trim()||Ai.colors.codeBlock.type},table:{background:e.getPropertyValue("--malachite-table-background").trim()||Ai.colors.table.background,boxShadow:e.getPropertyValue("--malachite-table-box-shadow").trim()||Ai.colors.table.boxShadow,header:{background:e.getPropertyValue("--malachite-table-header-background").trim()||Ai.colors.table.header.background,foreground:e.getPropertyValue("--malachite-table-header-foreground").trim()||Ai.colors.table.header.foreground,border:e.getPropertyValue("--malachite-table-header-border").trim()||Ai.colors.table.header.border},row:{background:e.getPropertyValue("--malachite-table-row-background").trim()||Ai.colors.table.row.background,foreground:e.getPropertyValue("--malachite-table-row-foreground").trim()||Ai.colors.table.row.foreground,hoverBackground:e.getPropertyValue("--malachite-table-row-hover-background").trim()||Ai.colors.table.row.hoverBackground,border:e.getPropertyValue("--malachite-table-row-border").trim()||Ai.colors.table.row.border},border:e.getPropertyValue("--malachite-table-border").trim()||Ai.colors.table.border,borderedRow:{background:e.getPropertyValue("--malachite-table-bordered-row-background").trim()||Ai.colors.table.borderedRow.background,outline:e.getPropertyValue("--malachite-table-bordered-row-outline").trim()||Ai.colors.table.borderedRow.outline},rowVariant:{success:{background:e.getPropertyValue("--malachite-table-row-variant-success-background").trim()||Ai.colors.table.rowVariant.success.background},warning:{background:e.getPropertyValue("--malachite-table-row-variant-warning-background").trim()||Ai.colors.table.rowVariant.warning.background},error:{background:e.getPropertyValue("--malachite-table-row-variant-error-background").trim()||Ai.colors.table.rowVariant.error.background},info:{background:e.getPropertyValue("--malachite-table-row-variant-info-background").trim()||Ai.colors.table.rowVariant.info.background}},error:{iconBackground:e.getPropertyValue("--malachite-table-error-icon-background").trim()||Ai.colors.table.error.iconBackground,iconForeground:e.getPropertyValue("--malachite-table-error-icon-foreground").trim()||Ai.colors.table.error.iconForeground,titleForeground:e.getPropertyValue("--malachite-table-error-title-foreground").trim()||Ai.colors.table.error.titleForeground,subtitleForeground:e.getPropertyValue("--malachite-table-error-subtitle-foreground").trim()||Ai.colors.table.error.subtitleForeground}}}}}();return P.jsxs(vi,{justify:mi.Center,align:bi.Center,direction:yi.Vertical,gapSize:gi.Small,fullHeight:!0,children:[P.jsx(Ct,{size:16,style:{color:t.colors.success.foreground}}),P.jsx($i,{fontWeight:"bold",size:"large",children:"Connection Successful"}),P.jsxs(Xi,{children:["Account successfully connected to ",e]})]})},Jf=({integrationName:e})=>P.jsx(_f,{integrationName:e}),Xf=({isLoading:e,hasError:t,connectionState:r,selectedIntegration:n,connectorData:a,hubData:o,fields:i,notices:s,selectedCategory:l,search:c,errorHubData:u,errorConnectorData:d,onSelect:h,onChange:p,onValidationChange:f,onCancelOAuth:g,editingSecrets:m,setEditingSecrets:b})=>{var y,v;return e?P.jsx(Zf,{title:"Loading integration data",description:"Please wait, this may take a moment."}):r.loading&&n?P.jsx(Zf,{title:`Connecting to ${null!==(y=null==a?void 0:a.name)&&void 0!==y?y:n.name}`,description:"Please wait, this may take a moment.",onCancel:g}):t?P.jsx(rl,{message:(null==u?void 0:u.message)||(null==d?void 0:d.message)||"Unknown error"}):r.success&&n?P.jsx(Jf,{integrationName:null!==(v=null==a?void 0:a.name)&&void 0!==v?v:n.name}):n?a?P.jsx(Qf,{fields:i,notices:s,error:r.error,onChange:p,onValidationChange:f,integrationName:a.name,editingSecrets:m,setEditingSecrets:b}):null:(null==o?void 0:o.integrations.length)?P.jsx(Uf,{integrations:o.integrations,onSelect:h,selectedCategory:l,search:c}):P.jsx(rl,{message:"No configured integrations available."})},$f=({connectorData:e,onBack:t,guide:r})=>{var n;return P.jsxs(vi,{direction:yi.Horizontal,align:bi.Center,gapSize:gi.Small,justify:mi.SpaceBetween,children:[P.jsxs(vi,{direction:yi.Horizontal,align:bi.Center,gapSize:gi.Small,justify:mi.Left,children:[t&&P.jsx(ct,{variant:"ghost",onClick:t,icon:"←",size:"small"}),P.jsx(Kf,{src:null===(n=e.assets)||void 0===n?void 0:n.icon,alt:e.key,style:{width:"16px",height:"16px"}}),P.jsx($i,{fontWeight:"semi-bold",size:"medium",children:e.name})]}),(null==r?void 0:r.supportLink)?P.jsx(_i,{href:r.supportLink,target:"_blank",children:P.jsx(ct,{variant:"outline",size:"small",children:"Connection guide"})}):null]})},eg=({connectorData:e,accountData:t,onBack:r,guide:n,isLoading:a,hasError:o,hubData:i,selectedCategory:s,onCategoryChange:l,onSearchChange:c,hideBackButton:u})=>{if(e)return P.jsx($f,{connectorData:e,onBack:t||u?void 0:r,guide:n});return!a&&!o&&(null==i?void 0:i.integrations)?P.jsx(Hf,{integrations:i.integrations,selectedCategory:s,onCategoryChange:l,onSearchChange:c}):null},tg=({fullWidth:e=!0,selectedIntegration:t,showActions:r,onBack:n,onNext:a,isFormValid:o=!0,isLoading:i=!1,showFooterLinks:s=!0})=>{const l=p.useMemo((()=>{if(!t||!r)return[];const e=[];return n&&e.push({label:"Back",type:"outline",onClick:n,disabled:i,loading:!1}),e.push({label:"Connect",type:"filled",onClick:a,disabled:!o||i,loading:i}),e}),[t,n,a,r,o,i]);return 0===l.length?s?P.jsx(xi,{fullWidth:e}):null:P.jsxs(wn,{direction:"horizontal",size:4,justifyContent:"space-between",children:[s&&P.jsx(xi,{fullWidth:e}),P.jsx(Ti,{vertical:"none",horizontal:"small",fullHeight:!1,children:P.jsx(vi,{direction:yi.Horizontal,justify:mi.Right,children:P.jsx(wn,{direction:"horizontal",size:10,children:l.map((e=>P.jsx(ct,{size:"small",variant:e.type,onClick:e.onClick,disabled:e.disabled,loading:e.loading,iconPosition:"end",children:e.label},e.label)))})})})]})},rg=({showFooterLinks:e=!0,onClose:t,onCloseLabel:r})=>{const n=e,a=Boolean(t);return n||a?P.jsxs(wn,{direction:"horizontal",size:4,justifyContent:n&&a?"space-between":a?"end":void 0,children:[n&&P.jsx(xi,{fullWidth:!0}),a&&P.jsx(Ti,{vertical:"none",horizontal:"small",fullHeight:!1,children:P.jsx(vi,{direction:yi.Horizontal,justify:mi.Right,children:P.jsx(wn,{direction:"horizontal",size:10,children:P.jsx(ct,{size:"small",variant:"filled",onClick:t,children:null!=r?r:"Close"})})})})]}):null};function ng(e,t,r,n){return new(r||(r=Promise))((function(a,o){function i(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;var ag={exports:{}};var og=t(Object.freeze({__proto__:null,default:function(e){return e&&e.__esModule?e:{default:e}}}));function ig(e){"@babel/helpers - typeof";return ig="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ig(e)}function sg(e){var t=function(e,t){if("object"!=ig(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=ig(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ig(t)?t:t+""}var lg=Object.freeze({__proto__:null,default:function(e,t,r){return(t=sg(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}}),cg=t(lg);var ug=Object.freeze({__proto__:null,default:function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}),dg=t(ug);function hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sg(n.key),n)}}var pg=Object.freeze({__proto__:null,default:function(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}}),fg=t(pg),gg={};function mg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var bg,yg,vg,wg,xg,kg=Object.freeze({__proto__:null,default:function(e){return function(e){if(Array.isArray(e))return mg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return mg(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mg(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}),Cg=t(kg);function Ag(){if(vg)return yg;vg=1;var e=og,t=e(dg),r=e(fg),n=function(){if(bg)return gg;bg=1;var e=og(Cg),t={functions:"Jexl Function",transforms:"Transform"};return gg.ArrayLiteral=function(e){return this.evalArray(e.value)},gg.BinaryExpression=function(e){var t=this,r=this._grammar.elements[e.operator];if(r.evalOnDemand){var n=function(e){return{eval:function(){return t.eval(e)}}};return r.evalOnDemand(n(e.left),n(e.right))}return this.Promise.all([this.eval(e.left),this.eval(e.right)]).then((function(e){return r.eval(e[0],e[1])}))},gg.ConditionalExpression=function(e){var t=this;return this.eval(e.test).then((function(r){return r?e.consequent?t.eval(e.consequent):r:t.eval(e.alternate)}))},gg.FilterExpression=function(e){var t=this;return this.eval(e.subject).then((function(r){return e.relative?t._filterRelative(r,e.expr):t._filterStatic(r,e.expr)}))},gg.Identifier=function(e){return e.from?this.eval(e.from).then((function(t){if(null!=t)return Array.isArray(t)&&(t=t[0]),t[e.value]})):e.relative?this._relContext[e.value]:this._context[e.value]},gg.Literal=function(e){return e.value},gg.ObjectLiteral=function(e){return this.evalMap(e.value)},gg.FunctionCall=function(r){var n=t[r.pool];if(!n)throw new Error("Corrupt AST: Pool '".concat(r.pool,"' not found"));var a=this._grammar[r.pool][r.name];if(!a)throw new Error("".concat(n," ").concat(r.name," is not defined."));return this.evalArray(r.args||[]).then((function(t){return a.apply(void 0,(0,e.default)(t))}))},gg.UnaryExpression=function(e){var t=this;return this.eval(e.right).then((function(r){return t._grammar.elements[e.operator].eval(r)}))},gg}(),a=function(){function e(r,n,a){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Promise;(0,t.default)(this,e),this._grammar=r,this._context=n||{},this._relContext=a||this._context,this.Promise=o}return(0,r.default)(e,[{key:"eval",value:function(e){var t=this;return this.Promise.resolve().then((function(){return n[e.type].call(t,e)}))}},{key:"evalArray",value:function(e){var t=this;return this.Promise.all(e.map((function(e){return t.eval(e)})))}},{key:"evalMap",value:function(e){var t=this,r=Object.keys(e),n={},a=r.map((function(r){return t.eval(e[r])}));return this.Promise.all(a).then((function(e){return e.forEach((function(e,t){n[r[t]]=e})),n}))}},{key:"_filterRelative",value:function(t,r){var n=this,a=[];return Array.isArray(t)||(t=void 0===t?[]:[t]),t.forEach((function(t){var o=new e(n._grammar,n._context,t,n.Promise);a.push(o.eval(r))})),this.Promise.all(a).then((function(e){var r=[];return e.forEach((function(e,n){e&&r.push(t[n])})),r}))}},{key:"_filterStatic",value:function(e,t){return this.eval(t).then((function(t){return"boolean"==typeof t?t?e:void 0:e[t]}))}}]),e}();return yg=a}var Eg,Sg={};function jg(){return Eg||(Eg=1,Sg.argVal=function(e){e&&this._cursor.args.push(e)},Sg.arrayStart=function(){this._placeAtCursor({type:"ArrayLiteral",value:[]})},Sg.arrayVal=function(e){e&&this._cursor.value.push(e)},Sg.binaryOp=function(e){for(var t=this._grammar.elements[e.value].precedence||0,r=this._cursor._parent;r&&r.operator&&this._grammar.elements[r.operator].precedence>=t;)this._cursor=r,r=r._parent;var n={type:"BinaryExpression",operator:e.value,left:this._cursor};this._setParent(this._cursor,n),this._cursor=r,this._placeAtCursor(n)},Sg.dot=function(){this._nextIdentEncapsulate=this._cursor&&"UnaryExpression"!==this._cursor.type&&("BinaryExpression"!==this._cursor.type||"BinaryExpression"===this._cursor.type&&this._cursor.right),this._nextIdentRelative=!this._cursor||this._cursor&&!this._nextIdentEncapsulate,this._nextIdentRelative&&(this._relative=!0)},Sg.filter=function(e){this._placeBeforeCursor({type:"FilterExpression",expr:e,relative:this._subParser.isRelative(),subject:this._cursor})},Sg.functionCall=function(){this._placeBeforeCursor({type:"FunctionCall",name:this._cursor.value,args:[],pool:"functions"})},Sg.identifier=function(e){var t={type:"Identifier",value:e.value};this._nextIdentEncapsulate?(t.from=this._cursor,this._placeBeforeCursor(t),this._nextIdentEncapsulate=!1):(this._nextIdentRelative&&(t.relative=!0,this._nextIdentRelative=!1),this._placeAtCursor(t))},Sg.literal=function(e){this._placeAtCursor({type:"Literal",value:e.value})},Sg.objKey=function(e){this._curObjKey=e.value},Sg.objStart=function(){this._placeAtCursor({type:"ObjectLiteral",value:{}})},Sg.objVal=function(e){this._cursor.value[this._curObjKey]=e},Sg.subExpression=function(e){this._placeAtCursor(e)},Sg.ternaryEnd=function(e){this._cursor.alternate=e},Sg.ternaryMid=function(e){this._cursor.consequent=e},Sg.ternaryStart=function(){this._tree={type:"ConditionalExpression",test:this._tree},this._cursor=this._tree},Sg.transform=function(e){this._placeBeforeCursor({type:"FunctionCall",name:e.value,args:[this._cursor],pool:"transforms"})},Sg.unaryOp=function(e){this._placeAtCursor({type:"UnaryExpression",operator:e.value})}),Sg}var Pg,Bg,Ng,zg,Og,Dg,Mg,Fg={};function Vg(){if(Pg)return Fg;Pg=1;var e=jg();return Fg.states={expectOperand:{tokenTypes:{literal:{toState:"expectBinOp"},identifier:{toState:"identifier"},unaryOp:{},openParen:{toState:"subExpression"},openCurl:{toState:"expectObjKey",handler:e.objStart},dot:{toState:"traverse"},openBracket:{toState:"arrayVal",handler:e.arrayStart}}},expectBinOp:{tokenTypes:{binaryOp:{toState:"expectOperand"},pipe:{toState:"expectTransform"},dot:{toState:"traverse"},question:{toState:"ternaryMid",handler:e.ternaryStart}},completable:!0},expectTransform:{tokenTypes:{identifier:{toState:"postTransform",handler:e.transform}}},expectObjKey:{tokenTypes:{identifier:{toState:"expectKeyValSep",handler:e.objKey},closeCurl:{toState:"expectBinOp"}}},expectKeyValSep:{tokenTypes:{colon:{toState:"objVal"}}},postTransform:{tokenTypes:{openParen:{toState:"argVal"},binaryOp:{toState:"expectOperand"},dot:{toState:"traverse"},openBracket:{toState:"filter"},pipe:{toState:"expectTransform"}},completable:!0},postArgs:{tokenTypes:{binaryOp:{toState:"expectOperand"},dot:{toState:"traverse"},openBracket:{toState:"filter"},pipe:{toState:"expectTransform"}},completable:!0},identifier:{tokenTypes:{binaryOp:{toState:"expectOperand"},dot:{toState:"traverse"},openBracket:{toState:"filter"},openParen:{toState:"argVal",handler:e.functionCall},pipe:{toState:"expectTransform"},question:{toState:"ternaryMid",handler:e.ternaryStart}},completable:!0},traverse:{tokenTypes:{identifier:{toState:"identifier"}}},filter:{subHandler:e.filter,endStates:{closeBracket:"identifier"}},subExpression:{subHandler:e.subExpression,endStates:{closeParen:"expectBinOp"}},argVal:{subHandler:e.argVal,endStates:{comma:"argVal",closeParen:"postArgs"}},objVal:{subHandler:e.objVal,endStates:{comma:"expectObjKey",closeCurl:"expectBinOp"}},arrayVal:{subHandler:e.arrayVal,endStates:{comma:"arrayVal",closeBracket:"expectBinOp"}},ternaryMid:{subHandler:e.ternaryMid,endStates:{colon:"ternaryEnd"}},ternaryEnd:{subHandler:e.ternaryEnd,completable:!0}},Fg}function Ig(){if(Mg)return Dg;Mg=1;var e=og,t=e(dg),r=e(fg),n=Ag(),a=function(){if(xg)return wg;xg=1;var e=og,t=e(dg),r=e(fg),n=/^-?(?:(?:[0-9]*\.[0-9]+)|[0-9]+)$/,a=/^[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][a-zA-Zа-яА-Я0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*$/,o=/\\\\/,i=/^\s*$/,s=["'(?:(?:\\\\')|[^'])*'",'"(?:(?:\\\\")|[^"])*"',"\\s+","\\btrue\\b","\\bfalse\\b"],l=["[a-zA-Zа-яА-Я_À-ÖØ-öø-ÿ\\$][a-zA-Z0-9а-яА-Я_À-ÖØ-öø-ÿ\\$]*","(?:(?:[0-9]*\\.[0-9]+)|[0-9]+)"],c=["binaryOp","unaryOp","openParen","openBracket","question","colon"],u=function(){function e(r){(0,t.default)(this,e),this._grammar=r}return(0,r.default)(e,[{key:"getElements",value:function(e){var t=this._getSplitRegex();return e.split(t).filter((function(e){return e}))}},{key:"getTokens",value:function(e){for(var t=[],r=!1,n=0;n<e.length;n++)this._isWhitespace(e[n])?t.length&&(t[t.length-1].raw+=e[n]):"-"===e[n]&&this._isNegative(t)?r=!0:(r&&(e[n]="-"+e[n],r=!1),t.push(this._createToken(e[n])));return r&&t.push(this._createToken("-")),t}},{key:"tokenize",value:function(e){var t=this.getElements(e);return this.getTokens(t)}},{key:"_createToken",value:function(e){var t={type:"literal",value:e,raw:e};if('"'===e[0]||"'"===e[0])t.value=this._unquote(e);else if(e.match(n))t.value=parseFloat(e);else if("true"===e||"false"===e)t.value="true"===e;else if(this._grammar.elements[e])t.type=this._grammar.elements[e].type;else{if(!e.match(a))throw new Error("Invalid expression token: ".concat(e));t.type="identifier"}return t}},{key:"_escapeRegExp",value:function(e){return(e=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).match(a)&&(e="\\b"+e+"\\b"),e}},{key:"_getSplitRegex",value:function(){var e=this;if(!this._splitRegex){var t=Object.keys(this._grammar.elements).sort((function(e,t){return t.length-e.length})).map((function(t){return e._escapeRegExp(t)}),this);this._splitRegex=new RegExp("("+[s.join("|"),t.join("|"),l.join("|")].join("|")+")")}return this._splitRegex}},{key:"_isNegative",value:function(e){return!e.length||c.some((function(t){return t===e[e.length-1].type}))}},{key:"_isWhitespace",value:function(e){return!!e.match(i)}},{key:"_unquote",value:function(e){var t=e[0],r=new RegExp("\\\\"+t,"g");return e.substr(1,e.length-2).replace(r,t).replace(o,"\\")}}]),e}();return wg=u}(),o=function(){if(Ng)return Bg;Ng=1;var e=og,t=e(dg),r=e(fg),n=jg(),a=Vg().states,o=function(){function e(r,n,a){(0,t.default)(this,e),this._grammar=r,this._state="expectOperand",this._tree=null,this._exprStr=n||"",this._relative=!1,this._stopMap=a||{}}return(0,r.default)(e,[{key:"addToken",value:function(e){if("complete"===this._state)throw new Error("Cannot add a new token to a completed Parser");var t=a[this._state],r=this._exprStr;if(this._exprStr+=e.raw,t.subHandler){this._subParser||this._startSubExpression(r);var o=this._subParser.addToken(e);if(o){if(this._endSubExpression(),this._parentStop)return o;this._state=o}}else{if(!t.tokenTypes[e.type]){if(this._stopMap[e.type])return this._stopMap[e.type];throw new Error("Token ".concat(e.raw," (").concat(e.type,") unexpected in expression: ").concat(this._exprStr))}var i=t.tokenTypes[e.type],s=n[e.type];i.handler&&(s=i.handler),s&&s.call(this,e),i.toState&&(this._state=i.toState)}return!1}},{key:"addTokens",value:function(e){e.forEach(this.addToken,this)}},{key:"complete",value:function(){if(this._cursor&&!a[this._state].completable)throw new Error("Unexpected end of expression: ".concat(this._exprStr));return this._subParser&&this._endSubExpression(),this._state="complete",this._cursor?this._tree:null}},{key:"isRelative",value:function(){return this._relative}},{key:"_endSubExpression",value:function(){a[this._state].subHandler.call(this,this._subParser.complete()),this._subParser=null}},{key:"_placeAtCursor",value:function(e){this._cursor?(this._cursor.right=e,this._setParent(e,this._cursor)):this._tree=e,this._cursor=e}},{key:"_placeBeforeCursor",value:function(e){this._cursor=this._cursor._parent,this._placeAtCursor(e)}},{key:"_setParent",value:function(e,t){Object.defineProperty(e,"_parent",{value:t,writable:!0})}},{key:"_startSubExpression",value:function(t){var r=a[this._state].endStates;r||(this._parentStop=!0,r=this._stopMap),this._subParser=new e(this._grammar,t,r)}}]),e}();return Bg=o}(),i=function(){if(Og)return zg;Og=1;var e=og,t=e(dg),r=e(fg),n=function(){function e(r){(0,t.default)(this,e),r(this._resolve.bind(this),this._reject.bind(this))}return(0,r.default)(e,[{key:"catch",value:function(e){if(this.error)try{this._resolve(e(this.error))}catch(e){this._reject(e)}return this}},{key:"then",value:function(e,t){if(!this.error)try{this._resolve(e(this.value))}catch(e){this._reject(e)}return t&&this.catch(t),this}},{key:"_reject",value:function(e){this.value=void 0,this.error=e}},{key:"_resolve",value:function(t){t instanceof e?t.error?this._reject(t.error):this._resolve(t.value):(this.value=t,this.error=void 0)}}]),e}();return n.all=function(e){return new n((function(t){t(e.map((function(e){for(;e instanceof n;){if(e.error)throw Error(e.error);e=e.value}return e})))}))},n.resolve=function(e){return new n((function(t){return t(e)}))},n.reject=function(e){return new n((function(t,r){return r(e)}))},zg=n}(),s=function(){function e(r,n){(0,t.default)(this,e),this._grammar=r,this._exprStr=n,this._ast=null}return(0,r.default)(e,[{key:"compile",value:function(){var e=new a(this._grammar),t=new o(this._grammar),r=e.tokenize(this._exprStr);return t.addTokens(r),this._ast=t.complete(),this}},{key:"eval",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._eval(e,Promise)}},{key:"evalSync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._eval(e,i);if(t.error)throw t.error;return t.value}},{key:"_eval",value:function(e,t){var r=this;return t.resolve().then((function(){var a=r._getAst();return new n(r._grammar,e,void 0,t).eval(a)}))}},{key:"_getAst",value:function(){return this._ast||this.compile(),this._ast}}]),e}();return Dg=s}var Rg,Tg,Lg={};var Qg=function(){if(Tg)return ag.exports;Tg=1;var e=og,t=e(cg),r=e(dg),n=e(fg),a=Ig(),o=(Rg||(Rg=1,Lg.getGrammar=function(){return{elements:{".":{type:"dot"},"[":{type:"openBracket"},"]":{type:"closeBracket"},"|":{type:"pipe"},"{":{type:"openCurl"},"}":{type:"closeCurl"},":":{type:"colon"},",":{type:"comma"},"(":{type:"openParen"},")":{type:"closeParen"},"?":{type:"question"},"+":{type:"binaryOp",precedence:30,eval:function(e,t){return e+t}},"-":{type:"binaryOp",precedence:30,eval:function(e,t){return e-t}},"*":{type:"binaryOp",precedence:40,eval:function(e,t){return e*t}},"/":{type:"binaryOp",precedence:40,eval:function(e,t){return e/t}},"//":{type:"binaryOp",precedence:40,eval:function(e,t){return Math.floor(e/t)}},"%":{type:"binaryOp",precedence:50,eval:function(e,t){return e%t}},"^":{type:"binaryOp",precedence:50,eval:function(e,t){return Math.pow(e,t)}},"==":{type:"binaryOp",precedence:20,eval:function(e,t){return e==t}},"!=":{type:"binaryOp",precedence:20,eval:function(e,t){return e!=t}},">":{type:"binaryOp",precedence:20,eval:function(e,t){return e>t}},">=":{type:"binaryOp",precedence:20,eval:function(e,t){return e>=t}},"<":{type:"binaryOp",precedence:20,eval:function(e,t){return e<t}},"<=":{type:"binaryOp",precedence:20,eval:function(e,t){return e<=t}},"&&":{type:"binaryOp",precedence:10,evalOnDemand:function(e,t){return e.eval().then((function(e){return e?t.eval():e}))}},"||":{type:"binaryOp",precedence:10,evalOnDemand:function(e,t){return e.eval().then((function(e){return e||t.eval()}))}},in:{type:"binaryOp",precedence:20,eval:function(e,t){return"string"==typeof t?-1!==t.indexOf(e):!!Array.isArray(t)&&t.some((function(t){return t===e}))}},"!":{type:"unaryOp",precedence:1/0,eval:function(e){return!e}}},functions:{},transforms:{}}}),Lg).getGrammar,i=function(){function e(){(0,r.default)(this,e),this.expr=this.expr.bind(this),this._grammar=o()}return(0,n.default)(e,[{key:"addBinaryOp",value:function(e,r,n,a){this._addGrammarElement(e,(0,t.default)({type:"binaryOp",precedence:r},a?"evalOnDemand":"eval",n))}},{key:"addFunction",value:function(e,t){this._grammar.functions[e]=t}},{key:"addFunctions",value:function(e){for(var t in e)this._grammar.functions[t]=e[t]}},{key:"addUnaryOp",value:function(e,t){this._addGrammarElement(e,{type:"unaryOp",weight:1/0,eval:t})}},{key:"addTransform",value:function(e,t){this._grammar.transforms[e]=t}},{key:"addTransforms",value:function(e){for(var t in e)this._grammar.transforms[t]=e[t]}},{key:"compile",value:function(e){return this.createExpression(e).compile()}},{key:"createExpression",value:function(e){return new a(this._grammar,e)}},{key:"getFunction",value:function(e){return this._grammar.functions[e]}},{key:"getTransform",value:function(e){return this._grammar.transforms[e]}},{key:"eval",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.createExpression(e).eval(t)}},{key:"evalSync",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.createExpression(e).evalSync(t)}},{key:"expr",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=e.reduce((function(e,t,n){return e+=t+(n<r.length?r[n]:"")}),"");return this.createExpression(a)}},{key:"removeOp",value:function(e){!this._grammar.elements[e]||"binaryOp"!==this._grammar.elements[e].type&&"unaryOp"!==this._grammar.elements[e].type||delete this._grammar.elements[e]}},{key:"_addGrammarElement",value:function(e,t){this._grammar.elements[e]=t}}]),e}();return ag.exports=new i,ag.exports.Jexl=i,ag.exports}();class Gg{static get version(){return"1.4.0"}static toString(){return"JavaScript Expression Parser (JSEP) v"+Gg.version}static addUnaryOp(e){return Gg.max_unop_len=Math.max(e.length,Gg.max_unop_len),Gg.unary_ops[e]=1,Gg}static addBinaryOp(e,t,r){return Gg.max_binop_len=Math.max(e.length,Gg.max_binop_len),Gg.binary_ops[e]=t,r?Gg.right_associative.add(e):Gg.right_associative.delete(e),Gg}static addIdentifierChar(e){return Gg.additional_identifier_chars.add(e),Gg}static addLiteral(e,t){return Gg.literals[e]=t,Gg}static removeUnaryOp(e){return delete Gg.unary_ops[e],e.length===Gg.max_unop_len&&(Gg.max_unop_len=Gg.getMaxKeyLen(Gg.unary_ops)),Gg}static removeAllUnaryOps(){return Gg.unary_ops={},Gg.max_unop_len=0,Gg}static removeIdentifierChar(e){return Gg.additional_identifier_chars.delete(e),Gg}static removeBinaryOp(e){return delete Gg.binary_ops[e],e.length===Gg.max_binop_len&&(Gg.max_binop_len=Gg.getMaxKeyLen(Gg.binary_ops)),Gg.right_associative.delete(e),Gg}static removeAllBinaryOps(){return Gg.binary_ops={},Gg.max_binop_len=0,Gg}static removeLiteral(e){return delete Gg.literals[e],Gg}static removeAllLiterals(){return Gg.literals={},Gg}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(e){this.expr=e,this.index=0}static parse(e){return new Gg(e).parse()}static getMaxKeyLen(e){return Math.max(0,...Object.keys(e).map((e=>e.length)))}static isDecimalDigit(e){return e>=48&&e<=57}static binaryPrecedence(e){return Gg.binary_ops[e]||0}static isIdentifierStart(e){return e>=65&&e<=90||e>=97&&e<=122||e>=128&&!Gg.binary_ops[String.fromCharCode(e)]||Gg.additional_identifier_chars.has(String.fromCharCode(e))}static isIdentifierPart(e){return Gg.isIdentifierStart(e)||Gg.isDecimalDigit(e)}throwError(e){const t=new Error(e+" at character "+this.index);throw t.index=this.index,t.description=e,t}runHook(e,t){if(Gg.hooks[e]){const r={context:this,node:t};return Gg.hooks.run(e,r),r.node}return t}searchHook(e){if(Gg.hooks[e]){const t={context:this};return Gg.hooks[e].find((function(e){return e.call(t.context,t),t.node})),t.node}}gobbleSpaces(){let e=this.code;for(;e===Gg.SPACE_CODE||e===Gg.TAB_CODE||e===Gg.LF_CODE||e===Gg.CR_CODE;)e=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");const e=this.gobbleExpressions(),t=1===e.length?e[0]:{type:Gg.COMPOUND,body:e};return this.runHook("after-all",t)}gobbleExpressions(e){let t,r,n=[];for(;this.index<this.expr.length;)if(t=this.code,t===Gg.SEMCOL_CODE||t===Gg.COMMA_CODE)this.index++;else if(r=this.gobbleExpression())n.push(r);else if(this.index<this.expr.length){if(t===e)break;this.throwError('Unexpected "'+this.char+'"')}return n}gobbleExpression(){const e=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",e)}gobbleBinaryOp(){this.gobbleSpaces();let e=this.expr.substr(this.index,Gg.max_binop_len),t=e.length;for(;t>0;){if(Gg.binary_ops.hasOwnProperty(e)&&(!Gg.isIdentifierStart(this.code)||this.index+e.length<this.expr.length&&!Gg.isIdentifierPart(this.expr.charCodeAt(this.index+e.length))))return this.index+=t,e;e=e.substr(0,--t)}return!1}gobbleBinaryExpression(){let e,t,r,n,a,o,i,s,l;if(o=this.gobbleToken(),!o)return o;if(t=this.gobbleBinaryOp(),!t)return o;for(a={value:t,prec:Gg.binaryPrecedence(t),right_a:Gg.right_associative.has(t)},i=this.gobbleToken(),i||this.throwError("Expected expression after "+t),n=[o,a,i];t=this.gobbleBinaryOp();){if(r=Gg.binaryPrecedence(t),0===r){this.index-=t.length;break}a={value:t,prec:r,right_a:Gg.right_associative.has(t)},l=t;const s=e=>a.right_a&&e.right_a?r>e.prec:r<=e.prec;for(;n.length>2&&s(n[n.length-2]);)i=n.pop(),t=n.pop().value,o=n.pop(),e={type:Gg.BINARY_EXP,operator:t,left:o,right:i},n.push(e);e=this.gobbleToken(),e||this.throwError("Expected expression after "+l),n.push(a,e)}for(s=n.length-1,e=n[s];s>1;)e={type:Gg.BINARY_EXP,operator:n[s-1].value,left:n[s-2],right:e},s-=2;return e}gobbleToken(){let e,t,r,n;if(this.gobbleSpaces(),n=this.searchHook("gobble-token"),n)return this.runHook("after-token",n);if(e=this.code,Gg.isDecimalDigit(e)||e===Gg.PERIOD_CODE)return this.gobbleNumericLiteral();if(e===Gg.SQUOTE_CODE||e===Gg.DQUOTE_CODE)n=this.gobbleStringLiteral();else if(e===Gg.OBRACK_CODE)n=this.gobbleArray();else{for(t=this.expr.substr(this.index,Gg.max_unop_len),r=t.length;r>0;){if(Gg.unary_ops.hasOwnProperty(t)&&(!Gg.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!Gg.isIdentifierPart(this.expr.charCodeAt(this.index+t.length)))){this.index+=r;const e=this.gobbleToken();return e||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:Gg.UNARY_EXP,operator:t,argument:e,prefix:!0})}t=t.substr(0,--r)}Gg.isIdentifierStart(e)?(n=this.gobbleIdentifier(),Gg.literals.hasOwnProperty(n.name)?n={type:Gg.LITERAL,value:Gg.literals[n.name],raw:n.name}:n.name===Gg.this_str&&(n={type:Gg.THIS_EXP})):e===Gg.OPAREN_CODE&&(n=this.gobbleGroup())}return n?(n=this.gobbleTokenProperty(n),this.runHook("after-token",n)):this.runHook("after-token",!1)}gobbleTokenProperty(e){this.gobbleSpaces();let t=this.code;for(;t===Gg.PERIOD_CODE||t===Gg.OBRACK_CODE||t===Gg.OPAREN_CODE||t===Gg.QUMARK_CODE;){let r;if(t===Gg.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==Gg.PERIOD_CODE)break;r=!0,this.index+=2,this.gobbleSpaces(),t=this.code}this.index++,t===Gg.OBRACK_CODE?((e={type:Gg.MEMBER_EXP,computed:!0,object:e,property:this.gobbleExpression()}).property||this.throwError('Unexpected "'+this.char+'"'),this.gobbleSpaces(),t=this.code,t!==Gg.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):t===Gg.OPAREN_CODE?e={type:Gg.CALL_EXP,arguments:this.gobbleArguments(Gg.CPAREN_CODE),callee:e}:(t===Gg.PERIOD_CODE||r)&&(r&&this.index--,this.gobbleSpaces(),e={type:Gg.MEMBER_EXP,computed:!1,object:e,property:this.gobbleIdentifier()}),r&&(e.optional=!0),this.gobbleSpaces(),t=this.code}return e}gobbleNumericLiteral(){let e,t,r="";for(;Gg.isDecimalDigit(this.code);)r+=this.expr.charAt(this.index++);if(this.code===Gg.PERIOD_CODE)for(r+=this.expr.charAt(this.index++);Gg.isDecimalDigit(this.code);)r+=this.expr.charAt(this.index++);if(e=this.char,"e"===e||"E"===e){for(r+=this.expr.charAt(this.index++),e=this.char,"+"!==e&&"-"!==e||(r+=this.expr.charAt(this.index++));Gg.isDecimalDigit(this.code);)r+=this.expr.charAt(this.index++);Gg.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+r+this.char+")")}return t=this.code,Gg.isIdentifierStart(t)?this.throwError("Variable names cannot start with a number ("+r+this.char+")"):(t===Gg.PERIOD_CODE||1===r.length&&r.charCodeAt(0)===Gg.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:Gg.LITERAL,value:parseFloat(r),raw:r}}gobbleStringLiteral(){let e="";const t=this.index,r=this.expr.charAt(this.index++);let n=!1;for(;this.index<this.expr.length;){let t=this.expr.charAt(this.index++);if(t===r){n=!0;break}if("\\"===t)switch(t=this.expr.charAt(this.index++),t){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:e+=t}else e+=t}return n||this.throwError('Unclosed quote after "'+e+'"'),{type:Gg.LITERAL,value:e,raw:this.expr.substring(t,this.index)}}gobbleIdentifier(){let e=this.code,t=this.index;for(Gg.isIdentifierStart(e)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length&&(e=this.code,Gg.isIdentifierPart(e));)this.index++;return{type:Gg.IDENTIFIER,name:this.expr.slice(t,this.index)}}gobbleArguments(e){const t=[];let r=!1,n=0;for(;this.index<this.expr.length;){this.gobbleSpaces();let a=this.code;if(a===e){r=!0,this.index++,e===Gg.CPAREN_CODE&&n&&n>=t.length&&this.throwError("Unexpected token "+String.fromCharCode(e));break}if(a===Gg.COMMA_CODE){if(this.index++,n++,n!==t.length)if(e===Gg.CPAREN_CODE)this.throwError("Unexpected token ,");else if(e===Gg.CBRACK_CODE)for(let e=t.length;e<n;e++)t.push(null)}else if(t.length!==n&&0!==n)this.throwError("Expected comma");else{const e=this.gobbleExpression();e&&e.type!==Gg.COMPOUND||this.throwError("Expected comma"),t.push(e)}}return r||this.throwError("Expected "+String.fromCharCode(e)),t}gobbleGroup(){this.index++;let e=this.gobbleExpressions(Gg.CPAREN_CODE);if(this.code===Gg.CPAREN_CODE)return this.index++,1===e.length?e[0]:!!e.length&&{type:Gg.SEQUENCE_EXP,expressions:e};this.throwError("Unclosed (")}gobbleArray(){return this.index++,{type:Gg.ARRAY_EXP,elements:this.gobbleArguments(Gg.CBRACK_CODE)}}}const Kg=new class{add(e,t,r){if("string"!=typeof arguments[0])for(let e in arguments[0])this.add(e,arguments[0][e],arguments[1]);else(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)}),this)}run(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}};Object.assign(Gg,{hooks:Kg,plugins:new class{constructor(e){this.jsep=e,this.registered={}}register(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach((e=>{if("object"!=typeof e||!e.name||!e.init)throw new Error("Invalid JSEP plugin format");this.registered[e.name]||(e.init(this.jsep),this.registered[e.name]=e)}))}}(Gg),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"??":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),Gg.max_unop_len=Gg.getMaxKeyLen(Gg.unary_ops),Gg.max_binop_len=Gg.getMaxKeyLen(Gg.binary_ops);const Yg=e=>new Gg(e).parse(),Hg=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(Gg).filter((e=>!Hg.includes(e)&&void 0===Yg[e])).forEach((e=>{Yg[e]=Gg[e]})),Yg.Jsep=Gg;var Wg={name:"ternary",init(e){e.hooks.add("after-expression",(function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;const r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;const a=this.gobbleExpression();if(a||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:a},r.operator&&e.binary_ops[r.operator]<=.9){let n=r;for(;n.right.operator&&e.binary_ops[n.right.operator]<=.9;)n=n.right;t.node.test=n.right,n.right=t.node,t.node=r}}else this.throwError("Expected :")}}))}};Yg.plugins.register(Wg);var Ug={name:"regex",init(e){e.hooks.add("gobble-token",(function(t){if(47===this.code){const r=++this.index;let n=!1;for(;this.index<this.expr.length;){if(47===this.code&&!n){const n=this.expr.slice(r,this.index);let a,o="";for(;++this.index<this.expr.length;){const e=this.code;if(!(e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57))break;o+=this.char}try{a=new RegExp(n,o)}catch(e){this.throwError(e.message)}return t.node={type:e.LITERAL,value:a,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=92===this.code?2:1}this.throwError("Unclosed Regex")}}))}};const qg={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|=","||=","&&=","??="]),updateOperators:[43,45],assignmentPrecedence:.9,init(e){const t=[e.IDENTIFIER,e.MEMBER_EXP];function r(e){qg.assignmentOperators.has(e.operator)?(e.type="AssignmentExpression",r(e.left),r(e.right)):e.operator||Object.values(e).forEach((e=>{e&&"object"==typeof e&&r(e)}))}qg.assignmentOperators.forEach((t=>e.addBinaryOp(t,qg.assignmentPrecedence,!0))),e.hooks.add("gobble-token",(function(e){const r=this.code;qg.updateOperators.some((e=>e===r&&e===this.expr.charCodeAt(this.index+1)))&&(this.index+=2,e.node={type:"UpdateExpression",operator:43===r?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},e.node.argument&&t.includes(e.node.argument.type)||this.throwError(`Unexpected ${e.node.operator}`))})),e.hooks.add("after-token",(function(e){if(e.node){const r=this.code;qg.updateOperators.some((e=>e===r&&e===this.expr.charCodeAt(this.index+1)))&&(t.includes(e.node.type)||this.throwError(`Unexpected ${e.node.operator}`),this.index+=2,e.node={type:"UpdateExpression",operator:43===r?"++":"--",argument:e.node,prefix:!1})}})),e.hooks.add("after-expression",(function(e){e.node&&r(e.node)}))}};Yg.plugins.register(Ug,qg),Yg.addUnaryOp("typeof"),Yg.addLiteral("null",null),Yg.addLiteral("undefined",void 0);const Zg=new Set(["constructor","__proto__","__defineGetter__","__defineSetter__"]),_g={evalAst(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":return _g.evalBinaryExpression(e,t);case"Compound":return _g.evalCompound(e,t);case"ConditionalExpression":return _g.evalConditionalExpression(e,t);case"Identifier":return _g.evalIdentifier(e,t);case"Literal":return _g.evalLiteral(e,t);case"MemberExpression":return _g.evalMemberExpression(e,t);case"UnaryExpression":return _g.evalUnaryExpression(e,t);case"ArrayExpression":return _g.evalArrayExpression(e,t);case"CallExpression":return _g.evalCallExpression(e,t);case"AssignmentExpression":return _g.evalAssignmentExpression(e,t);default:throw SyntaxError("Unexpected expression",e)}},evalBinaryExpression(e,t){const r={"||":(e,t)=>e||t(),"&&":(e,t)=>e&&t(),"|":(e,t)=>e|t(),"^":(e,t)=>e^t(),"&":(e,t)=>e&t(),"==":(e,t)=>e==t(),"!=":(e,t)=>e!=t(),"===":(e,t)=>e===t(),"!==":(e,t)=>e!==t(),"<":(e,t)=>e<t(),">":(e,t)=>e>t(),"<=":(e,t)=>e<=t(),">=":(e,t)=>e>=t(),"<<":(e,t)=>e<<t(),">>":(e,t)=>e>>t(),">>>":(e,t)=>e>>>t(),"+":(e,t)=>e+t(),"-":(e,t)=>e-t(),"*":(e,t)=>e*t(),"/":(e,t)=>e/t(),"%":(e,t)=>e%t()}[e.operator](_g.evalAst(e.left,t),(()=>_g.evalAst(e.right,t)));return r},evalCompound(e,t){let r;for(let n=0;n<e.body.length;n++){"Identifier"===e.body[n].type&&["var","let","const"].includes(e.body[n].name)&&e.body[n+1]&&"AssignmentExpression"===e.body[n+1].type&&(n+=1);const a=e.body[n];r=_g.evalAst(a,t)}return r},evalConditionalExpression:(e,t)=>_g.evalAst(e.test,t)?_g.evalAst(e.consequent,t):_g.evalAst(e.alternate,t),evalIdentifier(e,t){if(Object.hasOwn(t,e.name))return t[e.name];throw ReferenceError(`${e.name} is not defined`)},evalLiteral:e=>e.value,evalMemberExpression(e,t){const r=String(e.computed?_g.evalAst(e.property):e.property.name),n=_g.evalAst(e.object,t);if(null==n)throw TypeError(`Cannot read properties of ${n} (reading '${r}')`);if(!Object.hasOwn(n,r)&&Zg.has(r))throw TypeError(`Cannot read properties of ${n} (reading '${r}')`);const a=n[r];return"function"==typeof a?a.bind(n):a},evalUnaryExpression(e,t){const r={"-":e=>-_g.evalAst(e,t),"!":e=>!_g.evalAst(e,t),"~":e=>~_g.evalAst(e,t),"+":e=>+_g.evalAst(e,t),typeof:e=>typeof _g.evalAst(e,t)}[e.operator](e.argument);return r},evalArrayExpression:(e,t)=>e.elements.map((e=>_g.evalAst(e,t))),evalCallExpression(e,t){const r=e.arguments.map((e=>_g.evalAst(e,t)));return _g.evalAst(e.callee,t)(...r)},evalAssignmentExpression(e,t){if("Identifier"!==e.left.type)throw SyntaxError("Invalid left-hand side in assignment");const r=e.left.name,n=_g.evalAst(e.right,t);return t[r]=n,t[r]}};function Jg(e,t){return(e=e.slice()).push(t),e}function Xg(e,t){return(t=t.slice()).unshift(e),t}class $g extends Error{constructor(e){super('JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'),this.avoidNew=!0,this.value=e,this.name="NewError"}}function em(e,t,r,n,a){if(!(this instanceof em))try{return new em(e,t,r,n,a)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(a=n,n=r,r=t,t=e,e=null);const o=e&&"object"==typeof e;if(e=e||{},this.json=e.json||r,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!Object.hasOwn(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.eval=void 0===e.eval?"safe":e.eval,this.ignoreEvalErrors=void 0!==e.ignoreEvalErrors&&e.ignoreEvalErrors,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||n||null,this.otherTypeCallback=e.otherTypeCallback||a||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){const n={path:o?e.path:t};o?"json"in e&&(n.json=e.json):n.json=r;const a=this.evaluate(n);if(!a||"object"!=typeof a)throw new $g(a);return a}}em.prototype.evaluate=function(e,t,r,n){let a=this.parent,o=this.parentProperty,{flatten:i,wrap:s}=this;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,r=r||this.callback,this.currOtherTypeCallback=n||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"==typeof e&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Object.hasOwn(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');({json:t}=e),i=Object.hasOwn(e,"flatten")?e.flatten:i,this.currResultType=Object.hasOwn(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=Object.hasOwn(e,"sandbox")?e.sandbox:this.currSandbox,s=Object.hasOwn(e,"wrap")?e.wrap:s,this.currEval=Object.hasOwn(e,"eval")?e.eval:this.currEval,r=Object.hasOwn(e,"callback")?e.callback:r,this.currOtherTypeCallback=Object.hasOwn(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,a=Object.hasOwn(e,"parent")?e.parent:a,o=Object.hasOwn(e,"parentProperty")?e.parentProperty:o,e=e.path}if(a=a||null,o=o||null,Array.isArray(e)&&(e=em.toPathString(e)),!e&&""!==e||!t)return;const l=em.toPathArray(e);"$"===l[0]&&l.length>1&&l.shift(),this._hasParentSelector=null;const c=this._trace(l,t,["$"],a,o,r).filter((function(e){return e&&!e.isParentSelector}));return c.length?s||1!==c.length||c[0].hasArrExpr?c.reduce(((e,t)=>{const r=this._getPreferredOutput(t);return i&&Array.isArray(r)?e=e.concat(r):e.push(r),e}),[]):this._getPreferredOutput(c[0]):s?[]:void 0},em.prototype._getPreferredOutput=function(e){const t=this.currResultType;switch(t){case"all":{const t=Array.isArray(e.path)?e.path:em.toPathArray(e.path);return e.pointer=em.toPointer(t),e.path="string"==typeof e.path?e.path:em.toPathString(e.path),e}case"value":case"parent":case"parentProperty":return e[t];case"path":return em.toPathString(e[t]);case"pointer":return em.toPointer(e.path);default:throw new TypeError("Unknown result type")}},em.prototype._handleCallback=function(e,t,r){if(t){const n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:em.toPathString(e.path),t(n,r,e)}},em.prototype._trace=function(e,t,r,n,a,o,i,s){let l;if(!e.length)return l={path:r,value:t,parent:n,parentProperty:a,hasArrExpr:i},this._handleCallback(l,o,"value"),l;const c=e[0],u=e.slice(1),d=[];function h(e){Array.isArray(e)?e.forEach((e=>{d.push(e)})):d.push(e)}if(("string"!=typeof c||s)&&t&&Object.hasOwn(t,c))h(this._trace(u,t[c],Jg(r,c),t,c,o,i));else if("*"===c)this._walk(t,(e=>{h(this._trace(u,t[e],Jg(r,e),t,e,o,!0,!0))}));else if(".."===c)h(this._trace(u,t,r,n,a,o,i)),this._walk(t,(n=>{"object"==typeof t[n]&&h(this._trace(e.slice(),t[n],Jg(r,n),t,n,o,!0))}));else{if("^"===c)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:u,isParentSelector:!0};if("~"===c)return l={path:Jg(r,c),value:a,parent:n,parentProperty:null},this._handleCallback(l,o,"property"),l;if("$"===c)h(this._trace(u,t,r,null,null,o,i));else if(/^(-?\d*):(-?\d*):?(\d*)$/u.test(c))h(this._slice(c,u,t,r,n,a,o));else if(0===c.indexOf("?(")){if(!1===this.currEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");const e=c.replace(/^\?\((.*?)\)$/u,"$1"),i=/@.?([^?]*)[['](\??\(.*?\))(?!.\)\])[\]']/gu.exec(e);i?this._walk(t,(e=>{const s=[i[2]],l=i[1]?t[e][i[1]]:t[e];this._trace(s,l,r,n,a,o,!0).length>0&&h(this._trace(u,t[e],Jg(r,e),t,e,o,!0))})):this._walk(t,(i=>{this._eval(e,t[i],i,r,n,a)&&h(this._trace(u,t[i],Jg(r,i),t,i,o,!0))}))}else if("("===c[0]){if(!1===this.currEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");h(this._trace(Xg(this._eval(c,t,r.at(-1),r.slice(0,-1),n,a),u),t,r,n,a,o,i))}else if("@"===c[0]){let e=!1;const i=c.slice(1,-2);switch(i){case"scalar":t&&["object","function"].includes(typeof t)||(e=!0);break;case"boolean":case"string":case"undefined":case"function":typeof t===i&&(e=!0);break;case"integer":!Number.isFinite(t)||t%1||(e=!0);break;case"number":Number.isFinite(t)&&(e=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(e=!0);break;case"object":t&&typeof t===i&&(e=!0);break;case"array":Array.isArray(t)&&(e=!0);break;case"other":e=this.currOtherTypeCallback(t,r,n,a);break;case"null":null===t&&(e=!0);break;default:throw new TypeError("Unknown value type "+i)}if(e)return l={path:r,value:t,parent:n,parentProperty:a},this._handleCallback(l,o,"value"),l}else if("`"===c[0]&&t&&Object.hasOwn(t,c.slice(1))){const e=c.slice(1);h(this._trace(u,t[e],Jg(r,e),t,e,o,i,!0))}else if(c.includes(",")){const e=c.split(",");for(const i of e)h(this._trace(Xg(i,u),t,r,n,a,o,!0))}else!s&&t&&Object.hasOwn(t,c)&&h(this._trace(u,t[c],Jg(r,c),t,c,o,i,!0))}if(this._hasParentSelector)for(let e=0;e<d.length;e++){const r=d[e];if(r&&r.isParentSelector){const s=this._trace(r.expr,t,r.path,n,a,o,i);if(Array.isArray(s)){d[e]=s[0];const t=s.length;for(let r=1;r<t;r++)e++,d.splice(e,0,s[r])}else d[e]=s}}return d},em.prototype._walk=function(e,t){if(Array.isArray(e)){const r=e.length;for(let e=0;e<r;e++)t(e)}else e&&"object"==typeof e&&Object.keys(e).forEach((e=>{t(e)}))},em.prototype._slice=function(e,t,r,n,a,o,i){if(!Array.isArray(r))return;const s=r.length,l=e.split(":"),c=l[2]&&Number.parseInt(l[2])||1;let u=l[0]&&Number.parseInt(l[0])||0,d=l[1]&&Number.parseInt(l[1])||s;u=u<0?Math.max(0,u+s):Math.min(s,u),d=d<0?Math.max(0,d+s):Math.min(s,d);const h=[];for(let e=u;e<d;e+=c){this._trace(Xg(e,t),r,n,a,o,i,!0).forEach((e=>{h.push(e)}))}return h},em.prototype._eval=function(e,t,r,n,a,o){this.currSandbox._$_parentProperty=o,this.currSandbox._$_parent=a,this.currSandbox._$_property=r,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;const i=e.includes("@path");i&&(this.currSandbox._$_path=em.toPathString(n.concat([r])));const s=this.currEval+"Script:"+e;if(!em.cache[s]){let t=e.replaceAll("@parentProperty","_$_parentProperty").replaceAll("@parent","_$_parent").replaceAll("@property","_$_property").replaceAll("@root","_$_root").replaceAll(/@([.\s)[])/gu,"_$_v$1");if(i&&(t=t.replaceAll("@path","_$_path")),"safe"===this.currEval||!0===this.currEval||void 0===this.currEval)em.cache[s]=new this.safeVm.Script(t);else if("native"===this.currEval)em.cache[s]=new this.vm.Script(t);else if("function"==typeof this.currEval&&this.currEval.prototype&&Object.hasOwn(this.currEval.prototype,"runInNewContext")){const e=this.currEval;em.cache[s]=new e(t)}else{if("function"!=typeof this.currEval)throw new TypeError(`Unknown "eval" property "${this.currEval}"`);em.cache[s]={runInNewContext:e=>this.currEval(t,e)}}}try{return em.cache[s].runInNewContext(this.currSandbox)}catch(t){if(this.ignoreEvalErrors)return!1;throw new Error("jsonPath: "+t.message+": "+e)}},em.cache={},em.toPathString=function(e){const t=e,r=t.length;let n="$";for(let e=1;e<r;e++)/^(~|\^|@.*?\(\))$/u.test(t[e])||(n+=/^[0-9*]+$/u.test(t[e])?"["+t[e]+"]":"['"+t[e]+"']");return n},em.toPointer=function(e){const t=e,r=t.length;let n="";for(let e=1;e<r;e++)/^(~|\^|@.*?\(\))$/u.test(t[e])||(n+="/"+t[e].toString().replaceAll("~","~0").replaceAll("/","~1"));return n},em.toPathArray=function(e){const{cache:t}=em;if(t[e])return t[e].concat();const r=[],n=e.replaceAll(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/gu,";$&;").replaceAll(/[['](\??\(.*?\))[\]'](?!.\])/gu,(function(e,t){return"[#"+(r.push(t)-1)+"]"})).replaceAll(/\[['"]([^'\]]*)['"]\]/gu,(function(e,t){return"['"+t.replaceAll(".","%@%").replaceAll("~","%%@@%%")+"']"})).replaceAll("~",";~;").replaceAll(/['"]?\.['"]?(?![^[]*\])|\[['"]?/gu,";").replaceAll("%@%",".").replaceAll("%%@@%%","~").replaceAll(/(?:;)?(\^+)(?:;)?/gu,(function(e,t){return";"+t.split("").join(";")+";"})).replaceAll(/;;;|;;/gu,";..;").replaceAll(/;$|'?\]|'$/gu,""),a=n.split(";").map((function(e){const t=e.match(/#(\d+)/u);return t&&t[1]?r[t[1]]:e}));return t[e]=a,t[e].concat()},em.prototype.safeVm={Script:class{constructor(e){this.code=e,this.ast=Yg(this.code)}runInNewContext(e){const t=Object.assign(Object.create(null),e);return _g.evalAst(this.ast,t)}}};em.prototype.vm={Script:class{constructor(e){this.code=e}runInNewContext(e){let t=this.code;const r=Object.keys(e),n=[];!function(e,t,r){const n=e.length;for(let a=0;a<n;a++)r(e[a])&&t.push(e.splice(a--,1)[0])}(r,n,(t=>"function"==typeof e[t]));const a=r.map((t=>e[t])),o=n.reduce(((t,r)=>{let n=e[r].toString();return/function/u.test(n)||(n="function "+n),"var "+r+"="+n+";"+t}),"");t=o+t,/(['"])use strict\1/u.test(t)||r.includes("arguments")||(t="var arguments = undefined;"+t),t=t.replace(/;\s*$/u,"");const i=t.lastIndexOf(";"),s=-1!==i?t.slice(0,i+1)+" return "+t.slice(i+1):" return "+t;return new Function(...r,s)(...a)}}};const tm=(e=()=>new Qg.Jexl)=>{let t=e();return t.addFunction("nextAnniversary",((e,t)=>(({initialDate:e,format:t})=>{if(cp(e))return null;let r=dp(e)?e:fp({value:e,format:t});if(null===r)return null;let n=new Date(r.getTime()-60*r.getTimezoneOffset()*1e3),a=new Date,o=a.getUTCFullYear();return n.setUTCFullYear(o),n<new Date(Date.UTC(o,a.getUTCMonth(),a.getUTCDate()))&&n.setUTCFullYear(o+1),n})({initialDate:e,format:t}))),t.addFunction("yearsElapsed",((e,t,r)=>(({startDate:e,endDate:t,format:r})=>{if(cp(e))return null;let n=t??new Date,a=dp(e)?e:fp({value:e,format:r}),o=dp(n)?n:fp({value:n,format:r});if(null!==a&&null!==o){let e=eh({start:a,end:o});return lp(e.years)?e.years:0}return null})({startDate:e,endDate:r,format:t}))),t.addFunction("hasPassed",((e,t,r)=>mp({date:e,yearsToAdd:r,format:t}))),t.addFunction("now",(()=>(new Date).toISOString())),t.addFunction("includes",((e,t)=>!(cp(e)||!Array.isArray(e)||0===e.length||cp(t))&&(Array.isArray(t)?t.every((t=>e.includes(t))):e.includes(t)))),t.addFunction("includesSome",((e,t)=>!(cp(e)||!Array.isArray(e)||0===e.length||cp(t))&&(Array.isArray(t)?t.some((t=>e.includes(t))):e.includes(t)))),t.addFunction("present",(e=>lp(e))),t.addFunction("missing",(e=>cp(e))),t.addFunction("keys",(e=>cp(e)||"object"!=typeof e||Array.isArray(e)?[]:Object.keys(e))),t.addFunction("values",(e=>cp(e)||"object"!=typeof e||Array.isArray(e)?[]:Object.values(e))),t.addBinaryOp("??",0,((e,t)=>cp(e)?t:cp(t)?e:e??t)),t},rm=/\${([^}]+)}/g,nm=(e,t)=>{try{return e.compile(t)}catch{return null}},am=(e,t)=>{try{if(!e.startsWith("$"))throw Error(`JSONPath expression must start with '$': ${e}`);if(e.includes("$_")||e.match(/\$[^.[]/g)||e.includes("[")&&!e.includes("]")||e.includes(" ")&&!e.includes("["))throw Error(`Invalid JSONPath expression: ${e}`);let r=em({path:e,json:t});return 0===r.length?void 0:1===r.length?r[0]:r}catch{throw Error(`Invalid JSONPath expression: ${e}`)}},om=(e,t,r)=>e.replace(t,String(r)),im=(e,t,r)=>{let n=e.match(rm);if(!n)return;let a=n.length,o=Array(a);for(let e=0;e<a;e++)o[e]={toReplace:n[e],path:n[e].slice(2,-1)};return o.reduce(((e,n)=>((e,t,r,n)=>{let a=e.path.trim();if(!a)return n;try{let o=nm(t,a);if(o){let t=o.evalSync(r);if(void 0!==t)return om(n,e.toReplace,t)}let i=lm(`$.${a}`,r).value;return lp(i)?om(n,e.toReplace,i):n}catch{return n}})(n,r,t,e)),String(e))},sm=(e,t,r,n)=>{if(Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e)&&(e<0||e>=t.length))return{value:void 0,error:`Invalid array index '${r}' at '${n}'`,availableKeys:t.map(((e,t)=>t.toString()))}}return hp(t)?{value:void 0,error:`Key '${r}' not found at '${n}'`,availableKeys:Object.keys(t)}:{value:void 0,error:`${e} at '${n}'`,availableKeys:[]}},lm=(e,t)=>{let r=/(\.\.)|(\[\*\])|(\[\?\()|(\[\d+:\d+\])/;try{if(r.test(e)){let r=am(e,t);return void 0===r?{value:void 0,error:`Invalid or empty JSONPath: '${e}'`}:{value:r}}let n=(e.match(/\$|(?:\['([^']+)'\])|(?:\["([^"]+)"\])|\[\d+\]|[^[\].]+/g)||[]).map((e=>e.replace(/^\['([^']+)'\]$/,"$1").replace(/^\["([^"]+)"\]$/,"$1").replace(/^\[(\d+)\]$/,"$1")));return((e,t)=>{if("$"!==e[0])return{value:void 0,error:"JSON path must start with $"};let r=t,n="$";for(let t=1;t<e.length;t++){let a=e[t],o=a.startsWith("[")?`${n}${a}`:`${n}.${a}`;if(Array.isArray(r)){let e=parseInt(a,10);if(isNaN(e)||e<0||e>=r.length)return sm("Invalid array index",r,a,n);r=r[e],n=o}else{if(!hp(r))return{value:void 0,error:`Cannot access '${a}' at '${n}' - parent is not an object`,availableKeys:[]};if(!Object.prototype.hasOwnProperty.call(r,a))return sm("Key not found",r,a,n);r=r[a],n=o}}return{value:r}})(n,t)}catch(e){return{value:void 0,error:`Something went wrong with evaluation of JSON path: ${String(e)}`}}},cm=(e,t)=>{try{return am(e,t)}catch{throw Error(`Invalid JSON path: "${e}"`)}},um=(e,t,r)=>{let n=e?.trim();if(null==n||""===n)throw Error("Empty expression");let a=hp(t)?t:{},o=tm(),i=(e=>{if(e.startsWith("{{")&&e.endsWith("}}"))return e.slice(2,-2)})(n),s=(e=>e.replace(/\$\./g,"").trim())(i??n),l=im(s,a,o);if(l)return l;if(!i&&n.startsWith("$"))return cm(n,a);if(!l&&!i)return e;let c=nm(o,s);if(!c||"."===s)throw Error(`Invalid expression: "${n}"`);try{return c.evalSync(a)}catch{return}};function dm(e){return ng(this,arguments,void 0,(function*({url:e,body:t,headers:r,method:n,requestFn:a=fetch,logger:o=console}){try{const s=yield a(e,{method:n,headers:r,body:JSON.stringify(t)});if((e=>401===(null==e?void 0:e.status)||403===(null==e?void 0:e.status))(s))return o.warn("Token expired"),null;{if(!s.ok){const e=yield s.json();if(e&&void 0!==(i=e).statusCode){const{statusCode:t}=e,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["statusCode"]);throw new Error(JSON.stringify(Object.assign({status:t},r)))}}const e=yield s.text();return e?JSON.parse(e):null}}catch(i){throw o.error(`Error making request to ${e}`,i),i}var i}))}function hm(e){return ng(this,void 0,void 0,(function*(){return dm(Object.assign(Object.assign({},e),{method:"POST"}))}))}function pm(e){return ng(this,void 0,void 0,(function*(){return dm(Object.assign(Object.assign({},e),{method:"GET"}))}))}const fm=(e,t,r)=>ng(void 0,void 0,void 0,(function*(){const n={"Content-Type":"application/json","x-hub-session-token":e};let a=`${t}/hub/connectors`;return r&&(a+=`?provider=${encodeURIComponent(r)}`),yield pm({url:a,headers:n})})),gm=(e,t,r)=>ng(void 0,void 0,void 0,(function*(){return yield pm({url:`${e}/hub/connectors/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})),mm=e=>ng(void 0,[e],void 0,(function*({baseUrl:e,accountId:t,token:r,credentials:n,integrationId:a}){return yield function(e){return ng(this,void 0,void 0,(function*(){return dm(Object.assign(Object.assign({},e),{method:"PATCH"}))}))}({url:`${e}/hub/accounts/${t}`,headers:{"Content-Type":"application/json","x-hub-session-token":r},body:{integration_id:a,credentials:n}})})),bm=(e,t,r)=>ng(void 0,void 0,void 0,(function*(){return yield pm({url:`${e}/hub/connection_attempts/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})),ym=(e,t,r)=>ng(void 0,void 0,void 0,(function*(){return yield function(e){return ng(this,void 0,void 0,(function*(){return dm(Object.assign(Object.assign({},e),{method:"DELETE"}))}))}({url:`${e}/hub/connection_attempts/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})),vm={retry:(e,t)=>{if(t&&"object"==typeof t&&"message"in t)try{const e=JSON.parse(t.message);if(401===e.status||403===e.status)return!1}catch(e){}return e<2},retryDelay:e=>Math.min(1e3*Math.pow(2,e),3e4)};var wm;!function(e){e.AccountConnected="AccountConnected"}(wm||(wm={}));const xm=({token:e,baseUrl:t,accountId:r,onSuccess:n,dashboardUrl:a,debug:o})=>{const[i,s]=p.useState(null),[l,c]=p.useState({}),[u,d]=p.useState(new Set),h=p.useCallback((e=>{c(e)}),[]),f=p.useRef(null),g=p.useRef(null),m=p.useRef(null),b=p.useRef(null),y=p.useRef(!1),[v,w]=p.useState({loading:!1,success:!1}),x=p.useCallback((()=>{null!==m.current&&(clearTimeout(m.current),m.current=null),g.current=null}),[]),k=p.useCallback((e=>{w({loading:!1,success:!0}),null==n||n(e)}),[n]),C=p.useRef(o);C.current=o;const A=p.useCallback((()=>{null!==b.current&&(clearTimeout(b.current),b.current=null)}),[]),E=p.useCallback((()=>{x(),A(),f.current&&(f.current.close(),f.current=null)}),[x,A]);p.useEffect((()=>()=>{x(),A()}),[x,A]);const{data:S,isLoading:j,error:P}=tl(Object.assign({queryKey:["accountData",r],queryFn:()=>ng(void 0,void 0,void 0,(function*(){return r?((e,t,r)=>ng(void 0,void 0,void 0,(function*(){return yield pm({url:`${e}/hub/accounts/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})))(t,e,r):null})),enabled:!!r},vm)),{data:B,isLoading:N,error:z}=tl(Object.assign({queryKey:["hubData",null==S?void 0:S.provider],queryFn:()=>(null==S?void 0:S.provider)?fm(e,t,S.provider):fm(e,t),enabled:!r||!!S},vm));p.useEffect((()=>{if(S&&B){const e=B.integrations.find((e=>e.provider===S.provider));s(null!=e?e:null)}}),[S,B]),p.useEffect((()=>{if(B&&!i){const e=B.integrations.filter((e=>e.active));1===e.length&&s(e[0])}}),[B,i]);const{data:O,isLoading:D,error:M}=tl(Object.assign({queryKey:["connectorData",null==S?void 0:S.integrationId,null==i?void 0:i.integration_id],queryFn:()=>ng(void 0,void 0,void 0,(function*(){return S?gm(t,e,S.integrationId):i?gm(t,e,i.integration_id):null})),enabled:Boolean(i)||Boolean(S)},vm)),{fields:F,guide:V,notices:I}=p.useMemo((()=>{var e,t,r,n,a,o,s,c;if(!O||!i){return{fields:[],notices:[]}}if(function(e){return("configFields"in e||"configNotices"in e)&&!("authentication"in e)}(O.config)){const o=(null!==(e=O.config.configFields)&&void 0!==e?e:[]).map((e=>{var t,r;const n=null===(t=null==S?void 0:S.setupInformation)||void 0===t?void 0:t[e.key];if("external-trigger-token"===e.key)return Object.assign(Object.assign({},e),{key:e.key,value:null==B?void 0:B.external_trigger_token});if(S&&(!1!==e.secret||"password"===e.type)){const t=null===(r=S.secrets)||void 0===r?void 0:r[e.key];return t?Object.assign(Object.assign({},e),{key:e.key,value:t}):Object.assign(Object.assign({},e),{key:e.key,value:""})}const a=Object.assign(Object.assign(Object.assign({},l),null==S?void 0:S.setupInformation),{external_trigger_token:null==B?void 0:B.external_trigger_token,webhooks_url:null==B?void 0:B.webhooks_url,events_encoded_context:null==B?void 0:B.events_encoded_context,hub_settings:O.hub_settings});if(e.condition){const t=um(e.condition,a);if(!(null!=t&&"false"!==t))return}const o=void 0!==n?n:e.value;if(!o)return Object.assign(Object.assign({},e),{key:e.key});let i=um(null==o?void 0:o.toString(),a);return"object"==typeof i&&null!==i&&(i=JSON.stringify(i)),Object.assign(Object.assign({},e),{key:e.key,value:i})})).filter((e=>null!=e));return{fields:o,notices:null!==(t=O.config.configNotices)&&void 0!==t?t:[],guide:{supportLink:null===(r=O.config.support)||void 0===r?void 0:r.link,description:null!==(a=null===(n=O.config.support)||void 0===n?void 0:n.description)&&void 0!==a?a:""}}}let u=i.authentication_config_key,d=i.environment;S&&S.authConfigKey&&(null===(o=O.config.authentication)||void 0===o?void 0:o[S.authConfigKey])&&(u=S.authConfigKey,d=null!==(s=S.environment)&&void 0!==s?s:i.environment);const h=null===(c=O.config.authentication)||void 0===c?void 0:c[u],p=null==h?void 0:h[d],f=((null==p?void 0:p.fields)||[]).map((e=>{var t,r;const n=null===(t=null==S?void 0:S.setupInformation)||void 0===t?void 0:t[e.key];if("external-trigger-token"===e.key)return Object.assign(Object.assign({},e),{key:e.key,value:null==B?void 0:B.external_trigger_token});const a=Object.assign(Object.assign(Object.assign({},l),null==S?void 0:S.setupInformation),{external_trigger_token:null==B?void 0:B.external_trigger_token,hub_settings:O.hub_settings});if(e.condition){const t=um(e.condition,a),r=null!=t&&"false"!==t;return Object.assign(Object.assign({},e),{key:e.key,display:r})}if(S&&(!1!==e.secret||"password"===e.type)){const t=null===(r=S.secrets)||void 0===r?void 0:r[e.key];return t?Object.assign(Object.assign({},e),{key:e.key,value:t}):Object.assign(Object.assign({},e),{key:e.key,value:""})}const o=void 0!==n?n:e.value;if(!o)return Object.assign(Object.assign({},e),{key:e.key});let i=um(null==o?void 0:o.toString(),a);return"object"==typeof i&&null!==i&&(i=JSON.stringify(i)),Object.assign(Object.assign({},e),{key:e.key,value:i})})).filter((e=>null!=e));return{fields:f,notices:[],guide:null==p?void 0:p.guide}}),[O,i,S,l,B]),R=p.useMemo((()=>{var e,t,r,n;if(!O||!i)return null;if(function(e){return"authentication"in e&&!("configFields"in e)}(O.config)){let a=i.authentication_config_key,o=i.environment;return S&&S.authConfigKey&&(null===(e=O.config.authentication)||void 0===e?void 0:e[S.authConfigKey])&&(a=S.authConfigKey,o=null!==(t=S.environment)&&void 0!==t?t:i.environment),null===(n=null===(r=O.config.authentication)||void 0===r?void 0:r[a])||void 0===n?void 0:n[o]}return O.config}),[O,i,S]),[T,L]=p.useState(!0),Q=p.useCallback(((r,n)=>{const a=Date.now(),o=()=>ng(void 0,void 0,void 0,(function*(){var i,s,l,c;if(!m.current)return;if(Date.now()-a>3e5)return C.current&&console.debug("[hub] poll timed out",{attemptId:r}),E(),ym(t,e,r).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:r,error:e})})),void w({loading:!1,success:!1,timedOut:!0});const u=yield bm(t,e,r).catch((()=>null));if(m.current){if(!u)return C.current&&console.debug("[hub] poll failed (network error), retrying"),void(m.current=window.setTimeout(o,2e3));C.current&&"pending"!==u.status&&console.debug("[hub] poll result",Object.assign({attemptId:r},u)),"authenticated"===u.status&&u.account?(E(),k({id:u.account.id,provider:n}),parent.postMessage({type:wm.AccountConnected,account:{id:u.account.id,provider:n}},"*")):"error"===u.status?(E(),w({loading:!1,success:!1,error:{message:null!==(s=null===(i=u.error)||void 0===i?void 0:i.code)&&void 0!==s?s:"OAuth error",provider_response:null!==(c=null===(l=u.error)||void 0===l?void 0:l.description)&&void 0!==c?c:"No description"}})):"cancelled"===u.status||"expired"===u.status?(E(),w({loading:!1,success:!1})):m.current=window.setTimeout(o,2e3)}}));m.current=window.setTimeout(o,2e3)}),[t,e,E,k]),G=p.useCallback((r=>{let n=!0;const a=()=>ng(void 0,void 0,void 0,(function*(){if(n&&(n=!1,!f.current||f.current.closed))return C.current&&console.debug("[hub] popup reads as closed on first tick, assuming COOP isolation — popup-close detection disabled"),y.current=!0,void(b.current=null);if(f.current&&!f.current.closed)return void(b.current=window.setTimeout(a,1e3));if(b.current=null,!m.current)return;if(y.current)return;const o=g.current;if(!o)return E(),void w({loading:!1,success:!1});const i=yield bm(t,e,o).catch((e=>(C.current&&console.debug("[hub] final poll failed after popup closed",{attemptId:o,error:e}),null)));if(m.current){if("authenticated"===(null==i?void 0:i.status)&&i.account)return C.current&&console.debug("[hub] popup closed but auth completed",{attemptId:o}),E(),k({id:i.account.id,provider:r}),void parent.postMessage({type:wm.AccountConnected,account:{id:i.account.id,provider:r}},"*");C.current&&console.debug("[hub] popup closed by user, cancelling attempt",{attemptId:o}),E(),ym(t,e,o).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:o,error:e})})),w({loading:!1,success:!1})}}));b.current=window.setTimeout(a,1e3)}),[t,e,E,k]),K=p.useCallback((()=>ng(void 0,void 0,void 0,(function*(){var n;if(i)if(T){w({loading:!0,success:!1});try{const o=Object.assign({},l);S&&F.forEach((e=>{if(!1!==e.secret||"password"===e.type){const t=o[e.key];yp(t)&&!u.has(e.key)&&delete o[e.key]}})),Object.keys(o).forEach((e=>{""===o[e]&&delete o[e]}));const s="oauth2"===(null==R?void 0:R.type)&&(!("grantType"in R)||"authorization_code"===R.grantType);if(C.current&&console.debug("[hub] handleConnect",{integration:i.integration_id,path:s?"oauth-redirect":"credential-form",updating:!!r}),s){const r=yield((e,t)=>ng(void 0,void 0,void 0,(function*(){return yield hm({url:`${e}/hub/connection_attempts`,headers:{"Content-Type":"application/json","x-hub-session-token":t},body:{token:t}})})))(t,e).catch((()=>null)),s=null!==(n=null==r?void 0:r.id)&&void 0!==n?n:null;if(g.current=s,!s)return C.current&&console.debug("[hub] connection attempt creation failed"),void w({loading:!1,success:!1,error:{message:"Failed to start OAuth flow",provider_response:"Could not create a connection attempt. Please try again."}});C.current&&console.debug("[hub] connection attempt created",{attemptId:s});const l=encodeURIComponent(`${a}/embedded/accounts/callback`);let c=`${t}/connect/oauth2/${i.integration_id}?redirect_uri=${l}&token=${e}&connection_attempt_id=${s}`;Object.keys(o).forEach((e=>{c+=`&${e}=${encodeURIComponent(o[e])}`}));const u=1024,d=800,h=void 0!==window.screenX?window.screenX:window.screenLeft,p=void 0!==window.screenY?window.screenY:window.screenTop,m=void 0!==window.outerWidth?window.outerWidth:document.body.clientWidth,b=void 0!==window.outerHeight?window.outerHeight:document.body.clientHeight-22,v=parseInt((h+(m-u)/2).toString(),10),x=`width=${u},height=${d},left=${v},top=${parseInt((p+(b-d)/2.5).toString(),10)},noopener=0`;return f.current=window.open(c,"Connect Account",x),f.current?(y.current=!1,"function"==typeof f.current.focus&&f.current.focus(),Q(s,i.provider),void G(i.provider)):(C.current&&console.debug("[hub] popup was blocked by browser"),E(),ym(t,e,s).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:s,error:e})})),void w({loading:!1,success:!1,error:{message:"Popup blocked",provider_response:"Your browser blocked the login popup. Please allow popups for this site and try again."}}))}let c;if(r)yield mm({baseUrl:t,accountId:r,token:e,integrationId:i.integration_id,credentials:o}),c={id:r,provider:i.provider};else{const r=yield(e=>ng(void 0,[e],void 0,(function*({baseUrl:e,token:t,credentials:r,integrationId:n}){return yield hm({url:`${e}/hub/accounts`,headers:{"Content-Type":"application/json","x-hub-session-token":t},body:{integration_id:n,credentials:r}})})))({baseUrl:t,token:e,credentials:o,integrationId:i.integration_id});if(!r)throw new Error("Failed to create account");c={id:r.id,provider:i.provider}}k(c)}catch(e){let t="An unexpected error occurred",r="Please try again later";try{const n=JSON.parse(e.message);try{const e=JSON.parse(n.message);t=e.message||t,r=e.provider_response||r}catch(e){t=n.message||t,r=n.provider_response||r}}catch(r){t=e.message||t}w({loading:!1,success:!1,error:{message:t,provider_response:r}})}}else w({loading:!1,success:!1,error:{message:"Please fix the validation errors before continuing",provider_response:"Form validation failed"}})}))),[t,a,e,i,l,u,k,S,F,r,R,E,Q,G,T]),Y=p.useCallback((()=>{const r=g.current;C.current&&console.debug("[hub] OAuth cancelled by user",{attemptId:r}),E(),w({loading:!1,success:!1}),r&&ym(t,e,r).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:r,error:e})}))}),[t,e,E]),H=N||D||j,W=!!(z||M||P);p.useEffect((()=>{d(new Set)}),[i]),p.useEffect((()=>{W&&v.loading&&w((e=>Object.assign(Object.assign({},e),{loading:!1})))}),[W,v.loading]);const U=p.useRef(v.loading);p.useEffect((()=>{o&&U.current&&!v.loading&&console.debug("[hub] connectionState.loading → false",v),U.current=v.loading}),[o,v]);const q=p.useCallback((()=>{w({loading:!1,success:!1}),d(new Set)}),[]),Z=p.useCallback((()=>{w({loading:!1,success:!1}),d(new Set)}),[]);return{hubData:B,accountData:S,connectorData:O,selectedIntegration:i,fields:F,notices:I,guide:V,formData:l,connectionState:v,isLoading:H,hasError:W,isFormValid:T,errorHubData:z,errorConnectorData:M,errorAccountData:P,setSelectedIntegration:s,setFormData:h,setIsFormValid:L,handleConnect:K,handleCancelOAuth:Y,resetConnectionState:q,resetAllErrors:Z,editingSecrets:u,setEditingSecrets:d}},km=({token:e,baseUrl:t,height:r,accountId:n,onSuccess:a,onClose:o,dashboardUrl:i,showFooterLinks:s=!0,onCloseLabel:l,debug:c})=>{var u,d,h,f;const[g,m]=p.useState(null),[b,y]=p.useState(""),{hubData:v,accountData:w,connectorData:x,selectedIntegration:k,fields:C,notices:A,guide:E,connectionState:S,isLoading:j,hasError:B,isFormValid:N,errorHubData:z,errorConnectorData:O,setSelectedIntegration:D,setFormData:M,setIsFormValid:F,handleConnect:V,handleCancelOAuth:I,resetConnectionState:R,editingSecrets:T,setEditingSecrets:L}=xm({token:e,baseUrl:t,accountId:n,onSuccess:a,dashboardUrl:i,debug:c}),Q=p.useCallback((e=>{F(e)}),[F]),G=p.useMemo((()=>{if(!v)return!1;return 1===v.integrations.filter((e=>e.active)).length}),[v]),K=()=>{D(null),R(),m(null),y("")};return P.jsxs(Pn,{glassFooter:!0,footer:S.success?P.jsx(rg,{onClose:o,showFooterLinks:s,onCloseLabel:l}):P.jsx(tg,{selectedIntegration:k,showActions:!S.loading&&!S.success,onBack:w||G?void 0:K,onNext:V,isFormValid:N,isLoading:j,showFooterLinks:s}),title:j||S.loading||S.success?null:P.jsx(eg,{accountData:w,onBack:K,guide:E,isLoading:j,hasError:B,hubData:v,selectedCategory:g,onCategoryChange:m,onSearchChange:y,hideBackButton:S.loading||S.success||G,connectorData:null!==(u=null==x?void 0:x.config)&&void 0!==u?u:null}),height:r,padding:"0",headerConfig:k?void 0:{padding:"0"},children:[S.timedOut&&P.jsx(yn,{type:"warning",message:"Connection timed out. Please try again.",hasMargin:!0}),P.jsx(Xf,{isLoading:j,hasError:B,connectionState:S,selectedIntegration:k,connectorData:null!==(d=null==x?void 0:x.config)&&void 0!==d?d:null,hubData:null!=v?v:null,fields:C,notices:A,errorHubData:null!==(h=z)&&void 0!==h?h:null,errorConnectorData:null!==(f=O)&&void 0!==f?f:null,onSelect:D,onChange:M,onValidationChange:Q,onCancelOAuth:I,selectedCategory:g,search:b,editingSecrets:T,setEditingSecrets:L})]})},Cm=p.createContext({featureFlags:[]}),Am=({featureFlags:e,children:t})=>{const r=p.useMemo((()=>({featureFlags:e})),[e]);return P.jsx(Cm.Provider,{value:r,children:t})},Em=p.memo((({mode:e,token:t,apiUrl:r,dashboardUrl:n,height:a,onSuccess:o,onClose:i,accountId:s,showFooterLinks:l,onCloseLabel:c,debug:u})=>{var d;const{data:h}=tl({queryKey:["settings"],queryFn:()=>((e,t)=>ng(void 0,void 0,void 0,(function*(){return yield pm({url:`${e}/hub/settings`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})))(r,t)});return P.jsx(Am,{featureFlags:null!==(d=null==h?void 0:h.enabled_features)&&void 0!==d?d:[],children:"integration-picker"===e&&P.jsx(km,{token:t,baseUrl:r,dashboardUrl:n,height:a,onSuccess:o,onClose:i,onCloseLabel:c,accountId:null!=s?s:null==h?void 0:h.existing_account_id,showFooterLinks:l,debug:u})})})),Sm=()=>P.jsxs(vi,{justify:mi.Center,align:bi.Center,direction:yi.Vertical,gapSize:gi.Small,fullHeight:!0,children:[P.jsx(Nt,{style:{color:"red"}}),P.jsx($i,{fontWeight:"bold",size:"large",children:"Error"}),P.jsx(Xi,{children:"Something went wrong, our team has been notified."})]});class jm extends f.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){}render(){return this.state.hasError?this.props.fallback:this.props.children}}const Pm=({mode:e,token:t,baseUrl:r,appUrl:n,height:a="500px",theme:o="light",accountId:i,onSuccess:s,onClose:l,onCloseLabel:c,showFooterLinks:u,debug:d})=>{const h=null!=r?r:"https://api.stackone.com",f=null!=n?n:"https://app.stackone.com";p.useEffect((()=>{"dark"===o?function(){Mi("dark"),document.documentElement.setAttribute("data-theme","dark");const e=Di(),t=e?Fi(Ei,e):Ei;zi(t,document.documentElement),Pi.forEach((e=>{zi(t,e)}))}():"light"===o?(Mi("light"),document.documentElement.removeAttribute("data-theme"),localStorage.removeItem(ji),zi(Ai,document.documentElement),Pi.forEach((e=>{zi(Ai,e)}))):Vi(o)}),[o]);const[g]=p.useState((()=>new Ks({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1,retryDelay:500,refetchOnMount:!1,retryOnMount:!1}}}))),m=p.useRef(t);return p.useEffect((()=>{m.current!==t&&(m.current=t,g.clear())}),[t,g]),t?P.jsx(Ri,{children:P.jsx(jm,{fallback:P.jsx(Pn,{height:a,children:P.jsx(Sm,{})}),children:P.jsx(_s,{client:g,children:P.jsx(Em,{mode:null!=e?e:"integration-picker",token:t,apiUrl:h,dashboardUrl:f,height:a,onSuccess:s,accountId:i,onClose:l,onCloseLabel:c,showFooterLinks:u,debug:d})})})}):P.jsx(Ri,{children:P.jsx(jm,{fallback:P.jsx(Pn,{height:a,children:P.jsx(Sm,{})}),children:P.jsx(Pn,{height:a,footer:P.jsx(xi,{}),children:P.jsx(vi,{justify:mi.Center,align:bi.Center,fullHeight:!0,children:P.jsx(Ji,{children:"No token provided"})})})})})},Bm=["token","base-url","app-url","mode","height","theme","account-id","on-close-label","show-footer-links","debug"],Nm=e=>{if(null!==e)return""===e||"true"===e||"false"!==e&&void 0},zm=["integration-picker"];class Om extends HTMLElement{constructor(){super(...arguments),this.root=null}static get observedAttributes(){return Bm}get themeObject(){return this._themeObject}set themeObject(e){this._themeObject=e,this.root&&this.render()}connectedCallback(){this.root||(this.root=E.createRoot(this)),this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(){this.root&&this.render()}render(){var e,t,r,n,a,o,i,s;if(!this.root)return;const l=null!==(t=null!==(e=this._themeObject)&&void 0!==e?e:(e=>{if(null!==e){if("light"===e||"dark"===e)return e;try{const t=JSON.parse(e);if(t&&"object"==typeof t&&!Array.isArray(t))return t}catch(e){return}}})(this.getAttribute("theme")))&&void 0!==t?t:"light";var c;this.root.render(f.createElement(Pm,{token:null!==(r=this.getAttribute("token"))&&void 0!==r?r:void 0,baseUrl:null!==(n=this.getAttribute("base-url"))&&void 0!==n?n:void 0,appUrl:null!==(a=this.getAttribute("app-url"))&&void 0!==a?a:void 0,mode:(c=this.getAttribute("mode"),zm.includes(c)?c:void 0),height:null!==(o=this.getAttribute("height"))&&void 0!==o?o:void 0,theme:l,accountId:null!==(i=this.getAttribute("account-id"))&&void 0!==i?i:void 0,onCloseLabel:null!==(s=this.getAttribute("on-close-label"))&&void 0!==s?s:void 0,showFooterLinks:Nm(this.getAttribute("show-footer-links")),debug:Nm(this.getAttribute("debug")),onSuccess:e=>{var t;this.dispatchEvent(new CustomEvent("success",{detail:e,bubbles:!0,composed:!0})),null===(t=this.onSuccess)||void 0===t||t.call(this,e)},onClose:()=>{var e;this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0})),null===(e=this.onClose)||void 0===e||e.call(this)}}))}}"undefined"!=typeof window&&"undefined"!=typeof customElements&&(customElements.get("stackone-hub")||customElements.define("stackone-hub",Om))}();
|
|
10
|
+
*/function x(){if(c)return v;c=1;var e=s(),t=w();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,a={};function i(e,t){o(e,t),o(e+"Capture",t)}function o(e,t){for(a[e]=t,e=0;e<t.length;e++)n.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,d=/^[: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]*$/,p={},h={};function f(e,t,r,n,a,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new f(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new f(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new f(e,2,!1,e,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(e){m[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new f(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new f(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new f(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,r,n){var a=m.hasOwnProperty(t)?m[t]:null;(null!==a?0!==a.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,a,n)&&(r=null),n||null===a?function(e){return!!u.call(h,e)||!u.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):a.mustUseProperty?e[a.propertyName]=null===r?3!==a.type&&"":r:(t=a.attributeName,n=a.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(a=a.type)||4===a&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"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(e){var t=e.replace(g,y);m[t]=new f(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new f(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);m[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),C=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),z=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),T=Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var R,M=Object.assign;function $(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var F=!1;function V(e,t){if(!e||F)return"";F=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),i=n.stack.split("\n"),o=a.length-1,s=i.length-1;1<=o&&0<=s&&a[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(a[o]!==i[s]){if(1!==o||1!==s)do{if(o--,0>--s||a[o]!==i[s]){var l="\n"+a[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?$(e):""}function L(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 1:return e=V(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case A:return"Fragment";case C:return"Portal";case S:return"Profiler";case E:return"StrictMode";case O:return"Suspense";case _:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case z:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case I:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Y(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=G(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function W(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function H(e,t){var r=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function q(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=Q(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){J(e,t);var r=Q(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,r):t.hasOwnProperty("defaultValue")&&te(e,t.type,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function te(e,t,r){"number"===t&&W(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var re=Array.isArray;function ne(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a<r.length;a++)t["$"+r[a]]=!0;for(r=0;r<e.length;r++)a=t.hasOwnProperty("$"+e[r].value),e[r].selected!==a&&(e[r].selected=a),a&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Q(r),t=null,a=0;a<e.length;a++){if(e[a].value===r)return e[a].selected=!0,void(n&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(r(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(r(92));if(re(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Q(n)}}function oe(e,t){var r=Q(t.value),n=Q(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){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 ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,r,n,a){MSApp.execUnsafeLocalFunction((function(){return e(t,r)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function pe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var he={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},fe=["Webkit","ms","Moz","O"];function me(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),a=me(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}Object.keys(he).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ve=M({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 ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(r(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(r(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(r(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Ce=null,Ae=null;function Ee(e){if(e=ba(e)){if("function"!=typeof ke)throw Error(r(280));var t=e.stateNode;t&&(t=xa(t),ke(e.stateNode,e.type,t))}}function Se(e){Ce?Ae?Ae.push(e):Ae=[e]:Ce=e}function je(){if(Ce){var e=Ce,t=Ae;if(Ae=Ce=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function ze(e,t){return e(t)}function Ie(){}var Oe=!1;function _e(e,t,r){if(Oe)return e(t,r);Oe=!0;try{return ze(e,t,r)}finally{Oe=!1,(null!==Ce||null!==Ae)&&(Ie(),je())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var a=xa(n);if(null===a)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Pe=!1;if(l)try{var De={};Object.defineProperty(De,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(e){Pe=!1}function Te(e,t,r,n,a,i,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var Be=!1,Re=null,Me=!1,$e=null,Fe={onError:function(e){Be=!0,Re=e}};function Ve(e,t,r,n,a,i,o,s,l){Be=!1,Re=null,Te.apply(Fe,arguments)}function Le(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(Le(e)!==e)throw Error(r(188))}function Qe(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Le(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,a=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(a=i.return)){n=a;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Ze(i),e;if(o===a)return Ze(i),t;o=o.sibling}throw Error(r(188))}if(n.return!==a.return)n=i,a=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,a=o;break}if(l===a){s=!0,a=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,a=i;break}if(l===a){s=!0,a=o,n=i;break}l=l.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==a)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(e),null!==e?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Ke=t.unstable_scheduleCallback,Ye=t.unstable_cancelCallback,We=t.unstable_shouldYield,He=t.unstable_requestPaint,qe=t.unstable_now,Je=t.unstable_getCurrentPriorityLevel,Xe=t.unstable_ImmediatePriority,et=t.unstable_UserBlockingPriority,tt=t.unstable_NormalPriority,rt=t.unstable_LowPriority,nt=t.unstable_IdlePriority,at=null,it=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes,o=268435455&r;if(0!==o){var s=o&~a;0!==s?n=dt(s):0!==(i&=o)&&(n=dt(i))}else 0!==(o=r&~a)?n=dt(o):0!==i&&(n=dt(i));if(0===n)return 0;if(0!==t&&t!==n&&0===(t&a)&&((a=n&-n)>=(i=t&-t)||16===a&&4194240&i))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)a=1<<(r=31-ot(t)),n|=e[r],t&=~a;return n}function ht(e,t){switch(e){case 1:case 2:case 4:return t+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 t+5e3;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function vt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=r}function yt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-ot(r),a=1<<n;a&t|e[n]&t&&(e[n]|=t),r&=~a}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var xt,kt,Ct,At,Et,St=!1,jt=[],zt=null,It=null,Ot=null,_t=new Map,Nt=new Map,Pt=[],Dt="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 Tt(e,t){switch(e){case"focusin":case"focusout":zt=null;break;case"dragenter":case"dragleave":It=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Bt(e,t,r,n,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&kt(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Rt(e){var t=ya(e.target);if(null!==t){var r=Le(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ue(r)))return e.blockedOn=t,void Et(e.priority,(function(){Ct(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Wt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=ba(r))&&kt(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);we=n,r.target.dispatchEvent(n),we=null,t.shift()}return!0}function $t(e,t,r){Mt(e)&&r.delete(t)}function Ft(){St=!1,null!==zt&&Mt(zt)&&(zt=null),null!==It&&Mt(It)&&(It=null),null!==Ot&&Mt(Ot)&&(Ot=null),_t.forEach($t),Nt.forEach($t)}function Vt(e,r){e.blockedOn===r&&(e.blockedOn=null,St||(St=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ft)))}function Lt(e){function t(t){return Vt(t,e)}if(0<jt.length){Vt(jt[0],e);for(var r=1;r<jt.length;r++){var n=jt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==zt&&Vt(zt,e),null!==It&&Vt(It,e),null!==Ot&&Vt(Ot,e),_t.forEach(t),Nt.forEach(t),r=0;r<Pt.length;r++)(n=Pt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Pt.length&&null===(r=Pt[0]).blockedOn;)Rt(r),null===r.blockedOn&&Pt.shift()}var Ut=x.ReactCurrentBatchConfig,Zt=!0;function Qt(e,t,r,n){var a=bt,i=Ut.transition;Ut.transition=null;try{bt=1,Kt(e,t,r,n)}finally{bt=a,Ut.transition=i}}function Gt(e,t,r,n){var a=bt,i=Ut.transition;Ut.transition=null;try{bt=4,Kt(e,t,r,n)}finally{bt=a,Ut.transition=i}}function Kt(e,t,r,n){if(Zt){var a=Wt(e,t,r,n);if(null===a)Zn(e,t,n,Yt,r),Tt(e,n);else if(function(e,t,r,n,a){switch(t){case"focusin":return zt=Bt(zt,e,t,r,n,a),!0;case"dragenter":return It=Bt(It,e,t,r,n,a),!0;case"mouseover":return Ot=Bt(Ot,e,t,r,n,a),!0;case"pointerover":var i=a.pointerId;return _t.set(i,Bt(_t.get(i)||null,e,t,r,n,a)),!0;case"gotpointercapture":return i=a.pointerId,Nt.set(i,Bt(Nt.get(i)||null,e,t,r,n,a)),!0}return!1}(a,e,t,r,n))n.stopPropagation();else if(Tt(e,n),4&t&&-1<Dt.indexOf(e)){for(;null!==a;){var i=ba(a);if(null!==i&&xt(i),null===(i=Wt(e,t,r,n))&&Zn(e,t,n,Yt,r),i===a)break;a=i}null!==a&&n.stopPropagation()}else Zn(e,t,n,null,r)}}var Yt=null;function Wt(e,t,r,n){if(Yt=null,null!==(e=ya(e=xe(n))))if(null===(t=Le(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Ht(e){switch(e){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(Je()){case Xe:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var qt=null,Jt=null,Xt=null;function er(){if(Xt)return Xt;var e,t,r=Jt,n=r.length,a="value"in qt?qt.value:qt.textContent,i=a.length;for(e=0;e<n&&r[e]===a[e];e++);var o=n-e;for(t=1;t<=o&&r[n-t]===a[i-t];t++);return Xt=a.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function ar(e){function t(t,r,n,a,i){for(var o in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var ir,or,sr,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ur=ar(lr),cr=M({},lr,{view:0,detail:0}),dr=ar(cr),pr=M({},cr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ar,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(ir=e.screenX-sr.screenX,or=e.screenY-sr.screenY):or=ir=0,sr=e),ir)},movementY:function(e){return"movementY"in e?e.movementY:or}}),hr=ar(pr),fr=ar(M({},pr,{dataTransfer:0})),mr=ar(M({},cr,{relatedTarget:0})),gr=ar(M({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),vr=M({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yr=ar(vr),br=ar(M({},lr,{data:0})),wr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xr={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"},kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function Ar(){return Cr}var Er=M({},cr,{key:function(e){if(e.key){var t=wr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ar,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sr=ar(Er),jr=ar(M({},pr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),zr=ar(M({},cr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ar})),Ir=ar(M({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Or=M({},pr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),_r=ar(Or),Nr=[9,13,27,32],Pr=l&&"CompositionEvent"in window,Dr=null;l&&"documentMode"in document&&(Dr=document.documentMode);var Tr=l&&"TextEvent"in window&&!Dr,Br=l&&(!Pr||Dr&&8<Dr&&11>=Dr),Rr=String.fromCharCode(32),Mr=!1;function $r(e,t){switch(e){case"keyup":return-1!==Nr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vr=!1;var Lr={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(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Lr[e.type]:"textarea"===t}function Zr(e,t,r,n){Se(n),0<(t=Gn(t,"onChange")).length&&(r=new ur("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Qr=null,Gr=null;function Kr(e){Mn(e,0)}function Yr(e){if(Y(wa(e)))return e}function Wr(e,t){if("change"===e)return t}var Hr=!1;if(l){var qr;if(l){var Jr="oninput"in document;if(!Jr){var Xr=document.createElement("div");Xr.setAttribute("oninput","return;"),Jr="function"==typeof Xr.oninput}qr=Jr}else qr=!1;Hr=qr&&(!document.documentMode||9<document.documentMode)}function en(){Qr&&(Qr.detachEvent("onpropertychange",tn),Gr=Qr=null)}function tn(e){if("value"===e.propertyName&&Yr(Gr)){var t=[];Zr(t,Gr,e,xe(e)),_e(Kr,t)}}function rn(e,t,r){"focusin"===e?(en(),Gr=r,(Qr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yr(Gr)}function an(e,t){if("click"===e)return Yr(t)}function on(e,t){if("input"===e||"change"===e)return Yr(t)}var sn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ln(e,t){if(sn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var a=r[n];if(!u.call(t,a)||!sn(e[a],t[a]))return!1}return!0}function un(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cn(e,t){var r,n=un(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=un(n)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pn(){for(var e=window,t=W();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=W((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fn(e){var t=pn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dn(r.ownerDocument.documentElement,r)){if(null!==n&&hn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=r.textContent.length,i=Math.min(n.start,a);n=void 0===n.end?i:Math.min(n.end,a),!e.extend&&i>n&&(a=n,n=i,i=a),a=cn(r,i);var o=cn(r,n);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mn=l&&"documentMode"in document&&11>=document.documentMode,gn=null,vn=null,yn=null,bn=!1;function wn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;bn||null==gn||gn!==W(n)||("selectionStart"in(n=gn)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},yn&&ln(yn,n)||(yn=n,0<(n=Gn(vn,"onSelect")).length&&(t=new ur("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=gn)))}function xn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var kn={animationend:xn("Animation","AnimationEnd"),animationiteration:xn("Animation","AnimationIteration"),animationstart:xn("Animation","AnimationStart"),transitionend:xn("Transition","TransitionEnd")},Cn={},An={};function En(e){if(Cn[e])return Cn[e];if(!kn[e])return e;var t,r=kn[e];for(t in r)if(r.hasOwnProperty(t)&&t in An)return Cn[e]=r[t];return e}l&&(An=document.createElement("div").style,"AnimationEvent"in window||(delete kn.animationend.animation,delete kn.animationiteration.animation,delete kn.animationstart.animation),"TransitionEvent"in window||delete kn.transitionend.transition);var Sn=En("animationend"),jn=En("animationiteration"),zn=En("animationstart"),In=En("transitionend"),On=new Map,_n="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 Nn(e,t){On.set(e,t),i(t,[e])}for(var Pn=0;Pn<_n.length;Pn++){var Dn=_n[Pn];Nn(Dn.toLowerCase(),"on"+(Dn[0].toUpperCase()+Dn.slice(1)))}Nn(Sn,"onAnimationEnd"),Nn(jn,"onAnimationIteration"),Nn(zn,"onAnimationStart"),Nn("dblclick","onDoubleClick"),Nn("focusin","onFocus"),Nn("focusout","onBlur"),Nn(In,"onTransitionEnd"),o("onMouseEnter",["mouseout","mouseover"]),o("onMouseLeave",["mouseout","mouseover"]),o("onPointerEnter",["pointerout","pointerover"]),o("onPointerLeave",["pointerout","pointerover"]),i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),i("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),i("onBeforeInput",["compositionend","keypress","textInput","paste"]),i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Bn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Tn));function Rn(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,a,i,o,s,l,u){if(Ve.apply(this,arguments),Be){if(!Be)throw Error(r(198));var c=Re;Be=!1,Re=null,Me||(Me=!0,$e=c)}}(a,t,void 0,e),e.currentTarget=null}function Mn(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],a=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var o=n.length-1;0<=o;o--){var s=n[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&a.isPropagationStopped())break e;Rn(a,s,u),i=l}else for(o=0;o<n.length;o++){if(l=(s=n[o]).instance,u=s.currentTarget,s=s.listener,l!==i&&a.isPropagationStopped())break e;Rn(a,s,u),i=l}}}if(Me)throw e=$e,Me=!1,$e=null,e}function $n(e,t){var r=t[ma];void 0===r&&(r=t[ma]=new Set);var n=e+"__bubble";r.has(n)||(Un(t,e,2,!1),r.add(n))}function Fn(e,t,r){var n=0;t&&(n|=4),Un(r,e,n,t)}var Vn="_reactListening"+Math.random().toString(36).slice(2);function Ln(e){if(!e[Vn]){e[Vn]=!0,n.forEach((function(t){"selectionchange"!==t&&(Bn.has(t)||Fn(t,!1,e),Fn(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vn]||(t[Vn]=!0,Fn("selectionchange",!1,t))}}function Un(e,t,r,n){switch(Ht(t)){case 1:var a=Qt;break;case 4:a=Gt;break;default:a=Kt}r=a.bind(null,t,r,e),a=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),n?void 0!==a?e.addEventListener(t,r,{capture:!0,passive:a}):e.addEventListener(t,r,!0):void 0!==a?e.addEventListener(t,r,{passive:a}):e.addEventListener(t,r,!1)}function Zn(e,t,r,n,a){var i=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var o=n.tag;if(3===o||4===o){var s=n.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===o)for(o=n.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;o=o.return}for(;null!==s;){if(null===(o=ya(s)))return;if(5===(l=o.tag)||6===l){n=i=o;continue e}s=s.parentNode}}n=n.return}_e((function(){var n=i,a=xe(r),o=[];e:{var s=On.get(e);if(void 0!==s){var l=ur,u=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Sr;break;case"focusin":u="focus",l=mr;break;case"focusout":u="blur",l=mr;break;case"beforeblur":case"afterblur":l=mr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=fr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=zr;break;case Sn:case jn:case zn:l=gr;break;case In:l=Ir;break;case"scroll":l=dr;break;case"wheel":l=_r;break;case"copy":case"cut":case"paste":l=yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jr}var c=!!(4&t),d=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var h,f=n;null!==f;){var m=(h=f).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==p&&(null!=(m=Ne(f,p))&&c.push(Qn(f,m,h)))),d)break;f=f.return}0<c.length&&(s=new l(s,u,null,r,a),o.push({event:s,listeners:c}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===we||!(u=r.relatedTarget||r.fromElement)||!ya(u)&&!u[fa])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(u=(u=r.relatedTarget||r.toElement)?ya(u):null)&&(u!==(d=Le(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=n),l!==u)){if(c=hr,m="onMouseLeave",p="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=jr,m="onPointerLeave",p="onPointerEnter",f="pointer"),d=null==l?s:wa(l),h=null==u?s:wa(u),(s=new c(m,f+"leave",l,r,a)).target=d,s.relatedTarget=h,m=null,ya(a)===n&&((c=new c(p,f+"enter",u,r,a)).target=h,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(p=u,f=0,h=c=l;h;h=Kn(h))f++;for(h=0,m=p;m;m=Kn(m))h++;for(;0<f-h;)c=Kn(c),f--;for(;0<h-f;)p=Kn(p),h--;for(;f--;){if(c===p||null!==p&&c===p.alternate)break e;c=Kn(c),p=Kn(p)}c=null}else c=null;null!==l&&Yn(o,s,l,c,!1),null!==u&&null!==d&&Yn(o,d,u,c,!0)}if("select"===(l=(s=n?wa(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Wr;else if(Ur(s))if(Hr)g=on;else{g=nn;var v=rn}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=an);switch(g&&(g=g(e,n))?Zr(o,g,r,a):(v&&v(e,s,n),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&te(s,"number",s.value)),v=n?wa(n):window,e){case"focusin":(Ur(v)||"true"===v.contentEditable)&&(gn=v,vn=n,yn=null);break;case"focusout":yn=vn=gn=null;break;case"mousedown":bn=!0;break;case"contextmenu":case"mouseup":case"dragend":bn=!1,wn(o,r,a);break;case"selectionchange":if(mn)break;case"keydown":case"keyup":wn(o,r,a)}var y;if(Pr)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vr?$r(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(Br&&"ko"!==r.locale&&(Vr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vr&&(y=er()):(Jt="value"in(qt=a)?qt.value:qt.textContent,Vr=!0)),0<(v=Gn(n,b)).length&&(b=new br(b,e,null,r,a),o.push({event:b,listeners:v}),y?b.data=y:null!==(y=Fr(r))&&(b.data=y))),(y=Tr?function(e,t){switch(e){case"compositionend":return Fr(t);case"keypress":return 32!==t.which?null:(Mr=!0,Rr);case"textInput":return(e=t.data)===Rr&&Mr?null:e;default:return null}}(e,r):function(e,t){if(Vr)return"compositionend"===e||!Pr&&$r(e,t)?(e=er(),Xt=Jt=qt=null,Vr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Br&&"ko"!==t.locale?null:t.data}}(e,r))&&(0<(n=Gn(n,"onBeforeInput")).length&&(a=new br("onBeforeInput","beforeinput",null,r,a),o.push({event:a,listeners:n}),a.data=y))}Mn(o,t)}))}function Qn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Gn(e,t){for(var r=t+"Capture",n=[];null!==e;){var a=e,i=a.stateNode;5===a.tag&&null!==i&&(a=i,null!=(i=Ne(e,r))&&n.unshift(Qn(e,i,a)),null!=(i=Ne(e,t))&&n.push(Qn(e,i,a))),e=e.return}return n}function Kn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yn(e,t,r,n,a){for(var i=t._reactName,o=[];null!==r&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==u&&(s=u,a?null!=(l=Ne(r,i))&&o.unshift(Qn(r,l,s)):a||null!=(l=Ne(r,i))&&o.push(Qn(r,l,s))),r=r.return}0!==o.length&&e.push({event:t,listeners:o})}var Wn=/\r\n?/g,Hn=/\u0000|\uFFFD/g;function qn(e){return("string"==typeof e?e:""+e).replace(Wn,"\n").replace(Hn,"")}function Jn(e,t,n){if(t=qn(t),qn(e)!==t&&n)throw Error(r(425))}function Xn(){}var ea=null,ta=null;function ra(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var na="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,ia="function"==typeof Promise?Promise:void 0,oa="function"==typeof queueMicrotask?queueMicrotask:void 0!==ia?function(e){return ia.resolve(null).then(e).catch(sa)}:na;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&8===a.nodeType)if("/$"===(r=a.data)){if(0===n)return e.removeChild(a),void Lt(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=a}while(r);Lt(t)}function ua(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),pa="__reactFiber$"+da,ha="__reactProps$"+da,fa="__reactContainer$"+da,ma="__reactEvents$"+da,ga="__reactListeners$"+da,va="__reactHandles$"+da;function ya(e){var t=e[pa];if(t)return t;for(var r=e.parentNode;r;){if(t=r[fa]||r[pa]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=ca(e);null!==e;){if(r=e[pa])return r;e=ca(e)}return t}r=(e=r).parentNode}return null}function ba(e){return!(e=e[pa]||e[fa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(r(33))}function xa(e){return e[ha]||null}var ka=[],Ca=-1;function Aa(e){return{current:e}}function Ea(e){0>Ca||(e.current=ka[Ca],ka[Ca]=null,Ca--)}function Sa(e,t){Ca++,ka[Ca]=e.current,e.current=t}var ja={},za=Aa(ja),Ia=Aa(!1),Oa=ja;function _a(e,t){var r=e.type.contextTypes;if(!r)return ja;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in r)i[a]=t[a];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Na(e){return null!=(e=e.childContextTypes)}function Pa(){Ea(Ia),Ea(za)}function Da(e,t,n){if(za.current!==ja)throw Error(r(168));Sa(za,t),Sa(Ia,n)}function Ta(e,t,n){var a=e.stateNode;if(t=t.childContextTypes,"function"!=typeof a.getChildContext)return n;for(var i in a=a.getChildContext())if(!(i in t))throw Error(r(108,Z(e)||"Unknown",i));return M({},n,a)}function Ba(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ja,Oa=za.current,Sa(za,e),Sa(Ia,Ia.current),!0}function Ra(e,t,n){var a=e.stateNode;if(!a)throw Error(r(169));n?(e=Ta(e,t,Oa),a.__reactInternalMemoizedMergedChildContext=e,Ea(Ia),Ea(za),Sa(za,e)):Ea(Ia),Sa(Ia,n)}var Ma=null,$a=!1,Fa=!1;function Va(e){null===Ma?Ma=[e]:Ma.push(e)}function La(){if(!Fa&&null!==Ma){Fa=!0;var e=0,t=bt;try{var r=Ma;for(bt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Ma=null,$a=!1}catch(t){throw null!==Ma&&(Ma=Ma.slice(e+1)),Ke(Xe,La),t}finally{bt=t,Fa=!1}}return null}var Ua=[],Za=0,Qa=null,Ga=0,Ka=[],Ya=0,Wa=null,Ha=1,qa="";function Ja(e,t){Ua[Za++]=Ga,Ua[Za++]=Qa,Qa=e,Ga=t}function Xa(e,t,r){Ka[Ya++]=Ha,Ka[Ya++]=qa,Ka[Ya++]=Wa,Wa=e;var n=Ha;e=qa;var a=32-ot(n)-1;n&=~(1<<a),r+=1;var i=32-ot(t)+a;if(30<i){var o=a-a%5;i=(n&(1<<o)-1).toString(32),n>>=o,a-=o,Ha=1<<32-ot(t)+a|r<<a|n,qa=i+e}else Ha=1<<i|r<<a|n,qa=e}function ei(e){null!==e.return&&(Ja(e,1),Xa(e,1,0))}function ti(e){for(;e===Qa;)Qa=Ua[--Za],Ua[Za]=null,Ga=Ua[--Za],Ua[Za]=null;for(;e===Wa;)Wa=Ka[--Ya],Ka[Ya]=null,qa=Ka[--Ya],Ka[Ya]=null,Ha=Ka[--Ya],Ka[Ya]=null}var ri=null,ni=null,ai=!1,ii=null;function oi(e,t){var r=_u(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function si(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,ni=ua(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,ni=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Wa?{id:Ha,overflow:qa}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=_u(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ri=e,ni=null,!0);default:return!1}}function li(e){return!(!(1&e.mode)||128&e.flags)}function ui(e){if(ai){var t=ni;if(t){var n=t;if(!si(e,t)){if(li(e))throw Error(r(418));t=ua(n.nextSibling);var a=ri;t&&si(e,t)?oi(a,n):(e.flags=-4097&e.flags|2,ai=!1,ri=e)}}else{if(li(e))throw Error(r(418));e.flags=-4097&e.flags|2,ai=!1,ri=e}}}function ci(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function di(e){if(e!==ri)return!1;if(!ai)return ci(e),ai=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ra(e.type,e.memoizedProps)),t&&(t=ni)){if(li(e))throw pi(),Error(r(418));for(;t;)oi(e,t),t=ua(t.nextSibling)}if(ci(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ni=ua(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ni=null}}else ni=ri?ua(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=ni;e;)e=ua(e.nextSibling)}function hi(){ni=ri=null,ai=!1}function fi(e){null===ii?ii=[e]:ii.push(e)}var mi=x.ReactCurrentBatchConfig;function gi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(r(309));var a=n.stateNode}if(!a)throw Error(r(147,e));var i=a,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function vi(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yi(e){return(0,e._init)(e._payload)}function bi(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function n(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function a(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Pu(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Ru(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function u(e,t,r,n){var a=r.type;return a===A?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===P&&yi(a)===t.type)?((n=i(t,r.props)).ref=gi(e,t,r),n.return=e,n):((n=Du(r.type,r.key,r.props,null,e.mode,n)).ref=gi(e,t,r),n.return=e,n)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Mu(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function d(e,t,r,n,a){return null===t||7!==t.tag?((t=Tu(r,e.mode,n,a)).return=e,t):((t=i(t,r)).return=e,t)}function p(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Ru(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(r=Du(t.type,t.key,t.props,null,e.mode,r)).ref=gi(e,null,t),r.return=e,r;case C:return(t=Mu(t,e.mode,r)).return=e,t;case P:return p(e,(0,t._init)(t._payload),r)}if(re(t)||B(t))return(t=Tu(t,e.mode,r,null)).return=e,t;vi(e,t)}return null}function h(e,t,r,n){var a=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==a?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return r.key===a?u(e,t,r,n):null;case C:return r.key===a?c(e,t,r,n):null;case P:return h(e,t,(a=r._init)(r._payload),n)}if(re(r)||B(r))return null!==a?null:d(e,t,r,n,null);vi(e,r)}return null}function f(e,t,r,n,a){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return u(t,e=e.get(null===n.key?r:n.key)||null,n,a);case C:return c(t,e=e.get(null===n.key?r:n.key)||null,n,a);case P:return f(e,t,r,(0,n._init)(n._payload),a)}if(re(n)||B(n))return d(t,e=e.get(r)||null,n,a,null);vi(t,n)}return null}function m(r,i,s,l){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(r,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(r,d),i=o(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(r,d),ai&&Ja(r,m),u;if(null===d){for(;m<s.length;m++)null!==(d=p(r,s[m],l))&&(i=o(d,i,m),null===c?u=d:c.sibling=d,c=d);return ai&&Ja(r,m),u}for(d=a(r,d);m<s.length;m++)null!==(g=f(d,r,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=o(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(r,e)})),ai&&Ja(r,m),u}function g(i,s,l,u){var c=B(l);if("function"!=typeof c)throw Error(r(150));if(null==(l=c.call(l)))throw Error(r(151));for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(i,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(i,m),ai&&Ja(i,g),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(i,y.value,u))&&(s=o(y,s,g),null===d?c=y:d.sibling=y,d=y);return ai&&Ja(i,g),c}for(m=a(i,m);!y.done;g++,y=l.next())null!==(y=f(m,i,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=o(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),ai&&Ja(i,g),c}return function e(r,a,o,l){if("object"==typeof o&&null!==o&&o.type===A&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case k:e:{for(var u=o.key,c=a;null!==c;){if(c.key===u){if((u=o.type)===A){if(7===c.tag){n(r,c.sibling),(a=i(c,o.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===P&&yi(u)===c.type){n(r,c.sibling),(a=i(c,o.props)).ref=gi(r,c,o),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===A?((a=Tu(o.props.children,r.mode,l,o.key)).return=r,r=a):((l=Du(o.type,o.key,o.props,null,r.mode,l)).ref=gi(r,a,o),l.return=r,r=l)}return s(r);case C:e:{for(c=o.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(r,a.sibling),(a=i(a,o.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Mu(o,r.mode,l)).return=r,r=a}return s(r);case P:return e(r,a,(c=o._init)(o._payload),l)}if(re(o))return m(r,a,o,l);if(B(o))return g(r,a,o,l);vi(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,o)).return=r,r=a):(n(r,a),(a=Ru(o,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var wi=bi(!0),xi=bi(!1),ki=Aa(null),Ci=null,Ai=null,Ei=null;function Si(){Ei=Ai=Ci=null}function ji(e){var t=ki.current;Ea(ki),e._currentValue=t}function zi(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Ii(e,t){Ci=e,Ei=Ai=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Oi(e){var t=e._currentValue;if(Ei!==e)if(e={context:e,memoizedValue:t,next:null},null===Ai){if(null===Ci)throw Error(r(308));Ai=e,Ci.dependencies={lanes:0,firstContext:e}}else Ai=Ai.next=e;return t}var _i=null;function Ni(e){null===_i?_i=[e]:_i.push(e)}function Pi(e,t,r,n){var a=t.interleaved;return null===a?(r.next=r,Ni(t)):(r.next=a.next,a.next=r),t.interleaved=r,Di(e,n)}function Di(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Ti=!1;function Bi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ri(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $i(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&zl){var a=n.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),n.pending=t,Di(e,r)}return null===(a=n.interleaved)?(t.next=t,Ni(n)):(t.next=a.next,a.next=t),n.interleaved=t,Di(e,r)}function Fi(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}function Vi(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var a=null,i=null;if(null!==(r=r.firstBaseUpdate)){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===i?a=i=o:i=i.next=o,r=r.next}while(null!==r);null===i?a=i=t:i=i.next=t}else a=i=t;return r={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Li(e,t,r,n){var a=e.updateQueue;Ti=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?i=u:o.next=u,o=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var d=a.baseState;for(o=0,c=u=l=null,s=i;;){var p=s.lane,h=s.eventTime;if((n&p)===p){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,m=s;switch(p=t,h=r,m.tag){case 1:if("function"==typeof(f=m.payload)){d=f.call(h,d,p);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(p="function"==typeof(f=m.payload)?f.call(h,d,p):f))break e;d=M({},d,p);break e;case 2:Ti=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=a.effects)?a.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,o|=p;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}if(null===c&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{o|=a.lane,a=a.next}while(a!==t)}else null===i&&(a.shared.lanes=0);Bl|=o,e.lanes=o,e.memoizedState=d}}function Ui(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var a=e[t],i=a.callback;if(null!==i){if(a.callback=null,a=n,"function"!=typeof i)throw Error(r(191,i));i.call(a)}}}var Zi={},Qi=Aa(Zi),Gi=Aa(Zi),Ki=Aa(Zi);function Yi(e){if(e===Zi)throw Error(r(174));return e}function Wi(e,t){switch(Sa(Ki,t),Sa(Gi,e),Sa(Qi,Zi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(Qi),Sa(Qi,t)}function Hi(){Ea(Qi),Ea(Gi),Ea(Ki)}function qi(e){Yi(Ki.current);var t=Yi(Qi.current),r=ue(t,e.type);t!==r&&(Sa(Gi,e),Sa(Qi,r))}function Ji(e){Gi.current===e&&(Ea(Qi),Ea(Gi))}var Xi=Aa(0);function eo(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var to=[];function ro(){for(var e=0;e<to.length;e++)to[e]._workInProgressVersionPrimary=null;to.length=0}var no=x.ReactCurrentDispatcher,ao=x.ReactCurrentBatchConfig,io=0,oo=null,so=null,lo=null,uo=!1,co=!1,po=0,ho=0;function fo(){throw Error(r(321))}function mo(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!sn(e[r],t[r]))return!1;return!0}function go(e,t,n,a,i,o){if(io=o,oo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,no.current=null===e||null===e.memoizedState?Xo:es,e=n(a,i),co){o=0;do{if(co=!1,po=0,25<=o)throw Error(r(301));o+=1,lo=so=null,t.updateQueue=null,no.current=ts,e=n(a,i)}while(co)}if(no.current=Jo,t=null!==so&&null!==so.next,io=0,lo=so=oo=null,uo=!1,t)throw Error(r(300));return e}function vo(){var e=0!==po;return po=0,e}function yo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===lo?oo.memoizedState=lo=e:lo=lo.next=e,lo}function bo(){if(null===so){var e=oo.alternate;e=null!==e?e.memoizedState:null}else e=so.next;var t=null===lo?oo.memoizedState:lo.next;if(null!==t)lo=t,so=e;else{if(null===e)throw Error(r(310));e={memoizedState:(so=e).memoizedState,baseState:so.baseState,baseQueue:so.baseQueue,queue:so.queue,next:null},null===lo?oo.memoizedState=lo=e:lo=lo.next=e}return lo}function wo(e,t){return"function"==typeof t?t(e):t}function xo(e){var t=bo(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var a=so,i=a.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}a.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,a=a.baseState;var l=s=null,u=null,c=o;do{var d=c.lane;if((io&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),a=c.hasEagerState?c.eagerState:e(a,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=p,s=a):u=u.next=p,oo.lanes|=d,Bl|=d}c=c.next}while(null!==c&&c!==o);null===u?s=a:u.next=l,sn(a,t.memoizedState)||(bs=!0),t.memoizedState=a,t.baseState=s,t.baseQueue=u,n.lastRenderedState=a}if(null!==(e=n.interleaved)){i=e;do{o=i.lane,oo.lanes|=o,Bl|=o,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ko(e){var t=bo(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var a=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);sn(o,t.memoizedState)||(bs=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,a]}function Co(){}function Ao(e,t){var n=oo,a=bo(),i=t(),o=!sn(a.memoizedState,i);if(o&&(a.memoizedState=i,bs=!0),a=a.queue,Bo(jo.bind(null,n,a,e),[e]),a.getSnapshot!==t||o||null!==lo&&1&lo.memoizedState.tag){if(n.flags|=2048,_o(9,So.bind(null,n,a,i,t),void 0,null),null===Il)throw Error(r(349));30&io||Eo(n,t,i)}return i}function Eo(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function So(e,t,r,n){t.value=r,t.getSnapshot=n,zo(t)&&Io(e)}function jo(e,t,r){return r((function(){zo(t)&&Io(e)}))}function zo(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!sn(e,r)}catch(e){return!0}}function Io(e){var t=Di(e,1);null!==t&&ru(t,e,1,-1)}function Oo(e){var t=yo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wo,lastRenderedState:e},t.queue=e,e=e.dispatch=Yo.bind(null,oo,e),[t.memoizedState,e]}function _o(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function No(){return bo().memoizedState}function Po(e,t,r,n){var a=yo();oo.flags|=e,a.memoizedState=_o(1|t,r,void 0,void 0===n?null:n)}function Do(e,t,r,n){var a=bo();n=void 0===n?null:n;var i=void 0;if(null!==so){var o=so.memoizedState;if(i=o.destroy,null!==n&&mo(n,o.deps))return void(a.memoizedState=_o(t,r,i,n))}oo.flags|=e,a.memoizedState=_o(1|t,r,i,n)}function To(e,t){return Po(8390656,8,e,t)}function Bo(e,t){return Do(2048,8,e,t)}function Ro(e,t){return Do(4,2,e,t)}function Mo(e,t){return Do(4,4,e,t)}function $o(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fo(e,t,r){return r=null!=r?r.concat([e]):null,Do(4,4,$o.bind(null,t,e),r)}function Vo(){}function Lo(e,t){var r=bo();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&mo(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Uo(e,t){var r=bo();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&mo(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Zo(e,t,r){return 21&io?(sn(r,t)||(r=mt(),oo.lanes|=r,Bl|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=r)}function Qo(e,t){var r=bt;bt=0!==r&&4>r?r:4,e(!0);var n=ao.transition;ao.transition={};try{e(!1),t()}finally{bt=r,ao.transition=n}}function Go(){return bo().memoizedState}function Ko(e,t,r){var n=tu(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Wo(e))Ho(t,r);else if(null!==(r=Pi(e,t,r,n))){ru(r,e,n,eu()),qo(r,t,n)}}function Yo(e,t,r){var n=tu(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Wo(e))Ho(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=i(o,r);if(a.hasEagerState=!0,a.eagerState=s,sn(s,o)){var l=t.interleaved;return null===l?(a.next=a,Ni(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(e){}null!==(r=Pi(e,t,a,n))&&(ru(r,e,n,a=eu()),qo(r,t,n))}}function Wo(e){var t=e.alternate;return e===oo||null!==t&&t===oo}function Ho(e,t){co=uo=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function qo(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}var Jo={readContext:Oi,useCallback:fo,useContext:fo,useEffect:fo,useImperativeHandle:fo,useInsertionEffect:fo,useLayoutEffect:fo,useMemo:fo,useReducer:fo,useRef:fo,useState:fo,useDebugValue:fo,useDeferredValue:fo,useTransition:fo,useMutableSource:fo,useSyncExternalStore:fo,useId:fo,unstable_isNewReconciler:!1},Xo={readContext:Oi,useCallback:function(e,t){return yo().memoizedState=[e,void 0===t?null:t],e},useContext:Oi,useEffect:To,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Po(4194308,4,$o.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Po(4194308,4,e,t)},useInsertionEffect:function(e,t){return Po(4,2,e,t)},useMemo:function(e,t){var r=yo();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=yo();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Ko.bind(null,oo,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},yo().memoizedState=e},useState:Oo,useDebugValue:Vo,useDeferredValue:function(e){return yo().memoizedState=e},useTransition:function(){var e=Oo(!1),t=e[0];return e=Qo.bind(null,e[1]),yo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var a=oo,i=yo();if(ai){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===Il)throw Error(r(349));30&io||Eo(a,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,To(jo.bind(null,a,o,e),[e]),a.flags|=2048,_o(9,So.bind(null,a,o,n,t),void 0,null),n},useId:function(){var e=yo(),t=Il.identifierPrefix;if(ai){var r=qa;t=":"+t+"R"+(r=(Ha&~(1<<32-ot(Ha)-1)).toString(32)+r),0<(r=po++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=ho++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Oi,useCallback:Lo,useContext:Oi,useEffect:Bo,useImperativeHandle:Fo,useInsertionEffect:Ro,useLayoutEffect:Mo,useMemo:Uo,useReducer:xo,useRef:No,useState:function(){return xo(wo)},useDebugValue:Vo,useDeferredValue:function(e){return Zo(bo(),so.memoizedState,e)},useTransition:function(){return[xo(wo)[0],bo().memoizedState]},useMutableSource:Co,useSyncExternalStore:Ao,useId:Go,unstable_isNewReconciler:!1},ts={readContext:Oi,useCallback:Lo,useContext:Oi,useEffect:Bo,useImperativeHandle:Fo,useInsertionEffect:Ro,useLayoutEffect:Mo,useMemo:Uo,useReducer:ko,useRef:No,useState:function(){return ko(wo)},useDebugValue:Vo,useDeferredValue:function(e){var t=bo();return null===so?t.memoizedState=e:Zo(t,so.memoizedState,e)},useTransition:function(){return[ko(wo)[0],bo().memoizedState]},useMutableSource:Co,useSyncExternalStore:Ao,useId:Go,unstable_isNewReconciler:!1};function rs(e,t){if(e&&e.defaultProps){for(var r in t=M({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function ns(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:M({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var as={isMounted:function(e){return!!(e=e._reactInternals)&&Le(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=eu(),a=tu(e),i=Mi(n,a);i.payload=t,null!=r&&(i.callback=r),null!==(t=$i(e,i,a))&&(ru(t,e,a,n),Fi(t,e,a))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=eu(),a=tu(e),i=Mi(n,a);i.tag=1,i.payload=t,null!=r&&(i.callback=r),null!==(t=$i(e,i,a))&&(ru(t,e,a,n),Fi(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=eu(),n=tu(e),a=Mi(r,n);a.tag=2,null!=t&&(a.callback=t),null!==(t=$i(e,a,n))&&(ru(t,e,n,r),Fi(t,e,n))}};function is(e,t,r,n,a,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,i,o):!t.prototype||!t.prototype.isPureReactComponent||(!ln(r,n)||!ln(a,i))}function os(e,t,r){var n=!1,a=ja,i=t.contextType;return"object"==typeof i&&null!==i?i=Oi(i):(a=Na(t)?Oa:za.current,i=(n=null!=(n=t.contextTypes))?_a(e,a):ja),t=new t(r,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&as.enqueueReplaceState(t,t.state,null)}function ls(e,t,r,n){var a=e.stateNode;a.props=r,a.state=e.memoizedState,a.refs={},Bi(e);var i=t.contextType;"object"==typeof i&&null!==i?a.context=Oi(i):(i=Na(t)?Oa:za.current,a.context=_a(e,i)),a.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ns(e,t,i,r),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&as.enqueueReplaceState(a,a.state,null),Li(e,r,a,n),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function us(e,t){try{var r="",n=t;do{r+=L(n),n=n.return}while(n);var a=r}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function cs(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,r){(r=Mi(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Zl||(Zl=!0,Ql=n),ds(0,t)},r}function fs(e,t,r){(r=Mi(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!=typeof n&&(null===Gl?Gl=new Set([this]):Gl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ms(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new ps;var a=new Set;n.set(t,a)}else void 0===(a=n.get(t))&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=Eu.bind(null,e,t,r),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,r,n,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Mi(-1,1)).tag=2,$i(r,t,1))),r.lanes|=1),e)}var ys=x.ReactCurrentOwner,bs=!1;function ws(e,t,r,n){t.child=null===e?xi(t,null,r,n):wi(t,e.child,r,n)}function xs(e,t,r,n,a){r=r.render;var i=t.ref;return Ii(t,a),n=go(e,t,r,n,i,a),r=vo(),null===e||bs?(ai&&r&&ei(t),t.flags|=1,ws(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Zs(e,t,a))}function ks(e,t,r,n,a){if(null===e){var i=r.type;return"function"!=typeof i||Nu(i)||void 0!==i.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Du(r.type,null,n,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Cs(e,t,i,n,a))}if(i=e.child,0===(e.lanes&a)){var o=i.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(o,n)&&e.ref===t.ref)return Zs(e,t,a)}return t.flags|=1,(e=Pu(i,n)).ref=t.ref,e.return=t,t.child=e}function Cs(e,t,r,n,a){if(null!==e){var i=e.memoizedProps;if(ln(i,n)&&e.ref===t.ref){if(bs=!1,t.pendingProps=n=i,0===(e.lanes&a))return t.lanes=e.lanes,Zs(e,t,a);131072&e.flags&&(bs=!0)}}return Ss(e,t,r,n,a)}function As(e,t,r){var n=t.pendingProps,a=n.children,i=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==i?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Sa(Pl,Nl),Nl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==i?i.baseLanes:r,Sa(Pl,Nl),Nl|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Sa(Pl,Nl),Nl|=r;else null!==i?(n=i.baseLanes|r,t.memoizedState=null):n=r,Sa(Pl,Nl),Nl|=n;return ws(e,t,a,r),t.child}function Es(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Ss(e,t,r,n,a){var i=Na(r)?Oa:za.current;return i=_a(t,i),Ii(t,a),r=go(e,t,r,n,i,a),n=vo(),null===e||bs?(ai&&n&&ei(t),t.flags|=1,ws(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Zs(e,t,a))}function js(e,t,r,n,a){if(Na(r)){var i=!0;Ba(t)}else i=!1;if(Ii(t,a),null===t.stateNode)Us(e,t),os(t,r,n),ls(t,r,n,a),n=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=r.contextType;"object"==typeof u&&null!==u?u=Oi(u):u=_a(t,u=Na(r)?Oa:za.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==n||l!==u)&&ss(t,o,n,u),Ti=!1;var p=t.memoizedState;o.state=p,Li(t,n,o,a),l=t.memoizedState,s!==n||p!==l||Ia.current||Ti?("function"==typeof c&&(ns(t,r,c,n),l=t.memoizedState),(s=Ti||is(t,r,s,n,p,l,u))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),o.props=n,o.state=l,o.context=u,n=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,Ri(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:rs(t.type,s),o.props=u,d=t.pendingProps,p=o.context,"object"==typeof(l=r.contextType)&&null!==l?l=Oi(l):l=_a(t,l=Na(r)?Oa:za.current);var h=r.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==d||p!==l)&&ss(t,o,n,l),Ti=!1,p=t.memoizedState,o.state=p,Li(t,n,o,a);var f=t.memoizedState;s!==d||p!==f||Ia.current||Ti?("function"==typeof h&&(ns(t,r,h,n),f=t.memoizedState),(u=Ti||is(t,r,u,n,p,f,l)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(n,f,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(n,f,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=f),o.props=n,o.state=f,o.context=l,n=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return zs(e,t,r,n,i,a)}function zs(e,t,r,n,a,i){Es(e,t);var o=!!(128&t.flags);if(!n&&!o)return a&&Ra(t,r,!1),Zs(e,t,i);n=t.stateNode,ys.current=t;var s=o&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&o?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,s,i)):ws(e,t,s,i),t.memoizedState=n.state,a&&Ra(t,r,!0),t.child}function Is(e){var t=e.stateNode;t.pendingContext?Da(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Da(0,t.context,!1),Wi(e,t.containerInfo)}function Os(e,t,r,n,a){return hi(),fi(a),t.flags|=256,ws(e,t,r,n),t.child}var _s,Ns,Ps,Ds,Ts={dehydrated:null,treeContext:null,retryLane:0};function Bs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rs(e,t,n){var a,i=t.pendingProps,o=Xi.current,s=!1,l=!!(128&t.flags);if((a=l)||(a=(null===e||null!==e.memoizedState)&&!!(2&o)),a?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Sa(Xi,1&o),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},1&i||null===s?s=Bu(l,i,0,null):(s.childLanes=0,s.pendingProps=l),e=Tu(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Bs(n),t.memoizedState=Ts,e):Ms(t,l));if(null!==(o=e.memoizedState)&&null!==(a=o.dehydrated))return function(e,t,n,a,i,o,s){if(n)return 256&t.flags?(t.flags&=-257,$s(e,t,s,a=cs(Error(r(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=a.fallback,i=t.mode,a=Bu({mode:"visible",children:a.children},i,0,null),(o=Tu(o,i,s,null)).flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,1&t.mode&&wi(t,e.child,null,s),t.child.memoizedState=Bs(s),t.memoizedState=Ts,o);if(!(1&t.mode))return $s(e,t,s,null);if("$!"===i.data){if(a=i.nextSibling&&i.nextSibling.dataset)var l=a.dgst;return a=l,$s(e,t,s,a=cs(o=Error(r(419)),a,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(a=Il)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(a.suspendedLanes|s))?0:i)&&i!==o.retryLane&&(o.retryLane=i,Di(e,i),ru(a,e,i,-1))}return mu(),$s(e,t,s,a=cs(Error(r(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=ju.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ni=ua(i.nextSibling),ri=t,ai=!0,ii=null,null!==e&&(Ka[Ya++]=Ha,Ka[Ya++]=qa,Ka[Ya++]=Wa,Ha=e.id,qa=e.overflow,Wa=t),t=Ms(t,a.children),t.flags|=4096,t)}(e,t,l,i,a,o,n);if(s){s=i.fallback,l=t.mode,a=(o=e.child).sibling;var u={mode:"hidden",children:i.children};return 1&l||t.child===o?(i=Pu(o,u)).subtreeFlags=14680064&o.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=u,t.deletions=null),null!==a?s=Pu(a,s):(s=Tu(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Bs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ts,i}return e=(s=e.child).sibling,i=Pu(s,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Ms(e,t){return(t=Bu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function $s(e,t,r,n){return null!==n&&fi(n),wi(t,e.child,null,r),(e=Ms(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),zi(e.return,t,r)}function Vs(e,t,r,n,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=a)}function Ls(e,t,r){var n=t.pendingProps,a=n.revealOrder,i=n.tail;if(ws(e,t,n.children,r),2&(n=Xi.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,r,t);else if(19===e.tag)Fs(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Sa(Xi,n),1&t.mode)switch(a){case"forwards":for(r=t.child,a=null;null!==r;)null!==(e=r.alternate)&&null===eo(e)&&(a=r),r=r.sibling;null===(r=a)?(a=t.child,t.child=null):(a=r.sibling,r.sibling=null),Vs(t,!1,a,r,i);break;case"backwards":for(r=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===eo(e)){t.child=a;break}e=a.sibling,a.sibling=r,r=a,a=e}Vs(t,!0,r,null,i);break;case"together":Vs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Us(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Pu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qs(e,t){if(!ai)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=14680064&a.subtreeFlags,n|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)r|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Ks(e,t,n){var i=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Na(t.type)&&Pa(),Gs(t),null;case 3:return i=t.stateNode,Hi(),Ea(Ia),Ea(za),ro(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ii&&(ou(ii),ii=null))),Ns(e,t),Gs(t),null;case 5:Ji(t);var o=Yi(Ki.current);if(n=t.type,null!==e&&null!=t.stateNode)Ps(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(r(166));return Gs(t),null}if(e=Yi(Qi.current),di(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[pa]=t,i[ha]=s,e=!!(1&t.mode),n){case"dialog":$n("cancel",i),$n("close",i);break;case"iframe":case"object":case"embed":$n("load",i);break;case"video":case"audio":for(o=0;o<Tn.length;o++)$n(Tn[o],i);break;case"source":$n("error",i);break;case"img":case"image":case"link":$n("error",i),$n("load",i);break;case"details":$n("toggle",i);break;case"input":q(i,s),$n("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!s.multiple},$n("invalid",i);break;case"textarea":ie(i,s),$n("invalid",i)}for(var l in ye(n,s),o=null,s)if(s.hasOwnProperty(l)){var u=s[l];"children"===l?"string"==typeof u?i.textContent!==u&&(!0!==s.suppressHydrationWarning&&Jn(i.textContent,u,e),o=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(!0!==s.suppressHydrationWarning&&Jn(i.textContent,u,e),o=["children",""+u]):a.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&$n("scroll",i)}switch(n){case"input":K(i),ee(i,s,!0);break;case"textarea":K(i),se(i);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(i.onclick=Xn)}i=o,t.updateQueue=i,null!==i&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=l.createElement(n,{is:i.is}):(e=l.createElement(n),"select"===n&&(l=e,i.multiple?l.multiple=!0:i.size&&(l.size=i.size))):e=l.createElementNS(e,n),e[pa]=t,e[ha]=i,_s(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,i),n){case"dialog":$n("cancel",e),$n("close",e),o=i;break;case"iframe":case"object":case"embed":$n("load",e),o=i;break;case"video":case"audio":for(o=0;o<Tn.length;o++)$n(Tn[o],e);o=i;break;case"source":$n("error",e),o=i;break;case"img":case"image":case"link":$n("error",e),$n("load",e),o=i;break;case"details":$n("toggle",e),o=i;break;case"input":q(e,i),o=H(e,i),$n("invalid",e);break;case"option":default:o=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},o=M({},i,{value:void 0}),$n("invalid",e);break;case"textarea":ie(e,i),o=ae(e,i),$n("invalid",e)}for(s in ye(n,o),u=o)if(u.hasOwnProperty(s)){var c=u[s];"style"===s?ge(e,c):"dangerouslySetInnerHTML"===s?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===s?"string"==typeof c?("textarea"!==n||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(a.hasOwnProperty(s)?null!=c&&"onScroll"===s&&$n("scroll",e):null!=c&&b(e,s,c,l))}switch(n){case"input":K(e),ee(e,i,!1);break;case"textarea":K(e),se(e);break;case"option":null!=i.value&&e.setAttribute("value",""+Q(i.value));break;case"select":e.multiple=!!i.multiple,null!=(s=i.value)?ne(e,!!i.multiple,s,!1):null!=i.defaultValue&&ne(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Xn)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(r(166));if(n=Yi(Ki.current),Yi(Qi.current),di(t)){if(i=t.stateNode,n=t.memoizedProps,i[pa]=t,(s=i.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jn(i.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jn(i.nodeValue,n,!!(1&e.mode))}s&&(t.flags|=4)}else(i=(9===n.nodeType?n:n.ownerDocument).createTextNode(i))[pa]=t,t.stateNode=i}return Gs(t),null;case 13:if(Ea(Xi),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ai&&null!==ni&&1&t.mode&&!(128&t.flags))pi(),hi(),t.flags|=98560,s=!1;else if(s=di(t),null!==i&&null!==i.dehydrated){if(null===e){if(!s)throw Error(r(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(r(317));s[pa]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),s=!1}else null!==ii&&(ou(ii),ii=null),s=!0;if(!s)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((i=null!==i)!==(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,1&t.mode&&(null===e||1&Xi.current?0===Dl&&(Dl=3):mu())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return Hi(),Ns(e,t),null===e&&Ln(t.stateNode.containerInfo),Gs(t),null;case 10:return ji(t.type._context),Gs(t),null;case 19:if(Ea(Xi),null===(s=t.memoizedState))return Gs(t),null;if(i=!!(128&t.flags),null===(l=s.rendering))if(i)Qs(s,!1);else{if(0!==Dl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=eo(e))){for(t.flags|=128,Qs(s,!1),null!==(i=l.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;null!==n;)e=i,(s=n).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Sa(Xi,1&Xi.current|2),t.child}e=e.sibling}null!==s.tail&&qe()>Ll&&(t.flags|=128,i=!0,Qs(s,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=eo(l))){if(t.flags|=128,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Qs(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!ai)return Gs(t),null}else 2*qe()-s.renderingStartTime>Ll&&1073741824!==n&&(t.flags|=128,i=!0,Qs(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=s.last)?n.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=qe(),t.sibling=null,n=Xi.current,Sa(Xi,i?1&n|2:1&n),t):(Gs(t),null);case 22:case 23:return du(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&1&t.mode?!!(1073741824&Nl)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(r(156,t.tag))}function Ys(e,t){switch(ti(t),t.tag){case 1:return Na(t.type)&&Pa(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Hi(),Ea(Ia),Ea(za),ro(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(Ea(Xi),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(Xi),null;case 4:return Hi(),null;case 10:return ji(t.type._context),null;case 22:case 23:return du(),null;default:return null}}_s=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ns=function(){},Ps=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Yi(Qi.current);var o,s=null;switch(r){case"input":i=H(e,i),n=H(e,n),s=[];break;case"select":i=M({},i,{value:void 0}),n=M({},n,{value:void 0}),s=[];break;case"textarea":i=ae(e,i),n=ae(e,n),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof n.onClick&&(e.onclick=Xn)}for(c in ye(r,n),r=null,i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var l=i[c];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(a.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in n){var u=n[c];if(l=null!=i?i[c]:void 0,n.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(r||(r={}),r[o]=u[o])}else r||(s||(s=[]),s.push(c,r)),r=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(s=s||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(a.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&$n("scroll",e),s||l===u||(s=[])):(s=s||[]).push(c,u))}r&&(s=s||[]).push("style",r);var c=s;(t.updateQueue=c)&&(t.flags|=4)}},Ds=function(e,t,r,n){r!==n&&(t.flags|=4)};var Ws=!1,Hs=!1,qs="function"==typeof WeakSet?WeakSet:Set,Js=null;function Xs(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){Au(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){Au(e,t,r)}}var tl=!1;function rl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var a=n=n.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&el(t,r,i)}a=a.next}while(a!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function al(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[pa],delete t[ha],delete t[ma],delete t[ga],delete t[va])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ol(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ol(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Xn));else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function ul(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ul(e,t,r),e=e.sibling;null!==e;)ul(e,t,r),e=e.sibling}var cl=null,dl=!1;function pl(e,t,r){for(r=r.child;null!==r;)hl(e,t,r),r=r.sibling}function hl(e,t,r){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(at,r)}catch(e){}switch(r.tag){case 5:Hs||Xs(r,t);case 6:var n=cl,a=dl;cl=null,pl(e,t,r),dl=a,null!==(cl=n)&&(dl?(e=cl,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):cl.removeChild(r.stateNode));break;case 18:null!==cl&&(dl?(e=cl,r=r.stateNode,8===e.nodeType?la(e.parentNode,r):1===e.nodeType&&la(e,r),Lt(e)):la(cl,r.stateNode));break;case 4:n=cl,a=dl,cl=r.stateNode.containerInfo,dl=!0,pl(e,t,r),cl=n,dl=a;break;case 0:case 11:case 14:case 15:if(!Hs&&(null!==(n=r.updateQueue)&&null!==(n=n.lastEffect))){a=n=n.next;do{var i=a,o=i.destroy;i=i.tag,void 0!==o&&(2&i||4&i)&&el(r,t,o),a=a.next}while(a!==n)}pl(e,t,r);break;case 1:if(!Hs&&(Xs(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){Au(r,t,e)}pl(e,t,r);break;case 21:pl(e,t,r);break;case 22:1&r.mode?(Hs=(n=Hs)||null!==r.memoizedState,pl(e,t,r),Hs=n):pl(e,t,r);break;default:pl(e,t,r)}}function fl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new qs),t.forEach((function(t){var n=zu.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var a=0;a<n.length;a++){var i=n[a];try{var o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,dl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===cl)throw Error(r(160));hl(o,s,i),cl=null,dl=!1;var u=i.alternate;null!==u&&(u.return=null),i.return=null}catch(e){Au(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&a){try{rl(3,e,e.return),nl(3,e)}catch(t){Au(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Au(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&a&&null!==n&&Xs(n,n.return);break;case 5:if(ml(t,e),vl(e),512&a&&null!==n&&Xs(n,n.return),32&e.flags){var i=e.stateNode;try{pe(i,"")}catch(t){Au(e,e.return,t)}}if(4&a&&null!=(i=e.stateNode)){var o=e.memoizedProps,s=null!==n?n.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===o.type&&null!=o.name&&J(i,o),be(l,s);var c=be(l,o);for(s=0;s<u.length;s+=2){var d=u[s],p=u[s+1];"style"===d?ge(i,p):"dangerouslySetInnerHTML"===d?de(i,p):"children"===d?pe(i,p):b(i,d,p,c)}switch(l){case"input":X(i,o);break;case"textarea":oe(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var f=o.value;null!=f?ne(i,!!o.multiple,f,!1):h!==!!o.multiple&&(null!=o.defaultValue?ne(i,!!o.multiple,o.defaultValue,!0):ne(i,!!o.multiple,o.multiple?[]:"",!1))}i[ha]=o}catch(t){Au(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&a){if(null===e.stateNode)throw Error(r(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(t){Au(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&a&&null!==n&&n.memoizedState.isDehydrated)try{Lt(t.containerInfo)}catch(t){Au(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,!o||null!==i.alternate&&null!==i.alternate.memoizedState||(Vl=qe())),4&a&&fl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Hs=(c=Hs)||d,ml(t,e),Hs=c):ml(t,e),vl(e),8192&a){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Js=e,d=e.child;null!==d;){for(p=Js=d;null!==Js;){switch(f=(h=Js).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:Xs(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){a=h,n=h.return;try{t=a,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Au(a,n,e)}}break;case 5:Xs(h,h.return);break;case 22:if(null!==h.memoizedState){xl(p);continue}}null!==f?(f.return=h,Js=f):xl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{i=p.stateNode,c?"function"==typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=p.stateNode,s=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(t){Au(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(t){Au(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:ml(t,e),vl(e),4&a&&fl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ol(n)){var a=n;break e}n=n.return}throw Error(r(160))}switch(a.tag){case 5:var i=a.stateNode;32&a.flags&&(pe(i,""),a.flags&=-33),ul(e,sl(e),i);break;case 3:case 4:var o=a.stateNode.containerInfo;ll(e,sl(e),o);break;default:throw Error(r(161))}}catch(t){Au(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,r){Js=e,bl(e)}function bl(e,t,r){for(var n=!!(1&e.mode);null!==Js;){var a=Js,i=a.child;if(22===a.tag&&n){var o=null!==a.memoizedState||Ws;if(!o){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Hs;s=Ws;var u=Hs;if(Ws=o,(Hs=l)&&!u)for(Js=a;null!==Js;)l=(o=Js).child,22===o.tag&&null!==o.memoizedState?kl(a):null!==l?(l.return=o,Js=l):kl(a);for(;null!==i;)Js=i,bl(i),i=i.sibling;Js=a,Ws=s,Hs=u}wl(e)}else 8772&a.subtreeFlags&&null!==i?(i.return=a,Js=i):wl(e)}}function wl(e){for(;null!==Js;){var t=Js;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Hs||nl(5,t);break;case 1:var a=t.stateNode;if(4&t.flags&&!Hs)if(null===n)a.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:rs(t.type,n.memoizedProps);a.componentDidUpdate(i,n.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Ui(t,o,a);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ui(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Lt(p)}}}break;default:throw Error(r(163))}Hs||512&t.flags&&al(t)}catch(e){Au(t,t.return,e)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Js=r;break}Js=t.return}}function kl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nl(4,t)}catch(e){Au(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var a=t.return;try{n.componentDidMount()}catch(e){Au(t,a,e)}}var i=t.return;try{al(t)}catch(e){Au(t,i,e)}break;case 5:var o=t.return;try{al(t)}catch(e){Au(t,o,e)}}}catch(e){Au(t,t.return,e)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var Cl,Al=Math.ceil,El=x.ReactCurrentDispatcher,Sl=x.ReactCurrentOwner,jl=x.ReactCurrentBatchConfig,zl=0,Il=null,Ol=null,_l=0,Nl=0,Pl=Aa(0),Dl=0,Tl=null,Bl=0,Rl=0,Ml=0,$l=null,Fl=null,Vl=0,Ll=1/0,Ul=null,Zl=!1,Ql=null,Gl=null,Kl=!1,Yl=null,Wl=0,Hl=0,ql=null,Jl=-1,Xl=0;function eu(){return 6&zl?qe():-1!==Jl?Jl:Jl=qe()}function tu(e){return 1&e.mode?2&zl&&0!==_l?_l&-_l:null!==mi.transition?(0===Xl&&(Xl=mt()),Xl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Ht(e.type):1}function ru(e,t,n,a){if(50<Hl)throw Hl=0,ql=null,Error(r(185));vt(e,n,a),2&zl&&e===Il||(e===Il&&(!(2&zl)&&(Rl|=n),4===Dl&&su(e,_l)),nu(e,a),1===n&&0===zl&&!(1&t.mode)&&(Ll=qe()+500,$a&&La()))}function nu(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-ot(i),s=1<<o,l=a[o];-1===l?0!==(s&r)&&0===(s&n)||(a[o]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var n=pt(e,e===Il?_l:0);if(0===n)null!==r&&Ye(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Ye(r),1===t)0===e.tag?function(e){$a=!0,Va(e)}(lu.bind(null,e)):Va(lu.bind(null,e)),oa((function(){!(6&zl)&&La()})),r=null;else{switch(wt(n)){case 1:r=Xe;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=Iu(r,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function au(e,t){if(Jl=-1,Xl=0,6&zl)throw Error(r(327));var n=e.callbackNode;if(ku()&&e.callbackNode!==n)return null;var a=pt(e,e===Il?_l:0);if(0===a)return null;if(30&a||0!==(a&e.expiredLanes)||t)t=gu(e,a);else{t=a;var i=zl;zl|=2;var o=fu();for(Il===e&&_l===t||(Ul=null,Ll=qe()+500,pu(e,t));;)try{yu();break}catch(t){hu(e,t)}Si(),El.current=o,zl=i,null!==Ol?t=0:(Il=null,_l=0,t=Dl)}if(0!==t){if(2===t&&(0!==(i=ft(e))&&(a=i,t=iu(e,i))),1===t)throw n=Tl,pu(e,0),su(e,a),nu(e,qe()),n;if(6===t)su(e,a);else{if(i=e.current.alternate,!(30&a||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var a=r[n],i=a.getSnapshot;a=a.value;try{if(!sn(i(),a))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gu(e,a),2===t&&(o=ft(e),0!==o&&(a=o,t=iu(e,o))),1!==t)))throw n=Tl,pu(e,0),su(e,a),nu(e,qe()),n;switch(e.finishedWork=i,e.finishedLanes=a,t){case 0:case 1:throw Error(r(345));case 2:case 5:xu(e,Fl,Ul);break;case 3:if(su(e,a),(130023424&a)===a&&10<(t=Vl+500-qe())){if(0!==pt(e,0))break;if(((i=e.suspendedLanes)&a)!==a){eu(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=na(xu.bind(null,e,Fl,Ul),t);break}xu(e,Fl,Ul);break;case 4:if(su(e,a),(4194240&a)===a)break;for(t=e.eventTimes,i=-1;0<a;){var s=31-ot(a);o=1<<s,(s=t[s])>i&&(i=s),a&=~o}if(a=i,10<(a=(120>(a=qe()-a)?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Al(a/1960))-a)){e.timeoutHandle=na(xu.bind(null,e,Fl,Ul),a);break}xu(e,Fl,Ul);break;default:throw Error(r(329))}}}return nu(e,qe()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var r=$l;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Fl,Fl=r,null!==t&&ou(t)),e}function ou(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function su(e,t){for(t&=~Ml,t&=~Rl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-ot(t),n=1<<r;e[r]=-1,t&=~n}}function lu(e){if(6&zl)throw Error(r(327));ku();var t=pt(e,0);if(!(1&t))return nu(e,qe()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var a=ft(e);0!==a&&(t=a,n=iu(e,a))}if(1===n)throw n=Tl,pu(e,0),su(e,t),nu(e,qe()),n;if(6===n)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Fl,Ul),nu(e,qe()),null}function uu(e,t){var r=zl;zl|=1;try{return e(t)}finally{0===(zl=r)&&(Ll=qe()+500,$a&&La())}}function cu(e){null!==Yl&&0===Yl.tag&&!(6&zl)&&ku();var t=zl;zl|=1;var r=jl.transition,n=bt;try{if(jl.transition=null,bt=1,e)return e()}finally{bt=n,jl.transition=r,!(6&(zl=t))&&La()}}function du(){Nl=Pl.current,Ea(Pl)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,aa(r)),null!==Ol)for(r=Ol.return;null!==r;){var n=r;switch(ti(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Pa();break;case 3:Hi(),Ea(Ia),Ea(za),ro();break;case 5:Ji(n);break;case 4:Hi();break;case 13:case 19:Ea(Xi);break;case 10:ji(n.type._context);break;case 22:case 23:du()}r=r.return}if(Il=e,Ol=e=Pu(e.current,null),_l=Nl=t,Dl=0,Tl=null,Ml=Rl=Bl=0,Fl=$l=null,null!==_i){for(t=0;t<_i.length;t++)if(null!==(n=(r=_i[t]).interleaved)){r.interleaved=null;var a=n.next,i=r.pending;if(null!==i){var o=i.next;i.next=a,n.next=o}r.pending=n}_i=null}return e}function hu(e,t){for(;;){var n=Ol;try{if(Si(),no.current=Jo,uo){for(var a=oo.memoizedState;null!==a;){var i=a.queue;null!==i&&(i.pending=null),a=a.next}uo=!1}if(io=0,lo=so=oo=null,co=!1,po=0,Sl.current=null,null===n||null===n.return){Dl=1,Tl=t,Ol=null;break}e:{var o=e,s=n.return,l=n,u=t;if(t=_l,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=gs(s);if(null!==f){f.flags&=-257,vs(f,s,l,0,t),1&f.mode&&ms(o,c,t),u=c;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(!(1&t)){ms(o,c,t),mu();break e}u=Error(r(426))}else if(ai&&1&l.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),fi(us(u,l));break e}}o=u=us(u,l),4!==Dl&&(Dl=2),null===$l?$l=[o]:$l.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Vi(o,hs(0,u,t));break e;case 1:l=u;var y=o.type,b=o.stateNode;if(!(128&o.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Gl&&Gl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,Vi(o,fs(o,l,t));break e}}o=o.return}while(null!==o)}wu(n)}catch(e){t=e,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function fu(){var e=El.current;return El.current=Jo,null===e?Jo:e}function mu(){0!==Dl&&3!==Dl&&2!==Dl||(Dl=4),null===Il||!(268435455&Bl)&&!(268435455&Rl)||su(Il,_l)}function gu(e,t){var n=zl;zl|=2;var a=fu();for(Il===e&&_l===t||(Ul=null,pu(e,t));;)try{vu();break}catch(t){hu(e,t)}if(Si(),zl=n,El.current=a,null!==Ol)throw Error(r(261));return Il=null,_l=0,Dl}function vu(){for(;null!==Ol;)bu(Ol)}function yu(){for(;null!==Ol&&!We();)bu(Ol)}function bu(e){var t=Cl(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===t?wu(e):Ol=t,Sl.current=null}function wu(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=Ys(r,t)))return r.flags&=32767,void(Ol=r);if(null===e)return Dl=6,void(Ol=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Ks(r,t,Nl)))return void(Ol=r);if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Dl&&(Dl=5)}function xu(e,t,n){var a=bt,i=jl.transition;try{jl.transition=null,bt=1,function(e,t,n,a){do{ku()}while(null!==Yl);if(6&zl)throw Error(r(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var a=31-ot(r),i=1<<a;t[a]=0,n[a]=-1,e[a]=-1,r&=~i}}(e,o),e===Il&&(Ol=Il=null,_l=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Kl||(Kl=!0,Iu(tt,(function(){return ku(),null}))),o=!!(15990&n.flags),!!(15990&n.subtreeFlags)||o){o=jl.transition,jl.transition=null;var s=bt;bt=1;var l=zl;zl|=4,Sl.current=null,function(e,t){if(ea=Zt,hn(e=pn())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(a&&0!==a.rangeCount){n=a.anchorNode;var i=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{n.nodeType,o.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,p=e,h=null;t:for(;;){for(var f;p!==n||0!==i&&3!==p.nodeType||(l=s+i),p!==o||0!==a&&3!==p.nodeType||(u=s+a),3===p.nodeType&&(s+=p.nodeValue.length),null!==(f=p.firstChild);)h=p,p=f;for(;;){if(p===e)break t;if(h===n&&++c===i&&(l=s),h===o&&++d===a&&(u=s),null!==(f=p.nextSibling))break;h=(p=h).parentNode}p=f}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Zt=!1,Js=t;null!==Js;)if(e=(t=Js).child,1028&t.subtreeFlags&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:rs(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(r(163))}}catch(e){Au(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=tl,tl=!1}(e,n),gl(n,e),fn(ta),Zt=!!ea,ta=ea=null,e.current=n,yl(n),He(),zl=l,bt=s,jl.transition=o}else e.current=n;if(Kl&&(Kl=!1,Yl=e,Wl=i),o=e.pendingLanes,0===o&&(Gl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),nu(e,qe()),null!==t)for(a=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],a(i.value,{componentStack:i.stack,digest:i.digest});if(Zl)throw Zl=!1,e=Ql,Ql=null,e;!!(1&Wl)&&0!==e.tag&&ku(),o=e.pendingLanes,1&o?e===ql?Hl++:(Hl=0,ql=e):Hl=0,La()}(e,t,n,a)}finally{jl.transition=i,bt=a}return null}function ku(){if(null!==Yl){var e=wt(Wl),t=jl.transition,n=bt;try{if(jl.transition=null,bt=16>e?16:e,null===Yl)var a=!1;else{if(e=Yl,Yl=null,Wl=0,6&zl)throw Error(r(331));var i=zl;for(zl|=4,Js=e.current;null!==Js;){var o=Js,s=o.child;if(16&Js.flags){var l=o.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Js=c;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,o)}var p=d.child;if(null!==p)p.return=d,Js=p;else for(;null!==Js;){var h=(d=Js).sibling,f=d.return;if(il(d),d===c){Js=null;break}if(null!==h){h.return=f,Js=h;break}Js=f}}}var m=o.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Js=o}}if(2064&o.subtreeFlags&&null!==s)s.return=o,Js=s;else e:for(;null!==Js;){if(2048&(o=Js).flags)switch(o.tag){case 0:case 11:case 15:rl(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,Js=y;break e}Js=o.return}}var b=e.current;for(Js=b;null!==Js;){var w=(s=Js).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Js=w;else e:for(s=b;null!==Js;){if(2048&(l=Js).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Au(l,l.return,e)}if(l===s){Js=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Js=x;break e}Js=l.return}}if(zl=i,La(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(at,e)}catch(e){}a=!0}return a}finally{bt=n,jl.transition=t}}return!1}function Cu(e,t,r){e=$i(e,t=hs(0,t=us(r,t),1),1),t=eu(),null!==e&&(vt(e,1,t),nu(e,t))}function Au(e,t,r){if(3===e.tag)Cu(e,e,r);else for(;null!==t;){if(3===t.tag){Cu(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Gl||!Gl.has(n))){t=$i(t,e=fs(t,e=us(r,e),1),1),e=eu(),null!==t&&(vt(t,1,e),nu(t,e));break}}t=t.return}}function Eu(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&r,Il===e&&(_l&r)===r&&(4===Dl||3===Dl&&(130023424&_l)===_l&&500>qe()-Vl?pu(e,0):Ml|=r),nu(e,t)}function Su(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var r=eu();null!==(e=Di(e,t))&&(vt(e,t,r),nu(e,r))}function ju(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Su(e,r)}function zu(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(r(314))}null!==a&&a.delete(t),Su(e,n)}function Iu(e,t){return Ke(e,t)}function Ou(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _u(e,t,r,n){return new Ou(e,t,r,n)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pu(e,t){var r=e.alternate;return null===r?((r=_u(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Du(e,t,n,a,i,o){var s=2;if(a=e,"function"==typeof e)Nu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case A:return Tu(n.children,i,o,t);case E:s=8,i|=8;break;case S:return(e=_u(12,n,t,2|i)).elementType=S,e.lanes=o,e;case O:return(e=_u(13,n,t,i)).elementType=O,e.lanes=o,e;case _:return(e=_u(19,n,t,i)).elementType=_,e.lanes=o,e;case D:return Bu(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case j:s=10;break e;case z:s=9;break e;case I:s=11;break e;case N:s=14;break e;case P:s=16,a=null;break e}throw Error(r(130,null==e?e:typeof e,""))}return(t=_u(s,n,t,i)).elementType=e,t.type=a,t.lanes=o,t}function Tu(e,t,r,n){return(e=_u(7,e,n,t)).lanes=r,e}function Bu(e,t,r,n){return(e=_u(22,e,n,t)).elementType=D,e.lanes=r,e.stateNode={isHidden:!1},e}function Ru(e,t,r){return(e=_u(6,e,null,t)).lanes=r,e}function Mu(e,t,r){return(t=_u(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $u(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Fu(e,t,r,n,a,i,o,s,l){return e=new $u(e,t,r,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=_u(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bi(i),e}function Vu(e){if(!e)return ja;e:{if(Le(e=e._reactInternals)!==e||1!==e.tag)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Na(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(r(171))}if(1===e.tag){var n=e.type;if(Na(n))return Ta(e,n,t)}return t}function Lu(e,t,r,n,a,i,o,s,l){return(e=Fu(r,n,!0,e,0,i,0,s,l)).context=Vu(null),r=e.current,(i=Mi(n=eu(),a=tu(r))).callback=null!=t?t:null,$i(r,i,a),e.current.lanes=a,vt(e,a,n),nu(e,n),e}function Uu(e,t,r,n){var a=t.current,i=eu(),o=tu(a);return r=Vu(r),null===t.context?t.context=r:t.pendingContext=r,(t=Mi(i,o)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=$i(a,t,o))&&(ru(e,a,o,i),Fi(e,a,o)),o}function Zu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Gu(e,t){Qu(e,t),(e=e.alternate)&&Qu(e,t)}Cl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ia.current)bs=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return bs=!1,function(e,t,r){switch(t.tag){case 3:Is(t),hi();break;case 5:qi(t);break;case 1:Na(t.type)&&Ba(t);break;case 4:Wi(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,a=t.memoizedProps.value;Sa(ki,n._currentValue),n._currentValue=a;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Sa(Xi,1&Xi.current),t.flags|=128,null):0!==(r&t.child.childLanes)?Rs(e,t,r):(Sa(Xi,1&Xi.current),null!==(e=Zs(e,t,r))?e.sibling:null);Sa(Xi,1&Xi.current);break;case 19:if(n=0!==(r&t.childLanes),128&e.flags){if(n)return Ls(e,t,r);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Sa(Xi,Xi.current),n)break;return null;case 22:case 23:return t.lanes=0,As(e,t,r)}return Zs(e,t,r)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,ai&&1048576&t.flags&&Xa(t,Ga,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;Us(e,t),e=t.pendingProps;var i=_a(t,za.current);Ii(t,n),i=go(null,t,a,e,i,n);var o=vo();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Na(a)?(o=!0,Ba(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Bi(t),i.updater=as,t.stateNode=i,i._reactInternals=t,ls(t,a,e,n),t=zs(null,t,a,!0,o,n)):(t.tag=0,ai&&o&&ei(t),ws(null,t,i,n),t=t.child),t;case 16:a=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,a=(i=a._init)(a._payload),t.type=a,i=t.tag=function(e){if("function"==typeof e)return Nu(e)?1:0;if(null!=e){if((e=e.$$typeof)===I)return 11;if(e===N)return 14}return 2}(a),e=rs(a,e),i){case 0:t=Ss(null,t,a,e,n);break e;case 1:t=js(null,t,a,e,n);break e;case 11:t=xs(null,t,a,e,n);break e;case 14:t=ks(null,t,a,rs(a.type,e),n);break e}throw Error(r(306,a,""))}return t;case 0:return a=t.type,i=t.pendingProps,Ss(e,t,a,i=t.elementType===a?i:rs(a,i),n);case 1:return a=t.type,i=t.pendingProps,js(e,t,a,i=t.elementType===a?i:rs(a,i),n);case 3:e:{if(Is(t),null===e)throw Error(r(387));a=t.pendingProps,i=(o=t.memoizedState).element,Ri(e,t),Li(t,a,null,n);var s=t.memoizedState;if(a=s.element,o.isDehydrated){if(o={element:a,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Os(e,t,a,n,i=us(Error(r(423)),t));break e}if(a!==i){t=Os(e,t,a,n,i=us(Error(r(424)),t));break e}for(ni=ua(t.stateNode.containerInfo.firstChild),ri=t,ai=!0,ii=null,n=xi(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),a===i){t=Zs(e,t,n);break e}ws(e,t,a,n)}t=t.child}return t;case 5:return qi(t),null===e&&ui(t),a=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,ra(a,i)?s=null:null!==o&&ra(a,o)&&(t.flags|=32),Es(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Rs(e,t,n);case 4:return Wi(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=wi(t,null,a,n):ws(e,t,a,n),t.child;case 11:return a=t.type,i=t.pendingProps,xs(e,t,a,i=t.elementType===a?i:rs(a,i),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(a=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Sa(ki,a._currentValue),a._currentValue=s,null!==o)if(sn(o.value,s)){if(o.children===i.children&&!Ia.current){t=Zs(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){s=o.child;for(var u=l.firstContext;null!==u;){if(u.context===a){if(1===o.tag){(u=Mi(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}o.lanes|=n,null!==(u=o.alternate)&&(u.lanes|=n),zi(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===o.tag)s=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(r(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),zi(s,n,t),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===t){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}ws(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps.children,Ii(t,n),a=a(i=Oi(i)),t.flags|=1,ws(e,t,a,n),t.child;case 14:return i=rs(a=t.type,t.pendingProps),ks(e,t,a,i=rs(a.type,i),n);case 15:return Cs(e,t,t.type,t.pendingProps,n);case 17:return a=t.type,i=t.pendingProps,i=t.elementType===a?i:rs(a,i),Us(e,t),t.tag=1,Na(a)?(e=!0,Ba(t)):e=!1,Ii(t,n),os(t,a,i),ls(t,a,i,n),zs(null,t,a,!0,e,n);case 19:return Ls(e,t,n);case 22:return As(e,t,n)}throw Error(r(156,t.tag))};var Ku="function"==typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Wu(e){this._internalRoot=e}function Hu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function Xu(e,t,r,n,a){var i=r._reactRootContainer;if(i){var o=i;if("function"==typeof a){var s=a;a=function(){var e=Zu(o);s.call(e)}}Uu(t,o,e,a)}else o=function(e,t,r,n,a){if(a){if("function"==typeof n){var i=n;n=function(){var e=Zu(o);i.call(e)}}var o=Lu(t,n,e,0,null,!1,0,"",Ju);return e._reactRootContainer=o,e[fa]=o.current,Ln(8===e.nodeType?e.parentNode:e),cu(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof n){var s=n;n=function(){var e=Zu(l);s.call(e)}}var l=Fu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=l,e[fa]=l.current,Ln(8===e.nodeType?e.parentNode:e),cu((function(){Uu(t,l,r,n)})),l}(r,t,e,a,n);return Zu(o)}Wu.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));Uu(e,t,null,null)},Wu.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Uu(null,e,null,null)})),t[fa]=null}},Wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=At();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Pt.length&&0!==t&&t<Pt[r].priority;r++);Pt.splice(r,0,e),0===r&&Rt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(yt(t,1|r),nu(t,qe()),!(6&zl)&&(Ll=qe()+500,La()))}break;case 13:cu((function(){var t=Di(e,1);if(null!==t){var r=eu();ru(t,e,1,r)}})),Gu(e,1)}},kt=function(e){if(13===e.tag){var t=Di(e,134217728);if(null!==t)ru(t,e,134217728,eu());Gu(e,134217728)}},Ct=function(e){if(13===e.tag){var t=tu(e),r=Di(e,t);if(null!==r)ru(r,e,t,eu());Gu(e,t)}},At=function(){return bt},Et=function(e,t){var r=bt;try{return bt=e,t()}finally{bt=r}},ke=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var i=xa(a);if(!i)throw Error(r(90));Y(a),X(a,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},ze=uu,Ie=cu;var ec={usingClientEntryPoint:!1,Events:[ba,wa,xa,Se,je,uu]},tc={findFiberByHostInstance:ya,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},rc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nc.isDisabled&&nc.supportsFiber)try{at=nc.inject(rc),it=nc}catch(e){}}return v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,v.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hu(t))throw Error(r(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,n)},v.createRoot=function(e,t){if(!Hu(e))throw Error(r(299));var n=!1,a="",i=Ku;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fu(e,1,!1,null,0,n,0,a,i),e[fa]=t.current,Ln(8===e.nodeType?e.parentNode:e),new Yu(t)},v.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=null===(e=Qe(t))?null:e.stateNode},v.flushSync=function(e){return cu(e)},v.hydrate=function(e,t,n){if(!qu(t))throw Error(r(200));return Xu(null,e,t,!0,n)},v.hydrateRoot=function(e,t,n){if(!Hu(e))throw Error(r(405));var a=null!=n&&n.hydratedSources||null,i=!1,o="",s=Ku;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Lu(t,null,e,1,null!=n?n:null,i,0,o,s),e[fa]=t.current,Ln(e),a)for(e=0;e<a.length;e++)i=(i=(n=a[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Wu(t)},v.render=function(e,t,n){if(!qu(t))throw Error(r(200));return Xu(null,e,t,!1,n)},v.unmountComponentAtNode=function(e){if(!qu(e))throw Error(r(40));return!!e._reactRootContainer&&(cu((function(){Xu(null,null,e,!1,(function(){e._reactRootContainer=null,e[fa]=null}))})),!0)},v.unstable_batchedUpdates=uu,v.unstable_renderSubtreeIntoContainer=function(e,t,n,a){if(!qu(n))throw Error(r(200));if(null==e||void 0===e._reactInternals)throw Error(r(38));return Xu(e,t,n,!1,a)},v.version="18.3.1-next-f1338f8080-20240426",v}function k(){if(d)return g.exports;return d=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),g.exports=x(),g.exports}var C,A,E=function(){if(p)return m;p=1;var e=k();return m.createRoot=e.createRoot,m.hydrateRoot=e.hydrateRoot,m}(),S={exports:{}},j={};var z=(A||(A=1,S.exports=function(){if(C)return j;C=1;var e=s(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(e,r,o){var s,l={},u=null,c=null;for(s in void 0!==o&&(u=""+o),void 0!==r.key&&(u=""+r.key),void 0!==r.ref&&(c=r.ref),r)n.call(r,s)&&!i.hasOwnProperty(s)&&(l[s]=r[s]);if(e&&e.defaultProps)for(s in r=e.defaultProps)void 0===l[s]&&(l[s]=r[s]);return{$$typeof:t,type:e,key:u,ref:c,props:l,_owner:a.current}}return j.Fragment=r,j.jsx=o,j.jsxs=o,j}()),S.exports),I=e=>"checkbox"===e.type,O=e=>e instanceof Date,_=e=>null==e;const N=e=>"object"==typeof e;var P=e=>!_(e)&&!Array.isArray(e)&&N(e)&&!O(e),D=e=>P(e)&&e.target?I(e.target)?e.target.checked:e.target.value:e,T=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),B="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function R(e){let t;const r=Array.isArray(e),n="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else{if(B&&(e instanceof Blob||n)||!r&&!P(e))return e;if(t=r?[]:{},r||(e=>{const t=e.constructor&&e.constructor.prototype;return P(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=R(e[r]));else t=e}return t}var M=e=>/^\w*$/.test(e),$=e=>void 0===e,F=e=>Array.isArray(e)?e.filter(Boolean):[],V=e=>F(e.replace(/["|']|\]/g,"").split(/\.|\[/)),L=(e,t,r)=>{if(!t||!P(e))return r;const n=(M(t)?[t]:V(t)).reduce(((e,t)=>_(e)?e:e[t]),e);return $(n)||n===e?$(e[t])?r:e[t]:n},U=e=>"boolean"==typeof e,Z=(e,t,r)=>{let n=-1;const a=M(t)?[t]:V(t),i=a.length,o=i-1;for(;++n<i;){const t=a[n];let i=r;if(n!==o){const r=e[t];i=P(r)||Array.isArray(r)?r:isNaN(+a[n+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=i,e=e[t]}};const Q="blur",G="focusout",K="change",Y="onBlur",W="onChange",H="onSubmit",q="onTouched",J="all",X="max",ee="min",te="maxLength",re="minLength",ne="pattern",ae="required",ie="validate",oe=f.createContext(null);oe.displayName="HookFormContext";const se=()=>f.useContext(oe);var le=(e,t,r,n=!0)=>{const a={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(a,i,{get:()=>{const a=i;return t._proxyFormState[a]!==J&&(t._proxyFormState[a]=!n||J),r&&(r[a]=!0),e[a]}});return a};const ue="undefined"!=typeof window?h.useLayoutEffect:h.useEffect;var ce=e=>"string"==typeof e,de=(e,t,r,n,a)=>ce(e)?(n&&t.watch.add(e),L(r,e,a)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),L(r,e)))):(n&&(t.watchAll=!0),r);function pe(e){const t=se(),{name:r,disabled:n,control:a=t.control,shouldUnregister:i}=e,o=T(a._names.array,r),s=function(e){const t=se(),{control:r=t.control,name:n,defaultValue:a,disabled:i,exact:o}=e||{},s=f.useRef(a),[l,u]=f.useState(r._getWatch(n,s.current));return ue((()=>r._subscribe({name:n,formState:{values:!0},exact:o,callback:e=>!i&&u(de(n,r._names,e.values||r._formValues,!1,s.current))})),[n,r,i,o]),f.useEffect((()=>r._removeUnmounted())),l}({control:a,name:r,defaultValue:L(a._formValues,r,L(a._defaultValues,r,e.defaultValue)),exact:!0}),l=function(e){const t=se(),{control:r=t.control,disabled:n,name:a,exact:i}=e||{},[o,s]=f.useState(r._formState),l=f.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return ue((()=>r._subscribe({name:a,formState:l.current,exact:i,callback:e=>{!n&&s({...r._formState,...e})}})),[a,n,i]),f.useEffect((()=>{l.current.isValid&&r._setValid(!0)}),[r]),f.useMemo((()=>le(o,r,l.current,!1)),[o,r])}({control:a,name:r,exact:!0}),u=f.useRef(e),c=f.useRef(a.register(r,{...e.rules,value:s,...U(e.disabled)?{disabled:e.disabled}:{}})),d=f.useMemo((()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!L(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!L(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!L(l.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!L(l.validatingFields,r)},error:{enumerable:!0,get:()=>L(l.errors,r)}})),[l,r]),p=f.useCallback((e=>c.current.onChange({target:{value:D(e),name:r},type:K})),[r]),h=f.useCallback((()=>c.current.onBlur({target:{value:L(a._formValues,r),name:r},type:Q})),[r,a._formValues]),m=f.useCallback((e=>{const t=L(a._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}),[a._fields,r]),g=f.useMemo((()=>({name:r,value:s,...U(n)||l.disabled?{disabled:l.disabled||n}:{},onChange:p,onBlur:h,ref:m})),[r,n,l.disabled,p,h,m,s]);return f.useEffect((()=>{const e=a._options.shouldUnregister||i;a.register(r,{...u.current.rules,...U(u.current.disabled)?{disabled:u.current.disabled}:{}});const t=(e,t)=>{const r=L(a._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){const e=R(L(a._options.defaultValues,r));Z(a._defaultValues,r,e),$(L(a._formValues,r))&&Z(a._formValues,r,e)}return!o&&a.register(r),()=>{(o?e&&!a._state.action:e)?a.unregister(r):t(r,!1)}}),[r,a,o,i]),f.useEffect((()=>{a._setDisabledField({disabled:n,name:r})}),[n,r,a]),f.useMemo((()=>({field:g,formState:l,fieldState:d})),[g,l,d])}const he=e=>e.render(pe(e));var fe=(e,t,r,n,a)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:a||!0}}:{},me=e=>Array.isArray(e)?e:[e],ge=()=>{let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},ve=e=>_(e)||!N(e);function ye(e,t,r=new WeakSet){if(ve(e)||ve(t))return e===t;if(O(e)&&O(t))return e.getTime()===t.getTime();const n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const i of n){const n=e[i];if(!a.includes(i))return!1;if("ref"!==i){const e=t[i];if(O(n)&&O(e)||P(n)&&P(e)||Array.isArray(n)&&Array.isArray(e)?!ye(n,e,r):n!==e)return!1}}return!0}var be=e=>P(e)&&!Object.keys(e).length,we=e=>"file"===e.type,xe=e=>"function"==typeof e,ke=e=>{if(!B)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Ce=e=>"select-multiple"===e.type,Ae=e=>"radio"===e.type,Ee=e=>ke(e)&&e.isConnected;function Se(e,t){const r=Array.isArray(t)?t:M(t)?[t]:V(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=$(e)?n++:e[t[n++]];return e}(e,r),a=r.length-1,i=r[a];return n&&delete n[i],0!==a&&(P(n)&&be(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!$(e[t]))return!1;return!0}(n))&&Se(e,r.slice(0,-1)),e}var je=e=>{for(const t in e)if(xe(e[t]))return!0;return!1};function ze(e,t={}){const r=Array.isArray(e);if(P(e)||r)for(const r in e)Array.isArray(e[r])||P(e[r])&&!je(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ze(e[r],t[r])):_(e[r])||(t[r]=!0);return t}function Ie(e,t,r){const n=Array.isArray(e);if(P(e)||n)for(const n in e)Array.isArray(e[n])||P(e[n])&&!je(e[n])?$(t)||ve(r[n])?r[n]=Array.isArray(e[n])?ze(e[n],[]):{...ze(e[n])}:Ie(e[n],_(t)?{}:t[n],r[n]):r[n]=!ye(e[n],t[n]);return r}var Oe=(e,t)=>Ie(e,t,ze(t));const _e={value:!1,isValid:!1},Ne={value:!0,isValid:!0};var Pe=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!$(e[0].attributes.value)?$(e[0].value)||""===e[0].value?Ne:{value:e[0].value,isValid:!0}:Ne:_e}return _e},De=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>$(e)?e:t?""===e?NaN:e?+e:e:r&&ce(e)?new Date(e):n?n(e):e;const Te={isValid:!1,value:null};var Be=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Te):Te;function Re(e){const t=e.ref;return we(t)?t.files:Ae(t)?Be(e.refs).value:Ce(t)?[...t.selectedOptions].map((({value:e})=>e)):I(t)?Pe(e.refs).value:De($(t.value)?e.ref.value:t.value,e)}var Me=e=>e instanceof RegExp,$e=e=>$(e)?e:Me(e)?e.source:P(e)?Me(e.value)?e.value.source:e.value:e,Fe=e=>({isOnSubmit:!e||e===H,isOnBlur:e===Y,isOnChange:e===W,isOnAll:e===J,isOnTouch:e===q});const Ve="AsyncFunction";var Le=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const Ue=(e,t,r,n)=>{for(const a of r||Object.keys(e)){const r=L(e,a);if(r){const{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],a)&&!n)return!0;if(e.ref&&t(e.ref,e.name)&&!n)return!0;if(Ue(i,t))break}else if(P(i)&&Ue(i,t))break}}};function Ze(e,t,r){const n=L(e,r);if(n||M(r))return{error:n,name:r};const a=r.split(".");for(;a.length;){const n=a.join("."),i=L(t,n),o=L(e,n);if(i&&!Array.isArray(i)&&r!==n)return{name:r};if(o&&o.type)return{name:n,error:o};if(o&&o.root&&o.root.type)return{name:`${n}.root`,error:o.root};a.pop()}return{name:r}}var Qe=(e,t,r)=>{const n=me(L(e,r));return Z(n,"root",t[r]),Z(e,r,n),e},Ge=e=>ce(e);function Ke(e,t,r="validate"){if(Ge(e)||Array.isArray(e)&&e.every(Ge)||U(e)&&!e)return{type:r,message:Ge(e)?e:"",ref:t}}var Ye=e=>P(e)&&!Me(e)?e:{value:e,message:""},We=async(e,t,r,n,a,i)=>{const{ref:o,refs:s,required:l,maxLength:u,minLength:c,min:d,max:p,pattern:h,validate:f,name:m,valueAsNumber:g,mount:v}=e._f,y=L(r,m);if(!v||t.has(m))return{};const b=s?s[0]:o,w=e=>{a&&b.reportValidity&&(b.setCustomValidity(U(e)?"":e||""),b.reportValidity())},x={},k=Ae(o),C=I(o),A=k||C,E=(g||we(o))&&$(o.value)&&$(y)||ke(o)&&""===o.value||""===y||Array.isArray(y)&&!y.length,S=fe.bind(null,m,n,x),j=(e,t,r,n=te,a=re)=>{const i=e?t:r;x[m]={type:e?n:a,message:i,ref:o,...S(e?n:a,i)}};if(i?!Array.isArray(y)||!y.length:l&&(!A&&(E||_(y))||U(y)&&!y||C&&!Pe(s).isValid||k&&!Be(s).isValid)){const{value:e,message:t}=Ge(l)?{value:!!l,message:l}:Ye(l);if(e&&(x[m]={type:ae,message:t,ref:b,...S(ae,t)},!n))return w(t),x}if(!(E||_(d)&&_(p))){let e,t;const r=Ye(p),a=Ye(d);if(_(y)||isNaN(y)){const n=o.valueAsDate||new Date(y),i=e=>new Date((new Date).toDateString()+" "+e),s="time"==o.type,l="week"==o.type;ce(r.value)&&y&&(e=s?i(y)>i(r.value):l?y>r.value:n>new Date(r.value)),ce(a.value)&&y&&(t=s?i(y)<i(a.value):l?y<a.value:n<new Date(a.value))}else{const n=o.valueAsNumber||(y?+y:y);_(r.value)||(e=n>r.value),_(a.value)||(t=n<a.value)}if((e||t)&&(j(!!e,r.message,a.message,X,ee),!n))return w(x[m].message),x}if((u||c)&&!E&&(ce(y)||i&&Array.isArray(y))){const e=Ye(u),t=Ye(c),r=!_(e.value)&&y.length>+e.value,a=!_(t.value)&&y.length<+t.value;if((r||a)&&(j(r,e.message,t.message),!n))return w(x[m].message),x}if(h&&!E&&ce(y)){const{value:e,message:t}=Ye(h);if(Me(e)&&!y.match(e)&&(x[m]={type:ne,message:t,ref:o,...S(ne,t)},!n))return w(t),x}if(f)if(xe(f)){const e=Ke(await f(y,r),b);if(e&&(x[m]={...e,...S(ie,e.message)},!n))return w(e.message),x}else if(P(f)){let e={};for(const t in f){if(!be(e)&&!n)break;const a=Ke(await f[t](y,r),b,t);a&&(e={...a,...S(t,a.message)},w(a.message),n&&(x[m]=e))}if(!be(e)&&(x[m]={ref:b,...e},!n))return x}return w(!0),x};const He={mode:H,reValidateMode:W,shouldFocusError:!0};function qe(e={}){let t,r={...He,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:xe(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},a={},i=(P(r.defaultValues)||P(r.values))&&R(r.defaultValues||r.values)||{},o=r.shouldUnregister?{}:R(i),s={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let d={...c};const p={array:ge(),state:ge()},h=r.criteriaMode===J,f=async e=>{if(!r.disabled&&(c.isValid||d.isValid||e)){const e=r.resolver?be((await b()).errors):await w(a,!0);e!==n.isValid&&p.state.next({isValid:e})}},m=(e,t)=>{!r.disabled&&(c.isValidating||c.validatingFields||d.isValidating||d.validatingFields)&&((e||Array.from(l.mount)).forEach((e=>{e&&(t?Z(n.validatingFields,e,t):Se(n.validatingFields,e))})),p.state.next({validatingFields:n.validatingFields,isValidating:!be(n.validatingFields)}))},g=(e,t,r,n)=>{const l=L(a,e);if(l){const a=L(o,e,$(r)?L(i,e):r);$(a)||n&&n.defaultChecked||t?Z(o,e,t?a:Re(l._f)):C(e,a),s.mount&&f()}},v=(e,t,a,o,s)=>{let l=!1,u=!1;const h={name:e};if(!r.disabled){if(!a||o){(c.isDirty||d.isDirty)&&(u=n.isDirty,n.isDirty=h.isDirty=x(),l=u!==h.isDirty);const r=ye(L(i,e),t);u=!!L(n.dirtyFields,e),r?Se(n.dirtyFields,e):Z(n.dirtyFields,e,!0),h.dirtyFields=n.dirtyFields,l=l||(c.dirtyFields||d.dirtyFields)&&u!==!r}if(a){const t=L(n.touchedFields,e);t||(Z(n.touchedFields,e,a),h.touchedFields=n.touchedFields,l=l||(c.touchedFields||d.touchedFields)&&t!==a)}l&&s&&p.state.next(h)}return l?h:{}},y=(e,a,i,o)=>{const s=L(n.errors,e),l=(c.isValid||d.isValid)&&U(a)&&n.isValid!==a;var h;if(r.delayError&&i?(h=()=>((e,t)=>{Z(n.errors,e,t),p.state.next({errors:n.errors})})(e,i),t=e=>{clearTimeout(u),u=setTimeout(h,e)},t(r.delayError)):(clearTimeout(u),t=null,i?Z(n.errors,e,i):Se(n.errors,e)),(i?!ye(s,i):s)||!be(o)||l){const t={...o,...l&&U(a)?{isValid:a}:{},errors:n.errors,name:e};n={...n,...t},p.state.next(t)}},b=async e=>{m(e,!0);const t=await r.resolver(o,r.context,((e,t,r,n)=>{const a={};for(const r of e){const e=L(t,r);e&&Z(a,r,e._f)}return{criteriaMode:r,names:[...e],fields:a,shouldUseNativeValidation:n}})(e||l.mount,a,r.criteriaMode,r.shouldUseNativeValidation));return m(e),t},w=async(e,t,a={valid:!0})=>{for(const s in e){const u=e[s];if(u){const{_f:e,...d}=u;if(e){const d=l.array.has(e.name),p=u._f&&(!!(i=u._f)&&!!i.validate&&!!(xe(i.validate)&&i.validate.constructor.name===Ve||P(i.validate)&&Object.values(i.validate).find((e=>e.constructor.name===Ve))));p&&c.validatingFields&&m([s],!0);const f=await We(u,l.disabled,o,h,r.shouldUseNativeValidation&&!t,d);if(p&&c.validatingFields&&m([s]),f[e.name]&&(a.valid=!1,t))break;!t&&(L(f,e.name)?d?Qe(n.errors,f,e.name):Z(n.errors,e.name,f[e.name]):Se(n.errors,e.name))}!be(d)&&await w(d,t,a)}}var i;return a.valid},x=(e,t)=>!r.disabled&&(e&&t&&Z(o,e,t),!ye(N(),i)),k=(e,t,r)=>de(e,l,{...s.mount?o:$(t)?i:ce(e)?{[e]:t}:t},r,t),C=(e,t,r={})=>{const n=L(a,e);let i=t;if(n){const r=n._f;r&&(!r.disabled&&Z(o,e,De(t,r)),i=ke(r.ref)&&_(t)?"":t,Ce(r.ref)?[...r.ref.options].forEach((e=>e.selected=i.includes(e.value))):r.refs?I(r.ref)?r.refs.forEach((e=>{e.defaultChecked&&e.disabled||(Array.isArray(i)?e.checked=!!i.find((t=>t===e.value)):e.checked=i===e.value||!!i)})):r.refs.forEach((e=>e.checked=e.value===i)):we(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||p.state.next({name:e,values:R(o)})))}(r.shouldDirty||r.shouldTouch)&&v(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&z(e)},A=(e,t,r)=>{for(const n in t){if(!t.hasOwnProperty(n))return;const i=t[n],o=e+"."+n,s=L(a,o);(l.array.has(e)||P(i)||s&&!s._f)&&!O(i)?A(o,i,r):C(o,i,r)}},E=(e,t,r={})=>{const u=L(a,e),h=l.array.has(e),f=R(t);Z(o,e,f),h?(p.array.next({name:e,values:R(o)}),(c.isDirty||c.dirtyFields||d.isDirty||d.dirtyFields)&&r.shouldDirty&&p.state.next({name:e,dirtyFields:Oe(i,o),isDirty:x(e,f)})):!u||u._f||_(f)?C(e,f,r):A(e,f,r),Le(e,l)&&p.state.next({...n}),p.state.next({name:s.mount?e:void 0,values:R(o)})},S=async e=>{s.mount=!0;const i=e.target;let u=i.name,g=!0;const x=L(a,u),k=e=>{g=Number.isNaN(e)||O(e)&&isNaN(e.getTime())||ye(e,L(o,u,e))},C=Fe(r.mode),A=Fe(r.reValidateMode);if(x){let s,S;const j=i.type?Re(x._f):D(e),I=e.type===Q||e.type===G,O=!((E=x._f).mount&&(E.required||E.min||E.max||E.maxLength||E.minLength||E.pattern||E.validate)||r.resolver||L(n.errors,u)||x._f.deps)||((e,t,r,n,a)=>!a.isOnAll&&(!r&&a.isOnTouch?!(t||e):(r?n.isOnBlur:a.isOnBlur)?!e:!(r?n.isOnChange:a.isOnChange)||e))(I,L(n.touchedFields,u),n.isSubmitted,A,C),_=Le(u,l,I);Z(o,u,j),I?(x._f.onBlur&&x._f.onBlur(e),t&&t(0)):x._f.onChange&&x._f.onChange(e);const N=v(u,j,I),P=!be(N)||_;if(!I&&p.state.next({name:u,type:e.type,values:R(o)}),O)return(c.isValid||d.isValid)&&("onBlur"===r.mode?I&&f():I||f()),P&&p.state.next({name:u,..._?{}:N});if(!I&&_&&p.state.next({...n}),r.resolver){const{errors:e}=await b([u]);if(k(j),g){const t=Ze(n.errors,a,u),r=Ze(e,a,t.name||u);s=r.error,u=r.name,S=be(e)}}else m([u],!0),s=(await We(x,l.disabled,o,h,r.shouldUseNativeValidation))[u],m([u]),k(j),g&&(s?S=!1:(c.isValid||d.isValid)&&(S=await w(a,!0)));g&&(x._f.deps&&z(x._f.deps),y(u,S,s,N))}var E},j=(e,t)=>{if(L(n.errors,t)&&e.focus)return e.focus(),1},z=async(e,t={})=>{let i,o;const s=me(e);if(r.resolver){const t=await(async e=>{const{errors:t}=await b(e);if(e)for(const r of e){const e=L(t,r);e?Z(n.errors,r,e):Se(n.errors,r)}else n.errors=t;return t})($(e)?e:s);i=be(t),o=e?!s.some((e=>L(t,e))):i}else e?(o=(await Promise.all(s.map((async e=>{const t=L(a,e);return await w(t&&t._f?{[e]:t}:t)})))).every(Boolean),(o||n.isValid)&&f()):o=i=await w(a);return p.state.next({...!ce(e)||(c.isValid||d.isValid)&&i!==n.isValid?{}:{name:e},...r.resolver||!e?{isValid:i}:{},errors:n.errors}),t.shouldFocus&&!o&&Ue(a,j,e?s:l.mount),o},N=e=>{const t={...s.mount?o:i};return $(e)?t:ce(e)?L(t,e):e.map((e=>L(t,e)))},M=(e,t)=>({invalid:!!L((t||n).errors,e),isDirty:!!L((t||n).dirtyFields,e),error:L((t||n).errors,e),isValidating:!!L(n.validatingFields,e),isTouched:!!L((t||n).touchedFields,e)}),V=(e,t,r)=>{const i=(L(a,e,{_f:{}})._f||{}).ref,o=L(n.errors,e)||{},{ref:s,message:l,type:u,...c}=o;Z(n.errors,e,{...c,...t,ref:i}),p.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&i&&i.focus&&i.focus()},K=e=>p.state.subscribe({next:t=>{var r,a,i;r=e.name,a=t.name,i=e.exact,r&&a&&r!==a&&!me(r).some((e=>e&&(i?e===a:e.startsWith(a)||a.startsWith(e))))||!((e,t,r,n)=>{r(e);const{name:a,...i}=e;return be(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find((e=>t[e]===(!n||J)))})(t,e.formState||c,re,e.reRenderRoot)||e.callback({values:{...o},...n,...t})}}).unsubscribe,Y=(e,t={})=>{for(const s of e?me(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(Se(a,s),Se(o,s)),!t.keepError&&Se(n.errors,s),!t.keepDirty&&Se(n.dirtyFields,s),!t.keepTouched&&Se(n.touchedFields,s),!t.keepIsValidating&&Se(n.validatingFields,s),!r.shouldUnregister&&!t.keepDefaultValue&&Se(i,s);p.state.next({values:R(o)}),p.state.next({...n,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&f()},W=({disabled:e,name:t})=>{(U(e)&&s.mount||e||l.disabled.has(t))&&(e?l.disabled.add(t):l.disabled.delete(t))},H=(e,t={})=>{let n=L(a,e);const o=U(t.disabled)||U(r.disabled);return Z(a,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),n?W({disabled:U(t.disabled)?t.disabled:r.disabled,name:e}):g(e,!0,t.value),{...o?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:$e(t.min),max:$e(t.max),minLength:$e(t.minLength),maxLength:$e(t.maxLength),pattern:$e(t.pattern)}:{},name:e,onChange:S,onBlur:S,ref:o=>{if(o){H(e,t),n=L(a,e);const r=$(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,s=(e=>Ae(e)||I(e))(r),l=n._f.refs||[];if(s?l.find((e=>e===r)):r===n._f.ref)return;Z(a,e,{_f:{...n._f,...s?{refs:[...l.filter(Ee),r,...Array.isArray(L(i,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),g(e,!1,void 0,r)}else n=L(a,e,{}),n._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&(!T(l.array,e)||!s.action)&&l.unMount.add(e)}}},q=()=>r.shouldFocusError&&Ue(a,j,l.mount),X=(e,t)=>async i=>{let s;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let u=R(o);if(p.state.next({isSubmitting:!0}),r.resolver){const{errors:e,values:t}=await b();n.errors=e,u=R(t)}else await w(a);if(l.disabled.size)for(const e of l.disabled)Se(u,e);if(Se(n.errors,"root"),be(n.errors)){p.state.next({errors:{}});try{await e(u,i)}catch(e){s=e}}else t&&await t({...n.errors},i),q(),setTimeout(q);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:be(n.errors)&&!s,submitCount:n.submitCount+1,errors:n.errors}),s)throw s},ee=(e,t={})=>{const u=e?R(e):i,d=R(u),h=be(e),f=h?i:d;if(t.keepDefaultValues||(i=u),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(Oe(i,o))]);for(const t of Array.from(e))L(n.dirtyFields,t)?Z(f,t,L(o,t)):E(t,L(f,t))}else{if(B&&$(e))for(const e of l.mount){const t=L(a,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(ke(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of l.mount)E(e,L(f,e));else a={}}o=r.shouldUnregister?t.keepDefaultValues?R(i):{}:R(f),p.array.next({values:{...f}}),p.state.next({values:{...f}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!c.isValid||!!t.keepIsValid||!!t.keepDirtyValues,s.watch=!!r.shouldUnregister,p.state.next({submitCount:t.keepSubmitCount?n.submitCount:0,isDirty:!h&&(t.keepDirty?n.isDirty:!(!t.keepDefaultValues||ye(e,i))),isSubmitted:!!t.keepIsSubmitted&&n.isSubmitted,dirtyFields:h?{}:t.keepDirtyValues?t.keepDefaultValues&&o?Oe(i,o):n.dirtyFields:t.keepDefaultValues&&e?Oe(i,e):t.keepDirty?n.dirtyFields:{},touchedFields:t.keepTouched?n.touchedFields:{},errors:t.keepErrors?n.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1})},te=(e,t)=>ee(xe(e)?e(o):e,t),re=e=>{n={...n,...e}},ne={control:{register:H,unregister:Y,getFieldState:M,handleSubmit:X,setError:V,_subscribe:K,_runSchema:b,_focusError:q,_getWatch:k,_getDirty:x,_setValid:f,_setFieldArray:(e,t=[],l,u,h=!0,f=!0)=>{if(u&&l&&!r.disabled){if(s.action=!0,f&&Array.isArray(L(a,e))){const t=l(L(a,e),u.argA,u.argB);h&&Z(a,e,t)}if(f&&Array.isArray(L(n.errors,e))){const t=l(L(n.errors,e),u.argA,u.argB);h&&Z(n.errors,e,t),((e,t)=>{!F(L(e,t)).length&&Se(e,t)})(n.errors,e)}if((c.touchedFields||d.touchedFields)&&f&&Array.isArray(L(n.touchedFields,e))){const t=l(L(n.touchedFields,e),u.argA,u.argB);h&&Z(n.touchedFields,e,t)}(c.dirtyFields||d.dirtyFields)&&(n.dirtyFields=Oe(i,o)),p.state.next({name:e,isDirty:x(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Z(o,e,t)},_setDisabledField:W,_setErrors:e=>{n.errors=e,p.state.next({errors:n.errors,isValid:!1})},_getFieldArray:e=>F(L(s.mount?o:i,e,r.shouldUnregister?L(i,e,[]):[])),_reset:ee,_resetDefaultValues:()=>xe(r.defaultValues)&&r.defaultValues().then((e=>{te(e,r.resetOptions),p.state.next({isLoading:!1})})),_removeUnmounted:()=>{for(const e of l.unMount){const t=L(a,e);t&&(t._f.refs?t._f.refs.every((e=>!Ee(e))):!Ee(t._f.ref))&&Y(e)}l.unMount=new Set},_disableForm:e=>{U(e)&&(p.state.next({disabled:e}),Ue(a,((t,r)=>{const n=L(a,r);n&&(t.disabled=n._f.disabled||e,Array.isArray(n._f.refs)&&n._f.refs.forEach((t=>{t.disabled=n._f.disabled||e})))}),0,!1))},_subjects:p,_proxyFormState:c,get _fields(){return a},get _formValues(){return o},get _state(){return s},set _state(e){s=e},get _defaultValues(){return i},get _names(){return l},set _names(e){l=e},get _formState(){return n},get _options(){return r},set _options(e){r={...r,...e}}},subscribe:e=>(s.mount=!0,d={...d,...e.formState},K({...e,formState:d})),trigger:z,register:H,handleSubmit:X,watch:(e,t)=>xe(e)?p.state.subscribe({next:r=>e(k(void 0,t),r)}):k(e,t,!0),setValue:E,getValues:N,reset:te,resetField:(e,t={})=>{L(a,e)&&($(t.defaultValue)?E(e,R(L(i,e))):(E(e,t.defaultValue),Z(i,e,R(t.defaultValue))),t.keepTouched||Se(n.touchedFields,e),t.keepDirty||(Se(n.dirtyFields,e),n.isDirty=t.defaultValue?x(e,R(L(i,e))):x()),t.keepError||(Se(n.errors,e),c.isValid&&f()),p.state.next({...n}))},clearErrors:e=>{e&&me(e).forEach((e=>Se(n.errors,e))),p.state.next({errors:e?n.errors:{}})},unregister:Y,setError:V,setFocus:(e,t={})=>{const r=L(a,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&xe(e.select)&&e.select())}},getFieldState:M};return{...ne,formControl:ne}}var Je=k(),Xe=Object.defineProperty,et=e=>{throw TypeError(e)},tt=(e,t,r)=>((e,t,r)=>t in e?Xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),rt=(e,t,r)=>t.has(e)||et("Cannot "+r),nt=(e,t,r)=>(rt(e,t,"read from private field"),r?r.call(e):t.get(e)),at=(e,t,r)=>t.has(e)?et("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),it=(e,t,r)=>(rt(e,t,"access private method"),r);const ot=e=>{switch(e){case"xsmall":return"px-2 py-1 text-xs";case"small":return"px-3 py-1.5 text-sm";case"medium":return"px-4 py-2 text-sm";default:return"px-4 py-2 text-base"}},st=e=>{const t="font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 border border-solid rounded-lg cursor-pointer";switch(e){case"filled":return`${t} btn-filled shadow-default`;case"outline":return`${t} btn-outline shadow-default`;case"destructive":return`${t} btn-destructive`;case"success":return`${t} btn-glass-success`;case"warning":return`${t} btn-glass-warning`;case"error":return`${t} btn-glass-error`;case"ghost":return`${t} btn-ghost`;case"no-style":return`${t} btn-no-style border-none`}},lt=()=>z.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[z.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),z.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),ut=h.forwardRef((({variant:e,size:t="large",loading:r=!1,disabled:n=!1,icon:a,iconPosition:i="start",flexGrow:o=!1,fill:s=!1,tooltip:l,iconOnly:u=!1,children:c,className:d="",...p},h)=>{const m=["flex items-center justify-center",u?"p-0":ot(t),st(e),o?"w-full":"",s?"max-w-full":"",n||r?"cursor-not-allowed":"",d].filter(Boolean).join(" "),g=z.jsx("button",{ref:h,disabled:n||r,className:m,...p,children:r?z.jsxs(z.Fragment,{children:[z.jsx(lt,{}),c]}):a&&"start"===i?z.jsxs(z.Fragment,{children:[z.jsx("span",{className:c?"mr-2":"",children:a}),c]}):a&&"end"===i?z.jsxs(z.Fragment,{children:[c,z.jsx("span",{className:c?"ml-2":"",children:a})]}):c});return l?f.cloneElement(g,{title:l}):g}));ut.displayName="Button";const ct=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M14.1475 8.89988L10.3975 12.6499C10.3452 12.7023 10.2831 12.7439 10.2147 12.7723C10.1464 12.8007 10.0731 12.8153 9.99902 12.8153C9.92499 12.8153 9.85168 12.8007 9.78331 12.7723C9.71494 12.7439 9.65284 12.7023 9.60058 12.6499L5.85059 8.89988C5.74491 8.79421 5.68555 8.65089 5.68555 8.50144C5.68555 8.352 5.74491 8.20868 5.85059 8.10301C5.95626 7.99733 6.09958 7.93797 6.24902 7.93797C6.39847 7.93797 6.54179 7.99733 6.64746 8.10301L9.99949 11.455L13.3515 8.10254C13.4572 7.99687 13.6005 7.9375 13.75 7.9375C13.8994 7.9375 14.0427 7.99687 14.1484 8.10254C14.2541 8.20821 14.3134 8.35153 14.3134 8.50098C14.3134 8.65042 14.2541 8.79374 14.1484 8.89941L14.1475 8.89988Z",fill:"#BBBBBB"})),dt=e=>h.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M14.1475 11.1001L10.3975 7.35012C10.3452 7.29768 10.2831 7.25607 10.2147 7.22768C10.1464 7.19929 10.0731 7.18467 9.99902 7.18467C9.92499 7.18467 9.85168 7.19929 9.78331 7.22768C9.71494 7.25607 9.65284 7.29768 9.60058 7.35012L5.85059 11.1001C5.74491 11.2058 5.68555 11.3491 5.68555 11.4986C5.68555 11.648 5.74491 11.7913 5.85059 11.897C5.95626 12.0027 6.09958 12.062 6.24902 12.062C6.39847 12.062 6.54179 12.0027 6.64746 11.897L9.99949 8.54496L13.3515 11.8975C13.4572 12.0031 13.6005 12.0625 13.75 12.0625C13.8994 12.0625 14.0427 12.0031 14.1484 11.8975C14.2541 11.7918 14.3134 11.6485 14.3134 11.499C14.3134 11.3496 14.2541 11.2063 14.1484 11.1006L14.1475 11.1001Z",fill:"#0A0A0A"})),pt=e=>h.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M8 1.5C6.71442 1.5 5.45772 1.88122 4.3888 2.59545C3.31988 3.30968 2.48676 4.32484 1.99479 5.51256C1.50282 6.70028 1.37409 8.00721 1.6249 9.26809C1.8757 10.529 2.49477 11.6872 3.40381 12.5962C4.31285 13.5052 5.47104 14.1243 6.73192 14.3751C7.99279 14.6259 9.29972 14.4972 10.4874 14.0052C11.6752 13.5132 12.6903 12.6801 13.4046 11.6112C14.1188 10.5423 14.5 9.28558 14.5 8C14.4982 6.27665 13.8128 4.62441 12.5942 3.40582C11.3756 2.18722 9.72335 1.50182 8 1.5ZM10.8538 6.85375L7.35375 10.3537C7.30732 10.4002 7.25217 10.4371 7.19147 10.4623C7.13077 10.4874 7.06571 10.5004 7 10.5004C6.93429 10.5004 6.86923 10.4874 6.80853 10.4623C6.74783 10.4371 6.69269 10.4002 6.64625 10.3537L5.14625 8.85375C5.05243 8.75993 4.99972 8.63268 4.99972 8.5C4.99972 8.36732 5.05243 8.24007 5.14625 8.14625C5.24007 8.05243 5.36732 7.99972 5.5 7.99972C5.63268 7.99972 5.75993 8.05243 5.85375 8.14625L7 9.29312L10.1463 6.14625C10.1927 6.09979 10.2479 6.06294 10.3086 6.0378C10.3693 6.01266 10.4343 5.99972 10.5 5.99972C10.5657 5.99972 10.6308 6.01266 10.6915 6.0378C10.7521 6.06294 10.8073 6.09979 10.8538 6.14625C10.9002 6.1927 10.9371 6.24786 10.9622 6.30855C10.9873 6.36925 11.0003 6.4343 11.0003 6.5C11.0003 6.5657 10.9873 6.63075 10.9622 6.69145C10.9371 6.75214 10.9002 6.80729 10.8538 6.85375Z",fill:"#047B43"})),ht=e=>h.createElement("svg",{width:13,height:14,viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("g",{id:"Frame"},h.createElement("path",{id:"Vector",d:"M10.9688 1.92188H4.46875C4.30713 1.92188 4.15214 1.98608 4.03786 2.10036C3.92358 2.21464 3.85938 2.36963 3.85938 2.53125V4.35938H2.03125C1.86963 4.35938 1.71464 4.42358 1.60036 4.53786C1.48608 4.65214 1.42188 4.80713 1.42188 4.96875V11.4688C1.42188 11.6304 1.48608 11.7854 1.60036 11.8996C1.71464 12.0139 1.86963 12.0781 2.03125 12.0781H8.53125C8.69287 12.0781 8.84786 12.0139 8.96214 11.8996C9.07642 11.7854 9.14062 11.6304 9.14062 11.4688V9.64062H10.9688C11.1304 9.64062 11.2854 9.57642 11.3996 9.46214C11.5139 9.34786 11.5781 9.19287 11.5781 9.03125V2.53125C11.5781 2.36963 11.5139 2.21464 11.3996 2.10036C11.2854 1.98608 11.1304 1.92188 10.9688 1.92188ZM7.92188 10.8594H2.64062V5.57812H7.92188V10.8594ZM10.3594 8.42188H9.14062V4.96875C9.14062 4.80713 9.07642 4.65214 8.96214 4.53786C8.84786 4.42358 8.69287 4.35938 8.53125 4.35938H5.07812V3.14062H10.3594V8.42188Z",fill:"#BBBBBB"}))),ft=e=>h.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M6.5 1.21875C5.45547 1.21875 4.43439 1.52849 3.5659 2.1088C2.6974 2.68911 2.02049 3.51393 1.62076 4.47895C1.22104 5.44397 1.11645 6.50586 1.32023 7.53032C1.52401 8.55478 2.027 9.49581 2.76559 10.2344C3.50419 10.973 4.44522 11.476 5.46968 11.6798C6.49414 11.8835 7.55603 11.779 8.52105 11.3792C9.48607 10.9795 10.3109 10.3026 10.8912 9.4341C11.4715 8.56561 11.7813 7.54453 11.7813 6.5C11.7798 5.09978 11.2229 3.75733 10.2328 2.76723C9.24267 1.77712 7.90022 1.22023 6.5 1.21875ZM6.09375 4.0625C6.09375 3.95476 6.13655 3.85142 6.21274 3.77524C6.28893 3.69905 6.39226 3.65625 6.5 3.65625C6.60775 3.65625 6.71108 3.69905 6.78726 3.77524C6.86345 3.85142 6.90625 3.95476 6.90625 4.0625V6.90625C6.90625 7.01399 6.86345 7.11733 6.78726 7.19351C6.71108 7.2697 6.60775 7.3125 6.5 7.3125C6.39226 7.3125 6.28893 7.2697 6.21274 7.19351C6.13655 7.11733 6.09375 7.01399 6.09375 6.90625V4.0625ZM6.5 9.34375C6.37948 9.34375 6.26166 9.30801 6.16145 9.24105C6.06124 9.17409 5.98313 9.07892 5.93701 8.96757C5.89089 8.85622 5.87882 8.7337 5.90234 8.61549C5.92585 8.49728 5.98389 8.3887 6.06911 8.30348C6.15433 8.21826 6.26291 8.16022 6.38112 8.13671C6.49933 8.1132 6.62185 8.12526 6.7332 8.17139C6.84455 8.21751 6.93972 8.29561 7.00668 8.39582C7.07364 8.49604 7.10938 8.61385 7.10938 8.73437C7.10938 8.89599 7.04517 9.05099 6.93089 9.16527C6.81661 9.27955 6.66162 9.34375 6.5 9.34375Z",fill:"#C43E3E"})),mt=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none",...e},h.createElement("path",{fill:"#0A0A0A",d:"M2.888 1.621a.61.61 0 1 0-.901.82l.812.896C1.049 4.502.29 6.174.254 6.253a.61.61 0 0 0 0 .495c.019.041.464 1.029 1.447 2.011 1.314 1.313 2.97 2.007 4.799 2.007a6.7 6.7 0 0 0 2.59-.508l1.02 1.122a.61.61 0 0 0 .902-.82zM6.5 9.547c-1.503 0-2.817-.545-3.906-1.619A6.6 6.6 0 0 1 1.5 6.5c.268-.473.954-1.518 2.133-2.25l4.575 5.034a5.6 5.6 0 0 1-1.707.263m6.246-2.8c-.018.042-.457 1.016-1.422 1.99a.61.61 0 1 1-.863-.859A6.6 6.6 0 0 0 11.5 6.5a6.6 6.6 0 0 0-1.095-1.428C9.316 3.998 8.003 3.453 6.5 3.453q-.256 0-.508.021a.61.61 0 1 1-.101-1.214c.2-.017.406-.026.609-.026 1.828 0 3.485.695 4.798 2.007.983.983 1.428 1.97 1.447 2.012a.62.62 0 0 1 .001.495"})),gt=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:13,height:13,fill:"none",...e},h.createElement("path",{fill:"#0A0A0A",d:"M12.746 6.253c-.019-.041-.464-1.03-1.446-2.012C9.985 2.93 8.328 2.234 6.5 2.234s-3.485.695-4.798 2.007C.719 5.224.274 6.211.254 6.253a.61.61 0 0 0 0 .495c.019.041.464 1.029 1.447 2.011 1.314 1.313 2.97 2.007 4.799 2.007 1.828 0 3.485-.694 4.798-2.007.983-.982 1.428-1.97 1.447-2.011a.62.62 0 0 0 .001-.495m-2.339 1.675C9.317 9.002 8.003 9.547 6.5 9.547s-2.817-.545-3.906-1.619A6.6 6.6 0 0 1 1.5 6.5a6.6 6.6 0 0 1 1.095-1.427c1.09-1.075 2.403-1.62 3.906-1.62s2.816.545 3.906 1.62c.428.423.797.904 1.095 1.427a6.6 6.6 0 0 1-1.095 1.428zM6.5 4.266a2.234 2.234 0 1 0 0 4.469 2.234 2.234 0 0 0 0-4.47m0 3.25a1.016 1.016 0 1 1 0-2.032 1.016 1.016 0 0 1 0 2.032"})),vt=e=>h.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M6.5 1.21875C5.45547 1.21875 4.43439 1.52849 3.5659 2.1088C2.6974 2.68911 2.02049 3.51393 1.62076 4.47895C1.22104 5.44397 1.11645 6.50586 1.32023 7.53032C1.52401 8.55478 2.027 9.49581 2.76559 10.2344C3.50419 10.973 4.44522 11.476 5.46968 11.6798C6.49414 11.8835 7.55603 11.779 8.52105 11.3792C9.48607 10.9795 10.3109 10.3026 10.8912 9.4341C11.4715 8.56561 11.7813 7.54453 11.7813 6.5C11.7798 5.09978 11.2229 3.75733 10.2328 2.76723C9.24267 1.77712 7.90022 1.22023 6.5 1.21875ZM6.29688 3.65625C6.4174 3.65625 6.53522 3.69199 6.63543 3.75895C6.73564 3.82591 6.81374 3.92108 6.85987 4.03243C6.90599 4.14378 6.91806 4.2663 6.89454 4.38451C6.87103 4.50272 6.81299 4.6113 6.72777 4.69652C6.64255 4.78174 6.53397 4.83978 6.41576 4.86329C6.29755 4.8868 6.17503 4.87474 6.06368 4.82861C5.95233 4.78249 5.85716 4.70439 5.7902 4.60418C5.72324 4.50396 5.6875 4.38615 5.6875 4.26562C5.6875 4.10401 5.7517 3.94901 5.86598 3.83473C5.98026 3.72045 6.13526 3.65625 6.29688 3.65625ZM6.90625 9.34375C6.69076 9.34375 6.4841 9.25815 6.33173 9.10577C6.17935 8.9534 6.09375 8.74674 6.09375 8.53125V6.5C5.98601 6.5 5.88268 6.4572 5.80649 6.38101C5.7303 6.30482 5.6875 6.20149 5.6875 6.09375C5.6875 5.98601 5.7303 5.88267 5.80649 5.80649C5.88268 5.7303 5.98601 5.6875 6.09375 5.6875C6.30924 5.6875 6.5159 5.7731 6.66828 5.92548C6.82065 6.07785 6.90625 6.28451 6.90625 6.5V8.53125C7.014 8.53125 7.11733 8.57405 7.19351 8.65024C7.2697 8.72642 7.3125 8.82976 7.3125 8.9375C7.3125 9.04524 7.2697 9.14858 7.19351 9.22476C7.11733 9.30095 7.014 9.34375 6.90625 9.34375Z",fill:"black",fillOpacity:.6})),yt=e=>h.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M5.48438 4.76562C5.48438 4.60493 5.53203 4.44784 5.62131 4.31422C5.71059 4.18061 5.83748 4.07647 5.98595 4.01497C6.13441 3.95348 6.29778 3.93739 6.45539 3.96874C6.613 4.00009 6.75777 4.07747 6.8714 4.1911C6.98503 4.30473 7.06241 4.4495 7.09376 4.60711C7.12512 4.76472 7.10903 4.92809 7.04753 5.07656C6.98603 5.22502 6.88189 5.35192 6.74828 5.44119C6.61466 5.53047 6.45757 5.57812 6.29688 5.57812C6.08139 5.57812 5.87473 5.49252 5.72235 5.34015C5.56998 5.18778 5.48438 4.98111 5.48438 4.76562ZM11.9844 7C11.9844 8.08471 11.6627 9.14505 11.0601 10.047C10.4575 10.9489 9.60092 11.6518 8.59878 12.0669C7.59664 12.482 6.49392 12.5906 5.43005 12.379C4.36619 12.1674 3.38897 11.645 2.62196 10.878C1.85496 10.111 1.33262 9.13381 1.12101 8.06995C0.909392 7.00608 1.018 5.90336 1.4331 4.90122C1.8482 3.89908 2.55115 3.04254 3.45305 2.43991C4.35495 1.83728 5.4153 1.51563 6.5 1.51562C7.95405 1.51724 9.34809 2.09557 10.3763 3.12374C11.4044 4.15191 11.9828 5.54595 11.9844 7ZM10.7656 7C10.7656 6.15634 10.5155 5.33162 10.0467 4.63015C9.57803 3.92867 8.91183 3.38193 8.13239 3.05908C7.35294 2.73622 6.49527 2.65175 5.66782 2.81634C4.84037 2.98093 4.08031 3.38719 3.48375 3.98375C2.88719 4.58031 2.48093 5.34037 2.31634 6.16782C2.15175 6.99527 2.23622 7.85294 2.55908 8.63238C2.88193 9.41182 3.42867 10.078 4.13015 10.5467C4.83163 11.0154 5.65634 11.2656 6.5 11.2656C7.63094 11.2644 8.71522 10.8146 9.51492 10.0149C10.3146 9.21522 10.7644 8.13094 10.7656 7ZM7.10938 8.86266V7.20312C7.10938 6.93376 7.00237 6.67544 6.81191 6.48497C6.62144 6.2945 6.36311 6.1875 6.09375 6.1875C5.94984 6.18729 5.8105 6.23801 5.70041 6.33069C5.59031 6.42336 5.51657 6.55202 5.49224 6.69385C5.46791 6.83569 5.49457 6.98156 5.56748 7.10563C5.6404 7.2297 5.75487 7.32396 5.89063 7.37172V9.03125C5.89063 9.30061 5.99763 9.55894 6.1881 9.7494C6.37856 9.93987 6.63689 10.0469 6.90625 10.0469C7.05016 10.0471 7.1895 9.99637 7.2996 9.90369C7.40969 9.81101 7.48343 9.68236 7.50776 9.54052C7.53209 9.39868 7.50544 9.25281 7.43252 9.12874C7.3596 9.00467 7.24513 8.91041 7.10938 8.86266Z",fill:"currentColor"})),bt=e=>h.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M8.05613 4.80613L6.86328 6L8.05766 7.19387C8.17214 7.30834 8.23645 7.46361 8.23645 7.62551C8.23645 7.7874 8.17214 7.94267 8.05766 8.05715C7.94318 8.17163 7.78791 8.23594 7.62602 8.23594C7.46412 8.23594 7.30886 8.17163 7.19438 8.05715L6 6.86328L4.80613 8.05766C4.69166 8.17213 4.53639 8.23645 4.37449 8.23645C4.2126 8.23645 4.05733 8.17213 3.94285 8.05766C3.82838 7.94318 3.76406 7.78791 3.76406 7.62602C3.76406 7.46412 3.82838 7.30885 3.94285 7.19437L5.13672 6L3.94387 4.80613C3.88719 4.74945 3.84222 4.68216 3.81154 4.60809C3.78087 4.53403 3.76508 4.45465 3.76508 4.37449C3.76508 4.2126 3.82939 4.05733 3.94387 3.94285C4.05835 3.82837 4.21361 3.76406 4.37551 3.76406C4.53741 3.76406 4.69267 3.82837 4.80715 3.94285L6 5.13672L7.19387 3.94234C7.30835 3.82787 7.46361 3.76355 7.62551 3.76355C7.78741 3.76355 7.94267 3.82787 8.05715 3.94234C8.17163 4.05682 8.23594 4.21209 8.23594 4.37398C8.23594 4.53588 8.17163 4.69115 8.05715 4.80562L8.05613 4.80613ZM11.4844 6C11.4844 7.08471 11.1627 8.14505 10.5601 9.04696C9.95746 9.94886 9.10092 10.6518 8.09878 11.0669C7.09664 11.482 5.99392 11.5906 4.93005 11.379C3.86619 11.1674 2.88897 10.645 2.12196 9.87804C1.35496 9.11103 0.832624 8.13381 0.621008 7.06995C0.409392 6.00608 0.518001 4.90336 0.933101 3.90122C1.3482 2.89908 2.05115 2.04254 2.95305 1.43991C3.85495 0.837278 4.9153 0.515625 6 0.515625C7.45405 0.517238 8.84809 1.09557 9.87626 2.12374C10.9044 3.15191 11.4828 4.54595 11.4844 6ZM10.2656 6C10.2656 5.15634 10.0155 4.33162 9.54674 3.63015C9.07803 2.92867 8.41183 2.38193 7.63239 2.05908C6.85294 1.73622 5.99527 1.65175 5.16782 1.81634C4.34037 1.98093 3.58031 2.38719 2.98375 2.98375C2.38719 3.58031 1.98093 4.34037 1.81634 5.16782C1.65175 5.99527 1.73622 6.85294 2.05908 7.63238C2.38193 8.41182 2.92867 9.07802 3.63015 9.54674C4.33163 10.0154 5.15634 10.2656 6 10.2656C7.13094 10.2644 8.21522 9.81461 9.01492 9.01492C9.81462 8.21522 10.2644 7.13094 10.2656 6Z",fill:"currentColor",fillOpacity:.7})),wt=e=>h.createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{d:"M6.5 1.21875C5.45547 1.21875 4.43439 1.52849 3.5659 2.1088C2.6974 2.68911 2.02049 3.51393 1.62076 4.47895C1.22104 5.44397 1.11645 6.50586 1.32023 7.53032C1.52401 8.55478 2.027 9.49581 2.76559 10.2344C3.50419 10.973 4.44522 11.476 5.46968 11.6798C6.49414 11.8835 7.55603 11.779 8.52105 11.3792C9.48607 10.9795 10.3109 10.3026 10.8912 9.4341C11.4715 8.56561 11.7813 7.54453 11.7813 6.5C11.7798 5.09978 11.2229 3.75733 10.2328 2.76723C9.24267 1.77712 7.90022 1.22023 6.5 1.21875ZM6.5 9.75C6.37948 9.75 6.26166 9.71426 6.16145 9.6473C6.06124 9.58034 5.98313 9.48517 5.93701 9.37382C5.89089 9.26247 5.87882 9.13995 5.90234 9.02174C5.92585 8.90353 5.98389 8.79495 6.06911 8.70973C6.15433 8.62451 6.26291 8.56647 6.38112 8.54296C6.49933 8.51945 6.62185 8.53151 6.7332 8.57764C6.84455 8.62376 6.93972 8.70186 7.00668 8.80207C7.07364 8.90229 7.10938 9.0201 7.10938 9.14062C7.10938 9.30224 7.04517 9.45724 6.93089 9.57152C6.81661 9.6858 6.66162 9.75 6.5 9.75ZM6.90625 7.27594V7.3125C6.90625 7.42024 6.86345 7.52358 6.78726 7.59976C6.71108 7.67595 6.60775 7.71875 6.5 7.71875C6.39226 7.71875 6.28893 7.67595 6.21274 7.59976C6.13655 7.52358 6.09375 7.42024 6.09375 7.3125V6.90625C6.09375 6.79851 6.13655 6.69517 6.21274 6.61899C6.28893 6.5428 6.39226 6.5 6.5 6.5C7.17184 6.5 7.71875 6.04297 7.71875 5.48437C7.71875 4.92578 7.17184 4.46875 6.5 4.46875C5.82817 4.46875 5.28125 4.92578 5.28125 5.48437V5.6875C5.28125 5.79524 5.23845 5.89857 5.16226 5.97476C5.08608 6.05095 4.98275 6.09375 4.875 6.09375C4.76726 6.09375 4.66393 6.05095 4.58774 5.97476C4.51155 5.89857 4.46875 5.79524 4.46875 5.6875V5.48437C4.46875 4.47637 5.37977 3.65625 6.5 3.65625C7.62024 3.65625 8.53125 4.47637 8.53125 5.48437C8.53125 6.36695 7.8325 7.10582 6.90625 7.27594Z",fill:"#96580A"})),xt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(ct,{className:t,style:a,onClick:n})},kt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(dt,{className:t,style:a,onClick:n})},Ct=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(pt,{className:t,style:a,onClick:n})},At=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(ht,{className:t,style:a,onClick:n})},Et=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(ft,{className:t,style:a,onClick:n})},St=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(mt,{className:t,style:a,onClick:n})},jt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor !important",...r};return z.jsx(gt,{className:t,style:a,onClick:n})},zt=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(yt,{className:t,style:a,onClick:n})},It=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(vt,{className:t,style:a,onClick:n})},Ot=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(bt,{className:t,style:a,onClick:n})},_t=({size:e=16,className:t="",style:r={},onClick:n})=>{const a={width:"number"==typeof e?`${e}px`:e,height:"number"==typeof e?`${e}px`:e,display:"inline-block",fill:"currentColor",...r};return z.jsx(wt,{className:t,style:a,onClick:n})};function Nt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Pt={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function Dt(e){Pt=e}var Tt={exec:()=>null};function Bt(e,t=""){let r="string"==typeof e?e:e.source,n={replace:(e,t)=>{let a="string"==typeof t?t:t.source;return a=a.replace(Rt.caret,"$1"),r=r.replace(e,a),n},getRegex:()=>new RegExp(r,t)};return n}var Rt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Mt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,$t=/(?:[*+-]|\d{1,9}[.)])/,Ft=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Vt=Bt(Ft).replace(/bull/g,$t).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Lt=Bt(Ft).replace(/bull/g,$t).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ut=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Zt=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Qt=Bt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Zt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Gt=Bt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,$t).getRegex(),Kt="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Yt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Wt=Bt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",Yt).replace("tag",Kt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ht=Bt(Ut).replace("hr",Mt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Kt).getRegex(),qt={blockquote:Bt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ht).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:Qt,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Mt,html:Wt,lheading:Vt,list:Gt,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:Ht,table:Tt,text:/^[^\n]+/},Jt=Bt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Mt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Kt).getRegex(),Xt={...qt,lheading:Lt,table:Jt,paragraph:Bt(Ut).replace("hr",Mt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Jt).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Kt).getRegex()},er={...qt,html:Bt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Yt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Tt,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Bt(Ut).replace("hr",Mt).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Vt).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},tr=/^( {2,}|\\)\n(?!\s*$)/,rr=/[\p{P}\p{S}]/u,nr=/[\s\p{P}\p{S}]/u,ar=/[^\s\p{P}\p{S}]/u,ir=Bt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,nr).getRegex(),or=/(?!~)[\p{P}\p{S}]/u,sr=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,lr=Bt(sr,"u").replace(/punct/g,rr).getRegex(),ur=Bt(sr,"u").replace(/punct/g,or).getRegex(),cr="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",dr=Bt(cr,"gu").replace(/notPunctSpace/g,ar).replace(/punctSpace/g,nr).replace(/punct/g,rr).getRegex(),pr=Bt(cr,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,or).getRegex(),hr=Bt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,ar).replace(/punctSpace/g,nr).replace(/punct/g,rr).getRegex(),fr=Bt(/\\(punct)/,"gu").replace(/punct/g,rr).getRegex(),mr=Bt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),gr=Bt(Yt).replace("(?:--\x3e|$)","--\x3e").getRegex(),vr=Bt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",gr).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),yr=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,br=Bt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",yr).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),wr=Bt(/^!?\[(label)\]\[(ref)\]/).replace("label",yr).replace("ref",Zt).getRegex(),xr=Bt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Zt).getRegex(),kr={_backpedal:Tt,anyPunctuation:fr,autolink:mr,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,br:tr,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Tt,emStrongLDelim:lr,emStrongRDelimAst:dr,emStrongRDelimUnd:hr,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:br,nolink:xr,punctuation:ir,reflink:wr,reflinkSearch:Bt("reflink|nolink(?!\\()","g").replace("reflink",wr).replace("nolink",xr).getRegex(),tag:vr,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Tt},Cr={...kr,link:Bt(/^!?\[(label)\]\((.*?)\)/).replace("label",yr).getRegex(),reflink:Bt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",yr).getRegex()},Ar={...kr,emStrongRDelimAst:pr,emStrongLDelim:ur,url:Bt(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Er={...Ar,br:Bt(tr).replace("{2,}","*").getRegex(),text:Bt(Ar.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Sr={normal:qt,gfm:Xt,pedantic:er},jr={normal:kr,gfm:Ar,breaks:Er,pedantic:Cr},zr={"&":"&","<":"<",">":">",'"':""","'":"'"},Ir=e=>zr[e];function Or(e,t){if(t){if(Rt.escapeTest.test(e))return e.replace(Rt.escapeReplace,Ir)}else if(Rt.escapeTestNoEncode.test(e))return e.replace(Rt.escapeReplaceNoEncode,Ir);return e}function _r(e){try{e=encodeURI(e).replace(Rt.percentDecode,"%")}catch{return null}return e}function Nr(e,t){var r;let n=e.replace(Rt.findPipe,((e,t,r)=>{let n=!1,a=t;for(;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"})),a=n.split(Rt.splitPipe),i=0;if(a[0].trim()||a.shift(),a.length>0&&!(null!=(r=a.at(-1))&&r.trim())&&a.pop(),t)if(a.length>t)a.splice(t);else for(;a.length<t;)a.push("");for(;i<a.length;i++)a[i]=a[i].trim().replace(Rt.slashPipe,"|");return a}function Pr(e,t,r){let n=e.length;if(0===n)return"";let a=0;for(;a<n&&e.charAt(n-a-1)===t;)a++;return e.slice(0,n-a)}function Dr(e,t,r,n,a){let i=t.href,o=t.title||null,s=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:r,href:i,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}var Tr,Br=class{constructor(e){tt(this,"options"),tt(this,"rules"),tt(this,"lexer"),this.options=e||Pt}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Pr(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(null===n)return t;let a=n[1];return t.split("\n").map((e=>{let t=e.match(r.other.beginningSpace);if(null===t)return e;let[n]=t;return n.length>=a.length?e.slice(a.length):e})).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=Pr(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Pr(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=Pr(t[0],"\n").split("\n"),r="",n="",a=[];for(;e.length>0;){let t,i=!1,o=[];for(t=0;t<e.length;t++)if(this.rules.other.blockquoteStart.test(e[t]))o.push(e[t]),i=!0;else{if(i)break;o.push(e[t])}e=e.slice(t);let s=o.join("\n"),l=s.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}\n${s}`:s,n=n?`${n}\n${l}`:l;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,a,!0),this.lexer.state.top=u,0===e.length)break;let c=a.at(-1);if("code"===(null==c?void 0:c.type))break;if("blockquote"===(null==c?void 0:c.type)){let t=c,i=t.raw+"\n"+e.join("\n"),o=this.blockquote(i);a[a.length-1]=o,r=r.substring(0,r.length-t.raw.length)+o.raw,n=n.substring(0,n.length-t.text.length)+o.text;break}if("list"!==(null==c?void 0:c.type));else{let t=c,i=t.raw+"\n"+e.join("\n"),o=this.list(i);a[a.length-1]=o,r=r.substring(0,r.length-c.raw.length)+o.raw,n=n.substring(0,n.length-t.raw.length)+o.raw,e=i.substring(a.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:r,tokens:a,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),o=!1;for(;e;){let r=!1,n="",s="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,(e=>" ".repeat(3*e.length))),u=e.split("\n",1)[0],c=!l.trim(),d=0;if(this.options.pedantic?(d=2,s=l.trimStart()):c?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=l.slice(d),d+=t[1].length),c&&this.rules.other.blankLine.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),r=!0),!r){let t=this.rules.other.nextBulletRegex(d),r=this.rules.other.hrRegex(d),a=this.rules.other.fencesBeginRegex(d),i=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d);for(;e;){let p,h=e.split("\n",1)[0];if(u=h,this.options.pedantic?(u=u.replace(this.rules.other.listReplaceNesting," "),p=u):p=u.replace(this.rules.other.tabCharGlobal," "),a.test(u)||i.test(u)||o.test(u)||t.test(u)||r.test(u))break;if(p.search(this.rules.other.nonSpaceChar)>=d||!u.trim())s+="\n"+p.slice(d);else{if(c||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||a.test(l)||i.test(l)||r.test(l))break;s+="\n"+u}!c&&!u.trim()&&(c=!0),n+=h+"\n",e=e.substring(h.length+1),l=p.slice(d)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(o=!0));let p,h=null;this.options.gfm&&(h=this.rules.other.listIsTask.exec(s),h&&(p="[ ] "!==h[0],s=s.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:n,task:!!h,checked:p,loose:!1,text:s,tokens:[]}),a.raw+=n}let s=a.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),a.raw=a.raw.trimEnd();for(let e=0;e<a.items.length;e++)if(this.lexer.state.top=!1,a.items[e].tokens=this.lexer.blockTokens(a.items[e].text,[]),!a.loose){let t=a.items[e].tokens.filter((e=>"space"===e.type)),r=t.length>0&&t.some((e=>this.rules.other.anyLine.test(e.raw)));a.loose=r}if(a.loose)for(let e=0;e<a.items.length;e++)a.items[e].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){var t;let r=this.rules.block.table.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let n=Nr(r[1]),a=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=null!=(t=r[3])&&t.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===a.length){for(let e of a)this.rules.other.tableAlignRight.test(e)?o.align.push("right"):this.rules.other.tableAlignCenter.test(e)?o.align.push("center"):this.rules.other.tableAlignLeft.test(e)?o.align.push("left"):o.align.push(null);for(let e=0;e<n.length;e++)o.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:o.align[e]});for(let e of i)o.rows.push(Nr(e,o.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:o.align[t]}))));return o}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=Pr(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r.slice(1):r.slice(1,-1)),Dr(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=t[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return Dr(r,e,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!n[1]&&!n[2]||!r||this.rules.inline.punctuation.exec(r))){let r,a,i=[...n[0]].length-1,o=i,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+i);null!=(n=l.exec(t));){if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!r)continue;if(a=[...r].length,n[3]||n[4]){o+=a;continue}if((n[5]||n[6])&&i%3&&!((i+a)%3)){s+=a;continue}if(o-=a,o>0)continue;a=Math.min(a,a+o+s);let t=[...n[0]][0].length,l=e.slice(0,i+n.index+t+a);if(Math.min(i,a)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return r&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return"@"===t[2]?(e=t[1],r="mailto:"+e):(e=t[1],r=e),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){var t;let r;if(r=this.rules.inline.url.exec(e)){let e,n;if("@"===r[2])e=r[0],n="mailto:"+e;else{let a;do{a=r[0],r[0]=(null==(t=this.rules.inline._backpedal.exec(r[0]))?void 0:t[0])??""}while(a!==r[0]);e=r[0],n="www."===r[1]?"http://"+r[0]:r[0]}return{type:"link",raw:r[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},Rr=class e{constructor(e){tt(this,"tokens"),tt(this,"options"),tt(this,"state"),tt(this,"tokenizer"),tt(this,"inlineQueue"),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Pt,this.options.tokenizer=this.options.tokenizer||new Br,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:Rt,block:Sr.normal,inline:jr.normal};this.options.pedantic?(t.block=Sr.pedantic,t.inline=jr.pedantic):this.options.gfm&&(t.block=Sr.gfm,this.options.breaks?t.inline=jr.breaks:t.inline=jr.gfm),this.tokenizer.rules=t}static get rules(){return{block:Sr,inline:jr}}static lex(t,r){return new e(r).lex(t)}static lexInline(t,r){return new e(r).inlineTokens(t)}lex(e){e=e.replace(Rt.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],r=!1){var n,a,i;for(this.options.pedantic&&(e=e.replace(Rt.tabCharGlobal," ").replace(Rt.spaceLine,""));e;){let o;if(null!=(a=null==(n=this.options.extensions)?void 0:n.block)&&a.some((r=>!!(o=r.call({lexer:this},e,t))&&(e=e.substring(o.raw.length),t.push(o),!0))))continue;if(o=this.tokenizer.space(e)){e=e.substring(o.raw.length);let r=t.at(-1);1===o.raw.length&&void 0!==r?r.raw+="\n":t.push(o);continue}if(o=this.tokenizer.code(e)){e=e.substring(o.raw.length);let r=t.at(-1);"paragraph"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type)?(r.raw+="\n"+o.raw,r.text+="\n"+o.text,this.inlineQueue.at(-1).src=r.text):t.push(o);continue}if(o=this.tokenizer.fences(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.heading(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.hr(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.blockquote(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.list(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.html(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.def(e)){e=e.substring(o.raw.length);let r=t.at(-1);"paragraph"===(null==r?void 0:r.type)||"text"===(null==r?void 0:r.type)?(r.raw+="\n"+o.raw,r.text+="\n"+o.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title});continue}if(o=this.tokenizer.table(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.lheading(e)){e=e.substring(o.raw.length),t.push(o);continue}let s=e;if(null!=(i=this.options.extensions)&&i.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach((e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(r=Math.min(r,t))})),r<1/0&&r>=0&&(s=e.substring(0,r+1))}if(this.state.top&&(o=this.tokenizer.paragraph(s))){let n=t.at(-1);r&&"paragraph"===(null==n?void 0:n.type)?(n.raw+="\n"+o.raw,n.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(o),r=s.length!==e.length,e=e.substring(o.raw.length)}else if(o=this.tokenizer.text(e)){e=e.substring(o.raw.length);let r=t.at(-1);"text"===(null==r?void 0:r.type)?(r.raw+="\n"+o.raw,r.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(o)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){var r,n,a;let i=e,o=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(i));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(i));)i=i.slice(0,o.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(i));)i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let s=!1,l="";for(;e;){let o;if(s||(l=""),s=!1,null!=(n=null==(r=this.options.extensions)?void 0:r.inline)&&n.some((r=>!!(o=r.call({lexer:this},e,t))&&(e=e.substring(o.raw.length),t.push(o),!0))))continue;if(o=this.tokenizer.escape(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.tag(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.link(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);let r=t.at(-1);"text"===o.type&&"text"===(null==r?void 0:r.type)?(r.raw+=o.raw,r.text+=o.text):t.push(o);continue}if(o=this.tokenizer.emStrong(e,i,l)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.codespan(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.br(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.del(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.autolink(e)){e=e.substring(o.raw.length),t.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(e))){e=e.substring(o.raw.length),t.push(o);continue}let u=e;if(null!=(a=this.options.extensions)&&a.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach((e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(r=Math.min(r,t))})),r<1/0&&r>=0&&(u=e.substring(0,r+1))}if(o=this.tokenizer.inlineText(u)){e=e.substring(o.raw.length),"_"!==o.raw.slice(-1)&&(l=o.raw.slice(-1)),s=!0;let r=t.at(-1);"text"===(null==r?void 0:r.type)?(r.raw+=o.raw,r.text+=o.text):t.push(o)}else if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},Mr=class{constructor(e){tt(this,"options"),tt(this,"parser"),this.options=e||Pt}space(e){return""}code({text:e,lang:t,escaped:r}){var n;let a=null==(n=(t||"").match(Rt.notSpaceStart))?void 0:n[0],i=e.replace(Rt.endingNewline,"")+"\n";return a?'<pre><code class="language-'+Or(a)+'">'+(r?i:Or(i,!0))+"</code></pre>\n":"<pre><code>"+(r?i:Or(i,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){let t=e.ordered,r=e.start,n="";for(let t=0;t<e.items.length;t++){let r=e.items[t];n+=this.listitem(r)}let a=t?"ol":"ul";return"<"+a+(t&&1!==r?' start="'+r+'"':"")+">\n"+n+"</"+a+">\n"}listitem(e){var t;let r="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===(null==(t=e.tokens[0])?void 0:t.type)?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+Or(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):r+=n+" "}return r+=this.parser.parse(e.tokens,!!e.loose),`<li>${r}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",r="";for(let t=0;t<e.header.length;t++)r+=this.tablecell(e.header[t]);t+=this.tablerow({text:r});let n="";for(let t=0;t<e.rows.length;t++){let a=e.rows[t];r="";for(let e=0;e<a.length;e++)r+=this.tablecell(a[e]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+n+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Or(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),a=_r(e);if(null===a)return n;let i='<a href="'+(e=a)+'"';return t&&(i+=' title="'+Or(t)+'"'),i+=">"+n+"</a>",i}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=_r(e);if(null===a)return Or(r);let i=`<img src="${e=a}" alt="${r}"`;return t&&(i+=` title="${Or(t)}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Or(e.text)}},$r=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},Fr=class e{constructor(e){tt(this,"options"),tt(this,"renderer"),tt(this,"textRenderer"),this.options=e||Pt,this.options.renderer=this.options.renderer||new Mr,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new $r}static parse(t,r){return new e(r).parse(t)}static parseInline(t,r){return new e(r).parseInline(t)}parse(e,t=!0){var r,n;let a="";for(let i=0;i<e.length;i++){let o=e[i];if(null!=(n=null==(r=this.options.extensions)?void 0:r.renderers)&&n[o.type]){let e=o,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){a+=t||"";continue}}let s=o;switch(s.type){case"space":a+=this.renderer.space(s);continue;case"hr":a+=this.renderer.hr(s);continue;case"heading":a+=this.renderer.heading(s);continue;case"code":a+=this.renderer.code(s);continue;case"table":a+=this.renderer.table(s);continue;case"blockquote":a+=this.renderer.blockquote(s);continue;case"list":a+=this.renderer.list(s);continue;case"html":a+=this.renderer.html(s);continue;case"paragraph":a+=this.renderer.paragraph(s);continue;case"text":{let r=s,n=this.renderer.text(r);for(;i+1<e.length&&"text"===e[i+1].type;)r=e[++i],n+="\n"+this.renderer.text(r);a+=t?this.renderer.paragraph({type:"paragraph",raw:n,text:n,tokens:[{type:"text",raw:n,text:n,escaped:!0}]}):n;continue}default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return a}parseInline(e,t=this.renderer){var r,n;let a="";for(let i=0;i<e.length;i++){let o=e[i];if(null!=(n=null==(r=this.options.extensions)?void 0:r.renderers)&&n[o.type]){let e=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){a+=e||"";continue}}let s=o;switch(s.type){case"escape":case"text":a+=t.text(s);break;case"html":a+=t.html(s);break;case"link":a+=t.link(s);break;case"image":a+=t.image(s);break;case"strong":a+=t.strong(s);break;case"em":a+=t.em(s);break;case"codespan":a+=t.codespan(s);break;case"br":a+=t.br(s);break;case"del":a+=t.del(s);break;default:{let e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return a}},Vr=(Tr=class{constructor(e){tt(this,"options"),tt(this,"block"),this.options=e||Pt}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?Rr.lex:Rr.lexInline}provideParser(){return this.block?Fr.parse:Fr.parseInline}},tt(Tr,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),Tr),Lr=class{constructor(...e){tt(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),tt(this,"options",this.setOptions),tt(this,"parse",this.parseMarkdown(!0)),tt(this,"parseInline",this.parseMarkdown(!1)),tt(this,"Parser",Fr),tt(this,"Renderer",Mr),tt(this,"TextRenderer",$r),tt(this,"Lexer",Rr),tt(this,"Tokenizer",Br),tt(this,"Hooks",Vr),this.use(...e)}walkTokens(e,t){var r,n;let a=[];for(let i of e)switch(a=a.concat(t.call(this,i)),i.type){case"table":{let e=i;for(let r of e.header)a=a.concat(this.walkTokens(r.tokens,t));for(let r of e.rows)for(let e of r)a=a.concat(this.walkTokens(e.tokens,t));break}case"list":{let e=i;a=a.concat(this.walkTokens(e.items,t));break}default:{let e=i;null!=(n=null==(r=this.defaults.extensions)?void 0:r.childTokens)&&n[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{let n=e[r].flat(1/0);a=a.concat(this.walkTokens(n,t))})):e.tokens&&(a=a.concat(this.walkTokens(e.tokens,t)))}}return a}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];t.renderers[e.name]=r?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),r.extensions=t),e.renderer){let t=this.defaults.renderer||new Mr(this.defaults);for(let r in e.renderer){if(!(r in t))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let n=r,a=e.renderer[n],i=t[n];t[n]=(...e)=>{let r=a.apply(t,e);return!1===r&&(r=i.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new Br(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=r,a=e.tokenizer[n],i=t[n];t[n]=(...e)=>{let r=a.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new Vr;for(let r in e.hooks){if(!(r in t))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=r,a=e.hooks[n],i=t[n];Vr.passThroughHooks.has(r)?t[n]=e=>{if(this.defaults.async)return Promise.resolve(a.call(t,e)).then((e=>i.call(t,e)));let r=a.call(t,e);return i.call(t,r)}:t[n]=(...e)=>{let r=a.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Rr.lex(e,t??this.defaults)}parser(e,t){return Fr.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},a={...this.defaults,...n},i=this.onError(!!a.silent,!!a.async);if(!0===this.defaults.async&&!1===n.async)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return i(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));a.hooks&&(a.hooks.options=a,a.hooks.block=e);let o=a.hooks?a.hooks.provideLexer():e?Rr.lex:Rr.lexInline,s=a.hooks?a.hooks.provideParser():e?Fr.parse:Fr.parseInline;if(a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(t):t).then((e=>o(e,a))).then((e=>a.hooks?a.hooks.processAllTokens(e):e)).then((e=>a.walkTokens?Promise.all(this.walkTokens(e,a.walkTokens)).then((()=>e)):e)).then((e=>s(e,a))).then((e=>a.hooks?a.hooks.postprocess(e):e)).catch(i);try{a.hooks&&(t=a.hooks.preprocess(t));let e=o(t,a);a.hooks&&(e=a.hooks.processAllTokens(e)),a.walkTokens&&this.walkTokens(e,a.walkTokens);let r=s(e,a);return a.hooks&&(r=a.hooks.postprocess(r)),r}catch(e){return i(e)}}}onError(e,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+Or(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}},Ur=new Lr;function Zr(e,t){return Ur.parse(e,t)}Zr.options=Zr.setOptions=function(e){return Ur.setOptions(e),Zr.defaults=Ur.defaults,Dt(Zr.defaults),Zr},Zr.getDefaults=Nt,Zr.defaults=Pt,Zr.use=function(...e){return Ur.use(...e),Zr.defaults=Ur.defaults,Dt(Zr.defaults),Zr},Zr.walkTokens=function(e,t){return Ur.walkTokens(e,t)},Zr.parseInline=Ur.parseInline,Zr.Parser=Fr,Zr.parser=Fr.parse,Zr.Renderer=Mr,Zr.TextRenderer=$r,Zr.Lexer=Rr,Zr.lexer=Rr.lex,Zr.Tokenizer=Br,Zr.Hooks=Vr,Zr.parse=Zr,Zr.options,Zr.setOptions,Zr.use,Zr.walkTokens,Zr.parseInline,Fr.parse,Rr.lex;const Qr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Gr=/&(?:amp|lt|gt|quot|#(?:0+)?39);/g,Kr=RegExp(Gr.source),Yr=(e="")=>Kr.test(e)?e.replace(Gr,(e=>Qr[e]||"'")):e,Wr=(e,t)=>{if(!t)return e;try{return new URL(e,t).href}catch{return e}};var Hr,qr,Jr,Xr,en,tn=class{constructor(e){tt(this,"renderer"),this.renderer=e.renderer}parse(e){this.renderer.elIdList.push(0);const t=e.map((e=>{switch(e.type){case"space":return null;case"heading":{const t=e.depth;return this.renderer.heading(this.parseInline(e.tokens),t)}case"paragraph":return this.renderer.paragraph(this.parseInline(e.tokens));case"text":{const t=e;return t.tokens?this.parseInline(t.tokens):e.text}case"blockquote":{const t=e,r=this.parse(t.tokens);return this.renderer.blockquote(r)}case"list":{const t=e;this.renderer.elIdList.push(0);const r=t.items.map((e=>{const t=[];return e.task&&t.push(this.renderer.checkbox(e.checked??!1)),t.push(this.parse(e.tokens)),this.renderer.listItem(t)}));return this.renderer.elIdList.pop(),this.renderer.list(r,e.ordered,e.ordered?e.start:void 0)}case"code":return this.renderer.code(e.text,e.lang);case"html":return this.renderer.html(e.text);case"table":{const t=e;this.renderer.elIdList.push(0);const r=t.header.map(((t,r)=>this.renderer.tableCell(this.parseInline(t.tokens),{header:!0,align:e.align[r]})));this.renderer.elIdList.pop();const n=this.renderer.tableRow(r),a=this.renderer.tableHeader(n);this.renderer.elIdList.push(0);const i=t.rows.map((t=>{this.renderer.elIdList.push(0);const r=t.map(((t,r)=>this.renderer.tableCell(this.parseInline(t.tokens),{header:!1,align:e.align[r]})));return this.renderer.elIdList.pop(),this.renderer.tableRow(r)}));this.renderer.elIdList.pop();const o=this.renderer.tableBody(i);return this.renderer.table([a,o])}case"hr":return this.renderer.hr();default:return console.warn(`Token with "${e.type}" type was not found`),null}}));return this.renderer.elIdList.pop(),t}parseInline(e=[]){this.renderer.elIdList.push(0);const t=e.map((e=>{switch(e.type){case"text":return this.renderer.text(Yr(e.text));case"strong":return this.renderer.strong(this.parseInline(e.tokens));case"em":return this.renderer.em(this.parseInline(e.tokens));case"del":return this.renderer.del(this.parseInline(e.tokens));case"codespan":return this.renderer.codespan(Yr(e.text));case"link":return this.renderer.link(e.href,this.parseInline(e.tokens));case"image":return this.renderer.image(e.href,e.text,e.title);case"html":return this.renderer.html(e.text);case"br":return this.renderer.br();case"escape":return this.renderer.text(e.text);default:return console.warn(`Token with "${e.type}" type was not found`),null}}));return this.renderer.elIdList.pop(),t}},rn=(en=class{constructor(e={}){at(this,qr),tt(this,"elIdList",[]),at(this,Hr);const{renderer:t}=e;((e,t,r)=>{rt(e,t,"write to private field"),t.set(e,r)})(this,Hr,e),t&&"object"==typeof t&&Object.entries(t).forEach((([e,t])=>{const r=e,n=t;!this[r]||"elementId"===r||"elIdList"===r||"function"!=typeof n||Object.defineProperty(this,r,{value(...e){return it(this,qr,Xr).call(this),n.apply(this,e)},writable:!0,enumerable:!0,configurable:!0})}))}get elementId(){return this.elIdList.join("-")}heading(e,t){return it(this,qr,Jr).call(this,`h${t}`,e)}paragraph(e){return it(this,qr,Jr).call(this,"p",e)}link(e,t){const r=Wr(e,nt(this,Hr).baseURL),n=nt(this,Hr).openLinksInNewTab?"_blank":null;return it(this,qr,Jr).call(this,"a",t,{href:r,target:n})}image(e,t,r=null){const n=Wr(e,nt(this,Hr).baseURL);return it(this,qr,Jr).call(this,"img",null,{src:n,alt:t,title:r})}codespan(e,t=null){const r=t?`${nt(this,Hr).langPrefix}${t}`:null;return it(this,qr,Jr).call(this,"code",e,{className:r})}code(e,t){return it(this,qr,Jr).call(this,"pre",this.codespan(e,t))}blockquote(e){return it(this,qr,Jr).call(this,"blockquote",e)}list(e,t,r){return it(this,qr,Jr).call(this,t?"ol":"ul",e,t&&1!==r?{start:r}:{})}listItem(e){return it(this,qr,Jr).call(this,"li",e)}checkbox(e){return it(this,qr,Jr).call(this,"input",null,{type:"checkbox",disabled:!0,checked:e})}table(e){return it(this,qr,Jr).call(this,"table",e)}tableHeader(e){return it(this,qr,Jr).call(this,"thead",e)}tableBody(e){return it(this,qr,Jr).call(this,"tbody",e)}tableRow(e){return it(this,qr,Jr).call(this,"tr",e)}tableCell(e,t){const r=t.header?"th":"td";return it(this,qr,Jr).call(this,r,e,{align:t.align})}strong(e){return it(this,qr,Jr).call(this,"strong",e)}em(e){return it(this,qr,Jr).call(this,"em",e)}del(e){return it(this,qr,Jr).call(this,"del",e)}text(e){return e}html(e){return e}hr(){return it(this,qr,Jr).call(this,"hr")}br(){return it(this,qr,Jr).call(this,"br")}},Hr=new WeakMap,qr=new WeakSet,Jr=function(e,t=null,r={}){const n={key:`marked-react-${this.elementId}`,suppressHydrationWarning:!0};return it(this,qr,Xr).call(this),h.createElement(e,{...r,...n},t)},Xr=function(){this.elIdList[this.elIdList.length-1]+=1},en),nn=rn;const an={isInline:!1,breaks:!1,gfm:!0,baseURL:void 0,openLinksInNewTab:!0,langPrefix:"language-",renderer:void 0},on=new Lr;var sn=e=>{(e=>{if(e.value&&"string"!=typeof e.value)throw new TypeError("[marked-react]: Expected value to be of type string but got "+typeof e.value);if(e.children&&"string"!=typeof e.children)throw new TypeError("[marked-react]: Expected children to be of type string but got "+typeof e.children)})(e);const t={...an,...e},r=t.instance??on,n={breaks:t.breaks,gfm:t.gfm,tokenizer:r.defaults.tokenizer},a=t.value??t.children??"",i=t.isInline?r.Lexer.lexInline(a,n):r.lexer(a,n),o={renderer:new nn({renderer:t.renderer,baseURL:t.baseURL,openLinksInNewTab:t.openLinksInNewTab,langPrefix:t.langPrefix})},s=new tn(o),l=t.isInline?s.parseInline(i):s.parse(i);return h.createElement(h.Fragment,null,l)},ln=sn;const un=({bold:e=!1,children:t,size:r="small",hasBorder:n=!1,color:a="var(--malachite-text-primary)",backgroundColor:i,className:o="",style:s={}})=>{const l={fontFamily:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace',fontSize:(e=>{switch(e){case"xsmall":return"12px";case"small":default:return"14px";case"medium":return"16px";case"large":return"18px";case"xlarge":return"24px"}})(r),fontWeight:e?600:400,color:a,backgroundColor:n?"transparent":i||"#f5f5f5",borderRadius:"8px",border:n?"none":"1px solid #e8e8e8",padding:n?"0px":"4px 8px",display:"inline",...s};return z.jsx("code",{className:o,style:l,children:t})},cn=({children:e,margin:t="0",className:r="",style:n={}})=>{const a={fontSize:"24px",fontWeight:600,color:"var(--malachite-text-primary)",lineHeight:"1.3",margin:t,...n};return z.jsx("h1",{className:r,style:a,children:e})},dn=({children:e,className:t="",style:r={}})=>{const n={fontSize:"20px",fontWeight:600,color:"var(--malachite-text-primary)",lineHeight:"1.3",margin:0,...r};return z.jsx("h3",{className:t,style:n,children:e})},pn=e=>{switch(e){case"primary":default:return"var(--malachite-text-primary)";case"secondary":return"var(--malachite-text-secondary)";case"dimmed":return"var(--malachite-text-dimmed)";case"destructive":return"var(--malachite-text-destructive)";case"success":return"var(--malachite-text-success)";case"warning":return"var(--malachite-text-warning)";case"error":return"var(--malachite-text-error)";case"link":return"var(--malachite-text-link-foreground)"}},hn=({underline:e=!1,children:t,color:r="primary",size:n="small",fontWeight:a="normal",tooltip:i,textAlign:o,className:s="",style:l={}})=>{const u={color:pn(r),fontSize:(e=>{switch(e){case"xsmall":return"12px";case"small":default:return"14px";case"medium":return"16px";case"large":return"18px";case"xlarge":return"24px"}})(n),fontWeight:(e=>{switch(e){case"normal":default:return 400;case"semi-bold":return 500;case"bold":return 600}})(a),textAlign:o,textDecoration:e?"underline":"none",display:o?"block":void 0,...l};return z.jsx("span",{className:s,style:u,title:i,children:t})},fn=({color:e,size:t,omitMargin:r})=>({blockquote:e=>z.jsxs(z.Fragment,{children:[z.jsx("br",{}),z.jsx("div",{style:{backgroundColor:"var(--malachite-card-dimmed-background)",padding:"20px",borderRadius:"20px",border:"1px solid var(--malachite-card-border)"},children:Array.isArray(e)?e[0]:e}),z.jsx("br",{})]}),paragraph:e=>z.jsx("div",{style:{marginBottom:r?"0px":"16px"},children:e},`paragraph-${Math.random().toString(36).substr(2,9)}`),codespan:e=>z.jsx(un,{size:t,children:Array.isArray(e)?e[0]:e},`paragraph-${Math.random().toString(36).substr(2,9)}`),heading:(e,t)=>z.jsxs(z.Fragment,{children:[1===t?z.jsx(cn,{children:Array.isArray(e)?e[0]:e},`paragraph-${Math.random().toString(36).substr(2,9)}`):z.jsx(dn,{children:Array.isArray(e)?e[0]:e},`paragraph-${Math.random().toString(36).substr(2,9)}`),z.jsx("br",{})]}),br:()=>z.jsx("br",{}),text:r=>z.jsx(hn,{color:e,size:t,children:Array.isArray(r)?r[0]:r},`paragraph-${Math.random().toString(36).substr(2,9)}`),strong:r=>z.jsx(hn,{fontWeight:"bold",color:e,size:t,children:Array.isArray(r)?r[0]:r},`paragraph-${Math.random().toString(36).substr(2,9)}`),link:(e,t)=>z.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--malachite-text-link-foreground)",textDecoration:"underline",fontWeight:"bold"},onMouseEnter:e=>{e.currentTarget.style.color="var(--malachite-text-link-foreground-hover)"},onMouseLeave:e=>{e.currentTarget.style.color="var(--malachite-text-link-foreground)"},children:t},`paragraph-${Math.random().toString(36).substr(2,9)}`),listItem:e=>{const t=`list-item-${Math.random().toString(36).substr(2,9)}`;return z.jsx("li",{style:{padding:"4px 0px"},children:e},t)}}),mn=e=>{const t=e.split("\n"),r=Math.min(...t.filter((e=>""!==e.trim())).map((e=>{var t;return(null==(t=e.match(/^[ \t]*(?=\S)/gm))?void 0:t[0].length)??0})));return t.map((e=>e.replace(new RegExp(`^[ \\t]{${r}}`,"gm"),""))).join("\n")},gn=({text:e,color:t,size:r,omitMargin:n})=>e?z.jsx(ln,{value:mn(e),renderer:fn({color:t,size:r,omitMargin:n})}):null,vn=({text:e,type:t})=>z.jsx(gn,{text:e,color:(e=>{switch(e){case"info":default:return"primary";case"success":return"success";case"error":return"error";case"warning":return"warning"}})(t),size:"small",omitMargin:!0}),yn=({type:e="info",message:t,hasMargin:r=!0,className:n,children:a,isExpanded:i,onToggle:o})=>{const s=!!a,[l,u]=h.useState(!1),c=void 0!==i?i:l,d={width:"16px",height:"16px",flexShrink:0},p={info:z.jsx(It,{style:d}),success:z.jsx(Ct,{style:d}),error:z.jsx(Et,{style:d}),warning:z.jsx(_t,{style:d})},f=["alert-base",`alert-${e}`,"flex","w-full",s&&c?"flex-col":"gap-2 items-center min-h-[2rem]",r?"":"alert-no-margin","text-left",s?"rounded-xl !p-0":"!px-2.5 !py-1.5",n].filter(Boolean).join(" "),m=["flex items-center justify-between w-full",s?"gap-2 px-2.5 py-1":"gap-2",s&&c?"rounded-t-[12px]":s?"rounded-[12px]":""].filter(Boolean).join(" "),g=["w-full","overflow-hidden"].filter(Boolean).join(" ");return s?z.jsxs("div",{className:`${f} alert-expandable`,children:[z.jsxs("div",{className:m,children:[z.jsxs("div",{className:"flex-1 flex gap-2 items-center",children:[p[e],z.jsx("div",{className:"flex-1 flex items-center",children:z.jsx("div",{className:"[&>div]:mb-0",children:z.jsx(vn,{text:t,type:e})})})]}),z.jsx("div",{className:"flex items-center gap-2",children:z.jsx(ut,{variant:"no-style",size:"xsmall",onClick:()=>{const e=!c;void 0===i&&u(e),null==o||o(e)},"aria-label":c?"Collapse":"Expand",style:{color:pn(e)},children:c?z.jsx(kt,{style:{minWidth:"13px",minHeight:"13px"}}):z.jsx(xt,{style:{minWidth:"13px",minHeight:"13px"}})})})]}),c&&z.jsx(z.Fragment,{children:z.jsx("div",{className:g,children:z.jsx("div",{className:"bg-white rounded-[10px] shadow-[0px_1px_0px_0px_rgba(0,0,0,0.15)] border border-[#e8e8e8] border-solid mx-2 mb-2 max-h-[553px] overflow-y-auto",children:a})})})]}):z.jsxs("div",{className:f,children:[p[e],z.jsx("div",{className:"flex-1 flex items-center",children:z.jsx("div",{className:"[&>div]:mb-0",children:z.jsx(vn,{text:t,type:e})})})]})},bn=({control:e,name:t,children:r})=>z.jsx(he,{control:e,name:t,render:({field:e,fieldState:t})=>z.jsx("div",{"data-field-name":e.name,"data-has-error":!!t.error,children:r})}),wn=({direction:e="horizontal",size:t=8,children:r,align:n,justifyContent:a,padding:i,id:o,fullHeight:s=!1,fullWidth:l=!1,className:u=""})=>{const c="vertical"===e?"column":"row",d=h.useMemo((()=>{switch(n){case"center":default:return"center";case"start":return"flex-start";case"end":return"flex-end";case"baseline":return"baseline";case"stretch":return"stretch"}}),[n]),p=h.useMemo((()=>{switch(a){case"space-between":return"space-between";case"center":return"center";case"end":return"flex-end";default:return"flex-start"}}),[a]),m=f.Children.toArray(r);return z.jsx("div",{id:o,className:`flex ${u}`.trim(),style:{flexDirection:c,alignItems:d,justifyContent:p,gap:`${t}px`,padding:i,height:s?"100%":void 0,width:l?"100%":void 0},children:m.map(((e,t)=>z.jsx(f.Fragment,{children:e},t)))})},xn={minWidth:0,overflow:"hidden"},kn=({text:e,children:t,delay:r=1,wrapChildren:n=!1,placement:a="top",isShrinkable:i=!1})=>{const o=i?xn:void 0,[s,l]=h.useState(!1),u=h.useRef(null),c=h.useRef(null),d=h.useRef(null),[,p]=h.useState({});return h.useEffect((()=>{const e=()=>{s&&p({})};return window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{u.current&&clearTimeout(u.current),window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}),[s]),z.jsxs(z.Fragment,{children:[z.jsx("div",{ref:d,className:"relative flex items-center",style:o,onMouseEnter:e=>{e.stopPropagation(),u.current&&clearTimeout(u.current),u.current=setTimeout((()=>{l(!0)}),1e3*r)},onMouseLeave:e=>{e.stopPropagation(),u.current&&clearTimeout(u.current),l(!1)},children:n?z.jsx("span",{children:t}):t}),Je.createPortal(z.jsx("div",{ref:c,role:"tooltip",style:(()=>{if(!d.current)return{display:"none"};const e=d.current.getBoundingClientRect(),t={position:"fixed",zIndex:2147483647,display:"flex",width:"max-content",maxWidth:"320px",minWidth:"32px",minHeight:"32px",padding:"8px 12px",alignItems:"center",gap:"8px",borderRadius:"12px",backgroundColor:"var(--malachite-tooltip-background, rgb(59, 59, 59))",color:"var(--malachite-tooltip-foreground, rgb(255, 255, 255))",boxShadow:"var(--malachite-tooltip-shadow, 0px 0px 10px 0px rgba(0, 0, 0, 0.20))",fontSize:"14px",lineHeight:"1.4",wordWrap:"break-word",whiteSpace:"normal",textAlign:"left",pointerEvents:"none",opacity:s?1:0,visibility:s?"visible":"hidden",transition:"opacity 150ms ease-in-out, transform 150ms ease-in-out, visibility 150ms ease-in-out"};switch(a){case"top":default:return{...t,top:e.top-8,left:e.left+e.width/2,transform:"translate(-50%, -100%) "+(s?"scale(1)":"scale(0.95)")};case"bottom":return{...t,top:e.bottom+8,left:e.left+e.width/2,transform:"translateX(-50%) "+(s?"scale(1)":"scale(0.95)")};case"left":return{...t,top:e.top+e.height/2,left:e.left-8,transform:"translate(-100%, -50%) "+(s?"scale(1)":"scale(0.95)")};case"right":return{...t,top:e.top+e.height/2,left:e.right+8,transform:"translateY(-50%) "+(s?"scale(1)":"scale(0.95)")}}})(),children:e}),document.body)]})},Cn=({label:e,hint:t,tooltip:r,name:n,description:a,required:i=!1,loading:o=!1,formControl:s,loadingComponent:l,children:u})=>{const c=s?z.jsx(bn,{control:s,name:n,children:u}):u;return z.jsxs(wn,{direction:"vertical",size:6,align:"stretch",children:[(e??t??a)&&z.jsxs(wn,{direction:"vertical",size:4,align:"stretch",children:[z.jsxs("div",{className:"flex justify-between items-start",children:[z.jsx(Sn,{text:e,required:i,tooltip:r}),t&&z.jsx(An,{text:t})]}),a&&z.jsx(En,{text:a})]}),o?l:c]})},An=({text:e})=>z.jsx(hn,{size:"xsmall",color:"dimmed",className:"pr-2 relative top-[3px]",children:e}),En=({text:e})=>z.jsx("div",{className:"pl-2 text-left",children:z.jsx(gn,{color:"dimmed",size:"small",text:e??"",omitMargin:!0})}),Sn=({text:e,required:t,tooltip:r})=>e?z.jsxs("div",{className:"flex items-center",children:[z.jsxs(hn,{size:"xsmall",color:"primary",fontWeight:"semi-bold",className:"pl-2",children:[e,!t&&z.jsx(hn,{size:"xsmall",color:"dimmed",className:"ml-1",children:"(Optional)"})]}),r&&z.jsx(kn,{text:r,placement:"right",children:z.jsx(zt,{size:14,className:"ml-1 -mt-[2px] text-[var(--malachite-text-dimmed)] cursor-help"})})]}):z.jsx("div",{}),jn=({buttons:e,className:t=""})=>z.jsx("div",{className:`flex flex-col gap-1 w-full ${t}`,children:e.map((e=>z.jsx("button",{onClick:e.onClick,className:"flex justify-between items-center w-full h-10 px-3 py-2.5 \n bg-[var(--malachite-buttonlist-background)] \n hover:bg-[var(--malachite-buttonlist-hover-background)] \n focus:bg-[var(--malachite-buttonlist-hover-background)] \n active:opacity-60 \n border-none rounded-xl shadow-none \n transition-all duration-150 ease-in-out \n cursor-pointer \n text-[var(--malachite-buttonlist-foreground)] \n hover:text-[var(--malachite-buttonlist-hover-foreground)] \n focus:text-[var(--malachite-buttonlist-hover-foreground)]\n focus:outline-none",children:e.children},e.key)))}),zn=({title:e,children:t,padding:r="20px",size:n="default",width:a,minWidth:i,dimmed:o=!1,direction:s,align:l,fullHeight:u=!1,border:c="base",alignSelf:d,height:p,footer:f,glassFooter:m=!1,className:g="",style:v={},headerConfig:y={}})=>{const b=h.useRef(null),[w,x]=h.useState(0);h.useEffect((()=>{if(m&&f&&b.current){const e=new ResizeObserver((e=>{for(const t of e)x(t.contentRect.height)}));return e.observe(b.current),x(b.current.offsetHeight),()=>e.disconnect()}}),[m,f]);const k=["card-base",o?"card-dimmed":"","rounded"===c?"card-rounded":"",u?"h-full":"",p?"flex flex-col":"","small"===n?"text-sm":"",g].filter(Boolean).join(" "),C=parseInt(r)||20,A={padding:r,display:s?"flex":void 0,flexDirection:s,alignItems:l,...p&&{overflow:"auto",height:"100%"},...m&&f&&w>0&&{paddingBottom:`${C+w+10}px`}},E={width:a,minWidth:i,alignSelf:d,...u&&{height:"100%"},...p&&{height:p,display:"flex",flexDirection:"column"},...m&&f&&{position:"relative"},overflow:"hidden",...v};return z.jsxs("div",{className:k,style:E,children:[e&&z.jsx("div",{className:"card-header px-3 py-2",style:{marginBottom:"1px",fontSize:"small"===n?"12px":"13px",fontWeight:"normal",padding:null==y?void 0:y.padding},children:z.jsx("div",{className:"font-normal overflow-visible",children:e})}),z.jsx("div",{className:"flex-1",style:{...A,...m&&f&&{position:"relative"}},children:t}),f&&z.jsx("div",{ref:m?b:void 0,className:"card-footer px-4 py-3",style:m?{backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)",backgroundColor:"rgba(255, 255, 255, 0.7)",position:"absolute",bottom:0,left:0,right:0,borderBottomLeftRadius:"rounded"===c?"20px":"12px",borderBottomRightRadius:"rounded"===c?"20px":"12px"}:void 0,children:f})]})};function In(){return In=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},In.apply(null,arguments)}function On(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}var _n={},Nn=h.createContext(_n),Pn=(e,t)=>In({},e,t),Dn=h.createContext((()=>{}));function Tn(){return h.useContext(Dn)}Dn.displayName="JVR.DispatchShowTools";var Bn=e=>{var{initial:t,dispatch:r,children:n}=e;return z.jsx(Nn.Provider,{value:t,children:z.jsx(Dn.Provider,{value:r,children:n})})};Bn.displayName="JVR.ShowTools";var Rn={},Mn=h.createContext(Rn),$n=(e,t)=>In({},e,t),Fn=()=>h.useContext(Mn),Vn=h.createContext((()=>{}));Vn.displayName="JVR.DispatchExpands";var Ln=e=>{var{initial:t,dispatch:r,children:n}=e;return z.jsx(Mn.Provider,{value:t,children:z.jsx(Vn.Provider,{value:r,children:n})})};Ln.displayName="JVR.Expands";var Un={Str:{as:"span","data-type":"string",style:{color:"var(--w-rjv-type-string-color, #cb4b16)"},className:"w-rjv-type",children:"string"},Url:{as:"a",style:{color:"var(--w-rjv-type-url-color, #0969da)"},"data-type":"url",className:"w-rjv-type",children:"url"},Undefined:{style:{color:"var(--w-rjv-type-undefined-color, #586e75)"},as:"span","data-type":"undefined",className:"w-rjv-type",children:"undefined"},Null:{style:{color:"var(--w-rjv-type-null-color, #d33682)"},as:"span","data-type":"null",className:"w-rjv-type",children:"null"},Map:{style:{color:"var(--w-rjv-type-map-color, #268bd2)",marginRight:3},as:"span","data-type":"map",className:"w-rjv-type",children:"Map"},Nan:{style:{color:"var(--w-rjv-type-nan-color, #859900)"},as:"span","data-type":"nan",className:"w-rjv-type",children:"NaN"},Bigint:{style:{color:"var(--w-rjv-type-bigint-color, #268bd2)"},as:"span","data-type":"bigint",className:"w-rjv-type",children:"bigint"},Int:{style:{color:"var(--w-rjv-type-int-color, #268bd2)"},as:"span","data-type":"int",className:"w-rjv-type",children:"int"},Set:{style:{color:"var(--w-rjv-type-set-color, #268bd2)",marginRight:3},as:"span","data-type":"set",className:"w-rjv-type",children:"Set"},Float:{style:{color:"var(--w-rjv-type-float-color, #859900)"},as:"span","data-type":"float",className:"w-rjv-type",children:"float"},True:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},False:{style:{color:"var(--w-rjv-type-boolean-color, #2aa198)"},as:"span","data-type":"bool",className:"w-rjv-type",children:"bool"},Date:{style:{color:"var(--w-rjv-type-date-color, #268bd2)"},as:"span","data-type":"date",className:"w-rjv-type",children:"date"}},Zn=h.createContext(Un),Qn=(e,t)=>In({},e,t),Gn=()=>h.useContext(Zn),Kn=h.createContext((()=>{}));function Yn(e){var{initial:t,dispatch:r,children:n}=e;return z.jsx(Zn.Provider,{value:t,children:z.jsx(Kn.Provider,{value:r,children:n})})}Kn.displayName="JVR.DispatchTypes",Yn.displayName="JVR.Types";var Wn=["style"];function Hn(e){var{style:t}=e,r=On(e,Wn),n=In({cursor:"pointer",height:"1em",width:"1em",userSelect:"none",display:"inline-flex"},t);return z.jsx("svg",In({viewBox:"0 0 24 24",fill:"var(--w-rjv-arrow-color, currentColor)",style:n},r,{children:z.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})}))}Hn.displayName="JVR.TriangleArrow";var qn={Arrow:{as:"span",className:"w-rjv-arrow",style:{transform:"rotate(0deg)",transition:"all 0.3s"},children:z.jsx(Hn,{})},Colon:{as:"span",style:{color:"var(--w-rjv-colon-color, var(--w-rjv-color))",marginLeft:0,marginRight:2},className:"w-rjv-colon",children:":"},Quote:{as:"span",style:{color:"var(--w-rjv-quotes-color, #236a7c)"},className:"w-rjv-quotes",children:'"'},ValueQuote:{as:"span",style:{color:"var(--w-rjv-quotes-string-color, #cb4b16)"},className:"w-rjv-quotes",children:'"'},BracketsLeft:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-start",children:"["},BracketsRight:{as:"span",style:{color:"var(--w-rjv-brackets-color, #236a7c)"},className:"w-rjv-brackets-end",children:"]"},BraceLeft:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-start",children:"{"},BraceRight:{as:"span",style:{color:"var(--w-rjv-curlybraces-color, #236a7c)"},className:"w-rjv-curlybraces-end",children:"}"}},Jn=h.createContext(qn),Xn=(e,t)=>In({},e,t),ea=()=>h.useContext(Jn),ta=h.createContext((()=>{}));ta.displayName="JVR.DispatchSymbols";var ra=e=>{var{initial:t,dispatch:r,children:n}=e;return z.jsx(Jn.Provider,{value:t,children:z.jsx(ta.Provider,{value:r,children:n})})};ra.displayName="JVR.Symbols";var na={Copied:{className:"w-rjv-copied",style:{height:"1em",width:"1em",cursor:"pointer",verticalAlign:"middle",marginLeft:5}},CountInfo:{as:"span",className:"w-rjv-object-size",style:{color:"var(--w-rjv-info-color, #0000004d)",paddingLeft:8,fontStyle:"italic"}},CountInfoExtra:{as:"span",className:"w-rjv-object-extra",style:{paddingLeft:8}},Ellipsis:{as:"span",style:{cursor:"pointer",color:"var(--w-rjv-ellipsis-color, #cb4b16)",userSelect:"none"},className:"w-rjv-ellipsis",children:"..."},Row:{as:"div",className:"w-rjv-line"},KeyName:{as:"span",className:"w-rjv-object-key"}},aa=h.createContext(na),ia=(e,t)=>In({},e,t),oa=()=>h.useContext(aa),sa=h.createContext((()=>{}));sa.displayName="JVR.DispatchSection";var la=e=>{var{initial:t,dispatch:r,children:n}=e;return z.jsx(aa.Provider,{value:t,children:z.jsx(sa.Provider,{value:r,children:n})})};la.displayName="JVR.Section";var ua={objectSortKeys:!1,indentWidth:15},ca=h.createContext(ua);ca.displayName="JVR.Context";var da=h.createContext((()=>{}));function pa(e,t){return In({},e,t)}da.displayName="JVR.DispatchContext";var ha=()=>h.useContext(ca),fa=e=>{var{children:t,initialState:r,initialTypes:n}=e,[a,i]=h.useReducer(pa,Object.assign({},ua,r)),[o,s]=h.useReducer(Pn,_n),[l,u]=h.useReducer($n,Rn),[c,d]=h.useReducer(Qn,Un),[p,f]=h.useReducer(Xn,qn),[m,g]=h.useReducer(ia,na);return h.useEffect((()=>i(In({},r))),[r]),z.jsx(ca.Provider,{value:a,children:z.jsx(da.Provider,{value:i,children:z.jsx(Bn,{initial:o,dispatch:s,children:z.jsx(Ln,{initial:l,dispatch:u,children:z.jsx(Yn,{initial:In({},c,n),dispatch:d,children:z.jsx(ra,{initial:p,dispatch:f,children:z.jsx(la,{initial:m,dispatch:g,children:t})})})})})})})};fa.displayName="JVR.Provider";var ma=["isNumber","value","parentValue","keyName","keys"],ga=["as","render"],va=["as","render"],ya=["as","render"],ba=["as","style","render"],wa=["as","render"],xa=["as","render"],ka=["as","render"],Ca=["as","render"],Aa=e=>{var{Quote:t={}}=ea(),{isNumber:r,value:n,parentValue:a,keyName:i,keys:o}=e,s=On(e,ma);if(r)return null;var{as:l,render:u}=t,c=l||"span",d=In({},s,On(t,ga));return u&&"function"==typeof u&&u(d,{value:n,parentValue:a,keyName:i,keys:o||(i?[i]:[])})||z.jsx(c,In({},d))};Aa.displayName="JVR.Quote";var Ea=e=>{var{ValueQuote:t={}}=ea(),r=In({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),e)),{as:n,render:a}=t,i=n||"span",o=In({},r,On(t,va));return a&&"function"==typeof a&&a(o,{})||z.jsx(i,In({},o))};Ea.displayName="JVR.ValueQuote";var Sa=e=>{var{value:t,parentValue:r,keyName:n,keys:a}=e,{Colon:i={}}=ea(),{as:o,render:s}=i,l=On(i,ya),u=o||"span";return s&&"function"==typeof s&&s(l,{value:t,parentValue:r,keyName:n,keys:a||(n?[n]:[])})||z.jsx(u,In({},l))};Sa.displayName="JVR.Colon";var ja=e=>{var{Arrow:t={}}=ea(),r=Fn(),{expandKey:n,style:a,value:i,parentValue:o,keyName:s,keys:l}=e,u=!!r[n],{as:c,style:d,render:p}=t,h=On(t,ba),f=c||"span",m=p&&"function"==typeof p,g=In({},h,{"data-expanded":u,style:In({},d,a)});return m&&p(g,{value:i,parentValue:o,keyName:s,keys:l||(s?[s]:[])})||z.jsx(f,In({},h,{style:In({},d,a)}))};ja.displayName="JVR.Arrow";var za=e=>{var{isBrackets:t,value:r,parentValue:n,keyName:a,keys:i}=e,{BracketsLeft:o={},BraceLeft:s={}}=ea(),l={value:r,parentValue:n,keyName:a,keys:i||(a?[a]:[])};if(t){var{as:u,render:c}=o,d=On(o,wa),p=u||"span";return c&&"function"==typeof c&&c(d,l)||z.jsx(p,In({},d))}var{as:h,render:f}=s,m=On(s,xa),g=h||"span";return f&&"function"==typeof f&&f(m,l)||z.jsx(g,In({},m))};za.displayName="JVR.BracketsOpen";var Ia=e=>{var{isBrackets:t,isVisiable:r,value:n,parentValue:a,keyName:i,keys:o}=e,s={value:n,parentValue:a,keyName:i,keys:o||(i?[i]:[])};if(!r)return null;var{BracketsRight:l={},BraceRight:u={}}=ea();if(t){var{as:c,render:d}=l,p=On(l,ka),h=c||"span";return d&&"function"==typeof d&&d(p,s)||z.jsx(h,In({},p))}var{as:f,render:m}=u,g=On(u,Ca),v=f||"span";return m&&"function"==typeof m&&m(g,s)||z.jsx(v,In({},g))};Ia.displayName="JVR.BracketsClose";var Oa=e=>{var t,{keyName:r,value:n,expandKey:a,parentValue:i,level:o,keys:s=[]}=e,l=Fn(),{collapsed:u,shouldExpandNodeInitially:c}=ha(),d="boolean"==typeof u?u:"number"==typeof u&&o>u,p=null!=(t=l[a])?t:d,h=c&&c(p,{value:n,keys:s,level:o,keyName:r,parentValue:i});if(void 0===l[a]&&h)return null;var f=Object.keys(n).length;if(p||0===f)return null;var m={keyName:r,value:n,keys:s,parentValue:i},g=Array.isArray(n),v=n instanceof Set;return z.jsx("div",{style:{paddingLeft:4},children:z.jsx(Ia,In({isBrackets:g||v},m,{isVisiable:!0}))})};Oa.displayName="JVR.NestedClose";var _a=["as","render"],Na=["as","render"],Pa=["as","render"],Da=["as","render"],Ta=["as","render"],Ba=["as","render"],Ra=["as","render"],Ma=["as","render"],$a=["as","render"],Fa=["as","render"],Va=["as","render"],La=["as","render"],Ua=["as","render"],Za=e=>{if(void 0===e)return"0n";if("string"==typeof e)try{e=BigInt(e)}catch{return"0n"}return e?e.toString()+"n":"0n"},Qa=e=>{var{value:t,keyName:r}=e,{Set:n={},displayDataTypes:a}=Gn();if(!(t instanceof Set)||!a)return null;var{as:i,render:o}=n,s=On(n,_a),l=o&&"function"==typeof o&&o(s,{type:"type",value:t,keyName:r});if(l)return l;var u=i||"span";return z.jsx(u,In({},s))};Qa.displayName="JVR.SetComp";var Ga=e=>{var{value:t,keyName:r}=e,{Map:n={},displayDataTypes:a}=Gn();if(!(t instanceof Map)||!a)return null;var{as:i,render:o}=n,s=On(n,Na),l=o&&"function"==typeof o&&o(s,{type:"type",value:t,keyName:r});if(l)return l;var u=i||"span";return z.jsx(u,In({},s))};Ga.displayName="JVR.MapComp";var Ka={opacity:.75,paddingRight:4},Ya=e=>{var{children:t="",keyName:r,keys:n}=e,{Str:a={},displayDataTypes:i}=Gn(),{shortenTextAfterLength:o=30,stringEllipsis:s="..."}=ha(),{as:l,render:u}=a,c=On(a,Pa),d=t,[p,f]=h.useState(o&&d.length>o);h.useEffect((()=>f(o&&d.length>o)),[o]);var m=l||"span",g=In({},Ka,a.style||{});o>0&&(c.style=In({},c.style,{cursor:d.length<=o?"initial":"pointer"}),d.length>o&&(c.onClick=()=>{f(!p)}));var v=p?""+d.slice(0,o)+s:d,y=u&&"function"==typeof u,b=y&&u(In({},c,{style:g}),{type:"type",value:t,keyName:r,keys:n}),w=p?"w-rjv-value w-rjv-value-short":"w-rjv-value",x=y&&u(In({},c,{children:v,className:w}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(b||z.jsx(m,In({},c,{style:g}))),x||z.jsxs(h.Fragment,{children:[z.jsx(Ea,{}),z.jsx(m,In({},c,{className:w,children:v})),z.jsx(Ea,{})]})]})};Ya.displayName="JVR.TypeString";var Wa=e=>{var{children:t,keyName:r,keys:n}=e,{True:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Da),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f||z.jsx(u,In({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};Wa.displayName="JVR.TypeTrue";var Ha=e=>{var{children:t,keyName:r,keys:n}=e,{False:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Ta),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f||z.jsx(u,In({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};Ha.displayName="JVR.TypeFalse";var qa=e=>{var{children:t,keyName:r,keys:n}=e,{Float:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Ba),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f||z.jsx(u,In({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};qa.displayName="JVR.TypeFloat";var Ja=e=>{var{children:t,keyName:r,keys:n}=e,{Int:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Ra),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f||z.jsx(u,In({},l,{className:"w-rjv-value",children:null==t?void 0:t.toString()}))]})};Ja.displayName="JVR.TypeInt";var Xa=e=>{var{children:t,keyName:r,keys:n}=e,{Bigint:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Ma),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f||z.jsx(u,In({},l,{className:"w-rjv-value",children:Za(null==t?void 0:t.toString())}))]})};Xa.displayName="JVR.TypeFloat";var ei=e=>{var{children:t,keyName:r,keys:n}=e,{Url:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,$a),u=o||"span",c=In({},Ka,a.style),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:null==t?void 0:t.href,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f||z.jsxs("a",In({href:null==t?void 0:t.href,target:"_blank"},l,{className:"w-rjv-value",children:[z.jsx(Ea,{}),null==t?void 0:t.href,z.jsx(Ea,{})]}))]})};ei.displayName="JVR.TypeUrl";var ti=e=>{var{children:t,keyName:r,keys:n}=e,{Date:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Fa),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=t instanceof Date?t.toLocaleString():t,m=d&&s(In({},l,{children:f,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),m||z.jsx(u,In({},l,{className:"w-rjv-value",children:f}))]})};ti.displayName="JVR.TypeDate";var ri=e=>{var{children:t,keyName:r,keys:n}=e,{Undefined:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Va),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f]})};ri.displayName="JVR.TypeUndefined";var ni=e=>{var{children:t,keyName:r,keys:n}=e,{Null:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,La),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:t,className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f]})};ni.displayName="JVR.TypeNull";var ai=e=>{var{children:t,keyName:r,keys:n}=e,{Nan:a={},displayDataTypes:i}=Gn(),{as:o,render:s}=a,l=On(a,Ua),u=o||"span",c=In({},Ka,a.style||{}),d=s&&"function"==typeof s,p=d&&s(In({},l,{style:c}),{type:"type",value:t,keyName:r,keys:n}),f=d&&s(In({},l,{children:null==t?void 0:t.toString(),className:"w-rjv-value"}),{type:"value",value:t,keyName:r,keys:n});return z.jsxs(h.Fragment,{children:[i&&(p||z.jsx(u,In({},l,{style:c}))),f]})};ai.displayName="JVR.TypeNan";var ii=e=>{var{value:t,keyName:r,keys:n}=e,a={keyName:r,keys:n};return t instanceof URL?z.jsx(ei,In({},a,{children:t})):"string"==typeof t?z.jsx(Ya,In({},a,{children:t})):!0===t?z.jsx(Wa,In({},a,{children:t})):!1===t?z.jsx(Ha,In({},a,{children:t})):null===t?z.jsx(ni,In({},a,{children:t})):void 0===t?z.jsx(ri,In({},a,{children:t})):t instanceof Date?z.jsx(ti,In({},a,{children:t})):"number"==typeof t&&isNaN(t)?z.jsx(ai,In({},a,{children:t})):"number"==typeof t&&(e=>Number(e)===e&&e%1!=0||isNaN(e))(t)?z.jsx(qa,In({},a,{children:t})):"bigint"==typeof t?z.jsx(Xa,In({},a,{children:t})):"number"==typeof t?z.jsx(Ja,In({},a,{children:t})):null};function oi(e,t,r){var n=h.useContext(ta),a=[e.className,t.className].filter(Boolean).join(" "),i=In({},e,t,{className:a,style:In({},e.style,t.style),children:t.children||e.children});h.useEffect((()=>n({[r]:i})),[t])}function si(e,t,r){var n=h.useContext(Kn),a=[e.className,t.className].filter(Boolean).join(" "),i=In({},e,t,{className:a,style:In({},e.style,t.style),children:t.children||e.children});h.useEffect((()=>n({[r]:i})),[t])}function li(e,t,r){var n=h.useContext(sa),a=[e.className,t.className].filter(Boolean).join(" "),i=In({},e,t,{className:a,style:In({},e.style,t.style),children:t.children||e.children});h.useEffect((()=>n({[r]:i})),[t])}ii.displayName="JVR.Value";var ui=["as","render"],ci=e=>{var{KeyName:t={}}=oa();return li(t,e,"KeyName"),null};ci.displayName="JVR.KeyName";var di=e=>{var{children:t,value:r,parentValue:n,keyName:a,keys:i}=e,o={color:"number"==typeof t?"var(--w-rjv-key-number, #268bd2)":"var(--w-rjv-key-string, #002b36)"},{KeyName:s={}}=oa(),{as:l,render:u}=s,c=On(s,ui);c.style=In({},c.style,o);var d=l||"span";return u&&"function"==typeof u&&u(In({},c,{children:t}),{value:r,parentValue:n,keyName:a,keys:i||(a?[a]:[])})||z.jsx(d,In({},c,{children:t}))};di.displayName="JVR.KeyNameComp";var pi=["children","value","parentValue","keyName","keys"],hi=["as","render","children"],fi=e=>{var{Row:t={}}=oa();return li(t,e,"Row"),null};fi.displayName="JVR.Row";var mi=e=>{var{children:t,value:r,parentValue:n,keyName:a,keys:i}=e,o=On(e,pi),{Row:s={}}=oa(),{as:l,render:u}=s,c=On(s,hi),d=l||"div";return u&&"function"==typeof u&&u(In({},o,c,{children:t}),{value:r,keyName:a,parentValue:n,keys:i})||z.jsx(d,In({},o,c,{children:t}))};function gi(e){var{value:t,highlightUpdates:r,highlightContainer:n}=e,a=function(e){var t=h.useRef();return h.useEffect((()=>{t.current=e})),t.current}(t),i=h.useMemo((()=>!(!r||void 0===a)&&(typeof t!=typeof a||("number"==typeof t?(!isNaN(t)||!isNaN(a))&&t!==a:Array.isArray(t)!==Array.isArray(a)||"object"!=typeof t&&"function"!=typeof t&&(t!==a||void 0)))),[r,t]);h.useEffect((()=>{n&&n.current&&i&&"animate"in n.current&&n.current.animate([{backgroundColor:"var(--w-rjv-update-color, #ebcb8b)"},{backgroundColor:""}],{duration:1e3,easing:"ease-in"})}),[i,t,n])}mi.displayName="JVR.RowComp";var vi=["keyName","value","parentValue","expandKey","keys"],yi=["as","render"],bi=e=>{var{keyName:t,value:r,parentValue:n,expandKey:a,keys:i}=e,o=On(e,vi),{onCopied:s,enableClipboard:l}=ha(),u=h.useContext(Nn)[a],[c,d]=h.useState(!1),{Copied:p={}}=oa();if(!1===l||!u)return null;var f={style:{display:"inline-flex"},fill:c?"var(--w-rjv-copied-success-color, #28a745)":"var(--w-rjv-copied-color, currentColor)",onClick:e=>{e.stopPropagation();var t="";t="number"==typeof r&&r===1/0?"Infinity":"number"==typeof r&&isNaN(r)?"NaN":"bigint"==typeof r?Za(r):r instanceof Date?r.toLocaleString():JSON.stringify(r,((e,t)=>"bigint"==typeof t?Za(t):t),2),s&&s(t,r),d(!0);var n=navigator.clipboard||{writeText:e=>new Promise(((t,r)=>{var n=document.createElement("textarea");n.style.position="absolute",n.style.opacity="0",n.style.left="-99999999px",n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy")?t():r(),n.remove()}))};n.writeText(t).then((()=>{var e=setTimeout((()=>{d(!1),clearTimeout(e)}),3e3)})).catch((e=>{}))}},{render:m}=p,g=On(p,yi),v=In({},g,o,f,{style:In({},g.style,o.style,f.style)});return m&&"function"==typeof m&&m(In({},v,{"data-copied":c}),{value:r,keyName:t,keys:i,parentValue:n})||(c?z.jsx("svg",In({viewBox:"0 0 32 36"},v,{children:z.jsx("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,15.2249049 C29.1403264,13.8627542 29.9736597,13.1778155 30,13.1700887 C30,11.9705278 30,10.0804982 30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,26.1114493 L27.5,28.4926435 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M28.5589286,16 L32,19.6 L21.0160714,30.5382252 L13.5303571,24.2571429 L17.1303571,20.6571429 L21.0160714,24.5428571 L28.5589286,16 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})):z.jsx("svg",In({viewBox:"0 0 32 36"},v,{children:z.jsx("path",{d:"M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,20 L30,20 L30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,29 L27.5,29 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M22.5,21.5 L22.5,16.5 L12.5,24 L22.5,31.5 L22.5,26.5 L32,26.5 L32,21.5 L22.5,21.5 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z"})})))};function wi(){var e=h.useRef(null);return null===e.current&&(e.current="custom-id-"+Math.random().toString(36).substr(2,9)),e.current}bi.displayName="JVR.Copied";var xi=e=>{var t,{keyName:r,value:n,expandKey:a="",level:i,keys:o=[],parentValue:s}=e,l=Fn(),{objectSortKeys:u,indentWidth:c,collapsed:d,shouldExpandNodeInitially:p}=ha(),h="boolean"==typeof d?d:"number"==typeof d&&i>d,f=null!=(t=l[a])?t:h,m=p&&p(f,{value:n,keys:o,level:i,keyName:r,parentValue:s});if(void 0===l[a]&&m||f)return null;var g=Array.isArray(n)?Object.entries(n).map((e=>[Number(e[0]),e[1]])):Object.entries(n);u&&(g=!0===u?g.sort(((e,t)=>{var[r]=e,[n]=t;return"string"==typeof r&&"string"==typeof n?r.localeCompare(n):0})):g.sort(((e,t)=>{var[r,n]=e,[a,i]=t;return"string"==typeof r&&"string"==typeof a?u(r,a,n,i):0})));var v={borderLeft:"var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",paddingLeft:c,marginLeft:6};return z.jsx("div",{className:"w-rjv-wrap",style:v,children:g.map(((e,t)=>{var[r,a]=e;return z.jsx(Ci,{parentValue:n,keyName:r,keys:[...o,r],value:a,level:i},t)}))})};xi.displayName="JVR.KeyValues";var ki=e=>{var{keyName:t,parentValue:r,keys:n,value:a}=e,{highlightUpdates:i}=ha(),o="number"==typeof t,s=h.useRef(null);gi({value:a,highlightUpdates:i,highlightContainer:s});var l={keyName:t,value:a,keys:n,parentValue:r};return z.jsxs(h.Fragment,{children:[z.jsxs("span",{ref:s,children:[z.jsx(Aa,In({isNumber:o,"data-placement":"left"},l)),z.jsx(di,In({},l,{children:t})),z.jsx(Aa,In({isNumber:o,"data-placement":"right"},l))]}),z.jsx(Sa,In({},l))]})};ki.displayName="JVR.KayName";var Ci=e=>{var{keyName:t,value:r,parentValue:n,level:a=0,keys:i=[]}=e,o=Tn(),s=wi(),l=Array.isArray(r),u=r instanceof Set,c=r instanceof Map,d=r instanceof Date,p=r instanceof URL;if(r&&"object"==typeof r&&!l&&!u&&!c&&!d&&!p||l||u||c){var h=u?Array.from(r):c?Object.fromEntries(r):r;return z.jsx(Ri,{keyName:t,value:h,parentValue:n,initialValue:r,keys:i,level:a+1})}var f={onMouseEnter:()=>o({[s]:!0}),onMouseLeave:()=>o({[s]:!1})};return z.jsxs(mi,In({className:"w-rjv-line",value:r,keyName:t,keys:i,parentValue:n},f,{children:[z.jsx(ki,{keyName:t,value:r,keys:i,parentValue:n}),z.jsx(ii,{keyName:t,value:r,keys:i}),z.jsx(bi,{keyName:t,value:r,keys:i,parentValue:n,expandKey:s})]}))};Ci.displayName="JVR.KeyValuesItem";var Ai=["value","keyName"],Ei=["as","render"],Si=e=>{var{CountInfoExtra:t={}}=oa();return li(t,e,"CountInfoExtra"),null};Si.displayName="JVR.CountInfoExtra";var ji=e=>{var{value:t={},keyName:r}=e,n=On(e,Ai),{CountInfoExtra:a={}}=oa(),{as:i,render:o}=a,s=On(a,Ei);if(!o&&!s.children)return null;var l=i||"span",u=o&&"function"==typeof o,c=In({},s,n);return u&&o(c,{value:t,keyName:r})||z.jsx(l,In({},c))};ji.displayName="JVR.CountInfoExtraComps";var zi=["value","keyName"],Ii=["as","render"],Oi=e=>{var{CountInfo:t={}}=oa();return li(t,e,"CountInfo"),null};Oi.displayName="JVR.CountInfo";var _i=e=>{var{value:t={},keyName:r}=e,n=On(e,zi),{displayObjectSize:a}=ha(),{CountInfo:i={}}=oa();if(!a)return null;var{as:o,render:s}=i,l=On(i,Ii),u=o||"span";l.style=In({},l.style,e.style);var c=Object.keys(t).length;l.children||(l.children=c+" item"+(1===c?"":"s"));var d=In({},l,n);return s&&"function"==typeof s&&s(In({},d,{"data-length":c}),{value:t,keyName:r})||z.jsx(u,In({},d))};_i.displayName="JVR.CountInfoComp";var Ni=["as","render"],Pi=e=>{var{Ellipsis:t={}}=oa();return li(t,e,"Ellipsis"),null};Pi.displayName="JVR.Ellipsis";var Di=e=>{var{isExpanded:t,value:r,keyName:n}=e,{Ellipsis:a={}}=oa(),{as:i,render:o}=a,s=On(a,Ni),l=i||"span";return o&&"function"==typeof o&&o(In({},s,{"data-expanded":t}),{value:r,keyName:n})||(!t||"object"==typeof r&&0==Object.keys(r).length?null:z.jsx(l,In({},s)))};Di.displayName="JVR.EllipsisComp";var Ti=e=>{var t,{keyName:r,expandKey:n,keys:a=[],initialValue:i,value:o,parentValue:s,level:l}=e,u=Fn(),c=h.useContext(Vn),{onExpand:d,collapsed:p,shouldExpandNodeInitially:f}=ha(),m="boolean"==typeof p?p:"number"==typeof p&&l>p,g=null!=(t=u[n])?t:m,v=f&&f(g,{value:o,keys:a,level:l,keyName:r,parentValue:s});void 0===u[n]&&f&&(g=!!v);var y={transform:"rotate("+(g?"-90":"0")+"deg)",transition:"all 0.3s"},b=Object.keys(o).length,w="object"==typeof o,x=Array.isArray(o),k=o instanceof Set,C=0!==b&&(x||k||w),A={style:{display:"inline-flex",alignItems:"center"}};C&&(A.onClick=()=>{var e={expand:!g,value:o,keyid:n,keyName:r};d&&d(e),c({[n]:e.expand})});var E={keyName:r,value:o,keys:a,parentValue:s};return z.jsxs("span",In({},A,{children:[C&&z.jsx(ja,In({style:y,expandKey:n},E)),(r||"number"==typeof r)&&z.jsx(ki,In({},E)),z.jsx(Qa,{value:i,keyName:r}),z.jsx(Ga,{value:i,keyName:r}),z.jsx(za,In({isBrackets:x||k},E)),z.jsx(Di,{keyName:r,value:o,isExpanded:g}),z.jsx(Ia,In({isVisiable:g||!C,isBrackets:x||k},E)),z.jsx(_i,{value:o,keyName:r}),z.jsx(ji,{value:o,keyName:r}),z.jsx(bi,{keyName:r,value:o,expandKey:n,parentValue:s,keys:a})]}))};Ti.displayName="JVR.NestedOpen";var Bi=["className","children","parentValue","keyid","level","value","initialValue","keys","keyName"],Ri=h.forwardRef(((e,t)=>{var{className:r="",parentValue:n,level:a=1,value:i,initialValue:o,keys:s,keyName:l}=e,u=On(e,Bi),c=Tn(),d=wi(),p=[r,"w-rjv-inner"].filter(Boolean).join(" "),h={onMouseEnter:()=>c({[d]:!0}),onMouseLeave:()=>c({[d]:!1})};return z.jsxs("div",In({className:p,ref:t},u,h,{children:[z.jsx(Ti,{expandKey:d,value:i,level:a,keys:s,parentValue:n,keyName:l,initialValue:o}),z.jsx(xi,{expandKey:d,value:i,level:a,keys:s,parentValue:n,keyName:l}),z.jsx(Oa,{expandKey:d,value:i,level:a,keys:s,parentValue:n,keyName:l})]}))}));Ri.displayName="JVR.Container";var Mi=e=>{var{BraceLeft:t={}}=ea();return oi(t,e,"BraceLeft"),null};Mi.displayName="JVR.BraceLeft";var $i=e=>{var{BraceRight:t={}}=ea();return oi(t,e,"BraceRight"),null};$i.displayName="JVR.BraceRight";var Fi=e=>{var{BracketsLeft:t={}}=ea();return oi(t,e,"BracketsLeft"),null};Fi.displayName="JVR.BracketsLeft";var Vi=e=>{var{BracketsRight:t={}}=ea();return oi(t,e,"BracketsRight"),null};Vi.displayName="JVR.BracketsRight";var Li=e=>{var{Arrow:t={}}=ea();return oi(t,e,"Arrow"),null};Li.displayName="JVR.Arrow";var Ui=e=>{var{Colon:t={}}=ea();return oi(t,e,"Colon"),null};Ui.displayName="JVR.Colon";var Zi=e=>{var{Quote:t={}}=ea();return oi(t,e,"Quote"),null};Zi.displayName="JVR.Quote";var Qi=e=>{var{ValueQuote:t={}}=ea();return oi(t,e,"ValueQuote"),null};Qi.displayName="JVR.ValueQuote";var Gi=e=>{var{Bigint:t={}}=Gn();return si(t,e,"Bigint"),null};Gi.displayName="JVR.Bigint";var Ki=e=>{var{Date:t={}}=Gn();return si(t,e,"Date"),null};Ki.displayName="JVR.Date";var Yi=e=>{var{False:t={}}=Gn();return si(t,e,"False"),null};Yi.displayName="JVR.False";var Wi=e=>{var{Float:t={}}=Gn();return si(t,e,"Float"),null};Wi.displayName="JVR.Float";var Hi=e=>{var{Int:t={}}=Gn();return si(t,e,"Int"),null};Hi.displayName="JVR.Int";var qi=e=>{var{Map:t={}}=Gn();return si(t,e,"Map"),null};qi.displayName="JVR.Map";var Ji=e=>{var{Nan:t={}}=Gn();return si(t,e,"Nan"),null};Ji.displayName="JVR.Nan";var Xi=e=>{var{Null:t={}}=Gn();return si(t,e,"Null"),null};Xi.displayName="JVR.Null";var eo=e=>{var{Set:t={}}=Gn();return si(t,e,"Set"),null};eo.displayName="JVR.Set";var to=e=>{var{Str:t={}}=Gn();return si(t,e,"Str"),null};to.displayName="JVR.StringText";var ro=e=>{var{True:t={}}=Gn();return si(t,e,"True"),null};ro.displayName="JVR.True";var no=e=>{var{Undefined:t={}}=Gn();return si(t,e,"Undefined"),null};no.displayName="JVR.Undefined";var ao=e=>{var{Url:t={}}=Gn();return si(t,e,"Url"),null};ao.displayName="JVR.Url";var io=e=>{var{Copied:t={}}=oa();return li(t,e,"Copied"),null};io.displayName="JVR.Copied";var oo=["className","style","value","children","collapsed","shouldExpandNodeInitially","indentWidth","displayObjectSize","shortenTextAfterLength","stringEllipsis","highlightUpdates","enableClipboard","displayDataTypes","objectSortKeys","onExpand","onCopied"],so=h.forwardRef(((e,t)=>{var{className:r="",style:n,value:a,children:i,collapsed:o,shouldExpandNodeInitially:s,indentWidth:l=15,displayObjectSize:u=!0,shortenTextAfterLength:c=30,stringEllipsis:d,highlightUpdates:p=!0,enableClipboard:h=!0,displayDataTypes:f=!0,objectSortKeys:m=!1,onExpand:g,onCopied:v}=e,y=On(e,oo),b=In({lineHeight:1.4,fontFamily:"var(--w-rjv-font-family, Menlo, monospace)",color:"var(--w-rjv-color, #002b36)",backgroundColor:"var(--w-rjv-background-color, #00000000)",fontSize:13},n),w=["w-json-view-container","w-rjv",r].filter(Boolean).join(" ");return z.jsxs(fa,{initialState:{value:a,objectSortKeys:m,indentWidth:l,shouldExpandNodeInitially:s,displayObjectSize:u,collapsed:o,enableClipboard:h,shortenTextAfterLength:c,stringEllipsis:d,highlightUpdates:p,onCopied:v,onExpand:g},initialTypes:{displayDataTypes:f},children:[z.jsx(Ri,In({value:a},y,{ref:t,className:w,style:b})),i]})}));so.Bigint=Gi,so.Date=Ki,so.False=Yi,so.Float=Wi,so.Int=Hi,so.Map=qi,so.Nan=Ji,so.Null=Xi,so.Set=eo,so.String=to,so.True=ro,so.Undefined=no,so.Url=ao,so.ValueQuote=Qi,so.Arrow=Li,so.Colon=Ui,so.Quote=Zi,so.Ellipsis=Pi,so.BraceLeft=Mi,so.BraceRight=$i,so.BracketsLeft=Fi,so.BracketsRight=Vi,so.Copied=io,so.CountInfo=Oi,so.CountInfoExtra=Si,so.KeyName=ci,so.Row=fi,so.displayName="JVR.JsonView";const lo=({code:e,json:t,showLineNumbers:r=!0,className:n="",style:a={},height:i,enableCopy:o=!0})=>{if(t)return z.jsx("div",{className:`border rounded-lg overflow-hidden ${n}`,style:{backgroundColor:"var(--malachite-codeblock-background)",borderColor:"var(--malachite-codeblock-border)",height:i,...a},children:z.jsx(so,{value:t,style:{backgroundColor:"var(--malachite-codeblock-background)",color:"var(--malachite-codeblock-foreground)",fontSize:"14px",fontFamily:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace',padding:"16px",lineHeight:"1.5",textAlign:"left","--w-rjv-color":"var(--malachite-codeblock-foreground)","--w-rjv-key-string":"var(--malachite-codeblock-keyword)","--w-rjv-background-color":"var(--malachite-codeblock-background)","--w-rjv-line-color":"var(--malachite-codeblock-border)","--w-rjv-arrow-color":"var(--malachite-codeblock-line-number)","--w-rjv-edit-color":"var(--malachite-codeblock-keyword)","--w-rjv-info-color":"var(--malachite-codeblock-line-number)","--w-rjv-update-color":"var(--malachite-codeblock-keyword)","--w-rjv-copied-color":"var(--malachite-codeblock-string)","--w-rjv-copied-success-color":"var(--malachite-codeblock-string)","--w-rjv-curlybraces-color":"var(--malachite-codeblock-foreground)","--w-rjv-colon-color":"var(--malachite-codeblock-foreground)","--w-rjv-brackets-color":"var(--malachite-codeblock-foreground)","--w-rjv-quotes-color":"var(--malachite-codeblock-string)","--w-rjv-quotes-string-color":"var(--malachite-codeblock-string)","--w-rjv-type-string-color":"var(--malachite-codeblock-string)","--w-rjv-type-int-color":"var(--malachite-codeblock-number)","--w-rjv-type-float-color":"var(--malachite-codeblock-number)","--w-rjv-type-bigint-color":"var(--malachite-codeblock-number)","--w-rjv-type-boolean-color":"var(--malachite-codeblock-keyword)","--w-rjv-type-date-color":"var(--malachite-codeblock-string)","--w-rjv-type-url-color":"var(--malachite-codeblock-keyword)","--w-rjv-type-null-color":"var(--malachite-codeblock-comment)","--w-rjv-type-nan-color":"var(--malachite-codeblock-comment)","--w-rjv-type-undefined-color":"var(--malachite-codeblock-comment)"},displayDataTypes:!1,enableClipboard:o,collapsed:!1,displayObjectSize:!1})});return z.jsxs("div",{className:`border rounded-lg overflow-hidden ${n}`,style:{backgroundColor:"var(--malachite-codeblock-background)",borderColor:"var(--malachite-codeblock-border)",height:i,...a},children:[o&&e&&z.jsx("div",{className:"flex justify-end p-2 border-b",style:{borderColor:"var(--malachite-codeblock-border)"},children:z.jsx("button",{onClick:()=>{navigator.clipboard.writeText(e)},className:"px-2 py-1 text-xs rounded hover:opacity-70",style:{color:"var(--malachite-codeblock-line-number)",backgroundColor:"transparent"},children:"Copy"})}),(()=>{if(!e)return null;const t=e.split("\n");return z.jsx("div",{className:"p-4 overflow-auto text-left",children:t.map(((e,t)=>{const n=t+1;return z.jsxs("div",{className:"flex items-start",style:{minHeight:"20px"},children:[r&&z.jsx("span",{className:"select-none pr-4 text-right flex-shrink-0",style:{color:"var(--malachite-codeblock-line-number)",width:"40px",fontSize:"14px",lineHeight:"20px"},children:n}),z.jsx("span",{className:"flex-1 text-left",style:{color:"var(--malachite-codeblock-foreground)",fontSize:"14px",lineHeight:"20px",fontFamily:'SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace',textAlign:"left",whiteSpace:"pre"},children:e||" "})]},t)}))})})()]})},uo=({size:e="medium"})=>z.jsx("div",{className:`w-full ${(e=>{switch(e){case"small":return"h-8";case"medium":default:return"h-10";case"large":return"h-12"}})(e)} rounded-[12px] border border-solid border-[var(--malachite-card-border)] bg-[var(--malachite-card-border)] flex items-center justify-center shadow-[var(--malachite-shadow-default)]`}),co=({isOpen:e,onClick:t,selectedItem:r,disabled:n=!1,error:a=!1,placeholder:i,search:o=!1,searchQuery:s="",onSearchChange:l,onFocusOpen:u})=>{const c=a?"border-[var(--malachite-destructive-border)]":e?"border-[var(--malachite-success-border-hover)]":"border-[var(--malachite-card-border)]",d=n?"":a?"hover:border-[var(--malachite-destructive-border-hover)]":"hover:border-[var(--malachite-primary-border-hover)]";return o&&!n?z.jsxs("div",{className:`\n relative w-full h-[42px] px-4 py-2.5 rounded-xl \n bg-[var(--malachite-card-background)] \n border border-solid ${c}\n ${d}\n ${a?"shadow-error":"shadow-default"}\n transition-all duration-200\n flex items-center\n `,onClick:e=>e.stopPropagation(),children:[z.jsx("input",{type:"text",value:e?s:(null==r?void 0:r.label)??"",onChange:r=>{r.stopPropagation(),null==l||l(r.target.value),e||t()},onFocus:()=>{null==u||u()},placeholder:i??"Select Field",className:"flex-1 bg-transparent outline-none text-[var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-primary)] placeholder:text-[var(--malachite-text-dimmed)]"}),z.jsx("div",{className:"flex items-center justify-center pl-2",children:z.jsx("span",{onClick:e=>{e.stopPropagation(),t()},className:"flex items-center justify-center",children:z.jsx(xt,{size:13,className:"text-[var(--malachite-text-dimmed)] transition-transform duration-200 "+(e?"rotate-180":"")})})})]}):z.jsxs("button",{type:"button",onClick:e=>{e.stopPropagation(),t()},disabled:n,className:`\n relative w-full h-[42px] px-4 py-2.5 rounded-xl \n bg-[var(--malachite-card-background)] \n border border-solid ${c}\n ${d}\n ${a?"shadow-error":"shadow-default"}\n transition-all duration-200\n flex items-center justify-between\n disabled:bg-[var(--malachite-card-dimmed-background)]\n disabled:cursor-not-allowed\n `,children:[z.jsx("div",{className:"text-left flex-1 flex items-center gap-1",children:r?z.jsxs(z.Fragment,{children:[z.jsx(hn,{size:"small",color:"primary",className:"flex-1",children:r.label}),r.subtitle&&z.jsxs(z.Fragment,{children:[z.jsx(hn,{size:"small",color:"dimmed",className:"mx-2",children:"|"}),z.jsx(hn,{size:"small",color:"dimmed",children:r.subtitle})]})]}):z.jsx(hn,{size:"small",color:"dimmed",className:"flex-1",children:i??"Select Field"})}),z.jsx("div",{className:"flex items-center justify-center",children:z.jsx(xt,{size:13,className:"text-[var(--malachite-text-dimmed)] transition-transform duration-200 "+(e?"rotate-180":"")})})]})},po=({item:e,selected:t,onItemSelected:r})=>{const n=t?"bg-[var(--malachite-success-background-glass)]":"hover:bg-[var(--malachite-card-dimmed-background)]",a=t?"text-[var(--malachite-text-success)]":"text-[var(--malachite-text-primary)]",i="muted"===e.rightSideTextVariant?"text-[var(--malachite-text-right-side-text-muted)]":"text-[var(--malachite-text-right-side-text-primary)]",o="left"===e.rightSideTextAlignment?"justify-start":"justify-end";return z.jsx("div",{className:`min-h-[38px] rounded-lg flex items-center p-[10px] gap-2.5 cursor-pointer transition-colors ${n}`,onClick:t=>{t.stopPropagation(),r(e)},children:z.jsxs("div",{className:"flex-1 flex items-center gap-3",children:[z.jsx("div",{className:"flex-1",children:z.jsxs("div",{className:"flex items-center",children:[z.jsx("span",{className:`text-[15px] font-normal ${a}`,children:e.label}),e.subtitle&&z.jsxs(z.Fragment,{children:[z.jsx("span",{className:"text-[length:var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-dimmed)] mx-2",children:"|"}),z.jsx("span",{className:"text-[length:var(--malachite-font-size-medium)] font-normal text-[var(--malachite-text-dimmed)]",children:e.subtitle})]})]})}),z.jsx("div",{className:`w-20 flex ${o}`,children:e.rightSideText&&z.jsx("span",{className:`text-[12px] font-medium ${i}`,children:e.rightSideText})})]})})},ho=({items:e,onItemSelected:t,selectedItem:r})=>z.jsx("div",{className:"absolute top-full left-0 right-0 mt-2 bg-[var(--malachite-card-background)] border border-solid border-[var(--malachite-card-border)] rounded-xl shadow-[0px_2px_5px_0px_var(--malachite-card-shadow)] z-50 max-h-[400px] overflow-hidden",children:z.jsx("div",{className:"flex flex-col gap-1 p-[6px] max-h-[400px] overflow-y-auto",children:e.map(((n,a)=>z.jsxs(f.Fragment,{children:[z.jsx(po,{item:n,onItemSelected:t,selected:n.id===(null==r?void 0:r.id)||!1}),a<e.length-1&&z.jsx("div",{className:"h-px bg-[var(--malachite-card-border)]"})]},n.id)))})}),fo=({items:e,onItemSelected:t,defaultValue:r,disabled:n=!1,error:a=!1,label:i,hint:o,tooltip:s,name:l,required:u=!1,loading:c,formControl:d,description:p,helperText:f,placeholder:m,search:g=!1})=>{const[v,y]=h.useState(!1),[b,w]=h.useState(e.find((e=>e.id===r))),[x,k]=h.useState(""),C=h.useRef(null);h.useEffect((()=>{const e=e=>{v&&C.current&&!C.current.contains(e.target)&&(y(!1),g&&k(""))};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)}),[v,g]);return z.jsxs(Cn,{label:i,hint:o,tooltip:s,name:l,required:u,loading:c,formControl:d,description:p,loadingComponent:z.jsx(uo,{size:"medium"}),children:[z.jsxs("div",{ref:C,className:"relative w-full",children:[z.jsx(co,{isOpen:v,onClick:()=>!n&&y(!v),selectedItem:b,disabled:n,error:a,placeholder:m,search:g,searchQuery:x,onSearchChange:k,onFocusOpen:()=>y(!0)}),v&&z.jsx(ho,{items:g&&x?e.filter((e=>((e,t)=>{const r=t.toLowerCase(),n=e.label.toLowerCase().includes(r),a=!!e.subtitle&&e.subtitle.toLowerCase().includes(r),i=!!e.rightSideText&&e.rightSideText.toLowerCase().includes(r);return n||a||i})(e,x))):e,onItemSelected:e=>{w(e),y(!1),g&&k(""),null==t||t(null==e?void 0:e.id)},selectedItem:b})]}),f&&z.jsx("div",{className:"mt-1 text-[13px] text-[var(--malachite-text-dimmed)] text-left pl-2",children:f})]})};var mo=(e=>(e.XSmall="xsmall",e.Small="small",e.Medium="medium",e.Large="large",e))(mo||{}),go=(e=>(e.Left="flex-start",e.Right="flex-end",e.Center="center",e.SpaceBetween="space-between",e.SpaceAround="space-around",e.SpaceEvenly="space-evenly",e))(go||{}),vo=(e=>(e.Top="flex-start",e.Bottom="flex-end",e.Center="center",e.Normal="normal",e))(vo||{}),yo=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(yo||{});const bo=({justify:e="center",align:t="center",gapSize:r,direction:n="horizontal",fullHeight:a=!1,grow:i=!1,width:o,id:s,children:l,className:u=""})=>{const c=r?(e=>{switch(e){case"xsmall":return 8;case"small":return 12;case"medium":return 24;case"large":return 36}})(r):void 0,d={display:"flex",flexDirection:"vertical"===n?"column":"row",justifyContent:e,alignItems:t,gap:c?`${c}px`:void 0,height:a?"100%":void 0,flex:i?1:void 0,width:o||void 0};return z.jsx("div",{id:s,className:u,style:d,children:l})},wo=({children:e,href:t,target:r="_self",rel:n,className:a="",showRightBorder:i=!1,showLeftBorder:o=!1,padding:s=!1,color:l="default",fontSize:u="base"})=>{const c=[o&&"border-l border-[var(--malachite-text-dimmed)]",i&&"border-r border-[var(--malachite-text-dimmed)]"].filter(Boolean).join(" ");return z.jsx("a",{href:t,target:r,rel:n,className:`no-underline cursor-pointer transition-colors duration-200 ease-in-out ${"dimmed"===l?"text-[var(--malachite-text-dimmed)]":"text-[var(--malachite-text-link-foreground)] hover:text-[var(--malachite-text-link-foreground-hover)]"} ${c} ${s?"px-[10px]":""} ${"sm"===u?"text-[13px]":""} ${a}`,children:e})},xo=({fullWidth:e=!1,showDocsSupport:t=!1})=>z.jsxs(wn,{direction:"horizontal",size:10,fullWidth:e,justifyContent:e?"space-between":void 0,align:"center",children:[z.jsx(wo,{href:"https://www.stackone.com",target:"_blank",rel:"noopener noreferrer",children:z.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzQAAAHgCAYAAABzQihnAAAgAElEQVR4Xuy92ZYt11WtnbINjUfgkkc4l1ye8wBqTbzBDy/0PwLwAGBOgwsq24ArCks2ciVLNiBXsi3jGku2Ze8TI/bssXv0GGOutZUz9s7M2XdrUq4VEbPqM3Ll+NYo4oUPf/jDj278zwpYAStgBazACQr86le/uvn1r399g5/vvfdejPLoN7/5TRx7Ic49evRovSb+xfF4H/998IMfjOteiJ/t3Poax+KaF154Idq8gKl/4AMfWNvGcfyLNkv/a9s4Hq9xPn7ien7NY0Y/GFdfx/sPfehDa/88ZhzP5oBreS68pmqeWIv2ibXHccwZWlVzQB/ZHLC+mIeuizVgrXpt9Lqs3aL/n7700kt/eMLt5y6tgBWYRIEXDDST7LSXaQWsgBU4QQHAyjvvvLPCyLvvvrvCC/5To5rfZ5AAgxfXAUbYkGcY0SVlEJSBhYLP8n6xqx89oaAESBSGGDIwTwar6JOBDOfiWAYmrEdcG+0Z2OI1+sxAgbVgaAFsaf/cXwVsmXYMTwxUrIdCZQViMa6B5oRfTHdpBSZTwEAz2YZ7uVbACliB96vAL3/5y5sAl4CW+G95/+gXv/jFBgEKEwwAMGjD0I1v/tm4Z0M4Xve8IT0PBSAoxlCQYgM/zsEQV69DBgU4FvNmb5DOVQEhQKKByUHyCuYUgmK87BiABmCGuWTQVQEgwAReIdUE64G3JsbIPEi8bt5LhkTsu+oXbZf//sQemvf7W+l2VsAKrJ/39tD4RrACVsAKWAFVIDwvAS//8z//s8LLz372s7hkNegrA1ZhIPN6wJ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AoXAzRAoQXMz/OrqQuDiEdAqZ0z4HWlWZ8GRXc5Bcb/iR794yCN+sdeiBKuHSmJeGuLG83VkPNoz8da58c0Q5zTkLEuIfxYBx2LwSMSomyEhWq0rzlWBWEDFMhVybm85fIxxZQeHQwQVs8zt0v178cUXn2zOSwsli/+FC1N/hUAhUAgUAoVAIFCCpu6DQqAQuBECmkMDUstkWwsGOGKdiR91d5goZ8KHifcqjOtZ802cgMjEiAqFlUul5J/xcoTfYYxN1DWx24JxTnkWjooz3Z9MmAB7XI8qdLwOd2+w27bN7/oHP/jBFf4XAqYcmBt9TOviQqAQKATOGoESNGe9vbW4QuD5I8A5NCC9GlKkBF2FQZYPou00eZzzVtgRYUEDBNRdyQRAHIf7o6Se56Njo9oY/6vOhBNE6hLhPZ55k+UURV8xvyzMC6FtKqScWHL5L+6ZO9hfdqkyl0jnrYUA+h5dbc5Lc1viWTAhWuJ1HKu/QqAQKAQKgULgVARK0JyKVLUrBAoBi0CEnG0nvl79Yu/OrdyOLJ9ilf/CIWIRKnVK3gYIOoseXiTKKms75xq5EswsOICB5tDo2Ef5RplYY4HDY7nQOzcHFVa6HmDAD9BkzCEY+XlA27EoPhBOS3uQZQiVrQJZEy7xvxIu9aVSCBQChUAhcBsIlKC5DRSrj0LgghHYBM03G8n9fwrBRqRHpal4vfrj83BHggg7pwT9HPV5ypb83//93ynNwgVpa7npmKeO913XGP2HSDhlnJuuJcLBMB7KIsexGD/ex+v6KwQKgUKgECgE7gKBEjR3gXKNUQgUAoVAIVAIFAKFQCFQCBQCzwWB/w91phV6d4tqyAAAAABJRU5ErkJggg==",width:16,alt:"StackOne Logo",style:{opacity:1,marginLeft:"5px"}})}),t?z.jsxs(wn,{direction:"horizontal",size:10,children:[z.jsx(wo,{href:"https://docs.stackone.com",target:"_blank",rel:"noopener noreferrer",color:"dimmed",fontSize:"sm",padding:!0,showLeftBorder:!e,showRightBorder:!0,children:"Docs"}),z.jsx(wo,{href:"https://www.stackone.com/",rel:"noopener noreferrer",target:"_blank",color:"dimmed",fontSize:"sm",children:"Support"})]}):z.jsxs(wn,{direction:"horizontal",size:10,children:[z.jsx(wo,{href:"https://www.stackone.com/terms/end-customer-terms",target:"_blank",rel:"noopener noreferrer",color:"dimmed",fontSize:"sm",padding:!0,showLeftBorder:!e,showRightBorder:!0,children:"Terms"}),z.jsx(wo,{href:"https://www.stackone.com/terms/privacy-policy",target:"_blank",rel:"noopener noreferrer",color:"dimmed",fontSize:"sm",children:"Privacy"})]})]}),ko=({children:e,onFinish:t,className:r=""})=>z.jsx("form",{onSubmit:e=>{if(e.preventDefault(),t){const r=new FormData(e.currentTarget),n={};for(const[e,t]of r.entries())n[e]=t;t(n)}},className:`malachite-form space-y-4 ${r}`,style:{fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"14px",lineHeight:"1.5",width:"100%"},children:e}),Co=({margin:e,padding:t,className:r="",variant:n="default",grow:a=!1})=>{const i={height:"1px",width:"100%",margin:e?(e=>e?`${(e=>{switch(e){case"xsmall":return 8;case"small":return 12;case"medium":return 24;case"large":return 36}})(e)}px`:void 0)(e):void 0,padding:t?(e=>e?`${(e=>{switch(e){case"xsmall":return 1;case"small":return 2;case"medium":return 4;case"large":return 8}})(e)}px`:void 0)(t):void 0,flex:a?"1 1 0%":void 0,border:"none",backgroundColor:"default"===n?"var(--malachite-card-border)":"muted"===n?"var(--malachite-border-muted)":"var(--malachite-border-strong)"};return z.jsx("div",{className:r,style:i})},Ao={fontSizes:{xsmall:"11px",small:"13px",medium:"14px",large:"16px",xlarge:"22px"},radius:{sm:"4px",md:"6px",lg:"8px",xl:"12px"},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",default:"0px 1px 0px 0px rgba(0, 0, 0, 0.15)",success:"0px 1px 0px 0px rgba(0, 175, 102, 0.15)",warning:"0px 1px 0px 0px rgba(241, 139, 10, 0.15)",error:"0px 1px 0px 0px rgba(197, 63, 63, 0.15)"},colors:{shadowColor:"0, 0, 0",shadowOpacity:.1,card:{background:"rgb(255, 255, 255)",foreground:"rgb(10, 10, 10)",border:"rgb(232, 232, 232)",shadow:"rgba(0, 0, 0, 0.1)",dimmedBackground:"rgb(247, 247, 247)",headerBackground:"rgb(255, 255, 255)",footerBackground:"rgb(255, 255, 255)"},alert:{info:{background:"rgb(247, 247, 247)",foreground:"rgb(10, 10, 10)"},success:{background:"rgba(0, 175, 102, 0.08)",foreground:"rgb(2, 122, 66)"},error:{background:"rgba(197, 63, 63, 0.08)",foreground:"rgb(237, 53, 54)"},warning:{background:"rgba(241, 139, 10, 0.08)",foreground:"rgb(150, 88, 10)"}},tooltip:{background:"rgb(59, 59, 59)",foreground:"rgb(255, 255, 255)",border:"rgb(60, 60, 60)",shadow:"0px 0px 10px 0px rgba(0, 0, 0, 0.20)"},primary:{background:"rgb(48, 48, 48)",foreground:"rgb(10, 10, 10)",border:"rgb(232, 232, 232)",borderHover:"rgb(186, 186, 186)"},outline:{foreground:"rgb(10, 10, 10)"},secondary:{background:"rgb(9, 9, 9)",foreground:"rgb(255, 255, 255)",border:"rgb(232, 232, 232)",borderHover:"rgb(186, 186, 186)"},destructive:{background:"transparent",foreground:"rgb(196, 62, 62)",border:"rgb(239, 55, 55)",borderHover:"rgb(239, 55, 55)",shadow:"rgb(239, 55, 55)",shadowLight:"rgba(239, 55, 55, 0.4)",shadowMedium:"rgba(239, 55, 55, 0.6)"},success:{background:"rgba(0, 175, 102)",foreground:"rgb(2, 122, 66)",border:"rgba(0, 175, 102, 0.2)",borderHover:"rgba(0, 175, 102, 0.4)",backgroundGlass:"rgba(0, 175, 102, 0.08)",shadowLight:"rgba(0, 175, 102, 0.4)",shadowMedium:"rgba(0, 175, 102, 0.6)"},warning:{background:"rgb(241, 139, 10)",foreground:"rgb(150, 88, 10)",border:"rgba(241, 139, 10, 0.2)",borderHover:"rgba(241, 139, 10, 0.4)",backgroundGlass:"rgba(241, 139, 10, 0.08)",shadowLight:"rgba(241, 139, 10, 0.4)",shadowMedium:"rgba(241, 139, 10, 0.6)"},error:{background:"rgb(197, 63, 63)",foreground:"rgb(237, 53, 54)",border:"rgba(197, 63, 63, 0.2)",borderHover:"rgba(197, 63, 63, 0.4)",backgroundGlass:"rgba(197, 63, 63, 0.08)",shadowLight:"rgba(197, 63, 63, 0.4)",shadowMedium:"rgba(197, 63, 63, 0.6)"},buttonList:{background:"rgb(255, 255, 255)",foreground:"rgb(10, 10, 10)",hoverBackground:"rgb(245, 245, 245)",hoverForeground:"rgb(10, 10, 10)"},pillButton:{background:"rgb(241, 241, 241)",foreground:"rgb(123, 123, 123)",hoverBackground:"rgb(232, 232, 232)",hoverForeground:"rgb(10, 10, 10)",pressedBackground:"rgb(232, 232, 232)",pressedForeground:"rgb(10, 10, 10)",pressedOpacity:"0.6",activeBackground:"rgb(48, 48, 48)",activeForeground:"rgb(255, 255, 255)"},tag:{primary:{background:"rgba(37, 130, 234, 0.1)",foreground:"rgb(37, 130, 234)",border:"rgb(37, 130, 234)",shadow:"rgba(37, 130, 234, 0.5)"},secondary:{background:"rgba(0, 175, 102, 0.1)",foreground:"rgb(0, 175, 102)",border:"rgb(0, 175, 102)",shadow:"rgba(0, 175, 102, 0.5)"},default:{background:"rgba(123, 123, 123, 0.1)",foreground:"rgb(123, 123, 123)",border:"rgb(123, 123, 123)",shadow:"rgba(123, 123, 123, 0.5)"},error:{background:"rgba(196, 62, 62, 0.1)",foreground:"rgb(196, 62, 62)",border:"rgb(196, 62, 62)",shadow:"rgba(196, 62, 62, 0.5)"},warning:{background:"rgba(150, 88, 10, 0.1)",foreground:"rgb(150, 88, 10)",border:"rgb(150, 88, 10)",shadow:"rgba(150, 88, 10, 0.5)"},success:{background:"rgba(0, 175, 102, 0.1)",foreground:"rgb(2, 122, 66)",border:"rgb(2, 122, 66)",shadow:"rgba(2, 122, 66, 0.5)"}},table:{background:"rgb(247, 247, 247)",boxShadow:"0 0 20px 0 rgba(0, 0, 0, 0.20)",header:{background:"rgb(247, 247, 247)",foreground:"rgb(55, 65, 81)",border:"rgb(229, 231, 235)"},row:{background:"rgb(255, 255, 255)",foreground:"rgb(75, 85, 99)",hoverBackground:"rgb(249, 250, 251)",border:"rgb(229, 231, 235)"},border:"rgb(229, 231, 235)",borderedRow:{background:"rgb(255, 255, 255)",outline:"rgb(232, 232, 232)"},rowVariant:{success:{background:"rgb(236, 249, 244)"},warning:{background:"rgb(253, 243, 230)"},error:{background:"rgb(253, 236, 236)"},info:{background:"rgb(230, 244, 253)"}},error:{iconBackground:"rgb(254, 243, 199)",iconForeground:"rgb(217, 119, 6)",titleForeground:"rgb(17, 24, 39)",subtitleForeground:"rgb(107, 114, 128)"}},text:{primary:"rgb(10, 10, 10)",secondary:"rgb(115, 115, 115)",dimmed:"rgb(161, 161, 161)",placeholder:"rgb(187, 187, 187)",destructive:"rgb(237, 53, 54)",success:"rgb(2, 122, 66)",warning:"rgb(150, 88, 10)",error:"rgb(237, 53, 54)",linkForeground:"rgba(0, 0, 0, 0.45)",linkForegroundHover:"rgb(10, 10, 10)",rightSideText:{muted:"rgb(123, 123, 123)",primary:"rgb(10, 10, 10)",alignment:"right"}},codeBlock:{background:"rgb(255, 255, 255)",foreground:"rgb(10, 10, 10)",border:"rgb(232, 232, 232)",lineNumber:"rgb(123, 123, 123)",keyword:"rgb(12, 88, 174)",comment:"rgb(123, 123, 123)",string:"rgb(2, 122, 66)",number:"rgb(150, 88, 10)",type:"rgb(12, 88, 174)"}}},Eo={fontSizes:{xsmall:"11px",small:"13px",medium:"14px",large:"16px",xlarge:"22px"},radius:{sm:"4px",md:"6px",lg:"8px",xl:"12px"},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.3)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3)",default:"0px 1px 0px 0px rgba(0, 0, 0, 0.4)",success:"0px 1px 0px 0px rgba(0, 175, 102, 0.4)",warning:"0px 1px 0px 0px rgba(241, 139, 10, 0.4)",error:"0px 1px 0px 0px rgba(197, 63, 63, 0.4)"},colors:{shadowColor:"0, 0, 0",shadowOpacity:.3,card:{background:"rgb(30, 30, 30)",foreground:"rgb(255, 255, 255)",border:"rgb(100, 100, 100)",shadow:"rgba(0, 0, 0, 0.3)",dimmedBackground:"rgb(70, 70, 70)",headerBackground:"rgb(30, 30, 30)",footerBackground:"rgb(30, 30, 30)"},alert:{info:{background:"rgb(70, 70, 70)",foreground:"rgb(255, 255, 255)"},success:{background:"rgba(0, 175, 102, 0.08)",foreground:"rgb(2, 122, 66)"},error:{background:"rgba(197, 63, 63, 0.08)",foreground:"rgb(237, 53, 54)"},warning:{background:"rgba(241, 139, 10, 0.08)",foreground:"rgb(150, 88, 10)"}},tooltip:{background:"rgb(42, 42, 42)",foreground:"rgb(255, 255, 255)",border:"rgb(80, 80, 80)",shadow:"0px 0px 12px 0px rgba(0, 0, 0, 0.30)"},primary:{background:"rgb(60, 60, 60)",foreground:"rgb(255, 255, 255)",border:"rgb(100, 100, 100)",borderHover:"rgb(140, 140, 140)"},outline:{foreground:"rgb(255, 255, 255)"},secondary:{background:"rgb(40, 40, 40)",foreground:"rgb(255, 255, 255)",border:"rgb(80, 80, 80)",borderHover:"rgb(120, 120, 120)"},destructive:{background:"transparent",foreground:"rgb(255, 120, 120)",border:"rgb(255, 100, 100)",borderHover:"rgb(255, 100, 100)",shadow:"rgb(255, 100, 100)",shadowLight:"rgba(255, 100, 100, 0.4)",shadowMedium:"rgba(255, 100, 100, 0.6)"},success:{background:"rgba(50, 205, 132)",foreground:"rgb(20, 170, 100)",border:"rgba(50, 205, 132, 0.3)",borderHover:"rgba(50, 205, 132, 0.5)",backgroundGlass:"rgba(50, 205, 132, 0.12)",shadowLight:"rgba(50, 205, 132, 0.4)",shadowMedium:"rgba(50, 205, 132, 0.6)"},warning:{background:"rgb(255, 180, 50)",foreground:"rgb(200, 130, 20)",border:"rgba(255, 180, 50, 0.3)",borderHover:"rgba(255, 180, 50, 0.5)",backgroundGlass:"rgba(255, 180, 50, 0.12)",shadowLight:"rgba(255, 180, 50, 0.4)",shadowMedium:"rgba(255, 180, 50, 0.6)"},error:{background:"rgb(255, 120, 120)",foreground:"rgb(255, 80, 80)",border:"rgba(255, 120, 120, 0.3)",borderHover:"rgba(255, 120, 120, 0.5)",backgroundGlass:"rgba(255, 120, 120, 0.12)",shadowLight:"rgba(255, 120, 120, 0.4)",shadowMedium:"rgba(255, 120, 120, 0.6)"},buttonList:{background:"rgb(42, 42, 42)",foreground:"rgb(255, 255, 255)",hoverBackground:"rgb(60, 60, 60)",hoverForeground:"rgb(255, 255, 255)"},pillButton:{background:"rgb(70, 70, 70)",foreground:"rgb(161, 161, 161)",hoverBackground:"rgb(90, 90, 90)",hoverForeground:"rgb(255, 255, 255)",pressedBackground:"rgb(90, 90, 90)",pressedForeground:"rgb(255, 255, 255)",pressedOpacity:"0.6",activeBackground:"rgb(255, 255, 255)",activeForeground:"rgb(10, 10, 10)"},tag:{primary:{background:"rgba(37, 130, 234, 0.2)",foreground:"rgb(96, 165, 250)",border:"rgb(96, 165, 250)",shadow:"rgba(96, 165, 250, 0.5)"},secondary:{background:"rgba(0, 175, 102, 0.2)",foreground:"rgb(34, 197, 94)",border:"rgb(34, 197, 94)",shadow:"rgba(34, 197, 94, 0.5)"},default:{background:"rgba(161, 161, 161, 0.2)",foreground:"rgb(161, 161, 161)",border:"rgb(161, 161, 161)",shadow:"rgba(161, 161, 161, 0.5)"},error:{background:"rgba(239, 68, 68, 0.2)",foreground:"rgb(248, 113, 113)",border:"rgb(248, 113, 113)",shadow:"rgba(248, 113, 113, 0.5)"},warning:{background:"rgba(245, 158, 11, 0.2)",foreground:"rgb(251, 191, 36)",border:"rgb(251, 191, 36)",shadow:"rgba(251, 191, 36, 0.5)"},success:{background:"rgba(0, 175, 102, 0.2)",foreground:"rgb(34, 197, 94)",border:"rgb(34, 197, 94)",shadow:"rgba(34, 197, 94, 0.5)"}},table:{background:"rgb(247, 247, 247)",boxShadow:"0 0 20px 0 rgba(0, 0, 0, 0.20)",header:{background:"rgb(247, 247, 247)",foreground:"rgb(55, 65, 81)",border:"rgb(75, 85, 99)"},row:{background:"rgb(30, 30, 30)",foreground:"rgb(209, 213, 219)",hoverBackground:"rgb(42, 42, 42)",border:"rgb(75, 85, 99)"},border:"rgb(75, 85, 99)",borderedRow:{background:"rgb(255, 255, 255)",outline:"rgb(75, 85, 99)"},rowVariant:{success:{background:"rgba(34, 197, 94, 0.15)"},warning:{background:"rgba(251, 191, 36, 0.15)"},error:{background:"rgba(248, 113, 113, 0.15)"},info:{background:"rgba(96, 165, 250, 0.15)"}},error:{iconBackground:"rgba(245, 158, 11, 0.2)",iconForeground:"rgb(251, 191, 36)",titleForeground:"rgb(255, 255, 255)",subtitleForeground:"rgb(161, 161, 161)"}},text:{primary:"rgb(255, 255, 255)",secondary:"rgb(161, 161, 161)",dimmed:"rgb(115, 115, 115)",placeholder:"rgb(140, 140, 140)",destructive:"rgb(255, 120, 120)",success:"rgb(20, 170, 100)",warning:"rgb(200, 130, 20)",error:"rgb(255, 80, 80)",linkForeground:"rgba(255, 255, 255, 0.45)",linkForegroundHover:"rgb(255, 255, 255)",rightSideText:{muted:"rgb(123, 123, 123)",primary:"rgb(10, 10, 10)",alignment:"right"}},codeBlock:{background:"rgb(42, 42, 42)",foreground:"rgb(255, 255, 255)",border:"rgb(80, 80, 80)",lineNumber:"rgb(161, 161, 161)",keyword:"rgb(100, 150, 220)",comment:"rgb(161, 161, 161)",string:"rgb(120, 220, 150)",number:"rgb(255, 180, 100)",type:"rgb(100, 150, 220)"}}},So="malachite-theme-mode",jo="malachite-custom-theme",zo=new Set;function Io(e){try{if(zo.has(e))return;zo.add(e),function(e){try{const t=No(),r=Po(),n="dark"===t?Eo:Ao;_o(r?To(n,r):n,e)}catch(e){console.error("Error applying theme to shadow root:",e)}}(e)}catch(e){console.error("Error registering shadow root:",e)}}function Oo(e,t,r){Object.entries(e).forEach((([e,n])=>{const a="rowVariant"===e?"row-variant":e;"object"==typeof n&&null!==n?Object.entries(n).forEach((([e,n])=>{const i=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof n&&null!==n?Object.entries(n).forEach((([e,n])=>{const o=e.replace(/([A-Z])/g,"-$1").toLowerCase();r(`${t}-${a}-${i}-${o}`,n)})):r(`${t}-${a}-${i}`,n)})):r(`${t}-${a}`,n)}))}function _o(e,t){if(t instanceof ShadowRoot){let r=t.querySelector("#malachite-theme-vars");r||(r=document.createElement("style"),r.id="malachite-theme-vars",t.appendChild(r));const n=[];Object.entries(e.fontSizes).forEach((([e,t])=>{n.push(`--malachite-font-size-${e}: ${t}`)})),Object.entries(e.radius).forEach((([e,t])=>{n.push(`--malachite-radius-${e}: ${t}`)})),Object.entries(e.shadows).forEach((([e,t])=>{n.push(`--malachite-shadow-${e}: ${t}`)})),n.push(`--malachite-shadow-color: ${e.colors.shadowColor}`),n.push(`--malachite-shadow-opacity: ${e.colors.shadowOpacity}`),Object.entries(e.colors.card).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-card-${r}: ${t}`)})),Object.entries(e.colors.alert).forEach((([e,t])=>{Object.entries(t).forEach((([t,r])=>{const a=t.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-alert-${e}-${a}: ${r}`)}))})),Object.entries(e.colors.tooltip).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-tooltip-${r}: ${t}`)})),Object.entries(e.colors.buttonList).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-buttonlist-${r}: ${t}`)})),Object.entries(e.colors.pillButton).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-pillbutton-${r}: ${t}`)})),Object.entries(e.colors.tag).forEach((([e,t])=>{Object.entries(t).forEach((([t,r])=>{const a=t.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-tag-${e}-${a}: ${r}`)}))})),Oo(e.colors.table,"--malachite-table",((e,t)=>n.push(`${e}: ${t}`))),Object.entries(e.colors.text).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof t&&null!==t?Object.entries(t).forEach((([e,t])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof t&&null!==t?Object.entries(t).forEach((([e,t])=>{const i=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-text-${r}-${a}-${i}: ${t}`)})):n.push(`--malachite-text-${r}-${a}: ${t}`)})):n.push(`--malachite-text-${r}: ${t}`)})),Object.entries(e.colors.codeBlock).forEach((([e,t])=>{const r=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-codeblock-${r}: ${t}`)})),["primary","secondary","destructive","success","warning","error"].forEach((t=>{const r=e.colors[t];Object.entries(r).forEach((([e,r])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();n.push(`--malachite-${t}-${a}: ${r}`)}))})),r.textContent=`:host { ${n.join("; ")} } * { ${n.join("; ")} }`}else t instanceof HTMLElement&&(Object.entries(e.fontSizes).forEach((([e,r])=>{t.style.setProperty(`--malachite-font-size-${e}`,r)})),Object.entries(e.radius).forEach((([e,r])=>{t.style.setProperty(`--malachite-radius-${e}`,r)})),Object.entries(e.shadows).forEach((([e,r])=>{t.style.setProperty(`--malachite-shadow-${e}`,r)})),t.style.setProperty("--malachite-shadow-color",e.colors.shadowColor),t.style.setProperty("--malachite-shadow-opacity",e.colors.shadowOpacity.toString()),Object.entries(e.colors.card).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-card-${n}`,r)})),Object.entries(e.colors.alert).forEach((([e,r])=>{Object.entries(r).forEach((([r,n])=>{const a=r.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-alert-${e}-${a}`,n)}))})),Object.entries(e.colors.tooltip).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-tooltip-${n}`,r)})),Object.entries(e.colors.buttonList).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-buttonlist-${n}`,r)})),Object.entries(e.colors.pillButton).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-pillbutton-${n}`,r)})),Object.entries(e.colors.tag).forEach((([e,r])=>{Object.entries(r).forEach((([r,n])=>{const a=r.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-tag-${e}-${a}`,n)}))})),Oo(e.colors.table,"--malachite-table",((e,r)=>t.style.setProperty(e,r))),Object.entries(e.colors.text).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof r&&null!==r?Object.entries(r).forEach((([e,r])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();"object"==typeof r&&null!==r?Object.entries(r).forEach((([e,r])=>{const i=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-text-${n}-${a}-${i}`,r)})):t.style.setProperty(`--malachite-text-${n}-${a}`,r)})):t.style.setProperty(`--malachite-text-${n}`,r)})),Object.entries(e.colors.codeBlock).forEach((([e,r])=>{const n=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-codeblock-${n}`,r)})),["primary","secondary","outline","destructive","success","warning","error"].forEach((r=>{const n=e.colors[r];Object.entries(n).forEach((([e,n])=>{const a=e.replace(/([A-Z])/g,"-$1").toLowerCase();t.style.setProperty(`--malachite-${r}-${a}`,n)}))})))}function No(){return typeof window>"u"?"light":localStorage.getItem(So)||"light"}function Po(){if(typeof window>"u")return null;const e=localStorage.getItem(jo);return e?JSON.parse(e):null}function Do(e){typeof window<"u"&&localStorage.setItem(So,e)}function To(e,t){const r={...e};return t.fontSizes&&(r.fontSizes={...r.fontSizes,...t.fontSizes}),t.radius&&(r.radius={...r.radius,...t.radius}),t.shadows&&(r.shadows={...r.shadows,...t.shadows}),t.colors&&(r.colors={...r.colors},void 0!==t.colors.shadowColor&&(r.colors.shadowColor=t.colors.shadowColor),void 0!==t.colors.shadowOpacity&&(r.colors.shadowOpacity=t.colors.shadowOpacity),t.colors.card&&(r.colors.card={...r.colors.card,...t.colors.card}),t.colors.alert&&(r.colors.alert={...r.colors.alert,...t.colors.alert}),t.colors.tooltip&&(r.colors.tooltip={...r.colors.tooltip,...t.colors.tooltip}),t.colors.primary&&(r.colors.primary={...r.colors.primary,...t.colors.primary}),t.colors.secondary&&(r.colors.secondary={...r.colors.secondary,...t.colors.secondary}),t.colors.destructive&&(r.colors.destructive={...r.colors.destructive,...t.colors.destructive}),t.colors.success&&(r.colors.success={...r.colors.success,...t.colors.success}),t.colors.warning&&(r.colors.warning={...r.colors.warning,...t.colors.warning}),t.colors.error&&(r.colors.error={...r.colors.error,...t.colors.error}),t.colors.buttonList&&(r.colors.buttonList={...r.colors.buttonList,...t.colors.buttonList}),t.colors.pillButton&&(r.colors.pillButton={...r.colors.pillButton,...t.colors.pillButton}),t.colors.tag&&(r.colors.tag={...r.colors.tag,...t.colors.tag}),t.colors.text&&(r.colors.text={...r.colors.text,...t.colors.text}),t.colors.codeBlock&&(r.colors.codeBlock={...r.colors.codeBlock,...t.colors.codeBlock})),r}function Bo(e){!function(e){typeof window<"u"&&localStorage.setItem(jo,JSON.stringify(e))}(e);const t=No(),r=To("dark"===t?Eo:Ao,e);_o(r,document.documentElement),zo.forEach((e=>{_o(r,e)})),"dark"===t?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme")}!function(){if(typeof window<"u"){const e=No(),t=Po();if("dark"===e){if(t){_o(To(Eo,t),document.documentElement)}else _o(Eo,document.documentElement);document.documentElement.setAttribute("data-theme","dark")}else{if(t){_o(To(Ao,t),document.documentElement)}else _o(Ao,document.documentElement);document.documentElement.removeAttribute("data-theme")}}}();const Ro=({children:e})=>{const t=h.useRef(null),[r,n]=h.useState(null);return h.useEffect((()=>{if(t.current&&!r){const e=t.current.shadowRoot;if(e)return void n(e);const r=t.current.attachShadow({mode:"open"});n(r)}}),[r]),h.useEffect((()=>{if(r)return(async()=>{try{r.querySelectorAll("style").forEach((e=>e.remove()));const e=document.createElement("style");e.textContent='/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-500:oklch(70.5% .213 47.604);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-500:oklch(70.4% .14 182.503);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-500:oklch(58.5% .233 277.117);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-\\[3px\\]{top:3px}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.-mt-1{margin-top:calc(var(--spacing)*-1)}.-mt-\\[2px\\]{margin-top:-2px}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.mb-30{margin-bottom:calc(var(--spacing)*30)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-cell{display:table-cell}.table-row{display:table-row}.h-1{height:calc(var(--spacing)*1)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-32{height:calc(var(--spacing)*32)}.h-48{height:calc(var(--spacing)*48)}.h-60{height:calc(var(--spacing)*60)}.h-96{height:calc(var(--spacing)*96)}.h-100{height:calc(var(--spacing)*100)}.h-\\[42px\\]{height:42px}.h-full{height:100%}.h-px{height:1px}.max-h-\\[400px\\]{max-height:400px}.max-h-\\[553px\\]{max-height:553px}.min-h-\\[2rem\\]{min-height:2rem}.min-h-\\[14px\\]{min-height:14px}.min-h-\\[25px\\]{min-height:25px}.min-h-\\[38px\\]{min-height:38px}.min-h-\\[50px\\]{min-height:50px}.min-h-\\[100px\\]{min-height:100px}.min-h-\\[200px\\]{min-height:200px}.min-h-\\[400px\\]{min-height:400px}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-96{width:calc(var(--spacing)*96)}.w-200{width:calc(var(--spacing)*200)}.w-\\[20px\\]{width:20px}.w-\\[24px\\]{width:24px}.w-\\[44px\\]{width:44px}.w-\\[88px\\]{width:88px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-1200{max-width:calc(var(--spacing)*1200)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-x{resize:horizontal}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[12px\\]{border-top-left-radius:12px;border-top-right-radius:12px}.rounded-tl-lg{border-top-left-radius:var(--radius-lg)}.rounded-tr-lg{border-top-right-radius:var(--radius-lg)}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#e8e8e8\\]{border-color:#e8e8e8}.border-\\[var\\(--malachite-card-border\\)\\]{border-color:var(--malachite-card-border)}.border-\\[var\\(--malachite-destructive-border\\)\\]{border-color:var(--malachite-destructive-border)}.border-\\[var\\(--malachite-success-border-hover\\)\\]{border-color:var(--malachite-success-border-hover)}.border-\\[var\\(--malachite-text-dimmed\\)\\]{border-color:var(--malachite-text-dimmed)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-300{border-color:var(--color-blue-300)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-green-300{border-color:var(--color-green-300)}.border-indigo-300{border-color:var(--color-indigo-300)}.border-orange-300{border-color:var(--color-orange-300)}.border-pink-300{border-color:var(--color-pink-300)}.border-purple-300{border-color:var(--color-purple-300)}.border-red-300{border-color:var(--color-red-300)}.border-teal-300{border-color:var(--color-teal-300)}.border-yellow-200{border-color:var(--color-yellow-200)}.border-yellow-300{border-color:var(--color-yellow-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-\\[var\\(--malachite-buttonlist-background\\)\\]{background-color:var(--malachite-buttonlist-background)}.bg-\\[var\\(--malachite-card-background\\)\\]{background-color:var(--malachite-card-background)}.bg-\\[var\\(--malachite-card-border\\)\\]{background-color:var(--malachite-card-border)}.bg-\\[var\\(--malachite-card-dimmed-background\\)\\]{background-color:var(--malachite-card-dimmed-background)}.bg-\\[var\\(--malachite-pillbutton-background\\)\\]{background-color:var(--malachite-pillbutton-background)}.bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]{background-color:var(--malachite-pillbutton-hover-background)}.bg-\\[var\\(--malachite-success-background-glass\\)\\]{background-color:var(--malachite-success-background-glass)}.bg-\\[var\\(--malachite-tag-default-background\\)\\]{background-color:var(--malachite-tag-default-background)}.bg-\\[var\\(--malachite-tag-error-background\\)\\]{background-color:var(--malachite-tag-error-background)}.bg-\\[var\\(--malachite-tag-primary-background\\)\\]{background-color:var(--malachite-tag-primary-background)}.bg-\\[var\\(--malachite-tag-secondary-background\\)\\]{background-color:var(--malachite-tag-secondary-background)}.bg-\\[var\\(--malachite-tag-success-background\\)\\]{background-color:var(--malachite-tag-success-background)}.bg-\\[var\\(--malachite-tag-warning-background\\)\\]{background-color:var(--malachite-tag-warning-background)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-pink-400{background-color:var(--color-pink-400)}.bg-pink-500{background-color:var(--color-pink-500)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-400{background-color:var(--color-red-400)}.bg-red-500{background-color:var(--color-red-500)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-400{background-color:var(--color-yellow-400)}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-100{--tw-gradient-from:var(--color-yellow-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-200{--tw-gradient-to:var(--color-yellow-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.\\!p-0{padding:calc(var(--spacing)*0)!important}.p-0{padding:calc(var(--spacing)*0)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-10{padding:calc(var(--spacing)*10)}.p-20{padding:calc(var(--spacing)*20)}.p-\\[6px\\]{padding:6px}.p-\\[10px\\]{padding:10px}.\\!px-2\\.5{padding-inline:calc(var(--spacing)*2.5)!important}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\\[6px\\]{padding-inline:6px}.px-\\[10px\\]{padding-inline:10px}.px-\\[16px\\]{padding-inline:16px}.\\!py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-12{padding-block:calc(var(--spacing)*12)}.py-\\[1px\\]{padding-block:1px}.py-\\[10px\\]{padding-block:10px}.py-\\[12px\\]{padding-block:12px}.pt-3{padding-top:calc(var(--spacing)*3)}.pr-0{padding-right:calc(var(--spacing)*0)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[15px\\]{font-size:15px}.text-\\[length\\:var\\(--malachite-font-size-large\\)\\]{font-size:var(--malachite-font-size-large)}.text-\\[length\\:var\\(--malachite-font-size-medium\\)\\]{font-size:var(--malachite-font-size-medium)}.text-\\[length\\:var\\(--malachite-font-size-small\\)\\]{font-size:var(--malachite-font-size-small)}.text-\\[length\\:var\\(--malachite-font-size-xlarge\\)\\]{font-size:var(--malachite-font-size-xlarge)}.text-\\[length\\:var\\(--malachite-font-size-xsmall\\)\\]{font-size:var(--malachite-font-size-xsmall)}.leading-\\[1\\.4\\]{--tw-leading:1.4;line-height:1.4}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.11px\\]{--tw-tracking:.11px;letter-spacing:.11px}.whitespace-nowrap{white-space:nowrap}.text-\\[var\\(--malachite-buttonlist-foreground\\)\\]{color:var(--malachite-buttonlist-foreground)}.text-\\[var\\(--malachite-destructive-foreground\\)\\]{color:var(--malachite-destructive-foreground)}.text-\\[var\\(--malachite-font-size-medium\\)\\]{color:var(--malachite-font-size-medium)}.text-\\[var\\(--malachite-pillbutton-foreground\\)\\]{color:var(--malachite-pillbutton-foreground)}.text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]{color:var(--malachite-pillbutton-hover-foreground)}.text-\\[var\\(--malachite-tag-default-foreground\\)\\]{color:var(--malachite-tag-default-foreground)}.text-\\[var\\(--malachite-tag-error-foreground\\)\\]{color:var(--malachite-tag-error-foreground)}.text-\\[var\\(--malachite-tag-primary-foreground\\)\\]{color:var(--malachite-tag-primary-foreground)}.text-\\[var\\(--malachite-tag-secondary-foreground\\)\\]{color:var(--malachite-tag-secondary-foreground)}.text-\\[var\\(--malachite-tag-success-foreground\\)\\]{color:var(--malachite-tag-success-foreground)}.text-\\[var\\(--malachite-tag-warning-foreground\\)\\]{color:var(--malachite-tag-warning-foreground)}.text-\\[var\\(--malachite-text-dimmed\\)\\]{color:var(--malachite-text-dimmed)}.text-\\[var\\(--malachite-text-link-foreground\\)\\]{color:var(--malachite-text-link-foreground)}.text-\\[var\\(--malachite-text-primary\\)\\]{color:var(--malachite-text-primary)}.text-\\[var\\(--malachite-text-right-side-text-muted\\)\\]{color:var(--malachite-text-right-side-text-muted)}.text-\\[var\\(--malachite-text-right-side-text-primary\\)\\]{color:var(--malachite-text-right-side-text-primary)}.text-\\[var\\(--malachite-text-success\\)\\]{color:var(--malachite-text-success)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_1px_0px_0px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0px 1px 0px 0px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0px_2px_5px_0px_var\\(--malachite-card-shadow\\)\\]{--tw-shadow:0px 2px 5px 0px var(--tw-shadow-color,var(--malachite-card-shadow));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--malachite-shadow-default\\)\\]{--tw-shadow:var(--malachite-shadow-default);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::-moz-placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-dimmed\\)\\]::placeholder{color:var(--malachite-text-dimmed)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::-moz-placeholder{color:var(--malachite-text-placeholder)}.placeholder\\:text-\\[var\\(--malachite-text-placeholder\\)\\]::placeholder{color:var(--malachite-text-placeholder)}.first\\:rounded-tl-lg:first-child{border-top-left-radius:var(--radius-lg)}.last\\:rounded-tr-lg:last-child{border-top-right-radius:var(--radius-lg)}.focus-within\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:focus-within{border-color:var(--malachite-destructive-border-hover)}.focus-within\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:focus-within{border-color:var(--malachite-primary-border-hover)}@media (hover:hover){.hover\\:border-\\[var\\(--malachite-destructive-border-hover\\)\\]:hover{border-color:var(--malachite-destructive-border-hover)}.hover\\:border-\\[var\\(--malachite-primary-border-hover\\)\\]:hover{border-color:var(--malachite-primary-border-hover)}.hover\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:hover{background-color:var(--malachite-buttonlist-hover-background)}.hover\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:hover{background-color:var(--malachite-card-dimmed-background)}.hover\\:bg-\\[var\\(--malachite-pillbutton-hover-background\\)\\]:hover{background-color:var(--malachite-pillbutton-hover-background)}.hover\\:bg-\\[var\\(--malachite-primary-border\\)\\]:hover{background-color:var(--malachite-primary-border)}.hover\\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:hover{color:var(--malachite-buttonlist-hover-foreground)}.hover\\:text-\\[var\\(--malachite-pillbutton-hover-foreground\\)\\]:hover{color:var(--malachite-pillbutton-hover-foreground)}.hover\\:text-\\[var\\(--malachite-text-link-foreground-hover\\)\\]:hover{color:var(--malachite-text-link-foreground-hover)}.hover\\:opacity-70:hover{opacity:.7}.hover\\:opacity-80:hover{opacity:.8}}.focus\\:bg-\\[var\\(--malachite-buttonlist-hover-background\\)\\]:focus{background-color:var(--malachite-buttonlist-hover-background)}.focus\\:text-\\[var\\(--malachite-buttonlist-hover-foreground\\)\\]:focus{color:var(--malachite-buttonlist-hover-foreground)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-\\[var\\(--malachite-pillbutton-pressed-background\\)\\]:active{background-color:var(--malachite-pillbutton-pressed-background)}.active\\:text-\\[var\\(--malachite-pillbutton-pressed-foreground\\)\\]:active{color:var(--malachite-pillbutton-pressed-foreground)}.active\\:opacity-60:active{opacity:.6}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-\\[var\\(--malachite-card-dimmed-background\\)\\]:disabled{background-color:var(--malachite-card-dimmed-background)}.disabled\\:text-\\[var\\(--malachite-text-dimmed\\)\\]:disabled{color:var(--malachite-text-dimmed)}.disabled\\:text-\\[var\\(--malachite-text-primary\\)\\]:disabled{color:var(--malachite-text-primary)}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\\[\\&\\>div\\]\\:mb-0>div{margin-bottom:calc(var(--spacing)*0)}}:root{--malachite-shadow-sm:0 1px 2px 0 #0000000d;--malachite-shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--malachite-shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--malachite-shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--malachite-shadow-default:0px 1px 0px 0px #00000026;--malachite-shadow-success:0px 1px 0px 0px #00af6626;--malachite-shadow-warning:0px 1px 0px 0px #f18b0a26;--malachite-shadow-error:0px 1px 0px 0px #c53f3f26;--malachite-shadow-color:0,0,0;--malachite-shadow-opacity:.1;--malachite-card-background:#fff;--malachite-card-foreground:#0a0a0a;--malachite-card-border:#e8e8e8;--malachite-card-shadow:#0000001a;--malachite-card-dimmed-background:#f7f7f7;--malachite-card-header-background:#fff;--malachite-card-footer-background:#fff;--malachite-alert-info-background:#f7f7f7;--malachite-alert-info-foreground:#0a0a0a;--malachite-alert-success-background:#00af6614;--malachite-alert-success-foreground:#027a42;--malachite-alert-error-background:#c53f3f14;--malachite-alert-error-foreground:#ed3536;--malachite-alert-warning-background:#f18b0a14;--malachite-alert-warning-foreground:#96580a;--malachite-tooltip-background:#3b3b3b;--malachite-tooltip-foreground:#fff;--malachite-tooltip-border:#3c3c3c;--malachite-tooltip-shadow:0px 0px 10px 0px #0003;--malachite-primary-background:#303030;--malachite-primary-foreground:#0a0a0a;--malachite-primary-border:#e8e8e8;--malachite-primary-border-hover:#bababa;--malachite-outline-foreground:#0a0a0a;--malachite-secondary-background:#090909;--malachite-secondary-foreground:#fff;--malachite-secondary-border:#e8e8e8;--malachite-secondary-border-hover:#bababa;--malachite-destructive-background:transparent;--malachite-destructive-foreground:#c43e3e;--malachite-destructive-border:#ef3737;--malachite-destructive-border-hover:#ef3737;--malachite-destructive-shadow:#ef3737;--malachite-destructive-shadow-light:#ef373766;--malachite-destructive-shadow-medium:#ef373799;--malachite-success-background:#00af66;--malachite-success-foreground:#027a42;--malachite-success-border:#00af6633;--malachite-success-border-hover:#00af6666;--malachite-success-background-glass:#00af6614;--malachite-success-shadow-light:#00af6666;--malachite-success-shadow-medium:#00af6699;--malachite-warning-background:#f18b0a;--malachite-warning-foreground:#96580a;--malachite-warning-border:#f18b0a33;--malachite-warning-border-hover:#f18b0a66;--malachite-warning-background-glass:#f18b0a14;--malachite-warning-shadow-light:#f18b0a66;--malachite-warning-shadow-medium:#f18b0a99;--malachite-error-background:#c53f3f;--malachite-error-foreground:#ed3536;--malachite-error-border:#c53f3f33;--malachite-error-border-hover:#c53f3f66;--malachite-error-background-glass:#c53f3f14;--malachite-error-shadow-light:#c53f3f66;--malachite-error-shadow-medium:#c53f3f99;--malachite-buttonlist-background:#fff;--malachite-buttonlist-foreground:#0a0a0a;--malachite-buttonlist-hover-background:#f5f5f5;--malachite-buttonlist-hover-foreground:#0a0a0a;--malachite-text-primary:#0a0a0a;--malachite-text-secondary:#737373;--malachite-text-dimmed:#a1a1a1;--malachite-text-placeholder:#bbb;--malachite-text-destructive:#ed3536;--malachite-text-success:#027a42;--malachite-text-warning:#96580a;--malachite-text-error:#ed3536;--malachite-text-link-foreground:#00000073;--malachite-text-link-foreground-hover:#0a0a0a}.shadow-default{box-shadow:var(--malachite-shadow-default)}.shadow-success{box-shadow:var(--malachite-shadow-success)}.shadow-warning{box-shadow:var(--malachite-shadow-warning)}.shadow-error{box-shadow:var(--malachite-shadow-error)}.btn-filled{background-color:var(--malachite-secondary-background);color:var(--malachite-secondary-foreground);border-color:var(--malachite-secondary-border)}.btn-filled:hover:not(:disabled){border-color:var(--malachite-secondary-border-hover);opacity:.95}.btn-filled:active:not(:disabled){opacity:.8;border-color:var(--malachite-secondary-border-hover)}.btn-filled:disabled{opacity:.6;cursor:not-allowed}.btn-outline{color:var(--malachite-outline-foreground);border-color:var(--malachite-primary-border);background-color:#0000}.btn-outline:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-outline:active:not(:disabled){opacity:.8;border-color:var(--malachite-primary-border-hover)}.btn-destructive{background-color:var(--malachite-destructive-background);color:var(--malachite-destructive-foreground);border-color:var(--malachite-destructive-border);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-light)}.btn-destructive:hover:not(:disabled){border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:active:not(:disabled){opacity:.6;border-color:var(--malachite-destructive-border-hover);box-shadow:0 1px 0 0 var(--malachite-destructive-shadow-medium)}.btn-destructive:disabled{opacity:.6;box-shadow:none}.btn-ghost{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-ghost:hover:not(:disabled){border-color:var(--malachite-primary-border-hover)}.btn-no-style{color:var(--malachite-primary-foreground);background-color:#0000;border-color:#0000}.btn-no-style:hover:not(:disabled){border-color:#0000}.btn-glass-success{background-color:var(--malachite-success-background-glass);color:var(--malachite-success-foreground);border-color:var(--malachite-success-border);box-shadow:0 1px 0 0 var(--malachite-success-shadow-light)}.btn-glass-success:hover:not(:disabled){border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:active:not(:disabled){opacity:.6;border-color:var(--malachite-success-border-hover);box-shadow:0 1px 0 0 var(--malachite-success-shadow-medium)}.btn-glass-success:disabled{opacity:.6;box-shadow:none}.btn-glass-warning{background-color:var(--malachite-warning-background-glass);color:var(--malachite-warning-foreground);border-color:var(--malachite-warning-border);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-light)}.btn-glass-warning:hover:not(:disabled){border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:active:not(:disabled){opacity:.6;border-color:var(--malachite-warning-border-hover);box-shadow:0 1px 0 0 var(--malachite-warning-shadow-medium)}.btn-glass-warning:disabled{opacity:.6;box-shadow:none}.btn-glass-error{background-color:var(--malachite-error-background-glass);color:var(--malachite-error-foreground);border-color:var(--malachite-error-border);box-shadow:0 1px 0 0 var(--malachite-error-shadow-light)}.btn-glass-error:hover:not(:disabled){border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:active:not(:disabled){opacity:.6;border-color:var(--malachite-error-border-hover);box-shadow:0 1px 0 0 var(--malachite-error-shadow-medium)}.btn-glass-error:disabled{opacity:.6;box-shadow:none}.card-base{background-color:var(--malachite-card-background);color:var(--malachite-card-foreground);border:1px solid var(--malachite-card-border);box-shadow:0 2px 4px 0 var(--malachite-card-shadow);border-radius:12px;overflow:hidden}.card-dimmed{background-color:var(--malachite-card-dimmed-background)}.card-rounded{border-radius:20px}.card-header{background-color:var(--malachite-card-header-background);color:var(--malachite-card-foreground);border-bottom:1px solid var(--malachite-card-border)}.card-footer{background-color:var(--malachite-card-footer-background);color:var(--malachite-card-foreground);border-top:1px solid var(--malachite-card-border)}.alert-base{border-radius:8px;justify-content:center;align-items:flex-start;gap:8px;width:100%;margin:0 10px;padding:10px;display:flex}.alert-base svg{margin-top:5px}.alert-base.alert-expandable svg{margin-top:3px}.alert-no-margin{margin:0}.alert-info{background-color:var(--malachite-alert-info-background);color:var(--malachite-alert-info-foreground)}.alert-success{background-color:var(--malachite-alert-success-background);color:var(--malachite-alert-success-foreground)}.alert-error{background-color:var(--malachite-alert-error-background);color:var(--malachite-alert-error-foreground)}.alert-warning{background-color:var(--malachite-alert-warning-background);color:var(--malachite-alert-warning-foreground)}.alert-icon-info{color:var(--malachite-alert-info-foreground);font-size:13px}.alert-icon-success{color:var(--malachite-alert-success-foreground);font-size:13px}.alert-icon-error{color:var(--malachite-alert-error-foreground);font-size:13px}.alert-icon-warning{color:var(--malachite-alert-warning-foreground);font-size:13px}.tooltip-base{background-color:var(--malachite-tooltip-background);max-width:320px;min-height:32px;color:var(--malachite-tooltip-foreground);box-shadow:var(--malachite-tooltip-shadow);word-wrap:break-word;white-space:normal;pointer-events:none;z-index:9999;border-radius:12px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;line-height:1.4;transition:opacity .15s ease-in-out,transform .15s ease-in-out;display:inline-flex;position:absolute}.tooltip-content{z-index:1;position:relative}.tooltip-visible{opacity:1;visibility:visible;transform:scale(1)}.tooltip-hidden{opacity:0;visibility:hidden;transform:scale(.95)}.tooltip-arrow{background-color:var(--malachite-tooltip-background)}svg path{fill:currentColor!important}.table-bordered-container{box-shadow:var(--malachite-table-box-shadow);background-color:var(--malachite-table-background);padding:4px}.table-header{color:var(--malachite-table-header-foreground);background-color:var(--malachite-table-header-background)!important}.table-row{background-color:var(--malachite-table-row-background);color:var(--malachite-table-row-foreground);border-bottom:1px solid var(--malachite-table-row-border)}.table-row:hover{background-color:var(--malachite-table-row-hover-background)}.table-cell-bordered{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-top{border-top:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-bottom{border-bottom:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-left{border-left:1px solid var(--malachite-table-borderedRow-outline)}.table-cell-bordered-right{border-right:1px solid var(--malachite-table-borderedRow-outline)}.table-row-bordered{background-color:var(--malachite-table-borderedRow-background)}.table-pagination-button{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-button:hover:not(:disabled){background-color:var(--malachite-table-pagination-hover-background)}.table-pagination-button:disabled{opacity:var(--malachite-table-pagination-disabled-opacity)}.table-pagination-select{background-color:var(--malachite-table-pagination-background);color:var(--malachite-table-pagination-foreground);border:1px solid var(--malachite-table-pagination-border)}.table-pagination-text{color:var(--malachite-table-pagination-foreground)}.table-error-icon{background-color:var(--malachite-table-error-icon-background);color:var(--malachite-table-error-icon-foreground)}.table-error-title{color:var(--malachite-table-error-title-foreground)}.table-error-subtitle{color:var(--malachite-table-error-subtitle-foreground)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}',r.appendChild(e),Io(r)}catch(e){console.error("Error loading styles into shadow DOM:",e)}})(),()=>{try{!function(e){try{zo.delete(e)}catch(e){console.error("Error unregistering shadow root:",e)}}(r)}catch(e){console.warn("Error during shadow root cleanup:",e)}}}),[r]),null===r?z.jsx("div",{ref:t,"data-testid":"shadow-root-wrapper"}):z.jsx("div",{ref:t,children:r&&Je.createPortal(z.jsx("div",{style:{isolation:"isolate"},children:e}),r)})},Mo=({children:e,className:t=""})=>z.jsx(Ro,{children:z.jsx("div",{className:t,children:e})}),$o=({vertical:e,horizontal:t,children:r,fullHeight:n=!0,className:a="",overflow:i="visible"})=>{const o=e=>{switch(e){case"xsmall":return"4px";case"small":return"7px";case"medium":default:return"14px";case"large":return"28px";case"none":return"0"}};return z.jsx("div",{className:a,style:{padding:`${o(e)} ${o(t)}`,height:n?"100%":void 0,overflow:i},children:r})},Fo=({size:e="medium",className:t="",style:r={}})=>{const n=(e=>{switch(e){case"xxxsmall":return"w-3.5 h-3.5";case"xxsmall":return"w-6 h-6";case"xsmall":return"w-12 h-12";case"small":return"w-24 h-24";case"medium":default:return"w-48 h-48";case"large":return"w-96 h-96"}})(e),a=(e=>{switch(e){case"xxxsmall":return"min-h-[14px]";case"xxsmall":return"min-h-[25px]";case"xsmall":return"min-h-[50px]";case"small":return"min-h-[100px]";case"medium":default:return"min-h-[200px]";case"large":return"min-h-[400px]"}})(e);return z.jsx("div",{className:`flex items-center justify-center ${a} ${t}`,style:r,children:z.jsxs("svg",{className:`animate-spin ${n}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{color:"var(--malachite-text-dimmed)"},children:[z.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),z.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})},Vo=({label:e,hint:t,tooltip:r,placeholder:n,icon:a,name:i,required:o,error:s,description:l,loading:u=!1,readOnly:c=!1,type:d="text",size:p="medium",variant:f="default",defaultValue:m,disabled:g,prefixValue:v,prefixSecondaryValue:y,ellipsis:b=!1,formControl:w,buttons:x,onCopyClick:k,showCopyButton:C,onChange:A,onBlur:E,helperText:S,showPasswordToggle:j=!0})=>{const[I,O]=h.useState(!1),[_,N]=h.useState(m||""),[P,D]=h.useState(!1);h.useEffect((()=>{if(P){const e=setTimeout((()=>{D(!1)}),1e3);return()=>clearTimeout(e)}}),[P]);const T=k?()=>{_&&(navigator.clipboard.writeText(_),D(!0),k())}:void 0,B=e=>{switch(e){case"small":return"h-8 py-2 text-sm";case"medium":default:return"h-10 py-[10px] text-[15px] leading-[1.4]";case"large":return"h-12 py-3 text-base"}},R="password"===d?I?"text":"password":d,M=a||v||y,$=C??!!(T&&g&&_),F=s||$||(null==x?void 0:x.length)||"password"===d&&j,V=(U=s,"ghost"===f?{wrapper:[U?"border-0 border-b border-solid border-[var(--malachite-destructive-border)]":"",U?"focus-within:border-[var(--malachite-destructive-border-hover)] hover:border-[var(--malachite-destructive-border-hover)]":""],shadow:"shadow-none",borderRadius:"rounded-none"}:{wrapper:["border border-solid",U?"border-[var(--malachite-destructive-border)]":"border-[var(--malachite-card-border)]",U?"focus-within:border-[var(--malachite-destructive-border-hover)] hover:border-[var(--malachite-destructive-border-hover)]":"focus-within:border-[var(--malachite-primary-border-hover)] hover:border-[var(--malachite-primary-border-hover)]"],shadow:U?"shadow-error":"shadow-default",borderRadius:"rounded-[12px]"}),L=["relative","flex items-center","w-full",V.borderRadius,g?"bg-[var(--malachite-card-dimmed-background)]":"bg-[var(--malachite-card-background)]","transition-colors duration-200 ease-in-out",V.shadow,...g?[]:V.wrapper,B(p).split(" ").find((e=>e.startsWith("h-")))||"h-10"].filter(Boolean).join(" ");var U;return z.jsxs(Cn,{label:e,hint:t,tooltip:r,name:i,required:o,loading:u,formControl:w,description:l,loadingComponent:z.jsx(uo,{size:p}),children:[z.jsxs("div",{className:L,children:[M&&z.jsx("div",{className:"flex items-center pl-3 pr-1 flex-shrink-0 pointer-events-none",children:z.jsx(Lo,{prefixValue:v,prefixSecondaryValue:y,icon:a})}),z.jsx("input",{type:R,placeholder:n,value:_,onChange:e=>{const t=e.target.value;N(t),null==A||A(t)},onBlur:E,disabled:g||c,readOnly:c,autoComplete:"off",className:`flex-1 bg-transparent border-none outline-none text-[var(--malachite-text-primary)] placeholder:text-[var(--malachite-text-placeholder)] disabled:text-[var(--malachite-text-primary)] disabled:cursor-not-allowed ${B(p).split(" ")} px-[16px] py-[12px] ${b?"min-w-0 truncate":""}`,name:i}),F&&z.jsxs("div",{className:"flex items-center pl-1 flex-shrink-0 "+("password"===d&&j?"pr-0":"pr-3"),children:[z.jsx(Uo,{error:s,defaultValue:_,onCopyClick:T,showCopyButton:$,copied:P,type:d,showPassword:I,showPasswordToggle:j,onTogglePassword:()=>O(!I)}),z.jsx(Zo,{buttons:x})]})]}),S&&z.jsx("div",{className:"text-[13px] text-[var(--malachite-text-dimmed)] text-left pl-2",children:S})]})},Lo=({prefixValue:e,prefixSecondaryValue:t,icon:r})=>z.jsxs("div",{className:"flex items-center gap-1",children:[r&&z.jsx("span",{className:"flex items-center justify-center text-[var(--malachite-text-dimmed)] w-4 h-4 flex-shrink-0",children:r}),e&&z.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:e}),t&&z.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:t})]}),Uo=({error:e,defaultValue:t,onCopyClick:r,showCopyButton:n=!1,copied:a=!1,type:i,showPassword:o,showPasswordToggle:s=!0,onTogglePassword:l})=>z.jsxs("div",{className:"flex items-center gap-1",children:[e&&z.jsx("div",{className:"flex items-center justify-center w-5 h-5 flex-shrink-0",children:z.jsx(zt,{size:16,className:"text-[var(--malachite-destructive-foreground)]"})}),n&&r&&t&&z.jsx("button",{onClick:r,type:"button",className:"flex items-center justify-center w-5 h-5 hover:bg-[var(--malachite-primary-border)] rounded transition-colors flex-shrink-0 cursor-pointer",children:a?z.jsx(Ct,{size:16,style:{color:"var(--malachite-success-foreground)"}}):z.jsx(At,{size:16})}),"password"===i&&s&&z.jsx(ut,{variant:"no-style",onClick:l,type:"button",size:"small",children:o?z.jsx(St,{size:16,style:{color:"var(--malachite-text-dimmed)"}}):z.jsx(jt,{size:16,style:{color:"var(--malachite-text-dimmed)"}})})]}),Zo=({buttons:e})=>null!=e&&e.length?z.jsx(z.Fragment,{children:e.map((e=>z.jsx(ut,{variant:e.variant||(e.danger?"destructive":"outline"),size:e.size||"small",disabled:e.disabled,icon:e.icon,tooltip:e.tooltip,onClick:e.onClick,className:"ml-1",children:e.label},e.label)))}):null,Qo=({label:e,hint:t,tooltip:r,placeholder:n,icon:a,name:i,required:o,error:s,description:l,loading:u=!1,readOnly:c=!1,size:d="medium",defaultValue:p,disabled:f,prefixValue:m,prefixSecondaryValue:g,formControl:v,buttons:y,onCopyClick:b,onChange:w,value:x,onBlur:k,rows:C=4,maxLength:A,resize:E="vertical"})=>{const[S,j]=h.useState(p||""),I=void 0!==x?x:S,O=void 0!==x,_=e=>{const t=e.target.value;O||j(t),null==w||w(t)},N=e=>{switch(e){case"small":return"text-sm";case"medium":default:return"text-[15px] leading-[1.4]";case"large":return"text-base"}},P=(e,t)=>`${{small:20,medium:22,large:24}[e]*t+{small:16,medium:24,large:24}[e]}px`,D=a||m||g,T=s||b&&f&&I||(null==y?void 0:y.length);return z.jsx(Cn,{label:e,hint:t,tooltip:r,name:i,required:o,loading:u,formControl:v,description:l,loadingComponent:z.jsx(Go,{size:d,rows:C}),children:(()=>{const e=["relative","flex","w-full","rounded-[12px]","border border-solid",f?"bg-[var(--malachite-card-dimmed-background)]":"bg-[var(--malachite-card-background)]","transition-colors duration-200 ease-in-out",f?"":"focus-within:border-[var(--malachite-primary-border-hover)]",f?"":"hover:border-[var(--malachite-primary-border-hover)]",s?"shadow-error":"shadow-default",s?"border-[var(--malachite-destructive-border)]":"border-[var(--malachite-card-border)]",s?"focus-within:border-[var(--malachite-destructive-border-hover)] hover:border-[var(--malachite-destructive-border-hover)]":"focus-within:border-[var(--malachite-primary-border-hover)] hover:border-[var(--malachite-primary-border-hover)]"].filter(Boolean).join(" "),t=["flex-1","bg-transparent","border-none","outline-none","text-[var(--malachite-text-primary)]","placeholder:text-[var(--malachite-text-placeholder)]","disabled:text-[var(--malachite-text-dimmed)]","disabled:cursor-not-allowed",N(d),"px-[16px]","py-[12px]","none"===E?"resize-none":"vertical"===E?"resize-y":"horizontal"===E?"resize-x":"resize"].filter(Boolean).join(" "),r=z.jsx("textarea",{placeholder:n,value:f?p:I,onChange:_,onBlur:k,disabled:f||!!m||!!g||c,readOnly:c,rows:C,maxLength:A,style:{minHeight:P(d,C)},className:t,name:i});return z.jsxs("div",{className:e,children:[D&&z.jsx("div",{className:"flex pt-3 pl-3 pr-1 flex-shrink-0 pointer-events-none",children:z.jsx(Ko,{prefixValue:m,prefixSecondaryValue:g,icon:a})}),r,T&&z.jsxs("div",{className:"flex pt-3 pl-1 pr-3 flex-shrink-0",children:[z.jsx(Yo,{error:s,disabled:f,defaultValue:I,onCopyClick:b}),z.jsx(Wo,{buttons:y})]})]})})()})},Go=({size:e="medium",rows:t=4})=>z.jsx("div",{className:"w-full rounded-[12px] border border-solid border-[var(--malachite-card-border)] bg-[var(--malachite-card-border)] flex items-center justify-center shadow-[var(--malachite-shadow-default)]",style:{minHeight:((e,t)=>`${{small:20,medium:22,large:24}[e]*t+{small:16,medium:24,large:24}[e]}px`)(e,t)}}),Ko=({prefixValue:e,prefixSecondaryValue:t,icon:r})=>z.jsxs("div",{className:"flex items-start gap-1",children:[r&&z.jsx("span",{className:"flex items-center justify-center text-[var(--malachite-text-dimmed)] w-4 h-4 flex-shrink-0 mt-1",children:r}),e&&z.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:e}),t&&z.jsx("span",{className:"text-[15px] leading-[1.4] text-[var(--malachite-text-dimmed)] whitespace-nowrap",children:t})]}),Yo=({error:e,disabled:t,defaultValue:r,onCopyClick:n})=>z.jsxs("div",{className:"flex items-start gap-1",children:[e&&z.jsx("div",{className:"flex items-center justify-center w-5 h-5 flex-shrink-0 mt-1",children:z.jsx(zt,{size:16,className:"text-[var(--malachite-destructive-foreground)]"})}),n&&t&&r&&z.jsx("button",{onClick:()=>{navigator.clipboard.writeText(r),n()},type:"button",className:"flex items-center justify-center w-5 h-5 hover:bg-[var(--malachite-primary-border)] rounded transition-colors flex-shrink-0 mt-1",children:z.jsx(At,{size:16})})]}),Wo=({buttons:e})=>null!=e&&e.length?z.jsx("div",{className:"flex flex-col gap-1 mt-1",children:e.map((e=>z.jsx(ut,{variant:e.danger?"destructive":"outline",size:"small",disabled:e.disabled,icon:e.icon,tooltip:e.tooltip,onClick:e.onClick,children:e.label},e.label)))}):null,Ho=wo,qo=cn,Jo=({children:e,fontWeight:t="normal",size:r="small",textTransform:n="none",className:a="",style:i={}})=>{const o={fontSize:(e=>{switch(e){case"xsmall":return"12px";case"small":default:return"14px";case"medium":return"16px";case"large":return"18px";case"xlarge":return"24px"}})(r),fontWeight:(e=>{switch(e){case"normal":default:return 400;case"semi-bold":return 500;case"bold":return 600}})(t),color:"var(--malachite-text-dimmed)",textTransform:n,lineHeight:"1.4",...i};return z.jsx("span",{className:a,style:o,children:e})},Xo=hn,es=({label:e="Label",className:t="",selected:r=!1,disabled:n=!1,onClick:a})=>z.jsx("div",{className:`\n inline-flex items-center justify-center\n px-2.5 py-1.5 \n rounded-[10px]\n text-[13px] font-medium\n cursor-pointer\n transition-all duration-150 ease-in-out\n ${r?"bg-[var(--malachite-pillbutton-hover-background)] text-[var(--malachite-pillbutton-hover-foreground)] active:opacity-60":"bg-[var(--malachite-pillbutton-background)] text-[var(--malachite-pillbutton-foreground)] hover:bg-[var(--malachite-pillbutton-hover-background)] hover:text-[var(--malachite-pillbutton-hover-foreground)] active:bg-[var(--malachite-pillbutton-pressed-background)] active:text-[var(--malachite-pillbutton-pressed-foreground)] active:opacity-60"}\n ${n?"opacity-50 cursor-not-allowed pointer-events-none":""}\n ${t}\n `,onClick:a,children:e});var ts=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},rs="undefined"==typeof window||"Deno"in globalThis;function ns(){}function as(e){return"number"==typeof e&&e>=0&&e!==1/0}function is(e,t){return Math.max(e+(t||0)-Date.now(),0)}function os(e,t){return"function"==typeof e?e(t):e}function ss(e,t){return"function"==typeof e?e(t):e}function ls(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:i,queryKey:o,stale:s}=e;if(o)if(n){if(t.queryHash!==cs(o,t.options))return!1}else if(!ps(t.queryKey,o))return!1;if("all"!==r){const e=t.isActive();if("active"===r&&!e)return!1;if("inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((!a||a===t.state.fetchStatus)&&!(i&&!i(t)))}function us(e,t){const{exact:r,status:n,predicate:a,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(ds(t.options.mutationKey)!==ds(i))return!1}else if(!ps(t.options.mutationKey,i))return!1}return(!n||t.state.status===n)&&!(a&&!a(t))}function cs(e,t){return(t?.queryKeyHashFn||ds)(e)}function ds(e){return JSON.stringify(e,((e,t)=>gs(t)?Object.keys(t).sort().reduce(((e,r)=>(e[r]=t[r],e)),{}):t))}function ps(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every((r=>ps(e[r],t[r]))))}function hs(e,t){if(e===t)return e;const r=ms(e)&&ms(t);if(r||gs(e)&&gs(t)){const n=r?e:Object.keys(e),a=n.length,i=r?t:Object.keys(t),o=i.length,s=r?[]:{};let l=0;for(let a=0;a<o;a++){const o=r?a:i[a];(!r&&n.includes(o)||r)&&void 0===e[o]&&void 0===t[o]?(s[o]=void 0,l++):(s[o]=hs(e[o],t[o]),s[o]===e[o]&&void 0!==e[o]&&l++)}return a===o&&l===a?e:s}return t}function fs(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function ms(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function gs(e){if(!vs(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!!vs(r)&&(!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function vs(e){return"[object Object]"===Object.prototype.toString.call(e)}function ys(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?hs(e,t):t}function bs(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function ws(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var xs=Symbol();function ks(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==xs?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var Cs=new class extends ts{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!rs&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},As=new class extends ts{#n=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!rs&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#n}};function Es(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n}));function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch((()=>{})),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}function Ss(e){return Math.min(1e3*2**e,3e4)}function js(e){return"online"!==(e??"online")||As.isOnline()}var zs=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Is(e){return e instanceof zs}function Os(e){let t,r=!1,n=0,a=!1;const i=Es(),o=()=>Cs.isFocused()&&("always"===e.networkMode||As.isOnline())&&e.canRun(),s=()=>js(e.networkMode)&&e.canRun(),l=r=>{a||(a=!0,e.onSuccess?.(r),t?.(),i.resolve(r))},u=r=>{a||(a=!0,e.onError?.(r),t?.(),i.reject(r))},c=()=>new Promise((r=>{t=e=>{(a||o())&&r(e)},e.onPause?.()})).then((()=>{t=void 0,a||e.onContinue?.()})),d=()=>{if(a)return;let t;const i=0===n?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(l).catch((t=>{if(a)return;const i=e.retry??(rs?0:3),s=e.retryDelay??Ss,l="function"==typeof s?s(n,t):s,p=!0===i||"number"==typeof i&&n<i||"function"==typeof i&&i(n,t);var h;!r&&p?(n++,e.onFail?.(n,t),(h=l,new Promise((e=>{setTimeout(e,h)}))).then((()=>o()?void 0:c())).then((()=>{r?u(t):d()}))):u(t)}))};return{promise:i,cancel:t=>{a||(u(new zs(t)),e.abort?.())},continue:()=>(t?.(),i),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:s,start:()=>(s()?d():c().then(d),i)}}var _s=e=>setTimeout(e,0);var Ns=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},a=_s;const i=n=>{t?e.push(n):a((()=>{r(n)}))};return{batch:i=>{let o;t++;try{o=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&a((()=>{n((()=>{t.forEach((e=>{r(e)}))}))}))})()}return o},batchCalls:e=>(...t)=>{i((()=>{e(...t)}))},schedule:i,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{a=e}}}(),Ps=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),as(this.gcTime)&&(this.#a=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(rs?1/0:3e5))}clearGcTimeout(){this.#a&&(clearTimeout(this.#a),this.#a=void 0)}},Ds=class extends Ps{#i;#o;#s;#l;#u;#c;#d;constructor(e){super(),this.#d=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#s=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#i=function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#i,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#u?.promise}setOptions(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#s.remove(this)}setData(e,t){const r=ys(this.state.data,e,this.options);return this.#p({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#u?.promise;return this.#u?.cancel(e),t?t.then(ns).catch(ns):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#i)}isActive(){return this.observers.some((e=>!1!==ss(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xs||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!is(this.state.dataUpdatedAt,e)}onFocus(){const e=this.observers.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#u?.continue()}onOnline(){const e=this.observers.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#u?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#u&&(this.#d?this.#u.cancel({revert:!0}):this.#u.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#u)return this.#u.continueRetry(),this.#u.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#d=!0,r.signal)})},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:()=>{const e=ks(this.options,t),r={client:this.#l,queryKey:this.queryKey,meta:this.meta};return n(r),this.#d=!1,this.options.persister?this.options.persister(e,r,this):e(r)}};n(a),this.options.behavior?.onFetch(a,this),this.#o=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#p({type:"fetch",meta:a.fetchOptions?.meta});const i=e=>{Is(e)&&e.silent||this.#p({type:"error",error:e}),Is(e)||(this.#s.config.onError?.(e,this),this.#s.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#u=Os({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{if(void 0!==e){try{this.setData(e)}catch(e){return void i(e)}this.#s.config.onSuccess?.(e,this),this.#s.config.onSettled?.(e,this.state.error,this),this.scheduleGc()}else i(new Error(`${this.queryHash} data is undefined`))},onError:i,onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#u.start()}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...Ts(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=e.error;return Is(r)&&r.revert&&this.#o?{...this.#o,fetchStatus:"idle"}:{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Ns.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#s.notify({query:this,type:"updated",action:e})}))}};function Ts(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:js(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var Bs=class extends ts{constructor(e={}){super(),this.config=e,this.#h=new Map}#h;build(e,t,r){const n=t.queryKey,a=t.queryHash??cs(n,t);let i=this.get(a);return i||(i=new Ds({client:e,queryKey:n,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(i)),i}add(e){this.#h.has(e.queryHash)||(this.#h.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#h.get(e.queryHash);t&&(e.destroy(),t===e&&this.#h.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ns.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#h.get(e)}getAll(){return[...this.#h.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>ls(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>ls(e,t))):t}notify(e){Ns.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){Ns.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){Ns.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},Rs=class extends Ps{#f;#m;#u;constructor(e){super(),this.mutationId=e.mutationId,this.#m=e.mutationCache,this.#f=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#f.includes(e)||(this.#f.push(e),this.clearGcTimeout(),this.#m.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#f=this.#f.filter((t=>t!==e)),this.scheduleGc(),this.#m.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#f.length||("pending"===this.state.status?this.scheduleGc():this.#m.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#p({type:"continue"})};this.#u=Os({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#m.canRun(this)});const r="pending"===this.state.status,n=!this.#u.canStart();try{if(r)t();else{this.#p({type:"pending",variables:e,isPaused:n}),await(this.#m.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#p({type:"pending",context:t,variables:e,isPaused:n})}const a=await this.#u.start();return await(this.#m.config.onSuccess?.(a,e,this.state.context,this)),await(this.options.onSuccess?.(a,e,this.state.context)),await(this.#m.config.onSettled?.(a,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(a,null,e,this.state.context)),this.#p({type:"success",data:a}),a}catch(t){try{throw await(this.#m.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#m.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#p({type:"error",error:t})}}finally{this.#m.runNext(this)}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),Ns.batch((()=>{this.#f.forEach((t=>{t.onMutationUpdate(e)})),this.#m.notify({mutation:this,type:"updated",action:e})}))}};var Ms=class extends ts{constructor(e={}){super(),this.config=e,this.#g=new Set,this.#v=new Map,this.#y=0}#g;#v;#y;build(e,t,r){const n=new Rs({mutationCache:this,mutationId:++this.#y,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#g.add(e);const t=$s(e);if("string"==typeof t){const r=this.#v.get(t);r?r.push(e):this.#v.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#g.delete(e)){const t=$s(e);if("string"==typeof t){const r=this.#v.get(t);if(r)if(r.length>1){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#v.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=$s(e);if("string"==typeof t){const r=this.#v.get(t),n=r?.find((e=>"pending"===e.state.status));return!n||n===e}return!0}runNext(e){const t=$s(e);if("string"==typeof t){const r=this.#v.get(t)?.find((t=>t!==e&&t.state.isPaused));return r?.continue()??Promise.resolve()}return Promise.resolve()}clear(){Ns.batch((()=>{this.#g.forEach((e=>{this.notify({type:"removed",mutation:e})})),this.#g.clear(),this.#v.clear()}))}getAll(){return Array.from(this.#g)}find(e){const t={exact:!0,...e};return this.getAll().find((e=>us(t,e)))}findAll(e={}){return this.getAll().filter((t=>us(e,t)))}notify(e){Ns.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return Ns.batch((()=>Promise.all(e.map((e=>e.continue().catch(ns))))))}};function $s(e){return e.options.scope?.id}function Fs(e){return{onFetch:(t,r)=>{const n=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const u=async()=>{let r=!1;const u=ks(t.options,t.fetchOptions),c=async(e,n,a)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const i={client:t.client,queryKey:t.queryKey,pageParam:n,direction:a?"backward":"forward",meta:t.options.meta};(e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",(()=>{r=!0})),t.signal)})})(i);const o=await u(i),{maxPages:s}=t.options,l=a?ws:bs;return{pages:l(e.pages,o,s),pageParams:l(e.pageParams,n,s)}};if(a&&i.length){const e="backward"===a,t={pages:i,pageParams:o},r=(e?Ls:Vs)(n,t);s=await c(t,r,e)}else{const t=e??i.length;do{const e=0===l?o[0]??n.initialPageParam:Vs(n,s);if(l>0&&null==e)break;s=await c(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=u}}}function Vs(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function Ls(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var Us=class{#b;#m;#c;#w;#x;#k;#C;#A;constructor(e={}){this.#b=e.queryCache||new Bs,this.#m=e.mutationCache||new Ms,this.#c=e.defaultOptions||{},this.#w=new Map,this.#x=new Map,this.#k=0}mount(){this.#k++,1===this.#k&&(this.#C=Cs.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#b.onFocus())})),this.#A=As.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#b.onOnline())})))}unmount(){this.#k--,0===this.#k&&(this.#C?.(),this.#C=void 0,this.#A?.(),this.#A=void 0)}isFetching(e){return this.#b.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#m.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=this.#b.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(os(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#b.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),a=this.#b.get(n.queryHash),i=a?.state.data,o=function(e,t){return"function"==typeof e?e(t):e}(t,i);if(void 0!==o)return this.#b.build(this,n).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return Ns.batch((()=>this.#b.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,r)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state}removeQueries(e){const t=this.#b;Ns.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const r=this.#b;return Ns.batch((()=>(r.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries({type:"active",...e},t))))}cancelQueries(e,t={}){const r={revert:!0,...t},n=Ns.batch((()=>this.#b.findAll(e).map((e=>e.cancel(r)))));return Promise.all(n).then(ns).catch(ns)}invalidateQueries(e,t={}){return Ns.batch((()=>(this.#b.findAll(e).forEach((e=>{e.invalidate()})),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=Ns.batch((()=>this.#b.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(ns)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(n).then(ns)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const r=this.#b.build(this,t);return r.isStaleByTime(os(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ns).catch(ns)}fetchInfiniteQuery(e){return e.behavior=Fs(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ns).catch(ns)}ensureInfiniteQueryData(e){return e.behavior=Fs(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return As.isOnline()?this.#m.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#b}getMutationCache(){return this.#m}getDefaultOptions(){return this.#c}setDefaultOptions(e){this.#c=e}setQueryDefaults(e,t){this.#w.set(ds(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#w.values()],r={};return t.forEach((t=>{ps(e,t.queryKey)&&Object.assign(r,t.defaultOptions)})),r}setMutationDefaults(e,t){this.#x.set(ds(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#x.values()],r={};return t.forEach((t=>{ps(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)})),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#c.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=cs(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===xs&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#c.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#b.clear(),this.#m.clear()}},Zs=class extends ts{constructor(e,t){super(),this.options=t,this.#l=e,this.#E=null,this.#S=Es(),this.options.experimental_prefetchInRender||this.#S.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#l;#j=void 0;#z=void 0;#I=void 0;#O;#_;#S;#E;#N;#P;#D;#T;#B;#R;#M=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#j.addObserver(this),Qs(this.#j,this.options)?this.#$():this.updateResult(),this.#F())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Gs(this.#j,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Gs(this.#j,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#V(),this.#L(),this.#j.removeObserver(this)}setOptions(e){const t=this.options,r=this.#j;if(this.options=this.#l.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof ss(this.options.enabled,this.#j))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#U(),this.#j.setOptions(this.options),t._defaulted&&!fs(this.options,t)&&this.#l.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#j,observer:this});const n=this.hasListeners();n&&Ks(this.#j,r,this.options,t)&&this.#$(),this.updateResult(),!n||this.#j===r&&ss(this.options.enabled,this.#j)===ss(t.enabled,this.#j)&&os(this.options.staleTime,this.#j)===os(t.staleTime,this.#j)||this.#Z();const a=this.#Q();!n||this.#j===r&&ss(this.options.enabled,this.#j)===ss(t.enabled,this.#j)&&a===this.#R||this.#G(a)}getOptimisticResult(e){const t=this.#l.getQueryCache().build(this.#l,e),r=this.createResult(t,e);return function(e,t){if(!fs(e.getCurrentResult(),t))return!0;return!1}(this,r)&&(this.#I=r,this.#_=this.options,this.#O=this.#j.state),r}getCurrentResult(){return this.#I}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),Reflect.get(e,r))})}trackProp(e){this.#M.add(e)}getCurrentQuery(){return this.#j}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#l.defaultQueryOptions(e),r=this.#l.getQueryCache().build(this.#l,t);return r.fetch().then((()=>this.createResult(r,t)))}fetch(e){return this.#$({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#I)))}#$(e){this.#U();let t=this.#j.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ns)),t}#Z(){this.#V();const e=os(this.options.staleTime,this.#j);if(rs||this.#I.isStale||!as(e))return;const t=is(this.#I.dataUpdatedAt,e)+1;this.#T=setTimeout((()=>{this.#I.isStale||this.updateResult()}),t)}#Q(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#j):this.options.refetchInterval)??!1}#G(e){this.#L(),this.#R=e,!rs&&!1!==ss(this.options.enabled,this.#j)&&as(this.#R)&&0!==this.#R&&(this.#B=setInterval((()=>{(this.options.refetchIntervalInBackground||Cs.isFocused())&&this.#$()}),this.#R))}#F(){this.#Z(),this.#G(this.#Q())}#V(){this.#T&&(clearTimeout(this.#T),this.#T=void 0)}#L(){this.#B&&(clearInterval(this.#B),this.#B=void 0)}createResult(e,t){const r=this.#j,n=this.options,a=this.#I,i=this.#O,o=this.#_,s=e!==r?e.state:this.#z,{state:l}=e;let u,c={...l},d=!1;if(t._optimisticResults){const a=this.hasListeners(),i=!a&&Qs(e,t),o=a&&Ks(e,r,t,n);(i||o)&&(c={...c,...Ts(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:p,errorUpdatedAt:h,status:f}=c;u=c.data;let m=!1;if(void 0!==t.placeholderData&&void 0===u&&"pending"===f){let e;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=a.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#D?.state.data,this.#D):t.placeholderData,void 0!==e&&(f="success",u=ys(a?.data,e,t),d=!0)}if(t.select&&void 0!==u&&!m)if(a&&u===i?.data&&t.select===this.#N)u=this.#P;else try{this.#N=t.select,u=t.select(u),u=ys(a?.data,u,t),this.#P=u,this.#E=null}catch(e){this.#E=e}this.#E&&(p=this.#E,u=this.#P,h=Date.now(),f="error");const g="fetching"===c.fetchStatus,v="pending"===f,y="error"===f,b=v&&g,w=void 0!==u,x={status:f,fetchStatus:c.fetchStatus,isPending:v,isSuccess:"success"===f,isError:y,isInitialLoading:b,isLoading:b,data:u,dataUpdatedAt:c.dataUpdatedAt,error:p,errorUpdatedAt:h,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>s.dataUpdateCount||c.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!v,isLoadingError:y&&!w,isPaused:"paused"===c.fetchStatus,isPlaceholderData:d,isRefetchError:y&&w,isStale:Ys(e,t),refetch:this.refetch,promise:this.#S};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===x.status?e.reject(x.error):void 0!==x.data&&e.resolve(x.data)},n=()=>{const e=this.#S=x.promise=Es();t(e)},a=this.#S;switch(a.status){case"pending":e.queryHash===r.queryHash&&t(a);break;case"fulfilled":"error"!==x.status&&x.data===a.value||n();break;case"rejected":"error"===x.status&&x.error===a.reason||n()}}return x}updateResult(){const e=this.#I,t=this.createResult(this.#j,this.options);if(this.#O=this.#j.state,this.#_=this.options,void 0!==this.#O.data&&(this.#D=this.#j),fs(t,e))return;this.#I=t;this.#K({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#M.size)return!0;const n=new Set(r??this.#M);return this.options.throwOnError&&n.add("error"),Object.keys(this.#I).some((t=>{const r=t;return this.#I[r]!==e[r]&&n.has(r)}))})()})}#U(){const e=this.#l.getQueryCache().build(this.#l,this.options);if(e===this.#j)return;const t=this.#j;this.#j=e,this.#z=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#F()}#K(e){Ns.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#I)})),this.#l.getQueryCache().notify({query:this.#j,type:"observerResultsUpdated"})}))}};function Qs(e,t){return function(e,t){return!1!==ss(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&Gs(e,t,t.refetchOnMount)}function Gs(e,t,r){if(!1!==ss(t.enabled,e)){const n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&Ys(e,t)}return!1}function Ks(e,t,r,n){return(e!==t||!1===ss(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&Ys(e,r)}function Ys(e,t){return!1!==ss(t.enabled,e)&&e.isStaleByTime(os(t.staleTime,e))}var Ws=h.createContext(void 0),Hs=({client:e,children:t})=>(h.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),z.jsx(Ws.Provider,{value:e,children:t})),qs=h.createContext(!1);qs.Provider;var Js=h.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Xs=(e,t,r)=>t.fetchOptimistic(e).catch((()=>{r.clearReset()}));function el(e,t,r){const n=(()=>{const e=h.useContext(Ws);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e})(),a=h.useContext(qs),i=h.useContext(Js),o=n.defaultQueryOptions(e);n.getDefaultOptions().queries?._experimental_beforeQuery?.(o),o._optimisticResults=a?"isRestoring":"optimistic",(e=>{const t=e.staleTime;e.suspense&&(e.staleTime="function"==typeof t?(...e)=>Math.max(t(...e),1e3):Math.max(t??1e3,1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))})(o),((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))})(o,i),(e=>{h.useEffect((()=>{e.clearReset()}),[e])})(i);const s=!n.getQueryCache().get(o.queryHash),[l]=h.useState((()=>new t(n,o))),u=l.getOptimisticResult(o),c=!a&&!1!==e.subscribed;if(h.useSyncExternalStore(h.useCallback((e=>{const t=c?l.subscribe(Ns.batchCalls(e)):ns;return l.updateResult(),t}),[l,c]),(()=>l.getCurrentResult()),(()=>l.getCurrentResult())),h.useEffect((()=>{l.setOptions(o)}),[o,l]),((e,t)=>e?.suspense&&t.isPending)(o,u))throw Xs(o,l,i);if((({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(a&&void 0===e.data||function(e,t){return"function"==typeof e?e(...t):!!e}(r,[e.error,n])))({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:n.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw u.error;if(n.getDefaultOptions().queries?._experimental_afterQuery?.(o,u),o.experimental_prefetchInRender&&!rs&&((e,t)=>e.isLoading&&e.isFetching&&!t)(u,a)){const e=s?Xs(o,l,i):n.getQueryCache().get(o.queryHash)?.promise;e?.catch(ns).finally((()=>{l.updateResult()}))}return o.notifyOnChangeProps?u:l.trackResult(u)}function tl(e,t){return el(e,Zs)}const rl=({message:e})=>z.jsx(bo,{justify:go.Center,align:vo.Center,direction:yo.Vertical,gapSize:mo.Small,fullHeight:!0,children:z.jsx(Xo,{size:"medium",fontWeight:"semi-bold",children:e})}),nl=(e,t,r)=>{if(e&&"reportValidity"in e){const n=L(r,t);e.setCustomValidity(n&&n.message||""),e.reportValidity()}},al=(e,t)=>{for(const r in t.fields){const n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?nl(n.ref,r,e):n&&n.refs&&n.refs.forEach((t=>nl(t,r,e)))}},il=(e,t)=>{t.shouldUseNativeValidation&&al(e,t);const r={};for(const n in e){const a=L(t.fields,n),i=Object.assign(e[n]||{},{ref:a&&a.ref});if(ol(t.names||Object.keys(e),n)){const e=Object.assign({},L(r,n));Z(e,"root",i),Z(r,n,e)}else Z(r,n,i)}return r},ol=(e,t)=>{const r=sl(t);return e.some((e=>sl(e).match(`^${r}\\.\\d+`)))};function sl(e){return e.replace(/\]|\[/g,"")}function ll(e,t,r){function n(r,n){var a;Object.defineProperty(r,"_zod",{value:r._zod??{},enumerable:!1}),(a=r._zod).traits??(a.traits=new Set),r._zod.traits.add(e),t(r,n);for(const e in o.prototype)e in r||Object.defineProperty(r,e,{value:o.prototype[e].bind(r)});r._zod.constr=o,r._zod.def=n}const a=r?.Parent??Object;class i extends a{}function o(e){var t;const a=r?.Parent?new i:this;n(a,e),(t=a._zod).deferred??(t.deferred=[]);for(const e of a._zod.deferred)e();return a}return Object.defineProperty(i,"name",{value:e}),Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!(r?.Parent&&t instanceof r.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}let ul=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};class cl extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const dl={};function pl(e){return dl}function hl(e,t){return"bigint"==typeof t?t.toString():t}function fl(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function ml(e){return null==e}function gl(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}const vl=Symbol("evaluating");function yl(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==vl)return void 0===n&&(n=vl,n=r()),n},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function bl(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function wl(...e){const t={};for(const r of e){const e=Object.getOwnPropertyDescriptors(r);Object.assign(t,e)}return Object.defineProperties({},t)}function xl(e){return JSON.stringify(e)}const kl="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Cl(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const Al=fl((()=>{if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}}));function El(e){if(!1===Cl(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!1!==Cl(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function Sl(e){return El(e)?{...e}:Array.isArray(e)?[...e]:e}const jl=new Set(["string","number","symbol"]);function zl(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Il(e,t,r){const n=new e._zod.constr(t??e._zod.def);return t&&!r?.parent||(n._zod.parent=e),n}function Ol(e){const t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}function _l(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(!0!==e.issues[r]?.continue)return!0;return!1}function Nl(e,t){return t.map((t=>{var r;return(r=t).path??(r.path=[]),t.path.unshift(e),t}))}function Pl(e){return"string"==typeof e?e:e?.message}function Dl(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const a=Pl(e.inst?._zod.def?.error?.(e))??Pl(t?.error?.(e))??Pl(r.customError?.(e))??Pl(r.localeError?.(e))??"Invalid input";n.message=a}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function Tl(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function Bl(...e){const[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}const Rl=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,hl,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Ml=ll("$ZodError",Rl),$l=ll("$ZodError",Rl,{Parent:Error});const Fl=e=>(t,r,n,a)=>{const i=n?Object.assign(n,{async:!1}):{async:!1},o=t._zod.run({value:r,issues:[]},i);if(o instanceof Promise)throw new ul;if(o.issues.length){const t=new(a?.Err??e)(o.issues.map((e=>Dl(e,i,pl()))));throw kl(t,a?.callee),t}return o.value},Vl=Fl($l),Ll=e=>async(t,r,n,a)=>{const i=n?Object.assign(n,{async:!0}):{async:!0};let o=t._zod.run({value:r,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){const t=new(a?.Err??e)(o.issues.map((e=>Dl(e,i,pl()))));throw kl(t,a?.callee),t}return o.value},Ul=Ll($l),Zl=e=>(t,r,n)=>{const a=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise)throw new ul;return i.issues.length?{success:!1,error:new(e??Ml)(i.issues.map((e=>Dl(e,a,pl()))))}:{success:!0,data:i.value}},Ql=Zl($l),Gl=e=>async(t,r,n)=>{const a=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},a);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map((e=>Dl(e,a,pl()))))}:{success:!0,data:i.value}},Kl=Gl($l),Yl=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Fl(e)(t,r,a)},Wl=e=>(t,r,n)=>Fl(e)(t,r,n),Hl=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Ll(e)(t,r,a)},ql=e=>async(t,r,n)=>Ll(e)(t,r,n),Jl=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Zl(e)(t,r,a)},Xl=e=>(t,r,n)=>Zl(e)(t,r,n),eu=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Gl(e)(t,r,a)},tu=e=>async(t,r,n)=>Gl(e)(t,r,n),ru=/^[cC][^\s-]{8,}$/,nu=/^[0-9a-z]+$/,au=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,iu=/^[0-9a-vA-V]{20}$/,ou=/^[A-Za-z0-9]{27}$/,su=/^[a-zA-Z0-9_-]{21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|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,mu=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,gu=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,vu=/^[A-Za-z0-9_-]*$/,yu=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,bu=/^\+(?:[0-9]){6,14}[0-9]$/,wu="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",xu=new RegExp(`^${wu}$`);function ku(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}const Cu=/^[^A-Z]*$/,Au=/^[^a-z]*$/,Eu=ll("$ZodCheck",((e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])})),Su=ll("$ZodCheckMaxLength",((e,t)=>{var r;Eu.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!ml(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{const r=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=r=>{const n=r.value;if(n.length<=t.maximum)return;const a=Tl(n);r.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}})),ju=ll("$ZodCheckMinLength",((e,t)=>{var r;Eu.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!ml(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{const r=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=r=>{const n=r.value;if(n.length>=t.minimum)return;const a=Tl(n);r.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}})),zu=ll("$ZodCheckLengthEquals",((e,t)=>{var r;Eu.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!ml(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{const r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length})),e._zod.check=r=>{const n=r.value,a=n.length;if(a===t.length)return;const i=Tl(n),o=a>t.length;r.issues.push({origin:i,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}})),Iu=ll("$ZodCheckStringFormat",((e,t)=>{var r,n;Eu.init(e,t),e._zod.onattach.push((e=>{const r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(t.pattern))})),t.pattern?(r=e._zod).check??(r.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})})),Ou=ll("$ZodCheckRegex",((e,t)=>{Iu.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}})),_u=ll("$ZodCheckLowerCase",((e,t)=>{t.pattern??(t.pattern=Cu),Iu.init(e,t)})),Nu=ll("$ZodCheckUpperCase",((e,t)=>{t.pattern??(t.pattern=Au),Iu.init(e,t)})),Pu=ll("$ZodCheckIncludes",((e,t)=>{Eu.init(e,t);const r=zl(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push((e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)})),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}})),Du=ll("$ZodCheckStartsWith",((e,t)=>{Eu.init(e,t);const r=new RegExp(`^${zl(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push((e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)})),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}})),Tu=ll("$ZodCheckEndsWith",((e,t)=>{Eu.init(e,t);const r=new RegExp(`.*${zl(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push((e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)})),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}})),Bu=ll("$ZodCheckOverwrite",((e,t)=>{Eu.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}));let Ru=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});const t=e.split("\n").filter((e=>e)),r=Math.min(...t.map((e=>e.length-e.trimStart().length))),n=t.map((e=>e.slice(r))).map((e=>" ".repeat(2*this.indent)+e));for(const e of n)this.content.push(e)}compile(){const e=Function,t=this?.args,r=[...(this?.content??[""]).map((e=>` ${e}`))];return new e(...t,r.join("\n"))}};const Mu={major:4,minor:1,patch:12},$u=ll("$ZodType",((e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Mu;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const t of n)for(const r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push((()=>{e._zod.run=e._zod.parse}));else{const t=(e,t,r)=>{let n,a=_l(e);for(const i of t){if(i._zod.def.when){if(!i._zod.def.when(e))continue}else if(a)continue;const t=e.issues.length,o=i._zod.check(e);if(o instanceof Promise&&!1===r?.async)throw new ul;if(n||o instanceof Promise)n=(n??Promise.resolve()).then((async()=>{await o;e.issues.length!==t&&(a||(a=_l(e,t)))}));else{if(e.issues.length===t)continue;a||(a=_l(e,t))}}return n?n.then((()=>e)):e},r=(r,a,i)=>{if(_l(r))return r.aborted=!0,r;const o=t(a,n,i);if(o instanceof Promise){if(!1===i.async)throw new ul;return o.then((t=>e._zod.parse(t,i)))}return e._zod.parse(o,i)};e._zod.run=(a,i)=>{if(i.skipChecks)return e._zod.parse(a,i);if("backward"===i.direction){const t=e._zod.parse({value:a.value,issues:[]},{...i,skipChecks:!0});return t instanceof Promise?t.then((e=>r(e,a,i))):r(t,a,i)}const o=e._zod.parse(a,i);if(o instanceof Promise){if(!1===i.async)throw new ul;return o.then((e=>t(e,n,i)))}return t(o,n,i)}}e["~standard"]={validate:t=>{try{const r=Ql(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return Kl(e,t).then((e=>e.success?{value:e.data}:{issues:e.error?.issues}))}},vendor:"zod",version:1}})),Fu=ll("$ZodString",((e,t)=>{var r;$u.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??(r=e._zod.bag,new RegExp(`^${r?`[\\s\\S]{${r?.minimum??0},${r?.maximum??""}}`:"[\\s\\S]*"}$`)),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(n){}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}})),Vu=ll("$ZodStringFormat",((e,t)=>{Iu.init(e,t),Fu.init(e,t)})),Lu=ll("$ZodGUID",((e,t)=>{t.pattern??(t.pattern=uu),Vu.init(e,t)})),Uu=ll("$ZodUUID",((e,t)=>{if(t.version){const e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=cu(e))}else t.pattern??(t.pattern=cu());Vu.init(e,t)})),Zu=ll("$ZodEmail",((e,t)=>{t.pattern??(t.pattern=du),Vu.init(e,t)})),Qu=ll("$ZodURL",((e,t)=>{Vu.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),a=new URL(n);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:yu.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),void(t.normalize?r.value=a.href:r.value=n)}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}})),Gu=ll("$ZodEmoji",((e,t)=>{t.pattern??(t.pattern=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Vu.init(e,t)})),Ku=ll("$ZodNanoID",((e,t)=>{t.pattern??(t.pattern=su),Vu.init(e,t)})),Yu=ll("$ZodCUID",((e,t)=>{t.pattern??(t.pattern=ru),Vu.init(e,t)})),Wu=ll("$ZodCUID2",((e,t)=>{t.pattern??(t.pattern=nu),Vu.init(e,t)})),Hu=ll("$ZodULID",((e,t)=>{t.pattern??(t.pattern=au),Vu.init(e,t)})),qu=ll("$ZodXID",((e,t)=>{t.pattern??(t.pattern=iu),Vu.init(e,t)})),Ju=ll("$ZodKSUID",((e,t)=>{t.pattern??(t.pattern=ou),Vu.init(e,t)})),Xu=ll("$ZodISODateTime",((e,t)=>{t.pattern??(t.pattern=function(e){const t=ku({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${wu}T(?:${n})$`)}(t)),Vu.init(e,t)})),ec=ll("$ZodISODate",((e,t)=>{t.pattern??(t.pattern=xu),Vu.init(e,t)})),tc=ll("$ZodISOTime",((e,t)=>{t.pattern??(t.pattern=new RegExp(`^${ku(t)}$`)),Vu.init(e,t)})),rc=ll("$ZodISODuration",((e,t)=>{t.pattern??(t.pattern=lu),Vu.init(e,t)})),nc=ll("$ZodIPv4",((e,t)=>{t.pattern??(t.pattern=pu),Vu.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.format="ipv4"}))})),ac=ll("$ZodIPv6",((e,t)=>{t.pattern??(t.pattern=hu),Vu.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.format="ipv6"})),e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}})),ic=ll("$ZodCIDRv4",((e,t)=>{t.pattern??(t.pattern=fu),Vu.init(e,t)})),oc=ll("$ZodCIDRv6",((e,t)=>{t.pattern??(t.pattern=mu),Vu.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(2!==n.length)throw new Error;const[e,t]=n;if(!t)throw new Error;const r=Number(t);if(`${r}`!==t)throw new Error;if(r<0||r>128)throw new Error;new URL(`http://[${e}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}}));function sc(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const lc=ll("$ZodBase64",((e,t)=>{t.pattern??(t.pattern=gu),Vu.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.contentEncoding="base64"})),e._zod.check=r=>{sc(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}));const uc=ll("$ZodBase64URL",((e,t)=>{t.pattern??(t.pattern=vu),Vu.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.contentEncoding="base64url"})),e._zod.check=r=>{(function(e){if(!vu.test(e))return!1;const t=e.replace(/[-_]/g,(e=>"-"===e?"+":"/"));return sc(t.padEnd(4*Math.ceil(t.length/4),"="))})(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}})),cc=ll("$ZodE164",((e,t)=>{t.pattern??(t.pattern=bu),Vu.init(e,t)}));const dc=ll("$ZodJWT",((e,t)=>{Vu.init(e,t),e._zod.check=r=>{(function(e,t=null){try{const r=e.split(".");if(3!==r.length)return!1;const[n]=r;if(!n)return!1;const a=JSON.parse(atob(n));return!("typ"in a&&"JWT"!==a?.typ||!a.alg||t&&(!("alg"in a)||a.alg!==t))}catch{return!1}})(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}})),pc=ll("$ZodUnknown",((e,t)=>{$u.init(e,t),e._zod.parse=e=>e})),hc=ll("$ZodNever",((e,t)=>{$u.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}));function fc(e,t,r){e.issues.length&&t.issues.push(...Nl(r,e.issues)),t.value[r]=e.value}const mc=ll("$ZodArray",((e,t)=>{$u.init(e,t),e._zod.parse=(r,n)=>{const a=r.value;if(!Array.isArray(a))return r.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),r;r.value=Array(a.length);const i=[];for(let e=0;e<a.length;e++){const o=a[e],s=t.element._zod.run({value:o,issues:[]},n);s instanceof Promise?i.push(s.then((t=>fc(t,r,e)))):fc(s,r,e)}return i.length?Promise.all(i).then((()=>r)):r}}));function gc(e,t,r,n){e.issues.length&&t.issues.push(...Nl(r,e.issues)),void 0===e.value?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function vc(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const r=(n=e.shape,Object.keys(n).filter((e=>"optional"===n[e]._zod.optin&&"optional"===n[e]._zod.optout)));var n;return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function yc(e,t,r,n,a,i){const o=[],s=a.keySet,l=a.catchall._zod,u=l.def.type;for(const a of Object.keys(t)){if(s.has(a))continue;if("never"===u){o.push(a);continue}const i=l.run({value:t[a],issues:[]},n);i instanceof Promise?e.push(i.then((e=>gc(e,r,a,t)))):gc(i,r,a,t)}return o.length&&r.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:i}),e.length?Promise.all(e).then((()=>r)):r}const bc=ll("$ZodObject",((e,t)=>{$u.init(e,t);const r=Object.getOwnPropertyDescriptor(t,"shape");if(!r?.get){const e=t.shape;Object.defineProperty(t,"shape",{get:()=>{const r={...e};return Object.defineProperty(t,"shape",{value:r}),r}})}const n=fl((()=>vc(t)));yl(e._zod,"propValues",(()=>{const e=t.shape,r={};for(const t in e){const n=e[t]._zod;if(n.values){r[t]??(r[t]=new Set);for(const e of n.values)r[t].add(e)}}return r}));const a=Cl,i=t.catchall;let o;e._zod.parse=(t,r)=>{o??(o=n.value);const s=t.value;if(!a(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};const l=[],u=o.shape;for(const e of o.keys){const n=u[e]._zod.run({value:s[e],issues:[]},r);n instanceof Promise?l.push(n.then((r=>gc(r,t,e,s)))):gc(n,t,e,s)}return i?yc(l,s,t,r,n.value,e):l.length?Promise.all(l).then((()=>t)):t}})),wc=ll("$ZodObjectJIT",((e,t)=>{bc.init(e,t);const r=e._zod.parse,n=fl((()=>vc(t)));let a;const i=Cl,o=!dl.jitless,s=o&&Al.value,l=t.catchall;let u;e._zod.parse=(c,d)=>{u??(u=n.value);const p=c.value;return i(p)?o&&s&&!1===d?.async&&!0!==d.jitless?(a||(a=(e=>{const t=new Ru(["shape","payload","ctx"]),r=n.value,a=e=>{const t=xl(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");const i=Object.create(null);let o=0;for(const e of r.keys)i[e]="key_"+o++;t.write("const newResult = {};");for(const e of r.keys){const r=i[e],n=xl(e);t.write(`const ${r} = ${a(e)};`),t.write(`\n if (${r}.issues.length) {\n payload.issues = payload.issues.concat(${r}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${n}, ...iss.path] : [${n}]\n })));\n }\n \n \n if (${r}.value === undefined) {\n if (${n} in input) {\n newResult[${n}] = undefined;\n }\n } else {\n newResult[${n}] = ${r}.value;\n }\n \n `)}t.write("payload.value = newResult;"),t.write("return payload;");const s=t.compile();return(t,r)=>s(e,t,r)})(t.shape)),c=a(c,d),l?yc([],p,c,d,u,e):c):r(c,d):(c.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),c)}}));function xc(e,t,r,n){for(const r of e)if(0===r.issues.length)return t.value=r.value,t;const a=e.filter((e=>!_l(e)));return 1===a.length?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map((e=>e.issues.map((e=>Dl(e,n,pl())))))}),t)}const kc=ll("$ZodUnion",((e,t)=>{$u.init(e,t),yl(e._zod,"optin",(()=>t.options.some((e=>"optional"===e._zod.optin))?"optional":void 0)),yl(e._zod,"optout",(()=>t.options.some((e=>"optional"===e._zod.optout))?"optional":void 0)),yl(e._zod,"values",(()=>{if(t.options.every((e=>e._zod.values)))return new Set(t.options.flatMap((e=>Array.from(e._zod.values))))})),yl(e._zod,"pattern",(()=>{if(t.options.every((e=>e._zod.pattern))){const e=t.options.map((e=>e._zod.pattern));return new RegExp(`^(${e.map((e=>gl(e.source))).join("|")})$`)}}));const r=1===t.options.length,n=t.options[0]._zod.run;e._zod.parse=(a,i)=>{if(r)return n(a,i);let o=!1;const s=[];for(const e of t.options){const t=e._zod.run({value:a.value,issues:[]},i);if(t instanceof Promise)s.push(t),o=!0;else{if(0===t.issues.length)return t;s.push(t)}}return o?Promise.all(s).then((t=>xc(t,a,e,i))):xc(s,a,e,i)}})),Cc=ll("$ZodIntersection",((e,t)=>{$u.init(e,t),e._zod.parse=(e,r)=>{const n=e.value,a=t.left._zod.run({value:n,issues:[]},r),i=t.right._zod.run({value:n,issues:[]},r);return a instanceof Promise||i instanceof Promise?Promise.all([a,i]).then((([t,r])=>Ec(e,t,r))):Ec(e,a,i)}}));function Ac(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e===+t)return{valid:!0,data:e};if(El(e)&&El(t)){const r=Object.keys(t),n=Object.keys(e).filter((e=>-1!==r.indexOf(e))),a={...e,...t};for(const r of n){const n=Ac(e[r],t[r]);if(!n.valid)return{valid:!1,mergeErrorPath:[r,...n.mergeErrorPath]};a[r]=n.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const a=Ac(e[n],t[n]);if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Ec(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),_l(e))return e;const n=Ac(t.value,r.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}const Sc=ll("$ZodEnum",((e,t)=>{$u.init(e,t);const r=function(e){const t=Object.values(e).filter((e=>"number"==typeof e)),r=Object.entries(e).filter((([e,r])=>-1===t.indexOf(+e))).map((([e,t])=>t));return r}(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter((e=>jl.has(typeof e))).map((e=>"string"==typeof e?zl(e):e.toString())).join("|")})$`),e._zod.parse=(t,a)=>{const i=t.value;return n.has(i)||t.issues.push({code:"invalid_value",values:r,input:i,inst:e}),t}})),jc=ll("$ZodTransform",((e,t)=>{$u.init(e,t),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new cl(e.constructor.name);const a=t.transform(r.value,r);if(n.async){return(a instanceof Promise?a:Promise.resolve(a)).then((e=>(r.value=e,r)))}if(a instanceof Promise)throw new ul;return r.value=a,r}}));function zc(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}const Ic=ll("$ZodOptional",((e,t)=>{$u.init(e,t),e._zod.optin="optional",e._zod.optout="optional",yl(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0)),yl(e._zod,"pattern",(()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${gl(e.source)})?$`):void 0})),e._zod.parse=(e,r)=>{if("optional"===t.innerType._zod.optin){const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((t=>zc(t,e.value))):zc(n,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,r)}})),Oc=ll("$ZodNullable",((e,t)=>{$u.init(e,t),yl(e._zod,"optin",(()=>t.innerType._zod.optin)),yl(e._zod,"optout",(()=>t.innerType._zod.optout)),yl(e._zod,"pattern",(()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${gl(e.source)}|null)$`):void 0})),yl(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0)),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)})),_c=ll("$ZodDefault",((e,t)=>{$u.init(e,t),e._zod.optin="optional",yl(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);if(void 0===e.value)return e.value=t.defaultValue,e;const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((e=>Nc(e,t))):Nc(n,t)}}));function Nc(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}const Pc=ll("$ZodPrefault",((e,t)=>{$u.init(e,t),e._zod.optin="optional",yl(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>("backward"===r.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))})),Dc=ll("$ZodNonOptional",((e,t)=>{$u.init(e,t),yl(e._zod,"values",(()=>{const e=t.innerType._zod.values;return e?new Set([...e].filter((e=>void 0!==e))):void 0})),e._zod.parse=(r,n)=>{const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then((t=>Tc(t,e))):Tc(a,e)}}));function Tc(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Bc=ll("$ZodCatch",((e,t)=>{$u.init(e,t),yl(e._zod,"optin",(()=>t.innerType._zod.optin)),yl(e._zod,"optout",(()=>t.innerType._zod.optout)),yl(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((n=>(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map((e=>Dl(e,r,pl())))},input:e.value}),e.issues=[]),e))):(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map((e=>Dl(e,r,pl())))},input:e.value}),e.issues=[]),e)}})),Rc=ll("$ZodPipe",((e,t)=>{$u.init(e,t),yl(e._zod,"values",(()=>t.in._zod.values)),yl(e._zod,"optin",(()=>t.in._zod.optin)),yl(e._zod,"optout",(()=>t.out._zod.optout)),yl(e._zod,"propValues",(()=>t.in._zod.propValues)),e._zod.parse=(e,r)=>{if("backward"===r.direction){const n=t.out._zod.run(e,r);return n instanceof Promise?n.then((e=>Mc(e,t.in,r))):Mc(n,t.in,r)}const n=t.in._zod.run(e,r);return n instanceof Promise?n.then((e=>Mc(e,t.out,r))):Mc(n,t.out,r)}}));function Mc(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const $c=ll("$ZodReadonly",((e,t)=>{$u.init(e,t),yl(e._zod,"propValues",(()=>t.innerType._zod.propValues)),yl(e._zod,"values",(()=>t.innerType._zod.values)),yl(e._zod,"optin",(()=>t.innerType._zod.optin)),yl(e._zod,"optout",(()=>t.innerType._zod.optout)),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(Fc):Fc(n)}}));function Fc(e){return e.value=Object.freeze(e.value),e}const Vc=ll("$ZodCustom",((e,t)=>{Eu.init(e,t),$u.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{const n=r.value,a=t.fn(n);if(a instanceof Promise)return a.then((t=>Lc(t,r,n,e)));Lc(a,r,n,e)}}));function Lc(e,t,r,n){if(!e){const e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(Bl(e))}}let Uc=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){const r=t[0];if(this._map.set(e,r),r&&"object"==typeof r&&"id"in r){if(this._idmap.has(r.id))throw new Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const r={...this.get(t)??{}};delete r.id;const n={...r,...this._map.get(e)};return Object.keys(n).length?n:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function Zc(){return new Uc}const Qc=Zc();function Gc(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Ol(t)})}function Kc(e,t){return new Su({check:"max_length",...Ol(t),maximum:e})}function Yc(e,t){return new ju({check:"min_length",...Ol(t),minimum:e})}function Wc(e,t){return new zu({check:"length_equals",...Ol(t),length:e})}function Hc(e){return new Bu({check:"overwrite",tx:e})}function qc(e){const t=function(e,t){const r=new Eu({check:"custom",...Ol(t)});return r._zod.check=e,r}((r=>(r.addIssue=e=>{if("string"==typeof e)r.issues.push(Bl(e,r.value,t._zod.def));else{const n=e;n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=r.value),n.inst??(n.inst=t),n.continue??(n.continue=!t._zod.def.abort),r.issues.push(Bl(n))}},e(r.value,r))));return t}function Jc(e,t){try{var r=e()}catch(e){return t(e)}return r&&r.then?r.then(void 0,t):r}function Xc(e,t){for(var r={};e.length;){var n=e[0],a=n.code,i=n.message,o=n.path.join(".");if(!r[o])if("unionErrors"in n){var s=n.unionErrors[0].errors[0];r[o]={message:s.message,type:s.code}}else r[o]={message:i,type:a};if("unionErrors"in n&&n.unionErrors.forEach((function(t){return t.errors.forEach((function(t){return e.push(t)}))})),t){var l=r[o].types,u=l&&l[n.code];r[o]=fe(o,t,r,a,u?[].concat(u,n.message):n.message)}e.shift()}return r}function ed(e,t){for(var r={};e.length;){var n=e[0],a=n.code,i=n.message,o=n.path.join(".");if(!r[o])if("invalid_union"===n.code&&n.errors.length>0){var s=n.errors[0][0];r[o]={message:s.message,type:s.code}}else r[o]={message:i,type:a};if("invalid_union"===n.code&&n.errors.forEach((function(t){return t.forEach((function(t){return e.push(t)}))})),t){var l=r[o].types,u=l&&l[n.code];r[o]=fe(o,t,r,a,u?[].concat(u,n.message):n.message)}e.shift()}return r}function td(e,t,r){if(void 0===r&&(r={}),function(e){return"_def"in e&&"object"==typeof e._def&&"typeName"in e._def}(e))return function(n,a,i){try{return Promise.resolve(Jc((function(){return Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](n,t)).then((function(e){return i.shouldUseNativeValidation&&al({},i),{errors:{},values:r.raw?Object.assign({},n):e}}))}),(function(e){if(function(e){return Array.isArray(null==e?void 0:e.issues)}(e))return{values:{},errors:il(Xc(e.errors,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)};throw e})))}catch(e){return Promise.reject(e)}};if(function(e){return"_zod"in e&&"object"==typeof e._zod}(e))return function(n,a,i){try{return Promise.resolve(Jc((function(){return Promise.resolve(("sync"===r.mode?Vl:Ul)(e,n,t)).then((function(e){return i.shouldUseNativeValidation&&al({},i),{errors:{},values:r.raw?Object.assign({},n):e}}))}),(function(e){if(function(e){return e instanceof Ml}(e))return{values:{},errors:il(ed(e.issues,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)};throw e})))}catch(e){return Promise.reject(e)}};throw new Error("Invalid input: not a Zod schema")}var rd=Object.prototype.hasOwnProperty;function nd(e,t,r){for(r of e.keys())if(ad(r,t))return r}function ad(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&ad(e[n],t[n]););return-1===n}if(r===Set){if(e.size!==t.size)return!1;for(n of e){if((a=n)&&"object"==typeof a&&!(a=nd(t,a)))return!1;if(!t.has(a))return!1}return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e){if((a=n[0])&&"object"==typeof a&&!(a=nd(t,a)))return!1;if(!ad(n[1],t.get(a)))return!1}return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return-1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}if(!r||"object"==typeof e){for(r in n=0,e){if(rd.call(e,r)&&++n&&!rd.call(t,r))return!1;if(!(r in t)||!ad(e[r],t[r]))return!1}return Object.keys(t).length===n}}return e!=e&&t!=t}function id(e,t){return h.useEffect(e,(r=t,n=h.useRef(r),a=h.useRef(0),ad(r,n.current)||(n.current=r,a.current+=1),h.useMemo((function(){return n.current}),[a.current])));var r,n,a}function od(e){return"anchor"in e&&"string"==typeof e.anchor&&e.anchor.trim().length>0}const sd=/^__secretvalue:\*\*redacted\*\*(.*)$/,ld=e=>(e=>"string"==typeof e)(e)&&sd.test(e),ud=e=>{const t="••••••••••";if(!ld(e))return e;const r=e.match(sd);if(!r)return t;const n=r[1];return n?t+n:t},cd=ll("ZodISODateTime",((e,t)=>{Xu.init(e,t),Td.init(e,t)}));function dd(e){return function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Ol(t)})}(cd,e)}const pd=ll("ZodISODate",((e,t)=>{ec.init(e,t),Td.init(e,t)}));function hd(e){return function(e,t){return new e({type:"string",format:"date",check:"string_format",...Ol(t)})}(pd,e)}const fd=ll("ZodISOTime",((e,t)=>{tc.init(e,t),Td.init(e,t)}));function md(e){return function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Ol(t)})}(fd,e)}const gd=ll("ZodISODuration",((e,t)=>{rc.init(e,t),Td.init(e,t)}));function vd(e){return function(e,t){return new e({type:"string",format:"duration",check:"string_format",...Ol(t)})}(gd,e)}const yd=ll("ZodError",((e,t)=>{Ml.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t=e=>e.message){const r={_errors:[]},n=e=>{for(const a of e.issues)if("invalid_union"===a.code&&a.errors.length)a.errors.map((e=>n({issues:e})));else if("invalid_key"===a.code)n({issues:a.issues});else if("invalid_element"===a.code)n({issues:a.issues});else if(0===a.path.length)r._errors.push(t(a));else{let e=r,n=0;for(;n<a.path.length;){const r=a.path[n];n===a.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(a))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(e),r}(e,t)},flatten:{value:t=>function(e,t=e=>e.message){const r={},n=[];for(const a of e.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):n.push(t(a));return{formErrors:n,fieldErrors:r}}(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,hl,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,hl,2)}},isEmpty:{get:()=>0===e.issues.length}})}),{Parent:Error}),bd=Fl(yd),wd=Ll(yd),xd=Zl(yd),kd=Gl(yd),Cd=Yl(yd),Ad=Wl(yd),Ed=Hl(yd),Sd=ql(yd),jd=Jl(yd),zd=Xl(yd),Id=eu(yd),Od=tu(yd),_d=ll("ZodType",((e,t)=>($u.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(wl(t,{checks:[...t.checks??[],...r.map((e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e))]})),e.clone=(t,r)=>Il(e,t,r),e.brand=()=>e,e.register=(t,r)=>(t.add(e,r),e),e.parse=(t,r)=>bd(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>xd(e,t,r),e.parseAsync=async(t,r)=>wd(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>kd(e,t,r),e.spa=e.safeParseAsync,e.encode=(t,r)=>Cd(e,t,r),e.decode=(t,r)=>Ad(e,t,r),e.encodeAsync=async(t,r)=>Ed(e,t,r),e.decodeAsync=async(t,r)=>Sd(e,t,r),e.safeEncode=(t,r)=>jd(e,t,r),e.safeDecode=(t,r)=>zd(e,t,r),e.safeEncodeAsync=async(t,r)=>Id(e,t,r),e.safeDecodeAsync=async(t,r)=>Od(e,t,r),e.refine=(t,r)=>e.check(function(e,t={}){return function(e,t,r){return new e({type:"custom",check:"custom",fn:t,...Ol(r)})}(Cp,e,t)}(t,r)),e.superRefine=t=>e.check(function(e){return qc(e)}(t)),e.overwrite=t=>e.check(Hc(t)),e.optional=()=>hp(e),e.nullable=()=>mp(e),e.nullish=()=>hp(mp(e)),e.nonoptional=t=>function(e,t){return new yp({type:"nonoptional",innerType:e,...Ol(t)})}(e,t),e.array=()=>{return function(e,t,r){return new e({type:"array",element:t,...Ol(r)})}(ip,e,t);var t},e.or=t=>lp([e,t]),e.and=t=>new up({type:"intersection",left:e,right:t}),e.transform=t=>xp(e,function(e){return new dp({type:"transform",transform:e})}(t)),e.default=t=>{return r=t,new gp({type:"default",innerType:e,get defaultValue(){return"function"==typeof r?r():Sl(r)}});var r},e.prefault=t=>{return r=t,new vp({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof r?r():Sl(r)}});var r},e.catch=t=>{return new bp({type:"catch",innerType:e,catchValue:"function"==typeof(r=t)?r:()=>r});var r},e.pipe=t=>xp(e,t),e.readonly=()=>new kp({type:"readonly",innerType:e}),e.describe=t=>{const r=e.clone();return Qc.add(r,{description:t}),r},Object.defineProperty(e,"description",{get:()=>Qc.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return Qc.get(e);const r=e.clone();return Qc.add(r,t[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e))),Nd=ll("_ZodString",((e,t)=>{Fu.init(e,t),_d.init(e,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...t)=>e.check(function(e,t){return new Ou({check:"string_format",format:"regex",...Ol(t),pattern:e})}(...t)),e.includes=(...t)=>e.check(function(e,t){return new Pu({check:"string_format",format:"includes",...Ol(t),includes:e})}(...t)),e.startsWith=(...t)=>e.check(function(e,t){return new Du({check:"string_format",format:"starts_with",...Ol(t),prefix:e})}(...t)),e.endsWith=(...t)=>e.check(function(e,t){return new Tu({check:"string_format",format:"ends_with",...Ol(t),suffix:e})}(...t)),e.min=(...t)=>e.check(Yc(...t)),e.max=(...t)=>e.check(Kc(...t)),e.length=(...t)=>e.check(Wc(...t)),e.nonempty=(...t)=>e.check(Yc(1,...t)),e.lowercase=t=>e.check(function(e){return new _u({check:"string_format",format:"lowercase",...Ol(e)})}(t)),e.uppercase=t=>e.check(function(e){return new Nu({check:"string_format",format:"uppercase",...Ol(e)})}(t)),e.trim=()=>e.check(Hc((e=>e.trim()))),e.normalize=(...t)=>e.check(function(e){return Hc((t=>t.normalize(e)))}(...t)),e.toLowerCase=()=>e.check(Hc((e=>e.toLowerCase()))),e.toUpperCase=()=>e.check(Hc((e=>e.toUpperCase())))})),Pd=ll("ZodString",((e,t)=>{Fu.init(e,t),Nd.init(e,t),e.email=t=>e.check(function(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Ol(t)})}(Bd,t)),e.url=t=>e.check(function(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Ol(t)})}($d,t)),e.jwt=t=>e.check(function(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Ol(t)})}(ep,t)),e.emoji=t=>e.check(function(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Ol(t)})}(Fd,t)),e.guid=t=>e.check(Gc(Rd,t)),e.uuid=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Ol(t)})}(Md,t)),e.uuidv4=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Ol(t)})}(Md,t)),e.uuidv6=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Ol(t)})}(Md,t)),e.uuidv7=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Ol(t)})}(Md,t)),e.nanoid=t=>e.check(function(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Ol(t)})}(Vd,t)),e.guid=t=>e.check(Gc(Rd,t)),e.cuid=t=>e.check(function(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Ol(t)})}(Ld,t)),e.cuid2=t=>e.check(function(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Ol(t)})}(Ud,t)),e.ulid=t=>e.check(function(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Ol(t)})}(Zd,t)),e.base64=t=>e.check(function(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Ol(t)})}(qd,t)),e.base64url=t=>e.check(function(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Ol(t)})}(Jd,t)),e.xid=t=>e.check(function(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Ol(t)})}(Qd,t)),e.ksuid=t=>e.check(function(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Ol(t)})}(Gd,t)),e.ipv4=t=>e.check(function(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Ol(t)})}(Kd,t)),e.ipv6=t=>e.check(function(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Ol(t)})}(Yd,t)),e.cidrv4=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Ol(t)})}(Wd,t)),e.cidrv6=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Ol(t)})}(Hd,t)),e.e164=t=>e.check(function(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Ol(t)})}(Xd,t)),e.datetime=t=>e.check(dd(t)),e.date=t=>e.check(hd(t)),e.time=t=>e.check(md(t)),e.duration=t=>e.check(vd(t))}));function Dd(e){return function(e,t){return new e({type:"string",...Ol(t)})}(Pd,e)}const Td=ll("ZodStringFormat",((e,t)=>{Vu.init(e,t),Nd.init(e,t)})),Bd=ll("ZodEmail",((e,t)=>{Zu.init(e,t),Td.init(e,t)})),Rd=ll("ZodGUID",((e,t)=>{Lu.init(e,t),Td.init(e,t)})),Md=ll("ZodUUID",((e,t)=>{Uu.init(e,t),Td.init(e,t)})),$d=ll("ZodURL",((e,t)=>{Qu.init(e,t),Td.init(e,t)})),Fd=ll("ZodEmoji",((e,t)=>{Gu.init(e,t),Td.init(e,t)})),Vd=ll("ZodNanoID",((e,t)=>{Ku.init(e,t),Td.init(e,t)})),Ld=ll("ZodCUID",((e,t)=>{Yu.init(e,t),Td.init(e,t)})),Ud=ll("ZodCUID2",((e,t)=>{Wu.init(e,t),Td.init(e,t)})),Zd=ll("ZodULID",((e,t)=>{Hu.init(e,t),Td.init(e,t)})),Qd=ll("ZodXID",((e,t)=>{qu.init(e,t),Td.init(e,t)})),Gd=ll("ZodKSUID",((e,t)=>{Ju.init(e,t),Td.init(e,t)})),Kd=ll("ZodIPv4",((e,t)=>{nc.init(e,t),Td.init(e,t)})),Yd=ll("ZodIPv6",((e,t)=>{ac.init(e,t),Td.init(e,t)})),Wd=ll("ZodCIDRv4",((e,t)=>{ic.init(e,t),Td.init(e,t)})),Hd=ll("ZodCIDRv6",((e,t)=>{oc.init(e,t),Td.init(e,t)})),qd=ll("ZodBase64",((e,t)=>{lc.init(e,t),Td.init(e,t)})),Jd=ll("ZodBase64URL",((e,t)=>{uc.init(e,t),Td.init(e,t)})),Xd=ll("ZodE164",((e,t)=>{cc.init(e,t),Td.init(e,t)})),ep=ll("ZodJWT",((e,t)=>{dc.init(e,t),Td.init(e,t)})),tp=ll("ZodUnknown",((e,t)=>{pc.init(e,t),_d.init(e,t)}));function rp(){return function(e){return new e({type:"unknown"})}(tp)}const np=ll("ZodNever",((e,t)=>{hc.init(e,t),_d.init(e,t)}));function ap(e){return function(e,t){return new e({type:"never",...Ol(t)})}(np,e)}const ip=ll("ZodArray",((e,t)=>{mc.init(e,t),_d.init(e,t),e.element=t.element,e.min=(t,r)=>e.check(Yc(t,r)),e.nonempty=t=>e.check(Yc(1,t)),e.max=(t,r)=>e.check(Kc(t,r)),e.length=(t,r)=>e.check(Wc(t,r)),e.unwrap=()=>e.element}));const op=ll("ZodObject",((e,t)=>{wc.init(e,t),_d.init(e,t),yl(e,"shape",(()=>t.shape)),e.keyof=()=>function(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map((e=>[e,e]))):e;return new cp({type:"enum",entries:r,...Ol(t)})}(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:rp()}),e.loose=()=>e.clone({...e._zod.def,catchall:rp()}),e.strict=()=>e.clone({...e._zod.def,catchall:ap()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>function(e,t){if(!El(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const n=wl(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return bl(this,"shape",r),r},checks:[]});return Il(e,n)}(e,t),e.safeExtend=t=>function(e,t){if(!El(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const r={...e._zod.def.shape,...t};return bl(this,"shape",r),r},checks:e._zod.def.checks};return Il(e,r)}(e,t),e.merge=t=>function(e,t){const r=wl(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return bl(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:[]});return Il(e,r)}(e,t),e.pick=t=>function(e,t){const r=e._zod.def;return Il(e,wl(e._zod.def,{get shape(){const e={};for(const n in t){if(!(n in r.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(e[n]=r.shape[n])}return bl(this,"shape",e),e},checks:[]}))}(e,t),e.omit=t=>function(e,t){const r=e._zod.def,n=wl(e._zod.def,{get shape(){const n={...e._zod.def.shape};for(const e in t){if(!(e in r.shape))throw new Error(`Unrecognized key: "${e}"`);t[e]&&delete n[e]}return bl(this,"shape",n),n},checks:[]});return Il(e,n)}(e,t),e.partial=(...t)=>function(e,t,r){const n=wl(t._zod.def,{get shape(){const n=t._zod.def.shape,a={...n};if(r)for(const t in r){if(!(t in n))throw new Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(const t in n)a[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return bl(this,"shape",a),a},checks:[]});return Il(t,n)}(pp,e,t[0]),e.required=(...t)=>function(e,t,r){const n=wl(t._zod.def,{get shape(){const n=t._zod.def.shape,a={...n};if(r)for(const t in r){if(!(t in a))throw new Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(const t in n)a[t]=new e({type:"nonoptional",innerType:n[t]});return bl(this,"shape",a),a},checks:[]});return Il(t,n)}(yp,e,t[0])}));const sp=ll("ZodUnion",((e,t)=>{kc.init(e,t),_d.init(e,t),e.options=t.options}));function lp(e,t){return new sp({type:"union",options:e,...Ol(t)})}const up=ll("ZodIntersection",((e,t)=>{Cc.init(e,t),_d.init(e,t)}));const cp=ll("ZodEnum",((e,t)=>{Sc.init(e,t),_d.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{const a={};for(const n of e){if(!r.has(n))throw new Error(`Key ${n} not found in enum`);a[n]=t.entries[n]}return new cp({...t,checks:[],...Ol(n),entries:a})},e.exclude=(e,n)=>{const a={...t.entries};for(const t of e){if(!r.has(t))throw new Error(`Key ${t} not found in enum`);delete a[t]}return new cp({...t,checks:[],...Ol(n),entries:a})}}));const dp=ll("ZodTransform",((e,t)=>{jc.init(e,t),_d.init(e,t),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new cl(e.constructor.name);r.addIssue=n=>{if("string"==typeof n)r.issues.push(Bl(n,r.value,t));else{const t=n;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=r.value),t.inst??(t.inst=e),r.issues.push(Bl(t))}};const a=t.transform(r.value,r);return a instanceof Promise?a.then((e=>(r.value=e,r))):(r.value=a,r)}}));const pp=ll("ZodOptional",((e,t)=>{Ic.init(e,t),_d.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function hp(e){return new pp({type:"optional",innerType:e})}const fp=ll("ZodNullable",((e,t)=>{Oc.init(e,t),_d.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function mp(e){return new fp({type:"nullable",innerType:e})}const gp=ll("ZodDefault",((e,t)=>{_c.init(e,t),_d.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}));const vp=ll("ZodPrefault",((e,t)=>{Pc.init(e,t),_d.init(e,t),e.unwrap=()=>e._zod.def.innerType}));const yp=ll("ZodNonOptional",((e,t)=>{Dc.init(e,t),_d.init(e,t),e.unwrap=()=>e._zod.def.innerType}));const bp=ll("ZodCatch",((e,t)=>{Bc.init(e,t),_d.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}));const wp=ll("ZodPipe",((e,t)=>{Rc.init(e,t),_d.init(e,t),e.in=t.in,e.out=t.out}));function xp(e,t){return new wp({type:"pipe",in:e,out:t})}const kp=ll("ZodReadonly",((e,t)=>{$c.init(e,t),_d.init(e,t),e.unwrap=()=>e._zod.def.innerType}));const Cp=ll("ZodCustom",((e,t)=>{Vc.init(e,t),_d.init(e,t)}));function Ap(e){let t=Dd();if(e.required&&(t=t.min(1,`${e.label} is required`)),"number"===e.type){if(!e.required)return Dd().refine((e=>""===e||/^\d+$/.test(e)),"Must be a valid number");t=t.regex(/^\d+$/,"Must be a valid number")}if(e.validation)if("html-pattern"===e.validation.type){const r=new RegExp(e.validation.pattern),n=e.validation.error||`Please match the required format: ${e.validation.pattern}`;if(!e.required)return Dd().refine((e=>""===e||r.test(e)),n);t=t.regex(r,n)}else if("domain"===e.validation.type){const r=new RegExp(`.*${e.validation.pattern}\\.com.*`),n=e.validation.error||`Please enter a valid ${e.validation.pattern}.com domain`;if(!e.required)return Dd().refine((e=>""===e||r.test(e)),n);t=t.regex(r,n)}return e.required?t:lp([Dd().length(0),t])}function Ep(e){const t={};for(const r of e)t[r.key]=Ap(r);return function(e,t){const r={type:"object",shape:e??{},...Ol(t)};return new op(r)}(t)}const Sp=({field:e,errors:t,setValue:r,editingSecrets:n,setEditingSecrets:a})=>{var i,o,s,l,u,c,d,p,h,f,m,g,v,y,b,w,x,k,C,A,E,S,j;const I="object"==typeof e.key?JSON.stringify(e.key):String(e.key),O=t[I]&&z.jsx(Xo,{color:"error",style:{marginTop:"4px",fontSize:"12px"},children:null===(i=t[I])||void 0===i?void 0:i.message});if("text"===(_=e.type)||"number"===_||"password"===_){const i=e.readOnly,g=null===(o=e.value)||void 0===o?void 0:o.toString(),v="external-trigger-token"!==e.key&&(!1!==e.secret||"password"===e.type),y=i&&g&&!v,b=null!==(s=null==n?void 0:n.has(I))&&void 0!==s&&s;if(v&&ld(g)&&!b)return z.jsxs(z.Fragment,{children:[z.jsx(Vo,{name:`${I}-display`,label:e.label,placeholder:e.placeholder,type:"text",required:e.required,disabled:!0,readOnly:!0,defaultValue:g?ud(g):"",description:null!==(u=null===(l=e.guide)||void 0===l?void 0:l.description)&&void 0!==u?u:e.description,tooltip:null!==(d=null===(c=e.guide)||void 0===c?void 0:c.tooltip)&&void 0!==d?d:e.tooltip,showCopyButton:!1,buttons:a?[{label:"Edit",variant:"filled",size:"xsmall",onClick:()=>{a((e=>new Set(e).add(I))),r(I,"",{shouldValidate:!0,shouldDirty:!0})}}]:void 0}),O]});const w=!v&&(e.readOnly||!1),x=v?void 0:y?()=>{}:void 0;return z.jsxs(z.Fragment,{children:[z.jsx(Vo,{name:I,required:!!i||e.required,placeholder:e.placeholder,disabled:w,readOnly:e.readOnly,label:e.label,tooltip:null!==(h=null===(p=e.guide)||void 0===p?void 0:p.tooltip)&&void 0!==h?h:e.tooltip,description:null!==(m=null===(f=e.guide)||void 0===f?void 0:f.description)&&void 0!==m?m:e.description,type:e.type,error:!!t[I],onChange:e=>r(I,e,{shouldValidate:!0}),defaultValue:v&&b?"":g,showPasswordToggle:!1,onCopyClick:x},`${I}-${b?"editing":"view"}`),O]})}var _;return"text_area"===e.type?z.jsxs(z.Fragment,{children:[z.jsx(Qo,{name:I,required:e.required,placeholder:e.placeholder,disabled:e.readOnly,label:e.label,tooltip:null!==(v=null===(g=e.guide)||void 0===g?void 0:g.tooltip)&&void 0!==v?v:e.tooltip,description:null!==(b=null===(y=e.guide)||void 0===y?void 0:y.description)&&void 0!==b?b:e.description,error:!!t[I],onChange:e=>r(I,e,{shouldValidate:!0}),defaultValue:(null===(w=e.value)||void 0===w?void 0:w.toString())||""}),O]}):"select"===e.type?z.jsxs(z.Fragment,{children:[z.jsx(fo,{defaultValue:(null===(x=e.value)||void 0===x?void 0:x.toString())||"",disabled:e.readOnly,items:null!==(C=null===(k=e.options)||void 0===k?void 0:k.map((e=>({id:e.value,label:e.label}))))&&void 0!==C?C:[],onItemSelected:e=>r(I,null!=e?e:"",{shouldValidate:!0}),name:I,label:e.label,tooltip:null!==(E=null===(A=e.guide)||void 0===A?void 0:A.tooltip)&&void 0!==E?E:e.tooltip,description:null!==(j=null===(S=e.guide)||void 0===S?void 0:S.description)&&void 0!==j?j:e.description,required:e.required,error:!!t[I]}),O]}):null},jp=({error:e})=>{if(!e)return null;try{return z.jsx(lo,{json:JSON.parse(e.provider_response)})}catch(t){return(null==e?void 0:e.provider_response)&&(null==e?void 0:e.provider_response.length)>0?z.jsx(lo,{code:null==e?void 0:e.provider_response}):null}},zp=({integrationName:e,error:t,notices:r=[]})=>{var n;const a=r.filter((e=>!e.position||"top"===e.position));return z.jsxs($o,{vertical:"large",horizontal:"medium",overflow:"auto",fullHeight:!0,children:[t&&z.jsx(yn,{type:"error",message:(null===(n=t.provider_response)||void 0===n?void 0:n.trim())||t.message,hasMargin:!1,children:z.jsx(jp,{error:t})}),a.map((e=>z.jsx(yn,{type:e.type,message:e.description,hasMargin:!1},e.key))),z.jsx(bo,{direction:yo.Vertical,gapSize:mo.Small,fullHeight:!0,justify:go.Center,align:vo.Center,children:z.jsxs(wn,{direction:"vertical",size:8,fullWidth:!0,children:[z.jsx(Xo,{size:"small",fontWeight:"semi-bold",children:'Press "Connect" below to authenticate'}),z.jsxs(Xo,{size:"small",color:"secondary",children:["An authentication window for ",e," will display,",z.jsx("br",{}),"please complete the necessary steps."]})]})})]})},Ip=({fields:e,notices:t=[],onChange:r,error:n,onValidationChange:a,integrationName:i,editingSecrets:o,setEditingSecrets:s})=>{const l=e.filter((e=>!1!==e.display)),u=l.map((e=>"object"==typeof e.key?JSON.stringify(e.key):String(e.key))),{noticesBefore:c,noticesAfter:d}=function(e,t=[]){const r=t[0],n=t[t.length-1];return{noticesBefore:t=>e.filter((e=>od(e)?e.anchor===t:(!e.position||"top"===e.position)&&t===r)),noticesAfter:t=>e.filter((e=>!od(e)&&"bottom"===e.position&&t===n))}}(t,u),p=h.useMemo((()=>Ep(e)),[e]),m=h.useMemo((()=>{const t={};return e.forEach((e=>{void 0!==e.value?t[e.key]=e.value.toString():t[e.key]=""})),t}),[e]),{formState:g,watch:v,reset:y,setValue:b}=function(e={}){const t=f.useRef(void 0),r=f.useRef(void 0),[n,a]=f.useState({isDirty:!1,isValidating:!1,isLoading:xe(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:xe(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:n},e.defaultValues&&!xe(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:r,...a}=qe(e);t.current={...a,formState:n}}const i=t.current.control;return i._options=e,ue((()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>a({...i._formState}),reRenderRoot:!0});return a((e=>({...e,isReady:!0}))),i._formState.isReady=!0,e}),[i]),f.useEffect((()=>i._disableForm(e.disabled)),[i,e.disabled]),f.useEffect((()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)}),[i,e.mode,e.reValidateMode]),f.useEffect((()=>{e.errors&&(i._setErrors(e.errors),i._focusError())}),[i,e.errors]),f.useEffect((()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})}),[i,e.shouldUnregister]),f.useEffect((()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==n.isDirty&&i._subjects.state.next({isDirty:e})}}),[i,n.isDirty]),f.useEffect((()=>{e.values&&!ye(e.values,r.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),r.current=e.values,a((e=>({...e})))):i._resetDefaultValues()}),[i,e.values]),f.useEffect((()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()})),t.current.formState=le(n,i),t.current}({resolver:td(p),mode:"onTouched",defaultValues:m}),{errors:w,isValid:x}=g;id((()=>{y(m)}),[m]);const k=v();return id((()=>{r(k)}),[k]),h.useEffect((()=>{null==a||a(x)}),[x,a]),0===l.length?z.jsx(zp,{integrationName:i,error:n,notices:t}):z.jsx($o,{vertical:"large",horizontal:"medium",overflow:"auto",children:z.jsxs(wn,{direction:"vertical",size:8,fullWidth:!0,children:[n&&z.jsx(yn,{type:"error",message:n.message,hasMargin:!1,children:z.jsx(jp,{error:n})}),z.jsx(ko,{children:l.map((e=>{const t="object"==typeof e.key?JSON.stringify(e.key):String(e.key),r=c(t).length>0||d(t).length>0;return z.jsxs("div",{style:Object.assign(Object.assign({},r&&{display:"flex",flexDirection:"column",gap:"8px"}),{width:"100%"}),children:[c(t).map((e=>z.jsx(yn,{type:e.type,message:e.description,hasMargin:!1},e.key))),z.jsx(Sp,{field:e,errors:w,setValue:b,editingSecrets:o,setEditingSecrets:s}),d(t).map((e=>z.jsx(yn,{type:e.type,message:e.description,hasMargin:!1},e.key)))]},t)}))})]})})},Op=({fields:e,notices:t,error:r,onChange:n,onValidationChange:a,integrationName:i,editingSecrets:o,setEditingSecrets:s})=>z.jsx(Ip,{fields:e,notices:t,error:r,onChange:n,onValidationChange:a,integrationName:i,editingSecrets:o,setEditingSecrets:s}),_p=[{label:"HRIS",value:"hris"},{label:"ATS",value:"ats"},{label:"CRM",value:"crm"},{label:"Marketing",value:"marketing"},{label:"IAM",value:"iam"},{label:"LMS",value:"lms"},{label:"Documents",value:"documents"},{label:"Ticketing",value:"ticketing"},{label:"Screening",value:"screening"},{label:"Messaging",value:"messaging"},{label:"Accounting",value:"accounting"},{label:"Scheduling",value:"scheduling"}],Np=({src:e,alt:t,fallbackUrl:r="https://stackone-logos.com/api/stackone/filled/png",style:n,className:a})=>{const[i,o]=h.useState(e);return z.jsx("img",{src:i,alt:t,style:n,className:a,onError:()=>{o(r)}})},Pp=({integration:e})=>{var t,r;return z.jsxs(bo,{direction:yo.Horizontal,align:vo.Center,gapSize:mo.Small,justify:go.SpaceBetween,width:"100%",children:[z.jsxs(bo,{direction:yo.Horizontal,align:vo.Center,gapSize:mo.Small,justify:go.Left,width:"100%",children:[z.jsx(Np,{src:e.logo_url,alt:e.provider,style:{width:"24px",height:"24px"}}),z.jsx(Xo,{textAlign:"left",children:null!==(t=e.name)&&void 0!==t?t:"N/A"})]}),z.jsx(Jo,{children:(null===(r=_p.find((t=>t.value===e.type)))||void 0===r?void 0:r.label)||e.type})]})},Dp=({integrations:e,selectedCategory:t,onCategoryChange:r,onSearchChange:n})=>{const a=h.useCallback((e=>{r(t===e?null:e)}),[t,r]),i=h.useMemo((()=>Array.from(new Set(e.map((e=>e.type))))),[e]);return z.jsxs(z.Fragment,{children:[z.jsx(Vo,{name:"search",placeholder:"Search Integrations",variant:"ghost",size:"large",onChange:n}),i.length>1&&z.jsxs(z.Fragment,{children:[z.jsx(Co,{}),z.jsx($o,{vertical:"small",horizontal:"none",fullHeight:!1,children:z.jsx("div",{style:{overflowX:"auto",overflowY:"hidden",backgroundColor:"var(--malachite-card-background)",scrollbarWidth:"none",msOverflowStyle:"none"},className:"hide-scrollbar",children:z.jsx("div",{style:{display:"flex",minWidth:"max-content"},children:i.map((e=>{var r;return z.jsx($o,{vertical:"none",horizontal:"small",fullHeight:!1,children:z.jsx(es,{label:(null===(r=_p.find((t=>t.value===e)))||void 0===r?void 0:r.label)||e,selected:t===e,onClick:()=>a(e)})},e)}))})})})]})]})},Tp=({integrations:e,onSelect:t,selectedCategory:r,search:n})=>{const a=h.useMemo((()=>e.filter((e=>e.active&&e.name&&(!r||e.type===r)&&(!n||e.name.toLowerCase().includes(n.toLowerCase()))))),[e,r,n]);return z.jsx(z.Fragment,{children:a.length>0?z.jsx($o,{vertical:"small",horizontal:"small",fullHeight:!1,children:z.jsx(wn,{direction:"vertical",size:10,align:"start",children:z.jsx(jn,{buttons:a.map((e=>({key:`${e.provider}@${e.version}`,children:z.jsx(Pp,{integration:e}),onClick:()=>t(e)})))})})}):z.jsx(bo,{justify:go.Center,align:vo.Center,fullHeight:!0,children:z.jsx(Jo,{children:"No integrations found"})})})},Bp=({integrations:e,onSelect:t,selectedCategory:r,search:n})=>e.length?z.jsx(Tp,{integrations:e,onSelect:t,selectedCategory:r,search:n}):z.jsx("div",{children:"No integrations found."}),Rp=({title:e,description:t,onCancel:r})=>{const[n,a]=h.useState(!1),i=h.useRef(null);return h.useEffect((()=>{if(r)return i.current=setTimeout((()=>a(!0)),5e3),()=>{i.current&&clearTimeout(i.current)}}),[r]),z.jsxs(bo,{justify:go.Center,align:vo.Center,direction:yo.Vertical,gapSize:mo.Small,fullHeight:!0,children:[z.jsx(Fo,{size:"xxxsmall"}),z.jsx(Xo,{fontWeight:"bold",size:"large",children:e}),z.jsx(Jo,{children:t}),n&&r&&z.jsxs(Jo,{children:["Having trouble?"," ",z.jsx("button",{type:"button",onClick:r,style:{background:"none",border:"none",padding:0,cursor:"pointer",textDecoration:"underline",font:"inherit",color:"inherit"},children:"Cancel and start over"})]})]})},Mp=({title:e,description:t,onCancel:r})=>z.jsx(Rp,{title:e,description:t,onCancel:r}),$p=({integrationName:e})=>{const t=function(){const e=getComputedStyle(document.documentElement);return{fontSizes:{xsmall:e.getPropertyValue("--malachite-font-size-xsmall").trim()||Ao.fontSizes.xsmall,small:e.getPropertyValue("--malachite-font-size-small").trim()||Ao.fontSizes.small,medium:e.getPropertyValue("--malachite-font-size-medium").trim()||Ao.fontSizes.medium,large:e.getPropertyValue("--malachite-font-size-large").trim()||Ao.fontSizes.large,xlarge:e.getPropertyValue("--malachite-font-size-xlarge").trim()||Ao.fontSizes.xlarge},radius:{sm:e.getPropertyValue("--malachite-radius-sm").trim()||Ao.radius.sm,md:e.getPropertyValue("--malachite-radius-md").trim()||Ao.radius.md,lg:e.getPropertyValue("--malachite-radius-lg").trim()||Ao.radius.lg,xl:e.getPropertyValue("--malachite-radius-xl").trim()||Ao.radius.xl},shadows:{sm:e.getPropertyValue("--malachite-shadow-sm").trim()||Ao.shadows.sm,md:e.getPropertyValue("--malachite-shadow-md").trim()||Ao.shadows.md,lg:e.getPropertyValue("--malachite-shadow-lg").trim()||Ao.shadows.lg,xl:e.getPropertyValue("--malachite-shadow-xl").trim()||Ao.shadows.xl,default:e.getPropertyValue("--malachite-shadow-default").trim()||Ao.shadows.default,success:e.getPropertyValue("--malachite-shadow-success").trim()||Ao.shadows.success,warning:e.getPropertyValue("--malachite-shadow-warning").trim()||Ao.shadows.warning,error:e.getPropertyValue("--malachite-shadow-error").trim()||Ao.shadows.error},colors:{shadowColor:e.getPropertyValue("--malachite-shadow-color").trim()||Ao.colors.shadowColor,shadowOpacity:parseFloat(e.getPropertyValue("--malachite-shadow-opacity").trim())||Ao.colors.shadowOpacity,card:{background:e.getPropertyValue("--malachite-card-background").trim()||Ao.colors.card.background,foreground:e.getPropertyValue("--malachite-card-foreground").trim()||Ao.colors.card.foreground,border:e.getPropertyValue("--malachite-card-border").trim()||Ao.colors.card.border,shadow:e.getPropertyValue("--malachite-card-shadow").trim()||Ao.colors.card.shadow,dimmedBackground:e.getPropertyValue("--malachite-card-dimmed-background").trim()||Ao.colors.card.dimmedBackground,headerBackground:e.getPropertyValue("--malachite-card-header-background").trim()||Ao.colors.card.headerBackground,footerBackground:e.getPropertyValue("--malachite-card-footer-background").trim()||Ao.colors.card.footerBackground},alert:{info:{background:e.getPropertyValue("--malachite-alert-info-background").trim()||Ao.colors.alert.info.background,foreground:e.getPropertyValue("--malachite-alert-info-foreground").trim()||Ao.colors.alert.info.foreground},success:{background:e.getPropertyValue("--malachite-alert-success-background").trim()||Ao.colors.alert.success.background,foreground:e.getPropertyValue("--malachite-alert-success-foreground").trim()||Ao.colors.alert.success.foreground},error:{background:e.getPropertyValue("--malachite-alert-error-background").trim()||Ao.colors.alert.error.background,foreground:e.getPropertyValue("--malachite-alert-error-foreground").trim()||Ao.colors.alert.error.foreground},warning:{background:e.getPropertyValue("--malachite-alert-warning-background").trim()||Ao.colors.alert.warning.background,foreground:e.getPropertyValue("--malachite-alert-warning-foreground").trim()||Ao.colors.alert.warning.foreground}},tooltip:{background:e.getPropertyValue("--malachite-tooltip-background").trim()||Ao.colors.tooltip.background,foreground:e.getPropertyValue("--malachite-tooltip-foreground").trim()||Ao.colors.tooltip.foreground,border:e.getPropertyValue("--malachite-tooltip-border").trim()||Ao.colors.tooltip.border,shadow:e.getPropertyValue("--malachite-tooltip-shadow").trim()||Ao.colors.tooltip.shadow},primary:{background:e.getPropertyValue("--malachite-primary-background").trim()||Ao.colors.primary.background,foreground:e.getPropertyValue("--malachite-primary-foreground").trim()||Ao.colors.primary.foreground,border:e.getPropertyValue("--malachite-primary-border").trim()||Ao.colors.primary.border,borderHover:e.getPropertyValue("--malachite-primary-border-hover").trim()||Ao.colors.primary.borderHover},outline:{foreground:e.getPropertyValue("--malachite-outline-foreground").trim()||Ao.colors.outline.foreground},secondary:{background:e.getPropertyValue("--malachite-secondary-background").trim()||Ao.colors.secondary.background,foreground:e.getPropertyValue("--malachite-secondary-foreground").trim()||Ao.colors.secondary.foreground,border:e.getPropertyValue("--malachite-secondary-border").trim()||Ao.colors.secondary.border,borderHover:e.getPropertyValue("--malachite-secondary-border-hover").trim()||Ao.colors.secondary.borderHover},destructive:{background:e.getPropertyValue("--malachite-destructive-background").trim()||Ao.colors.destructive.background,foreground:e.getPropertyValue("--malachite-destructive-foreground").trim()||Ao.colors.destructive.foreground,border:e.getPropertyValue("--malachite-destructive-border").trim()||Ao.colors.destructive.border,borderHover:e.getPropertyValue("--malachite-destructive-border-hover").trim()||Ao.colors.destructive.borderHover,shadow:e.getPropertyValue("--malachite-destructive-shadow").trim()||Ao.colors.destructive.shadow,shadowLight:e.getPropertyValue("--malachite-destructive-shadow-light").trim()||Ao.colors.destructive.shadowLight,shadowMedium:e.getPropertyValue("--malachite-destructive-shadow-medium").trim()||Ao.colors.destructive.shadowMedium},success:{background:e.getPropertyValue("--malachite-success-background").trim()||Ao.colors.success.background,foreground:e.getPropertyValue("--malachite-success-foreground").trim()||Ao.colors.success.foreground,border:e.getPropertyValue("--malachite-success-border").trim()||Ao.colors.success.border,borderHover:e.getPropertyValue("--malachite-success-border-hover").trim()||Ao.colors.success.borderHover,backgroundGlass:e.getPropertyValue("--malachite-success-background-glass").trim()||Ao.colors.success.backgroundGlass,shadowLight:e.getPropertyValue("--malachite-success-shadow-light").trim()||Ao.colors.success.shadowLight,shadowMedium:e.getPropertyValue("--malachite-success-shadow-medium").trim()||Ao.colors.success.shadowMedium},warning:{background:e.getPropertyValue("--malachite-warning-background").trim()||Ao.colors.warning.background,foreground:e.getPropertyValue("--malachite-warning-foreground").trim()||Ao.colors.warning.foreground,border:e.getPropertyValue("--malachite-warning-border").trim()||Ao.colors.warning.border,borderHover:e.getPropertyValue("--malachite-warning-border-hover").trim()||Ao.colors.warning.borderHover,backgroundGlass:e.getPropertyValue("--malachite-warning-background-glass").trim()||Ao.colors.warning.backgroundGlass,shadowLight:e.getPropertyValue("--malachite-warning-shadow-light").trim()||Ao.colors.warning.shadowLight,shadowMedium:e.getPropertyValue("--malachite-warning-shadow-medium").trim()||Ao.colors.warning.shadowMedium},error:{background:e.getPropertyValue("--malachite-error-background").trim()||Ao.colors.error.background,foreground:e.getPropertyValue("--malachite-error-foreground").trim()||Ao.colors.error.foreground,border:e.getPropertyValue("--malachite-error-border").trim()||Ao.colors.error.border,borderHover:e.getPropertyValue("--malachite-error-border-hover").trim()||Ao.colors.error.borderHover,backgroundGlass:e.getPropertyValue("--malachite-error-background-glass").trim()||Ao.colors.error.backgroundGlass,shadowLight:e.getPropertyValue("--malachite-error-shadow-light").trim()||Ao.colors.error.shadowLight,shadowMedium:e.getPropertyValue("--malachite-error-shadow-medium").trim()||Ao.colors.error.shadowMedium},buttonList:{background:e.getPropertyValue("--malachite-buttonlist-background").trim()||Ao.colors.buttonList.background,foreground:e.getPropertyValue("--malachite-buttonlist-foreground").trim()||Ao.colors.buttonList.foreground,hoverBackground:e.getPropertyValue("--malachite-buttonlist-hover-background").trim()||Ao.colors.buttonList.hoverBackground,hoverForeground:e.getPropertyValue("--malachite-buttonlist-hover-foreground").trim()||Ao.colors.buttonList.hoverForeground},pillButton:{background:e.getPropertyValue("--malachite-pillbutton-background").trim()||Ao.colors.pillButton.background,foreground:e.getPropertyValue("--malachite-pillbutton-foreground").trim()||Ao.colors.pillButton.foreground,hoverBackground:e.getPropertyValue("--malachite-pillbutton-hover-background").trim()||Ao.colors.pillButton.hoverBackground,hoverForeground:e.getPropertyValue("--malachite-pillbutton-hover-foreground").trim()||Ao.colors.pillButton.hoverForeground,pressedBackground:e.getPropertyValue("--malachite-pillbutton-pressed-background").trim()||Ao.colors.pillButton.pressedBackground,pressedForeground:e.getPropertyValue("--malachite-pillbutton-pressed-foreground").trim()||Ao.colors.pillButton.pressedForeground,pressedOpacity:e.getPropertyValue("--malachite-pillbutton-pressed-opacity").trim()||Ao.colors.pillButton.pressedOpacity,activeBackground:e.getPropertyValue("--malachite-pillbutton-active-background").trim()||Ao.colors.pillButton.activeBackground,activeForeground:e.getPropertyValue("--malachite-pillbutton-active-foreground").trim()||Ao.colors.pillButton.activeForeground},tag:{primary:{background:e.getPropertyValue("--malachite-tag-primary-background").trim()||Ao.colors.tag.primary.background,foreground:e.getPropertyValue("--malachite-tag-primary-foreground").trim()||Ao.colors.tag.primary.foreground,border:e.getPropertyValue("--malachite-tag-primary-border").trim()||Ao.colors.tag.primary.border,shadow:e.getPropertyValue("--malachite-tag-primary-shadow").trim()||Ao.colors.tag.primary.shadow},secondary:{background:e.getPropertyValue("--malachite-tag-secondary-background").trim()||Ao.colors.tag.secondary.background,foreground:e.getPropertyValue("--malachite-tag-secondary-foreground").trim()||Ao.colors.tag.secondary.foreground,border:e.getPropertyValue("--malachite-tag-secondary-border").trim()||Ao.colors.tag.secondary.border,shadow:e.getPropertyValue("--malachite-tag-secondary-shadow").trim()||Ao.colors.tag.secondary.shadow},default:{background:e.getPropertyValue("--malachite-tag-default-background").trim()||Ao.colors.tag.default.background,foreground:e.getPropertyValue("--malachite-tag-default-foreground").trim()||Ao.colors.tag.default.foreground,border:e.getPropertyValue("--malachite-tag-default-border").trim()||Ao.colors.tag.default.border,shadow:e.getPropertyValue("--malachite-tag-default-shadow").trim()||Ao.colors.tag.default.shadow},error:{background:e.getPropertyValue("--malachite-tag-error-background").trim()||Ao.colors.tag.error.background,foreground:e.getPropertyValue("--malachite-tag-error-foreground").trim()||Ao.colors.tag.error.foreground,border:e.getPropertyValue("--malachite-tag-error-border").trim()||Ao.colors.tag.error.border,shadow:e.getPropertyValue("--malachite-tag-error-shadow").trim()||Ao.colors.tag.error.shadow},warning:{background:e.getPropertyValue("--malachite-tag-warning-background").trim()||Ao.colors.tag.warning.background,foreground:e.getPropertyValue("--malachite-tag-warning-foreground").trim()||Ao.colors.tag.warning.foreground,border:e.getPropertyValue("--malachite-tag-warning-border").trim()||Ao.colors.tag.warning.border,shadow:e.getPropertyValue("--malachite-tag-warning-shadow").trim()||Ao.colors.tag.warning.shadow},success:{background:e.getPropertyValue("--malachite-tag-success-background").trim()||Ao.colors.tag.success.background,foreground:e.getPropertyValue("--malachite-tag-success-foreground").trim()||Ao.colors.tag.success.foreground,border:e.getPropertyValue("--malachite-tag-success-border").trim()||Ao.colors.tag.success.border,shadow:e.getPropertyValue("--malachite-tag-success-shadow").trim()||Ao.colors.tag.success.shadow}},text:{primary:e.getPropertyValue("--malachite-text-primary").trim()||Ao.colors.text.primary,secondary:e.getPropertyValue("--malachite-text-secondary").trim()||Ao.colors.text.secondary,dimmed:e.getPropertyValue("--malachite-text-dimmed").trim()||Ao.colors.text.dimmed,placeholder:e.getPropertyValue("--malachite-text-placeholder").trim()||Ao.colors.text.placeholder,destructive:e.getPropertyValue("--malachite-text-destructive").trim()||Ao.colors.text.destructive,success:e.getPropertyValue("--malachite-text-success").trim()||Ao.colors.text.success,warning:e.getPropertyValue("--malachite-text-warning").trim()||Ao.colors.text.warning,error:e.getPropertyValue("--malachite-text-error").trim()||Ao.colors.text.error,linkForeground:e.getPropertyValue("--malachite-text-link-foreground").trim()||Ao.colors.text.linkForeground,linkForegroundHover:e.getPropertyValue("--malachite-text-link-foreground-hover").trim()||Ao.colors.text.linkForegroundHover,rightSideText:{muted:e.getPropertyValue("--malachite-text-right-side-text-muted").trim()||Ao.colors.text.rightSideText.muted,primary:e.getPropertyValue("--malachite-text-right-side-text-primary").trim()||Ao.colors.text.rightSideText.primary,alignment:e.getPropertyValue("--malachite-text-right-side-text-alignment").trim()||Ao.colors.text.rightSideText.alignment}},codeBlock:{background:e.getPropertyValue("--malachite-codeblock-background").trim()||Ao.colors.codeBlock.background,foreground:e.getPropertyValue("--malachite-codeblock-foreground").trim()||Ao.colors.codeBlock.foreground,border:e.getPropertyValue("--malachite-codeblock-border").trim()||Ao.colors.codeBlock.border,lineNumber:e.getPropertyValue("--malachite-codeblock-line-number").trim()||Ao.colors.codeBlock.lineNumber,keyword:e.getPropertyValue("--malachite-codeblock-keyword").trim()||Ao.colors.codeBlock.keyword,comment:e.getPropertyValue("--malachite-codeblock-comment").trim()||Ao.colors.codeBlock.comment,string:e.getPropertyValue("--malachite-codeblock-string").trim()||Ao.colors.codeBlock.string,number:e.getPropertyValue("--malachite-codeblock-number").trim()||Ao.colors.codeBlock.number,type:e.getPropertyValue("--malachite-codeblock-type").trim()||Ao.colors.codeBlock.type},table:{background:e.getPropertyValue("--malachite-table-background").trim()||Ao.colors.table.background,boxShadow:e.getPropertyValue("--malachite-table-box-shadow").trim()||Ao.colors.table.boxShadow,header:{background:e.getPropertyValue("--malachite-table-header-background").trim()||Ao.colors.table.header.background,foreground:e.getPropertyValue("--malachite-table-header-foreground").trim()||Ao.colors.table.header.foreground,border:e.getPropertyValue("--malachite-table-header-border").trim()||Ao.colors.table.header.border},row:{background:e.getPropertyValue("--malachite-table-row-background").trim()||Ao.colors.table.row.background,foreground:e.getPropertyValue("--malachite-table-row-foreground").trim()||Ao.colors.table.row.foreground,hoverBackground:e.getPropertyValue("--malachite-table-row-hover-background").trim()||Ao.colors.table.row.hoverBackground,border:e.getPropertyValue("--malachite-table-row-border").trim()||Ao.colors.table.row.border},border:e.getPropertyValue("--malachite-table-border").trim()||Ao.colors.table.border,borderedRow:{background:e.getPropertyValue("--malachite-table-bordered-row-background").trim()||Ao.colors.table.borderedRow.background,outline:e.getPropertyValue("--malachite-table-bordered-row-outline").trim()||Ao.colors.table.borderedRow.outline},rowVariant:{success:{background:e.getPropertyValue("--malachite-table-row-variant-success-background").trim()||Ao.colors.table.rowVariant.success.background},warning:{background:e.getPropertyValue("--malachite-table-row-variant-warning-background").trim()||Ao.colors.table.rowVariant.warning.background},error:{background:e.getPropertyValue("--malachite-table-row-variant-error-background").trim()||Ao.colors.table.rowVariant.error.background},info:{background:e.getPropertyValue("--malachite-table-row-variant-info-background").trim()||Ao.colors.table.rowVariant.info.background}},error:{iconBackground:e.getPropertyValue("--malachite-table-error-icon-background").trim()||Ao.colors.table.error.iconBackground,iconForeground:e.getPropertyValue("--malachite-table-error-icon-foreground").trim()||Ao.colors.table.error.iconForeground,titleForeground:e.getPropertyValue("--malachite-table-error-title-foreground").trim()||Ao.colors.table.error.titleForeground,subtitleForeground:e.getPropertyValue("--malachite-table-error-subtitle-foreground").trim()||Ao.colors.table.error.subtitleForeground}}}}}();return z.jsxs(bo,{justify:go.Center,align:vo.Center,direction:yo.Vertical,gapSize:mo.Small,fullHeight:!0,children:[z.jsx(Ct,{size:16,style:{color:t.colors.success.foreground}}),z.jsx(Xo,{fontWeight:"bold",size:"large",children:"Connection Successful"}),z.jsxs(Jo,{children:["Account successfully connected to ",e]})]})},Fp=({integrationName:e})=>z.jsx($p,{integrationName:e}),Vp=({isLoading:e,hasError:t,connectionState:r,selectedIntegration:n,connectorData:a,hubData:i,fields:o,notices:s,selectedCategory:l,search:u,errorHubData:c,errorConnectorData:d,onSelect:p,onChange:h,onValidationChange:f,onCancelOAuth:m,editingSecrets:g,setEditingSecrets:v})=>{var y,b;return e?z.jsx(Mp,{title:"Loading integration data",description:"Please wait, this may take a moment."}):r.loading&&n?z.jsx(Mp,{title:`Connecting to ${null!==(y=null==a?void 0:a.name)&&void 0!==y?y:n.name}`,description:"Please wait, this may take a moment.",onCancel:m}):t?z.jsx(rl,{message:(null==c?void 0:c.message)||(null==d?void 0:d.message)||"Unknown error"}):r.success&&n?z.jsx(Fp,{integrationName:null!==(b=null==a?void 0:a.name)&&void 0!==b?b:n.name}):n?a?z.jsx(Op,{fields:o,notices:s,error:r.error,onChange:h,onValidationChange:f,integrationName:a.name,editingSecrets:g,setEditingSecrets:v}):null:(null==i?void 0:i.integrations.length)?z.jsx(Bp,{integrations:i.integrations,onSelect:p,selectedCategory:l,search:u}):z.jsx(rl,{message:"No configured integrations available."})},Lp=({connectorData:e,onBack:t,guide:r})=>{var n;return z.jsxs(bo,{direction:yo.Horizontal,align:vo.Center,gapSize:mo.Small,justify:go.SpaceBetween,children:[z.jsxs(bo,{direction:yo.Horizontal,align:vo.Center,gapSize:mo.Small,justify:go.Left,children:[t&&z.jsx(ut,{variant:"ghost",onClick:t,icon:"←",size:"small"}),z.jsx(Np,{src:null===(n=e.assets)||void 0===n?void 0:n.icon,alt:e.key,style:{width:"16px",height:"16px"}}),z.jsx(Xo,{fontWeight:"semi-bold",size:"medium",children:e.name})]}),(null==r?void 0:r.supportLink)?z.jsx(Ho,{href:r.supportLink,target:"_blank",children:z.jsx(ut,{variant:"outline",size:"small",children:"Connection guide"})}):null]})},Up=({connectorData:e,accountData:t,onBack:r,guide:n,isLoading:a,hasError:i,hubData:o,selectedCategory:s,onCategoryChange:l,onSearchChange:u,hideBackButton:c})=>{if(e)return z.jsx(Lp,{connectorData:e,onBack:t||c?void 0:r,guide:n});return!a&&!i&&(null==o?void 0:o.integrations)?z.jsx(Dp,{integrations:o.integrations,selectedCategory:s,onCategoryChange:l,onSearchChange:u}):null},Zp=({fullWidth:e=!0,selectedIntegration:t,showActions:r,onBack:n,onNext:a,isFormValid:i=!0,isLoading:o=!1,showFooterLinks:s=!0})=>{const l=h.useMemo((()=>{if(!t||!r)return[];const e=[];return n&&e.push({label:"Back",type:"outline",onClick:n,disabled:o,loading:!1}),e.push({label:"Connect",type:"filled",onClick:a,disabled:!i||o,loading:o}),e}),[t,n,a,r,i,o]);return 0===l.length?s?z.jsx(xo,{fullWidth:e}):null:z.jsxs(wn,{direction:"horizontal",size:4,justifyContent:"space-between",children:[s&&z.jsx(xo,{fullWidth:e}),z.jsx($o,{vertical:"none",horizontal:"small",fullHeight:!1,children:z.jsx(bo,{direction:yo.Horizontal,justify:go.Right,children:z.jsx(wn,{direction:"horizontal",size:10,children:l.map((e=>z.jsx(ut,{size:"small",variant:e.type,onClick:e.onClick,disabled:e.disabled,loading:e.loading,iconPosition:"end",children:e.label},e.label)))})})})]})},Qp=({showFooterLinks:e=!0,onClose:t,onCloseLabel:r})=>{const n=e,a=Boolean(t);return n||a?z.jsxs(wn,{direction:"horizontal",size:4,justifyContent:n&&a?"space-between":a?"end":void 0,children:[n&&z.jsx(xo,{fullWidth:!0}),a&&z.jsx($o,{vertical:"none",horizontal:"small",fullHeight:!1,children:z.jsx(bo,{direction:yo.Horizontal,justify:go.Right,children:z.jsx(wn,{direction:"horizontal",size:10,children:z.jsx(ut,{size:"small",variant:"filled",onClick:t,children:null!=r?r:"Close"})})})})]}):null};function Gp(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;var Kp=Object.defineProperty,Yp=(e,t)=>Kp(e,"name",{value:t,configurable:!0}),Wp=(e,t)=>{let r={};for(var n in e)Kp(r,n,{get:e[n],enumerable:!0});return r};const Hp=6048e5,qp=6e4,Jp=36e5,Xp=Symbol.for("constructDateFrom");function eh(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&Xp in e?e[Xp](t):e instanceof Date?new e.constructor(t):new Date(t)}function th(e,t){return eh(t||e,e)}function rh(e,t,r){const n=th(e,r?.in);return isNaN(t)?eh(r?.in||e,NaN):t?(n.setDate(n.getDate()+t),n):n}function nh(e,t,r){const n=th(e,r?.in);if(isNaN(t))return eh(e,NaN);if(!t)return n;const a=n.getDate(),i=eh(e,n.getTime());i.setMonth(n.getMonth()+t+1,0);return a>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),a),n)}function ah(e,t,r){const{years:n=0,months:a=0,weeks:i=0,days:o=0,hours:s=0,minutes:l=0,seconds:u=0}=t,c=th(e,r?.in),d=a||n?nh(c,a+12*n):c;return eh(e,+(o||i?rh(d,o+7*i):d)+1e3*(u+60*(l+60*s)))}let ih={};function oh(){return ih}function sh(e,t){const r=oh(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=th(e,t?.in),i=a.getDay(),o=(i<n?7:0)+i-n;return a.setDate(a.getDate()-o),a.setHours(0,0,0,0),a}function lh(e,t){return sh(e,{...t,weekStartsOn:1})}function uh(e){const t=th(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}function ch(e,...t){const r=eh.bind(null,t.find((e=>"object"==typeof e)));return t.map(r)}function dh(e,t){const r=th(e,t?.in);return r.setHours(0,0,0,0),r}function ph(e,t){const r=function(e,t){const r=th(e,t?.in),n=r.getFullYear(),a=eh(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const i=lh(a),o=eh(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const s=lh(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}(e,t),n=eh(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),lh(n)}function hh(e,t){const r=+th(e)-+th(t);return r<0?-1:r>0?1:r}function fh(e){return!(!((t=e)instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))&&"number"!=typeof e||isNaN(+th(e)));var t}function mh(e,t,r){const[n,a]=ch(0,e,t),i=gh(n,a),o=Math.abs(function(e,t){const[r,n]=ch(0,e,t),a=dh(r),i=dh(n),o=+a-uh(a),s=+i-uh(i);return Math.round((o-s)/864e5)}(n,a));n.setDate(n.getDate()-i*o);const s=i*(o-Number(gh(n,a)===-i));return 0===s?0:s}function gh(e,t){const r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function vh(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return 0===r?0:r}}function yh(e,t){return+th(e)-+th(t)}function bh(e,t){const r=th(e,t?.in);return+function(e,t){const r=th(e,t?.in);return r.setHours(23,59,59,999),r}(r,t)===+function(e,t){const r=th(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}(r,t)}function wh(e,t,r){const[n,a,i]=ch(0,e,e,t),o=hh(a,i),s=Math.abs(function(e,t){const[r,n]=ch(0,e,t);return 12*(r.getFullYear()-n.getFullYear())+(r.getMonth()-n.getMonth())}(a,i));if(s<1)return 0;1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-o*s);let l=hh(a,i)===-o;bh(n)&&1===s&&1===hh(n,i)&&(l=!1);const u=o*(s-+l);return 0===u?0:u}function xh(e,t,r){const[n,a]=ch(0,e,t),i=hh(n,a),o=Math.abs(function(e,t){const[r,n]=ch(0,e,t);return r.getFullYear()-n.getFullYear()}(n,a));n.setFullYear(1584),a.setFullYear(1584);const s=i*(o-+(hh(n,a)===-i));return 0===s?0:s}const kh={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Ch(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}const Ah={date:Ch({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Ch({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Ch({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Eh={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Sh(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):t;n=e.formattingValues[a]||e.formattingValues[t]}else{const t=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}const jh={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:Sh({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Sh({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Sh({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Sh({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Sh({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function zh(e){return(t,r={})=>{const n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;const o=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r;return}(s,(e=>e.test(o))):function(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r;return}(s,(e=>e.test(o)));let u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;return{value:u,rest:t.slice(o.length)}}}const Ih={ordinalNumber:(Oh={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const r=e.match(Oh.matchPattern);if(!r)return null;const n=r[0],a=e.match(Oh.parsePattern);if(!a)return null;let i=Oh.valueCallback?Oh.valueCallback(a[0]):a[0];return i=t.valueCallback?t.valueCallback(i):i,{value:i,rest:e.slice(n.length)}}),era:zh({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:zh({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:zh({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:zh({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:zh({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};var Oh;const _h={code:"en-US",formatDistance:(e,t,r)=>{let n;const a=kh[e];return n="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatLong:Ah,formatRelative:(e,t,r,n)=>Eh[e],localize:jh,match:Ih,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Nh(e,t){const r=th(e,t?.in),n=r.getFullYear(),a=oh(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=eh(t?.in||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);const s=sh(o,t),l=eh(t?.in||e,0);l.setFullYear(n,0,i),l.setHours(0,0,0,0);const u=sh(l,t);return+r>=+s?n+1:+r>=+u?n:n-1}function Ph(e,t){const r=th(e,t?.in),n=+sh(r,t)-+function(e,t){const r=oh(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=Nh(e,t),i=eh(t?.in||e,0);return i.setFullYear(a,0,n),i.setHours(0,0,0,0),sh(i,t)}(r,t);return Math.round(n/Hp)+1}const Dh=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Th=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Bh={p:Th,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return Dh(e,t);let i;switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",Dh(n,t)).replace("{{time}}",Th(a,t))}},Rh=/^D+$/,Mh=/^Y+$/,$h=["D","DD","YY","YYYY"];function Fh(e){return Rh.test(e)}function Vh(e){return Mh.test(e)}function Lh(e,t,r){const n=function(e,t,r){const n="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,r);if(console.warn(n),$h.includes(e))throw new RangeError(n)}function Uh(e,t){const{start:r,end:n}=function(e,t){const[r,n]=ch(0,t.start,t.end);return{start:r,end:n}}(0,e),a={},i=xh(n,r);i&&(a.years=i);const o=ah(r,{years:a.years}),s=wh(n,o);s&&(a.months=s);const l=ah(o,{months:a.months}),u=mh(n,l);u&&(a.days=u);const c=ah(l,{days:a.days}),d=function(e,t,r){const[n,a]=ch(0,e,t),i=(+n-+a)/Jp;return vh(r?.roundingMethod)(i)}(n,c);d&&(a.hours=d);const p=ah(c,{hours:a.hours}),h=function(e,t,r){const n=yh(e,t)/qp;return vh(r?.roundingMethod)(n)}(n,p);h&&(a.minutes=h);const f=function(e,t,r){const n=yh(e,t)/1e3;return vh(r?.roundingMethod)(n)}(n,ah(p,{minutes:a.minutes}));return f&&(a.seconds=f),a}class Zh{subPriority=0;validate(e,t){return!0}}class Qh extends Zh{constructor(e,t,r,n,a){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}}class Gh extends Zh{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>eh(t,e))}set(e,t){return t.timestampIsSet?e:eh(e,function(e,t){const r=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):eh(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}(e,this.context))}}class Kh{run(e,t,r,n){const a=this.parse(e,t,r,n);return a?{setter:new Qh(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,r){return!0}}const Yh=/^(1[0-2]|0?\d)/,Wh=/^(3[0-1]|[0-2]?\d)/,Hh=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,qh=/^(5[0-3]|[0-4]?\d)/,Jh=/^(2[0-3]|[0-1]?\d)/,Xh=/^(2[0-4]|[0-1]?\d)/,ef=/^(1[0-1]|0?\d)/,tf=/^(1[0-2]|0?\d)/,rf=/^[0-5]?\d/,nf=/^[0-5]?\d/,af=/^\d/,of=/^\d{1,2}/,sf=/^\d{1,3}/,lf=/^\d{1,4}/,uf=/^-?\d+/,cf=/^-?\d/,df=/^-?\d{1,2}/,pf=/^-?\d{1,3}/,hf=/^-?\d{1,4}/,ff=/^([+-])(\d{2})(\d{2})?|Z/,mf=/^([+-])(\d{2})(\d{2})|Z/,gf=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,vf=/^([+-])(\d{2}):(\d{2})|Z/,yf=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function bf(e,t){return e?{value:t(e.value),rest:e.rest}:e}function wf(e,t){const r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function xf(e,t){const r=t.match(e);if(!r)return null;if("Z"===r[0])return{value:0,rest:t.slice(1)};const n="+"===r[1]?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(a*Jp+i*qp+1e3*o),rest:t.slice(r[0].length)}}function kf(e){return wf(uf,e)}function Cf(e,t){switch(e){case 1:return wf(af,t);case 2:return wf(of,t);case 3:return wf(sf,t);case 4:return wf(lf,t);default:return wf(new RegExp("^\\d{1,"+e+"}"),t)}}function Af(e,t){switch(e){case 1:return wf(cf,t);case 2:return wf(df,t);case 3:return wf(pf,t);case 4:return wf(hf,t);default:return wf(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Ef(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Sf(e,t){const r=t>0,n=r?t:1-t;let a;if(n<=50)a=e||100;else{const t=n+50;a=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return r?a:1-a}function jf(e){return e%400==0||e%4==0&&e%100!=0}function zf(e,t,r){const n=th(e,r?.in),a=function(e,t){const r=th(e,t?.in),n=+lh(r)-+ph(r);return Math.round(n/Hp)+1}(n,r)-t;return n.setDate(n.getDate()-7*a),n}const If=[31,28,31,30,31,30,31,31,30,31,30,31],Of=[31,29,31,30,31,30,31,31,30,31,30,31];function _f(e,t,r){const n=oh(),a=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=th(e,r?.in),o=i.getDay(),s=7-a;return rh(i,t<0||t>6?t-(o+s)%7:((t%7+7)%7+s)%7-(o+s)%7,r)}function Nf(e,t,r){const n=th(e,r?.in),a=function(e,t){const r=th(e,t?.in).getDay();return 0===r?7:r}(n,r);return rh(n,t-a,r)}const Pf={G:new class extends Kh{priority=140;parse(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}set(e,t,r){return t.era=r,e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends Kh{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,r){const n=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return bf(Cf(4,e),n);case"yo":return bf(r.ordinalNumber(e,{unit:"year"}),n);default:return bf(Cf(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r){const n=e.getFullYear();if(r.isTwoDigitYear){const t=Sf(r.year,n);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const a="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}},Y:new class extends Kh{priority=130;parse(e,t,r){const n=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return bf(Cf(4,e),n);case"Yo":return bf(r.ordinalNumber(e,{unit:"year"}),n);default:return bf(Cf(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r,n){const a=Nh(e,n);if(r.isTwoDigitYear){const t=Sf(r.year,a);return e.setFullYear(t,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),sh(e,n)}const i="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(i,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),sh(e,n)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends Kh{priority=130;parse(e,t){return Af("R"===t?4:t.length,e)}set(e,t,r){const n=eh(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),lh(n)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends Kh{priority=130;parse(e,t){return Af("u"===t?4:t.length,e)}set(e,t,r){return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends Kh{priority=120;parse(e,t,r){switch(t){case"Q":case"QQ":return Cf(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth(3*(r-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends Kh{priority=120;parse(e,t,r){switch(t){case"q":case"qq":return Cf(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth(3*(r-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends Kh{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,r){const n=e=>e-1;switch(t){case"M":return bf(wf(Yh,e),n);case"MM":return bf(Cf(2,e),n);case"Mo":return bf(r.ordinalNumber(e,{unit:"month"}),n);case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}},L:new class extends Kh{priority=110;parse(e,t,r){const n=e=>e-1;switch(t){case"L":return bf(wf(Yh,e),n);case"LL":return bf(Cf(2,e),n);case"Lo":return bf(r.ordinalNumber(e,{unit:"month"}),n);case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends Kh{priority=100;parse(e,t,r){switch(t){case"w":return wf(qh,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return Cf(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r,n){return sh(function(e,t,r){const n=th(e,r?.in),a=Ph(n,r)-t;return n.setDate(n.getDate()-7*a),th(n,r?.in)}(e,r,n),n)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends Kh{priority=100;parse(e,t,r){switch(t){case"I":return wf(qh,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return Cf(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r){return lh(zf(e,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends Kh{priority=90;subPriority=1;parse(e,t,r){switch(t){case"d":return wf(Wh,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return Cf(t.length,e)}}validate(e,t){const r=jf(e.getFullYear()),n=e.getMonth();return r?t>=1&&t<=Of[n]:t>=1&&t<=If[n]}set(e,t,r){return e.setDate(r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends Kh{priority=90;subpriority=1;parse(e,t,r){switch(t){case"D":case"DD":return wf(Hh,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return Cf(t.length,e)}}validate(e,t){return jf(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,r){return e.setMonth(0,r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends Kh{priority=90;parse(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=_f(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends Kh{priority=90;parse(e,t,r,n){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return bf(Cf(t.length,e),a);case"eo":return bf(r.ordinalNumber(e,{unit:"day"}),a);case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=_f(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends Kh{priority=90;parse(e,t,r,n){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return bf(Cf(t.length,e),a);case"co":return bf(r.ordinalNumber(e,{unit:"day"}),a);case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=_f(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends Kh{priority=90;parse(e,t,r){const n=e=>0===e?7:e;switch(t){case"i":case"ii":return Cf(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return bf(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiii":return bf(r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiiii":return bf(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);default:return bf(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)}}validate(e,t){return t>=1&&t<=7}set(e,t,r){return(e=Nf(e,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends Kh{priority=80;parse(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(Ef(r),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends Kh{priority=80;parse(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(Ef(r),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends Kh{priority=80;parse(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(Ef(r),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends Kh{priority=70;parse(e,t,r){switch(t){case"h":return wf(tf,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return Cf(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){const n=e.getHours()>=12;return n&&r<12?e.setHours(r+12,0,0,0):n||12!==r?e.setHours(r,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends Kh{priority=70;parse(e,t,r){switch(t){case"H":return wf(Jh,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return Cf(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,r){return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends Kh{priority=70;parse(e,t,r){switch(t){case"K":return wf(ef,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return Cf(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.getHours()>=12&&r<12?e.setHours(r+12,0,0,0):e.setHours(r,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends Kh{priority=70;parse(e,t,r){switch(t){case"k":return wf(Xh,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return Cf(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,r){const n=r<=24?r%24:r;return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends Kh{priority=60;parse(e,t,r){switch(t){case"m":return wf(rf,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return Cf(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setMinutes(r,0,0),e}incompatibleTokens=["t","T"]},s:new class extends Kh{priority=50;parse(e,t,r){switch(t){case"s":return wf(nf,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return Cf(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setSeconds(r,0),e}incompatibleTokens=["t","T"]},S:new class extends Kh{priority=30;parse(e,t){return bf(Cf(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,r){return e.setMilliseconds(r),e}incompatibleTokens=["t","T"]},X:new class extends Kh{priority=10;parse(e,t){switch(t){case"X":return xf(ff,e);case"XX":return xf(mf,e);case"XXXX":return xf(gf,e);case"XXXXX":return xf(yf,e);default:return xf(vf,e)}}set(e,t,r){return t.timestampIsSet?e:eh(e,e.getTime()-uh(e)-r)}incompatibleTokens=["t","T","x"]},x:new class extends Kh{priority=10;parse(e,t){switch(t){case"x":return xf(ff,e);case"xx":return xf(mf,e);case"xxxx":return xf(gf,e);case"xxxxx":return xf(yf,e);default:return xf(vf,e)}}set(e,t,r){return t.timestampIsSet?e:eh(e,e.getTime()-uh(e)-r)}incompatibleTokens=["t","T","X"]},t:new class extends Kh{priority=40;parse(e){return kf(e)}set(e,t,r){return[eh(e,1e3*r),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends Kh{priority=20;parse(e){return kf(e)}set(e,t,r){return[eh(e,r),{timestampIsSet:!0}]}incompatibleTokens="*"}},Df=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Tf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bf=/^'([^]*?)'?$/,Rf=/''/g,Mf=/\S/,$f=/[a-zA-Z]/;function Ff(e,t,r,n){const a=()=>eh(r,NaN),i=Object.assign({},oh()),o=i.locale??_h,s=i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(!t)return e?a():th(r,n?.in);const u={firstWeekContainsDate:s,weekStartsOn:l,locale:o},c=[new Gh(n?.in,r)],d=t.match(Tf).map((e=>{const t=e[0];if(t in Bh){return(0,Bh[t])(e,o.formatLong)}return e})).join("").match(Df),p=[];for(let r of d){Vh(r)&&Lh(r,t,e),Fh(r)&&Lh(r,t,e);const n=r[0],i=Pf[n];if(i){const{incompatibleTokens:t}=i;if(Array.isArray(t)){const e=p.find((e=>t.includes(e.token)||e.token===n));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${r}\` at the same time`)}else if("*"===i.incompatibleTokens&&p.length>0)throw new RangeError(`The format string mustn't contain \`${r}\` and any other token at the same time`);p.push({token:n,fullToken:r});const s=i.run(e,r,o.match,u);if(!s)return a();c.push(s.setter),e=s.rest}else{if(n.match($f))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=r.match(Bf)[1].replace(Rf,"'")),0!==e.indexOf(r))return a();e=e.slice(r.length)}}if(e.length>0&&Mf.test(e))return a();const h=c.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,r)=>r.indexOf(e)===t)).map((e=>c.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let f=th(r,n?.in);if(isNaN(+f))return a();const m={};for(const e of h){if(!e.validate(f,u))return a();const t=e.set(f,m,u);Array.isArray(t)?(f=t[0],Object.assign(m,t[1])):f=t}return f}function Vf(e,t){const r=()=>eh(t?.in,NaN),n=function(e){const t={},r=e.split(Lf.dateTimeDelimiter);let n;if(r.length>2)return t;/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Lf.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Lf.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length)));if(n){const e=Lf.timezone.exec(n);e?(t.time=n.replace(e[1],""),t.timezone=e[1]):t.time=n}return t}(e);let a;if(n.date){const e=function(e,t){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};const a=n[1]?parseInt(n[1]):null,i=n[2]?parseInt(n[2]):null;return{year:null===i?a:100*i,restDateString:e.slice((n[1]||n[2]).length)}}(n.date,2);a=function(e,t){if(null===t)return new Date(NaN);const r=e.match(Uf);if(!r)return new Date(NaN);const n=!!r[4],a=Gf(r[1]),i=Gf(r[2])-1,o=Gf(r[3]),s=Gf(r[4]),l=Gf(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,s,l)?function(e,t,r){const n=new Date(0);n.setUTCFullYear(e,0,4);const a=n.getUTCDay()||7,i=7*(t-1)+r+1-a;return n.setUTCDate(n.getUTCDate()+i),n}(t,s,l):new Date(NaN);{const e=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(Yf[t]||(Wf(e)?29:28))}(t,i,o)&&function(e,t){return t>=1&&t<=(Wf(e)?366:365)}(t,a)?(e.setUTCFullYear(t,i,Math.max(a,o)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!a||isNaN(+a))return r();const i=+a;let o,s=0;if(n.time&&(s=function(e){const t=e.match(Zf);if(!t)return NaN;const r=Kf(t[1]),n=Kf(t[2]),a=Kf(t[3]);if(!function(e,t,r){if(24===e)return 0===t&&0===r;return r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,n,a))return NaN;return r*Jp+n*qp+1e3*a}(n.time),isNaN(s)))return r();if(!n.timezone){const e=new Date(i+s),r=th(0,t?.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return o=function(e){if("Z"===e)return 0;const t=e.match(Qf);if(!t)return 0;const r="+"===t[1]?-1:1,n=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,a))return NaN;return r*(n*Jp+a*qp)}(n.timezone),isNaN(o)?r():th(i+s+o,t?.in)}const Lf={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Uf=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Zf=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Qf=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Gf(e){return e?parseInt(e):1}function Kf(e){return e&&parseFloat(e.replace(",","."))||0}const Yf=[31,null,31,30,31,30,31,31,30,31,30,31];function Wf(e){return e%400==0||e%4==0&&e%100!=0}function Hf(e,t,r){const{years:n=0,months:a=0,weeks:i=0,days:o=0,hours:s=0,minutes:l=0,seconds:u=0}=t,c=function(e,t,r){return nh(e,-t,r)}(e,a+12*n,r),d=function(e,t,r){return rh(e,-t,r)}(c,o+7*i,r);return eh(e,+d-1e3*(u+60*(l+60*s)))}var qf,Jf,Xf={exports:{}};qf||(qf=1,Jf=Xf,function(e){const t="(0?\\d+|0x[a-f0-9]+)",r={fourOctet:new RegExp(`^${t}\\.${t}\\.${t}\\.${t}$`,"i"),threeOctet:new RegExp(`^${t}\\.${t}\\.${t}$`,"i"),twoOctet:new RegExp(`^${t}\\.${t}$`,"i"),longValue:new RegExp(`^${t}$`,"i")},n=new RegExp("^0[0-7]+$","i"),a=new RegExp("^0x[a-f0-9]+$","i"),i="%[0-9a-z]{1,}",o="(?:[0-9a-f]+::?)+",s={zoneIndex:new RegExp(i,"i"),native:new RegExp(`^(::)?(${o})?([0-9a-f]+)?(::)?(${i})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${t}\\.${t}\\.${t}\\.${t}(${i})?)$`,"i"),transitional:new RegExp(`^((?:${o})|(?:::)(?:${o})?)${t}\\.${t}\\.${t}\\.${t}(${i})?$`,"i")};function l(e,t){if(e.indexOf("::")!==e.lastIndexOf("::"))return null;let r,n,a=0,i=-1,o=(e.match(s.zoneIndex)||[])[0];for(o&&(o=o.substring(1),e=e.replace(/%.+$/,""));(i=e.indexOf(":",i+1))>=0;)a++;if("::"===e.substr(0,2)&&a--,"::"===e.substr(-2,2)&&a--,a>t)return null;for(n=t-a,r=":";n--;)r+="0:";return":"===(e=e.replace("::",r))[0]&&(e=e.slice(1)),":"===e[e.length-1]&&(e=e.slice(0,-1)),t=function(){const t=e.split(":"),r=[];for(let e=0;e<t.length;e++)r.push(parseInt(t[e],16));return r}(),{parts:t,zoneId:o}}function u(e,t,r,n){if(e.length!==t.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let a,i=0;for(;n>0;){if(a=r-n,a<0&&(a=0),e[i]>>a!==t[i]>>a)return!1;n-=r,i+=1}return!0}function c(e){if(a.test(e))return parseInt(e,16);if("0"===e[0]&&!isNaN(parseInt(e[1],10))){if(n.test(e))return parseInt(e,8);throw new Error(`ipaddr: cannot parse ${e} as octal`)}return parseInt(e,10)}function d(e,t){for(;e.length<t;)e=`0${e}`;return e}const p={};p.IPv4=function(){function e(e){if(4!==e.length)throw new Error("ipaddr: ipv4 octet count should be 4");let t,r;for(t=0;t<e.length;t++)if(r=e[t],!(0<=r&&r<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}return e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,18,0,0]),15],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]],as112:[[new e([192,175,48,0]),24],[new e([192,31,196,0]),24]],amt:[[new e([192,52,193,0]),24]]},e.prototype.kind=function(){return"ipv4"},e.prototype.match=function(e,t){let r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv4"!==e.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return u(this.octets,e.octets,8,t)},e.prototype.prefixLengthFromSubnetMask=function(){let e=0,t=!1;const r={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};let n,a,i;for(n=3;n>=0;n-=1){if(a=this.octets[n],!(a in r))return null;if(i=r[a],t&&0!==i)return null;8!==i&&(t=!0),e+=i}return 32-e},e.prototype.range=function(){return p.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.toIPv4MappedAddress=function(){return p.IPv6.parse(`::ffff:${this.toString()}`)},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toString=function(){return this.octets.join(".")},e}(),p.IPv4.broadcastAddressFromCIDR=function(e){try{const t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[];let i=0;for(;i<4;)a.push(parseInt(r[i],10)|255^parseInt(n[i],10)),i++;return new this(a)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},p.IPv4.isIPv4=function(e){return null!==this.parser(e)},p.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch(e){return!1}},p.IPv4.isValidCIDR=function(e){try{return this.parseCIDR(e),!0}catch(e){return!1}},p.IPv4.isValidFourPartDecimal=function(e){return!(!p.IPv4.isValid(e)||!e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},p.IPv4.networkAddressFromCIDR=function(e){let t,r,n,a,i;try{for(t=this.parseCIDR(e),n=t[0].toByteArray(),i=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[],r=0;r<4;)a.push(parseInt(n[r],10)&parseInt(i[r],10)),r++;return new this(a)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},p.IPv4.parse=function(e){const t=this.parser(e);if(null===t)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(t)},p.IPv4.parseCIDR=function(e){let t;if(t=e.match(/^(.+)\/(\d+)$/)){const e=parseInt(t[2]);if(e>=0&&e<=32){const r=[this.parse(t[1]),e];return Object.defineProperty(r,"toString",{value:function(){return this.join("/")}}),r}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},p.IPv4.parser=function(e){let t,n,a;if(t=e.match(r.fourOctet))return function(){const e=t.slice(1,6),r=[];for(let t=0;t<e.length;t++)n=e[t],r.push(c(n));return r}();if(t=e.match(r.longValue)){if(a=c(t[1]),a>4294967295||a<0)throw new Error("ipaddr: address outside defined range");return function(){const e=[];let t;for(t=0;t<=24;t+=8)e.push(a>>t&255);return e}().reverse()}return(t=e.match(r.twoOctet))?function(){const e=t.slice(1,4),r=[];if(a=c(e[1]),a>16777215||a<0)throw new Error("ipaddr: address outside defined range");return r.push(c(e[0])),r.push(a>>16&255),r.push(a>>8&255),r.push(255&a),r}():(t=e.match(r.threeOctet))?function(){const e=t.slice(1,5),r=[];if(a=c(e[2]),a>65535||a<0)throw new Error("ipaddr: address outside defined range");return r.push(c(e[0])),r.push(c(e[1])),r.push(a>>8&255),r.push(255&a),r}():null},p.IPv4.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>32)throw new Error("ipaddr: invalid IPv4 prefix length");const t=[0,0,0,0];let r=0;const n=Math.floor(e/8);for(;r<n;)t[r]=255,r++;return n<4&&(t[n]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},p.IPv6=function(){function e(e,t){let r,n;if(16===e.length)for(this.parts=[],r=0;r<=14;r+=2)this.parts.push(e[r]<<8|e[r+1]);else{if(8!==e.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(r=0;r<this.parts.length;r++)if(n=this.parts[r],!(0<=n&&n<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}return e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],discard:[new e([256,0,0,0,0,0,0,0]),64],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],benchmarking:[new e([8193,2,0,0,0,0,0,0]),48],amt:[new e([8193,3,0,0,0,0,0,0]),32],as112v6:[[new e([8193,4,274,0,0,0,0,0]),48],[new e([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new e([8193,16,0,0,0,0,0,0]),28],orchid2:[new e([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new e([8193,48,0,0,0,0,0,0]),28],reserved:[[new e([8193,0,0,0,0,0,0,0]),23],[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},e.prototype.kind=function(){return"ipv6"},e.prototype.match=function(e,t){let r;if(void 0===t&&(r=e,e=r[0],t=r[1]),"ipv6"!==e.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return u(this.parts,e.parts,16,t)},e.prototype.prefixLengthFromSubnetMask=function(){let e=0,t=!1;const r={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};let n,a;for(let i=7;i>=0;i-=1){if(n=this.parts[i],!(n in r))return null;if(a=r[n],t&&0!==a)return null;16!==a&&(t=!0),e+=a}return 128-e},e.prototype.range=function(){return p.subnetMatch(this,this.SpecialRanges)},e.prototype.toByteArray=function(){let e;const t=[],r=this.parts;for(let n=0;n<r.length;n++)e=r[n],t.push(e>>8),t.push(255&e);return t},e.prototype.toFixedLengthString=function(){const e=function(){const e=[];for(let t=0;t<this.parts.length;t++)e.push(d(this.parts[t].toString(16),4));return e}.call(this).join(":");let t="";return this.zoneId&&(t=`%${this.zoneId}`),e+t},e.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");const e=this.parts.slice(-2),t=e[0],r=e[1];return new p.IPv4([t>>8,255&t,r>>8,255&r])},e.prototype.toNormalizedString=function(){const e=function(){const e=[];for(let t=0;t<this.parts.length;t++)e.push(this.parts[t].toString(16));return e}.call(this).join(":");let t="";return this.zoneId&&(t=`%${this.zoneId}`),e+t},e.prototype.toRFC5952String=function(){const e=/((^|:)(0(:|$)){2,})/g,t=this.toNormalizedString();let r,n=0,a=-1;for(;r=e.exec(t);)r[0].length>a&&(n=r.index,a=r[0].length);return a<0?t:`${t.substring(0,n)}::${t.substring(n+a)}`},e.prototype.toString=function(){return this.toRFC5952String()},e}(),p.IPv6.broadcastAddressFromCIDR=function(e){try{const t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[];let i=0;for(;i<16;)a.push(parseInt(r[i],10)|255^parseInt(n[i],10)),i++;return new this(a)}catch(e){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`)}},p.IPv6.isIPv6=function(e){return null!==this.parser(e)},p.IPv6.isValid=function(e){if("string"==typeof e&&-1===e.indexOf(":"))return!1;try{const t=this.parser(e);return new this(t.parts,t.zoneId),!0}catch(e){return!1}},p.IPv6.isValidCIDR=function(e){if("string"==typeof e&&-1===e.indexOf(":"))return!1;try{return this.parseCIDR(e),!0}catch(e){return!1}},p.IPv6.networkAddressFromCIDR=function(e){let t,r,n,a,i;try{for(t=this.parseCIDR(e),n=t[0].toByteArray(),i=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),a=[],r=0;r<16;)a.push(parseInt(n[r],10)&parseInt(i[r],10)),r++;return new this(a)}catch(e){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`)}},p.IPv6.parse=function(e){const t=this.parser(e);if(null===t.parts)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(t.parts,t.zoneId)},p.IPv6.parseCIDR=function(e){let t,r,n;if((r=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(r[2]),t>=0&&t<=128))return n=[this.parse(r[1]),t],Object.defineProperty(n,"toString",{value:function(){return this.join("/")}}),n;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},p.IPv6.parser=function(e){let t,r,n,a,i,o;if(n=e.match(s.deprecatedTransitional))return this.parser(`::ffff:${n[1]}`);if(s.native.test(e))return l(e,8);if((n=e.match(s.transitional))&&(o=n[6]||"",t=n[1],n[1].endsWith("::")||(t=t.slice(0,-1)),t=l(t+o,6),t.parts)){for(i=[parseInt(n[2]),parseInt(n[3]),parseInt(n[4]),parseInt(n[5])],r=0;r<i.length;r++)if(a=i[r],!(0<=a&&a<=255))return null;return t.parts.push(i[0]<<8|i[1]),t.parts.push(i[2]<<8|i[3]),{parts:t.parts,zoneId:t.zoneId}}return null},p.IPv6.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>128)throw new Error("ipaddr: invalid IPv6 prefix length");const t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let r=0;const n=Math.floor(e/8);for(;r<n;)t[r]=255,r++;return n<16&&(t[n]=Math.pow(2,e%8)-1<<8-e%8),new this(t)},p.fromByteArray=function(e){const t=e.length;if(4===t)return new p.IPv4(e);if(16===t)return new p.IPv6(e);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},p.isValid=function(e){return p.IPv6.isValid(e)||p.IPv4.isValid(e)},p.isValidCIDR=function(e){return p.IPv6.isValidCIDR(e)||p.IPv4.isValidCIDR(e)},p.parse=function(e){if(p.IPv6.isValid(e))return p.IPv6.parse(e);if(p.IPv4.isValid(e))return p.IPv4.parse(e);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},p.parseCIDR=function(e){try{return p.IPv6.parseCIDR(e)}catch(t){try{return p.IPv4.parseCIDR(e)}catch(e){throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},p.process=function(e){const t=this.parse(e);return"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t},p.subnetMatch=function(e,t,r){let n,a,i,o;for(a in null==r&&(r="unicast"),t)if(Object.prototype.hasOwnProperty.call(t,a))for(i=t[a],!i[0]||i[0]instanceof Array||(i=[i]),n=0;n<i.length;n++)if(o=i[n],e.kind()===o[0].kind()&&e.match.apply(e,o))return a;return r},Jf.exports?Jf.exports=p:e.ipaddr=p}(Xf.exports));var em,tm={exports:{}};em||(em=1,function(e){e.exports=function(e){var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(e,t){var r=e[0],n=e[1],a=e[2],i=e[3];n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&a|~n&i)+t[0]-680876936|0)<<7|r>>>25)+n|0)&n|~r&a)+t[1]-389564586|0)<<12|i>>>20)+r|0)&r|~i&n)+t[2]+606105819|0)<<17|a>>>15)+i|0)&i|~a&r)+t[3]-1044525330|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&a|~n&i)+t[4]-176418897|0)<<7|r>>>25)+n|0)&n|~r&a)+t[5]+1200080426|0)<<12|i>>>20)+r|0)&r|~i&n)+t[6]-1473231341|0)<<17|a>>>15)+i|0)&i|~a&r)+t[7]-45705983|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&a|~n&i)+t[8]+1770035416|0)<<7|r>>>25)+n|0)&n|~r&a)+t[9]-1958414417|0)<<12|i>>>20)+r|0)&r|~i&n)+t[10]-42063|0)<<17|a>>>15)+i|0)&i|~a&r)+t[11]-1990404162|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&a|~n&i)+t[12]+1804603682|0)<<7|r>>>25)+n|0)&n|~r&a)+t[13]-40341101|0)<<12|i>>>20)+r|0)&r|~i&n)+t[14]-1502002290|0)<<17|a>>>15)+i|0)&i|~a&r)+t[15]+1236535329|0)<<22|n>>>10)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&i|a&~i)+t[1]-165796510|0)<<5|r>>>27)+n|0)&a|n&~a)+t[6]-1069501632|0)<<9|i>>>23)+r|0)&n|r&~n)+t[11]+643717713|0)<<14|a>>>18)+i|0)&r|i&~r)+t[0]-373897302|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&i|a&~i)+t[5]-701558691|0)<<5|r>>>27)+n|0)&a|n&~a)+t[10]+38016083|0)<<9|i>>>23)+r|0)&n|r&~n)+t[15]-660478335|0)<<14|a>>>18)+i|0)&r|i&~r)+t[4]-405537848|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&i|a&~i)+t[9]+568446438|0)<<5|r>>>27)+n|0)&a|n&~a)+t[14]-1019803690|0)<<9|i>>>23)+r|0)&n|r&~n)+t[3]-187363961|0)<<14|a>>>18)+i|0)&r|i&~r)+t[8]+1163531501|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n&i|a&~i)+t[13]-1444681467|0)<<5|r>>>27)+n|0)&a|n&~a)+t[2]-51403784|0)<<9|i>>>23)+r|0)&n|r&~n)+t[7]+1735328473|0)<<14|a>>>18)+i|0)&r|i&~r)+t[12]-1926607734|0)<<20|n>>>12)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n^a^i)+t[5]-378558|0)<<4|r>>>28)+n|0)^n^a)+t[8]-2022574463|0)<<11|i>>>21)+r|0)^r^n)+t[11]+1839030562|0)<<16|a>>>16)+i|0)^i^r)+t[14]-35309556|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n^a^i)+t[1]-1530992060|0)<<4|r>>>28)+n|0)^n^a)+t[4]+1272893353|0)<<11|i>>>21)+r|0)^r^n)+t[7]-155497632|0)<<16|a>>>16)+i|0)^i^r)+t[10]-1094730640|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n^a^i)+t[13]+681279174|0)<<4|r>>>28)+n|0)^n^a)+t[0]-358537222|0)<<11|i>>>21)+r|0)^r^n)+t[3]-722521979|0)<<16|a>>>16)+i|0)^i^r)+t[6]+76029189|0)<<23|n>>>9)+a|0,n=((n+=((a=((a+=((i=((i+=((r=((r+=(n^a^i)+t[9]-640364487|0)<<4|r>>>28)+n|0)^n^a)+t[12]-421815835|0)<<11|i>>>21)+r|0)^r^n)+t[15]+530742520|0)<<16|a>>>16)+i|0)^i^r)+t[2]-995338651|0)<<23|n>>>9)+a|0,n=((n+=((i=((i+=(n^((r=((r+=(a^(n|~i))+t[0]-198630844|0)<<6|r>>>26)+n|0)|~a))+t[7]+1126891415|0)<<10|i>>>22)+r|0)^((a=((a+=(r^(i|~n))+t[14]-1416354905|0)<<15|a>>>17)+i|0)|~r))+t[5]-57434055|0)<<21|n>>>11)+a|0,n=((n+=((i=((i+=(n^((r=((r+=(a^(n|~i))+t[12]+1700485571|0)<<6|r>>>26)+n|0)|~a))+t[3]-1894986606|0)<<10|i>>>22)+r|0)^((a=((a+=(r^(i|~n))+t[10]-1051523|0)<<15|a>>>17)+i|0)|~r))+t[1]-2054922799|0)<<21|n>>>11)+a|0,n=((n+=((i=((i+=(n^((r=((r+=(a^(n|~i))+t[8]+1873313359|0)<<6|r>>>26)+n|0)|~a))+t[15]-30611744|0)<<10|i>>>22)+r|0)^((a=((a+=(r^(i|~n))+t[6]-1560198380|0)<<15|a>>>17)+i|0)|~r))+t[13]+1309151649|0)<<21|n>>>11)+a|0,n=((n+=((i=((i+=(n^((r=((r+=(a^(n|~i))+t[4]-145523070|0)<<6|r>>>26)+n|0)|~a))+t[11]-1120210379|0)<<10|i>>>22)+r|0)^((a=((a+=(r^(i|~n))+t[2]+718787259|0)<<15|a>>>17)+i|0)|~r))+t[9]-343485551|0)<<21|n>>>11)+a|0,e[0]=r+e[0]|0,e[1]=n+e[1]|0,e[2]=a+e[2]|0,e[3]=i+e[3]|0}function n(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}function a(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return r}function i(e){var t,a,i,o,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)r(c,n(e.substring(t-64,t)));for(a=(e=e.substring(t-64)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<a;t+=1)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(r(c,i),t=0;t<16;t+=1)i[t]=0;return o=(o=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(o[2],16),l=parseInt(o[1],16)||0,i[14]=s,i[15]=l,r(c,i),c}function o(e){var t,n,i,o,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)r(c,a(e.subarray(t-64,t)));for(n=(e=t-64<u?e.subarray(t-64):new Uint8Array(0)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<n;t+=1)i[t>>2]|=e[t]<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(r(c,i),t=0;t<16;t+=1)i[t]=0;return o=(o=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(o[2],16),l=parseInt(o[1],16)||0,i[14]=s,i[15]=l,r(c,i),c}function s(e){var r,n="";for(r=0;r<4;r+=1)n+=t[e>>8*r+4&15]+t[e>>8*r&15];return n}function l(e){var t;for(t=0;t<e.length;t+=1)e[t]=s(e[t]);return e.join("")}function u(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e,t){var r,n=e.length,a=new ArrayBuffer(n),i=new Uint8Array(a);for(r=0;r<n;r+=1)i[r]=e.charCodeAt(r);return t?i:a}function d(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function p(e,t,r){var n=new Uint8Array(e.byteLength+t.byteLength);return n.set(new Uint8Array(e)),n.set(new Uint8Array(t),e.byteLength),n}function h(e){var t,r=[],n=e.length;for(t=0;t<n-1;t+=2)r.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,r)}function f(){this.reset()}return l(i("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(r,n){var a,i,o,s,l=this.byteLength,u=t(r,l),c=l;return n!==e&&(c=t(n,l)),u>c?new ArrayBuffer(0):(a=c-u,i=new ArrayBuffer(a),o=new Uint8Array(i),s=new Uint8Array(this,u,a),o.set(s),i)}}(),f.prototype.append=function(e){return this.appendBinary(u(e)),this},f.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,a=this._buff.length;for(t=64;t<=a;t+=64)r(this._hash,n(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},f.prototype.end=function(e){var t,r,n=this._buff,a=n.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<a;t+=1)i[t>>2]|=n.charCodeAt(t)<<(t%4<<3);return this._finish(i,a),r=l(this._hash),e&&(r=h(r)),this.reset(),r},f.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},f.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},f.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},f.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},f.prototype._finish=function(e,t){var n,a,i,o=t;if(e[o>>2]|=128<<(o%4<<3),o>55)for(r(this._hash,e),o=0;o<16;o+=1)e[o]=0;n=(n=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(n[2],16),i=parseInt(n[1],16)||0,e[14]=a,e[15]=i,r(this._hash,e)},f.hash=function(e,t){return f.hashBinary(u(e),t)},f.hashBinary=function(e,t){var r=l(i(e));return t?h(r):r},f.ArrayBuffer=function(){this.reset()},f.ArrayBuffer.prototype.append=function(e){var t,n=p(this._buff.buffer,e),i=n.length;for(this._length+=e.byteLength,t=64;t<=i;t+=64)r(this._hash,a(n.subarray(t-64,t)));return this._buff=t-64<i?new Uint8Array(n.buffer.slice(t-64)):new Uint8Array(0),this},f.ArrayBuffer.prototype.end=function(e){var t,r,n=this._buff,a=n.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<a;t+=1)i[t>>2]|=n[t]<<(t%4<<3);return this._finish(i,a),r=l(this._hash),e&&(r=h(r)),this.reset(),r},f.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},f.ArrayBuffer.prototype.getState=function(){var e=f.prototype.getState.call(this);return e.buff=d(e.buff),e},f.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),f.prototype.setState.call(this,e)},f.ArrayBuffer.prototype.destroy=f.prototype.destroy,f.ArrayBuffer.prototype._finish=f.prototype._finish,f.ArrayBuffer.hash=function(e,t){var r=l(o(new Uint8Array(e)));return t?h(r):r},f}()}(tm));const rm={AF:"AF",AL:"AL",DZ:"DZ",AS:"AS",AD:"AD",AO:"AO",AI:"AI",AQ:"AQ",AG:"AG",AR:"AR",AM:"AM",AW:"AW",AU:"AU",AT:"AT",AZ:"AZ",BS:"BS",BH:"BH",BD:"BD",BB:"BB",BY:"BY",BE:"BE",BZ:"BZ",BJ:"BJ",BM:"BM",BT:"BT",BO:"BO",BQ:"BQ",BA:"BA",BW:"BW",BV:"BV",BR:"BR",IO:"IO",BN:"BN",BG:"BG",BF:"BF",BI:"BI",KH:"KH",CM:"CM",CA:"CA",CV:"CV",KY:"KY",CF:"CF",TD:"TD",CL:"CL",CN:"CN",CX:"CX",CC:"CC",CO:"CO",KM:"KM",CG:"CG",CD:"CD",CK:"CK",CR:"CR",HR:"HR",CU:"CU",CW:"CW",CY:"CY",CZ:"CZ",CI:"CI",DK:"DK",DJ:"DJ",DM:"DM",DO:"DO",EC:"EC",EG:"EG",SV:"SV",GQ:"GQ",ER:"ER",EE:"EE",ET:"ET",FK:"FK",FO:"FO",FJ:"FJ",FI:"FI",FR:"FR",GF:"GF",PF:"PF",TF:"TF",GA:"GA",GM:"GM",GE:"GE",DE:"DE",GH:"GH",GI:"GI",GR:"GR",GL:"GL",GD:"GD",GP:"GP",GU:"GU",GT:"GT",GG:"GG",GN:"GN",GW:"GW",GY:"GY",HT:"HT",HM:"HM",VA:"VA",HN:"HN",HK:"HK",HU:"HU",IS:"IS",IN:"IN",ID:"ID",IR:"IR",IQ:"IQ",IE:"IE",IM:"IM",IL:"IL",IT:"IT",JM:"JM",JP:"JP",JE:"JE",JO:"JO",KZ:"KZ",KE:"KE",KI:"KI",KP:"KP",KR:"KR",KW:"KW",KG:"KG",LA:"LA",LV:"LV",LB:"LB",LS:"LS",LR:"LR",LY:"LY",LI:"LI",LT:"LT",LU:"LU",MO:"MO",MK:"MK",MG:"MG",MW:"MW",MY:"MY",MV:"MV",ML:"ML",MT:"MT",MH:"MH",MQ:"MQ",MR:"MR",MU:"MU",YT:"YT",MX:"MX",FM:"FM",MD:"MD",MC:"MC",MN:"MN",ME:"ME",MS:"MS",MA:"MA",MZ:"MZ",MM:"MM",NA:"NA",NR:"NR",NP:"NP",NL:"NL",NC:"NC",NZ:"NZ",NI:"NI",NE:"NE",NG:"NG",NU:"NU",NF:"NF",MP:"MP",NO:"NO",OM:"OM",PK:"PK",PW:"PW",PS:"PS",PA:"PA",PG:"PG",PY:"PY",PE:"PE",PH:"PH",PN:"PN",PL:"PL",PT:"PT",PR:"PR",QA:"QA",RO:"RO",RU:"RU",RW:"RW",RE:"RE",BL:"BL",SH:"SH",KN:"KN",LC:"LC",MF:"MF",PM:"PM",VC:"VC",WS:"WS",SM:"SM",ST:"ST",SA:"SA",SN:"SN",RS:"RS",SC:"SC",SL:"SL",SG:"SG",SX:"SX",SK:"SK",SI:"SI",SB:"SB",SO:"SO",ZA:"ZA",GS:"GS",SS:"SS",ES:"ES",LK:"LK",SD:"SD",SR:"SR",SJ:"SJ",SZ:"SZ",SE:"SE",CH:"CH",SY:"SY",TW:"TW",TJ:"TJ",TZ:"TZ",TH:"TH",TL:"TL",TG:"TG",TK:"TK",TO:"TO",TT:"TT",TN:"TN",TR:"TR",TM:"TM",TC:"TC",TV:"TV",UG:"UG",UA:"UA",AE:"AE",GB:"GB",UK:"GB",US:"US",UM:"UM",UY:"UY",UZ:"UZ",VU:"VU",VE:"VE",VN:"VN",VG:"VG",VI:"VI",WF:"WF",EH:"EH",YE:"YE",ZM:"ZM",ZW:"ZW"};Array.from(new Set(Object.values(rm)));const nm=e=>null!=e,am=e=>null==e||""===e,im=e=>e instanceof Date,om=e=>"object"==typeof e&&!!e&&!Array.isArray(e),sm=["yyyy-MM-dd","yyyy/MM/dd","dd/MM/yyyy","dd-MM-yyyy","yyyy-dd-MM","yyyy/dd/MM","MM/dd/yyyy","MM-dd-yyyy"],lm=({value:e,format:t="yyyy-MM-dd"})=>{if(im(e))return e;if(!(e=>"string"==typeof e)(e))return null;try{let r=Ff(e,t,new Date);return fh(r)?r:um({value:e})}catch{return null}},um=({value:e})=>{let t=Vf(e);if(fh(t))return t;let r=new Date;for(let t of sm){let n=Ff(e,t,r);if(fh(n))return n.setUTCHours(0,0,0,0),n}return null},cm=({date:e,yearsToAdd:t=0,format:r})=>{if(am(e))return!1;let n=lm({value:e,format:r});if(null===n)return!1;let a=Math.round(t)??0;return function(e,t){return+th(e)<+th(t)}(Hf(new Date,{days:1}),function(e,t,r){return nh(e,12*t,r)}(n,a))};!function(e){e.UnmappedValue="unmapped_value",e.ez="ez",e.aw="aw",e.atom="atom",e.atomcat="atomcat",e.atomdeleted="atomdeleted",e.atomsvc="atomsvc",e.dwd="dwd",e.held="held",e.rsat="rsat",e.bdoc="bdoc",e.xcs="xcs",e.ccxml="ccxml",e.cdfx="cdfx",e.cdmia="cdmia",e.cdmic="cdmic",e.cdmid="cdmid",e.cdmio="cdmio",e.cdmiq="cdmiq",e.cu="cu",e.mpd="mpd",e.davmount="davmount",e.dbk="dbk",e.dssc="dssc",e.xdssc="xdssc",e.es="es",e.ecma="ecma",e.emma="emma",e.emotionml="emotionml",e.epub="epub",e.exi="exi",e.exp="exp",e.fdt="fdt",e.pfr="pfr",e.geojson="geojson",e.gml="gml",e.gpx="gpx",e.gxf="gxf",e.gz="gz",e.hjson="hjson",e.stk="stk",e.ink="ink",e.inkml="inkml",e.ipfix="ipfix",e.its="its",e.jar="jar",e.war="war",e.ear="ear",e.ser="ser",e.class="class",e.js="js",e.mjs="mjs",e.json="json",e.map="map",e.json5="json5",e.jsonml="jsonml",e.jsonld="jsonld",e.lgr="lgr",e.lostxml="lostxml",e.hqx="hqx",e.cpt="cpt",e.mads="mads",e.webmanifest="webmanifest",e.mrc="mrc",e.mrcx="mrcx",e.ma="ma",e.nb="nb",e.mb="mb",e.mathml="mathml",e.mbox="mbox",e.mscml="mscml",e.metalink="metalink",e.meta4="meta4",e.mets="mets",e.maei="maei",e.musd="musd",e.mods="mods",e.m21="m21",e.mp21="mp21",e.mp4s="mp4s",e.m4p="m4p",e.doc="doc",e.dot="dot",e.mxf="mxf",e.nq="nq",e.nt="nt",e.cjs="cjs",e.bin="bin",e.dms="dms",e.lrf="lrf",e.mar="mar",e.so="so",e.dist="dist",e.distz="distz",e.pkg="pkg",e.bpk="bpk",e.dump="dump",e.elc="elc",e.deploy="deploy",e.exe="exe",e.dll="dll",e.deb="deb",e.dmg="dmg",e.iso="iso",e.img="img",e.msi="msi",e.msp="msp",e.msm="msm",e.buffer="buffer",e.oda="oda",e.opf="opf",e.ogx="ogx",e.omdoc="omdoc",e.onetoc="onetoc",e.onetoc2="onetoc2",e.onetmp="onetmp",e.onepkg="onepkg",e.oxps="oxps",e.relo="relo",e.xer="xer",e.pdf="pdf",e.pgp="pgp",e.asc="asc",e.sig="sig",e.prf="prf",e.p10="p10",e.p7m="p7m",e.p7c="p7c",e.p7s="p7s",e.p8="p8",e.ac="ac",e.cer="cer",e.crl="crl",e.pkipath="pkipath",e.pki="pki",e.pls="pls",e.ai="ai",e.eps="eps",e.ps="ps",e.provx="provx",e.pskcxml="pskcxml",e.raml="raml",e.rdf="rdf",e.owl="owl",e.rif="rif",e.rnc="rnc",e.rl="rl",e.rld="rld",e.rs="rs",e.rapd="rapd",e.sls="sls",e.rusd="rusd",e.gbr="gbr",e.mft="mft",e.roa="roa",e.rsd="rsd",e.rss="rss",e.rtf="rtf",e.sbml="sbml",e.scq="scq",e.scs="scs",e.spq="spq",e.spp="spp",e.sdp="sdp",e.senmlx="senmlx",e.sensmlx="sensmlx",e.setpay="setpay",e.setreg="setreg",e.shf="shf",e.siv="siv",e.sieve="sieve",e.smi="smi",e.smil="smil",e.rq="rq",e.srx="srx",e.gram="gram",e.grxml="grxml",e.sru="sru",e.ssdl="ssdl",e.ssml="ssml",e.swidtag="swidtag",e.tei="tei",e.teicorpus="teicorpus",e.tfi="tfi",e.tsd="tsd",e.toml="toml",e.trig="trig",e.ttml="ttml",e.ubj="ubj",e.rsheet="rsheet",e.td="td",e.vxml="vxml",e.wasm="wasm",e.wgt="wgt",e.hlp="hlp",e.wsdl="wsdl",e.wspolicy="wspolicy",e.xaml="xaml",e.xav="xav",e.xca="xca",e.xdf="xdf",e.xel="xel",e.xns="xns",e.xenc="xenc",e.xhtml="xhtml",e.xht="xht",e.xlf="xlf",e.xml="xml",e.xsl="xsl",e.xsd="xsd",e.rng="rng",e.dtd="dtd",e.xop="xop",e.xpl="xpl",e["*xsl"]="*xsl",e.xslt="xslt",e.xspf="xspf",e.mxml="mxml",e.xhvml="xhvml",e.xvml="xvml",e.xvm="xvm",e.yang="yang",e.yin="yin",e.zip="zip",e["*3gpp"]="*3gpp",e.adp="adp",e.amr="amr",e.au="au",e.snd="snd",e.mid="mid",e.midi="midi",e.kar="kar",e.rmi="rmi",e.mxmf="mxmf",e["*mp3"]="*mp3",e.m4a="m4a",e.mp4a="mp4a",e.mpga="mpga",e.mp2="mp2",e.mp2a="mp2a",e.mp3="mp3",e.m2a="m2a",e.m3a="m3a",e.oga="oga",e.ogg="ogg",e.spx="spx",e.opus="opus",e.s3m="s3m",e.sil="sil",e.wav="wav",e["*wav"]="*wav",e.weba="weba",e.xm="xm",e.ttc="ttc",e.otf="otf",e.ttf="ttf",e.woff="woff",e.woff2="woff2",e.exr="exr",e.apng="apng",e.avif="avif",e.bmp="bmp",e.cgm="cgm",e.drle="drle",e.emf="emf",e.fits="fits",e.g3="g3",e.gif="gif",e.heic="heic",e.heics="heics",e.heif="heif",e.heifs="heifs",e.hej2="hej2",e.hsj2="hsj2",e.ief="ief",e.jls="jls",e.jp2="jp2",e.jpg2="jpg2",e.jpeg="jpeg",e.jpg="jpg",e.jpe="jpe",e.jph="jph",e.jhc="jhc",e.jpm="jpm",e.jpx="jpx",e.jpf="jpf",e.jxr="jxr",e.jxra="jxra",e.jxrs="jxrs",e.jxs="jxs",e.jxsc="jxsc",e.jxsi="jxsi",e.jxss="jxss",e.ktx="ktx",e.ktx2="ktx2",e.png="png",e.sgi="sgi",e.svg="svg",e.svgz="svgz",e.t38="t38",e.tif="tif",e.tiff="tiff",e.tfx="tfx",e.webp="webp",e.wmf="wmf",e["disposition-notification"]="disposition-notification",e.u8msg="u8msg",e.u8dsn="u8dsn",e.u8mdn="u8mdn",e.u8hdr="u8hdr",e.eml="eml",e.mime="mime",e["3mf"]="3mf",e.gltf="gltf",e.glb="glb",e.igs="igs",e.iges="iges",e.msh="msh",e.mesh="mesh",e.silo="silo",e.mtl="mtl",e.obj="obj",e.stpx="stpx",e.stpz="stpz",e.stpxz="stpxz",e.stl="stl",e.wrl="wrl",e.vrml="vrml",e["*x3db"]="*x3db",e.x3dbz="x3dbz",e.x3db="x3db",e["*x3dv"]="*x3dv",e.x3dvz="x3dvz",e.x3d="x3d",e.x3dz="x3dz",e.x3dv="x3dv",e.appcache="appcache",e.manifest="manifest",e.ics="ics",e.ifb="ifb",e.coffee="coffee",e.litcoffee="litcoffee",e.css="css",e.csv="csv",e.html="html",e.htm="htm",e.shtml="shtml",e.jade="jade",e.jsx="jsx",e.less="less",e.markdown="markdown",e.md="md",e.mml="mml",e.mdx="mdx",e.n3="n3",e.txt="txt",e.text="text",e.conf="conf",e.def="def",e.list="list",e.log="log",e.in="in",e.ini="ini",e.rtx="rtx",e["*rtf"]="*rtf",e.sgml="sgml",e.sgm="sgm",e.shex="shex",e.slim="slim",e.slm="slm",e.spdx="spdx",e.stylus="stylus",e.styl="styl",e.tsv="tsv",e.t="t",e.tr="tr",e.roff="roff",e.man="man",e.me="me",e.ms="ms",e.ttl="ttl",e.uri="uri",e.uris="uris",e.urls="urls",e.vcard="vcard",e.vtt="vtt",e["*xml"]="*xml",e.yaml="yaml",e.yml="yml",e["3gp"]="3gp",e["3gpp"]="3gpp",e["3g2"]="3g2",e.h261="h261",e.h263="h263",e.h264="h264",e.m4s="m4s",e.jpgv="jpgv",e["*jpm"]="*jpm",e.jpgm="jpgm",e.mj2="mj2",e.mjp2="mjp2",e.ts="ts",e.mp4="mp4",e.mp4v="mp4v",e.mpg4="mpg4",e.mpeg="mpeg",e.mpg="mpg",e.mpe="mpe",e.m1v="m1v",e.m2v="m2v",e.ogv="ogv",e.qt="qt",e.mov="mov",e.webm="webm",e.cww="cww",e["1km"]="1km",e.plb="plb",e.psb="psb",e.pvb="pvb",e.tcap="tcap",e.pwn="pwn",e.aso="aso",e.imp="imp",e.acu="acu",e.atc="atc",e.acutc="acutc",e.air="air",e.fcdt="fcdt",e.fxp="fxp",e.fxpl="fxpl",e.xdp="xdp",e.xfdf="xfdf",e.ahead="ahead",e.azf="azf",e.azs="azs",e.azw="azw",e.acc="acc",e.ami="ami",e.apk="apk",e.cii="cii",e.fti="fti",e.atx="atx",e.mpkg="mpkg",e.key="key",e.m3u8="m3u8",e.numbers="numbers",e.pages="pages",e.pkpass="pkpass",e.swi="swi",e.iota="iota",e.aep="aep",e.bmml="bmml",e.mpm="mpm",e.bmi="bmi",e.rep="rep",e.cdxml="cdxml",e.mmd="mmd",e.cdy="cdy",e.csl="csl",e.cla="cla",e.rp9="rp9",e.c4g="c4g",e.c4d="c4d",e.c4f="c4f",e.c4p="c4p",e.c4u="c4u",e.c11amc="c11amc",e.c11amz="c11amz",e.csp="csp",e.cdbcmsg="cdbcmsg",e.cmc="cmc",e.clkx="clkx",e.clkk="clkk",e.clkp="clkp",e.clkt="clkt",e.clkw="clkw",e.wbs="wbs",e.pml="pml",e.ppd="ppd",e.car="car",e.pcurl="pcurl",e.dart="dart",e.rdz="rdz",e.dbf="dbf",e.uvf="uvf",e.uvvf="uvvf",e.uvd="uvd",e.uvvd="uvvd",e.uvt="uvt",e.uvvt="uvvt",e.uvx="uvx",e.uvvx="uvvx",e.uvz="uvz",e.uvvz="uvvz",e.fe_launch="fe_launch",e.dna="dna",e.mlp="mlp",e.mle="mle",e.dpg="dpg",e.dfac="dfac",e.kpxx="kpxx",e.ait="ait",e.svc="svc",e.geo="geo",e.mag="mag",e.nml="nml",e.esf="esf",e.msf="msf",e.qam="qam",e.slt="slt",e.ssf="ssf",e.es3="es3",e.et3="et3",e.ez2="ez2",e.ez3="ez3",e.fdf="fdf",e.mseed="mseed",e.seed="seed",e.dataless="dataless",e.gph="gph",e.ftc="ftc",e.fm="fm",e.frame="frame",e.maker="maker",e.book="book",e.fnc="fnc",e.ltf="ltf",e.fsc="fsc",e.oas="oas",e.oa2="oa2",e.oa3="oa3",e.fg5="fg5",e.bh2="bh2",e.ddd="ddd",e.xdw="xdw",e.xbd="xbd",e.fzs="fzs",e.txd="txd",e.ggb="ggb",e.ggt="ggt",e.gex="gex",e.gre="gre",e.gxt="gxt",e.g2w="g2w",e.g3w="g3w",e.gmx="gmx",e.gdoc="gdoc",e.gslides="gslides",e.gsheet="gsheet",e.kml="kml",e.kmz="kmz",e.gqf="gqf",e.gqs="gqs",e.gac="gac",e.ghf="ghf",e.gim="gim",e.grv="grv",e.gtm="gtm",e.tpl="tpl",e.vcg="vcg",e.hal="hal",e.zmm="zmm",e.hbci="hbci",e.les="les",e.hpgl="hpgl",e.hpid="hpid",e.hps="hps",e.jlt="jlt",e.pcl="pcl",e.pclxl="pclxl",e["sfd-hdstx"]="sfd-hdstx",e.mpy="mpy",e.afp="afp",e.listafp="listafp",e.list3820="list3820",e.irm="irm",e.sc="sc",e.icc="icc",e.icm="icm",e.igl="igl",e.ivp="ivp",e.ivu="ivu",e.igm="igm",e.xpw="xpw",e.xpx="xpx",e.i2g="i2g",e.qbo="qbo",e.qfx="qfx",e.rcprofile="rcprofile",e.irp="irp",e.xpr="xpr",e.fcs="fcs",e.jam="jam",e.rms="rms",e.jisp="jisp",e.joda="joda",e.ktz="ktz",e.ktr="ktr",e.karbon="karbon",e.chrt="chrt",e.kfo="kfo",e.flw="flw",e.kon="kon",e.kpr="kpr",e.kpt="kpt",e.ksp="ksp",e.kwd="kwd",e.kwt="kwt",e.htke="htke",e.kia="kia",e.kne="kne",e.knp="knp",e.skp="skp",e.skd="skd",e.skt="skt",e.skm="skm",e.sse="sse",e.lasxml="lasxml",e.lbd="lbd",e.lbe="lbe",e.apr="apr",e.pre="pre",e.nsf="nsf",e.org="org",e.scm="scm",e.lwp="lwp",e.portpkg="portpkg",e.mvt="mvt",e.mcd="mcd",e.mc1="mc1",e.cdkey="cdkey",e.mwf="mwf",e.mfm="mfm",e.flo="flo",e.igx="igx",e.mif="mif",e.daf="daf",e.dis="dis",e.mbk="mbk",e.mqy="mqy",e.msl="msl",e.plc="plc",e.txf="txf",e.mpn="mpn",e.mpc="mpc",e.xul="xul",e.cil="cil",e.cab="cab",e.xls="xls",e.xlm="xlm",e.xla="xla",e.xlc="xlc",e.xlt="xlt",e.xlw="xlw",e.xlam="xlam",e.xlsb="xlsb",e.xlsm="xlsm",e.xltm="xltm",e.eot="eot",e.chm="chm",e.ims="ims",e.lrm="lrm",e.thmx="thmx",e.msg="msg",e.cat="cat",e["*stl"]="*stl",e.ppt="ppt",e.pps="pps",e.pot="pot",e.ppam="ppam",e.pptm="pptm",e.sldm="sldm",e.ppsm="ppsm",e.potm="potm",e.mpp="mpp",e.mpt="mpt",e.docm="docm",e.dotm="dotm",e.wps="wps",e.wks="wks",e.wcm="wcm",e.wdb="wdb",e.wpl="wpl",e.xps="xps",e.mseq="mseq",e.mus="mus",e.msty="msty",e.taglet="taglet",e.nlu="nlu",e.ntf="ntf",e.nitf="nitf",e.nnd="nnd",e.nns="nns",e.nnw="nnw",e["*ac"]="*ac",e.ngdat="ngdat",e["n-gage"]="n-gage",e.rpst="rpst",e.rpss="rpss",e.edm="edm",e.edx="edx",e.ext="ext",e.odc="odc",e.otc="otc",e.odb="odb",e.odf="odf",e.odft="odft",e.odg="odg",e.otg="otg",e.odi="odi",e.oti="oti",e.odp="odp",e.otp="otp",e.ods="ods",e.ots="ots",e.odt="odt",e.odm="odm",e.ott="ott",e.oth="oth",e.xo="xo",e.dd2="dd2",e.obgx="obgx",e.oxt="oxt",e.osm="osm",e.pptx="pptx",e.sldx="sldx",e.ppsx="ppsx",e.potx="potx",e.xlsx="xlsx",e.xltx="xltx",e.docx="docx",e.dotx="dotx",e.mgp="mgp",e.dp="dp",e.esa="esa",e.pdb="pdb",e.pqa="pqa",e.oprc="oprc",e.paw="paw",e.str="str",e.ei6="ei6",e.efif="efif",e.wg="wg",e.plf="plf",e.pbd="pbd",e.box="box",e.mgz="mgz",e.qps="qps",e.ptid="ptid",e.qxd="qxd",e.qxt="qxt",e.qwd="qwd",e.qwt="qwt",e.qxl="qxl",e.qxb="qxb",e.rar="rar",e.bed="bed",e.mxl="mxl",e.musicxml="musicxml",e.cryptonote="cryptonote",e.cod="cod",e.rm="rm",e.rmvb="rmvb",e.link66="link66",e.st="st",e.see="see",e.sema="sema",e.semd="semd",e.semf="semf",e.ifm="ifm",e.itp="itp",e.iif="iif",e.ipk="ipk",e.twd="twd",e.twds="twds",e.mmf="mmf",e.teacher="teacher",e.fo="fo",e.sdkm="sdkm",e.sdkd="sdkd",e.dxp="dxp",e.sfs="sfs",e.sdc="sdc",e.sda="sda",e.sdd="sdd",e.smf="smf",e.sdw="sdw",e.vor="vor",e.sgl="sgl",e.smzip="smzip",e.sm="sm",e.wadl="wadl",e.sxc="sxc",e.stc="stc",e.sxd="sxd",e.std="std",e.sxi="sxi",e.sti="sti",e.sxm="sxm",e.sxw="sxw",e.sxg="sxg",e.stw="stw",e.sus="sus",e.susp="susp",e.svd="svd",e.sis="sis",e.sisx="sisx",e.xsm="xsm",e.bdm="bdm",e.xdm="xdm",e.ddf="ddf",e.tao="tao",e.pcap="pcap",e.cap="cap",e.dmp="dmp",e.tmo="tmo",e.tpt="tpt",e.mxs="mxs",e.tra="tra",e.ufd="ufd",e.ufdl="ufdl",e.utz="utz",e.umj="umj",e.unityweb="unityweb",e.uoml="uoml",e.vcx="vcx",e.vsd="vsd",e.vst="vst",e.vss="vss",e.vsw="vsw",e.vis="vis",e.vsf="vsf",e.wbxml="wbxml",e.wmlc="wmlc",e.wmlsc="wmlsc",e.wtb="wtb",e.nbp="nbp",e.wpd="wpd",e.wqd="wqd",e.stf="stf",e.xar="xar",e.xfdl="xfdl",e.hvd="hvd",e.hvs="hvs",e.hvp="hvp",e.osf="osf",e.osfpvg="osfpvg",e.saf="saf",e.spf="spf",e.cmp="cmp",e.zir="zir",e.zirz="zirz",e.zaz="zaz",e["7z"]="7z",e.abw="abw",e.ace="ace",e["*dmg"]="*dmg",e.arj="arj",e.aab="aab",e.x32="x32",e.u32="u32",e.vox="vox",e.aam="aam",e.aas="aas",e.bcpio="bcpio",e["*bdoc"]="*bdoc",e.torrent="torrent",e.blb="blb",e.blorb="blorb",e.bz="bz",e.bz2="bz2",e.boz="boz",e.cbr="cbr",e.cba="cba",e.cbt="cbt",e.cbz="cbz",e.cb7="cb7",e.vcd="vcd",e.cfs="cfs",e.chat="chat",e.pgn="pgn",e.crx="crx",e.cco="cco",e.nsc="nsc",e.cpio="cpio",e.csh="csh",e["*deb"]="*deb",e.udeb="udeb",e.dgc="dgc",e.dir="dir",e.dcr="dcr",e.dxr="dxr",e.cst="cst",e.cct="cct",e.cxt="cxt",e.w3d="w3d",e.fgd="fgd",e.swa="swa",e.wad="wad",e.ncx="ncx",e.dtb="dtb",e.res="res",e.dvi="dvi",e.evy="evy",e.eva="eva",e.bdf="bdf",e.gsf="gsf",e.psf="psf",e.pcf="pcf",e.snf="snf",e.pfa="pfa",e.pfb="pfb",e.pfm="pfm",e.afm="afm",e.arc="arc",e.spl="spl",e.gca="gca",e.ulx="ulx",e.gnumeric="gnumeric",e.gramps="gramps",e.gtar="gtar",e.hdf="hdf",e.php="php",e.install="install",e["*iso"]="*iso",e["*key"]="*key",e["*numbers"]="*numbers",e["*pages"]="*pages",e.jardiff="jardiff",e.jnlp="jnlp",e.kdbx="kdbx",e.latex="latex",e.luac="luac",e.lzh="lzh",e.lha="lha",e.run="run",e.mie="mie",e.prc="prc",e.mobi="mobi",e.application="application",e.lnk="lnk",e.wmd="wmd",e.wmz="wmz",e.xbap="xbap",e.mdb="mdb",e.obd="obd",e.crd="crd",e.clp="clp",e["*exe"]="*exe",e["*dll"]="*dll",e.com="com",e.bat="bat",e["*msi"]="*msi",e.mvb="mvb",e.m13="m13",e.m14="m14",e["*wmf"]="*wmf",e["*wmz"]="*wmz",e["*emf"]="*emf",e.emz="emz",e.mny="mny",e.pub="pub",e.scd="scd",e.trm="trm",e.wri="wri",e.nc="nc",e.cdf="cdf",e.pac="pac",e.nzb="nzb",e.pl="pl",e.pm="pm",e["*prc"]="*prc",e["*pdb"]="*pdb",e.p12="p12",e.pfx="pfx",e.p7b="p7b",e.spc="spc",e.p7r="p7r",e["*rar"]="*rar",e.rpm="rpm",e.ris="ris",e.sea="sea",e.sh="sh",e.shar="shar",e.swf="swf",e.xap="xap",e.sql="sql",e.sit="sit",e.sitx="sitx",e.srt="srt",e.sv4cpio="sv4cpio",e.sv4crc="sv4crc",e.t3="t3",e.gam="gam",e.tar="tar",e.tcl="tcl",e.tk="tk",e.tex="tex",e.tfm="tfm",e.texinfo="texinfo",e.texi="texi",e["*obj"]="*obj",e.ustar="ustar",e.hdd="hdd",e.ova="ova",e.ovf="ovf",e.vbox="vbox",e["vbox-extpack"]="vbox-extpack",e.vdi="vdi",e.vhd="vhd",e.vmdk="vmdk",e.src="src",e.webapp="webapp",e.der="der",e.crt="crt",e.pem="pem",e.fig="fig",e["*xlf"]="*xlf",e.xpi="xpi",e.xz="xz",e.z1="z1",e.z2="z2",e.z3="z3",e.z4="z4",e.z5="z5",e.z6="z6",e.z7="z7",e.z8="z8",e.uva="uva",e.uvva="uvva",e.eol="eol",e.dra="dra",e.dts="dts",e.dtshd="dtshd",e.lvp="lvp",e.pya="pya",e.ecelp4800="ecelp4800",e.ecelp7470="ecelp7470",e.ecelp9600="ecelp9600",e.rip="rip",e.aac="aac",e.aif="aif",e.aiff="aiff",e.aifc="aifc",e.caf="caf",e.flac="flac",e["*m4a"]="*m4a",e.mka="mka",e.m3u="m3u",e.wax="wax",e.wma="wma",e.ram="ram",e.ra="ra",e.rmp="rmp",e["*ra"]="*ra",e.cdx="cdx",e.cif="cif",e.cmdf="cmdf",e.cml="cml",e.csml="csml",e.xyz="xyz",e.btif="btif",e.pti="pti",e.psd="psd",e.azv="azv",e.uvi="uvi",e.uvvi="uvvi",e.uvg="uvg",e.uvvg="uvvg",e.djvu="djvu",e.djv="djv",e["*sub"]="*sub",e.dwg="dwg",e.dxf="dxf",e.fbs="fbs",e.fpx="fpx",e.fst="fst",e.mmr="mmr",e.rlc="rlc",e.ico="ico",e.dds="dds",e.mdi="mdi",e.wdp="wdp",e.npx="npx",e.b16="b16",e.tap="tap",e.vtf="vtf",e.wbmp="wbmp",e.xif="xif",e.pcx="pcx",e["3ds"]="3ds",e.ras="ras",e.cmx="cmx",e.fh="fh",e.fhc="fhc",e.fh4="fh4",e.fh5="fh5",e.fh7="fh7",e["*ico"]="*ico",e.jng="jng",e.sid="sid",e["*bmp"]="*bmp",e["*pcx"]="*pcx",e.pic="pic",e.pct="pct",e.pnm="pnm",e.pbm="pbm",e.pgm="pgm",e.ppm="ppm",e.rgb="rgb",e.tga="tga",e.xbm="xbm",e.xpm="xpm",e.xwd="xwd",e.wsc="wsc",e.dae="dae",e.dwf="dwf",e.gdl="gdl",e.gtw="gtw",e.mts="mts",e.ogex="ogex",e.x_b="x_b",e.x_t="x_t",e.vds="vds",e.usdz="usdz",e.bsp="bsp",e.vtu="vtu",e.dsc="dsc",e.curl="curl",e.dcurl="dcurl",e.mcurl="mcurl",e.scurl="scurl",e.sub="sub",e.fly="fly",e.flx="flx",e.gv="gv",e["3dml"]="3dml",e.spot="spot",e.jad="jad",e.wml="wml",e.wmls="wmls",e.s="s",e.asm="asm",e.c="c",e.cc="cc",e.cxx="cxx",e.cpp="cpp",e.h="h",e.hh="hh",e.dic="dic",e.htc="htc",e.f="f",e.for="for",e.f77="f77",e.f90="f90",e.hbs="hbs",e.java="java",e.lua="lua",e.mkd="mkd",e.nfo="nfo",e.opml="opml",e["*org"]="*org",e.p="p",e.pas="pas",e.pde="pde",e.sass="sass",e.scss="scss",e.etx="etx",e.sfv="sfv",e.ymp="ymp",e.uu="uu",e.vcs="vcs",e.vcf="vcf",e.uvh="uvh",e.uvvh="uvvh",e.uvm="uvm",e.uvvm="uvvm",e.uvp="uvp",e.uvvp="uvvp",e.uvs="uvs",e.uvvs="uvvs",e.uvv="uvv",e.uvvv="uvvv",e.dvb="dvb",e.fvt="fvt",e.mxu="mxu",e.m4u="m4u",e.pyv="pyv",e.uvu="uvu",e.uvvu="uvvu",e.viv="viv",e.f4v="f4v",e.fli="fli",e.flv="flv",e.m4v="m4v",e.mkv="mkv",e.mk3d="mk3d",e.mks="mks",e.mng="mng",e.asf="asf",e.asx="asx",e.vob="vob",e.wm="wm",e.wmv="wmv",e.wmx="wmx",e.wvx="wvx",e.avi="avi",e.movie="movie",e.smv="smv",e.ice="ice",e.mht="mht"}({});let dm=function(e){return e.DASHBOARD="DASHBOARD",e.ADMIN="ADMIN",e.OPS="OPS",e.PROJECT_API="PROJECT_API",e.DATA_SYNC="DATA_SYNC",e.BACKGROUND_WORKER="BACKGROUND_WORKER",e.ASYNC_CALLS_WORKER="ASYNC_CALLS_WORKER",e.STACKONE_WEBHOOK="STACKONE_WEBHOOK",e.SYNTHETIC_WEBHOOK="SYNTHETIC_WEBHOOK",e.API_TRIGGER_WEBHOOK="API_TRIGGER_WEBHOOK",e.NATIVE_WEBHOOK="NATIVE_WEBHOOK",e.TOKEN_REFRESH="TOKEN_REFRESH",e.VALIDATE_CREDENTIALS="VALIDATE_CREDENTIALS",e.META="META",e.MONITORING="MONITORING",e.EXTERNAL_TRIGGER="EXTERNAL_TRIGGER",e.API_SESSION="API_SESSION",e.SESSION_TOKEN="SESSION_TOKEN",e.NATIVE_WEBHOOK_SETUP_WORKER="NATIVE_WEBHOOK_SETUP_WORKER",e.COOKIE_SESSION="COOKIE_SESSION",e.MCP_TOOL="MCP_TOOL",e.UNKNOWN="UNKNOWN",e.ACTION_TESTER="ACTION_TESTER",e.ACTIONS_REQUEST_TESTER="ACTIONS_REQUEST_TESTER",e.REQUEST_TESTER="REQUEST_TESTER",e.PLAYGROUND="PLAYGROUND",e.SDK="SDK",e.API="API",e.AGENT="AGENT",e}({});dm.DASHBOARD,dm.PROJECT_API,dm.DATA_SYNC,dm.STACKONE_WEBHOOK,dm.SYNTHETIC_WEBHOOK,dm.NATIVE_WEBHOOK,dm.EXTERNAL_TRIGGER,dm.MCP_TOOL,dm.SESSION_TOKEN,dm.ACTION_TESTER,dm.ACTIONS_REQUEST_TESTER,dm.REQUEST_TESTER,dm.PLAYGROUND,dm.SDK,dm.API,dm.AGENT;const pm=Object.freeze({status:"aborted"});function hm(e,t,r){function n(r,n){var a;for(let i in Object.defineProperty(r,"_zod",{value:r._zod??{},enumerable:!1}),(a=r._zod).traits??(a.traits=new Set),r._zod.traits.add(e),t(r,n),o.prototype)i in r||Object.defineProperty(r,i,{value:o.prototype[i].bind(r)});r._zod.constr=o,r._zod.def=n}let a=r?.Parent??Object;class i extends a{}function o(e){var t;let a=r?.Parent?new i:this;n(a,e),(t=a._zod).deferred??(t.deferred=[]);for(let e of a._zod.deferred)e();return a}return Object.defineProperty(i,"name",{value:e}),Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!(r?.Parent&&t instanceof r.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}const fm=Symbol("zod_brand");var mm=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};const gm={};function vm(e){return e&&Object.assign(gm,e),gm}var ym=Wp({BIGINT_FORMAT_RANGES:()=>Jm,Class:()=>hg,NUMBER_FORMAT_RANGES:()=>qm,aborted:()=>ig,allowsEval:()=>$m,assert:()=>Cm,assertEqual:()=>bm,assertIs:()=>xm,assertNever:()=>km,assertNotEqual:()=>wm,assignProp:()=>Nm,cached:()=>jm,captureStackTrace:()=>Rm,cleanEnum:()=>pg,cleanRegex:()=>Im,clone:()=>Gm,createTransparentProxy:()=>Ym,defineLazy:()=>_m,esc:()=>Bm,escapeRegex:()=>Qm,extend:()=>tg,finalizeIssue:()=>lg,floatSafeRemainder:()=>Om,getElementAtPath:()=>Pm,getEnumValues:()=>Am,getLengthableOrigin:()=>cg,getParsedType:()=>Lm,getSizableOrigin:()=>ug,isObject:()=>Mm,isPlainObject:()=>Fm,issue:()=>dg,joinValues:()=>Em,jsonStringifyReplacer:()=>Sm,merge:()=>rg,normalizeParams:()=>Km,nullish:()=>zm,numKeys:()=>Vm,omit:()=>eg,optionalKeys:()=>Hm,partial:()=>ng,pick:()=>Xm,prefixIssues:()=>og,primitiveTypes:()=>Zm,promiseAllObject:()=>Dm,propertyKeyTypes:()=>Um,randomString:()=>Tm,required:()=>ag,stringifyPrimitive:()=>Wm,unwrapMessage:()=>sg});function bm(e){return e}function wm(e){return e}function xm(e){}function km(e){throw Error()}function Cm(e){}function Am(e){let t=Object.values(e).filter((e=>"number"==typeof e));return Object.entries(e).filter((([e,r])=>-1===t.indexOf(+e))).map((([e,t])=>t))}function Em(e,t="|"){return e.map((e=>Wm(e))).join(t)}function Sm(e,t){return"bigint"==typeof t?t.toString():t}function jm(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function zm(e){return null==e}function Im(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Om(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,a=r>n?r:n;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/10**a}function _m(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function Nm(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Pm(e,t){return t?t.reduce(((e,t)=>e?.[t]),e):e}function Dm(e){let t=Object.keys(e),r=t.map((t=>e[t]));return Promise.all(r).then((e=>{let r={};for(let n=0;n<t.length;n++)r[t[n]]=e[n];return r}))}function Tm(e=10){let t="";for(let r=0;r<e;r++)t+="abcdefghijklmnopqrstuvwxyz"[Math.floor(26*Math.random())];return t}function Bm(e){return JSON.stringify(e)}Yp(zm,"nullish");const Rm=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function Mm(e){return"object"==typeof e&&!!e&&!Array.isArray(e)}Yp(Mm,"isObject");const $m=jm((()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch{return!1}}));function Fm(e){if(!1===Mm(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!(!1===Mm(r)||!1===Object.prototype.hasOwnProperty.call(r,"isPrototypeOf"))}function Vm(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}const Lm=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":null===e?"null":e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw Error(`Unknown data type: ${t}`)}},Um=new Set(["string","number","symbol"]),Zm=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Qm(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Gm(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function Km(e){let t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}function Ym(e){let t;return new Proxy({},{get:(r,n,a)=>(t??=e(),Reflect.get(t,n,a)),set:(r,n,a,i)=>(t??=e(),Reflect.set(t,n,a,i)),has:(r,n)=>(t??=e(),Reflect.has(t,n)),deleteProperty:(r,n)=>(t??=e(),Reflect.deleteProperty(t,n)),ownKeys:r=>(t??=e(),Reflect.ownKeys(t)),getOwnPropertyDescriptor:(r,n)=>(t??=e(),Reflect.getOwnPropertyDescriptor(t,n)),defineProperty:(r,n,a)=>(t??=e(),Reflect.defineProperty(t,n,a))})}function Wm(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function Hm(e){return Object.keys(e).filter((t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout))}const qm={safeint:[-9007199254740991,2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Jm={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Xm(e,t){let r={},n=e._zod.def;for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&(r[e]=n.shape[e])}return Gm(e,{...e._zod.def,shape:r,checks:[]})}function eg(e,t){let r={...e._zod.def.shape},n=e._zod.def;for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return Gm(e,{...e._zod.def,shape:r,checks:[]})}function tg(e,t){if(!Fm(t))throw Error("Invalid input to extend: expected a plain object");return Gm(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t};return Nm(this,"shape",r),r},checks:[]})}function rg(e,t){return Gm(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return Nm(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})}function ng(e,t,r){let n=t._zod.def.shape,a={...n};if(r)for(let t in r){if(!(t in n))throw Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(let t in n)a[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return Gm(t,{...t._zod.def,shape:a,checks:[]})}function ag(e,t,r){let n=t._zod.def.shape,a={...n};if(r)for(let t in r){if(!(t in a))throw Error(`Unrecognized key: "${t}"`);r[t]&&(a[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(let t in n)a[t]=new e({type:"nonoptional",innerType:n[t]});return Gm(t,{...t._zod.def,shape:a,checks:[]})}function ig(e,t=0){for(let r=t;r<e.issues.length;r++)if(!0!==e.issues[r]?.continue)return!0;return!1}function og(e,t){return t.map((t=>{var r;return(r=t).path??(r.path=[]),t.path.unshift(e),t}))}function sg(e){return"string"==typeof e?e:e?.message}function lg(e,t,r){let n={...e,path:e.path??[]};return e.message||(n.message=sg(e.inst?._zod.def?.error?.(e))??sg(t?.error?.(e))??sg(r.customError?.(e))??sg(r.localeError?.(e))??"Invalid input"),delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function ug(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function cg(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function dg(...e){let[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}function pg(e){return Object.entries(e).filter((([e,t])=>Number.isNaN(Number.parseInt(e,10)))).map((e=>e[1]))}var hg=class{constructor(...e){}};const fg=Yp(((e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get:()=>JSON.stringify(t,Sm,2),enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})}),"initializer"),mg=hm("$ZodError",fg),gg=hm("$ZodError",fg,{Parent:Error});function vg(e,t=e=>e.message){let r={},n=[];for(let a of e.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):n.push(t(a));return{formErrors:n,fieldErrors:r}}function yg(e,t){let r=t||function(e){return e.message},n={_errors:[]},a=e=>{for(let t of e.issues)if("invalid_union"===t.code&&t.errors.length)t.errors.map((e=>a({issues:e})));else if("invalid_key"===t.code)a({issues:t.issues});else if("invalid_element"===t.code)a({issues:t.issues});else if(0===t.path.length)n._errors.push(r(t));else{let e=n,a=0;for(;a<t.path.length;){let n=t.path[a];a===t.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(r(t))):e[n]=e[n]||{_errors:[]},e=e[n],a++}}};return a(e),n}function bg(e,t){let r=t||function(e){return e.message},n={errors:[]},a=(e,t=[])=>{var i,o;for(let s of e.issues)if("invalid_union"===s.code&&s.errors.length)s.errors.map((e=>a({issues:e},s.path)));else if("invalid_key"===s.code)a({issues:s.issues},s.path);else if("invalid_element"===s.code)a({issues:s.issues},s.path);else{let e=[...t,...s.path];if(0===e.length){n.errors.push(r(s));continue}let a=n,l=0;for(;l<e.length;){let t=e[l],n=l===e.length-1;"string"==typeof t?(a.properties??={},(i=a.properties)[t]??(i[t]={errors:[]}),a=a.properties[t]):(a.items??=[],(o=a.items)[t]??(o[t]={errors:[]}),a=a.items[t]),n&&a.errors.push(r(s)),l++}}};return a(e),n}function wg(e){let t=[];for(let r of e)"number"==typeof r?t.push(`[${r}]`):"symbol"==typeof r?t.push(`[${JSON.stringify(String(r))}]`):/[^\w$]/.test(r)?t.push(`[${JSON.stringify(r)}]`):(t.length&&t.push("."),t.push(r));return t.join("")}function xg(e){let t=[],r=[...e.issues].sort(((e,t)=>e.path.length-t.path.length));for(let e of r)t.push(`✖ ${e.message}`),e.path?.length&&t.push(` → at ${wg(e.path)}`);return t.join("\n")}const kg=e=>(t,r,n,a)=>{let i=n?Object.assign(n,{async:!1}):{async:!1},o=t._zod.run({value:r,issues:[]},i);if(o instanceof Promise)throw new mm;if(o.issues.length){let t=new(a?.Err??e)(o.issues.map((e=>lg(e,i,vm()))));throw Rm(t,a?.callee),t}return o.value},Cg=kg(gg),Ag=e=>async(t,r,n,a)=>{let i=n?Object.assign(n,{async:!0}):{async:!0},o=t._zod.run({value:r,issues:[]},i);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(a?.Err??e)(o.issues.map((e=>lg(e,i,vm()))));throw Rm(t,a?.callee),t}return o.value},Eg=Ag(gg),Sg=e=>(t,r,n)=>{let a=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise)throw new mm;return i.issues.length?{success:!1,error:new(e??mg)(i.issues.map((e=>lg(e,a,vm()))))}:{success:!0,data:i.value}},jg=Sg(gg),zg=e=>async(t,r,n)=>{let a=n?Object.assign(n,{async:!0}):{async:!0},i=t._zod.run({value:r,issues:[]},a);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map((e=>lg(e,a,vm()))))}:{success:!0,data:i.value}},Ig=zg(gg);var Og=Wp({_emoji:()=>Wg,base64:()=>tv,base64url:()=>rv,bigint:()=>pv,boolean:()=>mv,browserEmail:()=>Yg,cidrv4:()=>Xg,cidrv6:()=>ev,cuid:()=>_g,cuid2:()=>Ng,date:()=>sv,datetime:()=>cv,domain:()=>av,duration:()=>Rg,e164:()=>iv,email:()=>Zg,emoji:()=>Hg,extendedDuration:()=>Mg,guid:()=>$g,hostname:()=>nv,html5Email:()=>Qg,integer:()=>hv,ipv4:()=>qg,ipv6:()=>Jg,ksuid:()=>Tg,lowercase:()=>yv,nanoid:()=>Bg,null:()=>gv,number:()=>fv,rfc5322Email:()=>Gg,string:()=>dv,time:()=>uv,ulid:()=>Pg,undefined:()=>vv,unicodeEmail:()=>Kg,uppercase:()=>bv,uuid:()=>Fg,uuid4:()=>Vg,uuid6:()=>Lg,uuid7:()=>Ug,xid:()=>Dg});const _g=/^[cC][^\s-]{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$/,nv=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,av=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,iv=/^\+(?:[0-9]){6,14}[0-9]$/,ov="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",sv=RegExp(`^${ov}$`);function lv(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function uv(e){return RegExp(`^${lv(e)}$`)}function cv(e){let t=lv({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-]\\d{2}:\\d{2})");let n=`${t}(?:${r.join("|")})`;return RegExp(`^${ov}T(?:${n})$`)}Yp(uv,"time"),Yp(cv,"datetime");const dv=Yp((e=>RegExp(`^${e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*"}$`)),"string"),pv=/^\d+n?$/,hv=/^\d+$/,fv=/^-?\d+(?:\.\d+)?/i,mv=/true|false/i,gv=/null/i,vv=/undefined/i,yv=/^[^A-Z]*$/,bv=/^[^a-z]*$/,wv=hm("$ZodCheck",((e,t)=>{var r;e._zod??={},e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])})),xv={number:"number",bigint:"bigint",object:"date"},kv=hm("$ZodCheckLessThan",((e,t)=>{wv.init(e,t);let r=xv[typeof t.value];e._zod.onattach.push((e=>{let r=e._zod.bag,n=(t.inclusive?r.maximum:r.exclusiveMaximum)??1/0;t.value<n&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)})),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}})),Cv=hm("$ZodCheckGreaterThan",((e,t)=>{wv.init(e,t);let r=xv[typeof t.value];e._zod.onattach.push((e=>{let r=e._zod.bag,n=(t.inclusive?r.minimum:r.exclusiveMinimum)??-1/0;t.value>n&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)})),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}})),Av=hm("$ZodCheckMultipleOf",((e,t)=>{wv.init(e,t),e._zod.onattach.push((e=>{var r;(r=e._zod.bag).multipleOf??(r.multipleOf=t.value)})),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof r.value?r.value%t.value===BigInt(0):0===Om(r.value,t.value))||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}})),Ev=hm("$ZodCheckNumberFormat",((e,t)=>{wv.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[a,i]=qm[t.format];e._zod.onattach.push((e=>{let n=e._zod.bag;n.format=t.format,n.minimum=a,n.maximum=i,r&&(n.pattern=hv)})),e._zod.check=o=>{let s=o.value;if(r){if(!Number.isInteger(s))return void o.issues.push({expected:n,format:t.format,code:"invalid_type",input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>0?o.issues.push({input:s,code:"too_big",maximum:2**53-1,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:-9007199254740991,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}))}s<a&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),s>i&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inst:e})}})),Sv=hm("$ZodCheckBigIntFormat",((e,t)=>{wv.init(e,t);let[r,n]=Jm[t.format];e._zod.onattach.push((e=>{let a=e._zod.bag;a.format=t.format,a.minimum=r,a.maximum=n})),e._zod.check=a=>{let i=a.value;i<r&&a.issues.push({origin:"bigint",input:i,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),i>n&&a.issues.push({origin:"bigint",input:i,code:"too_big",maximum:n,inst:e})}})),jv=hm("$ZodCheckMaxSize",((e,t)=>{var r;wv.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!zm(t)&&void 0!==t.size}),e._zod.onattach.push((e=>{let r=e._zod.bag.maximum??1/0;t.maximum<r&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=r=>{let n=r.value;n.size<=t.maximum||r.issues.push({origin:ug(n),code:"too_big",maximum:t.maximum,input:n,inst:e,continue:!t.abort})}})),zv=hm("$ZodCheckMinSize",((e,t)=>{var r;wv.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!zm(t)&&void 0!==t.size}),e._zod.onattach.push((e=>{let r=e._zod.bag.minimum??-1/0;t.minimum>r&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=r=>{let n=r.value;n.size>=t.minimum||r.issues.push({origin:ug(n),code:"too_small",minimum:t.minimum,input:n,inst:e,continue:!t.abort})}})),Iv=hm("$ZodCheckSizeEquals",((e,t)=>{var r;wv.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!zm(t)&&void 0!==t.size}),e._zod.onattach.push((e=>{let r=e._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size})),e._zod.check=r=>{let n=r.value,a=n.size;if(a===t.size)return;let i=a>t.size;r.issues.push({origin:ug(n),...i?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}})),Ov=hm("$ZodCheckMaxLength",((e,t)=>{var r;wv.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!zm(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{let r=e._zod.bag.maximum??1/0;t.maximum<r&&(e._zod.bag.maximum=t.maximum)})),e._zod.check=r=>{let n=r.value;if(n.length<=t.maximum)return;let a=cg(n);r.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}})),_v=hm("$ZodCheckMinLength",((e,t)=>{var r;wv.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!zm(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{let r=e._zod.bag.minimum??-1/0;t.minimum>r&&(e._zod.bag.minimum=t.minimum)})),e._zod.check=r=>{let n=r.value;if(n.length>=t.minimum)return;let a=cg(n);r.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}})),Nv=hm("$ZodCheckLengthEquals",((e,t)=>{var r;wv.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!zm(t)&&void 0!==t.length}),e._zod.onattach.push((e=>{let r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length})),e._zod.check=r=>{let n=r.value,a=n.length;if(a===t.length)return;let i=cg(n),o=a>t.length;r.issues.push({origin:i,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}})),Pv=hm("$ZodCheckStringFormat",((e,t)=>{var r,n;wv.init(e,t),e._zod.onattach.push((e=>{let r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??=new Set,r.patterns.add(t.pattern))})),t.pattern?(r=e._zod).check??(r.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})})),Dv=hm("$ZodCheckRegex",((e,t)=>{Pv.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}})),Tv=hm("$ZodCheckLowerCase",((e,t)=>{t.pattern??=yv,Pv.init(e,t)})),Bv=hm("$ZodCheckUpperCase",((e,t)=>{t.pattern??=bv,Pv.init(e,t)})),Rv=hm("$ZodCheckIncludes",((e,t)=>{wv.init(e,t);let r=Qm(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push((e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)})),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}})),Mv=hm("$ZodCheckStartsWith",((e,t)=>{wv.init(e,t);let r=RegExp(`^${Qm(t.prefix)}.*`);t.pattern??=r,e._zod.onattach.push((e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)})),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}})),$v=hm("$ZodCheckEndsWith",((e,t)=>{wv.init(e,t);let r=RegExp(`.*${Qm(t.suffix)}$`);t.pattern??=r,e._zod.onattach.push((e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)})),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}));function Fv(e,t,r){e.issues.length&&t.issues.push(...og(r,e.issues))}const Vv=hm("$ZodCheckProperty",((e,t)=>{wv.init(e,t),e._zod.check=e=>{let r=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(r instanceof Promise)return r.then((r=>Fv(r,e,t.property)));Fv(r,e,t.property)}})),Lv=hm("$ZodCheckMimeType",((e,t)=>{wv.init(e,t);let r=new Set(t.mime);e._zod.onattach.push((e=>{e._zod.bag.mime=t.mime})),e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e})}})),Uv=hm("$ZodCheckOverwrite",((e,t)=>{wv.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}));var Zv=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});let t=e.split("\n").filter((e=>e)),r=Math.min(...t.map((e=>e.length-e.trimStart().length))),n=t.map((e=>e.slice(r))).map((e=>" ".repeat(2*this.indent)+e));for(let e of n)this.content.push(e)}compile(){let e=Function,t=this?.args,r=[...(this?.content??[""]).map((e=>` ${e}`))];return new e(...t,r.join("\n"))}};const Qv={major:4,minor:0,patch:0},Gv=hm("$ZodType",((e,t)=>{var r;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Qv;let n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(let t of n)for(let r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push((()=>{e._zod.run=e._zod.parse}));else{let t=(e,t,r)=>{let n,a=ig(e);for(let i of t){if(i._zod.def.when){if(!i._zod.def.when(e))continue}else if(a)continue;let t=e.issues.length,o=i._zod.check(e);if(o instanceof Promise&&!1===r?.async)throw new mm;if(n||o instanceof Promise)n=(n??Promise.resolve()).then((async()=>{await o,e.issues.length!==t&&(a||=ig(e,t))}));else{if(e.issues.length===t)continue;a||=ig(e,t)}}return n?n.then((()=>e)):e};e._zod.run=(r,a)=>{let i=e._zod.parse(r,a);if(i instanceof Promise){if(!1===a.async)throw new mm;return i.then((e=>t(e,n,a)))}return t(i,n,a)}}e["~standard"]={validate:t=>{try{let r=jg(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch{return Ig(e,t).then((e=>e.success?{value:e.data}:{issues:e.error?.issues}))}},vendor:"zod",version:1}})),Kv=hm("$ZodString",((e,t)=>{Gv.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??dv(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}})),Yv=hm("$ZodStringFormat",((e,t)=>{Pv.init(e,t),Kv.init(e,t)})),Wv=hm("$ZodGUID",((e,t)=>{t.pattern??=$g,Yv.init(e,t)})),Hv=hm("$ZodUUID",((e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Fg(e)}else t.pattern??=Fg();Yv.init(e,t)})),qv=hm("$ZodEmail",((e,t)=>{t.pattern??=Zg,Yv.init(e,t)})),Jv=hm("$ZodURL",((e,t)=>{Yv.init(e,t),e._zod.check=r=>{try{let n=r.value,a=new URL(n),i=a.href;return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:nv.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),void(!n.endsWith("/")&&i.endsWith("/")?r.value=i.slice(0,-1):r.value=i)}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}})),Xv=hm("$ZodEmoji",((e,t)=>{t.pattern??=Hg(),Yv.init(e,t)})),ey=hm("$ZodNanoID",((e,t)=>{t.pattern??=Bg,Yv.init(e,t)})),ty=hm("$ZodCUID",((e,t)=>{t.pattern??=_g,Yv.init(e,t)})),ry=hm("$ZodCUID2",((e,t)=>{t.pattern??=Ng,Yv.init(e,t)})),ny=hm("$ZodULID",((e,t)=>{t.pattern??=Pg,Yv.init(e,t)})),ay=hm("$ZodXID",((e,t)=>{t.pattern??=Dg,Yv.init(e,t)})),iy=hm("$ZodKSUID",((e,t)=>{t.pattern??=Tg,Yv.init(e,t)})),oy=hm("$ZodISODateTime",((e,t)=>{t.pattern??=cv(t),Yv.init(e,t)})),sy=hm("$ZodISODate",((e,t)=>{t.pattern??=sv,Yv.init(e,t)})),ly=hm("$ZodISOTime",((e,t)=>{t.pattern??=uv(t),Yv.init(e,t)})),uy=hm("$ZodISODuration",((e,t)=>{t.pattern??=Rg,Yv.init(e,t)})),cy=hm("$ZodIPv4",((e,t)=>{t.pattern??=qg,Yv.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.format="ipv4"}))})),dy=hm("$ZodIPv6",((e,t)=>{t.pattern??=Jg,Yv.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.format="ipv6"})),e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}})),py=hm("$ZodCIDRv4",((e,t)=>{t.pattern??=Xg,Yv.init(e,t)})),hy=hm("$ZodCIDRv6",((e,t)=>{t.pattern??=ev,Yv.init(e,t),e._zod.check=r=>{let[n,a]=r.value.split("/");try{if(!a)throw Error();let e=Number(a);if(`${e}`!==a||e<0||e>128)throw Error();new URL(`http://[${n}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}}));function fy(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const my=hm("$ZodBase64",((e,t)=>{t.pattern??=tv,Yv.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.contentEncoding="base64"})),e._zod.check=r=>{fy(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}));function gy(e){if(!rv.test(e))return!1;let t=e.replace(/[-_]/g,(e=>"-"===e?"+":"/"));return fy(t.padEnd(4*Math.ceil(t.length/4),"="))}const vy=hm("$ZodBase64URL",((e,t)=>{t.pattern??=rv,Yv.init(e,t),e._zod.onattach.push((e=>{e._zod.bag.contentEncoding="base64url"})),e._zod.check=r=>{gy(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}})),yy=hm("$ZodE164",((e,t)=>{t.pattern??=iv,Yv.init(e,t)}));function by(e,t=null){try{let r=e.split(".");if(3!==r.length)return!1;let[n]=r;if(!n)return!1;let a=JSON.parse(atob(n));return!("typ"in a&&"JWT"!==a?.typ||!a.alg||t&&(!("alg"in a)||a.alg!==t))}catch{return!1}}const wy=hm("$ZodJWT",((e,t)=>{Yv.init(e,t),e._zod.check=r=>{by(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}})),xy=hm("$ZodCustomStringFormat",((e,t)=>{Yv.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}})),ky=hm("$ZodNumber",((e,t)=>{Gv.init(e,t),e._zod.pattern=e._zod.bag.pattern??fv,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let a=r.value;if("number"==typeof a&&!Number.isNaN(a)&&Number.isFinite(a))return r;let i="number"==typeof a?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...i?{received:i}:{}}),r}})),Cy=hm("$ZodNumber",((e,t)=>{Ev.init(e,t),ky.init(e,t)})),Ay=hm("$ZodBoolean",((e,t)=>{Gv.init(e,t),e._zod.pattern=mv,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let a=r.value;return"boolean"==typeof a||r.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),r}})),Ey=hm("$ZodBigInt",((e,t)=>{Gv.init(e,t),e._zod.pattern=pv,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return"bigint"==typeof r.value||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}})),Sy=hm("$ZodBigInt",((e,t)=>{Sv.init(e,t),Ey.init(e,t)})),jy=hm("$ZodSymbol",((e,t)=>{Gv.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return"symbol"==typeof n||t.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),t}})),zy=hm("$ZodUndefined",((e,t)=>{Gv.init(e,t),e._zod.pattern=vv,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),t}})),Iy=hm("$ZodNull",((e,t)=>{Gv.init(e,t),e._zod.pattern=gv,e._zod.values=new Set([null]),e._zod.parse=(t,r)=>{let n=t.value;return null===n||t.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),t}})),Oy=hm("$ZodAny",((e,t)=>{Gv.init(e,t),e._zod.parse=e=>e})),_y=hm("$ZodUnknown",((e,t)=>{Gv.init(e,t),e._zod.parse=e=>e})),Ny=hm("$ZodNever",((e,t)=>{Gv.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)})),Py=hm("$ZodVoid",((e,t)=>{Gv.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),t}})),Dy=hm("$ZodDate",((e,t)=>{Gv.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let a=r.value,i=a instanceof Date;return i&&!Number.isNaN(a.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:a,...i?{received:"Invalid Date"}:{},inst:e}),r}}));function Ty(e,t,r){e.issues.length&&t.issues.push(...og(r,e.issues)),t.value[r]=e.value}const By=hm("$ZodArray",((e,t)=>{Gv.init(e,t),e._zod.parse=(r,n)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),r;r.value=Array(a.length);let i=[];for(let e=0;e<a.length;e++){let o=a[e],s=t.element._zod.run({value:o,issues:[]},n);s instanceof Promise?i.push(s.then((t=>Ty(t,r,e)))):Ty(s,r,e)}return i.length?Promise.all(i).then((()=>r)):r}}));function Ry(e,t,r){e.issues.length&&t.issues.push(...og(r,e.issues)),t.value[r]=e.value}function My(e,t,r,n){e.issues.length?void 0===n[r]?t.value[r]=r in n?void 0:e.value:t.issues.push(...og(r,e.issues)):void 0===e.value?r in n&&(t.value[r]=void 0):t.value[r]=e.value}const $y=hm("$ZodObject",((e,t)=>{Gv.init(e,t);let r=jm((()=>{let e=Object.keys(t.shape);for(let r of e)if(!(t.shape[r]instanceof Gv))throw Error(`Invalid element at key "${r}": expected a Zod schema`);let r=Hm(t.shape);return{shape:t.shape,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(r)}}));_m(e._zod,"propValues",(()=>{let e=t.shape,r={};for(let t in e){let n=e[t]._zod;if(n.values){r[t]??(r[t]=new Set);for(let e of n.values)r[t].add(e)}}return r}));let n,a,i=Mm,o=!gm.jitless,s=o&&$m.value,l=t.catchall;e._zod.parse=(u,c)=>{a??=r.value;let d=u.value;if(!i(d))return u.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),u;let p=[];if(o&&s&&!1===c?.async&&!0!==c.jitless)n||=(e=>{let t=new Zv(["shape","payload","ctx"]),n=r.value,a=e=>{let t=Bm(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let i=Object.create(null),o=0;for(let e of n.keys)i[e]="key_"+o++;t.write("const newResult = {}");for(let e of n.keys)if(n.optionalKeys.has(e)){let r=i[e];t.write(`const ${r} = ${a(e)};`);let n=Bm(e);t.write(`\n if (${r}.issues.length) {\n if (input[${n}] === undefined) {\n if (${n} in input) {\n newResult[${n}] = undefined;\n }\n } else {\n payload.issues = payload.issues.concat(\n ${r}.issues.map((iss) => ({\n ...iss,\n path: iss.path ? [${n}, ...iss.path] : [${n}],\n }))\n );\n }\n } else if (${r}.value === undefined) {\n if (${n} in input) newResult[${n}] = undefined;\n } else {\n newResult[${n}] = ${r}.value;\n }\n `)}else{let r=i[e];t.write(`const ${r} = ${a(e)};`),t.write(`\n if (${r}.issues.length) payload.issues = payload.issues.concat(${r}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${Bm(e)}, ...iss.path] : [${Bm(e)}]\n })));`),t.write(`newResult[${Bm(e)}] = ${r}.value`)}t.write("payload.value = newResult;"),t.write("return payload;");let s=t.compile();return(t,r)=>s(e,t,r)})(t.shape),u=n(u,c);else{u.value={};let e=a.shape;for(let t of a.keys){let r=e[t],n=r._zod.run({value:d[t],issues:[]},c),a="optional"===r._zod.optin&&"optional"===r._zod.optout;n instanceof Promise?p.push(n.then((e=>a?My(e,u,t,d):Ry(e,u,t)))):a?My(n,u,t,d):Ry(n,u,t)}}if(!l)return p.length?Promise.all(p).then((()=>u)):u;let h=[],f=a.keySet,m=l._zod,g=m.def.type;for(let e of Object.keys(d)){if(f.has(e))continue;if("never"===g){h.push(e);continue}let t=m.run({value:d[e],issues:[]},c);t instanceof Promise?p.push(t.then((t=>Ry(t,u,e)))):Ry(t,u,e)}return h.length&&u.issues.push({code:"unrecognized_keys",keys:h,input:d,inst:e}),p.length?Promise.all(p).then((()=>u)):u}}));function Fy(e,t,r,n){for(let r of e)if(0===r.issues.length)return t.value=r.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map((e=>e.issues.map((e=>lg(e,n,vm())))))}),t}const Vy=hm("$ZodUnion",((e,t)=>{Gv.init(e,t),_m(e._zod,"optin",(()=>t.options.some((e=>"optional"===e._zod.optin))?"optional":void 0)),_m(e._zod,"optout",(()=>t.options.some((e=>"optional"===e._zod.optout))?"optional":void 0)),_m(e._zod,"values",(()=>{if(t.options.every((e=>e._zod.values)))return new Set(t.options.flatMap((e=>Array.from(e._zod.values))))})),_m(e._zod,"pattern",(()=>{if(t.options.every((e=>e._zod.pattern))){let e=t.options.map((e=>e._zod.pattern));return RegExp(`^(${e.map((e=>Im(e.source))).join("|")})$`)}})),e._zod.parse=(r,n)=>{let a=!1,i=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},n);if(t instanceof Promise)i.push(t),a=!0;else{if(0===t.issues.length)return t;i.push(t)}}return a?Promise.all(i).then((t=>Fy(t,r,e,n))):Fy(i,r,e,n)}})),Ly=hm("$ZodDiscriminatedUnion",((e,t)=>{Vy.init(e,t);let r=e._zod.parse;_m(e._zod,"propValues",(()=>{let e={};for(let r of t.options){let n=r._zod.propValues;if(!n||0===Object.keys(n).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let[t,r]of Object.entries(n)){e[t]||(e[t]=new Set);for(let n of r)e[t].add(n)}}return e}));let n=jm((()=>{let e=t.options,r=new Map;for(let n of e){let e=n._zod.propValues[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let t of e){if(r.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);r.set(t,n)}}return r}));e._zod.parse=(a,i)=>{let o=a.value;if(!Mm(o))return a.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),a;let s=n.value.get(o?.[t.discriminator]);return s?s._zod.run(a,i):t.unionFallback?r(a,i):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:o,path:[t.discriminator],inst:e}),a)}})),Uy=hm("$ZodIntersection",((e,t)=>{Gv.init(e,t),e._zod.parse=(e,r)=>{let n=e.value,a=t.left._zod.run({value:n,issues:[]},r),i=t.right._zod.run({value:n,issues:[]},r);return a instanceof Promise||i instanceof Promise?Promise.all([a,i]).then((([t,r])=>Qy(e,t,r))):Qy(e,a,i)}}));function Zy(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Fm(e)&&Fm(t)){let r=Object.keys(t),n=Object.keys(e).filter((e=>-1!==r.indexOf(e))),a={...e,...t};for(let r of n){let n=Zy(e[r],t[r]);if(!n.valid)return{valid:!1,mergeErrorPath:[r,...n.mergeErrorPath]};a[r]=n.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let a=Zy(e[n],t[n]);if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Qy(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),ig(e))return e;let n=Zy(t.value,r.value);if(!n.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}const Gy=hm("$ZodTuple",((e,t)=>{Gv.init(e,t);let r=t.items,n=r.length-[...r].reverse().findIndex((e=>"optional"!==e._zod.optin));e._zod.parse=(a,i)=>{let o=a.value;if(!Array.isArray(o))return a.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),a;a.value=[];let s=[];if(!t.rest){let t=o.length>r.length,i=o.length<n-1;if(t||i)return a.issues.push({input:o,inst:e,origin:"array",...t?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length}}),a}let l=-1;for(let e of r){if(l++,l>=o.length&&l>=n)continue;let t=e._zod.run({value:o[l],issues:[]},i);t instanceof Promise?s.push(t.then((e=>Ky(e,a,l)))):Ky(t,a,l)}if(t.rest){let e=o.slice(r.length);for(let r of e){l++;let e=t.rest._zod.run({value:r,issues:[]},i);e instanceof Promise?s.push(e.then((e=>Ky(e,a,l)))):Ky(e,a,l)}}return s.length?Promise.all(s).then((()=>a)):a}}));function Ky(e,t,r){e.issues.length&&t.issues.push(...og(r,e.issues)),t.value[r]=e.value}const Yy=hm("$ZodRecord",((e,t)=>{Gv.init(e,t),e._zod.parse=(r,n)=>{let a=r.value;if(!Fm(a))return r.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),r;let i=[];if(t.keyType._zod.values){let o,s=t.keyType._zod.values;r.value={};for(let e of s)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){let o=t.valueType._zod.run({value:a[e],issues:[]},n);o instanceof Promise?i.push(o.then((t=>{t.issues.length&&r.issues.push(...og(e,t.issues)),r.value[e]=t.value}))):(o.issues.length&&r.issues.push(...og(e,o.issues)),r.value[e]=o.value)}for(let e in a)s.has(e)||(o??=[],o.push(e));o&&o.length>0&&r.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:o})}else{r.value={};for(let o of Reflect.ownKeys(a)){if("__proto__"===o)continue;let s=t.keyType._zod.run({value:o,issues:[]},n);if(s instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(s.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:s.issues.map((e=>lg(e,n,vm()))),input:o,path:[o],inst:e}),r.value[s.value]=s.value;continue}let l=t.valueType._zod.run({value:a[o],issues:[]},n);l instanceof Promise?i.push(l.then((e=>{e.issues.length&&r.issues.push(...og(o,e.issues)),r.value[s.value]=e.value}))):(l.issues.length&&r.issues.push(...og(o,l.issues)),r.value[s.value]=l.value)}}return i.length?Promise.all(i).then((()=>r)):r}})),Wy=hm("$ZodMap",((e,t)=>{Gv.init(e,t),e._zod.parse=(r,n)=>{let a=r.value;if(!(a instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:a,inst:e}),r;let i=[];r.value=new Map;for(let[o,s]of a){let l=t.keyType._zod.run({value:o,issues:[]},n),u=t.valueType._zod.run({value:s,issues:[]},n);l instanceof Promise||u instanceof Promise?i.push(Promise.all([l,u]).then((([t,i])=>{Hy(t,i,r,o,a,e,n)}))):Hy(l,u,r,o,a,e,n)}return i.length?Promise.all(i).then((()=>r)):r}}));function Hy(e,t,r,n,a,i,o){e.issues.length&&(Um.has(typeof n)?r.issues.push(...og(n,e.issues)):r.issues.push({origin:"map",code:"invalid_key",input:a,inst:i,issues:e.issues.map((e=>lg(e,o,vm())))})),t.issues.length&&(Um.has(typeof n)?r.issues.push(...og(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:a,inst:i,key:n,issues:t.issues.map((e=>lg(e,o,vm())))})),r.value.set(e.value,t.value)}const qy=hm("$ZodSet",((e,t)=>{Gv.init(e,t),e._zod.parse=(r,n)=>{let a=r.value;if(!(a instanceof Set))return r.issues.push({input:a,inst:e,expected:"set",code:"invalid_type"}),r;let i=[];r.value=new Set;for(let e of a){let a=t.valueType._zod.run({value:e,issues:[]},n);a instanceof Promise?i.push(a.then((e=>Jy(e,r)))):Jy(a,r)}return i.length?Promise.all(i).then((()=>r)):r}}));function Jy(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}const Xy=hm("$ZodEnum",((e,t)=>{Gv.init(e,t);let r=Am(t.entries);e._zod.values=new Set(r),e._zod.pattern=RegExp(`^(${r.filter((e=>Um.has(typeof e))).map((e=>"string"==typeof e?Qm(e):e.toString())).join("|")})$`),e._zod.parse=(t,n)=>{let a=t.value;return e._zod.values.has(a)||t.issues.push({code:"invalid_value",values:r,input:a,inst:e}),t}})),eb=hm("$ZodLiteral",((e,t)=>{Gv.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=RegExp(`^(${t.values.map((e=>"string"==typeof e?Qm(e):e?e.toString():String(e))).join("|")})$`),e._zod.parse=(r,n)=>{let a=r.value;return e._zod.values.has(a)||r.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),r}})),tb=hm("$ZodFile",((e,t)=>{Gv.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return n instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),t}})),rb=hm("$ZodTransform",((e,t)=>{Gv.init(e,t),e._zod.parse=(e,r)=>{let n=t.transform(e.value,e);if(r.async)return(n instanceof Promise?n:Promise.resolve(n)).then((t=>(e.value=t,e)));if(n instanceof Promise)throw new mm;return e.value=n,e}})),nb=hm("$ZodOptional",((e,t)=>{Gv.init(e,t),e._zod.optin="optional",e._zod.optout="optional",_m(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0)),_m(e._zod,"pattern",(()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${Im(e.source)})?$`):void 0})),e._zod.parse=(e,r)=>"optional"===t.innerType._zod.optin?t.innerType._zod.run(e,r):void 0===e.value?e:t.innerType._zod.run(e,r)})),ab=hm("$ZodNullable",((e,t)=>{Gv.init(e,t),_m(e._zod,"optin",(()=>t.innerType._zod.optin)),_m(e._zod,"optout",(()=>t.innerType._zod.optout)),_m(e._zod,"pattern",(()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${Im(e.source)}|null)$`):void 0})),_m(e._zod,"values",(()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0)),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)})),ib=hm("$ZodDefault",((e,t)=>{Gv.init(e,t),e._zod.optin="optional",_m(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>{if(void 0===e.value)return e.value=t.defaultValue,e;let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((e=>ob(e,t))):ob(n,t)}}));function ob(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}const sb=hm("$ZodPrefault",((e,t)=>{Gv.init(e,t),e._zod.optin="optional",_m(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>(void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))})),lb=hm("$ZodNonOptional",((e,t)=>{Gv.init(e,t),_m(e._zod,"values",(()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter((e=>void 0!==e))):void 0})),e._zod.parse=(r,n)=>{let a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then((t=>ub(t,e))):ub(a,e)}}));function ub(e,t){return!e.issues.length&&void 0===e.value&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const cb=hm("$ZodSuccess",((e,t)=>{Gv.init(e,t),e._zod.parse=(e,r)=>{let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((t=>(e.value=0===t.issues.length,e))):(e.value=0===n.issues.length,e)}})),db=hm("$ZodCatch",((e,t)=>{Gv.init(e,t),e._zod.optin="optional",_m(e._zod,"optout",(()=>t.innerType._zod.optout)),_m(e._zod,"values",(()=>t.innerType._zod.values)),e._zod.parse=(e,r)=>{let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then((n=>(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map((e=>lg(e,r,vm())))},input:e.value}),e.issues=[]),e))):(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map((e=>lg(e,r,vm())))},input:e.value}),e.issues=[]),e)}})),pb=hm("$ZodNaN",((e,t)=>{Gv.init(e,t),e._zod.parse=(t,r)=>(("number"!=typeof t.value||!Number.isNaN(t.value))&&t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)})),hb=hm("$ZodPipe",((e,t)=>{Gv.init(e,t),_m(e._zod,"values",(()=>t.in._zod.values)),_m(e._zod,"optin",(()=>t.in._zod.optin)),_m(e._zod,"optout",(()=>t.out._zod.optout)),e._zod.parse=(e,r)=>{let n=t.in._zod.run(e,r);return n instanceof Promise?n.then((e=>fb(e,t,r))):fb(n,t,r)}}));function fb(e,t,r){return ig(e)?e:t.out._zod.run({value:e.value,issues:e.issues},r)}const mb=hm("$ZodReadonly",((e,t)=>{Gv.init(e,t),_m(e._zod,"propValues",(()=>t.innerType._zod.propValues)),_m(e._zod,"values",(()=>t.innerType._zod.values)),_m(e._zod,"optin",(()=>t.innerType._zod.optin)),_m(e._zod,"optout",(()=>t.innerType._zod.optout)),e._zod.parse=(e,r)=>{let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(gb):gb(n)}}));function gb(e){return e.value=Object.freeze(e.value),e}const vb=hm("$ZodTemplateLiteral",((e,t)=>{Gv.init(e,t);let r=[];for(let e of t.parts)if(e instanceof Gv){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let n=t.startsWith("^")?1:0,a=t.endsWith("$")?t.length-1:t.length;r.push(t.slice(n,a))}else{if(null!==e&&!Zm.has(typeof e))throw Error(`Invalid template literal part: ${e}`);r.push(Qm(`${e}`))}e._zod.pattern=RegExp(`^${r.join("")}$`),e._zod.parse=(t,r)=>"string"==typeof t.value?(e._zod.pattern.lastIndex=0,e._zod.pattern.test(t.value)||t.issues.push({input:t.value,inst:e,code:"invalid_format",format:"template_literal",pattern:e._zod.pattern.source}),t):(t.issues.push({input:t.value,inst:e,expected:"template_literal",code:"invalid_type"}),t)})),yb=hm("$ZodPromise",((e,t)=>{Gv.init(e,t),e._zod.parse=(e,r)=>Promise.resolve(e.value).then((e=>t.innerType._zod.run({value:e,issues:[]},r)))})),bb=hm("$ZodLazy",((e,t)=>{Gv.init(e,t),_m(e._zod,"innerType",(()=>t.getter())),_m(e._zod,"pattern",(()=>e._zod.innerType._zod.pattern)),_m(e._zod,"propValues",(()=>e._zod.innerType._zod.propValues)),_m(e._zod,"optin",(()=>e._zod.innerType._zod.optin)),_m(e._zod,"optout",(()=>e._zod.innerType._zod.optout)),e._zod.parse=(t,r)=>e._zod.innerType._zod.run(t,r)})),wb=hm("$ZodCustom",((e,t)=>{wv.init(e,t),Gv.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{let n=r.value,a=t.fn(n);if(a instanceof Promise)return a.then((t=>xb(t,r,n,e)));xb(a,r,n,e)}}));function xb(e,t,r,n){if(!e){let e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(dg(e))}}const kb=Yp((()=>{let e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"};return e=>{switch(e.code){case"invalid_type":return`مدخلات غير مقبولة: يفترض إدخال ${e.expected}، ولكن تم إدخال ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`مدخلات غير مقبولة: يفترض إدخال ${Wm(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?` أكبر من اللازم: يفترض أن تكون ${e.origin??"القيمة"} ${r} ${e.maximum.toString()} ${n.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${e.origin??"القيمة"} ${r} ${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${r} ${e.minimum.toString()} ${n.unit}`:`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${r} ${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`نَص غير مقبول: يجب أن يبدأ بـ "${e.prefix}"`:"ends_with"===t.format?`نَص غير مقبول: يجب أن ينتهي بـ "${t.suffix}"`:"includes"===t.format?`نَص غير مقبول: يجب أن يتضمَّن "${t.includes}"`:"regex"===t.format?`نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}`:`${n[t.format]??e.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;case"unrecognized_keys":return`معرف${e.keys.length>1?"ات":""} غريب${e.keys.length>1?"ة":""}: ${Em(e.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${e.origin}`;case"invalid_union":default:return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${e.origin}`}}}),"error");function Cb(){return{localeError:kb()}}Yp(Cb,"default");const Ab=Yp((()=>{let e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`Yanlış dəyər: gözlənilən ${e.expected}, daxil olan ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Yanlış dəyər: gözlənilən ${Wm(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Çox böyük: gözlənilən ${e.origin??"dəyər"} ${r}${e.maximum.toString()} ${n.unit??"element"}`:`Çox böyük: gözlənilən ${e.origin??"dəyər"} ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Çox kiçik: gözlənilən ${e.origin} ${r}${e.minimum.toString()} ${n.unit}`:`Çox kiçik: gözlənilən ${e.origin} ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Yanlış mətn: "${t.prefix}" ilə başlamalıdır`:"ends_with"===t.format?`Yanlış mətn: "${t.suffix}" ilə bitməlidir`:"includes"===t.format?`Yanlış mətn: "${t.includes}" daxil olmalıdır`:"regex"===t.format?`Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${n[t.format]??e.format}`}case"not_multiple_of":return`Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${e.keys.length>1?"lar":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`${e.origin} daxilində yanlış açar`;case"invalid_union":default:return"Yanlış dəyər";case"invalid_element":return`${e.origin} daxilində yanlış dəyər`}}}),"error");function Eb(){return{localeError:Ab()}}function Sb(e,t,r,n){let a=Math.abs(e),i=a%10,o=a%100;return o>=11&&o<=19?n:1===i?t:i>=2&&i<=4?r:n}Yp(Eb,"default");const jb=Yp((()=>{let e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"лік";case"object":if(Array.isArray(e))return"масіў";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"};return e=>{switch(e.code){case"invalid_type":return`Няправільны ўвод: чакаўся ${e.expected}, атрымана ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Няправільны ўвод: чакалася ${Wm(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);if(n){let t=Sb(Number(e.maximum),n.unit.one,n.unit.few,n.unit.many);return`Занадта вялікі: чакалася, што ${e.origin??"значэнне"} павінна ${n.verb} ${r}${e.maximum.toString()} ${t}`}return`Занадта вялікі: чакалася, што ${e.origin??"значэнне"} павінна быць ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);if(n){let t=Sb(Number(e.minimum),n.unit.one,n.unit.few,n.unit.many);return`Занадта малы: чакалася, што ${e.origin} павінна ${n.verb} ${r}${e.minimum.toString()} ${t}`}return`Занадта малы: чакалася, што ${e.origin} павінна быць ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Няправільны радок: павінен пачынацца з "${t.prefix}"`:"ends_with"===t.format?`Няправільны радок: павінен заканчвацца на "${t.suffix}"`:"includes"===t.format?`Няправільны радок: павінен змяшчаць "${t.includes}"`:"regex"===t.format?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${n[t.format]??e.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${e.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${e.keys.length>1?"ключы":"ключ"}: ${Em(e.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${e.origin}`;case"invalid_union":default:return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${e.origin}`}}}),"error");function zb(){return{localeError:jb()}}Yp(zb,"default");const Ib=Yp((()=>{let e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return e=>{switch(e.code){case"invalid_type":return`Tipus invàlid: s'esperava ${e.expected}, s'ha rebut ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Valor invàlid: s'esperava ${Wm(e.values[0])}`:`Opció invàlida: s'esperava una de ${Em(e.values," o ")}`;case"too_big":{let r=e.inclusive?"com a màxim":"menys de",n=t(e.origin);return n?`Massa gran: s'esperava que ${e.origin??"el valor"} contingués ${r} ${e.maximum.toString()} ${n.unit??"elements"}`:`Massa gran: s'esperava que ${e.origin??"el valor"} fos ${r} ${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?"com a mínim":"més de",n=t(e.origin);return n?`Massa petit: s'esperava que ${e.origin} contingués ${r} ${e.minimum.toString()} ${n.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${r} ${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Format invàlid: ha de començar amb "${t.prefix}"`:"ends_with"===t.format?`Format invàlid: ha d'acabar amb "${t.suffix}"`:"includes"===t.format?`Format invàlid: ha d'incloure "${t.includes}"`:"regex"===t.format?`Format invàlid: ha de coincidir amb el patró ${t.pattern}`:`Format invàlid per a ${n[t.format]??e.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${e.divisor}`;case"unrecognized_keys":return`Clau${e.keys.length>1?"s":""} no reconeguda${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${e.origin}`;case"invalid_union":default:return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${e.origin}`}}}),"error");function Ob(){return{localeError:Ib()}}Yp(Ob,"default");const _b=Yp((()=>{let e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"číslo";case"string":return"řetězec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":if(Array.isArray(e))return"pole";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"};return e=>{switch(e.code){case"invalid_type":return`Neplatný vstup: očekáváno ${e.expected}, obdrženo ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Neplatný vstup: očekáváno ${Wm(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Hodnota je příliš velká: ${e.origin??"hodnota"} musí mít ${r}${e.maximum.toString()} ${n.unit??"prvků"}`:`Hodnota je příliš velká: ${e.origin??"hodnota"} musí být ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Hodnota je příliš malá: ${e.origin??"hodnota"} musí mít ${r}${e.minimum.toString()} ${n.unit??"prvků"}`:`Hodnota je příliš malá: ${e.origin??"hodnota"} musí být ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Neplatný řetězec: musí začínat na "${t.prefix}"`:"ends_with"===t.format?`Neplatný řetězec: musí končit na "${t.suffix}"`:"includes"===t.format?`Neplatný řetězec: musí obsahovat "${t.includes}"`:"regex"===t.format?`Neplatný řetězec: musí odpovídat vzoru ${t.pattern}`:`Neplatný formát ${n[t.format]??e.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${e.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${Em(e.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${e.origin}`;case"invalid_union":default:return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${e.origin}`}}}),"error");function Nb(){return{localeError:_b()}}Yp(Nb,"default");const Pb=Yp((()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"Zahl";case"object":if(Array.isArray(e))return"Array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"};return e=>{switch(e.code){case"invalid_type":return`Ungültige Eingabe: erwartet ${e.expected}, erhalten ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Ungültige Eingabe: erwartet ${Wm(e.values[0])}`:`Ungültige Option: erwartet eine von ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Zu groß: erwartet, dass ${e.origin??"Wert"} ${r}${e.maximum.toString()} ${n.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${e.origin??"Wert"} ${r}${e.maximum.toString()} ist`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Zu klein: erwartet, dass ${e.origin} ${r}${e.minimum.toString()} ${n.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${r}${e.minimum.toString()} ist`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Ungültiger String: muss mit "${t.prefix}" beginnen`:"ends_with"===t.format?`Ungültiger String: muss mit "${t.suffix}" enden`:"includes"===t.format?`Ungültiger String: muss "${t.includes}" enthalten`:"regex"===t.format?`Ungültiger String: muss dem Muster ${t.pattern} entsprechen`:`Ungültig: ${n[t.format]??e.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case"unrecognized_keys":return`${e.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${Em(e.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${e.origin}`;case"invalid_union":default:return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${e.origin}`}}}),"error");function Db(){return{localeError:Pb()}}Yp(Db,"default");const Tb=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),Bb=Yp((()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function t(t){return e[t]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`Invalid input: expected ${e.expected}, received ${Tb(e.input)}`;case"invalid_value":return 1===e.values.length?`Invalid input: expected ${Wm(e.values[0])}`:`Invalid option: expected one of ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Too big: expected ${e.origin??"value"} to have ${r}${e.maximum.toString()} ${n.unit??"elements"}`:`Too big: expected ${e.origin??"value"} to be ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Too small: expected ${e.origin} to have ${r}${e.minimum.toString()} ${n.unit}`:`Too small: expected ${e.origin} to be ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Invalid string: must start with "${t.prefix}"`:"ends_with"===t.format?`Invalid string: must end with "${t.suffix}"`:"includes"===t.format?`Invalid string: must include "${t.includes}"`:"regex"===t.format?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${r[t.format]??e.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${e.divisor}`;case"unrecognized_keys":return`Unrecognized key${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Invalid key in ${e.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${e.origin}`}}}),"error");function Rb(){return{localeError:Bb()}}Yp(Rb,"default");const Mb=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":if(Array.isArray(e))return"tabelo";if(null===e)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),$b=Yp((()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(t){return e[t]??null}let r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"};return e=>{switch(e.code){case"invalid_type":return`Nevalida enigo: atendiĝis ${e.expected}, riceviĝis ${Mb(e.input)}`;case"invalid_value":return 1===e.values.length?`Nevalida enigo: atendiĝis ${Wm(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Tro granda: atendiĝis ke ${e.origin??"valoro"} havu ${r}${e.maximum.toString()} ${n.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${e.origin??"valoro"} havu ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Tro malgranda: atendiĝis ke ${e.origin} havu ${r}${e.minimum.toString()} ${n.unit}`:`Tro malgranda: atendiĝis ke ${e.origin} estu ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Nevalida karaktraro: devas komenciĝi per "${t.prefix}"`:"ends_with"===t.format?`Nevalida karaktraro: devas finiĝi per "${t.suffix}"`:"includes"===t.format?`Nevalida karaktraro: devas inkluzivi "${t.includes}"`:"regex"===t.format?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${r[t.format]??e.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case"unrecognized_keys":return`Nekonata${e.keys.length>1?"j":""} ŝlosilo${e.keys.length>1?"j":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${e.origin}`;case"invalid_union":default:return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${e.origin}`}}}),"error");function Fb(){return{localeError:$b()}}Yp(Fb,"default");const Vb=Yp((()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"número";case"object":if(Array.isArray(e))return"arreglo";if(null===e)return"nulo";if(Object.getPrototypeOf(e)!==Object.prototype)return e.constructor.name}return t}),"parsedType"),n={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return e=>{switch(e.code){case"invalid_type":return`Entrada inválida: se esperaba ${e.expected}, recibido ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Entrada inválida: se esperaba ${Wm(e.values[0])}`:`Opción inválida: se esperaba una de ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Demasiado grande: se esperaba que ${e.origin??"valor"} tuviera ${r}${e.maximum.toString()} ${n.unit??"elementos"}`:`Demasiado grande: se esperaba que ${e.origin??"valor"} fuera ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Demasiado pequeño: se esperaba que ${e.origin} tuviera ${r}${e.minimum.toString()} ${n.unit}`:`Demasiado pequeño: se esperaba que ${e.origin} fuera ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Cadena inválida: debe comenzar con "${t.prefix}"`:"ends_with"===t.format?`Cadena inválida: debe terminar en "${t.suffix}"`:"includes"===t.format?`Cadena inválida: debe incluir "${t.includes}"`:"regex"===t.format?`Cadena inválida: debe coincidir con el patrón ${t.pattern}`:`Inválido ${n[t.format]??e.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${e.divisor}`;case"unrecognized_keys":return`Llave${e.keys.length>1?"s":""} desconocida${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Llave inválida en ${e.origin}`;case"invalid_union":default:return"Entrada inválida";case"invalid_element":return`Valor inválido en ${e.origin}`}}}),"error");function Lb(){return{localeError:Vb()}}Yp(Lb,"default");const Ub=Yp((()=>{let e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"عدد";case"object":if(Array.isArray(e))return"آرایه";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"};return e=>{switch(e.code){case"invalid_type":return`ورودی نامعتبر: میبایست ${e.expected} میبود، ${r(e.input)} دریافت شد`;case"invalid_value":return 1===e.values.length?`ورودی نامعتبر: میبایست ${Wm(e.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${Em(e.values,"|")} میبود`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`خیلی بزرگ: ${e.origin??"مقدار"} باید ${r}${e.maximum.toString()} ${n.unit??"عنصر"} باشد`:`خیلی بزرگ: ${e.origin??"مقدار"} باید ${r}${e.maximum.toString()} باشد`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`خیلی کوچک: ${e.origin} باید ${r}${e.minimum.toString()} ${n.unit} باشد`:`خیلی کوچک: ${e.origin} باید ${r}${e.minimum.toString()} باشد`}case"invalid_format":{let t=e;return"starts_with"===t.format?`رشته نامعتبر: باید با "${t.prefix}" شروع شود`:"ends_with"===t.format?`رشته نامعتبر: باید با "${t.suffix}" تمام شود`:"includes"===t.format?`رشته نامعتبر: باید شامل "${t.includes}" باشد`:"regex"===t.format?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${n[t.format]??e.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`;case"unrecognized_keys":return`کلید${e.keys.length>1?"های":""} ناشناس: ${Em(e.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${e.origin}`;case"invalid_union":default:return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${e.origin}`}}}),"error");function Zb(){return{localeError:Ub()}}Yp(Zb,"default");const Qb=Yp((()=>{let e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"};return e=>{switch(e.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${e.expected}, oli ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Virheellinen syöte: täytyy olla ${Wm(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Liian suuri: ${n.subject} täytyy olla ${r}${e.maximum.toString()} ${n.unit}`.trim():`Liian suuri: arvon täytyy olla ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Liian pieni: ${n.subject} täytyy olla ${r}${e.minimum.toString()} ${n.unit}`.trim():`Liian pieni: arvon täytyy olla ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Virheellinen syöte: täytyy alkaa "${t.prefix}"`:"ends_with"===t.format?`Virheellinen syöte: täytyy loppua "${t.suffix}"`:"includes"===t.format?`Virheellinen syöte: täytyy sisältää "${t.includes}"`:"regex"===t.format?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}`:`Virheellinen ${n[t.format]??e.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;case"unrecognized_keys":return`${e.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${Em(e.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}}),"error");function Gb(){return{localeError:Qb()}}Yp(Gb,"default");const Kb=Yp((()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombre";case"object":if(Array.isArray(e))return"tableau";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return e=>{switch(e.code){case"invalid_type":return`Entrée invalide : ${e.expected} attendu, ${r(e.input)} reçu`;case"invalid_value":return 1===e.values.length?`Entrée invalide : ${Wm(e.values[0])} attendu`:`Option invalide : une valeur parmi ${Em(e.values,"|")} attendue`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Trop grand : ${e.origin??"valeur"} doit ${n.verb} ${r}${e.maximum.toString()} ${n.unit??"élément(s)"}`:`Trop grand : ${e.origin??"valeur"} doit être ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Trop petit : ${e.origin} doit ${n.verb} ${r}${e.minimum.toString()} ${n.unit}`:`Trop petit : ${e.origin} doit être ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Chaîne invalide : doit commencer par "${t.prefix}"`:"ends_with"===t.format?`Chaîne invalide : doit se terminer par "${t.suffix}"`:"includes"===t.format?`Chaîne invalide : doit inclure "${t.includes}"`:"regex"===t.format?`Chaîne invalide : doit correspondre au modèle ${t.pattern}`:`${n[t.format]??e.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${e.divisor}`;case"unrecognized_keys":return`Clé${e.keys.length>1?"s":""} non reconnue${e.keys.length>1?"s":""} : ${Em(e.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${e.origin}`;case"invalid_union":default:return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${e.origin}`}}}),"error");function Yb(){return{localeError:Kb()}}Yp(Yb,"default");const Wb=Yp((()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return e=>{switch(e.code){case"invalid_type":return`Entrée invalide : attendu ${e.expected}, reçu ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Entrée invalide : attendu ${Wm(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"≤":"<",n=t(e.origin);return n?`Trop grand : attendu que ${e.origin??"la valeur"} ait ${r}${e.maximum.toString()} ${n.unit}`:`Trop grand : attendu que ${e.origin??"la valeur"} soit ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?"≥":">",n=t(e.origin);return n?`Trop petit : attendu que ${e.origin} ait ${r}${e.minimum.toString()} ${n.unit}`:`Trop petit : attendu que ${e.origin} soit ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Chaîne invalide : doit commencer par "${t.prefix}"`:"ends_with"===t.format?`Chaîne invalide : doit se terminer par "${t.suffix}"`:"includes"===t.format?`Chaîne invalide : doit inclure "${t.includes}"`:"regex"===t.format?`Chaîne invalide : doit correspondre au motif ${t.pattern}`:`${n[t.format]??e.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${e.divisor}`;case"unrecognized_keys":return`Clé${e.keys.length>1?"s":""} non reconnue${e.keys.length>1?"s":""} : ${Em(e.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${e.origin}`;case"invalid_union":default:return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${e.origin}`}}}),"error");function Hb(){return{localeError:Wb()}}Yp(Hb,"default");const qb=Yp((()=>{let e={string:{unit:"אותיות",verb:"לכלול"},file:{unit:"בייטים",verb:"לכלול"},array:{unit:"פריטים",verb:"לכלול"},set:{unit:"פריטים",verb:"לכלול"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"קלט",email:"כתובת אימייל",url:"כתובת רשת",emoji:"אימוג'י",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"תאריך וזמן ISO",date:"תאריך ISO",time:"זמן ISO",duration:"משך זמן ISO",ipv4:"כתובת IPv4",ipv6:"כתובת IPv6",cidrv4:"טווח IPv4",cidrv6:"טווח IPv6",base64:"מחרוזת בבסיס 64",base64url:"מחרוזת בבסיס 64 לכתובות רשת",json_string:"מחרוזת JSON",e164:"מספר E.164",jwt:"JWT",template_literal:"קלט"};return e=>{switch(e.code){case"invalid_type":return`קלט לא תקין: צריך ${e.expected}, התקבל ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`קלט לא תקין: צריך ${Wm(e.values[0])}`:`קלט לא תקין: צריך אחת מהאפשרויות ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`גדול מדי: ${e.origin??"value"} צריך להיות ${r}${e.maximum.toString()} ${n.unit??"elements"}`:`גדול מדי: ${e.origin??"value"} צריך להיות ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`קטן מדי: ${e.origin} צריך להיות ${r}${e.minimum.toString()} ${n.unit}`:`קטן מדי: ${e.origin} צריך להיות ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`מחרוזת לא תקינה: חייבת להתחיל ב"${t.prefix}"`:"ends_with"===t.format?`מחרוזת לא תקינה: חייבת להסתיים ב "${t.suffix}"`:"includes"===t.format?`מחרוזת לא תקינה: חייבת לכלול "${t.includes}"`:"regex"===t.format?`מחרוזת לא תקינה: חייבת להתאים לתבנית ${t.pattern}`:`${n[t.format]??e.format} לא תקין`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${e.divisor}`;case"unrecognized_keys":return`מפתח${e.keys.length>1?"ות":""} לא מזוה${e.keys.length>1?"ים":"ה"}: ${Em(e.keys,", ")}`;case"invalid_key":return`מפתח לא תקין ב${e.origin}`;case"invalid_union":default:return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${e.origin}`}}}),"error");function Jb(){return{localeError:qb()}}Yp(Jb,"default");const Xb=Yp((()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"szám";case"object":if(Array.isArray(e))return"tömb";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"};return e=>{switch(e.code){case"invalid_type":return`Érvénytelen bemenet: a várt érték ${e.expected}, a kapott érték ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Érvénytelen bemenet: a várt érték ${Wm(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Túl nagy: ${e.origin??"érték"} mérete túl nagy ${r}${e.maximum.toString()} ${n.unit??"elem"}`:`Túl nagy: a bemeneti érték ${e.origin??"érték"} túl nagy: ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${r}${e.minimum.toString()} ${n.unit}`:`Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Érvénytelen string: "${t.prefix}" értékkel kell kezdődnie`:"ends_with"===t.format?`Érvénytelen string: "${t.suffix}" értékkel kell végződnie`:"includes"===t.format?`Érvénytelen string: "${t.includes}" értéket kell tartalmaznia`:"regex"===t.format?`Érvénytelen string: ${t.pattern} mintának kell megfelelnie`:`Érvénytelen ${n[t.format]??e.format}`}case"not_multiple_of":return`Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${e.origin}`;case"invalid_union":default:return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${e.origin}`}}}),"error");function ew(){return{localeError:Xb()}}Yp(ew,"default");const tw=Yp((()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`Input tidak valid: diharapkan ${e.expected}, diterima ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Input tidak valid: diharapkan ${Wm(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Terlalu besar: diharapkan ${e.origin??"value"} memiliki ${r}${e.maximum.toString()} ${n.unit??"elemen"}`:`Terlalu besar: diharapkan ${e.origin??"value"} menjadi ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Terlalu kecil: diharapkan ${e.origin} memiliki ${r}${e.minimum.toString()} ${n.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`String tidak valid: harus dimulai dengan "${t.prefix}"`:"ends_with"===t.format?`String tidak valid: harus berakhir dengan "${t.suffix}"`:"includes"===t.format?`String tidak valid: harus menyertakan "${t.includes}"`:"regex"===t.format?`String tidak valid: harus sesuai pola ${t.pattern}`:`${n[t.format]??e.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${e.origin}`;case"invalid_union":default:return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${e.origin}`}}}),"error");function rw(){return{localeError:tw()}}Yp(rw,"default");const nw=Yp((()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"numero";case"object":if(Array.isArray(e))return"vettore";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`Input non valido: atteso ${e.expected}, ricevuto ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Input non valido: atteso ${Wm(e.values[0])}`:`Opzione non valida: atteso uno tra ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Troppo grande: ${e.origin??"valore"} deve avere ${r}${e.maximum.toString()} ${n.unit??"elementi"}`:`Troppo grande: ${e.origin??"valore"} deve essere ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Troppo piccolo: ${e.origin} deve avere ${r}${e.minimum.toString()} ${n.unit}`:`Troppo piccolo: ${e.origin} deve essere ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Stringa non valida: deve iniziare con "${t.prefix}"`:"ends_with"===t.format?`Stringa non valida: deve terminare con "${t.suffix}"`:"includes"===t.format?`Stringa non valida: deve includere "${t.includes}"`:"regex"===t.format?`Stringa non valida: deve corrispondere al pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case"unrecognized_keys":return`Chiav${e.keys.length>1?"i":"e"} non riconosciut${e.keys.length>1?"e":"a"}: ${Em(e.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${e.origin}`;case"invalid_union":default:return"Input non valido";case"invalid_element":return`Valore non valido in ${e.origin}`}}}),"error");function aw(){return{localeError:nw()}}Yp(aw,"default");const iw=Yp((()=>{let e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"数値";case"object":if(Array.isArray(e))return"配列";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"};return e=>{switch(e.code){case"invalid_type":return`無効な入力: ${e.expected}が期待されましたが、${r(e.input)}が入力されました`;case"invalid_value":return 1===e.values.length?`無効な入力: ${Wm(e.values[0])}が期待されました`:`無効な選択: ${Em(e.values,"、")}のいずれかである必要があります`;case"too_big":{let r=e.inclusive?"以下である":"より小さい",n=t(e.origin);return n?`大きすぎる値: ${e.origin??"値"}は${e.maximum.toString()}${n.unit??"要素"}${r}必要があります`:`大きすぎる値: ${e.origin??"値"}は${e.maximum.toString()}${r}必要があります`}case"too_small":{let r=e.inclusive?"以上である":"より大きい",n=t(e.origin);return n?`小さすぎる値: ${e.origin}は${e.minimum.toString()}${n.unit}${r}必要があります`:`小さすぎる値: ${e.origin}は${e.minimum.toString()}${r}必要があります`}case"invalid_format":{let t=e;return"starts_with"===t.format?`無効な文字列: "${t.prefix}"で始まる必要があります`:"ends_with"===t.format?`無効な文字列: "${t.suffix}"で終わる必要があります`:"includes"===t.format?`無効な文字列: "${t.includes}"を含む必要があります`:"regex"===t.format?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${n[t.format]??e.format}`}case"not_multiple_of":return`無効な数値: ${e.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${e.keys.length>1?"群":""}: ${Em(e.keys,"、")}`;case"invalid_key":return`${e.origin}内の無効なキー`;case"invalid_union":default:return"無効な入力";case"invalid_element":return`${e.origin}内の無効な値`}}}),"error");function ow(){return{localeError:iw()}}Yp(ow,"default");const sw=Yp((()=>{let e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"មិនមែនជាលេខ (NaN)":"លេខ";case"object":if(Array.isArray(e))return"អារេ (Array)";if(null===e)return"គ្មានតម្លៃ (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"};return e=>{switch(e.code){case"invalid_type":return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${e.expected} ប៉ុន្តែទទួលបាន ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Wm(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`ធំពេក៖ ត្រូវការ ${e.origin??"តម្លៃ"} ${r} ${e.maximum.toString()} ${n.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${e.origin??"តម្លៃ"} ${r} ${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`តូចពេក៖ ត្រូវការ ${e.origin} ${r} ${e.minimum.toString()} ${n.unit}`:`តូចពេក៖ ត្រូវការ ${e.origin} ${r} ${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${t.prefix}"`:"ends_with"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${t.suffix}"`:"includes"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${t.includes}"`:"regex"===t.format?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${n[t.format]??e.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${Em(e.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;case"invalid_union":default:return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`}}}),"error");function lw(){return{localeError:sw()}}Yp(lw,"default");const uw=Yp((()=>{let e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"};return e=>{switch(e.code){case"invalid_type":return`잘못된 입력: 예상 타입은 ${e.expected}, 받은 타입은 ${r(e.input)}입니다`;case"invalid_value":return 1===e.values.length?`잘못된 입력: 값은 ${Wm(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${Em(e.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let r=e.inclusive?"이하":"미만",n="미만"===r?"이어야 합니다":"여야 합니다",a=t(e.origin),i=a?.unit??"요소";return a?`${e.origin??"값"}이 너무 큽니다: ${e.maximum.toString()}${i} ${r}${n}`:`${e.origin??"값"}이 너무 큽니다: ${e.maximum.toString()} ${r}${n}`}case"too_small":{let r=e.inclusive?"이상":"초과",n="이상"===r?"이어야 합니다":"여야 합니다",a=t(e.origin),i=a?.unit??"요소";return a?`${e.origin??"값"}이 너무 작습니다: ${e.minimum.toString()}${i} ${r}${n}`:`${e.origin??"값"}이 너무 작습니다: ${e.minimum.toString()} ${r}${n}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`잘못된 문자열: "${t.prefix}"(으)로 시작해야 합니다`:"ends_with"===t.format?`잘못된 문자열: "${t.suffix}"(으)로 끝나야 합니다`:"includes"===t.format?`잘못된 문자열: "${t.includes}"을(를) 포함해야 합니다`:"regex"===t.format?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${n[t.format]??e.format}`}case"not_multiple_of":return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${Em(e.keys,", ")}`;case"invalid_key":return`잘못된 키: ${e.origin}`;case"invalid_union":default:return"잘못된 입력";case"invalid_element":return`잘못된 값: ${e.origin}`}}}),"error");function cw(){return{localeError:uw()}}Yp(cw,"default");const dw=Yp((()=>{let e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"број";case"object":if(Array.isArray(e))return"низа";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"};return e=>{switch(e.code){case"invalid_type":return`Грешен внес: се очекува ${e.expected}, примено ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Invalid input: expected ${Wm(e.values[0])}`:`Грешана опција: се очекува една ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Премногу голем: се очекува ${e.origin??"вредноста"} да има ${r}${e.maximum.toString()} ${n.unit??"елементи"}`:`Премногу голем: се очекува ${e.origin??"вредноста"} да биде ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Премногу мал: се очекува ${e.origin} да има ${r}${e.minimum.toString()} ${n.unit}`:`Премногу мал: се очекува ${e.origin} да биде ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Неважечка низа: мора да започнува со "${t.prefix}"`:"ends_with"===t.format?`Неважечка низа: мора да завршува со "${t.suffix}"`:"includes"===t.format?`Неважечка низа: мора да вклучува "${t.includes}"`:"regex"===t.format?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${Em(e.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${e.origin}`;case"invalid_union":default:return"Грешен внес";case"invalid_element":return`Грешна вредност во ${e.origin}`}}}),"error");function pw(){return{localeError:dw()}}Yp(pw,"default");const hw=Yp((()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombor";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`Input tidak sah: dijangka ${e.expected}, diterima ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Input tidak sah: dijangka ${Wm(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Terlalu besar: dijangka ${e.origin??"nilai"} ${n.verb} ${r}${e.maximum.toString()} ${n.unit??"elemen"}`:`Terlalu besar: dijangka ${e.origin??"nilai"} adalah ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Terlalu kecil: dijangka ${e.origin} ${n.verb} ${r}${e.minimum.toString()} ${n.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`String tidak sah: mesti bermula dengan "${t.prefix}"`:"ends_with"===t.format?`String tidak sah: mesti berakhir dengan "${t.suffix}"`:"includes"===t.format?`String tidak sah: mesti mengandungi "${t.includes}"`:"regex"===t.format?`String tidak sah: mesti sepadan dengan corak ${t.pattern}`:`${n[t.format]??e.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${Em(e.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${e.origin}`;case"invalid_union":default:return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${e.origin}`}}}),"error");function fw(){return{localeError:hw()}}Yp(fw,"default");const mw=Yp((()=>{let e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"getal";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"};return e=>{switch(e.code){case"invalid_type":return`Ongeldige invoer: verwacht ${e.expected}, ontving ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Ongeldige invoer: verwacht ${Wm(e.values[0])}`:`Ongeldige optie: verwacht één van ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Te lang: verwacht dat ${e.origin??"waarde"} ${r}${e.maximum.toString()} ${n.unit??"elementen"} bevat`:`Te lang: verwacht dat ${e.origin??"waarde"} ${r}${e.maximum.toString()} is`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Te kort: verwacht dat ${e.origin} ${r}${e.minimum.toString()} ${n.unit} bevat`:`Te kort: verwacht dat ${e.origin} ${r}${e.minimum.toString()} is`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Ongeldige tekst: moet met "${t.prefix}" beginnen`:"ends_with"===t.format?`Ongeldige tekst: moet op "${t.suffix}" eindigen`:"includes"===t.format?`Ongeldige tekst: moet "${t.includes}" bevatten`:"regex"===t.format?`Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}`:`Ongeldig: ${n[t.format]??e.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${e.origin}`;case"invalid_union":default:return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${e.origin}`}}}),"error");function gw(){return{localeError:mw()}}Yp(gw,"default");const vw=Yp((()=>{let e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"tall";case"object":if(Array.isArray(e))return"liste";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`Ugyldig input: forventet ${e.expected}, fikk ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Ugyldig verdi: forventet ${Wm(e.values[0])}`:`Ugyldig valg: forventet en av ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`For stor(t): forventet ${e.origin??"value"} til å ha ${r}${e.maximum.toString()} ${n.unit??"elementer"}`:`For stor(t): forventet ${e.origin??"value"} til å ha ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`For lite(n): forventet ${e.origin} til å ha ${r}${e.minimum.toString()} ${n.unit}`:`For lite(n): forventet ${e.origin} til å ha ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Ugyldig streng: må starte med "${t.prefix}"`:"ends_with"===t.format?`Ugyldig streng: må ende med "${t.suffix}"`:"includes"===t.format?`Ugyldig streng: må inneholde "${t.includes}"`:"regex"===t.format?`Ugyldig streng: må matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${Em(e.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${e.origin}`;case"invalid_union":default:return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${e.origin}`}}}),"error");function yw(){return{localeError:vw()}}Yp(yw,"default");const bw=Yp((()=>{let e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"numara";case"object":if(Array.isArray(e))return"saf";if(null===e)return"gayb";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"};return e=>{switch(e.code){case"invalid_type":return`Fâsit giren: umulan ${e.expected}, alınan ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Fâsit giren: umulan ${Wm(e.values[0])}`:`Fâsit tercih: mûteberler ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Fazla büyük: ${e.origin??"value"}, ${r}${e.maximum.toString()} ${n.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${e.origin??"value"}, ${r}${e.maximum.toString()} olmalıydı.`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Fazla küçük: ${e.origin}, ${r}${e.minimum.toString()} ${n.unit} sahip olmalıydı.`:`Fazla küçük: ${e.origin}, ${r}${e.minimum.toString()} olmalıydı.`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Fâsit metin: "${t.prefix}" ile başlamalı.`:"ends_with"===t.format?`Fâsit metin: "${t.suffix}" ile bitmeli.`:"includes"===t.format?`Fâsit metin: "${t.includes}" ihtivâ etmeli.`:"regex"===t.format?`Fâsit metin: ${t.pattern} nakşına uymalı.`:`Fâsit ${n[t.format]??e.format}`}case"not_multiple_of":return`Fâsit sayı: ${e.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`${e.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${e.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}}),"error");function ww(){return{localeError:bw()}}Yp(ww,"default");const xw=Yp((()=>{let e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"عدد";case"object":if(Array.isArray(e))return"ارې";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"};return e=>{switch(e.code){case"invalid_type":return`ناسم ورودي: باید ${e.expected} وای, مګر ${r(e.input)} ترلاسه شو`;case"invalid_value":return 1===e.values.length?`ناسم ورودي: باید ${Wm(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${Em(e.values,"|")} څخه وای`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`ډیر لوی: ${e.origin??"ارزښت"} باید ${r}${e.maximum.toString()} ${n.unit??"عنصرونه"} ولري`:`ډیر لوی: ${e.origin??"ارزښت"} باید ${r}${e.maximum.toString()} وي`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`ډیر کوچنی: ${e.origin} باید ${r}${e.minimum.toString()} ${n.unit} ولري`:`ډیر کوچنی: ${e.origin} باید ${r}${e.minimum.toString()} وي`}case"invalid_format":{let t=e;return"starts_with"===t.format?`ناسم متن: باید د "${t.prefix}" سره پیل شي`:"ends_with"===t.format?`ناسم متن: باید د "${t.suffix}" سره پای ته ورسيږي`:"includes"===t.format?`ناسم متن: باید "${t.includes}" ولري`:"regex"===t.format?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${n[t.format]??e.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${e.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${e.keys.length>1?"کلیډونه":"کلیډ"}: ${Em(e.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${e.origin} کې`;case"invalid_union":default:return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${e.origin} کې`}}}),"error");function kw(){return{localeError:xw()}}Yp(kw,"default");const Cw=Yp((()=>{let e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"liczba";case"object":if(Array.isArray(e))return"tablica";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"};return e=>{switch(e.code){case"invalid_type":return`Nieprawidłowe dane wejściowe: oczekiwano ${e.expected}, otrzymano ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Nieprawidłowe dane wejściowe: oczekiwano ${Wm(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Za duża wartość: oczekiwano, że ${e.origin??"wartość"} będzie mieć ${r}${e.maximum.toString()} ${n.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${e.origin??"wartość"} będzie wynosić ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Za mała wartość: oczekiwano, że ${e.origin??"wartość"} będzie mieć ${r}${e.minimum.toString()} ${n.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${e.origin??"wartość"} będzie wynosić ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${t.prefix}"`:"ends_with"===t.format?`Nieprawidłowy ciąg znaków: musi kończyć się na "${t.suffix}"`:"includes"===t.format?`Nieprawidłowy ciąg znaków: musi zawierać "${t.includes}"`:"regex"===t.format?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}`:`Nieprawidłow(y/a/e) ${n[t.format]??e.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${e.origin}`;case"invalid_union":default:return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${e.origin}`}}}),"error");function Aw(){return{localeError:Cw()}}Yp(Aw,"default");const Ew=Yp((()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"número";case"object":if(Array.isArray(e))return"array";if(null===e)return"nulo";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return e=>{switch(e.code){case"invalid_type":return`Tipo inválido: esperado ${e.expected}, recebido ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Entrada inválida: esperado ${Wm(e.values[0])}`:`Opção inválida: esperada uma das ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Muito grande: esperado que ${e.origin??"valor"} tivesse ${r}${e.maximum.toString()} ${n.unit??"elementos"}`:`Muito grande: esperado que ${e.origin??"valor"} fosse ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Muito pequeno: esperado que ${e.origin} tivesse ${r}${e.minimum.toString()} ${n.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Texto inválido: deve começar com "${t.prefix}"`:"ends_with"===t.format?`Texto inválido: deve terminar com "${t.suffix}"`:"includes"===t.format?`Texto inválido: deve incluir "${t.includes}"`:"regex"===t.format?`Texto inválido: deve corresponder ao padrão ${t.pattern}`:`${n[t.format]??e.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${e.divisor}`;case"unrecognized_keys":return`Chave${e.keys.length>1?"s":""} desconhecida${e.keys.length>1?"s":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Chave inválida em ${e.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${e.origin}`;default:return"Campo inválido"}}}),"error");function Sw(){return{localeError:Ew()}}function jw(e,t,r,n){let a=Math.abs(e),i=a%10,o=a%100;return o>=11&&o<=19?n:1===i?t:i>=2&&i<=4?r:n}Yp(Sw,"default");const zw=Yp((()=>{let e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"число";case"object":if(Array.isArray(e))return"массив";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"};return e=>{switch(e.code){case"invalid_type":return`Неверный ввод: ожидалось ${e.expected}, получено ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Неверный ввод: ожидалось ${Wm(e.values[0])}`:`Неверный вариант: ожидалось одно из ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);if(n){let t=jw(Number(e.maximum),n.unit.one,n.unit.few,n.unit.many);return`Слишком большое значение: ожидалось, что ${e.origin??"значение"} будет иметь ${r}${e.maximum.toString()} ${t}`}return`Слишком большое значение: ожидалось, что ${e.origin??"значение"} будет ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);if(n){let t=jw(Number(e.minimum),n.unit.one,n.unit.few,n.unit.many);return`Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${r}${e.minimum.toString()} ${t}`}return`Слишком маленькое значение: ожидалось, что ${e.origin} будет ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Неверная строка: должна начинаться с "${t.prefix}"`:"ends_with"===t.format?`Неверная строка: должна заканчиваться на "${t.suffix}"`:"includes"===t.format?`Неверная строка: должна содержать "${t.includes}"`:"regex"===t.format?`Неверная строка: должна соответствовать шаблону ${t.pattern}`:`Неверный ${n[t.format]??e.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${e.divisor}`;case"unrecognized_keys":return`Нераспознанн${e.keys.length>1?"ые":"ый"} ключ${e.keys.length>1?"и":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${e.origin}`;case"invalid_union":default:return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${e.origin}`}}}),"error");function Iw(){return{localeError:zw()}}Yp(Iw,"default");const Ow=Yp((()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"število";case"object":if(Array.isArray(e))return"tabela";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"};return e=>{switch(e.code){case"invalid_type":return`Neveljaven vnos: pričakovano ${e.expected}, prejeto ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Neveljaven vnos: pričakovano ${Wm(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Preveliko: pričakovano, da bo ${e.origin??"vrednost"} imelo ${r}${e.maximum.toString()} ${n.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${e.origin??"vrednost"} ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Premajhno: pričakovano, da bo ${e.origin} imelo ${r}${e.minimum.toString()} ${n.unit}`:`Premajhno: pričakovano, da bo ${e.origin} ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Neveljaven niz: mora se začeti z "${t.prefix}"`:"ends_with"===t.format?`Neveljaven niz: mora se končati z "${t.suffix}"`:"includes"===t.format?`Neveljaven niz: mora vsebovati "${t.includes}"`:"regex"===t.format?`Neveljaven niz: mora ustrezati vzorcu ${t.pattern}`:`Neveljaven ${n[t.format]??e.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${e.divisor}`;case"unrecognized_keys":return`Neprepoznan${e.keys.length>1?"i ključi":" ključ"}: ${Em(e.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${e.origin}`;case"invalid_union":default:return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${e.origin}`}}}),"error");function _w(){return{localeError:Ow()}}Yp(_w,"default");const Nw=Yp((()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"antal";case"object":if(Array.isArray(e))return"lista";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"};return e=>{switch(e.code){case"invalid_type":return`Ogiltig inmatning: förväntat ${e.expected}, fick ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Ogiltig inmatning: förväntat ${Wm(e.values[0])}`:`Ogiltigt val: förväntade en av ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`För stor(t): förväntade ${e.origin??"värdet"} att ha ${r}${e.maximum.toString()} ${n.unit??"element"}`:`För stor(t): förväntat ${e.origin??"värdet"} att ha ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`För lite(t): förväntade ${e.origin??"värdet"} att ha ${r}${e.minimum.toString()} ${n.unit}`:`För lite(t): förväntade ${e.origin??"värdet"} att ha ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Ogiltig sträng: måste börja med "${t.prefix}"`:"ends_with"===t.format?`Ogiltig sträng: måste sluta med "${t.suffix}"`:"includes"===t.format?`Ogiltig sträng: måste innehålla "${t.includes}"`:"regex"===t.format?`Ogiltig sträng: måste matcha mönstret "${t.pattern}"`:`Ogiltig(t) ${n[t.format]??e.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${e.divisor}`;case"unrecognized_keys":return`${e.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${Em(e.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${e.origin??"värdet"}`;case"invalid_union":default:return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${e.origin??"värdet"}`}}}),"error");function Pw(){return{localeError:Nw()}}Yp(Pw,"default");const Dw=Yp((()=>{let e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"எண் அல்லாதது":"எண்";case"object":if(Array.isArray(e))return"அணி";if(null===e)return"வெறுமை";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${e.expected}, பெறப்பட்டது ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Wm(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${Em(e.values,"|")} இல் ஒன்று`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??"மதிப்பு"} ${r}${e.maximum.toString()} ${n.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??"மதிப்பு"} ${r}${e.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${r}${e.minimum.toString()} ${n.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${r}${e.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let t=e;return"starts_with"===t.format?`தவறான சரம்: "${t.prefix}" இல் தொடங்க வேண்டும்`:"ends_with"===t.format?`தவறான சரம்: "${t.suffix}" இல் முடிவடைய வேண்டும்`:"includes"===t.format?`தவறான சரம்: "${t.includes}" ஐ உள்ளடக்க வேண்டும்`:"regex"===t.format?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${n[t.format]??e.format}`}case"not_multiple_of":return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${e.keys.length>1?"கள்":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`${e.origin} இல் தவறான விசை`;case"invalid_union":default:return"தவறான உள்ளீடு";case"invalid_element":return`${e.origin} இல் தவறான மதிப்பு`}}}),"error");function Tw(){return{localeError:Dw()}}Yp(Tw,"default");const Bw=Yp((()=>{let e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"ไม่ใช่ตัวเลข (NaN)":"ตัวเลข";case"object":if(Array.isArray(e))return"อาร์เรย์ (Array)";if(null===e)return"ไม่มีค่า (null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"};return e=>{switch(e.code){case"invalid_type":return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${e.expected} แต่ได้รับ ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`ค่าไม่ถูกต้อง: ควรเป็น ${Wm(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"ไม่เกิน":"น้อยกว่า",n=t(e.origin);return n?`เกินกำหนด: ${e.origin??"ค่า"} ควรมี${r} ${e.maximum.toString()} ${n.unit??"รายการ"}`:`เกินกำหนด: ${e.origin??"ค่า"} ควรมี${r} ${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?"อย่างน้อย":"มากกว่า",n=t(e.origin);return n?`น้อยกว่ากำหนด: ${e.origin} ควรมี${r} ${e.minimum.toString()} ${n.unit}`:`น้อยกว่ากำหนด: ${e.origin} ควรมี${r} ${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${t.prefix}"`:"ends_with"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${t.suffix}"`:"includes"===t.format?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${t.includes}" อยู่ในข้อความ`:"regex"===t.format?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${n[t.format]??e.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${Em(e.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${e.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}}),"error");function Rw(){return{localeError:Bw()}}Yp(Rw,"default");const Mw=Yp((()=>{let e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function t(t){return e[t]??null}let r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"};return e=>{switch(e.code){case"invalid_type":return`Geçersiz değer: beklenen ${e.expected}, alınan ${(e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(e.input)}`;case"invalid_value":return 1===e.values.length?`Geçersiz değer: beklenen ${Wm(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Çok büyük: beklenen ${e.origin??"değer"} ${r}${e.maximum.toString()} ${n.unit??"öğe"}`:`Çok büyük: beklenen ${e.origin??"değer"} ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Çok küçük: beklenen ${e.origin} ${r}${e.minimum.toString()} ${n.unit}`:`Çok küçük: beklenen ${e.origin} ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Geçersiz metin: "${t.prefix}" ile başlamalı`:"ends_with"===t.format?`Geçersiz metin: "${t.suffix}" ile bitmeli`:"includes"===t.format?`Geçersiz metin: "${t.includes}" içermeli`:"regex"===t.format?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${r[t.format]??e.format}`}case"not_multiple_of":return`Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${e.keys.length>1?"lar":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`${e.origin} içinde geçersiz anahtar`;case"invalid_union":default:return"Geçersiz değer";case"invalid_element":return`${e.origin} içinde geçersiz değer`}}}),"error");function $w(){return{localeError:Mw()}}Yp($w,"default");const Fw=Yp((()=>{let e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"число";case"object":if(Array.isArray(e))return"масив";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"};return e=>{switch(e.code){case"invalid_type":return`Неправильні вхідні дані: очікується ${e.expected}, отримано ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Неправильні вхідні дані: очікується ${Wm(e.values[0])}`:`Неправильна опція: очікується одне з ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Занадто велике: очікується, що ${e.origin??"значення"} ${n.verb} ${r}${e.maximum.toString()} ${n.unit??"елементів"}`:`Занадто велике: очікується, що ${e.origin??"значення"} буде ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Занадто мале: очікується, що ${e.origin} ${n.verb} ${r}${e.minimum.toString()} ${n.unit}`:`Занадто мале: очікується, що ${e.origin} буде ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Неправильний рядок: повинен починатися з "${t.prefix}"`:"ends_with"===t.format?`Неправильний рядок: повинен закінчуватися на "${t.suffix}"`:"includes"===t.format?`Неправильний рядок: повинен містити "${t.includes}"`:"regex"===t.format?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${n[t.format]??e.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${e.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${e.keys.length>1?"і":""}: ${Em(e.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${e.origin}`;case"invalid_union":default:return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${e.origin}`}}}),"error");function Vw(){return{localeError:Fw()}}Yp(Vw,"default");const Lw=Yp((()=>{let e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"نمبر";case"object":if(Array.isArray(e))return"آرے";if(null===e)return"نل";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"};return e=>{switch(e.code){case"invalid_type":return`غلط ان پٹ: ${e.expected} متوقع تھا، ${r(e.input)} موصول ہوا`;case"invalid_value":return 1===e.values.length?`غلط ان پٹ: ${Wm(e.values[0])} متوقع تھا`:`غلط آپشن: ${Em(e.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`بہت بڑا: ${e.origin??"ویلیو"} کے ${r}${e.maximum.toString()} ${n.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${e.origin??"ویلیو"} کا ${r}${e.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`بہت چھوٹا: ${e.origin} کے ${r}${e.minimum.toString()} ${n.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${e.origin} کا ${r}${e.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let t=e;return"starts_with"===t.format?`غلط سٹرنگ: "${t.prefix}" سے شروع ہونا چاہیے`:"ends_with"===t.format?`غلط سٹرنگ: "${t.suffix}" پر ختم ہونا چاہیے`:"includes"===t.format?`غلط سٹرنگ: "${t.includes}" شامل ہونا چاہیے`:"regex"===t.format?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${n[t.format]??e.format}`}case"not_multiple_of":return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${e.keys.length>1?"ز":""}: ${Em(e.keys,"، ")}`;case"invalid_key":return`${e.origin} میں غلط کی`;case"invalid_union":default:return"غلط ان پٹ";case"invalid_element":return`${e.origin} میں غلط ویلیو`}}}),"error");function Uw(){return{localeError:Lw()}}Yp(Uw,"default");const Zw=Yp((()=>{let e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"số";case"object":if(Array.isArray(e))return"mảng";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"};return e=>{switch(e.code){case"invalid_type":return`Đầu vào không hợp lệ: mong đợi ${e.expected}, nhận được ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`Đầu vào không hợp lệ: mong đợi ${Wm(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`Quá lớn: mong đợi ${e.origin??"giá trị"} ${n.verb} ${r}${e.maximum.toString()} ${n.unit??"phần tử"}`:`Quá lớn: mong đợi ${e.origin??"giá trị"} ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`Quá nhỏ: mong đợi ${e.origin} ${n.verb} ${r}${e.minimum.toString()} ${n.unit}`:`Quá nhỏ: mong đợi ${e.origin} ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Chuỗi không hợp lệ: phải bắt đầu bằng "${t.prefix}"`:"ends_with"===t.format?`Chuỗi không hợp lệ: phải kết thúc bằng "${t.suffix}"`:"includes"===t.format?`Chuỗi không hợp lệ: phải bao gồm "${t.includes}"`:"regex"===t.format?`Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}`:`${n[t.format]??e.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${e.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${Em(e.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${e.origin}`;case"invalid_union":default:return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${e.origin}`}}}),"error");function Qw(){return{localeError:Zw()}}Yp(Qw,"default");const Gw=Yp((()=>{let e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"非数字(NaN)":"数字";case"object":if(Array.isArray(e))return"数组";if(null===e)return"空值(null)";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"};return e=>{switch(e.code){case"invalid_type":return`无效输入:期望 ${e.expected},实际接收 ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`无效输入:期望 ${Wm(e.values[0])}`:`无效选项:期望以下之一 ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`数值过大:期望 ${e.origin??"值"} ${r}${e.maximum.toString()} ${n.unit??"个元素"}`:`数值过大:期望 ${e.origin??"值"} ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`数值过小:期望 ${e.origin} ${r}${e.minimum.toString()} ${n.unit}`:`数值过小:期望 ${e.origin} ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`无效字符串:必须以 "${t.prefix}" 开头`:"ends_with"===t.format?`无效字符串:必须以 "${t.suffix}" 结尾`:"includes"===t.format?`无效字符串:必须包含 "${t.includes}"`:"regex"===t.format?`无效字符串:必须满足正则表达式 ${t.pattern}`:`无效${n[t.format]??e.format}`}case"not_multiple_of":return`无效数字:必须是 ${e.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${Em(e.keys,", ")}`;case"invalid_key":return`${e.origin} 中的键(key)无效`;case"invalid_union":default:return"无效输入";case"invalid_element":return`${e.origin} 中包含无效值(value)`}}}),"error");function Kw(){return{localeError:Gw()}}Yp(Kw,"default");const Yw=()=>{let e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function t(t){return e[t]??null}let r=Yp((e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t}),"parsedType"),n={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"};return e=>{switch(e.code){case"invalid_type":return`無效的輸入值:預期為 ${e.expected},但收到 ${r(e.input)}`;case"invalid_value":return 1===e.values.length?`無效的輸入值:預期為 ${Wm(e.values[0])}`:`無效的選項:預期為以下其中之一 ${Em(e.values,"|")}`;case"too_big":{let r=e.inclusive?"<=":"<",n=t(e.origin);return n?`數值過大:預期 ${e.origin??"值"} 應為 ${r}${e.maximum.toString()} ${n.unit??"個元素"}`:`數值過大:預期 ${e.origin??"值"} 應為 ${r}${e.maximum.toString()}`}case"too_small":{let r=e.inclusive?">=":">",n=t(e.origin);return n?`數值過小:預期 ${e.origin} 應為 ${r}${e.minimum.toString()} ${n.unit}`:`數值過小:預期 ${e.origin} 應為 ${r}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`無效的字串:必須以 "${t.prefix}" 開頭`:"ends_with"===t.format?`無效的字串:必須以 "${t.suffix}" 結尾`:"includes"===t.format?`無效的字串:必須包含 "${t.includes}"`:"regex"===t.format?`無效的字串:必須符合格式 ${t.pattern}`:`無效的 ${n[t.format]??e.format}`}case"not_multiple_of":return`無效的數字:必須為 ${e.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${e.keys.length>1?"們":""}:${Em(e.keys,"、")}`;case"invalid_key":return`${e.origin} 中有無效的鍵值`;case"invalid_union":default:return"無效的輸入值";case"invalid_element":return`${e.origin} 中有無效的值`}}};function Ww(){return{localeError:Yw()}}Yp(Ww,"default");var Hw=Wp({ar:()=>Cb,az:()=>Eb,be:()=>zb,ca:()=>Ob,cs:()=>Nb,de:()=>Db,en:()=>Rb,eo:()=>Fb,es:()=>Lb,fa:()=>Zb,fi:()=>Gb,fr:()=>Yb,frCA:()=>Hb,he:()=>Jb,hu:()=>ew,id:()=>rw,it:()=>aw,ja:()=>ow,kh:()=>lw,ko:()=>cw,mk:()=>pw,ms:()=>fw,nl:()=>gw,no:()=>yw,ota:()=>ww,pl:()=>Aw,ps:()=>kw,pt:()=>Sw,ru:()=>Iw,sl:()=>_w,sv:()=>Pw,ta:()=>Tw,th:()=>Rw,tr:()=>$w,ua:()=>Vw,ur:()=>Uw,vi:()=>Qw,zhCN:()=>Kw,zhTW:()=>Ww});const qw=Symbol("ZodOutput"),Jw=Symbol("ZodInput");var Xw=class{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){let r=t[0];if(this._map.set(e,r),r&&"object"==typeof r&&"id"in r){if(this._idmap.has(r.id))throw Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let r={...this.get(t)??{}};return delete r.id,{...r,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}};function ex(){return new Xw}const tx=ex();function rx(e,t){return new e({type:"string",...Km(t)})}function nx(e,t){return new e({type:"string",coerce:!0,...Km(t)})}function ax(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Km(t)})}function ix(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Km(t)})}function ox(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Km(t)})}function sx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Km(t)})}function lx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Km(t)})}function ux(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Km(t)})}function cx(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Km(t)})}function dx(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Km(t)})}function px(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Km(t)})}function hx(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Km(t)})}function fx(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Km(t)})}function mx(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Km(t)})}function gx(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Km(t)})}function vx(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Km(t)})}function yx(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Km(t)})}function bx(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Km(t)})}function wx(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Km(t)})}function xx(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Km(t)})}function kx(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Km(t)})}function Cx(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Km(t)})}function Ax(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Km(t)})}function Ex(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Km(t)})}const Sx={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function jx(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Km(t)})}function zx(e,t){return new e({type:"string",format:"date",check:"string_format",...Km(t)})}function Ix(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Km(t)})}function Ox(e,t){return new e({type:"string",format:"duration",check:"string_format",...Km(t)})}function _x(e,t){return new e({type:"number",checks:[],...Km(t)})}function Nx(e,t){return new e({type:"number",coerce:!0,checks:[],...Km(t)})}function Px(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Km(t)})}function Dx(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...Km(t)})}function Tx(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...Km(t)})}function Bx(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...Km(t)})}function Rx(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...Km(t)})}function Mx(e,t){return new e({type:"boolean",...Km(t)})}function $x(e,t){return new e({type:"boolean",coerce:!0,...Km(t)})}function Fx(e,t){return new e({type:"bigint",...Km(t)})}function Vx(e,t){return new e({type:"bigint",coerce:!0,...Km(t)})}function Lx(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...Km(t)})}function Ux(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...Km(t)})}function Zx(e,t){return new e({type:"symbol",...Km(t)})}function Qx(e,t){return new e({type:"undefined",...Km(t)})}function Gx(e,t){return new e({type:"null",...Km(t)})}function Kx(e){return new e({type:"any"})}function Yx(e){return new e({type:"unknown"})}function Wx(e,t){return new e({type:"never",...Km(t)})}function Hx(e,t){return new e({type:"void",...Km(t)})}function qx(e,t){return new e({type:"date",...Km(t)})}function Jx(e,t){return new e({type:"date",coerce:!0,...Km(t)})}function Xx(e,t){return new e({type:"nan",...Km(t)})}function ek(e,t){return new kv({check:"less_than",...Km(t),value:e,inclusive:!1})}function tk(e,t){return new kv({check:"less_than",...Km(t),value:e,inclusive:!0})}function rk(e,t){return new Cv({check:"greater_than",...Km(t),value:e,inclusive:!1})}function nk(e,t){return new Cv({check:"greater_than",...Km(t),value:e,inclusive:!0})}function ak(e){return rk(0,e)}function ik(e){return ek(0,e)}function ok(e){return tk(0,e)}function sk(e){return nk(0,e)}function lk(e,t){return new Av({check:"multiple_of",...Km(t),value:e})}function uk(e,t){return new jv({check:"max_size",...Km(t),maximum:e})}function ck(e,t){return new zv({check:"min_size",...Km(t),minimum:e})}function dk(e,t){return new Iv({check:"size_equals",...Km(t),size:e})}function pk(e,t){return new Ov({check:"max_length",...Km(t),maximum:e})}function hk(e,t){return new _v({check:"min_length",...Km(t),minimum:e})}function fk(e,t){return new Nv({check:"length_equals",...Km(t),length:e})}function mk(e,t){return new Dv({check:"string_format",format:"regex",...Km(t),pattern:e})}function gk(e){return new Tv({check:"string_format",format:"lowercase",...Km(e)})}function vk(e){return new Bv({check:"string_format",format:"uppercase",...Km(e)})}function yk(e,t){return new Rv({check:"string_format",format:"includes",...Km(t),includes:e})}function bk(e,t){return new Mv({check:"string_format",format:"starts_with",...Km(t),prefix:e})}function wk(e,t){return new $v({check:"string_format",format:"ends_with",...Km(t),suffix:e})}function xk(e,t,r){return new Vv({check:"property",property:e,schema:t,...Km(r)})}function kk(e,t){return new Lv({check:"mime_type",mime:e,...Km(t)})}function Ck(e){return new Uv({check:"overwrite",tx:e})}function Ak(e){return Ck((t=>t.normalize(e)))}function Ek(){return Ck((e=>e.trim()))}function Sk(){return Ck((e=>e.toLowerCase()))}function jk(){return Ck((e=>e.toUpperCase()))}function zk(e,t,r){return new e({type:"array",element:t,...Km(r)})}function Ik(e,t,r){return new e({type:"union",options:t,...Km(r)})}function Ok(e,t,r,n){return new e({type:"union",options:r,discriminator:t,...Km(n)})}function _k(e,t,r){return new e({type:"intersection",left:t,right:r})}function Nk(e,t,r,n){let a=r instanceof Gv;return new e({type:"tuple",items:t,rest:a?r:null,...Km(a?n:r)})}function Pk(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,...Km(n)})}function Dk(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,...Km(n)})}function Tk(e,t,r){return new e({type:"set",valueType:t,...Km(r)})}function Bk(e,t,r){return new e({type:"enum",entries:Array.isArray(t)?Object.fromEntries(t.map((e=>[e,e]))):t,...Km(r)})}function Rk(e,t,r){return new e({type:"enum",entries:t,...Km(r)})}function Mk(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...Km(r)})}function $k(e,t){return new e({type:"file",...Km(t)})}function Fk(e,t){return new e({type:"transform",transform:t})}function Vk(e,t){return new e({type:"optional",innerType:t})}function Lk(e,t){return new e({type:"nullable",innerType:t})}function Uk(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return"function"==typeof r?r():r}})}function Zk(e,t,r){return new e({type:"nonoptional",innerType:t,...Km(r)})}function Qk(e,t){return new e({type:"success",innerType:t})}function Gk(e,t,r){return new e({type:"catch",innerType:t,catchValue:"function"==typeof r?r:()=>r})}function Kk(e,t,r){return new e({type:"pipe",in:t,out:r})}function Yk(e,t){return new e({type:"readonly",innerType:t})}function Wk(e,t,r){return new e({type:"template_literal",parts:t,...Km(r)})}function Hk(e,t){return new e({type:"lazy",getter:t})}function qk(e,t){return new e({type:"promise",innerType:t})}function Jk(e,t,r){let n=Km(r);return n.abort??=!0,new e({type:"custom",check:"custom",fn:t,...n})}function Xk(e,t,r){return new e({type:"custom",check:"custom",fn:t,...Km(r)})}function eC(e,t){let r=Km(t),n=r.truthy??["true","1","yes","on","y","enabled"],a=r.falsy??["false","0","no","off","n","disabled"];"sensitive"!==r.case&&(n=n.map((e=>"string"==typeof e?e.toLowerCase():e)),a=a.map((e=>"string"==typeof e?e.toLowerCase():e)));let i=new Set(n),o=new Set(a),s=e.Pipe??hb,l=e.Boolean??Ay,u=e.String??Kv,c=new(e.Transform??rb)({type:"transform",transform:(e,t)=>{let n=e;return"sensitive"!==r.case&&(n=n.toLowerCase()),!!i.has(n)||!o.has(n)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...o],input:t.value,inst:c}),{})},error:r.error});return new s({type:"pipe",in:new s({type:"pipe",in:new u({type:"string",error:r.error}),out:c,error:r.error}),out:new l({type:"boolean",error:r.error}),error:r.error})}function tC(e,t,r,n={}){let a=Km(n),i={...Km(n),check:"string_format",type:"string",format:t,fn:"function"==typeof r?r:e=>r.test(e),...a};return r instanceof RegExp&&(i.pattern=r),new e(i)}Yp(Qx,"_undefined"),Yp(Gx,"_null"),Yp(Hx,"_void"),Yp(Bk,"_enum"),Yp(Uk,"_default"),Yp(Gk,"_catch");var rC=class{constructor(e){this._def=e,this.def=e}implement(e){if("function"!=typeof e)throw Error("implement() must be called with a function");let t=(...r)=>{let n=this._def.input?Cg(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let a=e(...n);return this._def.output?Cg(this._def.output,a,void 0,{callee:t}):a};return t}implementAsync(e){if("function"!=typeof e)throw Error("implement() must be called with a function");let t=async(...r)=>{let n=this._def.input?await Eg(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let a=await e(...n);return this._def.output?Eg(this._def.output,a,void 0,{callee:t}):a};return t}input(...e){let t=this.constructor;return Array.isArray(e[0])?new t({type:"function",input:new Gy({type:"tuple",items:e[0],rest:e[1]}),output:this._def.output}):new t({type:"function",input:e[0],output:this._def.output})}output(e){return new(0,this.constructor)({type:"function",input:this._def.input,output:e})}};function nC(e){return new rC({type:"function",input:Array.isArray(e?.input)?Nk(Gy,e?.input):e?.input??zk(By,Yx(_y)),output:e?.output??Yx(_y)})}var aC=class{constructor(e){this.counter=0,this.metadataRegistry=e?.metadata??tx,this.target=e?.target??"draft-2020-12",this.unrepresentable=e?.unrepresentable??"throw",this.override=e?.override??(()=>{}),this.io=e?.io??"output",this.seen=new Map}process(e,t={path:[],schemaPath:[]}){var r;let n=e._zod.def,a={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},i=this.seen.get(e);if(i)return i.count++,t.schemaPath.includes(e)&&(i.cycle=t.path),i.schema;let o={schema:{},count:1,cycle:void 0,path:t.path};this.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...t,schemaPath:[...t.schemaPath,e],path:t.path},i=e._zod.parent;if(i)o.ref=i,this.process(i,r),this.seen.get(i).isParent=!0;else{let t=o.schema;switch(n.type){case"string":{let r=t;r.type="string";let{minimum:n,maximum:i,format:s,patterns:l,contentEncoding:u}=e._zod.bag;if("number"==typeof n&&(r.minLength=n),"number"==typeof i&&(r.maxLength=i),s&&(r.format=a[s]??s,""===r.format&&delete r.format),u&&(r.contentEncoding=u),l&&l.size>0){let e=[...l];1===e.length?r.pattern=e[0].source:e.length>1&&(o.schema.allOf=[...e.map((e=>({..."draft-7"===this.target?{type:"string"}:{},pattern:e.source})))])}break}case"number":{let r=t,{minimum:n,maximum:a,format:i,multipleOf:o,exclusiveMaximum:s,exclusiveMinimum:l}=e._zod.bag;"string"==typeof i&&i.includes("int")?r.type="integer":r.type="number","number"==typeof l&&(r.exclusiveMinimum=l),"number"==typeof n&&(r.minimum=n,"number"==typeof l&&(l>=n?delete r.minimum:delete r.exclusiveMinimum)),"number"==typeof s&&(r.exclusiveMaximum=s),"number"==typeof a&&(r.maximum=a,"number"==typeof s&&(s<=a?delete r.maximum:delete r.exclusiveMaximum)),"number"==typeof o&&(r.multipleOf=o);break}case"boolean":case"success":t.type="boolean";break;case"bigint":if("throw"===this.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema");break;case"symbol":if("throw"===this.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema");break;case"null":t.type="null";break;case"any":case"unknown":break;case"undefined":if("throw"===this.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema");break;case"void":if("throw"===this.unrepresentable)throw Error("Void cannot be represented in JSON Schema");break;case"never":t.not={};break;case"date":if("throw"===this.unrepresentable)throw Error("Date cannot be represented in JSON Schema");break;case"array":{let a=t,{minimum:i,maximum:o}=e._zod.bag;"number"==typeof i&&(a.minItems=i),"number"==typeof o&&(a.maxItems=o),a.type="array",a.items=this.process(n.element,{...r,path:[...r.path,"items"]});break}case"object":{let e=t;e.type="object",e.properties={};let a=n.shape;for(let t in a)e.properties[t]=this.process(a[t],{...r,path:[...r.path,"properties",t]});let i=new Set(Object.keys(a)),o=new Set([...i].filter((e=>{let t=n.shape[e]._zod;return"input"===this.io?void 0===t.optin:void 0===t.optout})));o.size>0&&(e.required=Array.from(o)),"never"===n.catchall?._zod.def.type?e.additionalProperties=!1:n.catchall?n.catchall&&(e.additionalProperties=this.process(n.catchall,{...r,path:[...r.path,"additionalProperties"]})):"output"===this.io&&(e.additionalProperties=!1);break}case"union":t.anyOf=n.options.map(((e,t)=>this.process(e,{...r,path:[...r.path,"anyOf",t]})));break;case"intersection":{let e=t,a=this.process(n.left,{...r,path:[...r.path,"allOf",0]}),i=this.process(n.right,{...r,path:[...r.path,"allOf",1]}),o=e=>"allOf"in e&&1===Object.keys(e).length;e.allOf=[...o(a)?a.allOf:[a],...o(i)?i.allOf:[i]];break}case"tuple":{let a=t;a.type="array";let i=n.items.map(((e,t)=>this.process(e,{...r,path:[...r.path,"prefixItems",t]})));if("draft-2020-12"===this.target?a.prefixItems=i:a.items=i,n.rest){let e=this.process(n.rest,{...r,path:[...r.path,"items"]});"draft-2020-12"===this.target?a.items=e:a.additionalItems=e}n.rest&&(a.items=this.process(n.rest,{...r,path:[...r.path,"items"]}));let{minimum:o,maximum:s}=e._zod.bag;"number"==typeof o&&(a.minItems=o),"number"==typeof s&&(a.maxItems=s);break}case"record":{let e=t;e.type="object",e.propertyNames=this.process(n.keyType,{...r,path:[...r.path,"propertyNames"]}),e.additionalProperties=this.process(n.valueType,{...r,path:[...r.path,"additionalProperties"]});break}case"map":if("throw"===this.unrepresentable)throw Error("Map cannot be represented in JSON Schema");break;case"set":if("throw"===this.unrepresentable)throw Error("Set cannot be represented in JSON Schema");break;case"enum":{let e=t,r=Am(n.entries);r.every((e=>"number"==typeof e))&&(e.type="number"),r.every((e=>"string"==typeof e))&&(e.type="string"),e.enum=r;break}case"literal":{let e=t,r=[];for(let e of n.values)if(void 0===e){if("throw"===this.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e){if("throw"===this.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");r.push(Number(e))}else r.push(e);if(0!==r.length)if(1===r.length){let t=r[0];e.type=null===t?"null":typeof t,e.const=t}else r.every((e=>"number"==typeof e))&&(e.type="number"),r.every((e=>"string"==typeof e))&&(e.type="string"),r.every((e=>"boolean"==typeof e))&&(e.type="string"),r.every((e=>null===e))&&(e.type="null"),e.enum=r;break}case"file":{let r=t,n={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:i,mime:o}=e._zod.bag;void 0!==a&&(n.minLength=a),void 0!==i&&(n.maxLength=i),o?1===o.length?(n.contentMediaType=o[0],Object.assign(r,n)):r.anyOf=o.map((e=>({...n,contentMediaType:e}))):Object.assign(r,n);break}case"transform":if("throw"===this.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema");break;case"nullable":t.anyOf=[this.process(n.innerType,r),{type:"null"}];break;case"nonoptional":case"promise":case"optional":this.process(n.innerType,r),o.ref=n.innerType;break;case"default":this.process(n.innerType,r),o.ref=n.innerType,t.default=JSON.parse(JSON.stringify(n.defaultValue));break;case"prefault":this.process(n.innerType,r),o.ref=n.innerType,"input"===this.io&&(t._prefault=JSON.parse(JSON.stringify(n.defaultValue)));break;case"catch":{let e;this.process(n.innerType,r),o.ref=n.innerType;try{e=n.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}t.default=e;break}case"nan":if("throw"===this.unrepresentable)throw Error("NaN cannot be represented in JSON Schema");break;case"template_literal":{let r=t,n=e._zod.pattern;if(!n)throw Error("Pattern not found in template literal");r.type="string",r.pattern=n.source;break}case"pipe":{let e="input"===this.io?"transform"===n.in._zod.def.type?n.out:n.in:n.out;this.process(e,r),o.ref=e;break}case"readonly":this.process(n.innerType,r),o.ref=n.innerType,t.readOnly=!0;break;case"lazy":{let t=e._zod.innerType;this.process(t,r),o.ref=t;break}case"custom":if("throw"===this.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")}}}let l=this.metadataRegistry.get(e);return l&&Object.assign(o.schema,l),"input"===this.io&&oC(e)&&(delete o.schema.examples,delete o.schema.default),"input"===this.io&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,this.seen.get(e).schema}emit(e,t){let r={cycles:t?.cycles??"ref",reused:t?.reused??"inline",external:t?.external??void 0},n=this.seen.get(e);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let a=e=>{let t="draft-2020-12"===this.target?"$defs":"definitions";if(r.external){let n=r.external.registry.get(e[0])?.id,a=r.external.uri??(e=>e);if(n)return{ref:a(n)};let i=e[1].defId??e[1].schema.id??"schema"+this.counter++;return e[1].defId=i,{defId:i,ref:`${a("__shared")}#/${t}/${i}`}}if(e[1]===n)return{ref:"#"};let a=`#/${t}/`,i=e[1].schema.id??"__schema"+this.counter++;return{defId:i,ref:a+i}},i=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:r,defId:n}=a(e);t.def={...t.schema},n&&(t.defId=n);let i=t.schema;for(let e in i)delete i[e];i.$ref=r};if("throw"===r.cycles)for(let e of this.seen.entries()){let t=e[1];if(t.cycle)throw Error(`Cycle detected: #/${t.cycle?.join("/")}/<root>\n\nSet the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let t of this.seen.entries()){let n=t[1];if(e!==t[0]){if(r.external){let n=r.external.registry.get(t[0])?.id;if(e!==t[0]&&n){i(t);continue}}(this.metadataRegistry.get(t[0])?.id||n.cycle||n.count>1&&"ref"===r.reused)&&i(t)}else i(t)}let o=(e,t)=>{let r=this.seen.get(e),n=r.def??r.schema,a={...n};if(null===r.ref)return;let i=r.ref;if(r.ref=null,i){o(i,t);let e=this.seen.get(i).schema;e.$ref&&"draft-7"===t.target?(n.allOf=n.allOf??[],n.allOf.push(e)):(Object.assign(n,e),Object.assign(n,a))}r.isParent||this.override({zodSchema:e,jsonSchema:n,path:r.path??[]})};for(let e of[...this.seen.entries()].reverse())o(e[0],{target:this.target});let s={};if("draft-2020-12"===this.target?s.$schema="https://json-schema.org/draft/2020-12/schema":"draft-7"===this.target?s.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),r.external?.uri){let t=r.external.registry.get(e)?.id;if(!t)throw Error("Schema is missing an `id` property");s.$id=r.external.uri(t)}Object.assign(s,n.def);let l=r.external?.defs??{};for(let e of this.seen.entries()){let t=e[1];t.def&&t.defId&&(l[t.defId]=t.def)}r.external||Object.keys(l).length>0&&("draft-2020-12"===this.target?s.$defs=l:s.definitions=l);try{return JSON.parse(JSON.stringify(s))}catch{throw Error("Error converting schema to JSON.")}}};function iC(e,t){if(e instanceof Xw){let r=new aC(t),n={};for(let t of e._idmap.entries()){let[e,n]=t;r.process(n)}let a={},i={registry:e,uri:t?.uri,defs:n};for(let n of e._idmap.entries()){let[e,o]=n;a[e]=r.emit(o,{...t,external:i})}return Object.keys(n).length>0&&(a.__shared={["draft-2020-12"===r.target?"$defs":"definitions"]:n}),{schemas:a}}let r=new aC(t);return r.process(e),r.emit(e,t)}function oC(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;switch(n.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":case"custom":case"success":case"catch":return!1;case"array":return oC(n.element,r);case"object":for(let e in n.shape)if(oC(n.shape[e],r))return!0;return!1;case"union":for(let e of n.options)if(oC(e,r))return!0;return!1;case"intersection":return oC(n.left,r)||oC(n.right,r);case"tuple":for(let e of n.items)if(oC(e,r))return!0;return!(!n.rest||!oC(n.rest,r));case"record":case"map":return oC(n.keyType,r)||oC(n.valueType,r);case"set":return oC(n.valueType,r);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":case"default":case"prefault":return oC(n.innerType,r);case"lazy":return oC(n.getter(),r);case"transform":return!0;case"pipe":return oC(n.in,r)||oC(n.out,r)}throw Error(`Unknown schema type: ${n.type}`)}var sC={},lC=Wp({$ZodAny:()=>Oy,$ZodArray:()=>By,$ZodAsyncError:()=>mm,$ZodBase64:()=>my,$ZodBase64URL:()=>vy,$ZodBigInt:()=>Ey,$ZodBigIntFormat:()=>Sy,$ZodBoolean:()=>Ay,$ZodCIDRv4:()=>py,$ZodCIDRv6:()=>hy,$ZodCUID:()=>ty,$ZodCUID2:()=>ry,$ZodCatch:()=>db,$ZodCheck:()=>wv,$ZodCheckBigIntFormat:()=>Sv,$ZodCheckEndsWith:()=>$v,$ZodCheckGreaterThan:()=>Cv,$ZodCheckIncludes:()=>Rv,$ZodCheckLengthEquals:()=>Nv,$ZodCheckLessThan:()=>kv,$ZodCheckLowerCase:()=>Tv,$ZodCheckMaxLength:()=>Ov,$ZodCheckMaxSize:()=>jv,$ZodCheckMimeType:()=>Lv,$ZodCheckMinLength:()=>_v,$ZodCheckMinSize:()=>zv,$ZodCheckMultipleOf:()=>Av,$ZodCheckNumberFormat:()=>Ev,$ZodCheckOverwrite:()=>Uv,$ZodCheckProperty:()=>Vv,$ZodCheckRegex:()=>Dv,$ZodCheckSizeEquals:()=>Iv,$ZodCheckStartsWith:()=>Mv,$ZodCheckStringFormat:()=>Pv,$ZodCheckUpperCase:()=>Bv,$ZodCustom:()=>wb,$ZodCustomStringFormat:()=>xy,$ZodDate:()=>Dy,$ZodDefault:()=>ib,$ZodDiscriminatedUnion:()=>Ly,$ZodE164:()=>yy,$ZodEmail:()=>qv,$ZodEmoji:()=>Xv,$ZodEnum:()=>Xy,$ZodError:()=>mg,$ZodFile:()=>tb,$ZodFunction:()=>rC,$ZodGUID:()=>Wv,$ZodIPv4:()=>cy,$ZodIPv6:()=>dy,$ZodISODate:()=>sy,$ZodISODateTime:()=>oy,$ZodISODuration:()=>uy,$ZodISOTime:()=>ly,$ZodIntersection:()=>Uy,$ZodJWT:()=>wy,$ZodKSUID:()=>iy,$ZodLazy:()=>bb,$ZodLiteral:()=>eb,$ZodMap:()=>Wy,$ZodNaN:()=>pb,$ZodNanoID:()=>ey,$ZodNever:()=>Ny,$ZodNonOptional:()=>lb,$ZodNull:()=>Iy,$ZodNullable:()=>ab,$ZodNumber:()=>ky,$ZodNumberFormat:()=>Cy,$ZodObject:()=>$y,$ZodOptional:()=>nb,$ZodPipe:()=>hb,$ZodPrefault:()=>sb,$ZodPromise:()=>yb,$ZodReadonly:()=>mb,$ZodRealError:()=>gg,$ZodRecord:()=>Yy,$ZodRegistry:()=>Xw,$ZodSet:()=>qy,$ZodString:()=>Kv,$ZodStringFormat:()=>Yv,$ZodSuccess:()=>cb,$ZodSymbol:()=>jy,$ZodTemplateLiteral:()=>vb,$ZodTransform:()=>rb,$ZodTuple:()=>Gy,$ZodType:()=>Gv,$ZodULID:()=>ny,$ZodURL:()=>Jv,$ZodUUID:()=>Hv,$ZodUndefined:()=>zy,$ZodUnion:()=>Vy,$ZodUnknown:()=>_y,$ZodVoid:()=>Py,$ZodXID:()=>ay,$brand:()=>fm,$constructor:()=>hm,$input:()=>Jw,$output:()=>qw,Doc:()=>Zv,JSONSchema:()=>sC,JSONSchemaGenerator:()=>aC,NEVER:()=>pm,TimePrecision:()=>Sx,_any:()=>Kx,_array:()=>zk,_base64:()=>kx,_base64url:()=>Cx,_bigint:()=>Fx,_boolean:()=>Mx,_catch:()=>Gk,_cidrv4:()=>wx,_cidrv6:()=>xx,_coercedBigint:()=>Vx,_coercedBoolean:()=>$x,_coercedDate:()=>Jx,_coercedNumber:()=>Nx,_coercedString:()=>nx,_cuid:()=>hx,_cuid2:()=>fx,_custom:()=>Jk,_date:()=>qx,_default:()=>Uk,_discriminatedUnion:()=>Ok,_e164:()=>Ax,_email:()=>ax,_emoji:()=>dx,_endsWith:()=>wk,_enum:()=>Bk,_file:()=>$k,_float32:()=>Dx,_float64:()=>Tx,_gt:()=>rk,_gte:()=>nk,_guid:()=>ix,_includes:()=>yk,_int:()=>Px,_int32:()=>Bx,_int64:()=>Lx,_intersection:()=>_k,_ipv4:()=>yx,_ipv6:()=>bx,_isoDate:()=>zx,_isoDateTime:()=>jx,_isoDuration:()=>Ox,_isoTime:()=>Ix,_jwt:()=>Ex,_ksuid:()=>vx,_lazy:()=>Hk,_length:()=>fk,_literal:()=>Mk,_lowercase:()=>gk,_lt:()=>ek,_lte:()=>tk,_map:()=>Dk,_max:()=>tk,_maxLength:()=>pk,_maxSize:()=>uk,_mime:()=>kk,_min:()=>nk,_minLength:()=>hk,_minSize:()=>ck,_multipleOf:()=>lk,_nan:()=>Xx,_nanoid:()=>px,_nativeEnum:()=>Rk,_negative:()=>ik,_never:()=>Wx,_nonnegative:()=>sk,_nonoptional:()=>Zk,_nonpositive:()=>ok,_normalize:()=>Ak,_null:()=>Gx,_nullable:()=>Lk,_number:()=>_x,_optional:()=>Vk,_overwrite:()=>Ck,_parse:()=>kg,_parseAsync:()=>Ag,_pipe:()=>Kk,_positive:()=>ak,_promise:()=>qk,_property:()=>xk,_readonly:()=>Yk,_record:()=>Pk,_refine:()=>Xk,_regex:()=>mk,_safeParse:()=>Sg,_safeParseAsync:()=>zg,_set:()=>Tk,_size:()=>dk,_startsWith:()=>bk,_string:()=>rx,_stringFormat:()=>tC,_stringbool:()=>eC,_success:()=>Qk,_symbol:()=>Zx,_templateLiteral:()=>Wk,_toLowerCase:()=>Sk,_toUpperCase:()=>jk,_transform:()=>Fk,_trim:()=>Ek,_tuple:()=>Nk,_uint32:()=>Rx,_uint64:()=>Ux,_ulid:()=>mx,_undefined:()=>Qx,_union:()=>Ik,_unknown:()=>Yx,_uppercase:()=>vk,_url:()=>cx,_uuid:()=>ox,_uuidv4:()=>sx,_uuidv6:()=>lx,_uuidv7:()=>ux,_void:()=>Hx,_xid:()=>gx,clone:()=>Gm,config:()=>vm,flattenError:()=>vg,formatError:()=>yg,function:()=>nC,globalConfig:()=>gm,globalRegistry:()=>tx,isValidBase64:()=>fy,isValidBase64URL:()=>gy,isValidJWT:()=>by,locales:()=>Hw,parse:()=>Cg,parseAsync:()=>Eg,prettifyError:()=>xg,regexes:()=>Og,registry:()=>ex,safeParse:()=>jg,safeParseAsync:()=>Ig,toDotPath:()=>wg,toJSONSchema:()=>iC,treeifyError:()=>bg,util:()=>ym,version:()=>Qv}),uC=Wp({ZodISODate:()=>pC,ZodISODateTime:()=>cC,ZodISODuration:()=>gC,ZodISOTime:()=>fC,date:()=>hC,datetime:()=>dC,duration:()=>vC,time:()=>mC});const cC=hm("ZodISODateTime",((e,t)=>{oy.init(e,t),IC.init(e,t)}));function dC(e){return jx(cC,e)}const pC=hm("ZodISODate",((e,t)=>{sy.init(e,t),IC.init(e,t)}));function hC(e){return zx(pC,e)}Yp(hC,"date");const fC=hm("ZodISOTime",((e,t)=>{ly.init(e,t),IC.init(e,t)}));function mC(e){return Ix(fC,e)}const gC=hm("ZodISODuration",((e,t)=>{uy.init(e,t),IC.init(e,t)}));function vC(e){return Ox(gC,e)}const yC=(e,t)=>{mg.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>yg(e,t)},flatten:{value:t=>vg(e,t)},addIssue:{value:t=>e.issues.push(t)},addIssues:{value:t=>e.issues.push(...t)},isEmpty:{get:()=>0===e.issues.length}})},bC=hm("ZodError",yC),wC=hm("ZodError",yC,{Parent:Error}),xC=kg(wC),kC=Ag(wC),CC=Sg(wC),AC=zg(wC),EC=hm("ZodType",((e,t)=>(Gv.init(e,t),e.def=t,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map((e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e))]}),e.clone=(t,r)=>Gm(e,t,r),e.brand=()=>e,e.register=(t,r)=>(t.add(e,r),e),e.parse=(t,r)=>xC(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>CC(e,t,r),e.parseAsync=async(t,r)=>kC(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>AC(e,t,r),e.spa=e.safeParseAsync,e.refine=(t,r)=>e.check(nS(t,r)),e.superRefine=t=>e.check(aS(t)),e.overwrite=t=>e.check(Ck(t)),e.optional=()=>zE(e),e.nullable=()=>OE(e),e.nullish=()=>zE(OE(e)),e.nonoptional=t=>RE(e,t),e.array=()=>qA(e),e.or=t=>aE([e,t]),e.and=t=>lE(e,t),e.transform=t=>QE(e,SE(t)),e.default=t=>PE(e,t),e.prefault=t=>TE(e,t),e.catch=t=>VE(e,t),e.pipe=t=>QE(e,t),e.readonly=()=>KE(e),e.describe=t=>{let r=e.clone();return tx.add(r,{description:t}),r},Object.defineProperty(e,"description",{get:()=>tx.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return tx.get(e);let r=e.clone();return tx.add(r,t[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e))),SC=hm("_ZodString",((e,t)=>{Kv.init(e,t),EC.init(e,t);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...t)=>e.check(mk(...t)),e.includes=(...t)=>e.check(yk(...t)),e.startsWith=(...t)=>e.check(bk(...t)),e.endsWith=(...t)=>e.check(wk(...t)),e.min=(...t)=>e.check(hk(...t)),e.max=(...t)=>e.check(pk(...t)),e.length=(...t)=>e.check(fk(...t)),e.nonempty=(...t)=>e.check(hk(1,...t)),e.lowercase=t=>e.check(gk(t)),e.uppercase=t=>e.check(vk(t)),e.trim=()=>e.check(Ek()),e.normalize=(...t)=>e.check(Ak(...t)),e.toLowerCase=()=>e.check(Sk()),e.toUpperCase=()=>e.check(jk())})),jC=hm("ZodString",((e,t)=>{Kv.init(e,t),SC.init(e,t),e.email=t=>e.check(ax(OC,t)),e.url=t=>e.check(cx($C,t)),e.jwt=t=>e.check(Ex(mA,t)),e.emoji=t=>e.check(dx(VC,t)),e.guid=t=>e.check(ix(NC,t)),e.uuid=t=>e.check(ox(DC,t)),e.uuidv4=t=>e.check(sx(DC,t)),e.uuidv6=t=>e.check(lx(DC,t)),e.uuidv7=t=>e.check(ux(DC,t)),e.nanoid=t=>e.check(px(UC,t)),e.guid=t=>e.check(ix(NC,t)),e.cuid=t=>e.check(hx(QC,t)),e.cuid2=t=>e.check(fx(KC,t)),e.ulid=t=>e.check(mx(WC,t)),e.base64=t=>e.check(kx(uA,t)),e.base64url=t=>e.check(Cx(dA,t)),e.xid=t=>e.check(gx(qC,t)),e.ksuid=t=>e.check(vx(XC,t)),e.ipv4=t=>e.check(yx(tA,t)),e.ipv6=t=>e.check(bx(nA,t)),e.cidrv4=t=>e.check(wx(iA,t)),e.cidrv6=t=>e.check(xx(sA,t)),e.e164=t=>e.check(Ax(hA,t)),e.datetime=t=>e.check(dC(t)),e.date=t=>e.check(hC(t)),e.time=t=>e.check(mC(t)),e.duration=t=>e.check(vC(t))}));function zC(e){return rx(jC,e)}Yp(zC,"string");const IC=hm("ZodStringFormat",((e,t)=>{Yv.init(e,t),SC.init(e,t)})),OC=hm("ZodEmail",((e,t)=>{qv.init(e,t),IC.init(e,t)}));function _C(e){return ax(OC,e)}const NC=hm("ZodGUID",((e,t)=>{Wv.init(e,t),IC.init(e,t)}));function PC(e){return ix(NC,e)}const DC=hm("ZodUUID",((e,t)=>{Hv.init(e,t),IC.init(e,t)}));function TC(e){return ox(DC,e)}function BC(e){return sx(DC,e)}function RC(e){return lx(DC,e)}function MC(e){return ux(DC,e)}const $C=hm("ZodURL",((e,t)=>{Jv.init(e,t),IC.init(e,t)}));function FC(e){return cx($C,e)}const VC=hm("ZodEmoji",((e,t)=>{Xv.init(e,t),IC.init(e,t)}));function LC(e){return dx(VC,e)}const UC=hm("ZodNanoID",((e,t)=>{ey.init(e,t),IC.init(e,t)}));function ZC(e){return px(UC,e)}const QC=hm("ZodCUID",((e,t)=>{ty.init(e,t),IC.init(e,t)}));function GC(e){return hx(QC,e)}const KC=hm("ZodCUID2",((e,t)=>{ry.init(e,t),IC.init(e,t)}));function YC(e){return fx(KC,e)}const WC=hm("ZodULID",((e,t)=>{ny.init(e,t),IC.init(e,t)}));function HC(e){return mx(WC,e)}const qC=hm("ZodXID",((e,t)=>{ay.init(e,t),IC.init(e,t)}));function JC(e){return gx(qC,e)}const XC=hm("ZodKSUID",((e,t)=>{iy.init(e,t),IC.init(e,t)}));function eA(e){return vx(XC,e)}const tA=hm("ZodIPv4",((e,t)=>{cy.init(e,t),IC.init(e,t)}));function rA(e){return yx(tA,e)}const nA=hm("ZodIPv6",((e,t)=>{dy.init(e,t),IC.init(e,t)}));function aA(e){return bx(nA,e)}const iA=hm("ZodCIDRv4",((e,t)=>{py.init(e,t),IC.init(e,t)}));function oA(e){return wx(iA,e)}const sA=hm("ZodCIDRv6",((e,t)=>{hy.init(e,t),IC.init(e,t)}));function lA(e){return xx(sA,e)}const uA=hm("ZodBase64",((e,t)=>{my.init(e,t),IC.init(e,t)}));function cA(e){return kx(uA,e)}const dA=hm("ZodBase64URL",((e,t)=>{vy.init(e,t),IC.init(e,t)}));function pA(e){return Cx(dA,e)}const hA=hm("ZodE164",((e,t)=>{yy.init(e,t),IC.init(e,t)}));function fA(e){return Ax(hA,e)}const mA=hm("ZodJWT",((e,t)=>{wy.init(e,t),IC.init(e,t)}));function gA(e){return Ex(mA,e)}const vA=hm("ZodCustomStringFormat",((e,t)=>{xy.init(e,t),IC.init(e,t)}));function yA(e,t,r={}){return tC(vA,e,t,r)}const bA=hm("ZodNumber",((e,t)=>{ky.init(e,t),EC.init(e,t),e.gt=(t,r)=>e.check(rk(t,r)),e.gte=(t,r)=>e.check(nk(t,r)),e.min=(t,r)=>e.check(nk(t,r)),e.lt=(t,r)=>e.check(ek(t,r)),e.lte=(t,r)=>e.check(tk(t,r)),e.max=(t,r)=>e.check(tk(t,r)),e.int=t=>e.check(kA(t)),e.safe=t=>e.check(kA(t)),e.positive=t=>e.check(rk(0,t)),e.nonnegative=t=>e.check(nk(0,t)),e.negative=t=>e.check(ek(0,t)),e.nonpositive=t=>e.check(tk(0,t)),e.multipleOf=(t,r)=>e.check(lk(t,r)),e.step=(t,r)=>e.check(lk(t,r)),e.finite=()=>e;let r=e._zod.bag;e.minValue=Math.max(r.minimum??-1/0,r.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(r.maximum??1/0,r.exclusiveMaximum??1/0)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null}));function wA(e){return _x(bA,e)}Yp(wA,"number");const xA=hm("ZodNumberFormat",((e,t)=>{Cy.init(e,t),bA.init(e,t)}));function kA(e){return Px(xA,e)}function CA(e){return Dx(xA,e)}function AA(e){return Tx(xA,e)}function EA(e){return Bx(xA,e)}function SA(e){return Rx(xA,e)}const jA=hm("ZodBoolean",((e,t)=>{Ay.init(e,t),EC.init(e,t)}));function zA(e){return Mx(jA,e)}Yp(zA,"boolean");const IA=hm("ZodBigInt",((e,t)=>{Ey.init(e,t),EC.init(e,t),e.gte=(t,r)=>e.check(nk(t,r)),e.min=(t,r)=>e.check(nk(t,r)),e.gt=(t,r)=>e.check(rk(t,r)),e.gte=(t,r)=>e.check(nk(t,r)),e.min=(t,r)=>e.check(nk(t,r)),e.lt=(t,r)=>e.check(ek(t,r)),e.lte=(t,r)=>e.check(tk(t,r)),e.max=(t,r)=>e.check(tk(t,r)),e.positive=t=>e.check(rk(BigInt(0),t)),e.negative=t=>e.check(ek(BigInt(0),t)),e.nonpositive=t=>e.check(tk(BigInt(0),t)),e.nonnegative=t=>e.check(nk(BigInt(0),t)),e.multipleOf=(t,r)=>e.check(lk(t,r));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null}));function OA(e){return Fx(IA,e)}Yp(OA,"bigint");const _A=hm("ZodBigIntFormat",((e,t)=>{Sy.init(e,t),IA.init(e,t)}));function NA(e){return Lx(_A,e)}function PA(e){return Ux(_A,e)}const DA=hm("ZodSymbol",((e,t)=>{jy.init(e,t),EC.init(e,t)}));function TA(e){return Zx(DA,e)}const BA=hm("ZodUndefined",((e,t)=>{zy.init(e,t),EC.init(e,t)}));function RA(e){return Qx(BA,e)}const MA=hm("ZodNull",((e,t)=>{Iy.init(e,t),EC.init(e,t)}));function $A(e){return Gx(MA,e)}const FA=hm("ZodAny",((e,t)=>{Oy.init(e,t),EC.init(e,t)}));function VA(){return Kx(FA)}const LA=hm("ZodUnknown",((e,t)=>{_y.init(e,t),EC.init(e,t)}));function UA(){return Yx(LA)}const ZA=hm("ZodNever",((e,t)=>{Ny.init(e,t),EC.init(e,t)}));function QA(e){return Wx(ZA,e)}const GA=hm("ZodVoid",((e,t)=>{Py.init(e,t),EC.init(e,t)}));function KA(e){return Hx(GA,e)}const YA=hm("ZodDate",((e,t)=>{Dy.init(e,t),EC.init(e,t),e.min=(t,r)=>e.check(nk(t,r)),e.max=(t,r)=>e.check(tk(t,r));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null}));function WA(e){return qx(YA,e)}Yp(WA,"date");const HA=hm("ZodArray",((e,t)=>{By.init(e,t),EC.init(e,t),e.element=t.element,e.min=(t,r)=>e.check(hk(t,r)),e.nonempty=t=>e.check(hk(1,t)),e.max=(t,r)=>e.check(pk(t,r)),e.length=(t,r)=>e.check(fk(t,r)),e.unwrap=()=>e.element}));function qA(e,t){return zk(HA,e,t)}function JA(e){let t=e._zod.def.shape;return kE(Object.keys(t))}const XA=hm("ZodObject",((e,t)=>{$y.init(e,t),EC.init(e,t),_m(e,"shape",(()=>t.shape)),e.keyof=()=>bE(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:UA()}),e.loose=()=>e.clone({...e._zod.def,catchall:UA()}),e.strict=()=>e.clone({...e._zod.def,catchall:QA()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>tg(e,t),e.merge=t=>rg(e,t),e.pick=t=>Xm(e,t),e.omit=t=>eg(e,t),e.partial=(...t)=>ng(jE,e,t[0]),e.required=(...t)=>ag(BE,e,t[0])}));function eE(e,t){return new XA({type:"object",get shape(){return Nm(this,"shape",{...e}),this.shape},...Km(t)})}function tE(e,t){return new XA({type:"object",get shape(){return Nm(this,"shape",{...e}),this.shape},catchall:QA(),...Km(t)})}function rE(e,t){return new XA({type:"object",get shape(){return Nm(this,"shape",{...e}),this.shape},catchall:UA(),...Km(t)})}const nE=hm("ZodUnion",((e,t)=>{Vy.init(e,t),EC.init(e,t),e.options=t.options}));function aE(e,t){return new nE({type:"union",options:e,...Km(t)})}const iE=hm("ZodDiscriminatedUnion",((e,t)=>{nE.init(e,t),Ly.init(e,t)}));function oE(e,t,r){return new iE({type:"union",options:t,discriminator:e,...Km(r)})}const sE=hm("ZodIntersection",((e,t)=>{Uy.init(e,t),EC.init(e,t)}));function lE(e,t){return new sE({type:"intersection",left:e,right:t})}const uE=hm("ZodTuple",((e,t)=>{Gy.init(e,t),EC.init(e,t),e.rest=t=>e.clone({...e._zod.def,rest:t})}));function cE(e,t,r){let n=t instanceof Gv;return new uE({type:"tuple",items:e,rest:n?t:null,...Km(n?r:t)})}const dE=hm("ZodRecord",((e,t)=>{Yy.init(e,t),EC.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType}));function pE(e,t,r){return new dE({type:"record",keyType:e,valueType:t,...Km(r)})}function hE(e,t,r){return new dE({type:"record",keyType:aE([e,QA()]),valueType:t,...Km(r)})}const fE=hm("ZodMap",((e,t)=>{Wy.init(e,t),EC.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType}));function mE(e,t,r){return new fE({type:"map",keyType:e,valueType:t,...Km(r)})}const gE=hm("ZodSet",((e,t)=>{qy.init(e,t),EC.init(e,t),e.min=(...t)=>e.check(ck(...t)),e.nonempty=t=>e.check(ck(1,t)),e.max=(...t)=>e.check(uk(...t)),e.size=(...t)=>e.check(dk(...t))}));function vE(e,t){return new gE({type:"set",valueType:e,...Km(t)})}const yE=hm("ZodEnum",((e,t)=>{Xy.init(e,t),EC.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{let a={};for(let n of e){if(!r.has(n))throw Error(`Key ${n} not found in enum`);a[n]=t.entries[n]}return new yE({...t,checks:[],...Km(n),entries:a})},e.exclude=(e,n)=>{let a={...t.entries};for(let t of e){if(!r.has(t))throw Error(`Key ${t} not found in enum`);delete a[t]}return new yE({...t,checks:[],...Km(n),entries:a})}}));function bE(e,t){return new yE({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map((e=>[e,e]))):e,...Km(t)})}function wE(e,t){return new yE({type:"enum",entries:e,...Km(t)})}const xE=hm("ZodLiteral",((e,t)=>{eb.init(e,t),EC.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})}));function kE(e,t){return new xE({type:"literal",values:Array.isArray(e)?e:[e],...Km(t)})}const CE=hm("ZodFile",((e,t)=>{tb.init(e,t),EC.init(e,t),e.min=(t,r)=>e.check(ck(t,r)),e.max=(t,r)=>e.check(uk(t,r)),e.mime=(t,r)=>e.check(kk(Array.isArray(t)?t:[t],r))}));function AE(e){return $k(CE,e)}const EE=hm("ZodTransform",((e,t)=>{rb.init(e,t),EC.init(e,t),e._zod.parse=(r,n)=>{r.addIssue=n=>{if("string"==typeof n)r.issues.push(dg(n,r.value,t));else{let t=n;t.fatal&&(t.continue=!1),t.code??="custom",t.input??=r.value,t.inst??=e,t.continue??=!0,r.issues.push(dg(t))}};let a=t.transform(r.value,r);return a instanceof Promise?a.then((e=>(r.value=e,r))):(r.value=a,r)}}));function SE(e){return new EE({type:"transform",transform:e})}const jE=hm("ZodOptional",((e,t)=>{nb.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function zE(e){return new jE({type:"optional",innerType:e})}const IE=hm("ZodNullable",((e,t)=>{ab.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function OE(e){return new IE({type:"nullable",innerType:e})}function _E(e){return zE(OE(e))}const NE=hm("ZodDefault",((e,t)=>{ib.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}));function PE(e,t){return new NE({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():t}})}const DE=hm("ZodPrefault",((e,t)=>{sb.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function TE(e,t){return new DE({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():t}})}const BE=hm("ZodNonOptional",((e,t)=>{lb.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function RE(e,t){return new BE({type:"nonoptional",innerType:e,...Km(t)})}const ME=hm("ZodSuccess",((e,t)=>{cb.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function $E(e){return new ME({type:"success",innerType:e})}const FE=hm("ZodCatch",((e,t)=>{db.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}));function VE(e,t){return new FE({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}const LE=hm("ZodNaN",((e,t)=>{pb.init(e,t),EC.init(e,t)}));function UE(e){return Xx(LE,e)}const ZE=hm("ZodPipe",((e,t)=>{hb.init(e,t),EC.init(e,t),e.in=t.in,e.out=t.out}));function QE(e,t){return new ZE({type:"pipe",in:e,out:t})}const GE=hm("ZodReadonly",((e,t)=>{mb.init(e,t),EC.init(e,t)}));function KE(e){return new GE({type:"readonly",innerType:e})}const YE=hm("ZodTemplateLiteral",((e,t)=>{vb.init(e,t),EC.init(e,t)}));function WE(e,t){return new YE({type:"template_literal",parts:e,...Km(t)})}const HE=hm("ZodLazy",((e,t)=>{bb.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.getter()}));function qE(e){return new HE({type:"lazy",getter:e})}const JE=hm("ZodPromise",((e,t)=>{yb.init(e,t),EC.init(e,t),e.unwrap=()=>e._zod.def.innerType}));function XE(e){return new JE({type:"promise",innerType:e})}const eS=hm("ZodCustom",((e,t)=>{wb.init(e,t),EC.init(e,t)}));function tS(e){let t=new wv({check:"custom"});return t._zod.check=e,t}function rS(e,t){return Jk(eS,e??(()=>!0),t)}function nS(e,t={}){return Xk(eS,e,t)}function aS(e){let t=tS((r=>(r.addIssue=e=>{if("string"==typeof e)r.issues.push(dg(e,r.value,t._zod.def));else{let n=e;n.fatal&&(n.continue=!1),n.code??="custom",n.input??=r.value,n.inst??=t,n.continue??=!t._zod.def.abort,r.issues.push(dg(n))}},e(r.value,r))));return t}function iS(e,t={error:`Input not instance of ${e.name}`}){let r=new eS({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...Km(t)});return r._zod.bag.Class=e,r}const oS=(...e)=>eC({Pipe:ZE,Boolean:jA,String:jC,Transform:EE},...e);function sS(e){let t=qE((()=>aE([zC(e),wA(),zA(),$A(),qA(t),pE(zC(),t)])));return t}function lS(e,t){return QE(SE(e),t)}const uS={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function cS(e){vm({customError:e})}function dS(){return vm().customError}var pS=Wp({bigint:()=>gS,boolean:()=>mS,date:()=>vS,number:()=>fS,string:()=>hS});function hS(e){return nx(jC,e)}function fS(e){return Nx(bA,e)}function mS(e){return $x(jA,e)}function gS(e){return Vx(IA,e)}function vS(e){return Jx(YA,e)}Wp({$brand:()=>fm,$input:()=>Jw,$output:()=>qw,NEVER:()=>pm,TimePrecision:()=>Sx,ZodAny:()=>FA,ZodArray:()=>HA,ZodBase64:()=>uA,ZodBase64URL:()=>dA,ZodBigInt:()=>IA,ZodBigIntFormat:()=>_A,ZodBoolean:()=>jA,ZodCIDRv4:()=>iA,ZodCIDRv6:()=>sA,ZodCUID:()=>QC,ZodCUID2:()=>KC,ZodCatch:()=>FE,ZodCustom:()=>eS,ZodCustomStringFormat:()=>vA,ZodDate:()=>YA,ZodDefault:()=>NE,ZodDiscriminatedUnion:()=>iE,ZodE164:()=>hA,ZodEmail:()=>OC,ZodEmoji:()=>VC,ZodEnum:()=>yE,ZodError:()=>bC,ZodFile:()=>CE,ZodGUID:()=>NC,ZodIPv4:()=>tA,ZodIPv6:()=>nA,ZodISODate:()=>pC,ZodISODateTime:()=>cC,ZodISODuration:()=>gC,ZodISOTime:()=>fC,ZodIntersection:()=>sE,ZodIssueCode:()=>uS,ZodJWT:()=>mA,ZodKSUID:()=>XC,ZodLazy:()=>HE,ZodLiteral:()=>xE,ZodMap:()=>fE,ZodNaN:()=>LE,ZodNanoID:()=>UC,ZodNever:()=>ZA,ZodNonOptional:()=>BE,ZodNull:()=>MA,ZodNullable:()=>IE,ZodNumber:()=>bA,ZodNumberFormat:()=>xA,ZodObject:()=>XA,ZodOptional:()=>jE,ZodPipe:()=>ZE,ZodPrefault:()=>DE,ZodPromise:()=>JE,ZodReadonly:()=>GE,ZodRealError:()=>wC,ZodRecord:()=>dE,ZodSet:()=>gE,ZodString:()=>jC,ZodStringFormat:()=>IC,ZodSuccess:()=>ME,ZodSymbol:()=>DA,ZodTemplateLiteral:()=>YE,ZodTransform:()=>EE,ZodTuple:()=>uE,ZodType:()=>EC,ZodULID:()=>WC,ZodURL:()=>$C,ZodUUID:()=>DC,ZodUndefined:()=>BA,ZodUnion:()=>nE,ZodUnknown:()=>LA,ZodVoid:()=>GA,ZodXID:()=>qC,_ZodString:()=>SC,_default:()=>PE,any:()=>VA,array:()=>qA,base64:()=>cA,base64url:()=>pA,bigint:()=>OA,boolean:()=>zA,catch:()=>VE,check:()=>tS,cidrv4:()=>oA,cidrv6:()=>lA,clone:()=>Gm,coerce:()=>pS,config:()=>vm,core:()=>lC,cuid:()=>GC,cuid2:()=>YC,custom:()=>rS,date:()=>WA,discriminatedUnion:()=>oE,e164:()=>fA,email:()=>_C,emoji:()=>LC,endsWith:()=>wk,enum:()=>bE,file:()=>AE,flattenError:()=>vg,float32:()=>CA,float64:()=>AA,formatError:()=>yg,function:()=>nC,getErrorMap:()=>dS,globalRegistry:()=>tx,gt:()=>rk,gte:()=>nk,guid:()=>PC,includes:()=>yk,instanceof:()=>iS,int:()=>kA,int32:()=>EA,int64:()=>NA,intersection:()=>lE,ipv4:()=>rA,ipv6:()=>aA,iso:()=>uC,json:()=>sS,jwt:()=>gA,keyof:()=>JA,ksuid:()=>eA,lazy:()=>qE,length:()=>fk,literal:()=>kE,locales:()=>Hw,looseObject:()=>rE,lowercase:()=>gk,lt:()=>ek,lte:()=>tk,map:()=>mE,maxLength:()=>pk,maxSize:()=>uk,mime:()=>kk,minLength:()=>hk,minSize:()=>ck,multipleOf:()=>lk,nan:()=>UE,nanoid:()=>ZC,nativeEnum:()=>wE,negative:()=>ik,never:()=>QA,nonnegative:()=>sk,nonoptional:()=>RE,nonpositive:()=>ok,normalize:()=>Ak,null:()=>$A,nullable:()=>OE,nullish:()=>_E,number:()=>wA,object:()=>eE,optional:()=>zE,overwrite:()=>Ck,parse:()=>xC,parseAsync:()=>kC,partialRecord:()=>hE,pipe:()=>QE,positive:()=>ak,prefault:()=>TE,preprocess:()=>lS,prettifyError:()=>xg,promise:()=>XE,property:()=>xk,readonly:()=>KE,record:()=>pE,refine:()=>nS,regex:()=>mk,regexes:()=>Og,registry:()=>ex,safeParse:()=>CC,safeParseAsync:()=>AC,set:()=>vE,setErrorMap:()=>cS,size:()=>dk,startsWith:()=>bk,strictObject:()=>tE,string:()=>zC,stringFormat:()=>yA,stringbool:()=>oS,success:()=>$E,superRefine:()=>aS,symbol:()=>TA,templateLiteral:()=>WE,toJSONSchema:()=>iC,toLowerCase:()=>Sk,toUpperCase:()=>jk,transform:()=>SE,treeifyError:()=>bg,trim:()=>Ek,tuple:()=>cE,uint32:()=>SA,uint64:()=>PA,ulid:()=>HC,undefined:()=>RA,union:()=>aE,unknown:()=>UA,uppercase:()=>vk,url:()=>FC,uuid:()=>TC,uuidv4:()=>BC,uuidv6:()=>RC,uuidv7:()=>MC,void:()=>KA,xid:()=>JC}),vm(Rb()),vm({customError:e=>{switch(e.code){case"invalid_type":return yS(e);case"invalid_union":return bS(e);case"unrecognized_keys":return wS(e);case"invalid_value":return xS(e)}}});const yS=e=>am(e.input)?`The required field '${kS(e.path)}' is missing`:`The field '${kS(e.path)}' is expected to be of type <${e.expected}>, but received type <${typeof e.input}> with value '${e.input}'`,bS=e=>{let t=[],r=e,n=r?.inst?.def?.discriminator??"";if(!n&&e.errors&&e.errors.length>0){for(let t of e.errors){let e=t.find((e=>"custom"===e.code));if(e)return{message:e.message}}for(let t of e.errors){let r=t.find((e=>"unrecognized_keys"===e.code));if(r){let t=r.path??[],n=[...e.path??[],...t];return wS({...r,path:n})}}let t=e.errors[0];if(t&&t.length>0){let r=t[0];if("invalid_type"===r.code){let t=r.path??[],n=[...e.path??[],...t];return yS({...r,path:n})}}}if(r.inst?.options)for(let e of r.inst.options){let r=e;if(n&&r.def?.shape?.[n]){let e=r.def.shape[n];"enum"===e.def?.type&&e.options?t.push(...e.options):"literal"===e.def?.type&&e.def?.values&&t.push(...e.def.values)}}let a=t.length>0?t.join(", "):"undefined";return{message:`The field '${n}' has an invalid value: '${e.input?.[n]}'. Allowed values are: [${a}].`}},wS=e=>{let t=e.keys.length>1,r=kS(e.path);return{message:`Unknown field${t?"s":""} '${e.keys.map((e=>`${r?`${r}.`:""}${e}`)).join("', '")}'. ${t?"These":"This"} field${t?"s":""} ${t?"don":"doesn"}'t exist in the schema and should be removed.`}},xS=e=>({message:`The field '${kS(e.path)}' has an invalid value: '${e.input}'. Allowed values are: [${e?.values?.join(", ")}].`}),kS=e=>e?.reduce(((e,t)=>am(t)?e:"number"==typeof t?`${e}[${t.toString()}]`:"string"==typeof t?e?`${e}.${t.toString()}`:`${t.toString()}`:"symbol"==typeof t?e?`${e}.${String(t)}`:`${String(t)}`:void 0),"")??"";var CS={exports:{}};var AS=Object.freeze({__proto__:null,default:function(e){return e&&e.__esModule?e:{default:e}}}),ES=t(AS);function SS(e){"@babel/helpers - typeof";return SS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SS(e)}function jS(e){var t=function(e,t){if("object"!=SS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=SS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==SS(t)?t:t+""}var zS=Object.freeze({__proto__:null,default:function(e,t,r){return(t=jS(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}}),IS=t(zS);var OS=Object.freeze({__proto__:null,default:function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}}),_S=t(OS);function NS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,jS(n.key),n)}}var PS=Object.freeze({__proto__:null,default:function(e,t,r){return t&&NS(e.prototype,t),r&&NS(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}}),DS=t(PS),TS={};function BS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var RS,MS,$S,FS,VS,LS=Object.freeze({__proto__:null,default:function(e){return function(e){if(Array.isArray(e))return BS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return BS(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?BS(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}),US=t(LS);function ZS(){if($S)return MS;$S=1;var e=ES,t=e(_S),r=e(DS),n=function(){if(RS)return TS;RS=1;var e=ES(US),t={functions:"Jexl Function",transforms:"Transform"};return TS.ArrayLiteral=function(e){return this.evalArray(e.value)},TS.BinaryExpression=function(e){var t=this,r=this._grammar.elements[e.operator];if(r.evalOnDemand){var n=function(e){return{eval:function(){return t.eval(e)}}};return r.evalOnDemand(n(e.left),n(e.right))}return this.Promise.all([this.eval(e.left),this.eval(e.right)]).then((function(e){return r.eval(e[0],e[1])}))},TS.ConditionalExpression=function(e){var t=this;return this.eval(e.test).then((function(r){return r?e.consequent?t.eval(e.consequent):r:t.eval(e.alternate)}))},TS.FilterExpression=function(e){var t=this;return this.eval(e.subject).then((function(r){return e.relative?t._filterRelative(r,e.expr):t._filterStatic(r,e.expr)}))},TS.Identifier=function(e){return e.from?this.eval(e.from).then((function(t){if(null!=t)return Array.isArray(t)&&(t=t[0]),t[e.value]})):e.relative?this._relContext[e.value]:this._context[e.value]},TS.Literal=function(e){return e.value},TS.ObjectLiteral=function(e){return this.evalMap(e.value)},TS.FunctionCall=function(r){var n=t[r.pool];if(!n)throw new Error("Corrupt AST: Pool '".concat(r.pool,"' not found"));var a=this._grammar[r.pool][r.name];if(!a)throw new Error("".concat(n," ").concat(r.name," is not defined."));return this.evalArray(r.args||[]).then((function(t){return a.apply(void 0,(0,e.default)(t))}))},TS.UnaryExpression=function(e){var t=this;return this.eval(e.right).then((function(r){return t._grammar.elements[e.operator].eval(r)}))},TS}(),a=function(){function e(r,n,a){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Promise;(0,t.default)(this,e),this._grammar=r,this._context=n||{},this._relContext=a||this._context,this.Promise=i}return(0,r.default)(e,[{key:"eval",value:function(e){var t=this;return this.Promise.resolve().then((function(){return n[e.type].call(t,e)}))}},{key:"evalArray",value:function(e){var t=this;return this.Promise.all(e.map((function(e){return t.eval(e)})))}},{key:"evalMap",value:function(e){var t=this,r=Object.keys(e),n={},a=r.map((function(r){return t.eval(e[r])}));return this.Promise.all(a).then((function(e){return e.forEach((function(e,t){n[r[t]]=e})),n}))}},{key:"_filterRelative",value:function(t,r){var n=this,a=[];return Array.isArray(t)||(t=void 0===t?[]:[t]),t.forEach((function(t){var i=new e(n._grammar,n._context,t,n.Promise);a.push(i.eval(r))})),this.Promise.all(a).then((function(e){var r=[];return e.forEach((function(e,n){e&&r.push(t[n])})),r}))}},{key:"_filterStatic",value:function(e,t){return this.eval(t).then((function(t){return"boolean"==typeof t?t?e:void 0:e[t]}))}}]),e}();return MS=a}var QS,GS={};function KS(){return QS||(QS=1,GS.argVal=function(e){e&&this._cursor.args.push(e)},GS.arrayStart=function(){this._placeAtCursor({type:"ArrayLiteral",value:[]})},GS.arrayVal=function(e){e&&this._cursor.value.push(e)},GS.binaryOp=function(e){for(var t=this._grammar.elements[e.value].precedence||0,r=this._cursor._parent;r&&r.operator&&this._grammar.elements[r.operator].precedence>=t;)this._cursor=r,r=r._parent;var n={type:"BinaryExpression",operator:e.value,left:this._cursor};this._setParent(this._cursor,n),this._cursor=r,this._placeAtCursor(n)},GS.dot=function(){this._nextIdentEncapsulate=this._cursor&&"UnaryExpression"!==this._cursor.type&&("BinaryExpression"!==this._cursor.type||"BinaryExpression"===this._cursor.type&&this._cursor.right),this._nextIdentRelative=!this._cursor||this._cursor&&!this._nextIdentEncapsulate,this._nextIdentRelative&&(this._relative=!0)},GS.filter=function(e){this._placeBeforeCursor({type:"FilterExpression",expr:e,relative:this._subParser.isRelative(),subject:this._cursor})},GS.functionCall=function(){this._placeBeforeCursor({type:"FunctionCall",name:this._cursor.value,args:[],pool:"functions"})},GS.identifier=function(e){var t={type:"Identifier",value:e.value};this._nextIdentEncapsulate?(t.from=this._cursor,this._placeBeforeCursor(t),this._nextIdentEncapsulate=!1):(this._nextIdentRelative&&(t.relative=!0,this._nextIdentRelative=!1),this._placeAtCursor(t))},GS.literal=function(e){this._placeAtCursor({type:"Literal",value:e.value})},GS.objKey=function(e){this._curObjKey=e.value},GS.objStart=function(){this._placeAtCursor({type:"ObjectLiteral",value:{}})},GS.objVal=function(e){this._cursor.value[this._curObjKey]=e},GS.subExpression=function(e){this._placeAtCursor(e)},GS.ternaryEnd=function(e){this._cursor.alternate=e},GS.ternaryMid=function(e){this._cursor.consequent=e},GS.ternaryStart=function(){this._tree={type:"ConditionalExpression",test:this._tree},this._cursor=this._tree},GS.transform=function(e){this._placeBeforeCursor({type:"FunctionCall",name:e.value,args:[this._cursor],pool:"transforms"})},GS.unaryOp=function(e){this._placeAtCursor({type:"UnaryExpression",operator:e.value})}),GS}var YS,WS,HS,qS,JS,XS,ej,tj={};function rj(){if(YS)return tj;YS=1;var e=KS();return tj.states={expectOperand:{tokenTypes:{literal:{toState:"expectBinOp"},identifier:{toState:"identifier"},unaryOp:{},openParen:{toState:"subExpression"},openCurl:{toState:"expectObjKey",handler:e.objStart},dot:{toState:"traverse"},openBracket:{toState:"arrayVal",handler:e.arrayStart}}},expectBinOp:{tokenTypes:{binaryOp:{toState:"expectOperand"},pipe:{toState:"expectTransform"},dot:{toState:"traverse"},question:{toState:"ternaryMid",handler:e.ternaryStart}},completable:!0},expectTransform:{tokenTypes:{identifier:{toState:"postTransform",handler:e.transform}}},expectObjKey:{tokenTypes:{identifier:{toState:"expectKeyValSep",handler:e.objKey},closeCurl:{toState:"expectBinOp"}}},expectKeyValSep:{tokenTypes:{colon:{toState:"objVal"}}},postTransform:{tokenTypes:{openParen:{toState:"argVal"},binaryOp:{toState:"expectOperand"},dot:{toState:"traverse"},openBracket:{toState:"filter"},pipe:{toState:"expectTransform"}},completable:!0},postArgs:{tokenTypes:{binaryOp:{toState:"expectOperand"},dot:{toState:"traverse"},openBracket:{toState:"filter"},pipe:{toState:"expectTransform"}},completable:!0},identifier:{tokenTypes:{binaryOp:{toState:"expectOperand"},dot:{toState:"traverse"},openBracket:{toState:"filter"},openParen:{toState:"argVal",handler:e.functionCall},pipe:{toState:"expectTransform"},question:{toState:"ternaryMid",handler:e.ternaryStart}},completable:!0},traverse:{tokenTypes:{identifier:{toState:"identifier"}}},filter:{subHandler:e.filter,endStates:{closeBracket:"identifier"}},subExpression:{subHandler:e.subExpression,endStates:{closeParen:"expectBinOp"}},argVal:{subHandler:e.argVal,endStates:{comma:"argVal",closeParen:"postArgs"}},objVal:{subHandler:e.objVal,endStates:{comma:"expectObjKey",closeCurl:"expectBinOp"}},arrayVal:{subHandler:e.arrayVal,endStates:{comma:"arrayVal",closeBracket:"expectBinOp"}},ternaryMid:{subHandler:e.ternaryMid,endStates:{colon:"ternaryEnd"}},ternaryEnd:{subHandler:e.ternaryEnd,completable:!0}},tj}function nj(){if(ej)return XS;ej=1;var e=ES,t=e(_S),r=e(DS),n=ZS(),a=function(){if(VS)return FS;VS=1;var e=ES,t=e(_S),r=e(DS),n=/^-?(?:(?:[0-9]*\.[0-9]+)|[0-9]+)$/,a=/^[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][a-zA-Zа-яА-Я0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*$/,i=/\\\\/,o=/^\s*$/,s=["'(?:(?:\\\\')|[^'])*'",'"(?:(?:\\\\")|[^"])*"',"\\s+","\\btrue\\b","\\bfalse\\b"],l=["[a-zA-Zа-яА-Я_À-ÖØ-öø-ÿ\\$][a-zA-Z0-9а-яА-Я_À-ÖØ-öø-ÿ\\$]*","(?:(?:[0-9]*\\.[0-9]+)|[0-9]+)"],u=["binaryOp","unaryOp","openParen","openBracket","question","colon"],c=function(){function e(r){(0,t.default)(this,e),this._grammar=r}return(0,r.default)(e,[{key:"getElements",value:function(e){var t=this._getSplitRegex();return e.split(t).filter((function(e){return e}))}},{key:"getTokens",value:function(e){for(var t=[],r=!1,n=0;n<e.length;n++)this._isWhitespace(e[n])?t.length&&(t[t.length-1].raw+=e[n]):"-"===e[n]&&this._isNegative(t)?r=!0:(r&&(e[n]="-"+e[n],r=!1),t.push(this._createToken(e[n])));return r&&t.push(this._createToken("-")),t}},{key:"tokenize",value:function(e){var t=this.getElements(e);return this.getTokens(t)}},{key:"_createToken",value:function(e){var t={type:"literal",value:e,raw:e};if('"'===e[0]||"'"===e[0])t.value=this._unquote(e);else if(e.match(n))t.value=parseFloat(e);else if("true"===e||"false"===e)t.value="true"===e;else if(this._grammar.elements[e])t.type=this._grammar.elements[e].type;else{if(!e.match(a))throw new Error("Invalid expression token: ".concat(e));t.type="identifier"}return t}},{key:"_escapeRegExp",value:function(e){return(e=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).match(a)&&(e="\\b"+e+"\\b"),e}},{key:"_getSplitRegex",value:function(){var e=this;if(!this._splitRegex){var t=Object.keys(this._grammar.elements).sort((function(e,t){return t.length-e.length})).map((function(t){return e._escapeRegExp(t)}),this);this._splitRegex=new RegExp("("+[s.join("|"),t.join("|"),l.join("|")].join("|")+")")}return this._splitRegex}},{key:"_isNegative",value:function(e){return!e.length||u.some((function(t){return t===e[e.length-1].type}))}},{key:"_isWhitespace",value:function(e){return!!e.match(o)}},{key:"_unquote",value:function(e){var t=e[0],r=new RegExp("\\\\"+t,"g");return e.substr(1,e.length-2).replace(r,t).replace(i,"\\")}}]),e}();return FS=c}(),i=function(){if(HS)return WS;HS=1;var e=ES,t=e(_S),r=e(DS),n=KS(),a=rj().states,i=function(){function e(r,n,a){(0,t.default)(this,e),this._grammar=r,this._state="expectOperand",this._tree=null,this._exprStr=n||"",this._relative=!1,this._stopMap=a||{}}return(0,r.default)(e,[{key:"addToken",value:function(e){if("complete"===this._state)throw new Error("Cannot add a new token to a completed Parser");var t=a[this._state],r=this._exprStr;if(this._exprStr+=e.raw,t.subHandler){this._subParser||this._startSubExpression(r);var i=this._subParser.addToken(e);if(i){if(this._endSubExpression(),this._parentStop)return i;this._state=i}}else{if(!t.tokenTypes[e.type]){if(this._stopMap[e.type])return this._stopMap[e.type];throw new Error("Token ".concat(e.raw," (").concat(e.type,") unexpected in expression: ").concat(this._exprStr))}var o=t.tokenTypes[e.type],s=n[e.type];o.handler&&(s=o.handler),s&&s.call(this,e),o.toState&&(this._state=o.toState)}return!1}},{key:"addTokens",value:function(e){e.forEach(this.addToken,this)}},{key:"complete",value:function(){if(this._cursor&&!a[this._state].completable)throw new Error("Unexpected end of expression: ".concat(this._exprStr));return this._subParser&&this._endSubExpression(),this._state="complete",this._cursor?this._tree:null}},{key:"isRelative",value:function(){return this._relative}},{key:"_endSubExpression",value:function(){a[this._state].subHandler.call(this,this._subParser.complete()),this._subParser=null}},{key:"_placeAtCursor",value:function(e){this._cursor?(this._cursor.right=e,this._setParent(e,this._cursor)):this._tree=e,this._cursor=e}},{key:"_placeBeforeCursor",value:function(e){this._cursor=this._cursor._parent,this._placeAtCursor(e)}},{key:"_setParent",value:function(e,t){Object.defineProperty(e,"_parent",{value:t,writable:!0})}},{key:"_startSubExpression",value:function(t){var r=a[this._state].endStates;r||(this._parentStop=!0,r=this._stopMap),this._subParser=new e(this._grammar,t,r)}}]),e}();return WS=i}(),o=function(){if(JS)return qS;JS=1;var e=ES,t=e(_S),r=e(DS),n=function(){function e(r){(0,t.default)(this,e),r(this._resolve.bind(this),this._reject.bind(this))}return(0,r.default)(e,[{key:"catch",value:function(e){if(this.error)try{this._resolve(e(this.error))}catch(e){this._reject(e)}return this}},{key:"then",value:function(e,t){if(!this.error)try{this._resolve(e(this.value))}catch(e){this._reject(e)}return t&&this.catch(t),this}},{key:"_reject",value:function(e){this.value=void 0,this.error=e}},{key:"_resolve",value:function(t){t instanceof e?t.error?this._reject(t.error):this._resolve(t.value):(this.value=t,this.error=void 0)}}]),e}();return n.all=function(e){return new n((function(t){t(e.map((function(e){for(;e instanceof n;){if(e.error)throw Error(e.error);e=e.value}return e})))}))},n.resolve=function(e){return new n((function(t){return t(e)}))},n.reject=function(e){return new n((function(t,r){return r(e)}))},qS=n}(),s=function(){function e(r,n){(0,t.default)(this,e),this._grammar=r,this._exprStr=n,this._ast=null}return(0,r.default)(e,[{key:"compile",value:function(){var e=new a(this._grammar),t=new i(this._grammar),r=e.tokenize(this._exprStr);return t.addTokens(r),this._ast=t.complete(),this}},{key:"eval",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._eval(e,Promise)}},{key:"evalSync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._eval(e,o);if(t.error)throw t.error;return t.value}},{key:"_eval",value:function(e,t){var r=this;return t.resolve().then((function(){var a=r._getAst();return new n(r._grammar,e,void 0,t).eval(a)}))}},{key:"_getAst",value:function(){return this._ast||this.compile(),this._ast}}]),e}();return XS=s}var aj,ij,oj={};var sj=function(){if(ij)return CS.exports;ij=1;var e=ES,t=e(IS),r=e(_S),n=e(DS),a=nj(),i=(aj||(aj=1,oj.getGrammar=function(){return{elements:{".":{type:"dot"},"[":{type:"openBracket"},"]":{type:"closeBracket"},"|":{type:"pipe"},"{":{type:"openCurl"},"}":{type:"closeCurl"},":":{type:"colon"},",":{type:"comma"},"(":{type:"openParen"},")":{type:"closeParen"},"?":{type:"question"},"+":{type:"binaryOp",precedence:30,eval:function(e,t){return e+t}},"-":{type:"binaryOp",precedence:30,eval:function(e,t){return e-t}},"*":{type:"binaryOp",precedence:40,eval:function(e,t){return e*t}},"/":{type:"binaryOp",precedence:40,eval:function(e,t){return e/t}},"//":{type:"binaryOp",precedence:40,eval:function(e,t){return Math.floor(e/t)}},"%":{type:"binaryOp",precedence:50,eval:function(e,t){return e%t}},"^":{type:"binaryOp",precedence:50,eval:function(e,t){return Math.pow(e,t)}},"==":{type:"binaryOp",precedence:20,eval:function(e,t){return e==t}},"!=":{type:"binaryOp",precedence:20,eval:function(e,t){return e!=t}},">":{type:"binaryOp",precedence:20,eval:function(e,t){return e>t}},">=":{type:"binaryOp",precedence:20,eval:function(e,t){return e>=t}},"<":{type:"binaryOp",precedence:20,eval:function(e,t){return e<t}},"<=":{type:"binaryOp",precedence:20,eval:function(e,t){return e<=t}},"&&":{type:"binaryOp",precedence:10,evalOnDemand:function(e,t){return e.eval().then((function(e){return e?t.eval():e}))}},"||":{type:"binaryOp",precedence:10,evalOnDemand:function(e,t){return e.eval().then((function(e){return e||t.eval()}))}},in:{type:"binaryOp",precedence:20,eval:function(e,t){return"string"==typeof t?-1!==t.indexOf(e):!!Array.isArray(t)&&t.some((function(t){return t===e}))}},"!":{type:"unaryOp",precedence:1/0,eval:function(e){return!e}}},functions:{},transforms:{}}}),oj).getGrammar,o=function(){function e(){(0,r.default)(this,e),this.expr=this.expr.bind(this),this._grammar=i()}return(0,n.default)(e,[{key:"addBinaryOp",value:function(e,r,n,a){this._addGrammarElement(e,(0,t.default)({type:"binaryOp",precedence:r},a?"evalOnDemand":"eval",n))}},{key:"addFunction",value:function(e,t){this._grammar.functions[e]=t}},{key:"addFunctions",value:function(e){for(var t in e)this._grammar.functions[t]=e[t]}},{key:"addUnaryOp",value:function(e,t){this._addGrammarElement(e,{type:"unaryOp",weight:1/0,eval:t})}},{key:"addTransform",value:function(e,t){this._grammar.transforms[e]=t}},{key:"addTransforms",value:function(e){for(var t in e)this._grammar.transforms[t]=e[t]}},{key:"compile",value:function(e){return this.createExpression(e).compile()}},{key:"createExpression",value:function(e){return new a(this._grammar,e)}},{key:"getFunction",value:function(e){return this._grammar.functions[e]}},{key:"getTransform",value:function(e){return this._grammar.transforms[e]}},{key:"eval",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.createExpression(e).eval(t)}},{key:"evalSync",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.createExpression(e).evalSync(t)}},{key:"expr",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=e.reduce((function(e,t,n){return e+=t+(n<r.length?r[n]:"")}),"");return this.createExpression(a)}},{key:"removeOp",value:function(e){!this._grammar.elements[e]||"binaryOp"!==this._grammar.elements[e].type&&"unaryOp"!==this._grammar.elements[e].type||delete this._grammar.elements[e]}},{key:"_addGrammarElement",value:function(e,t){this._grammar.elements[e]=t}}]),e}();return CS.exports=new o,CS.exports.Jexl=o,CS.exports}();class lj{static get version(){return"1.4.0"}static toString(){return"JavaScript Expression Parser (JSEP) v"+lj.version}static addUnaryOp(e){return lj.max_unop_len=Math.max(e.length,lj.max_unop_len),lj.unary_ops[e]=1,lj}static addBinaryOp(e,t,r){return lj.max_binop_len=Math.max(e.length,lj.max_binop_len),lj.binary_ops[e]=t,r?lj.right_associative.add(e):lj.right_associative.delete(e),lj}static addIdentifierChar(e){return lj.additional_identifier_chars.add(e),lj}static addLiteral(e,t){return lj.literals[e]=t,lj}static removeUnaryOp(e){return delete lj.unary_ops[e],e.length===lj.max_unop_len&&(lj.max_unop_len=lj.getMaxKeyLen(lj.unary_ops)),lj}static removeAllUnaryOps(){return lj.unary_ops={},lj.max_unop_len=0,lj}static removeIdentifierChar(e){return lj.additional_identifier_chars.delete(e),lj}static removeBinaryOp(e){return delete lj.binary_ops[e],e.length===lj.max_binop_len&&(lj.max_binop_len=lj.getMaxKeyLen(lj.binary_ops)),lj.right_associative.delete(e),lj}static removeAllBinaryOps(){return lj.binary_ops={},lj.max_binop_len=0,lj}static removeLiteral(e){return delete lj.literals[e],lj}static removeAllLiterals(){return lj.literals={},lj}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(e){this.expr=e,this.index=0}static parse(e){return new lj(e).parse()}static getMaxKeyLen(e){return Math.max(0,...Object.keys(e).map((e=>e.length)))}static isDecimalDigit(e){return e>=48&&e<=57}static binaryPrecedence(e){return lj.binary_ops[e]||0}static isIdentifierStart(e){return e>=65&&e<=90||e>=97&&e<=122||e>=128&&!lj.binary_ops[String.fromCharCode(e)]||lj.additional_identifier_chars.has(String.fromCharCode(e))}static isIdentifierPart(e){return lj.isIdentifierStart(e)||lj.isDecimalDigit(e)}throwError(e){const t=new Error(e+" at character "+this.index);throw t.index=this.index,t.description=e,t}runHook(e,t){if(lj.hooks[e]){const r={context:this,node:t};return lj.hooks.run(e,r),r.node}return t}searchHook(e){if(lj.hooks[e]){const t={context:this};return lj.hooks[e].find((function(e){return e.call(t.context,t),t.node})),t.node}}gobbleSpaces(){let e=this.code;for(;e===lj.SPACE_CODE||e===lj.TAB_CODE||e===lj.LF_CODE||e===lj.CR_CODE;)e=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");const e=this.gobbleExpressions(),t=1===e.length?e[0]:{type:lj.COMPOUND,body:e};return this.runHook("after-all",t)}gobbleExpressions(e){let t,r,n=[];for(;this.index<this.expr.length;)if(t=this.code,t===lj.SEMCOL_CODE||t===lj.COMMA_CODE)this.index++;else if(r=this.gobbleExpression())n.push(r);else if(this.index<this.expr.length){if(t===e)break;this.throwError('Unexpected "'+this.char+'"')}return n}gobbleExpression(){const e=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",e)}gobbleBinaryOp(){this.gobbleSpaces();let e=this.expr.substr(this.index,lj.max_binop_len),t=e.length;for(;t>0;){if(lj.binary_ops.hasOwnProperty(e)&&(!lj.isIdentifierStart(this.code)||this.index+e.length<this.expr.length&&!lj.isIdentifierPart(this.expr.charCodeAt(this.index+e.length))))return this.index+=t,e;e=e.substr(0,--t)}return!1}gobbleBinaryExpression(){let e,t,r,n,a,i,o,s,l;if(i=this.gobbleToken(),!i)return i;if(t=this.gobbleBinaryOp(),!t)return i;for(a={value:t,prec:lj.binaryPrecedence(t),right_a:lj.right_associative.has(t)},o=this.gobbleToken(),o||this.throwError("Expected expression after "+t),n=[i,a,o];t=this.gobbleBinaryOp();){if(r=lj.binaryPrecedence(t),0===r){this.index-=t.length;break}a={value:t,prec:r,right_a:lj.right_associative.has(t)},l=t;const s=e=>a.right_a&&e.right_a?r>e.prec:r<=e.prec;for(;n.length>2&&s(n[n.length-2]);)o=n.pop(),t=n.pop().value,i=n.pop(),e={type:lj.BINARY_EXP,operator:t,left:i,right:o},n.push(e);e=this.gobbleToken(),e||this.throwError("Expected expression after "+l),n.push(a,e)}for(s=n.length-1,e=n[s];s>1;)e={type:lj.BINARY_EXP,operator:n[s-1].value,left:n[s-2],right:e},s-=2;return e}gobbleToken(){let e,t,r,n;if(this.gobbleSpaces(),n=this.searchHook("gobble-token"),n)return this.runHook("after-token",n);if(e=this.code,lj.isDecimalDigit(e)||e===lj.PERIOD_CODE)return this.gobbleNumericLiteral();if(e===lj.SQUOTE_CODE||e===lj.DQUOTE_CODE)n=this.gobbleStringLiteral();else if(e===lj.OBRACK_CODE)n=this.gobbleArray();else{for(t=this.expr.substr(this.index,lj.max_unop_len),r=t.length;r>0;){if(lj.unary_ops.hasOwnProperty(t)&&(!lj.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!lj.isIdentifierPart(this.expr.charCodeAt(this.index+t.length)))){this.index+=r;const e=this.gobbleToken();return e||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:lj.UNARY_EXP,operator:t,argument:e,prefix:!0})}t=t.substr(0,--r)}lj.isIdentifierStart(e)?(n=this.gobbleIdentifier(),lj.literals.hasOwnProperty(n.name)?n={type:lj.LITERAL,value:lj.literals[n.name],raw:n.name}:n.name===lj.this_str&&(n={type:lj.THIS_EXP})):e===lj.OPAREN_CODE&&(n=this.gobbleGroup())}return n?(n=this.gobbleTokenProperty(n),this.runHook("after-token",n)):this.runHook("after-token",!1)}gobbleTokenProperty(e){this.gobbleSpaces();let t=this.code;for(;t===lj.PERIOD_CODE||t===lj.OBRACK_CODE||t===lj.OPAREN_CODE||t===lj.QUMARK_CODE;){let r;if(t===lj.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==lj.PERIOD_CODE)break;r=!0,this.index+=2,this.gobbleSpaces(),t=this.code}this.index++,t===lj.OBRACK_CODE?((e={type:lj.MEMBER_EXP,computed:!0,object:e,property:this.gobbleExpression()}).property||this.throwError('Unexpected "'+this.char+'"'),this.gobbleSpaces(),t=this.code,t!==lj.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):t===lj.OPAREN_CODE?e={type:lj.CALL_EXP,arguments:this.gobbleArguments(lj.CPAREN_CODE),callee:e}:(t===lj.PERIOD_CODE||r)&&(r&&this.index--,this.gobbleSpaces(),e={type:lj.MEMBER_EXP,computed:!1,object:e,property:this.gobbleIdentifier()}),r&&(e.optional=!0),this.gobbleSpaces(),t=this.code}return e}gobbleNumericLiteral(){let e,t,r="";for(;lj.isDecimalDigit(this.code);)r+=this.expr.charAt(this.index++);if(this.code===lj.PERIOD_CODE)for(r+=this.expr.charAt(this.index++);lj.isDecimalDigit(this.code);)r+=this.expr.charAt(this.index++);if(e=this.char,"e"===e||"E"===e){for(r+=this.expr.charAt(this.index++),e=this.char,"+"!==e&&"-"!==e||(r+=this.expr.charAt(this.index++));lj.isDecimalDigit(this.code);)r+=this.expr.charAt(this.index++);lj.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+r+this.char+")")}return t=this.code,lj.isIdentifierStart(t)?this.throwError("Variable names cannot start with a number ("+r+this.char+")"):(t===lj.PERIOD_CODE||1===r.length&&r.charCodeAt(0)===lj.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:lj.LITERAL,value:parseFloat(r),raw:r}}gobbleStringLiteral(){let e="";const t=this.index,r=this.expr.charAt(this.index++);let n=!1;for(;this.index<this.expr.length;){let t=this.expr.charAt(this.index++);if(t===r){n=!0;break}if("\\"===t)switch(t=this.expr.charAt(this.index++),t){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:e+=t}else e+=t}return n||this.throwError('Unclosed quote after "'+e+'"'),{type:lj.LITERAL,value:e,raw:this.expr.substring(t,this.index)}}gobbleIdentifier(){let e=this.code,t=this.index;for(lj.isIdentifierStart(e)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length&&(e=this.code,lj.isIdentifierPart(e));)this.index++;return{type:lj.IDENTIFIER,name:this.expr.slice(t,this.index)}}gobbleArguments(e){const t=[];let r=!1,n=0;for(;this.index<this.expr.length;){this.gobbleSpaces();let a=this.code;if(a===e){r=!0,this.index++,e===lj.CPAREN_CODE&&n&&n>=t.length&&this.throwError("Unexpected token "+String.fromCharCode(e));break}if(a===lj.COMMA_CODE){if(this.index++,n++,n!==t.length)if(e===lj.CPAREN_CODE)this.throwError("Unexpected token ,");else if(e===lj.CBRACK_CODE)for(let e=t.length;e<n;e++)t.push(null)}else if(t.length!==n&&0!==n)this.throwError("Expected comma");else{const e=this.gobbleExpression();e&&e.type!==lj.COMPOUND||this.throwError("Expected comma"),t.push(e)}}return r||this.throwError("Expected "+String.fromCharCode(e)),t}gobbleGroup(){this.index++;let e=this.gobbleExpressions(lj.CPAREN_CODE);if(this.code===lj.CPAREN_CODE)return this.index++,1===e.length?e[0]:!!e.length&&{type:lj.SEQUENCE_EXP,expressions:e};this.throwError("Unclosed (")}gobbleArray(){return this.index++,{type:lj.ARRAY_EXP,elements:this.gobbleArguments(lj.CBRACK_CODE)}}}const uj=new class{add(e,t,r){if("string"!=typeof arguments[0])for(let e in arguments[0])this.add(e,arguments[0][e],arguments[1]);else(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)}),this)}run(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}};Object.assign(lj,{hooks:uj,plugins:new class{constructor(e){this.jsep=e,this.registered={}}register(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach((e=>{if("object"!=typeof e||!e.name||!e.init)throw new Error("Invalid JSEP plugin format");this.registered[e.name]||(e.init(this.jsep),this.registered[e.name]=e)}))}}(lj),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"??":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),lj.max_unop_len=lj.getMaxKeyLen(lj.unary_ops),lj.max_binop_len=lj.getMaxKeyLen(lj.binary_ops);const cj=e=>new lj(e).parse(),dj=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(lj).filter((e=>!dj.includes(e)&&void 0===cj[e])).forEach((e=>{cj[e]=lj[e]})),cj.Jsep=lj;var pj={name:"ternary",init(e){e.hooks.add("after-expression",(function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;const r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;const a=this.gobbleExpression();if(a||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:a},r.operator&&e.binary_ops[r.operator]<=.9){let n=r;for(;n.right.operator&&e.binary_ops[n.right.operator]<=.9;)n=n.right;t.node.test=n.right,n.right=t.node,t.node=r}}else this.throwError("Expected :")}}))}};cj.plugins.register(pj);var hj={name:"regex",init(e){e.hooks.add("gobble-token",(function(t){if(47===this.code){const r=++this.index;let n=!1;for(;this.index<this.expr.length;){if(47===this.code&&!n){const n=this.expr.slice(r,this.index);let a,i="";for(;++this.index<this.expr.length;){const e=this.code;if(!(e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57))break;i+=this.char}try{a=new RegExp(n,i)}catch(e){this.throwError(e.message)}return t.node={type:e.LITERAL,value:a,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=92===this.code?2:1}this.throwError("Unclosed Regex")}}))}};const fj={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|=","||=","&&=","??="]),updateOperators:[43,45],assignmentPrecedence:.9,init(e){const t=[e.IDENTIFIER,e.MEMBER_EXP];function r(e){fj.assignmentOperators.has(e.operator)?(e.type="AssignmentExpression",r(e.left),r(e.right)):e.operator||Object.values(e).forEach((e=>{e&&"object"==typeof e&&r(e)}))}fj.assignmentOperators.forEach((t=>e.addBinaryOp(t,fj.assignmentPrecedence,!0))),e.hooks.add("gobble-token",(function(e){const r=this.code;fj.updateOperators.some((e=>e===r&&e===this.expr.charCodeAt(this.index+1)))&&(this.index+=2,e.node={type:"UpdateExpression",operator:43===r?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},e.node.argument&&t.includes(e.node.argument.type)||this.throwError(`Unexpected ${e.node.operator}`))})),e.hooks.add("after-token",(function(e){if(e.node){const r=this.code;fj.updateOperators.some((e=>e===r&&e===this.expr.charCodeAt(this.index+1)))&&(t.includes(e.node.type)||this.throwError(`Unexpected ${e.node.operator}`),this.index+=2,e.node={type:"UpdateExpression",operator:43===r?"++":"--",argument:e.node,prefix:!1})}})),e.hooks.add("after-expression",(function(e){e.node&&r(e.node)}))}};cj.plugins.register(hj,fj),cj.addUnaryOp("typeof"),cj.addLiteral("null",null),cj.addLiteral("undefined",void 0);const mj=new Set(["constructor","__proto__","__defineGetter__","__defineSetter__"]),gj={evalAst(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":return gj.evalBinaryExpression(e,t);case"Compound":return gj.evalCompound(e,t);case"ConditionalExpression":return gj.evalConditionalExpression(e,t);case"Identifier":return gj.evalIdentifier(e,t);case"Literal":return gj.evalLiteral(e,t);case"MemberExpression":return gj.evalMemberExpression(e,t);case"UnaryExpression":return gj.evalUnaryExpression(e,t);case"ArrayExpression":return gj.evalArrayExpression(e,t);case"CallExpression":return gj.evalCallExpression(e,t);case"AssignmentExpression":return gj.evalAssignmentExpression(e,t);default:throw SyntaxError("Unexpected expression",e)}},evalBinaryExpression(e,t){const r={"||":(e,t)=>e||t(),"&&":(e,t)=>e&&t(),"|":(e,t)=>e|t(),"^":(e,t)=>e^t(),"&":(e,t)=>e&t(),"==":(e,t)=>e==t(),"!=":(e,t)=>e!=t(),"===":(e,t)=>e===t(),"!==":(e,t)=>e!==t(),"<":(e,t)=>e<t(),">":(e,t)=>e>t(),"<=":(e,t)=>e<=t(),">=":(e,t)=>e>=t(),"<<":(e,t)=>e<<t(),">>":(e,t)=>e>>t(),">>>":(e,t)=>e>>>t(),"+":(e,t)=>e+t(),"-":(e,t)=>e-t(),"*":(e,t)=>e*t(),"/":(e,t)=>e/t(),"%":(e,t)=>e%t()}[e.operator](gj.evalAst(e.left,t),(()=>gj.evalAst(e.right,t)));return r},evalCompound(e,t){let r;for(let n=0;n<e.body.length;n++){"Identifier"===e.body[n].type&&["var","let","const"].includes(e.body[n].name)&&e.body[n+1]&&"AssignmentExpression"===e.body[n+1].type&&(n+=1);const a=e.body[n];r=gj.evalAst(a,t)}return r},evalConditionalExpression:(e,t)=>gj.evalAst(e.test,t)?gj.evalAst(e.consequent,t):gj.evalAst(e.alternate,t),evalIdentifier(e,t){if(Object.hasOwn(t,e.name))return t[e.name];throw ReferenceError(`${e.name} is not defined`)},evalLiteral:e=>e.value,evalMemberExpression(e,t){const r=String(e.computed?gj.evalAst(e.property):e.property.name),n=gj.evalAst(e.object,t);if(null==n)throw TypeError(`Cannot read properties of ${n} (reading '${r}')`);if(!Object.hasOwn(n,r)&&mj.has(r))throw TypeError(`Cannot read properties of ${n} (reading '${r}')`);const a=n[r];return"function"==typeof a?a.bind(n):a},evalUnaryExpression(e,t){const r={"-":e=>-gj.evalAst(e,t),"!":e=>!gj.evalAst(e,t),"~":e=>~gj.evalAst(e,t),"+":e=>+gj.evalAst(e,t),typeof:e=>typeof gj.evalAst(e,t)}[e.operator](e.argument);return r},evalArrayExpression:(e,t)=>e.elements.map((e=>gj.evalAst(e,t))),evalCallExpression(e,t){const r=e.arguments.map((e=>gj.evalAst(e,t)));return gj.evalAst(e.callee,t)(...r)},evalAssignmentExpression(e,t){if("Identifier"!==e.left.type)throw SyntaxError("Invalid left-hand side in assignment");const r=e.left.name,n=gj.evalAst(e.right,t);return t[r]=n,t[r]}};function vj(e,t){return(e=e.slice()).push(t),e}function yj(e,t){return(t=t.slice()).unshift(e),t}class bj extends Error{constructor(e){super('JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'),this.avoidNew=!0,this.value=e,this.name="NewError"}}function wj(e,t,r,n,a){if(!(this instanceof wj))try{return new wj(e,t,r,n,a)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(a=n,n=r,r=t,t=e,e=null);const i=e&&"object"==typeof e;if(e=e||{},this.json=e.json||r,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!Object.hasOwn(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.eval=void 0===e.eval?"safe":e.eval,this.ignoreEvalErrors=void 0!==e.ignoreEvalErrors&&e.ignoreEvalErrors,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||n||null,this.otherTypeCallback=e.otherTypeCallback||a||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){const n={path:i?e.path:t};i?"json"in e&&(n.json=e.json):n.json=r;const a=this.evaluate(n);if(!a||"object"!=typeof a)throw new bj(a);return a}}wj.prototype.evaluate=function(e,t,r,n){let a=this.parent,i=this.parentProperty,{flatten:o,wrap:s}=this;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,r=r||this.callback,this.currOtherTypeCallback=n||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"==typeof e&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Object.hasOwn(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');({json:t}=e),o=Object.hasOwn(e,"flatten")?e.flatten:o,this.currResultType=Object.hasOwn(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=Object.hasOwn(e,"sandbox")?e.sandbox:this.currSandbox,s=Object.hasOwn(e,"wrap")?e.wrap:s,this.currEval=Object.hasOwn(e,"eval")?e.eval:this.currEval,r=Object.hasOwn(e,"callback")?e.callback:r,this.currOtherTypeCallback=Object.hasOwn(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,a=Object.hasOwn(e,"parent")?e.parent:a,i=Object.hasOwn(e,"parentProperty")?e.parentProperty:i,e=e.path}if(a=a||null,i=i||null,Array.isArray(e)&&(e=wj.toPathString(e)),!e&&""!==e||!t)return;const l=wj.toPathArray(e);"$"===l[0]&&l.length>1&&l.shift(),this._hasParentSelector=null;const u=this._trace(l,t,["$"],a,i,r).filter((function(e){return e&&!e.isParentSelector}));return u.length?s||1!==u.length||u[0].hasArrExpr?u.reduce(((e,t)=>{const r=this._getPreferredOutput(t);return o&&Array.isArray(r)?e=e.concat(r):e.push(r),e}),[]):this._getPreferredOutput(u[0]):s?[]:void 0},wj.prototype._getPreferredOutput=function(e){const t=this.currResultType;switch(t){case"all":{const t=Array.isArray(e.path)?e.path:wj.toPathArray(e.path);return e.pointer=wj.toPointer(t),e.path="string"==typeof e.path?e.path:wj.toPathString(e.path),e}case"value":case"parent":case"parentProperty":return e[t];case"path":return wj.toPathString(e[t]);case"pointer":return wj.toPointer(e.path);default:throw new TypeError("Unknown result type")}},wj.prototype._handleCallback=function(e,t,r){if(t){const n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:wj.toPathString(e.path),t(n,r,e)}},wj.prototype._trace=function(e,t,r,n,a,i,o,s){let l;if(!e.length)return l={path:r,value:t,parent:n,parentProperty:a,hasArrExpr:o},this._handleCallback(l,i,"value"),l;const u=e[0],c=e.slice(1),d=[];function p(e){Array.isArray(e)?e.forEach((e=>{d.push(e)})):d.push(e)}if(("string"!=typeof u||s)&&t&&Object.hasOwn(t,u))p(this._trace(c,t[u],vj(r,u),t,u,i,o));else if("*"===u)this._walk(t,(e=>{p(this._trace(c,t[e],vj(r,e),t,e,i,!0,!0))}));else if(".."===u)p(this._trace(c,t,r,n,a,i,o)),this._walk(t,(n=>{"object"==typeof t[n]&&p(this._trace(e.slice(),t[n],vj(r,n),t,n,i,!0))}));else{if("^"===u)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:c,isParentSelector:!0};if("~"===u)return l={path:vj(r,u),value:a,parent:n,parentProperty:null},this._handleCallback(l,i,"property"),l;if("$"===u)p(this._trace(c,t,r,null,null,i,o));else if(/^(-?\d*):(-?\d*):?(\d*)$/u.test(u))p(this._slice(u,c,t,r,n,a,i));else if(0===u.indexOf("?(")){if(!1===this.currEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");const e=u.replace(/^\?\((.*?)\)$/u,"$1"),o=/@.?([^?]*)[['](\??\(.*?\))(?!.\)\])[\]']/gu.exec(e);o?this._walk(t,(e=>{const s=[o[2]],l=o[1]?t[e][o[1]]:t[e];this._trace(s,l,r,n,a,i,!0).length>0&&p(this._trace(c,t[e],vj(r,e),t,e,i,!0))})):this._walk(t,(o=>{this._eval(e,t[o],o,r,n,a)&&p(this._trace(c,t[o],vj(r,o),t,o,i,!0))}))}else if("("===u[0]){if(!1===this.currEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");p(this._trace(yj(this._eval(u,t,r.at(-1),r.slice(0,-1),n,a),c),t,r,n,a,i,o))}else if("@"===u[0]){let e=!1;const o=u.slice(1,-2);switch(o){case"scalar":t&&["object","function"].includes(typeof t)||(e=!0);break;case"boolean":case"string":case"undefined":case"function":typeof t===o&&(e=!0);break;case"integer":!Number.isFinite(t)||t%1||(e=!0);break;case"number":Number.isFinite(t)&&(e=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(e=!0);break;case"object":t&&typeof t===o&&(e=!0);break;case"array":Array.isArray(t)&&(e=!0);break;case"other":e=this.currOtherTypeCallback(t,r,n,a);break;case"null":null===t&&(e=!0);break;default:throw new TypeError("Unknown value type "+o)}if(e)return l={path:r,value:t,parent:n,parentProperty:a},this._handleCallback(l,i,"value"),l}else if("`"===u[0]&&t&&Object.hasOwn(t,u.slice(1))){const e=u.slice(1);p(this._trace(c,t[e],vj(r,e),t,e,i,o,!0))}else if(u.includes(",")){const e=u.split(",");for(const o of e)p(this._trace(yj(o,c),t,r,n,a,i,!0))}else!s&&t&&Object.hasOwn(t,u)&&p(this._trace(c,t[u],vj(r,u),t,u,i,o,!0))}if(this._hasParentSelector)for(let e=0;e<d.length;e++){const r=d[e];if(r&&r.isParentSelector){const s=this._trace(r.expr,t,r.path,n,a,i,o);if(Array.isArray(s)){d[e]=s[0];const t=s.length;for(let r=1;r<t;r++)e++,d.splice(e,0,s[r])}else d[e]=s}}return d},wj.prototype._walk=function(e,t){if(Array.isArray(e)){const r=e.length;for(let e=0;e<r;e++)t(e)}else e&&"object"==typeof e&&Object.keys(e).forEach((e=>{t(e)}))},wj.prototype._slice=function(e,t,r,n,a,i,o){if(!Array.isArray(r))return;const s=r.length,l=e.split(":"),u=l[2]&&Number.parseInt(l[2])||1;let c=l[0]&&Number.parseInt(l[0])||0,d=l[1]&&Number.parseInt(l[1])||s;c=c<0?Math.max(0,c+s):Math.min(s,c),d=d<0?Math.max(0,d+s):Math.min(s,d);const p=[];for(let e=c;e<d;e+=u){this._trace(yj(e,t),r,n,a,i,o,!0).forEach((e=>{p.push(e)}))}return p},wj.prototype._eval=function(e,t,r,n,a,i){this.currSandbox._$_parentProperty=i,this.currSandbox._$_parent=a,this.currSandbox._$_property=r,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;const o=e.includes("@path");o&&(this.currSandbox._$_path=wj.toPathString(n.concat([r])));const s=this.currEval+"Script:"+e;if(!wj.cache[s]){let t=e.replaceAll("@parentProperty","_$_parentProperty").replaceAll("@parent","_$_parent").replaceAll("@property","_$_property").replaceAll("@root","_$_root").replaceAll(/@([.\s)[])/gu,"_$_v$1");if(o&&(t=t.replaceAll("@path","_$_path")),"safe"===this.currEval||!0===this.currEval||void 0===this.currEval)wj.cache[s]=new this.safeVm.Script(t);else if("native"===this.currEval)wj.cache[s]=new this.vm.Script(t);else if("function"==typeof this.currEval&&this.currEval.prototype&&Object.hasOwn(this.currEval.prototype,"runInNewContext")){const e=this.currEval;wj.cache[s]=new e(t)}else{if("function"!=typeof this.currEval)throw new TypeError(`Unknown "eval" property "${this.currEval}"`);wj.cache[s]={runInNewContext:e=>this.currEval(t,e)}}}try{return wj.cache[s].runInNewContext(this.currSandbox)}catch(t){if(this.ignoreEvalErrors)return!1;throw new Error("jsonPath: "+t.message+": "+e)}},wj.cache={},wj.toPathString=function(e){const t=e,r=t.length;let n="$";for(let e=1;e<r;e++)/^(~|\^|@.*?\(\))$/u.test(t[e])||(n+=/^[0-9*]+$/u.test(t[e])?"["+t[e]+"]":"['"+t[e]+"']");return n},wj.toPointer=function(e){const t=e,r=t.length;let n="";for(let e=1;e<r;e++)/^(~|\^|@.*?\(\))$/u.test(t[e])||(n+="/"+t[e].toString().replaceAll("~","~0").replaceAll("/","~1"));return n},wj.toPathArray=function(e){const{cache:t}=wj;if(t[e])return t[e].concat();const r=[],n=e.replaceAll(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/gu,";$&;").replaceAll(/[['](\??\(.*?\))[\]'](?!.\])/gu,(function(e,t){return"[#"+(r.push(t)-1)+"]"})).replaceAll(/\[['"]([^'\]]*)['"]\]/gu,(function(e,t){return"['"+t.replaceAll(".","%@%").replaceAll("~","%%@@%%")+"']"})).replaceAll("~",";~;").replaceAll(/['"]?\.['"]?(?![^[]*\])|\[['"]?/gu,";").replaceAll("%@%",".").replaceAll("%%@@%%","~").replaceAll(/(?:;)?(\^+)(?:;)?/gu,(function(e,t){return";"+t.split("").join(";")+";"})).replaceAll(/;;;|;;/gu,";..;").replaceAll(/;$|'?\]|'$/gu,""),a=n.split(";").map((function(e){const t=e.match(/#(\d+)/u);return t&&t[1]?r[t[1]]:e}));return t[e]=a,t[e].concat()},wj.prototype.safeVm={Script:class{constructor(e){this.code=e,this.ast=cj(this.code)}runInNewContext(e){const t=Object.assign(Object.create(null),e);return gj.evalAst(this.ast,t)}}};wj.prototype.vm={Script:class{constructor(e){this.code=e}runInNewContext(e){let t=this.code;const r=Object.keys(e),n=[];!function(e,t,r){const n=e.length;for(let a=0;a<n;a++)r(e[a])&&t.push(e.splice(a--,1)[0])}(r,n,(t=>"function"==typeof e[t]));const a=r.map((t=>e[t])),i=n.reduce(((t,r)=>{let n=e[r].toString();return/function/u.test(n)||(n="function "+n),"var "+r+"="+n+";"+t}),"");t=i+t,/(['"])use strict\1/u.test(t)||r.includes("arguments")||(t="var arguments = undefined;"+t),t=t.replace(/;\s*$/u,"");const o=t.lastIndexOf(";"),s=-1!==o?t.slice(0,o+1)+" return "+t.slice(o+1):" return "+t;return new Function(...r,s)(...a)}}};const xj=(e=()=>new sj.Jexl)=>{let t=e();return t.addFunction("nextAnniversary",((e,t)=>(({initialDate:e,format:t})=>{if(am(e))return null;let r=im(e)?e:lm({value:e,format:t});if(null===r)return null;let n=new Date(r.getTime()-60*r.getTimezoneOffset()*1e3),a=new Date,i=a.getUTCFullYear();return n.setUTCFullYear(i),n<new Date(Date.UTC(i,a.getUTCMonth(),a.getUTCDate()))&&n.setUTCFullYear(i+1),n})({initialDate:e,format:t}))),t.addFunction("yearsElapsed",((e,t,r)=>(({startDate:e,endDate:t,format:r})=>{if(am(e))return null;let n=t??new Date,a=im(e)?e:lm({value:e,format:r}),i=im(n)?n:lm({value:n,format:r});if(null!==a&&null!==i){let e=Uh({start:a,end:i});return nm(e.years)?e.years:0}return null})({startDate:e,endDate:r,format:t}))),t.addFunction("hasPassed",((e,t,r)=>cm({date:e,yearsToAdd:r,format:t}))),t.addFunction("now",(()=>(new Date).toISOString())),t.addFunction("includes",((e,t)=>!(am(e)||!Array.isArray(e)||0===e.length||am(t))&&(Array.isArray(t)?t.every((t=>e.includes(t))):e.includes(t)))),t.addFunction("includesSome",((e,t)=>!(am(e)||!Array.isArray(e)||0===e.length||am(t))&&(Array.isArray(t)?t.some((t=>e.includes(t))):e.includes(t)))),t.addFunction("present",(e=>nm(e))),t.addFunction("missing",(e=>am(e))),t.addFunction("keys",(e=>am(e)||"object"!=typeof e||Array.isArray(e)?[]:Object.keys(e))),t.addFunction("values",(e=>am(e)||"object"!=typeof e||Array.isArray(e)?[]:Object.values(e))),t.addBinaryOp("??",0,((e,t)=>am(e)?t:am(t)?e:e??t)),t},kj=/\${([^}]+)}/g,Cj=(e,t)=>{try{return e.compile(t)}catch{return null}},Aj=(e,t)=>{try{if(!e.startsWith("$"))throw Error(`JSONPath expression must start with '$': ${e}`);if(e.includes("$_")||e.match(/\$[^.[]/g)||e.includes("[")&&!e.includes("]")||e.includes(" ")&&!e.includes("["))throw Error(`Invalid JSONPath expression: ${e}`);let r=wj({path:e,json:t});return 0===r.length?void 0:1===r.length?r[0]:r}catch{throw Error(`Invalid JSONPath expression: ${e}`)}},Ej=(e,t,r)=>e.replace(t,String(r)),Sj=(e,t,r)=>{let n=e.match(kj);if(!n)return;let a=n.length,i=Array(a);for(let e=0;e<a;e++)i[e]={toReplace:n[e],path:n[e].slice(2,-1)};return i.reduce(((e,n)=>((e,t,r,n)=>{let a=e.path.trim();if(!a)return n;try{let i=Cj(t,a);if(i){let t=i.evalSync(r);if(void 0!==t)return Ej(n,e.toReplace,t)}let o=zj(`$.${a}`,r).value;return nm(o)?Ej(n,e.toReplace,o):n}catch{return n}})(n,r,t,e)),String(e))},jj=(e,t,r,n)=>{if(Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e)&&(e<0||e>=t.length))return{value:void 0,error:`Invalid array index '${r}' at '${n}'`,availableKeys:t.map(((e,t)=>t.toString()))}}return om(t)?{value:void 0,error:`Key '${r}' not found at '${n}'`,availableKeys:Object.keys(t)}:{value:void 0,error:`${e} at '${n}'`,availableKeys:[]}},zj=(e,t)=>{let r=/(\.\.)|(\[\*\])|(\[\?\()|(\[\d+:\d+\])/;try{if(r.test(e)){let r=Aj(e,t);return void 0===r?{value:void 0,error:`Invalid or empty JSONPath: '${e}'`}:{value:r}}let n=(e.match(/\$|(?:\['([^']+)'\])|(?:\["([^"]+)"\])|\[\d+\]|[^[\].]+/g)||[]).map((e=>e.replace(/^\['([^']+)'\]$/,"$1").replace(/^\["([^"]+)"\]$/,"$1").replace(/^\[(\d+)\]$/,"$1")));return((e,t)=>{if("$"!==e[0])return{value:void 0,error:"JSON path must start with $"};let r=t,n="$";for(let t=1;t<e.length;t++){let a=e[t],i=a.startsWith("[")?`${n}${a}`:`${n}.${a}`;if(Array.isArray(r)){let e=parseInt(a,10);if(isNaN(e)||e<0||e>=r.length)return jj("Invalid array index",r,a,n);r=r[e],n=i}else{if(!om(r))return{value:void 0,error:`Cannot access '${a}' at '${n}' - parent is not an object`,availableKeys:[]};if(!Object.prototype.hasOwnProperty.call(r,a))return jj("Key not found",r,a,n);r=r[a],n=i}}return{value:r}})(n,t)}catch(e){return{value:void 0,error:`Something went wrong with evaluation of JSON path: ${String(e)}`}}},Ij=(e,t)=>{try{return Aj(e,t)}catch{throw Error(`Invalid JSON path: "${e}"`)}},Oj=(e,t,r)=>{let n=e?.trim();if(null==n||""===n)throw Error("Empty expression");let a=om(t)?t:{},i=xj(),o=(e=>{if(e.startsWith("{{")&&e.endsWith("}}"))return e.slice(2,-2)})(n),s=(e=>e.replace(/\$\./g,"").trim())(o??n),l=Sj(s,a,i);if(l)return l;if(!o&&n.startsWith("$"))return Ij(n,a);if(!l&&!o)return e;let u=Cj(i,s);if(!u||"."===s)throw Error(`Invalid expression: "${n}"`);try{return u.evalSync(a)}catch{return}};function _j(e){return Gp(this,arguments,void 0,(function*({url:e,body:t,headers:r,method:n,requestFn:a=fetch,logger:i=console}){try{const o=yield a(e,{method:n,headers:r,body:JSON.stringify(t)});if((e=>401===(null==e?void 0:e.status)||403===(null==e?void 0:e.status))(o))return i.warn("Token expired"),null;{if(!o.ok){const e=yield o.json();if(e&&(e=>void 0!==e.statusCode)(e)){const{statusCode:t}=e,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["statusCode"]);throw new Error(JSON.stringify(Object.assign({status:t},r)))}}const e=yield o.text();return e?JSON.parse(e):null}}catch(t){throw i.error(`Error making request to ${e}`,t),t}}))}function Nj(e){return Gp(this,void 0,void 0,(function*(){return _j(Object.assign(Object.assign({},e),{method:"POST"}))}))}function Pj(e){return Gp(this,void 0,void 0,(function*(){return _j(Object.assign(Object.assign({},e),{method:"GET"}))}))}const Dj=(e,t,r)=>Gp(void 0,void 0,void 0,(function*(){const n={"Content-Type":"application/json","x-hub-session-token":e};let a=`${t}/hub/connectors`;return r&&(a+=`?provider=${encodeURIComponent(r)}`),yield Pj({url:a,headers:n})})),Tj=(e,t,r)=>Gp(void 0,void 0,void 0,(function*(){return yield Pj({url:`${e}/hub/connectors/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})),Bj=e=>Gp(void 0,[e],void 0,(function*({baseUrl:e,accountId:t,token:r,credentials:n,integrationId:a}){return yield function(e){return Gp(this,void 0,void 0,(function*(){return _j(Object.assign(Object.assign({},e),{method:"PATCH"}))}))}({url:`${e}/hub/accounts/${t}`,headers:{"Content-Type":"application/json","x-hub-session-token":r},body:{integration_id:a,credentials:n}})})),Rj=(e,t,r)=>Gp(void 0,void 0,void 0,(function*(){return yield Pj({url:`${e}/hub/connection_attempts/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})),Mj=(e,t,r)=>Gp(void 0,void 0,void 0,(function*(){return yield function(e){return Gp(this,void 0,void 0,(function*(){return _j(Object.assign(Object.assign({},e),{method:"DELETE"}))}))}({url:`${e}/hub/connection_attempts/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})),$j={retry:(e,t)=>{if(t&&"object"==typeof t&&"message"in t)try{const e=JSON.parse(t.message);if(401===e.status||403===e.status)return!1}catch(e){}return e<2},retryDelay:e=>Math.min(1e3*Math.pow(2,e),3e4)};var Fj;!function(e){e.AccountConnected="AccountConnected"}(Fj||(Fj={}));const Vj=({token:e,baseUrl:t,accountId:r,onSuccess:n,dashboardUrl:a,debug:i})=>{const[o,s]=h.useState(null),[l,u]=h.useState({}),[c,d]=h.useState(new Set),p=h.useCallback((e=>{u(e)}),[]),f=h.useRef(null),m=h.useRef(null),g=h.useRef(null),v=h.useRef(null),y=h.useRef(!1),[b,w]=h.useState({loading:!1,success:!1}),x=h.useCallback((()=>{null!==g.current&&(clearTimeout(g.current),g.current=null),m.current=null}),[]),k=h.useCallback((e=>{w({loading:!1,success:!0}),null==n||n(e)}),[n]),C=h.useRef(i);C.current=i;const A=h.useCallback((()=>{null!==v.current&&(clearTimeout(v.current),v.current=null)}),[]),E=h.useCallback((()=>{x(),A(),f.current&&(f.current.close(),f.current=null)}),[x,A]);h.useEffect((()=>()=>{x(),A()}),[x,A]);const{data:S,isLoading:j,error:z}=tl(Object.assign({queryKey:["accountData",r],queryFn:()=>Gp(void 0,void 0,void 0,(function*(){return r?((e,t,r)=>Gp(void 0,void 0,void 0,(function*(){return yield Pj({url:`${e}/hub/accounts/${r}`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})))(t,e,r):null})),enabled:!!r},$j)),{data:I,isLoading:O,error:_}=tl(Object.assign({queryKey:["hubData",null==S?void 0:S.provider],queryFn:()=>(null==S?void 0:S.provider)?Dj(e,t,S.provider):Dj(e,t),enabled:!r||!!S},$j));h.useEffect((()=>{if(S&&I){const e=I.integrations.find((e=>e.provider===S.provider));s(null!=e?e:null)}}),[S,I]),h.useEffect((()=>{if(I&&!o){const e=I.integrations.filter((e=>e.active));1===e.length&&s(e[0])}}),[I,o]);const{data:N,isLoading:P,error:D}=tl(Object.assign({queryKey:["connectorData",null==S?void 0:S.integrationId,null==o?void 0:o.integration_id],queryFn:()=>Gp(void 0,void 0,void 0,(function*(){return S?Tj(t,e,S.integrationId):o?Tj(t,e,o.integration_id):null})),enabled:Boolean(o)||Boolean(S)},$j)),{fields:T,guide:B,notices:R}=h.useMemo((()=>{var e,t,r,n,a,i,s,u;if(!N||!o){return{fields:[],notices:[]}}if(function(e){return("configFields"in e||"configNotices"in e)&&!("authentication"in e)}(N.config)){const i=(null!==(e=N.config.configFields)&&void 0!==e?e:[]).map((e=>{var t,r;const n=null===(t=null==S?void 0:S.setupInformation)||void 0===t?void 0:t[e.key];if("external-trigger-token"===e.key)return Object.assign(Object.assign({},e),{key:e.key,value:null==I?void 0:I.external_trigger_token});if(S&&(!1!==e.secret||"password"===e.type)){const t=null===(r=S.secrets)||void 0===r?void 0:r[e.key];return t?Object.assign(Object.assign({},e),{key:e.key,value:t}):Object.assign(Object.assign({},e),{key:e.key,value:""})}const a=Object.assign(Object.assign(Object.assign({},l),null==S?void 0:S.setupInformation),{external_trigger_token:null==I?void 0:I.external_trigger_token,webhooks_url:null==I?void 0:I.webhooks_url,events_encoded_context:null==I?void 0:I.events_encoded_context,hub_settings:N.hub_settings});if(e.condition){const t=Oj(e.condition,a);if(!(null!=t&&"false"!==t))return}const i=void 0!==n?n:e.value;if(!i)return Object.assign(Object.assign({},e),{key:e.key});let o=Oj(null==i?void 0:i.toString(),a);return"object"==typeof o&&null!==o&&(o=JSON.stringify(o)),Object.assign(Object.assign({},e),{key:e.key,value:o})})).filter((e=>null!=e));return{fields:i,notices:null!==(t=N.config.configNotices)&&void 0!==t?t:[],guide:{supportLink:null===(r=N.config.support)||void 0===r?void 0:r.link,description:null!==(a=null===(n=N.config.support)||void 0===n?void 0:n.description)&&void 0!==a?a:""}}}let c=o.authentication_config_key,d=o.environment;S&&S.authConfigKey&&(null===(i=N.config.authentication)||void 0===i?void 0:i[S.authConfigKey])&&(c=S.authConfigKey,d=null!==(s=S.environment)&&void 0!==s?s:o.environment);const p=null===(u=N.config.authentication)||void 0===u?void 0:u[c],h=null==p?void 0:p[d],f=((null==h?void 0:h.fields)||[]).map((e=>{var t,r;const n=null===(t=null==S?void 0:S.setupInformation)||void 0===t?void 0:t[e.key];if("external-trigger-token"===e.key)return Object.assign(Object.assign({},e),{key:e.key,value:null==I?void 0:I.external_trigger_token});const a=Object.assign(Object.assign(Object.assign({},l),null==S?void 0:S.setupInformation),{external_trigger_token:null==I?void 0:I.external_trigger_token,hub_settings:N.hub_settings});if(e.condition){const t=Oj(e.condition,a),r=null!=t&&"false"!==t;return Object.assign(Object.assign({},e),{key:e.key,display:r})}if(S&&(!1!==e.secret||"password"===e.type)){const t=null===(r=S.secrets)||void 0===r?void 0:r[e.key];return t?Object.assign(Object.assign({},e),{key:e.key,value:t}):Object.assign(Object.assign({},e),{key:e.key,value:""})}const i=void 0!==n?n:e.value;if(!i)return Object.assign(Object.assign({},e),{key:e.key});let o=Oj(null==i?void 0:i.toString(),a);return"object"==typeof o&&null!==o&&(o=JSON.stringify(o)),Object.assign(Object.assign({},e),{key:e.key,value:o})})).filter((e=>null!=e));return{fields:f,notices:[],guide:null==h?void 0:h.guide}}),[N,o,S,l,I]),M=h.useMemo((()=>{var e,t,r,n;if(!N||!o)return null;if(function(e){return"authentication"in e&&!("configFields"in e)}(N.config)){let a=o.authentication_config_key,i=o.environment;return S&&S.authConfigKey&&(null===(e=N.config.authentication)||void 0===e?void 0:e[S.authConfigKey])&&(a=S.authConfigKey,i=null!==(t=S.environment)&&void 0!==t?t:o.environment),null===(n=null===(r=N.config.authentication)||void 0===r?void 0:r[a])||void 0===n?void 0:n[i]}return N.config}),[N,o,S]),[$,F]=h.useState(!0),V=h.useCallback(((r,n)=>{const a=Date.now(),i=()=>Gp(void 0,void 0,void 0,(function*(){var o,s,l,u;if(!g.current)return;if(Date.now()-a>3e5)return C.current&&console.debug("[hub] poll timed out",{attemptId:r}),E(),Mj(t,e,r).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:r,error:e})})),void w({loading:!1,success:!1,timedOut:!0});const c=yield Rj(t,e,r).catch((()=>null));if(g.current){if(!c)return C.current&&console.debug("[hub] poll failed (network error), retrying"),void(g.current=window.setTimeout(i,2e3));C.current&&"pending"!==c.status&&console.debug("[hub] poll result",Object.assign({attemptId:r},c)),"authenticated"===c.status&&c.account?(E(),k({id:c.account.id,provider:n}),parent.postMessage({type:Fj.AccountConnected,account:{id:c.account.id,provider:n}},"*")):"error"===c.status?(E(),w({loading:!1,success:!1,error:{message:null!==(s=null===(o=c.error)||void 0===o?void 0:o.code)&&void 0!==s?s:"OAuth error",provider_response:null!==(u=null===(l=c.error)||void 0===l?void 0:l.description)&&void 0!==u?u:"No description"}})):"cancelled"===c.status||"expired"===c.status?(E(),w({loading:!1,success:!1})):g.current=window.setTimeout(i,2e3)}}));g.current=window.setTimeout(i,2e3)}),[t,e,E,k]),L=h.useCallback((r=>{let n=!0;const a=()=>Gp(void 0,void 0,void 0,(function*(){if(n&&(n=!1,!f.current||f.current.closed))return C.current&&console.debug("[hub] popup reads as closed on first tick, assuming COOP isolation — popup-close detection disabled"),y.current=!0,void(v.current=null);if(f.current&&!f.current.closed)return void(v.current=window.setTimeout(a,1e3));if(v.current=null,!g.current)return;if(y.current)return;const i=m.current;if(!i)return E(),void w({loading:!1,success:!1});const o=yield Rj(t,e,i).catch((e=>(C.current&&console.debug("[hub] final poll failed after popup closed",{attemptId:i,error:e}),null)));if(g.current){if("authenticated"===(null==o?void 0:o.status)&&o.account)return C.current&&console.debug("[hub] popup closed but auth completed",{attemptId:i}),E(),k({id:o.account.id,provider:r}),void parent.postMessage({type:Fj.AccountConnected,account:{id:o.account.id,provider:r}},"*");C.current&&console.debug("[hub] popup closed by user, cancelling attempt",{attemptId:i}),E(),Mj(t,e,i).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:i,error:e})})),w({loading:!1,success:!1})}}));v.current=window.setTimeout(a,1e3)}),[t,e,E,k]),U=h.useCallback((()=>Gp(void 0,void 0,void 0,(function*(){var n;if(o)if($){w({loading:!0,success:!1});try{const i=Object.assign({},l);S&&T.forEach((e=>{if(!1!==e.secret||"password"===e.type){const t=i[e.key];ld(t)&&!c.has(e.key)&&delete i[e.key]}})),Object.keys(i).forEach((e=>{""===i[e]&&delete i[e]}));const s="oauth2"===(null==M?void 0:M.type)&&(!("grantType"in M)||"authorization_code"===M.grantType);if(C.current&&console.debug("[hub] handleConnect",{integration:o.integration_id,path:s?"oauth-redirect":"credential-form",updating:!!r}),s){const r=yield((e,t)=>Gp(void 0,void 0,void 0,(function*(){return yield Nj({url:`${e}/hub/connection_attempts`,headers:{"Content-Type":"application/json","x-hub-session-token":t},body:{token:t}})})))(t,e).catch((()=>null)),s=null!==(n=null==r?void 0:r.id)&&void 0!==n?n:null;if(m.current=s,!s)return C.current&&console.debug("[hub] connection attempt creation failed"),void w({loading:!1,success:!1,error:{message:"Failed to start OAuth flow",provider_response:"Could not create a connection attempt. Please try again."}});C.current&&console.debug("[hub] connection attempt created",{attemptId:s});const l=encodeURIComponent(`${a}/embedded/accounts/callback`);let u=`${t}/connect/oauth2/${o.integration_id}?redirect_uri=${l}&token=${e}&connection_attempt_id=${s}`;Object.keys(i).forEach((e=>{u+=`&${e}=${encodeURIComponent(i[e])}`}));const c=1024,d=800,p=void 0!==window.screenX?window.screenX:window.screenLeft,h=void 0!==window.screenY?window.screenY:window.screenTop,g=void 0!==window.outerWidth?window.outerWidth:document.body.clientWidth,v=void 0!==window.outerHeight?window.outerHeight:document.body.clientHeight-22,b=parseInt((p+(g-c)/2).toString(),10),x=`width=${c},height=${d},left=${b},top=${parseInt((h+(v-d)/2.5).toString(),10)},noopener=0`;return f.current=window.open(u,"Connect Account",x),f.current?(y.current=!1,"function"==typeof f.current.focus&&f.current.focus(),V(s,o.provider),void L(o.provider)):(C.current&&console.debug("[hub] popup was blocked by browser"),E(),Mj(t,e,s).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:s,error:e})})),void w({loading:!1,success:!1,error:{message:"Popup blocked",provider_response:"Your browser blocked the login popup. Please allow popups for this site and try again."}}))}let u;if(r)yield Bj({baseUrl:t,accountId:r,token:e,integrationId:o.integration_id,credentials:i}),u={id:r,provider:o.provider};else{const r=yield(e=>Gp(void 0,[e],void 0,(function*({baseUrl:e,token:t,credentials:r,integrationId:n}){return yield Nj({url:`${e}/hub/accounts`,headers:{"Content-Type":"application/json","x-hub-session-token":t},body:{integration_id:n,credentials:r}})})))({baseUrl:t,token:e,credentials:i,integrationId:o.integration_id});if(!r)throw new Error("Failed to create account");u={id:r.id,provider:o.provider}}k(u)}catch(e){let t="An unexpected error occurred",r="Please try again later";try{const n=JSON.parse(e.message);try{const e=JSON.parse(n.message);t=e.message||t,r=e.provider_response||r}catch(e){t=n.message||t,r=n.provider_response||r}}catch(r){t=e.message||t}w({loading:!1,success:!1,error:{message:t,provider_response:r}})}}else w({loading:!1,success:!1,error:{message:"Please fix the validation errors before continuing",provider_response:"Form validation failed"}})}))),[t,a,e,o,l,c,k,S,T,r,M,E,V,L,$]),Z=h.useCallback((()=>{const r=m.current;C.current&&console.debug("[hub] OAuth cancelled by user",{attemptId:r}),E(),w({loading:!1,success:!1}),r&&Mj(t,e,r).catch((e=>{C.current&&console.debug("[hub] cancelConnectionAttempt failed",{attemptId:r,error:e})}))}),[t,e,E]),Q=O||P||j,G=!!(_||D||z);h.useEffect((()=>{d(new Set)}),[o]),h.useEffect((()=>{G&&b.loading&&w((e=>Object.assign(Object.assign({},e),{loading:!1})))}),[G,b.loading]);const K=h.useRef(b.loading);h.useEffect((()=>{i&&K.current&&!b.loading&&console.debug("[hub] connectionState.loading → false",b),K.current=b.loading}),[i,b]);const Y=h.useCallback((()=>{w({loading:!1,success:!1}),d(new Set)}),[]),W=h.useCallback((()=>{w({loading:!1,success:!1}),d(new Set)}),[]);return{hubData:I,accountData:S,connectorData:N,selectedIntegration:o,fields:T,notices:R,guide:B,formData:l,connectionState:b,isLoading:Q,hasError:G,isFormValid:$,errorHubData:_,errorConnectorData:D,errorAccountData:z,setSelectedIntegration:s,setFormData:p,setIsFormValid:F,handleConnect:U,handleCancelOAuth:Z,resetConnectionState:Y,resetAllErrors:W,editingSecrets:c,setEditingSecrets:d}},Lj=({token:e,baseUrl:t,height:r,accountId:n,onSuccess:a,onClose:i,dashboardUrl:o,showFooterLinks:s=!0,onCloseLabel:l,debug:u})=>{var c,d,p,f;const[m,g]=h.useState(null),[v,y]=h.useState(""),{hubData:b,accountData:w,connectorData:x,selectedIntegration:k,fields:C,notices:A,guide:E,connectionState:S,isLoading:j,hasError:I,isFormValid:O,errorHubData:_,errorConnectorData:N,setSelectedIntegration:P,setFormData:D,setIsFormValid:T,handleConnect:B,handleCancelOAuth:R,resetConnectionState:M,editingSecrets:$,setEditingSecrets:F}=Vj({token:e,baseUrl:t,accountId:n,onSuccess:a,dashboardUrl:o,debug:u}),V=h.useCallback((e=>{T(e)}),[T]),L=h.useMemo((()=>{if(!b)return!1;return 1===b.integrations.filter((e=>e.active)).length}),[b]),U=()=>{P(null),M(),g(null),y("")};return z.jsxs(zn,{glassFooter:!0,footer:S.success?z.jsx(Qp,{onClose:i,showFooterLinks:s,onCloseLabel:l}):z.jsx(Zp,{selectedIntegration:k,showActions:!S.loading&&!S.success,onBack:w||L?void 0:U,onNext:B,isFormValid:O,isLoading:j,showFooterLinks:s}),title:j||S.loading||S.success?null:z.jsx(Up,{accountData:w,onBack:U,guide:E,isLoading:j,hasError:I,hubData:b,selectedCategory:m,onCategoryChange:g,onSearchChange:y,hideBackButton:S.loading||S.success||L,connectorData:null!==(c=null==x?void 0:x.config)&&void 0!==c?c:null}),height:r,padding:"0",headerConfig:k?void 0:{padding:"0"},children:[S.timedOut&&z.jsx(yn,{type:"warning",message:"Connection timed out. Please try again.",hasMargin:!0}),z.jsx(Vp,{isLoading:j,hasError:I,connectionState:S,selectedIntegration:k,connectorData:null!==(d=null==x?void 0:x.config)&&void 0!==d?d:null,hubData:null!=b?b:null,fields:C,notices:A,errorHubData:null!==(p=_)&&void 0!==p?p:null,errorConnectorData:null!==(f=N)&&void 0!==f?f:null,onSelect:P,onChange:D,onValidationChange:V,onCancelOAuth:R,selectedCategory:m,search:v,editingSecrets:$,setEditingSecrets:F})]})},Uj=h.createContext({featureFlags:[]}),Zj=({featureFlags:e,children:t})=>{const r=h.useMemo((()=>({featureFlags:e})),[e]);return z.jsx(Uj.Provider,{value:r,children:t})},Qj=h.memo((({mode:e,token:t,apiUrl:r,dashboardUrl:n,height:a,onSuccess:i,onClose:o,accountId:s,showFooterLinks:l,onCloseLabel:u,debug:c})=>{var d;const{data:p}=tl({queryKey:["settings"],queryFn:()=>((e,t)=>Gp(void 0,void 0,void 0,(function*(){return yield Pj({url:`${e}/hub/settings`,headers:{"Content-Type":"application/json","x-hub-session-token":t}})})))(r,t)});return z.jsx(Zj,{featureFlags:null!==(d=null==p?void 0:p.enabled_features)&&void 0!==d?d:[],children:"integration-picker"===e&&z.jsx(Lj,{token:t,baseUrl:r,dashboardUrl:n,height:a,onSuccess:i,onClose:o,onCloseLabel:u,accountId:null!=s?s:null==p?void 0:p.existing_account_id,showFooterLinks:l,debug:c})})})),Gj=()=>z.jsxs(bo,{justify:go.Center,align:vo.Center,direction:yo.Vertical,gapSize:mo.Small,fullHeight:!0,children:[z.jsx(Ot,{style:{color:"red"}}),z.jsx(Xo,{fontWeight:"bold",size:"large",children:"Error"}),z.jsx(Jo,{children:"Something went wrong, our team has been notified."})]});class Kj extends f.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){}render(){return this.state.hasError?this.props.fallback:this.props.children}}const Yj=({mode:e,token:t,baseUrl:r,appUrl:n,height:a="500px",theme:i="light",accountId:o,onSuccess:s,onClose:l,onCloseLabel:u,showFooterLinks:c,debug:d})=>{const p=null!=r?r:"https://api.stackone.com",f=null!=n?n:"https://app.stackone.com";h.useEffect((()=>{"dark"===i?function(){Do("dark"),document.documentElement.setAttribute("data-theme","dark");const e=Po(),t=e?To(Eo,e):Eo;_o(t,document.documentElement),zo.forEach((e=>{_o(t,e)}))}():"light"===i?(Do("light"),document.documentElement.removeAttribute("data-theme"),localStorage.removeItem(jo),_o(Ao,document.documentElement),zo.forEach((e=>{_o(Ao,e)}))):Bo(i)}),[i]);const[m]=h.useState((()=>new Us({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1,retryDelay:500,refetchOnMount:!1,retryOnMount:!1}}}))),g=h.useRef(t);return h.useEffect((()=>{g.current!==t&&(g.current=t,m.clear())}),[t,m]),t?z.jsx(Mo,{children:z.jsx(Kj,{fallback:z.jsx(zn,{height:a,children:z.jsx(Gj,{})}),children:z.jsx(Hs,{client:m,children:z.jsx(Qj,{mode:null!=e?e:"integration-picker",token:t,apiUrl:p,dashboardUrl:f,height:a,onSuccess:s,accountId:o,onClose:l,onCloseLabel:u,showFooterLinks:c,debug:d})})})}):z.jsx(Mo,{children:z.jsx(Kj,{fallback:z.jsx(zn,{height:a,children:z.jsx(Gj,{})}),children:z.jsx(zn,{height:a,footer:z.jsx(xo,{}),children:z.jsx(bo,{justify:go.Center,align:vo.Center,fullHeight:!0,children:z.jsx(qo,{children:"No token provided"})})})})})},Wj=["token","base-url","app-url","mode","height","theme","account-id","on-close-label","show-footer-links","debug"],Hj=e=>{if(null!==e)return""===e||"true"===e||"false"!==e&&void 0},qj=["integration-picker"];class Jj extends HTMLElement{constructor(){super(...arguments),this.root=null}static get observedAttributes(){return Wj}get themeObject(){return this._themeObject}set themeObject(e){this._themeObject=e,this.root&&this.render()}connectedCallback(){this.root||(this.root=E.createRoot(this)),this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(){this.root&&this.render()}render(){var e,t,r,n,a,i,o,s;if(!this.root)return;const l=null!==(t=null!==(e=this._themeObject)&&void 0!==e?e:(e=>{if(null!==e){if("light"===e||"dark"===e)return e;try{const t=JSON.parse(e);if(t&&"object"==typeof t&&!Array.isArray(t))return t}catch(e){return}}})(this.getAttribute("theme")))&&void 0!==t?t:"light";var u;this.root.render(f.createElement(Yj,{token:null!==(r=this.getAttribute("token"))&&void 0!==r?r:void 0,baseUrl:null!==(n=this.getAttribute("base-url"))&&void 0!==n?n:void 0,appUrl:null!==(a=this.getAttribute("app-url"))&&void 0!==a?a:void 0,mode:(u=this.getAttribute("mode"),qj.includes(u)?u:void 0),height:null!==(i=this.getAttribute("height"))&&void 0!==i?i:void 0,theme:l,accountId:null!==(o=this.getAttribute("account-id"))&&void 0!==o?o:void 0,onCloseLabel:null!==(s=this.getAttribute("on-close-label"))&&void 0!==s?s:void 0,showFooterLinks:Hj(this.getAttribute("show-footer-links")),debug:Hj(this.getAttribute("debug")),onSuccess:e=>{var t;this.dispatchEvent(new CustomEvent("success",{detail:e,bubbles:!0,composed:!0})),null===(t=this.onSuccess)||void 0===t||t.call(this,e)},onClose:()=>{var e;this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0})),null===(e=this.onClose)||void 0===e||e.call(this)}}))}}"undefined"!=typeof window&&"undefined"!=typeof customElements&&(customElements.get("stackone-hub")||customElements.define("stackone-hub",Jj))}();
|
|
11
11
|
//# sourceMappingURL=webcomponent.js.map
|